libs/gst/base/gstbasesink.c: If we have not seen a buffer before EOS, use the segment...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
4         (gst_base_sink_wait_eos), (gst_base_sink_event):
5         If we have not seen a buffer before EOS, use the segment values to
6         report the current position instead of invalid positions.
7
8 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
9
10         * docs/plugins/tmpl/.cvsignore:
11         * tests/check/gst/.cvsignore:
12           Ignore more.
13
14 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
15
16         * libs/gst/controller/gstinterpolation.c:
17         * libs/gst/controller/gstinterpolationcontrolsource.c:
18         * tests/check/libs/controller.c:
19           Rewrite handling of default values. Fix overflow with unsigned types
20           in linear interpolation. Remove now obsolete _first_value() function.
21           Add more tests. Fixes #538201.
22
23 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
24
25         * libs/gst/base/gstbasetransform.c:
26         (gst_base_transform_class_init), (gst_base_transform_init),
27         (gst_base_transform_transform_caps),
28         (gst_base_transform_prepare_output_buffer):
29         Add debug info.
30         When a buffer is writable, its metadata is also writable so we don't
31         need to subbuffer (which then makes the buffer not-writable anymore).
32
33 === release 0.10.20 ===
34
35 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
36
37         * configure.ac:
38           releasing 0.10.20, "You Crazy Diamond"
39
40 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
41
42         * configure.ac:
43         0.10.19.3 pre-release
44
45 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
46
47         * configure.ac:
48         * gst/gstpreset.c:
49         Rename DATADIR to GST_DATADIR to avoid build problems
50         on win32. Patch By: David Schleef <ds@schleef.org>
51         Fixes: #536857
52
53 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
54
55         * configure.ac:
56         Explicitely link with -ldl if dladdr() is found there. Before it was
57         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
58         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
59
60 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
61
62         * gst/gsterror.c: (_gst_stream_errors_init):
63           Fix typo (spotted by Fabricio Godoy, #536723).
64
65 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
66
67         * configure.ac:
68         0.10.19.2 pre-release
69
70 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
71
72         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
73         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
74         Add some debug.
75         Make sure we don't generate invalid QoS messages.
76
77 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
78
79         * gst/gstevent.c: (gst_event_new_qos):
80         Add some assert and docs for invalid input to the qos function.
81
82 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
83
84         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
85         (gst_base_sink_get_position):
86         The reported position must always be smaller than the last seen
87         timestamps (or timestamp + duration for reverse).
88
89 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
90
91         Patch by: Rob Bradford <rob at robster dot org dot uk>
92
93         * gst/gstregistry.c: (gst_registry_scan_path_level):
94         Don't recurse into .debug directories as some distros install
95         the debugging symbols next to the plugins in .debug directories
96         and dlopen() crashes on them sometimes. Fixes bug #508070.
97
98         Add FIXME for 0.11 to not recurse into directories at all because
99         it's very inconsistent to the behaviour of other PATH environment
100         variables.
101
102 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
103
104         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
105         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
106         Fix position query range checks in reverse playback.
107
108 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
109
110         * gst/gstelement.c:
111         * gst/gstelement.h:
112         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
113         clear of the reference to the resulting pad must be released later
114         or not, resulting in possible leaks. Fixes bug #533865.
115
116 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
117
118         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
119
120         * gst/gstelementfactory.c:
121         Small doc fix. Fixes #535285.
122
123 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
124
125         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
126
127         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
128         (gst_base_src_get_range), (gst_base_src_pad_get_range),
129         (gst_base_src_loop), (gst_base_src_set_flushing),
130         (gst_base_src_change_state):
131         Make sending an EOS event to the basesrc non-blocking even if the
132         implementation does blocking waits in the create function. This is done
133         by unlocking the create function when EOS is sent.
134         Fixes #535218.
135
136 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
137
138         * tools/gst-inspect.c: (print_element_properties_info):
139         If possible print the element type of GValueArray properties.
140
141 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
142
143         * gst/gstiterator.c:
144         Remove an unused field from the private GstListIterator struct.
145
146 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
147
148         * libs/gst/controller/gstcontroller.c:
149           Add parameter guards.
150
151 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
152
153         * tests/check/gst/gstpipeline.c:
154           Revert test change and add comment why it should not work.
155
156 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
157
158         * tests/check/gst/gstpipeline.c:
159           Extending the test a little to verify that we also get the NULL state-
160           change message.
161
162 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
163
164         * gst/gstpreset.c: (gst_preset_default_get_meta),
165           (gst_preset_get_preset_names), (gst_preset_get_property_names),
166           (gst_preset_load_preset), (gst_preset_save_preset),
167           (gst_preset_rename_preset), (gst_preset_delete_preset),
168           (gst_preset_set_meta):
169           Add Since: markers to docs blurbs.
170
171         * win32/common/libgstreamer.def:
172           Add recently-added API.
173
174 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
175
176         Patch by: Stefan Kost  <ensonic@users.sf.net>
177
178         * configure.ac:
179         Add DATADIR for storing presets.
180
181         * docs/gst/gstreamer-docs.sgml:
182         * docs/gst/gstreamer-sections.txt:
183         * docs/gst/gstreamer.types.in:
184         Add GstPreset to docs.
185
186         * gst/Makefile.am:
187         * gst/gst.h:
188         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
189         (preset_open_and_parse_header), (preset_parse_version),
190         (preset_merge), (preset_get_keyfile),
191         (gst_preset_default_get_preset_names),
192         (gst_preset_default_get_property_names),
193         (gst_preset_default_load_preset),
194         (gst_preset_default_save_presets_file),
195         (gst_preset_default_save_preset),
196         (gst_preset_default_rename_preset),
197         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
198         (gst_preset_default_get_meta), (gst_preset_default_randomize),
199         (gst_preset_default_reset), (gst_preset_get_preset_names),
200         (gst_preset_get_property_names), (gst_preset_load_preset),
201         (gst_preset_save_preset), (gst_preset_rename_preset),
202         (gst_preset_delete_preset), (gst_preset_set_meta),
203         (gst_preset_get_meta), (gst_preset_class_init),
204         (gst_preset_base_init), (gst_preset_get_type):
205         * gst/gstpreset.h:
206         Add GstPreset to core. Fixes #396779
207
208         * tests/check/Makefile.am:
209         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
210         (gst_preset_test_set_property), (gst_preset_test_class_init),
211         (gst_preset_test_base_init), (gst_preset_test_get_type),
212         (gst_preset_test_plugin_init), (GST_START_TEST),
213         (remove_preset_file), (test_setup), (test_teardown),
214         (gst_preset_suite):
215         Add GstPreset unit tests.
216
217 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
218
219         * gst/gstpad.c: (gst_pad_event_default_dispatch):
220         The default event function on a sinkpad should return TRUE when
221         there are no internal links but should collect the return values from
222         the internal links otherwise.
223
224 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
225
226         * plugins/elements/gsttypefindelement.c:
227         (gst_type_find_element_src_event),
228         (gst_type_find_element_handle_event):
229         Use faster and safer _pad_push_event().
230
231 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
232
233         * docs/gst/gstreamer-sections.txt:
234         * gst/gstutils.c: (element_find_unlinked_pad),
235           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
236         * gst/gstutils.h:
237           API: add gst_bin_find_unlinked_pad()
238           API: deprecate gst_bin_find_unconnected_pad() (#401456)
239
240 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
241
242         * gst/gstclock.c:
243         * gst/gstclock.h:
244         * gst/gsttask.c:
245         * gst/gsttask.h:
246         Fixed a bunch of typos.
247
248 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
249
250         * gst/gstpad.h:
251         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
252           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
253           (gst_parse_bin_from_description_full):
254         * gst/gstutils.h:
255           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
256
257 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
258
259         * docs/pwg/advanced-tagging.xml:
260           Small docs update, can't be bothered to rewrite the nonsensical
261           examples right now.
262
263 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
264
265         * gst/gstevent.h:
266           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
267
268 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
269
270         * gst/parse/grammar.y:
271           Remove unneeded casts.
272
273 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
274
275         * gst/parse/grammar.y:
276         * tests/check/pipelines/parse-launch.c:
277           Get all missing elements from a parse launch string if possible
278           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
279
280 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
281
282         * tests/check/Makefile.am:
283         * tests/check/pipelines/parse-launch.c:
284           Add some unit tests for the new gst_parse_launch*_full() API.
285           (Exposes a previously-existing memory leak in the error code
286           path, so adding to VALGRIND_TO_FIX for now).
287
288 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
289
290         * docs/gst/gstreamer-sections.txt:
291         * gst/gst.c: (init_post):
292         * gst/gst_private.h: (_GstParseContext):
293         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
294           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
295           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
296           (gst_parse_launch_full):
297         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
298           (GstParseFlags), (GstParseContext):
299         * gst/gstutils.c: (gst_parse_bin_from_description),
300           (gst_parse_bin_from_description_full):
301         * gst/gstutils.h:
302         * gst/parse/grammar.y:
303         * gst/parse/types.h:
304         * win32/common/libgstreamer.def:
305           Add new gst_parse_*_full API (#528178):
306           API: gst_parse_launch_full()
307           API: gst_parse_launchv_full()
308           API: gst_parse_bin_from_description_full()
309           API: gst_parse_context_new()
310           API: gst_parse_context_free()
311           API: gst_parse_context_get_missing_elements()
312
313 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
314
315         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
316
317         * docs/faq/gst-uninstalled:
318           Also support ffmpeg in gst-uninstalled.
319
320 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
321
322         * configure.ac:
323         After discussion on IRC use the binary registry as default
324         but allow to disable it with --disable-binary-registry.
325
326         * win32/common/libgstreamer.def:
327         Add the two new symbols for the binary registry.
328
329 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
330
331         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
332         * gst/gstutils.c: (gst_parse_bin_from_description):
333         * gst/parse/grammar.y: (graph):
334           More guards against bad input; typo fix; some minor clean-ups.
335
336 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
337
338         Patch by: Sjoerd Simons <sjoerd at luon dot net>
339
340         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
341         If nothing else can be used, use the last buffer's start time as
342         the segment's last stop. Fixes bug #534258.
343
344 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
345
346         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
347           Move size sanity check to the right place: downstream may return
348           a buffer with a smaller size if the buffer caps are different than
349           the requested ones, as may happen when doing reverse negotiation.
350
351 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
352
353         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
354         (gst_file_sink_render):
355         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
356         (gst_file_src_start):
357         Small cleanups. Add note adbout g_fopen() on windows and why we don't
358         use it yet.
359
360 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
361
362         * gst/gstpad.c: (gst_pad_load_and_link):
363         * gst/gstutils.c: (gst_element_link_pads),
364         (gst_element_unlink_pads):
365         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
366         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
367         (gst_check_teardown_sink_pad),
368         (gst_check_element_push_buffer_list):
369         * tests/check/elements/fakesink.c: (GST_START_TEST):
370         * tests/check/elements/filesink.c:
371         * tests/check/elements/filesrc.c: (GST_START_TEST):
372         * tests/check/elements/multiqueue.c: (setup_multiqueue),
373         (mq_sinkpad_to_srcpad):
374         * tests/check/elements/tee.c: (GST_START_TEST):
375         * tests/check/generic/sinks.c: (GST_START_TEST):
376         * tests/check/gst/gstbin.c: (GST_START_TEST):
377         * tests/check/gst/gstevent.c: (GST_START_TEST):
378         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
379         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
380         * tests/check/gst/gstquery.c: (GST_START_TEST):
381         * tests/check/gst/gstutils.c: (GST_START_TEST):
382         * tests/check/libs/basesrc.c: (GST_START_TEST):
383         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
384         (gst_parse_test_element_change_state):
385         Don't use gst_element_get_pad().
386
387 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
388
389         * docs/Makefile.am:
390         Fix installing plugin documentation when gtk-doc is disabled.
391
392 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
393
394         * docs/manual/advanced-autoplugging.xml:
395         * docs/manual/basics-helloworld.xml:
396         * docs/manual/basics-pads.xml:
397         * docs/manual/highlevel-components.xml:
398         Avoid using a bad function in the example code.
399
400 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
401
402         * gst/gstclock.c: (gst_clock_set_calibration):
403         Fix debug of the new clock rate.
404
405 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
406
407         * win32/common/libgstbase.def:
408         Add gst_base_sink_wait_clock() to the exported symbols.
409
410 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
411
412         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
413
414         * libs/gst/base/gstbasetransform.c:
415         (gst_base_transform_sink_event):
416         Unref events that the GstBaseTransform::event vfunc didn't want to
417         have forwarded by the base class. Closes a leak in identity.
418         Fixes bug #446763.
419
420 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
421
422         * docs/libs/gstreamer-libs-sections.txt:
423         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
424         * libs/gst/base/gstbasesink.h:
425         Expose a method that was previously used internally to synchronize
426         against the clock because it can be useful for subclasses too.
427         API: GstBaseSink::gst_base_sink_wait_clock()
428
429 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
430
431         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
432           Add sanity check to make sure we don't get smaller buffers
433           than requested (and fallback to normal buffer alloc if we do).
434
435 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
436
437         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
438         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
439         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
440         Refactor adjusting the running_time with latency and offset into a
441         separate method.
442         When doing clipping, we still want to use the subclass get_times method,
443         just in case the DURATION or TIMESTAMP are not set.
444
445 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
446
447         * docs/gst/gstreamer-sections.txt:
448         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
449         * gst/gsttypefind.h:
450         * win32/common/libgstreamer.def:
451           API: add gst_type_find_suggest_simple(), #533740.
452
453 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
454
455         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
456           Use right error code when typefinding fails, so we can use
457           the default (translated) error messages.
458
459 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
460
461         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
462         (gst_base_src_start):
463         When the subclass did not set caps on outgoing buffers, configure the
464         caps we negotiated on the source pad.
465         When the typefind helper does not find caps, error out properly instead
466         of doing things with NULL caps.
467
468 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
469
470         * gst/gsttypefind.h:
471           Tabs to spaces, oh yes!
472
473 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
474
475         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
476           Add David's and Benjamin's tests for array intersection to the
477           unit test suite (#147931).
478
479 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
480
481         * gst/gstevent.c:
482           Document that gst_event_new_tag() and gst_event_new_navigation()
483           take ownership of the taglist/structure passed to them. (#533635).
484
485 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
486
487         * docs/Makefile.am:
488         Don't descend into the plugins dir if plugin docs building
489         is disabled.
490
491         * docs/README:
492         Add a note about the new type:GTypeName syntax for the plugin
493         documentation .types file.
494
495 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
496
497         * gst/gstmessage.c: (gst_message_new_error),
498         (gst_message_new_warning), (gst_message_new_info):
499         * gst/gstmessage.h:
500         Mark the debug string parameters as const. Fixes bug #533490.
501
502 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
503
504         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
505         Sort buffer cache list by end offsets. This makes sure that we don't
506         stop to search for a cached buffer that contains the requested data
507         too early.
508         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
509         more efficient. Fixes bug #459862.
510
511 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
512
513         * gst/gstinfo.c:
514           Explain why we copy the list.
515
516         * gst/gstpipeline.c:
517           Improve docs.
518
519         * gst/gstutils.c:
520           Add one debug-log statement to help tracing probelms with linking pads.
521
522 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
523
524         * tests/check/gst/gstinfo.c:
525         Add a test for removing the default log handler. Seems to fail under
526         windows.
527
528 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
529
530         * gst/gstpad.c: (gst_pad_peer_accept_caps):
531         Release pad lock before calling out to avoid a possible deadlock.
532
533 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
534
535         * gst/parse/grammar.y:
536         Remove unneeded value unset.
537
538         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
539         Add unit test for de/serialization of caps.
540
541 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
542
543         * plugins/elements/gstfakesink.c:
544         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
545         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
546         (gst_fake_src_class_init):
547         Use custom marshalers that take GstMiniObject as first parameter.
548         Using OBJECT as parameter while a GstMiniObject is given will lead
549         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
550
551 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
552
553         * plugins/elements/gsttypefindelement.c:
554         (gst_type_find_element_handle_event),
555         (gst_type_find_element_send_cached_events),
556         (gst_type_find_element_change_state):
557         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
558         immediately.
559
560 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
561
562         * plugins/elements/gsttypefindelement.c:
563         (gst_type_find_handle_src_query), (stop_typefinding),
564         (gst_type_find_element_handle_event),
565         (gst_type_find_element_send_cached_events),
566         (gst_type_find_element_change_state):
567         Forward FLUSH_START events immediately and clean up instead of
568         caching them.
569
570 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
571
572         Patch by: Sjoerd Simons <sjoerd at luon dot net>
573
574         * libs/gst/base/gstbasetransform.c:
575         (gst_base_transform_buffer_alloc):
576         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
577         fall back to default negotiation in the chain function if the caps
578         are different from what was requested. Fixes bug #526768.
579
580 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
581
582         * gst/gstsegment.c:
583         * tests/check/gst/gstsegment.c:
584           No, let's not use g_slice_{dup|copy} here, since they only exist
585           since GLib 2.14 and we still depend only on >= 2.12. Also add
586           unit test for gst_segment_copy().
587
588 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
589
590         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
591           Try to fix 'dereferencing type-punned pointer will break strict
592           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
593           changed the default GType typedef from gulong to gsize at some point,
594           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
595           g_once_* functions all take a gsize * though, so work around the type
596           mismatch for C++ by doing everything in gsize and casting to GType
597           later.
598
599 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
600
601         * plugins/elements/gstmultiqueue.c:
602         Add documentation for the signals to push our core plugin docs
603         coverage back up to 100%.
604
605 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
606
607         * gst/gstinfo.h (GST_FUNCTION):
608           Reverted GST_FUNCTION to the old version as we don't want the
609           full signature in C++ code. Also added support for MSVC.
610
611 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
612
613         * gst/gstutils.h:
614         Intern the type name string, similar to what G_DEFINE_TYPE does.
615
616 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
617
618         * gst/gstutils.h:
619         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
620
621 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
622
623         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
624
625         * libs/gst/base/gstbasetransform.c:
626         (gst_base_transform_buffer_alloc):
627         Don't passthrough buffer allocation too easily if the caps change.
628         This breaks when working in passthrough mode and upstream changes
629         it's caps. Fixes bug #526768.
630
631 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
632
633         * gst/gstinfo.c (gst_debug_log_valist):
634           Improved the __FILE__ part of debug output for MSVC.
635
636 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
637
638         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
639           Declaration after statement fix for compilers like MSVC.
640
641 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
642
643         * win32/common/config.h.in:
644           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
645           use the real thing than having "???" unconditionally.
646
647 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
648
649         * gst/gstinfo.h (GST_FUNCTION):
650           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
651
652 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
653
654         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
655         Small code cleanup.
656
657         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
658         (gst_base_sink_set_flushing):
659         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
660         Fix some comments.
661
662 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
663
664         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
665         (gst_fake_src_init), (gst_fake_src_set_property),
666         (gst_fake_src_get_property), (gst_fake_src_start):
667         * plugins/elements/gstfakesrc.h:
668         Added format property to control the format of the newsegment events.
669         API: GstFakeSrc:format
670
671 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
672
673         * win32/common/libgstreamer.def:
674         Add gst_pad_has_name() to the exported symbols.
675
676 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
677
678         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
679         * libs/gst/base/gstbasetransform.c:
680         (gst_base_transform_prepare_output_buffer):
681         Don't allow negative sizes when allocating new buffers.
682         Fixes bug #461253.
683
684 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
685
686         Patch by: Sjoerd Simons <sjoerd at luon net>
687
688         * gst/gstbus.c: (gst_bus_source_dispatch):
689           Don't print a warning if the queue is empty when we try to pop
690           here. That could happen if another thread or callback set the
691           bus to flushing between the source's check/prepare and the
692           dispatch being called (#531538).
693
694 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
695
696         * plugins/elements/gstmultiqueue.c:
697           Small docs fix.
698         
699 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
700
701         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
702         Add unit test for deserializing uint64s and check some really large
703         numbers in the int64 test.
704
705 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
706
707         * tools/gst-inspect.c: (n_print), (print_hierarchy),
708         (print_interfaces), (print_element_properties_info),
709         (print_signal_info):
710         Use "%s" as format string instead of printing strings directly.
711
712 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
713
714         * gst/gstclock.c: (gst_clock_set_calibration):
715         Make some checks actually useful.
716
717         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
718         Remove some unused code. Unsigned integers tend to be >= 0.
719
720 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
721
722         * gst/gstminiobject.c: (gst_value_get_mini_object):
723           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
724           function was not in the unscheduled 0.10.19 release.
725
726 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
727
728         * gst/gstregistry.c: (gst_registry_scan_path_level):
729           Only print one log message per non-plugin file.
730
731 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
732
733         * gst/gstinfo.c: (gst_debug_log_default):
734           Fix alignment of debug log columns on 64-bit.
735
736 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
737
738         * docs/libs/Makefile.am:
739         * docs/libs/gstreamer-libs-sections.txt:
740           Ignore private controller headers for docs.
741
742 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
743
744         * libs/gst/controller/gstcontrollerprivate.h:
745         * libs/gst/controller/gsthelper.c:
746         * libs/gst/controller/gstinterpolation.c:
747         * libs/gst/controller/gstinterpolationcontrolsource.c:
748         (gst_interpolation_control_source_set_interpolation_mode):
749         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
750         * libs/gst/controller/lib.c:
751         Move some private declarations into private headers.
752
753 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
754
755         * gst/gstdebugutils.c: (debug_dump_element_pad):
756         Remove some code that is unused after Stefan's refactoring and uses
757         uninitialized variables now, resulting in a compiler warning.
758
759 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
760
761         * gst/gstregistry.c: (gst_registry_scan_path_level):
762           Run g_str_has_suffix() only on the file name, not the
763           entire file path.
764
765 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
766
767         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
768           Since we're not called only from the chain function any longer,
769           we can't assume that there's always data in the queue, so move
770           the is_full check to the beginning of the loop (otherwise we'd
771           hit the assert when changing the limit properties while the
772           queue is empty or not running yet).
773           Also, only set a discont if items were actually removed from
774           the queue.
775
776         * tests/check/elements/queue.c: (test_leaky_downstream):
777           Test case for the above.
778
779 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
780
781         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
782
783         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
784         (gst_queue_chain), (queue_capacity_change),
785         (gst_queue_set_property):
786         When changing thr max capacity of a leaky queue, immediatly drop buffers
787         instead of waiting for a push on the sinkpad. Fixes #530637.
788
789 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
790
791         * gst/gstdebugutils.c:
792           Refactor code and fix handling of ghostpads and their proxypads.
793
794 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
795
796         * docs/gst/gstreamer-sections.txt:
797         * gst/gstevent.c: (gst_event_has_name):
798         * gst/gstevent.h:
799         * tests/check/gst/gstevent.c: (GST_START_TEST):
800         Add method to conveniently check the name of a custom event with
801         gst_event_has_name().
802         Reformat the event docs so that related methods are put together instead
803         of the default alphabetical sort.
804         Update unit test with new method.
805         API: GstEvent::gst_event_has_name()
806
807 2008-04-28  Michael Smith <msmith@songbirdnest.com>
808
809         * libs/gst/check/Makefile.am:
810           Don't add an explicit link to libgstreamer-0.10.la; it's already
811           included in GST_OBJ_LIBS.
812
813 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
814
815         * gst/gst.c:
816         Register GstClock type from a type-safe context. Fixes bug #530317.
817
818 2008-04-25  Michael Smith <msmith@songbirdnest.com>
819
820         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
821         * tools/gst-run.c:
822           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
823
824 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
825
826         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
827         (gst_bin_dispose):
828         Use the GLib stuff to create a private structure.
829         Add some locking around some dispose methods to make them a little
830         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
831
832 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
833
834         * libs/gst/base/gstbasesink.h:
835         * libs/gst/base/gstbasesrc.h:
836         * libs/gst/base/gstbasetransform.h:
837         * libs/gst/base/gstcollectpads.h:
838           Fix doc typos and unify caps a bit.
839
840 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
841
842         * tools/gst-launch.1.in:
843           Forgot to also add the envvar docs here.
844
845 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
846
847         * gst/gst.c: (init_post), (gst_deinit):
848         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
849           (test_concurrent_create), (gst_pipeline_suite):
850           Ref some more classes in gst_init() to work around thread-safety
851           issues in pre-2.16 GLibs, and add basic unit test.
852
853 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
854
855         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
856         (gst_base_sink_send_event):
857         Rearrange the latency query code. We always want to do the upstream
858         query, even if we are not live so that the upstream elements can get the
859         latency results too. If we fail doing the query and we are live, we
860         return TRUE afterwards.
861
862 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
863
864         patch by: Jason Zhao <e3423c@motorola.com>
865
866         * docs/gst/running.xml:
867         * gst/gst.c:
868           Enable/disable scan_and_update_registry() based on commandline switch
869           or environment variable. Fixes #520468.
870           
871         * ChangeLog:
872           Fix typo in my previous commit.
873
874 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
875
876         * gst/gstregistrybinary.c:
877           Add a warning if we hit unhandled factories when saving.
878           More debug logging detail, but move to LOG category.
879
880 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
881
882         * gst/gstregistry.c:
883           Tell the *truth* when improving the documentation.
884
885 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
886
887         * gst/gstelementfactory.c: (gst_element_factory_make):
888         Unref the factory after it was used the last time, not before.
889
890         * gst/gstindexfactory.c: (gst_index_factory_make):
891         Improve debugging a bit and don't leak a ref to the index factory with
892         each call.
893
894 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
895
896         * gst/gstregistry.c:
897           Improve the documentation.
898
899 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
900
901         * gst/gstsegment.c:
902           The glib macro seems to be borked. Use g_slice_copy directly and cast
903           in the hope that this fixes the warning on 64bit.
904
905 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
906
907         * gst/gstsegment.c:
908           Document the new function. Use g_slice_dup() (no need for
909           gst_segment_init()).    
910
911 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
912
913         * docs/gst/gstreamer-sections.txt:
914           Move GParamSepc macros to standart section.
915   
916         * gst/gstbin.c:
917           Dn't document _get_type - its in private section in docs anyway and
918           this doc-blob was incomplete.
919
920         * gst/gstclock.h:
921           Fix wrong symbol names in docs.
922
923         * gst/gstmacros.h:
924           Add once doc sentence.
925
926         * tests/check/gst/.cvsignore:
927           Ignore more.
928
929 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
930
931         * docs/gst/Makefile.am:
932           And remove those libs here.
933
934 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
935
936         * docs/libs/Makefile.am:
937           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
938
939 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
940
941         Patch by: Olivier Crete <tester at tester dot ca>
942
943         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
944         Add the min-threshold to the min latency if possible. Fixes #529148.
945
946 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
947
948         * docs/gst/gstreamer.types.in:
949           Stupid editor, I removed that line as it should go in yet.
950
951 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
952
953         * docs/gst/gstreamer.types.in:
954         * docs/libs/gstreamer-libs.types:
955           Remove library types fro core docs and have them in libs docs.
956           Reformat and cleanup. Add comment for miniobject types.
957
958 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
959
960         * gst/gsturi.c: (gst_uri_get_protocol):
961           Fix leak: g_strdown operates on the string in place, while
962           g_ascii_strdown() returns a newly-allocated string.
963
964 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
965
966         * tools/gst-inspect.c: (print_uri_handler_info),
967         (print_element_info):
968         Print the URI protocols and the URI type supported by the element.
969
970 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
971
972         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
973         Use g_value_take_string() instead of the deprecated
974         g_value_set_string_take_ownership().
975
976 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
977
978         * gst/gstregistrybinary.c: (_gst_crc32):
979         Return the old CRC instead of 0 if we give a NULL buffer
980         or a buffer with a length of 0.
981
982 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
983
984         * gst/gsturi.c: (gst_uri_protocol_check_internal),
985         (gst_uri_get_protocol), (gst_uri_has_protocol),
986         (gst_uri_construct), (gst_uri_handler_set_uri):
987         A valid URI scheme can also include '+', '-' and '.' additional
988         to alphanumeric characters as per RFC 3986 Section 3.1.
989
990         Handle URI schemes case insensitive in all places and convert
991         to lower-case when constructing an URI or setting an URI with
992         the GstURIHandler interface. Fixes bug #528868.
993         All elements can still assume (as before) that they will
994         get passed URIs with a lower-case URI scheme by the GstURIHandler
995         interface.
996
997 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
998
999         * gst/gstcaps.c: (gst_static_caps_get):
1000         * gst/gstclock.c: (gst_clock_entry_new):
1001           Don't use g_atomic_set_int where it's not needed.
1002
1003 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1004
1005         * gst/gstvalue.c: (gst_value_deserialize_caps):
1006         * gst/parse/grammar.y:
1007         Fix 2 caps leaks.
1008
1009 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1010
1011         * gst/gstutils.c: (gst_atomic_int_set):
1012         Use g_atomic_int_set() here too instead of assignment +
1013         g_atomic_int_get().
1014
1015 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1016         
1017         * gst/gstutils.c:
1018         * gst/gstutils.h:
1019         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1020         now that we depend on new enough GLib.
1021
1022         * gst/gstcaps.c: (gst_static_caps_get):
1023         * gst/gstclock.c: (gst_clock_entry_new):
1024         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1025         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1026         (gst_debug_category_set_threshold):
1027         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1028         (gst_base_sink_set_qos_enabled):
1029         * libs/gst/net/gstnettimeprovider.c:
1030         (gst_net_time_provider_set_property):
1031         Use g_atomic_int_set() instead of gst_atomic_int_set().
1032
1033 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1034
1035         * gst/gstquery.c:
1036           Also use G_GINT64_CONSTANT for the queries.
1037
1038 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1039
1040         * gst/gstmessage.c:
1041           Use G_GINT64_CONSTANT in varargs function.
1042
1043 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1044
1045         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1046         Initialize the registry magic with zeroes.
1047
1048 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1049
1050         * gst/gstregistrybinary.c: (_gst_crc32),
1051         (gst_registry_binary_write),
1052         (gst_registry_binary_initialize_magic),
1053         (gst_registry_binary_write_cache),
1054         (gst_registry_binary_check_magic),
1055         (gst_registry_binary_read_cache):
1056         * gst/gstregistrybinary.h:
1057         Add crc32 checksum to the binary registry file and check this before
1058         accepting a registry file.
1059
1060         Also free the data list when writing to the registry file fails.
1061
1062 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1063
1064         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1065         (gst_registry_binary_load_feature),
1066         (gst_registry_binary_load_plugin):
1067         If an element supports the Uri interface, returns a valid pointer
1068         to the supported URI protocols but this pointer contains nothing
1069         don't try to save that as it will corrupt the registry.
1070
1071         Don't unref the plugin if we added it to the registry already but
1072         fail to load a feature as gst_registry_add_plugin() takes ownership
1073         of the plugin.
1074
1075         Improve debugging a bit.
1076
1077 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1078
1079         * gst/gsttaglist.h:
1080           Clarify some tag item docs after discussion on irc.
1081
1082 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1083
1084         * docs/gst/gstreamer-docs.sgml:
1085           Remove commented out plugins (they have their own docs). Update
1086           comments.
1087
1088 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1089
1090         * docs/gst/gstreamer-docs.sgml:
1091         * docs/gst/gstreamer-sections.txt:
1092         * gst/gstparamspecs.c:
1093         * gst/gstparamspecs.h:
1094           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1095           docs to own section.
1096
1097         * gst/gstvalue.c:
1098           This now only documents GValue.
1099           
1100         * docs/libs/gstreamer-libs-sections.txt:
1101         * libs/gst/controller/gstcontroller.h:
1102           Remove GST_PARAM_CONTROLLABLE.
1103
1104 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1105
1106         * docs/README:
1107           Correct file path. Tell about how to use -overrides.txt.
1108         * docs/design/draft-tagreading.txt:
1109           Small design update.
1110
1111 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1112
1113         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1114         (gst_registry_binary_load_plugin):
1115         Fix a typo in a debug message and revert change from yesterday as
1116         gst_registry_add_plugin() will only fail if something is really wrong
1117         already and we can't survive it anyway.
1118
1119 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1120
1121         * gst/gst.c: (init_post), (gst_deinit):
1122           Pre-register GstGError GType from a thread-safe context
1123           (fixes #527967); unref enum type classes in deinit.
1124
1125 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1126
1127         Patch by: Rene Stadler <mail at renestadler de>
1128
1129         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1130           Merging an empty list with another list in KEEP_ALL mode should
1131           yield an empty list as result and not the second list (#512578).
1132
1133         * tests/check/gst/gsttagsetter.c:
1134           Add unit test for tag merge modes and the aforementioned bug.
1135
1136 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1137
1138         Patch by: Rene Stadler <mail at renestadler de>
1139
1140         * gst/gsttaglist.h:
1141           Fix description to match the order in the table (#512577).
1142   
1143 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1144
1145         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1146
1147         * libs/gst/net/gstnettimepacket.h:
1148         * docs/libs/gstreamer-libs-sections.txt:
1149           Define socklen_t as int if it's not defined yet. Fixes compilation
1150           with MSVC6 and other versions where socklen_t is not defined in
1151           the windows headers (#518022).
1152
1153 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1154
1155         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1156         If gst_registry_add_plugin() fails our reference to the plugin is
1157         invalid so don't try to use it anymore and instead error out.
1158
1159 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1160
1161         * tools/gst-xmlinspect.c: (print_element_info), (main):
1162           De-cruft a bit. If no argument is specified, print all elements in
1163           XML syntax rather than a freestyle list of elements like gst-inspect.
1164           Also, don't print XML header chunk unless we actually have something
1165           to print (ie. don't print it before an error message); print error
1166           message to stderr not stdout. Remove support for printing plugin
1167           info (it would just output something freestyle along the lines of
1168           gst-inspect so far), which fixes #514507. Also add license header.
1169
1170 2008-04-11  Julien Moutte  <julien@fluendo.com>
1171
1172         Mac OS X love...
1173         * configure.ac: Merge platform specific defines, introduce a new
1174         define on OS X to remember that forking when updating registry is
1175         unsafe.
1176         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1177         module.
1178         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1179         is defined.
1180         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1181         condition that leads to absolutely no plugins being registered on
1182         OS X.
1183
1184 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1185
1186         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1187
1188         * gst/gstutils.c: (gst_pad_add_data_probe),
1189           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1190           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1191           (gst_pad_add_buffer_probe_full):
1192         * gst/gstutils.h:
1193         * docs/gst/gstreamer-sections.txt:
1194         * win32/common/libgstreamer.def:
1195           Add gst_pad_add_*_probe_full() functions with a notify callback that
1196           lets the caller free the data it passes to the probe functions. This
1197           is useful for bindings such as gst-python or gstreamermm (#526814).
1198           API: gst_pad_add_data_probe_full
1199           API: gst_pad_add_buffer_probe_full
1200           API: gst_pad_add_event_probe_full
1201
1202         * tests/check/gst/gstutils.c:
1203           Add minimal unit test to make sure freeing the data actually works
1204           as expected.
1205
1206         * tests/benchmarks/.cvsignore:
1207           Random cvsignore addendum.
1208
1209 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1210
1211         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1212           (GST_DEBUG_BIN_TO_DOT_FILE):
1213           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1214           to it in the docs (since these are macros the types of the arguments
1215           won't be shown in the docs otherwise).
1216
1217 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1218
1219         * gst/gstpad.c:
1220           Do not abort on out of memory for pad_alloc_buffer.
1221
1222 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1223
1224         * libs/gst/check/gstcheck.c:
1225           Remove blank line between symbol name ad parameters to fix gtkdoc
1226           warning.
1227
1228 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1229
1230         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1231
1232         * docs/gst/gstreamer-sections.txt:
1233         * gst/gstsegment.c:
1234         * gst/gstsegment.h:
1235         * win32/common/libgstreamer.def:
1236           Expose gst_segment_copy() to make things easier for the c++ bindings.
1237           Fixes #518932.
1238           API: gst_segment_copy()
1239
1240 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1241
1242         * gst/gst.c: (gst_init_get_option_group), (init_post):
1243           Fix const position; ref GType classes for enum types to work
1244           around thread-safety issues in GLib versions < 2.16.
1245
1246 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1247
1248         * docs/design/part-buffering.txt:
1249         Fix some typos and set the estimated total for push mode to -1.
1250
1251         * gst/gstquery.c: (gst_query_new_buffering):
1252         Set buffering-left to 0 as we're not buffering by default.
1253
1254         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1255         Implement BUFFERING query.
1256
1257 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1258
1259         Based on patch by: Milosz Derezynski <internalerror gmail com>
1260
1261         * gst/gsterror.c: (_gst_stream_errors_init):
1262         * gst/gsterror.h:
1263           Add two new error codes for encrypted content. Fixes #524659.
1264           API: GST_STREAM_ERROR_DECRYPT
1265           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1266
1267 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1268
1269         * gst/gstquery.h:
1270           Fix typo.
1271
1272         * win32/common/libgstreamer.def:
1273           Add new functions.
1274
1275 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1276
1277         * plugins/elements/gstidentity.c: (gst_identity_event),
1278         (gst_identity_start):
1279         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1280         event after processing some data. Fixes bug #526042.
1281
1282 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1283
1284         * docs/gst/gstreamer-sections.txt:
1285         * gst/gstquery.c: (gst_query_parse_latency),
1286         (gst_query_set_buffering_percent),
1287         (gst_query_parse_buffering_percent),
1288         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1289         * gst/gstquery.h:
1290         Rename _avail -> _range
1291         API: gst_query_set_buffering_range
1292         API: gst_query_parse_buffering_range
1293
1294 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1295
1296         * docs/design/part-buffering.txt:
1297         * gst/gstquark.c:
1298         * gst/gstquark.h:
1299         * gst/gstquery.c: (gst_query_parse_latency),
1300         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1301         (gst_query_parse_buffering_percent):
1302         * gst/gstquery.h:
1303         Add busy field and quark for the buffering query so that the app can
1304         only use the query to see if buffering is in progress.
1305
1306 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1307
1308         * docs/gst/gstreamer-sections.txt:
1309         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1310         (gst_message_parse_buffering_stats):
1311         * gst/gstmessage.h:
1312         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1313         (gst_query_parse_latency), (gst_query_new_buffering),
1314         (gst_query_set_buffering_percent),
1315         (gst_query_parse_buffering_percent),
1316         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1317         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1318         * gst/gstquery.h:
1319         Reorder the message docs and headers for clarity.
1320         Add aditional buffering stats API for messages.
1321         Add buffering query.
1322         Convert some leftover queries to use GstQuark.
1323         API: gst_message_set_buffering_stats
1324         API: gst_message_parse_buffering_stats
1325         API: GST_QUERY_BUFFERING
1326         API: GstBufferingMode
1327         API: gst_query_new_buffering
1328         API: gst_query_set_buffering_percent
1329         API: gst_query_parse_buffering_percent
1330         API: gst_query_set_buffering_stats
1331         API: gst_query_parse_buffering_stats
1332
1333 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1334
1335         * gst/gstmessage.c: (gst_message_new_error),
1336         (gst_message_new_warning), (gst_message_new_info),
1337         (gst_message_new_buffering), (gst_message_new_state_changed),
1338         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1339         (gst_message_new_new_clock), (gst_message_new_segment_start),
1340         (gst_message_new_segment_done), (gst_message_new_duration),
1341         (gst_message_new_async_start), (gst_message_parse_buffering),
1342         (gst_message_parse_state_changed),
1343         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1344         (gst_message_parse_new_clock), (gst_message_parse_error),
1345         (gst_message_parse_warning), (gst_message_parse_info),
1346         (gst_message_parse_segment_start),
1347         (gst_message_parse_segment_done), (gst_message_parse_duration),
1348         (gst_message_parse_async_start):
1349         Use GstQuark for messages.
1350
1351 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1352
1353         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1354         * gst/gstquark.h:
1355         Add some more quarks needed for messages and queries.
1356
1357 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1358
1359         * docs/design/part-buffering.txt:
1360         Remove the "none" buffering mode, STREAM is a good default.
1361         Move estimated-time to the avail query, that's when it will be needed.
1362         Other small typo fixes and updates.
1363
1364 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1365
1366         * gst/gstindex.c: (gst_index_resolver_get_type):
1367           Don't put descriptions into the nick field of a GEnumValue: it's not
1368           meant for that and some language bindings rely on the nick field to
1369           construct constants and the like. Fixes #526705.
1370
1371 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1372
1373         * NEWS:
1374         * RELEASE:
1375         * gstreamer.doap:
1376           Merge other changes from 0.10.19 release branch.
1377
1378 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1379
1380         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1381
1382         * configure.ac:
1383         Actually build dlls when cross-compiling with mingw32.
1384         Fixes bug #526247.
1385
1386 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1387
1388         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1389
1390         * gst/gstpoll.c:
1391         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1392
1393 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1394
1395         * docs/design/draft-latency.txt:
1396         Fix typo.
1397
1398         * docs/design/part-buffering.txt:
1399         Update design docs with more buffering ideas.
1400
1401 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1402
1403         * configure.ac:
1404           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1405
1406 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1407
1408         * configure.ac:
1409           Revert part that belongs to the preset patch.
1410
1411 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1412
1413         * configure.ac:
1414           Add qoutes to the define. Fixes # 525961.
1415
1416 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1417
1418         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1419         (gst_file_index_load), (gst_file_index_add_id),
1420         (gst_file_index_get_assoc_entry):
1421         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1422         (gst_mem_index_free_id), (gst_mem_index_add_id),
1423         (gst_mem_index_index_format):
1424         Use GSlice when possible.
1425
1426 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1427
1428         * libs/gst/controller/gstinterpolationcontrolsource.c:
1429         (gst_control_point_free),
1430         (gst_interpolation_control_source_set_internal):
1431         Use GSlice for allocating the control points.
1432
1433 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1434
1435         * plugins/elements/gsttypefindelement.c:
1436         (gst_type_find_element_class_init),
1437         (gst_type_find_element_set_property),
1438         (gst_type_find_element_get_property),
1439         (gst_type_find_element_activate):
1440         * plugins/elements/gsttypefindelement.h:
1441         Cleanup properties.
1442         Fix pad leak when peer query fails.
1443         We can still typefind when the peer returns -1.
1444         Add property to force caps and bypass typefinding. This will be used in
1445         uridecodebin.
1446         API::force-caps
1447
1448 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1449
1450         * configure.ac:
1451         Require GLib 2.12.
1452
1453         * gst/glib-compat-private.h:
1454         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1455         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1456         Unconditionally use GSlice for allocation.
1457
1458         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1459         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1460         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1461         (gst_structure_free):
1462         Use GSlice for allocation.
1463
1464 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1465
1466         * gst/parse/Makefile.am:
1467         * gst/parse/grammar.tab.pre.c:
1468         * gst/parse/grammar.tab.pre.h:
1469         * gst/parse/lex._gst_parse_yy.pre.c:
1470         Require a new enough flex and bison and remove the parser hacks to use
1471         a pre-regenerated version.
1472
1473 2008-04-01  Julien Moutte  <julien@fluendo.com>
1474
1475         patch by: Jason Zhao <E3423C@motorola.com>
1476
1477         * configure.ac: Add a configure switch to disable option parsing
1478         in gst_init.
1479         Fixes #522882.
1480
1481 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1482
1483         * configure.ac:
1484         * gst/gstregistry.c:
1485           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1486           and handle this case.
1487
1488         * gst/gst.c:
1489           Add a comment here describing, why we stat each plugin and not try to
1490           be smart.
1491
1492 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1493
1494         * libs/gst/base/gstbasetransform.c:
1495         (gst_base_transform_prepare_output_buffer):
1496         Also unset the GAP flag on buffers if we're working inplace but
1497         the element is not GAP-aware.
1498
1499         Mark a comment as FIXME 0.11.
1500
1501 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1502
1503         * gst/gst.c:
1504           Fix type in log message and add one to ease seeing how long registry
1505           cache verification takes.
1506
1507         * gst/gstregistry.c:
1508           Only test plugin filenames against G_MODULE_SUFFIX.
1509
1510 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1511
1512         * gst/gstdebugutils.c:
1513           Improve handling ghost/proxy pads.
1514
1515 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1516
1517         * docs/gst/gstreamer-sections.txt:
1518         * gst/gstpad.c:
1519         * gst/gstpad.h:
1520           Expose macro to docs and fix link to it.
1521
1522 2008-03-27  Michael Smith <msmith@fluendo.com>
1523
1524         * libs/gst/dataprotocol/dataprotocol.c:
1525         (gst_dp_packet_from_event_1_0):
1526           When calculating GDP body CRC, use the correct pointer. 
1527           Fixes part of #522401.
1528
1529 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1530
1531         Patch by: Mark Nauwelaerts <manauw at skynet be>
1532
1533         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1534         (gst_identity_init), (gst_identity_prepare_output_buffer):
1535         Identity is not always a passthrough element, it can modify the buffer
1536         timestamps when it has a datarate and operates in single-segment mode.
1537         We therefore make it an in_place filter with a custom buffer prepare
1538         function that conditionally makes the input buffer metadata writable
1539         when needed.  Fixes #523985.
1540
1541 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1542
1543         Patch by: Mark Nauwelaerts <manauw at skynet be>
1544
1545         * gst/gstclock.h:
1546         * libs/gst/base/gstbasesrc.h:
1547         * libs/gst/base/gstbasetransform.c:
1548         * libs/gst/check/gstcheck.c:
1549         Small documentation fixes. Fixes #523978.
1550
1551 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1552
1553         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1554         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1555         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1556
1557 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1558
1559         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1560         (single_queue_underrun_cb):
1561         When trying to make room in the queue, bump the max allowed buffers
1562         bigger than the current amount of buffers in the queue. this fixes some
1563         nasty deadlocks in multiqueue when dynamically changing the limits of
1564         the queue.
1565
1566 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1567
1568         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1569
1570         * gst/gstcaps.c: (gst_caps_set_simple),
1571         (gst_caps_set_simple_valist), (gst_caps_intersect):
1572         * gst/gstcaps.h:
1573         Constify the field gchar * params in set_simple and friends.
1574         Fixes #522326.
1575
1576 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1577
1578         * gst/gstvalue.c: (gst_value_transform_object_string):
1579         Transform a GstObject to a more meaningfull string that includes the
1580         object type in addition to its name.
1581
1582 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1583
1584         * ChangeLog:
1585           ChangeLog surgery to add bugnumber to commit.
1586
1587 2008-03-23  Rene Stadler  <mail@renestadler.de>
1588
1589         * libs/gst/base/gstbasetransform.c:
1590         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1591
1592 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1593
1594         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1595         Rename constant everywhere and don't forget one occurence.
1596
1597 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1598
1599         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1600         Align memory to the pointer size even if the architecture allows
1601         unaligned memory access. Unaligned memory access usually comes with
1602         performance penality.
1603
1604 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1605
1606         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1607         (gst_registry_binary_check_magic),
1608         (gst_registry_binary_load_pad_template),
1609         (gst_registry_binary_load_feature),
1610         (gst_registry_binary_load_plugin):
1611         Align memory to the pointer size instead of always 32 bit. Fixes
1612         unaligned memory accesses on ia64 and friends.
1613
1614         * gst/gstregistrybinary.h:
1615         Bump binary registry format version for this as it changes the
1616         format on those architectures that don't have unaligned access
1617         and 64 bit pointers.
1618
1619 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1620
1621         * docs/pwg/advanced-dparams.xml:
1622         * docs/pwg/building-props.xml:
1623         * docs/pwg/other-source.xml:
1624         * gst/glib-compat.h:
1625         * gst/gstbin.c: (gst_bin_class_init):
1626         * gst/gstclock.c: (gst_clock_class_init):
1627         * gst/gstindex.c: (gst_index_class_init):
1628         * gst/gstobject.c: (gst_object_class_init):
1629         * gst/gstpad.c: (gst_pad_class_init):
1630         * gst/gstpipeline.c: (gst_pipeline_class_init):
1631         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1632         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1633         * libs/gst/base/gstbasetransform.c:
1634         (gst_base_transform_class_init):
1635         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1636         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1637         (_gst_check_fault_handler_sighandler),
1638         (_gst_check_fault_handler_setup), (gst_check_init):
1639         * libs/gst/controller/gstcontroller.c:
1640         (_gst_controller_class_init):
1641         * libs/gst/controller/gstlfocontrolsource.c:
1642         (gst_lfo_control_source_class_init):
1643         * libs/gst/net/gstnetclientclock.c:
1644         (gst_net_client_clock_class_init):
1645         * libs/gst/net/gstnettimeprovider.c:
1646         (gst_net_time_provider_class_init):
1647         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1648         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1649         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1650         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1651         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1652         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1653         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1654         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1655         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1656         * plugins/elements/gstqueue.c: (gst_queue_class_init):
1657         * plugins/elements/gsttee.c: (gst_tee_class_init):
1658         * plugins/elements/gsttypefindelement.c:
1659         (gst_type_find_element_class_init):
1660         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1661         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1662         use it everywhere for GParamSpecs that use static strings (i.e. all).
1663         This gives us less memory usage, fewer allocations and thus less
1664         memory defragmentation. Fixes bug #523806.
1665
1666 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1667
1668         * gst/gstminiobject.c: (gst_value_dup_mini_object),
1669         (gst_param_spec_mini_object):
1670         * gst/gstminiobject.h:
1671         * win32/common/libgstreamer.def:
1672         * docs/gst/gstreamer-sections.txt:
1673         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1674         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1675         GstParamSpecMiniObject into a public header for this.
1676
1677         This make GstMiniObject a bit more consistent with GObject and makes
1678         it possible to extend the param specs.
1679
1680         gst_value_dup_mini_object is mainly useful for set_property methods.
1681
1682         Fixes bug #523798.
1683
1684         * tools/gst-inspect.c: (print_element_properties_info):
1685         Print something useful for GstMiniObject properties and not just
1686         "unknown type".
1687
1688 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1689
1690         * docs/gst/gstreamer-sections.txt:
1691         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1692         (gst_registry_binary_check_magic):
1693         * gst/gstregistrybinary.h:
1694         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1695         and add it to the (private part) of the docs to fix the build.
1696
1697 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1698
1699         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1700         (gst_registry_binary_check_magic),
1701         (gst_registry_binary_read_cache):
1702         * gst/gstregistrybinary.h:
1703         Don't use GST_MAJORMINOR for the binary registry version. Instead
1704         hardcode a value that must be changed whenever the format changes
1705         in an incompatible way.
1706         Also don't GST_ERROR when there is a version mismatch, just
1707         regenerate the registry silently.
1708
1709 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
1710
1711         * configure.ac:
1712         Back to development - 0.10.18.1
1713
1714 === release 0.10.18 ===
1715
1716 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
1717
1718         * configure.ac:
1719           releasing 0.10.18, "So far away"
1720
1721 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
1722
1723         * configure.ac:
1724         * win32/common/config.h:
1725         0.10.17.4 pre-release
1726
1727 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1728
1729         Patch by: Ole André Vadla Ravnås
1730             <ole dot andre dot ravnas at tandberg dot com>
1731
1732         * docs/gst/gstreamer-sections.txt:
1733         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1734         (gst_poll_update_winsock_event_mask),
1735         (gst_poll_prepare_winsock_active_sets),
1736         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1737         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1738         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1739         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1740         (gst_poll_check_ctrl_commands), (gst_poll_wait):
1741         * gst/gstpoll.h:
1742         * win32/common/libgstreamer.def:
1743         Add new function gst_poll_fd_ignored() for improved Windows
1744         compatibility.
1745         Various minor fixes and cleanups. See #520808.
1746
1747 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
1748
1749         * gst/gstindex.c: (gst_index_entry_free):
1750         * gst/gstindex.h:
1751           Don't free key strings which we don't own. Fixes crash in
1752           gst_index_entry_free() (#522741).
1753
1754         * tests/check/Makefile.am:
1755         * tests/check/gst/.cvsignore:
1756         * tests/check/gst/gstindex.c: (test_index_entries),
1757           (gst_index_suite), (gst_index):
1758           Add unit test for the above.
1759
1760 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
1761
1762         * win32/common/libgstreamer.def:
1763         Remove symbols that were removed recently. Fixes bug #521740.
1764
1765 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
1766
1767         * configure.ac:
1768         * win32/common/config.h:
1769         0.10.17.3 pre-release
1770
1771 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1772
1773         Patch by: Ole André Vadla Ravnås
1774             <ole dot andre dot ravnas at tandberg dot com>
1775
1776         * docs/gst/gstreamer-sections.txt:
1777         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1778         (gst_poll_update_winsock_event_mask), (gst_poll_new),
1779         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1780         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1781         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1782         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1783         (gst_poll_fd_can_write), (gst_poll_wait),
1784         (gst_poll_set_controllable), (gst_poll_restart),
1785         (gst_poll_set_flushing):
1786         * gst/gstpoll.h:
1787         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1788         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1789         (gst_net_time_provider_new):
1790         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1791         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1792         * tests/benchmarks/gstpollstress.c: (main):
1793         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1794         Remove GstPollMode from the API, it does not make sense to let the
1795         application control this.
1796         Add support for Win32.
1797         Fix the testsuite. Fixes #520671.
1798
1799 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
1800
1801         Patch by: Ole André Vadla Ravnås
1802             <ole dot andre dot ravnas at tandberg dot com>
1803
1804         * gst/gstregistrybinary.c:
1805         Include io.h for write() and close() when building with MSVC. Fixes
1806         bug #520877.
1807
1808 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
1809
1810         * configure.ac:
1811         * gst/gst_private.h:
1812         * gst/gstconfig.h.in:
1813         * gst/gstregistry.h:
1814         * gst/gstregistrybinary.c:
1815         * win32/common/gstconfig.h:
1816           Move registry backend API to private headers where we can. Add
1817           fixme-0.11 comments for the others. Add stubs for the xml backend when
1818           using the binary to ensure they functions exists (they should not be
1819           used though). Fixes #520756.
1820
1821 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
1822
1823         * configure.ac:
1824         * win32/common/config.h:
1825         0.10.17.2 prelease
1826
1827 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1828
1829         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1830         (gst_registry_binary_read_cache):
1831         * gst/gstregistryxml.c: (gst_registry_save):
1832         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1833         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1834         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1835         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1836         Switch to using portabl gsize/gssize instead of size_t/ssize_t
1837         Fixes #520152
1838
1839 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1840
1841         * gst/gstminiobject.c:
1842         Import gst_private.h before any other header that might include other
1843         glib headers. This fixes the build on windows using native compilers.
1844
1845 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1846
1847         * win32/common/gstconfig.h:
1848           Add here too, just for completeness.
1849
1850 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1851
1852         * configure.ac:
1853         * gst/gstconfig.h.in:
1854         * gst/gstregistry.h:
1855           Fix broken use of config.h-defined preprocessor directive in a public
1856           header file. Add a corresponding define to gstconfig.h, since we can't
1857           really remove those function declarations from the header file now
1858           (or can we? and why are they there in the first place?).
1859
1860 2008-03-03  Andy Wingo  <wingo@pobox.com>
1861
1862         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1863         the new warning.
1864
1865         * gst/gststructure.c (gst_structure_from_string): Warn if
1866         structure_from_string didn't consume the whole string, but the
1867         caller did not provide an end pointer.
1868
1869 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
1870
1871         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1872
1873         * gst/gstregistryxml.c: (read_string), (load_feature):
1874           Strings allocated by libxml2 should be freed with xmlFree(), not
1875           with g_free(). Fixes issues on windows in certain contexts (#519698).
1876
1877 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
1878
1879         * gst/gstinterface.c: (gst_element_implements_interface):
1880           Don't crash if the element supports the interface queried, but does
1881           not implement GstImplementsInterface. Fixes #519584.
1882
1883         * tests/check/Makefile.am:
1884         * tests/check/gst/.cvsignore:
1885         * tests/check/gst/gstinterface.c:
1886           Add unit test for the above.
1887
1888 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1889
1890         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1891         Small doc update.
1892
1893 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1894
1895         * gst/gstsegment.c: (gst_segment_set_seek),
1896         (gst_segment_to_stream_time):
1897         Improve some comment.
1898         Update variables where it makes more sense.
1899
1900 2008-02-29  Rene Stadler  <mail@renestadler.de>
1901
1902         * gst/gsturi.c: (gst_uri_handler_get_protocols):
1903         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
1904         URIHandlers implemented using language bindings.
1905
1906 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1907
1908         * gst/gstelementfactory.h:
1909         * tests/check/elements/fakesink.c:
1910         * tests/check/elements/fakesrc.c: (setup_fakesrc):
1911         * tests/check/elements/fdsrc.c: (setup_fdsrc):
1912         * tests/check/elements/filesink.c: (setup_filesink):
1913         * tests/check/elements/filesrc.c: (setup_filesrc):
1914         * tests/check/elements/identity.c: (setup_identity):
1915         * tests/check/elements/tee.c:
1916         * tests/check/generic/sinks.c:
1917         * tests/check/generic/states.c: (setup), (teardown):
1918         * tests/check/gst/gst.c:
1919         * tests/check/gst/gstabi.c:
1920         * tests/check/gst/gstbin.c:
1921         * tests/check/gst/gstbus.c: (pull_messages):
1922         * tests/check/gst/gstcaps.c:
1923         * tests/check/gst/gstelement.c:
1924         * tests/check/gst/gstevent.c:
1925         * tests/check/gst/gstghostpad.c:
1926         * tests/check/gst/gstiterator.c:
1927         * tests/check/gst/gstmessage.c:
1928         * tests/check/gst/gstminiobject.c: (my_foo_init):
1929         * tests/check/gst/gstobject.c: (thread_name_object),
1930         (gst_object_suite):
1931         * tests/check/gst/gstpad.c:
1932         * tests/check/gst/gstplugin.c:
1933         * tests/check/gst/gstpoll.c:
1934         * tests/check/gst/gstquery.c:
1935         * tests/check/gst/gstsegment.c:
1936         * tests/check/gst/gststructure.c:
1937         * tests/check/gst/gstsystemclock.c:
1938         * tests/check/gst/gsttask.c:
1939         * tests/check/gst/gstutils.c:
1940         * tests/check/gst/gstvalue.c:
1941         * tests/check/gst/struct_hppa.h:
1942         * tests/check/gst/struct_i386.h:
1943         * tests/check/gst/struct_ppc32.h:
1944         * tests/check/gst/struct_ppc64.h:
1945         * tests/check/gst/struct_x86_64.h:
1946         * tests/check/libs/adapter.c: (create_and_fill_adapter):
1947         * tests/check/libs/basesrc.c:
1948         * tests/check/libs/controller.c: (GST_START_TEST):
1949         * tests/check/libs/gdp.c:
1950         * tests/check/libs/gstnetclientclock.c:
1951         * tests/check/libs/gstnettimeprovider.c:
1952         * tests/check/libs/libsabi.c:
1953         * tests/check/libs/struct_hppa.h:
1954         * tests/check/libs/struct_i386.h:
1955         * tests/check/libs/struct_ppc32.h:
1956         * tests/check/libs/struct_ppc64.h:
1957         * tests/check/libs/struct_x86_64.h:
1958         * tests/check/pipelines/cleanup.c:
1959         * tests/check/pipelines/simple-launch-lines.c:
1960         * tests/check/pipelines/stress.c:
1961         And correct even more valid sparse warnings.
1962
1963         * win32/common/libgstreamer.def:
1964         Add gst_poll_fd_init to the list of symbols.
1965
1966 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1967
1968         * gst/gstconfig.h.in:
1969         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
1970         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
1971         (gst_check_log_critical_func), (gst_check_drop_buffers),
1972         (gst_check_element_push_buffer_list):
1973         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
1974         (gst_controller_get_type):
1975         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
1976         (gst_object_get_controller), (gst_object_get_control_source):
1977         * libs/gst/controller/gstinterpolationcontrolsource.c:
1978         (gst_interpolation_control_source_new):
1979         * libs/gst/controller/gstlfocontrolsource.c:
1980         (gst_lfo_control_source_new):
1981         * libs/gst/dataprotocol/dataprotocol.c:
1982         (gst_dp_event_from_packet_0_2):
1983         * plugins/elements/gstfdsrc.c:
1984         * plugins/elements/gstmultiqueue.c:
1985         * plugins/elements/gsttee.c:
1986         * plugins/elements/gsttypefindelement.c:
1987         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
1988         (gst_file_index_add_association):
1989         * plugins/indexers/gstmemindex.c:
1990         * tests/benchmarks/gstpollstress.c: (mess_some_more):
1991         * tests/check/elements/queue.c: (setup_queue):
1992         * tests/check/gst/gstpipeline.c:
1993         * tests/check/libs/collectpads.c: (setup), (teardown),
1994         (gst_collect_pads_suite):
1995         * tests/examples/adapter/adapter_test.c:
1996         * tests/examples/metadata/read-metadata.c: (make_pipeline):
1997         * tests/examples/xml/createxml.c:
1998         * tests/examples/xml/runxml.c:
1999         * tools/gst-inspect.c:
2000         * tools/gst-run.c:
2001         Correct all relevant warnings found by the sparse semantic code
2002         analyzer. This include marking several symbols static, using
2003         NULL instead of 0 for pointers, not using variable sized arrays
2004         on the stack, moving variable declarations to the beginning of
2005         a block and using "foo (void)" instead of "foo ()" for declarations.
2006
2007 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2008
2009         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2010         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2011         Don't reset GstPollFDs, this is not necessary at all.
2012
2013         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2014         (delayed_restart), (delayed_control):
2015         Use GST_POLL_FD_INIT.
2016
2017 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2018
2019         * gst/gstpoll.c: (gst_poll_fd_init):
2020         * gst/gstpoll.h:
2021         Added Since tags.
2022
2023         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2024         Use some more init macros.
2025
2026 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2027
2028         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2029         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2030         Use init macros and functions.
2031
2032 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2033
2034         * docs/gst/gstreamer-sections.txt:
2035         * gst/gstpoll.c: (gst_poll_fd_init):
2036         * gst/gstpoll.h:
2037         Add INIT macro and _init method for initializing the GstPollFD.
2038
2039 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2040
2041         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2042         (gst_fd_sink_update_fd):
2043         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2044         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2045         (delayed_restart), (delayed_control):
2046         Initialize some uninitialized variables as spotted by valgrind.
2047
2048 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2049
2050         * tests/benchmarks/Makefile.am:
2051         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2052         (main):
2053         Add poll stress test.
2054
2055 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2056
2057         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2058
2059         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2060         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2061         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2062         * plugins/elements/gstfdsink.h:
2063         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2064         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2065         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2066         (gst_fd_src_uri_set_uri):
2067         * plugins/elements/gstfdsrc.h:
2068         Port to GstPoll. See #505417.
2069
2070 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2071
2072         * win32/common/libgstreamer.def:
2073         Add new gst_poll_ symbols to win32 defs.
2074
2075 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2076
2077         * docs/libs/gstreamer-libs-sections.txt:
2078         * libs/gst/net/gstnetclientclock.c:
2079         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2080         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2081         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2082         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2083         * libs/gst/net/gstnetclientclock.h:
2084         * libs/gst/net/gstnettimeprovider.c:
2085         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2086         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2087         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2088         (gst_net_time_provider_new):
2089         * libs/gst/net/gstnettimeprovider.h:
2090         Use a private stuct to not break ABI.
2091
2092 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2093
2094         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2095
2096         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2097         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2098         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2099         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2100         * libs/gst/net/gstnetclientclock.h:
2101         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2102         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2103         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2104         (gst_net_time_provider_new):
2105         * libs/gst/net/gstnettimeprovider.h:
2106         Massive code removal and cleanups because of GstPoll.
2107         Fixes #505417.
2108
2109 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2110
2111         * configure.ac:
2112         Add checks for poll, ppoll and pselect.
2113
2114         * docs/gst/gstreamer-docs.sgml:
2115         * docs/gst/gstreamer-sections.txt:
2116         Add docs for GstPoll.
2117
2118         * gst/Makefile.am:
2119         * gst/gst.h:
2120         * gst/gstpoll.c: (find_index), (selectable_fds),
2121         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2122         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2123         (gst_poll_set_mode), (gst_poll_get_mode),
2124         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2125         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2126         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2127         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2128         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2129         (gst_poll_fd_can_write), (gst_poll_wait),
2130         (gst_poll_set_controllable), (gst_poll_restart),
2131         (gst_poll_set_flushing):
2132         * gst/gstpoll.h:
2133         Add generic poll abstraction. We ideally don't want to have this in core
2134         here but in glib intead...
2135         This code will be used in various network elements and ultimately for
2136         the nanosecond precision monotonic clock (that's why it's here in core).
2137         It'll allow us to implement cancelable socket operations for windows too.
2138
2139         * tests/check/Makefile.am:
2140         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2141         (delayed_stop), (delayed_restart), (delayed_flush),
2142         (delayed_control), (gst_poll_suite):
2143         Add GstPoll unit test.
2144
2145 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2146
2147         * gst/gstfilter.c:
2148           Improve documentation of gst_filter_run(). Fixes #518627.
2149
2150 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2151
2152         * docs/README:
2153           Add a few lines about the new 'check-inspected-versions' target.
2154
2155 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2156
2157         * tests/check/gst/gstevent.c:
2158           Add qos to the event test. Rename tcase/tsuite; is not only about
2159           custom events.
2160
2161 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2162
2163         * plugins/elements/gstqueue.c:
2164           Ensure that buffer metadata is writeable, before modifying. Spotted by
2165           Mike.
2166
2167 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2168
2169         * plugins/elements/gstqueue.c:
2170         * plugins/elements/gstqueue.h:
2171           When dropping buffers in leaky modes, mark next buffers we sent as
2172           DISCONT.
2173
2174 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2175
2176         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2177           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2178
2179 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2180
2181         * plugins/elements/Makefile.am:
2182         * plugins/elements/gstbufferstore.c:
2183         * plugins/elements/gstbufferstore.h:
2184         * plugins/elements/gsttypefindelement.h:
2185           Remove GstBufferStore, no idea why we were still building it.
2186           It's not used anywhere and superseded by GstAdapter.
2187
2188         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2189           (gst_file_src_create_mmap):
2190         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2191           Printf format fixes for 64-bit integers.
2192
2193 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2194
2195         * configure.ac:
2196         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2197         We're not in 0.8 times anymore.
2198
2199 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2200
2201         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2202         (gst_check_element_push_buffer_list):
2203         * libs/gst/check/gstcheck.h:
2204         Make the declaration in the header for
2205         gst_check_element_push_buffer_list match the implementation.
2206
2207         Fix up spelling, grammar and wording of the documentation in a few
2208         places, and add the Since keyword to new API functions.
2209         Use g_list_delete_link instead of g_list_remove in
2210         gst_check_drop_buffers, since it's immeasurably more efficient.
2211
2212         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2213         Use new gst_check_drop_buffers function where appropriate.
2214
2215         * win32/common/libgstbase.def:
2216         * win32/common/libgstreamer.def:
2217         Add new symbols gst_collect_pads_take_buffer, 
2218         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2219         exports
2220
2221         Changelog surgery to add API keyword to new gst_check API.
2222
2223 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2224
2225         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2226         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2227         Update pre-generated flex files with flex 2.3.34.
2228
2229 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2230
2231         * gst/gstminiobject.c:
2232           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2233           friendly to subclasses and not require them to know all internals
2234           of their parent class.
2235
2236 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2237
2238         * docs/libs/gstreamer-libs-sections.txt:
2239         * libs/gst/base/gstcollectpads.c:
2240         * libs/gst/base/gstcollectpads.h:
2241           Add sub-buffer functions to collectpads. Fixes #516187.
2242           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2243
2244 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2245
2246         * gst/gstbuffer.c:
2247           Copy selected buffer-flags when creating subbuffers.
2248           Fixes #516395.
2249
2250 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2251
2252         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2253         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2254         * gst/gstmessage.c: (gst_message_class_init),
2255         (gst_message_finalize):
2256         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2257         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2258         (gst_mmap_buffer_finalize):
2259         Properly chain up finalize functions to the parent class.
2260
2261 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2262
2263         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2264
2265         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2266         (gst_index_set_resolver_full):
2267         * gst/gstindex.h:
2268         Add new function with option to dispose of user_data in resolver.
2269         Actually call the dispose function when finalizing the object and not
2270         just when changing the resolver/filter.
2271         API: GstIndex::gst_index_set_resolver_full()
2272
2273         * docs/gst/gstreamer-sections.txt:
2274         Add new function to docs. Fixes #515469.
2275
2276 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2277
2278         * gst/gstindex.c: (gst_index_finalize):
2279         Chain up finalize to the parent class. Fixes leaking the GstObject
2280         name and other things.
2281
2282 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2283
2284         * configure.ac:
2285         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2286         pre-releases or releases.
2287
2288         * docs/faq/gst-uninstalled:
2289         Add gst-plugins-gl
2290
2291         * docs/random/release:
2292         Change one of the steps - we only upload core & base to Gnome FTP
2293
2294 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2295
2296         * gst/gstconfig.h.in:
2297           Add 'id' for example.
2298
2299         * gst/gstpad.c:
2300         * gst/gstutils.c:
2301         * plugins/elements/gstfdsink.c:
2302           Link to signals. Doc and comment fixes.
2303
2304 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2305
2306         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2307         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2308           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2309           unused and unimplemented; finally, it is plugin features, not
2310           plugins, that have ranks.
2311           
2312 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2313
2314         * gst/gstpluginfeature.h:
2315           Clarify GstRank range docs.
2316
2317 2008-02-05  David Schleef  <ds@schleef.org>
2318
2319         * gst/gst.c: Add a separate gst_deinitialized that prevents
2320           gst_init() from being called after gst_deinit().  Fixes #509559
2321
2322 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2323
2324         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2325         (gst_bin_class_init):
2326         * gst/gstelement.c: (gst_element_base_class_init),
2327         (gst_element_class_add_pad_template):
2328         * gst/gstpadtemplate.c: (gst_pad_template_init):
2329         * gst/gstpipeline.c: (gst_pipeline_get_type),
2330         (gst_pipeline_base_init), (gst_pipeline_class_init):
2331         * libs/gst/base/gstbasesink.c:
2332         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2333         (gst_base_src_base_init), (gst_base_src_class_init):
2334         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2335         (gst_capsfilter_class_init):
2336         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2337         (gst_fake_sink_class_init):
2338         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2339         (gst_fake_src_class_init):
2340         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2341         (gst_fd_sink_class_init):
2342         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2343         (gst_fd_src_class_init):
2344         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2345         (gst_file_sink_class_init):
2346         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2347         (gst_file_src_class_init):
2348         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2349         (gst_identity_class_init):
2350         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2351         (gst_multi_queue_class_init):
2352         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2353         (gst_queue_class_init):
2354         * plugins/elements/gsttee.c: (gst_tee_base_init),
2355         (gst_tee_class_init):
2356         * plugins/elements/gsttypefindelement.c:
2357         (gst_type_find_element_base_init),
2358         (gst_type_find_element_class_init):
2359         * tests/check/gst/gstelement.c: (gst_element_suite):
2360         Revert previous changes to the behaviour of GstPadTemplates, etc
2361         and the possiblity to call them in class_init as it breaks too
2362         many elements. Reopens bug #491501.
2363
2364         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2365         several places.
2366
2367 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2368
2369         * tools/gst-launch.c:
2370         Dump one graph per pipeline state-change and state change name
2371         (if GST_DEBUG_DUMP_DOT_DIR is set).
2372
2373 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2374
2375         * gst/gstpad.c:
2376         * tests/check/gst/gstpad.c:
2377         Be sure that we have a new copy of the caps and not
2378         reffed caps from a template
2379
2380 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2381
2382         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2383         * gst/gstpipeline.c: (gst_pipeline_get_type),
2384         (gst_pipeline_class_init):
2385         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2386         (gst_base_sink_class_init):
2387         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2388         (gst_base_src_class_init):
2389         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2390         (gst_base_transform_class_init):
2391         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2392         (gst_collect_pads_class_init):
2393         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2394         * libs/gst/net/gstnettimeprovider.c:
2395         (gst_net_time_provider_base_init),
2396         (gst_net_time_provider_class_init):
2397         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2398         (gst_capsfilter_class_init):
2399         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2400         (gst_fake_sink_class_init):
2401         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2402         (gst_fake_src_class_init):
2403         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2404         (gst_fd_sink_class_init):
2405         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2406         (gst_fd_src_class_init):
2407         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2408         (gst_file_sink_class_init):
2409         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2410         (gst_file_src_class_init):
2411         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2412         (gst_identity_class_init):
2413         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2414         (gst_multi_queue_class_init):
2415         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2416         (gst_queue_class_init):
2417         * plugins/elements/gsttee.c: (gst_tee_base_init),
2418         (gst_tee_class_init):
2419         * plugins/elements/gsttypefindelement.c:
2420         (gst_type_find_element_base_init),
2421         (gst_type_find_element_class_init):
2422         Don't use base_init where not absolutely necessary. For example it's
2423         not necessary anymore for adding pad templates or setting element
2424         details.
2425
2426         Leave empty base_init functions in several places as GST_BOILERPLATE
2427         still defines and uses them.
2428
2429 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2430
2431         * gst/gstelement.c: (gst_element_base_class_init),
2432         (gst_element_class_add_pad_template):
2433         * gst/gstpadtemplate.c:
2434         Make it possible (and recommended) to set element details and add
2435         pad templates in the class_init functions by copying the details/pad
2436         templates in GstElement's base_init.
2437
2438         Also make it possible to replace existing pad templates by adding
2439         a new one with the same name. This was done in a hackish fashion
2440         in same elements before already.
2441
2442         Don't reference pad templates that are added a second time. A
2443         new pad template has a refcount of one and is not floating anymore
2444         and to be owned by the element's class. Make this more explicit by
2445         mentioning it in the docs of gst_element_class_add_pad_template().
2446
2447         These changes are backwards compatible. Fixes bug #491501.
2448
2449         * tests/check/gst/gstelement.c:
2450         Add unit test for setting element details, adding pad templates and
2451         replacing them in a subclass.
2452
2453 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2454
2455         * tools/gst-inspect.c: (print_interfaces),
2456         (print_element_properties_info), (print_pad_info),
2457         (print_signal_info), (print_element_info):
2458         Fix a few memory leaks.
2459
2460 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2461
2462         * docs/libs/gstreamer-libs-sections.txt:
2463         * libs/gst/check/gstcheck.c:
2464         * libs/gst/check/gstcheck.h:
2465         Add more functions for unit testing: gst_check_drop_buffers,
2466         gst_check_caps_equal, gst_check_element_push_buffer_list,
2467         gst_check_element_push_buffer
2468         API: gst_check_drop_buffers
2469         API: gst_check_caps_equal
2470         API: gst_check_element_push_buffer_list
2471         API: gst_check_element_push_buffer
2472
2473 2008-02-01  Julien Moutte  <julien@fluendo.com>
2474
2475         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2476         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2477         (gst_index_finalize), (gst_index_entry_free),
2478         (gst_index_add_association): Fix memory leaks.
2479         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2480         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2481         (gst_mem_index_free_format), (gst_mem_index_free_id),
2482         (gst_mem_index_finalize): Fix memory leaks.
2483         * win32/common/config.h: Updated to CVS HEAD.
2484
2485 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2486
2487         * docs/README:
2488           Some more details about how the plugin docs works.
2489
2490         * docs/plugins/gstreamer-plugins-sections.txt:
2491           Whitespace cleanup.
2492
2493 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2494
2495         * gst/parse/grammar.tab.pre.c:
2496         * gst/parse/grammar.tab.pre.h:
2497         * gst/parse/grammar.y:
2498         * gst/parse/lex._gst_parse_yy.pre.c:
2499           Add delayed set-property. This allows to set properties on dynamicaly
2500           created objects (pads in videomxer). Fixes #509391.
2501
2502 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2503
2504         * gst/gstutils.c:
2505         Check if caps are not NULL (fix bug #510194)
2506
2507 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2508
2509         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2510         (gst_base_sink_get_position_paused):
2511         Add fixme regarding EOS in pull mode.
2512         Fix position reporting in PAUSED for negative rates.
2513
2514 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2515
2516         * gst/gstminiobject.c: (gst_mini_object_replace):
2517         When replacing a miniobject, do a quick equality check first so that we
2518         can avoid a ref/unref pair.
2519
2520 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2521
2522         * docs/design/part-synchronisation.txt:
2523         Update some docs.
2524
2525         * docs/plugins/Makefile.am:
2526         * docs/plugins/gstreamer-plugins-docs.sgml:
2527         * docs/plugins/gstreamer-plugins-sections.txt:
2528         * plugins/elements/gstmultiqueue.c:
2529         Add multiqueue to the docs.
2530
2531 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2532
2533         * configure.ac:
2534           Back to CVS
2535
2536 === release 0.10.17 ===
2537
2538 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2539
2540         * configure.ac:
2541           releasing 0.10.17, "Due Negligence"
2542
2543 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2544
2545         * gst/gstutils.c:
2546         Revert caps != NULL check temporarily for 0.10.17 release.
2547
2548 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2549
2550         * gst/gstutils.c:
2551         Check if caps are not NULL (fix bug #510194)
2552
2553 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2554
2555         * gst/gstutils.c:
2556         Fix compilation on systems that have posix timers but no
2557         monotonic clock.
2558         Fixes: #512715
2559         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2560         dot net>
2561
2562 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2563
2564         * tools/gst-inspect.c:
2565         Revert previous commit in preparation for an impromptu 0.10.17 release
2566
2567 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2568
2569         * tools/gst-inspect.c: (print_interfaces),
2570         (print_element_properties_info), (print_pad_info),
2571         (print_signal_info), (print_element_info):
2572         Fix a few memory leaks.
2573
2574 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2575
2576         * configure.ac:
2577         Back to CVS
2578
2579 === release 0.10.16 ===
2580
2581 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2582
2583         * configure.ac:
2584           releasing 0.10.16, "Special Dispensation"
2585
2586 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2587
2588         * configure.ac:
2589           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2590           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2591           not fail when trying to crosscompile on OpenEmbedded (#511750).
2592
2593 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2594
2595         * docs/manuals.mak:
2596         Use $(MAKE) instead of make to fix the build if GNU make is
2597         called different. Fixes bug #510747.
2598
2599 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2600
2601         * gst/gstplugin.c: (_gst_plugin_initialize):
2602           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2603           again, which I broke two commits ago when changing the API
2604           of gst_plugin_register_static(): the g_list_foreach() in
2605           _gst_plugin_register_static still assumed the old function
2606           signature and would therefore fail (re-fixes #510187).
2607
2608         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2609           (_gst_plugin_register_static), (gst_plugin_register_static):
2610           Revert the (technically correct) change to call g_thread_init() from
2611           the pre-main() constructor. This will break programs which call
2612           g_thread_init() without an if (!g_thread_supported()) guard in their
2613           main function. We could just blame it on GLib or the application, but
2614           it's probably best to just avoid this altogether and simply not use
2615           any GLib functions here and use plain old malloc() with a simple
2616           array to store the plugins to register later when gst_init() is
2617           finally called (re-fixes #510187).
2618
2619         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2620           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2621           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2622           (GST_START_TEST), (gst_plugin_suite):
2623           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2624           works.
2625
2626 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2627
2628         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2629           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2630           This makes gtk-doc complain, but results in slightly better
2631           compiler errors. The old _gst_plugin_register_static() is
2632           still guarded, so there'll be a compiler warning about that
2633           instead. Fixes #510187 too.
2634
2635 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2636
2637         * gst/gst.c: (init_post):
2638         * gst/gstplugin.c: (_gst_plugin_register_static),
2639           (gst_plugin_register_static), (_gst_plugin_initialize):
2640         * gst/gstplugin.h: (GstPluginFilter):
2641           Change API of gst_plugin_register_static() to not take
2642           a GstPluginDesc, but rather just take all the arguments
2643           in a GstPluginDesc directly. This is more intuitive and
2644           avoids certain mistakes when porting code from
2645           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2646           Fixes #510187.
2647
2648         * tests/check/gst/gstplugin.c:
2649           Fix up for changed API.
2650
2651 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2652
2653         * docs/faq/legal.xml:
2654           Update FAQ, Totem actually has an exception these days.
2655
2656 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
2657
2658         * win32/common/libgstreamer.def:
2659         Add new API declarations
2660
2661 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2662
2663         * gst/gstminiobject.c:
2664           Spelling fixes for the API docs.
2665
2666 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2667
2668         * libs/gst/base/gstbasetransform.c:
2669           Fix long property description for QoS.
2670
2671 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
2672
2673         * gst/gst.c:
2674         _gst_trace_on is already provided by gsttrace.h, no need to declare
2675         it ourselves.
2676
2677         * docs/libs/gstreamer-libs-sections.txt:
2678         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2679         and remove strange tcase_add_test which is outputting a warning.
2680
2681         * libs/gst/check/gstcheck.c:
2682         * libs/gst/check/gstcheck.h:
2683         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2684         and define them in gstcheck.c instead of having every .c file whcih
2685         includes gstcheck.h be defining its own copy and relying on symbol
2686         interposing to marry them all, which doesn't work on Solaris.
2687
2688         * tests/check/elements/identity.c: (GST_START_TEST):
2689         Don't define 'buffers' locally, it comes from libgstcheck.
2690
2691         * tests/check/generic/sinks.c: (send_buffer):
2692         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2693
2694         * tests/check/gst/gststructure.c: (GST_START_TEST):
2695         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2696         * tests/check/gst/gstutils.c: (GST_START_TEST):
2697         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2698         Add a bunch of casts to make various constants fit the types
2699         they're being assigned to.
2700
2701 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
2702
2703         * gst/gstchildproxy.c:
2704           Improve docs and add some ideas for making this more general-purpose.
2705
2706 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
2707
2708         * gst/gst_private.h: (GST_CAT_TYPES):
2709           Add GST_CAT_TYPES, for consistency, and so that the other
2710           debug categories don't make fun of it. Spotted by Saur on IRC.
2711
2712 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2713
2714         * gst/parse/Makefile.am:
2715           Move types.h from EXTRA_DIST to noinst_HEADERS.
2716
2717 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2718
2719         * autogen.sh:
2720           Add -Wno-portability to the automake parameters to stop warnings
2721           about GNU make extensions being used. We require GNU make in almost
2722           every Makefile anyway.
2723
2724         * configure.ac:
2725           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2726           at the same time is required for per target flags.
2727
2728 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2729
2730         * gst/gstmacros.h:
2731           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2732           __GNUC__ is defined before using it.
2733
2734 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2735
2736         * docs/gst/gstreamer-sections.txt:
2737         * gst/gst.c: (init_post):
2738         * gst/gstplugin.c: (_gst_plugin_register_static),
2739           (gst_plugin_register_static), (_gst_plugin_initialize),
2740           (gst_plugin_register_func):
2741         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2742           API: add gst_plugin_register_static() and deprecate
2743           GST_PLUGIN_DEFINE_STATIC, since it's not portable
2744           (#498924).
2745           Also, in _gst_plugin_register_static(), make sure to call
2746           g_thread_init() before calling GLib functions such as
2747           g_list_append() if we're not initialised yet, since that
2748           may lead to random crashes with older GSlice/GLib versions.
2749
2750         * tests/check/gst/gstplugin.c:
2751           Adapt unit test to above changes.
2752
2753 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2754
2755         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2756         * gst/gstcaps.c: (gst_caps_to_string):
2757         * gst/gststructure.c: (GST_ASCII_IS_STRING),
2758           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2759           Yet another gratuitous GString micro-optimisation: add a (private)
2760           function that serialises a structure appending to an existing
2761           GString, so that when we serialise caps we don't need to alloc+free
2762           a throwaway GString for each structure (each of which also entailing
2763           multiple reallocs on the way); also use g_string_sized_new() in
2764           various places with an approximate string length to avoid reallocs
2765           within GString. See #500143.
2766
2767 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2768
2769         * gst/gststructure.c: (gst_structure_id_set_value):
2770           Always check UTF-8 conformance of structure strings and not only
2771           if the debugging system is enabled; reasoning: the behaviour of
2772           the actual code shouldn't really change depending on whether the
2773           debugging system is enabled or not (#508291).
2774
2775 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
2776
2777         * Makefile.am:
2778           Remove old coverage target in favour of "make lcov".
2779
2780 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2781
2782         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2783         (gst_base_src_loop):
2784         The start segment for reverse playback goes from start to last_stop.
2785
2786 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2787
2788         Patch by: Peter Kjellerstedt <pkj axis com>
2789
2790         * gst/gstclock.h:
2791         Cast the results from the timeval/spec_to_time macros to what the
2792         docs say it casts to, a GstClockTime. fixes #508175.
2793
2794 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2795
2796         * gst/gstbuffer.c:
2797         Update some comments.
2798
2799         * tools/gst-inspect.c: (print_element_properties_info):
2800         Improve printing of flags.
2801
2802 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
2803
2804         * libs/gst/base/gstbasetransform.c:
2805           (gst_base_transform_transform_size):
2806           Print element name with g_warning() if there's a problem
2807           with the unit size.
2808
2809 2008-01-07  David Schleef  <ds@schleef.org>
2810
2811         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2812
2813         * libs/gst/controller/gstcontroller.h:
2814         * libs/gst/controller/gstcontrolsource.h:
2815         * libs/gst/controller/gstinterpolationcontrolsource.h:
2816         * libs/gst/controller/gstlfocontrolsource.h:
2817         * libs/gst/dataprotocol/dataprotocol.h:
2818           Fix empty prototypes.  Fixes bug #507957.
2819
2820 2008-01-07  David Schleef  <ds@schleef.org>
2821
2822         * docs/faq/dependencies.xml: Fix typo.
2823
2824 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2825
2826         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2827         (gst_base_src_loop):
2828         Don't update the last_stop position in do_seek, that's the position we
2829         did a seek to.
2830         Read backwards when we have a negative rate.
2831
2832         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2833         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2834         (filesrc_suite):
2835         Add check for reverse reading.
2836
2837 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
2838
2839         Patch by: Alexis Ballier <aballier at gentoo org>
2840
2841         * tests/check/gst/gstabi.c:
2842         * tests/check/gst/struct_ppc64.h:
2843         * tests/check/libs/libsabi.c:
2844         * tests/check/libs/struct_ppc64.h:
2845           Decide which header to include based on the userland ABI target
2846           and not the kernel/cpu. Fix up structure sizes of ppc64 header
2847           for 64-bit userland (#503590).  Might need something similar for
2848           x86 too.
2849
2850 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2851
2852         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2853           Log the reason why fopen fails in addition to the fact that it failed.
2854           
2855 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
2856
2857         * gst/parse/parse.l:
2858         Use "%option never-interactive" to prevent useless calls to isatty()
2859         on every input when parsing. Also use "%option noinput" to not define
2860         the static input/yyinput functions which we don't use anyway. This
2861         removes a compiler warning with gcc 4.3 and saves some bytes in the
2862         library.
2863         
2864         * gst/parse/lex._gst_parse_yy.pre.c:
2865         Regenerated for the above change.
2866
2867 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2868
2869         * gst/gstpad.c: (fixate_value):
2870         Don't crash when trying to fixate and empty list.
2871         Fixes #506643.
2872
2873 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
2874
2875         * docs/faq/gst-uninstalled:
2876         Clarify the comments to make the usage of this script and what it
2877         does easier to understand.
2878
2879 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2880
2881         * tools/gst-plot-timeline.py:
2882         Add more options to gst-plot-timeline
2883
2884 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2885
2886         * docs/design/part-synchronisation.txt:
2887         Some more info on how the stream_time in GstBaseSink is done.
2888
2889 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
2890
2891         * tests/check/generic/sinks.c: (gst_sinks_suite):
2892           Put back the tcase_set_timeout(), apparently it's needed after
2893           all; fix it up in a way that makes things work with valgrind too.
2894
2895 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2896
2897         * gst/gstdebugutils.c:
2898           Add warning when failed to open file for writing.
2899
2900 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2901
2902         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
2903
2904         * gst/gstvalue.c: (gst_value_is_fixed):
2905           Optimisation: bail out of the loop as early as possible (#500143).
2906
2907 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2908
2909         * gst/gstcaps.c: (gst_caps_to_string):
2910         * gst/gstinfo.c: (gst_debug_construct_term_color):
2911         * gst/gstparse.c: (gst_parse_launchv):
2912         * gst/gstutils.c: (gst_util_dump_mem):
2913         * gst/gstvalue.c: (gst_value_serialize_any_list),
2914           (gst_value_transform_any_list_string):
2915           Bunch of gratuitous nano-optimisations.
2916
2917 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2918
2919         * tests/check/generic/sinks.c: (async_done_func),
2920           (async_done_eos_func):
2921           Fix leak in unit test (bus sync handler must unref the message
2922           if it returns GST_BUS_DROP). Don't fiddle with the default test
2923           timeout, this is smaller than the current preconfigured value
2924           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
2925           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
2926
2927 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2928
2929         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2930
2931         * configure.ac:
2932         Check for stdio_ext.h for the filesink changes.
2933
2934         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
2935         (gst_file_sink_class_init), (gst_file_sink_init),
2936         (gst_file_sink_dispose), (gst_file_sink_set_property),
2937         (gst_file_sink_get_property), (gst_file_sink_open_file),
2938         (gst_file_sink_close_file):
2939         * plugins/elements/gstfilesink.h:
2940         Add two properties to control the buffering mode and size.
2941         API: GstFileSink::buffer-mode
2942         API: GstFileSink::buffer-size
2943         Fixes #500150.
2944
2945 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2946
2947         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
2948         Add some more docs to explain why a FIXME was wrongly added. 
2949
2950 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
2951
2952         * gst/gstobject.c:
2953           Fix typo in the gst_object_{ref,unref} documentation.
2954
2955 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
2956
2957         * tests/check/libs/controller.c:
2958         * tests/check/libs/typefindhelper.c:
2959         * tests/check/pipelines/parse-launch.c:
2960           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
2961           going to be deprecated (see #498924).
2962
2963 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
2964
2965         * gst/gsttypefind.c: (gst_type_find_register):
2966           Make gst_type_find_register work for static typefind functions,
2967           ie. allow passing plugin == NULL (prerequisite for #498924).
2968
2969         * gst/gstelementfactory.c: (gst_element_register):
2970           Small docs addition.
2971
2972 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2973
2974         * gst/gstpad.c: (gst_pad_dispose):
2975         Really unlink the peer pad instead of setting the peer pointer to NULL
2976         when we dispose the pad.
2977         This correctly calls the unlink functions and makes sure that the peer
2978         does not have a handle to invalid memory. See #504671.
2979
2980         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2981         Add testsuite for above case.
2982
2983 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
2984
2985         Patch by: Peter Kjellerstedt <pkj axis com>
2986
2987         * libs/gst/check/gstcheck.h:
2988           Fix detection of the check version we're compiling against (would
2989           otherwise break if check goes v0.10.0); correctly report the
2990           name of the failed test again in case of failure, instead of
2991           just 'tf' (fixes #504499).
2992
2993 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2994
2995         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2996         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2997         (gst_base_src_loop), (gst_base_src_set_flushing),
2998         (gst_base_src_change_state):
2999         Allow sending EOS to the source to make it send out an EOS event from
3000         the streaming thread.
3001         Update docs and deprecate the old NULL/READY shutdown method.
3002
3003         * tests/check/libs/basesrc.c: (GST_START_TEST),
3004         (gst_basesrc_suite):
3005         Add unit test for controlled shutdown.
3006
3007 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3008
3009         * docs/design/part-synchronisation.txt:
3010         Small updates.
3011
3012         * gst/gstsegment.c: (gst_segment_set_seek),
3013         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3014         (gst_segment_to_running_time):
3015         The seek format can be different from the segment format when the start
3016         and stop values are not to be updated, when we only do a rate change for
3017         example.
3018
3019         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3020         (gst_segment_suite):
3021         Add a testcase for the rate-only seeks, checking that the format is
3022         correctly ignored when start and stop are not updated.
3023
3024 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3025
3026         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3027
3028         * win32/vs8/grammar.vcproj:
3029         * win32/vs8/libgstcontroller.vcproj:
3030         * win32/vs8/libgstreamer.vcproj:
3031         Fix compilation with VS8 and include some missing files.
3032
3033 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3034
3035         * gst/gsttaglist.c:
3036           Small docs addition: mention that the strings returned by
3037           gst_tag_list_get_string*() are in UTF-8 encoding.
3038
3039 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3040
3041         * Makefile.am:
3042           The check-exports stuff moved to common/win32.mak, so include that.
3043
3044 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3045
3046         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3047         (gst_base_src_perform_seek), (gst_base_src_get_range),
3048         (gst_base_src_set_playing), (gst_base_src_change_state):
3049         Make _wait_playing() not check any variables so that we can call this
3050         function from subclasses. Move the checks elsewhere similar to
3051         _wait_preroll() in basesink.
3052         Add some debugging.
3053         Only signal the LIVE cond when we are going back to PLAYING.
3054
3055 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3056
3057         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3058           Use g_remove() and g_rename(). Check result of g_rename(), and
3059           don't leak the open file descriptor if we error out when writing.
3060
3061         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3062           Must check the return value of close() after writing out the new
3063           registry file.  Sometimes write problems such as out-of-diskspace
3064           are only reported when the file is closed and not already during
3065           the write.  This may have caused partial/broken registry files in
3066           some rare circumstances. Should fix #503675.
3067
3068 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3069
3070         * docs/gst/.cvsignore:
3071         * docs/libs/.cvsignore:
3072         * docs/plugins/.cvsignore:
3073         Ignore files generated by new common/* modifications
3074
3075 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3076
3077         * win32/common/libgstbase.def:
3078           Yes, you can also have a <TAB> if you want.
3079
3080 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3081
3082         * win32/common/libgstbase.def:
3083           Add new basetransform API to win export file.
3084
3085 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3086
3087         * tests/check/gst/gstbin.c:
3088           Adjust the test to the refcount change two days ago.
3089
3090 2007-12-14  David Schleef  <ds@schleef.org>
3091
3092         * docs/faq/getting.xml: Fix typo.
3093
3094 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3095
3096         * docs/libs/gstreamer-libs-sections.txt:
3097         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3098           (gst_base_transform_prepare_output_buffer),
3099           (gst_base_transform_set_gap_aware):
3100         * libs/gst/base/gstbasetransform.h:
3101           API: Add gst_base_transform_set_gap_aware() to control whether
3102           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3103           get buffers with this flag at all. Fixes #503231.
3104
3105 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3106
3107         * libs/gst/base/gstbasesink.c:
3108         * libs/gst/base/gstbasesrc.c:
3109         * libs/gst/base/gstbasetransform.c:
3110           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3111           thread. Correct log message in gstbasesrc.c.
3112
3113 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3114
3115         * gst/gstutils.c: (element_find_unconnected_pad):
3116           Fix possible compiler warning (#503417).
3117
3118 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3119
3120         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3121           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3122
3123 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3124
3125         * tools/gst-inspect.c: (print_element_properties_info):
3126           Add support for GstFraction properties.
3127
3128 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3129
3130         * Makefile.am:
3131           Add check-exports target and run it as part of 'make check'
3132           (see #499140 and #493983).
3133
3134         * gst/gst_private.h:
3135         * gst/gstelementfactory.h:
3136         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3137         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3138           (_priv_gst_in_valgrind):
3139         * gst/gstinfo.h: (GstLogFunction):
3140         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3141           (gst_type_find_register):
3142         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3143           (gst_type_find_factory_get_type):
3144         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3145           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3146           (gst_controller_new_valist), (gst_controller_new_list),
3147           (_gst_controller_dispose), (_gst_controller_class_init):
3148         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3149         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3150           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3151           (gst_object_get_controller), (gst_object_set_controller),
3152           (gst_object_suggest_next_sync), (gst_object_sync_values),
3153           (gst_object_set_control_source), (gst_object_get_control_source),
3154           (gst_object_get_value_arrays), (gst_object_get_value_array),
3155           (gst_object_get_control_rate), (gst_object_set_control_rate):
3156         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3157         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3158           Make some functions that should be static static; rename some
3159           private symbols so that they don't get exported; add some FIXME
3160           comments so we can move accidentally exported functions into
3161           our private section in 0.11.
3162
3163         * win32/common/libgstreamer.def:
3164           Add gst_utils_get_timestamp().
3165
3166 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3167
3168         * gst/gstvalue.c:
3169         * gst/gstvalue.h:
3170           Add more missing "Since:" tags to docs.
3171
3172 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3173
3174         * gst/gstutils.c:
3175           Add mising "Since:" to docs.
3176
3177 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3178
3179         * gst/gstplugin.c:
3180           Include "glib-compat-private.h" to fix the build on system with
3181           glib < 2.10. Fixes #503131.
3182
3183 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3184
3185         * gst/gstutils.c:
3186         * gst/gstutils.h:
3187           Actually its not PURE as it gets the time from elsewhere.
3188
3189 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3190
3191         * docs/gst/gstreamer-sections.txt:
3192         * gst/gstclock.h:
3193         * gst/gstdebugutils.c:
3194         * gst/gstinfo.c:
3195         * gst/gstutils.c:
3196         * gst/gstutils.h:
3197         * libs/gst/base/gstbasesink.c:
3198         * tools/gst-launch.c:
3199           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3200           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3201           Thanks Tim for spotting.
3202           API: gst_util_get_timestamp
3203
3204 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3205
3206         * configure.ac:
3207           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3208
3209 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3210
3211         * gst/gststructure.c: (gst_structure_validate_name),
3212           (gst_structure_new_valist), (gst_structure_parse_value),
3213           (gst_structure_from_string):
3214           Don't crash in _from_string() if the structure name is not valid
3215           (fixes #501560).  Allow structure names to start with a number
3216           again (this apparently broke the ubuntu codec installer).
3217
3218         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3219           (GST_START_TEST):
3220           Add unit test for the crash; update unit tests for new behaviour.
3221
3222 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3223
3224         * gst/gstutils.c:
3225         Clarify gst_element_get_compatible_pad() documentation.
3226         Fixes #500919.
3227
3228 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3229
3230         * tests/check/Makefile.am:
3231           Don't forget to dist {gst,libs}/struct_hppa.h.
3232
3233 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3234
3235         * libs/gst/base/gstbasesink.c:
3236           Use new API to get elapsed time.
3237
3238 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3239
3240         * gst/gstdebugutils.c:
3241         * gst/gstinfo.c:
3242           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3243
3244         * tools/gst-launch.c:
3245           Use new API to get elapsed time.
3246
3247 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3248
3249         * docs/gst/gstreamer-sections.txt:
3250         * gst/gstclock.h:
3251         * gst/gstdebugutils.c:
3252         * gst/gstinfo.c:
3253           Rename new API + ChangeLog surgery to remove old name from last entry..
3254
3255 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3256
3257         * docs/gst/gstreamer-sections.txt:
3258         * gst/gstclock.h:
3259         * gst/gstdebugutils.c:
3260         * gst/gstinfo.c:
3261           Now hide the different clock stuff behind a macro.
3262
3263 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3264
3265         * configure.ac:
3266         * gst/gstdebugutils.c:
3267         * gst/gstinfo.c:
3268           Apply the posix-timer check from #361155. Conditionally use the posix
3269           timer for logging. This gives better timestamp precission, less
3270           overhead and no ntp jitter.
3271
3272 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3273
3274         * gst/gstminiobject.c: (gst_mini_object_get_type),
3275         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3276         (gst_mini_object_finalize), (gst_mini_object_copy),
3277         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3278         (gst_mini_object_replace), (param_mini_object_validate),
3279         (gst_param_spec_mini_object_get_type):
3280         Some cleanup and checking against invalid function parameters.
3281
3282 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3283
3284         * docs/gst/gstreamer-sections.txt:
3285         * gst/gstclock.h:
3286         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3287         (gst_systemclock_suite):
3288         Start merging in the easy bits of #361155, the monotonic clock patch.
3289         This one adds a few handy macros with docs and a testsuite.
3290
3291 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3292
3293         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3294         Be a bit smarter when seeking, like, don't try to do a seek when it's
3295         not needed. This avoids errors when the file is not seekable.
3296         Fixes #499771.
3297
3298 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3299
3300         * docs/gst/gstreamer-docs.sgml:
3301         * docs/gst/gstreamer-sections.txt:
3302         * docs/gst/gstreamer.types.in:
3303         * gst/Makefile.am:
3304         * gst/gst.h:
3305         * gst/gstpreset.c:
3306         * gst/gstpreset.h:
3307         * plugins/elements/gstqueue.c:
3308           Due to popular request remove preset interface again. :-(.
3309
3310 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3311
3312         * tools/gst-inspect.c:
3313           Print 'default value' for enums and flags too.
3314
3315 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3316
3317         * docs/random/ensonic/profiling.txt:
3318           More ideas.
3319
3320         * gst/gstbin.c:
3321           Fix typo and give better log output.
3322
3323         * gst/gstdebugutils.c:
3324         * gst/gstdebugutils.h:
3325           More ideas, make graphs a bit smaller and fix param name in macro.
3326
3327 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3328
3329         * gst/gstpreset.c:
3330           Try harder to use the return value from fgets().
3331
3332 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3333
3334         * gst/gstpreset.c:
3335           For theses two fgets we handle the error below.
3336
3337 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3338
3339         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3340         Only send upstream events upstream. Fixes #498746.
3341
3342 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3343
3344         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3345
3346         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3347         (gst_identity_init), (gst_identity_transform_ip),
3348         (gst_identity_set_property), (gst_identity_get_property):
3349         * plugins/elements/gstidentity.h:
3350         Add property to disable handoff signal emission. Fixes #498694.
3351         API: GstIdentity::signal-handoffs
3352
3353 2007-11-21  Julien Moutte  <julien@fluendo.com>
3354
3355         * docs/faq/gst-uninstalled: Yet another missing library for the
3356         uninstalled script (fft)
3357
3358 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3359
3360         * docs/faq/developing.xml:
3361         Add a question about how to submit new translations.
3362
3363         * docs/random/release:
3364         Update the contact email address for the Translation Project
3365
3366         * plugins/elements/gstfdsrc.c:
3367         The parent_class for fdsrc is pushsrc, not GstElement.
3368
3369 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3370
3371         * gst/gstpreset.c:
3372           Plug a leak and fix saving.
3373
3374 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3375
3376         * docs/gst/gstreamer-sections.txt:
3377         Add new gst_preset__get_property_names() function to the docs
3378         to fix the build.
3379
3380 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3381
3382         * gst/gstpreset.c:
3383         * gst/gstpreset.h:
3384           Change _get_preset_names API to return a strv with copies. Add
3385           _get_property_names to allow implementations to filter and provide
3386           good default implementation.
3387
3388 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3389
3390         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3391         script (sdp).
3392
3393 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3394
3395         * gst/gstpreset.c:
3396           More cleanups, docs, and TODOs from comments that now slowly come in.
3397
3398 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3399
3400         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3401         search path.
3402
3403 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3404
3405         * gst/gstpreset.c:
3406           Fix bogus warning and make the property type specific code more
3407           similar.
3408
3409 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3410
3411         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3412         it build on OS X.
3413
3414 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3415
3416         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3417         (gst_bin_add_func), (gst_bin_remove_func),
3418         (gst_bin_change_state_func), (gst_bin_continue_func):
3419         Change email, cleanups add some more debug and comments.
3420         Also set bus and clock on new elements when the pipeline was in error.
3421
3422 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3423
3424         * gst/gstbin.c:
3425         * gst/gstdebugutils.c:
3426           Fix build with --disable-gst-debug. Fixes #497859.
3427           Spotted by Sameer Naik.
3428
3429 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3430
3431         * gst/gstevent.c:
3432           Little documentation improvment.
3433
3434         * gst/gstpreset.c:
3435           More TODO cleanups. Remove c++ comments.
3436
3437         * libs/gst/controller/gstcontroller.c:
3438           Add TODO and use quark from static string.
3439
3440         * tests/check/gst/gstmessage.c:
3441         * tests/check/gst/gststructure.c:
3442           Use quark from static string.
3443
3444 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3445
3446         * gst/gstpreset.c:
3447           Add some comments and TODOs.
3448
3449         * gst/gstpreset.h:
3450           Add padding for future changes.
3451
3452         * plugins/elements/gstqueue.c:
3453           Implement the iface.    
3454
3455 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3456
3457         * docs/gst/gstreamer-docs.sgml:
3458         * docs/gst/gstreamer-sections.txt:
3459         * docs/gst/gstreamer.types.in:
3460         * gst/Makefile.am:
3461         * gst/gst.h:
3462         * gst/gstpreset.c:
3463         * gst/gstpreset.h:
3464           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3465
3466 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3467
3468         * configure.ac:
3469
3470         Back to CVS
3471
3472 === release 0.10.15 ===
3473
3474 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3475
3476         * configure.ac:
3477           releasing 0.10.15, "October"
3478
3479 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3480
3481         * win32/vs6/libgstreamer.dsp:
3482         Convert line endings back to DOS.
3483
3484 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3485
3486         * docs/design/draft-tagreading.txt:
3487         * docs/random/ensonic/profiling.txt:
3488         Update fast tagreading draft and performance profiling ideas.
3489
3490 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3491
3492         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3493         Don't hold the object lock when unreffing a buffer because it could
3494         cause a deadlock when the finalize function wants to grab the object
3495         lock too. Fixes #495133.
3496
3497 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3498
3499         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3500         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3501         Also accumulate time correctly when doing reverse playback. Fixes
3502         #488201,
3503         When converting to running and stream time, use default values for
3504         start/stop/time/accum when comparing different formats. Fixes #494245.
3505
3506         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3507         Do running/stream time in TIME format.
3508
3509         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3510         (gst_segment_suite):
3511         2 new unit tests for segment accumulation.
3512
3513 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3514
3515         * gst/gst.c: (init_pre):
3516         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3517           (_gst_debug_bin_to_dot_file):
3518           Move getenv() back into gst_init, so everyone can live happily
3519           ever after. Make sure the symbol isn't exported though.
3520
3521 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3522
3523         Patch by: Sebastien Moutte  <sebastien moutte net>
3524
3525         * win32/common/gstenumtypes.c:
3526         * win32/common/gstenumtypes.h:
3527           Update enum types.
3528
3529         * win32/vs6/libgstreamer.dsp:
3530           Update vs6 project files (#494343).
3531
3532 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3533
3534         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3535         (gst_base_src_perform_seek), (gst_base_src_default_event),
3536         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3537         (gst_base_src_activate_pull):
3538         Unify flushing code, remove some old unlock code that is no longer used.
3539         Take the streaming lock when seeking to avoid races. Fixes #492729.
3540         Added some more comments.
3541
3542 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3543
3544         * gst/gst.c: (_gst_disable_segtrap):
3545           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3546           we can use gst_segtrap_is_enabled() there now that we have that API.
3547           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3548           to do the getenv here (and export the variable).
3549
3550         * gst/gstdebugutils.c: (debug_dump_element),
3551           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3552           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3553
3554         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3555           (gst_debug_log_default):
3556           Rename _gst_info_start_time to priv_gst_info_start_time so it
3557           doesn't get exported (was never in any header).
3558
3559         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3560           (gst_plugin_loading_mutex):
3561           Make static mutex gst_plugin_loading_mutex really static (was never
3562           in any header), and use gst_segtrap_is_enabled() instead of
3563           _gst_disable_segtrap.
3564
3565         * gst/gsttrace.c: (_gst_trace_default):
3566           Make local _gst_trace_default static (was never in any header).
3567
3568 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3569
3570         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3571
3572         * win32/common/libgstbase.def:
3573         * win32/common/libgstcontroller.def:
3574         * win32/common/libgstdataprotocol.def:
3575         * win32/common/libgstnet.def:
3576         * win32/common/libgstreamer.def:
3577           Add more missing symbols, remove some duplicates, and sort
3578           as the 'sort' command sorts it (partially fixes #493983).
3579
3580 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3581
3582         * gst/gstelement.c: (gst_element_set_state_func):
3583         Only change the state cookie if a different state was set on the
3584         element. See #492729.
3585
3586 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3587
3588         * gst/gstvalue.c:
3589           Remove unused and uninitialised type variables that were still
3590           exported for some reason (they were never in any header files
3591           though).
3592
3593 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3594
3595         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3596         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3597         (gst_base_sink_event), (gst_base_sink_get_position_last),
3598         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3599         (gst_base_sink_change_state):
3600         Don't try to report a 0 position when we don't know, return -1 and FALSE
3601         instead. This mostly happens when we are prerolling.
3602         Make sure we can report the right position before we post the ASYNC_DONE
3603         message so that a message handler can query position without races.
3604
3605         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3606         (async_done_handoff), (async_done_func), (send_buffer),
3607         (async_done_eos_func), (gst_sinks_suite):
3608         Add two tests for the above.
3609
3610 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3611
3612         * MAINTAINERS:
3613         Update with new email address.
3614
3615         * docs/design/part-TODO.txt:
3616         Add some more info about future pad-block and negotiation changes.
3617
3618         * docs/design/part-buffering.txt:
3619         Add some ideas about buffering reporting.
3620
3621 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
3622
3623         * tests/check/gst/gstobject.c:
3624         Disable silly racy test that always fails on this combination of CPU
3625         and kernel.
3626
3627 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3628
3629         Patch by: Murray Cumming  <murrayc@murrayc.com>
3630
3631         * gst/gstobject.c:
3632           Corrected the registration of the parent-set and parent-unset
3633           signals: The parameter is a GstObject, not a GObject (#493134).
3634
3635 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3636
3637         * gst/gst_private.h:
3638         * gst/gstbuffer.h:
3639         * gst/gstevent.h:
3640         * gst/gstformat.h:
3641         * gst/gstmessage.h:
3642         * gst/gstplugin.h:
3643         * gst/gstquery.h:
3644         * gst/gsttaglist.h:
3645         * gst/gstvalue.h:
3646           Move declaration of private _gst_foo_initialize() functions into
3647           our private header file where they should have been all along.
3648
3649 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3650
3651         * docs/plugins/gstreamer-plugins-sections.txt:
3652         * gst/gstdebugutils.h:
3653         * gst/gstxml.h:
3654         * plugins/elements/gstqueue.c:
3655           gtk-doc fixes; trailing-comma-in-enum fix.
3656
3657 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3658
3659         * gst/gst.c: (gst_deinit):
3660           Clean up on deinit (not the external ones though, doesn't seem to be
3661           needed for some reason).
3662
3663 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3664
3665         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3666           Remove __declspec(dllimport) for MSVC that was copied over into core
3667           from a plugin, obviously without ever having been tested (note the
3668           single underscore in _declspec in the initial commit), and that doesn't
3669           really make sense.  See #492077.
3670
3671 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3672
3673         * gst/gst.c: (init_post):
3674         * gst/gstevent.c: (_gst_event_initialize):
3675         * gst/gstquery.c: (_gst_query_initialize):
3676         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3677           g_type_class_ref() other types as well, see #349410 and #64764.
3678
3679         * gst/gstbuffer.c: (_gst_buffer_initialize):
3680         * gst/gstmessage.c: (_gst_message_initialize):
3681           Simplify existing g_type_class_ref().
3682
3683 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3684
3685         * gst/gstformat.c: (_gst_format_initialize):
3686           g_type_class_ref() our GstFormat type to make sure we avoid the
3687           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3688           bug #64764. Should fix intermittent tee unit test failures (#474823).
3689
3690 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3691
3692         * tests/check/elements/tee.c: (test_num_buffers):
3693           Simplify, simplify, simplify - or not.  Rewrite unit test
3694           not to use gst_parse_launch(); allow N sub-streams. Increasing
3695           the number of sub-streams seems to reproduce #474823 more easily.
3696
3697 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3698
3699         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3700
3701         * gst/gsttrace.c:
3702         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3703         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3704         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3705           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3706           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3707           so use _pipe() directly (#492077).
3708
3709         * win32/common/dirent.c: (_treaddir):
3710           Add a couple of casts to make it build without warnings with MSVC.
3711
3712         * win32/common/libgstreamer.def:
3713           Add some more symbols that need to be exported.
3714
3715 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3716
3717         * tests/examples/metadata/read-metadata.c: (message_loop):
3718           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3719           arriving in a second or third tag message are added to
3720           the tag list as well.
3721
3722 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
3723
3724         * libs/gst/base/gstbasesrc.c:
3725           Its "Since:" and not "@Since:". And remove an superflous cast.
3726
3727 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
3728
3729         * docs/libs/gstreamer-libs-sections.txt:
3730         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3731         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3732         (gst_base_sink_get_property), (gst_base_sink_render_object),
3733         (gst_base_sink_preroll_object),
3734         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3735         (gst_base_sink_change_state):
3736         * libs/gst/base/gstbasesink.h:
3737         Add a new last-buffer property that contains the last buffer used in
3738         basesink for preroll or rendering. useful for making snapshots.
3739         API: gst_base_sink_get_last_buffer()
3740         API: GstBaseSink::last-buffer
3741
3742 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3743
3744         * docs/gst/running.xml:
3745         * gst/gst.c:
3746         * gst/gstdebugutils.c:
3747         * gst/gstdebugutils.h:
3748         * tools/gst-launch.c:
3749           Improve bin graph dumping, by using the envvar to specify a path.
3750           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3751
3752 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
3753
3754         * plugins/elements/gsttypefindelement.c:
3755           (gst_type_find_element_handle_event),
3756           (gst_type_find_element_activate):
3757           Post special error message if we can't determine the type of a stream
3758           because it's empty.
3759
3760 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3761
3762         * docs/gst/running.xml:
3763         * gst/gstdebugutils.c:
3764           Document new env-var. Add one log-line after dumpng a graph.
3765
3766 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
3767
3768         * configure.ac:
3769           Ugly hack to put the (recently removed and non-portable, apparently)
3770           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3771           GNU ld, because without that 'make check' fails miserably on my debian
3772           stable box.  Someone with more knowledge of linker intricacies and
3773           portability issues than me fix this properly please.
3774
3775 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
3776
3777         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3778         Reset last seen position after flushing so that we don't report the old
3779         position anymore.
3780
3781 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3782
3783         * gst/gstelementfactory.c: (gst_element_register):
3784         * gst/gsturi.h:
3785         Patch from Alessandro Decina adding get_type_full and
3786         get_protocols_full private vfuncs to the URIHandler interface
3787         to allow bindings to support creating URI handlers. 
3788         Partially fixes: #339279
3789         API: GstURIHandlerInterface::get_type_full
3790         API: GstURIHandlerInterface::get_protocols_full
3791
3792 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3793
3794         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3795         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3796         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3797         Make it so that pads are considered linked until a buffer is pushed
3798         and discovered otherwise. This avoids problems with decodebin2 hanging
3799         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3800         case.
3801
3802         Make sure we lock the multiqueue when updating the max-size properties.
3803         
3804         Fix a crash on Solaris in a debug statement in get_request_pad that
3805         passes a NULL string to GST_DEBUG. 
3806
3807         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3808         (run_output_order_test):
3809         Fix the test to allow the first buffer on not-linked pads to come out
3810         of sequence while multiqueue discovers that they are not-linked.
3811
3812 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3813
3814         * configure.ac:
3815         * libs/gst/check/Makefile.am:
3816         Use a custom export symbol regex for libgstcheck, as it needs
3817         to export symbols that don't match the standard GStreamer gst_*
3818         pattern, and  --export-dynamic is not portable (only works on 
3819         GNU ld)
3820
3821         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3822         (gst_check_setup_sink_pad):
3823         Make sure to pass a message parameter to the fail_* macros.
3824
3825         * tests/check/gst/gstinfo.c: (GST_START_TEST):
3826         Fix some compiler warnings.
3827
3828 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
3829
3830         * tests/check/gst/gststructure.c: (test_to_string):
3831           Disable test that checks that white spaces are not allowed
3832           in structure names or field names, since we need to
3833           support that for now for backwards compatibility reasons.
3834
3835 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3836
3837         * docs/gst/gstreamer-sections.txt:
3838         * gst/gsttaglist.c:
3839         * gst/gsttaglist.h:
3840           API: add GST_TAG_ARTIST_SORTNAME
3841           API: add GST_TAG_ALBUM_SORTNAME
3842           API: add GST_TAG_TITLE_SORTNAME
3843           Add tag variants for sorting (#414539).
3844
3845 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3846
3847         * gst/gststructure.c:
3848           Also allow white space for names so we don't break
3849           backwards compatibility.
3850
3851 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
3852
3853         * docs/design/part-TODO.txt:
3854         * docs/design/part-segments.txt:
3855         * docs/design/part-streams.txt:
3856         Small updates.
3857
3858 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3859
3860         * docs/gst/gstreamer-sections.txt:
3861          Fixed documentation from my previous commit (added new API add
3862          gst_value_set_structure(), add gst_value_get_structure() and
3863          GST_VALUE_HOLDS_STRUCTURE).
3864
3865 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
3866
3867         * gst/gstdebugutils.c:
3868           Reflow code to fix uninitialized variable warning.
3869
3870 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3871
3872         * gst/gstcaps.c: (gst_caps_to_string),
3873         (gst_caps_from_string_inplace):
3874         * gst/gststructure.c: (gst_structure_get_abbrs),
3875         (gst_structure_to_string), (gst_structure_from_string):
3876         * gst/gstvalue.c: (gst_value_set_structure),
3877         (gst_value_get_structure), (gst_value_serialize_structure),
3878         (gst_value_deserialize_structure), (_gst_value_initialize):
3879         * gst/gstvalue.h:
3880         * tests/check/gst/gststructure.c: (GST_START_TEST),
3881         (gst_structure_suite):
3882         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3883          Added GstStructure to gst_value_table and its related functions.
3884          Changed gst_structure_to_string to print ';' in the end.
3885          Changed gst_caps_to_string to not print ';' beteween its
3886          fields (structures) anymore and remove the lastes ';' from latest
3887          structure. Now it is possible to have nested structures.
3888          In addition, backward compatibilty is assured by accepting '\0' as
3889          end delimiter. Fixes: #487969.
3890          API: add gst_value_set_structure()
3891          API: add gst_value_get_structure()
3892          API: add GST_VALUE_HOLDS_STRUCTURE
3893
3894 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
3895
3896         * gst/gstbus.c:
3897           When no GSource callback has been set up, tell developer
3898           to use a function that actually exists.
3899
3900 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
3901
3902         * docs/gst/gstreamer-sections.txt:
3903         * gst/Makefile.am:
3904         * gst/gst.c:
3905         * gst/gst.h:
3906         * gst/gstdebugutils.c:
3907         * gst/gstdebugutils.h:
3908         * gst/gstinfo.c:
3909         * gst/gstinfo.h:
3910         * tools/gst-launch.c:
3911           Allow dumping pipelines as dot graphs. Fixes #456573.
3912
3913 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3914
3915         * gst/gststructure.c:
3916           Allow '+' as well, it can be part of media or mime types
3917           such as image/svg+xml.
3918
3919 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3920
3921         * docs/gst/gstreamer-sections.txt:
3922         * gst/gstbus.c:
3923         * gst/gstbus.h:
3924           API: add gst_bus_pop_filtered
3925           API: add gst_bus_timed_pop_filtered
3926           Two new functions for waiting for specific message types on the
3927           bus for a specified amount of time without iterating any main
3928           loops or main contexts.
3929
3930         * tests/check/gst/gstbus.c:
3931           Some tests for the new functions.
3932
3933 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3934
3935         * docs/libs/gstreamer-libs-sections.txt:
3936           Make gtk-doc ignore stuff it should ignore.
3937
3938 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3939
3940         * libs/gst/check/gstcheck.c:
3941         * libs/gst/check/gstcheck.h:
3942           Allow runtime selection of unit tests to run via the GST_CHECKS
3943           environment variable (test case function names, comma-separated).
3944
3945 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
3946
3947         * gst/gststructure.c:
3948         * tests/check/gst/gststructure.c:
3949           Revert serialisation change and constrain structure-names after
3950           consensus on irc. Update api documentation to reflect the change.
3951
3952 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
3953
3954         * gst/gststructure.c:
3955           Improve serialization and fix tests.
3956
3957         * tests/check/gst/gststructure.c:
3958           Add another test that covers why I actually did the previous structure
3959           change.
3960
3961 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
3962
3963         * tools/gst-inspect.c: (print_element_info):
3964         Don't crash when inspecting an element.
3965
3966 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3967
3968         * tests/check/gst/gststructure.c:
3969           Add unit test for escaping of structure name when serialising
3970           and deserialising to/from strings.
3971
3972 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
3973
3974         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3975         (gst_single_queue_new):
3976         * plugins/elements/gstqueue.c: (gst_queue_init),
3977         (gst_queue_push_one):
3978         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
3979         upstream is tricked into thinking it can suggest a format downstream
3980         while downstream does not support that format. The real problem is that
3981         core calls acceptcaps when pushing a buffer with new caps, for which we
3982         do a little workaround by setting the caps on the srcpad ourselves
3983         before pushing the buffer (until this is figured out). Fixes #486758.
3984
3985 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
3986
3987         * gst/gststructure.c:
3988         * gst/gstvalue.c:
3989           Add some more comments and debug output. Quote structure name to fix
3990           deserialisation of some strings.
3991
3992 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
3993
3994         * gst/gstbuffer.h:
3995           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
3996           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
3997
3998 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
3999
4000         * tools/gst-inspect.c:
4001           Save approx. 400 1 byte allocs when printing. Use API to acces element
4002           details.
4003
4004         * tools/gst-run.c:
4005           Avoid a strdup.
4006
4007         * tools/gst-xmlinspect.c:
4008           Use API to acces element details.
4009
4010 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4011
4012         * gst/gstinfo.c:
4013           Fix some spelling errors.
4014
4015 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4016
4017         * gst/gstbin.c: (bin_handle_async_done):
4018         Correctly set the next state if all of our async children commited their
4019         state. This makes sure we can actually cancel the state change in
4020         progress. Fixes a regression in Rhythmbox when seeking.
4021
4022 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4023
4024         * gst/gstbin.c:
4025           Don't shadow local variable.
4026
4027         * gst/gstinfo.c:
4028           Don't shadow global function name.
4029
4030 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4031
4032         * gst/gstelementfactory.c:
4033         * gst/gstpluginfeature.c:
4034         * gst/gstpluginfeature.h:
4035         * gst/gstregistrybinary.c:
4036         * gst/gstregistryxml.c:
4037         * gst/gsttypefind.c:
4038           Use already-interned string for the private GstPluginFeature
4039           plugin_name field.
4040
4041 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4042
4043         * docs/libs/gstreamer-libs-sections.txt:
4044           Add new API to docs; fixes the build.
4045
4046 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4047         
4048         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4049
4050         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4051         (gst_base_sink_event):
4052         * libs/gst/base/gstbasesink.h:
4053         Add function to wait for EOS, subclasses can use this to correctly wait
4054         for devices to drain before performing the EOS logic. Fixes #485343.
4055         API: gst_base_sink_wait_eos()
4056
4057 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4058
4059         * gst/gstplugin.h:
4060           Cast description string constants in GST_PLUGIN_DEFINE macros
4061           to a (gchar*) to make C++ code using these macros compile
4062           without warning with g++-4.2 (see #462737).  Even if slightly
4063           ugly, this seems preferable to putting the description strings
4064           into the GLib quark table or making the structure member a
4065           const gchar * and doing casts in core code that allocs and
4066           frees these strings, or requiring a cast in the C++ code.
4067
4068 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4069
4070         * gst/gstinfo.h:
4071           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4072           to print the entire class/function signature into the log
4073           file for C++ code.  This only affects C++ code, for C code
4074           everything remains the same.
4075
4076 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4077
4078         * gst/gstbin.c: (remove_from_queue):
4079         Work around a problem with pipelines containing (semi)loops until a
4080         proper, more complicated solution is ready. See #475455.
4081
4082 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4083
4084         * gst/gstplugin.c:
4085         * gst/gstplugin.h:
4086         * gst/gstregistrybinary.c:
4087         * gst/gstregistryxml.c:
4088           Put more strings into the GLib quark table. No need to keep
4089           a hundred-something copies of identical version strings,
4090           license strings, package name strings and package origin
4091           strings around. 
4092
4093 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4094
4095         * docs/manual/advanced-dataaccess.xml:
4096           Don't imply that it's okay to unconditionally change
4097           buffer data or buffer metadata in a pad probe callback,
4098           and a bunch of other comments. Fixes #430031.
4099
4100 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4101
4102         * win32/common/gstenumtypes.c:
4103         * win32/common/gstenumtypes.h:
4104         * win32/common/gstversion.h:
4105           Update generated files.
4106
4107 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4108
4109         * docs/manual/advanced-autoplugging.xml:
4110           Prefix section with broken code with a warning (see #342432).
4111
4112 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4113
4114         * docs/manual/appendix-integration.xml:
4115         * docs/manual/basics-init.xml:
4116           Call g_thread_init() before g_option_context_new() to
4117           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4118
4119 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4120
4121         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4122         (gst_base_sink_queue_object_unlocked),
4123         (gst_base_sink_queue_object), (gst_base_sink_event),
4124         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4125         When we received EOS and are waiting for when to post the EOS message,
4126         our state is prerolled and we should not return ASYNC.
4127         Reorganize some code paths to implement this behavior.
4128
4129         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4130         (gst_sinks_suite):
4131         Add unit test to verify above EOS fix.
4132
4133 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4134
4135         * plugins/elements/gsttypefindelement.c:
4136         (gst_type_find_element_have_type), (gst_type_find_element_init),
4137         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4138         Move detecting the input caps of the sinkpad to the setcaps function.
4139         This allows us to update the output caps when we receive new input caps
4140         instead of always using the first detected caps.
4141
4142 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4143
4144         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4145         (gst_base_sink_get_position):
4146         Don't try to preroll non-async elements after a flush.
4147         Subtract latency form clock times when reporting position.
4148
4149 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4150
4151         * gst/gstpad.c: (gst_pad_pause_task):
4152         * gst/gstutils.c:
4153         Small comment and documentation update.
4154
4155 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4156
4157         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4158         (gst_base_src_set_live), (gst_base_src_is_live),
4159         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4160         (gst_base_src_default_event), (gst_base_src_wait),
4161         (gst_base_src_do_sync), (gst_base_src_get_range),
4162         (gst_base_src_pad_get_range), (gst_base_src_loop),
4163         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4164         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4165         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4166         (gst_base_src_change_state):
4167         Rework the locking of basesrc in a similar fashion to basesink. We
4168         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4169         us to handle live sources and semi live ones much better.
4170         Simplify flushing.
4171         Fix unlocking when seeking, shutting down and pausing in live sources.
4172
4173 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4174
4175         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4176         Fix compilation again.
4177
4178 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4179
4180         * gst/gstelement.c:
4181           Use meaningful categories for the logs to clean the default one.
4182
4183 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4184
4185         * tests/check/pipelines/cleanup.c:
4186           Print message name and not just number.
4187
4188 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4189
4190         * docs/design/draft-tagreading.txt:
4191           Add some more thoughts.
4192
4193 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4194
4195         * tests/check/pipelines/simple-launch-lines.c:
4196           Print message name and not just number.
4197
4198 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4199
4200         * libs/gst/base/gsttypefindhelper.c:
4201           Speedup typefinding. This is work in progress (see #459862).
4202
4203 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4204
4205         * gst/gstplugin.c:
4206           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4207           Spotted by Josep Torra Valles <josep@fluendo.com>.
4208
4209 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4210
4211         * gst/gstclock.h:
4212           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4213           field has moved to GstObject.
4214
4215 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4216
4217         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4218         (gst_base_src_get_range), (gst_base_src_change_state):
4219         Call unlock for live sources so that they can't get stuck in _create and
4220         produce a buffer before they are set back to PLAYING.
4221
4222 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4223
4224         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4225         (gst_queue_locked_dequeue):
4226         Comment the segment-related code... in the PROPER function.
4227         See #482147 and my commit from yesterday.
4228
4229 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4230
4231         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4232         Also initialize the counter that calculates the first timestamp on a
4233         buffer correctly for non-live sources.
4234
4235 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4236
4237         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4238         Disable code that's breaking the current-time-level reporting.
4239         See #482147
4240
4241 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4242
4243         * docs/gst/gstreamer-sections.txt:
4244         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4245         as they shouldn't show up. Fixes the docs build.
4246
4247 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4248         
4249         * gst/gstinfo.h:
4250         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4251         Define M_PI which is used in files which are including gstinfo.h. 
4252         VS6 includes doesn't define it.
4253         * win32/common/libgstbase.def:
4254         * win32/common/libgstcontroller.def:
4255         * win32/common/libgstreamer.def:
4256         Add new exported functions and variables.
4257         * win32/vs6/libgstcontroller.dsp:
4258         * win32/vs6/libgstreamer.dsp:
4259         Update the list of files to build.
4260         
4261 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4262
4263         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4264
4265         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4266         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4267         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4268         Improve debugging. Fixes #480858.
4269
4270 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4271
4272         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4273
4274         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4275         First patch of code cleanups, use the macros and right arguments in the
4276         macros to signal and lock the queue. See #480858.
4277
4278 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4279
4280         * gst/gstbus.c: (poll_func):
4281         Improve debugging when dealing with _poll().
4282
4283 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4284
4285         * gst/gstregistryxml.c:
4286           Fix memory leak I introduced a few days ago.
4287
4288 2007-09-26  Michael Smith <msmith@fluendo.com>
4289
4290         * gst/gstbuffer.c: (gst_buffer_finalize):
4291           Make it once again possible to free GstBuffers in the default
4292           build.
4293           The poisoning scribbles on parts of the miniobject we need in
4294           order to free it.
4295           Fixes #480341
4296
4297 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4298
4299         * docs/gst/gstreamer-sections.txt:
4300         * gst/gsttaglist.c:
4301         * gst/gsttaglist.h:
4302         API: add GST_TAG_COMPOSER, fixes #459809.
4303
4304 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4305
4306         * gst/gstplugin.c:
4307         * gst/gstplugin.h:
4308         Add the 3-clause BSD license and the MIT/X11 license to the license
4309         list. Fixes #479784.
4310
4311 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4312
4313         * docs/faq/getting.xml:
4314           Add Q+A about different GStreamer versions (#364056).
4315
4316 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4317
4318         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4319         (gst_base_sink_event), (gst_base_sink_change_state):
4320         Return correct gboolean from query function.
4321
4322 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4323
4324         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4325         (gst_base_sink_event), (gst_base_sink_query),
4326         (gst_base_sink_change_state):
4327         Simplify latency query.
4328         When not synchronizing, we can report latency without querying the peer
4329         element.
4330
4331 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4332
4333         * gst/gstobject.h:
4334         * gst/gstvalue.c:
4335         Fix small typos in the docs.
4336
4337 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4338
4339         * docs/design/draft-latency.txt:
4340         * docs/design/draft-push-pull.txt:
4341         * docs/design/draft-tagreading.txt:
4342         * docs/design/part-MT-refcounting.txt:
4343         * docs/design/part-activation.txt:
4344         * docs/design/part-block.txt:
4345         * docs/design/part-element-source.txt:
4346         * docs/design/part-events.txt:
4347         * docs/design/part-gstbin.txt:
4348         * docs/design/part-gstelement.txt:
4349         * docs/design/part-gstobject.txt:
4350         * docs/design/part-gstpipeline.txt:
4351         * docs/design/part-messages.txt:
4352         * docs/design/part-preroll.txt:
4353         * docs/design/part-push-pull.txt:
4354         * docs/design/part-qos.txt:
4355         * docs/design/part-query.txt:
4356         * docs/design/part-scheduling.txt:
4357         * docs/design/part-seeking.txt:
4358         * docs/design/part-segments.txt:
4359         * docs/design/part-states.txt:
4360         Documentation updates and typo fixes.
4361
4362 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4363
4364         * plugins/elements/gstfakesink.c:
4365           Add some debug text to error message to indicate that
4366           we errored out on request.
4367
4368         * tools/gst-launch.c:
4369           When the state change to PLAYING fails, check for an
4370           error message on the bus and print it.
4371
4372 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4373
4374         translated by: Jorge González González <aloriel@gmail.com>
4375
4376         * po/LINGUAS:
4377         * po/es.po:
4378           Added Spanish translation.
4379
4380 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4381
4382         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4383         Fix printf arguments.
4384
4385 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4386
4387         * tests/check/generic/states.c:
4388           Improved state change unit test.
4389
4390 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4391
4392         * gst/gstbin.h:
4393           Move priv to the right place.
4394
4395         * gst/gstsystemclock.c:
4396           Add FIXME: and improve log.
4397
4398         * tests/check/Makefile.am:
4399         * tests/examples/manual/Makefile.am:
4400           Work with all types of registries.
4401
4402 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4403
4404         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4405         Don't unref the event after pushing it. Fixes #478401.
4406
4407 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4408
4409         * .cvsignore:
4410         * tests/examples/manual/.cvsignore:
4411           Ignore registries in any format.
4412
4413 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4414
4415         * gst/glib-compat-private.h:
4416           Add compatibility macro for g_intern_string() for
4417           GLib-2.8 (any reason we can't just bump the
4418           requirement to at least 2.10?)
4419
4420         * gst/gstpadtemplate.h:
4421         * gst/gstelementfactory.c:
4422         * gst/gstregistryxml.c:
4423         * gst/gstregistrybinary.c:
4424           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4425           up the internal code accordingly.  This shouldn't be a problem, since
4426           there is no reason external code could ever assume the string in such
4427           a structure is dynamically allocated unless it did that itself;  the
4428           use of g_strdup() is private to element factories.  The new code also
4429           saves some memory by putting pad template name strings into the GLib
4430           quark table instead of allocating them dynamically.
4431           Declaring this field constant fixes warnings with g++-4.2 when using
4432           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4433
4434 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4435
4436         * gst/gstelementfactory.c:
4437           Release static caps. Fixes #475723.
4438
4439 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4440
4441         * gst/gstinfo.c:
4442         * gst/gstinfo.h:
4443           Make some internal API take const gchar * instead of just
4444           gchar * to avoid compiler warnings with g++-4.2.2 when
4445           passing string constants (partially fixes #478092).
4446
4447 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4448
4449         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4450         A latency query fails when one of the sinks fail.
4451
4452         * gst/gstelement.c: (gst_element_set_base_time):
4453         Improve debugging.
4454
4455 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4456
4457         * gst/gstbin.c: (gst_bin_continue_func):
4458         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4459         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4460         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4461
4462         Fix minor compilation warnings shown with Forte.
4463
4464 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4465
4466         * plugins/elements/gstqueue.c: (apply_buffer),
4467         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4468         Measure queue level based on the diff between head and tail timestamps
4469         even when pushing the first buffer.
4470
4471 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4472
4473         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4474         (gst_base_sink_event), (gst_base_sink_change_state):
4475         Sinks that don't preroll can always be queried for the latency.
4476         Don't post ASYNC start when we are not async.
4477
4478 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4479
4480         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4481         (gst_queue_handle_sink_event), (gst_queue_chain),
4482         (gst_queue_push_one), (gst_queue_handle_src_query),
4483         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4484         * plugins/elements/gstqueue.h:
4485         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4486         push more buffers but allow pushing of EOS and NEWSEGMENT.
4487         Add some more debug info here and there. Fixes #476514.
4488
4489 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4490
4491         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4492         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4493         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4494         (gst_base_sink_set_flushing), (gst_base_sink_query),
4495         (gst_base_sink_change_state):
4496         Latency query is allowed after we are prerolled. Introduce a new flag
4497         for this and stop abusing other variables.
4498
4499 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4500
4501         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4502         Push OOB events downstream when we get them in send_event. This allows
4503         the application to insert events in the pipeline.
4504         Add some more comments.
4505
4506 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4507
4508         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4509         (do_bin_latency), (gst_bin_change_state_func):
4510         * gst/gstpipeline.c: (gst_pipeline_change_state):
4511         Move latency query from GstPipeline to GstBin so that we can also
4512         use it when async-handling is enabled on bins.
4513
4514 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4515
4516         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4517         (gst_base_src_do_sync), (gst_base_src_change_state):
4518         Update docs.
4519         Clean up the timestamping and syncing code for pseudo live sources.
4520
4521 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4522
4523         Patch by: Steve Fink  <sphink gmail com>
4524
4525         * docs/manual/appendix-checklist.xml:
4526           Mention less -R switch in the section about debug output (#474055).
4527
4528 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4529
4530         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4531         Queue can latency to the pipeline up to the configured max size in time.
4532         Report this fact in the latency query.
4533
4534 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4535
4536         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4537
4538         * libs/gst/controller/gstinterpolation.c:
4539         * libs/gst/controller/gstlfocontrolsource.c:
4540         Use gst_guint64_to_gdouble() when converting from a uint64 or
4541         GstClockTime to double to fix the build on win32. Fixes #474371.
4542
4543 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4544
4545         * gst/gstbuffer.c: (gst_buffer_finalize):
4546         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4547         When finalizing a buffer the complete struct is filled with 0xff,
4548         thus making a use of the buffer after the final unref impossible.
4549
4550 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4551
4552         * tests/check/libs/controller.c: (GST_START_TEST):
4553         Use fail_unless_equals_int(a, b) instead of
4554         fail_unless_equals (a == b) to get better output on failures.
4555
4556 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4557
4558         * tests/check/gst/gsturi.c:
4559           Also check for the other file URI variant on win32.
4560
4561 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4562
4563         * gst/gsturi.c: (gst_uri_get_location):
4564           If there's no hostname, we want to return 'c:/foo/bar.txt'
4565           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4566
4567         * tests/check/gst/gsturi.c:
4568           Unit test for the above and a few more things.
4569
4570 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4571
4572         * docs/design/part-live-source.txt:
4573         Add docs on how live sources should timestamp.
4574
4575         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4576         Add some more debug info.
4577         For subclasses that are live and like to sync, add aditional startup
4578         latency to sync time and timestamps so that we timstamp according to the
4579         design doc.
4580
4581 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4582
4583         * gst/gstbuffer.c:
4584           Also do a g_type_class_ref() for the subbuffer type in
4585           the init function.
4586
4587 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4588
4589         * docs/gst/gstreamer-sections.txt:
4590         * gst/gstpad.c: (gst_pad_peer_query):
4591         * gst/gstpad.h:
4592         Add function to perform a query on the peer of a pad.
4593         API: gst_pad_peer_query()
4594
4595 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4596
4597         * tests/check/gst/gstsystemclock.c:
4598           Cleanup the test a little (use gst-logging and not g_message). Improve
4599           test to check if a wait reached the target.
4600
4601 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4602
4603         * docs/libs/gstreamer-libs-sections.txt:
4604           Add new API to docs and fix the build.
4605
4606 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
4607
4608         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4609         (gst_base_src_init), (gst_base_src_set_do_timestamp),
4610         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4611         (gst_base_src_get_property), (gst_base_src_do_sync):
4612         * libs/gst/base/gstbasesrc.h:
4613         Add property to make the basesrc timestamp buffers based on the current
4614         running time.
4615         API: GstBaseSrc::do-timestamp
4616         API: gst_base_src_set_do_timestamp()
4617         API: gst_base_src_get_do_timestamp()
4618
4619 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
4620
4621         * docs/random/release:
4622           Really make sure translations are up-to-date before
4623           a release (#465010).
4624
4625 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
4626
4627         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4628         Always destroy the timer, also in error cases.
4629
4630 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4631
4632         * docs/manual/highlevel-xml.xml:
4633         Fix XML example code. Fixes #472714.
4634
4635 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4636
4637         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4638         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4639         (gst_base_sink_query):
4640         Protect eos and have_preroll with the OBJECT lock so we don't need to
4641         take the PREROLL lock when querying the latency. Fixes #473846.
4642
4643 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
4644
4645         * gst/gstelement.c:
4646           Give some log-messages a category.
4647
4648 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
4649
4650         * gst/gststructure.c:
4651         (gst_structure_fixate_field_nearest_fraction):
4652         Fix fraction list fixation code. Take the fraction with the smallest
4653         difference with the target instead of the first one in the list.
4654
4655         * tests/check/gst/gststructure.c: (GST_START_TEST),
4656         (gst_structure_suite):
4657         Added test to verify correct fraction list fixation behaviour.
4658
4659 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
4660
4661         * win32/common/libgstreamer.def:
4662           Export gst_bus_add_signal_watch too.
4663
4664 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
4665
4666         * docs/libs/gstreamer-libs-sections.txt:
4667         Add new methods to docs.
4668
4669         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4670         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4671         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4672         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4673         * libs/gst/base/gstbasesink.h:
4674         Add ts-offset property to fine-tune the synchronisation.
4675         API: GstBaseSink::ts-offset property
4676         API: gst_base_sink_set_ts_offset()
4677         API: gst_base_sink_get_ts_offset()
4678
4679 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
4680
4681         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4682         (gst_base_sink_init), (gst_base_sink_set_sync),
4683         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4684         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4685         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4686         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4687         (gst_base_sink_get_property), (gst_base_sink_change_state):
4688         * libs/gst/base/gstbasesink.h:
4689         Add async property to instruct the sink never to inform the parent about
4690         ASYNC state changes, update docs.
4691         Check argument with g_return_* for the public functions.
4692         API: GstBaseSink::async property
4693         API: gst_base_sink_set_async_enabled()
4694         API: gst_base_sink_is_async_enabled()
4695
4696 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
4697
4698         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4699         Improve debugging.
4700
4701         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4702         (gst_base_src_default_query), (gst_base_src_wait),
4703         (gst_base_src_do_sync), (gst_base_src_change_state):
4704         Rearrange some code so that we can add support for measuring the 
4705         startup latency.
4706
4707 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
4708
4709         * docs/random/ensonic/dynlink.txt:
4710           More thoughs on this.
4711
4712         * plugins/elements/gstcapsfilter.c:
4713           Add bugzilla ticket number to FIXME comment.
4714
4715 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
4716
4717         * docs/design/part-TODO.txt:
4718         * docs/design/part-block.txt:
4719         Update some docs.
4720
4721 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4722
4723         * gst/Makefile.am:
4724           Revert patch which uses $(gst_headers) instead of $^ because it
4725           breaks make dist.
4726
4727 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4728
4729         * tests/check/gst/gstbin.c: (GST_START_TEST):
4730           Fix leaks in the new unit test.
4731
4732 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
4733
4734         * gst/gst.c:
4735           Don't use GST_INFO before the debug system is actually initialised
4736           (shouldn't do any harm, but won't print anything either, so we can
4737           just as well remove it).
4738
4739         * gst/gstinfo.h:
4740           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4741           compilers that don't support variadic macros (such as MSVC), should
4742           check for debug_level <= __gst_debug_min as well, since that's the
4743           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4744           inline helper functions. Should improve performance a bit, but also
4745           makes sure uses of GST_INFO et.al are ignored if the debugging
4746           system isn't initialised yet (instead of printing an assertion
4747           failure).
4748
4749 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
4750
4751         patch by: David Nečas <yeti@physics.muni.cz>
4752
4753         * gst/Makefile.am:
4754           Replace some non portable makefile constructs.
4755
4756 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
4757
4758         * common/gtk-doc-plugins.mak:
4759           Grrrrr. Don't remove the types file on make clean.
4760
4761 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
4762
4763         * tools/gst-launch.1.in:
4764         Add colorspace to example pipeline. Fixes #458274.
4765
4766 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
4767
4768         * docs/random/release:
4769           The release manager should run 'make download-po' before making a
4770           release to make sure translations are up-to-date.
4771
4772         * po/LINGUAS:
4773         * po/be.po:
4774         * po/pl.po:
4775         * po/rw.po:
4776           Add some new translations.
4777
4778 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
4779
4780         * tools/gst-launch.c: (event_loop), (main):
4781         Don´t try to do any state management when a live pipeline posts
4782         buffering messages.
4783         Also make the buffering string translatable.
4784
4785 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4786
4787         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4788         (bin_handle_async_start), (gst_bin_handle_message_func):
4789         Improve debugging.
4790         When adding elements, insert messages into the bus of the newly added
4791         element and make sure the element is the source of the message. This
4792         allows the parent bin to intercept the message and do the
4793         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4794         messages to the app (which is not allowed).
4795         Update some docs.
4796
4797         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4798         Fix testsuite so that is does not work around messages that should not
4799         have been posted in the first place.
4800
4801 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4802
4803         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4804         (update_degree), (gst_bin_sort_iterator_next):
4805         Fix annoying bug in the sorted iterator where a sink that is not really
4806         a sink (when it has downstream links) screwed up the iterator.
4807
4808         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4809         Unit test to verify the fix.
4810
4811 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4812
4813         * gst/gstmessage.h:
4814         Add some more docs for the messages.
4815
4816         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4817         (gst_base_sink_query):
4818         Add some more debugging.
4819
4820         * tools/gst-launch.c: (event_loop):
4821         When interrupting, don't try to set pipeline to PAUSED twice.
4822
4823 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4824
4825         
4826         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4827         (bin_handle_async_start), (gst_bin_handle_message_func):
4828         Move ASYNC_START message posting to where it belongs, similar to
4829         async_done. 
4830         Don't post ASYNC_START when we are in error. 
4831         Post ASYNC_START when we added an async element to a bin.
4832
4833 2007-08-14  Julien MOUTTE  <julien@moutte.net>
4834
4835         * gst/gstindex.c: (gst_index_add_association): Fix index entry
4836         generation from vargs. Fixes #466595.
4837
4838 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4839
4840         * gst/gstbin.c: (gst_bin_element_set_state):
4841         Always change the state of a NO_PREROLL element even if it has ASYNC
4842         elements inside (in case of a bin).
4843
4844         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4845         Unit test for this case.
4846
4847 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
4848
4849         * libs/gst/check/gstbufferstraw.c:
4850         * libs/gst/check/gstcheck.h:
4851         * libs/gst/controller/gstcontroller.c:
4852         * libs/gst/controller/gstcontrolsource.h:
4853         * libs/gst/controller/gstlfocontrolsource.h:
4854         * plugins/elements/gstcapsfilter.h:
4855         * plugins/elements/gstfdsink.h:
4856         * plugins/elements/gstfdsrc.h:
4857           Add more missing docs.
4858
4859 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4860
4861         * gst/gststructure.c:
4862         Add Since tag to docs.
4863
4864 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4865
4866         * docs/gst/gstreamer-sections.txt:
4867         * gst/gststructure.c: (gst_structure_get_uint):
4868         * gst/gststructure.h:
4869         Add function to get uint from a structure.
4870         API: gst_structure_get_uint()
4871
4872 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4873
4874         * gst/gstcaps.c: (gst_caps_set_simple_valist),
4875         (gst_caps_intersect):
4876         Fix proper check for simple caps.
4877
4878 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
4879
4880         * docs/gst/Makefile.am:
4881         * docs/libs/Makefile.am:
4882           Remove cruft and do some cleanups.
4883
4884         * docs/gst/gstreamer-docs.sgml:
4885         * docs/libs/gstreamer-libs-docs.sgml:
4886           Prepare for comming gtkdoc features (rebase against online docs).
4887
4888 2007-08-10  Michael Smith <msmith@fluendo.com>
4889
4890         * docs/gst/gstreamer-sections.txt:
4891           Add gst_registry_add_path to docs.
4892
4893 2007-08-10  Michael Smith <msmith@fluendo.com>
4894
4895         * gst/gstregistry.h:
4896           Add gst_registry_add_path, which was missing from this header.
4897
4898 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
4899
4900         * libs/gst/controller/gstlfocontrolsource.c:
4901           Printf format fix.
4902
4903 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
4904
4905         * libs/gst/base/gstbasesink.c:
4906           Don't send an async_start message during downwards state change if 
4907           target state is less than READY
4908
4909 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4910
4911         translated by: Gabor Kelemen <kelemeng@gnome.hu>
4912
4913         * po/LINGUAS:
4914         * po/hu.po:
4915           Added Hungarian translation.
4916
4917 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4918
4919         * po/fi.po:
4920         * po/it.po:
4921         * po/nl.po:
4922         * po/sv.po:
4923         * po/uk.po:
4924           Updated translations.
4925
4926 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
4927
4928         * libs/gst/controller/Makefile.am:
4929         Dist gstlfocontrolsourceprivate.h
4930
4931 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
4932
4933         * docs/libs/gstreamer-libs.types:
4934         Don't register the enum type gst_lfo_waveform_get_type() in the
4935         .types file - only GObject derived types belong.
4936
4937 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
4938
4939         Patch by: <arenevier at fdn dot fr>
4940
4941         * gst/gstbuffer.h:
4942         Remove comma from last element in enum to avoid compile errors when
4943         using -pendantic. Fixes #464366.
4944
4945 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
4946
4947         * docs/design/part-TODO.txt:
4948         Add some more TODO items
4949
4950         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
4951         Improve debugging.
4952
4953         * gst/gstcaps.c: (gst_caps_intersect):
4954         Optimize trivial intersection case between identical caps pointers.
4955
4956         * gst/gstelement.c: (gst_element_continue_state),
4957         (gst_element_set_state_func):
4958         * gst/gstpad.c:
4959         Fix spelling and grammar mistakes.
4960
4961 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
4962
4963         * po/POTFILES.in:
4964         * po/POTFILES.skip:
4965           Update POTFILES. Fixes #461599.
4966
4967 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
4968
4969         * gst/gst.c:
4970         Fix confusing typo in debug output.
4971
4972 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
4973
4974         reviewed by: Stefan Kost <ensonic@users.sf.net>
4975
4976         * libs/gst/controller/Makefile.am:
4977         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
4978         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
4979         (gst_lfo_control_source_new),
4980         (gst_lfo_control_source_set_waveform),
4981         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
4982         (gst_lfo_control_source_finalize),
4983         (gst_lfo_control_source_dispose),
4984         (gst_lfo_control_source_set_property),
4985         (gst_lfo_control_source_get_property),
4986         (gst_lfo_control_source_class_init):
4987         * libs/gst/controller/gstlfocontrolsource.h:
4988         * libs/gst/controller/gstlfocontrolsourceprivate.h:
4989         API: Add GstLFOControlSource, a control source that gives values
4990         for specific timestamps based on several periodic waveforms.
4991         Fixes #459717.
4992
4993         * tests/check/libs/controller.c: (GST_START_TEST),
4994         (gst_controller_suite):
4995         * docs/libs/gstreamer-libs-docs.sgml:
4996         * docs/libs/gstreamer-libs-sections.txt:
4997         * docs/libs/gstreamer-libs.types:
4998         Add documentation and unit tests for GstLFOControlSource.
4999
5000 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5001
5002         * configure.ac:
5003         Back to CVS
5004
5005 === release 0.10.14 ===
5006
5007 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5008
5009         * configure.ac:
5010           releasing 0.10.14, "Breathing Vacuum"
5011
5012 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5013
5014         * gst/gstelement.c: (gst_element_class_set_details_simple):
5015         * gst/gstelement.h:
5016           Make strings passed to gst_element_class_set_details_simple()
5017           constant, as they should be (#462752).
5018
5019 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5020
5021         * gst/gstbin.c: (gst_bin_change_state_func),
5022         (bin_handle_async_done), (gst_bin_handle_message_func):
5023         Don't forget about the fact that some element went ASYNC even after a
5024         resync. This makes us post the ASYNC_DONE message correctly.
5025         Fixes #462558.
5026
5027 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5028
5029         * gst/gstregistry.c: (gst_registry_add_feature):
5030         When replacing an existing feature in the registry, make sure to
5031         continue holding a reference until we've replaced the name string
5032         within our feature hash table. Make sure to use g_hash_table_replace
5033         instead of g_hash_table_insert to ensure the new name string is used
5034         as a key instead of the old one that we're about to free.
5035         Fixes: #462085
5036
5037 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5038
5039         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5040         (gst_plugin_feature_set_name):
5041         Revert patch from #459466 until after the release and we can work
5042         out exactly what the problem is (if any).
5043
5044 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5045
5046         * docs/gst/gstreamer-sections.txt:
5047         * gst/gsttaglist.c:
5048         * gst/gsttaglist.h:
5049           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5050
5051 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5052
5053         * docs/libs/Makefile.am:
5054         Include our build-prefix libs and includes before the generic ones to
5055         avoid linking against the installed libs when we want the build-tree
5056         ones.
5057
5058 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5059
5060         Patch by: Steve Fink  <sphink gmail com>
5061
5062         * docs/pwg/building-testapp.xml:
5063           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5064           if people try to build or install the example from the plugin
5065           template against a GStreamer from package using the configure
5066           defaults.
5067
5068 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5069
5070         Patch by: Steve Fink  <sphink gmail com>
5071
5072         * tools/gst-inspect.1.in:
5073           Document --print-all and --print-plugin-auto-install-info command
5074           line options in man page.
5075
5076 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5077
5078         * docs/gst/gstreamer-sections.txt:
5079         Add docs for new api function.
5080
5081 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5082
5083         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5084         * gst/gstelementfactory.h:
5085         API: gst_element_factory_has_interface()
5086         Added method to check if an element factory implements a named
5087         interface.
5088
5089 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5090
5091         * configure.ac:
5092         * docs/gst/gstreamer.types.in:
5093           Another conditional doc check.
5094
5095         * gst/gstmessage.c:
5096         * gst/gstparamspecs.h:
5097         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5098         * gst/gstvalue.c:
5099         * gst/gstxml.h:
5100           API-doc fixes.
5101
5102 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5103
5104         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5105         (gst_registry_binary_load_feature),
5106         (gst_registry_binary_load_plugin),
5107         (gst_registry_binary_read_cache):
5108           Print error just once and with additional info.
5109
5110 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5111
5112         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5113         (helper_find_suggest), (helper_find_get_length),
5114         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5115         (gst_type_find_helper_for_buffer):
5116           Cleanup the typefindhelper code and add private doc comments.
5117
5118 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5119
5120         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5121         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5122         Fix capsfilter for cases where the caps set on capsfilter will provide
5123         additional information.
5124         Fixes #449197
5125
5126 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5127
5128         * gst/gsttypefindfactory.c:
5129           Fix docs that recommened wrong function to use.
5130
5131 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5132
5133         * tools/gst-inspect.c: (print_plugin_features):
5134           Also give media-type for typefinders in element output.
5135
5136 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5137
5138         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5139         (gst_registry_remove_features_for_plugin_unlocked),
5140         (gst_registry_add_feature), (gst_registry_remove_feature),
5141         (gst_registry_lookup_feature_locked):
5142         * gst/gstregistry.h:
5143           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5144           Fixes #459501.
5145
5146 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5147
5148         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5149         (gst_plugin_feature_set_name):
5150           Avoid double memory usage for pluginfeature names. Fixes #459466.
5151
5152 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5153
5154         * gst/gstpad.h:
5155           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5156           driving the pipeline may need to explicitly check for NOT_LINKED as
5157           well, since IS_FATAL doesn't cover that.
5158
5159 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5160
5161         * docs/pwg/advanced-types.xml:
5162           Fix typo and duplicate entry in video formats list.
5163
5164 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5165
5166         * libs/gst/controller/gstinterpolation.c:
5167         Also round to the nearest int when using cubic interpolation.
5168
5169 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5170
5171         * libs/gst/controller/gstinterpolation.c:
5172         When linearly interpolating integer types, round to the nearest int
5173         by adding 0.5. Don't do it for float/double types.
5174         Fixes the failing controller test on my machine, which is somehow
5175         rounding differently than on the buildbots.
5176
5177 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5178
5179         * tools/gst-plot-timeline.py:
5180           Better log parsing (categories can have -). Adjust text vs. lines, so
5181           that they span the same y-range.        
5182
5183 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5184
5185         * docs/random/ensonic/audiobaseclasses.txt:
5186         * docs/random/ensonic/dynlink.txt:
5187         * docs/random/ensonic/profiling.txt:
5188           Save my thoughts.
5189
5190         * docs/random/moving-plugins:
5191           Add note to use g_assert type macros.
5192
5193 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5194
5195         * configure.ac:
5196         * libs/gst/check/Makefile.am:
5197           Add libm check as we use in for plugins.
5198
5199 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5200
5201         * gst/gstbin.c: (gst_bin_continue_func):
5202         Check that the state_cookie hasn't changed since the continue_func
5203         was scheduled. Avoids problems where the state changes back to
5204         something it shouldn't be because it was changed in the meantime.
5205
5206 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5207
5208         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5209         (gst_registry_binary_save_string),
5210         (gst_registry_binary_save_pad_template),
5211         (gst_registry_binary_save_feature),
5212         (gst_registry_binary_save_plugin),
5213         (gst_registry_binary_load_feature),
5214         (gst_registry_binary_load_plugin),
5215         (gst_registry_binary_read_cache):
5216           Fix memory leak. Be less verbose in the log.
5217
5218 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5219
5220         * tests/check/elements/.cvsignore:
5221         Add file to cvsignore as commanded.
5222
5223 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5224
5225         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5226         (mq_dummypad_event), (run_output_order_test):
5227         Use a GStaticMutex to protect all cases where libcheck
5228         fail_if/fail_unless macros might be called from multiple threads
5229         simultaneously to avoid errors like:
5230           "check_pack.c:107: :-1081725400:Bad message type arg"
5231
5232 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5233
5234         * tests/check/pipelines/stress.c: (GST_START_TEST):
5235         Make sure we set the pipeline back to the NULL state before
5236         dropping our final reference.
5237
5238 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5239
5240         * tests/check/elements/tee.c: (GST_START_TEST):
5241         Make the tee stress-test a little less stressful so it doesn't just
5242         time out on slow-machines, and remove a small race when it's starting 
5243         up by adding a get_state() call.
5244
5245 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5246
5247         * gst/gst.c:
5248           Avoid reading registry twice on startup. Fixes #457322.
5249
5250 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5251
5252         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5253         * pkgconfig/gstreamer-check.pc.in:
5254         Substitute the CFLAGS for libcheck into our .pc file too so that
5255         dependent modules will pick it up properly if libcheck is installed
5256         into some other prefix.
5257
5258 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5259
5260         * configure.ac:
5261         Revert the pkg-config check for libcheck, since it pulls in the
5262         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5263         a proper solution, either from the check project, or something else.
5264
5265 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5266
5267         * configure.ac:
5268           Use pkg-config to locate check.
5269
5270 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5271
5272         * gst/gsttaglist.c:
5273           Fix doc syntax.
5274
5275         * gst/gstutils.c:
5276         * gst/gstutils.h:
5277           Add deprecation guards.
5278
5279         * libs/gst/base/gstcollectpads.h:
5280           Don't document object (this is implicitly private).
5281
5282 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5283
5284         * gst/gststructure.c: (gst_structure_parse_value):
5285           When deserialising foo=bar without a type cast, check if it's a
5286           boolean before falling back to a string type, otherwise things like
5287           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5288           because the filtercaps end up having a signed=(string)true field,
5289           which causes problems later when intersection caps.
5290
5291         * tests/check/gst/gststructure.c: (GST_START_TEST):
5292           Add a unit test for this.
5293
5294 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5295
5296         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5297
5298         * libs/gst/controller/Makefile.am:
5299         * libs/gst/controller/gstcontroller.c:
5300         (gst_controlled_property_add_interpolation_control_source),
5301         (gst_controlled_property_new), (gst_controlled_property_free),
5302         (gst_controller_find_controlled_property),
5303         (gst_controller_new_valist), (gst_controller_new_list),
5304         (gst_controller_new), (gst_controller_remove_properties_valist),
5305         (gst_controller_remove_properties_list),
5306         (gst_controller_remove_properties),
5307         (gst_controller_set_property_disabled),
5308         (gst_controller_set_disabled), (gst_controller_set_control_source),
5309         (gst_controller_get_control_source), (gst_controller_get),
5310         (gst_controller_sync_values), (gst_controller_get_value_array),
5311         (_gst_controller_dispose), (gst_controller_get_type),
5312         (gst_controlled_property_set_interpolation_mode),
5313         (gst_controller_set), (gst_controller_set_from_list),
5314         (gst_controller_unset), (gst_controller_unset_all),
5315         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5316         * libs/gst/controller/gstcontroller.h:
5317         * libs/gst/controller/gstcontrollerprivate.h:
5318         * libs/gst/controller/gstcontrolsource.c:
5319         (gst_control_source_class_init), (gst_control_source_init),
5320         (gst_control_source_get_value),
5321         (gst_control_source_get_value_array), (gst_control_source_bind):
5322         * libs/gst/controller/gstcontrolsource.h:
5323         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5324         (gst_object_get_control_source):
5325         * libs/gst/controller/gstinterpolation.c:
5326         (gst_interpolation_control_source_find_control_point_node),
5327         (gst_interpolation_control_source_get_first_value),
5328         (_interpolate_none_get), (interpolate_none_get),
5329         (interpolate_none_get_boolean_value_array),
5330         (interpolate_none_get_enum_value_array),
5331         (interpolate_none_get_string_value_array),
5332         (_interpolate_trigger_get), (interpolate_trigger_get),
5333         (interpolate_trigger_get_boolean_value_array),
5334         (interpolate_trigger_get_enum_value_array),
5335         (interpolate_trigger_get_string_value_array):
5336         * libs/gst/controller/gstinterpolationcontrolsource.c:
5337         (gst_control_point_free), (gst_interpolation_control_source_reset),
5338         (gst_interpolation_control_source_new),
5339         (gst_interpolation_control_source_set_interpolation_mode),
5340         (gst_interpolation_control_source_bind),
5341         (gst_control_point_compare), (gst_control_point_find),
5342         (gst_interpolation_control_source_set_internal),
5343         (gst_interpolation_control_source_set),
5344         (gst_interpolation_control_source_set_from_list),
5345         (gst_interpolation_control_source_unset),
5346         (gst_interpolation_control_source_unset_all),
5347         (gst_interpolation_control_source_get_all),
5348         (gst_interpolation_control_source_get_count),
5349         (gst_interpolation_control_source_init),
5350         (gst_interpolation_control_source_finalize),
5351         (gst_interpolation_control_source_dispose),
5352         (gst_interpolation_control_source_class_init):
5353         * libs/gst/controller/gstinterpolationcontrolsource.h:
5354         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5355         API: Refactor GstController into the core controller which can take
5356         a GstControlSource for providing actual values for timestamps.
5357         Implement a interpolation control source and use this for backward
5358         compatibility, deprecate a bunch of functions that are now handled
5359         by GstControlSource or GstInterpolationControlSource.
5360         Make it possible to disable the controller completely or only for
5361         specific properties. Fixes #450711.
5362         * docs/libs/gstreamer-libs-docs.sgml:
5363         * docs/libs/gstreamer-libs-sections.txt:
5364         * docs/libs/gstreamer-libs.types:
5365         Add new functions and classes to the docs.
5366         * tests/check/libs/controller.c: (GST_START_TEST),
5367         (gst_controller_suite):
5368         * tests/examples/controller/audio-example.c: (main):
5369         Port unit test and example to the new API and add some new
5370         unit tests.
5371
5372 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5373
5374         Patch by: Mark Nauwelaerts <manauw at skynet be>
5375
5376         * plugins/elements/gstmultiqueue.c:
5377         (gst_multi_queue_get_internal_links), (apply_buffer),
5378         (single_queue_overrun_cb), (gst_single_queue_new):
5379         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5380         the pipeline layout can be tracked correctly. Fixes #453732.
5381
5382 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5383
5384         * docs/gst/Makefile.am:
5385         * docs/libs/Makefile.am:
5386         * docs/plugins/Makefile.am:
5387           Simplify --extra-dir as gtkdoc scans recursively.
5388
5389 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5390
5391         * tools/gst-launch.c: (main):
5392         When we got an error, there is no point in waiting for preroll when
5393         shutting down.
5394
5395 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5396
5397         * plugins/elements/gsttee.c: (gst_tee_base_init),
5398         (gst_tee_request_new_pad), (gst_tee_release_pad),
5399         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5400         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5401         (gst_tee_chain):
5402         Be a lot smarter when deciding what srcpad to use for proxying
5403         the buffer_alloc. Also handle pad added/removed when doing so.
5404         Fixes #357959.
5405         Keep track of what pads we already pushed on in case we have pads
5406         added/removed while pushing. Fixes #374639 
5407
5408         * tests/check/Makefile.am:
5409         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5410         (tee_suite):
5411         Added unit test for pad resync.
5412
5413 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5414
5415         * po/nl.po:
5416         * po/sv.po:
5417           Updated translations.
5418
5419 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5420
5421         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5422
5423         * po/LINGUAS:
5424         * po/fi.po:
5425           Added new Finnish translation.
5426
5427 2007-06-28  Wim Taymans  <wim@fluendo.com>
5428
5429         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5430         (single_queue_overrun_cb):
5431         When figuring out when a queue is filled, use our internal time estimate
5432         based on segments, just like check_full does.
5433
5434 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5435
5436         * gst/gstminiobject.c: (gst_mini_object_get_type):
5437           Remove 3 do-nothing methods.
5438
5439 2007-06-27  Wim Taymans  <wim@fluendo.com>
5440
5441         Patch by: Tim Angus <tim at ngus dot net>
5442
5443         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5444         (gst_capsfilter_set_property):
5445         Take a reference instead of a copy when setting "caps".
5446         Fix documentation to clarify this behaviour. Fixes #449414.
5447
5448 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5449
5450         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5451         * gst/gstplugin.c: (gst_plugin_init):
5452         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5453         * gst/gstquery.c: (gst_query_get_type):
5454         * gst/gstregistry.c: (gst_registry_init):
5455         * gst/gsturi.c: (gst_uri_handler_base_init):
5456           Remove empty instance_init() functions to save relocs and lessen the
5457           noise. Remove some of the function prototypes that are doubled by
5458           G_DEFINE_TYPE.
5459           
5460 2007-06-27  Wim Taymans  <wim@fluendo.com>
5461
5462         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5463
5464         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5465         Add peer and direction in the XML serialisation of ghostpads.
5466         Fixes #449226.
5467
5468 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5469
5470         * configure.ac:
5471           Preserve useful information, thanks Tim.
5472
5473 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5474
5475         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5476         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5477         (gst_single_queue_push_one), (gst_multi_queue_loop),
5478         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5479         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5480         (compute_high_id), (gst_single_queue_new):
5481         * plugins/elements/gstmultiqueue.h:
5482         Take the multiqueue lock when updating the fill level so we don't get
5483         confused. 
5484
5485         After applying a buffer or event on the src pad segment, make sure to
5486         call gst_data_queue_limits_changed() to get the data queue to unblock
5487         and check the filled state again.
5488         
5489         Rework the not-linked pad handling so the logic is that not-linked 
5490         pads can push as fast as they like, but only so they never get 
5491         ahead of any linked pads.
5492
5493         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5494         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5495         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5496
5497         Add a test to check that not-linked pads always stay behind
5498         linked pads.
5499
5500         Fixes: #430682
5501
5502 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5503
5504         * docs/random/release:
5505           Some updates to the release procedure.
5506
5507 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5508
5509         * gst/gstelementfactory.c: (__gst_element_details_clear):
5510           Microoptimization that saves stunning 80 bytes.
5511
5512 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5513
5514         * docs/plugins/gstreamer-plugins.args:
5515         * docs/plugins/inspect/plugin-coreelements.xml:
5516         * docs/plugins/inspect/plugin-coreindexers.xml:
5517           Update docs with caps info.
5518
5519 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5520
5521         * po/it.po:
5522           Updated Italian translation.
5523
5524 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5525
5526         * ChangeLog:
5527         * po/vi.po:
5528           Update Vietnamese translations.
5529
5530 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5531
5532         * libs/gst/base/gstbasesink.c:
5533           Remove unused signal enum.
5534
5535 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5536
5537         * docs/gst/gstreamer-sections.txt:
5538         * gst/gstelement.c:
5539         * gst/gstutils.c: (gst_type_register_static_full):
5540         Beef up and include the docs for gst_type_register_static_full and
5541         gst_element_class_set_details_simple and add the API keyword
5542         in the ChangeLog.
5543
5544 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5545
5546         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5547         (update_time_level), (gst_single_queue_push_one),
5548         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5549         (single_queue_overrun_cb), (single_queue_underrun_cb),
5550         (single_queue_check_full):
5551         Fix setting max-* properties after adding queues.
5552         Use IS_FILLED for checking visible items.
5553         Signal overrun if multiple queues overrun.
5554         Add extra debug output.
5555         Patch by: Wim Taymans <wim@fluendo.com>
5556
5557 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5558
5559         * gst/gstelement.c: (gst_element_class_set_details_simple):
5560         * gst/gstelement.h:
5561         * gst/gstutils.c: (gst_type_register_static_full):
5562         * gst/gstutils.h:
5563         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5564         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5565         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5566         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5567         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5568         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5569         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5570         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5571         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5572         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5573         (apply_buffer), (gst_queue_chain):
5574         * plugins/elements/gsttee.c: (gst_tee_base_init):
5575         * plugins/elements/gsttypefindelement.c:
5576         (gst_type_find_element_base_init),
5577         (gst_type_find_element_class_init):
5578           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5579           API: add gst_type_register_static_full
5580           API: add gst_element_class_set_details_simple
5581
5582 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5583
5584         * docs/pwg/advanced-types.xml:
5585           Fix typo in iana.org URI.
5586
5587 2007-06-19  Andy Wingo  <wingo@pobox.com>
5588
5589         * tests/check/pipelines/simple-launch-lines.c
5590         (test_state_change_returns): Enable pull-mode tests now that
5591         basesink has been fixed.
5592
5593         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5594         Changed from gst_base_sink_is_prerolled, reversing the sense of
5595         the return value. Returns FALSE also if the sink is in pull mode,
5596         in which case it needs no preroll.
5597         (gst_base_sink_query, gst_base_sink_change_state): Update for
5598         needs_preroll change.
5599         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5600         chaining up, in which we return SUCCESS directly if we activated
5601         in pull mode instead of ASYNC. Involves countering an async_start
5602         message sent before chaining up; not sure if this is correct, in
5603         an ideal world we only send async-start when activating in push
5604         mode.
5605
5606         * tests/check/pipelines/simple-launch-lines.c
5607         (test_state_change_returns): New test, partially disabled until
5608         basesink is fixed.
5609
5610 2007-06-19  Wim Taymans  <wim@fluendo.com>
5611
5612         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5613         (gst_multi_queue_sink_event):
5614         Fix event leak.
5615
5616 2007-06-19  Wim Taymans  <wim@fluendo.com>
5617
5618         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5619         (gst_bin_change_state_func), (bin_push_state_continue),
5620         (bin_handle_async_start), (bin_handle_async_done),
5621         (gst_bin_handle_message_func):
5622         Move the common code for posting state-change messages into
5623         one function.
5624         Broadcast the state signal after we posted the messages.
5625         Mark the bin as busy when it's doing a state-change.
5626         Make sure async-start/done messages don't interfere with the bin's
5627         state when it's busy.
5628         After the state change, let the bin check which elements completed the
5629         state change while it was busy so that it can update its state.
5630
5631 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
5632
5633         * docs/random/release:
5634         Add a note about updating the doap file to the release checklist
5635
5636 2007-06-18  Wim Taymans  <wim@fluendo.com>
5637
5638         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5639         (gst_single_queue_push_one), (gst_multi_queue_chain),
5640         (gst_multi_queue_sink_event):
5641         Make sure we don't reference the buffer/event after we have given away
5642         ownership in the queue.
5643
5644 2007-06-18  Wim Taymans  <wim@fluendo.com>
5645
5646         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5647         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5648         Update queue state _after_ adding the item in the queue because else we
5649         could end up being full without the element added yet.
5650
5651 2007-06-18  Wim Taymans  <wim@fluendo.com>
5652
5653         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5654         (gst_bin_remove_func), (gst_bin_get_state_func),
5655         (gst_bin_element_set_state), (gst_bin_continue_func),
5656         (bin_push_state_continue), (bin_handle_async_start),
5657         (bin_handle_async_done), (gst_bin_handle_message_func):
5658         * gst/gstbin.h:
5659         Immediatly commit the toplevel bin state when receiving an async-done
5660         message. This enables us to avoid spawning a thread to commit the state
5661         in some common cases and it also avoids some races.
5662         Avoid spawning a state thread when adding/removing async elements to a
5663         toplevel bin. Instead we immediatly update the bin state.
5664         Get rid of iterating all the children when getting the state in the bin
5665         because it is now always up-to-date.
5666         Fix bug where locked elements would always return _SUCCESS even it they
5667         returned NO_PREROLL before being locked.
5668         Fix the order of the state_change, async-start/done messages that was
5669         sometimes incorrect.
5670         Mark the state_dirty field as deprecated, we don't need it anymore as we
5671         are always up-to-date.
5672
5673         * gst/gstelement.c: (gst_element_get_state_func),
5674         (gst_element_continue_state):
5675         Small debug inprovements.
5676         Return the previous element state return when nothing is pending instead
5677         of blindly returning SUCCESS.
5678
5679         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5680         (gst_sinks_suite):
5681         Add a whole bunch of new testcases.
5682
5683 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5684
5685         * po/uk.po:
5686         * po/vi.po:
5687           Update translations.
5688
5689 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
5690
5691         * gst/gstpad.c:
5692         Fix typo in the docs.
5693
5694 2007-06-15  Wim Taymans  <wim@fluendo.com>
5695
5696         * docs/libs/gstreamer-libs-sections.txt:
5697         Add docs for new methods.
5698
5699 2007-06-15  Wim Taymans  <wim@fluendo.com>
5700
5701         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5702         (gst_multi_queue_item_new):
5703         Don't use GSlice because we don't depend on >= 2.10 yet.
5704
5705 2007-06-15  Wim Taymans  <wim@fluendo.com>
5706
5707         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5708         (update_time_level), (apply_segment), (apply_buffer),
5709         (gst_single_queue_push_one), (gst_multi_queue_item_new),
5710         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5711         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5712         (single_queue_underrun_cb), (single_queue_check_full):
5713         Remove debug printf.
5714
5715 2007-06-15  Wim Taymans  <wim@fluendo.com>
5716
5717         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5718         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5719         (gst_data_queue_set_flushing), (gst_data_queue_push),
5720         (gst_data_queue_pop), (gst_data_queue_drop_head),
5721         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5722         * libs/gst/base/gstdataqueue.h:
5723         Various cleanups.
5724         Added methods to get the current levels and to inform the queue that the
5725         'full' limits changed.
5726
5727         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5728         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5729         (gst_single_queue_flush), (update_time_level), (apply_segment),
5730         (apply_buffer), (gst_single_queue_push_one),
5731         (gst_multi_queue_item_steal_object),
5732         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5733         (gst_multi_queue_loop), (gst_multi_queue_chain),
5734         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5735         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5736         (gst_multi_queue_src_query), (single_queue_overrun_cb),
5737         (single_queue_underrun_cb), (single_queue_check_full),
5738         (gst_single_queue_new):
5739         Keep track of time in the queue by measuring the difference between
5740         running_time on input and output. This gives more accurate results and
5741         can compensate for segments correctly.
5742         Make a queue by default only 5 buffers deep. We will now increase the
5743         buffer size depending on the filledness of the other queues.
5744         Factor out commong flush code.
5745         Make sure we don't add additional refcounts to buffers when we can avoid
5746         it.
5747         Propagate GstFlowReturn differently.
5748         Use GSlice for intermediate GstMultiQueueItems.
5749         Keep track of EOS.
5750         Resize queues on over and underruns based on filled level of other
5751         queues.
5752         When checking if the queue is filled, prefer to measure in time if we
5753         can and fall back to bytes when no time is known.
5754
5755         * plugins/elements/gstqueue.c:
5756         Fix return value.
5757
5758 2007-06-15  Wim Taymans  <wim@fluendo.com>
5759
5760         * libs/gst/base/gstbasetransform.c:
5761         (gst_base_transform_sink_event):
5762         Work around the brokenness of the event vmethod in basetransform. Prefer
5763         to return TRUE when the subclass returned FALSE (meaning don't forward
5764         the event). 
5765
5766         * libs/gst/base/gstbasetransform.h:
5767         Clarify the docs.
5768
5769 2007-06-15  Wim Taymans  <wim@fluendo.com>
5770
5771         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5772         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5773         (gst_base_src_default_query), (gst_base_src_get_range),
5774         (gst_base_src_start):
5775         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5776         Improve debugging.
5777
5778 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5779
5780         * docs/pwg/advanced-types.xml:
5781           Added more formats to caps table.
5782
5783 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5784
5785         * tools/gst-launch.c: (main):
5786           Remove crufy code. GOption does not need this workaround.
5787
5788 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5789
5790         * libs/gst/controller/gstcontroller.c:
5791         (gst_controlled_property_set_interpolation_mode):
5792           Fix wrong getter for enums in controller.
5793
5794 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5795
5796         * libs/gst/check/gstcheck.c: (gst_check_init):
5797           Intercept criticals and warnings in the Gst-Phonon log domain, so
5798           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5799           well.
5800         
5801 2007-06-14  Edward Hervey  <edward@fluendo.com>
5802
5803         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5804         Since this file doesn't include "gst.h" it will not go through the
5805         macros that disable GST_LOG if debugging was disabled.
5806
5807 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5808
5809         * libs/gst/check/Makefile.am:
5810         * libs/gst/check/gstcheck.h:
5811         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5812         * pkgconfig/gstreamer-check.pc.in:
5813           Ugly 'fix' for the controller unit test on the p5 bot: in
5814           fail_unless_equals_float() check whether the values are 'almost
5815           equal' by allowing a small absolute error, which should be good
5816           enough for our use cases (normal numbers and values close to 0).
5817           Proper fixage left to floating point arithmetic aficionados.
5818
5819 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5820
5821         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5822         (gst_base_sink_render_object), (gst_base_sink_get_position):
5823           Add two breaks thats where missing.
5824
5825 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5826
5827         * docs/libs/gstreamer-libs-sections.txt:
5828         * libs/gst/check/gstcheck.h:
5829           API: add fail_unless_equals_float() and assert_equals_float().
5830           Add documentation for some of the macros.
5831
5832         * tests/check/libs/controller.c: (GST_START_TEST):
5833           Use newly-added asserts.
5834
5835 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5836
5837         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5838           Show the caps change in the log to help spotting the case of not
5839           exactly matching caps.
5840
5841 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5842
5843         * docs/pwg/building-boiler.xml:
5844           Fix typos, spotted by Thijs Vermeir (#447190).
5845
5846 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5847
5848         * docs/plugins/tmpl/.cvsignore:
5849         Ignore file to keep the buildbots happy
5850
5851 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5852
5853         * docs/plugins/Makefile.am:
5854         * docs/plugins/gstreamer-plugins-docs.sgml:
5855         * docs/plugins/gstreamer-plugins-sections.txt:
5856         Pull fdsink into the docs too.
5857
5858 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
5859
5860         * libs/gst/controller/gstinterpolation.c:
5861         Actually use the new functions with min/max checks for the trigger and
5862         none interpolation modes for get() and get_value_array() instead of
5863         just the latter.
5864
5865 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
5866
5867         * libs/gst/controller/gstcontroller.c:
5868         (gst_controlled_property_free):
5869         Unset the minimum and maximum GValues when freeing the corresponding
5870         GstControllerProperty struct.
5871
5872 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
5873
5874         * libs/gst/controller/gstcontroller.c:
5875         (gst_controlled_property_new):
5876         * libs/gst/controller/gstcontrollerprivate.h:
5877         * libs/gst/controller/gstinterpolation.c:
5878         (gst_controlled_property_find_control_point_node),
5879         (interpolate_none_get), (interpolate_none_get_enum_value_array),
5880         (interpolate_none_get_string_value_array),
5881         (interpolate_trigger_get),
5882         (interpolate_trigger_get_enum_value_array),
5883         (interpolate_trigger_get_string_value_array):
5884         Protect against values larger or smaller than the minimum or maximum
5885         allowed value for the property when using values that can be compared.
5886
5887         Optimize trigger interpolator a bit by taking the last requested value
5888         into account instead of always looping through the complete list.
5889
5890         Fix coding style a bit, everywhere else we use "return foo" instead
5891         of "return (foo)".
5892         
5893         * tests/check/libs/controller.c: (GST_START_TEST),
5894         (gst_controller_suite):
5895         Add unit test for the protection against too large or too small
5896         values.
5897
5898 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
5899
5900         * docs/random/slomo/controller.txt:
5901         Add some thoughts about the future of the controller.
5902
5903 2007-06-08  Wim Taymans  <wim@fluendo.com>
5904
5905         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5906         Don't overflow in retimestamping code.
5907
5908 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
5909
5910         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
5911         Use gst_util_guint64_to_gdouble for conversions.
5912         * win32/common/libgstreamer.def:
5913         Add new exported functions.
5914
5915 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
5916
5917         * gst/gstutils.c:
5918           Small docs addition.
5919
5920 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5921
5922         * README:
5923           Remove that test line again.
5924
5925 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5926
5927         * README:
5928           Test commit mail sending.
5929
5930 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5931
5932         * configure.ac:
5933           Fix typo and test commit mail sending.
5934
5935 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5936
5937         * tests/examples/controller/audio-example.c:
5938           Improve comment and test commit mail sending.
5939
5940 2007-06-07  Wim Taymans  <wim@fluendo.com>
5941
5942         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
5943         (gst_bin_remove_func), (gst_bin_element_set_state),
5944         (bin_handle_async_start), (bin_handle_async_done),
5945         (gst_bin_handle_message_func):
5946         Add helper function to find messages.
5947         Generate the async-done messages together with the state change
5948         messages.
5949         Small cleanups in handling toplevel bins.
5950
5951 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
5952
5953         * libs/gst/base/gstdataqueue.c:
5954         * libs/gst/base/gstdataqueue.h:
5955         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5956         (gst_multi_queue_item_new), (gst_multi_queue_chain),
5957         (gst_multi_queue_sink_event):
5958         * tests/check/elements/multiqueue.c: (multiqueue_suite):
5959           Fix multiqueue leaking buffers and events when downstream or the
5960           queue are flushing. Make refcounting assumptions explicit and
5961           document them (shouldn't break existing code that uses it other than
5962           maybe leak miniobjects, but that already happens anyway). Add unit
5963           test for the most common flushing case. Fixes #423700.
5964           
5965 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
5966
5967         * libs/gst/controller/gstcontroller.c:
5968         Clarify docs: The get_all, get_value_array(s) functions
5969         don't modify the GObject properties.
5970
5971 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
5972
5973         * libs/gst/controller/gstcontroller.c:
5974         (gst_controlled_property_set_interpolation_mode),
5975         (gst_controlled_property_prepend_default),
5976         (gst_controlled_property_new), (gst_controller_set_unlocked),
5977         (gst_controller_set), (gst_controller_set_from_list),
5978         (gst_controller_unset), (gst_controller_unset_all):
5979         * libs/gst/controller/gstcontrollerprivate.h:
5980         * libs/gst/controller/gstinterpolation.c:
5981         Factor out the 'set' logic into gst_controller_set_unlocked for the
5982         gst_controller_set and gst_controller_set_from_list functions.
5983
5984         To make life of the interpolators easier always add a control point
5985         at timestamp zero with the default value.
5986
5987         In the linear interpolator make things more obvious by better variable
5988         naming (slope).
5989
5990         Implement cubic interpolation mode (by using a natural cubic spline)
5991         and map the quadratic interpolation mode to this too (as quadratic
5992         doesn't make much sense, see discussion on the list).
5993
5994         * tests/check/libs/controller.c: (GST_START_TEST),
5995         (gst_controller_suite):
5996         Add unit test for the cubic interpolation mode and check everywhere
5997         if the interpolation mode could be set as expected.
5998
5999 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6000
6001         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6002           Don't use GLib-2.10 functions, we still depend on
6003           GLib-how-old-is-it-again-2.8.
6004
6005 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6006
6007         * docs/gst/gstreamer-sections.txt:
6008         * gst/Makefile.am:
6009         * gst/gst.c:
6010         * gst/gst.h:
6011         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6012         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6013         (_gst_param_fraction_values_cmp),
6014         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6015         * gst/gstparamspecs.h:
6016         * gst/gstvalue.c:
6017         * tests/check/Makefile.am:
6018         * tests/check/gst/.cvsignore:
6019         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6020         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6021         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6022         (GST_START_TEST), (gst_param_spec_suite):
6023           API: add GstParamSpecFraction, so elements can have fraction
6024           properties without lots of painful string parsing (#444648).
6025
6026 2007-06-05  Wim Taymans  <wim@fluendo.com>
6027
6028         * gst/gstobject.c: (gst_object_class_init):
6029         Fix signal signature.
6030
6031         * gst/gstsegment.c:
6032         Add small clarification in the api docs.
6033
6034         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6035         States are protected with object lock.
6036
6037 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6038
6039         * AUTHORS:
6040         I should probably be listed as an author by now.
6041
6042         * docs/random/release:
6043         Update the release doc
6044
6045 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6046
6047         * gst/gstvalue.c:
6048           Make docs for gst_value_compare() mention return enums that
6049           actually exist.
6050
6051 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6052
6053         * configure.ac:
6054           Back to CVS
6055
6056 === release 0.10.13 ===
6057
6058 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6059
6060         * configure.ac:
6061           releasing 0.10.13, "With or without you"
6062
6063 2007-05-25  Wim Taymans  <wim@fluendo.com>
6064
6065         * gst/gstbin.c: (bin_handle_async_done):
6066         Make sure that the child bin stops after completing the async state
6067         change so that the parent can continue the state change to PLAYING.
6068         Fixes #441159.
6069
6070 2007-05-25  Wim Taymans  <wim@fluendo.com>
6071
6072         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6073         (unref_data), (gst_collect_pads_remove_pad),
6074         (gst_collect_pads_check_pads):
6075         Use additional refcounting to avoid crashes when dynamically adding and
6076         removing pads. Fixes #420206.
6077
6078 2007-05-24  Wim Taymans  <wim@fluendo.com>
6079
6080         * tools/gst-launch.c: (event_loop):
6081         When buffering goes from a two digit to a single digit number, make sure
6082         to remove the old second digit by writing a blank over it.
6083
6084 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6085
6086         * libs/gst/base/gstdataqueue.c:
6087           Eliminate tabs and trailing comma in enum list; fix some typos.
6088
6089 2007-05-24  Wim Taymans  <wim@fluendo.com>
6090
6091         * tests/check/gst/gstbin.c: (GST_START_TEST):
6092         Allow refcount of 3 and 4 because some state thread might still be busy
6093         with it.
6094
6095 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6096
6097         * plugins/elements/Makefile.am:
6098         * plugins/elements/gstmultiqueue.h:
6099         * plugins/elements/gstqueue.h:
6100           These are not installed headers, no need for padding.
6101
6102 2007-05-24  Wim Taymans  <wim@fluendo.com>
6103
6104         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6105         (gst_bin_continue_func):
6106         Enable latency for next release.
6107         Restore STATE_LOCK around recalc_state that was left out during the
6108         rewrite and could result in racy behaviour when _get_state and
6109         recalc_state are run concurrently. See #440463.
6110
6111 2007-05-23  Wim Taymans  <wim@fluendo.com>
6112
6113         * tests/check/gst/gstsystemclock.c: (store_callback),
6114         (GST_START_TEST):
6115         Improve test_async_order to also work when both timers are already
6116         expired when we get scheduled to check it.
6117
6118 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6119
6120         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6121         (gst_bin_set_property), (gst_bin_get_property),
6122         (gst_bin_remove_func), (gst_bin_handle_message_func):
6123         * gst/gstbin.h:
6124           'private' is a c++ keyword, let's not use that in header files,
6125           otherwise c++ compilers will throw a tantrum.
6126
6127 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6128
6129         * plugins/elements/gstelements.c:
6130         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6131         (gst_file_sink_get_current_offset):
6132         * plugins/indexers/gstindexers.c: (plugin_init):
6133           Use #ifdef for HAVE_XYZ for consistency.
6134
6135         * tests/check/Makefile.am:
6136         * tests/check/elements/.cvsignore:
6137         * tests/check/elements/filesink.c: (setup_filesink),
6138         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6139           Add some unit tests for filesink.
6140
6141 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6142
6143         Patch by: Mark Nauwelaerts <manauw at skynet be>
6144
6145         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6146         (gst_file_sink_query), (gst_file_sink_do_seek),
6147         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6148         * plugins/elements/gstfilesink.h:
6149           Fix position reporting; rename data_written member to current_pos to
6150           reflect its real meaning (fixes #412648).
6151
6152 2007-05-22  Edward Hervey  <edward@fluendo.com>
6153
6154         * docs/gst/gstreamer-sections.txt:
6155         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6156         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6157         (gst_bin_remove_func), (gst_bin_handle_message_func):
6158         * gst/gstbin.h:
6159         Add a property for bins that handle the state change of their childs.
6160         Fixes #435880
6161
6162 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6163
6164         * libs/gst/controller/gstinterpolation.c:
6165         Use an array of the correct type when using _get_value_array with
6166         linear interpolation.
6167
6168 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6169
6170         * gst/gstelement.c (gst_element_requires_clock,
6171           gst_element_provides_clock, gst_element_request_pad,
6172           gst_element_class_set_details, gst_element_class_set_details_simple,
6173           gst_element_default_send_event, gst_element_abort_state,
6174           gst_element_continue_state, gst_element_set_state,
6175           gst_element_set_state_func, iterator_activate_fold_with_resync):
6176         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6177           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6178           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6179           gst_pad_get_range, gst_pad_pull_range):
6180         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6181           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6182           GstPadActivateModeFunction, GstPadChainFunction,
6183           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6184           GstPadFixateCapsFunction, GstPadTemplate):
6185         * gst/gstpipeline.c (gst_pipeline_change_state,
6186           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6187           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6188           gst_pipeline_get_delay):
6189           Whitespace and docs fixes.
6190
6191 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6192
6193         * libs/gst/controller/gstinterpolation.c:
6194         (interpolate_trigger_get_enum_value_array),
6195         (interpolate_trigger_get_string_value_array):
6196         Add support for retrieving value arrays when using the trigger
6197         interpolation mode. 
6198
6199 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6200
6201         * libs/gst/controller/gstcontroller.c:
6202         (gst_controller_get_value_array):
6203         * libs/gst/controller/gstcontroller.h:
6204         Clarify the docs of gst_controller_get_value_array(): The array where
6205         the values should be written to must be allocated as there seems to be
6206         no way to get the size of a random GType. This doesn't change any
6207         behaviour. Also fix some typos all over the place and remove an unused,
6208         commented function that is not necessary as g_object_set() could be
6209         used instead.
6210         * tests/check/libs/controller.c: (GST_START_TEST),
6211         (gst_controller_suite):
6212         Add unit test for gst_controller_get_value_array().
6213
6214 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6215
6216         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6217
6218         Disable part of the gst_buffer_try_new_and_alloc test, because
6219         it can happily succeed on 64-bit systems where there's more address
6220         space available.
6221
6222 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6223
6224         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6225         Add unit test for the improved caps checking from bug #421543.
6226
6227 2007-05-21  Wim Taymans  <wim@fluendo.com>
6228
6229         * docs/design/part-synchronisation.txt:
6230         Small addition.
6231
6232         * gst/gstbin.c: (gst_bin_query):
6233         * plugins/elements/gstqueue.c: (apply_segment):
6234         Improve debugging.
6235
6236         * gst/gstmessage.h:
6237         Improve docs.
6238
6239 2007-05-21  Wim Taymans  <wim@fluendo.com>
6240
6241         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6242         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6243         (gst_pad_configure_src):
6244         Added simple version of improved caps checking. It was previously
6245         assumed that a setcaps function would check the validity of the caps but
6246         people prefer us to check caps against the template automatically. 
6247         Fixes #421543.
6248
6249 2007-05-21  Wim Taymans  <wim@fluendo.com>
6250
6251         * libs/gst/base/gstbasetransform.h:
6252         Fix macro for locking/unlocking the transform lock.
6253
6254 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6255
6256         * docs/plugins/tmpl/.cvsignore:
6257           Ignore more.
6258
6259 2007-05-18  Edward Hervey  <edward@fluendo.com>
6260
6261         * plugins/elements/gstqueue.c: (gst_queue_loop):
6262         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6263         for the subtle art of warning a potentially blocking thread that it
6264         should check the source pad return value, and relay the information
6265         upstream.
6266
6267 2007-05-18  Edward Hervey  <edward@fluendo.com>
6268
6269         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6270         Release the queue lock !
6271
6272 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6273
6274         * docs/libs/gstreamer-libs-sections.txt:
6275         Add the two new controller functions to the appropiate places.
6276
6277 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6278
6279         reviewed by: Stefan Kost <ensonic@users.sf.net>
6280
6281         * libs/gst/controller/gstcontroller.c:
6282         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6283         (_gst_controller_get_property), (_gst_controller_set_property),
6284         (_gst_controller_init), (_gst_controller_class_init):
6285         * libs/gst/controller/gstcontroller.h:
6286         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6287         (gst_object_get_control_rate), (gst_object_set_control_rate):
6288         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6289         Add API that provides sync suggestion timestamps for elements that
6290         call gst_object_sync_values() from which those elements can subdivide
6291         their processing loop to get the best results for the controlled
6292         properties. For now it just suggests last_sync + control_rate as
6293         new timestamp but this will be improved in the future.
6294
6295         While doing that change the control-rate property to a GstClockTime
6296         from guint and change it's meaning from samples to nanoseconds as
6297         the GstController doesn't know anything about sampling rate. Strictly
6298         speaking this breaks ABI but as the control-rate property didn't do
6299         anything in the past and as such couldn't be used this should be no
6300         problem.        
6301
6302 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6303
6304         reviewed by: Stefan Kost <ensonic@users.sf.net>
6305
6306         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6307         (gst_controller_unset_all):
6308         * libs/gst/controller/gstcontrollerprivate.h:
6309         * libs/gst/controller/gstinterpolation.c:
6310         (gst_controlled_property_find_control_point_node):
6311         Save last synced value from the list to continue searching from there
6312         in future syncs. This speeds everything up a bit.
6313         
6314 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6315
6316         reviewed by: Stefan Kost <ensonic@users.sf.net>
6317
6318         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6319         (gst_control_point_find), (gst_controlled_property_new),
6320         (gst_control_point_free), (gst_controlled_property_free),
6321         (gst_controller_set), (gst_controller_set_from_list),
6322         (gst_controller_unset), (gst_controller_unset_all),
6323         (gst_controller_sync_values):
6324         * libs/gst/controller/gstcontroller.h:
6325         * libs/gst/controller/gstcontrollerprivate.h:
6326         * libs/gst/controller/gstinterpolation.c:
6327         (gst_controlled_property_find_control_point_node),
6328         (interpolate_none_get), (interpolate_trigger_get):
6329         Add a new private GstControlPoint struct which "inherits" from
6330         GstTimedValue to allow different interpolators to store internal
6331         values next to each control point. From the outside everything is
6332         still a GstControlPoint so we don't loose binary compatibility.
6333         Also fixup all the GValue handling to not leak GValues or list nodes.
6334         * tests/check/libs/controller.c: (GST_START_TEST):
6335         Free the list nodes and GValues in the controller_misc test.
6336
6337 2007-05-17  Edward Hervey  <edward@fluendo.com>
6338
6339         * gst/gstsegment.c:
6340         Small doc fix.
6341
6342 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6343
6344         * gst/gstplugin.c: (gst_plugin_load_file):
6345           If we fail to load a plugin because of unresolved symbols or missing
6346           libraries and spew a warning to stderr, we may just as well mention
6347           which plugin it was that failed to load.
6348
6349 2007-05-13  David Schleef  <ds@schleef.org>
6350
6351         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6352           handles the case when ENABLE_GTK_DOC is false, and installs
6353           the prebuilt documentation.  So gtk-doc subdirs are 
6354           unconditionally enabled.  Fixes: #349099.
6355
6356 2007-05-13  David Schleef  <ds@schleef.org>
6357
6358         * gst/gstutils.h: Reword some documentation.
6359
6360 2007-05-12  David Schleef  <ds@schleef.org>
6361
6362         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6363           do anything with the passed "module" parameter, so remove it.
6364           Allows removal of additional vestigal code.
6365
6366 2007-05-12  David Schleef  <ds@schleef.org>
6367
6368         * gst/gstplugin.c:
6369           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6370           Switch to using g_stat() because it's more portable.
6371
6372 2007-05-12  David Schleef  <ds@schleef.org>
6373
6374         * gst/gst.c:
6375           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6376           parsing for embedded systems.
6377         * gst/gstelementfactory.c:
6378           Allow gst_element_register() to be called with plugin==NULL.
6379           Did nobody notice that static elements were broken?
6380
6381 2007-05-12  Wim Taymans  <wim@fluendo.com>
6382
6383         * tools/gst-launch.c: (event_loop):
6384         Give more interesting info when buffering starts and stops.
6385         Fix case where buffering starts but we fail to update the buffering flag
6386         because the target state is not PLAYING.
6387
6388 2007-05-12  Wim Taymans  <wim@fluendo.com>
6389
6390         * plugins/elements/gstqueue.c: (gst_queue_init),
6391         (gst_queue_finalize), (update_time_level), (apply_segment),
6392         (apply_buffer), (gst_queue_locked_flush),
6393         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6394         (gst_queue_handle_sink_event), (gst_queue_chain),
6395         (gst_queue_push_one), (gst_queue_loop):
6396         * plugins/elements/gstqueue.h:
6397         Refactor an cleanup queue a bit.
6398         Do better time level calculations that also work when the srcpad is not
6399         yet running.
6400         Remove some unneeded debug lines.
6401
6402         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6403         Added testcase for time level measurement.
6404         Try to make some stuff more racefree.
6405
6406 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6407
6408         * gst/gsturi.c: (gst_element_make_from_uri):
6409           Don't leak plugin feature.
6410
6411         * tests/check/Makefile.am:
6412         * tests/check/gst/.cvsignore:
6413         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6414           Add brain-dead unit test.
6415
6416 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6417
6418         Patch by: Jeroen Wouters <woutersj at gmail com>
6419
6420         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6421           Treat protocol strings in a case-insensitive way (#437563).
6422
6423 2007-05-11  Michael Smith <msmith@fluendo.com>
6424
6425         * gst/gstplugin.c: (gst_plugin_load_file):
6426         * gst/gstregistry.c: (gst_registry_scan_path_level):
6427           Don't print a g_warning for any failure to load a shared object.
6428           Instead, push this down into gstplugin.c, and warn _only_ if we
6429           failed to open the module (i.e. failure to link).
6430           Avoids warnings on normal, working, non-plugin .so files.
6431
6432 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6433
6434         * gst/gstplugin.c (gst_plugin_load_file):
6435         * gst/gstregistry.c (GST_CAT_DEFAULT,
6436           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6437           Print a g_warning if there was an error when loading a plugins during
6438           registry scan. The shuld help beginners starting with gst-plugin
6439           template.
6440
6441 2007-05-10  Wim Taymans  <wim@fluendo.com>
6442
6443         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6444         (update_time_level), (gst_queue_locked_flush),
6445         (gst_queue_handle_sink_event), (gst_queue_chain),
6446         (gst_queue_push_one), (gst_queue_loop):
6447         * plugins/elements/gstqueue.h:
6448         Be smarter when calculating the current amount of data in the queue by
6449         measuring the difference between start and end timestamps (in running
6450         time) inside the queue. Fixes #432876.
6451         API: GstQueue::pushing to notify elements that we are pushing data again
6452         since the running signal is rather broken for this purpose.
6453
6454 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6455
6456         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6457           gst_queue_base_init, gst_queue_init):
6458           use GST_BOILERPLATE
6459
6460 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6461
6462         * win32/common/libgstreamer.def:
6463         Add new exported functions.
6464         * win32/vs6/grammar.dsp:
6465         Use grammar pre-generated files.
6466
6467 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6468
6469         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6470
6471         * gst/Makefile.am:
6472         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6473         * gst/gstparse.h:
6474         * gst/gstutils.c: (gst_parse_bin_from_description):
6475         * gst/gstutils.h:
6476           Maintain API and ABI when --disable-parse is used. Now that
6477           we have an appropriate error code, we can just return NULL and the
6478           appropriate error when gst_parse_launch() is used despite it having
6479           been disabled (#342564).
6480
6481         * tests/check/Makefile.am:
6482         * tests/check/pipelines/.cvsignore:
6483         * tests/check/pipelines/parse-disabled.c:
6484           Make sure these functions exist and return NULL plus a GError when
6485           --disable-parse is used.
6486
6487 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6488
6489         * tests/benchmarks/complexity.c: (main):
6490         * tests/benchmarks/mass-elements.c: (main):
6491           Set a good example and don't leak messages.
6492
6493 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6494
6495         * docs/gst/Makefile.am:
6496         * docs/libs/Makefile.am:
6497           Correct fixxrefs options.
6498
6499         * docs/plugins/Makefile.am:
6500         * docs/plugins/gstreamer-plugins-docs.sgml:
6501         * docs/plugins/gstreamer-plugins-sections.txt:
6502         * plugins/elements/Makefile.am:
6503         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6504         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6505           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6506           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6507           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6508           _GstCapsFilterClass, trans_class):
6509         * plugins/elements/gstelements.c (name, rank, type, _elements):
6510         * plugins/elements/gstidentity.c
6511           (gst_identity_check_imperfect_timestamp,
6512           gst_identity_check_imperfect_offset):
6513           Document capsfilter and add doc-blurb to identity.
6514
6515 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6516
6517         * libs/gst/controller/gstcontroller.c:
6518         (gst_controlled_property_set_interpolation_mode):
6519         * libs/gst/controller/gstinterpolation.c:
6520           Don't crash if someone tries to set an interpolation mode that
6521           is invalid or that isn't supported yet. Fixes #422295.
6522
6523         * tests/check/libs/controller.c: (GST_START_TEST),
6524         (gst_controller_suite):
6525           Add a test case for the above.
6526
6527 2007-05-03  Edward Hervey  <edward@fluendo.com>
6528
6529         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6530         Properly set the last_stop position on GstSegment. This will only happen
6531         if there is a buffer to push out.
6532
6533 2007-05-03  Wim Taymans  <wim@fluendo.com>
6534
6535         * libs/gst/base/gstbasetransform.c:
6536         (gst_base_transform_buffer_alloc):
6537         always_in_place does not mean that the sink and source caps are the
6538         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6539
6540 2007-05-03  Wim Taymans  <wim@fluendo.com>
6541
6542         * docs/libs/gstreamer-libs-sections.txt:
6543         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6544         (gst_base_src_default_query), (gst_base_src_get_range):
6545         * libs/gst/base/gstbasesrc.h:
6546         API: gst_base_src_query_latency(). Added method so that subclasses can
6547         easily get the latency values of the base source class.
6548
6549 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6550
6551         * tools/gst-inspect.c (print_implementation_info):
6552         Remove 0.8 cruft.
6553
6554 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6555
6556         * tools/Makefile.am:
6557         * tools/gst-launch.1.in:
6558           Don't create a customised man page based on the host architecture,
6559           describe the default registry path generically. That way the man
6560           page is the same for all architectures and packagers have one
6561           multilib issue less to deal with. Fixes #434926.
6562
6563 2007-05-02  Wim Taymans  <wim@fluendo.com>
6564
6565         * gst/gstpad.c:
6566         Fix documentation as spotted by rg on IRC. 
6567
6568 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6569
6570         * gst/gstutils.c:
6571           Improve docs for gst_element_{link,unlink}.
6572
6573 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6574
6575         * docs/design/part-events.txt:
6576         * docs/design/part-overview.txt:
6577         * gst/gstevent.c:
6578         * gst/gsturi.c:
6579         * gst/gsturi.h:
6580         * libs/gst/base/gstbasesink.c:
6581           Typo fixes; minor docs addition.
6582
6583 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6584
6585         * docs/gst/gstreamer-sections.txt:
6586         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6587         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6588         * gst/gsturi.h:
6589         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6590         or src that supports a given URI protocol exists.
6591
6592 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6593
6594         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6595         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6596         Set the location to NULL if "file://" is set as URI. Otherwise
6597         some random previous URI would still be set if "file://" is
6598         set on an already used filesink/filesrc.
6599
6600 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6601
6602         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6603         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6604         Special case the "file://" URI as as this is used by some
6605         applications to test with gst_element_make_from_uri if there's
6606         an element that supports the URI protocol.
6607         Also move the g_path_is_absolute() check for the location part
6608         of the URI to also check this for "file://localhost/bla" URIs.
6609
6610 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
6611
6612         * docs/gst/gstreamer-sections.txt:
6613         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6614         * gst/gstbuffer.h:
6615         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6616         (gst_buffer_suite):
6617           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6618
6619 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
6620
6621         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6622         (gst_registry_binary_load_pad_template),
6623         (gst_registry_binary_load_plugin),
6624         (gst_registry_binary_read_cache):
6625         * gst/gstregistrybinary.h:
6626           Implement no-mmap alternative for registry reading. Do code cleanups.
6627           Add more comments about avoiding strdups for all text data. Comments
6628           welcome.
6629
6630 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6631
6632         * gst/gstregistrybinary.h (GstBinaryPluginElement,
6633           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6634           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6635           Comment structs and reformat to fix the build (that stuff should go
6636           into a priv. header).
6637
6638 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6639
6640         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6641         (gst_registry_binary_load_feature):
6642         * gst/gstregistrybinary.h:
6643           Refactor so that we can implement multiple features. Add support for
6644           TypeFindFactory features.
6645
6646 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
6647
6648         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6649
6650         * configure.ac:
6651           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6652
6653 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
6654
6655         * gst/gstbin.c: (gst_bin_element_set_state),
6656         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6657         (bin_handle_async_done), (gst_bin_handle_message_func):
6658           Fix build with --gst-disable-gst-debug
6659
6660 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
6661
6662         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6663           Make sure streaming has finished before calling the ::stop() vfunc,
6664           since that vfunc might clear state which is being used in the
6665           streaming thread. This fixes a race that caused crashes in
6666           audioresample when shutting down a pipeline (#420106).
6667
6668 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6669
6670         * docs/gst/gstreamer-sections.txt:
6671           That was one byte missing.
6672
6673 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6674
6675         * configure.ac:
6676         * docs/gst/gstreamer-sections.txt:
6677         * gst/Makefile.am:
6678         * gst/gstconfig.h.in:
6679         * gst/gstobject.c: (gst_object_class_init),
6680         (gst_signal_object_class_init):
6681         * gst/gstobject.h:
6682           2nd attempt to have a xml-less build as a joined effort of #413123
6683           and #421480.
6684
6685 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6686
6687         * docs/design/draft-tagreading.txt:
6688           Added open issues/thoughts to draft.
6689
6690 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6691
6692         * gst/parse/grammar.tab.pre.c:
6693         * gst/parse/grammar.tab.pre.h:
6694         * gst/parse/lex._gst_parse_yy.pre.c:
6695         Update the prebuild parser sources.
6696
6697 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6698
6699         * gst/parse/Makefile.am:
6700         And now fix the building of the flex sources. Now everything should
6701         work as expected.
6702
6703 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6704
6705         * gst/parse/Makefile.am:
6706         Now hopefully fix the build failures by setting proper rule
6707         dependencies and moving instead of copying.
6708
6709 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6710
6711         * tests/benchmarks/complexity.gnuplot:
6712         * tests/benchmarks/complexity.scm:
6713         * tests/benchmarks/mass-elements.gnuplot:
6714         * tests/benchmarks/mass-elements.scm:
6715           Total licensification.
6716
6717 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6718
6719         * gst/parse/Makefile.am:
6720           Fix the build by correcting the rule that gave wrong files to flex.
6721
6722 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6723
6724         * tests/benchmarks/complexity.c:
6725         * tests/benchmarks/mass-elements.c:
6726           Change licence to LGPL as granted by Benjamin and Andy.
6727
6728 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6729
6730         * gst/parse/Makefile.am:
6731         Add correct grammar.tab.h dependency if compiling without new enough
6732         flex. Fixes #431150.
6733
6734 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6735
6736         * gst/parse/Makefile.am:
6737         Fix typo and use outdated sources if the flex/bison sources are newer
6738         than the pregenerated ones but flex is too old. Print a warning in
6739         that case. This should fix the build on the build bot.
6740
6741 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6742
6743         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6744         * gst/parse/Makefile.am:
6745         * gst/parse/grammar.y:
6746         * gst/parse/parse.l:
6747         Make the parser reentrant and recursively callable. This requires flex
6748         >= 2.5.31, for older versions pregenerated sources are used as we
6749         can't bump the build dependency. Finally fixes #349180.
6750
6751         * gst/gstparse.c: (gst_parse_launch):
6752         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6753         now anyway.
6754
6755         * docs/gst/Makefile.am:
6756         * docs/gst/Makefile.am:
6757         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6758         (__gst_parse_strfree), (__gst_parse_link_new),
6759         (__gst_parse_link_free), (__gst_parse_chain_new),
6760         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6761         (gst_parse_element_set), (gst_parse_free_link),
6762         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6763         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6764         (_gst_parse_launch):
6765         * gst/parse/grammar.tab.pre.h:
6766         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6767         (yy_get_previous_state), (yy_try_NUL_trans), (input),
6768         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6769         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6770         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6771         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6772         (_gst_parse_yypop_buffer_state),
6773         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6774         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6775         (yy_fatal_error), (_gst_parse_yyget_extra),
6776         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6777         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6778         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6779         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6780         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6781         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6782         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6783         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6784         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6785         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6786         (_gst_parse_yyfree):
6787         If the installed flex version is too old use pre-generated parser
6788         sources. These pre-generated parser sources are always updated when
6789         the actual flex/bison sources change but require everybody who wants
6790         to change something in the parser to have flex >= 2.5.31 installed.
6791
6792 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
6793
6794         * common/m4/gst-gettext.m4:
6795         * gst/gst-i18n-lib.h:
6796           Make --disable-nls to work
6797
6798 2007-04-17  Wim Taymans  <wim@fluendo.com>
6799
6800         * gst/gstconfig.h.in:
6801         Revert previous change that broke the build.
6802
6803 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
6804
6805         * configure.ac:
6806         * gst/Makefile.am:
6807         * gst/gstconfig.h.in:
6808           Drop libxml2 dependency when building with 
6809           --enable-binary-registry --disable-loadsave
6810
6811 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
6812
6813         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6814         (gst_registry_binary_read_cache):
6815         * gst/gstregistrybinary.h:
6816           Remove unnecessary <sys/mman.h> include which broke the win32 build
6817           with MingW; move includes from header file to .c file, even if the
6818           header file isn't installed; use g_strerror() where UTF-8 strings
6819           are expected, such as in GST_DEBUG messages.
6820
6821 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6822
6823         * docs/libs/gstreamer-libs-sections.txt:
6824         Remove bogus addition for API I didn't end up keeping.
6825
6826         * libs/gst/base/gstbasesrc.h:
6827         Mention Since: 0.10.13 in the documentation.
6828
6829         Add the API keyword to the previous ChangeLog entry.
6830
6831 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6832
6833         * docs/libs/gstreamer-libs-sections.txt:
6834         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6835         (gst_base_src_default_prepare_seek_segment),
6836         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6837         * libs/gst/base/gstbasesrc.h:
6838         Allow basesrc derived classes to execute seeks in other formats
6839         by providing a prepare_seek_segment vmethod. Sub-classes can choose
6840         to prepare the GstSegment in any format that their perform_seek method
6841         will be able to understand. The default implementation provides the
6842         old behaviour of attempting to convert the seek offsets to the 
6843         configured native format.
6844
6845         API: basesrc::prepare_seek_segment vmethod.
6846
6847 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6848
6849         * gst/gstelement.c: (gst_element_get_state_func):
6850         Don't output the same debug statement twice.
6851
6852         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6853         (gst_adapter_peek), (gst_adapter_take_buffer):
6854         Optimise the case where we have buffers at the head of the queue that
6855         can be joined quickly (because they're contiguous sub-buffers) by
6856         merging them together rather than copying data out into new memory.
6857
6858         * gst/parse/grammar.y:
6859         * tests/check/pipelines/parse-launch.c:
6860         Fix a leak in an error path for parse_launch, and add a check 
6861         for it to the testsuite.
6862
6863 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6864
6865         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6866           Don't deadlock when releasing a pad - gst_pad_set_active may try
6867           and take the multiqueue lock too.
6868
6869 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6870
6871         * gst/gsterror.c: (_gst_core_errors_init):
6872         * gst/gsterror.h:
6873           API: add GST_CORE_ERROR_DISABLED (#392804).
6874
6875 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6876
6877         * docs/faq/gst-uninstalled:
6878           don't get empty paths on the PATH variables
6879         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6880           Don't format for the uncommon terminal width of 84 characters.
6881
6882 2007-04-06  Wim Taymans  <wim@fluendo.com>
6883
6884         * gst/gstpipeline.c: (reset_stream_time),
6885         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6886         Only try to select a different pipeline clock when we went back to
6887         PAUSED and not when we merely got flushed.
6888
6889 2007-04-05  Michael Smith  <msmith@fluendo.com>
6890
6891         * tools/gst-launch.1.in:
6892           fractions are better supported in gstreamer than ractions, so
6893           suggest using those.
6894
6895 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6896
6897         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
6898
6899         * po/LINGUAS:
6900         * po/da.po:
6901           Added Danish translation.
6902
6903 2007-04-05  Wim Taymans  <wim@fluendo.com>
6904
6905         * libs/gst/base/gstbasesink.c:
6906         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
6907         Fix leak caused when refusing newsegment after EOS.
6908
6909         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6910         (gst_fake_sink_init), (gst_fake_sink_set_property),
6911         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
6912         (gst_fake_sink_render), (gst_fake_sink_change_state):
6913         * plugins/elements/gstfakesink.h:
6914         Add num-buffers property to make the element generate EOS after a
6915         configurable amount of buffers.
6916         API: fakesink::num-buffers property.
6917
6918         * tests/check/elements/fakesink.c: (GST_START_TEST),
6919         (fakesink_suite):
6920         Fix GstBus leak in test.
6921         Test for fakesink num-buffers.
6922
6923 2007-04-05  Wim Taymans  <wim@fluendo.com>
6924
6925         * libs/gst/base/gstbasesink.c:
6926         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6927         (gst_base_sink_change_state):
6928         Don't accept anything after an EOS, return UNEXPECTED instead.
6929
6930         * tests/check/elements/fakesink.c: (GST_START_TEST),
6931         (fakesink_suite):
6932         Unit test for new EOS behaviour.
6933
6934 2007-04-05  Wim Taymans  <wim@fluendo.com>
6935
6936         * gst/gstelement.c: (gst_element_get_request_pad):
6937         Make padtemplates also work when they don't contain %s or %d.
6938
6939 2007-04-05  Wim Taymans  <wim@fluendo.com>
6940
6941         * docs/gst/gstreamer-sections.txt:
6942         * gst/gstclock.c: (gst_clock_adjust_unlocked),
6943         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
6944         * gst/gstclock.h:
6945         Improve _adjust_unlocked() so that it overflows less.
6946         Add gst_clock_unadjust_unlocked to convert from external time to
6947         internal time based on calibration.
6948         Add some more debug.
6949         API: GstClock::gst_clock_unadjust_unlocked()
6950
6951 2007-04-03  Wim Taymans  <wim@fluendo.com>
6952
6953         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6954
6955         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6956         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
6957         when releasing sink pad. Fixes #425400.
6958
6959 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
6960
6961         * docs/random/ensonic/dynlink.txt:
6962           More work on proposal for new core api.
6963
6964         * docs/libs/gstreamer-libs-sections.txt:
6965         * libs/gst/base/gstbasetransform.h:
6966           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
6967           
6968         * libs/gst/controller/gstcontroller.c:
6969         (on_object_controlled_property_changed),
6970         (gst_controller_sync_values),
6971         (gst_controller_set_interpolation_mode):
6972         * libs/gst/controller/gstcontroller.h:
6973           Less verbose logging add docs for unimplemented parts and correctly
6974           return when using unavailable parts.
6975
6976 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
6977
6978         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
6979         Move all the debug to the CLOCK category, and associate it with
6980         the clock object.
6981
6982 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
6983
6984         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
6985         Make take_buffer a bit quicker by removing redundant checks
6986         caused by calling gst_adapter_take.
6987
6988 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
6989
6990         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
6991           Don't leak GCond.
6992
6993         * tests/check/Makefile.am:
6994         * tests/check/elements/.cvsignore:
6995         * tests/check/elements/multiqueue.c: (setup_multiqueue),
6996         (GST_START_TEST), (multiqueue_suite):
6997           Add some dead simple unit tests for the 'multiqueue' element
6998           (some bits don't work yet and are disabled for now).
6999
7000 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7001
7002         * gst/gstelement.c: (gst_element_get_request_pad),
7003         (gst_element_class_get_request_pad_template):
7004           Make gst_element_get_request_pad() create request pads only for
7005           request pad templates and not for, say, sometimes pad templates.
7006
7007 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7008
7009         * docs/design/draft-klass.txt:
7010           Add example that needs more thinking.
7011         
7012         * docs/design/draft-missing-plugins.txt:
7013           More thoughts about wrapper plugins.
7014         
7015         * docs/random/ensonic/embedded.txt:
7016         * docs/random/ensonic/profiling.txt:
7017           More design work.
7018
7019 2007-03-25  Wim Taymans  <wim@fluendo.com>
7020
7021         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7022         (gst_base_src_loop):
7023         Only push the segment events in the PLAYING state for live sources.
7024
7025 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7026
7027         * gst/gstpipeline.c: (gst_pipeline_change_state):
7028         Modify the clock distribution path in PAUSED->PLAYING so that we 
7029         never attempt to choose a new clock unless we're actually leaving
7030         the PAUSED state for the first time. This prevents choosing a
7031         different clock when the state_change gets called for a 2nd time due
7032         to some element doing an async state change.
7033
7034 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7035
7036         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7037         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7038         (gst_pad_chain_unchecked), (gst_pad_push):
7039         Revert last commit. This needs some more thoughts.
7040
7041 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7042
7043         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7044         (gst_pad_chain_unchecked), (gst_pad_push):
7045         Check in set_caps if the caps are compatible with the pad and remove
7046         two functions that are redundant now. Fixes #421543.
7047
7048 2007-03-22  Wim Taymans  <wim@fluendo.com>
7049
7050         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7051         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7052         Unref some more to make valgrind happy.
7053
7054 2007-03-22  Wim Taymans  <wim@fluendo.com>
7055
7056         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7057         (gst_system_clock_id_wait_jitter),
7058         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7059         Fix anoying regression that survived a few releases. When adding an
7060         async entry while blocking on a sync entry, the sync entry will unblock
7061         but still be busy, so it should continue to wait instead of returning
7062         _BUSY to the app.
7063         Add some comments here and there.
7064
7065         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7066         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7067         Add testcase for this.
7068
7069 2007-03-22  Wim Taymans  <wim@fluendo.com>
7070
7071         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7072         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7073         WRONG_STATE and can silently pause the task. All other cases should
7074         error out.
7075
7076 2007-03-22  Wim Taymans  <wim@fluendo.com>
7077
7078         Patch by: Ville Syrjala <syrjala at sci dot fi>
7079
7080         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7081         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7082         Improve debugging.
7083
7084 2007-03-21  Michael Smith  <msmith@fluendo.com>
7085
7086         * docs/pwg/advanced-types.xml:
7087           Fix some errors in the typefinding docs pointed out on irc.
7088
7089 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7090
7091         * libs/gst/base/gstbasesrc.c:
7092         Clarify FIXME comment in the face of having added unlock_stop()
7093
7094 2007-03-21  Wim Taymans  <wim@fluendo.com>
7095
7096         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7097         Prepare for release where we warn against possible app breakage in the
7098         case of live pipelines along with an env var to enable/disable live
7099         preroll mode (GST_COMPAT=[no-]live-preroll).
7100
7101 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7102
7103         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7104         So we should use correct constants for checking for None offset.
7105
7106 2007-03-20  Wim Taymans  <wim@fluendo.com>
7107
7108         * docs/design/part-block.txt:
7109         Mention the fact that the newly switched element should be set to at
7110         least PAUSED.
7111
7112 2007-03-20  Wim Taymans  <wim@fluendo.com>
7113
7114         * gst/gst.c:
7115         Fix compilation with registry disabled as spotted by Saur.
7116
7117 2007-03-20  Wim Taymans  <wim@fluendo.com>
7118
7119         Patch by: Olivier Crete <tester at tester dot ca>
7120
7121         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7122         Look at the pending state too when syncing the element state to the
7123         parent. Fixes #420133.
7124
7125 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7126
7127         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7128         (gst_base_sink_change_state):
7129         * libs/gst/base/gstbasesink.h:
7130         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7131         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7132         (gst_base_src_deactivate):
7133         * libs/gst/base/gstbasesrc.h:
7134         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7135         for sub-classes to correctly clear any state they set trying to
7136         unlock, such as clearing out unlock commands from a command fd.
7137         API: basesrc::unlock_stop
7138         API: basesink::unlock_stop
7139
7140         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7141         (gst_fd_sink_render), (gst_fd_sink_unlock),
7142         (gst_fd_sink_unlock_stop):
7143         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7144         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7145         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7146
7147         Implement unlock_stop in fdsrc and fdsink.
7148         Implement seeking in fdsrc when a seekable fd is passed, as in
7149         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7150
7151 2007-03-19  Wim Taymans  <wim@fluendo.com>
7152
7153         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7154
7155         * gst/gstelement.c: (gst_element_class_init):
7156         Fix pad-added and pad-removed signal signatures so that the pad type is
7157         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7158
7159 2007-03-19  Wim Taymans  <wim@fluendo.com>
7160
7161         * docs/gst/gstreamer-sections.txt:
7162         Add new element field and method.
7163
7164         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7165         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7166         (gst_bin_recalc_state), (gst_bin_get_state_func),
7167         (gst_bin_element_set_state), (gst_bin_change_state_func),
7168         (gst_bin_continue_func), (bin_bus_handler),
7169         (bin_push_state_continue), (bin_handle_async_start),
7170         (bin_handle_async_done), (gst_bin_handle_message_func):
7171         Make async state changes a bit smarter by using new ASYNC_START and
7172         ASYNC_DONE messages. This reduces the number of times we run the state
7173         recalculation thread.
7174         Don't change state of element with a pending ASYNC_START message.
7175         Deprecate STATE_DIRTY messages.
7176         
7177         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7178         (gst_element_get_state_func), (gst_element_continue_state),
7179         (gst_element_lost_state), (gst_element_set_state_func),
7180         (gst_element_change_state):
7181         * gst/gstelement.h:
7182         Keep the state that was last set by the app in a new element field.
7183         Don't allow state changes when handling an element event.
7184         Post ASYNC_START and ASYNC_DONE messages.
7185         Change lost_state so that we go to PAUSED and wait for the parent to set
7186         us to PLAYING again (so latency calculation can be performed)
7187         Export gst_element_change_state() method so that subclasses can use it.
7188         API: gst_element_change_state()
7189         API: GST_STATE_TARGET
7190
7191         * gst/gstpipeline.c: (gst_pipeline_class_init),
7192         (reset_stream_time), (gst_pipeline_change_state),
7193         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7194         Using the new ASYNC_START message we can reset the base_time when
7195         needed. This can then be used to implement base_time redistribution in
7196         flushing seeks so that we can remove the explicit seek handling.
7197         Perform latency query and configuration when going to PLAYING.
7198
7199         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7200         (gst_base_sink_query), (gst_base_sink_change_state):
7201         Post new ASYNC_START/ASYNC_DONE messages.
7202
7203         * tests/check/generic/sinks.c: (GST_START_TEST):
7204         Fix test because the bin will not set the async element to PLAYING right
7205         away.
7206
7207         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7208         Make the message check a little stronger.
7209         Handle ASYNC messages.
7210
7211         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7212         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7213         Expect ASYNC_DONE messages.
7214
7215 2007-03-19  Wim Taymans  <wim@fluendo.com>
7216
7217         * docs/gst/gstreamer-sections.txt:
7218         * gst/gstmessage.c: (gst_message_new_async_start),
7219         (gst_message_new_async_done), (gst_message_parse_info),
7220         (gst_message_parse_async_start):
7221         * gst/gstmessage.h:
7222         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7223         support.
7224
7225 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7226
7227         * tools/gst-inspect.c:
7228         (print_plugin_automatic_install_info_codecs):
7229           Now that we don't check for the 'Codec' keyword any longer in the
7230           klass, we shouldn't spew a warning if the klass isn't a decoder or
7231           encoder (since it might be a Source/Network, for example).
7232
7233 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7234
7235         * tools/gst-inspect.c:
7236         (print_plugin_automatic_install_info_codecs):
7237           Don't require decoder/demuxer/depayloader elements or
7238           encoder/muxer/paylader elements to have 'Codec' as part of their
7239           factory class string when introspecting a plugin's capabilities.
7240           draft-klass.txt mentions that it might be removed in future, and
7241           flump3dec doesn't have it as part of its class string, so chances
7242           are others might also not have it.
7243
7244 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7245
7246         * po/af.po:
7247         * po/az.po:
7248         * po/bg.po:
7249         * po/ca.po:
7250         * po/cs.po:
7251         * po/de.po:
7252         * po/en_GB.po:
7253         * po/fr.po:
7254         * po/it.po:
7255         * po/nb.po:
7256         * po/nl.po:
7257         * po/ru.po:
7258         * po/sq.po:
7259         * po/sr.po:
7260         * po/sv.po:
7261         * po/tr.po:
7262         * po/uk.po:
7263         * po/vi.po:
7264         * po/zh_CN.po:
7265         * po/zh_TW.po:
7266           Update translations from translation project
7267
7268 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7269
7270         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7271         (gst_child_proxy_set_property):
7272           Invert precondition check to be alike the ones in the mimiced gobject
7273           api.
7274
7275 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7276
7277         * docs/design/draft-tagreading.txt:
7278         * docs/random/ensonic/audiobaseclasses.txt:
7279           Do some Architect work.
7280
7281         * gst/gstobject.c: (gst_object_set_name):
7282           Add a WARNING.
7283
7284         * gst/gstpad.c:
7285           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7286
7287 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7288
7289         * gst/gstsystemclock.c: (gst_system_clock_init),
7290         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7291         Defer starting the async system clock thread until the first async
7292         wait is scheduled. Fixes #414986.
7293
7294 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7295
7296         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7297         (gst_single_queue_free):
7298           Fix small leak (free GstSingleQueue structure too, not only contents).
7299
7300 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7301
7302         * gst/gstbin.c:(gst_bin_add):
7303         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7304         * win32/common/libgstbase.def:
7305         * win32/common/libgstreamer.def:
7306         Add new exported functions.
7307
7308 2007-03-09  Wim Taymans  <wim@fluendo.com>
7309
7310         * docs/plugins/gstreamer-plugins-sections.txt:
7311         Fix GstTee docs.
7312
7313 2007-03-09  Wim Taymans  <wim@fluendo.com>
7314
7315         * docs/gst/gstreamer-sections.txt:
7316         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7317         * gst/gstbuffer.h:
7318         Add metadata copy functions. Fixes #393099.
7319         API: gst_buffer_copy_metadata()
7320
7321         * gst/gstutils.c: (gst_buffer_stamp):
7322         * libs/gst/base/gstbasetransform.c:
7323         (gst_base_transform_prepare_output_buffer):
7324         Use new metadata copy functions.
7325
7326 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7327
7328         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7329         (gst_identity_init), (gst_identity_check_perfect),
7330         (gst_identity_check_imperfect_timestamp),
7331         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7332         (gst_identity_set_property), (gst_identity_get_property):
7333         * plugins/elements/gstidentity.h:
7334         Separate out check-imperfect-timestamp and check-imperfect-offset.
7335         Put back check-perfect as it was to keep compatibility.
7336
7337 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7338
7339         * gst/gstelement.c: (gst_element_dispose):
7340         There's no need to warn if VOID_PENDING is not NONE here, as
7341         long as the state is NULL it's ok, and that's checked immediately
7342         above.
7343
7344 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7345
7346         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7347         Fix check for perfect stream to ignore buffers with -1 
7348         offsets/offset ends when checking data contiguity.
7349
7350 2007-03-08  Wim Taymans  <wim@fluendo.com>
7351
7352         * tools/gst-launch.c: (event_loop):
7353         Print INFO messages.
7354
7355 2007-03-08  Wim Taymans  <wim@fluendo.com>
7356
7357         * libs/gst/base/gstbasetransform.c:
7358         (gst_base_transform_sink_eventfunc),
7359         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7360         (gst_base_transform_activate):
7361         * libs/gst/base/gstbasetransform.h:
7362         Add support for dropping buffers with custom GstFlowReturn.
7363         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7364         buffers or dropped buffers.
7365
7366         * docs/libs/gstreamer-libs-sections.txt:
7367         docs for new custom return code.
7368
7369         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7370         Use drop support in base class to implement drop-probability.
7371
7372 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7373
7374         * gst/gst.c: (load_plugin_func):
7375         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7376         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7377         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7378           Remove newlines at end of debug log strings.
7379
7380 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7381
7382         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7383         Only post bus message at max, once per buffer received.
7384
7385 2007-03-07  Wim Taymans  <wim@fluendo.com>
7386
7387         * docs/design/Makefile.am:
7388         * docs/design/part-synchronisation.txt:
7389         Add doc about synchronisation
7390
7391         * docs/design/draft-latency.txt:
7392         * docs/design/part-TODO.txt:
7393         * docs/design/part-clocks.txt:
7394         * docs/design/part-events.txt:
7395         * docs/design/part-gstbus.txt:
7396         * docs/design/part-gstpipeline.txt:
7397         * docs/design/part-live-source.txt:
7398         * docs/design/part-messages.txt:
7399         * docs/design/part-overview.txt:
7400         * docs/design/part-streams.txt:
7401         * docs/design/part-trickmodes.txt:
7402         Documentation updates.
7403
7404 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7405
7406         * gstreamer.doap:
7407         Update the doap file.
7408
7409 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7410
7411         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7412         Rename non-perfect to imperfect for Mike and for the sanctity of the
7413         language.
7414         Also make sure bus message gets emitted for data-incontiguities.
7415
7416 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7417
7418         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7419         (gst_identity_start):
7420         * plugins/elements/gstidentity.h:
7421         Emit bus message if check-perfect is true and we encounter a
7422         non-perfect stream between 2 consecutive buffers.
7423         Fixes #415394.
7424
7425 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7426
7427         * configure.ac:
7428         Back to CVS
7429
7430 === release 0.10.12 ===
7431
7432 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7433
7434         * configure.ac:
7435           releasing 0.10.12, "Inevitable Demise"
7436
7437 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7438
7439         * configure.ac:
7440          Version 0.10.11.2 (0.10.12 pre-release)
7441          Bump libtool versioning.
7442
7443 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7444
7445         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7446           Log flow-names and not numbers.
7447
7448 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7449
7450         * configure.ac:
7451           Convert to new AG_GST style.
7452
7453 2007-02-28  Wim Taymans  <wim@fluendo.com>
7454
7455         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7456         Don't unref query twice.
7457
7458 2007-02-28  Wim Taymans  <wim@fluendo.com>
7459
7460         * gst/gstvalue.c: (gst_value_transform_object_string),
7461         (_gst_value_initialize):
7462         Implement GstObject -> string transform so we print object names
7463         when serializing GValues containing GstObjects.
7464
7465 2007-02-28  Wim Taymans  <wim@fluendo.com>
7466
7467         * docs/gst/gstreamer-sections.txt:
7468         Add new stuff to docs.
7469
7470 2007-02-28  Wim Taymans  <wim@fluendo.com>
7471
7472         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7473         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7474         (gst_base_sink_change_state):
7475         Improve latency query code.
7476         Don't leak latency events.
7477
7478         * tests/check/gst/gstbin.c: (GST_START_TEST):
7479         Improve debugging.
7480
7481 2007-02-28  Wim Taymans  <wim@fluendo.com>
7482
7483         * gst/gstelement.c: (gst_element_message_full),
7484         (gst_element_get_state_func):
7485         * gst/gstelement.h:
7486         Improve docs a little. Added Since: for new macro.
7487
7488         * gst/gstobject.c: (gst_object_sink):
7489         * gst/gstpipeline.c: (gst_pipeline_change_state),
7490         (gst_pipeline_set_new_stream_time):
7491         * gst/gstpipeline.h:
7492         Improve debugging and docs.
7493
7494         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7495         Improve debugging.
7496
7497 2007-02-28  Wim Taymans  <wim@fluendo.com>
7498
7499         * gst/gstelement.c: (gst_element_message_full),
7500         (gst_element_set_locked_state), (gst_element_get_state_func),
7501         (gst_element_change_state):
7502         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7503         Documentation updates.
7504         Small code cleanups.
7505
7506         * gst/gstmessage.c: (gst_message_new_info),
7507         (gst_message_parse_info):
7508         * gst/gstmessage.h:
7509         API: gst_message_new_info()
7510         API: gst_message_parse_info()
7511         Add INFO message create and parse code.
7512
7513 2007-02-28  Wim Taymans  <wim@fluendo.com>
7514
7515         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7516         (bin_query_latency_done):
7517         Also report the live parameter of a latency query.
7518
7519 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7520
7521         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7522           Copy the current generic/states example from -base and adapt so
7523           we can use the exact same code everywhere.
7524           Check a STATES_IGNORE_ELEMENTS env var which can be used
7525           to ignore certain element factories for this test, which is
7526           what is being done in -base
7527         * tests/check/Makefile.am:
7528           Mention this environment variable.
7529
7530 2007-02-27  Wim Taymans  <wim@fluendo.com>
7531
7532         * docs/gst/gstreamer-sections.txt:
7533         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7534         (gst_bus_timed_pop), (gst_bus_pop):
7535         * gst/gstbus.h:
7536         API: gst_bus_timed_pop()
7537         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7538         message to arrive on the bus.
7539
7540         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7541         (gst_bus_suite):
7542         Two unit tests for new _timed_pop() function.
7543
7544 2007-02-23  Wim Taymans  <wim@fluendo.com>
7545
7546         * gst/gstpipeline.c: (gst_pipeline_change_state),
7547         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7548         Don't ref a NULL clock in _provide_clock_func().
7549         Don't allow an INVALID delay.
7550         Don't try to calculate base_time with an invalid start_time.
7551         Also distribute and notify a NULL clock when it was selected.
7552
7553         * tools/gst-launch.c: (event_loop):
7554         Don't crash when a NULL clock was selected in the pipeline.
7555
7556 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7557
7558         * docs/design/Makefile.am:
7559         * docs/design/draft-missing-plugins.txt:
7560         * docs/random/draft-missing-plugins.txt:
7561           Some small updates: update plugin system identifier prefix
7562           ('gstreamer.net' to 'gstreamer'), mention our new install
7563           API in libgstbaseutils rather than libgimme-codec, add
7564           reference to the online docs.
7565
7566 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7567
7568         * win32/common/config.h:
7569           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7570           use moap cl ci to only check in what is mentioned in the ChangeLog.
7571
7572 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7573
7574         * docs/gst/gstreamer-sections.txt:
7575         * gst/gstelement.h:
7576           Fix up documentation to link to the correct GstGError section.
7577           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7578
7579 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7580
7581         * tools/gst-launch.c: (event_loop):
7582           Make sure that we actually show the important message part of a
7583           warning message.
7584           No need to check if the gerror is not NULL to free; first of all
7585           g_free accepts NULL; and second the default error handler would
7586           segfault if gerror was NULL.
7587
7588 2007-02-21  Wim Taymans  <wim@fluendo.com>
7589
7590         * docs/gst/gstreamer-sections.txt:
7591         Removed docs as well.
7592
7593 2007-02-21  Wim Taymans  <wim@fluendo.com>
7594
7595         * gst/gstmessage.c: (gst_message_parse_duration):
7596         * gst/gstmessage.h:
7597         Remove new messages for release.
7598
7599 2007-02-20  Wim Taymans  <wim@fluendo.com>
7600
7601         * docs/design/part-gstghostpad.txt:
7602         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7603         (gst_ghost_pad_new_full):
7604         Make the ghostpad a parent of the internal pad again for better backward
7605         compatibility. Don't write code that relies on this however.
7606
7607         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7608         (gst_pad_link_check_hierarchy):
7609         Require that parents should be GstElements in the hierarchy check.
7610
7611 2007-02-20  Wim Taymans  <wim@fluendo.com>
7612
7613         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7614         (gst_bin_change_state_func), (bin_query_min_max_init),
7615         (bin_query_latency_fold), (bin_query_latency_done),
7616         (gst_bin_query):
7617         Improve debug info.
7618         Implement latency query.
7619
7620 2007-02-20  Wim Taymans  <wim@fluendo.com>
7621
7622         * docs/design/part-gstghostpad.txt:
7623         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7624         (gst_ghost_pad_internal_do_activate_push),
7625         (gst_ghost_pad_internal_do_activate_pull),
7626         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7627         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7628         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7629         Do not set the internal pad as a parent anymore so we can avoid
7630         hierarchy linking errors when the ghostpad has no parent yet. This also
7631         fixes failed activation because of unlinked internal pads, which in
7632         turn fixes the impossible case where you have to activate a pad before
7633         you can add it to a running element.
7634         Also fix the docs.
7635
7636         * gst/gstpad.c: (pre_activate), (post_activate),
7637         (gst_pad_set_active), (gst_pad_activate_pull),
7638         (gst_pad_activate_push), (gst_pad_check_pull_range):
7639         Add some more debug info.
7640         Mark activation mode in pre_activate so that we don't try to activate in
7641         endless loops. Fixes #385084.
7642
7643 2007-02-19  Wim Taymans  <wim@fluendo.com>
7644
7645         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7646         (gst_base_transform_check_get_range):
7647         Implement a checkgetrange function instead of relying on the default
7648         core behaviour that assumes we can operate in pull mode if we have a
7649         getrange function. First step at fixing #385084.
7650
7651 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
7652
7653         * gst/gstchildproxy.h:
7654         * libs/gst/base/gstbasesink.h:
7655         * libs/gst/base/gstbasesrc.h:
7656         * libs/gst/base/gstbasetransform.h:
7657         More docs coverage and some ChangeLog surgery (add missing names)
7658
7659 2007-02-15  Wim Taymans  <wim@fluendo.com>
7660
7661         * docs/design/part-TODO.txt:
7662         * docs/design/part-activation.txt:
7663         * docs/design/part-block.txt:
7664         * docs/design/part-buffering.txt:
7665         * docs/design/part-clocks.txt:
7666         * docs/design/part-element-source.txt:
7667         * docs/design/part-events.txt:
7668         * docs/design/part-gstbin.txt:
7669         * docs/design/part-gstbus.txt:
7670         * docs/design/part-gstpipeline.txt:
7671         * docs/design/part-live-source.txt:
7672         * docs/design/part-messages.txt:
7673         * docs/design/part-overview.txt:
7674         * docs/design/part-qos.txt:
7675         * docs/design/part-query.txt:
7676         * docs/design/part-states.txt:
7677         * docs/design/part-trickmodes.txt:
7678         Some doc updates. Start renaming from stream_time to running_time where
7679         it was used wrongly.
7680
7681 2007-02-15  Wim Taymans  <wim@fluendo.com>
7682
7683         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7684         Answer LATENCY query.
7685
7686 2007-02-15  Wim Taymans  <wim@fluendo.com>
7687
7688         * tests/check/gst/gstevent.c: (event_probe), (test_event),
7689         (GST_START_TEST):
7690         Improve debugging.
7691
7692 2007-02-15  Wim Taymans  <wim@fluendo.com>
7693
7694         * gst/gstpad.c: (gst_pad_get_internal_links_default),
7695         (gst_pad_dispatcher):
7696         Improve debugging of default pad dispatcher and query functions.
7697
7698 2007-02-15  Wim Taymans  <wim@fluendo.com>
7699
7700         * docs/gst/gstreamer-sections.txt:
7701         Remove old unused method.
7702
7703 2007-02-13  Wim Taymans  <wim@fluendo.com>
7704
7705         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7706         Fix check
7707
7708 2007-02-13  Wim Taymans  <wim@fluendo.com>
7709
7710         * docs/design/part-seeking.txt:
7711         Some small update.
7712
7713         * gst/gstsegment.c: (gst_segment_set_seek):
7714         Revert old bogus change that should make seeking work again.
7715
7716 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7717
7718         * docs/random/ensonic/dynlink.txt:
7719         * docs/random/ensonic/interfaces.txt:
7720         * docs/random/ensonic/receipies.txt:
7721           Possible dynamic reconnection api, plus some type fixes the other two
7722           docs.
7723
7724 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
7725
7726         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7727         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7728         Also check for an absolute path following file:// in the filesrc
7729         element. Remove redundant check and call g_path_is_absolute() on the
7730         unescaped location.
7731
7732 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7733
7734         * docs/design/draft-klass.txt:
7735           Add existing category analysis.
7736           
7737         * gst/gstcaps.c:
7738           Fix doc example, framerate is a fraction.
7739
7740 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7741
7742         * configure.ac:
7743         * docs/gst/Makefile.am:
7744         * docs/gst/gstreamer-sections.txt:
7745         * docs/libs/Makefile.am:
7746           Erm, forgot a bunch of --extra-dir.
7747
7748 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7749
7750         * configure.ac:
7751         * docs/gst/Makefile.am:
7752         * docs/libs/Makefile.am:
7753         * docs/plugins/Makefile.am:
7754           Add crossreferences to glib/gobject docs.
7755
7756 2007-02-12  Wim Taymans  <wim@fluendo.com>
7757
7758         * docs/design/draft-latency.txt:
7759         Small update.
7760
7761         * docs/libs/gstreamer-libs-sections.txt:
7762         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7763         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7764         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7765         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7766         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7767         (gst_base_sink_get_position), (gst_base_sink_query),
7768         (gst_base_sink_change_state):
7769         * libs/gst/base/gstbasesink.h:
7770         API: gst_base_sink_query_latency() to let subclasses query the upstream
7771         latency.
7772         API: gst_base_sink_get_latency() to let subclasses query the configured
7773         latency in the sink.
7774         Implement query and set latency.
7775         Update some docs.
7776         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7777         don't continue preroll when we are flushing. Fixes #405284.
7778
7779         * tests/check/pipelines/stress.c: (change_state_timeout),
7780         (quit_timeout), (GST_START_TEST), (stress_suite):
7781         Test for #405284.
7782
7783 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
7784
7785         Patch by: René Stadler <mail at renestadler de>
7786
7787         * docs/gst/gstreamer-sections.txt:
7788         * gst/gsttaglist.c: (_gst_tag_initialize):
7789         * gst/gsttaglist.h:
7790           API: add GST_TAG_REFERENCE_LEVEL (#403597).
7791
7792 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
7793
7794         * docs/libs/Makefile.am:
7795           Fix path to core docs.
7796
7797         * gst/gstbin.c: (gst_bin_get_by_interface),
7798         (gst_bin_iterate_all_by_interface):
7799           Refix docs by also renaming 'interface' to 'iface' in implementation.
7800
7801         * docs/gst/gstreamer-sections.txt:
7802         * gst/gstcaps.c:
7803         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7804         * gst/gstchildproxy.h:
7805         * gst/gstelementfactory.c:
7806         * gst/gstpadtemplate.h:
7807         * libs/gst/controller/gstcontroller.c:
7808         (gst_controlled_property_new):
7809           Document more.
7810
7811 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
7812
7813         * gst/gstbin.h:(gst_bin_get_by_interface),
7814         (gst_bin_iterate_all_by_interface):
7815         Replace interface parameter name by iface as interface is 
7816         a reserved keyword in Visual Studio for C++ projects so it removes
7817         a build error for application developpers using VS.
7818         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7819         Fix a bug on Windows in uri format check. Now the prefix checked
7820         is file:// and next we check if the path after file:// is absolute.
7821         * win32/common/libgstbase.def:
7822         * win32/common/libgstdataprotocol.def:
7823         * win32/common/libgstgstreamer.def:
7824         Add new exported functions.
7825
7826 2007-02-09  Andy Wingo  <wingo@pobox.com>
7827
7828         * tests/check/pipelines/simple-launch-lines.c
7829         (simple_launch_lines_suite, test_tee): Disable tee test until I
7830         have time to fix it :-(
7831
7832         * tests/check/Makefile.am (noinst_HEADERS): 
7833         * tests/check/libs/libsabi.c: 
7834         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7835         * tests/check/gst/gstabi.c: 
7836         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7837
7838         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7839         tests for push and pull tee behavior.
7840
7841         * plugins/elements/gsttee.h: 
7842         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7843         mark as deprecated as well as unimplemented. It was a crack idea.
7844         Add support for tee operating in pull mode, off by default.
7845
7846         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7847         normal-case logs down to LOG, raise errors to WARNING.
7848         (gst_registry_xml_read_cache): Don't log before calling a function
7849         that logs.
7850
7851         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7852         exit (registry finalize).
7853         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7854         DEBUG log when we emit signals that people don't even have the
7855         chance to connect to.
7856         (gst_registry_scan_path_level): Less logging in the normal case.
7857
7858 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7859
7860         Patch by: Michal Benes <michal dot benes at itonis dot tv>
7861
7862         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7863         Correctly generate EOS for non-seekable files. We don't have a total
7864         length for them and would get an unexpected end of file if we only
7865         special-cased for regular files. (Fixes: #404569)
7866
7867 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7868
7869         * tests/check/elements/filesrc.c: (GST_START_TEST),
7870         (filesrc_suite):
7871         Add unit test for the GstURIHandler interface in filesrc. This also
7872         tests the newly added file://localhost/foo/bar support.
7873
7874 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
7875
7876         * gst/gstelementfactory.h:
7877           The klass string is not a hierarchy. Add reference to the design doc
7878           for more information and common types.
7879
7880 2007-02-02  Wim Taymans  <wim@fluendo.com>
7881
7882         * gst/gstquery.c: (gst_query_new_latency):
7883         Remove old structure field.
7884
7885 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
7886
7887         * tools/gst-launch.1.in:
7888           Give example for network streaming (#351998)
7889
7890 2007-02-02  Wim Taymans  <wim@fluendo.com>
7891
7892         * docs/gst/gstreamer-sections.txt:
7893         Add docs for new methods.
7894
7895         * gst/gstevent.c: (gst_event_new_latency),
7896         (gst_event_parse_latency):
7897         * gst/gstevent.h:
7898         Add new LATENCY event to configure latency in a pipeline.
7899         API: gst_event_new_latency
7900         API: gst_event_parse_latency
7901
7902         * gst/gstmessage.c: (gst_message_new_buffering),
7903         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
7904         (gst_message_new_latency), (gst_message_parse_buffering),
7905         (gst_message_parse_lost_preroll):
7906         * gst/gstmessage.h:
7907         Added messages used in draft-latency.
7908         API: gst_message_new_lost_preroll
7909         API: gst_message_parse_lost_preroll
7910         API: gst_message_new_prerolled
7911         API: gst_message_new_latency
7912
7913         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
7914         (gst_query_parse_latency):
7915         * gst/gstquery.h:
7916         Implemented new latency query as in design doc.
7917         API: gst_query_new_latency
7918         API: gst_query_set_latency
7919         API: gst_query_parse_latency
7920
7921 2007-02-02  Wim Taymans  <wim@fluendo.com>
7922
7923         * docs/design/draft-latency.txt:
7924         Slight redesign to allow for dynamic latency adjustments.
7925
7926         * docs/design/part-negotiation.txt:
7927         Fix some typos.
7928
7929 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
7930
7931         reviewed by: Wim Taymans <wim@fluendo.com>
7932
7933         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7934         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7935         Allow file://localhost/foo/bar URLs and correctly fail for every other
7936         hostname that one sets. This was gnomevfssrc is linked for those if
7937         installed as it can handle it (#403172)
7938
7939 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
7940
7941         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7942
7943         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7944         (unref_data), (gst_collect_pads_add_pad_full):
7945         * libs/gst/base/gstcollectpads.h:
7946         Don't put the previously added destroy notify in the GstCollectData
7947         struct as all it's padding is already used and we don't want to break
7948         ABI. Instead put in the pad's GObject data for now. This should be
7949         cleaned up for 0.11 (#402393).
7950
7951 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
7952
7953         reviewed by: Wim Taymans <wim@fluendo.com>
7954
7955         * docs/libs/gstreamer-libs-sections.txt:
7956         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7957         (unref_data), (gst_collect_pads_add_pad),
7958         (gst_collect_pads_add_pad_full):
7959         * libs/gst/base/gstcollectpads.h:
7960         API: Add function to specify a destroy notification for custom
7961         GstCollectData when adding new pads in GstCollectPads (#402393).
7962
7963 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
7964
7965         * po/sv.po:
7966           Update Swedish translation (#378255).
7967
7968 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
7969
7970         * docs/design/draft-klass.txt:
7971           Fix the previous change, this is a list of categories and not a hierarchy.
7972
7973 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
7974
7975         * docs/design/draft-klass.txt:
7976           Add info about how to get a list of used classes.
7977
7978 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
7979
7980         * plugins/elements/gsttypefindelement.c:
7981         (gst_type_find_element_chain_do_typefinding),
7982         (gst_type_find_element_change_state):
7983           Don't leak found caps in chain function (no idea why that never
7984           showed up as a leak anywhere).
7985
7986 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
7987
7988         * gst/gstplugin.h:
7989           Fix and expand GstPluginDesc API docs.
7990
7991 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
7992
7993         * gst/gstcaps.c:
7994         * gst/gstelementfactory.c:
7995         * gst/gstpadtemplate.h:
7996           api doc fixes
7997
7998         * libs/gst/controller/gstcontroller.c:
7999         (gst_controlled_property_new):
8000         * tests/examples/controller/audio-example.c:
8001           comment fixes
8002
8003 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8004
8005         * configure.ac:
8006           comment about refining the xml deps
8007
8008         * docs/manuals.mak:
8009           comments about moving away from jade for docs
8010         
8011         * gst/gst.c:
8012           recommit the ifdefs to use the binary registry
8013         
8014         * gst/gstbin.c: (gst_bin_change_state_func):
8015           this break is obsolete
8016
8017         * gst/gstelementfactory.h:
8018           better GST_ELEMENT_DETAILS docs, add comment about translation
8019
8020         * gst/gstinfo.h:
8021           remove eol slash
8022
8023         * gst/gstobject.c: (gst_signal_object_get_type):
8024           add G_UNLIKELY as usual
8025
8026         * gst/gstpad.c: (gst_pad_event_default):
8027           add fall trhu comment
8028
8029         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8030         (gst_registry_binary_initialize_magic),
8031         (gst_registry_binary_save_string),
8032         (gst_registry_binary_save_pad_template),
8033         (gst_registry_binary_save_feature),
8034         (gst_registry_binary_save_plugin),
8035         (gst_registry_binary_write_cache),
8036         (gst_registry_binary_check_magic),
8037         (gst_registry_binary_load_pad_template),
8038         (gst_registry_binary_load_feature),
8039         (gst_registry_binary_load_plugin),
8040         (gst_registry_binary_read_cache):
8041           comment typo and formatting
8042
8043         * gst/gstutils.c: (gst_element_state_get_name),
8044         (gst_element_state_change_return_get_name):
8045           remove obsolete breaks
8046
8047         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8048           add FIXME 0.11 and remove cpp comment
8049
8050 2007-01-29  Edward Hervey  <edward@fluendo.com>
8051
8052         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8053         Fix print statement in an even more portable way.
8054
8055 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8056
8057         * docs/gst/gstreamer-sections.txt:
8058         * gst/gstutils.h:
8059           API: add GST_ROUND_DOWN_* macros (#401781).
8060
8061 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8062
8063         * docs/gst/gstreamer.types.in:
8064         * gst/gstregistry.c: (gst_registry_class_init):
8065           Document registry signals and make gtk-doc pick them up (#401381).
8066
8067 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8068
8069         * docs/pwg/building-testapp.xml:
8070           Add some audioconverts and audioresample to the pipeline, and some
8071           more comments and error handling.
8072
8073 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8074
8075         * docs/manual/manual.xml:
8076         * docs/pwg/pwg.xml:
8077           Fix typo (#400987).
8078
8079 2007-01-26  Wim Taymans  <wim@fluendo.com>
8080
8081         * gst/gstcaps.c: (gst_static_caps_get):
8082         Init caps flags too.
8083
8084 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8085
8086         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8087
8088         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8089         If not using mmap'ed files try to seek to the end instead of the
8090         start to determine whether we can seek at all. This fixes the case
8091         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8092         seeks for everything afterwards fail. Fixes #400656
8093
8094 2007-01-25  Wim Taymans  <wim@fluendo.com>
8095
8096         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8097         Add some refcount debugging.
8098         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8099         in multiple streaming threads.
8100
8101 2007-01-25  Wim Taymans  <wim@fluendo.com>
8102
8103         Patch by: David Schleef <ds at schleef dot org>
8104
8105         * docs/libs/gstreamer-libs-sections.txt:
8106         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8107         * libs/gst/base/gstadapter.h:
8108         API: gst_adapter_copy() that can reduce the amount of memcpy when
8109         getting data from the adapter. Fixes #388201.
8110
8111 2007-01-25  Edward Hervey  <edward@fluendo.com>
8112
8113         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8114         In print statements, "%x" is for guint. Fixes build on macosx.
8115
8116 2007-01-24  Edward Hervey  <edward@fluendo.com>
8117
8118         * plugins/elements/gstmultiqueue.c:
8119         (gst_multi_queue_loop):
8120         Small fix.
8121         (single_queue_overrun_cb), (single_queue_underrun_cb),
8122         (single_queue_check_full), (gst_single_queue_new):
8123         Implement single queue growth system.
8124         This uses the extra-size properties, and will grow single queues by
8125         that much if one goes full whereas there are others empty. This is
8126         called extra-mode in the code.
8127         When a single queue's levels go back below the initial max-size
8128         limits, it is no longer in extra-mode. This is to ensure we don't
8129         consume too much memory.
8130         Fixes #399875
8131
8132 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8133
8134         * gst/gst.c: (gst_init_get_option_group):
8135           Make warning about late g_thread_init() calls a bit more explicit,
8136           so that it's more obvious to application developers what they need
8137           to do if a user files a bug against their application.
8138
8139 2007-01-22  Edward Hervey  <edward@fluendo.com>
8140
8141         * plugins/elements/gstmultiqueue.c:
8142         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8143         Remove previous hack of unsetting the flushing flag for the source pad
8144         instead of activating it. Instead, fix the source pad activate function
8145         so that it no longer depends on having a parent set or not.
8146
8147 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8148
8149         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8150
8151         * docs/manual/basics-bus.xml:
8152           Fix example code, gst_element_unref() doesn't exist any longer.
8153
8154 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8155
8156         Patch by: Mark Nauwelaerts <manauw at skynet be>
8157
8158         * gst/gstpad.c:
8159           Fix two docs typoes (#399094).
8160
8161 2007-01-19  Edward Hervey  <edward@fluendo.com>
8162
8163         * docs/faq/gst-uninstalled:
8164         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8165         depending on libgstbaseutils can work in uninstalled environment.
8166
8167 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8168
8169         * gst/gsttaglist.h:
8170         * gst/gsttagsetter.c:
8171         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8172         statement for new tag.
8173
8174 2007-01-17  Edward Hervey  <edward@fluendo.com>
8175
8176         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8177         When dynamically creating single queues, activate sinkpad before adding
8178         it.
8179         We should be doing the same thing for the source pad, but we can't
8180         since it would call a method which needs the parent to be set in order
8181         to work propertly. Instead of activating the source pad, we just unset
8182         the flushing flag, which is the minimal requirement for adding a pad
8183         to an element in a state greater than READY.
8184
8185 2007-01-17  Edward Hervey  <edward@fluendo.com>
8186
8187         * docs/faq/gst-uninstalled:
8188         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8189         Mac OS X.
8190
8191 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8192
8193         * tests/check/gst/gstabi.c:
8194         * tests/check/gst/struct_hppa.h:
8195         * tests/check/libs/libsabi.c:
8196         * tests/check/libs/struct_hppa.h:
8197           Add ABI structs for HPPA (see #393796).
8198
8199 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8200
8201         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8202           Actually write ABI structs to the file specified in the GST_ABI
8203           environment variable, as the message we print claims we would.
8204
8205 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8206
8207         * tests/check/gst/gsttask.c:
8208           Fix header comment.
8209
8210 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8211
8212         * gst/gsttaglist.c: (_gst_tag_initialize):
8213           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8214           previous two entries.
8215
8216 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8217
8218         * docs/gst/gstreamer-sections.txt:
8219         * gst/gsttaglist.c: (_gst_tag_initialize):
8220         * gst/gsttaglist.h:
8221           Add tag support for beat-per-minute.
8222
8223 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8224
8225         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8226         (gst_registry_binary_initialize_magic),
8227         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8228         (gst_registry_binary_save_pad_template),
8229         (gst_registry_binary_save_feature),
8230         (gst_registry_binary_save_plugin),
8231         (gst_registry_binary_write_cache),
8232         (gst_registry_binary_check_magic),
8233         (gst_registry_binary_load_pad_template),
8234         (gst_registry_binary_load_feature),
8235         (gst_registry_binary_load_plugin),
8236         (gst_registry_binary_read_cache):
8237         * gst/gstregistrybinary.h:
8238           Use glib types, cleanup comments, impement interfaces and uri-types.
8239
8240 2007-01-13  Andy Wingo  <wingo@pobox.com>
8241
8242         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8243         getrange() to return buffers with other caps, while we fix
8244         demuxers and typefind, or otherwise change part-negotiation.txt.
8245
8246 2007-01-12  Andy Wingo  <wingo@pobox.com>
8247
8248         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8249         Factor start/stop into this private function instead of partially
8250         in activate functions and partially in the change_state function.
8251         Fixes setup before the element has changed from READY->PAUSED, as
8252         is the case in pull-mode pipelines.
8253         (gst_base_transform_sink_activate_push)
8254         (gst_base_transform_src_activate_pull): Refactor to use
8255         gst_base_transform_activate().
8256         (gst_base_transform_change_state): Removed, not needed any more.
8257
8258         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8259         Truncate before fixating.
8260         
8261         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8262         Don't set_caps() if the result of fixating is ANY, as it's not
8263         supported, and not necessary in the case of a link with no
8264         template caps on either side. Fixes tests/check/libs/basesrc in
8265         some pull-mode tests.
8266
8267         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8268         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8269         (gst_base_transform_src_activate_pull): 
8270         Track the activation mode.
8271         (gst_base_transform_setcaps): In pull mode, when activating the
8272         src pad, after activating the sink pad, activate the sink pad's
8273         peer, as discussed in part-negotiation.txt.
8274
8275         * libs/gst/base/gstbasesrc.h: 
8276         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8277         vmethod, as in basesink.
8278
8279         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8280
8281         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8282         mode, first proxy the setcaps to the peer pad.
8283         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8284         new fixate vmethod.
8285         (gst_base_sink_default_activate_pull): Rename from
8286         gst_base_sink_activate_pull.
8287         (gst_base_sink_negotiate_pull): New function, performs negotiation
8288         in pull mode before calling ::activate_pull().
8289         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8290         vmethod instead of the default implementation. I have no idea how
8291         this worked before. Negotiate before calling activate_pull.
8292
8293         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8294         sink pads in pull mode. In addition to being correct, fixes
8295         filesrc ! decodebin ! identity ! fakesink.
8296         (gst_pad_get_range, gst_pad_pull_range): Don't call
8297         gst_pad_set_caps() if the caps changes; instead error out with
8298         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8299
8300 2007-01-12  Andy Wingo  <wingo@pobox.com>
8301
8302         * docs/design/part-negotiation.txt: Update with more policy.
8303
8304 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8305
8306         * libs/gst/check/gstbufferstraw.h:
8307         * libs/gst/check/gstcheck.h:
8308           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8309           belongs.
8310
8311 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8312
8313         * tests/check/Makefile.am:
8314         * tests/check/gst/.cvsignore:
8315         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8316         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8317         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8318         (GST_START_TEST), (gst_tag_setter_suite):
8319           Add minimal unit test for beforementioned GstTagSetter bug.
8320
8321 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8322
8323         Patch by: René Stadler <mail at renestadler dot de>
8324
8325         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8326           gst_tag_list_merge() returns a new list, so it's not the best idea
8327           to ingore its return value. Effectively meant that tags could only
8328           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8329           Also add function guard to require a non-NULL taglist as input (has
8330           always been so due to gst_tag_list_copy(), just making it explicit).
8331
8332 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8333
8334         * docs/random/draft-missing-plugins.txt:
8335           Some additions: mention new API that is supposed to be used at the
8336           various stages; short blob about new gst-inspect introspection
8337           option; mention potential future problem with plugins that have
8338           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8339
8340 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8341
8342         * tools/gst-inspect.c:
8343         (print_plugin_automatic_install_info_codecs),
8344         (print_plugin_automatic_install_info_protocols),
8345         (print_plugin_automatic_install_info), (main):
8346         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8347         introspect plugin files and get machine-parsable output that corresponds
8348         to the last bit of the missing-plugin installer string (small gotcha:
8349         doesn't take into account ranks).
8350
8351 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8352
8353         * configure.ac:
8354         * docs/gst/gstreamer-sections.txt:
8355         * gst/Makefile.am:
8356         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8357         (gst_registry_lookup_locked):
8358         * gst/gstregistry.h:
8359         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8360         (gst_registry_binary_initialize_magic),
8361         (gst_registry_binary_save_string),
8362         (gst_registry_binary_save_pad_template),
8363         (gst_registry_binary_save_feature),
8364         (gst_registry_binary_save_plugin),
8365         (gst_registry_binary_write_cache),
8366         (gst_registry_binary_check_magic),
8367         (gst_registry_binary_load_pad_template),
8368         (gst_registry_binary_load_feature),
8369         (gst_registry_binary_load_plugin),
8370         (gst_registry_binary_read_cache):
8371         * gst/gstregistrybinary.h:
8372         * gst/gstregistryxml.c: (load_feature),
8373         (gst_registry_xml_read_cache):
8374           commit binary registry (disabled by default, see #359653)
8375
8376 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8377
8378         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8379           Fix 'make check' too.
8380
8381 2007-01-10  Andy Wingo  <wingo@pobox.com>
8382
8383         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8384         notes.
8385         
8386         * docs/design/part-negotiation.txt: Update with, um, one way that
8387         pull-mode negotiation might work?
8388
8389         * gst/gstpad.h: 
8390         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8391         that the pad must be a src pad; makes sense to call it the other
8392         way in pull mode, and the logic is symmetric anyway.
8393
8394 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8395
8396         * plugins/elements/gstfilesink.c:
8397           Include <stdio.h> for fseeko().
8398
8399 2007-01-10  Wim Taymans  <wim@fluendo.com>
8400
8401         * gst/gstevent.c:
8402         * gst/gstevent.h:
8403         Reserve LATENCY event.
8404
8405 2007-01-09  Wim Taymans  <wim@fluendo.com>
8406
8407         * docs/design/draft-latency.txt:
8408         Updates.
8409
8410 2007-01-09  Wim Taymans  <wim@fluendo.com>
8411
8412         * docs/design/draft-latency.txt:
8413         Updates.
8414
8415         * gst/gstelement.h:
8416         * gst/gststructure.c:
8417         * gst/gsttrace.c:
8418         Small typo fixes.
8419
8420 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8421
8422         * tests/check/.cvsignore:
8423           Ignore test-registry.xml as well.
8424
8425 2007-01-09  Wim Taymans  <wim@fluendo.com>
8426
8427         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8428         unref data at the end when we are done with the pad.
8429
8430 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8431
8432         * docs/gst/gstreamer-sections.txt:
8433         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8434         (init_post), (gst_deinit), (gst_update_registry):
8435         * gst/gst.h:
8436           API: add gst_update_registry() (#391296).
8437
8438         * tests/check/Makefile.am:
8439         * tests/check/gst/gstregistry.c:
8440         * tests/check/gst/.cvsignore:
8441           Simple unit test for the above.
8442
8443 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8444
8445         * gst/gstregistry.c: (gst_registry_scan_path_level):
8446           Plugin extension on HP-UX is .sl, add that to the list of approved
8447           plugin extensions (see #393796).
8448
8449         * tests/check/gst/gstpad.c: (GST_START_TEST):
8450           ulong => gulong. Fixes compilation with HP-UX compiler.
8451
8452         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8453           Fix compilation if valgrind headers are not available.
8454
8455 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8456
8457         * win32/common/libgstreamer.def: 
8458           Add new exported function.
8459         * win32/vs6/libgstbase.dsp: 
8460           Add gstdataqueue.c to the build.
8461         * win32/vs6/libgstcoreelements.dsp:
8462           Add gstmultiqueue.c to the build.
8463         
8464 2007-01-06  Andy Wingo  <wingo@pobox.com>
8465
8466         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8467         activate_pull(), providing for a way to specialize the process of
8468         spawning a thread to pull on the sink pad. There is a default
8469         implementation.
8470
8471         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8472         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8473         (gst_base_sink_init): Renamed pad activation functions (inserting
8474         "_pad" in their names). Refactor to use the new activate_pull
8475         vmethod, as appropriate.
8476         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8477         default activate_pull function to start a task pulling from the
8478         sink pad, as before.
8479
8480         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8481         on the pads if necessary, as in push()/chain(). Update docs.
8482         Shouldn't affect existing pull() usage as it is currently only
8483         being used on buffers without caps.
8484
8485 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8486
8487         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8488         (init_pre):
8489           Call g_thread_init() first thing in gst_init() / gst_check_init().
8490           When initialisation is done via gst_init_get_option_group() and
8491           GOption parsing, issue a warning if the GLib thread system has not
8492           been initialised yet by the time gst_init_get_option_group() is
8493           called, as it's quite likely other GLib functions such as
8494           g_option_context_new() have been called already then, and
8495           g_thread_init() must be called before any other GLib function. The
8496           application in question must be fixed in that case, since memory
8497           corruption might happen otherwise.
8498           We issue the warning because even if the GLib folks decide to work
8499           around the problem on their end in future, this is still an issue
8500           with all GLib versions >= 2.10.0, so we should warn until we depend
8501           on a GLib version we know to be safe.
8502           Update documentation as well.
8503           Closes bug #391278.
8504
8505 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8506
8507         * tools/gst-inspect.c: (main):
8508         * tools/gst-launch.c: (main):
8509         * tools/gst-typefind.c: (main):
8510         * tools/gst-xmlinspect.c: (main):
8511           Call g_thread_init() really really early, before any other GLib
8512           function (see #342564 and recent discussion on gtk-devel-list).
8513
8514 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8515
8516         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8517
8518         * gst/gst_private.h:
8519         * gst/gstconfig.h.in:
8520         * gst/gstinfo.h:
8521           On win32, all the __declspec stuff for symbol exporting is
8522           apparently only needed with MSVC, but doesn't work with MingW.
8523           Fixes compilation with MingW and #391909.
8524
8525 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8526
8527         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8528           Change some GST_ERROR_OBJECT that aren't really errors to
8529           GST_WARNING_OBJECT in order to reduce terminal spam.
8530
8531 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8532
8533         * tests/check/Makefile.am:
8534           disable test again, as there seem to be still race problems
8535
8536 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8537
8538         * tests/check/Makefile.am:
8539         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8540         (GST_START_TEST), (queue_suite):
8541           enable queue test again, add tests for the leaky behaviour
8542
8543 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8544
8545         * configure.ac:
8546         * tests/examples/Makefile.am:
8547           Compile adapter test/example only if the required headers are
8548           available (fixes #391915).
8549
8550 2007-01-01  David Schleef  <ds@schleef.org>
8551
8552         * gst/gstplugin.c:
8553           Restore the previous signal handler for SIGSEGV instead of
8554           setting to default, since we may have stolen it away from
8555           someone.  (i.e., Mono)
8556
8557 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8558
8559         * docs/random/draft-missing-plugins.txt:
8560           Some small additions and clarifications.
8561
8562 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8563
8564         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8565           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8566           since that can lead to random memory corruptions and crashes
8567           (may or may not be related to #383244, #386711, and #386711).
8568
8569 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8570
8571         * tests/check/.cvsignore:
8572         * tests/check/Makefile.am:
8573           sync .cvsignome and CLEANFILES
8574
8575 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8576
8577         * tests/check/Makefile.am:
8578           fix distcheck
8579
8580 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8581
8582         * docs/design/part-states.txt:
8583           two tiny additional comments
8584         
8585         * gst/gststructure.c:
8586           doc fixing
8587
8588         * tests/check/Makefile.am:
8589         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8590         (GST_START_TEST):
8591           disable test for now, unless it gets fixed
8592
8593 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8594
8595         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8596         (GST_START_TEST):
8597           fix race in underrun test
8598
8599 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8600
8601         * tests/check/elements/.cvsignore:
8602           ignore more
8603
8604         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8605         (GST_START_TEST):
8606           try to narrow test failure
8607
8608 2006-12-21  David Schleef  <ds@schleef.org>
8609
8610         * plugins/elements/gstfakesrc.c:
8611           Use g_random_int_range(), since it produces better random
8612           numbers in a range than almost-correct floating point code.
8613
8614 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8615
8616         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8617         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8618         (gst_check_teardown_sink_pad):
8619           do not automatically (de)activate pads
8620
8621         * tests/check/Makefile.am:
8622         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8623         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8624           add new, yet simple tests for queue
8625
8626         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8627         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8628         * tests/check/elements/filesrc.c: (cleanup_filesrc),
8629         (GST_START_TEST):
8630         * tests/check/elements/identity.c: (cleanup_identity):
8631           consistent pad (de)activation
8632
8633 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
8634
8635         Patch by: Sebastian Dröge  <slomo ubuntu com>
8636
8637         * libs/gst/base/gstcollectpads.c:
8638           Fix two doc typos (#387866).
8639
8640 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8641
8642         * docs/manual/advanced-dparams.xml:
8643           Fix typo (g_object_control_properties() doesn't exist).
8644
8645 2006-12-19  Edward Hervey  <edward@fluendo.com>
8646
8647         * gst/gstsegment.c: (gst_segment_set_seek):
8648         Fine tune the cases where the segment start/stop values are really
8649         updated.
8650         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8651         Add tests for the return values of gst_segment_set_seek().
8652
8653 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8654
8655         * gst/gst.c:
8656           Docs typo fix.
8657
8658         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8659         (gst_queue_init):
8660           Fix incorrect documentation and flesh it out a bit more.
8661           Set default values for the max properties on the GParamSpec as well,
8662           so it shows up correctly in gst-inspect.
8663
8664 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
8665
8666         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8667           Correct docs of queue, add more detail and crosslink it more.
8668
8669 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8670
8671         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8672           Print additional debug info when the stream isn't perfectly
8673           timestamped; don't try to use invalid durations.
8674
8675 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8676
8677         * docs/design/Makefile.am:
8678           Dist new design docs.
8679
8680 2006-12-16  Wim Taymans  <wim@fluendo.com>
8681
8682         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8683
8684         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8685         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8686         (gst_collect_pads_stop), (gst_collect_pads_event),
8687         (gst_collect_pads_chain):
8688         * libs/gst/base/gstcollectpads.h:
8689         Add refcounting to the collectpads data so we can track when it's safe
8690         to free the data. Fixes #383382.
8691
8692 2006-12-15  Wim Taymans  <wim@fluendo.com>
8693
8694         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8695         (gst_collect_pads_remove_pad):
8696         Automatically activate/deactivate pads when they are added to a
8697         started/stoped collectpads.
8698
8699 2006-12-15  Wim Taymans  <wim@fluendo.com>
8700
8701         * gst/gstelement.c: (gst_element_add_pad):
8702         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8703         * gst/gstpad.c: (gst_pad_init):
8704         Set pads to FLUSHING when they are created. Check, warn and fix when a
8705         demuxer adds an inactive pad to itself when running. Fixes #339326.
8706
8707 2006-12-15  Wim Taymans  <wim@fluendo.com>
8708
8709         * gst/gstelement.c: (gst_element_class_init),
8710         (gst_element_default_send_event), (gst_element_send_event),
8711         (gst_element_default_query), (gst_element_query):
8712         Expose default element send_event and query handling as vmethods that
8713         subclasses can chain up to.
8714
8715 2006-12-15  Wim Taymans  <wim@fluendo.com>
8716
8717         * gst/gstelement.c: (gst_element_set_state_func):
8718         Small documentation fixes.
8719
8720 2006-12-15  Wim Taymans  <wim@fluendo.com>
8721
8722         * docs/design/draft-latency.txt:
8723         Checked in draft for handling latency in pipelines.
8724
8725 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8726
8727         * Makefile.am:
8728         * gstreamer.doap:
8729         * gstreamer.spec.in:
8730           adding .doap file
8731
8732 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
8733
8734         * gst/gst.c: (init_pre), (init_post):
8735           init_pre() and init_post() might be called via our GOptionGroup or
8736           from gst_init(), and we should skip both of them if we've already
8737           been initialised, otherwise we will init some things twice or add
8738           two default log functions.
8739
8740 2006-12-13  Edward Hervey  <edward@fluendo.com>
8741
8742         * docs/manual/basics-bus.xml:
8743         No, gst_main_loop does not exist. Its g_main_loop.
8744         Discovered by somebody who abused the copy-paste technique of coding :)
8745
8746 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
8747
8748         * gst/gstghostpad.c:
8749           Log ghostpad debug stuff to the GST_PADS category as well rather
8750           than just to the default category.
8751
8752 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
8753
8754         * configure.ac:
8755         * gst/gst.c: (init_pre):
8756           Add some basic system details such as OS and architecture
8757           to the debug output if possible, courtesy of uname().
8758
8759 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
8760
8761         * docs/gst/running.xml:
8762           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8763           environment variables.
8764
8765 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8766
8767         * tests/check/gst/gstbin.c: (GST_START_TEST):
8768         It is acceptable to have a refcount of 2 or 3 at this point in the
8769         test, because the pipeline might be just posting its state_change
8770         message. The next line then waits for that message to appear using
8771         bus_poll, so that should be fine too.
8772
8773 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8774
8775         * gst/gst.c: (ensure_current_registry_forking):
8776         Ignore EINTR when reading from the child registry pipe.
8777         Explicitly ignore the return value from close, since it makes no
8778         difference.
8779
8780         * gst/gstminiobject.c: (gst_mini_object_ref),
8781         (gst_mini_object_unref):
8782         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8783
8784         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8785         When removing cached plugins, remove their features too, so they're
8786         not visible after they've disappeared.
8787
8788         * gst/gstutils.c: (prepare_link_maybe_ghosting):
8789         In the unlikely case that we are linking pads with no parents, don't
8790         crash trying to get the non-existent parent bin.
8791
8792         * gst/parse/grammar.y:
8793         Output debug in the PIPELINE category
8794
8795 2005-03-08  Wim Taymans  <wim@fluendo.com>
8796
8797         Patch by: René Stadler <mail at renestadler dot de>
8798
8799         * gst/gstclock.c: (gst_clock_new_periodic_id):
8800         Reject invalid clock times for interval of periodic ids.
8801         Fixes ##383506.
8802
8803 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8804
8805         * gst/gstelementfactory.c: (gst_element_factory_create):
8806         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8807         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8808         * tools/gst-inspect.c: (print_element_info):
8809         Fix refcounting of gst_plugin_feature_load to match the docs. 
8810         Fixes: #380129
8811
8812 2006-12-07  Wim Taymans  <wim@fluendo.com>
8813
8814         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8815         (gst_base_sink_get_position):
8816         Improve debugging of events.
8817
8818 2006-12-07  Wim Taymans  <wim@fluendo.com>
8819
8820         Patch by: René Stadler <mail at renestadler dot de>
8821
8822         * gst/gstclock.c: (gst_clock_id_wait):
8823         Make period ids add the interval to the origial requested time instead
8824         of the possibly updated time which can be wrong when there are multiple
8825         waiters for the same id. Fixes #382592.
8826
8827         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8828         (gst_system_clock_id_wait_jitter_unlocked),
8829         (gst_system_clock_id_wait_jitter):
8830         Fix restart in the async notify thread when an async entry is added to
8831         the front of the list. Fixes #381492. 
8832
8833         * tests/check/gst/gstsystemclock.c: (store_callback),
8834         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8835         Added test for multiple async waits.
8836         Added test for async wait order.
8837
8838 2006-12-07  Wim Taymans  <wim@fluendo.com>
8839
8840         * gst/gstbin.c: (gst_bin_query):
8841         Add some more docs about the POSITION query.
8842
8843 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8844
8845         * configure.ac:
8846         Bump version nano - back to CVS.
8847
8848 === release 0.10.11 ===
8849
8850 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
8851
8852         * configure.ac:
8853           releasing 0.10.11, "Love never runs on time"
8854
8855 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
8856
8857         * win32/common/libgstbase.def:
8858         * win32/common/libgstreamer.def:
8859         * win32/vs8/libgstbase.vcproj:
8860         * win32/vs8/libgstcoreelements.vcproj:
8861         * win32/vs8/libgstreamer.vcproj:
8862         Fix compilation on win32 under VS8
8863         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8864         Partially fixes #381175
8865
8866 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8867
8868         * gst/gstvalue.c: (gst_value_compare_fraction):
8869         If someone is foolish enough to compare 2 fractions with denominator =
8870         0, return UNORDERED rather than aborting.
8871
8872 2006-11-28  Edward Hervey  <edward@fluendo.com>
8873
8874         * libs/gst/base/Makefile.am:
8875         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8876         (gst_data_queue_base_init), (gst_data_queue_class_init),
8877         (gst_data_queue_init), (gst_data_queue_new),
8878         (gst_data_queue_cleanup), (gst_data_queue_finalize),
8879         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8880         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8881         (gst_data_queue_is_empty), (gst_data_queue_is_full),
8882         (gst_data_queue_set_flushing), (gst_data_queue_push),
8883         (gst_data_queue_pop), (gst_data_queue_drop_head),
8884         (gst_data_queue_set_property), (gst_data_queue_get_property):
8885         * libs/gst/base/gstdataqueue.h:
8886         New GstDataQueue object for threadsafe queueing. Most useful for
8887         elements that need some queueing functionnality.
8888         * docs/libs/gstreamer-libs-docs.sgml:
8889         * docs/libs/gstreamer-libs-sections.txt:
8890         Insert documentation for GstDataQueue
8891         * plugins/elements/Makefile.am:
8892         * plugins/elements/gstelements.c:
8893         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
8894         (gst_multi_queue_class_init), (gst_multi_queue_init),
8895         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8896         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
8897         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
8898         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8899         (gst_multi_queue_loop), (gst_multi_queue_chain),
8900         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8901         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
8902         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
8903         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
8904         (wake_up_next_non_linked), (compute_next_non_linked),
8905         (single_queue_overrun_cb), (single_queue_underrun_cb),
8906         (single_queue_check_full), (gst_single_queue_new):
8907         * plugins/elements/gstmultiqueue.h:
8908         New multiqueue element, using GstDataQueue. Used for queuing multiple
8909         streams.
8910         Closes #344639 and #347785
8911
8912 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
8913
8914         * docs/pwg/advanced-types.xml:
8915           add more missing type details
8916
8917         * tools/gst-run.c: (main):
8918           remove unused variable
8919
8920 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
8921
8922         * docs/libs/Makefile.am:
8923         * docs/libs/gstreamer-libs.types:
8924           add types of base classes to enable gobject specific stuff in the docs
8925
8926         * docs/random/ensonic/embedded.txt:
8927           more ideas about isolating platform specific things
8928
8929 2006-11-20  Wim Taymans  <wim@fluendo.com>
8930
8931         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
8932
8933         * libs/gst/check/gstcheck.h:
8934         Fix compilation and running against 0.9.4. Fixes #377332.
8935
8936 2006-11-20  Wim Taymans  <wim@fluendo.com>
8937
8938         * gst/gstsegment.c: (gst_segment_set_seek),
8939         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8940         (gst_segment_to_running_time):
8941         Fix boundary checking in to_running_time() and to_stream_time().
8942         Fixes #377183.
8943
8944         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8945         stream and running time can now be calculated for the complete
8946         clipped segment.
8947
8948 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
8949
8950         * gst/gstpad.c: (gst_pad_push_event):
8951           Can't access event structure after giving away ownership of
8952           the event.
8953
8954 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
8955
8956         * docs/random/ensonic/embedded.txt:
8957         * docs/random/ensonic/profiling.txt:
8958         * docs/random/ensonic/receipies.txt:
8959           more thinking
8960
8961 2006-11-13  Wim Taymans  <wim@fluendo.com>
8962
8963         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8964
8965         * gst/gstpad.c:
8966         Fix documentation for gst_pad_dispatcher. Fixes #374475.
8967
8968 2006-11-13  Wim Taymans  <wim@fluendo.com>
8969
8970         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
8971
8972         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8973         Store new length in segment duration so we don't keep on calling the
8974         potentially expensize get_size() call. Fixes #370865.
8975
8976 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
8977
8978         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
8979
8980         * win32/common/libgstreamer.def:
8981           Add two missing symbols (#366492).
8982
8983 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
8984
8985         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
8986         (gst_adapter_take_buffer):
8987         Fix format string to use all its arguments.
8988         Remove useless >= check on a guint
8989
8990 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
8991
8992         * tests/examples/adapter/.cvsignore:
8993         Ignore build file as commanded by the build-bot
8994
8995 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
8996
8997         * tests/examples/adapter/Makefile.am:
8998         * tests/examples/adapter/adapter_test.c: (run_test_take),
8999         (run_test_take_buffer), (run_tests), (main):
9000
9001         Add new files from the previous commit
9002
9003 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9004
9005         * Makefile.am:
9006         * configure.ac:
9007         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9008         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9009         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9010         * libs/gst/base/gstadapter.h:
9011         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9012         (GST_START_TEST), (gst_adapter_suite):
9013         * tests/examples/Makefile.am:
9014         Do some optimisation work in GstAdapter to avoid copies in more cases.
9015         It could still do slightly better by merging buffers when
9016         gst_buffer_is_span_fast is true, but is already faster. 
9017
9018         Also, avoid traversing a single-linked list to append each incoming 
9019         buffer inside the adapter.
9020
9021         Add simple test app that times the adapter behaviour in different
9022         situations, and extend the unit test to check that bytes enter and
9023         exit the adapter in their original order.
9024
9025 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9026
9027         * docs/random/draft-missing-plugins.txt:
9028           Update: use element message instead of adding a new message
9029           type to the core; don't provide GStreamer API to initiate the
9030           plugin download, just provide API to compose the strings needed
9031           and let an external libgimmestuff handle the rest.
9032
9033 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9034
9035         * tools/gst-inspect.c: (print_element_properties_info):
9036         Print a string instead of 'unknown type' for GValueArray properties
9037
9038 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9039
9040         * docs/random/draft-missing-plugins.txt:
9041         More small fixes.
9042
9043 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9044
9045         * tests/examples/typefind/typefind.c: (type_found), (main):
9046           Make typefind element example work again (#371894); add a
9047           license header.
9048
9049 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9050
9051         * docs/random/draft-missing-plugins.txt:
9052           Commit initial draft about how to deal with missing plugins,
9053           needs work (API too).
9054
9055 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9056
9057         * docs/pwg/advanced-types.xml:
9058           documents the new caps elements (see #363118)
9059
9060 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9061
9062         * gst/gstplugin.c: (gst_plugin_load_file):
9063         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9064         (gst_file_src_map_region), (gst_file_src_start):
9065         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9066         (gst_file_index_commit):
9067           Use g_strerror() instead of strerror() - we want UTF-8.
9068
9069 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9070
9071         Patch by: Peter Kjellerstedt <pkj at axis com>
9072
9073         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9074           Another printf fix (#371493).
9075
9076 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9077
9078         * tests/check/gst/gsttag.c:
9079           relicence (okay with author=company)
9080
9081 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9082
9083         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9084         (gst_pad_push_event):
9085           Enhance debug and improve docs
9086         
9087         * gst/gsturi.c:
9088           Fix docs
9089
9090 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9091
9092         * docs/random/ensonic/distributed.txt:
9093         * docs/random/ensonic/profiling.txt:
9094           more ideas
9095
9096 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9097
9098         * docs/gst/gstreamer-sections.txt:
9099           add new API and fix the build
9100           
9101         * gst/gstbin.c: (gst_bin_recalc_state):
9102         * gst/gstelement.c: (gst_element_message_full),
9103         (gst_element_get_state_func), (gst_element_set_state_func):
9104           use new API and improve logging
9105         
9106         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9107         * gst/gstutils.h:
9108           API: add function to get StateChangereturn names to improve logs 
9109
9110 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9111
9112         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9113           I'm considering shooting the next person to put strerror stuff
9114           in the translateable part of the message.
9115
9116 2006-11-03  Wim Taymans  <wim@fluendo.com>
9117
9118         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9119         Get the type and printf conversion specifiers right.
9120
9121 2006-11-03  Wim Taymans  <wim@fluendo.com>
9122
9123         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9124
9125         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9126         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9127         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9128         Some small cleanups. Improve debugging.
9129         * gst/gstpad.h:
9130         Signal all waiting threads with a broadcast instead of just one.
9131         Fixes #369942.
9132
9133 2006-11-03  Wim Taymans  <wim@fluendo.com>
9134
9135         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9136         (gst_fd_src_create):
9137         Add some debugging. 
9138         Only update fd when it's different from the old.
9139
9140 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9141
9142         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9143           Printf fixes for PPC/OSX, take two (#369366).
9144
9145 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9146
9147         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9148
9149         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9150         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9151         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9152           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9153           don't cast to long long for portability reasons, but use
9154           GLib's types instead.
9155
9156 2006-10-30  Michael Smith  <msmith@fluendo.com>
9157
9158         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9159           Get the arguments to lseek() the right way around.
9160           Fixes 367677.
9161
9162 2006-10-30  Wim Taymans  <wim@fluendo.com>
9163
9164         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9165
9166         * gst/gstinfo.h:
9167         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9168
9169 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9170
9171         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9172
9173         * docs/design/part-MT-refcounting.txt:
9174         * docs/random/wtay/capsnego2-docs:
9175         * gst/gstclock.c:
9176         * gst/gstxml.c:
9177           Typo fixes (#366212).
9178
9179 2006-10-28  Wim Taymans  <wim@fluendo.com>
9180
9181         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9182
9183         * gst/gst.c:
9184         * win32/common/libgstbase.def:
9185         * win32/common/libgstreamer.def:
9186         * win32/vs8/libgstbase.vcproj:
9187         * win32/vs8/libgstcontroller.vcproj:
9188         Add needed entries in .def files.
9189         Use HAVE_UNISTD_H.
9190         Rearrange def files in vs8 solutions. Fixes #366286.
9191
9192 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9193
9194         * win32/common/gstconfig.h:
9195           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9196           hand-made win32 gstconfig.h. Fixes #366321.
9197
9198 2006-10-27  Wim Taymans  <wim@fluendo.com>
9199
9200         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9201         (gst_ghost_pad_new_full):
9202         Make acceptcaps return TRUE when we don't have a target, just like
9203         setcaps does.
9204
9205 2006-10-27  Wim Taymans  <wim@fluendo.com>
9206
9207         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9208         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9209
9210 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9211
9212         * gst/gststructure.c: (gst_structure_id_set_value):
9213           If someone tries to set a non-UTF8 string field on a structure,
9214           don't just print a warning, but also ignore the request and do
9215           not change/add that field to the structure.
9216
9217         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9218           Test for the above.
9219
9220 2006-10-25  David Schleef  <ds@schleef.org>
9221
9222         * gst/gstinfo.c:
9223           g_hash_table_insert() needs a cast to a non-const pointer duh.
9224
9225 2006-10-25  David Schleef  <ds@schleef.org>
9226
9227         * gst/gstinfo.c:
9228         * gst/gstinfo.h:
9229           Change name parameter of _gst_debug_register_funcptr to const
9230           to reflect the constness of its use in the function as well
9231           as to quiet a gcc warning.
9232
9233 2006-10-25  Edward Hervey  <edward@fluendo.com>
9234
9235         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9236         Don't push the buffer if it's empty.
9237         Closes #363095
9238
9239 2006-10-24  Wim Taymans  <wim@fluendo.com>
9240
9241         * gst/gstevent.h:
9242         Add small comment.
9243
9244         * libs/gst/base/gstbasetransform.c:
9245         (gst_base_transform_sink_eventfunc):
9246         Debug segment values *after* updating them as this is more
9247         interesting.
9248
9249 2006-10-23  Wim Taymans  <wim@fluendo.com>
9250
9251         * docs/design/part-events.txt:
9252         Update some docs.
9253
9254         * docs/design/part-block.txt:
9255         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9256         (gst_pad_push_event):
9257         Revert BLOCKING patch, it tries to be smart without really having a
9258         clear idea what or how. So, now we discard all FLUSHING events again on
9259         a blocking pad. Should fix gnonlin again.
9260
9261 2006-10-23  Wim Taymans  <wim@fluendo.com>
9262
9263         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9264
9265         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9266         (gst_base_src_start), (gst_base_src_activate_push):
9267         Make sure size is always initialized. Fixes #364388.
9268
9269 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9270
9271         * docs/random/ensonic/distributed.txt:
9272           add some ideas about doing distributed processing
9273
9274         * docs/random/ensonic/profiling.txt:
9275           get_rusage look promising
9276
9277 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9278
9279         * docs/manual/basics-helloworld.xml:
9280           Add a cast in example to fix compile warning
9281
9282 2006-10-18  Wim Taymans  <wim@fluendo.com>
9283
9284         * gst/gstsegment.c: (gst_segment_set_last_stop),
9285         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9286         Relax arg checking again, -1 is allowed.
9287
9288 2006-10-18  Wim Taymans  <wim@fluendo.com>
9289
9290         * gst/gstsegment.c: (gst_segment_set_last_stop),
9291         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9292         _set_last_stop() must be with a value != -1
9293         A _TYPE_SET to -1 means seek to 0.
9294         Calc last_stop correctly for negative rates.
9295         Make sure we work with positive durations when updating a segment.
9296
9297 2006-10-18  Wim Taymans  <wim@fluendo.com>
9298
9299         * docs/design/part-live-source.txt:
9300         * gst/gstclock.h:
9301         Small docs fixes.
9302
9303 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9304
9305         * gst/gstbuffer.h:
9306           Add an explicit cast to GstBuffer** to keep old code that added an
9307           explicit cast to GstMiniObject** for gst_mini_object_replace()
9308           compiling without warning.
9309
9310 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9311
9312         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9313           check for validity of dates
9314
9315 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9316
9317         * docs/gst/gstreamer-sections.txt:
9318           Forgot this one, makes gtk-doc shut up.
9319
9320 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9321
9322         Patch by: Peter Kjellerstedt <pkj at axis com>
9323
9324         * gst/gstobject.h:
9325           Don't define xmlNodePtr to gpointer if the core was built with
9326           --disable-loadsave and --disable-registry, this will break
9327           applications that want to use libxml2 but are buildling against a
9328           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9329           instead so we don't have to mess with the libxml2 namespace
9330           (#361675).
9331
9332 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9333
9334         * gst/gstbuffer.h:
9335           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9336           type-punned pointer warnings.
9337
9338 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9339
9340         * gst/gstelement.h:
9341           Add casts to the correct return type to state <=> state transition
9342           macros.
9343
9344 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9345
9346         * docs/design/part-live-source.txt:
9347           describe howto handle latency
9348         
9349         * docs/random/ensonic/profiling.txt:
9350           more ideas
9351
9352         * tools/gst-plot-timeline.py:
9353           fix log parsing for solaris, remove unused function
9354
9355 2006-10-16  Wim Taymans  <wim@fluendo.com>
9356
9357         * docs/design/part-trickmodes.txt:
9358         * gst/gstevent.c:
9359         Update some docs regarding reverse playback.
9360
9361 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9362
9363         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9364
9365         * win32/vs8/grammar.vcproj:
9366           Error out with a warning if glib-genmarshal.exe is not in path,
9367           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9368
9369 2006-10-13  Wim Taymans  <wim@fluendo.com>
9370
9371         * gst/gstsegment.c: (gst_segment_set_seek):
9372         When seeking to stop -1, set last_stop (current position) to the
9373         duration of the segment.
9374
9375 2006-10-13  Wim Taymans  <wim@fluendo.com>
9376
9377         * gst/gstelement.h:
9378         Clarify _NO_PREROLL a bit more.
9379
9380         * gst/gstevent.c:
9381         Fix docs.
9382
9383         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9384         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9385         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9386         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9387         due to wrong locking order. Fixes #361769.
9388         Remove some redundant/misplaced checks in pad_block.
9389
9390         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9391         For negative rates, count backwards from the duration.
9392
9393 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9394
9395         * gst/gsterror.c: (_gst_library_errors_init):
9396           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9397           up with something better).
9398
9399 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9400
9401         * win32/vs6/libgstreamer.dsp:
9402         * win32/vs7/libgstreamer.vcproj:
9403         * win32/vs8/libgstreamer.vcproj:
9404           Don't reference glib-compat.c which is currently not used and not
9405           disted; add gstquark.c which was recently added. Fixes #361730.
9406
9407 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9408
9409         * win32/common/libgstbase.def:
9410         * win32/common/libgstcontroller.def:
9411         * win32/common/libgstreamer.def:
9412           Add gst_caps_merge() and a bunch of other recently-added functions.
9413           Fixes #361732.
9414
9415 2006-10-11  Wim Taymans  <wim@fluendo.com>
9416
9417         * docs/plugins/gstreamer-plugins.args:
9418         * docs/plugins/inspect/plugin-coreelements.xml:
9419         * docs/plugins/inspect/plugin-coreindexers.xml:
9420         Update element args.
9421
9422         * gst/gstsystemclock.c:
9423         Small comment update.
9424
9425         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9426         (gst_tee_request_new_pad), (gst_tee_release_pad),
9427         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9428         (gst_tee_sink_activate_pull):
9429         * plugins/elements/gsttee.h:
9430         Some tee loving:
9431         Add default property defines.
9432         Implement release pad function.
9433         Give properties better blubs etc.
9434         Activate pads before adding them to a running tee.
9435         Do simple buffer_alloc on the first requested pad.
9436         Post error when activation fails.
9437
9438 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9439
9440         * gst/gst.c: (ensure_current_registry_forking):
9441           Check return value of write() to make compiler happy.
9442
9443 2006-10-11  Wim Taymans  <wim@fluendo.com>
9444
9445         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9446
9447         * plugins/elements/gstqueue.c: (gst_queue_chain):
9448         Recheck queue filledness after signalling the overrun when we're about
9449         to leak downstream because we released the lock when emitting the signal
9450         and the queue could be empty again. Fixes #352345.
9451
9452 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9453
9454         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9455           Fix refcounting here too, just like we did for _new_valist() a few
9456           days ago (#357180) (thanks to René Stadler). Also remove all those
9457           'Since: 0.9' from the gtk-doc blobs.
9458
9459         * tests/check/libs/controller.c: (controller_refcount_new_list),
9460         (gst_controller_suite):
9461           Unit test for the above.
9462
9463 2006-10-10  Wim Taymans  <wim@fluendo.com>
9464
9465         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9466
9467         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9468         (gst_pad_save_thyself):
9469         Update some docs.
9470         Write pad direction in XML output. Fixes #345496.
9471
9472 2006-10-10  Wim Taymans  <wim@fluendo.com>
9473
9474         Patch by: René Stadler <mail at renestadler dot de>
9475
9476         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9477         (gst_controller_new_list), (_gst_controller_dispose),
9478         (_gst_controller_finalize), (_gst_controller_class_init):
9479         Take ref to controlled object so that it cannot disappear. 
9480         Fixes #357432.
9481
9482 2006-10-10  Wim Taymans  <wim@fluendo.com>
9483
9484         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9485         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9486         (gst_check_teardown_sink_pad):
9487         Activate/deactivate pads in setup/teardown respectively.
9488
9489 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9490
9491         Patch by: Josep Torra Valles <josep@fluendo.com>
9492
9493         * gst/Makefile.am:
9494         Cast values when making gstenumtypes.h.  This pacifies Forte
9495         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9496         in the enumeration.
9497
9498 2006-10-09  Wim Taymans  <wim@fluendo.com>
9499
9500         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9501         Rename some more @cur to @start to fix docs. 
9502
9503         * gst/gstsegment.c: (gst_segment_set_seek):
9504         Fix typo.
9505         time and start must always stay in sync as defined in design doc.
9506
9507         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9508         Rename param to fix docs.
9509
9510         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9511         Check that start and time are in sync.
9512
9513         * tests/check/pipelines/parse-launch.c:
9514         (gst_parse_test_element_change_state):
9515         Activate pad before adding to the element.
9516
9517 2006-10-09  Wim Taymans  <wim@fluendo.com>
9518
9519         * docs/design/part-qos.txt:
9520         Fix typo.
9521
9522         * gst/gstevent.c:
9523         * gst/gstevent.h:
9524         Update seek event docs regarding negative rates.
9525         Rename @cur to @start. 
9526
9527         * gst/gstsegment.c: (gst_segment_set_seek):
9528         * gst/gstsegment.h:
9529         Update set_seek docs regarding negative rates.
9530         Correctly update last_stop to @stop when dealing with negative
9531         rates.
9532         Rename @cur to @start. 
9533
9534         * tests/check/gst/gstpad.c: (GST_START_TEST):
9535         Activate pads before trying to use them.
9536
9537         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9538         (gst_segment_suite):
9539         Add simple check for segments and negative rates.
9540
9541 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9542
9543         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9544         * gst/gsttaglist.h:
9545         * docs/gst/gstreamer-sections.txt:
9546           API: add gst_tag_list_is_empty() (#360467).
9547
9548         * tests/check/gst/gsttag.c: (GST_START_TEST):
9549           And a test case.
9550
9551 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9552
9553         * gst/gstmessage.h:
9554         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9555         a value that doesn't fit on enumeration.
9556
9557 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9558
9559         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9560         Remove local debugging system and use Gstreamer's instead.
9561
9562 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9563
9564         Patch by: Josep Torra Valles <josep@fluendo.com>
9565
9566         * common/m4/gst-error.m4:
9567         Disable warning of statement not reached on Forte.
9568         * gst/gstmessage.h:
9569         Fix warning on Forte (value doesn't fit on enumeration).
9570         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9571         Fix warning on Forte (value doesn't fit on enumeration).
9572         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9573         DEBUG macro says it takes minimum of 2 args and so Forte
9574         complains about the use with just 1 arg.
9575         * plugins/elements/gstfdsink.c:
9576         * plugins/elements/gstfdsrc.c:
9577         * plugins/elements/gstfilesink.c:
9578         * plugins/elements/gstfilesrc.c:
9579         Use correct return type for the uri handler implementations.
9580
9581         All these fix warnings in Forte.  Fixes bug #360860.
9582
9583 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9584
9585         * gst/gstelement.h:
9586           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9587           format string, so don't use G_GNUC_PRINTF for those versions.
9588
9589 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9590
9591         * gst/gsttaglist.c: (gst_is_tag_list):
9592         * gst/gsttaglist.h:
9593           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9594
9595         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9596           Small test for the above.
9597
9598 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9599
9600         * gst/gsttaglist.h:
9601           Less tabs, more spaces.
9602
9603 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
9604
9605         * gst/gstinfo.h:
9606           Those two function declarations do actually belong there, revert
9607           commit from yesterday that turned them intro macros.
9608
9609 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9610
9611         Patch by: Josep Torra Valles <josep@fluendo.com>
9612
9613         * gst/gst.c: (gst_init_get_option_group):
9614         Fix empty declaration and type mismatch.
9615         * gst/gstbin.c: (gst_bin_change_state_func):
9616         Fix type mismatch.
9617         * gst/gstelement.c: (gst_element_continue_state),
9618         (gst_element_set_state_func), (gst_element_change_state),
9619         (gst_element_change_state_func):
9620         Fix type mismatches.
9621         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9622         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9623         Cast as appropriate.
9624         * gst/gstobject.c: (gst_class_signal_connect):
9625         Cast as appropriate.  The function pointer parameter really
9626         has the wrong type but would break API if we change it.
9627         * gst/gstquery.c:
9628         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9629         order of including string.h.
9630         * gst/gstutils.c: (gst_element_state_get_name):
9631         Remove unreachable line.
9632         * gst/gstxml.c: (gst_xml_parse_doc):
9633         Fix type mismatch.
9634         All these caught by Forte.
9635
9636 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9637
9638         Patch by: Josep Torra Valles <josep@fluendo.com>
9639
9640         * common/m4/gst-error.m4:
9641         Fixed bug #360151.
9642         We need to disable warnings on Forte for empty declarations
9643         due to gst-indent adding ;s to lines that just use macros
9644         where the macro actually doesn't need a ; at end to end
9645         statement.
9646
9647 2006-10-06  Wim Taymans  <wim@fluendo.com>
9648
9649         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9650         (gst_file_sink_close_file), (gst_file_sink_event),
9651         (gst_file_sink_render):
9652         Add some FIXME for the NEWSEGMENT handling.
9653
9654 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9655
9656         * gst/parse/grammar.y:
9657         Remove static function gst_parse_element_lock as all it does
9658         is return.  Looks like cruft from 0.8.
9659
9660 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9661
9662         Patch by: Josep Torra Valles <josep@fluendo.com>
9663
9664         * common/m4/gst-error.m4:
9665         * configure.ac:
9666         * libs/gst/net/Makefile.am:
9667         Fix a compilation issue with Forte on Solaris.  inet_aton is in
9668         libresolv.
9669
9670 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9671
9672         * gst/gstpad.c: (pre_activate):
9673         * gst/gstregistry.c: (gst_registry_scan_path_level):
9674         * gst/gstregistryxml.c: (load_plugin):
9675         * libs/gst/controller/gstcontroller.c:
9676         (gst_controlled_property_set_interpolation_mode):
9677         * libs/gst/dataprotocol/dataprotocol.c:
9678         (gst_dp_packet_from_event_1_0):
9679         * libs/gst/net/gstnetclientclock.c:
9680         (gst_net_client_clock_observe_times):
9681         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9682           Printf fixes.
9683
9684 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9685
9686         * configure.ac:
9687         * docs/gst/gstreamer-sections.txt:
9688         * gst/gstconfig.h.in:
9689         * gst/gstelement.h:
9690         * gst/gstinfo.h:
9691           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9692           whether we can use G_GNUC_PRINTF in other header files and at
9693           least check the printf format/arguments of debug messages and
9694           GST_ELEMENT_ERROR messages when the printf extension is not
9695           being used.
9696           Replace more tabs with spaces in gstinfo.h and remove two spurious
9697           function declarations in GST_DISABLE_DEBUG part with macros.
9698
9699 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
9700
9701         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9702           More docs for the sync-message signal (mention that it is not
9703           emitted by default); log message structures of messages posted on
9704           the bus as well.
9705
9706 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
9707
9708         * gst/gst.c: (ensure_current_registry_forking):
9709         Use a pipe pair to receive status results from the forked child, and
9710         ignore the result from waitpid. Fixes #355499
9711
9712 2006-10-02  Wim Taymans  <wim@fluendo.com>
9713
9714         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9715         (gst_ghost_pad_suite):
9716         Fix leak in check.
9717
9718 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9719
9720         * gst/gstpad.c:
9721           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9722
9723 2006-10-02  Edward Hervey  <edward@fluendo.com>
9724
9725         * docs/design/part-block.txt:
9726         Further explain the use of flushing on blocked pads.
9727         * docs/gst/gstreamer-sections.txt:
9728         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9729         (gst_pad_push_event):
9730         * gst/gstpad.h:
9731         Added new GstPadFlag : GST_PAD_BLOCKING.
9732         Adds the notion of pads really blocking, which enables to properly
9733         handle FLUSH_START/FLUSH_STOP events on blocked pads.
9734         Fixes #358999
9735         API: gst_pad_is_blocking()
9736         API: GST_PAD_IS_BLOCKING() macro
9737         API: GST_PAD_BLOCKING GstPadFlag
9738         
9739 2006-10-02  Wim Taymans  <wim@fluendo.com>
9740
9741         Patch by: mrcgran <mrc.gran at gmail dot com>
9742
9743         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9744         Filter the proxied caps against the padtemplate if we have one.
9745
9746         * gst/gstquery.c: (gst_query_new_segment):
9747         Add include for gstinfo.h so that compilation with
9748         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9749
9750 2006-10-02  Wim Taymans  <wim@fluendo.com>
9751
9752         Patch by: Alessandro Decina  <alessandro at nnva org>
9753
9754         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9755         (gst_file_sink_set_location), (gst_file_sink_open_file),
9756         (gst_file_sink_close_file), (gst_file_sink_event),
9757         (gst_file_sink_render):
9758         Set file to NULL when closing filesink so that we can set a new filename
9759         in READY. Fixes #358613.
9760
9761 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9762
9763         Patch by: Alessandro Decina  <alessandro at nnva org>
9764
9765         * gst/gstevent.c: (_gst_event_copy):
9766           Fix gst_mini_object_make_writable() and gst_event_copy() for events
9767           with event structures by setting the parent refcount address of the
9768           copied structure to the address of the refcount member of the newly
9769           copied event rather than the address of the refcount member of the
9770           original event. Fixes #358737.
9771
9772         * tests/check/gst/gstevent.c: (GST_START_TEST):
9773           Unit test for the above.
9774
9775 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
9776
9777         * docs/design/Makefile.am:
9778           Dist some more files.
9779
9780 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9781
9782         * tests/check/libs/controller.c: (GST_START_TEST),
9783         (gst_controller_suite):
9784           Add test for the previous fix; add some more tests
9785           for correct refcounting behaviour; fix a few leaks
9786           in test cases; call gst_controller_init() at start
9787           of all tests.
9788
9789 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9790
9791         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9792         (gst_controller_set_from_list):
9793           Don't g_return_val_if_fail() on timed values with invalid timestamps
9794           inside a critical section without unlocking the mutex. Spotted by
9795           René Stadler. (#357617)
9796           Also, fix up refcounting properly: when returning an existing
9797           controller, we should increase the reference only once and not
9798           once per property and when trying to control a property again
9799           we should also increase the refcount.
9800
9801 2006-09-29  Wim Taymans  <wim@fluendo.com>
9802
9803         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9804         * libs/gst/net/gstnettimeprovider.c:
9805         (gst_net_time_provider_thread):
9806         Stop reading commands when EOF as well.
9807
9808         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9809         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9810         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9811         Unify description of the dump property.
9812
9813 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9814
9815         * tests/examples/manual/.cvsignore:
9816         OK, so it's actually cvsignore that needs changing. Stop laughing.
9817
9818 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9819
9820         * tests/examples/manual/Makefile.am:
9821         Gah, declare vars *before* using them
9822
9823 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9824
9825         * gst/gst.c: (init_pre), (scan_and_update_registry),
9826         (ensure_current_registry_nonforking),
9827         (ensure_current_registry_forking), (ensure_current_registry),
9828         (init_post), (gst_debug_help), (gst_deinit):
9829         * gst/gst_private.h:
9830         * gst/gstregistry.c: (gst_registry_finalize),
9831         (gst_registry_remove_features_for_plugin_unlocked),
9832         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9833         (gst_registry_scan_path),
9834         (_priv_gst_registry_remove_cache_plugins),
9835         (_priv_gst_registry_cleanup):
9836         * gst/gstregistry.h:
9837         Re-commit the registry changes, along with an extra fix:
9838           When a cached plugin is encountered at a different file path,
9839           update the stored path in the registry cache so that the parent
9840           process knows where it actually is now when it re-reads the registry
9841           cache. Fixes the thing that broke distcheck with the previous commit.
9842
9843         * tests/check/Makefile.am:
9844         Clean up files named 'core' too when running make clean.
9845
9846         * tests/examples/manual/Makefile.am:
9847         Set up a registry path for running these tests, and clean it properly
9848         for distcheck.
9849
9850 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9851
9852         * configure.ac:
9853         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9854         want gmodule-no-export-2.0.pc instead so that we don't drag in
9855         --export-dynamic on every project that links to GStreamer.
9856
9857         Also, make our export regex only match the start of symbols, rather 
9858         than any symbol that contains '_gst' somewhere.
9859
9860         * libs/gst/check/Makefile.am:
9861         The libgstcheck we build does however need export-dynamic, as it
9862         produces some symbols that don't match our _gst... style regex.
9863         Fixes: #318031
9864
9865 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9866
9867         * gst/gst.c: (init_pre), (scan_and_update_registry),
9868         (ensure_current_registry_nonforking),
9869         (ensure_current_registry_forking), (ensure_current_registry),
9870         (init_post), (gst_debug_help), (gst_deinit):
9871         * gst/gst_private.h:
9872         * gst/gstregistry.c: (gst_registry_finalize),
9873         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9874         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9875         (_gst_registry_cleanup):
9876         * gst/gstregistry.h:
9877           Revert previous change until I figure out why it breaks distcheck.
9878
9879 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9880
9881         * gst/gst.c: (init_pre), (scan_and_update_registry),
9882         (ensure_current_registry_nonforking),
9883         (ensure_current_registry_forking), (ensure_current_registry),
9884         (init_post), (gst_debug_help), (gst_deinit):
9885
9886           Make init_pre and init_post take the full complement of GOptionFunc
9887           args so they can return useful GErrors. Make the registry updating
9888           functions do so.
9889
9890           Call _priv_gst_registry_remove_cache_plugins after scanning files to
9891           ensure that the registry we're about to write out doesn't contain
9892           stale information about old-deleted plugin files.
9893
9894           Make _priv_gst_registry_remove_cache_plugins return a boolean so
9895           that deletion of plugin files is considered a registry change.
9896
9897         * gst/gst_private.h:
9898         * gst/gstregistry.c: (gst_registry_finalize),
9899         (gst_registry_remove_features_for_plugin_unlocked),
9900         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9901         (gst_registry_scan_path),
9902         (_priv_gst_registry_remove_cache_plugins),
9903         (_priv_gst_registry_cleanup):
9904         * gst/gstregistry.h:
9905         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
9906         by adding _priv prefix, so that they won't appear in the global
9907         symbol table. They still do atm though because of #318031. Move the
9908         prototypes to gst_private.h
9909
9910         When removing a plugin, remove all features for that plugin too. 
9911         Fixes #340878.
9912
9913 2006-09-27  Wim Taymans  <wim@fluendo.com>
9914
9915         * docs/random/moving-plugins:
9916         Make it clear that the "compiled-in descriptions" really mean
9917         the element details.
9918
9919         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9920         (gst_base_sink_wait_preroll):
9921         Update docs.
9922
9923         * docs/libs/gstreamer-libs-sections.txt:
9924         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9925         (gst_base_src_get_range), (gst_base_src_activate_push):
9926         * libs/gst/base/gstbasesrc.h:
9927         Added function to block while waiting for PLAYING, this function
9928         is used by live sources that block on the clock.
9929         API: gst_base_src_wait_playing()
9930
9931 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9932
9933         Patch by: Peter Kjellerstedt <pkj at axis com>
9934
9935         * Makefile.am:
9936           gst-element-check.m4 is generated and should therefore be
9937           copied from the build dir rather than the source dir (#357593).
9938           'make distcheck' hasn't noticed this because we were disting
9939           the file as well, so stop doing that.
9940
9941 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9942
9943         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9944           Add some tests for gst_caps_intersect().
9945
9946         * tools/gst-launch.c: (event_loop):
9947           Print all buffering percentages we get, even the 100% one.
9948
9949 2006-09-26  Wim Taymans  <wim@fluendo.com>
9950
9951         * tools/gst-inspect.c: (print_element_properties_info),
9952         (print_signal_info):
9953         Fix printing of flags to match the look of enums.
9954
9955 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9956
9957         * gst/gstelementfactory.c:
9958           Fix typo in docs blurb.
9959
9960 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9961
9962         * gst/gsturi.c: (search_by_entry):
9963           Don't assert/crash here if a uri handler doesn't return any
9964           supported protocols. The list of protocols could be generated
9965           dynamically at runtime or at plugin registration, and an error
9966           in the underlying library shouldn't be fatal (#353301).
9967
9968 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9969
9970         * gst/gstinfo.c:
9971           Fix warning if HAVE_PRINTF_EXTENSION is undefined
9972           (spotted by Peter Kjellerstedt).
9973
9974 2006-09-23  Wim Taymans  <wim@fluendo.com>
9975
9976         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
9977
9978         * libs/gst/base/gstbasesrc.c:
9979         (gst_base_src_default_check_get_range), (gst_base_src_start),
9980         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9981         (gst_base_src_change_state):
9982         Match _start/_stop calls in the activate functions. Remove redundant
9983         _stop call from the state change function. Fixes #356910.
9984         Turn failure DEBUG into ERROR. 
9985
9986 2006-09-22  Wim Taymans  <wim@fluendo.com>
9987
9988         * docs/design/part-buffering.txt:
9989         * gst/gstmessage.c: (gst_message_new_buffering),
9990         (gst_message_parse_buffering):
9991         Update docs about buffering.
9992
9993         * docs/design/part-trickmodes.txt:
9994         Fix typo.
9995
9996 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
9997
9998         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9999         (gst_controller_new_list):
10000           Ref instances when returning them again (fixes #357180)
10001
10002 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10003
10004         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10005           Don't forget to release proxy lock when there's an error.
10006
10007 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10008
10009         * gst/gstcaps.h:
10010           Add extra initialisers for Caps things, to fix some plugin warnings
10011           when using -Wextra
10012
10013 2006-09-18  Wim Taymans  <wim@fluendo.com>
10014
10015         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10016           Also set template on the internal pad so that a getcaps from the 
10017           target pad returns the template caps.
10018
10019 2006-09-18  Wim Taymans  <wim@fluendo.com>
10020
10021         * gst/gstelement.c: (gst_element_post_message),
10022         (gst_element_dispose):
10023         Use _DEBUG_OBJECT some more.
10024
10025         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10026         Avoid typechecks.
10027
10028         * tools/gst-launch.c: (main):
10029         If the toplevel element is not a GstPipeline, it must be put in a
10030         pipeline so that a bus and clock is selected.
10031
10032 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10033
10034         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10035           JITTER, RATE, and LATENCY query should be handled by the
10036           default case and not by the CONVERT query code.
10037
10038 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10039
10040         * gst/gstformat.c: (gst_format_register):
10041           Fix locking order (must take lock before using n_values).
10042
10043         * gst/gstvalue.c: (gst_value_serialize_enum),
10044         (gst_value_deserialize_enum_iter_cmp),
10045         (gst_value_deserialize_enum):
10046           Fix serialisation/deserialisation of custom registered GstFormats.
10047
10048         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10049           Unit test for custom format serialisation/deserialisation.
10050
10051 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10052
10053         * docs/pwg/building-boiler.xml:
10054         * plugins/elements/gstcapsfilter.c:
10055         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10056         section.
10057
10058 2006-09-16  Edward Hervey  <edward@fluendo.com>
10059
10060         * libs/gst/base/gstbasetransform.c:
10061         (gst_base_transform_buffer_alloc):
10062         Check if requested caps are the same as the sinks caps IF
10063         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10064         is FALSE.
10065         This fixes the renegotiation issues stated in #352827.
10066
10067 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10068
10069         * configure.ac:
10070         * docs/manual/advanced-autoplugging.xml:
10071         * tests/examples/Makefile.am:
10072         * tests/examples/manual/.cvsignore:
10073         * tests/examples/manual/Makefile.am:
10074         * tests/examples/manual/extract.pl:
10075           Extract the manual examples again like we used to do.
10076           Fix one of them.
10077
10078 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10079
10080         * win32/common/config.h:
10081           update for version
10082
10083 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10084
10085         * gst/gsterror.c:
10086           Documents how to receive errors.
10087
10088 2006-09-15  Wim Taymans  <wim@fluendo.com>
10089
10090         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10091         (event_loop), (main):
10092         Added some comments here and there.
10093         Post an application message when an interrupt is caught instead of doing
10094         an uncontrolled state change.
10095         Clean up the event loop.
10096         Handle buffering messages, pause/resume the pipeline.
10097         Make shutdown because of an interrupt more reliable.
10098
10099 2006-09-15  Wim Taymans  <wim@fluendo.com>
10100
10101         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10102         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10103         (gst_base_sink_preroll_object):
10104         Make sure that our internal state is correct when we commit our state
10105         asynchronously. This solves a race where a state change to PLAYING
10106         could cause the sink to remain blocked in preroll in some situations.
10107
10108 2006-09-15  Wim Taymans  <wim@fluendo.com>
10109
10110         * tools/gst-inspect.c: (print_element_properties_info),
10111         (print_signal_info):
10112         List flags as hex so it's easier to deal with.
10113
10114 2006-09-15  Wim Taymans  <wim@fluendo.com>
10115
10116         * docs/libs/gstreamer-libs-sections.txt:
10117         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10118         (gst_base_sink_do_sync):
10119         * libs/gst/base/gstbasesink.h:
10120         Expose logic to wait for preroll so that subclasses such as audiosink
10121         can also use this method.
10122         API: gst_base_sink_wait_preroll()
10123
10124 2006-09-15  Wim Taymans  <wim@fluendo.com>
10125
10126         * gst/gstobject.c: (gst_object_set_parent):
10127         * gst/gstpipeline.c: (do_pipeline_seek):
10128         Small cleanups in docs and code.
10129
10130         * gst/gstsegment.c: (gst_segment_clip):
10131         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10132         if stop == start and start is in the segment, no clipping should be
10133         done. Also add a test for this.
10134
10135 2006-09-15  Wim Taymans  <wim@fluendo.com>
10136
10137         * docs/design/part-buffering.txt:
10138         * docs/gst/gstreamer-sections.txt:
10139         * gst/gstmessage.c: (gst_message_new_buffering),
10140         (gst_message_parse_buffering):
10141         * gst/gstmessage.h:
10142         Added methods to create and parse BUFFERING messages.
10143         Added preliminary docs about buffering.
10144         API: gst_message_new_buffering
10145         API: gst_message_parse_buffering
10146
10147 2006-09-06  Wim Taymans  <wim@fluendo.com>
10148
10149         * gst/gstbin.c:
10150         Update documentation.
10151
10152         * gst/gstelement.c: (gst_element_class_init),
10153         (gst_element_release_request_pad), (gst_element_set_clock),
10154         (gst_element_get_index), (gst_element_add_pad),
10155         (gst_element_remove_pad), (gst_element_get_random_pad),
10156         (gst_element_send_event), (gst_element_get_query_types),
10157         (gst_element_query), (gst_element_post_message),
10158         (gst_element_message_full), (gst_element_continue_state),
10159         (gst_element_lost_state), (gst_element_save_thyself),
10160         (gst_element_restore_thyself):
10161         Documentation updates.
10162         Rename last bit of the new-pad -> pad-added signal rename.
10163         Fix the case where an element query would only work if the source
10164         pad was linked.
10165         Avoid some useless type checking in message handling.
10166
10167         * gst/gstevent.c:
10168         * gst/gstevent.h:
10169         * gst/gstutils.c:
10170         Documentation updates.
10171
10172 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10173
10174         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10175           add an INFO line for when we actually update the fd
10176
10177 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10178
10179         * configure.ac:
10180           back to TRUNK
10181
10182 === release 0.10.10 ===
10183
10184 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10185
10186         * configure.ac:
10187           releasing 0.10.10, "Pais"
10188
10189 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10190
10191         * docs/manual/advanced-position.xml:
10192           Fix typo in sample code.
10193
10194 2006-09-05  Wim Taymans  <wim@fluendo.com>
10195
10196         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10197         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10198         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10199         * libs/gst/net/gstnetclientclock.h:
10200         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10201         * libs/gst/net/gstnettimepacket.h:
10202         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10203         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10204         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10205         * libs/gst/net/gstnettimeprovider.h:
10206         Make stuff compile on windows. Fixes #345295.
10207
10208 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10209
10210         * gst/gst.c: (ensure_current_registry_forking):
10211           Print better details when child was terminated by signal.
10212
10213 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10214
10215         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10216           Print a warning rather than g_assert() if a plugin feature
10217           is a URI handler but returns no protocols (#353976).
10218
10219 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10220
10221         * docs/random/moving-plugins:
10222         Fix two typos.         
10223
10224 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10225
10226         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10227           Fix locking order, handle NULL function values properly.
10228
10229         * gst/gstinfo.h:
10230           Fix docs.
10231
10232         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10233           Initialise variable before using it and fix debug statement to
10234           print the address of the function rather than the address of the
10235           variable on the stack holding the address of the function.
10236
10237 2006-09-01  Wim Taymans  <wim@fluendo.com>
10238
10239         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10240         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10241         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10242         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10243         (gst_ghost_pad_parent_unset),
10244         (gst_ghost_pad_internal_do_activate_push),
10245         (gst_ghost_pad_internal_do_activate_pull),
10246         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10247         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10248         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10249         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10250         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10251         (gst_ghost_pad_new_no_target_from_template),
10252         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10253         More cleanups.
10254         Avoid needless typechecking in macros.
10255         Since the internal pad is always present and never changes, there is
10256         no need to locking or ref when retrieving it.
10257         Improve debugging a bit.
10258         Handle link errors when setting the target. Fixes #341029.
10259
10260 2006-09-01  Wim Taymans  <wim@fluendo.com>
10261
10262         * docs/libs/gstreamer-libs-sections.txt:
10263         * docs/plugins/gstreamer-plugins-sections.txt:
10264         Fix docs some more.
10265
10266         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10267         (gst_collect_pads_event):
10268         * libs/gst/base/gstcollectpads.h:
10269         Documentation updates.
10270         Free queued buffer when removing a pad.
10271
10272 2006-08-31  Michael Smith  <msmith@fluendo.com>
10273
10274         * gst/gstutils.c: (gst_element_link_pads),
10275         (gst_element_link_pads_filtered):
10276           Ensure that we set a capsfilter to NULL if we failed to link it
10277           when doing filtered linking, to avoid criticals.
10278
10279           No need to check for unreffing srcpad, which is explicly NULLed
10280           above (a trivial code cleanup).
10281
10282 2006-08-31  Wim Taymans  <wim@fluendo.com>
10283
10284         * docs/design/part-gstghostpad.txt:
10285         Update ascii art in documentation.
10286
10287         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10288         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10289         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10290         (gst_ghost_pad_internal_do_activate_push),
10291         (gst_ghost_pad_internal_do_activate_pull),
10292         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10293         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10294         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10295         (gst_ghost_pad_set_target):
10296         Small cleanups and leak fixes.
10297         Remove some checks now that the internal pad is never NULL.
10298         Fix the case where linking pads without a target would create nasty
10299         criticals. Fixes #341029.
10300         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10301         value of _set_target().
10302
10303         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10304         (gst_ghost_pad_suite):
10305         Some more tests for creating and linking untargeted ghostpads.
10306
10307 2006-08-31  Edward Hervey  <edward@fluendo.com>
10308
10309         * docs/gst/gstreamer-sections.txt:
10310         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10311         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10312         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10313         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10314         (gst_ghost_pad_new_from_template),
10315         (gst_ghost_pad_new_no_target_from_template):
10316         * gst/gstghostpad.h:
10317         Refactored *_new() functions.
10318         Templates are now used as a g_object_new() parameter.
10319         Use template in _do_getcaps() if we don't have a target.
10320         Small documentation cleanups.
10321         Added two new constructors:
10322         gst_ghost_pad_new_from_template()
10323         gst_ghost_pad_new_no_target_from_template()
10324         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10325         (gst_ghost_pad_suite):
10326         Added tests for new ghostpad instanciation functions.
10327
10328         API additions: gst_ghost_pad_new_from_template,
10329         gst_ghost_pad_new_no_target_from_template
10330
10331 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10332
10333         * docs/random/ensonic/profiling.txt:
10334           Ideas about qos profiling.
10335
10336 2006-08-29  Wim Taymans  <wim@fluendo.com>
10337
10338         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10339         Code cleanups.
10340         Fix memleak.
10341
10342 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10343
10344         * gst/gstxml.c:
10345           Improve and detypofy docs.
10346
10347         * tests/check/Makefile.am:
10348         * tests/check/gst/.cvsignore:
10349         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10350           Add a basic test suite for GstXML.
10351
10352 2006-08-29  Wim Taymans  <wim@fluendo.com>
10353
10354         * gst/gstelement.c: (activate_pads), (clear_caps),
10355         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10356         Clear the pad caps when the element shut down all of the pads and
10357         is not streaming data that could modify the caps. 
10358         Fixes #352958.
10359
10360 2006-08-28  Michael Smith  <msmith@fluendo.com>
10361
10362         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10363           Revert previous change; I misunderstood single-segment mode.
10364
10365 2006-08-28  Michael Smith  <msmith@fluendo.com>
10366
10367         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10368           Unset DISCONT on buffers when using single-segment mode.
10369
10370 2006-08-28  Wim Taymans  <wim@fluendo.com>
10371
10372         * gst/gstcaps.c: (gst_caps_merge_structure):
10373         * gst/gstcaps.h:
10374         Fix docs and indentation again.
10375
10376         * tests/check/gst/gstquery.c: (GST_START_TEST):
10377         Fix leak in tests and add some more tests.
10378
10379 2006-08-28  Edward Hervey  <edward@fluendo.com>
10380
10381         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10382         Inform GstSegment of the last stop position in order for the current
10383         segment to have a proper duration if it doesn't have a specific stop
10384         position from which a duration could be calculated.
10385         This bug was noticeable when a non-flushing, non-update new segment was
10386         followed by another segment (all buffers from the new segment were being
10387         dropped).
10388
10389 2006-08-28  Wim Taymans  <wim@fluendo.com>
10390
10391         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10392         Small comment update.
10393
10394         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10395         (gst_identity_transform_ip):
10396         Drop-probability is broken, mention this in the code with a 
10397         FIXME and also in the property description.
10398         Make silent also be silent about the drop messages.
10399
10400 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10401
10402         * docs/manual/appendix-win32.xml:
10403           Remove mention of popt, we don't depend on that any
10404           longer (#353136). Add some comments pointing out that
10405           this section is slightly outdated.
10406
10407 2006-08-28  Wim Taymans  <wim@fluendo.com>
10408
10409         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10410
10411         * gst/gstquery.c: (gst_query_new_segment):
10412         * tests/check/gst/gstquery.c: (GST_START_TEST):
10413         Initialize variables when creating a new segment query.
10414         Fixes #353121.
10415
10416 2006-08-28  Wim Taymans  <wim@fluendo.com>
10417
10418         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10419
10420         * gst/gstelement.c: (gst_element_get_bus):
10421         * tests/check/gst/gstelement.c: (GST_START_TEST):
10422         Check for NULL before _reffing the bus. Fixes #353122.
10423
10424 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10425
10426         * docs/manual/basics-bus.xml:
10427           Docs update: fix wrong callback return value explanation; add
10428           some lines about the implicit relationship between main loop
10429           and main context; remove duplicate main loop variable declaration.
10430
10431 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10432
10433         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10434           Don't leak caps in unit test; add a few more simple
10435           checks. 
10436
10437 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10438
10439         * docs/gst/gstreamer-sections.txt:
10440         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10441         (gst_caps_structure_is_subset), (gst_caps_merge),
10442         (gst_caps_merge_structure):
10443         * gst/gstcaps.h:
10444         * libs/gst/base/gstbasetransform.c:
10445         (gst_base_transform_transform_caps):
10446         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10447           implement caps merging (fixes #352580)
10448
10449 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10450
10451         * tools/Makefile.am:
10452         * tools/gst-plot-timeline.py:
10453           add debug-log plotting developer tool (#340674)
10454
10455 2006-08-23  Wim Taymans  <wim@fluendo.com>
10456
10457         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10458         (gst_pad_stop_task):
10459         Improve debugging for task functions.
10460
10461         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10462         (gst_task_start), (gst_task_pause), (gst_task_join):
10463         Make sure that the task function started and finished after a 
10464         join(). 
10465         Don't try to push the task function on the threadpool multiple
10466         times.
10467         Improve the g_warning message with some useful suggestions
10468         about how to fix the problem. 
10469
10470 2006-08-23  Wim Taymans  <wim@fluendo.com>
10471
10472         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10473         Handle RESYNC correctly in _proxy_getcaps.
10474
10475 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10476
10477         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10478         (gst_xml_parse_memory), (gst_xml_get_element):
10479           Chain up to parent class in dispose function and also
10480           unref the elements in the toplevel_elements GList.
10481           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10482           Always return a reference in gst_xml_get_element() rather
10483           than only sometimes.
10484
10485         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10486           Don't leak GstXml object.
10487
10488 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10489
10490         * docs/gst/gstreamer-sections.txt:
10491         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10492         (gst_caps_merge):
10493         * gst/gstcaps.h:
10494         * libs/gst/base/gstbasetransform.c:
10495         (gst_base_transform_transform_caps):
10496           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10497           in a better way
10498
10499 2006-08-21  Edward Hervey  <edward@fluendo.com>
10500
10501         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10502         Implement GObject::dispose virtual method in GstXML so we can free the
10503         top_elements GList.
10504
10505 2006-08-21  Wim Taymans  <wim@fluendo.com>
10506
10507         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10508         (gst_buffer_create_sub):
10509         Copy duration/offset_end/caps when creating a subbuffer of the
10510         complete parent.
10511         Make the subbuffer read-only when we make the metadata writable for
10512         now. Fixes #351768.
10513
10514         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10515         Added check for metadata copy when creating subbuffers.
10516
10517 2006-08-21  Edward Hervey  <edward@fluendo.com>
10518
10519         * libs/gst/base/gstbasetransform.c:
10520         (gst_base_transform_buffer_alloc):
10521         Only call downstream buffer_alloc if transform element is passthrough
10522         or always_in_place. Closes #350449.
10523
10524 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10525
10526         * ChangeLog:
10527           ChangeLog surgery to add comments to previous changes
10528
10529 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10530
10531         * gst/gst.c:
10532           Add comments
10533
10534         * gst/gstpad.c: (gst_pad_set_active):
10535           Be more verbose in the log
10536
10537         * libs/gst/base/gstbasetransform.c:
10538         (gst_base_transform_transform_caps):
10539           Simplify caps to get rid of duplicates, fixes #345444
10540
10541 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10542
10543         * gst/gstvalue.c:
10544         * gst/gstvalue.h:
10545           Use these optimizations only internally.
10546
10547 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10548
10549         * gst/gstvalue.c: (gst_value_compare_list),
10550         (gst_value_compare_fraction_range),
10551         (gst_value_intersect_fraction_fraction_range),
10552         (gst_value_intersect_fraction_range_fraction_range),
10553         (gst_value_subtract_fraction_fraction_range),
10554         (gst_value_subtract_fraction_range_fraction_range),
10555         (gst_value_get_compare_func), (gst_value_compare),
10556         (gst_value_compare_with_func):
10557         * gst/gstvalue.h:
10558           Saves the expensive lookup of the compare function in many cases
10559          (#345444)
10560
10561 2006-08-18  Edward Hervey  <edward@fluendo.com>
10562
10563         * tests/check/gst/gstinfo.c: (gst_info_suite):
10564         Disable test that require gstdebug if it wasn't built in core.
10565
10566 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10567
10568         * docs/random/ensonic/logging.txt:
10569           update ideas
10570           
10571         * gst/gstinfo.c: (gst_debug_log_default):
10572           reorder fields, save some columns, add optional color codes for log
10573           levels
10574
10575 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10576
10577         * docs/random/ensonic/logging.txt:
10578           add ideas about making the logs a bit more useful
10579
10580 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10581
10582         * docs/pwg/advanced-events.xml:
10583         * docs/pwg/titlepage.xml:
10584           Update for 0.10 API (#340627). Add myself
10585           to authors list.
10586
10587 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10588
10589         * docs/libs/gstreamer-libs-docs.sgml:
10590         * docs/libs/gstreamer-libs-sections.txt:
10591         * libs/gst/check/gstbufferstraw.c:
10592           Make gstcheck stuff show up in docs (still needs to
10593           be documented properly though).
10594
10595 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10596
10597         * docs/gst/gstreamer-sections.txt:
10598         * gst/Makefile.am:
10599         * gst/gst.c: (init_post):
10600         * gst/gst_private.h:
10601         * gst/gstquark.c: (_priv_gst_quarks_initialize):
10602         * gst/gstquark.h:
10603         * gst/gstquery.c: (gst_query_new_position),
10604         (gst_query_set_position), (gst_query_parse_position),
10605         (gst_query_new_duration), (gst_query_set_duration),
10606         (gst_query_parse_duration), (gst_query_new_convert),
10607         (gst_query_set_convert), (gst_query_parse_convert),
10608         (gst_query_new_segment), (gst_query_set_segment),
10609         (gst_query_parse_segment), (gst_query_new_seeking),
10610         (gst_query_set_seeking), (gst_query_parse_seeking):
10611         Add internal helpers for pre-registering quarks from static strings
10612         and using the quark values directly instead of looking them up when
10613         creating and parsing queries. Can be used for event construction too.
10614         Closes #350432.
10615
10616 2006-08-16  Wim Taymans  <wim@fluendo.com>
10617
10618         * gst/gstbin.c:
10619         Fix bogus docs.
10620
10621 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10622
10623         * gst/gstutils.c: (gst_util_set_value_from_string):
10624           Fix memleak (#351502).
10625
10626         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10627           Add unit test for most of gst_util_set_value_from_string()
10628           (not that one would want to encourage use of this function).
10629
10630 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10631
10632         * libs/gst/check/gstcheck.h:
10633           Use const gchar * variables in fail_unless_equals_string
10634           macro to avoid compiler warnings (and don't use tabs for
10635           indenting).
10636
10637 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10638
10639         * tools/gst-launch.c: (print_tag):
10640           More space on the left for the tag names, to cater
10641           for the 'extended comment' tag (not touching the
10642           string for the first line since it's translated).
10643
10644 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10645
10646         * libs/gst/check/gstcheck.h:
10647           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10648           print something when they fail.
10649
10650 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10651
10652         * docs/gst/gstreamer-sections.txt:
10653         * gst/gsttaglist.c: (_gst_tag_initialize):
10654         * gst/gsttaglist.h:
10655           API: add GST_TAG_EXTENDED_COMMENT (#350935).
10656           Also change merge function for GST_TAG_COMMENT to
10657           use_first.
10658
10659 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10660
10661         * gst/gstinfo.c: (gst_debug_print_object):
10662           Make GST_PTR_FORMAT print messages as well.
10663
10664         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10665         (GST_START_TEST), (gst_info_suite):
10666           More tests.
10667
10668 2006-08-14  Edward Hervey  <edward@fluendo.com>
10669
10670         * gst/gstelementfactory.c: (gst_element_register):
10671         If the GstElementClass doesn't have a GstElementDetails with all fields
10672         filled up correctly (longname, description AND author), then error out
10673         nicely instead of crashing.
10674
10675 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10676
10677         * gst/gststructure.c:
10678           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10679
10680         * gst/gstvalue.h:
10681           Expand on the difference between arrays and lists as we use them.
10682           
10683 2006-08-14  Wim Taymans  <wim@fluendo.com>
10684
10685         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10686         If the parent state change function failed, don't assume we can safely
10687         stop the source, this will be done when the pads are deactivated.
10688
10689 2006-08-14  Wim Taymans  <wim@fluendo.com>
10690
10691         * gst/gstbuffer.c:
10692         * gst/gsttask.c: (gst_task_join):
10693         Small doc updates.
10694
10695         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10696         (gst_pad_stop_task):
10697         When pad (de)activation failed for some reason, restore the old
10698         activation mode and set the pad to flushing instead of assuming the
10699         pad is deactivated.
10700         If the _task_join() failed, reinstall the task on the pad so that it can
10701         be stopped later and return an error.
10702
10703 2006-08-11  Andy Wingo  <wingo@pobox.com>
10704
10705         * configure.ac:
10706         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10707         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10708         is only for users of API that don't want to see deprecated
10709         functions in the headers; people that want to compile out
10710         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10711         CFLAGS. Fixes the build of multifdsink, or will soon..
10712
10713 2006-08-11  Wim Taymans  <wim@fluendo.com>
10714
10715         * docs/gst/gstreamer-sections.txt:
10716         Add GstClockClass vmethod docs.
10717
10718         * gst/gstcaps.h:
10719         Mark #endif with comment for associated #if
10720
10721         * gst/gstclock.c: (gst_clock_id_wait):
10722         * gst/gstclock.h:
10723         Add vmethod wait_jitter to avoid an unneeded _get_time() for
10724         most clock implementations.
10725         Document vmethods.
10726         Flesh out docs about resolution methods.
10727         API: GstClockClass::wait_jitter
10728
10729         * gst/gstsystemclock.c: (gst_system_clock_class_init),
10730         (gst_system_clock_async_thread),
10731         (gst_system_clock_id_wait_jitter_unlocked),
10732         (gst_system_clock_id_wait_jitter):
10733         Use base class wait_jitter variant for improved performance
10734         due to less clock polling.
10735
10736 2006-08-11  Edward Hervey  <edward@fluendo.com>
10737
10738         * gst/gst.c: (gst_init_check), (init_post):
10739         Set gst as being initialized before scanning/updating the registry,
10740         since there might be my python plugin loader that calls gst_init() and
10741         we don't want to loop back in.
10742         Closes #350879
10743
10744 2006-08-11  Wim Taymans  <wim@fluendo.com>
10745
10746         * docs/design/part-qos.txt:
10747         Bring docs in line with the code. Mostly the sign of the jitter was
10748         wrong in the docs. Fixes #349943.
10749
10750         * gst/gstclock.c:
10751         Fix the docs for the jitter.
10752
10753         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10754         (gst_event_parse_tag), (gst_event_new_buffer_size),
10755         (gst_event_parse_buffer_size), (gst_event_parse_qos),
10756         (gst_event_new_seek), (gst_event_parse_seek),
10757         (gst_event_new_navigation):
10758         Make sure the GstStructure has no parent when creating custom
10759         events.
10760         Add some more argument checking so that we avoid 0.0 rates.
10761         Flesh out the docs for the QoS event some more.
10762
10763 2006-08-11  Wim Taymans  <wim@fluendo.com>
10764
10765         * docs/gst/gstreamer-sections.txt:
10766         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10767         (ensure_current_registry_forking), (ensure_current_registry),
10768         (parse_one_option), (parse_goption_arg), (gst_deinit),
10769         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10770         * gst/gst.h:
10771         Doc updates.
10772         Added API and command line option to disable registry forking in
10773         addition to the environment variable.
10774         Constify some static arrays.
10775         Added some more debug.
10776         Don't deinit twice.
10777         API: gst_registry_fork_is_enabled()
10778         API: gst_registry_fork_set_enabled()
10779         API: --gst-disable-registry-fork command line option
10780         Fixes #348918.
10781
10782 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
10783
10784         * gst/gst.c: (gst_init):
10785           Fix typo in error message.
10786
10787 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10788
10789         * libs/gst/controller/gstcontroller.h:
10790           fix ABI size-correction
10791
10792         * tests/check/libs/gdp.c: (gst_dp_suite):
10793           make tests that use deprecated API conditional
10794
10795 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10796
10797         * docs/libs/gstreamer-libs-sections.txt:
10798         * libs/gst/controller/gstcontroller.c:
10799         (_gst_controller_get_property), (_gst_controller_set_property),
10800         (_gst_controller_init), (_gst_controller_class_init):
10801         * libs/gst/controller/gstcontroller.h:
10802         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10803         (gst_object_set_control_rate):
10804           API: add gst_object_{s,g}et_control_rate(), add private data section,
10805           fix docs
10806
10807         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10808         * libs/gst/dataprotocol/dataprotocol.h:
10809           add deprecation guards to make gtk-doc happy and allow disabling cruft
10810
10811 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
10812
10813         * tests/check/Makefile.am:
10814         * tests/check/gst/.cvsignore:
10815           Let's enable the new unit test as well.
10816
10817 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
10818
10819         * configure.ac:
10820         * docs/gst/gstreamer-sections.txt:
10821         * gst/gstconfig.h.in:
10822         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10823         (_gst_info_printf_extension_ptr),
10824         (_gst_info_printf_extension_segment):
10825           API: add GST_SEGMENT_FORMAT, which is a printf extension we
10826           register that lets us easily dump GstSegments into debug
10827           logs (#350419).
10828
10829         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10830         (info_segment_format_printf_extension), (gst_info_suite):
10831           Add simple unit test that logs a bunch of different segments (not
10832           valgrinded at the moment because of leaks in
10833           gst_debug_add_log_function).
10834
10835 2006-08-09  Edward Hervey  <edward@fluendo.com>
10836
10837         * libs/gst/base/gstbasetransform.c:
10838         (gst_base_transform_buffer_alloc):
10839         Even if we can't figure out the proper format to request downstream,
10840         call buffer_alloc() downstream with the input parameters without setting
10841         the caps on the srcpad. This will force negotiation in the chain
10842         function.
10843         Closes #350449
10844
10845 2006-08-08  Edward Hervey  <edward@fluendo.com>
10846
10847         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10848         Unlinking from a pad without a target is now a perfectly valid case
10849         which should NOT raise an assertion.
10850         This case would happen if a linked ghostpad its target set to NULL after
10851         it was previously linked.
10852
10853 2006-08-08  Edward Hervey  <edward@fluendo.com>
10854
10855         * tests/check/libs/gdp.c:
10856         Also comment out the test (see below).
10857
10858 2006-08-08  Edward Hervey  <edward@fluendo.com>
10859
10860         * tests/check/libs/gdp.c: (gst_dp_suite):
10861         Use the architecture information from config.h and not gcc macros
10862         in order to properly disable a test that fails on PPC64.
10863
10864 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
10865
10866         * gst/gstelement.c: (gst_element_remove_pad):
10867           Don't crash printing the warning if the pad has no parent.
10868
10869 2006-08-02  Wim Taymans  <wim@fluendo.com>
10870
10871         * libs/gst/dataprotocol/dataprotocol.c:
10872         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10873         (gst_dp_crc), (gst_dp_header_payload_length),
10874         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10875         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10876         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10877         (gst_dp_event_from_packet), (gst_dp_validate_header),
10878         (gst_dp_validate_payload):
10879         Make debug category static
10880         Constify the crc table.
10881         Do some more arg checking in public functions.
10882         Fix some docs and do some small cleanups.
10883
10884         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10885         Add some more checks to see if GDP deals with bogus input.
10886
10887 2006-07-31  Wim Taymans  <wim@fluendo.com>
10888
10889         * gst/gstvalue.c: (gst_value_compare_list):
10890         Fix GstValueList comparison code. Fixes #347293.
10891
10892         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10893         Check to test GstValueList comparison.
10894
10895 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
10896
10897         * gst/gstelementfactory.c: (gst_element_factory_create):
10898         Remove unnecessary ref/unref pair
10899
10900         * gst/parse/grammar.y:
10901         Make sure to free the parse buffer on all code paths.
10902         Move a g_free up to the error handler where it's easier to see.
10903
10904         * tests/check/gst/gstevent.c: (test_event):
10905         Extending timeout for downstream travelling events to 10 seconds to
10906         hopefully avoid intermittent failure on the buildbots.
10907
10908         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
10909         Don't manually set the state of the src element - it will happen as a
10910         natural consequence of the pipeline changing state, and that way it
10911         will do it in the right order too.
10912
10913 2006-07-31  Wim Taymans  <wim@fluendo.com>
10914
10915         * libs/gst/base/gstbasetransform.c:
10916         (gst_base_transform_buffer_alloc):
10917         Use OBJECT_LOCK and refcounting to get the pad caps in the
10918         buffer_alloc function because the caps could change while we are
10919         busy with them. Fixes #349105
10920
10921 2006-07-31  Wim Taymans  <wim@fluendo.com>
10922
10923         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
10924         Protect _PAD_CAPS with OBJECT_LOCK.
10925
10926 2006-07-31  Wim Taymans  <wim@fluendo.com>
10927
10928         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10929         (gst_pad_get_property), (gst_pad_activate_pull),
10930         (gst_pad_activate_push), (gst_pad_set_blocked_async),
10931         (gst_pad_set_activate_function),
10932         (gst_pad_set_activatepull_function),
10933         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
10934         (gst_pad_set_getrange_function),
10935         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
10936         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10937         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
10938         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
10939         (gst_pad_set_acceptcaps_function),
10940         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10941         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
10942         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
10943         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
10944         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
10945         (gst_pad_configure_sink), (gst_pad_configure_src),
10946         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
10947         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
10948         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
10949         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
10950         (gst_pad_send_event):
10951         Use _DEBUG_OBJECT when it makes sense.
10952         Protect GST_PAD_CAPS with the OBJECT_LOCK.
10953         Small cleanups and code reflows.
10954         Avoid caps refcounting in _accept_caps.
10955         Refactor alloc_buffer so that the code performed on the peer is in a
10956         separate function. Also if the pad does not implement a buffer alloc
10957         function, we should still check if the pad is flushing before falling
10958         back to the default allocator.
10959
10960 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
10961
10962         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10963         Make all uses of identity and fakesink have silent=true to avoid
10964         serialising every passing data structure, which is breaking tests
10965         on FC4 for some unknown reason.
10966
10967 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
10968
10969         * gst/parse/Makefile.am:
10970         * gst/parse/grammar.y:
10971         * gst/parse/parse.l:
10972           Reverted previous patch as it required to bump the flex dependency to
10973           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
10974
10975 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
10976
10977         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
10978
10979         * gst/parse/Makefile.am:
10980         * gst/parse/grammar.y:
10981         * gst/parse/parse.l:
10982           push & pop the state of the lexer for reentrant use case
10983           Fixes #349180
10984
10985 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
10986
10987         * libs/gst/base/gstbasesrc.h:
10988           Note in the docs that the ::newsegment vfunc is not actually used by
10989           GstBaseSrc.
10990
10991 2006-07-28  Wim Taymans  <wim@fluendo.com>
10992
10993         * libs/gst/base/gstcollectpads.c:
10994         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
10995         (gst_collect_pads_clear), (gst_collect_pads_flush),
10996         (gst_collect_pads_event), (gst_collect_pads_chain):
10997         When flushing a pad, also clear the queued buffer so that we don't
10998         accidentally use it when we shouldn't.
10999         Fix leaks by inreffing incomming buffer.
11000         Flush out queued buffers in case of errors.
11001         Fixes #347452.
11002
11003 2006-07-28  Wim Taymans  <wim@fluendo.com>
11004
11005         * docs/random/phonon-gst:
11006         Random notes about a Phonon backend.
11007
11008 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11009
11010         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11011         Extra debug output
11012         * tests/check/libs/gdp.c: (gst_dp_suite):
11013         Take a whack at fixing the ppc compile using a different define to
11014         disable the broken test.
11015
11016         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11017         Remove excess g_print()
11018
11019 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11020
11021         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11022         Oops, meant to uncomment this line too to dampen the noise a bit.
11023
11024 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11025
11026         * gst/parse/grammar.y:
11027         * gst/parse/parse.l:
11028         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11029         (GST_START_TEST), (parse_suite):
11030         Fix some of the leaks exposed by extending the parse-launch testsuite,
11031         and move the 3 I can't figure out into a separate test that won't run
11032         the pipelines unless the appropriate line is uncommented.
11033
11034 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11035
11036         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11037           Requesting 0 bytes before the end of the file should result in
11038           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11039           unit test.
11040
11041 2006-07-27  Wim Taymans  <wim@fluendo.com>
11042
11043         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11044         Fix useless assert, a uint is always positive.
11045
11046         * gst/gststructure.c: (gst_structure_nth_field_name),
11047         (gst_structure_foreach), (gst_structure_map_in_place):
11048         Check input arguments for public functions to avoid obvious crashes.
11049
11050         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11051         * plugins/elements/gstfakesink.h:
11052         Do less useless typechecking.
11053
11054 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11055
11056         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11057           Do not use mmap() by default since there are a number of error
11058           conditions that we would like to handle in a non-fatal way that
11059           will result in a SIGBUS if we use mmap(). Examples: external
11060           devices (USB harddrive, portable music player) being unplugged
11061           while in use; file on mounted CD/DVD that can't be read because
11062           the medium is partly damaged. Fixes #348455 and #348475.
11063
11064 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11065
11066         * gst/gstquery.h:
11067         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11068         rates are a gdouble
11069
11070 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11071
11072         * gst/gstregistry.c:
11073           Move big documentation comment into class section header, so that it
11074           appears in the API docs.
11075
11076 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11077
11078         * docs/gst/gstreamer-sections.txt:
11079         Oops. Commit the docs additions too for new API.
11080         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11081
11082 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11083
11084         * gst/gststructure.c: (gst_structure_id_set),
11085         (gst_structure_id_set_valist):
11086         * gst/gststructure.h:
11087         Add API for setting values into structures without performing
11088         a quark lookup, if the appropriate quark is already known.
11089
11090         API: gst_structure_id_set
11091         API: gst_structure_id_set_valist
11092
11093         * gst/parse/grammar.y:
11094         * gst/parse/parse.l:
11095         Remove some dead code shown by the coverage information.
11096         Don't throw a critical g_warning when encountering a syntax error,
11097         just warn and let the normal error path handle it.
11098
11099         * plugins/elements/gstelements.c:
11100         Bump the rank of filesink up to PRIMARY so that it is preferred over
11101         gnomevfssink for file:// sink uri's
11102
11103         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11104         (GST_START_TEST), (run_delayed_test),
11105         (gst_parse_test_element_base_init),
11106         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11107         (gst_parse_test_element_change_state),
11108         (gst_register_parse_element), (parse_suite):
11109         Beef up the tests for parse syntax to check that more error cases
11110         fail as they are supposed to. Increases the test coverage a bit.
11111
11112 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11113
11114         * docs/manual/basics-elements.xml:
11115           Fix gst_element_link() example.
11116
11117         * gst/gstutils.c:
11118           Mention in API docs that one should usually gst_bin_add()
11119           elements to a bin or pipeline before doing the linking.
11120           
11121 2006-07-26  Wim Taymans  <wim@fluendo.com>
11122
11123         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11124         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11125         Avoid function call for known types by keeping the buffer and
11126         subbuffer GType global.
11127
11128         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11129         Random silly optimisations in read() path.
11130
11131 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11132
11133         * tools/gst-launch.c: (main):
11134           If the top-level of the parse is a normal bin, it doesn't do the
11135           right logic to run as a top-level element, so place it inside a
11136           pipeline.
11137
11138 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11139
11140         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11141           Remove superfluous g_object_notify() calls, GObject does
11142           that for us automatically.
11143
11144 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11145
11146         * gst/gstinfo.h:
11147           on Win32, use dllspec to export the debug category symbols
11148
11149 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11150
11151         * gst/gsttaglist.c: (_gst_tag_initialize):
11152           Allow more than one GST_TAG_IMAGE per taglist.
11153
11154 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11155
11156         * gst/gstminiobject.c:
11157           update docs
11158         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11159         (gst_fd_src_create):
11160           log recurring events at LOG level
11161           add more debug for when the fd gets set
11162
11163 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11164
11165         * gst/gstparse.c: (gst_parse_launch):
11166           Also remove reentrance checks if flex is MT safe (#348179)
11167          Fix my empty ChangeLog entry below
11168
11169 2006-07-21  Andy Wingo  <wingo@pobox.com>
11170
11171         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11172
11173         * libs/gst/check/Makefile.am
11174         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11175         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11176         * libs/gst/check/gstbufferstraw.h:
11177         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11178         functions, thus proving I am still a GStreamer haxor. OK I wrote
11179         them a long time ago, but anyways.
11180
11181 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11182
11183         * configure.ac:
11184         * gst/gstparse.c: (gst_parse_launch):
11185           Check for flex version and omit mutex if we have a MT save flex
11186           (fixes #348179)
11187
11188 2006-07-21  Wim Taymans  <wim@fluendo.com>
11189
11190         * gst/gstparse.c: (gst_parse_launch):
11191         Protect recursive calls to _parse with a recursive mutex
11192         and busy flag.
11193
11194 2006-07-21  Wim Taymans  <wim@fluendo.com>
11195
11196         * tests/check/gst/gstpad.c: (GST_START_TEST):
11197         Fix leak in test.
11198
11199 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11200
11201         * gst/gstparse.c: (gst_parse_launch):
11202           Do not hang on recursive usage of gst_parse_launch()
11203
11204 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11205
11206         * gst/gsttaglist.c:
11207           Add some more docs, comments and FIXME 0.11s here and there
11208           and also fix some typos.
11209
11210 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11211
11212         * gst/gstsegment.h:
11213           Convert tabs to spaces for better readability. 
11214
11215 2006-07-20  Edward Hervey  <edward@fluendo.com>
11216
11217         * tests/check/libs/gdp.c: (gst_dp_suite):
11218         the test_buffer test fails at line 140 on ppc64 at the following
11219         check:
11220         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11221                 GST_BUFFER_FLAG_IN_CAPS),
11222                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11223         See bug #348114 for more details.
11224
11225 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11226
11227         * docs/pwg/advanced-scheduling.xml:
11228         * gst/gstpad.c:
11229           Fix typos (#348000).
11230
11231 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11232
11233         * docs/pwg/intro-basics.xml:
11234           Fix wrong links (#347927).
11235
11236 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11237
11238         * gst/gstregistry.h:
11239         * gst/gstregistryxml.c: (load_feature),
11240         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11241         * win32/common/config.h:
11242           make --disable-index work (#342564)
11243
11244 2006-07-18  Wim Taymans  <wim@fluendo.com>
11245
11246         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11247
11248         * gst/Makefile.am:
11249         * gst/gsttrace.h:
11250         The attached patch adds two missing defines to gsttrace.h when tracing
11251         is disabled.  It also corrects one existing define.
11252         Fixes #347756.
11253
11254 2006-07-17  Wim Taymans  <wim@fluendo.com>
11255
11256         * docs/gst/gstreamer-sections.txt:
11257         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11258         * gst/gst.h:
11259         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11260         Add two functions to check and change the SIGSEGV behaviour
11261         when loading plugins.
11262         Don't mess with the SIGSEGV handler when we were told not to.
11263         Fixes #347794.
11264         API: gst_segtrap_is_enabled
11265         API: gst_segtrap_set_enabled
11266
11267 2006-07-14  Wim Taymans  <wim@fluendo.com>
11268
11269         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11270         * tests/check/elements/filesrc.c: (GST_START_TEST):
11271         Revert fix for regression in #347408 after release.
11272
11273 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11274
11275         Patch by: Antoine Tremblay <hexa00 at gmail com>
11276
11277         * gst/gstutils.c: (gst_element_unlink):
11278           Free iterator when done (#347311).
11279
11280         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11281           And add a test case for this.
11282
11283 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11284
11285         * configure.ac:
11286         Bump nano back to CVS
11287
11288 === release 0.10.9 ===
11289
11290 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11291
11292         * configure.ac:
11293           releasing 0.10.9, "On the road again"
11294
11295 2006-07-13  Wim Taymans  <wim@fluendo.com>
11296
11297         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11298         * tests/check/elements/filesrc.c: (GST_START_TEST):
11299         Revert pull-0 fix for release. Disable check. Fixes #347408.
11300
11301 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11302
11303         * libs/gst/dataprotocol/dataprotocol.c:
11304         (gst_dp_event_from_packet_1_0):
11305           Fixes #347337: failure to deserialize event packets with
11306           empty payload (only event type)
11307
11308 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11309
11310         * gst/Makefile.am:
11311           do not install a .c file in the header directory
11312
11313 2006-07-13  Edward Hervey  <edward@fluendo.com>
11314
11315         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11316         GhostPad no longer implicitely use the padtemplates of the targets.
11317         Fixes #347384
11318
11319 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11320
11321         * gst/gstvalue.c: (gst_value_compare_list),
11322         (gst_value_compare_array), (_gst_value_initialize):
11323         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11324         Make GstValueArray comparison be order dependent as designed.
11325         Add checks for value lists and value array comparisons.
11326         Fixes #347221
11327
11328 2006-07-11  Edward Hervey  <edward@fluendo.com>
11329
11330         * gst/gstbin.c: (activate_pads),
11331         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11332         (gst_bin_change_state_func):
11333         (de)activate src pads before calling state_change on the childs.
11334         This is to avoid the case where a src ghostpad is blocked (holding the
11335         stream lock), which would block the deactivation of the ghostpad's
11336         target pad.
11337         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11338         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11339         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11340         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11341         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11342         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11343         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11344         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11345         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11346         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11347         (gst_ghost_pad_class_init),
11348         (gst_ghost_pad_internal_do_activate_push),
11349         (gst_ghost_pad_internal_do_activate_pull),
11350         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11351         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11352         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11353         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11354         GhostPads now create their internal GstProxyPad at creation (and not
11355         when they're linked, as it was being done previously).
11356         The internal and target pads are linked straight away.
11357         The data will also travel through the other pad in order to make
11358         pad blocking and probes non-hackish (the probe/block now really happens
11359         on the GhostPad and not on the target).
11360         * gst/gstpad.c: (gst_pad_set_blocked_async),
11361         (gst_pad_link_prepare), (gst_pad_push_event):
11362         Remove previous ghostpad cruft.
11363         * gst/gstutils.c: (gst_pad_add_data_probe),
11364         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11365         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11366         (gst_pad_remove_buffer_probe):
11367         Remove previous ghost pad cruft.
11368         Added more detailed debug statements.
11369         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11370         Fix the testsuite for refcounting changes.
11371         The comments about who has references were correct, but the refcount
11372         being checked wasn't the same (!?!).
11373
11374         Fixes #341029
11375
11376 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11377
11378         * docs/gst/gstreamer-sections.txt:
11379         * gst/gstconfig.h.in:
11380         More docs for configuration options, add docs to gtk-doc.
11381
11382 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11383
11384         * gst/Makefile.am:
11385         * gst/gstconfig.h.in:
11386         * win32/common/config.h:
11387         Fix build when disabling tracing (fixes #344016). Also start to document
11388         the defines that disable the sub-systems.
11389
11390 2006-07-10  Edward Hervey  <edward@fluendo.com>
11391
11392         * gst/gst.c: (ensure_current_registry_forking):
11393         let's make valgrind happy...
11394
11395 2006-07-09  Wim Taymans  <wim@fluendo.com>
11396
11397         * gst/gstelement.c: (activate_pads),
11398         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11399         Better pad activation code: Reset the collect value too on resync.
11400         Add some comments.
11401
11402 2006-07-09  Wim Taymans  <wim@fluendo.com>
11403
11404         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11405         (gst_pad_activate_push):
11406         Use some more macros where it makes sense.
11407         Allow pad mode switching instead of asserting. When a pad
11408         is activated in one mode and we activate it in another, 
11409         deactivate it first before activating it in a different mode.
11410         Fixes #329198.
11411
11412 2006-07-08  Andy Wingo  <wingo@pobox.com>
11413
11414         * tools/gst-launch.c (main): Handle err == NULL.
11415
11416         * gst/gst.c (init_post, ensure_current_registry)
11417         (ensure_current_registry_forking)
11418         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11419         factoring out the registry scanning into separate functions. Don't
11420         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11421         Better environment var name/interface suggestions accepted.
11422
11423 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11424
11425         * gst/gstobject.c: (gst_object_set_name_default),
11426         (gst_object_set_name):
11427           Random micro-optimisation: don't use a hash table
11428           with strings as keys and the usual strdup/strcmp
11429           involved, but rather just use the GQuark of the
11430           type name as key, since it needs to be looked up
11431           anyway to get the type name string.
11432
11433         * tests/check/gst/gstobject.c: (GST_START_TEST):
11434           Fix various leaks.
11435
11436 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11437
11438         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11439         (gst_bin_iterate_all_by_interface):
11440           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11441           GTypes are gulongs and thus the top 4 bytes might be cut
11442           off on some platforms when doing GPOINTER_TO_INT, leading
11443           to invalid GTypes and bad things happening (see RH bug #179654).
11444           Also add a check to make sure the type passed in is really
11445           an interface type.
11446
11447 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11448
11449         * .cvsignore:
11450           Ignore more.
11451
11452 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11453
11454         * Makefile.am:
11455         * configure.ac:
11456         * gst-element-check.m4:
11457         * gst-element-check.m4.in:
11458           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11459           instead of the unversioned gst-inspect (#324176, #168659).
11460
11461 2006-07-06  Wim Taymans  <wim@fluendo.com>
11462
11463         * gst/gstmessage.h:
11464         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11465         warnings.
11466
11467 2006-07-06  Wim Taymans  <wim@fluendo.com>
11468
11469         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11470         (gst_base_src_wait), (gst_base_src_update_length),
11471         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11472         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11473         (gst_base_src_loop), (gst_base_src_start),
11474         (gst_base_src_activate_pull):
11475         Update docs.
11476         blocksize == 0 now means the default blocksize when working in push
11477         based mode.
11478         Remove some pointless asserts in _wait function.
11479         Fix offset/length calculations and EOS handling. We can now pull 0
11480         bytes as well, which is allowed.
11481         use _check_get_range() to decide if we can operate in _pull based
11482         mode.
11483         Fix refcounting leak when check_get_range function was not 
11484         implemented.
11485         API GstBaseSrc::blocksize range can be 0 too now (default)
11486
11487         * tests/check/elements/filesrc.c: (GST_START_TEST),
11488         (filesrc_suite):
11489         Added check to test _get_range() behaviour.
11490
11491 2006-07-06  Wim Taymans  <wim@fluendo.com>
11492
11493         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11494         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11495         (gst_pad_pull_range):
11496         * gst/gstpad.h:
11497         Lots of comments and docs added to the pad functions.
11498         Flesh out the expected behaviour of the get_range() functions.
11499
11500 2006-07-06  Wim Taymans  <wim@fluendo.com>
11501
11502         * gst/gstbus.h:
11503         * gst/gstclock.h:
11504         * gst/gstevent.h:
11505         * gst/gstiterator.h:
11506         * gst/gstpad.h:
11507         * gst/gstplugin.h:
11508         * gst/gsttask.h:
11509         Remove comma at end of enumerator list. 
11510
11511 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11512
11513         * win32/common/libgstbase.def:
11514         * win32/common/libgstdataprotocol.def:
11515         * win32/common/libsgtreamer.def:
11516         Add new exported functions.
11517
11518 2006-07-05  Wim Taymans  <wim@fluendo.com>
11519
11520         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11521         Add some more docs here and there.
11522
11523 2006-07-05  Wim Taymans  <wim@fluendo.com>
11524
11525         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11526         (gst_base_sink_loop), (gst_base_sink_get_position):
11527         When operating in pull mode update the offset so that we
11528         read sequentially.
11529
11530 2006-07-05  Wim Taymans  <wim@fluendo.com>
11531
11532         * gst/gstregistryxml.c: (read_string):
11533         Avoid strdup. (will happen in libxml, but hey!)
11534
11535         * gst/gsturi.c:
11536         Add some more docs.
11537
11538 2006-07-05  Wim Taymans  <wim@fluendo.com>
11539
11540         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11541         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11542         (gst_buffer_suite):
11543         No point in checking if the size of the subbuffer > 0, the
11544         code handles it correclty as demonstrated by unit test.
11545         Also add a unit test for the zero sized _new_and_alloc and
11546         _copy. Fixes #346663.
11547
11548 2006-07-05  Wim Taymans  <wim@fluendo.com>
11549
11550         * libs/gst/base/gstbasetransform.c:
11551         (gst_base_transform_prepare_output_buffer),
11552         (gst_base_transform_buffer_alloc),
11553         (gst_base_transform_handle_buffer):
11554         Make sure the buffer we pass to transform_ip has a refcount of
11555         1 and thus is writable. Fixes #343196
11556
11557 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11558
11559         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11560         (gst_file_src_init), (gst_file_src_set_property),
11561         (gst_file_src_get_property), (gst_file_src_map_region):
11562         * plugins/elements/gstfilesrc.h:
11563         Add "sequential" property, off by default, to use madvise and hint
11564         to the kernel that sequential access is desired.
11565         Touch all retrieved pages by default to ensure they are pulled
11566         into memory. (Closes #345720)
11567
11568 2006-07-03  Wim Taymans  <wim@fluendo.com>
11569
11570         * docs/design/part-block.txt:
11571         * docs/design/part-dynamic.txt:
11572         Small docs updates.
11573
11574 2006-07-03  Wim Taymans  <wim@fluendo.com>
11575
11576         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11577         (gst_caps_unref), (gst_static_caps_get),
11578         (gst_caps_append_structure):
11579         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11580         Use GSlice when the glib we build against is >= 2.10
11581
11582 2006-07-03  Wim Taymans  <wim@fluendo.com>
11583
11584         * gst/gstelement.c: (gst_element_pads_activate):
11585         Small cleanup in pad activation code.
11586
11587 2006-07-03  Wim Taymans  <wim@fluendo.com>
11588
11589         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11590
11591         * gst/gst-i18n-app.h:
11592         * gst/gst-i18n-lib.h:
11593         * tools/gst-inspect.c: (print_signal_info):
11594         The attached patch will make the inclusion of gettext.h unconditional in
11595         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11596         libintl.h in tools/gst-inspect.c.
11597         This allows use of --disable-nls again and fixes #344642.
11598
11599 2006-07-03  Edward Hervey  <edward@fluendo.com>
11600
11601         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11602         Implement pad blocking on events according to part-block.txt.
11603         More comments on behaviour.
11604         * tests/check/gst/gstevent.c: (test_event):
11605         Send event to peer pad of blocked pad (else it will block).
11606
11607 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11608
11609         * libs/gst/check/gstcheck.c: (gst_check_message_error),
11610         (gst_check_run_suite):
11611           if we get the wrong message, give us the types as string
11612         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11613           Fix a translatable
11614         * tests/check/elements/filesrc.c: (GST_START_TEST):
11615           add a test for trying to open a non-existing file
11616
11617 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11618
11619         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11620           add a test for adding self
11621
11622 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11623
11624         * libs/gst/check/gstcheck.h:
11625           add some assert_ as alias for fail_unless_*
11626         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11627           increase test coverage
11628
11629 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11630
11631         * Makefile.am:
11632           include lcov.mak for lcov coverage generation
11633         * tools/Makefile.am:
11634           add to CLEANFILES
11635
11636 2006-07-02  Edward Hervey  <edward@fluendo.com>
11637
11638         * tests/check/elements/.cvsignore:
11639         moaping
11640
11641 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11642
11643         * configure.ac:
11644           don't set CFLAGS and friends for gcov, done from GST_GCOV now
11645         * tests/check/Makefile.am:
11646           clean up gcov files
11647
11648 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11649
11650         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11651           remove gst_caps_simplify; it was not declared and not used
11652           and deprecated in 0.8
11653
11654 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11655
11656         * docs/faq/gst-uninstalled:
11657           don't put empty paths on PYTHONPATH
11658         * docs/gst/gstreamer-sections.txt:
11659           remove some symbols that are not there
11660
11661 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11662
11663         * gst/gstcaps.c: (gst_caps_compare_structures):
11664           whitespace fixes
11665         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11666         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11667           add more tests
11668
11669 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11670
11671         * libs/gst/dataprotocol/Makefile.am:
11672           build dataprotocol test by linking to the lib, instead of
11673           compiling the source, so we get coverage
11674         * tests/check/Makefile.am:
11675         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11676         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11677           add a test for filesrc
11678
11679 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11680
11681         * tests/check/gst/gststructure.c: (GST_START_TEST),
11682         (gst_structure_suite):
11683           Push coverage from 59.04% to 70.00%
11684
11685 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11686
11687         * tests/check/Makefile.am:
11688           gst-inspect every element; this makes sure that we also get
11689           coverage on element's get/set functions
11690
11691 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11692
11693         * configure.ac:
11694           set CFLAGS and friends to -O0 if gcov is being used
11695           add GCOV LIBS
11696         * gst/Makefile.am:
11697         * libs/gst/base/Makefile.am:
11698         * libs/gst/check/Makefile.am:
11699         * libs/gst/controller/Makefile.am:
11700         * libs/gst/dataprotocol/Makefile.am:
11701         * libs/gst/net/Makefile.am:
11702         * plugins/elements/Makefile.am:
11703         * plugins/indexers/Makefile.am:
11704           add makefile rules to generate gcov data and clean up
11705         * tests/check/Makefile.am:
11706           add a coverage target that generates an html overview
11707           of coverage data
11708
11709 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11710
11711         * tests/check/elements/fakesink.c:
11712         * tests/check/elements/fakesrc.c:
11713         * tests/check/elements/fdsrc.c:
11714         * tests/check/elements/identity.c:
11715         * tests/check/generic/sinks.c: (gst_sinks_suite):
11716         * tests/check/generic/states.c:
11717         * tests/check/gst/gst.c:
11718         * tests/check/gst/gstabi.c:
11719         * tests/check/gst/gstbin.c:
11720         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11721         * tests/check/gst/gstbus.c: (gst_bus_suite):
11722         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11723         * tests/check/gst/gstelement.c:
11724         * tests/check/gst/gstevent.c: (gst_event_suite):
11725         * tests/check/gst/gstghostpad.c:
11726         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11727         * tests/check/gst/gstmessage.c: (gst_message_suite):
11728         * tests/check/gst/gstminiobject.c:
11729         * tests/check/gst/gstobject.c:
11730         * tests/check/gst/gstpad.c:
11731         * tests/check/gst/gstpipeline.c:
11732         * tests/check/gst/gstplugin.c:
11733         * tests/check/gst/gstquery.c: (gst_query_suite):
11734         * tests/check/gst/gstsegment.c: (gst_segment_suite):
11735         * tests/check/gst/gststructure.c:
11736         * tests/check/gst/gstsystemclock.c:
11737         * tests/check/gst/gsttag.c:
11738         * tests/check/gst/gsttask.c: (gst_task_suite):
11739         * tests/check/gst/gstutils.c:
11740         * tests/check/gst/gstvalue.c:
11741         * tests/check/libs/adapter.c:
11742         * tests/check/libs/basesrc.c:
11743         * tests/check/libs/collectpads.c:
11744         * tests/check/libs/controller.c:
11745         * tests/check/libs/gdp.c: (gst_dp_suite):
11746         * tests/check/libs/gstnetclientclock.c:
11747         * tests/check/libs/gstnettimeprovider.c:
11748         * tests/check/libs/libsabi.c: (libsabi_suite):
11749         * tests/check/libs/typefindhelper.c:
11750         * tests/check/pipelines/cleanup.c:
11751         * tests/check/pipelines/parse-launch.c:
11752         * tests/check/pipelines/simple-launch-lines.c:
11753         * tests/check/pipelines/stress.c: (stress_suite):
11754           use the new macro
11755
11756 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11757
11758         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11759         * libs/gst/check/gstcheck.h:
11760           create a macro and function so that the simple unit test
11761           case can be just one macro to create main()
11762
11763 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
11764
11765         * gst/gstbin.c: (gst_bin_restore_thyself):
11766         * gst/gstxml.c: (gst_xml_make_element):
11767           Fix deserialisation from XML. Set parent manually
11768           instead of using gst_bin_add(), since gst_bin_add()
11769           will unlink all pads of the element being added.
11770           Fixes #341667.
11771
11772 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
11773
11774         Patch by: Peter Kjellerstedt <pkj at axis com>
11775
11776         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11777           Fix missing g_strdup() and double free when using the
11778           --gst-plugin-load command line option (#346097).
11779
11780 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11781
11782         * gst/gstinfo.c:
11783           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11784
11785         * libs/gst/net/gstnetclientclock.c:
11786         * libs/gst/net/gstnettimeprovider.c:
11787           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11788
11789 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11790
11791         * docs/manual/advanced-dataaccess.xml:
11792           Fix buffer probe example compilation in
11793           ADM (#345708).
11794         
11795 2006-06-22  Edward Hervey  <edward@fluendo.com>
11796
11797         * gst/gstelement.c: (gst_element_pads_activate):
11798         We need to deactivate src pads first and then sink pads.
11799         The reason is the src pads might be blocking while holding the streaming
11800         lock, so we need to deactivate them first so that deactivating the sink
11801         pads doesn't block (since it will require the streaming lock).
11802
11803 2006-06-22  Wim Taymans  <wim@fluendo.com>
11804
11805         * libs/gst/base/gstbasetransform.c:
11806         (gst_base_transform_buffer_alloc):
11807         Forgot to remove two unneeded unrefs.
11808         Simplify a check _is_equal allready checks the obvious case.
11809
11810 2006-06-22  Wim Taymans  <wim@fluendo.com>
11811
11812         * docs/design/part-block.txt:
11813         Some docs about what pad_block should do.
11814
11815 2006-06-22  Wim Taymans  <wim@fluendo.com>
11816
11817         * gst/gstcaps.c: (gst_caps_replace):
11818         Fix crasher when passed NULL. Doc clarification.
11819         Optimize for the trivial case.
11820
11821         * gst/gstpipeline.c: (gst_pipeline_change_state):
11822         Small cleanups.
11823
11824         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11825         Small documentation cleanup.
11826
11827         * libs/gst/base/gstbasetransform.c:
11828         (gst_base_transform_buffer_alloc):
11829         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11830         is what we need and it avoids a whole lot of redundant 
11831         refcount operations.
11832
11833 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
11834
11835         Patch by: Philip Jägenstedt  <philip at lysator liu se>
11836
11837         * docs/manual/advanced-dataaccess.xml:
11838           Fix 'Embedding static elements' section to use
11839           GST_PLUGIN_DEFINE_STATIC (#345607).
11840
11841 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11842
11843         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11844           Attempt to 'fix' spuriously failing test case: it seems like the
11845           timeout of half a second is simply too small when the system is under
11846           load otherwise, and the timeout doesn't really seem to serve any
11847           particular purpose here. Give the pipeline a few seconds to preroll
11848           first, and then give it another half a second to go from PAUSED to
11849           PLAYING and marshal the message into the main thread.
11850
11851 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11852
11853         * tools/gst-feedback-m.m:
11854           Don't only use unversioned tools, try versioned tools as well
11855           (#345086).
11856
11857 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11858
11859         * gst/gstbus.c: (gst_bus_class_init):
11860           Fix some typos, make docs more explicit.
11861
11862 2006-06-20  Wim Taymans  <wim@fluendo.com>
11863
11864         * tests/check/gst/gstghostpad.c: (block_callback),
11865         (GST_START_TEST), (gst_ghost_pad_suite):
11866         Added some more ghostpad tests, mainly blocking
11867         and probes.
11868
11869 2006-06-16  Wim Taymans  <wim@fluendo.com>
11870
11871         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11872         (gst_file_sink_close_file), (gst_file_sink_do_seek),
11873         (gst_file_sink_event), (gst_file_sink_render):
11874         * plugins/elements/gstfilesink.h:
11875         Check if we can seek in the file instead of assuming
11876         we always can. Post an error when we are asked to seek in a
11877         non-seekable file (like a fifo). Fixes #343312.
11878         Some cleanups.
11879
11880 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11881
11882         * tools/gst-launch.1.in:
11883           Un-garble (fourcc) bit in filtered caps section.
11884
11885 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11886
11887         * docs/manual/advanced-autoplugging.xml:
11888         * docs/manual/basics-helloworld.xml:
11889         * docs/manual/highlevel-components.xml:
11890           Don't leak bus reference in sample code.
11891
11892 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
11893
11894         * autogen.sh:
11895           Add default for new --enable-plugin-docs switch.
11896
11897         * configure.ac:
11898           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
11899           Fixes #344039.
11900
11901         * docs/Makefile.am:
11902           Use new ENABLE_PLUGIN_DOCS conditional.
11903
11904 2006-06-14  Wim Taymans  <wim@fluendo.com>
11905
11906         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
11907         Make it clear with a FIXME and a real define what the #if 0
11908         previously disabled.
11909
11910 2006-06-14  Wim Taymans  <wim@fluendo.com>
11911
11912         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11913         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11914         * libs/gst/base/gstbasetransform.c:
11915         (gst_base_transform_sink_eventfunc):
11916         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11917         Don't randomly and silently reset a segment when the format 
11918         changes as this is a bug somewhere upstream. Fixes #330379.
11919
11920 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
11921
11922         Patch by: Wouter Paesen  <wouter at kangaroot net>
11923
11924         * libs/gst/controller/gstcontroller.c:
11925         (gst_controlled_property_new):
11926           Fix controlling of float properties (#344849).
11927
11928         * tests/check/libs/controller.c:
11929         (gst_test_mono_source_get_property),
11930         (gst_test_mono_source_set_property),
11931         (gst_test_mono_source_class_init), (GST_START_TEST):
11932           While we're at it, add some float stuff to unit test.
11933
11934 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11935
11936         * docs/README:
11937         * docs/images/gdp-header.svg:
11938           add a gdp image
11939         * docs/libs/Makefile.am:
11940         * docs/libs/gdp-header.png:
11941         * libs/gst/dataprotocol/dataprotocol.c:
11942           add it to the API docs
11943         * docs/manual/intro-motivation.xml:
11944           fix typo
11945
11946 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
11947
11948         * gst/gst.c: (scan_and_update_registry), (init_post):
11949           If the fork()'ed child process can't write the updated registry cache
11950           file to disk for some reason, make it exit with a failure exit code,
11951           so that the parent can then re-scan the plugins itself and update the
11952           registry structures in memory and work with that (rather than failing
11953           when creating elements because seemingly no plugins are available).
11954           Refactor registry scanning code into separate function for this and
11955           also separate fork() and non-fork() code paths. Fixes #344748.
11956
11957 2006-06-13  Wim Taymans  <wim@fluendo.com>
11958
11959         * docs/manual/advanced-dataaccess.xml:
11960         Fix wrong PluginDesc. Fixes #344755.
11961
11962 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
11963
11964         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11965           Fix silly bug that prevented us from creating
11966           ~/.gstreamer-0.10 and writing the registry in one
11967           go (the first call to g_mkstemp() would overwrite the
11968           placeholder in the template string, so the second call
11969           to g_mkstemp() after creating the missing directory
11970           would then error out with 'invalid argument').
11971
11972 2006-06-13  Edward Hervey  <edward@fluendo.com>
11973
11974         * gst/gst.c: (init_post):
11975         Free string.
11976
11977 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11978
11979         * gst/glib-compat-private.h:
11980         * gst/glib-compat.c:
11981         * gst/glib-compat.h:
11982         * gst/gstvalue.c: (gst_value_serialize_flags):
11983           remove GLib 2.6 compatibility code
11984
11985 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
11986
11987         * gst/parse/Makefile.am:
11988           Fix build with 'make -j N' even more (#340016).
11989
11990 2006-06-12  Wim Taymans  <wim@fluendo.com>
11991
11992         * docs/gst/gstreamer-sections.txt:
11993         Fix docs.
11994
11995 2006-06-12  Wim Taymans  <wim@fluendo.com>
11996
11997         * gst/gstsegment.c: (gst_segment_set_duration),
11998         (gst_segment_set_last_stop), (gst_segment_set_seek),
11999         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12000         (gst_segment_to_running_time), (gst_segment_clip):
12001         Use G_UNLIKELY to help the compiler a bit.
12002
12003 2006-06-12  Wim Taymans  <wim@fluendo.com>
12004
12005         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12006
12007         * gst/gstevent.c: (gst_event_get_type):
12008         * gst/gstmessage.c:
12009         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12010         (gst_pad_push):
12011         constify quark registration strings. Fixes #344115
12012         Avoid unneeded type checking is _pad_push() by internally
12013         calling gst_pad_chain_unchecked().
12014
12015 2006-06-12  Wim Taymans  <wim@fluendo.com>
12016
12017         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12018         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12019         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12020         (gst_buffer_is_span_fast), (gst_buffer_span):
12021         Init _type for consistency.
12022         Use _FLAGS macro to avoid type check.
12023         Avoid unneeded type checks in subbufer code.
12024
12025 2006-06-12  Wim Taymans  <wim@fluendo.com>
12026
12027         * gst/gst.c: (gst_debug_help):
12028         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12029         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12030         (gst_plugin_feature_list_free):
12031         * gst/gstregistry.c: (gst_registry_add_plugin),
12032         (gst_registry_add_feature), (gst_registry_plugin_filter),
12033         (gst_registry_feature_filter), (gst_registry_find_plugin),
12034         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12035         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12036         * gst/gstregistryxml.c: (load_feature),
12037         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12038         * gst/gstminiobject.c: (gst_mini_object_unref),
12039         (gst_mini_object_replace), (gst_value_mini_object_free),
12040         (gst_value_mini_object_copy):
12041         Use _CAST macros to avoid unneeded type checking.
12042         Added some more G_UNLIKELY.
12043
12044 2006-06-12  Wim Taymans  <wim@fluendo.com>
12045
12046         * gst/gstbuffer.h:
12047         Avoid unneeded type checking.
12048         API: GST_BUFFER_IS_DISCONT
12049
12050         * gst/gstminiobject.h:
12051         Avoid type check in flag accessor.
12052
12053         * gst/gstelementfactory.h:
12054         * gst/gstplugin.h:
12055         * gst/gstpluginfeature.h:
12056         Add _CAST macros.
12057         API: GST_ELEMENT_FACTORY_CAST
12058         API: GST_PLUGIN_CAST
12059         API: GST_PLUGIN_FEATURE_CAST
12060
12061 2006-06-12  Wim Taymans  <wim@fluendo.com>
12062
12063         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12064         (gst_object_unref):
12065         Add G_UNLIKELY in type registration.
12066         Avoid type check in _ref/_unref since that is also
12067         done in glib.
12068
12069 2006-06-12  Wim Taymans  <wim@fluendo.com>
12070
12071         * gst/gsterror.c: (gst_g_error_get_type):
12072         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12073         (gst_static_pad_template_get_type):
12074         * gst/gsttaglist.c: (gst_tag_list_get_type):
12075         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12076         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12077         * gst/gsturi.c: (gst_uri_handler_get_type):
12078         * gst/gstvalue.c: (gst_date_get_type):
12079         * gst/gstxml.c: (gst_xml_get_type):
12080         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12081         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12082         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12083         Add G_UNLIKELY in type registration.
12084
12085 2006-06-12  Wim Taymans  <wim@fluendo.com>
12086
12087         * tools/gst-inspect.c: (print_signal_info):
12088         Properly print enum values.
12089
12090 2006-06-12  Wim Taymans  <wim@fluendo.com>
12091
12092         * gst/gstinfo.c: (gst_debug_set_active),
12093         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12094         * gst/gstinfo.h:
12095         Add some G_[UN]LIKELY.
12096         Maintain __gst_debug_min to avoid formatting the arguments of
12097         debug messages that will be dropped anyway to avoid a lot of 
12098         overhead from the debugging system.
12099
12100 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12101
12102         * po/POTFILES.in:
12103         * po/POTFILES.skip:
12104           add missing files containing translatable strings, tell intltool about
12105           one exception
12106
12107 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12108
12109         * tests/check/libs/.cvsignore:
12110         add test-binary to ignore list
12111
12112 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12113
12114         * docs/libs/gstreamer-libs-docs.sgml:
12115         reorder (put dp into a chapter) and indent
12116
12117 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12118
12119         * configure.ac:
12120           back to HEAD
12121
12122 === release 0.10.8 ===
12123
12124 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12125
12126         * configure.ac:
12127           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12128
12129 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12130
12131         * gst/gst.c: (init_post):
12132           move pid declaration to declaration block
12133
12134 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12135
12136         * gst/gst.c: (init_post):
12137           use _exit() instead of exit() in our forked child; this ensures
12138           that none of the registered exit handlers from whatever is using
12139           GStreamer get executed.  This fixes gnome-mixer-applet failing
12140           to load, because ORBit would shut down.
12141           Spotted by: Edward Hervey  <edward@fluendo.com>
12142           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12143           Fixes #344474
12144
12145 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12146
12147         * configure.ac:
12148           back to TRUNK
12149
12150 === release 0.10.7 ===
12151
12152 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12153
12154         * configure.ac:
12155           releasing 0.10.7, "Soepeke, ik zie ou"
12156
12157 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12158
12159         * configure.ac:
12160         * po/af.po:
12161         * po/az.po:
12162         * po/bg.po:
12163         * po/ca.po:
12164         * po/cs.po:
12165         * po/de.po:
12166         * po/en_GB.po:
12167         * po/fr.po:
12168         * po/it.po:
12169         * po/nb.po:
12170         * po/nl.po:
12171         * po/ru.po:
12172         * po/sq.po:
12173         * po/sr.po:
12174         * po/sv.po:
12175         * po/tr.po:
12176         * po/uk.po:
12177         * po/vi.po:
12178         * po/zh_CN.po:
12179         * po/zh_TW.po:
12180         * win32/common/config.h:
12181           0.10.6.2 prerelease
12182
12183 2006-06-07  Wim Taymans  <wim@fluendo.com>
12184
12185         * gst/gstindex.c: (gst_index_gtype_resolver):
12186         * tools/gst-xmlinspect.c: (print_plugin_info):
12187         Fix leak spotted by coverity checker. Fixes #343827
12188         Fix another other leak found by paolo borelli.
12189
12190 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12191
12192         * libs/gst/dataprotocol/dataprotocol.c:
12193         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12194         (gst_dp_version_get_type), (gst_dp_init),
12195         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12196         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12197         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12198         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12199         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12200         (gst_dp_packetizer_free):
12201         * libs/gst/dataprotocol/dataprotocol.h:
12202           API: add a GstDPPacketizer object, and create/free functions
12203           API: add GstDPVersion enum
12204           Add 1.0 event function that uses the string serialization
12205           Serialize more useful buffer flags
12206           Fixes #343988
12207
12208 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12209
12210         * tests/check/Makefile.am:
12211         * tests/check/gst/gstabi.c:
12212         * tests/check/gst/struct_ppc64.h:
12213         * tests/check/libs/libsabi.c:
12214         * tests/check/libs/struct_ppc64.h:
12215           add ppc64 structure sizes
12216
12217 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12218
12219         * tests/check/Makefile.am:
12220         * tests/check/gst/gstabi.c:
12221         * tests/check/gst/struct_x86_64.h:
12222         * tests/check/libs/libsabi.c:
12223         * tests/check/libs/struct_x86_64.h:
12224           generate and add structure size lists for x86_64
12225
12226 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12227
12228         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12229         * libs/gst/check/gstcheck.h:
12230           factor out the method from tests that checks size of structures,
12231           and add code to generate the header containing these sizes
12232         * tests/check/gst/gstabi.c: (GST_START_TEST):
12233         * tests/check/gst/struct_i386.h:
12234         * tests/check/libs/libsabi.c: (GST_START_TEST):
12235         * tests/check/libs/struct_i386.h:
12236           use it
12237
12238 2006-06-06  Michael Smith  <msmith@fluendo.com>
12239
12240         * gst/gstsegment.h:
12241           Don't use c++-style comments, fixes #343929
12242
12243 2006-06-05  Edward Hervey  <edward@fluendo.com>
12244
12245         * gst/gst.c:
12246         plugin_paths is not used if we build without registry support.
12247
12248         * gst/gstsegment.c: (gst_segment_copy): 
12249         _copy() was always returning NULL...
12250
12251 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12252
12253         * libs/gst/dataprotocol/dataprotocol.c:
12254         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12255         (gst_dp_packet_from_event):
12256           factor out CRC code
12257
12258 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12259
12260         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12261           make sure we unset caps
12262
12263 2006-06-02  Michael Smith  <msmith@fluendo.com>
12264
12265         * libs/gst/check/gstcheck.c: (gst_check_init),
12266         (gst_check_chain_func):
12267         * libs/gst/check/gstcheck.h:
12268           Add a cond/mutex to the check support lib, signal this whenever we
12269           add to the buffers list. This will allow tests to not busy-wait on
12270           the buffer-list.
12271
12272 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12273
12274         * libs/gst/dataprotocol/dataprotocol.c:
12275         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12276         (gst_dp_packet_from_event):
12277           factor out some common header init code
12278
12279 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12280
12281         * docs/libs/gstreamer-libs-sections.txt:
12282         * docs/libs/tmpl/gstdataprotocol.sgml:
12283         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12284         * libs/gst/dataprotocol/dataprotocol.h:
12285           API: make gst_dp_crc() public
12286
12287 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12288
12289         * plugins/indexers/gstindexers.c: (plugin_init):
12290         conditionally register fileindexer (fixes #343598)
12291
12292 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12293
12294         * gst/gsttagsetter.h:
12295         Can't cast ifaces to a class
12296
12297         * libs/gst/net/gstnetclientclock.h:
12298         * libs/gst/net/gstnettimeprovider.h:
12299         * plugins/elements/gstfakesink.h:
12300         * plugins/elements/gstfakesrc.h:
12301         * plugins/elements/gstfdsink.h:
12302         * plugins/elements/gstfdsrc.h:
12303         * plugins/elements/gstfilesink.h:
12304         * plugins/elements/gstfilesrc.h:
12305         * plugins/elements/gstidentity.h:
12306         * plugins/elements/gstqueue.h:
12307         * plugins/elements/gsttee.h:
12308         * plugins/indexers/gstfileindex.c:
12309         * plugins/indexers/gstmemindex.c:
12310         * tests/old/examples/plugins/example.h:
12311         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12312
12313 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12314
12315         * libs/gst/dataprotocol/dataprotocol.c:
12316         (gst_dp_header_from_buffer):
12317           make sure we zero the whole ABI-compatible area
12318
12319 2006-06-01  Wim Taymans  <wim@fluendo.com>
12320
12321         Patch by: Alessandro Decina <alessandro at nnva dot org>
12322
12323         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12324         Make sure the EOS flag is cleared from pads after a flush
12325         or stop. Fixes #343538.
12326
12327         * tests/check/libs/collectpads.c: (GST_START_TEST),
12328         (gst_collect_pads_suite):
12329         Added test for collectpads reusage after EOS.
12330
12331 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12332
12333         * gst/gst.c:
12334          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12335         * win32/common/libgstbase.def:
12336          export gst_collect_pads_set_flushing
12337         * win32/common/libgstreamer.def:
12338          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12339          gst_value_fraction_multiply
12340         * win32/vs6/gst_inspect.dsp:
12341          add a link to intl.lib
12342
12343 2006-05-30  Wim Taymans  <wim@fluendo.com>
12344
12345         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12346         (gst_collect_pads_chain):
12347         Handle the case where a pad is removed from the collection
12348         that could cause the other pads to become collectable.
12349
12350 2006-05-30  Wim Taymans  <wim@fluendo.com>
12351
12352         * gst/gstelement.c:
12353         Clarify the use of _release_request_pad() and
12354         _get_request_pad() a bit better.
12355
12356         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12357         (gst_adapter_take_buffer):
12358         Fix some doc and comment typos.
12359
12360 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12361
12362         * docs/gst/gstreamer-sections.txt:
12363         * docs/libs/gstreamer-libs-sections.txt:
12364           add declared symbols
12365
12366 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12367
12368         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12369         Add debug that can be enabled using a #define at the top of the file,
12370         for dumping stats about how late/early we were when waking up from
12371         waiting on the clock.
12372
12373 2006-05-30  Wim Taymans  <wim@fluendo.com>
12374
12375         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12376         When rebuilding the pad list, don't leak the previous list.
12377
12378 2006-05-30  Wim Taymans  <wim@fluendo.com>
12379
12380         Patch by: Lutz Mueller <lutz at topfrose dot de>
12381
12382         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12383         (gst_base_src_get_query_types), (gst_base_src_update_length):
12384         Publish supported query types.
12385         Update last_stop field in get_range mode so the position
12386         query works. Fixes #342321.
12387
12388 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12389
12390         * docs/gst/gstreamer-sections.txt:
12391         * gst/gsttaglist.c: (_gst_tag_initialize):
12392         * gst/gsttaglist.h:
12393           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12394
12395 2006-05-30  Wim Taymans  <wim@fluendo.com>
12396
12397         Patch by: Alessandro Decina <alessandro at nnva dot org>
12398
12399         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12400         Unlock mutex when removing an unknown pad.
12401         Fixes #343334.
12402
12403         * tests/check/Makefile.am:
12404         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12405         (push_event), (setup), (teardown), (GST_START_TEST),
12406         (gst_collect_pads_suite), (main):
12407         Added collecpads check, disabled for now as check crashes for
12408         some reason.
12409
12410 2006-05-29  Wim Taymans  <wim@fluendo.com>
12411
12412         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12413         Don't leak pads lists.
12414
12415 2006-05-29  Wim Taymans  <wim@fluendo.com>
12416
12417         * docs/libs/gstreamer-libs-sections.txt:
12418         * libs/gst/base/gstcollectpads.c:
12419         (gst_collect_pads_set_flushing_unlocked),
12420         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12421         (gst_collect_pads_stop):
12422         * libs/gst/base/gstcollectpads.h:
12423         API: gst_collect_pads_set_flushing()
12424         Added api to set the pads to flushing, useful for seeking
12425         code in elements using collectpads.
12426         Clear segment when receiving a flush.
12427
12428 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12429
12430         * gst/gst.c: (add_path_func), (init_post):
12431           Don't scan registry paths passed via --gst-plugin-path immediately
12432           (will crash, because absolutely nothing is set up and no types are
12433           registered etc.); do this later in init_post(). Fixes #343057.
12434
12435 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12436
12437         * gst/gst.c: (init_post):
12438           if we have fork, fork while reading/rebuilding the registry
12439           so the parent doesn't take the hit of having all plugins loaded
12440           in memory.  Fixes #342777.
12441         * configure.ac:
12442           Check if we have fork()
12443         * win32/common/config.h.in:
12444           no fork() on win32
12445
12446 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12447
12448         * plugins/elements/gstelements.c:
12449         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12450         (gst_file_src_init), (gst_file_src_set_property),
12451         (gst_file_src_get_property), (gst_file_src_start):
12452         * plugins/elements/gstfilesrc.h:
12453           API: GstFileSrc::use-mmap
12454
12455         Add a use-mmap property to enable easier testing of all code paths.
12456         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12457         in the absence of gnomevfssrc. (Closes #340501)
12458
12459 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12460
12461         * tools/gst-inspect.c:
12462         Add missing include, removes warning of ngettext not being defined on
12463         some arches.
12464
12465 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12466
12467         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12468         Handle NULL input and output pointers silently as a failed conversion,
12469         rather than g_warnings.
12470
12471 2006-05-25  Wim Taymans  <wim@fluendo.com>
12472
12473         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12474         Initialize variable before using. Fixes #342820.
12475
12476 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12477
12478         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12479           Fix off-by-one bug that would only allow peeks of N-1 bytes
12480           from the start even if the buffer to typefind on contains
12481           in fact N bytes of data (makes vorbis typefinding from a
12482           vorbis identification header buffer work).
12483
12484         * tests/check/Makefile.am:
12485         * tests/check/libs/.cvsignore:
12486         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12487         (gst_typefindhelper_suite), (main), (foobar_typefind),
12488         (plugin_init):
12489           Add very basic unit test for gst_type_find_helper_for_buffer()
12490           that checks for the problem fixed above.
12491
12492 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12493
12494         * tools/gst-inspect.c: (print_interfaces),
12495         (print_element_properties_info), (print_element_list), (main):
12496           add more translatable strings
12497
12498 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12499
12500         Patch by: Julien Moutte  <julien at moutte net>
12501
12502         * docs/gst/gstreamer-sections.txt:
12503           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12504           
12505         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12506         (gst_fake_sink_preroll):
12507         * plugins/elements/gstfakesink.h:
12508           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12509
12510 2006-05-23  Wim Taymans  <wim@fluendo.com>
12511
12512         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12513         * gst/gstpad.h:
12514         Added _CUSTOM error and success GstFlowReturn that can be
12515         used be elements internally. 
12516         Added macro to check for SUCCESS flowreturns.
12517         API: GST_FLOW_CUSTOM_SUCCESS
12518         API: GST_FLOW_CUSTOM_ERROR
12519         API: GST_FLOW_IS_SUCCESS
12520
12521         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12522         Added check for GstFlowReturn sanity.
12523
12524 2006-05-23  Wim Taymans  <wim@fluendo.com>
12525
12526         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12527
12528         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12529         (gst_collect_pads_event):
12530         clear/reset segment info in FLUSH_STOP.
12531         Fixes #336929.
12532
12533 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12534
12535         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12536         (gst_collect_pads_check_collected):
12537         Flush queued buffer on _stop(), fixes playing again (#342454)
12538
12539 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12540
12541         * tests/check/gst/gststructure.c: (GST_START_TEST),
12542         (gst_structure_suite):
12543           add a test for a complete structure
12544
12545 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12546
12547         * docs/faq/developing.xml:
12548         * docs/faq/faq.xml:
12549         * docs/faq/troubleshooting.xml:
12550         * docs/faq/using.xml:
12551           Some minor FAQ updates that won't change the fact that
12552           our FAQ is badly structured, full of information hardly
12553           anyone new to GStreamer needs to know and lacking lots
12554           of information people constantly ask for.
12555           
12556 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12557
12558         * gst/gstpad.c: (gst_pad_set_caps):
12559           Short-circuit gst_pad_set_caps if setting the existing
12560           caps pointer again, and avoid printing debug and 
12561           reffing/unreffing the caps.
12562
12563         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12564           There's actually no need to set the caps before pushing -
12565           the acceptcaps method will handle it anyway.
12566
12567 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12568
12569         * docs/gst/gstreamer-sections.txt:
12570         * win32/common/libgstreamer.def:
12571         * gst/gstutils.c: (gst_element_seek_simple):
12572         * gst/gstutils.h:
12573           API: add gst_element_seek_simple() (#342238).
12574
12575 2006-05-18  Edward Hervey  <edward@fluendo.com>
12576
12577         * gst/gsttypefind.c: (gst_type_find_get_type):
12578         * gst/gsttypefind.h:
12579         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12580         registered for GstTypeFind pointers. This allows wrapping the structure
12581         in bindings (i.e. gst-python).
12582
12583 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12584
12585         * gst/gsttagsetter.c:
12586           Docs additions and fixes (see #339918).
12587
12588 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12589
12590         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12591         The caps intersection algorithm can produce multiple copies of the
12592         caps. Until that is fixed, we need to simplify the result to be
12593         sure whether the allowed caps are fixed or not.
12594
12595         * plugins/elements/gstqueue.c: (gst_queue_init),
12596         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12597         (gst_queue_push_one):
12598         Proxied buffer alloc should not set the caps on the source pad.
12599         When pushing buffers, we always accept the caps change that triggers.
12600         This prevents negotiation errors caused by caps changing mid-stream 
12601         and then being refused on our source pad (because upstream is now
12602         refusing those caps).
12603
12604 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12605
12606         * tests/examples/helloworld/helloworld.c: (main):
12607           Must plug audioconvert and audioresample between decoder
12608           and audio sink.
12609
12610 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
12611
12612         * gst/gstregistryxml.c: (read_string), (load_pad_template),
12613         (load_feature), (load_plugin):
12614         Allow empty strings for some of the plugin fields so we don't 
12615         drop valid plugin entries that were written out correctly
12616         (Fixes #341479)
12617
12618 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
12619         
12620         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12621           Use g_remove and g_rename instead of remove and rename that don't 
12622           handle utf8 characters. rename was failing for users who had specific
12623           characters in their name then the registry was built at each 
12624           gstreamer init.
12625         * win32/vs6/gst_inspect.dsp:
12626         * win32/vs6/gst_launch.dsp:
12627         * win32/vs6/libgstbase.dsp:
12628         * win32/vs6/libgstcoreelements.dsp:
12629         * win32/vs6/libgstreamer.dsp:
12630           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
12631           build of libgstreamer and clean unused libraries in projects link 
12632           settings.
12633
12634 2006-05-17  Edward Hervey  <edward@fluendo.com>
12635
12636         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12637         The queue is not responsible for pushing an EOS when receiving a fatal
12638         flow error. It's up to the real element driving the pipeline to do that.
12639
12640 2006-05-16  Edward Hervey  <edward@fluendo.com>
12641
12642         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12643         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12644         buffer returned a fatal error. It should just send an EOS and stop
12645         its task.
12646         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12647         when pushing buffers on the queue and will be able to handle the event.
12648
12649 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
12650
12651         * docs/manual/basics-bins.xml:
12652         * docs/manual/basics-init.xml:
12653           Fix typos and minor errors in sample code (#341856).
12654
12655 2006-05-16  Wim Taymans  <wim@fluendo.com>
12656
12657         * docs/design/part-qos.txt:
12658         Fix indexes in formulas to make more sense.
12659
12660 2006-05-15  Wim Taymans  <wim@fluendo.com>
12661
12662         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12663         Don't report POSITION based on clock time if sync is
12664         disabled in a sink.
12665
12666 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
12667
12668         * gst/gstobject.h:
12669           Add cast to make compiler happy - refcount variable was a gint
12670           in GstObject but is a guint in GObject and g_atomic_int_get()
12671           wants a gint *.
12672
12673 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12674
12675         * gst/parse/Makefile.am:
12676           chain commands using &&, which also makes parallel make work
12677
12678 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
12679
12680         * docs/gst/gstreamer-sections.txt:
12681         * gst/gstevent.c:
12682         * gst/gstevent.h:
12683         * gst/gstmessage.h:
12684           Minor docs fixes.
12685
12686 === release 0.10.6 ===
12687
12688 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
12689
12690         * configure.ac:
12691           releasing 0.10.6, "Take the cannoli"
12692
12693 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
12694
12695         * tools/gst-launch.c: (print_tag):
12696           Fix use of uninitialized variable in the hypothetical
12697           case that some broken plugin creates a GST_TAG_IMAGE
12698           tag containing a NULL buffer (#341667).
12699
12700 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
12701
12702         * tools/gst-launch.c: (print_tag):
12703           Print something more intelligible for image tags when
12704           using the -t switch (#341556).
12705
12706 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12707
12708         * Makefile.am:
12709           updates for win32
12710         * configure.ac:
12711           define GST_MAJORMINOR so we have it available in win32/common/config.h
12712           Possibly remove it from our Makefile.am files later
12713         * win32/common/config.h:
12714         * win32/common/config.h.in:
12715           added GST_MAJORMINOR
12716         * win32/common/gstenumtypes.c: (register_gst_resource_error):
12717         * win32/common/gstversion.h:
12718           updated
12719
12720 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
12721
12722         * win32/MANIFEST:
12723           Update win32 files listing.
12724         * win32/common/gstversion.h:
12725           Add GST_MAJORMINOR definition.
12726         * win32/common/libgstreamer.def:
12727           Add new exported functions.
12728           
12729 2006-05-12  Michael Smith  <msmith@fluendo.com>
12730
12731         * gst/gstplugin.c: (gst_plugin_load_file):
12732           If an so file has no plugin entry point, unload the module.
12733
12734 2006-05-11  Wim Taymans  <wim@fluendo.com>
12735
12736         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12737         (gst_queue_set_property):
12738         Don't forget to signal the _chain or _loop function 
12739         when the queue size or thresholds change since that might
12740         cause them to make progres again.
12741
12742 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
12743
12744         * gst/gstclock.c: (gst_clock_class_init):
12745         * gst/gstindex.c: (gst_index_class_init):
12746         * gst/gstobject.c: (gst_object_class_init):
12747         * gst/gstpad.c: (gst_pad_class_init):
12748         * gst/gstpipeline.c: (gst_pipeline_class_init):
12749         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12750         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12751         * libs/gst/base/gstbasetransform.c:
12752         (gst_base_transform_class_init):
12753         * libs/gst/net/gstnetclientclock.c:
12754         (gst_net_client_clock_class_init):
12755         * libs/gst/net/gstnettimeprovider.c:
12756         (gst_net_time_provider_class_init):
12757         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12758         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12759         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12760         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12761         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12762         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12763         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12764         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12765         * plugins/elements/gsttee.c: (gst_tee_class_init):
12766         * tests/old/examples/plugins/example.c: (gst_example_class_init):
12767         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12768           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12769
12770 2006-05-11  Wim Taymans  <wim@fluendo.com>
12771
12772         * gst/gstbuffer.c: (_gst_buffer_initialize):
12773         Register subbufer along with the buffer type so that
12774         it does not accidentally gets registered from N
12775         different streaming threads in a non threadsafe way.
12776
12777 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12778
12779         * gst/gstbuffer.h:
12780         * gst/gstevent.h:
12781         * gst/gstmessage.h:
12782           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12783           gst_event_ref() and gst_message_ref() functions again
12784           (ugly hack, please do fix if there's a better way besides
12785           overrides.txt, which doesn't seem to work).
12786
12787 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12788
12789         * libs/gst/check/gstcheck.h:
12790           add an assert for setting state to avoid lots of repetitive code
12791           in the future
12792
12793 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12794
12795         * gst/gstvalue.c: (gst_value_serialize_flags):
12796           fix a leak if no flags are set
12797         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12798           fix leak in tests
12799
12800 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12801
12802         * docs/manual/basics-pads.xml:
12803           Expand a bit on caps and filtered links and update
12804           examples that were still using the no longer existing
12805           gst_pad_link_filtered() (#338206).
12806
12807 2006-05-10  Wim Taymans  <wim@fluendo.com>
12808
12809         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12810         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12811         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12812         (gst_collect_pads_stop):
12813         * libs/gst/base/gstcollectpads.h:
12814         No need to call _stop in _finalize.
12815         Iterate the main pad list in _finalize.
12816         Added some more debug.
12817         Free lists and data in the right order.
12818         Also free data whem doing _remove_pad when stopped for
12819         backward compatibility protect ::started with PAD_LOCK as
12820         well.
12821
12822 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12823
12824         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12825         (gst_structure_parse_value):
12826           add some comments
12827           rename a method so that it actually says what it does better
12828
12829 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12830
12831         * gst/gstevent.c: (_gst_event_initialize):
12832         * gst/gstformat.c: (_gst_format_initialize):
12833           make sure some essential types used by events are registered
12834           as part of gst_init()
12835         * gst/gstvalue.c: (gst_value_serialize_flags):
12836           if no flags are set, serialize them to a value that represents NONE
12837           so that deserializing them works
12838         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12839           add tests for serialization and deserialization of flags
12840
12841 2006-05-10  Wim Taymans  <wim@fluendo.com>
12842
12843         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12844         (gst_collect_pads_collect_range), (gst_collect_pads_available),
12845         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12846         (gst_collect_pads_event), (gst_collect_pads_chain):
12847         Update docs.
12848         Better debug info.
12849         Catch and return errors from the collect function
12850         Refuse data on eos pads.
12851
12852 2006-05-10  Edward Hervey  <edward@fluendo.com>
12853
12854         * gst/gstinterface.h:
12855         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12856         GInterface type checking.
12857         They were previously using non-defined macros.
12858
12859 2006-05-09  Wim Taymans  <wim@fluendo.com>
12860
12861         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12862         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12863         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12864         (gst_collect_pads_start), (gst_collect_pads_stop),
12865         (gst_collect_pads_peek), (gst_collect_pads_pop),
12866         (gst_collect_pads_available), (gst_collect_pads_read),
12867         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12868         (gst_collect_pads_is_collected), (gst_collect_pads_event),
12869         (gst_collect_pads_chain):
12870         * libs/gst/base/gstcollectpads.h:
12871         Clean up the mess that is collectpads, add comments and
12872         FIXMEs where needed.
12873         Maintain a separate pad list so we can add pads while
12874         collecting the other ones. For this we need a new separate 
12875         lock (see comics).
12876         Fix memory leak in finalize.
12877         Refactor some weird code to set/unset pad flushing flags, mark
12878         with comments.
12879         Don't crash in _available, _read, _flush when we're EOS.
12880
12881         * tests/check/libs/.cvsignore:
12882         Ignore adapter check binary.
12883
12884 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12885
12886         * gst/gstindex.c: (gst_index_resolver_get_type):
12887         * plugins/elements/gstfakesink.c:
12888         (gst_fake_sink_state_error_get_type):
12889         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12890         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
12891         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
12892           Const-ify GEnumValue arrays.
12893
12894 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12895
12896         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12897           Add test case for flags + gst_buffer_make_metadata_writable().
12898
12899 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12900
12901         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
12902           gst_buffer_make_metadata_writable() should maintain the
12903           buffer flags (those that make sense at least) (see #340859).
12904
12905 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12906
12907         * tools/gst-inspect.c:
12908         * tools/gst-launch.c:
12909         * tools/gst-typefind.c:
12910         * tools/gst-xmlinspect.c:
12911         * tools/tools.h:
12912           Fix up includes: need to include stdlib.h in tools.h for exit().
12913
12914 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12915
12916         * gst/gsttaglist.c: (_gst_tag_initialize):
12917         * gst/gsttaglist.h:
12918           API: add GST_TAG_IMAGE tag (#340721).
12919
12920 2006-05-08  Wim Taymans  <wim@fluendo.com>
12921
12922         * gst/gstquery.c:
12923         Added some docs for the segment query.
12924
12925 2006-05-08  Wim Taymans  <wim@fluendo.com>
12926
12927         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12928         (gst_base_src_loop), (gst_base_src_change_state):
12929         Always push non-flushing serialized events in the streaming 
12930         thread.
12931
12932 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12933
12934         * gst/gsterror.c: (_gst_stream_errors_init):
12935           Add a missing error string.
12936
12937 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
12938
12939         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
12940         Add applied_rate to the debug
12941
12942         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12943         Copy applied_rate into the outgoing NEWSEGMENT event
12944
12945 2006-05-08  Wim Taymans  <wim@fluendo.com>
12946
12947         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
12948
12949         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
12950         (gst_base_sink_change_state):
12951         call ::unlock before taking the PREROLL_LOCK so we can safely
12952         handle elements that lock in ::render.
12953         Fixes #340174.
12954
12955 2006-05-08  Edward Hervey  <edward@fluendo.com>
12956
12957         * autogen.sh: (CONFIGURE_DEF_OPT): 
12958         Darwin's libtoolize is in fact called glibtoolize.
12959         Adding glibtoolize to the list of accepted names for libtoolize.
12960
12961 2006-05-08  Wim Taymans  <wim@fluendo.com>
12962
12963         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12964         Unify error handling, don't post an error message
12965         when a push() returns EOS but perform our normal EOS
12966         handling code. Fixes #340772.
12967
12968 2006-05-08  Wim Taymans  <wim@fluendo.com>
12969
12970         * docs/design/part-overview.txt:
12971         Make upsteam/downstream concepts more clear.
12972         Give an example of serialized/non-serialized events.
12973
12974         * docs/design/part-events.txt:
12975         * docs/design/part-streams.txt:
12976         Mention applied_rate.
12977
12978         * docs/design/part-trickmodes.txt:
12979         Mention applied rate, flesh out some more use cases.
12980
12981         * gst/gstevent.c: (gst_event_new_new_segment),
12982         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
12983         (gst_event_parse_new_segment_full), (gst_event_new_tag),
12984         (gst_event_parse_tag), (gst_event_new_buffer_size),
12985         (gst_event_parse_buffer_size), (gst_event_new_qos),
12986         (gst_event_parse_qos), (gst_event_parse_seek),
12987         (gst_event_new_navigation):
12988         * gst/gstevent.h:
12989         Add applied_rate field to NEWSEGMENT event.
12990         API: gst_event_new_new_segment_full()
12991         API: gst_event_parse_new_segment_full()
12992
12993         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
12994         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
12995         (gst_segment_to_stream_time), (gst_segment_to_running_time):
12996         * gst/gstsegment.h:
12997         Add applied_rate to GstSegment structure.
12998         Make calculation of stream_time and running_time more correct
12999         wrt rate/applied_rate.
13000         Add some more docs.
13001         API: GstSegment::applied_rate field
13002         API: gst_segment_set_newsegment_full();
13003
13004         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13005         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13006         * libs/gst/base/gstbasetransform.c:
13007         (gst_base_transform_sink_eventfunc),
13008         (gst_base_transform_handle_buffer):
13009         Parse and use applied_rate in the GstSegment field.
13010
13011         * tests/check/gst/gstevent.c: (GST_START_TEST):
13012         Add check for applied_rate field.
13013
13014         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13015         (gstsegments_suite):
13016         Add more checks for various GstSegment operations.
13017
13018 2006-05-08  Wim Taymans  <wim@fluendo.com>
13019
13020         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13021         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13022         (gst_base_sink_get_position), (gst_base_sink_change_state):
13023         Store the sync time of the buffer end position separatly in a
13024         new variable eos_rtime so we can properly sync the EOS event.
13025         Fixes #340697.
13026         Fix the docs for gst_base_sink_set_qos_enabled().
13027         Don't set segment start to invalid value when we receive a 
13028         non TIME newsegment.
13029         get closer to handling position reporting for negative rates 
13030         correctly.
13031
13032 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13033
13034         * gst/gstcaps.c:
13035         Docs about how to print caps for debug purposes.
13036
13037         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13038         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13039
13040 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13041
13042         * gst/gstelement.c:
13043           use full enum names and preprend a '%' in docs strings to make recent 
13044           gtk-doc turn that into a link
13045
13046 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13047
13048         * docs/manual/basics-bins.xml:
13049         * docs/manual/basics-bus.xml:
13050         * docs/manual/basics-pads.xml:
13051           Some typo fixes, some additions, some clarifications. 
13052
13053 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13054
13055         * tools/gst-inspect.c: (main):
13056         * tools/gst-launch.c: (main):
13057         * tools/gst-run.c: (main):
13058         * tools/gst-typefind.c: (main):
13059         * tools/gst-xmlinspect.c: (main):
13060           Use the string passed to g_option_context_new() for
13061           what it's intended for - the program name is already
13062           printed elsewhere.
13063
13064 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13065
13066         * tools/Makefile.am:
13067         * tools/gst-inspect.c: (main):
13068         * tools/gst-launch.c: (main):
13069         * tools/gst-xmlinspect.c: (main):
13070         * tools/tools.h:
13071           Add back --version command line option (#340460).
13072
13073         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13074           Add --version option and use GOption for argument parsing; refactor a
13075           bit; accept directories as arguments and recurse into them; lastly,
13076           print a decent error message when things go wrong.
13077
13078 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13079
13080         * docs/manual/basics-bins.xml:
13081         Don't mention GstThread (#340611)
13082         * docs/manual/basics-elements.xml:
13083         Update link to GObject tutorial (#340607)
13084         
13085 2006-05-05  Wim Taymans  <wim@fluendo.com>
13086
13087         * gst/gstbuffer.h:
13088         * gst/gstminiobject.c:
13089         Add note about refcounting and miniobject/buffer writeability
13090         to docs. Fixes #340604
13091
13092         * gst/gstelementfactory.h:
13093         Added some explanation about @klass.
13094
13095 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13096
13097         * docs/manual/intro-motivation.xml:
13098         * docs/manual/manual.xml:
13099         Avoid CORBA & Bonobo references (#340598)
13100
13101 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13102
13103         * docs/manual/basics-bus.xml:
13104         * docs/manual/basics-pads.xml:
13105         Fix up some inaccuracies and omissions (#340609)
13106         
13107 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13108
13109         * gst/gstghostpad.c:
13110           Small typo in docs (#340625)
13111
13112 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13113
13114         * gst/parse/Makefile.am:
13115           Make 'make -j' proof (see #340698).
13116
13117 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13118
13119         * configure.ac:
13120           Require GLib-2.8 here as well.
13121
13122 2006-05-05  Wim Taymans  <wim@fluendo.com>
13123
13124         * gst/glib-compat.c:
13125         * gst/gst.c: (init_pre):
13126         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13127         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13128         (gst_object_dispatch_properties_changed):
13129         * gst/gstobject.h:
13130         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13131         * gst/gststructure.c: (gst_structure_set_valist):
13132         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13133         Remove pre glib2.8 compatibility, fixes #340508
13134
13135 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13136
13137         * gst/gsttaglist.h:
13138           Mention type of tags in doc blurbs.
13139
13140 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13141
13142         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13143         (gst_pad_configure_src), (gst_pad_push):
13144         Restore acceptcaps checking behaviour now that good plugins have
13145         been released.
13146
13147 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13148
13149         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13150
13151         * gst/gst.c:
13152         * gst/gstbus.c:
13153         * gst/gstclock.c:
13154         * gst/gstevent.c:
13155         * gst/gstformat.c:
13156         * gst/gstmessage.c:
13157         * gst/gstparse.c:
13158         * gst/gstquery.c:
13159         * gst/gstutils.c:
13160         * gst/parse/Makefile.am:
13161         * libs/gst/base/gstadapter.c:
13162         * libs/gst/base/gstbasesrc.c:
13163         * libs/gst/base/gstpushsrc.c:
13164         * libs/gst/base/gsttypefindhelper.c:
13165         * plugins/elements/gstfakesrc.c:
13166         * plugins/elements/gstidentity.c:
13167           Make sure gstprivate.h and/or config.h are
13168           always included first, otherwise some of our
13169           defines (like _FILE_OFFSET_BITS) might be
13170           redefined in the system headers. Fixes build
13171           on opensolaris (#340016).
13172
13173 2006-05-04  Wim Taymans  <wim@fluendo.com>
13174
13175         * docs/libs/gstreamer-libs-sections.txt:
13176         API: addition: gst_adapter_take_buffer()
13177         
13178         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13179         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13180         (gst_adapter_available_fast):
13181         * libs/gst/base/gstadapter.h:
13182         Prepare for optimizing the hell out of this hugely inefficient
13183         piece of code. 
13184         Added gst_adapter_take_buffer() so we can at least start thinking
13185         about subbuffering and merging.
13186         Added some comments.
13187
13188         * tests/check/Makefile.am:
13189         * tests/check/libs/adapter.c: (GST_START_TEST),
13190         (gst_adapter_suite), (main):
13191         Added GstAdapter check.
13192
13193 2006-05-04  Wim Taymans  <wim@fluendo.com>
13194
13195         * docs/design/part-overview.txt:
13196         Fix some typos, add blurb about buffer flags.
13197
13198 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13199
13200         * docs/libs/gstreamer-libs-sections.txt:
13201           make sure GstBaseTransformClass shows up in the docs
13202         * libs/gst/base/gstbasetransform.c:
13203         * libs/gst/base/gstbasetransform.h:
13204           move docs so gtk-doc picks it up now
13205
13206 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13207
13208         * docs/libs/gstreamer-libs-sections.txt:
13209           add missing symbols to docs
13210
13211 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13212
13213         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13214           back out the newsegment handling change, see #340060 for ongoing
13215           discussion
13216
13217 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13218
13219         * tools/gst-run.c: (get_candidates), (main):
13220           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13221           work); fix typo in error message. Fixes #340079.
13222
13223 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13224
13225         * common/Makefile.am:
13226         * docs/Makefile.am:
13227         * docs/faq/Makefile.am:
13228         * docs/gst/Makefile.am:
13229         * docs/libs/Makefile.am:
13230         * docs/manual/Makefile.am:
13231         * docs/plugins/Makefile.am:
13232         * docs/pwg/Makefile.am:
13233         * docs/slides/Makefile.am:
13234         * docs/upload.mak:
13235         * common/upload.mak:
13236           move upload.mak to common
13237
13238 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13239
13240         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13241           add more asserts on refcounts
13242           do more cleanup at end of tests
13243           fix test leaks showing in FC5
13244
13245 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13246
13247         * plugins/elements/gsttypefindelement.c:
13248         (gst_type_find_element_handle_event):
13249         reverted wrong change and reflowed code to avoid others falling into
13250         this trap
13251
13252 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13253
13254         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13255           fix changelog entry about last collectpads change,
13256           add notes about proper fix
13257
13258 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13259
13260         * gst/gst.c:
13261         * gst/gstregistry.c: (gst_registry_scan_path_level),
13262         (gst_registry_scan_path):
13263         * gst/gstregistry.h:
13264           only write out registry if it has changed, fixes #338339
13265
13266 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13267
13268         * gst/gstbin.c:
13269         * gst/gstpipeline.c:
13270         * plugins/elements/gstcapsfilter.c:
13271         * plugins/elements/gstfakesink.c:
13272         * plugins/elements/gstfakesrc.c:
13273         * plugins/elements/gstfdsink.c:
13274         * plugins/elements/gstfdsrc.c:
13275         * plugins/elements/gstfilesink.c:
13276         * plugins/elements/gstfilesrc.c:
13277         * plugins/elements/gstidentity.c:
13278         * plugins/elements/gstqueue.c:
13279         * plugins/elements/gsttee.c:
13280         * plugins/elements/gsttypefindelement.c:
13281         (gst_type_find_element_handle_event):
13282           make GstElementDetails const
13283
13284 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13285
13286         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13287         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13288         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13289           more detailed debug and formatting cleanup,
13290           forward newsegments to src-pad (so that e.g. adder not eats them)
13291
13292 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13293
13294         * gst/gstutils.c: (gst_element_link_pads):
13295           cleanup double code
13296
13297 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13298
13299         * libs/gst/controller/gstcontroller.c:
13300         (gst_controller_sync_values):
13301           some little tuning
13302         * tests/check/libs/controller.c: (GST_START_TEST),
13303         (gst_controller_suite):
13304           a new test for live value handling
13305
13306 2006-04-28  Wim Taymans  <wim@fluendo.com>
13307
13308         * gst/gstutils.c: (push_and_ref):
13309         Added some more docs.
13310         Fix refcount issue whith gst_element_found_tags() helper 
13311         function. Fixes #338335
13312
13313         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13314         Added testsuite for gst_element_found_tags().
13315
13316 2006-04-28  Michael Smith  <msmith@fluendo.com>
13317
13318         * gst/gstvalue.c: (gst_value_serialize_flags):
13319           Avoid NULL dereference when trying to serialize flags containing
13320           invalid values.
13321
13322 2006-04-28  Michael Smith  <msmith@fluendo.com>
13323
13324         * plugins/elements/gsttypefindelement.c:
13325         (gst_type_find_element_handle_event):
13326           If we get EOS before any data is accumulated, don't use
13327           uninitialised local variables.
13328
13329 2006-04-28  Michael Smith  <msmith@fluendo.com>
13330
13331         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13332         (gst_dp_event_from_packet):
13333           Fixes in reading/writing events over GDP (not currently used?) - 
13334           dereferencing NULL events for unknown/invalid event types, memory
13335           leak, and change g_warning to GST_WARNING.
13336
13337 2006-04-28  Wim Taymans  <wim@fluendo.com>
13338
13339         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13340         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13341         (gst_base_sink_get_position), (gst_base_sink_change_state):
13342         When frame dropping is enabled, we should not ignore frames
13343         without a duration.
13344         Update some documentation.
13345
13346 2006-04-28  Wim Taymans  <wim@fluendo.com>
13347
13348         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13349         (gst_base_src_send_event), (gst_base_src_change_state):
13350         Documentation updates.
13351
13352 2006-04-28  Wim Taymans  <wim@fluendo.com>
13353
13354         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13355         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13356         handle EAGAIN, EINTR and short writes correctly. Also clean
13357         up some error cases, avoid a deadlock on bad file descriptors and
13358         use GST_DEBUG_OBJECT.
13359         Fixes #339843
13360
13361 2006-04-28  Wim Taymans  <wim@fluendo.com>
13362
13363         * gst/gstvalue.c: (gst_value_serialize_buffer),
13364         (gst_value_deserialize_buffer):
13365         Don't try to serialize a GValue with a NULL buffer. 
13366         Fixes #339821.
13367
13368         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13369         Added check for serialisation of NULL buffers.
13370
13371 2006-04-28  Wim Taymans  <wim@fluendo.com>
13372
13373         * gst/gstminiobject.c: (gst_value_take_mini_object):
13374         Taking a NULL miniobject is valid, fix the case where
13375         we try to unref the NULL miniobject.
13376
13377 2006-04-28  Wim Taymans  <wim@fluendo.com>
13378
13379         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13380
13381         * gst/gstbin.c: (gst_bin_handle_message_func):
13382         Update docs.
13383         Don't leak bin refcount when a state recalc is
13384         in progress and we delay another one #339808.
13385
13386 2006-04-28  Wim Taymans  <wim@fluendo.com>
13387
13388         * docs/design/part-TODO.txt:
13389         Mention QoS as an ongoing work item.
13390
13391         * docs/design/part-buffering.txt:
13392         New doc about buffering that needs to be fleshed out
13393         at some point.
13394
13395         * docs/design/part-qos.txt:
13396         More QoS policy for decoders/demuxers/transforms
13397
13398         * docs/design/part-trickmodes.txt:
13399         Small update.
13400
13401 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13402
13403         * configure.ac:
13404           back to HEAD
13405
13406 === release 0.10.5 ===
13407
13408 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13409
13410         * configure.ac:
13411           releasing 0.10.5, "Fogo"
13412
13413 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13414
13415         patch by: Wim Taymans
13416
13417         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13418         (gst_pad_configure_src), (gst_pad_push):
13419         * gst/gstpipeline.c: (gst_pipeline_init):
13420           Fix internal data flow errors.  Fixes #338711.
13421
13422 2006-04-12  Wim Taymans  <wim@fluendo.com>
13423
13424         * tests/check/gst/gstelement.c: (GST_START_TEST):
13425         Don't leak the factory.
13426
13427 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13428
13429         * configure.ac:
13430         * win32/common/config.h:
13431           prerelease
13432
13433 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13434
13435         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13436         (gst_controller_unset_all):
13437           Free allocated GstTimedValues when freeing list nodes.
13438           Should fix leaks 'make check-valgrind' complains about.
13439
13440         * win32/common/libgstcontroller.def:
13441           Add gst_controller_unset_all.
13442
13443 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13444
13445         * docs/libs/gstreamer-libs-sections.txt:
13446         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13447         (gst_controller_unset_all):
13448         * libs/gst/controller/gstcontroller.h:
13449         API: Added new method gst_controller_unset_all()
13450         fixed gst_controller_unset()
13451         * tests/check/libs/controller.c: (GST_START_TEST),
13452         (gst_controller_suite):
13453         Added two testcases for new and fixed method
13454
13455 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13456
13457         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13458           MSG_DONTWAIT is not defined on Cygwin, so work
13459           around that (fixes #317048).
13460           
13461 2006-04-11  Wim Taymans  <wim@fluendo.com>
13462
13463         * gst/gstelementfactory.c: (gst_element_register),
13464         (gst_element_factory_create), (gst_element_factory_make):
13465         Some cleanups.
13466         Fixed a FIXME.
13467         Updated docs (Fixes #131079)
13468
13469         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13470         Small cleanups.
13471
13472         * tests/check/gst/gstelement.c: (GST_START_TEST),
13473         (gst_element_suite):
13474         Added testcase for elementfactory class field.
13475
13476 2006-04-10  Wim Taymans  <wim@fluendo.com>
13477
13478         * gst/gstsegment.c:
13479         Added some more docs.
13480
13481         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13482         (gst_base_sink_reset_qos):
13483         Calculate more accurate rate values.
13484
13485 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13486
13487         * gst/gst_private.h:
13488           add a new #ifdef to use __declspec(dllimport) only for
13489           other modules and not for gstreamer core
13490         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13491           use gst_guint64_to_gdouble for conversion
13492         * win32/common/libgstreamer.def:
13493           add new exported functions
13494         * win32/vs6/gst_inspect.dsp:
13495         * win32/vs6/gst_launch.dsp:
13496         * win32/vs6/libgstbase.dsp:
13497         * win32/vs6/libgstcontroller.dsp:
13498         * win32/vs6/libgstcoreelements.dsp:
13499         * win32/vs6/libgstdataprotocol.dsp:
13500         * win32/vs6/libgstnet.dsp:
13501           update project files
13502
13503 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13504
13505         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13506         * gst/gstclock.c: (gst_clock_class_init):
13507         * gst/gstelement.c: (gst_element_class_init):
13508         * gst/gstindex.c: (gst_index_class_init):
13509         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13510         * gst/gstobject.c: (gst_object_class_init),
13511         (gst_signal_object_class_init):
13512         * gst/gstpad.c: (gst_pad_class_init):
13513         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13514         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13515         * gst/gstregistry.c: (gst_registry_class_init):
13516         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13517         * gst/gsttask.c: (gst_task_class_init):
13518         * gst/gstxml.c: (gst_xml_class_init):
13519         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13520         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13521         (gst_base_src_loop):
13522         * libs/gst/controller/gstcontroller.c:/
13523         (_gst_controller_class_init):
13524         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13525         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13526         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13527         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13528         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13529         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13530
13531 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13532
13533         * gst/gstpad.c: (gst_pad_link):
13534           Must set peer pads before calling the link function, otherwise
13535           a task started from a link function might get a flow-not-linked
13536           result when trying to push because the other thread where the
13537           linking happens hasn't had a chance to set the peers yet. This
13538           might happen for example when a queue gets linked to a downstream
13539           element, as queue starts a streaming task when its source pad
13540           gets linked. Happens in real life when playing back flac/musepack
13541           files in playbin (#332390).
13542           
13543 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13544
13545         * gst/gstindex.h:
13546         * gst/gstxml.h:
13547         * libs/gst/base/gstadapter.h:
13548         * libs/gst/base/gstbasesink.h:
13549         * libs/gst/base/gstbasesrc.h:
13550         * libs/gst/base/gstbasetransform.h:
13551         * libs/gst/base/gstcollectpads.h:
13552         * libs/gst/base/gstpushsrc.h:
13553         Fix broken GObject macros
13554
13555 2006-04-07  Wim Taymans  <wim@fluendo.com>
13556
13557         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13558         Initialize start and stop times, thanks valgrind.
13559
13560 2006-04-07  Wim Taymans  <wim@fluendo.com>
13561
13562         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13563         Be a bit nicer to badly behaving upstream elements that expect
13564         us to deal with non TIME segments and timestamps (such as fakesrc
13565         in the testsuite).
13566
13567 2006-04-07  Wim Taymans  <wim@fluendo.com>
13568
13569         * gst/gstbus.c:
13570         Small documentation clarification about the signal watch.
13571
13572         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13573         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13574         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13575         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13576         (gst_base_sink_get_position_last),
13577         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13578         Convert and store timestamps in stream time and running time, the
13579         raw timestamps are not useful, also document this better.
13580         Use different window sizes for good and bad QoS observations so
13581         we react to badness a little quicker.
13582         Keep track of the amount of rendered and dropped buffers.
13583         Send QoS timestamps in running time.
13584
13585         * libs/gst/base/gstbasetransform.c:
13586         (gst_base_transform_sink_eventfunc),
13587         (gst_base_transform_handle_buffer):
13588         Compare QoS timestamps against running time.
13589
13590 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13591
13592         * gst/gstpad.c:
13593           Typo fixes in docs.
13594
13595 2006-04-06  Michael Smith  <msmith@fluendo.com>
13596
13597         * gst/gstpad.c: (gst_pad_set_property):
13598           Use g_value_get_object() instead of g_value_dup_gst_object(),
13599           to avoid double-reffing the pad template (which we then sink,
13600           so this worked previously if (and only if) the pad template
13601           was floating.
13602
13603         * gst/gstpadtemplate.c: (gst_pad_template_init),
13604         (gst_pad_template_pad_created):
13605           Never return floating references to pad templates, create
13606           them as initially-sunken.
13607
13608           Document an extra function (and make this stop sinking our
13609           pad template, since that is now guaranteed to do nothing,
13610           since we created it sunken).
13611
13612         * gst/gstghostpad.c:
13613           Fix docs typo.
13614
13615 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13616
13617         * gst/gstinfo.c: (__gst_in_valgrind):
13618           Add some newlines.
13619
13620         * plugins/elements/gsttypefindelement.c:
13621         (gst_type_find_element_chain):
13622           Don't leak buffer caps.
13623
13624 2006-04-06  Michael Smith  <msmith@fluendo.com>
13625
13626         * gst/parse/grammar.y:
13627           Fix a leak in parse-launch for any source-or-sink named element 
13628           references used.
13629
13630         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13631           Unref the pipeline if it exists after we've failed parsing.
13632
13633 2006-04-05  Michael Smith  <msmith@fluendo.com>
13634
13635         * gst/gstpipeline.c: (gst_pipeline_init):
13636           When we create a pipeline bus, initially create it in flushing mode.
13637           Fixes leaks in at least one test, and makes a new pipeline work the
13638           same as one that has gone to READY and then back to NULL.
13639
13640         * gst/gstelement.c:
13641           Typo fix in docs.
13642
13643 2006-04-05  Michael Smith  <msmith@fluendo.com>
13644
13645         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13646           Unref a pad we reffed.
13647         * tests/check/gst/gstutils.c: (GST_START_TEST):
13648           Unref bins
13649
13650 2006-04-05  Michael Smith  <msmith@fluendo.com>
13651
13652         * gst/gstquery.c: (gst_query_set_formats),
13653         (gst_query_set_formatsv):
13654           Fix leaking GValues in queries, as shown by valgrind/testsuite.
13655
13656 2006-04-05  Michael Smith  <msmith@fluendo.com>
13657
13658         * tests/check/generic/sinks.c: (GST_START_TEST):
13659           Fix a variety of memleaks in sinks check, which are only sometimes 
13660           shown by running the tests under valgrind (weird?).
13661
13662 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
13663
13664         * docs/version.entities.in:
13665           Fix the substituted entity name after thomas' changes on the
13666           weekend.
13667
13668 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13669
13670         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13671         VALGRIND_PRINTF
13672         
13673 2006-04-05  Andy Wingo  <wingo@pobox.com>
13674
13675         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13676
13677         * libs/gst/base/gstbasetransform.c
13678         (gst_base_transform_sink_eventfunc): When resetting our segment on
13679         FLUSH_STOP, also update the flag saying we haven't seen a
13680         newsegment.
13681
13682 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13683
13684         Patch by: Paolo Borelli  <pborelli at katamail dot com>
13685
13686         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13687         (gst_plugin_check_license):
13688           minor clean-ups: G_DEFINE_TYPE already takes care of the
13689           parent_class stuff, no need to do it twice. Mark array of
13690           license strings as constant. (#337103)
13691           
13692 2006-04-04  Michael Smith  <msmith@fluendo.com>
13693
13694         * tools/gst-inspect.c: (print_element_list):
13695           Free the right plugin list; fixes a memory leak.
13696
13697 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13698
13699         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
13700
13701         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13702           Don't error out on empty buffers (#336945).
13703           
13704 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
13705
13706         * docs/libs/gstreamer-libs-sections.txt:
13707         * gst/gsttaglist.c:
13708         * libs/gst/base/gstbasesink.c:
13709         * libs/gst/base/gstbasesink.h:
13710         * libs/gst/base/gstbasesrc.c:
13711         * libs/gst/base/gstbasesrc.h:
13712           Documentation updates. Make BaseSink and BaseSrc docs contain the
13713           class structure so that people can actually see the prototypes for
13714           virtual functions they're supposed to be overriding.
13715
13716 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13717
13718         * plugins/elements/gsttypefindelement.c:
13719         (gst_type_find_element_chain):
13720           More debug info; when skipping typefinding, send cached
13721           events in all cases.
13722
13723 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13724
13725         * configure.ac:
13726           use new AS_VERSION and AS_NANO macros
13727         * gst/gst-i18n-lib.h:
13728         * gst/gst.c:
13729         * gst/gsterror.c:
13730         * gst/gstversion.h.in:
13731         * win32/common/config.h:
13732         * win32/common/config.h.in:
13733           update accordingly
13734
13735 2006-03-31  Michael Smith  <msmith@fluendo.com>
13736
13737         * plugins/elements/gsttypefindelement.c:
13738         (gst_type_find_element_chain):
13739           Do not typefind content if the buffers already have caps.
13740           Neccesary for icydemux (#333657), and the right thing to do anyway.
13741
13742 2006-03-30  Wim Taymans  <wim@fluendo.com>
13743
13744         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13745         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13746         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13747         (gst_base_sink_record_qos_observation),
13748         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13749         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13750         (gst_base_sink_change_state):
13751         More QoS measurements as described in the design doc.
13752         Get rid of ringbuffer with observations, running average is
13753         more simple and equally good.
13754         Calculates valid proportion now.
13755         Added beginning of flood measurement.
13756
13757 2006-03-29  Wim Taymans  <wim@fluendo.com>
13758
13759         * docs/design/part-qos.txt:
13760         * gst/gstclock.c:
13761         Small documentation updates and additions.
13762
13763 2006-03-29  Wim Taymans  <wim@fluendo.com>
13764
13765         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13766         (gst_base_src_send_event), (gst_base_src_loop),
13767         (gst_base_src_change_state):
13768         Perform the EOS logic when we reach the segment stop position.
13769         Fix compilation on gcc4.1
13770
13771 2006-03-29  Wim Taymans  <wim@fluendo.com>
13772
13773         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13774
13775         * plugins/elements/gstqueue.c: (gst_queue_init),
13776         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13777         (gst_queue_set_property):
13778         * plugins/elements/gstqueue.h:
13779         In queue, when EOS is received, if minimum threshold > max_size -
13780         current_level, there is chance that queue blocks forever in conditional
13781         item del wait. This is because the queue is not emptied completely due
13782         to minimum threshold.  Here is another approach. Instead of setting
13783         cur_levels to max in EOS, just zero all minimum threshold levels. This
13784         should make sure that queue gives out all data. When going to READY
13785         (stop) state, just reset the original minimum threshold levels.
13786         Fixes #336336.
13787
13788 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
13789
13790         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13791         (gst_type_find_element_handle_event),
13792         (gst_type_find_element_send_cached_events),
13793         (gst_type_find_element_change_state):
13794         * plugins/elements/gsttypefindelement.h:
13795           When typefinding is done in push mode, we should cache
13796           events we receive during typefinding instead of just
13797           dropping them (e.g. newsegment, custom events from
13798           dvdreadsrc etc.) and then send them out once we've
13799           determined the type of the stream (and decodebin
13800           has had a chance to plug in a decoder/demuxer).
13801           
13802 2006-03-27  Wim Taymans  <wim@fluendo.com>
13803
13804         * docs/design/part-qos.txt:
13805         First QoS ideas.
13806
13807 2006-03-27  Wim Taymans  <wim@fluendo.com>
13808
13809         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13810
13811         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13812         (gst_base_src_send_event), (gst_base_src_change_state):
13813         Handle element seek correctly when we are streaming.
13814         Fixes #326998.
13815
13816 2006-03-24  Michael Smith  <msmith@fluendo.com>
13817
13818         * docs/faq/gst-uninstalled:
13819           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13820           allow you to correctly run intalled applications built against old 
13821           core, using plugins that require updated core (e.g. running
13822           installed totem against a full uninstalled gstreamer stack)
13823
13824 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13825
13826         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13827         more debug details
13828
13829 2006-03-24  Wim Taymans  <wim@fluendo.com>
13830
13831         * docs/gst/gstreamer-sections.txt:
13832         Rearrange the order of the methods so that related methods
13833         are grouped together in sections.
13834
13835 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13836
13837         * gst/gstelement.c:
13838           Little clarification in the docs
13839
13840 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13841
13842         * docs/README:
13843         formatting fix
13844         * plugins/elements/gstidentity.c:
13845         * plugins/elements/gstqueue.c:
13846         * plugins/elements/gsttee.c:
13847         * plugins/elements/gsttypefindelement.c:
13848         GST_ELEMENT_DETAILS formatting
13849
13850 2006-03-24  Wim Taymans  <wim@fluendo.com>
13851
13852         * libs/gst/base/gstbasesink.h:
13853         Only add fields, not insert or we break ABI.
13854
13855 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13856
13857         * win32/common/libgstbase.def:
13858         * win32/common/libgstreamer.def:
13859           Update, add recently added functions.
13860
13861 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13862
13863         * docs/gst/gstreamer-sections.txt:
13864         * gst/gstutils.c: (gst_pad_query_peer_position),
13865         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13866         * gst/gstutils.h:
13867           API: add some new utility functions:
13868            - gst_pad_query_peer_position()
13869            - gst_pad_query_peer_duration()
13870            - gst_pad_query_peer_convert()
13871           
13872 2006-03-23  Wim Taymans  <wim@fluendo.com>
13873
13874         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13875         (gst_base_sink_init), (gst_base_sink_finalize),
13876         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13877         (gst_base_sink_set_property), (gst_base_sink_get_property),
13878         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13879         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13880         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13881         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13882         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13883         (gst_base_sink_preroll_object), (gst_base_sink_event),
13884         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13885         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13886         (gst_base_sink_query), (gst_base_sink_change_state):
13887         Decouple max-lateness and the fact that QoS messages are generated
13888         with a new property (qos).
13889         added API: GstBaseSink::async_play()
13890         Add vmethod so subclasses can be notified of ASYNC playing
13891         state changes.
13892         Collect timestamp start and stop to report better current
13893         position in EOS/PLAYING/PAUSED/READY/NULL.
13894         Refactor QoS/frame dropping and other measurements.
13895         API: GstBaseSrc::qos
13896         Fixes #326311
13897
13898         * libs/gst/base/gstbasesink.h:
13899         Added Private struct.
13900         API: gst_base_sink_set_qos_enabled()
13901         API: gst_base_sink_is_qos_enabled()
13902
13903 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13904
13905         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13906           If compiling against GLib-2.8 or newer, try to read the
13907           registry file using GMappedFile first before falling back
13908           to fopen() + fread() (#332151).
13909
13910 2006-03-22  Wim Taymans  <wim@fluendo.com>
13911
13912         * gst/gstinfo.c: (gst_debug_set_active),
13913         (gst_debug_category_set_threshold):
13914         Disable debugging unless explicitly activated.
13915         Fixes #335480.
13916
13917 2006-03-22  Wim Taymans  <wim@fluendo.com>
13918
13919         * gst/gstelement.c: (gst_element_set_locked_state),
13920         (gst_element_dispose):
13921         Cleanup the error case.
13922
13923         * gst/gstobject.c: (gst_object_dispose):
13924         print a critical when some object was disposed with
13925         a parent, also revive the object since it might
13926         crash the parent.
13927
13928 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
13929
13930         * tools/gst-launch.1.in:
13931           Fix another typo.
13932
13933 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13934
13935         * configure.ac:
13936         * tests/check/Makefile.am:
13937           disable some tests when we don't have a registry
13938         * tests/check/gst/gstutils.c: (gst_utils_suite):
13939           don't build the part that needs parsing
13940
13941 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13942
13943         * gst/Makefile.am
13944         * tests/examples/Makefile.am:
13945           fix --disable-parse build
13946
13947 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13948
13949         * tools/gst-feedback.1.in:
13950           Fix typo: s/feeback/feedback/ (#133494).
13951
13952 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13953
13954         * tools/Makefile.am:
13955         * tools/gst-launch.1.in:
13956           Add FILES section and correct entry about GST_REGISTRY_PATH
13957           environment variable (#133495; #133494).
13958
13959 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13960
13961         * tools/Makefile.am:
13962         * tools/gst-md5sum.1.in:
13963         * tools/gst-md5sum.c:
13964           Remove gst-md5sum and man page (the md5sink element
13965           required was removed ages ago)
13966
13967 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13968
13969         * gst/gststructure.c: (gst_structure_id_set_value):
13970           Make sure that string fields in structures/taglists
13971           contain valid UTF-8 - we don't want to pass rubbish to
13972           applications because of a buggy plugin (cp. #334167).
13973
13974 2006-03-21  Edward Hervey  <edward@fluendo.com>
13975
13976         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13977         (gst_bin_handle_message_func):
13978         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
13979         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
13980         (gst_element_set_bus_func):
13981         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
13982         * gst/gstminiobject.c: (gst_value_set_mini_object),
13983         (gst_value_take_mini_object):
13984         * gst/gstpad.c: (gst_pad_set_pad_template):
13985         * gst/gstpipeline.c: (gst_pipeline_dispose),
13986         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13987         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
13988         (gst_collect_pads_chain):
13989         * libs/gst/net/gstnettimeprovider.c:
13990         (gst_net_time_provider_set_property):
13991         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
13992         It's in fact all issues with gst_*object_replace().
13993
13994 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13995
13996         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
13997         
13998         * pkgconfig/gstreamer-check-uninstalled.pc.in:
13999         * pkgconfig/gstreamer-check.pc.in:
14000           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14001
14002 2006-03-21  Edward Hervey  <edward@fluendo.com>
14003
14004         * gst/gstbuffer.h:
14005         * gst/gstevent.h:
14006         * gst/gstmessage.h:
14007         gst_[buffer|event|message]_ref() macros are replaced by a static
14008         inline functions because gcc-4.1 will about if the return value
14009         isn't used.
14010         * tests/check/gst/gstevent.c: (event_probe):
14011         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14012
14013 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14014
14015         * gst/gstutils.h:
14016         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14017         the type' case. (Closes: #335195 for now). In the future, when we
14018         depend on GLib 2.10, we could also intern the type name using
14019         g_intern_static_string()
14020
14021 2006-03-20  Wim Taymans  <wim@fluendo.com>
14022
14023         * gst/gstbin.c: (gst_bin_handle_message_func),
14024         (bin_query_max_init), (bin_query_position_fold),
14025         (bin_query_position_done), (gst_bin_query):
14026         Position query should also take max of all streams.
14027
14028 2006-03-20  Wim Taymans  <wim@fluendo.com>
14029
14030         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14031         (gst_fake_src_finalize):
14032         Fix leaks in fakesrc.
14033
14034         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14035         Fix leaks in the testcase.
14036
14037 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14038
14039         * gst/gst_private.h:
14040           add win32 specific import decoration(__declspec(dllimport)) 
14041           for all extern GstDebugCategory * variables
14042         * win32/common/libgstbase.def:
14043         * win32/common/libgstcontroller.def:
14044         * win32/common/libgstreamer.def:
14045           Add some exports, remove empty lines
14046         * win32/common/libgstdataprotocol.def:
14047         * win32/common/libgstdataprotocol.dsp:
14048         * win32/common/libgstnet.def:
14049         * win32/common/libgstnet.dsp:
14050           new project files and exportation files added
14051         
14052 2006-03-19  Wim Taymans  <wim@fluendo.com>
14053
14054         * tests/check/libs/basesrc.c: (eos_event_counter):
14055         Use proper return value for probe.
14056
14057 2006-03-17  Wim Taymans  <wim@fluendo.com>
14058
14059         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14060         (gst_pad_push):
14061         Don't leak buffers, caps and pads on negotiation errors.
14062
14063 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14064
14065         * docs/faq/cvs.xml:
14066         * docs/faq/dependencies.xml:
14067         * docs/faq/developing.xml:
14068         * docs/faq/faq.xml:
14069         * docs/faq/general.xml:
14070         * docs/faq/getting.xml:
14071         * docs/faq/legal.xml:
14072         * docs/faq/troubleshooting.xml:
14073         * docs/faq/using.xml:
14074         Faq review and update.
14075
14076 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14077
14078         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14079         (gst_pad_push):
14080         Don't pound the cpu to pieces by checking get_caps when accept_caps
14081         is called with the same caps as the pad already has.
14082         Use GST_DEBUG_OBJECT when outputting caps change information.
14083
14084 2006-03-15  Wim Taymans  <wim@fluendo.com>
14085
14086         * gst/gstclock.c: (gst_clock_class_init):
14087         Fix docs.
14088
14089 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14090
14091         * gst/gstbuffer.h:
14092         Documentation fix.
14093
14094         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14095         (gst_pad_accept_caps), (gst_pad_configure_sink),
14096         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14097         Make the default acceptcaps behaviour be to check the requested 
14098         caps against the gst_pad_get_caps output. 
14099
14100         Ensure that gst_pad_accept_caps is used to check caps when a pad
14101         doesn't have a setcaps function, so that pads automatically refuse 
14102         caps that they don't allow in their pad template. (Fixes #332986)
14103
14104         When a buffer with attached caps is pushed, ensure that the source 
14105         pad receives those caps even if the element didn't call
14106         gst_pad_set_caps first.
14107
14108 2006-03-15  Wim Taymans  <wim@fluendo.com>
14109
14110         * libs/gst/base/gstadapter.c:
14111         Add some docs.
14112
14113 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14114
14115         * win32/common/libgstbase.def:
14116         * win32/common/libgstcontroller.def:
14117         * win32/common/libgstreamer.def:
14118           Add a whole bunch of missing functions (#334434).
14119
14120 2006-03-14  Wim Taymans  <wim@fluendo.com>
14121
14122         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14123         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14124         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14125         Better debug info when we receive a segment event.
14126         Reorganize a bit so we can pass the get_times() results around.
14127         Use the segment format when calculating the running time.
14128         Don't do QoS is sync is disabled or we have no clock or the
14129         element does not want us to sync to the clock.
14130         Don't drop buffers if QoS is disabled for now.
14131
14132 2006-03-14  Wim Taymans  <wim@fluendo.com>
14133
14134         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14135         Marked the stats property as unimplemented so people don't get
14136         wild ideas.
14137         Add debug message when regression goes wrong.
14138         Added some more docs.
14139
14140 2006-03-14  Wim Taymans  <wim@fluendo.com>
14141
14142         * gst/gstsegment.c: (gst_segment_to_stream_time):
14143         Return correct return type in case of errors.
14144
14145 2006-03-14  Wim Taymans  <wim@fluendo.com>
14146
14147         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14148           Don't segfault on invalid formats.
14149
14150 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14151
14152         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14153           Can't use gst_segment_to_running_time() when the segment
14154           is not in GST_TIME_FORMAT (like with filesink, for example).
14155           Stops flac encoding pipelines from spewing critical warnings
14156           at EOS (#331248).
14157           
14158 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14159
14160         * gst/gstpipeline.c: (gst_pipeline_class_init):
14161           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14162
14163         * plugins/elements/gsttypefindelement.c:
14164         (gst_type_find_element_handle_event):
14165           Don't try to typefind empty streams.
14166
14167 2006-03-14  Wim Taymans  <wim@fluendo.com>
14168
14169         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14170         (gst_base_sink_do_qos):
14171         Separate QoS calculation.
14172         Only drop buffers when lateness is bigger than the 
14173         duration of the buffer.
14174
14175 2006-03-13  Wim Taymans  <wim@fluendo.com>
14176
14177         * gst/gstpipeline.c: (gst_pipeline_set_property),
14178         (gst_pipeline_get_property), (do_pipeline_seek),
14179         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14180         (gst_pipeline_get_delay):
14181         Don't deadlock when reading properties.
14182
14183 2006-03-13  Wim Taymans  <wim@fluendo.com>
14184
14185         * libs/gst/base/gstbasetransform.c:
14186         (gst_base_transform_class_init), (gst_base_transform_init),
14187         (gst_base_transform_sink_event),
14188         (gst_base_transform_sink_eventfunc),
14189         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14190         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14191         (gst_base_transform_set_property),
14192         (gst_base_transform_get_property),
14193         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14194         (gst_base_transform_set_qos_enabled),
14195         (gst_base_transform_is_qos_enabled):
14196         * libs/gst/base/gstbasetransform.h:
14197         Make basetransform virtual method for src events too.
14198         Handle QOS in basetransform.
14199         API: gst_base_transform_update_qos()
14200         API: gst_base_transform_set_qos_enabled()
14201         API: gst_base_transform_is_qos_enabled()
14202
14203 2006-03-13  Wim Taymans  <wim@fluendo.com>
14204
14205         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14206         (gst_base_sink_do_sync):
14207         Small cleanups.
14208         Use QOS debug category.
14209
14210 2006-03-13  Wim Taymans  <wim@fluendo.com>
14211
14212         * plugins/elements/gstqueue.c:
14213         Very small doc update.
14214
14215 2006-03-13  Wim Taymans  <wim@fluendo.com>
14216
14217         * gst/gst_private.h:
14218         * gst/gstinfo.c: (_gst_debug_init):
14219         Added QOS debug category
14220
14221 2006-03-13  Wim Taymans  <wim@fluendo.com>
14222
14223         * docs/gst/gstreamer-sections.txt:
14224         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14225         * gst/gstbin.h:
14226         * gst/gstbus.c: (gst_bus_class_init):
14227         * gst/gstbus.h:
14228         * gst/gstclock.c:
14229         * gst/gstelement.c: (gst_element_set_locked_state):
14230         * gst/gstsegment.c:
14231         Documentation updates.
14232
14233         * gst/gstpipeline.c: (gst_pipeline_get_type),
14234         (gst_pipeline_class_init), (gst_pipeline_init),
14235         (gst_pipeline_dispose), (gst_pipeline_set_property),
14236         (gst_pipeline_get_property), (do_pipeline_seek),
14237         (gst_pipeline_send_event), (gst_pipeline_change_state),
14238         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14239         (gst_pipeline_get_delay):
14240         * gst/gstpipeline.h:
14241         Added methods for setting the delay.
14242         API: gst_pipeline_set_delay()
14243         API: gst_pipeline_get_delay()
14244         Add pipeline debug category
14245         Various cleanups.
14246         Updated docs.
14247         Don't reset stream time when seek failed.
14248
14249 2006-03-13  Wim Taymans  <wim@fluendo.com>
14250
14251         * docs/design/draft-klass.txt:
14252         * docs/design/part-clocks.txt:
14253         * docs/design/part-events.txt:
14254         * docs/design/part-gstbin.txt:
14255         * docs/design/part-gstpipeline.txt:
14256         * docs/design/part-messages.txt:
14257         * docs/design/part-negotiation.txt:
14258         * docs/design/part-overview.txt:
14259         * docs/design/part-preroll.txt:
14260         * docs/design/part-seeking.txt:
14261         * docs/design/part-states.txt:
14262         * docs/design/part-streams.txt:
14263         Documentation updates.
14264
14265 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14266
14267         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14268         us to leak strings...
14269
14270 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14271
14272         * libs/gst/net/gstnettimeprovider.c:
14273           fix docs
14274         * win32/common/config.h:
14275           update
14276
14277 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14278
14279         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14280
14281         * configure.ac:
14282           Don't check for libgnomeui (leftover from old examples
14283           that aren't built or disted any longer) (#334303).
14284           
14285 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14286
14287         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14288         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14289           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14290           there's no space left on the device.
14291
14292 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14293
14294         * gst/gstclock.h:
14295           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14296           to cast the input to GstClockTime before comparing with
14297           another GstClockTime value.
14298
14299 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14300
14301         * configure.ac:
14302           back to trunk
14303
14304 === release 0.10.4 ===
14305
14306 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14307
14308         * configure.ac:
14309           releasing 0.10.4, "Light"
14310
14311 2006-03-10  Michael Smith  <msmith@fluendo.com>
14312
14313         * libs/gst/dataprotocol/dataprotocol.c:
14314           Fix docs for dataprocotol to not get the return types completely
14315           wrong for a few functions.
14316
14317 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14318
14319         * docs/gst/gstreamer-sections.txt:
14320         * gst/gstpipeline.c: (gst_pipeline_class_init),
14321         (gst_pipeline_init), (gst_pipeline_set_property),
14322         (gst_pipeline_get_property), (gst_pipeline_change_state),
14323         (gst_pipeline_set_auto_flush_bus),
14324         (gst_pipeline_get_auto_flush_bus):
14325         * gst/gstpipeline.h:
14326           Add new API: gst_pipeline_set_auto_flush_bus() and
14327           gst_pipeline_get_auto_flush_bus() to disable automatic
14328           flushing of the pipeline's GstBus when going from READY
14329           to NULL state (#332045).
14330
14331 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14332
14333         * docs/gst/gstreamer-sections.txt:
14334         * gst/gsturi.c: (gst_uri_has_protocol):
14335         * gst/gsturi.h:
14336            Add new API: gst_uri_has_protocol() (#333779).
14337
14338 2006-03-09  Wim Taymans  <wim@fluendo.com>
14339
14340         * gst/gstclock.c: (gst_clock_entry_new),
14341         (gst_clock_id_compare_func), (gst_clock_id_wait),
14342         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14343         (gst_clock_init), (gst_clock_get_internal_time),
14344         (gst_clock_set_master), (do_linear_regression),
14345         (gst_clock_add_observation), (gst_clock_set_property):
14346         * gst/gstclock.h:
14347         Review docs.
14348         Small cleanups.
14349         Fix a possible segfault when the window-size is made smaller.
14350         Calculate jitter before performing the clock wait. Ideally
14351         the clock implementation should calculate jitter but we need
14352         API breakage for that.
14353
14354         * gst/gstsystemclock.c: (gst_system_clock_init):
14355         Docs review.
14356         
14357         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14358         Remove leftover else
14359
14360         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14361         (gst_systemclock_suite):
14362         Added check to test GST_CLOCK_DIFF.
14363
14364 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14365
14366         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14367         (gst_type_find_helper_get_range):
14368           If we are provided with the size, we should implement
14369           GstTypeFind::get_length, so that typefind functions who
14370           want to can actually peek at the middle of a file.
14371
14372 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14373
14374         * docs/manual/advanced-dataaccess.xml:
14375           Add some very very basic error checking.
14376
14377         * docs/pwg/appendix-checklist.xml:
14378           Some updates to the list of things to check when writing an element.
14379
14380 2006-03-08  Wim Taymans  <wim@fluendo.com>
14381
14382         * docs/design/part-element-transform.txt:
14383         Added some docs about the design of tranform elements.
14384
14385         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14386         (gst_base_src_loop), (gst_base_src_change_state):
14387         Mark buffers with the DISCONT flag.
14388
14389 2006-03-08  Michael Smith  <msmith@fluendo.com>
14390
14391         * gst/gstregistry.h:
14392         * gst/gstregistryxml.c: (gst_registry_save),
14393         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14394         (gst_registry_xml_save_pad_template),
14395         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14396         (gst_registry_xml_write_cache):
14397           Rewrite registry-saving to avoid race conditions and check for
14398           failed writes.
14399
14400 2006-03-08  Wim Taymans  <wim@fluendo.com>
14401
14402         * libs/gst/base/gstbasetransform.c:
14403         (gst_base_transform_transform_caps),
14404         (gst_base_transform_transform_size),
14405         (gst_base_transform_prepare_output_buffer),
14406         (gst_base_transform_get_unit_size),
14407         (gst_base_transform_buffer_alloc),
14408         (gst_base_transform_handle_buffer),
14409         (gst_base_transform_change_state):
14410         Cleanups, separate normal flow from errors, add sensible
14411         DEBUG lines.
14412         Don't try to renegotiate when allocating an output buffer.
14413         Also copy DISCONT buffer flag when copying a buffer.
14414         Reset the transform after we finish streaming, not during.
14415
14416 2006-03-08  Wim Taymans  <wim@fluendo.com>
14417
14418         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14419         Use last buffer timestamp in qos message.
14420
14421 2006-03-07  Wim Taymans  <wim@fluendo.com>
14422
14423         Patch by: Christophe Fergeau
14424
14425         * docs/pwg/advanced-tagging.xml:
14426         * docs/pwg/building-pads.xml:
14427           fixes #333416
14428
14429 2006-03-07  Wim Taymans  <wim@fluendo.com>
14430
14431         * docs/libs/gstreamer-libs-sections.txt:
14432         Added basesink new methods.
14433
14434         * gst/gstevent.c:
14435         * gst/gstevent.h:
14436         Docs updates. Flesh out the QoS docs.
14437
14438         * libs/gst/base/gstadapter.c:
14439         Small doc clarification about ownership and flushing.
14440
14441         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14442         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14443         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14444         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14445         * libs/gst/base/gstbasesink.h:
14446         API additions: 
14447         Added new methods to allow subclass to control max-lateness 
14448         and sync.
14449         Generate very basic QoS events based on last sync observation.
14450         Updated docs, fix typo, added some QoS blurb.
14451
14452         * libs/gst/base/gstbasesrc.c:
14453         Remove obsolete _get_state() calls from docs.
14454
14455 2006-03-07  Wim Taymans  <wim@fluendo.com>
14456
14457         * docs/libs/gstreamer-libs-sections.txt:
14458         * libs/gst/base/gstbasetransform.h:
14459         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14460         Fix docs for GstBaseSrc.
14461
14462 2006-03-07  Wim Taymans  <wim@fluendo.com>
14463
14464         * docs/gst/gstreamer-sections.txt:
14465         * gst/gstbuffer.h:
14466         * gst/gstvalue.c:
14467         * libs/gst/base/gstbasetransform.h:
14468         Small documentation fixes.
14469
14470 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14471
14472         * gst/gstvalue.c:
14473           Document thread-unsafety of gst_value_register_foo_func()
14474           when used at the same time as gst_value_foo() (#322628).
14475
14476 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14477
14478         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14479         (gst_push_src_check_get_range):
14480           Push sources don't support pull mode by default.
14481
14482 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14483
14484         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14485         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14486         (gst_base_src_default_check_get_range):
14487         * libs/gst/base/gstbasesrc.h:
14488           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14489           provide default implementation, and rename
14490           gst_base_src_check_get_range() to
14491           gst_base_src_pad_check_get_range() for clarity.
14492
14493 2006-03-06  Wim Taymans  <wim@fluendo.com>
14494
14495         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14496         Make property overridable.
14497
14498 2006-03-06  Wim Taymans  <wim@fluendo.com>
14499
14500         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14501         (gst_base_sink_init), (gst_base_sink_set_property),
14502         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14503         * libs/gst/base/gstbasesink.h:
14504         API addition: Make max-lateness a property.
14505
14506 2006-03-06  Wim Taymans  <wim@fluendo.com>
14507
14508         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14509         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14510         Don't ever draw a frame that is >10ms late.
14511
14512 2006-03-06  Michael Smith  <msmith@fluendo.com>
14513
14514         * gst/gstmessage.c: (_gst_message_copy):
14515           When copying a message, set the parent_refcount of the enclosed
14516           structure to point at the copy, not the original message.
14517
14518 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14519
14520         Patch by: Christophe Fergeau
14521
14522         * gst/gstutils.h:
14523           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14524           usable in c++ code (#333417)
14525
14526 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14527
14528         * gst/gstclock.h:
14529           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14530
14531 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14532
14533         * libs/gst/base/gstbasetransform.c:
14534         (gst_base_transform_transform_caps):
14535           Make sure caps are writable before passing them to
14536           gst_caps_append().
14537
14538 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14539
14540         * gst/gsterror.h:
14541           Fix some minor docs errors.
14542
14543 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14544
14545           Patch by: Ross Burton <ross at burtonini dot com>
14546
14547         * gst/gsterror.c: (_gst_resource_errors_init):
14548         * gst/gsterror.h:
14549           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14550
14551 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14552
14553         * gst/gst.c:
14554         Add a check and output a g_warning when GStreamer is built
14555         against GLib 2.6 but running against 2.8 or higher, and vice 
14556         versa. (Closes: #323542)
14557
14558 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14559
14560         * gst/parse/parse.l:
14561           Commit patch for parse_launch syntax from #331255. Removes 
14562           support for quoted strings and mimetypes when writing filtered 
14563           caps. See the bug report for more details - I'm pretty sure this
14564           obscure feature is not in use by _anyone_ anywhere.
14565
14566           With this simple change, the size of the gstreamer.so here 
14567           drops from 2193KB to 1565KB.
14568
14569 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14570
14571         * plugins/elements/gsttypefindelement.h:
14572         * plugins/elements/gsttypefindelement.c:
14573         (gst_type_find_element_src_event), (start_typefinding),
14574         (stop_typefinding), (gst_type_find_element_handle_event),
14575         (gst_type_find_element_chain),
14576         (gst_type_find_element_chain_do_typefinding):
14577           Use gst_type_find_helper_for_buffer() for chain-based
14578           typefinding.
14579
14580 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14581
14582         * plugins/elements/gsttypefindelement.c:
14583         (gst_type_find_element_class_init),
14584         (gst_type_find_element_set_property),
14585         (gst_type_find_element_get_property):
14586           Deprecate "maximum" property (not only was it only taken into
14587           account for typefinding in push-mode anyway, it also was never
14588           actually possible to set it in the first place because the
14589           property was registered with the numeric property ID for the
14590           "minimum" property). Register "maximum" property correctly,
14591           for the sake of future copy'n'pasters. Remove some cruft
14592           from property get/set functions.
14593
14594 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14595
14596         * plugins/elements/gsttypefindelement.c:
14597         (gst_type_find_element_activate):
14598           Use gst_type_find_helper_get_range() here, so we
14599           can honour the "minimum" property and also emit
14600           the signal with the correct probability of the found caps.
14601
14602 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
14603
14604         * docs/libs/gstreamer-libs-sections.txt:
14605         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14606         (helper_find_suggest), (gst_type_find_helper_get_range),
14607         (gst_type_find_helper):
14608         * libs/gst/base/gsttypefindhelper.h:
14609           New API: gst_type_find_helper_get_range() (#333042).
14610
14611 2006-03-02  Michael Smith  <msmith@fluendo.com>
14612
14613         * gst/gstregistryxml.c: (load_feature):
14614           Asserting on a failure to read part of the registry is Not Cool.
14615           Just log a warning and return NULL (which is already handled)
14616
14617 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
14618
14619         * win32/common/libgstbase.def:
14620           added export of gst_type_find_helper_for_buffer
14621         * win32/common/libgstbase.def:
14622           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14623           gst_ghost_pad_get_target
14624
14625 2006-02-28  Wim Taymans  <wim@fluendo.com>
14626
14627         * docs/design/draft-klass.txt:
14628         We use Filter now.
14629         Added Connector to mark elements that are only used to
14630         allow pipeline connections.
14631         Moved Debug to extra feature since most of them are 
14632         functionally something else.
14633
14634 2006-02-28  Wim Taymans  <wim@fluendo.com>
14635
14636         * docs/design/draft-klass.txt:
14637         Some updates and clarifications.
14638
14639 2006-02-28  Wim Taymans  <wim@fluendo.com>
14640
14641         * docs/design/draft-klass.txt:
14642         Proposal for klass field values.
14643
14644         * docs/design/part-streams.txt:
14645         Start of a doc describing stream anatomy.
14646
14647 2006-02-28  Wim Taymans  <wim@fluendo.com>
14648
14649         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14650         Help the compiler a bit with type registration.
14651         Use existing forward cod path instead of duplicating it when 
14652         handling a message.
14653         
14654         * gst/gstbus.c: (gst_bus_get_type):
14655         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14656         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14657         * gst/gstclock.c: (gst_clock_get_type):
14658         * gst/gstelement.c: (gst_element_get_type),
14659         * gst/gstelementfactory.c: (gst_element_factory_get_type):
14660         * gst/gstindexfactory.c: (gst_index_factory_get_type):
14661         * gst/gstminiobject.c: (gst_mini_object_get_type):
14662         * gst/gstpad.c: (gst_pad_get_type):
14663         * gst/gstsegment.c: (gst_segment_get_type):
14664         * gst/gststructure.c: (gst_structure_get_type):
14665         * gst/gstsystemclock.c: (gst_system_clock_get_type):
14666         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14667         * gst/gstvalue.c:
14668         Help compiler with type registration.
14669
14670         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14671         Small doc update.
14672
14673 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14674
14675         * plugins/elements/gsttypefindelement.c:
14676         (gst_type_find_element_handle_event):
14677           When we get an EOS event and have not found a type yet
14678           (most likely because we had not yet accumulated
14679           TYPE_FIND_MIN_SIZE of data yet), try to determine the
14680           type given the data we have so far. Fixes typefinding
14681           for very short streams again, most notably quicktime
14682           redirections as used on Apple's trailer site (#331701).
14683
14684 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14685
14686         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14687         (gst_type_find_helper):
14688           Try typefinding factories with the highest rank first.
14689
14690 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14691
14692         * docs/libs/gstreamer-libs-docs.sgml:
14693         * docs/libs/gstreamer-libs-sections.txt:
14694         * libs/gst/base/gsttypefindhelper.c:
14695           Add section for typefind helper and add documentation
14696           for the old and the new function.
14697
14698 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14699
14700         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14701         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14702         (gst_type_find_helper_for_buffer):
14703         * libs/gst/base/gsttypefindhelper.h:
14704           New API: gst_type_find_helper_for_buffer() (#332723).
14705           
14706 2006-02-27  Michael Smith  <msmith@fluendo.com>
14707
14708         Patch by: Loïc Minier
14709
14710         * configure.ac:
14711         * docs/Makefile.am:
14712         * docs/slides/Makefile.am:
14713           prevent CVS directories getting disted.
14714
14715 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14716
14717         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14718           Use the REFCOUNTING category for caps refcounting.
14719           
14720 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14721
14722         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14723           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14724
14725 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14726
14727         * plugins/elements/gsttypefindelement.c:
14728         (gst_type_find_element_activate):
14729           Use gst_pad_check_pull_range() before _activate_pull()
14730           to avoid unnecessary open/close (see #331690).
14731
14732 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14733
14734         * gst/gstutils.c:
14735           Docs enhancement: make it crystal clear what the
14736           gst_pad_add_*_probe() callbacks should look like.
14737
14738 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14739
14740         * libs/gst/base/gstbasesrc.c:
14741           Document how applications can stop recording from
14742           live sources (see #330996).
14743
14744 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14745
14746         * tests/check/Makefile.am:
14747         * tests/check/libs/basesrc.c: (eos_event_counter),
14748         (basesrc_eos_events_pull), (basesrc_eos_events_push),
14749         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14750         (gst_basesrc_suite), (main):
14751           ... and add some tests for the base source EOS stuff.
14752
14753 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14754
14755         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14756           Test case originally showed the problem fixed below,
14757           but was then amended. Add checks back at the place
14758           where they used to be.
14759
14760 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14761
14762         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14763         (gst_base_src_init), (gst_base_src_loop),
14764         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14765         (gst_base_src_change_state):
14766         * libs/gst/base/gstbasesrc.h:
14767           Don't unconditionally send EOS when going from PAUSED to
14768           READY state, esp. make sure we don't send two EOS events
14769           in some cases (e.g. one when reaching EOS and one when
14770           going from PAUSED to READY). Also, we don't want to send
14771           EOS events when operating in pull mode. However, we do
14772           want to send an EOS event when shutting down a live
14773           source explicitly, for example (fixes #330996).
14774           
14775 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14776
14777         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14778           Update src->read_position after a seek when not using mmap.
14779           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14780
14781 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
14782
14783         * gst/Makefile.am:
14784         * gst/gstparse.h:
14785         * gst/gstutils.c:
14786         * gst/gstutils.h:
14787         Make things work with --disable-parse as they do with 
14788         --disable-load-save - the symbols involved disappear, but the
14789         header is still installed and GST_DISABLE_PARSE is included via
14790         gstconfig.h
14791
14792 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14793
14794         * libs/gst/base/gstbasetransform.c:
14795         (gst_base_transform_change_state): Fix a stupid bug. I was 
14796         sure I compiled that.
14797
14798 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14799
14800         * gst/gstpad.c: (gst_pad_set_blocked_async):
14801         * gst/gstutils.c: (gst_pad_add_data_probe),
14802         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14803         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14804         (gst_pad_remove_buffer_probe): Make those function act on the
14805         ghostpad target when it's a ghostpad. (Closes #331727)
14806
14807 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14808
14809         * libs/gst/base/gstbasetransform.c:
14810         (gst_base_transform_change_state): Make basetransform reusable.
14811         (Closes #331898)
14812
14813 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
14814
14815         * docs/random/release:
14816         Move the current documentation of how to do a release to the top
14817         of the file.
14818
14819         * gst/gstbin.c: (gst_bin_class_init),
14820         (gst_bin_handle_message_func):
14821         Allow multiple state-recalculation threads. (Closes #328873)
14822
14823 2006-02-19  Julien MOUTTE  <julien@moutte.net>
14824
14825         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
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): GST_DEBUG_PAD_NAME evaluates to
14829         2 strings. You can't use the STR_NULL macro on that.
14830
14831 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
14832
14833         * gst/gstpad.c: (gst_pad_set_event_function),
14834         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14835         (gst_pad_set_getcaps_function)
14836         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14837           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14838           So now, we can use --gst-debug-level=5 on Windows
14839         * win32/common/libgstcontroller.def:
14840           Added export of gst_controller_init
14841         * win32/vs6/libgstcontroller.dsp:
14842           Fixed Release post build configuration
14843
14844 2006-02-17  Wim Taymans  <wim@fluendo.com>
14845
14846         * tests/check/gst/gstquery.c: (GST_START_TEST):
14847         Added another check.
14848
14849 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
14850
14851         * plugins/elements/gsttypefindelement.c: (find_peek):
14852           We can do peeks at non-zero offsets, as long as they
14853           fall within the buffer we have.
14854
14855 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
14856
14857         * tests/check/Makefile.am:
14858         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14859         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14860         (parse_suite), (main):
14861           Add testsuite for parse launch syntax
14862
14863 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
14864
14865         * plugins/elements/gsttypefindelement.c:
14866         (gst_type_find_element_chain):
14867           When typefinding is unsuccessful in the chain function, don't
14868           error out immediately. Only error out with NO_CAPS_FOUND if
14869           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14870           otherwise simply wait for more data so we can try typefinding
14871           again with more data later. Also, don't attempt to typefind
14872           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14873           this should improve typefinding from network sources where the
14874           size of the first buffer can be somewhat random.
14875
14876 2006-02-14  Wim Taymans  <wim@fluendo.com>
14877
14878         * docs/gst/gstreamer-sections.txt:
14879         * gst/gstpadtemplate.c:
14880         * gst/gstpadtemplate.h:
14881         Fix padtemplate docs, fixes #328805.
14882
14883 2006-02-14  Wim Taymans  <wim@fluendo.com>
14884
14885         * tools/gst-launch.c: (main):
14886         NO_PREROLL is not an ERROR so don't send confusing messages
14887         to the user.
14888
14889 2006-02-14  Wim Taymans  <wim@fluendo.com>
14890
14891         Patch by: Torsten Schoenfeld
14892
14893         * gst/gstregistry.c: (gst_registry_get_default),
14894         (_gst_registry_cleanup):
14895         Protect default registry with lock and ref/sink it.
14896         Fixes #324818
14897
14898 2006-02-14  Wim Taymans  <wim@fluendo.com>
14899
14900         * gst/gstbuffer.c:
14901         * gst/gstquery.c: (gst_query_list_add_format),
14902         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14903         (gst_query_parse_formats_nth):
14904         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14905         Docs fixes.
14906
14907 2006-02-14  Wim Taymans  <wim@fluendo.com>
14908
14909         * docs/gst/gstreamer-sections.txt:
14910         Reworked query docs.
14911
14912         * gst/gstquery.c: (gst_query_new_formats),
14913         (gst_query_list_add_format), (gst_query_set_formats),
14914         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14915         (gst_query_parse_formats_nth):
14916         * gst/gstquery.h:
14917         Flesh out formats query, added some new methods.
14918         Fix part of #324398.
14919
14920         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
14921         Added query creation tests.
14922
14923 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
14924
14925         * gst/gstpad.c: (fixate_value):
14926         Add a default fixation for fraction lists.
14927
14928 2006-02-13  Wim Taymans  <wim@fluendo.com>
14929
14930         * gst/gsttask.c: (gst_task_init), (gst_task_func),
14931         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
14932         (gst_task_join):
14933         * gst/gsttask.h:
14934         Detect and warn for obvious deadlocks. fixes #320340
14935         Fix error case where lock was not released.
14936
14937         * tests/check/Makefile.am:
14938         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
14939         (task_func), (gst_element_suite), (main):
14940         Add task check.
14941
14942 2006-02-13  Wim Taymans  <wim@fluendo.com>
14943
14944         * docs/gst/gstreamer-sections.txt:
14945         * gst/gstbus.c:
14946         Add new functions to docs.
14947
14948 2006-02-13  Wim Taymans  <wim@fluendo.com>
14949
14950         * docs/design/part-TODO.txt:
14951         Updated TODO list, basesrc supports seeking to non-bytes
14952         formats.
14953
14954         * docs/design/part-element-sink.txt:
14955         Update docs.
14956
14957         * gst/gstbin.c: (bin_replace_message),
14958         (gst_bin_handle_message_func):
14959         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
14960         * gst/gstevent.c: (gst_event_finalize):
14961         * gst/gstpad.c: (gst_pad_event_default_dispatch),
14962         (gst_pad_send_event):
14963         Use shiny new _TYPE_NAME macros.
14964
14965         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14966         Move debug statement up.
14967
14968         * gst/gstelement.c: (gst_element_set_locked_state):
14969         Add some debugging.
14970
14971 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
14972
14973         * docs/gst/gstreamer-sections.txt:
14974         * gst/gstmessage.h:
14975         * gst/gstquery.h:
14976           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
14977           macros (#330906). Also, document the already existing
14978           GST_QUERY_TYPE macro.
14979
14980 2006-02-13  Wim Taymans  <wim@fluendo.com>
14981
14982         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
14983         (event_probe), (GST_START_TEST):
14984         Only events up to the pipeline EOS are counted, there are
14985         some more when going to NULL currently which we don't care
14986         about for now.
14987
14988 2006-02-13  Wim Taymans  <wim@fluendo.com>
14989
14990         * gst/gstpad.c: (gst_pad_send_event):
14991         Correctly check flushing and emit probes. fixes #330125
14992
14993 2006-02-10  Andy Wingo  <wingo@pobox.com>
14994
14995         * gst/gstbus.c (gst_bus_class_init): Declare our private data
14996         structure.
14997         (gst_bus_init): Cache the location of the private data in the
14998         instance structure.
14999         (gst_bus_enable_sync_message_emission) 
15000         (gst_bus_disable_sync_message_emission): Implement new public
15001         functions.
15002         (gst_bus_post): Emit the sync-message signal if the user asked for
15003         it. Fixes #330684.
15004
15005         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15006         location of the bus-private structure.
15007         (gst_bus_enable_sync_message_emission)
15008         (gst_bus_disable_sync_message_emission): API addition
15009
15010 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15011
15012         Patch by: Vincent Torri
15013
15014         * docs/pwg/building-boiler.xml:
15015         PWG patch from #326800
15016
15017 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15018
15019         * configure.ac:
15020         * docs/Makefile.am:
15021         * docs/design/Makefile.am:
15022           Dist design docs.
15023
15024 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15025
15026         * configure.ac:
15027           back to CVS
15028
15029 === release 0.10.3 ===
15030
15031 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15032
15033         * configure.ac:
15034           releasing 0.10.3, "Like a virgin"
15035
15036 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15037
15038         * configure.ac:
15039           2nd prerelease of 0.10.3
15040           Bump libtool versioning.
15041
15042 2006-02-07  Andy Wingo  <wingo@pobox.com>
15043
15044         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15045         update last_stop if we're in TIME format and the timestamp is
15046         valid.
15047
15048         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15049         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15050         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15051         If we get a new newsegment with a different format, adapt
15052         accordingly.
15053
15054         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15055         of 0. Not a problem, really.
15056
15057         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15058         warn if sync=true.
15059
15060 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15061
15062         * configure.ac:
15063           Prelease of 0.10.3
15064
15065 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15066
15067         * win32/vs7:
15068           project files updated to the default vs7 configuration
15069         * win32/common/libgstbase.def:
15070         * win32/common/libgstreamer.def:
15071           added new symbols,
15072           removed empty lines,
15073           sorted all exported symbols alphabetically
15074         * win32/common/dirent.c:
15075         * win32/common/dirent.h:
15076         * win32/common/gchar.h:
15077           use windows line end.
15078           
15079 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15080
15081         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15082           Send EOS event when stopping.
15083
15084 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15085
15086         * docs/README:
15087           Tell folks what to do if the plugin-foobar.xml file
15088           hasn't been generated for a newly-added plugin.
15089
15090 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15091
15092         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15093         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15094         (gst_collect_pads_start), (gst_collect_pads_stop),
15095         (gst_collect_pads_event): Collectpads now holds a reference
15096         to the GstPad that was added. Indeed we don't want to look
15097         at pads that might just go away with no warning...
15098
15099 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15100
15101         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15102         (gst_collect_pads_start), (gst_collect_pads_stop),
15103         (gst_collect_pads_event), (gst_collect_pads_chain):
15104         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15105         Mark Nauwelaerts's patch on bug #328491.
15106
15107 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15108
15109         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15110         (gst_utils_suite):
15111           Add some simple tests for gst_parse_bin_from_description() and
15112           gst_bin_find_unconnected_pad() (#329069).
15113
15114 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15115
15116         * tools/gst-launch.c: (event_loop), (main):
15117           Catch errors during preroll (#320084).
15118
15119 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15120
15121         * plugins/elements/gsttypefindelement.c:
15122         (gst_type_find_element_activate):
15123           Post TYPE_NOT_FOUND error message when typefinding
15124           is unsuccessful in the activate function as well.
15125
15126 2006-02-02  Wim Taymans  <wim@fluendo.com>
15127
15128         * docs/design/part-element-sink.txt:
15129         Updated doc.
15130
15131 2006-02-02  Wim Taymans  <wim@fluendo.com>
15132
15133         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15134         (gst_base_sink_render_object),
15135         (gst_base_sink_queue_object_unlocked):
15136         Only keep track of prerollable items when we are 
15137         prerolling.
15138         Before rendering after preroll, always check if we
15139         have queued items.
15140         Added some more debugging.
15141
15142 2006-02-02  Wim Taymans  <wim@fluendo.com>
15143
15144         * gst/gstelement.c: (gst_element_continue_state),
15145         (gst_element_set_state_func), (gst_element_change_state):
15146         Fixed #326576, been running this for quite some time with
15147         no regressions at all.
15148
15149 2006-02-02  Wim Taymans  <wim@fluendo.com>
15150
15151         * common/gst.supp:
15152         Added more suppressions
15153
15154 2006-02-02  Wim Taymans  <wim@fluendo.com>
15155
15156         * docs/design/part-element-sink.txt:
15157         Updated document.
15158
15159         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15160         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15161         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15162         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15163         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15164         (gst_base_sink_preroll_object),
15165         (gst_base_sink_queue_object_unlocked),
15166         (gst_base_sink_queue_object), (gst_base_sink_event),
15167         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15168         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15169         (gst_base_sink_get_position), (gst_base_sink_change_state):
15170         * libs/gst/base/gstbasesink.h:
15171         Totally refactored matching the design doc.
15172         Use two segments, one to clip incomming buffers and another to
15173         perform sync.
15174         Handle queueing correctly, bypass the queue when playing.
15175         Make EOS cancelable.
15176         Handle errors correctly when operating in pull based mode.
15177
15178         * tests/check/elements/fakesink.c: (GST_START_TEST),
15179         (fakesink_suite):
15180         Added new check for sinks.
15181
15182 2006-02-02  Wim Taymans  <wim@fluendo.com>
15183
15184         * gst/gstsegment.c: (gst_segment_clip):
15185         No reason to refuse to clip when start == -1
15186
15187 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15188
15189         * docs/README:
15190         * docs/manual/intro-basics.xml:
15191         * docs/manual/intro-preface.xml:
15192         * docs/manual/manual.xml:
15193         * docs/pwg/advanced-dparams.xml:
15194         * docs/pwg/intro-basics.xml:
15195         * docs/pwg/intro-preface.xml:
15196         * docs/pwg/pwg.xml:
15197           describe dparams (controller) for plugins
15198           unify docs a little more
15199
15200 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15201
15202         * docs/gst/gstreamer-sections.txt:
15203         * gst/gstutils.c: (element_find_unconnected_pad),
15204         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15205         * gst/gstutils.h:
15206           Add new API: gst_parse_bin_from_description() and
15207           gst_bin_find_unconnected_pad() (#329069).
15208
15209 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15210
15211         * docs/manual/README:
15212           uncover a nasty detail of the docs build
15213
15214 2006-01-31  Wim Taymans  <wim@fluendo.com>
15215
15216         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15217         Don't cache duration messages if we're not going to use or
15218         free them.
15219
15220 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15221
15222         * docs/manual/advanced-dparams.xml:
15223         * docs/pwg/advanced-dparams.xml:
15224           more dparam docs
15225         * gst/gstindex.c:
15226           fix docs
15227         * libs/gst/controller/lib.c: (gst_controller_init):
15228           init just once
15229
15230 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15231
15232         * gst/gstelement.c: (gst_element_message_full):
15233           also show file/line/func if no additional debug was given
15234
15235 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15236         
15237         * win32/vs7/grammar.vcproj:
15238           activate copy of autogenerated files for Release mode
15239
15240 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15241         
15242         * win32/common/libgstreamer.def:
15243           export gst_value_compare
15244
15245 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15246
15247         * plugins/elements/Makefile.am:
15248         * plugins/elements/gstelements.c:
15249         * plugins/elements/gstfdsink.c: (_do_init),
15250         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15251         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15252         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15253         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15254         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15255         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15256         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15257         * plugins/elements/gstfdsink.h:
15258         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15259
15260 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15261
15262         * docs/manual/advanced-dparams.xml:
15263           describe controller
15264         * docs/manual/advanced-position.xml:
15265         * docs/manual/basics-init.xml:
15266         * docs/manual/manual.xml:
15267         * docs/manual/titlepage.xml:
15268         * docs/pwg/pwg.xml:
15269         * docs/pwg/titlepage.xml:
15270           cleanup xml (more to come)
15271         * libs/gst/controller/gstcontroller.c:
15272           fix typo
15273
15274 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15275         
15276         * win32/vs6/grammar.dsp:
15277           add autogen of gstmarshal.c,h for Release mode
15278                 
15279 2006-01-30  Wim Taymans  <wim@fluendo.com>
15280
15281         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15282         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15283         (gst_base_sink_handle_object), (gst_base_sink_event),
15284         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15285         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15286         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15287         (gst_base_sink_deactivate), (gst_base_sink_activate),
15288         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15289         (gst_base_sink_query), (gst_base_sink_change_state):
15290         Basesink cleanups, remove some old code.
15291         Handle the case where a subclass can preroll in the render
15292         method (mostly audiosinks).
15293         Handle more events.
15294         Remove some locks around variables that are now protected
15295         with the PREROLL_LOCK (clock_id, flushing, ..).
15296         Optimize position query some more, do correct locking.
15297         Remove old code to push queue in state change, this is not
15298         needed anymore since preroll blocks on all prerollable items 
15299         now.
15300         Almost implemented as described in design doc.
15301
15302 2006-01-30  Wim Taymans  <wim@fluendo.com>
15303
15304         * tests/check/gst/gstbin.c: (GST_START_TEST):
15305         Wait for refcount to settle down before checking.
15306
15307 2006-01-30  Wim Taymans  <wim@fluendo.com>
15308
15309         * docs/design/part-element-sink.txt:
15310         Pseudo code overview of desired sink behaviour regarding
15311         preroll.
15312
15313 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15314         * win32/vs6/grammar.dsp:
15315           fix some bugs in Release mode for autogenerated files
15316                 
15317 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15318         * win32/common/libgstbase.def:
15319         * win32/common/libgstreamer.def:
15320           export some new symbols: gst_base_src_set_format,
15321           gst_iterator_next, gst_structure_set_valist
15322
15323 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15324
15325         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15326         Set pad functions unconditionally. Fixes #329105.
15327
15328 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15329         * win32/vs8:
15330           add vs8 project files created by Sergey Scobich
15331
15332 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15333
15334         * gst/gstutils.c: (gst_element_unlink_pads):
15335         Don't leak pad references.
15336
15337         * tests/check/elements/fakesink.c: (GST_START_TEST):
15338         * tests/check/generic/sinks.c: (GST_START_TEST):
15339         * tests/check/generic/states.c: (GST_START_TEST):
15340         * tests/check/gst/gstbin.c: (GST_START_TEST):
15341         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15342         * tests/check/gst/gstelement.c: (GST_START_TEST):
15343         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15344         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15345         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15346         Fix a bunch of leaks. Make generic/sinks.c
15347         use a bit less cpu by slowing the buffer rate
15348         between fakesrc and fakesink.
15349         
15350 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15351         * gst/gstcaps.c:
15352         * gst/gstelement.c: (gst_element_send_event):
15353         * gst/gstevent.c:
15354         * gst/gstinfo.c:
15355         * gst/gstiterator.c:
15356         * gst/gstiterator.h:
15357         * gst/gstpad.c: (gst_pad_send_event):
15358         * gst/gststructure.c:
15359         * gst/gsturi.c:
15360         * gst/gstutils.c:
15361         * gst/gstvalue.c:
15362         * libs/gst/base/gstadapter.c:
15363           doc fixes, to link to function, just write gst_cool_function(), don't
15364           prefix with '#'
15365
15366 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15367
15368         * plugins/elements/gsttee.c: (gst_tee_do_push),
15369         (gst_tee_handle_buffer):
15370         Always prefer an actual return value from a src
15371         pad in place of NOT_LINKED. This means we return
15372         WRONG_STATE when all src pads are WRONG_STATE
15373         instead of NOT_LINKED.
15374
15375         Lock when replacing the last message to prevent
15376         racing with the get_property method.
15377
15378         Add debug output
15379
15380 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15381
15382         * tests/check/Makefile.am:
15383         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15384         (main):
15385         Add a very simple check that should have caught the memleak I fixed
15386         last night (if not for the slice allocator hiding it)
15387
15388 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15389
15390         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15391         (gst_bin_remove_func), (gst_bin_handle_message_func),
15392         (bin_query_duration_fold), (bin_query_generic_fold):
15393         Clean up references to the clock provider when disposed or when
15394         handling a clock-lost message from it.
15395
15396         Unref sinks when performing a query via gst_iterator_fold, as the
15397         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15398
15399         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15400         (gst_clock_set_master):
15401         Drop our reference to the master clock, if any, when we are disposed.
15402
15403         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15404         Chain up in dispose. 
15405
15406 2006-01-26  Wim Taymans  <wim@fluendo.com>
15407
15408         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15409         Add some debugging.
15410
15411 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15412
15413         * plugins/elements/gsttee.c: (gst_tee_do_push),
15414         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15415         handles pad being NOT_LINKED or in WRONG_STATE.
15416
15417 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15418
15419         * win32/MANIFEST:
15420           more updating
15421
15422 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15423
15424         * win32/MANIFEST:
15425           remove obsolete entry
15426
15427 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15428
15429         * docs/gst/gstreamer-sections.txt:
15430         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15431         (gst_bin_iterate_sources), (gst_bin_send_event):
15432         * gst/gstbin.h:
15433         * gst/gstelement.c: (gst_element_send_event):
15434         * gst/gstevent.c:
15435         * gst/gstpad.c: (gst_pad_send_event):
15436           added code for downstream events, reviewed docs in gstevent.c
15437
15438 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15439
15440         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15441         We only query position using the clock in the playing state.
15442         Query peer in the other cases.
15443         * win32/common/config.h: Updates.
15444
15445 2006-01-24  Wim Taymans  <wim@fluendo.com>
15446
15447         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15448         A clock entry that is scheduled for the exact time of the
15449         clock is still in time.
15450
15451         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15452         (gst_base_sink_do_sync):
15453         Add some more debug info.
15454
15455 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15456
15457         * win32/vs7:
15458           Add new vs7 project files and solution.
15459
15460 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15461
15462         * win32/vs7:
15463           all files removed as they were out-dated.
15464
15465 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15466
15467         * docs/random/release:
15468           update notes
15469         * gst/gstbin.c: (gst_bin_init):
15470         * gst/gstbus.c: (gst_bus_new):
15471         * gst/gstbus.h:
15472         * gst/gstpipeline.c: (gst_pipeline_init):
15473           use gst_bus_new(), improve logging, fix docs
15474         * win32/common/config.h:
15475           update for cvs build
15476
15477 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15478
15479         * autogen.sh:
15480           up required version of automake to 1.7
15481
15482 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15483
15484         * win32/common/libgstreamer.def:
15485           export gst_buffer_is_metadata_writable
15486
15487 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15488
15489         * docs/gst/gstreamer-sections.txt:
15490         * gst/gstevent.h:
15491           Add gst_event_replace() (#327001)
15492
15493 2006-01-20  Wim Taymans  <wim@fluendo.com>
15494
15495         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15496         Make it actually compile too..
15497
15498 2006-01-20  Wim Taymans  <wim@fluendo.com>
15499
15500         * gst/gstcaps.c:
15501         Clarify behaviour of _is_equal() when passing NULL parameters.
15502
15503         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15504         (gst_pad_set_caps):
15505         Cleanups. Don't unref NULL caps.
15506         When setting the same caps, protect caps of the pad with
15507         proper lock.
15508         Use full functionality of _is_equal() when comparing caps.
15509
15510 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15511
15512         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15513         Don't loop infinitely if there are no buffers to present. Partially
15514         fixes #327197, but collectpads is just broken for reusing elements
15515         to do multiple encodes atm.
15516
15517 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15518
15519         * tools/gst-inspect.c: (print_element_features):
15520         * tools/gst-xmlinspect.c: (main):
15521         URL_HANDLER is not a plugin feature we can search for in
15522         the registry.
15523
15524 2006-01-19  Edward Hervey  <edward@fluendo.com>
15525
15526         * gst/gstelement.c: (gst_element_pads_activate): 
15527         When activating, do src pads first, then sink pads.
15528         When de-activating, do sink pads first, then src pads.
15529
15530 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15531
15532         * docs/gst/gstreamer-sections.txt:
15533         Add gst_index_add_associationv to the docs
15534
15535 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15536
15537         * gst/gstevent.c:
15538           Fix docs typo
15539
15540         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15541         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15542           Do some refactoring. Doesn't actually change functionality,
15543           but makes landing the DRAIN event easier later.
15544
15545 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15546
15547         * docs/pwg/advanced-scheduling.xml:
15548           Update from 0.9.x to 0.10 API and make example a bit
15549           clearer.
15550
15551 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15552
15553         * docs/gst/gstreamer-sections.txt:
15554         Add gst_buffer_(is|make)_metadata_writable methods.
15555
15556 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15557
15558         * docs/design/part-sparsestreams.txt:
15559         Update sparse streams doc, hopefully for greater clarity
15560
15561 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15562
15563         * docs/design/part-events.txt:
15564         Remove mention of FILLER events.
15565         Add DRAIN event.
15566
15567         * docs/design/part-sparsestreams.txt:
15568         Write some things about using NEWSEGMENT to keep sparse streams
15569         flowing.
15570
15571 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15572
15573         * gst/gstbin.c: (gst_bin_dispose):
15574           Guard gst_object_unref call against a NULL object (dispose
15575           can theoretically be called multiple times).
15576           
15577 2006-01-18  Wim Taymans  <wim@fluendo.com>
15578
15579         * gst/gstbin.c: (gst_bin_element_set_state):
15580         * gst/gstclock.c: (gst_clock_id_wait):
15581         Added some more debug info.
15582
15583         * libs/gst/base/gstadapter.c:
15584         Added more docs.
15585
15586         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15587         (gst_base_sink_do_sync), (gst_base_sink_chain):
15588         Added some comments.
15589
15590 2006-01-18  Wim Taymans  <wim@fluendo.com>
15591
15592         * tests/check/Makefile.am:
15593         * tests/check/elements/fakesink.c: (chain_async_buffer),
15594         (chain_async), (chain_async_return), (GST_START_TEST),
15595         (fakesink_suite), (main):
15596         Added fakesink test that checks prerolling and clipping
15597         behaviour.
15598
15599         * tests/check/gst/gstutils.c: (GST_START_TEST):
15600         Make check run faster so that buildbots don't timeout.
15601
15602 2006-01-18  Wim Taymans  <wim@fluendo.com>
15603
15604         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15605         (gst_base_sink_do_sync):
15606         Some cleanups.
15607         When the sink finishes blocking on the preroll buffer, it can
15608         immediatly render it instead of rendering when the next buffer
15609         arrives.
15610
15611 2006-01-18  Wim Taymans  <wim@fluendo.com>
15612
15613         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15614         (gst_base_sink_get_property), (gst_base_sink_do_sync),
15615         (gst_base_sink_chain):
15616         Small cleanups.
15617         GST_ELEMENT_CLOCK and sync are protected with LOCK.
15618         Don't store _last_stop if the buffer is dropped.
15619
15620 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15621
15622         * plugins/elements/gsttypefindelement.c:
15623         (gst_type_find_element_class_init):
15624           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15625           object method handler that sets the caps on the pad and we want
15626           that to happen before we emit the signal (fixes e.g. feeding a
15627           plain text file to decodebin).
15628
15629 2006-01-18  Christian Schaller  <Christian@fluendo.com>
15630
15631         * gst/gstplugin.c: Add MPL and Proprietary as license options
15632
15633 2006-01-18  Andy Wingo  <wingo@pobox.com>
15634
15635         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15636         symbol was exported before, it appears this was just an oversight.
15637         Fixes #168703.
15638         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15639
15640         * gst/gstindex.c (gst_index_add_associationv): Changed int in
15641         prototype to gint. OK since this prototype was not in the header.
15642
15643 2006-01-17  Andy Wingo  <wingo@pobox.com>
15644
15645         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15646         registry while we remove plugins.
15647
15648         * tools/gst-inspect.c (print_element_info): Don't unref the
15649         factory arg, that should be the responsibility of whatever code
15650         received the ref. Fixes a double-free when called from
15651         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15652         (main): Unref the factory if we have one.
15653         (print_element_list): No change -- relies on the
15654         plugin_feature_list_free to free the list of features.
15655
15656 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
15657
15658         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15659         (gst_buffer_make_metadata_writable):
15660         * gst/gstbuffer.h:
15661         * libs/gst/base/gstbasetransform.c:
15662         (gst_base_transform_prepare_output_buf):
15663         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15664         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15665           Replace gst_buffer_(make|is)_metadata_writable patch now
15666           that the release is out.
15667
15668 2006-01-17  Andy Wingo  <wingo@pobox.com>
15669
15670         * gst/gstregistry.c: Reflow design comment. Update so as to speak
15671         in the present tense without reference to versions.
15672
15673         * gst/gstregistry.c (gst_registry_add_plugin)
15674         (gst_registry_remove_plugin, gst_registry_remove_feature)
15675         (gst_registry_find_feature, gst_registry_get_feature_list)
15676         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15677         (gst_registry_lookup, gst_registry_scan_path)
15678         (_gst_registry_remove_cache_plugins)
15679         (gst_registry_get_feature_list_by_plugin): Add argument
15680         validation.
15681
15682 === release 0.10.2 ===
15683
15684 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
15685
15686         * configure.ac:
15687           releasing 0.10.2, "If man is five"
15688
15689 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15690
15691         * gst/gstbuffer.c:
15692         * gst/gstbuffer.h:
15693         * libs/gst/base/gstbasetransform.c:
15694         (gst_base_transform_prepare_output_buf):
15695         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15696         * tests/check/gst/gstbuffer.c: (gst_test_suite):
15697           Back out patch until after the release.
15698
15699 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15700
15701         * gst/gstminiobject.c:
15702           Spelling fix in docs.
15703         * ChangeLog - remove conflict indicator
15704
15705 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15706
15707         Reviewed By: Andy Wingo
15708
15709         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15710         (gst_buffer_make_metadata_writable):
15711         * gst/gstbuffer.h:
15712           Add gst_buffer_(is|make)_metadata_writable as analogues of
15713           gst_buffer_(is|make)_writable.
15714
15715         * libs/gst/base/gstbasetransform.c:
15716         (gst_base_transform_prepare_output_buf):
15717         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15718           Use name gst_buffer_(is|make)_metadata_writable functions.
15719
15720         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15721           Test gst_buffer_(is|make)_metadata_writable
15722         
15723           (Closes: #324162)
15724
15725 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15726
15727         * docs/manual/Makefile.am:
15728           don't do parallel make
15729         * configure.ac:
15730           AC_SUBST HOST_CPU
15731         * win32/common/config.h.in:
15732           add generations for HOST_CPU and GST_MAJORMINOR
15733         * win32/common/config.h:
15734           commit generated result
15735
15736 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
15737
15738         * docs/manual/appendix-integration.xml:
15739           Update GNOME integration section to use gst_init_get_option_group()
15740           instead of the old popt stuff (#322911). Also, GNOME applications
15741           should  now use gconf*sink and gconf*src instead of the old gconf
15742           helper lib we had.
15743
15744 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
15745
15746
15747         * docs/gst/gstreamer-docs.sgml:
15748         * docs/gst/gstreamer-sections.txt:
15749         * docs/libs/gstreamer-libs-sections.txt:
15750           add new API entries to the docs
15751         * libs/gst/controller/Makefile.am:
15752         * libs/gst/controller/gstcontroller.c:
15753         * libs/gst/controller/gstcontroller.h:
15754         * libs/gst/controller/gstcontrollerprivate.h:
15755         * libs/gst/controller/gsthelper.c:
15756         * libs/gst/controller/gstinterpolation.c:
15757           move private structs to private header
15758         * po/README:
15759           gstreamer-0.7 -> gstreamer-0.10
15760         * tests/check/libs/struct_i386.h:
15761           remove private structs
15762
15763 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15764
15765         * plugins/indexers/Makefile.am:
15766           Fixes as part of #317048
15767
15768 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15769
15770         * plugins/indexers/Makefile.am:
15771           fix #316086 - compilation when mmap is missing
15772
15773 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
15774
15775         * libs/gst/base/gstbasesink.c:
15776           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
15777           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15778         * win32/common/config.h:
15779           added some defines GST_MAJORMINOR and HOST_CPU
15780         * win32/common/libgstbase.def:
15781         * win32/common/libgstreamer.def:
15782           added some exported functions.
15783
15784 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15785
15786         * libs/gst/controller/gstcontroller.c:
15787         (gst_controlled_property_set_interpolation_mode),
15788         (gst_controlled_property_new):
15789         * libs/gst/controller/gstcontroller.h:
15790         * libs/gst/controller/gstinterpolation.c:
15791         (interpolate_none_get_string_value_array):
15792           make G_TYPE_STRING controlable
15793
15794 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15795
15796         * tools/README:
15797         * tools/gst-feedback.1.in:
15798         * tools/gst-inspect.1.in:
15799         * tools/gst-launch.1.in:
15800         * tools/gst-md5sum.1.in:
15801         * tools/gst-typefind.1.in:
15802         * tools/gst-xmlinspect.1.in:
15803         * tools/gst-xmllaunch.1.in:
15804           cleanup man-pages, remove reference to gst-register, document env-vars
15805
15806 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
15807
15808         * gst/gstbuffer.c: (gst_buffer_span):
15809           gst_buffer_span should copy the timestamp of the first buffer
15810           if they were both originally overlapping subbuffers of the 
15811           same parent, using the same logic as the 'slow copy' case.
15812
15813 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
15814
15815         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15816           Need to awaken ALL the pads when we pop a buffer, otherwise
15817           collectpads only works when there is 2 input streams.
15818
15819 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
15820
15821         * docs/random/ensonic/media-device-daemon.txt:
15822           more ideas (dbus)
15823         * gst/gstbuffer.c:
15824           fix doc example, add clarification
15825         * tools/gst-launch.1.in:
15826           add initial info about GST_PLUGIN_PATH, needs more work
15827
15828 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
15829
15830         * docs/manual/basics-bins.xml:
15831         * docs/manual/basics-elements.xml:
15832         * docs/manual/intro-basics.xml:
15833           Some more minor docs additions and updates.
15834
15835 2006-01-11  Wim Taymans  <wim@fluendo.com>
15836
15837         * docs/manual/basics-bins.xml:
15838         * docs/manual/basics-elements.xml:
15839         Some small fixes as pointed out by Ser-ver on IRC.
15840
15841 2006-01-10  Edward Hervey  <edward@fluendo.com>
15842
15843         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15844         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15845         the single-segment mode.
15846
15847 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
15848
15849         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15850
15851         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15852         (gst_base_src_perform_seek), (gst_base_src_send_event),
15853         (gst_base_src_set_property), (gst_base_src_get_property),
15854         (gst_base_src_loop), (gst_base_src_start),
15855         (gst_base_src_activate_push):
15856         * libs/gst/base/gstbasesrc.h:
15857           Name (private) union; makes Sun's Forte compiler happy (#324900).
15858
15859 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
15860
15861         * README:
15862           gst-register is gone.
15863
15864 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15865
15866         * gst/gstvalue.c: (_gst_value_initialize):
15867           make the G_TYPE_DATE instantiation work if debug is disabled
15868
15869 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
15870
15871         * gst/gstmessage.c: (gst_message_parse_tag),
15872         (gst_message_parse_error), (gst_message_parse_warning):
15873           Don't crash when return location for error/warning debug
15874           string is NULL; add fact that return locations can be
15875           NULL to docs where appropriate.
15876
15877 2006-01-05  Wim Taymans  <wim@fluendo.com>
15878
15879         * gst/gstplugin.c: (gst_plugin_load_file):
15880         Replace strdup by g_strdup.
15881
15882 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15883
15884         * docs/pwg/advanced-types.xml:
15885           fix doc borkage
15886
15887 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15888
15889         submitted by: Abel Cheung
15890
15891         * po/LINGUAS:
15892         * po/zh_TW.po:
15893           Added Chinese (traditional) translation
15894
15895 2006-01-04  Wim Taymans  <wim@fluendo.com>
15896
15897         * docs/manual/basics-pads.xml:
15898         * docs/plugins/Makefile.am:
15899         * docs/plugins/gstreamer-plugins-docs.sgml:
15900         * docs/plugins/gstreamer-plugins-sections.txt:
15901         * docs/pwg/advanced-clock.xml:
15902         * docs/pwg/advanced-scheduling.xml:
15903         * docs/pwg/advanced-types.xml:
15904         * plugins/elements/gstfdsink.c:
15905         * plugins/elements/gstfdsrc.c:
15906         * plugins/elements/gstfdsrc.h:
15907         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15908         * plugins/elements/gstidentity.h:
15909         * plugins/elements/gstqueue.h:
15910         * plugins/elements/gsttee.c:
15911         * plugins/elements/gsttee.h:
15912         * plugins/elements/gsttypefindelement.c:
15913         (gst_type_find_element_class_init):
15914         * plugins/elements/gsttypefindelement.h:
15915         Small updates to various docs.
15916         Added core plugins to docs.
15917
15918 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15919
15920         * common/gst.supp:
15921           add a suppression for liboil's uninitialized variable
15922
15923 2006-01-02  James Livingston  <jrl at ids dot org dot au>
15924
15925         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15926
15927         * gst/gstutils.h:
15928           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
15929           macro, so that gcc doesn't complain if the -Wmissing-prototypes
15930           compiler switch is being used (#325429).
15931
15932 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
15933
15934         * gst/gstbin.c: (gst_bin_query):
15935           Disable duration query caching in bins until it gets
15936           fixed (see #324807).
15937
15938 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
15939
15940         * tools/gst-inspect.c: (print_element_properties_info):
15941           Handle properties of POINTER and BOXED type.
15942
15943 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
15944
15945         * gst/gst.c: (init_post):
15946           Init tags stuff and some other things before loading
15947           any static plugins (there may be other static plugins
15948           than just the GStreamer ones, and they may want to
15949           register their own tags or formats or whatever, and
15950           preferably without segfaulting).
15951
15952         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
15953           Print at least a warning in the debug logs if we drop a
15954           query just because we don't know how to adjust the value
15955           in the particular format.
15956
15957 2005-12-24  David Schleef  <ds@schleef.org>
15958
15959         * tools/gstreamer-completion:
15960           Replacement for gst-complete written in sh and sed.  Only
15961           completes names of features, but that's 90% of what I want
15962           it for.  Properties are not available in registry.xml.  (Maybe
15963           they should be...)
15964
15965 === release 0.10.1 ===
15966
15967 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
15968
15969         * configure.ac:
15970           releasing 0.10.1, "Nollaig chridheil"
15971
15972 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
15973
15974         * docs/faq/cvs.xml:
15975           Add missing quote, should be make ERROR_CFLAGS="".
15976
15977 2005-12-20  Wim Taymans  <wim@fluendo.com>
15978
15979         * docs/design/part-trickmodes.txt:
15980         More documentation on trickmodes.
15981
15982 2005-12-20  Edward Hervey  <edward@fluendo.com>
15983
15984         * gst/gstcaps.c: (gst_static_caps_get_type):
15985         * gst/gstcaps.h:
15986           API addition: GST_TYPE_STATIC_CAPS
15987         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
15988         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
15989         * gst/gstpadtemplate.h:
15990           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
15991         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
15992         bindings.
15993
15994 2005-12-18  Wim Taymans  <wim@fluendo.com>
15995
15996         * libs/gst/base/gstadapter.c:
15997         * libs/gst/base/gstadapter.h:
15998         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15999         (gst_base_sink_get_position):
16000         * libs/gst/base/gstbasesink.h:
16001         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16002         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16003         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16004         (gst_base_src_send_event), (gst_base_src_update_length),
16005         (gst_base_src_get_range), (gst_base_src_loop),
16006         (gst_base_src_start):
16007         * libs/gst/base/gstbasesrc.h:
16008         * libs/gst/base/gstbasetransform.h:
16009         * libs/gst/base/gstcollectpads.h:
16010         * libs/gst/base/gstpushsrc.c:
16011         * libs/gst/base/gstpushsrc.h:
16012         * libs/gst/dataprotocol/dataprotocol.c:
16013         * libs/gst/dataprotocol/dataprotocol.h:
16014         * libs/gst/net/gstnetclientclock.h:
16015         * libs/gst/net/gstnettimeprovider.h:
16016         Documentation updates.
16017
16018 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16019
16020         * docs/manual/basics-helloworld.xml:
16021           Remove superfluous closing bracket in helloworld example.
16022
16023 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16024
16025         * tools/gst-launch.1.in:
16026           Update gst-launch man page; add a section with useful
16027           environment variables. Fixes #323882.
16028
16029 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16030
16031         * gst/gst.c:
16032         * gst/gst_private.h:
16033           change some char* into char[]
16034
16035 2005-12-16  Wim Taymans  <wim@fluendo.com>
16036
16037         * gst/gstregistryxml.c: (load_feature):
16038         Cleanups.
16039         Don't use g_object_unref on GstObjects so that we avoid
16040         leaks on unsafe glibs.
16041
16042 2005-12-16  Wim Taymans  <wim@fluendo.com>
16043
16044         * gst/gstbin.c: (gst_bin_recalc_state):
16045         Small doc updates.
16046
16047 2005-12-16  Wim Taymans  <wim@fluendo.com>
16048
16049         * common/check.mak:
16050         Added make forever target for check.
16051
16052 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16053
16054         * gst/gst.c: (init_post):
16055           make the registry cache file HOST_CPU-dependent
16056
16057 2005-12-16  Andy Wingo  <wingo@pobox.com>
16058
16059         * plugins/elements/gstbufferstore.c
16060         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16061         return value.
16062
16063         * tests/check/gst/gstobject.c
16064         (test_fake_object_name_threaded_unique): Pay attention to
16065         g_list_sort return value.
16066
16067 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16068
16069         * tools/gst-feedback-m.m:
16070           Update for 0.9/0.10 (fixes #323870).
16071
16072 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16073
16074         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16075           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16076           
16077         * tests/check/gst/gstminiobject.c: (my_foo_init),
16078         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16079         (test_value_collection), (gst_mini_object_suite):
16080           Add test to ensure refcounts end up as expected when passing
16081           GstMiniObjects through g_object_get() and g_object_set().
16082
16083 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16084
16085         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16086         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16087         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16088         of collectpads. This version removes a lot of races without
16089         touching API/ABI. Yay !
16090
16091 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16092
16093         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16094           Don't allow activation of a srcpad in pull_range if it has no
16095           getrange function.
16096           Change some debug statements to be a little clearer
16097
16098         * plugins/elements/gsttypefindelement.c:
16099         (gst_type_find_handle_src_query):
16100           Check that we have a peer before executing queries thereupon.
16101
16102         * tests/examples/metadata/read-metadata.c: (message_loop):
16103           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16104           immediately return us any available message with 0 timeout.
16105
16106 2005-12-12  Michael Smith  <msmith@fluendo.com>
16107
16108         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16109           Don't unref factories after calling them.
16110         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16111         * plugins/elements/gsttypefindelement.c:
16112         (gst_type_find_element_chain):
16113           Free lists of factories after using them. Fixing typefinding memory
16114           leaks.
16115
16116 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16117
16118         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16119         (gst_plugin_feature_load):
16120           more meaningful debug output
16121         * configure.ac:
16122         * tests/Makefile.am:
16123         * tests/old/examples/Makefile.am:
16124           make make distcheck happy again
16125
16126 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16127
16128         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16129           Catch the special case where we are operating chain-based,
16130           but the downstream peer pad has no chain function. Emit a
16131           custom error message in this case instead of letting the
16132           core generate one implying that this is some sort of core
16133           bug. It's not, it just means that whatever got plugged
16134           into the pipeline downstream when we announced the type
16135           can only operate pull-based, while our source can only
16136           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16137           Error string has not been marked for translation yet, as
16138           it probably needs some more work first.
16139
16140         (gst_type_find_element_get_best_possibility):
16141           Add helper function to find the best of all available
16142           found possibilities that qualify given the min. threshold.
16143
16144         (gst_type_find_element_handle_event):
16145           Fix the case where we get an EOS while still in TYPEFIND
16146           mode (we want to chose the best of all possible types,
16147           not just the first type that happens to be in our unsorted
16148           list of possible types).
16149
16150         (gst_type_find_element_chain):
16151           Make sure we return GST_FLOW_ERROR when we errored out
16152           in stop_typefinding(); also, don't just find the best of
16153           all found type entries and then use the last examined
16154           type entry, but actually use the best entry.
16155
16156 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16157
16158         * tests/examples/typefind/typefind.c: (type_found):
16159         * tests/examples/xml/runxml.c: (xml_loaded):
16160           More gcc4 fixes and a mem leak fix.
16161
16162 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16163
16164         * tests/examples/xml/createxml.c: (object_saved):
16165           gcc 4 fixes
16166
16167 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16168
16169         * tests/Makefile.am:
16170           enable the examples even more
16171
16172 2005-12-12  Andy Wingo  <wingo@pobox.com>
16173
16174         * libs/gst/net/gstnettimeprovider.c
16175         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16176         (gst_net_time_provider_set_property)
16177         (gst_net_time_provider_get_property):
16178         API addition: Export "active" as a GObject property.
16179         (gst_net_time_provider_thread): Only respond to time queries if
16180         the time provider is active.
16181
16182         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16183         NetTimeProvider, preserving binary compat.
16184
16185 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16186
16187         * tests/examples/controller/audio-example.c: (main):
16188         * tests/examples/launch/Makefile.am:
16189           convert comments again
16190
16191 2005-12-12  Wim Taymans  <wim@fluendo.com>
16192
16193         * libs/gst/base/gstpushsrc.c:
16194         Fix typo.
16195
16196 2005-12-12  Wim Taymans  <wim@fluendo.com>
16197
16198         * docs/libs/gstreamer-libs-sections.txt:
16199         Added new symbol to docs.
16200
16201         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16202         (gst_base_src_init), (gst_base_src_set_format),
16203         (gst_base_src_default_query), (gst_base_src_query),
16204         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16205         (gst_base_src_perform_seek), (gst_base_src_send_event),
16206         (gst_base_src_default_event), (gst_base_src_event_handler),
16207         (gst_base_src_set_property), (gst_base_src_get_property),
16208         (gst_base_src_wait), (gst_base_src_do_sync),
16209         (gst_base_src_update_length), (gst_base_src_get_range),
16210         (gst_base_src_check_get_range), (gst_base_src_loop),
16211         (gst_base_src_default_negotiate), (gst_base_src_start),
16212         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16213         (gst_base_src_change_state):
16214         * libs/gst/base/gstbasesrc.h:
16215         Implement seeking to other formats than _BYTES.
16216         Implement more seeking methods correctly.
16217         Doc updates.
16218         Added query vmethod.
16219         Added do_seek vmethod to make life easier for subclasses
16220         when seeking.
16221         API addition: gst_base_src_set_format()
16222
16223 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16224
16225         * tests/examples/Makefile.am:
16226           added that too
16227
16228 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16229
16230         * configure.ac:
16231         * docs/random/ensonic/media-device-daemon.txt:
16232         * tests/examples/controller/.cvsignore:
16233         * tests/examples/controller/Makefile.am:
16234         * tests/examples/controller/audio-example.c: (main):
16235         * tests/examples/helloworld/.cvsignore:
16236         * tests/examples/helloworld/Makefile.am:
16237         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16238         * tests/examples/launch/.cvsignore:
16239         * tests/examples/launch/Makefile.am:
16240         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16241         * tests/examples/metadata/.cvsignore:
16242         * tests/examples/metadata/Makefile.am:
16243         * tests/examples/metadata/read-metadata.c: (message_loop),
16244         (make_pipeline), (print_tag), (main):
16245         * tests/examples/queue/.cvsignore:
16246         * tests/examples/queue/Makefile.am:
16247         * tests/examples/queue/queue.c: (event_loop), (main):
16248         * tests/examples/typefind/.cvsignore:
16249         * tests/examples/typefind/Makefile.am:
16250         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16251         (main):
16252         * tests/examples/xml/.cvsignore:
16253         * tests/examples/xml/Makefile.am:
16254         * tests/examples/xml/createxml.c: (object_saved), (main):
16255         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16256         * tests/old/examples/Makefile.am:
16257         * tests/old/examples/TODO:
16258         * tests/old/examples/controller/.cvsignore:
16259         * tests/old/examples/controller/Makefile.am:
16260         * tests/old/examples/controller/audio-example.c:
16261         * tests/old/examples/helloworld/.cvsignore:
16262         * tests/old/examples/helloworld/Makefile.am:
16263         * tests/old/examples/helloworld/helloworld.c:
16264         * tests/old/examples/launch/.cvsignore:
16265         * tests/old/examples/launch/Makefile.am:
16266         * tests/old/examples/launch/mp3parselaunch.c:
16267         * tests/old/examples/launch/mp3play:
16268         * tests/old/examples/manual/Makefile.am:
16269         * tests/old/examples/metadata/Makefile.am:
16270         * tests/old/examples/metadata/read-metadata.c:
16271         * tests/old/examples/queue/.cvsignore:
16272         * tests/old/examples/queue/Makefile.am:
16273         * tests/old/examples/queue/queue.c:
16274         * tests/old/examples/typefind/.cvsignore:
16275         * tests/old/examples/typefind/Makefile.am:
16276         * tests/old/examples/typefind/typefind.c:
16277         * tests/old/examples/xml/.cvsignore:
16278         * tests/old/examples/xml/Makefile.am:
16279         * tests/old/examples/xml/createxml.c:
16280         * tests/old/examples/xml/runxml.c:
16281           applied some simple fixing to some examples
16282           re-enabled the working examples
16283
16284 2005-12-12  Wim Taymans  <wim@fluendo.com>
16285
16286         * gst/gstsegment.c: (gst_segment_init),
16287         (gst_segment_set_last_stop), (gst_segment_set_seek),
16288         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16289         (gst_segment_to_running_time):
16290         Added more documentation.
16291         Make sure the last_pos value is updated properly.
16292         Make sure to_stream_time and to_running_time don't
16293         operate on wrong values.
16294
16295         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16296         Update check.
16297
16298 2005-12-12  Michael Smith  <msmith@fluendo.com>
16299
16300         * plugins/elements/gsttypefindelement.c: (free_entry),
16301         (gst_type_find_element_chain):
16302           Now that we're not leaking factories, make sure we keep references
16303           to them while we need them.
16304
16305 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16306
16307         * tests/check/gst/struct_i386.h:
16308           ifdef out the XML structs
16309
16310 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16311
16312         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16313           floor is not needed, F is always positive; this obviates the
16314           need for adding -lm when building without libxml
16315
16316 2005-12-12  Wim Taymans  <wim@fluendo.com>
16317
16318         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16319         Take current playback rate into account when reporting
16320         the position.
16321
16322 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16323
16324         * docs/manual/mime-world.fig:
16325           Let's try this again, this time with a file that is
16326           actually in XFig format.
16327
16328 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16329
16330         * docs/manual/mime-world.fig:
16331           Add audioconvert element to diagram so that it
16332           matches the text and the code (fixes #319526).
16333
16334 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16335
16336         * docs/pwg/building-chainfn.xml:
16337         * docs/pwg/building-pads.xml:
16338         * docs/pwg/building-state.xml:
16339         * docs/pwg/other-source.xml:
16340           Update state change stuff for 0.10 (fixes #322969).
16341
16342 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16343
16344         * docs/manual/advanced-dataaccess.xml:
16345         * docs/manual/appendix-checklist.xml:
16346         * docs/manual/appendix-programs.xml:
16347         * docs/manual/basics-pads.xml:
16348         * docs/manual/highlevel-components.xml:
16349         * docs/manual/manual.xml:
16350           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16351           add converters in front of pipelines; remove curly
16352           brackets for threads stuff, they no longer exist; use
16353           GST_TYPE_FRACTION for framerates; update some pieces of
16354           code to 0.10, but there's plenty more to do.
16355
16356         * docs/manual/appendix-porting.xml:
16357           Expand on asynchroneous state changes; s/0.9/0.10/;
16358           mention disappearance of gst_init_get_popt_table()
16359           (fixes #322916).
16360
16361 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16362
16363         * docs/faq/using.xml:
16364           Spider no longer exists, and neither does gst-launch-ext.
16365           Update examples to use decodebin and playbin and put
16366           converters in front of sinks (fixes #323726).
16367
16368 2005-12-09  Michael Smith  <msmith@fluendo.com>
16369
16370         * plugins/elements/gsttypefindelement.c: (find_peek),
16371         (gst_type_find_element_chain):
16372           Fix leaking element factories in typefinding.
16373           Fix problem where we forgot about a probable type on non-seekable
16374           files, and thus later mis-typefound it.
16375
16376 2005-12-09  Michael Smith  <msmith@fluendo.com>
16377
16378         * common/m4/gst-makecontext.m4:
16379         * common/m4/gst-mcsc.m4:
16380         * configure.ac:
16381         * win32/common/config.h:
16382         * win32/common/config.h.in:
16383           Remove makecontext stuff; not used in 0.10 and causes problems on
16384           HPUX according to bug #322441
16385
16386 2005-12-07  Wim Taymans  <wim@fluendo.com>
16387
16388         * tests/check/Makefile.am:
16389         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16390         (main):
16391         * tests/check/libs/struct_i386.h:
16392         Added ABI check for libs
16393
16394 2005-12-07  Wim Taymans  <wim@fluendo.com>
16395
16396         * tests/check/Makefile.am:
16397         And add the struct_i386.h to dist.
16398
16399 2005-12-07  Wim Taymans  <wim@fluendo.com>
16400
16401         * tests/check/Makefile.am:
16402         * tests/check/gst/.cvsignore:
16403         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16404         (main):
16405         * tests/check/gst/struct_i386.h:
16406         Added check for ABI compatibility.
16407
16408 2005-12-07  Wim Taymans  <wim@fluendo.com>
16409
16410         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16411         (gst_fake_src_get_times), (gst_fake_src_create):
16412         Fix broken sync option, fixes #323259
16413
16414 2005-12-07  Wim Taymans  <wim@fluendo.com>
16415
16416         * gst/gstbuffer.c:
16417         Small docs update.
16418
16419         * gst/gstcaps.c: (gst_caps_is_equal):
16420         Don't assert on NULL <--> X. Fixes #323260
16421
16422         * gst/gstminiobject.c: (gst_mini_object_replace):
16423         If we're doing atomic operations, we might just as well use
16424         the proper way to get an atomic pointer.
16425
16426         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16427         Clean up debugging.
16428
16429 2005-12-07  Michael Smith  <msmith@fluendo.com>
16430
16431         * gst/parse/grammar.y:
16432           Remove handling of { } for threads.
16433
16434 2005-12-06  David Schleef  <ds@schleef.org>
16435
16436         * libs/gst/base/gstbasetransform.c: speling fix.
16437
16438 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16439
16440         * docs/libs/tmpl/gstdataprotocol.sgml:
16441         * docs/random/omega/testing/gstobject.c:
16442         * gst/gst.c:
16443         * gst/gstclock.c:
16444         * gst/gstelement.c:
16445         * gst/gstelementfactory.c:
16446         * gst/gsterror.c:
16447         * gst/gstevent.c:
16448         * gst/gstghostpad.c:
16449         * gst/gstinfo.c:
16450         * gst/gstpadtemplate.c:
16451         * gst/gstregistryxml.c:
16452         * gst/gsttaglist.c:
16453         * gst/gsttagsetter.c:
16454         * gst/gsttypefind.c:
16455         * gst/gstvalue.c:
16456         * libs/gst/base/gstbasesrc.c:
16457         * libs/gst/net/gstnetclientclock.c:
16458         * libs/gst/net/gstnettimeprovider.c:
16459         * plugins/elements/gstfakesrc.c:
16460         * plugins/elements/gstfdsrc.c:
16461         * plugins/elements/gstfilesrc.c:
16462         * plugins/elements/gstidentity.c:
16463         * plugins/elements/gstqueue.c:
16464         * plugins/elements/gsttypefindelement.c:
16465         * plugins/indexers/gstfileindex.c:
16466         * plugins/indexers/gstmemindex.c:
16467         * tests/check/gst/gsttag.c:
16468         * tests/old/examples/cutter/cutter.c:
16469         * tests/old/examples/mixer/mixer.c:
16470         * tests/old/examples/xml/runxml.c: (main):
16471         * tests/old/testsuite/caps/normalisation.c:
16472         * tests/old/testsuite/debug/global.c:
16473         * tests/old/testsuite/parse/parse1.c:
16474         * tools/gst-xmlinspect.c:
16475         * win32/common/dirent.c:
16476           expand tabs
16477
16478 === release 0.10.0 ===
16479
16480 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16481
16482         * configure.ac:
16483           releasing 0.10.0, "Maroilles"
16484
16485 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16486
16487         submitted by: Funda Wang <fundawang@linux.net.cn>
16488
16489         * po/LINGUAS:
16490         * po/zh_CN.po:
16491           added Chinese (Traditional) translation
16492
16493 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16494
16495         * docs/gst/gstreamer-sections.txt:
16496         * docs/libs/tmpl/gstdataprotocol.sgml:
16497         * docs/random/thomasvs/TODO:
16498         * gst/gstutils.c:
16499         * gst/gstutils.h:
16500           fix docs
16501
16502 2005-12-05  Andy Wingo  <wingo@pobox.com>
16503
16504         patch by: Wim Taymans <wim@fluendo.com>
16505
16506         * libs/gst/base/gstbasetransform.c
16507         (gst_base_transform_prepare_output_buf)
16508         (gst_base_transform_buffer_alloc):
16509         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16510         alloc_buffer_and_set_caps.
16511
16512         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16513         set_caps on the source pad.
16514         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16515         alloc_buffer used to do. Fixes #322874.
16516
16517         * docs/gst/gstreamer-sections.txt: 
16518         * docs/design/part-negotiation.txt: 
16519         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16520         changes.
16521
16522 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16523
16524         patch by: Sebastien Moutte
16525
16526         * win32/MANIFEST:
16527         * win32/common/config.h.in:
16528         * win32/vs6/libgstcontroller.dsp:
16529           win32 build fixes
16530
16531 2005-12-05  Wim Taymans  <wim@fluendo.com>
16532
16533         * gst/gstcaps.c: (gst_caps_is_equal):
16534         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16535         (gst_fake_src_create):
16536         Back out previous code changes, leave doc updates, file bugs 
16537         instead. 
16538
16539 2005-12-05  Wim Taymans  <wim@fluendo.com>
16540
16541         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16542         (gst_fake_src_get_times), (gst_fake_src_create):
16543         * plugins/elements/gstfakesrc.h:
16544         Fix broken sync code.
16545
16546 2005-12-05  Wim Taymans  <wim@fluendo.com>
16547
16548         * gst/gstcaps.c: (gst_caps_is_equal):
16549         Comparing NULL against !NULL yields different caps, not a
16550         failure.
16551
16552 2005-12-05  Wim Taymans  <wim@fluendo.com>
16553
16554         * gst/gstpipeline.c:
16555         Fix small typo in docs.
16556
16557 2005-12-05  Andy Wingo  <wingo@pobox.com>
16558
16559         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16560
16561         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16562         registries/plugins with a MAJORMINOR one.
16563         (plugin_desc): Rename library from gstcoreleements to
16564         staticelements. Fixes #323222.
16565
16566 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16567
16568         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16569           Change debug category to 'collectpads' from 'collect_pads'
16570           (fixes #323250).
16571
16572 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16573
16574         patch by: Sebastien Moutte
16575
16576         * libs/gst/controller/gstinterpolation.c:
16577           use convert function for uint64/double
16578         * win32/vs6/libgstcontroller.dsp:
16579           link to GLib
16580
16581 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16582
16583         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16584         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16585         * gst/gstutils.h:
16586         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16587           add tests that seem to show that the guint64/gdouble conversions
16588           are correct.
16589
16590 2005-12-02  Wim Taymans  <wim@fluendo.com>
16591
16592         * gst/gstregistry.c: (gst_registry_add_path):
16593         * gst/gstregistry.h:
16594         * gst/gstregistryxml.c:
16595         Fix docs again.
16596
16597 2005-12-02  Wim Taymans  <wim@fluendo.com>
16598
16599         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16600         (gst_util_uint64_scale_int):
16601         Small cleanup.
16602
16603         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16604         Add debug log line.
16605
16606         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16607         Add FIXME.
16608
16609 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16610
16611         * win32/MANIFEST:
16612         * win32/common/config.h:
16613         * win32/vs6/gstreamer.dsw:
16614         * win32/vs6/libgstcoreelements.dsp:
16615         * win32/vs6/libgstelements.dsp:
16616           renamed core elements plugin
16617
16618 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16619
16620         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16621         (get_candidates):
16622           do piece-wise major/minor comparison so 0.9 < 0.10
16623           also allow .exe extensions for tools
16624
16625 2005-12-02  Michael Smith  <msmith@fluendo.com>
16626
16627         * gst/gst.c:
16628           Escape a % to make gtkdoc happier; bug 322958.
16629
16630 === release 0.9.7 ===
16631
16632 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16633
16634         * configure.ac:
16635           releasing 0.9.7, "My Dog Has No Nose"
16636
16637 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16638
16639         * common/gst-xmlinspect.py:
16640         * configure.ac:
16641         * docs/libs/tmpl/gstdataprotocol.sgml:
16642         * docs/random/release:
16643         * po/af.po:
16644         * po/az.po:
16645         * po/bg.po:
16646         * po/ca.po:
16647         * po/cs.po:
16648         * po/de.po:
16649         * po/en_GB.po:
16650         * po/fr.po:
16651         * po/it.po:
16652         * po/nb.po:
16653         * po/nl.po:
16654         * po/ru.po:
16655         * po/sq.po:
16656         * po/sr.po:
16657         * po/sv.po:
16658         * po/tr.po:
16659         * po/uk.po:
16660         * po/vi.po:
16661         * win32/common/config.h:
16662         * win32/common/config.h.in:
16663         * win32/vs6/gst_inspect.dsp:
16664         * win32/vs6/gst_launch.dsp:
16665         * win32/vs6/libgstbase.dsp:
16666         * win32/vs6/libgstelements.dsp:
16667         * win32/vs6/libgstreamer.dsp:
16668         * win32/vs7/GStreamer.vcproj:
16669         * win32/vs7/gst-inspect.vcproj:
16670         * win32/vs7/gst-launch.vcproj:
16671         * win32/vs7/libgstbase.vcproj:
16672           bump GST_MAJORMINOR to 0.10
16673           reset libtool version
16674
16675 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16676
16677         * po/LINGUAS:
16678         * po/bg.po:
16679           Added Bulgarian translation by (Alexander Shopov)
16680
16681 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16682
16683         * tests/check/gst/gstplugin.c:
16684           fix test
16685
16686 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16687
16688         * common/gst-xmlinspect.py:
16689         * common/gtk-doc-plugins.mak:
16690         * configure.ac:
16691         * docs/Makefile.am:
16692         * docs/gst/Makefile.am:
16693         * docs/gst/gstreamer-docs.sgml:
16694         * docs/gst/gstreamer-sections.txt:
16695         * docs/gst/gstreamer.types:
16696         * docs/gst/gstreamer.types.in:
16697         * docs/plugins/Makefile.am:
16698         * docs/plugins/gstreamer-plugins-docs.sgml:
16699         * docs/plugins/gstreamer-plugins-sections.txt:
16700         * docs/plugins/gstreamer-plugins.types:
16701         * docs/plugins/inspect.stamp:
16702         * docs/plugins/inspect/plugin-coreelements.xml:
16703         * docs/plugins/inspect/plugin-coreindexers.xml:
16704         * docs/plugins/scanobj-build.stamp:
16705         * gstreamer.spec.in:
16706         * plugins/elements/Makefile.am:
16707         * plugins/elements/gstelements.c:
16708         * plugins/elements/gstfakesink.c:
16709         * plugins/elements/gstfakesrc.c:
16710         * plugins/elements/gstfilesink.c:
16711         * plugins/elements/gstfilesrc.c:
16712         * plugins/elements/gstqueue.c:
16713         * plugins/indexers/Makefile.am:
16714         * plugins/indexers/gstindexers.c:
16715           document core plugins in a separate document just like all the
16716           others
16717           rename these plugins to something starting with core
16718
16719 2005-12-01  Andy Wingo  <wingo@pobox.com>
16720
16721         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16722         padding here before, but it missed the commit.
16723
16724 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16725
16726         * libs/gst/controller/gstinterpolation.c:
16727           whitespace prices have crashed, we should feel free to use some now
16728           use gst_guint64_to_gdouble
16729
16730 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16731
16732         * libs/gst/controller/gstcontroller.c:
16733         * libs/gst/controller/gsthelper.c:
16734         * libs/gst/controller/gstinterpolation.c:
16735         * libs/gst/controller/lib.c:
16736           wrap config.h include
16737
16738 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16739
16740         * docs/gst/gstreamer-sections.txt:
16741           update docs
16742
16743 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16744
16745         * plugins/elements/gstelements.c:
16746         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16747         (gst_fd_sink__class_init), (gst_fd_sink__init),
16748         (gst_fd_sink__chain), (gst_fd_sink__set_property),
16749         (gst_fd_sink__get_property):
16750         * plugins/elements/gstfdsink.h:
16751         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16752         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16753         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16754         (gst_fd_src_unlock), (gst_fd_src_set_property),
16755         (gst_fd_src_get_property), (gst_fd_src_create),
16756         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16757         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16758         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16759         (gst_fd_src_uri_handler_init):
16760         * plugins/elements/gstfdsrc.h:
16761         * plugins/elements/gstqueue.c: (gst_queue_get_type):
16762           more anal cleanup
16763
16764 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16765
16766         * docs/gst/Makefile.am:
16767         * docs/gst/gstreamer.types.in:
16768         * gst/Makefile.am:
16769           fix the docs build
16770
16771 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16772
16773         * configure.ac:
16774         * gst/Makefile.am:
16775         * gst/gst.c:
16776         * gst/gstplugin.h:
16777         * gst/gstregistry.h:
16778         * tests/benchmarks/complexity.c:
16779         * tests/benchmarks/mass-elements.c:
16780         * tests/check/Makefile.am:
16781         * tools/Makefile.am:
16782         * tools/gst-inspect.c:
16783         * tools/gst-xmlinspect.c:
16784           various fixes to make
16785           --disable-nls --disable-registry --disable-loadsave
16786           --disable-parse --disable-gst-debug
16787           work and get the core .so down to 360444 bytes after stripping
16788
16789 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16790
16791         * Makefile.am:
16792         * configure.ac:
16793           descend into tests
16794         * docs/random/thomasvs/TODO:
16795         * tests/Makefile.am:
16796         * tests/README:
16797           add a README
16798
16799 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16800
16801         * win32/GStreamer.vcproj:
16802         * win32/MANIFEST:
16803         * win32/Makefile:
16804         * win32/Makefile.inspect:
16805         * win32/Makefile.launch:
16806         * win32/Makefile.register:
16807         * win32/README.txt:
16808         * win32/gst-inspect.vcproj:
16809         * win32/gst-launch.vcproj:
16810         * win32/gst-register.vcproj:
16811         * win32/gstelements.vcproj:
16812         * win32/gstgetbits.def:
16813         * win32/gstgetbits.vcproj:
16814         * win32/gstreamer-dbg.def:
16815         * win32/gstreamer.def:
16816         * win32/libgstbase.def:
16817         * win32/libgstbase.vcproj:
16818         * win32/link_oldruntime.c:
16819         * win32/mman.c:
16820         * win32/mman.h:
16821         * win32/mman.inl:
16822         * win32/msvc71.sln:
16823           move even more stuff, win32/ is nice and clean now
16824
16825 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16826
16827         * libs/gst/control/.cvsignore:
16828         * win32/MANIFEST:
16829         * win32/config.h:
16830         * win32/dirent.c:
16831         * win32/dirent.h:
16832         * win32/gstbytestream.def:
16833         * win32/gstbytestream.vcproj:
16834         * win32/gstconfig.h:
16835         * win32/gstenumtypes.c:
16836         * win32/gstenumtypes.h:
16837         * win32/gstoptimalscheduler.vcproj:
16838         * win32/gstversion.h:
16839         * win32/gtchar.h:
16840         * win32/testsuite/bins.vcproj:
16841         * win32/testsuite/bytestream.vcproj:
16842         * win32/testsuite/caps.vcproj:
16843         * win32/testsuite/cleanup.vcproj:
16844         * win32/testsuite/clock.vcproj:
16845         * win32/testsuite/debug.vcproj:
16846         * win32/testsuite/dlopen.vcproj:
16847         * win32/testsuite/dynparams.vcproj:
16848         * win32/testsuite/elements.vcproj:
16849         * win32/testsuite/ghostpads.vcproj:
16850         * win32/testsuite/indexers.vcproj:
16851         * win32/testsuite/negotiation.vcproj:
16852         * win32/testsuite/parse.vcproj:
16853         * win32/testsuite/plugin.vcproj:
16854         * win32/testsuite/refcounting.vcproj:
16855         * win32/testsuite/schedulers.vcproj:
16856         * win32/testsuite/states.vcproj:
16857         * win32/testsuite/tags.vcproj:
16858         * win32/testsuite/threads.vcproj:
16859           remove old win32 stuff that isn't maintained and should be
16860           reorganized
16861
16862 2005-11-30  Andy Wingo  <wingo@pobox.com>
16863
16864         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16865         loading the gst.interfaces python module bork.
16866
16867         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16868         available since GLib 2.2. Fixes #318031.
16869
16870 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16871
16872         * Makefile.am:
16873         * check/.cvsignore:
16874         * check/Makefile.am:
16875         * check/elements/.cvsignore:
16876         * check/elements/fakesrc.c:
16877         * check/elements/fdsrc.c:
16878         * check/elements/identity.c:
16879         * check/generic/.cvsignore:
16880         * check/generic/states.c:
16881         * check/gst-libs/.cvsignore:
16882         * check/gst-libs/controller.c:
16883         * check/gst-libs/gdp.c:
16884         * check/gst/.cvsignore:
16885         * check/gst/capslist.h:
16886         * check/gst/gst.c:
16887         * check/gst/gstbin.c:
16888         * check/gst/gstbuffer.c:
16889         * check/gst/gstbus.c:
16890         * check/gst/gstcaps.c:
16891         * check/gst/gstelement.c:
16892         * check/gst/gstevent.c:
16893         * check/gst/gstghostpad.c:
16894         * check/gst/gstiterator.c:
16895         * check/gst/gstmessage.c:
16896         * check/gst/gstminiobject.c:
16897         * check/gst/gstobject.c:
16898         * check/gst/gstpad.c:
16899         * check/gst/gstpipeline.c:
16900         * check/gst/gstplugin.c:
16901         * check/gst/gstsegment.c:
16902         * check/gst/gststructure.c:
16903         * check/gst/gstsystemclock.c:
16904         * check/gst/gsttag.c:
16905         * check/gst/gstutils.c:
16906         * check/gst/gstvalue.c:
16907         * check/net/.cvsignore:
16908         * check/net/gstnetclientclock.c:
16909         * check/net/gstnettimeprovider.c:
16910         * check/pipelines/.cvsignore:
16911         * check/pipelines/cleanup.c:
16912         * check/pipelines/simple_launch_lines.c:
16913         * check/pipelines/stress.c:
16914         * check/states/.cvsignore:
16915         * check/states/sinks.c:
16916         * configure.ac:
16917         * examples/Makefile.am:
16918         * examples/appreader/.cvsignore:
16919         * examples/appreader/Makefile.am:
16920         * examples/appreader/appreader.c:
16921         * examples/controller/.cvsignore:
16922         * examples/controller/Makefile.am:
16923         * examples/controller/audio-example.c:
16924         * examples/cutter/.cvsignore:
16925         * examples/cutter/Makefile.am:
16926         * examples/cutter/cutter.c:
16927         * examples/cutter/cutter.h:
16928         * examples/events/Makefile.am:
16929         * examples/events/seek.c:
16930         * examples/helloworld/.cvsignore:
16931         * examples/helloworld/Makefile.am:
16932         * examples/helloworld/helloworld.c:
16933         * examples/helloworld2/.cvsignore:
16934         * examples/helloworld2/Makefile.am:
16935         * examples/helloworld2/helloworld2.c:
16936         * examples/launch/.cvsignore:
16937         * examples/launch/Makefile.am:
16938         * examples/launch/mp3parselaunch.c:
16939         * examples/launch/mp3play:
16940         * examples/manual/.cvsignore:
16941         * examples/manual/Makefile.am:
16942         * examples/manual/extract.pl:
16943         * examples/metadata/Makefile.am:
16944         * examples/metadata/read-metadata.c:
16945         * examples/mixer/.cvsignore:
16946         * examples/mixer/Makefile.am:
16947         * examples/mixer/mixer.c:
16948         * examples/mixer/mixer.h:
16949         * examples/pingpong/.cvsignore:
16950         * examples/pingpong/Makefile.am:
16951         * examples/pingpong/pingpong.c:
16952         * examples/plugins/.cvsignore:
16953         * examples/plugins/Makefile.am:
16954         * examples/plugins/example.c:
16955         * examples/plugins/example.h:
16956         * examples/pwg/.cvsignore:
16957         * examples/pwg/Makefile.am:
16958         * examples/pwg/extract.pl:
16959         * examples/queue/.cvsignore:
16960         * examples/queue/Makefile.am:
16961         * examples/queue/queue.c:
16962         * examples/queue2/.cvsignore:
16963         * examples/queue2/Makefile.am:
16964         * examples/queue2/queue2.c:
16965         * examples/queue3/.cvsignore:
16966         * examples/queue3/Makefile.am:
16967         * examples/queue3/queue3.c:
16968         * examples/queue4/.cvsignore:
16969         * examples/queue4/Makefile.am:
16970         * examples/queue4/queue4.c:
16971         * examples/retag/.cvsignore:
16972         * examples/retag/Makefile.am:
16973         * examples/retag/retag.c:
16974         * examples/retag/transcode.c:
16975         * examples/thread/.cvsignore:
16976         * examples/thread/Makefile.am:
16977         * examples/thread/thread.c:
16978         * examples/typefind/.cvsignore:
16979         * examples/typefind/Makefile.am:
16980         * examples/typefind/typefind.c:
16981         * examples/xml/.cvsignore:
16982         * examples/xml/Makefile.am:
16983         * examples/xml/createxml.c:
16984         * examples/xml/runxml.c:
16985         * tests/Makefile.am:
16986         * tests/check/Makefile.am:
16987         * testsuite/.cvsignore:
16988         * testsuite/Makefile.am:
16989         * testsuite/Rules:
16990         * testsuite/caps/.cvsignore:
16991         * testsuite/caps/Makefile.am:
16992         * testsuite/caps/app_fixate.c:
16993         * testsuite/caps/audioscale.c:
16994         * testsuite/caps/caps.c:
16995         * testsuite/caps/caps.h:
16996         * testsuite/caps/caps_strings:
16997         * testsuite/caps/compatibility.c:
16998         * testsuite/caps/deserialize.c:
16999         * testsuite/caps/enumcaps.c:
17000         * testsuite/caps/eratosthenes.c:
17001         * testsuite/caps/filtercaps.c:
17002         * testsuite/caps/fixed.c:
17003         * testsuite/caps/fraction-convert.c:
17004         * testsuite/caps/fraction-multiply-and-zero.c:
17005         * testsuite/caps/intersect2.c:
17006         * testsuite/caps/intersection.c:
17007         * testsuite/caps/normalisation.c:
17008         * testsuite/caps/random.c:
17009         * testsuite/caps/renegotiate.c:
17010         * testsuite/caps/sets.c:
17011         * testsuite/caps/simplify.c:
17012         * testsuite/caps/string-conversions.c:
17013         * testsuite/caps/structure.c:
17014         * testsuite/caps/subtract.c:
17015         * testsuite/caps/union.c:
17016         * testsuite/debug/.cvsignore:
17017         * testsuite/debug/Makefile.am:
17018         * testsuite/debug/category.c:
17019         * testsuite/debug/commandline.c:
17020         * testsuite/debug/global.c:
17021         * testsuite/debug/output.c:
17022         * testsuite/debug/printf_extension.c:
17023         * testsuite/dlopen/.cvsignore:
17024         * testsuite/dlopen/Makefile.am:
17025         * testsuite/dlopen/dlopen_gst.c:
17026         * testsuite/dlopen/loadgst.c:
17027         * testsuite/elements/.cvsignore:
17028         * testsuite/elements/Makefile.am:
17029         * testsuite/elements/gst-inspect-check.in:
17030         * testsuite/elements/struct_i386.h:
17031         * testsuite/elements/struct_size.c:
17032         * testsuite/indexers/.cvsignore:
17033         * testsuite/indexers/Makefile.am:
17034         * testsuite/indexers/cache1.c:
17035         * testsuite/indexers/indexdump.c:
17036         * testsuite/parse/.cvsignore:
17037         * testsuite/parse/Makefile.am:
17038         * testsuite/parse/parse1.c:
17039         * testsuite/parse/parse2.c:
17040         * testsuite/plugin/.cvsignore:
17041         * testsuite/plugin/Makefile.am:
17042         * testsuite/plugin/README:
17043         * testsuite/plugin/dynamic.c:
17044         * testsuite/plugin/linked.c:
17045         * testsuite/plugin/loading.c:
17046         * testsuite/plugin/registry.c:
17047         * testsuite/plugin/static.c:
17048         * testsuite/plugin/static2.c:
17049         * testsuite/plugin/testplugin.c:
17050         * testsuite/plugin/testplugin2.c:
17051         * testsuite/plugin/testplugin2_s.c:
17052         * testsuite/plugin/testplugin_s.c:
17053         * testsuite/refcounting/.cvsignore:
17054         * testsuite/refcounting/Makefile.am:
17055         * testsuite/refcounting/bin.c:
17056         * testsuite/refcounting/element.c:
17057         * testsuite/refcounting/element_pad.c:
17058         * testsuite/refcounting/mainloop.c:
17059         * testsuite/refcounting/mem.c:
17060         * testsuite/refcounting/mem.h:
17061         * testsuite/refcounting/object.c:
17062         * testsuite/refcounting/pad.c:
17063         * testsuite/refcounting/sched.c:
17064         * testsuite/refcounting/thread.c:
17065         * testsuite/states/.cvsignore:
17066         * testsuite/states/Makefile.am:
17067         * testsuite/states/bin.c:
17068         * testsuite/states/locked.c:
17069         * testsuite/states/parent.c:
17070         * testsuite/threads/.cvsignore:
17071         * testsuite/threads/159566.c:
17072         * testsuite/threads/159852.c:
17073         * testsuite/threads/Makefile.am:
17074         * testsuite/threads/queue.c:
17075         * testsuite/threads/signals.c:
17076         * testsuite/threads/staticrec.c:
17077         * testsuite/threads/thread.c:
17078         * testsuite/threads/threadb.c:
17079         * testsuite/threads/threadc.c:
17080         * testsuite/threads/threadd.c:
17081         * testsuite/threads/threade.c:
17082         * testsuite/threads/threadf.c:
17083         * testsuite/threads/threadg.c:
17084         * testsuite/threads/threadh.c:
17085         * testsuite/threads/threadi.c:
17086           move all of these under tests
17087
17088 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17089
17090         * configure.ac:
17091         * tests/Makefile.am:
17092           fix distcheck
17093
17094 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17095
17096         * docs/gst/gstreamer-sections.txt:
17097         * tests/sched/.cvsignore:
17098         * tests/sched/Makefile.am:
17099         * tests/sched/cases/(fs-fs).xml:
17100         * tests/sched/cases/(fs-i-fs).xml:
17101         * tests/sched/cases/(fs-i-i-fs).xml:
17102         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17103         * tests/sched/dynamic-pipeline.c:
17104         * tests/sched/interrupt1.c:
17105         * tests/sched/interrupt2.c:
17106         * tests/sched/interrupt3.c:
17107         * tests/sched/runtestcases:
17108         * tests/sched/runxml.c:
17109         * tests/sched/sched-stress.c:
17110         * tests/sched/sort.c:
17111         * tests/sched/testcases:
17112         * tests/sched/testcases1.tc:
17113         * tests/seeking/.cvsignore:
17114         * tests/seeking/Makefile.am:
17115         * tests/seeking/seeking1.c:
17116         * tests/threadstate/.cvsignore:
17117         * tests/threadstate/Makefile.am:
17118         * tests/threadstate/test1.c:
17119         * tests/threadstate/test2.c:
17120         * tests/threadstate/threadstate1.c:
17121         * tests/threadstate/threadstate2.c:
17122         * tests/threadstate/threadstate3.c:
17123         * tests/threadstate/threadstate4.c:
17124         * tests/threadstate/threadstate5.c:
17125           remove obsolete tests
17126         * configure.ac:
17127         * tests/bench-complexity.scm:
17128         * tests/bench-mass_elements.scm:
17129         * tests/complexity.c:
17130         * tests/complexity.gnuplot:
17131         * tests/instantiate/.cvsignore:
17132         * tests/instantiate/Makefile.am:
17133         * tests/instantiate/caps.c:
17134         * tests/mass_elements.c:
17135         * tests/network-clock-utils.scm:
17136         * tests/network-clock.scm:
17137         * tests/plot-data:
17138         First pass at cleaning up tests/ dir before moving the rest
17139         Combined with CVS surgery
17140
17141 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17142
17143         * po/POTFILES.in:
17144           queue has moved, update
17145
17146 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17147
17148         * docs/gst/gstreamer-sections.txt:
17149           remove double entries from the docs
17150         * gst/gst_private.h:
17151         * gst/gstinfo.c: (_gst_debug_init):
17152           remove the THREAD debug category
17153         * gst/Makefile.am:
17154         * gst/gstqueue.c:
17155         * gst/gstqueue.h:
17156         * docs/gst/gstreamer.types:
17157         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17158         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17159           completely move queue and fix up debugging categories
17160
17161 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17162
17163         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17164           make initialization portable, using LL is not
17165
17166 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17167
17168         * win32/common/gstconfig.h:
17169           add large padding
17170
17171 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17172
17173         * win32/common/libgstreamer.def:
17174           rename symbols; sort base section
17175
17176 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17177
17178         * gst/gstclock.c: (do_linear_regression):
17179           remove crack non-portable handrolled DEBUG macro
17180
17181 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17182
17183         * docs/random/release:
17184           update notes
17185         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17186         (gst_object_flags_get_type), (register_gst_bin_flags),
17187         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17188         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17189         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17190         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17191         (gst_caps_flags_get_type), (register_gst_clock_return),
17192         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17193         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17194         (gst_clock_flags_get_type), (register_gst_state),
17195         (gst_state_get_type), (register_gst_state_change_return),
17196         (gst_state_change_return_get_type), (register_gst_state_change),
17197         (gst_state_change_get_type), (register_gst_element_flags),
17198         (gst_element_flags_get_type), (register_gst_core_error),
17199         (gst_core_error_get_type), (register_gst_library_error),
17200         (gst_library_error_get_type), (register_gst_resource_error),
17201         (gst_resource_error_get_type), (register_gst_stream_error),
17202         (gst_stream_error_get_type), (register_gst_event_type_flags),
17203         (gst_event_type_flags_get_type), (register_gst_event_type),
17204         (gst_event_type_get_type), (register_gst_seek_type),
17205         (gst_seek_type_get_type), (register_gst_seek_flags),
17206         (gst_seek_flags_get_type), (register_gst_format),
17207         (gst_format_get_type), (register_gst_index_certainty),
17208         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17209         (gst_index_entry_type_get_type),
17210         (register_gst_index_lookup_method),
17211         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17212         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17213         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17214         (gst_index_flags_get_type), (register_gst_debug_level),
17215         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17216         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17217         (gst_iterator_result_get_type), (register_gst_iterator_item),
17218         (gst_iterator_item_get_type), (register_gst_message_type),
17219         (gst_message_type_get_type), (register_gst_mini_object_flags),
17220         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17221         (gst_pad_link_return_get_type), (register_gst_flow_return),
17222         (gst_flow_return_get_type), (register_gst_activate_mode),
17223         (gst_activate_mode_get_type), (register_gst_pad_direction),
17224         (gst_pad_direction_get_type), (register_gst_pad_flags),
17225         (gst_pad_flags_get_type), (register_gst_pad_presence),
17226         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17227         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17228         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17229         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17230         (gst_plugin_flags_get_type), (register_gst_rank),
17231         (gst_rank_get_type), (register_gst_query_type),
17232         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17233         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17234         (gst_tag_flag_get_type), (register_gst_task_state),
17235         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17236         (gst_alloc_trace_flags_get_type),
17237         (register_gst_type_find_probability),
17238         (gst_type_find_probability_get_type), (register_gst_uri_type),
17239         (gst_uri_type_get_type), (register_gst_parse_error),
17240         (gst_parse_error_get_type):
17241         * win32/common/gstenumtypes.h:
17242         * win32/common/gstversion.h:
17243           update visual studio generated files
17244
17245 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17246
17247         * win32/vs6/libgstbase.dsp:
17248         * win32/vs6/libgstelements.dsp:
17249           update project files for new locations
17250
17251 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17252
17253         * Makefile.am:
17254           remove some files
17255         * README:
17256           reinstate and update
17257         * DEVEL:
17258         * REQUIREMENTS:
17259           removed
17260         * LICENSE:
17261         * docs/random/LICENSE:
17262           moved to random
17263
17264 2005-11-30  Edward Hervey  <edward@fluendo.com>
17265
17266         * gst/gsttypefind.c: (gst_type_find_register):
17267         * gst/gsttypefind.h:
17268         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17269         (gst_type_find_factory_dispose):
17270         * gst/gsttypefindfactory.h:
17271         Fix memory leak in GstTypeFindFactory.
17272
17273 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17274
17275         * gst/gst.c:
17276         * plugins/elements/Makefile.am:
17277         * plugins/elements/gstelements.c:
17278         * plugins/elements/gstqueue.c:
17279           move queue from core to the elements plugin
17280
17281 2005-11-29  Andy Wingo  <wingo@pobox.com>
17282
17283         * libs/gst/base/gstbasetransform.h: 
17284         * libs/gst/base/gstbasesrc.h: 
17285         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17286
17287         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17288         of pointers by which to pad very extensible base classes (like the
17289         ones in libs/gst/base).
17290
17291 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17292
17293         * docs/gst/gstreamer-docs.sgml:
17294         * docs/gst/gstreamer-sections.txt:
17295         * docs/libs/gstreamer-libs-docs.sgml:
17296         * docs/libs/gstreamer-libs-sections.txt:
17297           moving documentation from core to lib
17298
17299 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17300
17301         * check/Makefile.am:
17302         * configure.ac:
17303         * docs/gst/Makefile.am:
17304         * gst/Makefile.am:
17305         * gst/base/.cvsignore:
17306         * gst/base/Makefile.am:
17307         * gst/base/README:
17308         * gst/base/gstadapter.c:
17309         * gst/base/gstadapter.h:
17310         * gst/base/gstbasesink.c:
17311         * gst/base/gstbasesink.h:
17312         * gst/base/gstbasesrc.c:
17313         * gst/base/gstbasesrc.h:
17314         * gst/base/gstbasetransform.c:
17315         * gst/base/gstbasetransform.h:
17316         * gst/base/gstcollectpads.c:
17317         * gst/base/gstcollectpads.h:
17318         * gst/base/gstpushsrc.c:
17319         * gst/base/gstpushsrc.h:
17320         * gst/base/gsttypefindhelper.c:
17321         * gst/base/gsttypefindhelper.h:
17322         * gst/check/Makefile.am:
17323         * gst/check/gstcheck.c:
17324         * gst/check/gstcheck.h:
17325         * gst/net/Makefile.am:
17326         * gst/net/gstnet.h:
17327         * gst/net/gstnetclientclock.c:
17328         * gst/net/gstnetclientclock.h:
17329         * gst/net/gstnettimepacket.c:
17330         * gst/net/gstnettimepacket.h:
17331         * gst/net/gstnettimeprovider.c:
17332         * gst/net/gstnettimeprovider.h:
17333         * libs/gst/Makefile.am:
17334         * libs/gst/base/Makefile.am:
17335         * libs/gst/base/gstbasetransform.c:
17336         * libs/gst/check/Makefile.am:
17337         * plugins/elements/Makefile.am:
17338         * po/POTFILES.in:
17339           CVS surgery + support to move base, check, and net out of gst
17340           and into libs/gst
17341
17342 2005-11-29  Andy Wingo  <wingo@pobox.com>
17343
17344         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17345
17346         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17347         padding.
17348
17349         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17350
17351         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17352
17353         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17354
17355         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17356         padding; reduces object size by about 30%. We don't expect
17357         anything else to go into gstobject.
17358
17359         * gst/gstminiobject.h (struct _GstMiniObject)
17360         (struct _GstMiniObjectClass): Only one pointer of padding; the
17361         payload is only a pointer and two ints anyway. For the class there
17362         are only two methods as well.
17363         
17364         * gst/gstelement.h (struct _GstElementClass): Removed
17365         the state_changed signal callback, it is not used.
17366
17367 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17368
17369         * docs/gst/gstreamer.types:
17370           fix includes, though they are a little dinky
17371
17372 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17373
17374         * check/Makefile.am:
17375           look in the right place for elements, a lot more chance of
17376           success
17377         * gst/Makefile.am:
17378           remove indexers and elements subdirs
17379         * plugins/Makefile.am:
17380           make indexers conditional
17381
17382 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17383
17384         * Makefile.am:
17385         * configure.ac:
17386         * plugins/elements/Makefile.am:
17387         * plugins/elements/gstcapsfilter.c:
17388         * plugins/elements/gstfilesink.c:
17389         * plugins/elements/gstfilesrc.c:
17390         * plugins/elements/gstidentity.c:
17391         * plugins/indexers/Makefile.am:
17392           do CVS surgery and related build fixery to move elements
17393           and indexers in a new gstreamer/plugins directory, out of the
17394           gst/ directory
17395
17396 2005-11-29  Andy Wingo  <wingo@pobox.com>
17397
17398         * check/Makefile.am:
17399         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17400         * pkgconfig/gstreamer-net.pc.in:
17401         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17402         #322257.
17403
17404 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17405
17406         * tools/Makefile.am:
17407         * tools/gst-complete.1.in:
17408         * tools/gst-complete.c:
17409         * tools/gst-compprep.1.in:
17410         * tools/gst-compprep.c:
17411           removing -compprep and -complete
17412
17413 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17414
17415         * gst/gstevent.c: (gst_event_new_new_segment),
17416         (gst_event_parse_new_segment):
17417         * gst/gstevent.h:
17418           fix #320529 - clean up new_segment API and structure.
17419           Let's hope everyone was using the methods, and not the structure.
17420
17421 2005-11-29  Edward Hervey  <edward@fluendo.com>
17422
17423         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17424         (gst_base_sink_event), (gst_base_sink_do_sync),
17425         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17426         Properly handle non GST_FORMAT_TIME segment
17427         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17428         Properly handle non GST_FORMAT_TIME segment
17429         * gst/gstsegment.c:
17430         This function is valid if the accumulator is 0 and the format
17431         is different from the requested format.
17432         
17433 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17434
17435         * docs/gst/gstreamer-sections.txt:
17436         Add gst_query_new_seeking and gst_query_parse_seeking to the
17437         docs.
17438
17439 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17440
17441         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17442           Treat a pad alloc with new caps the same as if we were not
17443           negotiated, in order to allow a changing upstream output
17444           to produce a new format of data.
17445
17446 2005-11-29  Edward Hervey  <edward@fluendo.com>
17447
17448         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17449         (gst_base_transform_event), (gst_base_transform_eventfunc):
17450         The event virtual method is now properly implemented, with a default
17451         handler
17452         Sub classes should call the parent_class event method. They should
17453         return FALSE if they had a problem handling the given event, or don't
17454         want GstBaseTransform to send that even downstream
17455         * gst/elements/gstidentity.c: (gst_identity_class_init),
17456         (gst_identity_init), (gst_identity_event),
17457         (gst_identity_transform_ip), (gst_identity_set_property),
17458         (gst_identity_get_property):
17459         * gst/elements/gstidentity.h:
17460         Added the single-segment boolean property.
17461         If set to TRUE, it will output a single segment of data, starting from
17462         0, will eat up all incoming newsegment, and modify the timestamp of the
17463         buffers accordingly
17464
17465 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17466
17467         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17468           Don't ref NULL target pad (#322751). Improve docs.
17469
17470 2005-11-29  Michael Smith  <msmith@fluendo.com>
17471
17472         * gst/gstregistryxml.c: (load_plugin):
17473           Don't crash if we failed to load a feature from a plugin. 
17474
17475 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17476
17477         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17478         (GST_START_TEST):
17479           use more check API and less GLib API
17480
17481 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17482
17483         * Makefile.am:
17484           don't run checks if we don't have check
17485         * common/check.mak:
17486           remove the registry when running make torture
17487         * docs/gst/gstreamer-sections.txt:
17488           remove second multiply
17489         * gst/gstqueue.c: (gst_queue_loop):
17490           fix a compile warning when disabling debug
17491
17492 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17493
17494         * gst/gstinfo.h:
17495         Hey! Let's print the pad name if the pointer != NULL instead
17496         of when it == NULL :-)
17497
17498 2005-11-28  Wim Taymans  <wim@fluendo.com>
17499
17500         * check/gst/gstutils.c: (GST_START_TEST):
17501         Updated check, add some scaling accuracy checking code.
17502
17503         * gst/gstutils.c: (gst_util_div128_64),
17504         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17505         (gst_util_uint64_scale_int):
17506         Fix 6 times faster division code. Optimize for common 
17507         1/1 and less common X/1 cases.
17508
17509 2005-11-28  Wim Taymans  <wim@fluendo.com>
17510
17511         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17512         More checks.
17513
17514         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17515         (do_linear_regression), (gst_clock_add_observation):
17516         Cleanups.
17517         Release lock when the clock cannot be slaved.
17518         Catch the case where the regression returned an invalid denominator.
17519
17520         * gst/gstutils.c: (gst_util_div128_64_iterate),
17521         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17522         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17523         Add protentially more performant non-iterative 128/64 divide function
17524         that unfortunatly does not work yet.
17525         Shortcut the trivial 0/X = 0 case.
17526         Remove the warnings on overflow.
17527
17528 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17529
17530         * gst/gstplugin.c: (gst_plugin_register_func):
17531           everything causing a plugin not to load should be at least a WARNING
17532
17533 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17534
17535         * docs/random/ensonic/dparams.txt:
17536           some TODOs for the next dev cycle
17537         * libs/gst/controller/gstcontroller.c:
17538         (gst_controlled_property_set_interpolation_mode),
17539         (gst_controlled_property_new):
17540         * libs/gst/controller/gstcontroller.h:
17541           use base type to assign acccessor functions
17542
17543 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17544
17545         * check/Makefile.am:
17546         Oops, that should have been top_srcdir
17547
17548 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17549
17550         * check/Makefile.am:
17551         * check/elements/fdsrc.c: (GST_START_TEST):
17552         Use a cmdline define to specify the location of a file to use for
17553         testing, to avoid breaking distcheck.
17554
17555 2005-11-28  Andy Wingo  <wingo@pobox.com>
17556
17557         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17558
17559 2005-11-28  Edward Hervey  <edward@fluendo.com>
17560
17561         * tools/gst-launch.c: (main):
17562         Clarify the output strings, makes it easier to translate.
17563         Fixes #322626
17564
17565 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17566
17567         * gst/Makefile.am:
17568           don't try and build net if we don't even have <sys/socket.h>
17569
17570 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17571
17572         * check/Makefile.am:
17573         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17574         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17575           Add tests for fdsrc seekability
17576
17577         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17578         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17579         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17580         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17581         * gst/elements/gstfdsrc.h:
17582           fdsrc should not be a 'live' source.
17583           Implement seeking on seekable fd's.
17584
17585         * gst/gstquery.c: (gst_query_new_seeking),
17586         (gst_query_parse_seeking):
17587         * gst/gstquery.h:
17588           Implement SEEKING query functions: 
17589             *_new_seeking and *_parse_seeking
17590
17591 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17592
17593         * gst/gstelement.c: (gst_element_dispose):
17594           don't loop forever
17595
17596         * gst/gstiterator.c:
17597         * gst/gststructure.c:
17598           doc fixes
17599
17600         * libs/gst/controller/gstcontroller.c:
17601         (gst_controlled_property_set_interpolation_mode):
17602         * libs/gst/controller/gstcontroller.h:
17603         * libs/gst/controller/gstinterpolation.c:
17604         (interpolate_none_get_enum_value_array):
17605           support controlling enums
17606
17607 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17608
17609         * gst/gstvalue.c:
17610           Improve documentation for gst_value_union().
17611
17612         * gst/gstvalue.h:
17613           Change return value for union, intersect and subtract functions
17614           from gint to gboolean.
17615
17616 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17617
17618         * gst/gstvalue.c: (gst_value_serialize_any_list),
17619         (gst_value_transform_any_list_string),
17620         (gst_value_deserialize_list), (gst_value_deserialize_array),
17621         (gst_value_set_int_range), (gst_value_deserialize_int_range),
17622         (gst_value_set_double_range), (gst_value_deserialize_double_range),
17623         (gst_value_set_fraction_range_full),
17624         (gst_value_deserialize_fraction_range),
17625         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17626         (gst_value_deserialize_boolean),
17627         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17628         (gst_value_serialize_float), (gst_value_deserialize_float),
17629         (gst_string_wrap), (gst_value_deserialize_string),
17630         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17631         (gst_value_union_int_range_int_range),
17632         (gst_value_intersect_int_range_int_range),
17633         (gst_value_intersect_double_range_double_range),
17634         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17635         (gst_value_subtract_int_range_int_range),
17636         (gst_value_subtract_double_double_range),
17637         (gst_value_subtract_double_range_double_range),
17638         (gst_value_deserialize_fraction):
17639         * gst/gstvalue.h:
17640           Use gint, gdouble and gchar in our API instead of int, double and
17641           char (and make usage in gstvalue.c more consistent).
17642
17643 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17644
17645         * check/Makefile.am:
17646         * libs/gst/controller/Makefile.am:
17647         * libs/gst/dataprotocol/Makefile.am:
17648           fix up Makefile.am and remove GST_ENABLE_NEW
17649
17650 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17651
17652         * configure.ac:
17653         * gst/Makefile.am:
17654         * gst/base/Makefile.am:
17655         * gst/check/Makefile.am:
17656         * gst/elements/Makefile.am:
17657         * gst/net/Makefile.am:
17658           update LDFLAGS use some more
17659
17660 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17661
17662         * common/m4/gst-doc.m4:
17663           Fixes #312589
17664
17665 2005-11-26  Edward Hervey  <edward@fluendo.com>
17666
17667         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17668         This shouldn't issue a g_warning since it returns NULL if it
17669         couldn't find the plugin, and all functions using this behave
17670         properly on a NULL return. Switching to a GST_WARNING.
17671
17672 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
17673
17674         * gst/gstbin.c: (gst_bin_handle_message_func):
17675         Don't leak clock messages.
17676
17677 2005-11-25  Wim Taymans  <wim@fluendo.com>
17678
17679         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17680         (gst_util_uint64_scale_int):
17681         Optimisations, remove unneeded vars.
17682
17683 2005-11-25  Wim Taymans  <wim@fluendo.com>
17684
17685         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17686         Added more checks for the high precision uint64 cases.
17687
17688         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17689         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17690         Implement high precision (guint64 * guint64) / guint64.
17691
17692 2005-11-24  Wim Taymans  <wim@fluendo.com>
17693
17694         * gst/base/gstbasesrc.c: (gst_base_src_query):
17695         Fix wrong percentage query.
17696
17697         * gst/gstutils.c: (gst_util_uint64_scale),
17698         (gst_util_uint64_scale_int):
17699         Add some more common cases that can be handled 
17700         efficiently to _scale.
17701
17702 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17703
17704         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17705         (gst_mini_object_suite):
17706           don't use check calls from threads; check probably isn't
17707           threadsafe and using a lock to make it threadsafe would
17708           defeat the purpose of this check
17709         * gst/check/gstcheck.c:
17710         * gst/check/gstcheck.h:
17711           use GST_DEBUG some more
17712
17713 2005-11-24  Wim Taymans  <wim@fluendo.com>
17714
17715         * gst/gstutils.c: (gst_util_uint64_scale),
17716         (gst_util_uint64_scale_int):
17717         Chain trivial case to _scale_int.
17718
17719 2005-11-24  Wim Taymans  <wim@fluendo.com>
17720
17721         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17722         Added test for scaling.
17723
17724         * gst/gstclock.h:
17725         Small doc fix.
17726
17727         * gst/gstutils.c: (gst_util_uint64_scale_int):
17728         Implemented high precision scaling code.
17729
17730 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
17731
17732         * gst/gstinfo.h:
17733           do not crash on pad==NULL
17734
17735 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17736
17737         Patch by: Stefan Kost
17738
17739         * common/gtk-doc.mak:
17740         * docs/gst/Makefile.am:
17741         * docs/libs/Makefile.am:
17742           Fix distcheck issues for the libraries docs build
17743           Closes #319599.
17744
17745 2005-11-24  Michael Smith <msmith@fluendo.com>
17746
17747         * docs/manual/basics-helloworld.xml:
17748           Fix bug #315027: memory leak in example code in docs.
17749
17750 2005-11-24  Michael Smith <msmith@fluendo.com>
17751
17752         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17753           Unlock the PREROLL_LOCK in a failure case.
17754
17755 2005-11-24  Wim Taymans  <wim@fluendo.com>
17756
17757         * docs/gst/gstreamer-sections.txt:
17758         * gst/base/gstadapter.h:
17759         * gst/base/gstbasesink.h:
17760         * gst/base/gstbasesrc.h:
17761         * gst/base/gstbasetransform.h:
17762         * gst/base/gstpushsrc.h:
17763         * gst/elements/gstfakesink.h:
17764         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17765         * gst/elements/gstfakesrc.h:
17766         * gst/elements/gstfilesink.h:
17767         * gst/elements/gstfilesrc.h:
17768         * gst/gst.c:
17769         * gst/gstbin.c:
17770         * gst/gstbuffer.c: (_gst_buffer_copy):
17771         * gst/gstbus.h:
17772         * gst/gstcaps.c:
17773         * gst/gstchildproxy.c:
17774         * gst/gstclock.c:
17775         * gst/gstelement.c:
17776         * gst/gstelementfactory.c:
17777         * gst/gstelementfactory.h:
17778         * gst/gstevent.c:
17779         * gst/gstghostpad.h:
17780         * gst/gstindex.h:
17781         * gst/gstinterface.h:
17782         * gst/gstminiobject.c:
17783         * gst/gstminiobject.h:
17784         * gst/gstpad.c:
17785         * gst/gstpad.h:
17786         * gst/gstpadtemplate.h:
17787         * gst/gstpipeline.h:
17788         * gst/gstpluginfeature.h:
17789         * gst/gstquery.h:
17790         * gst/gstqueue.h:
17791         * gst/gsttaglist.c:
17792         * gst/gsttaglist.h:
17793         * gst/gsttagsetter.c:
17794         * gst/gsttagsetter.h:
17795         * gst/gsttrace.c:
17796         * gst/gsttrace.h:
17797         * gst/gsttypefind.h:
17798         * gst/gsturi.h:
17799         * gst/gstvalue.c:
17800         * gst/net/gstnetclientclock.c:
17801         * gst/net/gstnetclientclock.h:
17802         * gst/net/gstnettimepacket.c:
17803         * gst/net/gstnettimeprovider.c:
17804         * gst/net/gstnettimeprovider.h:
17805         Doc fixes.
17806
17807 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17808
17809         * configure.ac: back to HEAD
17810
17811 === release 0.9.6 ===
17812
17813 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
17814
17815         * configure.ac:
17816           releasing 0.9.6, "Always On Time"
17817
17818 2005-11-23  Wim Taymans  <wim@fluendo.com>
17819
17820         * docs/gst/gstreamer-sections.txt:
17821         * gst/glib-compat.c:
17822         * gst/gsttagsetter.c:
17823         * gst/gstvalue.c:
17824         * gst/net/gstnetclientclock.c:
17825         * gst/net/gstnettimepacket.h:
17826         Doc updates.
17827
17828 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17829
17830         * docs/faq/using.xml:
17831         * docs/libs/tmpl/gstcontrol.sgml:
17832         * docs/manual/advanced-dparams.xml:
17833         * docs/manual/appendix-checklist.xml:
17834         * docs/manual/basics-elements.xml:
17835         * docs/pwg/other-source.xml:
17836         * docs/random/moving-plugins:
17837         * gst/gstpad.c:
17838         * tools/gst-launch.1.in:
17839           remove mentions of sinesrc
17840
17841 2005-11-23  Michael Smith <msmith@fluendo.com>
17842
17843         * docs/gst/gstreamer-sections.txt:
17844           Update for new API and API changes.
17845         * gst/gstobject.h:
17846           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17847         * gst/gstvalue.c:
17848           Documentation typo fix.
17849         * gst/net/gstnettimepacket.c:
17850           Documentation fixes for arguments.
17851
17852 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
17853
17854         * gst/gststructure.c: (gst_structure_get_fraction),
17855         (gst_structure_parse_value),
17856         (gst_structure_fixate_field_nearest_fraction):
17857         * gst/gststructure.h:
17858         * gst/gstutils.c: (gst_util_uint64_scale_int):
17859         * gst/gstutils.h:
17860         * scripts/update-funcnames:
17861         API Changes. 
17862         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17863         Make gst_structure_fixate_field_nearest_fraction take a numerator
17864         and denominator argument instead of a GValue
17865         add gst_structure_get_fraction helper function.
17866
17867 2005-11-23  Wim Taymans  <wim@fluendo.com>
17868
17869         * docs/design/part-TODO.txt:
17870         Update TODO.
17871
17872         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17873         * gst/net/gstnetclientclock.h:
17874         Use parent fields for timeout and window_size.
17875
17876 2005-11-23  Andy Wingo  <wingo@pobox.com>
17877
17878         * check/net/gstnetclientclock.c (test_functioning): Adjust to
17879         rate_num/rate_denom change.
17880
17881         * gst/net/gstnetclientclock.c
17882         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17883         OBJECT_LOCK. Don't call add_observation with the lock.
17884
17885         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17886         fraction.
17887         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17888         rate fraction.
17889         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17890         deal with rate as a fraction whose numerator and denominator are
17891         GstClockTime values.
17892         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
17893         master; the other fields are protected by the SLAVE_LOCK.
17894         (do_linear_regression): Note that this must be called with the
17895         SLAVE_LOCK.
17896         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
17897         OBJECT_LOCK. Call set_calibration instead of touching the
17898         variables directly.
17899         (gst_clock_set_property, gst_clock_get_property): Protect
17900         master/slave parameters with the SLAVE_LOCK.
17901
17902         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
17903         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
17904         note that all of the instance variables that add_observation and
17905         the set_master functions use are protected by that lock and not
17906         the OBJECT_LOCK.
17907         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
17908
17909         * gst/gstclock.c (gst_clock_add_observation): No longer requires
17910         the caller to take the object lock.
17911
17912 2005-11-23  Wim Taymans  <wim@fluendo.com>
17913
17914         * gst/gsterror.c: (_gst_core_errors_init):
17915         * gst/gsterror.h:
17916         Add error for clock stuff.
17917
17918         * gst/gstpipeline.c: (gst_pipeline_change_state),
17919         (gst_pipeline_set_clock):
17920         Post clock error when clock cannot be used in a pipeline.
17921
17922 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
17923
17924         * docs/gst/gstreamer-sections.txt:
17925           make two symbols from gstinfo private for the docs
17926         * gst/base/gstcollectpads.h:
17927         * gst/gstutils.c:
17928           fix doc typos, update docs
17929
17930 2005-11-22  Wim Taymans  <wim@fluendo.com>
17931
17932         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17933         (gst_base_sink_wait), (gst_base_sink_do_sync),
17934         (gst_base_sink_handle_event):
17935         * gst/base/gstbasesink.h:
17936         No need to store the clock, the parent element class already
17937         has it.
17938
17939         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
17940         Updates for clock_set returning a gboolean
17941
17942         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
17943         (gst_clock_id_wait_async), (gst_clock_class_init),
17944         (gst_clock_init), (gst_clock_finalize),
17945         (gst_clock_get_internal_time), (gst_clock_get_time),
17946         (gst_clock_slave_callback), (gst_clock_set_master),
17947         (gst_clock_get_master), (do_linear_regression),
17948         (gst_clock_add_observation), (gst_clock_set_property),
17949         (gst_clock_get_property):
17950         * gst/gstclock.h:
17951         Implement master/slave. When setting a clock as a slave, a
17952         periodic timeout is scheduled to sample master and slave times.
17953         Then the slave clock is recalibrated to match offset and rate
17954         of the master clock.
17955         Update logging a bit.
17956         Add flag so that a clock can state that is cannot be slaved to
17957         another clock.
17958
17959         * gst/gstelement.c: (gst_element_set_clock):
17960         * gst/gstelement.h:
17961         The set clock returns a gboolean for when an element cannot
17962         deal with the selected clock in the pipeline. 
17963
17964         * gst/gstpipeline.c: (gst_pipeline_change_state),
17965         (gst_pipeline_set_clock):
17966         * gst/gstpipeline.h:
17967         Handle the case where the selected clock cannot be set on
17968         the pipeline.
17969
17970         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
17971         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
17972         (gst_net_client_clock_set_property),
17973         (gst_net_client_clock_get_property),
17974         (gst_net_client_clock_observe_times):
17975         * gst/net/gstnetclientclock.h:
17976         Use regression code in GstClock parent, remove duplicated
17977         functionality.
17978
17979 2005-11-22  Michael Smith <msmith@fluendo.com>
17980
17981         * gst/gstutils.c: (gst_util_clock_time_scale):
17982         * gst/gstutils.h:
17983         * docs/gst/gstreamer-sections.txt:
17984           Rename method to have extra underscore.
17985
17986 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17987
17988         * gst/elements/Makefile.am:
17989         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
17990         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
17991         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
17992         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
17993         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
17994         * gst/elements/gstfakesrc.h:
17995         * gst/gstqueue.c: (queue_leaky_get_type):
17996           correctly fix GEnumValues so that nick is the short lowercase
17997           dashed tag
17998         * tools/gst-inspect.c: (print_element_properties_info):
17999           also show the nick, since it's useful to use from parse_launch
18000           syntax
18001           Fixes #322139
18002
18003 2005-11-22  Michael Smith <msmith@fluendo.com>
18004
18005         * gst/gstutils.c: (gst_util_clocktime_scale):
18006         * gst/gstutils.h:
18007         * docs/gst/gstreamer-sections.txt:
18008           Add util method for scaling a clocktime by a fraction. Useful 
18009           implementation is left as an exercise for the reader.
18010
18011 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18012
18013         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18014         If needed, allocate storage in the destination value during
18015         collection.
18016
18017 2005-11-22  Edward Hervey  <edward@fluendo.com>
18018
18019         * docs/gst/gstreamer-sections.txt:
18020         * gst/Makefile.am:
18021         * gst/gst.h:
18022         * gst/gsturitype.c:
18023         * gst/gsturitype.h:
18024         * gst/gstutils.c: (gst_util_set_object_arg):
18025         * tools/gst-compprep.c: (main):
18026         * tools/gst-inspect.c: (print_element_properties_info):
18027         Removed GstURI, closes bug #321061
18028
18029 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18030
18031         * check/gst/gststructure.c: (GST_START_TEST):
18032         * gst/gststructure.c: (gst_structure_parse_value):
18033           Oops, broke automatic string type parsing.
18034           Add a test to catch it in future.
18035
18036 2005-11-22  Andy Wingo  <wingo@pobox.com>
18037
18038         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18039         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18040         Actually rename the function implementations. Grr.
18041
18042 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18043
18044         * check/gst/capslist.h:
18045           Comment test cases
18046         * check/gst/gststructure.c: (GST_START_TEST),
18047         (gst_structure_suite):
18048           Test automatic value type detection in gst_structure_from_string.
18049         * gst/gststructure.c: (gst_structure_parse_value):
18050           Add fraction as a type we try and guess automatically in
18051           caps/structure strings.
18052
18053 2005-11-22  Andy Wingo  <wingo@pobox.com>
18054
18055         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18056
18057         * gst/gsttagsetter.h:
18058         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18059         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18060         (gst_tag_setter_add_tag_valist)
18061         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18062         _add_values, _add_valist, and _add_valist_values. Since this is an
18063         interface the function suffixes should be more explicit so
18064         language binding don't end up with element.add_valist ->
18065         gst_tag_setter_add_valist, for example. Fixes #322069.
18066
18067 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18068
18069         * check/gst/gstcaps.c: (GST_START_TEST):
18070           Extend caps string tests to check that a caps to string
18071           conversion is reversible and produces the same caps.
18072
18073         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18074           Output "fraction" as the generic type fraction range, so caps
18075           serialisation and deserialisation works.
18076         * check/gst/capslist.h:
18077         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18078           Support 'MIN' and 'MAX' for deserialising fractions.
18079
18080 2005-11-22  Andy Wingo  <wingo@pobox.com>
18081
18082         * gst/gstevent.h (gst_event_new_new_segment)
18083         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18084         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18085         Renamed from *_newsegment, *_buffersize, *_notarget.
18086
18087         * scripts/update-funcnames: New script, performs the changes
18088         listed above.
18089
18090 2005-11-22  Wim Taymans  <wim@fluendo.com>
18091
18092         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18093         Make sure the GstFlowReturn is returned.
18094
18095         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18096         (gst_bus_add_signal_watch):
18097         * gst/gstbus.h:
18098         add gst_bus_add_signal_watch_full.
18099
18100         * gst/gstplugin.c: (gst_plugin_load_file):
18101         Small style cleanup.
18102
18103 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18104
18105         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18106           Block the fakesrc srcpad when we send an event, to avoid
18107           contention on the stream_lock causing random test failures.
18108
18109 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18110
18111         * check/gst/gstvalue.c: (GST_START_TEST):
18112         * gst/gstvalue.c: (gst_value_fraction_subtract):
18113           Fix subtraction.
18114
18115 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18116
18117         * gst/gst.h:
18118           include "gstchildproxy.h"
18119         * gst/gstchildproxy.h:
18120         * libs/gst/controller/gstcontroller.h:
18121           use G_GNUC_NULL_TERMINATED
18122
18123 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18124
18125         * check/gst/capslist.h:
18126         * check/gst/gstcaps.c: (GST_START_TEST):
18127         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18128         * gst/gststructure.c: (gst_structure_parse_range),
18129         (gst_structure_fixate_field_nearest_fraction):
18130         * gst/gststructure.h:
18131         * gst/gstvalue.c: (gst_value_init_fraction_range),
18132         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18133         (gst_value_collect_fraction_range),
18134         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18135         (gst_value_set_fraction_range_full),
18136         (gst_value_get_fraction_range_min),
18137         (gst_value_get_fraction_range_max),
18138         (gst_value_serialize_fraction_range),
18139         (gst_value_transform_fraction_range_string),
18140         (gst_value_compare_fraction_range),
18141         (gst_value_deserialize_fraction_range),
18142         (gst_value_intersect_fraction_fraction_range),
18143         (gst_value_intersect_fraction_range_fraction_range),
18144         (gst_value_subtract_fraction_fraction_range),
18145         (gst_value_subtract_fraction_range_fraction),
18146         (gst_value_subtract_fraction_range_fraction_range),
18147         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18148         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18149         (gst_value_transform_string_fraction), (_gst_value_initialize):
18150         * gst/gstvalue.h:
18151           Implement fraction ranges and extend GstFraction to support
18152           arithmetic subtraction, as well as deserialization from integer
18153           strings such as "100"
18154           Add a testsuite as for int and double range set operations
18155
18156 2005-11-21  Andy Wingo  <wingo@pobox.com>
18157
18158         * gst/gsttaglist.h: 
18159         * gst/gstcaps.h: 
18160         * gst/gststructure.h: Add glib-compat.h.
18161
18162 2005-11-21  Wim Taymans  <wim@fluendo.com>
18163
18164         * gst/gstbin.c: (gst_bin_change_state_func):
18165         Fix for #321595
18166
18167 2005-11-21  Wim Taymans  <wim@fluendo.com>
18168
18169         * gst/gstsegment.h:
18170         And add a nice define too.
18171
18172 2005-11-21  Wim Taymans  <wim@fluendo.com>
18173
18174         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18175         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18176         (gst_segment_set_duration), (gst_segment_set_last_stop),
18177         (gst_segment_set_seek), (gst_segment_set_newsegment),
18178         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18179         (gst_segment_clip):
18180         * gst/gstsegment.h:
18181         Make binding friendly.
18182
18183 2005-11-21  Andy Wingo  <wingo@pobox.com>
18184
18185         * gst/gsttagsetter.h: 
18186         * gst/gsttaglist.h: 
18187         * gst/gststructure.h: 
18188         * gst/gstcaps.h: 
18189         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18190         #319940.
18191
18192         * gst/gsterror.c (_gst_core_errors_init):
18193         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18194         category.
18195
18196         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18197         (noinst_HEADERS): noinst the -private.
18198
18199 2005-11-21  Michael Smith <msmith@fluendo.com>
18200
18201         * gst/gstplugin.h:
18202         * gst/gstregistry.h:
18203           Remove unimplemented declarations for which we can see no sensible
18204           use.
18205
18206 2005-11-21  Andy Wingo  <wingo@pobox.com>
18207
18208         * gst/gst.h: Include glib-compat.h.
18209
18210         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18211
18212         * gst/glib-compat.c: Include the public and the private header.
18213
18214         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18215
18216         * gst/gstvalue.c: 
18217         * gst/gstpad.c: 
18218         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18219
18220         * check/gst/gstevent.c (create_custom_events): Check that
18221         FLUSH_STOP is serialized.
18222
18223         * check/elements/identity.c (event_func): 
18224         * check/elements/fakesrc.c (event_func): No stream lock, the core
18225         takes it.
18226
18227         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18228         stream lock taking, yay.
18229
18230         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18231         ensure that core takes the stream lock.
18232
18233         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18234         lock name change.
18235
18236         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18237         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18238         it already. For the flush start we do take it though so we get the
18239         right preroll state change messages.
18240
18241         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18242         the stream lock here, the core does it for us.
18243
18244         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18245         GST_STREAM_GET_LOCK.
18246         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18247         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18248         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18249         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18250         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18251         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18252
18253         * gst/gstpad.c: Update for stream lock name change.
18254
18255         * gst/base/gstbasesink.c: Update for preroll lock name change.
18256
18257 2005-11-21  Wim Taymans  <wim@fluendo.com>
18258
18259         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18260         (gst_clock_get_master):
18261         * gst/gstclock.h:
18262         * gst/gstsystemclock.c: (gst_system_clock_init):
18263         Convert Clock flags to object flags.
18264         Added methods to manage master/slave clocks.
18265
18266 2005-11-21  Wim Taymans  <wim@fluendo.com>
18267
18268         * check/gst/gstsegment.c: (GST_START_TEST):
18269         * docs/design/part-TODO.txt:
18270         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18271         (gst_base_sink_event), (gst_base_sink_do_sync),
18272         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18273         (gst_base_sink_query), (gst_base_sink_change_state):
18274         * gst/base/gstbasesink.h:
18275         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18276         (gst_base_src_default_newsegment),
18277         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18278         (gst_base_src_get_range), (gst_base_src_loop),
18279         (gst_base_src_change_state):
18280         * gst/base/gstbasesrc.h:
18281         * gst/base/gstbasetransform.c:
18282         (gst_base_transform_prepare_output_buf),
18283         (gst_base_transform_event), (gst_base_transform_change_state):
18284         * gst/base/gstbasetransform.h:
18285         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18286         (gst_collect_pads_event):
18287         * gst/base/gstcollectpads.h:
18288         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18289         (gst_fake_src_create):
18290         * gst/elements/gstfakesrc.h:
18291         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18292         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18293         (gst_segment_set_last_stop), (gst_segment_set_seek),
18294         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18295         (gst_segment_to_running_time), (gst_segment_clip):
18296         * gst/gstsegment.h:
18297         More segment updates, replace code in plugins with segment
18298         helper functions.
18299
18300 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18301
18302         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18303         Don't ignore sscanf results
18304
18305 2005-11-21  Andy Wingo  <wingo@pobox.com>
18306
18307         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18308
18309         * *.h:
18310         * *.c: Ran scripts/update-macros. Oh yes.
18311
18312         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18313         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18314         GST_GET_LOCK, etc.
18315
18316         * scripts/update-macros: New script. Run it on your files to
18317         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18318         well.
18319
18320 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18321
18322         * docs/gst/Makefile.am:
18323         * docs/gst/gstreamer-docs.sgml:
18324         * docs/gst/gstreamer-sections.txt:
18325         * docs/gst/gstreamer.types:
18326         * gst/gstinfo.h:
18327           more docs fixes, add new api to the docs
18328
18329 2005-11-21  Andy Wingo  <wingo@pobox.com>
18330
18331         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18332         state_broadcast call.
18333
18334         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18335
18336 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18337
18338         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18339         function calls for arrays.
18340
18341 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18342
18343         * docs/random/ensonic/media-device-daemon.txt:
18344           wild idea, can this be done?
18345         * docs/gst/gstreamer-sections.txt:
18346         * gst/gsterror.h:
18347         * gst/gstfilter.c:
18348         * gst/gstfilter.h:
18349         * gst/gstplugin.h:
18350         * gst/gstpluginfeature.c:
18351         * gst/gsttrace.c:
18352         * gst/gstvalue.c:
18353         * gst/gstvalue.h:
18354           doc fixes and additions
18355
18356 2005-11-21  Andy Wingo  <wingo@pobox.com>
18357
18358         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18359         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18360         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18361         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18362         private to the basesrc implementation.
18363
18364         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18365         behalf of event function if necessary. It should no longer be
18366         necessary to take the stream lock in pad's event functions. Fixes
18367         #320299.
18368
18369 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18370         * docs/gst/gstreamer-sections.txt:
18371         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18372         (gst_structure_fixate_field_nearest_double),
18373         (gst_structure_fixate_field_boolean):
18374         * gst/gststructure.h:
18375         * win32/common/libgstreamer.def:
18376         * win32/gstreamer.def:
18377
18378         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18379         (#322027)
18380
18381 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18382
18383         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18384         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18385         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18386         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18387         (gst_fdsrc_uri_handler_init):
18388         * gst/elements/gstfdsrc.h:
18389           Port fd:// URI handler from 0.8 to fdsrc
18390
18391 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18392
18393         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18394         (gst_value_serialize_fourcc):
18395         * gst/gstvalue.h:
18396           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18397           consistent with our other format defines (#320324).
18398
18399 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18400
18401         * gst/gstvalue.c: (gst_value_is_fixed):
18402           Revert previous commit. Value lists are by definition
18403           not fixed, as they are a list of possible values.
18404
18405 2005-11-21  Andy Wingo  <wingo@pobox.com>
18406
18407         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18408         during the stable series if we need it. Fixes #319178.
18409
18410         * gst/gstevent.c (gst_event_new_filler): Removed.
18411
18412         * check/gst/gstevent.c: Update comment about filler events.
18413
18414 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18415
18416         * gst/gstvalue.c: (gst_value_is_fixed):
18417           Should handle both value arrays and value lists.
18418
18419 2005-11-21  Andy Wingo  <wingo@pobox.com>
18420
18421         patch by: Alessandro Dessina <alessandro nnva org>
18422
18423         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18424         functions to access arrays. Fixes #321962.
18425
18426 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18427
18428         * docs/gst/gstreamer.types:
18429           gst_collectpads_get_type => gst_collect_pads_get_type.
18430           
18431         * gst/base/gstbasetransform.c:
18432           Remove unused SIGNAL_HANDOFF enum.
18433
18434 2005-11-21  Andy Wingo  <wingo@pobox.com>
18435
18436         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18437         the event type (upstream, downstream, serialized). Renamed
18438         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18439         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18440         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18441
18442         * gst/gstevent.c: Update for new CUSTOM event names.
18443
18444         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18445
18446         * gst/gstevent.h:
18447         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18448         bug #319392.
18449
18450 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18451
18452         * docs/gst/gstreamer-sections.txt:
18453         * win32/common/libgstbase.def:
18454         * win32/libgstbase.def:
18455         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18456         (gst_collect_pads_class_init), (gst_collect_pads_init),
18457         (gst_collect_pads_finalize), (gst_collect_pads_new),
18458         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18459         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18460         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18461         (gst_collect_pads_start), (gst_collect_pads_stop),
18462         (gst_collect_pads_peek), (gst_collect_pads_pop),
18463         (gst_collect_pads_available), (gst_collect_pads_read),
18464         (gst_collect_pads_flush), (gst_collect_pads_event),
18465         (gst_collect_pads_chain):
18466         * gst/base/gstcollectpads.h:
18467           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18468           unimplemented functions as unimplemented. Add padding to
18469           GstCollectData. (#320766, #320423)
18470
18471 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18472
18473         * gst/gstmessage.c:
18474           Improve docs for DURATION message (usage of duration parameter)
18475           (#320113)
18476
18477 2005-11-20  Wim Taymans  <wim@fluendo.com>
18478
18479         * check/Makefile.am:
18480         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18481         (main):
18482         * gst/Makefile.am:
18483         * gst/gst.h:
18484         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18485         (gst_segment_set_seek), (gst_segment_set_newsegment),
18486         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18487         (gst_segment_clip):
18488         * gst/gstsegment.h:
18489         Added segment helper structure and methods. Not fully implemented
18490         yet.
18491         Added segment check.
18492
18493 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18494
18495         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18496           Add a deserialisation test for fractions
18497         * examples/metadata/read-metadata.c: (message_loop),
18498         (make_pipeline), (main):
18499           Fix up metadata reading sample.
18500         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18501           Debug format fix
18502         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18503           Don't try and fixate empty caps
18504         * gst/gst_private.h:
18505           Wrap in G_BEGIN_DECLS/G_END_DECLS
18506         * gst/gstvalue.c: (gst_value_collect_fraction),
18507         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18508         (gst_value_transform_string_fraction),
18509         (gst_value_compare_fraction):
18510           Add some extra guards to ensure that we don't end up 
18511           with an invalid denominator of 0 in a gstfraction and
18512           that fractions always get reduced.
18513
18514 2005-11-20  Wim Taymans  <wim@fluendo.com>
18515
18516         * docs/gst/gstreamer-sections.txt:
18517         * gst/gstbuffer.h:
18518         * gst/gstelement.c:
18519         * gst/gstformat.c:
18520         * gst/gstformat.h:
18521         * gst/gstindex.h:
18522         * gst/gstquery.c:
18523         * gst/gstquery.h:
18524         * gst/gstvalue.c:
18525         Doc fixes.
18526
18527 2005-11-20  Wim Taymans  <wim@fluendo.com>
18528
18529         * docs/design/part-TODO.txt:
18530         * gst/gstcaps.h:
18531         Make a proper enum of the flag.
18532
18533 2005-11-19  Wim Taymans  <wim@fluendo.com>
18534
18535         * docs/design/part-TODO.txt:
18536         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18537         (gst_format_to_quark), (gst_format_register):
18538         * gst/gstformat.h:
18539         * gst/gstquery.c: (_gst_query_initialize),
18540         (gst_query_type_get_name), (gst_query_type_to_quark),
18541         (gst_query_type_register):
18542         * gst/gstquery.h:
18543         Add type to quark and type to string conversions.
18544
18545 2005-11-19  Andy Wingo  <wingo@pobox.com>
18546
18547         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18548         #320097.
18549
18550 2005-11-19  Wim Taymans  <wim@fluendo.com>
18551
18552         * docs/design/part-TODO.txt:
18553         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18554         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18555         (gst_bin_handle_message_func):
18556         * gst/gstbin.h:
18557         Make message handling overridable.
18558
18559 2005-11-19  Andy Wingo  <wingo@pobox.com>
18560
18561         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18562
18563         * gst/gstclock.h:
18564         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18565         be a GstClockTime.
18566         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18567         is a GstClockTime. Fixes #321710.
18568
18569         * gst/gstclock.h (GstClock): Remove offset property. Add
18570         internal_calibration and external_calibration. Fix padding. Pad
18571         also by GstClockTime so we don't run into problems.
18572
18573         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18574         (gst_clock_get_rate_offset): Remove.
18575         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18576
18577         * gst/gstutils.h:
18578         * gst/gstutils.c (g_static_rec_cond_wait)
18579         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18580
18581         * gst/gstbin.c: Remove terrible continue_state prototype.
18582
18583         * gst/gstelement.h (gst_element_continue_state): Make public.
18584
18585         * gst/gstelement.h:
18586         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18587         by continue_state. Fixes #319389.
18588
18589         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18590         Really fixes #168438. However I don't see anywhere where the
18591         filter function is called... stupid GStreamer...
18592         
18593         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18594         don't have a dispose function, so it won't get called when the
18595         object is unreffed, but oh well!
18596
18597         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18598         allows a destroy function to be set so user_data can be freed.
18599         Fixes #168438.
18600         (gst_index_set_filter): Call gst_index_set_filter_full.
18601
18602         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18603
18604         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18605         string should produce an error, given the lack of a way to
18606         represent NULL strings. Fixes #165650.
18607         
18608         * gst/gstvalue.h: 
18609         * gst/gstvalue.c (gst_value_array_append_value) 
18610         (gst_value_array_prepend_value, gst_value_array_get_size) 
18611         (gst_value_array_get_value): New API, copied from
18612         gst_value_list_*, only operates on arrays.
18613         (gst_value_list_append_value, gst_value_list_prepend_value) 
18614         (gst_value_list_concat, gst_value_list_get_size) 
18615         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18616
18617         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18618         init_list, because it works on both.
18619         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18620         (gst_value_copy_list_or_array): Renamed from copy_list.
18621         (gst_value_free_list_or_array): Renamed from free_list.
18622         (gst_value_collect_list_or_array): Renamed from collect_list.
18623         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18624         (gst_value_list_or_array_peek_pointer): Renamed from
18625         list_peek_pointer.
18626         (_gst_value_array_value_table, _gst_value_list_value_table):
18627         Update value table functions.
18628         (gst_value_compare_list_or_array): Renamed from compare_list.
18629
18630         * gsttaglist.h: Whoops, foreach function returns void. Also fix
18631         some constness.
18632
18633         * gst/gsttaglist.c:
18634         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18635         GstTagList*. Fixes #143472.
18636
18637         * gst/gststructure.h: Clarify what the foreach/map functions can
18638         or can't do to their arguments.
18639
18640 2005-11-18  Wim Taymans  <wim@fluendo.com>
18641
18642         * gst/gstclock.c: (gst_clock_set_calibration),
18643         (gst_clock_get_calibration):
18644         Doc and API fixes.
18645         Calibration can be set with internal time equal to current
18646         internal time too.
18647
18648 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18649
18650         * gst/gsterror.c:
18651         * gst/gsterror.h:
18652           document
18653
18654 2005-11-18  Andy Wingo  <wingo@pobox.com>
18655
18656         * configure.ac: 
18657         * pkgconfig/gstreamer-net.pc.in:
18658         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18659         * pkgconfig/Makefile.am: Add net pkgconfig files.
18660
18661 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
18662
18663         * gst/gstcaps.c:
18664         * gst/gstghostpad.c:
18665         * gst/gsttrace.c:
18666         * gst/gstvalue.c:
18667         * gst/gstvalue.h:
18668           docs fixes
18669
18670 2005-11-18  Andy Wingo  <wingo@pobox.com>
18671
18672         * gst/net/gstnetclientclock.c: Turn off debugging.
18673
18674         * check/net/gstnetclientclock.c (test_functioning): Assert that the
18675         times connverge somewhat. Can't make a real test.
18676
18677         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18678         integer arithmetic. Return the minimum of the domain, which can be
18679         set as "internal" for gst_clock_set_calibration.
18680         (gst_net_client_clock_observe_times): Call _set_calibration.
18681         (gst_net_client_clock_new): Call _set_calibration instead of
18682         rate_offset.
18683
18684         * check/net/gstnetclientclock.c (test_functioning): Use the right
18685         adjustment api.
18686
18687         * gst/gstclock.h:
18688         * gst/gstclock.c (gst_clock_get_calibration) 
18689         (gst_clock_set_calibration): New functions, obsolete the ones I
18690         added yesterday. Doh. Precision issues mean we have to extrapolate
18691         from a point in the more recent past than 1970.
18692         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18693         obsolete.
18694         (gst_clock_adjust_unlocked): Use the right calibration data.
18695
18696 2005-11-18  Edward Hervey  <edward@fluendo.com>
18697
18698         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
18699         Also reset the ->current_* values in READY->PAUSED
18700
18701 2005-11-18  Andy Wingo  <wingo@pobox.com>
18702
18703         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18704         Whoops, check the right fd. Also add some debugging.
18705         (gst_net_client_clock_observe_times): Adjust for int64 offset.
18706         (do_linear_regression): Add a crapload of debugging. Subtract off
18707         the minimum values from the input series to discard unneeded bits.
18708         Use only int arithmetic. There is still double arithmetic when
18709         calculating the intercept that needs fixing. Return boolean to
18710         indicate success; FALSE would mean the domain or range is too
18711         great. Still needs fixes.
18712
18713 2005-11-18  Wim Taymans  <wim@fluendo.com>
18714
18715         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18716         For the current position in stream time, we need to subtract
18717         accumulated time.
18718         
18719         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18720         Release lock before calling the callback function of async
18721         entries.
18722
18723 2005-11-18  Andy Wingo  <wingo@pobox.com>
18724
18725         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18726         Port goes all the way to MAXUINT16.
18727
18728         * gst/net/gstnettimeprovider.c: Make the port range the same as
18729         for the kernel: 0 assigns, otherwise ports are less than
18730         MAXUINT16.
18731
18732         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18733         port change.
18734
18735         * check/net/gstnetclientclock.c (test_functioning): Add the start
18736         of another test. 
18737
18738 2005-11-18  Wim Taymans  <wim@fluendo.com>
18739
18740         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18741         (gst_bin_remove_func), (bin_bus_handler):
18742         * gst/gstbin.h:
18743         Removing a clock provider from a bin, triggers a clock lost message
18744         so that a new clock will be selected.
18745         Adding a clock to a bin triggers a clock provider message.
18746         Make sure we reselect a clock when we received a clock lost message.
18747         Keep a reference to the element that provided the clock.
18748
18749 2005-11-18  Andy Wingo  <wingo@pobox.com>
18750
18751         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18752         the clock initially so it produces values around the base time.
18753         (gst_net_client_clock_class_init): Typo fix.
18754         (gst_net_client_clock_thread): Add note on when the socket gets
18755         closed.
18756
18757 2005-11-17  Wim Taymans  <wim@fluendo.com>
18758
18759         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18760         Free remote and local time arrays.
18761
18762 2005-11-17  Wim Taymans  <wim@fluendo.com>
18763
18764         * gst/net/gstnetclientclock.c: (do_linear_regression),
18765         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18766         Fix compilation, uninitialized vars and a forgotten continue.
18767
18768 2005-11-17  Andy Wingo  <wingo@pobox.com>
18769
18770         * check/Makefile.am (check_PROGRAMS): 
18771         * check/net/gstnetclientclock.c: Add a most minimal test for the
18772         net client clock. More to come later.
18773
18774         * gst/net/gstnet.h: 
18775         * gst/net/Makefile.am: Add netclientclock.
18776
18777         * gst/net/gstnetclientclock.h:
18778         * gst/net/gstnetclientclock.c: New files, implement an untested
18779         GstClock that takes its time from a network time provider.
18780         Implements the algorithm in network-clock.scm.
18781
18782         * tests/network-clock.scm (*window-size*): Rename from
18783         *queue-length*.
18784         * tests/network-clock.scm (network-time): 
18785         * tests/network-clock-utils.scm (q-push): Update callers.
18786
18787 2005-11-17  Wim Taymans  <wim@fluendo.com>
18788
18789         * gst/gstbin.c: (gst_bin_provide_clock_func),
18790         (gst_bin_sort_iterator_new):
18791         And unref the child too..
18792
18793 2005-11-17  Wim Taymans  <wim@fluendo.com>
18794
18795         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18796         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18797         Refactor the sort iterator so it can be used while holding the
18798         LOCK too.
18799         Make clock selection select a clock closest to the source.
18800
18801 2005-11-17  Michael Smith <msmith@fluendo.com>
18802
18803         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18804         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18805         * gst/gstclock.h:
18806           Anonymous structs are a gcc (and some other compilers) extension, so
18807           don't use them. Since this is only for ABI-compatibility, and our
18808           API/ABI freeze is over in a few days, this whole thing will only
18809           last a few days, so don't bother trying to think up a meaningful
18810           name for the struct.
18811
18812 2005-11-17  Andy Wingo  <wingo@pobox.com>
18813
18814         * gst/gstclock.h (GstClock): Add rate and offset properties,
18815         preserving ABI stability. Add rate/offset accessors. Will file bug
18816         for the freeze break.
18817
18818         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18819         and offset, trying to keep precision and avoiding
18820         underflow/overflow.
18821         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18822         functions. Make gst_clock_set_time_adjust obsolete.
18823         (gst_clock_set_time_adjust): Note that this function is obsolete.
18824         Will file bug soon.
18825
18826         * gst/base/gstbasetransform.h: Make the ABI-stability hack
18827         greppable by using GST_PADDING-1+1.
18828
18829 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
18830
18831         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18832
18833         * gst/gstmessage.c: (gst_message_parse_clock_lost):
18834           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18835
18836         * gst/gstpadtemplate.h:
18837         * gst/gstpluginfeature.h:
18838           Don't use c++ style comments in headers (#321638).
18839
18840 2005-11-16  Andy Wingo  <wingo@pobox.com>
18841
18842         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18843         buffer.
18844
18845         * check/net/gstnettimeprovider.c: Check to see that the time
18846         provider actually provides times. Works, yo!
18847
18848 2005-11-16  Wim Taymans  <wim@fluendo.com>
18849
18850         * check/Makefile.am:
18851         Enable more tests.
18852
18853         * check/elements/fakesrc.c: (GST_START_TEST):
18854         Set element to NULL before disposing it.
18855
18856 2005-11-16  Andy Wingo  <wingo@pobox.com>
18857
18858         * gst/net/Makefile.am:
18859         * gst/net/gstnet.h:
18860         * gst/net/gstnettimeprovider.c: 
18861         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18862         provider, include it from gstnet.h, and add it to the build.
18863
18864         * gst/net/gstnettimepacket.h: 
18865         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18866         sending and receiving.
18867
18868 2005-11-16  Wim Taymans  <wim@fluendo.com>
18869
18870         * check/Makefile.am:
18871         Enable valgrind check.
18872
18873         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18874         (gst_fake_src_alloc_buffer):
18875         Fix memleak.
18876
18877 2005-11-16  Wim Taymans  <wim@fluendo.com>
18878
18879         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18880         Call parent finalize too.
18881
18882 2005-11-16  Wim Taymans  <wim@fluendo.com>
18883
18884         * check/Makefile.am:
18885         Enable valgrind check that should work fine now.
18886
18887         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18888         * gst/gstqueue.c: (gst_queue_init):
18889         Fix memleaks in pad allocation.
18890
18891 2005-11-16  Andy Wingo  <wingo@pobox.com>
18892
18893         * gst/net/Makefile.am:
18894         * gst/net/gstnet.h: New part of core to hold network elements and
18895         objects. Put in core because it exposes API that applications want
18896         to use. The library is named libgstnet-tempname right now because
18897         of the existing libgstnet in gst-plugins-base. Solution is
18898         probably to rename the one in plugins-base; will file a bug for
18899         the freeze break.
18900
18901         * gst/net/gstnettimeprovider.c: 
18902         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
18903         get_time call over the network.
18904
18905         * configure.ac: 
18906         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
18907
18908         * check/Makefile.am:
18909         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
18910         get additions shortly.
18911
18912 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18913
18914         * gst/gstpad.c: (gst_pad_new_from_static_template):
18915         * gst/gstpad.h:
18916           add gst_pad_new_from_static_template functions
18917         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
18918         (gst_check_setup_sink_pad):
18919         * gst/elements/gsttee.c: (gst_tee_init):
18920           and use them
18921
18922 2005-11-16  Wim Taymans  <wim@fluendo.com>
18923
18924         * gst/gstpad.c: (gst_pad_pause_task):
18925         Removed warning, it's not really an error either.
18926
18927 2005-11-16  Wim Taymans  <wim@fluendo.com>
18928
18929         * gst/base/gstbasetransform.c:
18930         (gst_base_transform_prepare_output_buf),
18931         (gst_base_transform_event):
18932         Check if the caps are NULL, this can happen if the element
18933         is shutting down and the pad caps are set to NULL.
18934
18935 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18936
18937         * gst/elements/gsttee.c: (gst_tee_init):
18938           fix pad template leak in tee
18939
18940 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18941
18942         * gst/glib-compat.c: (g_value_dup_gst_object):
18943         * gst/glib-compat.h:
18944         * gst/gstpad.c: (gst_pad_set_property):
18945           use gst_object_ref when setting the pad template; this will
18946           trigger the pad template leaks on GLib 2.6 and the slaves
18947
18948 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18949
18950         * gst/glib-compat.c: (gst_flags_get_first_value):
18951         * gst/glib-compat.h:
18952         * gst/gstregistryxml.c:
18953           remove functions copied from GLib 2.6
18954
18955 2005-11-16  Michael Smith <msmith@fluendo.com>
18956
18957         * gst/Makefile.am:
18958           Don't link against VALGRIND_LIBS. That was always the wrong thing to
18959           do, but only breaks with newer valgrind versions. We're not a
18960           valgrind tool, we have no link-time dependencies on libcoregrind.
18961
18962 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18963
18964         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18965           some debug changes
18966         * gst/gstmessage.h:
18967           typo fixes
18968
18969 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18970
18971         * gst/base/gstbasesrc.c: (gst_base_src_init):
18972         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18973         * gst/gstqueue.c: (gst_queue_init):
18974         * gst/gstregistryxml.c: (load_feature):
18975           Revert all these unrefs, they don't even pass make check !
18976
18977 2005-11-15  Johan Dahlin  <johan@gnome.org>
18978
18979         * gst/base/gstbasesrc.c: (gst_base_src_init):
18980         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18981         * gst/gstqueue.c: (gst_queue_init): 
18982         Free pad templates, fixes a couple of leaks.
18983
18984 2005-11-15  Daniel Fischer  <dan at f3c dot com>
18985
18986         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18987
18988         * gst/gstpad.c: (gst_pad_get_property):
18989           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
18990           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
18991           (#321452)
18992
18993 2005-11-15  Wim Taymans  <wim@fluendo.com>
18994
18995         * gst/gstevent.c:
18996         Small doc update.
18997
18998 2005-11-15  Andy Wingo  <wingo@pobox.com>
18999
19000         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19001
19002         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19003         using GST_CLOCK_TIME_NONE to disable base time management.
19004         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19005         time if it was NONE before.
19006         (gst_pipeline_change_state): Only munge the base time if
19007         stream_time != GST_CLOCK_TIME_NONE.
19008
19009         * check/gst/gstpipeline.c (test_base_time): Punt around the
19010         problem of the probe not being called, because that's not the
19011         issue I'm looking at. Add a check that setting stream_time to NONE
19012         disables base time management.
19013         
19014 2005-11-15  Wim Taymans  <wim@fluendo.com>
19015
19016         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19017         segment_stop == -1 at startup.
19018
19019         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19020         (gst_base_transform_change_state):
19021         Init segment values at start.
19022
19023 2005-11-15  Wim Taymans  <wim@fluendo.com>
19024
19025         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19026         0 segment values are 0 in any format.
19027
19028         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19029         * gst/base/gstbasetransform.h:
19030         Parse newsegment correctly in basetransform
19031
19032         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19033         Sync to clock using updated segment values.
19034
19035 2005-11-15  Andy Wingo  <wingo@pobox.com>
19036
19037         * check/gst/gstpipeline.c (test_base_time): Add check that the
19038         base time and stream time are reset correctly.
19039
19040 2005-11-15  Wim Taymans  <wim@fluendo.com>
19041
19042         * docs/design/part-TODO.txt:
19043         Some more TODO items.
19044
19045 2005-11-15  Andy Wingo  <wingo@pobox.com>
19046
19047         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19048         error if the user selected "no clock" as the clocking method.
19049
19050         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19051         timestamps with live capture.
19052
19053         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19054         is 0 but we are a live source, timestamp the buffers using the
19055         element's clock.
19056
19057 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19058
19059         * docs/gst/gstreamer-sections.txt:
19060         * gst/gsterror.c:
19061         * gst/gstghostpad.c:
19062         * gst/gstobject.h:
19063         * gst/gstxml.c:
19064           more section docs
19065
19066 2005-11-14  Wim Taymans  <wim@fluendo.com>
19067
19068         * common/gst.supp:
19069           add suppressions from Wim's Debian machine
19070
19071 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19072
19073         * common/gst.supp:
19074           add suppressions from Andy's AMD64 Ubuntu machine
19075
19076 2005-11-14  Andy Wingo  <wingo@pobox.com>
19077
19078         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19079         STATE_LOCK not necessary. Fixes #311489.
19080
19081         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19082         #305291.
19083
19084         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19085         this function is not implemented.
19086
19087 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19088
19089         * gst/base/gstbasetransform.c:
19090         (gst_base_transform_prepare_output_buf):
19091         Ref the source pad caps while we need them.
19092         Fixes (#321386)
19093
19094 2005-11-11  Wim Taymans  <wim@fluendo.com>
19095
19096         * docs/gst/gstreamer-sections.txt:
19097         Added some docs for GstCollectData.
19098
19099         * gst/base/gstadapter.c:
19100         Some small code example fix.
19101
19102         * gst/base/gstcollectpads.c:
19103         * gst/base/gstcollectpads.h:
19104         Document some more.
19105
19106 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19107
19108         * configure.ac: back to HEAD
19109
19110 === release 0.9.5 ===
19111
19112 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19113
19114         * configure.ac:
19115           releasing 0.9.5, "Bike Lunch Day"
19116
19117 2005-11-11  Wim Taymans  <wim@fluendo.com>
19118
19119         * gst/gstbuffer.c: (_gst_buffer_copy):
19120         Copy more flags.
19121
19122         * gst/gstcaps.c: (gst_caps_is_equal):
19123         Fix some docs.
19124         Make _is_equal fast in the trivial cases.
19125
19126         * gst/gstminiobject.c:
19127         * gst/gstminiobject.h:
19128         More docs. Spifify .h file.
19129
19130         * gst/gstutils.c:
19131         Small doc update.
19132
19133 2005-11-11  Wim Taymans  <wim@fluendo.com>
19134
19135         * gst/base/gstbasetransform.c:
19136         (gst_base_transform_prepare_output_buf),
19137         (gst_base_transform_handle_buffer):
19138         Small cleanups.
19139         If we're processing a buffer and need to allocate an output
19140         buffer, we cannot accept a format change. If we did get a 
19141         format change, we have to alloc a buffer ourselves of the 
19142         right size.
19143
19144 2005-11-11  Wim Taymans  <wim@fluendo.com>
19145
19146         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19147         While checking the flag for reentrancy in the gstcaps function
19148         is nice to detect recursive invocations, it also makes it 
19149         impossible to call getcaps from multiple threads, which must be
19150         possible. So, checking for recursive calls has to go.
19151
19152 2005-11-11  Michael Smith <msmith@fluendo.com>
19153
19154         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19155           Don't sync on buffers that fall partially outside our current
19156           segment. Prevents an assertion failure/abort playing some files.
19157
19158 2005-11-10  Andy Wingo  <wingo@pobox.com>
19159
19160         * check/gst/gstbin.c (test_message_state_changed_children): Style
19161         fix..
19162
19163         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19164         gst_bus_poll with the signal watch. Ensures that poll and a signal
19165         watch see the same messages.
19166
19167         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19168         a poll and a watch at the same time get the same messages.
19169
19170 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19171
19172         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19173         * gst/gstcaps.c: (gst_caps_intersect):
19174           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19175           and it's not needed.
19176
19177 2005-11-10  Wim Taymans  <wim@fluendo.com>
19178
19179         * docs/design/part-TODO.txt:
19180         Updated todo.
19181
19182 2005-11-10  Wim Taymans  <wim@fluendo.com>
19183
19184         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19185         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19186         (gst_base_src_do_sync), (gst_base_src_get_range):
19187         Implement clock sync in base class.
19188
19189 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19190
19191         patch by: Tim-Philipp Müller <tim at centricular dot net>
19192
19193         * gst/gststructure.c: (gst_structure_parse_field),
19194         (gst_structure_from_string):
19195           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19196           so that gst_parse_launch() can deal with spaces in filtered link
19197           caps (fixes #164479)
19198         * check/gst/capslist.h:
19199         * check/gst/gststructure.c: (GST_START_TEST):
19200           add unit tests for this change
19201
19202 2005-11-10  Wim Taymans  <wim@fluendo.com>
19203
19204         * docs/gst/gstreamer-sections.txt:
19205         * gst/gstelement.c:
19206         * gst/gstelement.h:
19207         Fix docs, move some STATE macros to private.
19208
19209 2005-11-10  Wim Taymans  <wim@fluendo.com>
19210
19211         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19212         Added check for bug #317341
19213
19214         * gst/gstbuffer.c:
19215         * gst/gstbuffer.h:
19216         Some more spiffifying.
19217
19218         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19219         Call peer linkfunction if we are a source pad. Totally fixes
19220         #317341
19221
19222         * gst/gstpad.c:
19223         Update docs, source pads should call the peer linkfunction
19224         so they can atomically perform the pad link.
19225
19226 2005-11-09  Wim Taymans  <wim@fluendo.com>
19227
19228         * gst/gstbuffer.c:
19229         * gst/gstbuffer.h:
19230         Uber-spiffy-spiffify some more.
19231
19232 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19233
19234         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19235         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19236         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19237         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19238         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19239         * gst/gstpad.c: (gst_pad_init):
19240           Use GST_DEBUG_FUNCPTR() more extensively.
19241
19242 2005-11-09  Wim Taymans  <wim@fluendo.com>
19243
19244         * gst/gstobject.c: (gst_object_class_init):
19245         * gst/gstobject.h:
19246         Documentation fixes.
19247
19248 2005-11-09  Edward Hervey  <edward@fluendo.com>
19249
19250         * gst/gsttypefindfactory.c:
19251         Fix docs.
19252         
19253 2005-11-09  Edward Hervey  <edward@fluendo.com>
19254
19255         * gst/base/gsttypefindhelper.c:
19256         * gst/gsttypefind.c:
19257         * gst/gsttypefind.h:
19258         Fix docs.
19259
19260 2005-11-09  Wim Taymans  <wim@fluendo.com>
19261
19262         * gst/gstiterator.c:
19263         Fix revision data.
19264
19265         * gst/gsttask.c:
19266         * gst/gsttask.h:
19267         Fix docs.
19268
19269 2005-11-09  Wim Taymans  <wim@fluendo.com>
19270
19271         * gst/gstevent.h:
19272         * gst/gsturi.h:
19273         Fix docs.
19274
19275 2005-11-09  Wim Taymans  <wim@fluendo.com>
19276
19277         * docs/gst/gstreamer-sections.txt:
19278         Moved the message async delivery private lock and cond
19279         to the private section.
19280
19281         * gst/gstmessage.c:
19282         * gst/gstmessage.h:
19283         Fixed docs.
19284
19285 2005-11-09  Edward Hervey  <edward@fluendo.com>
19286
19287         * docs/gst/gstreamer-sections.txt:
19288         * gst/gsturi.c:
19289         * gst/gsturi.h:
19290         Document GstURIHandler
19291
19292 2005-11-09  Wim Taymans  <wim@fluendo.com>
19293
19294         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19295         (gst_iterator_find_custom):
19296         * gst/gstiterator.h:
19297         Fix iterator docs.
19298
19299 2005-11-09  Wim Taymans  <wim@fluendo.com>
19300
19301         * gst/gstbin.h:
19302         Document another field.
19303
19304         * gst/gststructure.c:
19305         * gst/gststructure.h:
19306         Document.
19307
19308 2005-11-09  Wim Taymans  <wim@fluendo.com>
19309
19310         * gst/gstbin.h:
19311         Documented structs.
19312
19313 2005-11-09  Wim Taymans  <wim@fluendo.com>
19314
19315         * docs/gst/gstreamer-sections.txt:
19316         Added some new macros.
19317
19318         * gst/gstclock.c:
19319         * gst/gstclock.h:
19320         * gst/gstobject.h:
19321         Docs updates.
19322
19323 2005-11-09  Wim Taymans  <wim@fluendo.com>
19324
19325         * docs/design/part-TODO.txt:
19326         Some more items for the TODO
19327
19328         * gst/gstcaps.c:
19329         * gst/gstcaps.h:
19330         Document GstCaps.
19331
19332 2005-11-09  Andy Wingo  <wingo@pobox.com>
19333
19334         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19335         to work on something else now tho...
19336
19337         * gst/base/gstadapter.c: More adapter docs.
19338
19339         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19340         (gst_file_sink_stop): New functions, replace the state change
19341         handler.
19342         (gst_file_sink_class_init): Hook up the start and stop functions.
19343         (gst_file_sink_base_init): Don't set the state change handler any
19344         more. It was a bit ugly too, being set from here...
19345         (gst_file_sink_get_property, gst_file_sink_set_property):
19346         Cleanups...
19347         (gst_file_sink_set_location): More robust check that doesn't call
19348         GST_STATE. Ugggggg.
19349
19350 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19351
19352         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19353           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19354
19355 2005-11-08  Wim Taymans  <wim@fluendo.com>
19356
19357         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19358         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19359         (gst_base_sink_chain), (gst_base_sink_change_state):
19360         * gst/base/gstbasesink.h:
19361         * gst/base/gstbasesrc.h:
19362         * gst/gstelement.h:
19363         * gst/gstevent.h:
19364         Avoid excessive typechecking in macros.
19365
19366         * gst/gstminiobject.c: (gst_mini_object_get_type),
19367         (gst_mini_object_init), (gst_mini_object_new),
19368         (gst_mini_object_free):
19369         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19370         (gst_object_finalize):
19371         Remove cruft code, optimize alloc_trace.
19372
19373 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19374
19375         * docs/faq/gst-uninstalled:
19376           fix up PS1 for systems that try to reset it
19377
19378 2005-11-07  Wim Taymans  <wim@fluendo.com>
19379
19380         * gst/base/gstbasesrc.c: (gst_base_src_init),
19381         (gst_base_src_get_range):
19382         Set the segment_end to -1 initially. Fixed typefind.
19383
19384 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19385
19386         * gst/base/gstadapter.c:
19387           Debug category should be 'adapter', not 'GstAdapter'.
19388           
19389         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19390         (gst_collectpads_class_init), (gst_collectpads_init),
19391         (gst_collectpads_peek), (gst_collectpads_pop),
19392         (gst_collectpads_event), (gst_collectpads_chain):
19393           Add debug category and some debugging output. Use boilerplate
19394           macros. Remove some extraneous words from docs.
19395
19396 2005-11-05  Andy Wingo  <wingo@pobox.com>
19397
19398         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19399         macro.
19400
19401 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19402
19403         * docs/gst/gstreamer-sections.txt:
19404         * gst/gstcaps.h:
19405         * gst/gstinfo.c:
19406         * gst/gstminiobject.h:
19407         * gst/gstobject.h:
19408         * gst/gstutils.h:
19409           more docs added
19410
19411 2005-11-04  Wim Taymans  <wim@fluendo.com>
19412
19413         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19414         Small update to stop at the configured segment_end
19415         position.
19416
19417 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19418
19419         * gst/gstregistry.c:
19420         * gst/gstregistry.h:
19421           added missing docs
19422
19423 2005-11-04  Edward Hervey  <edward@fluendo.com>
19424
19425         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19426         Check if we are doing a segment seek and have arrived at the
19427         end of that segment.
19428
19429 2005-11-04  Wim Taymans  <wim@fluendo.com>
19430
19431         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19432         Don't leak a mutex unlock in case of an error.
19433
19434         * gst/gstbus.h:
19435         Doc fixes.
19436
19437 2005-11-04  Wim Taymans  <wim@fluendo.com>
19438
19439         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19440         (gst_bus_post):
19441         Get the context to wake up only once.
19442
19443 2005-11-03  Wim Taymans  <wim@fluendo.com>
19444
19445         * check/states/sinks.c: (GST_START_TEST):
19446         Uncomment fixed check.
19447
19448         * docs/design/part-TODO.txt:
19449         Updated TODO.
19450
19451         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19452         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19453         (gst_base_sink_get_position):
19454         If we are going to PLAYING, post the right pending state
19455         when we post the intermediate paused message.
19456
19457         * gst/gstelement.c: (gst_element_continue_state),
19458         (gst_element_set_state_func), (gst_element_change_state):
19459         Don't post state changes that were between the same state
19460         and were not ASYNC.
19461
19462 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19463
19464         * docs/gst/gstreamer-sections.txt:
19465         * gst/gstcaps.h:
19466         * gst/gstinfo.c:
19467         * gst/gstminiobject.h:
19468         * gst/gstobject.h:
19469         * gst/gstutils.h:
19470           more docs and doc style fixes
19471
19472 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19473
19474         * docs/gst/gstreamer-sections.txt:
19475         * gst/gstelement.c:
19476         * gst/gstminiobject.c:
19477         doc fixes
19478
19479 2005-11-03  Andy Wingo  <wingo@pobox.com>
19480
19481         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19482         state-changed messages actually have the right order and the right
19483         values.
19484
19485 2005-11-03  Wim Taymans  <wim@fluendo.com>
19486
19487         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19488         Added some more checks. Specifically the case where NO_PREROLL
19489         elements are in the pipeline.
19490
19491         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19492         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19493         (gst_base_sink_get_position):
19494         Post READY->PAUSED state change messages too.
19495         Fix bug where VOID was posted as pending state...
19496
19497         * gst/gstbin.c: (gst_bin_recalc_state):
19498         use _element_continue_state() to continue the state change.
19499
19500         * gst/gstelement.c: (gst_element_continue_state),
19501         (gst_element_commit_state), (gst_element_set_state_func),
19502         (gst_element_change_state), (gst_element_change_state_func):
19503         Lots of state change cleanups, assign the STATE_RETURN in
19504         a new continue_state() function that also propagates the
19505         last return value from a state change to the app.
19506         Update some debug statements with proper category.
19507
19508 2005-11-03  Wim Taymans  <wim@fluendo.com>
19509
19510         * docs/design/part-events.txt:
19511         * docs/design/part-gstpipeline.txt:
19512         * docs/design/part-messages.txt:
19513         * docs/design/part-overview.txt:
19514         * docs/design/part-seeking.txt:
19515         * docs/design/part-states.txt:
19516         * docs/design/part-trickmodes.txt:
19517         * docs/manual/advanced-position.xml:
19518         Small docs updates.
19519
19520         * gst/gstobject.h:
19521         People think !! is ugly, this looks better.
19522
19523         * gst/gstpad.c: (gst_pad_set_blocked_async):
19524         Remove !! since it's fixed elsewhere now.
19525
19526 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19527
19528         * gst/gstminiobject.h:
19529         * gst/gstobject.h:
19530           Add !! to _FLAG_IS_SET macros to make the result boolean.
19531
19532 2005-11-03  Edward Hervey  <edward@fluendo.com>
19533
19534         * gst/gstpad.c: (gst_pad_set_blocked_async):
19535         comparing a flag and a gboolean rarely returns coherent results...
19536         Added two characters (!!) to make that work correctly.
19537         
19538 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19539
19540         * gst/gstbus.c: (gst_bus_class_init):
19541           Fix some typos.
19542           
19543         * gst/gstqueue.c: (gst_queue_loop):
19544           Don't assume a miniobject that isn't a buffer is an
19545           event (it could be that there is a refcounting
19546           problem somewhere and the pointer is stale and
19547           refers to an already destroyed miniobject).
19548
19549 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19550
19551         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19552
19553 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19554
19555         * docs/manual/advanced-position.xml:
19556           Update seek example and explanations to current 0.9 API.
19557
19558         * gst/elements/gsttypefindelement.c:
19559         (gst_type_find_element_activate):
19560           Remove FIXME comment now that the found caps
19561           are unreffed.
19562
19563 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19564
19565         * gst/gstregistryxml.c: (load_feature):
19566           Add another GST_STR_NULL instance
19567
19568 2005-11-02  Edward Hervey  <edward@fluendo.com>
19569
19570         * gst/gstpad.c: (handle_pad_block):
19571         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19572         
19573 2005-11-02  Wim Taymans  <wim@fluendo.com>
19574
19575         * gst/gstbin.c:
19576         Fix typo in docs.
19577
19578         * gst/gstelement.c: (gst_element_commit_state):
19579         Remove unused value.
19580
19581         * gst/gstiterator.c:
19582         Mention that the returned element is reffed in the docs.
19583
19584 2005-11-02  Wim Taymans  <wim@fluendo.com>
19585
19586         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19587         (gst_pad_push), (gst_pad_push_event):
19588         Unlock blocked pads when they are flushed.
19589
19590 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19591
19592         * docs/README:
19593         * docs/gst/gstreamer-sections.txt:
19594         * gst/gstbin.c:
19595           doc updates
19596         * gst/gstregistry.c: (gst_registry_scan_path_level):
19597           fix for a nasty little missed situation where an installed plug-in
19598           which was in the cache did not get overridden by an uninstalled one
19599           which was earlier in the plugin path because the newly created plugin
19600           for the uninstalled one (not in the registry) didn't get its
19601           ->registered set to TRUE
19602
19603 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19604
19605         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19606         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19607         (gst_collectpads_is_active), (gst_collectpads_collect),
19608         (gst_collectpads_collect_range), (gst_collectpads_start),
19609         (gst_collectpads_stop), (gst_collectpads_peek),
19610         (gst_collectpads_pop), (gst_collectpads_available),
19611         (gst_collectpads_read), (gst_collectpads_flush):
19612           Guard public API with assertions.
19613         
19614         * gst/gstpad.c:
19615           Fix docs for gst_pad_set_link_function().
19616
19617 2005-11-02  Johan Dahlin  <johan@gnome.org>
19618
19619         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
19620         Unref found_caps after we used it.
19621
19622 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19623
19624         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19625           Don't try to ref NULL.
19626
19627 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19628
19629         * win32/common/config.h.in:
19630           provide a GST_FUNCTION that just gives a string for now
19631
19632 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19633
19634         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19635         (gst_object_flags_get_type), (register_gst_bin_flags),
19636         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19637         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19638         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19639         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19640         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19641         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19642         (gst_clock_flags_get_type), (register_gst_state),
19643         (gst_state_get_type), (register_gst_state_change_return),
19644         (gst_state_change_return_get_type), (register_gst_state_change),
19645         (gst_state_change_get_type), (register_gst_element_flags),
19646         (gst_element_flags_get_type), (register_gst_core_error),
19647         (gst_core_error_get_type), (register_gst_library_error),
19648         (gst_library_error_get_type), (register_gst_resource_error),
19649         (gst_resource_error_get_type), (register_gst_stream_error),
19650         (gst_stream_error_get_type), (register_gst_event_type),
19651         (gst_event_type_get_type), (register_gst_seek_type),
19652         (gst_seek_type_get_type), (register_gst_seek_flags),
19653         (gst_seek_flags_get_type), (register_gst_format),
19654         (gst_format_get_type), (register_gst_index_certainty),
19655         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19656         (gst_index_entry_type_get_type),
19657         (register_gst_index_lookup_method),
19658         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19659         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19660         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19661         (gst_index_flags_get_type), (register_gst_debug_level),
19662         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19663         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19664         (gst_iterator_result_get_type), (register_gst_iterator_item),
19665         (gst_iterator_item_get_type), (register_gst_message_type),
19666         (gst_message_type_get_type), (register_gst_mini_object_flags),
19667         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19668         (gst_pad_link_return_get_type), (register_gst_flow_return),
19669         (gst_flow_return_get_type), (register_gst_activate_mode),
19670         (gst_activate_mode_get_type), (register_gst_pad_direction),
19671         (gst_pad_direction_get_type), (register_gst_pad_flags),
19672         (gst_pad_flags_get_type), (register_gst_pad_presence),
19673         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19674         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19675         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19676         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19677         (gst_plugin_flags_get_type), (register_gst_rank),
19678         (gst_rank_get_type), (register_gst_query_type),
19679         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19680         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19681         (gst_tag_flag_get_type), (register_gst_task_state),
19682         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19683         (gst_alloc_trace_flags_get_type),
19684         (register_gst_type_find_probability),
19685         (gst_type_find_probability_get_type), (register_gst_uri_type),
19686         (gst_uri_type_get_type), (register_gst_parse_error),
19687         (gst_parse_error_get_type):
19688         * win32/common/gstversion.h:
19689           update win32 copies
19690
19691 2005-11-01  Luca Ognibene  <luogni@tin.it>
19692
19693         * gst/gst.c:
19694           fix docs. popt is dead, long live GOption.
19695
19696 2005-10-31  Wim Taymans  <wim@fluendo.com>
19697
19698         * gst/gstbuffer.h:
19699         Small doc fix.
19700
19701 2005-10-31  Andy Wingo  <wingo@pobox.com>
19702
19703         * Boo!
19704
19705         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19706
19707         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19708         need to serialize property notifications on GLib 2.8. GLib 2.6 has
19709         the possibility of deadlocks here if code calling notify() or
19710         set() has a lock that can be taken in another notify handler (ABBA
19711         with class lock and e.g. python GIL state lock).
19712
19713 2005-10-28  Julien MOUTTE  <julien@moutte.net>
19714
19715         * gst/gstbus.c: Doc updates.
19716
19717 2005-10-28  Wim Taymans  <wim@fluendo.com>
19718
19719         * docs/design/part-TODO.txt:
19720         * gst/gstiterator.c:
19721         * gst/gstsystemclock.c:
19722         * gst/gstsystemclock.h:
19723         Doc updates.
19724
19725 2005-10-28  Edward Hervey  <edward@fluendo.com>
19726
19727         * docs/gst/gstreamer-docs.sgml:
19728         * docs/gst/gstreamer-sections.txt:
19729         the GstURIType documentation page is private, it only defines GstURIType
19730         which should be defined in the GstURIHandler page
19731         
19732 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19733
19734         * gst/gstbin.c: (gst_bin_class_init):
19735         * gst/gstbin.h:
19736         * gst/gstutils.c:
19737         Documentation updates.
19738
19739 2005-10-28  Wim Taymans  <wim@fluendo.com>
19740
19741         * docs/gst/gstreamer-sections.txt:
19742         * gst/gstclock.c:
19743         * gst/gstclock.h:
19744         Documented the clocks.
19745
19746 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
19747
19748         * docs/gst/gstreamer-sections.txt:
19749           move some macros to private sections
19750         * gst/gstminiobject.c:
19751         * gst/gstminiobject.h:
19752           add descriptions provided by ds and some more
19753         * gst/gstpad.h:
19754           mark macro as to be removed
19755
19756 2005-10-28  Wim Taymans  <wim@fluendo.com>
19757
19758         * docs/design/part-TODO.txt:
19759         Add an item to TODO.
19760
19761         * gst/gstiterator.c: (gst_iterator_fold),
19762         (gst_iterator_find_custom):
19763         * gst/gstiterator.h:
19764         Add iterator docs.
19765
19766 2005-10-28  Wim Taymans  <wim@fluendo.com>
19767
19768         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19769         (gst_base_transform_init):
19770         Don't leak class.
19771
19772         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19773         An EOS event marks the queue as completely filled.
19774
19775 2005-10-27  Wim Taymans  <wim@fluendo.com>
19776
19777         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19778         (gst_base_sink_do_sync), (gst_base_sink_get_position):
19779         Some more debugging.
19780
19781         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19782         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19783         (gst_base_transform_event), (gst_base_transform_getrange),
19784         (gst_base_transform_chain):
19785         * gst/base/gstbasetransform.h:
19786         Fix debugging,
19787         Protect transform and concurrent buffer alloc with a new lock.
19788         Try not to break ABI/API.
19789
19790 2005-10-27  Wim Taymans  <wim@fluendo.com>
19791
19792         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19793         (gst_base_src_init), (gst_base_src_query),
19794         (gst_base_src_default_newsegment),
19795         (gst_base_src_configure_segment), (gst_base_src_do_seek),
19796         (gst_base_src_send_event), (gst_base_src_event_handler),
19797         (gst_base_src_pad_get_range), (gst_base_src_loop),
19798         (gst_base_src_unlock), (gst_base_src_default_negotiate),
19799         (gst_base_src_start), (gst_base_src_deactivate),
19800         (gst_base_src_activate_push), (gst_base_src_change_state):
19801         Move some stuff around and cleanup things.
19802
19803 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
19804
19805         * gst/base/gstbasesrc.c: (gst_base_src_query):
19806           Add missing break statements.
19807
19808 2005-10-27  Wim Taymans  <wim@fluendo.com>
19809
19810         * check/gst/gstbin.c: (GST_START_TEST):
19811         An extra refcount is taken in basesrc.
19812
19813         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19814         (gst_base_src_get_range), (gst_base_src_pad_get_range),
19815         (gst_base_src_loop):
19816         Small cleanups, check for flushing after being unlocked from the 
19817         LIVE_LOCK. take refcounts correctly (not yet everywhere).
19818         Don't send out EOS when going to READY.
19819
19820 2005-10-27  Wim Taymans  <wim@fluendo.com>
19821
19822         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19823         (gst_base_sink_get_position):
19824         Some more debug.
19825
19826         * gst/gstbin.c: (message_check), (bin_replace_message),
19827         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19828         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19829         (bin_query_duration_init), (bin_query_duration_fold),
19830         (bin_query_duration_done), (bin_query_generic_fold),
19831         (gst_bin_query):
19832         * tools/gst-launch.c: (main):
19833         Remove old option.
19834
19835 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
19836
19837         * examples/controller/audio-example.c: (main):
19838         * examples/queue/queue.c: (event_loop):
19839         * gst/base/gstbasetransform.h:
19840         * gst/gstelement.c: (gst_element_send_event):
19841         * gst/gstevent.h:
19842         * gst/gstpad.c: (gst_pad_send_event):
19843           fixing examples
19844           fixing docs typos
19845           changing log priority in error situations
19846
19847 2005-10-25  Wim Taymans  <wim@fluendo.com>
19848
19849         * gst/gstbin.c: (message_check), (bin_replace_message),
19850         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19851         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19852         (bin_query_duration_init), (bin_query_duration_fold),
19853         (bin_query_duration_done), (bin_query_generic_fold),
19854         (gst_bin_query):
19855         Some doc and debug updates.
19856         Cache previously requested query DURATION for speed. invalidate
19857         cached duration if element posts a DURATION message.
19858
19859 2005-10-25  Wim Taymans  <wim@fluendo.com>
19860
19861         * docs/design/part-TODO.txt:
19862         Update TODO.
19863
19864         * gst/gstbin.c: (message_check), (bin_replace_message),
19865         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19866         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19867         (bin_query_duration_init), (bin_query_duration_fold),
19868         (bin_query_duration_done), (bin_query_generic_fold),
19869         (gst_bin_query):
19870         Handle SEGMENT_START/DONE messages correctly.
19871         More evolved query algorithm that handles duration queries
19872         correctly.
19873
19874         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19875         (gst_element_get_state_func), (gst_element_abort_state),
19876         (gst_element_commit_state), (gst_element_lost_state):
19877         Some more debugging.
19878
19879         * gst/gstmessage.h:
19880         Added doc.
19881
19882 2005-10-25  Wim Taymans  <wim@fluendo.com>
19883
19884         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19885         Don't use invalid stream_time.
19886
19887         * gst/gstevent.c: (gst_event_new_newsegment):
19888         stream_time in newsegment cannot be undefined.
19889
19890 2005-10-24  Wim Taymans  <wim@fluendo.com>
19891
19892         * gst/gstbus.c:
19893         Doc fix.
19894
19895         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19896         (gst_queue_loop):
19897         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
19898
19899 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
19900
19901         * docs/libs/tmpl/gstdparam.sgml:
19902         * docs/libs/tmpl/gstdplinint.sgml:
19903         * docs/libs/tmpl/gstdpman.sgml:
19904         * docs/libs/tmpl/gstdpsmooth.sgml:
19905         * docs/libs/tmpl/gstunitconvert.sgml:
19906           these are obsolete
19907
19908 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19909
19910         * configure.ac:
19911           back to HEAD
19912
19913 === release 0.9.4 ===
19914
19915 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19916
19917         * configure.ac:
19918           releasing 0.9.4, "Tyrannosaurus Rex"
19919
19920 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
19921
19922         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19923         (gst_file_sink_get_current_offset):
19924           Use fseeko() and ftello() if available. When falling back on
19925           lseek() to get the current offset, fflush() first to make sure
19926           everything is up-to-date and we get the right offset.
19927
19928 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19929
19930         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19931         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19932         * gst/gsterror.c: (_gst_stream_errors_init):
19933         * gst/gsterror.h:
19934         * gst/gstqueue.c: (gst_queue_loop):
19935         * po/POTFILES.in:
19936           remove prematurely added error category and clean up the instances
19937
19938 2005-10-21  Wim Taymans  <wim@fluendo.com>
19939
19940         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19941         (gst_base_sink_get_position), (gst_base_sink_query),
19942         (gst_base_sink_change_state):
19943         Simply set the right flag when going to playing, that's all
19944         we need to do instead of calling a function inside the object
19945         lock (that could take the lock as well and deadlock)
19946
19947 2005-10-21  Wim Taymans  <wim@fluendo.com>
19948
19949         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
19950         (gst_base_src_loop):
19951         Don't warn, the peer element knows what to do best when
19952         the seek failed, it might try something else.
19953
19954 2005-10-21  Wim Taymans  <wim@fluendo.com>
19955
19956         * gst/base/gstbasesrc.c: (gst_base_src_init),
19957         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19958         Fix seeking.
19959
19960 2005-10-21  Wim Taymans  <wim@fluendo.com>
19961
19962         * docs/design/part-segments.txt:
19963         More docs.
19964
19965         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
19966         Correctly set caps, even on the subbufer.
19967
19968 2005-10-21  Wim Taymans  <wim@fluendo.com>
19969
19970         * docs/gst/gstreamer-docs.sgml:
19971         * docs/gst/gstreamer-sections.txt:
19972         * gst/gstelement.h:
19973         * gst/gstevent.c:
19974         * gst/gstevent.h:
19975         * gst/gstmessage.h:
19976         * gst/gstpad.h:
19977         * gst/gstparse.h:
19978         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
19979         * gst/gsttask.h:
19980         * gst/gstutils.c:
19981         * gst/gstutils.h:
19982         And 2% more doc coverage.
19983
19984 2005-10-21  Andy Wingo  <wingo@pobox.com>
19985
19986         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
19987         position reporting.
19988
19989 2005-10-20  Wim Taymans  <wim@fluendo.com>
19990
19991         * gst/gsterror.c: (gst_error_get_message):
19992         * gst/gstparse.h:
19993         * gst/gstquery.h:
19994         * gst/gststructure.c:
19995         * gst/gsttrace.c:
19996         * gst/gstutils.c:
19997         More docs.
19998
19999 2005-10-20  Wim Taymans  <wim@fluendo.com>
20000
20001         * gst/gstbuffer.h:
20002         * gst/gstpad.c:
20003         * gst/gstparse.c:
20004         Another 1% more coverage.
20005
20006 2005-10-20  Wim Taymans  <wim@fluendo.com>
20007
20008         * docs/gst/gstreamer-sections.txt:
20009         * gst/gstelement.c: (gst_element_get_state_func),
20010         (gst_element_abort_state), (gst_element_commit_state),
20011         (gst_element_lost_state):
20012         * gst/gstevent.h:
20013         * gst/gstquery.c: (gst_query_set_position),
20014         (gst_query_parse_position), (gst_query_set_duration),
20015         (gst_query_parse_duration), (gst_query_new_convert):
20016         * gst/gstutils.c:
20017         Yay! 1% more docs coverage.
20018
20019 2005-10-20  Wim Taymans  <wim@fluendo.com>
20020
20021         * gst/gstpad.h:
20022         * gst/gstquery.c: (gst_query_set_position),
20023         (gst_query_parse_position), (gst_query_set_duration),
20024         (gst_query_parse_duration), (gst_query_new_convert):
20025         * gst/gstquery.h:
20026         * gst/gstutils.c: (gst_element_query_convert):
20027         * gst/gstutils.h:
20028         Docs and consistency fixes.
20029
20030 2005-10-20  Wim Taymans  <wim@fluendo.com>
20031
20032         * gst/gsttask.c:
20033         * gst/gsttask.h:
20034         More docs.
20035
20036 2005-10-20  Wim Taymans  <wim@fluendo.com>
20037
20038         * gst/gstbin.c: (message_check), (bin_replace_message),
20039         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20040         (update_degree), (gst_bin_sort_iterator_next),
20041         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20042         Reworked the message handling a bit, cache the messages instead of
20043         only the senders. alows us to do more in the future.
20044
20045 2005-10-20  Wim Taymans  <wim@fluendo.com>
20046
20047         * docs/design/part-TODO.txt:
20048         Update TODO
20049
20050         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20051         (gst_base_sink_query):
20052         Don't use clock time to report position when in EOS.
20053
20054 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20055
20056         * tools/gst-inspect.c: (print_interfaces),
20057         (print_element_properties_info), (print_element_info):
20058           Fix interface output with gst-inspect -a; don't print
20059           newlines after double/float properties.
20060
20061 2005-10-20  Wim Taymans  <wim@fluendo.com>
20062
20063         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20064         (gst_base_sink_query):
20065         Speed up current position calculation.
20066
20067         * gst/base/gstbasesrc.c: (gst_base_src_query),
20068         (gst_base_src_default_newsegment):
20069         Correctly set stream position in newsegment.
20070
20071         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20072         (update_degree), (gst_bin_sort_iterator_next),
20073         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20074         * gst/gstmessage.c: (gst_message_new_custom):
20075         Clean up debugging info
20076
20077         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20078         (gst_queue_loop), (gst_queue_handle_src_query):
20079         Pause task faster.
20080
20081 2005-10-19  Wim Taymans  <wim@fluendo.com>
20082
20083         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20084         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20085         Fix query handling again.
20086
20087 2005-10-19  Wim Taymans  <wim@fluendo.com>
20088
20089         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20090         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20091         * gst/base/gstbasesrc.c: (gst_base_src_query):
20092         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20093         * gst/elements/gsttypefindelement.c:
20094         (gst_type_find_handle_src_query), (find_element_get_length),
20095         (gst_type_find_element_activate):
20096         API change fix.
20097
20098         * gst/gstquery.c: (gst_query_new_position),
20099         (gst_query_set_position), (gst_query_parse_position),
20100         (gst_query_new_duration), (gst_query_set_duration),
20101         (gst_query_parse_duration), (gst_query_set_segment),
20102         (gst_query_parse_segment):
20103         * gst/gstquery.h:
20104         Bundling query position/duration is not a good idea since duration
20105         does not change much and we don't want to recalculate it for every
20106         position query, so they are separated again..
20107         Base value in segment query is not needed.
20108
20109         * gst/gstqueue.c: (gst_queue_handle_src_query):
20110         * gst/gstutils.c: (gst_element_query_position),
20111         (gst_element_query_duration), (gst_pad_query_position),
20112         (gst_pad_query_duration):
20113         * gst/gstutils.h:
20114         Updates for query API change.
20115         Added some docs here and there.
20116
20117 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20118
20119         * check/gst/gstbin.c: (GST_START_TEST):
20120         * check/gst/gstghostpad.c: (GST_START_TEST):
20121         * check/pipelines/cleanup.c: (GST_START_TEST):
20122           wait on thread to die so we can check refcount correctly
20123
20124 2005-10-18  Wim Taymans  <wim@fluendo.com>
20125
20126         * check/pipelines/stress.c: (GST_START_TEST):
20127         Make check a little more time consuming.
20128
20129 2005-10-18  Wim Taymans  <wim@fluendo.com>
20130
20131         * check/Makefile.am:
20132         * check/pipelines/stress.c: (GST_START_TEST),
20133         (simple_launch_lines_suite), (main):
20134         Small state change torture test.
20135
20136         * docs/design/part-states.txt:
20137         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20138         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20139         (gst_base_sink_change_state):
20140         Never take state lock from streaming thread, clean up ugly
20141         hacks. Unfortunatly core does not yet support nice ways to
20142         async commit state.
20143         
20144         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20145         (bin_bus_handler):
20146         Start state recalc if a STATE_DIRTY message is posted, but only
20147         on the toplevel bin.
20148
20149         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20150         (gst_element_get_state_func), (gst_element_abort_state),
20151         (gst_element_commit_state), (gst_element_lost_state),
20152         (gst_element_set_state_func), (gst_element_change_state):
20153         * gst/gstelement.h:
20154         State variables are now protected with the LOCK, the state
20155         lock is only used to serialize _set_state().
20156
20157 2005-10-18  Wim Taymans  <wim@fluendo.com>
20158
20159         * check/gst/gstbin.c: (GST_START_TEST):
20160         * check/gst/gstmessage.c: (GST_START_TEST):
20161         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20162         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20163         (bin_bus_handler):
20164         * gst/gstelement.c: (gst_element_abort_state),
20165         (gst_element_commit_state), (gst_element_lost_state):
20166         * gst/gstmessage.c: (gst_message_new_state_changed),
20167         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20168         (gst_message_new_segment_done), (gst_message_new_duration),
20169         (gst_message_parse_state_changed),
20170         (gst_message_parse_segment_start),
20171         (gst_message_parse_segment_done), (gst_message_parse_duration):
20172         * gst/gstmessage.h:
20173         * tools/gst-launch.c: (event_loop):
20174         Seriously, this is better than a previous commit as we only need
20175         to notify the fact that an element changed state in a streaming
20176         thread, marking the state of the parents dirty, hence the 
20177         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20178         message.
20179
20180 2005-10-18  Wim Taymans  <wim@fluendo.com>
20181
20182         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20183         (gst_bin_recalc_func):
20184         * gst/gstelement.c: (gst_element_set_clock),
20185         (gst_element_abort_state), (gst_element_lost_state):
20186         Cleanups, prepare for state change fixes.
20187
20188 2005-10-18  Wim Taymans  <wim@fluendo.com>
20189
20190         * gst/gstbin.h:
20191         * gst/gstelement.c: (gst_element_class_init),
20192         (gst_element_set_state), (gst_element_set_state_func):
20193         * gst/gstelement.h:
20194         Pending ABI changes.
20195         GThreadPool in GstBinClass to monitor async state changes.
20196         state_cookie in GstElement to detect concurrent gst/set state.
20197         set_state is now virtual too in case a very complicated element
20198         has to be constructed.
20199
20200 2005-10-18  Wim Taymans  <wim@fluendo.com>
20201
20202         * check/gst/gstbin.c: (GST_START_TEST):
20203         * check/gst/gstmessage.c: (GST_START_TEST):
20204         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20205         * gst/gstbin.c: (bin_bus_handler):
20206         * gst/gstelement.c: (gst_element_commit_state),
20207         (gst_element_lost_state):
20208         * gst/gstmessage.c: (gst_message_new_state_changed),
20209         (gst_message_new_segment_start), (gst_message_new_segment_done),
20210         (gst_message_new_duration), (gst_message_parse_state_changed),
20211         (gst_message_parse_segment_start),
20212         (gst_message_parse_segment_done), (gst_message_parse_duration):
20213         * gst/gstmessage.h:
20214         * tools/gst-launch.c: (event_loop):
20215         Make messages future proof.
20216         state-change gets a flag if it was a message comming from the
20217         streaming thread.
20218         segment-start/stop can also be specified in other formats.
20219         A message to notify an app that a pipeline changed playback 
20220         duration.
20221         Also fix a GstMessage leak in -launch
20222
20223 2005-10-18  Andy Wingo  <wingo@pobox.com>
20224
20225         * gst/gstelement.c (gst_element_dispose): More helpful message.
20226
20227 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20228
20229         reviewed by: <delete if not using a buddy>
20230
20231         * common/gtk-doc.mak:
20232
20233 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20234
20235         * gst/gstregistry.c: (gst_registry_scan_path_level):
20236           unref a plug-in we get that was already initialized
20237
20238 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20239
20240         * docs/gst/gstreamer-sections.txt:
20241         * docs/libs/gstreamer-libs-sections.txt:
20242         * gst/gstelement.h:
20243           add new api entries
20244           hide internal macro
20245
20246 2005-10-17  Andy Wingo  <wingo@pobox.com>
20247
20248         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20249         cleanup.
20250
20251         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20252
20253         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20254
20255         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20256         (gst_element_get_state_func): Better debug message.
20257         (gst_element_commit_state): s/INFO/DEBUG/.
20258         (gst_element_lost_state, gst_element_change_state): 
20259
20260         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20261         (gst_message_new_custom): s/INFO/LOG/.
20262
20263 2005-10-17  Michael Smith <msmith@fluendo.com>
20264
20265         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20266           Check if end time is valid using end time, not start time.
20267
20268 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20269
20270         * check/gst-libs/controller.c: (GST_START_TEST),
20271         (gst_controller_suite):
20272         * libs/gst/controller/gstcontroller.c:
20273         (gst_controlled_property_set_interpolation_mode):
20274         * libs/gst/controller/gstcontroller.h:
20275         * libs/gst/controller/gstinterpolation.c:
20276         * testsuite/controller/.cvsignore:
20277         * testsuite/controller/Makefile.am:
20278         * testsuite/controller/interpolator.c:
20279           merge controller testsuites
20280           fix broken tests
20281           remove mem-chunk from docs
20282
20283 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20284
20285         * gst/gstmemchunk.c:
20286         * gst/gstmemchunk.h:
20287         * gst/gsttrashstack.c:
20288         * gst/gsttrashstack.h:
20289           out.  get out.  you're fired.  to the Attic !
20290
20291 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20292
20293         * gst/gstcaps.c: (gst_caps_intersect):
20294           fix signedness issues in a (hopefully) correct way
20295         * gst/gstelement.c: (gst_element_pads_activate):
20296           some debugging
20297         * gst/gstobject.c: (gst_object_set_parent):
20298           some debugging
20299
20300 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20301
20302         * gst/gstvalue.h: Fix prototypes.
20303
20304 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20305
20306         * docs/gst/gstreamer-sections.txt:
20307         * gst/gst.c: (gst_version_string):
20308         * gst/gst.h:
20309         * gst/gstversion.h.in:
20310         * win32/common/libgstreamer.def:
20311           add gst_version_string ()
20312
20313 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20314
20315         * configure.ac:
20316           clean up further
20317         * gst/gst.c: (init_post):
20318         * win32/common/config.h.in:
20319           it's PLUGINDIR now
20320         * gst/gstcaps.c: (gst_caps_intersect):
20321           use gint64, the range could be bigger than a guint
20322
20323 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20324
20325         * gst/gstclock.h:
20326           document potential problem in 2038
20327
20328 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20329
20330         * gst/gstcaps.c: (gst_caps_intersect):
20331           Fix guint j diving under 0
20332
20333 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20334
20335         * configure.ac:
20336         * win32/common/config.h:
20337         * win32/common/config.h.in:
20338           check for process.h, declares getpid() on Windows
20339         * gst/gstinfo.c:
20340           include process.h if we have it
20341         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20342         * gst/gstmemchunk.h:
20343           fix signedness issues
20344         * win32/common/libgstreamer.def:
20345           fix get_type's
20346
20347 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20348
20349         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20350         fix. Because of unsigned ints, caps intersection was going nuts and
20351         trying to access structures with G_MAXUINT index. That fixes
20352         videotestsrc ! ffmpegcolorspace ! fakesink
20353         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20354         consistency.
20355
20356 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20357
20358         * configure.ac:
20359           use the gettext macro
20360         * gst/elements/gstelements.c:
20361         * gst/gst.c:
20362         * gst/indexers/gstindexers.c:
20363           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20364         * win32/common/config.h:
20365           updated config.h
20366         * win32/common/config.h.in:
20367           add the template to generate config.h
20368         * win32/common/gstenumtypes.c:
20369         * win32/common/gstversion.h:
20370           updated copies
20371
20372 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20373
20374         * gst/gst.c: (gst_version):
20375         * gst/gstversion.h.in:
20376           add the nano
20377
20378 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20379
20380         * gst/gstevent.h:
20381           Oops, add missing closing bracket.
20382
20383 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20384
20385         * configure.ac:
20386           use common m4's for argument checking
20387
20388 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20389
20390         * docs/gst/gstreamer-sections.txt:
20391         * gst/gstevent.h:
20392           Add GST_EVENT_TYPE_NAME() macro.
20393
20394 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20395
20396         * gst/gstinfo.c:
20397         * gst/gstpluginfeature.c:
20398         * gst/gsttask.c:
20399           privatize more symbols
20400
20401 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20402
20403         * configure.ac:
20404           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20405           everything that uses GStreamer API should have the includes
20406
20407 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20408
20409         * docs/gst/gstreamer-sections.txt:
20410         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20411         * gst/gstvalue.h:
20412           give each value a _get_type, removes the DATA exports
20413
20414 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20415
20416         * gst/gst.c:
20417         * gst/gst.h:
20418           remove _gst_registry_auto_load, not used anymore
20419         * gst/gstbin.c: (gst_bin_get_type):
20420         * gst/gstbin.h:
20421         * gst/gstelement.c: (gst_element_get_type):
20422         * gst/gstelement.h:
20423         * gst/gstobject.c: (gst_object_get_type):
20424         * gst/gstobject.h:
20425         * gst/gstpad.c: (gst_pad_get_type):
20426         * gst/gstpad.h:
20427           make _get_type functions similar, fixes data export from library
20428
20429 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20430
20431         * configure.ac:
20432           correctly make conditionals
20433         * gst/elements/Makefile.am:
20434         * gst/elements/gstelements.c:
20435           fix typo causing fdsrc not to build
20436
20437 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20438
20439         * testsuite/Makefile.am:
20440         * testsuite/bytestream/.cvsignore:
20441         * testsuite/bytestream/Makefile.am:
20442         * testsuite/bytestream/filepadsink.c:
20443         * testsuite/bytestream/gstbstest.c:
20444         * testsuite/bytestream/test1.c:
20445         * testsuite/bytestream/testfile1:
20446         * testsuite/caps/normalisation.c:
20447         * testsuite/caps/random.c: (main):
20448         * testsuite/cleanup/.cvsignore:
20449         * testsuite/cleanup/Makefile.am:
20450         * testsuite/cleanup/cleanup1.c:
20451         * testsuite/cleanup/cleanup2.c:
20452         * testsuite/cleanup/cleanup3.c:
20453         * testsuite/cleanup/cleanup4.c:
20454         * testsuite/cleanup/cleanup5.c:
20455         * testsuite/controller/interpolator.c:
20456         * testsuite/debug/printf_extension.c: (main):
20457         * testsuite/elements/tee.c:
20458         * testsuite/negotiation/.cvsignore:
20459         * testsuite/negotiation/Makefile.am:
20460         * testsuite/negotiation/pad_link.c:
20461         * testsuite/pad/Makefile.am:
20462         * testsuite/pad/chainnopull.c:
20463         * testsuite/pad/getnopush.c:
20464         * testsuite/pad/link.c:
20465         * testsuite/refcounting/sched.c: (create_pipeline):
20466         * testsuite/registry/Makefile.am:
20467         * testsuite/registry/gst-print-formats.c:
20468         * testsuite/schedulers/.cvsignore:
20469         * testsuite/schedulers/142183-2.c:
20470         * testsuite/schedulers/142183.c:
20471         * testsuite/schedulers/143777-2.c:
20472         * testsuite/schedulers/143777.c:
20473         * testsuite/schedulers/147713.c:
20474         * testsuite/schedulers/147819.c:
20475         * testsuite/schedulers/147894-2.c:
20476         * testsuite/schedulers/147894.c:
20477         * testsuite/schedulers/Makefile.am:
20478         * testsuite/schedulers/group_link.c:
20479         * testsuite/schedulers/queue_link.c:
20480         * testsuite/schedulers/relink.c:
20481         * testsuite/schedulers/unlink.c:
20482         * testsuite/schedulers/unref.c:
20483         * testsuite/schedulers/useless_iteration.c:
20484         * testsuite/states/bin.c:
20485           clean out/remove some stuff from the testsuite directories
20486
20487 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20488
20489         * configure.ac:
20490           check for some headers
20491         * gst/elements/Makefile.am:
20492         * gst/elements/gstelements.c:
20493           don't compile fdsrc without sys/socket.h
20494         * gst/indexers/Makefile.am:
20495         * gst/indexers/gstindexers.c: (plugin_init):
20496           don't compile fileindex without mmap
20497
20498 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20499
20500         * configure.ac:
20501           reorganize
20502           clean up
20503           document more
20504           remove cruft
20505         * check/Makefile.am:
20506         * docs/gst/Makefile.am:
20507         * examples/helloworld/Makefile.am:
20508         * gst/Makefile.am:
20509         * gst/base/Makefile.am:
20510         * gst/check/Makefile.am:
20511         * gst/elements/Makefile.am:
20512         * gst/indexers/Makefile.am:
20513         * gst/parse/Makefile.am:
20514         * libs/gst/controller/Makefile.am:
20515         * libs/gst/dataprotocol/Makefile.am:
20516         * examples/helloworld/helloworld.c: (event_loop):
20517           compile fixes, though it's not being compiled currently
20518
20519 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20520
20521         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20522           Add some simple tests for the new taglist date API.
20523
20524 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20525
20526         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20527         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20528           Beautify 'last-message' output: print 'none' for buffer timestamps
20529           and durations if none is set; improve alignment with next messages.
20530
20531 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20532
20533         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20534         * gst/gstpluginfeature.h:
20535         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20536         * gst/gstregistry.h:
20537         * docs/gst/gstreamer-sections.txt:
20538           Add new API to check plugin feature version requirements.
20539
20540         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20541           Some basic tests for the above.         
20542
20543 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20544
20545         * gst/gststructure.c: (gst_structure_to_string):
20546           guard against NULL printf - happens when for example
20547           a message structure with GstClock gets serialized
20548
20549 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20550
20551         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20552           Fix presumable copy'n'pasto.
20553
20554 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20555
20556         * gst/elements/gstfakesrc.h:
20557         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20558         * gst/elements/gsttypefindelement.c:
20559           fix some signedness
20560         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20561           I wonder if this could actually write +2GB files before
20562
20563 2005-10-13  Andy Wingo  <wingo@pobox.com>
20564
20565         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20566         Fix Timmeke Waymans bug.
20567         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20568         string of the proper length to gst_caps_from_string. There's a
20569         potential for, before this fix, that this could cause someone
20570         connecting over the network to cause a segfault if the payload is
20571         not NUL-terminated.
20572
20573 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20574
20575         * docs/design/draft-push-pull.txt:
20576         * docs/design/part-overview.txt:
20577         * docs/random/TODO-pre-0.9:
20578         * docs/random/old/ChangeLog.gstreamer:
20579         * gst/base/gstpushsrc.c:
20580         * gst/gstclock.c:
20581           fixed typos
20582
20583 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20584
20585         * gst/glib-compat.c: (gst_flags_get_first_value):
20586         * gst/glib-compat.h:
20587         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20588         (gst_value_compare_double), (gst_value_serialize_flags):
20589           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20590           infinite loop
20591
20592 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20593
20594         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20595         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20596           fix up debugging
20597         * tools/gst-launch.c: (event_loop):
20598           print out clock nicely
20599
20600 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20601
20602         * docs/gst/gstreamer-sections.txt:
20603         * gst/gsttaglist.h:
20604         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20605         (gst_tag_list_get_date_index):
20606           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20607           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20608
20609 2005-10-13  Julien MOUTTE  <julien@moutte.net>
20610
20611         * gst/base/gstcollectpads.c: (gst_collectpads_event),
20612         (gst_collectpads_chain):
20613         * gst/base/gstcollectpads.h: Handle newsegment and store informations
20614         in CollectData.
20615
20616 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20617
20618         * docs/gst/gstreamer-sections.txt:
20619         * gst/gst.c:
20620         * gst/gsterror.h:
20621         * tools/gst-inspect.c: (main):
20622         * tools/gst-launch.c: (main):
20623         * tools/gst-run.c: (main):
20624         * tools/gst-xmlinspect.c: (main):
20625           fix GOption context leaks
20626           doc fixes
20627
20628 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20629
20630         * gst/gstbus.c:
20631           use HAVE_UNISTD_H
20632         * win32/common/config.h:
20633           update config
20634         * win32/vs6/grammar.dsp:
20635         * win32/vs6/libgstelements.dsp:
20636         * win32/vs6/libgstreamer.dsp:
20637           update vs6 files
20638
20639 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20640
20641         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20642         * gst/base/gstbasesrc.c: (gst_base_src_query):
20643           fix more guint64<->gdouble conversions
20644
20645 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20646
20647         * Makefile.am:
20648           add win32-update target
20649         * win32/common/gstconfig.h:
20650         * win32/common/gstenumtypes.c:
20651         * win32/common/gstenumtypes.h:
20652         * win32/common/gstversion.h:
20653           add files that visual studio can't generate
20654
20655 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20656
20657         * Makefile.am:
20658           add a win32-update target
20659         * configure.ac:
20660
20661 2005-10-12  Wim Taymans  <wim@fluendo.com>
20662
20663         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20664         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20665         * gst/gstelement.c: (gst_element_commit_state),
20666         (gst_element_set_state):
20667         Protect flags with proper lock.
20668         unref provided cached clock in dispose.
20669
20670 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20671
20672         * gst/gst.c:
20673         * gst/gstminiobject.h:
20674         * gst/gstpad.h:
20675         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20676           removed unused flags from miniobject
20677           doc fixes
20678
20679 2005-10-12  Wim Taymans  <wim@fluendo.com>
20680
20681         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20682         (gst_file_sink_event), (gst_file_sink_render):
20683         Flush before seeking.
20684
20685 2005-10-12  Andy Wingo  <wingo@pobox.com>
20686
20687         * gst/gst.c (gst_init_check): Ignore unknown options, as has
20688         always been the case.
20689
20690 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20691
20692         * check/gst/gstbin.c: (GST_START_TEST):
20693         * docs/gst/gstreamer-sections.txt:
20694         * gst/base/gstbasesink.c: (gst_base_sink_init):
20695         * gst/base/gstbasesrc.c: (gst_base_src_init),
20696         (gst_base_src_get_range), (gst_base_src_check_get_range),
20697         (gst_base_src_start), (gst_base_src_stop):
20698         * gst/base/gstbasesrc.h:
20699         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20700         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20701         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20702         (bin_bus_handler):
20703         * gst/gstbin.h:
20704         * gst/gstbuffer.h:
20705         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20706         * gst/gstbus.h:
20707         * gst/gstelement.c: (gst_element_is_locked_state),
20708         (gst_element_set_locked_state), (gst_element_commit_state),
20709         (gst_element_set_state):
20710         * gst/gstelement.h:
20711         * gst/gstindex.c: (gst_index_init):
20712         * gst/gstindex.h:
20713         * gst/gstminiobject.h:
20714         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20715         (gst_object_set_parent):
20716         * gst/gstobject.h:
20717         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20718         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20719         * gst/gstpad.h:
20720         * gst/gstpadtemplate.h:
20721         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20722         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20723         * gst/gstpipeline.h:
20724         * gst/indexers/gstfileindex.c: (gst_file_index_load),
20725         (gst_file_index_commit):
20726         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20727         * testsuite/pad/link.c: (gst_test_src_init),
20728         (gst_test_filter_init), (gst_test_sink_init):
20729         * testsuite/states/locked.c: (main):
20730           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20731           moved bitshift from macro to enum definition
20732
20733 2005-10-12  Wim Taymans  <wim@fluendo.com>
20734
20735         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20736         * gst/elements/gstfilesink.c: (gst_file_sink_event),
20737         (gst_file_sink_render):
20738         Some more debugging info.
20739
20740 2005-10-12  Wim Taymans  <wim@fluendo.com>
20741
20742         * docs/design/part-states.txt:
20743         * tools/gst-launch.c: (main):
20744         Some doc updates.
20745         Revert non-intentional change.
20746
20747 2005-10-12  Wim Taymans  <wim@fluendo.com>
20748
20749         * check/gst/gstbin.c: (GST_START_TEST):
20750         * check/gst/gstelement.c: (GST_START_TEST):
20751         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20752         * check/gst/gstghostpad.c: (GST_START_TEST):
20753         * check/gst/gstpipeline.c: (GST_START_TEST):
20754         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20755         * check/states/sinks.c: (GST_START_TEST):
20756         * gst/elements/gsttypefindelement.c: (stop_typefinding):
20757         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20758         (gst_bin_remove_func), (gst_bin_get_state_func),
20759         (gst_bin_recalc_state), (gst_bin_change_state_func),
20760         (bin_bus_handler):
20761         * gst/gstelement.c: (gst_element_get_state_func),
20762         (gst_element_get_state), (gst_element_abort_state),
20763         (gst_element_commit_state), (gst_element_set_state),
20764         (gst_element_change_state), (gst_element_change_state_func):
20765         * gst/gstelement.h:
20766         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20767         (gst_pipeline_provide_clock_func):
20768         * gst/gstutils.c: (gst_element_link_pads_filtered):
20769         * tools/gst-launch.c: (main):
20770         * tools/gst-typefind.c: (main):
20771         Use GstClockTime in _get_state() instead of GTimeVal.
20772         Remove old code in gstutils.c
20773
20774 2005-10-12  Andy Wingo  <wingo@pobox.com>
20775
20776         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20777         removed.
20778
20779         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20780         there is no task. Shouldn't affect any code, as nothing in our
20781         plugins checks this return value.
20782         (gst_pad_stop_task): Also take the stream lock if the pad has no
20783         task. Docs updated.
20784
20785 2005-10-12  Wim Taymans  <wim@fluendo.com>
20786
20787         * gst/gstpad.c: (pre_activate), (post_activate),
20788         (gst_pad_activate_pull), (gst_pad_activate_push):
20789         Cleanup activation code. Reset old state if
20790         activation failed.
20791
20792 2005-10-12  Wim Taymans  <wim@fluendo.com>
20793
20794         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20795         (gst_base_sink_change_state):
20796         No need to prerol after receiving EOS.
20797
20798         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20799         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20800         * gst/elements/gstidentity.c: (gst_identity_event):
20801         Print events more verbosely.
20802
20803 2005-10-12  Wim Taymans  <wim@fluendo.com>
20804
20805         * check/Makefile.am:
20806         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20807         * check/states/sinks2.c:
20808         Moved sinks2 testcode in sinks check.
20809
20810         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20811         (gst_bin_remove_func), (gst_bin_recalc_state),
20812         (gst_bin_change_state_func), (bin_bus_handler):
20813         Fix potential race condition when _get_state() iterated over an
20814         ASYNC element right before it posted a state completion.
20815
20816         * gst/gstclock.h:
20817         Do proper cast here.
20818
20819         * gst/gstevent.c: (gst_event_new_newsegment),
20820         (gst_event_parse_newsegment):
20821         A playback rate of 0.0 is not allowed.
20822
20823 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20824
20825         * win32/common/config.h:
20826         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20827         (_trewinddir), (_ttelldir), (_tseekdir):
20828         * win32/common/dirent.h:
20829         * win32/common/gtchar.h:
20830         * win32/common/libgstbase.def:
20831         * win32/common/libgstreamer.def:
20832         * win32/vs6/grammar.dsp:
20833         * win32/vs6/gst_inspect.dsp:
20834         * win32/vs6/gst_launch.dsp:
20835         * win32/vs6/gstreamer.dsw:
20836         * win32/vs6/libgstbase.dsp:
20837         * win32/vs6/libgstelements.dsp:
20838         * win32/vs6/libgstreamer.dsp:
20839           Visual Studio 6 project files, and a new common directory.
20840           Phear.
20841
20842 2005-10-11  Wim Taymans  <wim@fluendo.com>
20843
20844         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20845         (gst_base_sink_do_sync), (gst_base_sink_query),
20846         (gst_base_sink_change_state):
20847         * gst/base/gstbasesink.h:
20848         Correctly parse newsegment info.
20849
20850 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20851
20852         * gst/gst.c: (init_post):
20853           split plugin paths correctly
20854
20855 2005-10-11  Wim Taymans  <wim@fluendo.com>
20856
20857         * check/gst/gstevent.c: (GST_START_TEST):
20858         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20859         (gst_base_sink_change_state):
20860         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20861         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20862         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20863         * gst/gstevent.c: (gst_event_new_newsegment),
20864         (gst_event_parse_newsegment):
20865         * gst/gstevent.h:
20866         Added extra flag to newsegment for future API freeze.
20867         Updated check and base elements.
20868
20869 2005-10-11  Julien MOUTTE  <julien@moutte.net>
20870
20871         * gst/base/gstcollectpads.c: (gst_collectpads_init),
20872         (gst_collectpads_add_pad), (gst_collectpads_pop),
20873         (gst_collectpads_event), (gst_collectpads_chain):
20874         * gst/base/gstcollectpads.h: Handle EOS correctly.
20875
20876 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20877
20878         * tools/gst-launch.c: (main):
20879           more null protecting
20880
20881 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20882
20883         * gst/gst-i18n-lib.h:
20884           check for ENABLE_NLS, not GETTEXT_PACKAGE
20885         * gst/gstregistry.c: (gst_registry_add_plugin),
20886         (gst_registry_scan_path_level),
20887         (_gst_registry_remove_cache_plugins):
20888           protect possibly NULL strings
20889         * gst/parse/types.h:
20890           config.h already included before
20891         * tools/gst-inspect.c: (main):
20892           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
20893           check for ENABLE_NLS, not GETTEXT_PACKAGE
20894         * tools/gst-launch.c: (main):
20895           check for ENABLE_NLS, not GETTEXT_PACKAGE
20896
20897 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20898
20899         * configure.ac:
20900           if we don't have glib, fail before testing 2.8
20901         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
20902           fix a leak, should fix plugins-base testsuite
20903
20904 2005-10-11  Andy Wingo  <wingo@pobox.com>
20905
20906         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
20907         take the mode we're going to as an arg. Go head and set the mode
20908         and flushing flags now, so that if the activate function starts a
20909         thread all the flags will be in the right state.
20910         (post_activate): Renamed also. Just handle making sure streaming
20911         finishes for the deactivation case, and setting the deactivated
20912         mode.
20913         (gst_pad_set_active): Complain loudly if deactivation fails.
20914         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
20915         (gst_pad_activate_push): Adapt to pre/post_activate changes,
20916         remove the terrible hack.
20917
20918 2005-10-11  Wim Taymans  <wim@fluendo.com>
20919
20920         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20921         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
20922         (gst_bin_recalc_state), (gst_bin_change_state_func),
20923         (gst_bin_dispose), (bin_bus_handler):
20924         * gst/gstbin.h:
20925         Prepare to make current EOS message queue more generic.
20926         Fix some typos.
20927
20928         * gst/gstevent.c: (gst_event_new_newsegment),
20929         (gst_event_parse_newsegment):
20930         * gst/gstevent.h:
20931         Rename base to stream_time.
20932
20933         * gst/gstmessage.h:
20934         Fix typo in docs.
20935
20936 2005-10-11  Wim Taymans  <wim@fluendo.com>
20937
20938         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20939         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
20940         (gst_bin_change_state_func), (bin_bus_handler):
20941         * gst/gstbin.h:
20942         Work on proper clock selection.
20943
20944 2005-10-11  Edward Hervey  <edward@fluendo.com>
20945
20946         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
20947         * libs/gst/controller/gstcontroller.h:
20948         Added GList* version of _remove_properties() in order to be able to wrap
20949         it in bindings.
20950
20951 2005-10-11  Wim Taymans  <wim@fluendo.com>
20952
20953         * docs/design/part-states.txt:
20954         Some more docs.
20955
20956         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
20957         (gst_bin_change_state_func), (bin_bus_handler):
20958         Doc updates. Don't distribute the same clock over and over again.
20959
20960         * gst/gstclock.c:
20961         * gst/gstclock.h:
20962         Doc updates.
20963
20964         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
20965         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
20966         (gst_pad_send_event):
20967         * gst/gstpad.h:
20968         Make probe emission threadsafe again.
20969         Register quarks and move _get_name() from utils.
20970         Doc updates.
20971
20972         * gst/gstpipeline.c: (gst_pipeline_class_init),
20973         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20974         Only redistribute the clock of it changed.
20975
20976         * gst/gstsystemclock.h:
20977         Doc updates. 
20978
20979         * gst/gstutils.c:
20980         * gst/gstutils.h:
20981         Moved the _flow_get_name() to GstPad.
20982
20983 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20984
20985         * check/gst-libs/gdp.c: (GST_START_TEST):
20986         * check/gst/gstcaps.c: (GST_START_TEST):
20987         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
20988         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
20989         (gst_dp_packet_from_caps):
20990           fix more valgrind warnings before turning up the heat
20991
20992 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20993
20994         * gst/parse/grammar.y:
20995           some cleanup before the hacking
20996
20997 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20998
20999         * gst/base/gstbasesrc.c: (gst_base_src_query):
21000           use conversions
21001         * gst/gstutils.c: (gst_guint64_to_gdouble),
21002         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21003         * gst/gstutils.h:
21004           externalize, basesrc uses it
21005           obviously the implementation needs testing
21006
21007 2005-10-10  Wim Taymans  <wim@fluendo.com>
21008
21009         * tests/sched/Makefile.am:
21010         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21011         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21012
21013 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21014
21015         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21016           apparently converting from guint64 to double is not implemented
21017           on MSVC
21018
21019 2005-10-10  Wim Taymans  <wim@fluendo.com>
21020
21021         * check/Makefile.am:
21022         * check/generic/states.c: (GST_START_TEST):
21023         * check/gst/gstbin.c: (GST_START_TEST):
21024         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21025         * check/states/sinks.c: (GST_START_TEST):
21026         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21027         (main):
21028         Check fixes, use API as stated in design docs, remove hacks.
21029
21030         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21031         (gst_base_sink_change_state):
21032         Catch stopping our task while we're shutting down.
21033
21034         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21035         (gst_bin_remove_func), (gst_bin_get_state_func),
21036         (gst_bin_recalc_state), (gst_bin_change_state_func),
21037         (bin_bus_handler):
21038         * gst/gstbin.h:
21039         * gst/gstelement.c: (gst_element_init),
21040         (gst_element_get_state_func), (gst_element_abort_state),
21041         (gst_element_commit_state), (gst_element_lost_state),
21042         (gst_element_set_state), (gst_element_change_state),
21043         (gst_element_change_state_func):
21044         * gst/gstelement.h:
21045         New state change algorithm (see #318116)
21046
21047         * gst/gstpipeline.c: (gst_pipeline_class_init),
21048         (gst_pipeline_init), (gst_pipeline_set_property),
21049         (gst_pipeline_get_property), (do_pipeline_seek),
21050         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21051         * gst/gstpipeline.h:
21052         Remove crude state change hacks.
21053
21054         * gst/gstutils.h:
21055         Remove crude hacks.
21056
21057         * tools/gst-launch.c: (main):
21058         Fixes for state change. Needs some more work to fully use the
21059         new stuff.
21060
21061 2005-10-10  Andy Wingo  <wingo@pobox.com>
21062
21063         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21064
21065         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21066         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21067         issue.
21068
21069 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21070
21071         * gst/gstiterator.c: (gst_iterator_new):
21072           Fix my previous commit: GTypes passed to gst_iterator_new()
21073           can be fundamental types.
21074
21075 2005-10-10  Wim Taymans  <wim@fluendo.com>
21076
21077         * gst/gstelement.c: (gst_element_iterate_pad_list),
21078         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21079         (gst_element_iterate_sink_pads):
21080         Use src/sink pads lists for the respective iterators instead
21081         of filtering.
21082
21083 2005-10-10  Andy Wingo  <wingo@pobox.com>
21084
21085         Merged in popt removal + GOption addition patch from Ronald, bug
21086         #169772.
21087
21088         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21089         GstElement macros around, remove popt-related symbols, add goption
21090         stuff.
21091
21092         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21093         
21094         * docs/gst/Makefile.am:
21095         * docs/libs/Makefile.am: No POPT_CFLAGS.
21096         
21097         * examples/manual/Makefile.am:
21098         * docs/manual/basics-init.xml: Doc updates with an example.
21099         
21100         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21101         (gst_init), (parse_one_option), (parse_goption_arg):
21102         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21103         bit of hand merging and debugging to get the GOption stuff working
21104         tho.
21105         
21106         * tests/Makefile.am:
21107         * tools/Makefile.am:
21108         * tools/gst-inspect.c: (main):
21109         * tools/gst-launch.c: (main):
21110         * tools/gst-run.c: (main):
21111         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21112
21113 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21114
21115         * gst/gstiterator.c: (gst_iterator_new):
21116           Add assertions to make sure passed GType is likely to really
21117           be a GType (as the compiler won't catch it if the size and
21118           GType arguments get mixed up, see #318447).
21119
21120 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21121
21122         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21123
21124         * gst/gstbin.c: (gst_bin_iterate_sorted):
21125           Pass GType and size arguments to gst_iterator_new() in the right
21126           order (maybe we should make _new() take the GType as first argument
21127           just like _new_list()?) (#318447).
21128           
21129
21130 2005-10-10  Wim Taymans  <wim@fluendo.com>
21131
21132         * gst/gstelement.c: (gst_element_finalize):
21133         And free the GStaticRecMutex too
21134
21135 2005-10-10  Andy Wingo  <wingo@pobox.com>
21136
21137         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21138         Allocate and free the mutex properly.
21139
21140         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21141         New macros.
21142         (GstElement): The state_lock is now recursive. Rebuild your
21143         plugins, suckers. Old macros adapted.
21144
21145         * docs/gst/gstreamer-sections.txt: Doc updates.
21146
21147         * gst/gstutils.h:
21148         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21149         (g_static_rec_cond_wait): Ported from state changes patch, while
21150         we wait on bug #317802 to be solved in a well-distributed GLib.
21151
21152         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21153         gst_element_change_state, variable name changes.
21154         (gst_element_change_state): Split out of gst_element_set_state in
21155         preparation for the state change merge. Doesn't pay attention to
21156         the 'transition' argument.
21157         (gst_element_set_state): Updates, hopefully purely cosmetic.
21158         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21159         state change patch.
21160         (gst_element_get_state_func): Renamed from get_state, cosmetic
21161         changes.
21162
21163 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21164
21165         * gst/elements/gstelements.c:
21166         * win32/GStreamer.vcproj:
21167         * win32/config.h:
21168         * win32/dirent.c: (_tseekdir):
21169         * win32/gst-inspect.vcproj:
21170         * win32/gst-launch.vcproj:
21171         * win32/gstconfig.h:
21172         * win32/gstelements.vcproj:
21173         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21174         * win32/gstreamer.def:
21175         * win32/msvc71.sln:
21176           updates for the win32 build (patch from Sebastien Moutte)
21177
21178 2005-10-10  Andy Wingo  <wingo@pobox.com>
21179
21180         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21181         gst_bin_get_state, cleaned up (but no logic changes).
21182         (bin_element_is_sink): Comment updates.
21183         (sink_iterator_filter): Remove needless cast.
21184         (gst_bin_iterate_sinks): Doc update.
21185         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21186         cleaned up (but no logic changes).
21187
21188         * check/states/sinks.c (test_src_sink): Cleanups from the state
21189         change patch.
21190         (test_livesrc_sink): Sync on the state.
21191
21192         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21193         the state change patch.
21194
21195         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21196         change patch.
21197
21198         * check/gst/gstbin.c: Merge in some style fixes and additional
21199         checks from Wim's state change patch.
21200
21201 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21202
21203         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21204         (gst_type_find_helper):
21205           Check whether we have the requested data already in our list of
21206           cached buffers before pulling a new buffer; also make the buffer
21207           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21208
21209 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21210
21211         * gst/gstcaps.c:
21212         * gst/gstevent.c:
21213           doc updates
21214         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21215           don't use long long, it's not portable.  Replacing with
21216           gint64 seems to work; let's hope no skeletons fall out of the closet.
21217
21218 2005-10-10  Andy Wingo  <wingo@pobox.com>
21219
21220         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21221
21222 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21223
21224         * docs/gst/gstreamer-sections.txt:
21225         * gst/gstevent.c:
21226         * gst/gstevent.h:
21227         * gst/gstinfo.c:
21228         * gst/gstinfo.h:
21229         * gst/gstmessage.c: (gst_message_parse_state_changed):
21230         * gst/gstpad.c:
21231         * gst/gstpad.h:
21232           more docs, fix compilation
21233
21234 2005-10-09  Philippe Khalaf <burger@speedy.org>
21235         * gst/gstmessage.c:
21236           Fixed a few forgotten variables on previous commit
21237
21238 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21239
21240         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21241           Fix evil typefind crasher: getrange() might return a short
21242           buffer at the end of a file, but gst_type_find_peek() must
21243           either return the full data as requested or NULL, but
21244           never a short buffer.
21245
21246 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21247
21248         * gst/gstmessage.c: (gst_message_new_state_changed),
21249         (gst_message_parse_state_changed):
21250         * gst/gstmessage.h:
21251           don't use "new", it's a C++ keyword
21252
21253 2005-10-08  Wim Taymans  <wim@fluendo.com>
21254
21255         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21256         * gst/gstelement.c: (gst_element_post_message):
21257         * gst/gstpipeline.c: (gst_pipeline_change_state):
21258         Small docs and debug updates.
21259
21260 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21261
21262         * docs/gst/gstreamer-sections.txt:
21263         * gst/gstelementfactory.c:
21264         * gst/gstevent.c:
21265         * gst/gsttaglist.c:
21266           more docs
21267
21268 2005-10-08  Wim Taymans  <wim@fluendo.com>
21269
21270         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21271         (gst_bin_dispose), (bin_bus_handler):
21272         Fix typos, add comments.
21273         Clear EOS list when going to PAUSED from any direction and do it
21274         in a threadsafe way.
21275         Get base time in a threadsafe way too.
21276         Fix confusing debug in the change_state function.
21277         Various other small cleanups.
21278         
21279         * gst/gstelement.c: (gst_element_post_message):
21280         Fix very verbose bus posting code.
21281
21282         * gst/gstpipeline.c: (gst_pipeline_class_init),
21283         (gst_pipeline_set_property), (gst_pipeline_get_property),
21284         (gst_pipeline_change_state):
21285         Small ARG_ -> PROP_ cleanup
21286
21287 2005-10-08  Wim Taymans  <wim@fluendo.com>
21288
21289         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21290         Do a less CPU demanding EOS check because we can.
21291
21292 2005-10-08  Wim Taymans  <wim@fluendo.com>
21293
21294         * libs/gst/dataprotocol/dataprotocol.c:
21295         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21296         (gst_dp_packet_from_event):
21297         * libs/gst/dataprotocol/dataprotocol.h:
21298         * libs/gst/dataprotocol/dp-private.h:
21299         It's about time we bump the version number.
21300         Since event types don't fit in the guint8 anymore describing
21301         the payload type, make payload type 16 bits wide.
21302
21303 2005-10-08  Wim Taymans  <wim@fluendo.com>
21304
21305         * docs/design/part-TODO.txt:
21306         * docs/design/part-clocks.txt:
21307         * docs/design/part-events.txt:
21308         * docs/design/part-gstbin.txt:
21309         * docs/design/part-gstelement.txt:
21310         * docs/design/part-gstpipeline.txt:
21311         * docs/design/part-live-source.txt:
21312         * docs/design/part-messages.txt:
21313         * docs/design/part-overview.txt:
21314         * docs/design/part-states.txt:
21315         Many doc updates.
21316
21317 2005-10-08  Wim Taymans  <wim@fluendo.com>
21318
21319         * gst/gstevent.c:
21320         * gst/gstevent.h:
21321         Fix event quark registration.
21322         Add some space between events so we can insert them in the
21323         right groups.
21324
21325 2005-10-08  Wim Taymans  <wim@fluendo.com>
21326
21327         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21328         (gst_base_sink_handle_buffer):
21329         Better log message.
21330
21331         * gst/gstbus.h:
21332         * gst/gstelement.h:
21333         More docs.
21334
21335         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21336         (gst_queue_set_property), (gst_queue_get_property):
21337         * gst/gstqueue.h:
21338         Remove old unused properties.
21339
21340 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21341         * docs/gst/gstreamer-sections.txt:
21342         * gst/gstmessage.c:
21343         * gst/gstmessage.h:
21344         * gst/gstminiobject.c:
21345         * gst/gstminiobject.h:
21346         * gst/gstobject.h:
21347         * gst/gstpad.h:
21348         * gst/gstutils.h:
21349           lots of new docs and doc fixes
21350
21351 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21352
21353         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21354         * gst/gstplugin.h:
21355         * gst/gstregistry.c: (gst_registry_lookup_locked),
21356         (gst_registry_scan_path_level):
21357         * gst/gstregistryxml.c: (load_plugin):
21358           Only ever load one plugin for a given plugin basename.
21359           This ensures correct overriding of GST_PLUGIN_PATH over
21360           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21361           system installed plugins.
21362
21363 2005-10-08  Wim Taymans  <wim@fluendo.com>
21364
21365         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21366         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21367         Prepare for doing QOS.
21368
21369 2005-10-08  Wim Taymans  <wim@fluendo.com>
21370
21371         * check/gst/gstbin.c: (GST_START_TEST):
21372         * check/pipelines/cleanup.c: (GST_START_TEST):
21373         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21374         Allow new clock message too.
21375
21376 2005-10-08  Wim Taymans  <wim@fluendo.com>
21377
21378         * gst/gstmessage.c: (gst_message_new_error),
21379         (gst_message_new_warning), (gst_message_new_tag),
21380         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21381         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21382         (gst_message_new_segment_start), (gst_message_new_segment_done),
21383         (gst_message_parse_state_changed),
21384         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21385         (gst_message_parse_new_clock):
21386         * gst/gstmessage.h:
21387         Also carry the clock in question.
21388
21389 2005-10-08  Wim Taymans  <wim@fluendo.com>
21390
21391         * gst/gstmessage.c: (gst_message_new_custom),
21392         (gst_message_new_eos), (gst_message_new_error),
21393         (gst_message_new_warning), (gst_message_new_tag),
21394         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21395         (gst_message_new_new_clock), (gst_message_new_segment_start),
21396         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21397         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21398         * gst/gstmessage.h:
21399         Clean up.
21400         Added clock related messages.
21401
21402         * gst/gstpipeline.c: (gst_pipeline_change_state):
21403         Post message when the clock changed.
21404
21405         * tools/gst-launch.c: (event_loop):
21406         Print new clock.
21407
21408 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21409
21410         * tools/gst-inspect.c: (print_element_properties_info):
21411           Can't pass NULL strings to g_print() on windows.
21412
21413 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21414
21415         * docs/Makefile.am:
21416         * docs/gst/Makefile.am:
21417         * docs/gst/gstreamer-docs.sgml:
21418         * docs/gst/running.xml:
21419         * docs/version.entities.in:
21420           add a chapter on running GStreamer.
21421           document GST_DEBUG and GST_PLUGIN* env vars
21422
21423 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21424
21425         * Makefile.am:
21426           remove include dir
21427         * configure.ac:
21428           remove PLUGINS_BUILDDIR stuff
21429         * gst/gst.c: (init_post):
21430           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21431         * idiottest.mak:
21432           remove, it was condescending and not needed
21433
21434 2005-10-08  Wim Taymans  <wim@fluendo.com>
21435
21436         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21437         (gst_base_sink_handle_object), (gst_base_sink_event),
21438         (gst_base_sink_wait), (gst_base_sink_handle_event),
21439         (gst_base_sink_change_state):
21440         * gst/base/gstbasesink.h:
21441         Repost EOS message while going to PLAYING if still EOS.
21442         Make sure that when receiving a FLUSH_START we don't attempt
21443         to sync on the clock anymore.
21444
21445 2005-10-08  Wim Taymans  <wim@fluendo.com>
21446
21447         * tools/gst-launch.c: (event_loop):
21448         Better message printout.
21449
21450 2005-10-08  Wim Taymans  <wim@fluendo.com>
21451
21452         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21453         (gst_bin_child_proxy_get_children_count):
21454         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21455         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21456         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21457         (gst_child_proxy_set_valist):
21458         * gst/parse/grammar.y:
21459         Make ChildProxy threadsafe and fix mem leaks.
21460
21461 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21462
21463         * gst/gst.c: (init_post):
21464           debug the GST_PLUGIN_ env vars
21465
21466 2005-10-08  Wim Taymans  <wim@fluendo.com>
21467
21468         * check/gst/gstbin.c: (GST_START_TEST):
21469         * check/gst/gstmessage.c: (GST_START_TEST):
21470         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21471         * gst/gstelement.c: (gst_element_commit_state),
21472         (gst_element_lost_state):
21473         * gst/gstmessage.c: (gst_message_new_state_changed),
21474         (gst_message_parse_state_changed):
21475         * gst/gstmessage.h:
21476         * tools/gst-launch.c: (event_loop):
21477         Added extra field to STATE_CHANGE message with the pending
21478         state, which will be different from the new state soon.
21479
21480 2005-10-08  Wim Taymans  <wim@fluendo.com>
21481
21482         * gst/gstbus.c: (gst_bus_pop):
21483         * gst/gstclock.c:
21484         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21485         Small cleanups and doc updates.
21486
21487 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21488
21489         * gst/gst.c: (init_pre):
21490         * gst/gstbin.c: (gst_bin_add_func):
21491           log distributing clocks and base time
21492         * gst/gstregistry.c: (gst_registry_add_plugin),
21493         (gst_registry_scan_path_level), (gst_registry_scan_path):
21494           clean up the debugging output a little
21495         * gst/gstutils.c: (gst_element_state_get_name):
21496           warn about a memleak (I've actually seen this be used, though
21497           it was probably a bug)
21498
21499 2005-10-07  Wim Taymans  <wim@fluendo.com>
21500
21501         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21502         (gst_base_src_init), (gst_base_src_default_newsegment),
21503         (gst_base_src_newsegment), (gst_base_src_do_seek),
21504         (gst_base_src_loop), (gst_base_src_start):
21505         * gst/base/gstbasesrc.h:
21506         Make the newsegment event customizable by subclasses.
21507
21508 2005-10-07  Wim Taymans  <wim@fluendo.com>
21509
21510         * gst/gstevent.c: (gst_event_new_buffersize),
21511         (gst_event_parse_buffersize):
21512         * gst/gstevent.h:
21513         New event for future idea.
21514
21515 2005-10-07  Andy Wingo  <wingo@pobox.com>
21516
21517         * gst/gstelement.c (gst_element_post_message): Doc update.
21518
21519         * docs/gst/gstreamer-sections.txt: Update.
21520
21521         * gst/gstmessage.c (gst_message_new_application): Made into a
21522         function like honest API calls.
21523         (gst_message_new_element): New message type.
21524
21525         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21526
21527         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21528         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21529         times.
21530
21531         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21532         NO_PREROLL from gst_element_change_state to fall through.
21533
21534 2005-10-07  Wim Taymans  <wim@fluendo.com>
21535
21536         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21537         (gst_ghost_pad_do_activate_push):
21538         Activating a ghostpad with no internal pad in push mode
21539         is ok.
21540
21541 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21542
21543         * gst/gstobject.h:
21544           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21545           Fixes compilation on Windows.
21546
21547 2005-10-07  Michael Smith <msmith@fluendo.com>
21548
21549         * tools/gst-inspect.c:
21550           Print out feature and plugin count at the end when printing out
21551           all features.
21552
21553 2005-10-04  Michael Smith <msmith@fluendo.com>
21554
21555         * gst/gsterror.c: (_gst_stream_errors_init):
21556           Add another error string used in a few existing plugins.
21557
21558         * gst/gstplugin.c:
21559         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21560         * tools/gst-inspect.c: (print_element_info):
21561           When a feature disappears from a plugin (and the feature exists in
21562           the cached registry file), things went horribly wrong. This isn't a
21563           complete fix, we should actually be removing the 'missing' features
21564           from the features list when we load the actual plugin. That's not
21565           yet implemented. 
21566
21567 2005-10-04  Johan Dahlin  <johan@gnome.org>
21568
21569         * check/gst/gstiterator.c: (GST_START_TEST):
21570         * gst/gstbin.c: (gst_bin_iterate_elements),
21571         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21572         * gst/gstelement.c: (gst_element_iterate_pads):
21573         * gst/gstformat.c: (gst_format_iterate_definitions):
21574         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21575         (gst_iterator_new_list), (gst_iterator_filter):
21576         * gst/gstiterator.h:
21577         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21578         Add a GType to GstIterator, update callsites and tests.
21579
21580 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21581
21582         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21583           give events a chance to be handled by event probes when the pad
21584           is not linked
21585
21586 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21587
21588         * gst/gstevent.c: (gst_event_type_get_name),
21589         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21590         * gst/gstevent.h:
21591           add string representations for event types
21592
21593 2005-10-06  Wim Taymans  <wim@fluendo.com>
21594
21595         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21596         Don't use NULL pointers.
21597
21598 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21599
21600         * gst/gst_private.h:
21601         * gst/gstbus.c:
21602         * gst/gstelement.c:
21603         * gst/gstinfo.c:
21604         * gst/gstpluginfeature.c:
21605           widen the debug category in output to fit the biggest one we have
21606           add a bus category and use it
21607           play with the colors
21608           fix up some categories
21609
21610 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21611
21612         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21613           add push activation of sink ghost pads.
21614           Andye, please verify
21615
21616 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21617
21618         * gst/gstutils.c: (gst_element_link_pads):
21619           fix a bug in the case where neither element has a pad
21620         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21621           add a test for that case
21622
21623 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21624
21625         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21626           emit have-data before checking for peers.  This allows
21627           for probe handlers to connect elements.  This helps autopluggers.
21628         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21629         (gst_pad_suite):
21630           add six checks, linked/unlinked with no/true/false probe
21631
21632 2005-10-04  Wim Taymans  <wim@fluendo.com>
21633
21634         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21635         (gst_fake_sink_event), (gst_fake_sink_preroll),
21636         (gst_fake_sink_render), (gst_fake_sink_change_state):
21637         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21638         (gst_fake_src_get_property), (gst_fake_src_create),
21639         (gst_fake_src_stop):
21640         * gst/elements/gstidentity.c: (gst_identity_stop):
21641         Protect last_message with lock.
21642
21643 2005-10-04  Edward Hervey  <edward@fluendo.com>
21644
21645         * gst/gstformat.h: 
21646         Added precision in the comments for GST_FORMAT_DEFAULT
21647
21648 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
21649
21650         * tools/gst-launch.c: (main):
21651           Don't try to run erroneous pipelines.
21652
21653 2005-10-04  Julien MOUTTE  <julien@moutte.net>
21654
21655         * gst/gstbus.c: We don't need this header.
21656
21657 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21658
21659         * configure.ac:
21660           back to development
21661
21662 === release 0.9.3 ===
21663
21664 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21665
21666         * README:
21667         * configure.ac:
21668           Releasing 0.9.3, "Unregistered"
21669
21670 2005-10-03  Andy Wingo  <wingo@pobox.com>
21671
21672         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21673         whereby calling a pad's activatepush() function can start a thread
21674         that starts to push or pull before the pad gets the FLUSHING flag
21675         unset. Hack around it by holding the stream lock until the flag is
21676         set. Need to replace this with a proper solution. Together with
21677         the ghost pad fixes, this fixes mp3 playing/tagreading.
21678
21679         * docs/design/part-gstghostpad.txt: Add a note about activation of
21680         proxy pads outside of ghost pads.
21681
21682         * gst/gstghostpad.c: Implement the ghost pad activation design.
21683
21684 2005-10-02  Andy Wingo  <wingo@pobox.com>
21685
21686         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21687         It is volatile, after all.
21688
21689         * docs/design/part-gstghostpad.txt: Flesh out activation with
21690         ghost pads.
21691
21692         * gst/base/gstbasesrc.c (gst_base_src_init): Use
21693         GST_DEBUG_FUNCPTR.
21694
21695 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
21696
21697         * configure.ac:
21698           Fix (unused) AM_CONDITIONAL tests.
21699
21700 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
21701
21702         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21703
21704         * gst/gstutils.c: (gst_pad_query_convert):
21705           Add assertion that makes sure src_val is >=0, just like
21706           gst_query_new_convert() has. (#315895)
21707
21708 2005-09-30  Edward Hervey  <edward@fluendo.com>
21709
21710         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21711         Let's not iterate pads we're not interested in, it avoids getting 
21712         sky-high refcounts on sinkpad.
21713
21714 2005-09-30  Wim Taymans  <wim@fluendo.com>
21715
21716         * gst/gstelement.c: (gst_element_set_state),
21717         (gst_element_change_state):
21718         Small tweak, element in ASYNC remains ASYNC.
21719
21720 2005-09-30  Wim Taymans  <wim@fluendo.com>
21721
21722         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21723         Only error is an error.
21724
21725         * gst/gstbin.c: (gst_bin_change_state):
21726         Better debugging.
21727
21728         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21729         Also call pad_block in pad alloc.
21730
21731         * gst/gstutils.c: (gst_flow_get_name):
21732         Better debugging.
21733
21734 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21735
21736         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21737         (gst_base_src_get_range):
21738           Fix documentation typos. Add some more debug info.
21739
21740 2005-09-29  David Schleef  <ds@schleef.org>
21741
21742         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21743           more end-user friendly.
21744         * tools/gst-inspect.c: (main): Check if command-line argument is
21745           a file and attempt to load that file as a plugin.
21746
21747 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21748
21749         * check/gst/gstbin.c:
21750         * check/states/sinks.c:
21751           fix tests for the new warning
21752         * check/gst/gstpipeline.c:
21753           add a test for pipeline and bus interaction
21754         * gst/gstelement.c:
21755           elements should be NULL if they get disposed; add a warning if not
21756
21757 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21758
21759         * gst/gstobject.c:
21760           for 2.6 refcounting, make debug log more correct by printing
21761           the actual refcounts at the time of swap (Wim)
21762
21763 2005-09-29  Andy Wingo  <wingo@pobox.com>
21764
21765         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21766         removes signal watches previously added via
21767         gst_bus_add_signal_watch.
21768         (gst_bus_add_signal_watch): Don't return the source id, just store
21769         it on the bus if there wasn't an id already.
21770
21771         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21772         add_signal_watch and remove_signal_watch.
21773
21774 2005-09-29  Edward Hervey  <edward@fluendo.com>
21775
21776         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
21777         Better if we actually iterate the list :)
21778
21779 2005-09-29  Wim Taymans  <wim@fluendo.com>
21780
21781         * check/gst/gstbin.c: (GST_START_TEST):
21782         Change for new bus API.
21783
21784         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21785         (send_messages), (GST_START_TEST), (gstbus_suite):
21786         Change for new bus signal API.
21787
21788         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21789         (gst_bus_source_prepare), (gst_bus_source_check),
21790         (gst_bus_create_watch), (gst_bus_add_watch_full),
21791         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21792         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21793         * gst/gstbus.h:
21794         Remove support for multiple GSources operating on different
21795         message types as it is too complex and unneeded when using
21796         signals.
21797         Added support for receiving signals from the bus.
21798
21799 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21800
21801         * docs/libs/tmpl/gstdataprotocol.sgml:
21802         * docs/manual/advanced-dataaccess.xml:
21803         * gst/elements/gstcapsfilter.c:
21804         * gst/gstutils.c:
21805           rename filter-caps to caps property
21806
21807 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21808
21809         * gst/gstvalue.c: (gst_value_deserialize_fraction):
21810           More robust fraction string parsing.
21811
21812         * docs/pwg/appendix-porting.xml:
21813           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21814
21815 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21816
21817         * gst/gstcaps.c: (gst_caps_do_simplify):
21818           Thou shalt not free a structure and then continue using it
21819           in the next loop iteration.
21820
21821         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21822         (gst_caps_suite):
21823           Add test case for caps simplification.
21824
21825 2005-09-29  Wim Taymans  <wim@fluendo.com>
21826
21827         * check/gst/gstbin.c: (GST_START_TEST):
21828         Oops.
21829
21830 2005-09-29  Wim Taymans  <wim@fluendo.com>
21831
21832         * check/gst/gstbin.c: (GST_START_TEST):
21833         Add bus to bin.
21834
21835         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21836         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21837         (find_element), (gst_bin_sort_iterator_next),
21838         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21839         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21840         (gst_bin_change_state), (gst_bin_dispose):
21841         A bin does not have a bus, it gets the bus from the parent.
21842
21843         * gst/gstelement.c: (gst_element_requires_clock),
21844         (gst_element_provides_clock), (gst_element_is_indexable),
21845         (gst_element_is_locked_state), (gst_element_change_state),
21846         (gst_element_set_bus_func):
21847         Small cleanups.
21848
21849         * gst/gstpipeline.c: (gst_pipeline_class_init),
21850         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21851         The pipeline provides a bus.
21852
21853 2005-09-28  Johan Dahlin  <johan@gnome.org>
21854
21855         * gst/gstmessage.c (gst_message_parse_state_changed): Use
21856         gst_structure_get_enum instead of gst_structure_get_int
21857
21858         * gst/gststructure.c (gst_structure_get_enum): Impl.
21859
21860         * gst/gststructure.h (gst_structure_get_enum): Add
21861
21862         * docs/gst/gstreamer-sections.txt: Ditto
21863
21864         * gst/gstmessage.c (gst_message_new_state_changed): Use
21865         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21866         which does introspection.
21867         Reviewed by Christian Schaller
21868
21869 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21870
21871         * gst/gstinfo.c: (gst_debug_log_default):
21872           don't do dummy g_strdup()s
21873         * libs/gst/controller/gstcontroller.c:
21874         (on_object_controlled_property_changed),
21875         (gst_controlled_property_new), (gst_controller_new_valist),
21876         (gst_controller_new_list),
21877         (gst_controller_remove_properties_valist), (gst_controller_set),
21878         (gst_controller_get), (gst_controller_sync_values),
21879         (gst_controller_get_value_array), (_gst_controller_class_init),
21880         (gst_controller_get_type):
21881         * libs/gst/controller/gstcontroller.h:
21882         * libs/gst/controller/gstinterpolation.c:
21883         (gst_controlled_property_find_timed_value_node):
21884           convert // to /**/ comments
21885
21886 2005-09-28  Wim Taymans  <wim@fluendo.com>
21887
21888         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21889         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21890         (gst_bus_sync_signal_handler):
21891         * gst/gstbus.h:
21892         Added async-message and sync-message signals to the bus.
21893         Added helper BusFunc to emit signals for all posted messages.
21894
21895         * gst/gstmessage.c: (gst_message_type_get_name),
21896         (gst_message_type_to_quark), (gst_message_get_type):
21897         * gst/gstmessage.h:
21898         Register quarks for message names.
21899
21900 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21901
21902         * docs/libs/gstreamer-libs-sections.txt:
21903         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
21904         (gst_controller_new_list):
21905         * libs/gst/controller/gstcontroller.h:
21906           added another constructor for language bindings
21907
21908 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21909
21910         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21911           add another check
21912         * gst/gstbus.c:
21913           add some doc
21914         * gst/gstinfo.c: (_gst_debug_init):
21915           slightly more readable color for refcount debugging
21916
21917 2005-09-28  Wim Taymans  <wim@fluendo.com>
21918
21919         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21920         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21921         (find_element), (gst_bin_sort_iterator_next),
21922         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21923         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21924         (gst_bin_change_state), (gst_bin_dispose):
21925         Small doc fixes. get_clock -> provide_clock.
21926
21927         * gst/gstelement.c: (gst_element_class_init),
21928         (gst_element_provides_clock), (gst_element_provide_clock),
21929         (gst_element_get_clock), (gst_element_commit_state),
21930         (gst_element_lost_state):
21931         * gst/gstelement.h:
21932         Make get/set_clock() symetric. Add provide_clock vmethod since
21933         that is actually what this function does.
21934
21935         * gst/gstpipeline.c: (gst_pipeline_class_init),
21936         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
21937         (gst_pipeline_get_clock):
21938         get_clock -> provide_clock.
21939
21940 2005-09-28  Andy Wingo  <wingo@pobox.com>
21941
21942         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
21943         lieu of real docs...
21944
21945         * gst/elements/gstfdsrc.c: Cleaned up a bit.
21946
21947 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
21948
21949         * gst/elements/gstcapsfilter.c:
21950         * gst/elements/gstfakesink.c:
21951         * gst/elements/gstfakesrc.c:
21952         * gst/elements/gstfdsink.c:
21953         * gst/elements/gstfdsrc.c:
21954         * gst/elements/gstfilesink.c:
21955         * gst/elements/gstfilesrc.c:
21956         * gst/elements/gstidentity.c:
21957         * gst/elements/gsttee.c:
21958         * gst/elements/gsttypefindelement.c:
21959           Make element details static.
21960
21961 2005-09-28  Wim Taymans  <wim@fluendo.com>
21962
21963         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21964         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21965         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21966         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21967         (gst_bin_change_state), (gst_bin_dispose):
21968         Some documentation updates.
21969         Clean up dispose handlers.
21970
21971         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
21972         * gst/gstpad.c: (gst_pad_dispose):
21973         Clean up dispose handler.
21974
21975         * gst/gstpipeline.c: (gst_pipeline_change_state):
21976         Removed spurious UNLOCK.
21977
21978 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
21979
21980         * docs/gst/gstreamer-sections.txt:
21981         * gst/base/gstbasesrc.h:
21982         * gst/gstelement.h:
21983         * gst/gstevent.h:
21984         * gst/gstobject.h:
21985         * gst/gstpad.h:
21986         * gst/gstpipeline.c:
21987         * gst/gstpipeline.h:
21988         * gst/gstutils.h:
21989         * gst/gstxml.h:
21990           added two new functions to the docs
21991                 documents all undocumented GstXXXFlags
21992                 completed some incomplete docs 
21993
21994 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
21995
21996         * gst/gstbin.c: (gst_bin_dispose):
21997         * gst/gstelement.c: (gst_element_dispose):
21998           remove now useless and leaky resurrection code in dispose
21999         * gst/base/gstbasesrc.c: (gst_base_src_init):
22000         * gst/gstelementfactory.c: (gst_element_factory_create):
22001         * gst/gstobject.c: (gst_object_set_parent):
22002           add some debugging
22003
22004 2005-09-27  Wim Taymans  <wim@fluendo.com>
22005
22006         * docs/design/part-TODO.txt:
22007         Update TODO.
22008
22009         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22010         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22011         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22012         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22013         (gst_bin_change_state):
22014         * gst/gstelement.h:
22015         Remove element variable, we keep element info in the iterator now.
22016
22017 2005-09-27  Andy Wingo  <wingo@pobox.com>
22018
22019         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22020         values.
22021
22022 2005-09-27  Wim Taymans  <wim@fluendo.com>
22023
22024         * check/gst/gstbin.c: (GST_START_TEST):
22025         Enable check that works now.
22026
22027         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22028         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22029         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22030         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22031         (gst_bin_change_state):
22032         * gst/gstbin.h:
22033         Redid the state change algorithm using a topological sort algo.
22034         Handles all cases correctly.
22035         Exposed iterator for state change order.
22036
22037         * gst/gstelement.h:
22038         Temp storage for state changes. Need to get rid of this soon.
22039
22040 2005-09-27  Wim Taymans  <wim@fluendo.com>
22041
22042         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22043         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22044         (link_fold_func), (gst_pad_proxy_setcaps):
22045         Leak fixes, the fold functions need to unref the passed object and
22046         _get_parent_*() returns ref to parent.
22047
22048 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22049
22050         * check/gst/gstbuffer.c: (test_make_writable):
22051           Plug leak in test case and fix 'make check-valgrind'
22052
22053 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22054
22055         * gst/gstbuffer.c: (gst_subbuffer_init):
22056           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22057           works correctly in all circumstances (we could have just copied
22058           the parent buffer's readonly flag, but conceptually it seems
22059           cleaner to mark all subbuffers as read-only). (based on patch
22060           by Alessandro Decina, #314710).
22061         
22062         * check/gst/gstbuffer.c: (create_read_only_buffer),
22063         (test_make_writable), (test_subbuffer_make_writable),
22064         (gst_test_suite):
22065           Add some tests for gst_buffer_make_writable().
22066
22067 2005-09-27  Wim Taymans  <wim@fluendo.com>
22068
22069         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22070         use gst_object_has_ancestor().
22071
22072         * gst/gstobject.c: (gst_object_has_ancestor):
22073         * gst/gstobject.h:
22074         gst_object_has_ancestor() copied from gstbin.c as it is a
22075         useful function.
22076
22077         * tests/instantiate/create.c: (create_all_elements):
22078         * tests/lat.c: (handoff_src), (handoff_sink):
22079         * tests/sched/runxml.c: (main):
22080         * tests/seeking/seeking1.c: (main):
22081         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22082         (main):
22083         Fix compilation of some tests.
22084
22085 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22086
22087         * gst/gsterror.h:
22088           Remove comment. GST_TYPE_G_ERROR is here to stay,
22089           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22090           (#316961, #300610).
22091
22092 2005-09-26  Wim Taymans  <wim@fluendo.com>
22093
22094         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22095         Added check that shows error in state change order.
22096
22097 2005-09-26  Wim Taymans  <wim@fluendo.com>
22098
22099         * gst/gstbin.c: (gst_bin_change_state):
22100         Make state change function use 3 queues again, we were
22101         adding elements in the wrong order.
22102
22103         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22104         Some debug info,
22105
22106         * gst/gstpad.c: (gst_pad_dispose):
22107         Added some debug info first.
22108
22109 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22110
22111         * docs/design/draft-push-pull.txt:
22112         * docs/design/part-events.txt:
22113         * docs/design/part-overview.txt:
22114         * docs/design/part-scheduling.txt:
22115           Replace all _pull_region() with _pull_range()
22116           
22117 2005-09-26  Andy Wingo  <wingo@pobox.com>
22118
22119         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22120
22121         * check/gst-libs/controller.c: Update for controller api change.
22122
22123         * configure.ac: 
22124         * tests/Makefile.am:
22125         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22126         over by GLib bug 118439.
22127         
22128         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22129         routines to a function.
22130
22131         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22132
22133         * libs/gst/controller/gsthelper.c:
22134         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22135         (gst_object_sync_values): Renamed from sink_values. Ugh.
22136
22137         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22138
22139         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22140         Renamed from controller_key, as it is exported.
22141
22142         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22143
22144 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22145
22146         * gst/Makefile.am:
22147         * gst/gst.h:
22148         * gst/gstpad.h:
22149         * gst/gstpadtemplate.h:
22150         * gst/gstquery.c:
22151         * gst/gstquery.h:
22152         * gst/gstqueryutils.c:
22153         * gst/gstqueryutils.h:
22154           remove queryutils headers after moving the two used functions
22155           to gstquery.  also fixes build problem for gstsiddec
22156
22157 2005-09-26  Michael Smith <msmith@fluendo.com>
22158
22159         * tools/gst-launch.1.in:
22160         Correct documentation in manpage of debug syntax
22161
22162 2005-09-26  Wim Taymans  <wim@fluendo.com>
22163
22164         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22165         (gst_base_src_is_seekable), (gst_base_src_change_state):
22166         Some more debugging info.
22167
22168 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22169
22170         * docs/gst/gstreamer-sections.txt:
22171         * gst/base/gstbasetransform.h:
22172         * gst/gstindex.h:
22173           added more docs
22174
22175 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22176
22177         * docs/gst/.cvsignore:
22178         * docs/gst/tmpl/.cvsignore:
22179         * docs/gst/tmpl/gstpipeline.sgml:
22180         * docs/gst/tmpl/gstplugin.sgml:
22181         * gst/gstpipeline.c:
22182         * gst/gstplugin.c:
22183         * gst/gstplugin.h:
22184           inlined the last two docs files
22185           removed the tmpl directory from cvs (no more conflicts here!)
22186
22187 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22188
22189         * docs/gst/gstreamer-sections.txt:
22190         * docs/gst/tmpl/.cvsignore:
22191         * docs/gst/tmpl/gstpad.sgml:
22192         * docs/gst/tmpl/gstpadtemplate.sgml:
22193         * gst/Makefile.am:
22194         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22195         (gst_pad_finalize), (gst_pad_set_pad_template):
22196         * gst/gstpad.h:
22197         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22198         (gst_pad_template_class_init), (gst_pad_template_init),
22199         (gst_pad_template_dispose), (name_is_valid),
22200         (gst_static_pad_template_get), (gst_pad_template_new),
22201         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22202         (gst_pad_template_pad_created):
22203         * gst/gstpadtemplate.h:
22204           inlined two more docs
22205           factored gstpadtemplate out of gstpad
22206
22207 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22208
22209         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22210         (test_children_state_change_order_semi_sink):
22211           Fix test case: we can't rely on a fixed state change order when
22212           going from READY => PAUSED because the sink might commit its 
22213           new state first when the first buffer created by the source 
22214           reaches the sink before the source has finished its change state.
22215           (Test case still fails at times, see #316856, comment 5 onwards)
22216
22217 2005-09-24  Wim Taymans  <wim@fluendo.com>
22218
22219         * docs/design/part-events.txt:
22220         * docs/design/part-gstbus.txt:
22221         * docs/design/part-gstpipeline.txt:
22222         * docs/design/part-messages.txt:
22223         * docs/design/part-overview.txt:
22224         * docs/design/part-segments.txt:
22225         * gst/gstbin.c:
22226         * gst/gstbuffer.c:
22227         * gst/gstclock.c:
22228         * gst/gstelement.c:
22229         * gst/gstevent.c:
22230         * gst/gstfilter.c:
22231         * gst/gstiterator.c:
22232         Various documentation updates.
22233
22234 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22235
22236         * gst/gstclock.h:
22237           Well, that's embarassing.  Luckily we weren't using
22238           GST_CLOCK_DIFF anywhere.
22239
22240 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22241
22242         * common/gtk-doc.mak:
22243           don't fail on building XML, FC4 slave shows a bunch of doc
22244           missing bits that I don't get
22245         * gst/gstpad.c:
22246         * gst/gstpipeline.c:
22247         * gst/gststructure.c:
22248           some doc updates
22249
22250 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22251
22252         * docs/design/part-gstbin.txt:
22253         * docs/design/part-gstbus.txt:
22254         * gst/gstbus.c:
22255           Add blurb about how the bus goes into flushing mode and
22256           drops all messages when its bin goes from READY into NULL 
22257           state.
22258
22259 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22260
22261         * docs/gst/gstreamer-sections.txt:
22262         * gst/gststructure.c: (gst_structure_get_clock_time):
22263         * gst/gststructure.h:
22264           add a method to get a GstClockTime out of a structure
22265
22266 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22267
22268         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22269         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22270           Added test to check state change order in bins (can still be made
22271           to fail here under heavy disk load; bails out with 'Push on pad
22272           fakesink:sink0, but it was not activated in push mode').
22273
22274         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22275           Fix state change order when there is only a semi sink (#316856)
22276
22277         * gst/gstbus.c: (gst_bus_class_init):
22278           Use _class_peek_parent(), not _class_ref(); fix docs to say
22279           'default main context' instead of 'mainloop' where that is
22280           what's meant.
22281
22282         * gst/gstelement.c: (gst_element_commit_state),
22283         (gst_element_set_state):
22284           Fix typos in debug messages
22285
22286 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22287
22288         * docs/README:
22289         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22290         * gst/gstpluginfeature.c:
22291         * gst/gstutils.c:
22292           various doc updates
22293         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22294           change an assert into an error until it gets fixed properly
22295
22296 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22297
22298         * docs/gst/gstreamer-sections.txt:
22299         * docs/gst/tmpl/.cvsignore:
22300         * docs/gst/tmpl/gstelement.sgml:
22301         * docs/gst/tmpl/gstinfo.sgml:
22302         * docs/gst/tmpl/gstobject.sgml:
22303         * gst/gstelement.c:
22304         * gst/gstelement.h:
22305         * gst/gstinfo.c:
22306         * gst/gstinfo.h:
22307         * gst/gstobject.c: (gst_object_class_init):
22308         * gst/gstobject.h:
22309           inlined 3 more biiiig doc files and added some missing docs on the fly
22310
22311 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22312
22313         * check/gst/.cvsignore:
22314         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22315         * gst/gstregistryxml.c: (load_plugin),
22316         (gst_registry_xml_save_plugin):
22317           put back source in registry.  add checks for find_plugin.
22318         * testsuite/states/bin.c: (assert_state), (empty_bin),
22319         (test_adding_one_element), (main):
22320         * testsuite/states/locked.c: (main):
22321           some compile/run fixes
22322
22323 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22324
22325         * check/gst/gstvalue.c: (GST_START_TEST):
22326           fix leaks in the test itself
22327
22328 2005-09-22  Wim Taymans  <wim@fluendo.com>
22329
22330         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22331         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22332         (gst_base_sink_query):
22333         Prepare for more accurate position reporting and query
22334         handling.
22335
22336         * gst/gstelement.c: (gst_element_send_event),
22337         (gst_element_set_state):
22338         Add some comment.
22339
22340 2005-09-22  Wim Taymans  <wim@fluendo.com>
22341
22342         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22343         (gst_query_parse_segment):
22344         * gst/gstquery.h:
22345         More documentation.
22346         Add segment query for future use.
22347
22348 2005-09-22  Wim Taymans  <wim@fluendo.com>
22349
22350         * gst/gstbin.c: (gst_bin_add_func):
22351         Some more debug info.
22352
22353         * gst/gstelement.c: (gst_element_send_event):
22354         Simplify send_event
22355
22356         * gst/gstelement.h:
22357         Don't know how flags got broken.
22358
22359         * gst/gstquery.h:
22360         Added new query.
22361
22362 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22363
22364         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22365           Add simplistic test suite for GST_TYPE_DATE serialisation and
22366           deserialisation.
22367
22368 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22369
22370         * docs/gst/gstreamer-sections.txt:
22371         * gst/gststructure.c: (gst_structure_set_valist),
22372         (gst_structure_get_date):
22373         * gst/gststructure.h:
22374         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22375         (gst_date_copy), (gst_value_compare_date),
22376         (gst_value_serialize_date), (gst_value_deserialize_date),
22377         (gst_value_transform_date_string),
22378         (gst_value_transform_string_date), (_gst_value_initialize):
22379         * gst/gstvalue.h:
22380           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22381           bunch of utility functions along with a hack that checks that
22382           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22383           is required. Part of the grand scheme in #170777.
22384
22385 2005-09-22  Andy Wingo  <wingo@pobox.com>
22386
22387         * gst/gstconfig.h.in: Psych out gtk-doc.
22388
22389         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22390
22391         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22392
22393         * tools/gst-inspect.c (print_element_list): Plug some
22394         inconsequential leaks.
22395
22396         * gst/gstregistry.c (gst_registry_get_default): Doc.
22397
22398         * check/gst/gstplugin.c: 
22399         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22400         * gst/gstelementfactory.c (gst_element_factory_create): 
22401         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22402         refcount changes.
22403
22404         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22405         (gst_plugin_feature_load): Doc, don't eat refs.
22406
22407         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22408         (gst_plugin_list_free): Doc.
22409         (gst_plugin_load_file): Doc updates.
22410
22411         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22412         accessors returning refcounted objects, return a ref.
22413
22414         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22415         accessor for caps. IDEMPOTENCE. Oh yes.
22416
22417 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22418
22419         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22420
22421         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22422         (_gst_debug_register_funcptr):
22423           Add mutex to serialise access to the hash table with
22424           the function pointer => function name string mapping;
22425           make that hash table static scope (#316809).
22426
22427         * gst/registries/.cvsignore:
22428           Remove left-over file.
22429
22430 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22431
22432         * docs/pwg/appendix-porting.xml:
22433           And something about newsegment events and caps-on-buffers to
22434           the porting guide (feel free to improve).
22435
22436 2005-09-21  Andy Wingo  <wingo@pobox.com>
22437
22438         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22439         data and event probes on the same pad.
22440         (test_buffer_probe_once): Test that removing probes from within
22441         the probe functions works.
22442
22443 2005-09-21  Andy Wingo  <wingo@pobox.com>
22444
22445         * check/gst/gstutils.c: New file.
22446         (test_buffer_probe_n_times): A simple buffer probe test. More to
22447         come, foolios.
22448
22449         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22450         have-data::buffer, not have-data.
22451         (gst_pad_add_event_probe): Likewise for have-data::event.
22452         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22453         peer' isn't quite right yet though.
22454         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22455         (gst_pad_remove_data_probe): Change to take the guint handler_id
22456         as their arg, not the function+data, which is more glib-like.
22457
22458         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22459         the signal emission to indicate if the data is a buffer or an
22460         event.
22461         (gst_pad_get_type): Initialize buffer and event quarks.
22462         (gst_pad_class_init): have-data is now a detailed signal, yes it
22463         is.
22464
22465 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22466
22467         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22468         * gst/gstutils.c: (gst_util_set_value_from_string),
22469         (gst_util_set_object_arg):
22470           Don't put functional code in g_return_if_fail() or
22471           g_return_val_if_fail() statements, otherwise things will 
22472           break when G_DISABLE_CHECKS is defined during compilation.
22473
22474 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22475
22476         * docs/gst/tmpl/.cvsignore:
22477         * docs/gst/tmpl/gstvalue.sgml:
22478         * gst/gstvalue.c:
22479         * gst/gstvalue.h:
22480           inlied another one and added  some obvious docs
22481
22482 2005-09-21  Wim Taymans  <wim@fluendo.com>
22483
22484         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22485         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22486         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22487         (gst_fdsrc_get_property), (gst_fdsrc_create):
22488         * gst/elements/gstfdsrc.h:
22489         Properly implement fdsrc. Removed signal and timeout,
22490         better implemented somewhere else.
22491
22492 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22493
22494         * docs/gst/tmpl/.cvsignore:
22495         * docs/gst/tmpl/gstimplementsinterface.sgml:
22496         * gst/gstinterface.c:
22497           inlined more docs
22498
22499 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22500
22501         * docs/gst/gstreamer-sections.txt:
22502         * docs/gst/tmpl/.cvsignore:
22503         * docs/gst/tmpl/gstenumtypes.sgml:
22504           remove obsolete doc file
22505
22506 2005-09-21  David Schleef  <ds@schleef.org>
22507
22508         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22509         little beer, fix a little leak.
22510
22511 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22512
22513         * docs/gst/gstreamer-docs.sgml:
22514         * docs/gst/gstreamer-sections.txt:
22515         * docs/gst/tmpl/.cvsignore:
22516         * gst/Makefile.am:
22517         * gst/gst.h:
22518         * gst/gstbin.c:
22519         * gst/gstelement.h:
22520         * gst/gstindex.c: (gst_index_class_init):
22521         * gst/gstindex.h:
22522         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22523         (gst_index_factory_class_init), (gst_index_factory_init),
22524         (gst_index_factory_finalize), (gst_index_factory_new),
22525         (gst_index_factory_destroy), (gst_index_factory_find),
22526         (gst_index_factory_create), (gst_index_factory_make):
22527         * gst/gstindexfactory.h:
22528         * gst/gstpluginfeature.c:
22529         * gst/gstpluginfeature.h:
22530         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22531           more docs inlined, splitted gstindex.{c,h}
22532
22533 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22534
22535         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22536           fix a leak
22537
22538 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22539
22540         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22541           Set sync to FALSE by default.
22542
22543 2005-09-20  Wim Taymans  <wim@fluendo.com>
22544
22545         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22546         (gst_base_sink_init):
22547         Make sync property settable from subclass.
22548
22549         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22550         (gst_fake_sink_change_state):
22551         Set sync to FALSE by default.
22552
22553 2005-09-20  Wim Taymans  <wim@fluendo.com>
22554
22555         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22556         * tools/gst-launch.c: (main):
22557         The timeout handler should have lower priority than the source
22558         so we don't timeout before popping a message with 0 timeout.
22559         Dump error messages after failed state change.
22560
22561 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22562
22563         * tools/gst-inspect.c: (print_element_properties_info):
22564           Fix two typos.
22565
22566 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22567
22568         * check/gst/gstevent.c:
22569         * gst/elements/gstfakesink.c:
22570         * gst/elements/gstfakesink.h:
22571           remove the sync property from fakesink.
22572           has the side effect of setting sync TRUE
22573           for fakesink, which is a change.  Anyone who knows how
22574           to fix this nicely in a GObject-y way, feel free.
22575
22576 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22577
22578         * docs/gst/gstreamer-docs.sgml:
22579           remove probe refsection
22580
22581 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22582
22583         * check/Makefile.am:
22584           disable valgrinding the controller test again
22585         * docs/gst/gstreamer-sections.txt:
22586           update for api-changes
22587
22588 2005-09-20  Wim Taymans  <wim@fluendo.com>
22589
22590         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22591         (gst_base_sink_set_property), (gst_base_sink_get_property),
22592         (gst_base_sink_do_sync):
22593         * gst/base/gstbasesink.h:
22594         Added sync property to basesink to disable clock sync.
22595
22596 2005-09-20  Andy Wingo  <wingo@pobox.com>
22597
22598         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22599         eating the caller's refcount.
22600
22601         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
22602         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22603         refcount.
22604
22605         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22606         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22607         of GLib 2.8 public, so we can know which refcount to check in
22608         tests.
22609
22610         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22611         (gst_object_init): Only set the gst refcount if we're going ahead
22612         with the refcount hack.
22613
22614 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22615
22616         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22617         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22618           more leaks plumbed, added more debug-logging
22619         * gst/gstmacros.h:
22620           whitespace fix
22621
22622 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22623
22624         * gst/gstmessage.c:
22625           remove include of gstmemchunk.h
22626
22627 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22628
22629         * gst/gstclock.c: (_gst_clock_id_free):
22630           Commit from the Political Party For More Atomic CVS Commits,
22631           so that people don't waste too much of their day fishing
22632           out obvious leaks out of massive commits.
22633           Oh, and fix a pretty damn obvious leak in the memchunk
22634           removal code.
22635
22636 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22637
22638         * check/Makefile.am:
22639         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22640           plug mem-leak, re-add to valgrindable tests
22641
22642 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22643
22644         * gst/gstplugin.h:
22645           unbreak the build for those who have chronic arthritis
22646           and typing "make check" is just too taxing on the hands
22647
22648 2005-09-20  Andy Wingo  <wingo@pobox.com>
22649
22650         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22651         really want it out, you should fix plugins at the same time.
22652
22653 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
22654
22655         * configure.ac:
22656         * docs/gst/gstreamer-sections.txt:
22657         * gst/gstobject.c:
22658           added missing symbols to api docs
22659           disable ref-count hack if we have glib >= 2.8
22660
22661 2005-09-19  David Schleef  <ds@schleef.org>
22662
22663         * docs/gst/Makefile.am: Ignore a few more internal headers
22664         * docs/gst/gstreamer-docs.sgml: Remove old sections
22665         * docs/gst/gstreamer-sections.txt: Remove old sections
22666         * docs/gst/tmpl/gstobject.sgml: update
22667         * docs/gst/tmpl/gstplugin.sgml: update
22668         * docs/gst/tmpl/gstpluginfeature.sgml: update
22669         * docs/random/ds/0.9-suggested-changes: update.
22670         * gst/Makefile.am: remove memchunk and trashstack, since they're
22671           not used.
22672         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22673         * gst/gst.h: don't include some headers
22674         * gst/gstchildproxy.c: add gstmarshal.h
22675         * gst/gstclock.c: Don't use memchunks
22676         * gst/gstminiobject.c: Add some docs
22677         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22678         * gst/gstobject.h: same
22679         * gst/gstplugin.c: include gstmacros.h
22680         * gst/gstplugin.h: don't include gstmacros.h, since it's private
22681         * gst/gstquery.c: don't use memchunks
22682         * gst/gstregistry.c: rename gst_registry_deinit()
22683         * gst/gstregistry.h: same
22684
22685 2005-09-19  David Schleef  <ds@schleef.org>
22686
22687         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22688         * docs/libs/gstreamer-libs-sections.txt:
22689         * docs/libs/tmpl/gstgetbits.sgml:
22690         * docs/libs/tmpl/gstputbits.sgml:
22691
22692 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
22693
22694         * win32/gstenumtypes.c:
22695         * win32/gstenumtypes.h:
22696           Update.
22697
22698 2005-09-19  Wim Taymans  <wim@fluendo.com>
22699
22700         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22701         Automatically PAUSE and RESUME a pipeline when a flushing seek
22702         is performed.
22703
22704 2005-09-19  Andy Wingo  <wingo@pobox.com>
22705
22706         * gst/gstregistry.h: Spacing fixen.
22707
22708 2005-09-19  Wim Taymans  <wim@fluendo.com>
22709
22710         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22711         Handle state change failure more correctly.
22712
22713 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22714
22715         * check/Makefile.am:
22716         * check/pipelines/cleanup.c: (run_pipeline):
22717         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22718         (GST_START_TEST):
22719           enable cleanup again after fixing the leak
22720         * docs/README:
22721           some more info on docs
22722
22723 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22724
22725         * check/Makefile.am:
22726           re-enable tests now that leaks are plugged
22727         * check/gst/gst.c:
22728         * check/gst/gstbin.c:
22729         * check/gst/gstpipeline.c:
22730           add some more tests while fixing leaks
22731         * common/check.mak:
22732           make sure binaries are uptodate when valgrinding/gdbing
22733         * gst/gst.c:
22734         * gst/gstelementfactory.c:
22735           remove a ref too many, and add a FIXME for when we get
22736           round to disposing of classes
22737         * gst/gstplugin.c:
22738           fix the refcounting when loading a plugin from a file and
22739           the code pretends that the pointer is the same even though
22740           of course it can change
22741         * gst/gstpluginfeature.c:
22742           unref plugins marked cached (a bit confusing as a name)
22743           as the docs state should be done
22744           various doc additions to explain refcounting
22745         * gst/gstregistry.c:
22746         * gst/gstregistryxml.c:
22747           debugging
22748
22749 2005-09-19  Wim Taymans  <wim@fluendo.com>
22750
22751         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22752         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22753         (send_messages), (GST_START_TEST), (gstbus_suite):
22754         * check/gst/gstpipeline.c: (GST_START_TEST):
22755         * check/pipelines/cleanup.c: (run_pipeline):
22756         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22757         (GST_START_TEST):
22758         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22759         (gst_bus_source_check), (gst_bus_source_dispatch),
22760         (gst_bus_create_watch), (gst_bus_add_watch_full),
22761         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22762         * gst/gstbus.h:
22763         * tools/gst-launch.c: (event_loop):
22764         * tools/gst-md5sum.c: (event_loop):
22765         GstBusHandler -> GstBusFunc, return value has the same meaning as
22766         any other GSource (FALSE == remove source).
22767         _add_watch() and _add_watch_full() now take a MessageType mask to
22768         only handle specific types of messages.
22769         _poll() returns the GstMessage instead of the message type to avoid
22770         race conditions.
22771         _have_pending() takes a MessageType mask now too.
22772         Added testsuite for multiple bus watches.
22773         Fix testsuites and applications for new bus API.
22774
22775 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22776
22777         * check/Makefile.am:
22778           mark a bunch of the tests as to fix until we fix them
22779
22780 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22781
22782         * common/check.mak:
22783           use GST_PLUGIN settings for valgrind tests as well, so we're
22784           valgrinding the correct thing
22785         * gst/gst.c: (init_post):
22786           plug another leak
22787
22788 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22789
22790         * gst/gst.c: (init_post), (gst_deinit):
22791         * gst/gstelementfactory.c: (gst_element_factory_class_init),
22792         (gst_element_factory_finalize), (gst_element_factory_cleanup):
22793         * gst/gstindex.c: (gst_index_factory_class_init),
22794         (gst_index_factory_finalize):
22795         * gst/gstobject.c: (gst_object_dispose):
22796         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22797         (gst_plugin_load_file), (gst_plugin_desc_free):
22798         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22799         (gst_plugin_feature_finalize):
22800         * gst/gstregistry.c: (gst_registry_class_init),
22801         (gst_registry_init), (gst_registry_finalize),
22802         (gst_registry_get_default), (gst_registry_deinit):
22803         * gst/gstregistry.h:
22804         * gst/gstregistryxml.c: (load_feature), (load_plugin):
22805           various cleanups and memleak plugging.  make valgrind is happy now.
22806
22807 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22808
22809         * common/check.mak:
22810           add a check-valgrind target
22811
22812 2005-09-18  David Schleef  <ds@schleef.org>
22813
22814         * tools/gst-inspect.c: Revert the GOption code.
22815
22816 2005-09-17  David Schleef  <ds@schleef.org>
22817
22818         * check/Makefile.am: Fix environment variables.
22819         * check/gst/gstplugin.c: Fix for API changes.
22820         * tools/gst-inspect.c: Fix for API changes.
22821         * tools/gst-xmlinspect.c: Fix for API changes.
22822         * gst/gstelementfactory.c:
22823         * gst/gstplugin.c:
22824         * gst/gstplugin.h:
22825         * gst/gstpluginfeature.c:
22826         * gst/gstpluginfeature.h:
22827         * gst/gstregistry.c:
22828         * gst/gstregistry.h:
22829         * gst/gstregistryxml.c:
22830         * gst/gsttypefind.c:
22831         * gst/gsttypefindfactory.c:
22832         * gst/indexers/gstfileindex.c:
22833         * gst/indexers/gstmemindex.c:
22834         * gst/schedulers/Makefile.am:
22835           Change registry to keep track of both plugins and features,
22836           removing the feature tracking from plugins themselves.
22837
22838 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22839
22840         * check/Makefile.am:
22841         * tools/gst-register.1.in:
22842           remove gst-register
22843
22844 2005-09-15  David Schleef  <ds@schleef.org>
22845
22846         * check/gst/gstplugin.c:
22847         * gst/gstelementfactory.c:
22848         * gst/gstplugin.c:
22849         * gst/gstpluginfeature.c:
22850         * gst/gstregistry.c:
22851           Getting tired of debugging.  Disabled all the unreffing of
22852           plugins and features, which fixes the segfaults, but of
22853           course leaks like crazy.  At least playbin works.
22854
22855 2005-09-15  David Schleef  <ds@schleef.org>
22856
22857         * check/gst/gstplugin.c: (register_check_elements),
22858         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22859         More testing
22860         * gst/elements/gsttypefindelement.c: Fix refcounting.
22861         * gst/gsttypefind.c:
22862         * gst/gsttypefindfactory.c:
22863         * gst/gsttypefindfactory.h:
22864
22865 2005-09-15  David Schleef  <ds@schleef.org>
22866
22867         * gst/gstindex.c: get refcounting correct.
22868         * gst/gstregistry.c: Handle the case where a feature/plugin is
22869           not found.
22870
22871 2005-09-15  David Schleef  <ds@schleef.org>
22872
22873         * check/Makefile.am:
22874         * check/gst/gstplugin.c: Add test
22875         * gst/gstplugin.c: Fix problems noticed by testsuite
22876         * gst/gstplugin.h:
22877         * gst/gstregistry.c: 
22878         * gst/gstregistry.h:
22879
22880 2005-09-15  David Schleef  <ds@schleef.org>
22881
22882         * gst/gstplugin.c: Implement semi-decent recounting and locking
22883           in plugins and plugin features.
22884         * gst/gstplugin.h:
22885         * gst/gstpluginfeature.c:
22886         * gst/gstpluginfeature.h:
22887         * gst/gstregistry.c:
22888
22889 2005-09-15  Michael Smith <msmith@fluendo.com>
22890
22891         * gst/gstregistry.c: (gst_registry_get_feature_list):
22892           Implement this. Makes oggdemux work; decodebin still broken.
22893
22894 2005-09-14  David Schleef  <ds@schleef.org>
22895
22896         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
22897           #316076)
22898         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
22899         * gst/check/Makefile.am:
22900         * libs/gst/controller/Makefile.am:
22901         * libs/gst/dataprotocol/Makefile.am:
22902
22903 2005-09-14  David Schleef  <ds@schleef.org>
22904
22905         * configure.ac: Remove getbits library.  Nothing uses it, and
22906           it should be in something like liboil if someone did want
22907           to use it.
22908         * libs/gst/Makefile.am:
22909         * libs/gst/getbits/Makefile.am:
22910         * libs/gst/getbits/gbtest.c:
22911         * libs/gst/getbits/getbits.c:
22912         * libs/gst/getbits/getbits.h:
22913         * libs/gst/getbits/gstgetbits_generic.c:
22914         * libs/gst/getbits/gstgetbits_i386.s:
22915         * libs/gst/getbits/gstgetbits_inl.h:
22916
22917 2005-09-14  David Schleef  <ds@schleef.org>
22918
22919         * gst/Makefile.am: Dist glib-compat.h
22920
22921 2005-09-14  David Schleef  <ds@schleef.org>
22922
22923         * configure.ac: Remove gst/registries, since it's no longer used.
22924         * gst/registries/Makefile.am:
22925         * gst/registries/gstlibxmlregistry.c:
22926         * gst/registries/gstlibxmlregistry.h:
22927         * gst/registries/gstxmlregistry.c:
22928         * gst/registries/gstxmlregistry.h:
22929         * gst/registries/registrytest.c:
22930
22931 2005-09-14  David Schleef  <ds@schleef.org>
22932
22933         * gst/glib-compat.h:
22934         * gst/gstregistryxml.c:
22935           Convergence is near.  Seriously.
22936
22937 2005-09-14  David Schleef  <ds@schleef.org>
22938
22939         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22940         * gst/glib-compat.h:
22941           Attempt #4 to appease the buildbots.
22942
22943 2005-09-14  David Schleef  <ds@schleef.org>
22944
22945         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22946           Attempt #3.
22947
22948 2005-09-14  David Schleef  <ds@schleef.org>
22949
22950         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22951         Attempt #2.
22952
22953 2005-09-14  David Schleef  <ds@schleef.org>
22954
22955         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
22956           the new functions.
22957
22958 2005-09-14  David Schleef  <ds@schleef.org>
22959
22960         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22961         * gst/glib-compat.h: Add some functions that are in newer versions
22962           of glib than we care to require.
22963         * gst/gstregistryxml.c: Use them.
22964
22965 2005-09-14  David Schleef  <ds@schleef.org>
22966
22967         * po/POTFILES.in: remove gst-register.c
22968
22969 2005-09-14  David Schleef  <ds@schleef.org>
22970
22971         * docs/gst/gstreamer-docs.sgml:
22972         * docs/gst/gstreamer-sections.txt:
22973         * docs/gst/gstreamer.types:
22974         * docs/gst/tmpl/gstelement.sgml:
22975         * docs/gst/tmpl/gstplugin.sgml:
22976         * docs/gst/tmpl/gstpluginfeature.sgml:
22977           Documentation updates for registry changes.
22978
22979 2005-09-14  David Schleef  <ds@schleef.org>
22980
22981         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
22982           because we don't require glib-2.8.
22983
22984 2005-09-14  David Schleef  <ds@schleef.org>
22985
22986         * gst/gstregistryxml.c: Added.  Essentially moved out of the
22987           registries directory.
22988
22989 2005-09-14  David Schleef  <ds@schleef.org>
22990
22991         * check/Makefile.am:
22992         * check/generic/states.c:
22993         * gst/Makefile.am:
22994         * gst/gst.c:
22995         * gst/gst.h:
22996         * gst/gst_private.h:
22997         * gst/gstelementfactory.c:
22998         * gst/gstindex.c:
22999         * gst/gstinfo.c:
23000         * gst/gstplugin.c:
23001         * gst/gstplugin.h:
23002         * gst/gstpluginfeature.c:
23003         * gst/gstpluginfeature.h:
23004         * gst/gstregistry.c:
23005         * gst/gstregistry.h:
23006         * gst/gstregistrypool.c: remove
23007         * gst/gstregistrypool.h: remove
23008         * gst/gsttypefind.c:
23009         * gst/gsttypefindfactory.c:
23010         * gst/gsturi.c:
23011         * tools/Makefile.am:
23012         * tools/gst-compprep.c:
23013         * tools/gst-inspect.c:
23014         * tools/gst-register.c: remove
23015         * tools/gst-xmlinspect.c:
23016           Registry rewrite.  Changes registry from being a file created
23017           by a tool into a simple cache file created automatically by 
23018           libgstreamer.  Removed gst-register (because it's no longer
23019           needed).  Remove registry pools, because we only have one
23020           registry implementation (XML).  Fix up other subsystems as
23021           necessary.
23022
23023 2005-09-13  Michael Smith <msmith@fluendo.com>
23024
23025         * gst/gstconfig.h.in:
23026           Don't Use windows linking attributes for MinGW. Fixes #316157
23027
23028 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23029
23030         * gst/gstutils.c: (set_state_async_thread_func),
23031         (gst_element_set_state_async):
23032           Apparently people think it's better if this function doesn't
23033           try to set the state to whatever state was asked for on the first
23034           call to this function for any object.  Seriously.
23035
23036 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23037
23038         * check/gst/gstpipeline.c: (GST_START_TEST):
23039         * docs/gst/gstreamer-sections.txt:
23040         * gst/gstutils.c: (set_state_async_thread_func),
23041         (gst_element_set_state_async):
23042         * gst/gstutils.h:
23043           add a "gst_element_set_state_async" method that
23044           sets the state and starts a thread to make sure the state
23045           change completes as best as it can
23046
23047 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23048
23049         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23050           codify design+behaviour in testsuite after discussion
23051
23052 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23053
23054         * docs/gst/tmpl/gstelement.sgml:
23055         * docs/manual/appendix-quotes.xml:
23056           add a quote
23057         * gst/gstelement.c: (gst_element_set_state):
23058           add some debug
23059
23060 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23061
23062         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23063         (gst_base_transform_prepare_output_buf),
23064         (gst_base_transform_handle_buffer):
23065         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23066         (gst_capsfilter_prepare_buf):
23067           Remove the requirement for sub-classes to call the parent
23068           implementation of prepare_output_buffer with a wrapper function.
23069           
23070         * gst/gsttaglist.h:
23071         * gst/gsttagsetter.h:
23072           Fix #define wrapper
23073
23074 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23075
23076         * docs/gst/gstreamer-sections.txt:
23077           more doc cleanups
23078
23079 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23080
23081         * docs/gst/gstreamer-sections.txt:
23082         * docs/gst/tmpl/gstelement.sgml:
23083         * docs/gst/tmpl/gstplugin.sgml:
23084         * gst/gstminiobject.c:
23085         * gst/gstvalue.h:
23086           docs now stop throwing warnings
23087
23088 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23089
23090         * docs/gst/gstreamer-sections.txt:
23091         * docs/gst/gstreamer.types:
23092         * docs/gst/tmpl/gstpad.sgml:
23093         * docs/gst/tmpl/gsttypes.sgml:
23094         * gst/base/gstadapter.h:
23095         * gst/base/gstbasesink.h:
23096         * gst/base/gstbasesrc.h:
23097         * gst/gstbin.h:
23098         * gst/gstbuffer.h:
23099         * gst/gstbus.h:
23100         * gst/gstcaps.h:
23101         * gst/gstclock.h:
23102         * gst/gstelement.h:
23103         * gst/gstevent.h:
23104         * gst/gstmessage.h:
23105         * gst/gstpad.h:
23106         * gst/gststructure.c:
23107         * gst/registries/gstlibxmlregistry.h:
23108           various documentation fixes
23109
23110 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23111
23112         * docs/gst/gstreamer-sections.txt:
23113         * docs/gst/tmpl/gstvalue.sgml:
23114           rearrange gstvalue section
23115         * gst/gstutils.c: (gst_element_state_get_name):
23116           NONE -> VOID
23117         * gst/gstvalue.c: (_gst_value_initialize):
23118         * gst/gstvalue.h:
23119           doc updates
23120
23121 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23122
23123         * check/gst-libs/controller.c:
23124           Header include fix.
23125         * gst/base/gstbasetransform.c:
23126         (gst_base_transform_default_prepare_buf),
23127         (gst_base_transform_handle_buffer):
23128         * gst/base/gstbasetransform.h:
23129           Some more basetransform changes and fixes to enable sub-classes
23130           that modify buffer metadata only.
23131         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23132         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23133         (gst_capsfilter_prepare_buf):
23134           If the output pad has fixed allowed caps and input buffers 
23135           don't have any, set the fixed caps on outgoing buffers.
23136
23137 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23138         * check/elements/identity.c: (GST_START_TEST):
23139           Make the error a little clearer when the test fails because
23140           identity made a copy of the buffer.
23141         * docs/gst/gstreamer-sections.txt:
23142           New symbols in gstbasetransform.h
23143         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23144         (gst_base_transform_init), (gst_base_transform_transform_size),
23145         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23146         (gst_base_transform_default_prepare_buf),
23147         (gst_base_transform_get_unit_size),
23148         (gst_base_transform_buffer_alloc),
23149         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23150         (gst_base_transform_change_state),
23151         (gst_base_transform_set_passthrough),
23152         (gst_base_transform_set_in_place),
23153         (gst_base_transform_is_in_place):
23154         * gst/base/gstbasetransform.h:
23155           Change BaseTransform to separate in_place operate from same_caps
23156           output. in_place implies that the element can perform the transform
23157           on incoming buffers in-place, even if the caps on the output are
23158           different.
23159           Sub-class elements can now implement special buffer allocation
23160           methods for outgoing buffers if they wish to.
23161           Big documentation addition.
23162         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23163         * gst/elements/gstelements.c:
23164           Changes for basetransform modifications.
23165         * gst/elements/Makefile.am:
23166         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23167           Compile fix. Extra debug output.
23168
23169 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23170
23171         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23172         (gst_pad_suite):
23173           add tests for valid pad naming
23174         * gst/check/gstcheck.c: (gst_check_log_message_func),
23175         (gst_check_log_critical_func):
23176           add ASSERT_WARNING
23177           remove printing of code, it is fragile when the code contains
23178           % and the line number is enough info
23179         * gst/check/gstcheck.h:
23180         * gst/gstpad.c: (gst_pad_template_new):
23181           fix memleaks
23182
23183 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23184
23185         * configure.ac:
23186           say what CHECK flags we use
23187         * docs/libs/gstreamer-libs.types:
23188         * libs/gst/controller/Makefile.am:
23189         * libs/gst/controller/gst-controller.c:
23190         * libs/gst/controller/gst-controller.h:
23191         * libs/gst/controller/gst-helper.c:
23192         * libs/gst/controller/gst-interpolation.c:
23193         * libs/gst/controller/gstcontroller.c:
23194         * libs/gst/controller/gsthelper.c:
23195         * libs/gst/controller/gstinterpolation.c:
23196         * tools/gst-inspect.c: (print_plugin_info):
23197           we don't use dashes in header names
23198
23199 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23200
23201         * check/Makefile.am:
23202         * check/gst/.cvsignore:
23203         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23204         (gst_pipeline_suite), (main):
23205           adding a test for pipelines and state changes
23206         * gst/gstutils.c: (get_state_func):
23207           add some debugging
23208         * gstreamer.spec.in:
23209           fix up spec file
23210
23211 2005-09-08  Michael Smith <msmith@fluendo.com>
23212
23213         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23214         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23215         (gst_file_src_is_seekable), (gst_file_src_get_size),
23216         (gst_file_src_start):
23217         * gst/elements/gstfilesrc.h:
23218           Various fixes for unseekable, unmmapable, and non-normal files, so
23219           that fallback to read() rather than mmap() works.
23220         * gst/gstevent.c: (gst_event_new_newsegment):
23221           Allow newsegment events with segment_start == segment_end, as will
23222           correctly happen if you use filesrc on a zero-size file, for
23223           example.
23224
23225 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23226
23227         * gst/gstplugin.c: (gst_plugin_load_file):
23228           Call g_module_close when we don't load the module
23229
23230         * gst/registries/gstlibxmlregistry.c:
23231         (gst_xml_registry_get_property):
23232           Port leak fix from 0.8
23233
23234 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23235
23236         * docs/gst/gstreamer-docs.sgml:
23237         * docs/gst/tmpl/.cvsignore:
23238         * docs/gst/tmpl/gsttrace.sgml:
23239         * docs/gst/tmpl/gsttrashstack.sgml:
23240         * gst/Makefile.am:
23241         * gst/gst.h:
23242         * gst/gstelement.h:
23243         * gst/gstevent.h:
23244         * gst/gstmessage.c:
23245         * gst/gstmessage.h:
23246         * gst/gsttag.c:
23247         * gst/gsttag.h:
23248         * gst/gsttaginterface.c:
23249         * gst/gsttaginterface.h:
23250         * gst/gsttaglist.c:
23251         * gst/gsttaglist.h:
23252         * gst/gsttagsetter.c:
23253         * gst/gsttagsetter.h:
23254         * gst/gsttrace.c:
23255         * gst/gsttrace.h:
23256         * gst/gsttrashstack.c:
23257           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23258           inlined docs for gsttrace, gsttrashstack
23259
23260 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23261
23262         * gst/Makefile.am:
23263         * gst/elements/gstbufferstore.h:
23264         * gst/elements/gsttypefindelement.c:
23265         * gst/elements/gsttypefindelement.h:
23266         * gst/gst.h:
23267         * gst/gsttypefind.c:
23268         * gst/gsttypefind.h:
23269         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23270         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23271         (gst_type_find_factory_dispose),
23272         (gst_type_find_factory_unload_thyself),
23273         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23274         (gst_type_find_factory_get_caps),
23275         (gst_type_find_factory_get_extensions),
23276         (gst_type_find_factory_call_function):
23277         * gst/gsttypefindfactory.h:
23278         * gst/registries/gstlibxmlregistry.c:
23279         * gst/registries/gstxmlregistry.c:
23280           splitted gsttypefind into gsttypefind, gsttypefindfactory
23281
23282 2005-09-07  Andy Wingo  <wingo@pobox.com>
23283
23284         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23285         condition whereby the pad's task function is entered before the
23286         pad_mode variable was set.
23287
23288 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23289
23290         * gst/gstpad.c: (gst_pad_alloc_buffer):
23291           Catch misbehaving pad_alloc functions that don't
23292           set up caps and do it for them.
23293
23294 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23295
23296         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23297           test for pipe!=NULL
23298         * docs/gst/tmpl/.cvsignore:
23299         * docs/gst/tmpl/gstmemchunk.sgml:
23300         * docs/gst/tmpl/gstparse.sgml:
23301         * docs/gst/tmpl/gsttaglist.sgml:
23302         * docs/gst/tmpl/gsttagsetter.sgml:
23303         * docs/gst/tmpl/gsttypefind.sgml:
23304         * docs/gst/tmpl/gsttypefindfactory.sgml:
23305         * gst/gstmemchunk.c:
23306         * gst/gstparse.c:
23307         * gst/gsttag.c:
23308         * gst/gsttaginterface.c:
23309         * gst/gsttypefind.c:
23310         * gst/gsttypefind.h:
23311           inlined more docs
23312
23313 === release 0.9.2 ===
23314
23315 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23316
23317         * NEWS:
23318         * RELEASE:
23319         * configure.ac:
23320           releasing 0.9.2, "South"
23321
23322 2005-09-05  Andy Wingo  <wingo@pobox.com>
23323
23324         * gst/registries/gstxmlregistry.h:
23325         * gst/registries/gstxmlregistry.c: Um... resurrect...
23326         
23327         * gst/registries/gstxmlregistry.h:
23328         * gst/registries/gstxmlregistry.c: and update to newer API.
23329         Incidentally they should be a bit faster now that they don't have
23330         to parse the caps.
23331         
23332 2005-09-05  Andy Wingo  <wingo@pobox.com>
23333
23334         * gst/registries/gstxmlregistry.h:
23335         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23336         replaced by the libxml registry a while back
23337
23338 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23339
23340         * docs/gst/tmpl/gstplugin.sgml:
23341         * gst/elements/gstelements.c:
23342         * gst/gst.c:
23343         * gst/gstplugin.c: (gst_plugin_register_func),
23344         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23345         (gst_plugin_get_source):
23346         * gst/gstplugin.h:
23347         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23348         (gst_xml_registry_save_plugin):
23349         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23350         (gst_xml_registry_save_plugin):
23351         * tools/gst-inspect.c: (print_plugin_info):
23352           add a "source" plugin description field, to represent the source
23353           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23354           will set it to PACKAGE, which is automake's idea of the name of
23355           the source project.
23356
23357 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23358
23359         * Makefile.am:
23360         * autogen.sh:
23361         * configure.ac:
23362         * docs/Makefile.am:
23363         * docs/faq/Makefile.am:
23364         * docs/gst/tmpl/gstelement.sgml:
23365         * docs/gst/tmpl/gsttypes.sgml:
23366         * docs/htmlinstall.mak:
23367         * docs/manual/Makefile.am:
23368         * docs/pwg/Makefile.am:
23369           reorganize doc build a little
23370           split out docbook and gtk-doc stuff
23371           have two separate --enable's and enable them through autogen
23372           but disable by default in configure (to be similar to other
23373           projects)
23374         * gstreamer.spec.in:
23375           clean up docs install
23376         * po/af.po:
23377         * po/az.po:
23378         * po/ca.po:
23379         * po/cs.po:
23380         * po/de.po:
23381         * po/en_GB.po:
23382         * po/fr.po:
23383         * po/it.po:
23384         * po/nb.po:
23385         * po/nl.po:
23386         * po/ru.po:
23387         * po/sq.po:
23388         * po/sr.po:
23389         * po/sv.po:
23390         * po/tr.po:
23391         * po/uk.po:
23392         * po/vi.po:
23393           translation updates
23394
23395 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23396
23397         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23398           Add comment.
23399           
23400         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23401         (gst_fake_sink_change_state):
23402           Make state change function thread-safe.
23403           
23404         * gst/gstpad.c: (gst_pad_alloc_buffer):
23405           Set offset on generic buffer allocated by fallback.
23406
23407 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23408
23409         * docs/gst/gstreamer-sections.txt:
23410         * docs/gst/tmpl/gstelement.sgml:
23411         * gst/gstpad.c:
23412         * libs/gst/controller/gst-controller.c:
23413         (gst_controlled_property_set_interpolation_mode),
23414         (gst_controlled_property_new),
23415         (gst_controller_find_controlled_property):
23416          run the wingo-magic script against the docs
23417
23418 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23419
23420         * docs/gst/gstreamer-docs.sgml:
23421         * docs/gst/gstreamer-sections.txt:
23422         * docs/gst/tmpl/.cvsignore:
23423         * docs/gst/tmpl/gstelementdetails.sgml:
23424         * docs/gst/tmpl/gstelementfactory.sgml:
23425         * gst/gst.c:
23426         * gst/gstbus.c:
23427         * gst/gstelementfactory.c:
23428         * gst/gstelementfactory.h:
23429           merged elementdetails docs into elementfactory docs
23430           inlined both
23431
23432 2005-09-02  Andy Wingo  <wingo@pobox.com>
23433
23434         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23435         consider this enum an enum and not a flags.
23436
23437 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23438
23439         * docs/gst/gstreamer-docs.sgml:
23440         * docs/gst/tmpl/.cvsignore:
23441         * docs/gst/tmpl/gstghostpad.sgml:
23442         * docs/gst/tmpl/gstiterator.sgml:
23443         * docs/gst/tmpl/gstmacros.sgml:
23444         * docs/gst/tmpl/gstrealpad.sgml:
23445         * docs/gst/tmpl/gstregistry.sgml:
23446         * docs/gst/tmpl/gstregistrypool.sgml:
23447         * docs/gst/tmpl/gststructure.sgml:
23448         * docs/gst/tmpl/gstsystemclock.sgml:
23449         * docs/gst/tmpl/gsttrace.sgml:
23450         * gst/gstghostpad.c:
23451         * gst/gstmacros.h:
23452         * gst/gstmemchunk.c:
23453         * gst/gstmemchunk.h:
23454         * gst/gstqueue.c:
23455         * gst/gstregistry.c:
23456         * gst/gstregistrypool.c:
23457         * gst/gststructure.c:
23458         * gst/gstsystemclock.c:
23459           more docs inlined
23460
23461 2005-09-02  Andy Wingo  <wingo@pobox.com>
23462
23463         * gst/gstelement.h (GstState): Renamed from GstElementState,
23464         changed to be a normal enum instead of flags.
23465         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23466         munged to be GST_STATE_CHANGE_*.
23467         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23468         work with the new state representation.
23469         (GstStateChange): New enumeration of possible state transitions.
23470         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23471         (GstElementClass::change_state): Pass the GstStateChange along as
23472         an argument. Helps language bindings, so they don't have to use
23473         tricky lock-needing macros like GST_STATE_CHANGE ().
23474
23475         * scripts/update-states (file): New script. Run it on a file to
23476         update it for state naming and API changes. Updates files in
23477         place.
23478
23479         * All files updated for the new API.
23480
23481 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23482
23483         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23484         * gst/gstutils.c: (gst_util_set_value_from_string),
23485         (gst_util_set_object_arg):
23486           fix a bunch of unchecked return values
23487         * tools/gst-complete.c: (main):
23488         * gstreamer.spec.in:
23489           clean up a little
23490
23491 2005-09-01  Wim Taymans  <wim@fluendo.com>
23492
23493         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23494         (gst_base_sink_event), (gst_base_sink_do_sync),
23495         (gst_base_sink_handle_event):
23496         * gst/base/gstbasesink.h:
23497         Handle newsegments more correctly.
23498
23499         * gst/gstbus.c:
23500         Fix docs.
23501
23502         * gst/gstevent.c: (gst_event_new_newsegment):
23503         A newsegment cannot have a start_time of -1
23504
23505 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23506
23507         * win32/gstenumtypes.c:
23508         * win32/gstenumtypes.h:
23509           Update
23510
23511 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23512
23513         * libs/gst/controller/gst-controller.c:
23514         (gst_controlled_property_set_interpolation_mode),
23515         (gst_controlled_property_new):
23516          fixed boolean again
23517
23518 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23519
23520         * docs/faq/gst-uninstalled:
23521           add -good
23522         * gst/gstevent.c:
23523         * gst/gstevent.h:
23524           remove wrong docs
23525         * gst/gstutils.c: (gst_element_link_filtered):
23526         * gst/gstutils.h:
23527           add gst_element_link_filtered
23528
23529 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23530
23531         * docs/gst/gstreamer-docs.sgml:
23532         * docs/gst/gstreamer-sections.txt:
23533         * docs/gst/tmpl/.cvsignore:
23534         * docs/gst/tmpl/gsterror.sgml:
23535         * docs/gst/tmpl/gstfilter.sgml:
23536         * docs/gst/tmpl/gsturihandler.sgml:
23537         * docs/gst/tmpl/gsturitype.sgml:
23538         * docs/gst/tmpl/gstutils.sgml:
23539         * docs/gst/tmpl/gstxml.sgml:
23540         * gst/gsterror.c:
23541         * gst/gsterror.h:
23542         * gst/gstfilter.c:
23543         * gst/gsturi.c:
23544         * gst/gsturitype.c:
23545         * gst/gstutils.c:
23546         * gst/gstxml.c:
23547           inlined more docs, fixed double id-ref
23548
23549 2005-08-31  Wim Taymans  <wim@fluendo.com>
23550
23551         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23552         (gst_base_transform_handle_buffer):
23553         Passthrough elements don't need the caps as they don't care.
23554
23555 2005-08-31  Wim Taymans  <wim@fluendo.com>
23556
23557         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23558         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23559         Don't leak refcounts on buffers.
23560
23561 2005-08-31  Wim Taymans  <wim@fluendo.com>
23562
23563         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23564         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23565         (gst_base_transform_chain), (gst_base_transform_change_state):
23566         * gst/base/gstbasetransform.h:
23567         Handle the case where we are not negotiated more gracefully.
23568
23569 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23570
23571         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23572         (gst_file_src_map_region):
23573           Set READONLY flag on mmap'ed buffers, otherwise
23574           gst_buffer_make_writable() won't work properly (#314708).
23575
23576 2005-08-31  Wim Taymans  <wim@fluendo.com>
23577
23578         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23579         passthrough elements can even do inplace on non writable
23580         buffers (as they don't touch them).
23581
23582 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23583
23584         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23585         (gst_test_mono_source_set_property),
23586         (gst_test_mono_source_class_init), (GST_START_TEST),
23587         (gst_controller_suite):
23588           more tests (hehe I have the most)
23589         * gst/gstbus.c:
23590           describe popping messages whenusing mulltiple sources
23591         * libs/gst/controller/gst-controller.c:
23592         (gst_controlled_property_set_interpolation_mode),
23593         (gst_controlled_property_new):
23594         * libs/gst/controller/gst-controller.h:
23595         * libs/gst/controller/gst-interpolation.c:
23596           implement boolean properties
23597
23598 2005-08-31  Wim Taymans  <wim@fluendo.com>
23599
23600         * gst/gstminiobject.c: (gst_mini_object_ref):
23601         Cannot assert that the refcount has to be positive
23602         since a disposed object can be resurrected.
23603
23604 2005-08-31  Wim Taymans  <wim@fluendo.com>
23605
23606         * gst/gstpad.c: (gst_pad_init):
23607         Revert change, need to first fix badly behaving 
23608         apps.
23609
23610 2005-08-30  Wim Taymans  <wim@fluendo.com>
23611
23612         * check/elements/fakesrc.c: (setup_fakesrc):
23613         * check/elements/identity.c: (setup_identity):
23614         Activate pads before using them.
23615
23616 2005-08-30  Wim Taymans  <wim@fluendo.com>
23617
23618         * gst/base/gstadapter.c: (gst_adapter_flush):
23619         Flushing out 0 bytes is ok for this function.
23620
23621         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23622         no newsegment gives a warning and sets the start/stop to 
23623         invalid.
23624
23625         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23626         (gst_base_transform_set_passthrough):
23627         Some debug info.
23628
23629         * gst/gstminiobject.c: (gst_mini_object_ref):
23630         Check refcount here too.
23631
23632         * gst/gstpad.c: (gst_pad_init):
23633         Pads are initially flushing and refusing data.
23634
23635         * gst/gstutils.c: (gst_element_link_pads_filtered):
23636         When adding a capsfilter element make sure it has the
23637         same state as the parent bin.
23638
23639 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23640
23641         * docs/gst/tmpl/.cvsignore:
23642         * docs/gst/tmpl/gstformat.sgml:
23643         * docs/gst/tmpl/gstversion.sgml:
23644         * gst/gstbus.h:
23645         * gst/gstformat.c:
23646         * gst/gstformat.h:
23647         * gst/gstversion.h.in:
23648           more docs and two more inlined
23649
23650 2005-08-30  Wim Taymans  <wim@fluendo.com>
23651
23652         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23653         Don't sync to clock.
23654
23655 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23656
23657         * docs/gst/gstreamer-sections.txt:
23658           ultral33t func10ns deserve to appear in the docs actually
23659         * docs/gst/tmpl/.cvsignore:
23660         * docs/gst/tmpl/gstcompat.sgml:
23661         * docs/gst/tmpl/gstconfig.sgml:
23662         * gst/check/gstcheck.c:
23663         * gst/gstcompat.h:
23664         * gst/gstconfig.h.in:
23665           inlined more docs
23666
23667 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23668
23669         * docs/gst/tmpl/.cvsignore:
23670         * docs/gst/tmpl/gstquery.sgml:
23671         * docs/gst/tmpl/gstutils.sgml:
23672         * gst/gstquery.c:
23673         * gst/gstquery.h:
23674           inlined and extended docs
23675
23676 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23677
23678         * check/gst-libs/controller.c: (GST_START_TEST),
23679         (gst_controller_suite):
23680           more tests
23681         * docs/gst/tmpl/gstutils.sgml:
23682         * docs/libs/gstreamer-libs-sections.txt:
23683         * docs/libs/tmpl/gstdataprotocol.sgml:
23684           include path fixes
23685         * examples/controller/audio-example.c: (main):
23686           controller example works now
23687         * gst/gstclock.h:
23688           doc fixes
23689         * tools/gst-inspect.c: (print_element_properties_info):
23690           show param spec flags
23691
23692 2005-08-29  Andy Wingo  <wingo@pobox.com>
23693
23694         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23695
23696 2005-08-28  Andy Wingo  <wingo@pobox.com>
23697
23698         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23699         as having two arguments instead of just one. Allows superclasses
23700         to access information on subclasses -- see the terrible for() loop
23701         in gtype.c:g_type_create_instance for the reason why. All callers
23702         changed.
23703
23704 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23705
23706         * docs/design/part-messages.txt:
23707           update info
23708         * docs/gst/tmpl/.cvsignore:
23709         * docs/gst/tmpl/gstcaps.sgml:
23710         * docs/gst/tmpl/gstclock.sgml:
23711         * gst/gstbus.c:
23712         * gst/gstcaps.c:
23713         * gst/gstcaps.h:
23714         * gst/gstclock.c:
23715         * gst/gstclock.h:
23716         * gst/gstmessage.c:
23717           added descriptions for bus and message
23718           inline caps and clock docs
23719
23720 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23721
23722         * gst/gstmessage.c:
23723         * gst/gstmessage.h:
23724           doc fixes
23725
23726 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23727
23728         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23729           fix div-by-zero
23730
23731 2005-08-26  Andy Wingo  <wingo@pobox.com>
23732
23733         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23734         element_set_state's return val.
23735         (test_2_elements): Add test that's been disabled for months.
23736
23737         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23738         can-activate-pull properties.
23739
23740         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23741         can-activate-pull properties. Implement is_seekable so fakesrc can
23742         operate in pull mode.
23743
23744         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23745         properties.
23746         (gst_base_sink_activate, gst_base_sink_activate_pull)
23747         (gst_base_sink_activate_push): Make activation mode choosing work.
23748         Cleanups.
23749         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23750         is right. Make pull mode work. Post an eos before pausing in pull
23751         mode.
23752         (gst_base_sink_change_state): Pay attention to the core's
23753         change_state() return val.
23754         
23755         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23756         has-getrange properties. Cleanups.
23757         
23758         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23759         has_getrange and replace with can_activate_pull and
23760         can_activate_push.
23761
23762         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23763         locking comments. Remove has_loop, has_chain and replace with
23764         can_activate_pull and can_activate_push.
23765
23766 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
23767
23768         * configure.ac:
23769         * examples/Makefile.am:
23770         * examples/metadata/Makefile.am:
23771         * examples/metadata/read-metadata.c: (message_loop),
23772         (have_pad_handler), (make_pipeline), (print_tag), (main):
23773           Add metadata reading example that loops over a list of filenames,
23774           dumping any tags found.
23775
23776         * gst/gstbus.c: (gst_bus_dispose):
23777         * gst/gstelement.c: (gst_element_dispose):
23778           Release a few potentially-held references in dispose.
23779
23780 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23781
23782         * docs/gst/tmpl/gstminiobject.sgml:
23783           do *not* add tmpl/*.sgml files to CVS!
23784
23785 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23786
23787         * libs/gst/bytestream/.cvsignore:
23788         * libs/gst/bytestream/Makefile.am:
23789         * libs/gst/bytestream/adapter.c:
23790         * libs/gst/bytestream/adapter.h:
23791         * libs/gst/bytestream/bytestream.c:
23792         * libs/gst/bytestream/bytestream.h:
23793         * libs/gst/bytestream/filepad.c:
23794         * libs/gst/bytestream/filepad.h:
23795           removing obsolete files
23796
23797 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23798
23799         * docs/gst/gstreamer-docs.sgml:
23800         * docs/libs/gstreamer-libs-docs.sgml:
23801           disabed additional index entries again, as this makes docs-gen just
23802           slow and they aren't useful yet
23803         * docs/libs/gstreamer-libs-sections.txt:
23804           little -section.txt cleanup for libs
23805
23806 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
23807
23808         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23809         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23810           fix up some debugging
23811         (gst_base_transform_get_unit_size),
23812         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23813         (gst_base_transform_handle_buffer):
23814         * gst/base/gstbasetransform.h:
23815           handle and store timed NEWSEGMENT events so that subclasses that
23816           calculate time by counting samples have a segment_start time they
23817           need to add to their timestamps - see audioresample
23818
23819 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23820
23821         * gst/gstbin.h:
23822           removed ';' from the end of macro defs
23823         * docs/gst/gstreamer-docs.sgml:
23824         * docs/gst/gstreamer-sections.txt:
23825         * docs/gst/tmpl/.cvsignore:
23826         * gst/gstbus.h:
23827         * gst/gstelement.c: (gst_element_class_init),
23828         (gst_element_set_state), (activate_pads),
23829         (gst_element_save_thyself):
23830         * gst/gstevent.c: (gst_event_new_newsegment):
23831         * gst/gstevent.h:
23832         * gst/gstiterator.c:
23833         * gst/gstiterator.h:
23834         * gst/gstpad.c:
23835         * gst/gstprobe.h:
23836         * gst/gstutils.c: (gst_pad_query_convert):
23837         * gst/gstutils.h:
23838           fixed parameter name mismatches between source, header and docs
23839           added some more docs, resolved the last batch of unused elements in
23840           docs (now someone needs to doc them)
23841
23842 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23843
23844         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23845         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23846           don't walk through the plugins backwards.  Where is all this
23847           reversed logic coming from ?
23848
23849 2005-08-25  Wim Taymans  <wim@fluendo.com>
23850
23851         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23852         (gst_base_transform_transform_size),
23853         (gst_base_transform_configure_caps),
23854         (gst_base_transform_get_unit_size),
23855         (gst_base_transform_buffer_alloc),
23856         (gst_base_transform_change_state):
23857         * gst/base/gstbasetransform.h:
23858         Cache caps unit_size.
23859         Make sure we cannot negotiate up and downstream at the
23860         same time.
23861
23862 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23863
23864         * gst/gst.c: (init_pre), (init_post):
23865           register the installed plugin path after the env var
23866         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23867         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23868           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23869           directories, so the tests can prefer uninstalled over installed
23870
23871 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23872
23873         * gst/base/gstbasetransform.h:
23874           comment
23875         * gst/gstpad.c:
23876           add to docs
23877
23878 2005-08-25  Wim Taymans  <wim@fluendo.com>
23879
23880         * gst/gstbin.c: (bin_bus_handler):
23881         Be a bit more conservative about the posted message.
23882         
23883         * gst/gstbus.c: (gst_bus_post):
23884         Some cleanups, warn wrong return values.
23885
23886 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
23887
23888         * check/gst/gstbin.c: (GST_START_TEST):
23889         * gst/gstbin.c: (bin_bus_handler):
23890         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23891         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23892         (gst_message_new_warning), (gst_message_new_tag),
23893         (gst_message_new_state_changed), (gst_message_new_segment_start),
23894         (gst_message_new_segment_done), (gst_message_new_custom):
23895         * gst/gstmessage.h:
23896         * tools/gst-launch.c: (event_loop):
23897         * tools/gst-md5sum.c: (event_loop):
23898           Revert unpopular change for GST_MESSAGE_SRC to GObject.
23899
23900 2005-08-25  Wim Taymans  <wim@fluendo.com>
23901
23902         * check/generic/states.c: (GST_START_TEST):
23903         Cleanup can be done at the end.
23904
23905         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
23906         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23907         (gst_task_get_state), (gst_task_start), (gst_task_pause):
23908         Oh boy.. Thanks for finding this, Thomas. 
23909
23910 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23911
23912         * docs/gst/gstreamer.types:
23913           added missing types
23914
23915 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23916
23917         * docs/gst/gstreamer-docs.sgml:
23918         * docs/gst/gstreamer-sections.txt:
23919         * docs/gst/tmpl/.cvsignore:
23920         * gst/gstbin.c:
23921         * gst/gstiterator.c:
23922         * gst/gstutils.c:
23923         * gst/registries/gstxmlregistry.h:
23924           added missing classes and symbols (123 more to go)
23925           removed removed symbols from section file
23926           fixed many doc-comments
23927
23928 2005-08-24  Wim Taymans  <wim@fluendo.com>
23929
23930         * check/generic/states.c: (GST_START_TEST):
23931         Make sure all tasks are stopped.
23932
23933         * check/gst/gstbin.c: (GST_START_TEST):
23934         Unref after usage for proper valgrinding.
23935
23936         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
23937         Really wait for the task to stop before destroying the
23938         mutex.
23939
23940         * gst/gstqueue.c: (gst_queue_sink_activate_push),
23941         (gst_queue_src_activate_push):
23942         Small cleanups. Don't stop the task when we did not start
23943         it.
23944
23945         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
23946         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23947         (gst_task_get_state), (gst_task_start), (gst_task_pause),
23948         (gst_task_join):
23949         * gst/gsttask.h:
23950         Protect the stream lock with the object lock.
23951         Disallow setting the stream lock when running.
23952         Add cleanup_all to wait for the threadpool to finish.
23953         Remove code to autoallocate a mutex if none was provided.
23954         Add _join() to wait for a task to stop.
23955         Protect the thread pool with a global lock.
23956
23957 2005-08-24  Wim Taymans  <wim@fluendo.com>
23958
23959         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23960         (gst_base_sink_get_times), (gst_base_sink_do_sync),
23961         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
23962         * gst/base/gstbasesink.h:
23963         Handle newsegment events correctly.
23964         Drop buffers out of the segment range.
23965
23966 2005-08-22  Andy Wingo  <wingo@pobox.com>
23967
23968         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
23969         macro, implements an interface and gstimplementsinterface for a
23970         new type.
23971
23972 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23973
23974         * check/Makefile.am:
23975         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
23976           add a test that does a bunch of state changes on elements
23977           needs some fixing for valgrind
23978         * check/states/sinks.c: (gst_object_suite):
23979           whitespace
23980         * gst/gstcaps.h:
23981           add prototype for gst_caps_is_equal_fixed
23982         * gst/gstplugin.c:
23983         * gst/gstregistrypool.c:
23984           doc fixes
23985
23986 2005-08-24  Andy Wingo  <wingo@pobox.com>
23987
23988         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
23989         convert a negative value. Doesn't make much sense. Mostly this is
23990         here to force callers to ensure -1 maps to -1.
23991
23992 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
23993
23994         * docs/pwg/advanced-types.xml:
23995           Well done to Michael for catching my deliberate introduction
23996           of this spelling mistake. 
23997         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
23998         * gst/gstelement.h:
23999           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24000           unlink pads before removing the element from the bin.
24001
24002 2005-08-24  Andy Wingo  <wingo@pobox.com>
24003
24004         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24005         the same thing as GST_DEBUG=*:4.
24006         (parse_debug_level, parse_debug_category): New helper parsers.
24007
24008 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24009
24010         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24011         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24012         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24013         (gst_base_transform_buffer_alloc),
24014         (gst_base_transform_handle_buffer):
24015           use gboolean return values and pointers to size so we can use the
24016           full GST_BUFFER_SIZE range (guint) for buffer sizes
24017           use GstPadDirection for transform_caps
24018         * gst/base/gstbasetransform.h:
24019           rename get_size to get_unit_size since that's what it is
24020         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24021           use GstPadDirection for transform_caps
24022         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24023         * gst/gstutils.h:
24024           cleanup and debugging
24025
24026 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24027
24028         * gst/gstelement.c: (gst_element_class_init),
24029         (gst_element_set_state), (activate_pads),
24030         (gst_element_save_thyself):
24031         * tools/gst-compprep.c: (main):
24032         * tools/gst-inspect.c: (print_element_properties_info):
24033         * tools/gst-xmlinspect.c: (print_element_properties):
24034           Fixed long standing mem-leak
24035
24036 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24037
24038         * check/gst/gstbin.c: (GST_START_TEST):
24039         * gst/gstbin.c: (bin_bus_handler):
24040         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24041         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24042         (gst_message_new_warning), (gst_message_new_tag),
24043         (gst_message_new_state_changed), (gst_message_new_segment_start),
24044         (gst_message_new_segment_done), (gst_message_new_custom):
24045         * gst/gstmessage.h:
24046         * tools/gst-launch.c: (event_loop):
24047         * tools/gst-md5sum.c: (event_loop):
24048           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24049           that applications can sensibly post custom messages with references
24050           to their own objects.
24051
24052 2005-08-24  Andy Wingo  <wingo@pobox.com>
24053
24054         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24055         already.
24056
24057 2005-08-24  Wim Taymans  <wim@fluendo.com>
24058
24059         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24060         (gst_base_transform_transform_caps),
24061         (gst_base_transform_transform_size),
24062         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24063         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24064         (gst_base_transform_handle_buffer):
24065         * gst/base/gstbasetransform.h:
24066         Many fixes and new features added by Thomas. Can now also do
24067         transforms with variable sizes and a custom fixate_caps function.
24068
24069 2005-08-24  Wim Taymans  <wim@fluendo.com>
24070
24071         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24072         Some debugging.
24073
24074         * gst/gstclock.h:
24075         Cast to ClockTime before formatting to time.
24076
24077         * gst/gstutils.h:
24078         Cleanups.
24079
24080 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24081
24082         * check/gst-libs/controller.c: (GST_START_TEST),
24083         (gst_controller_suite):
24084         * docs/gst/tmpl/gstcaps.sgml:
24085         * docs/gst/tmpl/gstghostpad.sgml:
24086         * docs/gst/tmpl/gstquery.sgml:
24087         * docs/gst/tmpl/gstutils.sgml:
24088         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24089         (gst_object_sink_values), (gst_object_get_value_arrays),
24090         (gst_object_get_value_array):
24091           gracefully handle helper method calls to objects that are not beeing
24092           controlled, added test case for that          
24093
24094 2005-08-23  Wim Taymans  <wim@fluendo.com>
24095
24096         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24097         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24098         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24099         (gst_event_parse_qos), (gst_event_new_seek),
24100         (gst_event_parse_seek):
24101         * gst/gstevent.h:
24102         Some more debugging output and doc cleanups.
24103
24104         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24105         Fix possible deadlock.
24106
24107 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24108
24109         * docs/gst/gstreamer-docs.sgml:
24110         * docs/gst/gstreamer-sections.txt:
24111         * docs/gst/gstreamer.types:
24112         * docs/gst/tmpl/.cvsignore:
24113         * gst/gstbin.h:
24114         * gst/gstbus.c:
24115         * gst/gstelement.c:
24116         * gst/gstevent.h:
24117           added 100 symbols from gstreamer-unused.txt to the right sections
24118           fixed more broken comments
24119           added GstBus to docs
24120
24121 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24122
24123         * docs/gst/gstreamer-sections.txt:
24124         * docs/gst/tmpl/.cvsignore:
24125         * docs/gst/tmpl/gstbin.sgml:
24126         * docs/gst/tmpl/gstbuffer.sgml:
24127         * gst/base/gstbasesrc.c:
24128         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24129         * gst/gstbuffer.c:
24130         * gst/gstbuffer.h:
24131         * tools/gst-launch.1.in:
24132           inlined more doc comments, added missing comments and fixed comments
24133           fixed typos
24134
24135 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24136
24137         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24138           some debugging
24139         * gst/gstcaps.h:
24140           whitespace fixes
24141         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24142           more debugging
24143         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24144         * gst/gststructure.h:
24145           add a fixate function for booleans; add a FIXME that these func
24146           names should probably be gst_structure_fixate_*
24147
24148 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24149
24150         * docs/gst/gstreamer-docs.sgml:
24151         * docs/gst/gstreamer-sections.txt:
24152         * gst/Makefile.am:
24153         * gst/gstbin.c: (gst_bin_get_type),
24154         (gst_bin_child_proxy_get_child_by_index),
24155         (gst_bin_child_proxy_get_children_count),
24156         (gst_bin_child_proxy_init):
24157         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24158         (gst_child_proxy_get_child_by_index),
24159         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24160         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24161         (gst_child_proxy_get), (gst_child_proxy_set_property),
24162         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24163         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24164         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24165         * gst/gstchildproxy.h:
24166         * gst/parse/grammar.y:
24167         * tools/gst-inspect.c: (print_interfaces),
24168         (print_element_properties_info), (print_element_info):
24169           ported gstchildproxy over from 0.8
24170           ported gst-inspect fixes and enhancements over from 0.8
24171
24172 2005-08-22  Wim Taymans  <wim@fluendo.com>
24173
24174         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24175         (gst_base_transform_handle_buffer):
24176         Also call the transform function if we have ANY caps.
24177
24178         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24179         Fix debug info.
24180
24181 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24182
24183         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24184           Don't pretend to handle seek events if the source is not seekable
24185
24186 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24187
24188         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24189           Remove extra parameter to debug output
24190
24191         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24192         (gst_base_src_do_seek), (gst_base_src_activate_push):
24193           Fix seek event handling.
24194
24195         * gst/gstpipeline.c: (gst_pipeline_change_state):
24196         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24197         (gst_queue_src_activate_push):
24198           Don't start the src pad task on FLUSH_STOP if the pad
24199           isn't linked.
24200           Debug changes.
24201
24202 2005-08-22  Wim Taymans  <wim@fluendo.com>
24203
24204         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24205         Added check for gst_static_caps_get() refcounting.
24206
24207 2005-08-22  Wim Taymans  <wim@fluendo.com>
24208
24209         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24210         Make _static_caps_get() refcounting sane.
24211         
24212         * gst/gstelement.c: (gst_element_set_state):
24213         Add g_return_val_if_fail() to protect against segfaults.
24214
24215 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24216
24217         * docs/gst/tmpl/gstevent.sgml:
24218         * gst/gstevent.c:
24219         * gst/gstevent.h:
24220           inlined remaining docs, added missing doc comments
24221
24222 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24223
24224         * check/gst/gstbin.c: (GST_START_TEST):
24225           since we don't know when preroll is done, use refcount range
24226           check for the sink
24227         * gst/check/gstcheck.h:
24228           add macro for checking refcount range
24229
24230 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24231
24232         * check/Makefile.am:
24233           clean up environment for when registry gets built versus
24234           when actual tests are run; valgrind seems to not report
24235           leaks if GST_PLUGIN_PATH is set to some specific values
24236         * check/gst/gstbin.c: (GST_START_TEST):
24237           add more refcounting checks; maybe this exposes a
24238           preroll lock bug ?
24239         * common/check.mak:
24240         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24241         * gst/check/gstcheck.h:
24242         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24243         (gst_bin_change_state):
24244         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24245           add/fix debugging/whitespace
24246
24247 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24248
24249         * check/gst/gstevent.c: (event_probe), (test_event),
24250         (GST_START_TEST):
24251          Er, don't call gst_bin_watch_for_state_change you idiot.
24252
24253 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24254
24255         * check/Makefile.am:
24256           Use CHECK_CFLAGS and CHECK_LIBS
24257         * check/gst/gstevent.c: (event_probe), (test_event),
24258         (GST_START_TEST):
24259           Don't leak events.
24260         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24261         (gst_base_src_start), (gst_base_src_stop),
24262         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24263         (gst_base_src_change_state):
24264           Sprinkle gst_base_src_stop liberally around error paths to fix
24265           problems reusing a source after failed state changes.
24266         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24267         (helper_find_suggest), (gst_type_find_helper):
24268           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24269         * gst/gstevent.h:
24270         * docs/gst/tmpl/gstevent.sgml:
24271           Migrate part of the docs from the SGML file. Wait for ensonic to
24272           tell me how I did it wrong ;)
24273         * tools/gst-typefind.c: (main):
24274           Extra robustness to state changes between files.
24275
24276 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24277
24278         * check/Makefile.am:
24279           don't valgrind the controller test - it's leaking - Stefan, HELP
24280         * gst/check/gstcheck.c: (gst_check_message_error),
24281         (gst_check_chain_func), (gst_check_setup_element),
24282         (gst_check_teardown_element), (gst_check_setup_src_pad),
24283         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24284         (gst_check_teardown_sink_pad):
24285         * gst/check/gstcheck.h:
24286           add a bunch of methods to set up elements, and src and sink pads
24287         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24288         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24289         (GST_START_TEST):
24290           use them
24291         * gst/gstmessage.c:
24292         * gst/gsttag.h:
24293           whitespace/doc fixes
24294
24295 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24296
24297         * gst/gstelement.h:
24298           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24299           be handled by the application and not always printed as well
24300
24301 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24302
24303         * check/Makefile.am:
24304           set GST_TOOLS_DIR
24305         * gst/check/gstcheck.c: (gst_check_message_error):
24306         * gst/check/gstcheck.h:
24307           add a fail_unless_equals_int
24308           add fail_unless for error messages
24309
24310 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24311
24312         * check/Makefile.am:
24313         * check/gst.supp:
24314         * common/Makefile.am:
24315         * common/check.mak:
24316         * common/gst.supp:
24317           factor out some of the common stuff so we can use it
24318
24319 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24320
24321         * check/Makefile.am:
24322         * check/gst/gstiterator.c: (GST_START_TEST):
24323         * check/gst/gstsystemclock.c: (GST_START_TEST),
24324         (gst_systemclock_suite):
24325         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24326         * gst/gstclock.c:
24327           valgrind more tests
24328
24329 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24330
24331         * check/elements/.cvsignore:
24332         * check/elements/gstfakesrc.c:
24333           rename to name of element
24334         * check/elements/identity.c: (chain_func), (event_func),
24335         (setup_identity), (cleanup_identity), (GST_START_TEST),
24336         (identity_suite), (main):
24337           add a test for identity
24338         * check/Makefile.am:
24339         * pkgconfig/Makefile.am:
24340         * pkgconfig/gstreamer-check.pc.in:
24341         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24342         * gst/check:
24343         * gst/Makefile.am:
24344         * configure.ac:
24345           move the check stuff to a library that gets installed
24346         * check/gst-libs/controller.c: (GST_START_TEST):
24347         * check/gst-libs/gdp.c:
24348         * check/gst/gst.c: (GST_START_TEST):
24349         * check/gst/gstbin.c:
24350         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24351         * check/gst/gstbus.c:
24352         * check/gst/gstcaps.c: (GST_START_TEST):
24353         * check/gst/gstelement.c:
24354         * check/gst/gstghostpad.c:
24355         * check/gst/gstiterator.c:
24356         * check/gst/gstmessage.c:
24357         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24358         * check/gst/gstobject.c:
24359         * check/gst/gstpad.c: (GST_START_TEST):
24360         * check/gst/gststructure.c: (GST_START_TEST):
24361         * check/gst/gstsystemclock.c: (GST_START_TEST),
24362         (gst_systemclock_suite):
24363         * check/gst/gsttag.c: (gst_tag_suite):
24364         * check/gst/gstvalue.c:
24365         * check/pipelines/cleanup.c:
24366         * check/pipelines/simple_launch_lines.c:
24367         * check/states/sinks.c:
24368           change include statement
24369
24370         * docs/gst/gstreamer-sections.txt:
24371         * docs/gst/tmpl/gstpad.sgml:
24372           document more pad stuff
24373         * gst/gstminiobject.c: (gst_mini_object_ref),
24374         (gst_mini_object_unref):
24375           debug refcounting
24376
24377 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24378
24379         * docs/gst/tmpl/gst.sgml:
24380         * gst/gst.c:
24381           eliminate another tmpl file, fix spelling in the long-description
24382
24383 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24384
24385         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24386         (test_event), (timediff), (gstevents_suite):
24387           Should fix build on 64-bit arch's
24388
24389 2005-08-18  Andy Wingo  <wingo@pobox.com>
24390
24391         Make sure that when a pipeline goes to PLAYING, that data has
24392         actually hit the sink.
24393
24394         * check/states/sinks.c (test_sink): A sink that doesn't get any
24395         data shouldn't return SUCCESS for going to either PLAYING or
24396         PAUSED. Test also the return values on the way back down.
24397
24398         * gst/gstelement.c (gst_element_set_state): When changing the
24399         state of an element currently changing state asynchronously, go to
24400         lost-state after commiting the pending state. Makes future calls
24401         to get_state continue to return ASYNC.
24402
24403         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24404         ASYNC when going to PLAYING if we still don't have preroll, as can
24405         happen with live sources.
24406
24407 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24408
24409         * docs/pwg/advanced-types.xml:
24410           Hack long paragraph into 2 chunks as a workaround for buggy
24411           jadetex version in sid and breezy that loops infinitely and
24412           eats all RAM.
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           Provide more error margin in clock measurements to allow for 
24419           g_get_current_time inaccuracies.
24420
24421 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24422
24423         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24424         (test_event), (timediff), (gstevents_suite):
24425            Fix error message output so I might be able to tell why the
24426            test works here but fails on the build farm.
24427
24428 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24429
24430         * check/Makefile.am:
24431         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24432         (test_event), (timediff), (gstevents_suite), (main):
24433           I wrote a test!
24434
24435         * docs/design/part-seeking.txt:
24436           Spelling correction
24437
24438         * docs/gst/tmpl/gstevent.sgml:
24439         * docs/gst/tmpl/gstfakesrc.sgml:
24440           Docs updates.
24441
24442         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24443           Treat a buffer-without-newsegment the same as a receiving 
24444           a newsegment not in time format, and disable syncing to the clock
24445           with a warning.
24446
24447         * gst/gstbus.c: (gst_bus_set_sync_handler):
24448           Assert if anyone tries to replace the existing sync_handler for bus, 
24449           as only the owner should be setting it.
24450
24451         * gst/gstevent.h:
24452           Have a fixed set of custom event enums with events identified by
24453           their structure name (as in 0.8), rather than a free-for-all
24454           allowing collisions between enum values from different plugins.
24455
24456         * gst/gstpad.c: (gst_pad_class_init):
24457           Docs change.
24458           
24459         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24460           Handle out-of-band downstream events from the sending thread.
24461
24462 2005-08-17  Andy Wingo  <wingo@pobox.com>
24463
24464         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24465         play-timeout==0 to mean no timeout at all. In that case, don't
24466         bother with a get_state or a warning, just return directly, even
24467         if it's ASYNC.
24468
24469         * gst/base/gstbasetransform.c: Debug changes.
24470
24471         * gst/gstutils.h:
24472         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24473         ensure bins post state change messages. A bit of a hack but I can't
24474         think of a way to avoid it.
24475
24476         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24477
24478 2005-08-16  Andy Wingo  <wingo@pobox.com>
24479
24480         * gst/base/gstadapter.h:
24481         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24482         peek() but you own the data. Not terribly efficient atm.
24483
24484 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24485
24486         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24487         (gst_element_found_tags):
24488         * gst/gstutils.h:
24489           Add two utility functions for tag handling.
24490
24491 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24492
24493         * docs/manual/advanced-dataaccess.xml:
24494         * docs/manual/basics-helloworld.xml:
24495           Fix docs to use _bin_add() before _link(), which fixes the examples
24496           with recent core versions (reported by Madhan Raj M
24497           <raj_madan@rediffmail.com>, #313199).
24498
24499 2005-08-16  Wim Taymans  <wim@fluendo.com>
24500
24501         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24502         Added subtract checks.
24503
24504         * docs/design/part-events.txt:
24505         Some more docs about newsegment
24506
24507         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24508         Fix FIXME
24509
24510         * gst/gstcaps.c: (gst_caps_to_string):
24511         Add comments, cleanups.
24512         
24513         * gst/gstelement.c: (gst_element_save_thyself):
24514         cleanups
24515         
24516         * gst/gstvalue.c: (gst_value_collect_int_range),
24517         (gst_string_unwrap), (gst_value_union_int_int_range),
24518         (gst_value_union_int_range_int_range),
24519         (gst_value_intersect_int_int_range),
24520         (gst_value_intersect_int_range_int_range),
24521         (gst_value_intersect_double_double_range),
24522         (gst_value_intersect_double_range_double_range),
24523         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24524         (gst_value_subtract_int_range_int),
24525         (gst_value_subtract_double_range_double),
24526         (gst_value_subtract_double_range_double_range),
24527         (gst_value_subtract_from_list), (gst_value_subtract_list),
24528         (gst_value_can_compare), (gst_value_compare_fraction):
24529         Cleanups, add comments, remove unneeded asserts.
24530
24531 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24532
24533         * tools/gst-launch.c: (event_loop):
24534           don't convert NULL structures to strings
24535
24536 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24537
24538         * docs/gst/gstreamer-sections.txt:
24539           made some defines private
24540         * docs/gst/tmpl/gstconfig.sgml:
24541         * docs/gst/tmpl/gstqueue.sgml:
24542         * docs/gst/tmpl/gsttaglist.sgml:
24543         * docs/gst/tmpl/gsttypes.sgml:
24544         * docs/gst/tmpl/gstutils.sgml:
24545         * docs/pwg/appendix-porting.xml:
24546         * gst/base/gstbasesink.h:
24547         * gst/base/gstbasesrc.c:
24548         * gst/base/gstbasesrc.h:
24549         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24550         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24551         * gst/gstelement.c: (gst_element_class_init):
24552         * gst/gstpad.c: (gst_pad_class_init):
24553         * gst/gstqueue.c: (gst_queue_class_init):
24554         * gst/gstxml.c: (gst_xml_class_init):
24555           documented all undocumented signal inline
24556         * libs/gst/controller/gst-controller.h:
24557           added padding
24558
24559 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24560
24561         * docs/pwg/appendix-porting.xml:
24562           Document _set_link_function -> _set_setcaps_function.
24563
24564 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24565
24566         * check/Makefile.am:
24567           add a .check target for running the check
24568         * check/gst-libs/controller.c: (GST_START_TEST):
24569           cosmetic fixups
24570         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24571           complete checks for gstbuffer; would be nice if I could get the
24572           gcov stuff to work so I can see if I actually completed gstbuffer.c
24573         * check/gstcheck.h:
24574           add ASSERT_BUFFER_REFCOUNT
24575
24576 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24577
24578         * docs/gst/gstreamer-sections.txt:
24579         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24580         * gst/gsttag.h:
24581           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24582           spew out a warning if a tag that is already registered
24583           is re-registered, unless it is re-registered with a 
24584           different type (#308438).
24585
24586 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24587
24588         * docs/pwg/appendix-porting.xml:
24589         * docs/pwg/building-state.xml:
24590           Add some paragraphs about state changes in 0.9 to the PWG
24591           and the porting guide, in particular about the new meaning
24592           of GST_STATE_PAUSED and how to write state change functions
24593           with concurrent access by multiple threads in mind.
24594
24595 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24596
24597         * docs/gst/gstreamer-docs.sgml:
24598         * docs/libs/gstreamer-libs-docs.sgml:
24599           added deprecation and since indexes
24600         * libs/gst/controller/gst-controller.c:
24601         * libs/gst/controller/gst-helper.c:
24602           added since tags
24603
24604
24605 2005-08-11  Wim Taymans  <wim@fluendo.com>
24606
24607         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24608         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24609         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24610         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24611         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24612         (gst_ghost_pad_set_target):
24613         Actually implement (re)setting the target on a ghostpad
24614         as described in the docs.
24615
24616 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24617
24618         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24619           Check whether GST_DEBUG_NO_COLOR environment variable is
24620           set and disable coloured debug output if that is the case.
24621
24622 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24623
24624         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24625         (gst_type_find_helper):
24626           The memory returned by gst_type_find_peek() needs to
24627           stay valid until the end of a typefind function, and
24628           typefind functions may keep results from different 
24629           offsets around, so we can't just unref the buffer from
24630           the previous _peek(), but have to save all buffers 
24631           returned by _peek() until typefinding is done and only
24632           free them then.
24633
24634 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
24635
24636         * docs/gst/gstreamer-sections.txt:
24637         * gst/gstutils.h:
24638           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24639
24640 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24641
24642         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24643           Fix a pretty good memleak.
24644
24645 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24646
24647         * gst/gstiterator.h:
24648           Fix wrong include and 'make distcheck'.
24649
24650 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24651
24652         * gst/gstbin.c: (bin_bus_handler):
24653           Use gst_element_post_message() instead.
24654
24655 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24656
24657         * gst/base/gstadapter.h:
24658         * gst/base/gstbasesink.h:
24659         * gst/base/gstbasesrc.h:
24660         * gst/base/gstbasetransform.h:
24661         * gst/base/gstcollectpads.h:
24662         * gst/base/gstpushsrc.h:
24663         * gst/gstiterator.h:
24664           Add padding to our base elements' class and instance structs and
24665           to GstIterator (you will need to rebuild all plugins and apps!)
24666
24667 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24668
24669         * gst/gstbin.c: (bin_bus_handler):
24670           Make default message forwarding from child->bus to bin->bus
24671           threadsafe and make it not emit warnings if the parent has no bus.
24672
24673 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24674
24675         * gst/gstelement.c: (activate_pads):
24676           On paused->ready, set pad->caps to NULL, as is the documented
24677           behaviour in this state change. Fixes playback of series of
24678           media files when visualization is enabled in Totem.
24679
24680 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24681
24682         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24683           Allow NULL as filter-caps (which means "any").
24684
24685 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24686
24687         * docs/libs/gstreamer-libs-sections.txt:
24688         * libs/gst/controller/gst-controller.c:
24689         * libs/gst/controller/gst-controller.h:
24690         * libs/gst/controller/gst-helper.c:
24691           adding more entries to the docs and fix small doc-bugs
24692
24693 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24694
24695         * docs/gst/gstreamer-docs.sgml:
24696         * docs/gst/gstreamer-sections.txt:
24697         * docs/gst/gstreamer.types:
24698         * docs/gst/tmpl/gstbasesink.sgml:
24699         * docs/gst/tmpl/gstbasesrc.sgml:
24700         * docs/gst/tmpl/gstbasetransform.sgml:
24701         * docs/gst/tmpl/gstfakesrc.sgml:
24702         * gst/base/gstcollectpads.c:
24703         * gst/base/gstcollectpads.h:
24704         * libs/gst/controller/gst-controller.c:
24705         * libs/gst/controller/gst-controller.h:
24706         * libs/gst/controller/gst-helper.c:
24707         * libs/gst/controller/gst-interpolation.c:
24708         * libs/gst/controller/lib.c:
24709           added long/short desc for controller docs
24710           added collectpads base class docs
24711           added correct includes to base-class docs
24712
24713 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24714
24715         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24716         (gst_test_mono_source_set_property),
24717         (gst_test_mono_source_class_init), (GST_START_TEST),
24718         (gst_controller_suite):
24719         * docs/gst/gstreamer-docs.sgml:
24720         * docs/gst/gstreamer-sections.txt:
24721         * docs/gst/gstreamer.types:
24722         * docs/libs/gstreamer-libs-docs.sgml:
24723         * docs/libs/gstreamer-libs-sections.txt:
24724         * gst/base/gstadapter.c:
24725         * libs/gst/controller/gst-controller.c:
24726         (gst_controlled_property_new), (gst_controlled_property_free),
24727         (gst_controller_new_valist),
24728         (gst_controller_remove_properties_valist),
24729         (gst_controller_sink_values), (_gst_controller_finalize):
24730         * libs/gst/controller/gst-controller.h:
24731         * libs/gst/controller/gst-helper.c:
24732         (gst_object_control_properties), (gst_object_uncontrol_properties),
24733         (gst_object_get_controller), (gst_object_set_controller),
24734         (gst_object_sink_values), (gst_object_get_value_arrays),
24735         (gst_object_get_value_array):
24736           more tests (and fixes) for the controller
24737           more docs for the controller
24738           integrated companies docs for the adapter 
24739
24740 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24741
24742         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24743         (GST_START_TEST), (fakesrc_suite):
24744           add tests for sizetype
24745
24746 2005-08-04  Andy Wingo  <wingo@pobox.com>
24747
24748         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24749         fixes buffer_alloc proxying among other things.
24750
24751         * gst/base/gstbasetransform.c:
24752         * gst/base/gstbasetransform.h:
24753         Revert patch to gstbasetransform from 7-28 removing
24754         delay_configure.
24755
24756         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24757         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24758         Semantics changed, should return not the size of the output buffer
24759         but the byte size of a buffer with a given caps.
24760
24761         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24762         debug object.
24763         (gst_base_transform_configure_caps): Don't set out_size here: (in,
24764         out) are not the pad caps until setcaps finishes.
24765         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24766         not-in-place case as well. Deal with changing from in-place to
24767         not-in-place within calling pad_alloc_buffer. Still a bit
24768         concerned about the overhead here...
24769
24770 2005-08-03  Andy Wingo  <wingo@pobox.com>
24771
24772         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24773         fixating is an error.
24774
24775 2005-08-04  Edward Hervey  <edward@fluendo.com>
24776
24777         * gst/base/gstadapter.h: 
24778         Added gst_adapter_get_type() to the header
24779
24780 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24781
24782         * check/Makefile.am:
24783         * check/gst-libs/controller.c:
24784         * libs/gst/controller/gst-controller.c:
24785         (gst_controller_new_valist):
24786           added check test suite for the controller
24787         * gst/base/gstpushsrc.c:
24788           fixed a doc typo
24789
24790 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24791
24792         * docs/gst/Makefile.am:
24793         * docs/gst/gstreamer-docs.sgml:
24794         * docs/gst/gstreamer-sections.txt:
24795         * docs/gst/gstreamer.types:
24796         * docs/gst/tmpl/gstfakesrc.sgml:
24797         * gst/base/README:
24798         * gst/base/gstbasesink.c:
24799         * gst/base/gstbasesink.h:
24800         * gst/base/gstbasesrc.c:
24801         * gst/base/gstbasesrc.h:
24802         * gst/base/gstbasetransform.c:
24803         * gst/base/gstpushsrc.c:
24804         * gst/base/gstpushsrc.h:
24805           add short/long description docs to base classes
24806           add pushsrc to the docs
24807           remove consolidated doc fragments
24808
24809 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24810
24811         * configure.ac:
24812         * docs/libs/Makefile.am:
24813         * docs/libs/gstreamer-libs-docs.sgml:
24814         * docs/libs/gstreamer-libs-sections.txt:
24815         * docs/libs/gstreamer-libs.types:
24816         * examples/Makefile.am:
24817         * examples/controller/.cvsignore:
24818         * examples/controller/Makefile.am:
24819         * examples/controller/audio-example.c: (main):
24820         * libs/gst/Makefile.am:
24821         * libs/gst/controller/.cvsignore:
24822         * libs/gst/controller/Makefile.am:
24823         * libs/gst/controller/gst-controller.c:
24824         (on_object_controlled_property_changed), (gst_timed_value_compare),
24825         (gst_timed_value_find),
24826         (gst_controlled_property_set_interpolation_mode),
24827         (gst_controlled_property_new), (gst_controlled_property_free),
24828         (gst_controller_find_controlled_property),
24829         (gst_controller_new_valist), (gst_controller_new),
24830         (gst_controller_remove_properties_valist),
24831         (gst_controller_remove_properties), (gst_controller_set),
24832         (gst_controller_set_from_list), (gst_controller_unset),
24833         (gst_controller_get), (gst_controller_get_all),
24834         (gst_controller_sink_values), (gst_controller_get_value_arrays),
24835         (gst_controller_get_value_array),
24836         (gst_controller_set_interpolation_mode),
24837         (_gst_controller_finalize), (_gst_controller_init),
24838         (_gst_controller_class_init), (gst_controller_get_type):
24839         * libs/gst/controller/gst-controller.h:
24840         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24841         (g_object_uncontrol_properties), (g_object_get_controller),
24842         (g_object_set_controller), (g_object_sink_values),
24843         (g_object_get_value_arrays), (g_object_get_value_array):
24844         * libs/gst/controller/gst-interpolation.c:
24845         (gst_controlled_property_find_timed_value_node),
24846         (interpolate_none_get), (interpolate_trigger_get),
24847         (interpolate_trigger_get_value_array):
24848         * libs/gst/controller/lib.c: (gst_controller_init):
24849         * pkgconfig/Makefile.am:
24850         * pkgconfig/gstreamer-control-uninstalled.pc.in:
24851         * pkgconfig/gstreamer-control.pc.in:
24852         * testsuite/Makefile.am:
24853         * testsuite/controller/.cvsignore:
24854         * testsuite/controller/Makefile.am:
24855         * testsuite/controller/interpolator.c: (main):
24856           added controller code
24857           removed dparam pc files
24858
24859 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24860         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24861         (gst_collectpads_stop):
24862           Broadcast the condition when shutting down, to make sure we wake all
24863           threads up. Shut down pads on finalize, for safety.
24864
24865 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24866         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24867         (gst_base_transform_handle_buffer),
24868         (gst_base_transform_change_state):
24869           Handle PAUSED->READY->PAUSED transition after negotiation
24870           occurred already.
24871         * gst/gstmessage.c: (gst_message_init):
24872           Extra piece of debug for new messages.
24873
24874 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
24875
24876         * configure.ac:
24877         * docs/gst/tmpl/gstbasesrc.sgml:
24878         * docs/gst/tmpl/gstelement.sgml:
24879         * docs/gst/tmpl/gstevent.sgml:
24880         * docs/gst/tmpl/gstfakesrc.sgml:
24881         * docs/gst/tmpl/gstformat.sgml:
24882         * docs/gst/tmpl/gstghostpad.sgml:
24883         * docs/gst/tmpl/gstpad.sgml:
24884         * docs/gst/tmpl/gstquery.sgml:
24885         * docs/gst/tmpl/gststructure.sgml:
24886         * docs/gst/tmpl/gsttaglist.sgml:
24887         * docs/gst/tmpl/gstvalue.sgml:
24888         * docs/libs/gstreamer-libs-docs.sgml:
24889         * docs/libs/gstreamer-libs-sections.txt:
24890         * docs/libs/gstreamer-libs.types:
24891         * libs/gst/Makefile.am:
24892         * libs/gst/control/.cvsignore:
24893         * libs/gst/control/Makefile.am:
24894         * libs/gst/control/control.c:
24895         * libs/gst/control/control.h:
24896         * libs/gst/control/dparam.c:
24897         * libs/gst/control/dparam.h:
24898         * libs/gst/control/dparam_smooth.c:
24899         * libs/gst/control/dparam_smooth.h:
24900         * libs/gst/control/dparamcommon.h:
24901         * libs/gst/control/dparammanager.c:
24902         * libs/gst/control/dparammanager.h:
24903         * libs/gst/control/dplinearinterp.c:
24904         * libs/gst/control/dplinearinterp.h:
24905         * libs/gst/control/unitconvert.c:
24906         * libs/gst/control/unitconvert.h:
24907         * testsuite/Makefile.am:
24908         * testsuite/dynparams/.cvsignore:
24909         * testsuite/dynparams/Makefile.am:
24910         * testsuite/dynparams/dparamstest.c:
24911         * tools/Makefile.am:
24912         * tools/gst-inspect.c: (print_element_info), (main):
24913         * tools/gst-xmlinspect.c: (print_element_info), (main):
24914           deactivate and remove dparams (libgstcontrol)
24915
24916 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24917
24918         * gst/elements/gsttypefindelement.c:
24919         (gst_type_find_element_have_type), (gst_type_find_element_init),
24920         (stop_typefinding), (gst_type_find_element_handle_event),
24921         (gst_type_find_element_chain), (gst_type_find_element_getrange):
24922         * gst/elements/gsttypefindelement.h:
24923           Set caps on all outgoing buffers, not just the first one.
24924
24925 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24926
24927         * gst/elements/gsttypefindelement.c:
24928         (gst_type_find_element_have_type),
24929         (gst_type_find_element_check_set_buffer_caps),
24930         (gst_type_find_element_init), (stop_typefinding),
24931         (gst_type_find_element_handle_event),
24932         (gst_type_find_element_chain), (gst_type_find_element_getrange):
24933         * gst/elements/gsttypefindelement.h:
24934           Set caps on first outgoing buffer when we've found the type.
24935
24936 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24937
24938         * docs/gst/gstreamer-docs.sgml:
24939         * docs/gst/gstreamer-sections.txt:
24940         * docs/gst/tmpl/gstscheduler.sgml:
24941         * docs/gst/tmpl/gstschedulerfactory.sgml:
24942           Remove some old cruft from docs.
24943
24944 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
24945
24946         * gst/gstpad.h:
24947           Fix inline docs for GstPadLinkReturn.
24948           
24949         * gst/gststructure.c: (gst_structure_has_name):
24950         * gst/gststructure.h:
24951         * docs/gst/gstreamer-sections.txt:
24952           New API: gst_structure_has_name().
24953
24954 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
24955
24956         * configure.ac:
24957           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
24958           and _LARGEFILE_SOURCE in config.h as required. Do not 
24959           export those flags in our .pc files any longer (#142209).
24960
24961           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
24962
24963         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
24964         (gst_file_sink_do_seek), (gst_file_sink_event),
24965         (gst_file_sink_get_current_offset), (gst_file_sink_render):
24966           Redo seek/tell calls with large file support in mind; add some
24967           debugging messages; add log message that tells us when large
24968           file support is unavailable or not enabled for some reason.
24969
24970         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
24971           Add log message that tells us when large file support 
24972           is unavailable or not enabled for some reason.
24973
24974 2005-07-29  Wim Taymans  <wim@fluendo.com>
24975
24976         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
24977         Added test for removing an element with ghostpad from a bin.
24978         Fixed test as current implementation does the right thing.
24979
24980         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
24981         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
24982         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
24983         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
24984         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
24985         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
24986         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
24987         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24988         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
24989         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
24990         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
24991         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
24992         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
24993         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
24994         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
24995         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
24996         * gst/gstghostpad.h:
24997         Clean up ghostpads, remove properties for internal stuff.
24998         Make threadsafe.
24999         Fix refcounting.
25000         Prepare for switching targets, not all use cases work yet.
25001
25002 2005-07-29  Wim Taymans  <wim@fluendo.com>
25003
25004         * docs/design/part-gstghostpad.txt:
25005         Small update.
25006
25007         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25008         (gst_bin_remove_func):
25009         Unlinking pads while holding the bin LOCK is not a good
25010         idea.
25011
25012         * gst/gstpad.c: (gst_pad_class_init),
25013         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25014         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25015         No prob setting template after creating the pad.
25016
25017 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25018
25019         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25020         (gst_bus_peek), (gst_bus_source_dispatch),
25021         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25022         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25023           gst_bus_poll may be called from other threads. Handle
25024           this nicely by not making poll_data disappear off the
25025           stack once gst_bus_poll returns.
25026           gst_bus_peek now increments the refcount on the returned
25027           message.
25028
25029 2005-07-29  Wim Taymans  <wim@fluendo.com>
25030
25031         * docs/design/part-gstghostpad.txt:
25032         Overview of current GhostPad datastructures and use
25033         cases for changing the target.
25034
25035 2005-07-28  Wim Taymans  <wim@fluendo.com>
25036
25037         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25038         Added checks for hierarchy consistency whan adding linked
25039         elements to bins.
25040
25041         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25042         Added check to test element scheduling without bin/pipeline.
25043
25044         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25045         First add elements to bin, then link.
25046         
25047         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25048         (gst_bin_remove_func):
25049         Unlink pads from elements added/removed from bin to maintain
25050         hierarchy consistency.
25051
25052 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25053
25054         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25055         (gst_base_transform_handle_buffer):
25056         * gst/base/gstbasetransform.h:
25057           Remove broken delay_configure (fixes renegotiation of software
25058           scaling pipelines); remove some leftover printf()s.
25059
25060 2005-07-28  Wim Taymans  <wim@fluendo.com>
25061
25062         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25063         Added some more tests for wrong hierarchy
25064
25065         * docs/design/part-overview.txt:
25066         Some updates.
25067
25068         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25069         Cleanups.
25070
25071         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25072         (gst_element_dispose):
25073         Some more cleanups.
25074
25075         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25076         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25077         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25078         (gst_pad_set_caps), (gst_pad_send_event):
25079         Check for correct hierarchy when linking pads. Moving to
25080         strict requirement for ghostpads when linking elements in
25081         different bins.
25082
25083         * gst/gstpad.h:
25084         Clean ups. Added WRONG_HIERARCHY return value.
25085
25086 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25087
25088         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25089           Better debug if no transform is possible.
25090
25091 2005-07-27  Wim Taymans  <wim@fluendo.com>
25092
25093         * docs/random/wtay/network-transp:
25094         Some old doc I had.
25095
25096 2005-07-27  Wim Taymans  <wim@fluendo.com>
25097
25098         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25099         (gst_dp_event_from_packet):
25100         Fix serialization of seek events.
25101
25102 2005-07-27  Wim Taymans  <wim@fluendo.com>
25103
25104         * check/gst-libs/gdp.c: (GST_START_TEST):
25105         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25106         Fix compilation and fix event serialization.
25107
25108 2005-07-27  Wim Taymans  <wim@fluendo.com>
25109
25110         * CHANGES-0.9:
25111         * docs/design/part-TODO.txt:
25112         * docs/design/part-events.txt:
25113         Some docs updates
25114
25115         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25116         (gst_base_sink_event), (gst_base_sink_do_sync),
25117         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25118         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25119         (gst_base_src_do_seek), (gst_base_src_event_handler),
25120         (gst_base_src_loop):
25121         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25122         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25123         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25124         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25125         (gst_base_transform_set_passthrough),
25126         (gst_base_transform_is_passthrough):
25127         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25128         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25129         Event updates.
25130
25131         * gst/gstbuffer.h:
25132         Use faster casts.
25133
25134         * gst/gstelement.c: (gst_element_seek):
25135         * gst/gstelement.h:
25136         Update gst_element_seek.
25137
25138         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25139         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25140         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25141         (gst_event_new_eos), (gst_event_new_newsegment),
25142         (gst_event_parse_newsegment), (gst_event_new_tag),
25143         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25144         (gst_event_parse_qos), (gst_event_new_seek),
25145         (gst_event_parse_seek), (gst_event_new_navigation):
25146         * gst/gstevent.h:
25147         Make GstEvent use GstStructure. Add parsing code, make sure the
25148         API is sufficiently generic.
25149         Mark possible directions of events and serialization.
25150
25151         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25152         (_gst_message_copy), (gst_message_new_segment_start),
25153         (gst_message_new_segment_done), (gst_message_new_custom),
25154         (gst_message_parse_segment_start),
25155         (gst_message_parse_segment_done):
25156         Small cleanups.
25157
25158         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25159         (gst_pad_set_caps), (gst_pad_send_event):
25160         Update for new events. 
25161         Catch events sent in wrong directions.
25162
25163         * gst/gstqueue.c: (gst_queue_link_src),
25164         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25165         (gst_queue_handle_src_query):
25166         Event updates.
25167
25168         * gst/gsttag.c:
25169         * gst/gsttag.h:
25170         Remove event code from this file.
25171
25172         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25173         (gst_dp_event_from_packet):
25174         Event updates.
25175
25176 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25177
25178         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25179         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25180         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25181           Make debugging actually useful.
25182
25183 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25184
25185         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25186         (gst_pad_fixate_caps):
25187           Implement default fixation once again, so that gst_pad_fixate()
25188           actually does anything at all. This probably needs to be some
25189           sort of a last resort, and use profile-based fixation first, but
25190           since that doesn't exist yet, this is the best we have. Fixes
25191           visualization in Totem.
25192
25193 2005-07-22  Wim Taymans  <wim@fluendo.com>
25194
25195         * docs/design/part-events.txt:
25196         Small update.
25197
25198         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25199         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25200         (gst_base_sink_activate_pull):
25201         Some more comments.
25202
25203         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25204         (gst_fake_src_create):
25205         Fix handoff marshall.
25206
25207         * gst/elements/gstidentity.c: (gst_identity_class_init),
25208         (gst_identity_transform_ip):
25209         We're a real inplace element.
25210
25211         * gst/gstbus.c: (gst_bus_post):
25212         Added some comments.
25213
25214         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25215         * tests/muxing/case1.c: (main):
25216         * tests/sched/dynamic-pipeline.c: (main):
25217         * tests/sched/interrupt1.c: (main):
25218         * tests/sched/interrupt2.c: (main):
25219         * tests/sched/interrupt3.c: (main):
25220         * tests/sched/runxml.c: (main):
25221         * tests/sched/sched-stress.c: (main):
25222         * tests/seeking/seeking1.c: (event_received), (main):
25223         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25224         (main):
25225         * tests/threadstate/threadstate3.c: (main):
25226         * tests/threadstate/threadstate4.c: (main):
25227         * tests/threadstate/threadstate5.c: (main):
25228         Fix the tests.
25229
25230 2005-07-21  Wim Taymans  <wim@fluendo.com>
25231
25232         * docs/design/part-seeking.txt:
25233         Some small additions.
25234
25235         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25236         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25237         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25238         * gst/base/gstbasesink.h:
25239         discont values are gint64, handle the math correctly.
25240
25241         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25242         Make the basesrc report error if the source pad is not linked.
25243
25244         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25245         (gst_queue_loop), (gst_queue_handle_src_query),
25246         (gst_queue_src_activate_push):
25247         Make queue collect data even if the srcpad is not linked.
25248         Start pushing out data as soon as it is linked.
25249
25250         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25251         * gst/gstutils.h:
25252         Added gst_flow_get_name() to ease error reporting.
25253
25254 2005-07-20  Wim Taymans  <wim@fluendo.com>
25255
25256         * gst/gstmessage.c: (gst_message_new_segment_start),
25257         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25258         (gst_message_parse_segment_done):
25259         * gst/gstmessage.h:
25260         Added a bunch of messages for advanced seeking.
25261
25262         * gst/parse/grammar.y:
25263         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25264         (gst_dpman_state_changed):
25265         Fix some new-pad -> pad-added signals
25266
25267 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25268
25269         * docs/manual/appendix-porting.xml:
25270         * docs/pwg/appendix-porting.xml:
25271           Document new-pad/state-change signal renames and the FixedList
25272           type rename.
25273
25274 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25275
25276         * docs/manual/advanced-autoplugging.xml:
25277         * docs/manual/basics-helloworld.xml:
25278         * docs/manual/basics-pads.xml:
25279         * docs/random/ds/0.9-suggested-changes:
25280         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25281         * gst/gstelement.h:
25282         * gst/gstevent.h:
25283         * gst/gstformat.h:
25284         * gst/gstquery.h:
25285         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25286         (gst_structure_parse_array), (gst_structure_parse_value):
25287         * gst/gstvalue.c: (gst_type_is_fixed),
25288         (gst_value_list_prepend_value), (gst_value_list_append_value),
25289         (gst_value_list_get_size), (gst_value_list_get_value),
25290         (gst_value_transform_array_string), (gst_value_serialize_array),
25291         (gst_value_deserialize_array), (gst_value_intersect_array),
25292         (gst_value_is_fixed), (_gst_value_initialize):
25293         * gst/gstvalue.h:
25294           GstElement::new-pad -> pad-added, GstElement::state-change ->
25295           state-changed, GstValueFixedList -> GstValueArray, add format and
25296           flags as their own arguments in gst_element_seek() (should improve
25297           "bindeability"), remove function generators since they don't work
25298           under a whole bunch of compilers (they were deprecated already
25299           anyway).
25300
25301 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25302
25303         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25304         (_gst_debug_register_funcptr):
25305         * gst/gstinfo.h:
25306           Fix illegal cast on some platforms (#309253).
25307
25308 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25309
25310         * gst/gstmessage.c: (gst_message_new_custom):
25311         * gst/gstmessage.h:
25312           Add _new_custom, make _new_application a macro to _new_custom.
25313
25314 2005-07-20  Wim Taymans  <wim@fluendo.com>
25315
25316         * gst/base/gstbasesrc.c: (gst_base_src_init),
25317         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25318         * gst/base/gstbasesrc.h:
25319         Add a gboolean to decide when to push out a discont.
25320
25321         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25322         (gst_queue_loop), (gst_queue_handle_src_query),
25323         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25324         (gst_queue_set_property), (gst_queue_get_property):
25325         Some cleanups.
25326
25327         * tests/threadstate/threadstate1.c: (main):
25328         Make a thread test compile and run... very silly..
25329
25330
25331 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25332
25333         * docs/manual/appendix-porting.xml:
25334           Mention removal of libgstgconf-0.9.la and existence of gconf
25335           elements.
25336
25337 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25338
25339         * docs/pwg/advanced-clock.xml:
25340         * docs/pwg/appendix-porting.xml:
25341         * docs/pwg/intro-preface.xml:
25342         * docs/pwg/other-base.xml:
25343         * docs/pwg/other-manager.xml:
25344         * docs/pwg/other-nton.xml:
25345         * docs/pwg/other-ntoone.xml:
25346         * docs/pwg/other-oneton.xml:
25347         * docs/pwg/pwg.xml:
25348           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25349           demuxer), remove n-to-n (was never written), fix some code examples
25350           and links and update the porting section to include all this.
25351
25352 2005-07-19  Wim Taymans  <wim@fluendo.com>
25353
25354         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25355         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25356         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25357         (gst_queue_src_activate_push), (gst_queue_change_state),
25358         (gst_queue_get_property):
25359         * gst/gstqueue.h:
25360         Propagate GstFlowReturn more intelligently upstream and output
25361         an ERROR/EOS when streaming stopped due to fatal error.
25362
25363 2005-07-19  Wim Taymans  <wim@fluendo.com>
25364
25365         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25366         Don't block forever for the state change to complete, the
25367         pipeline already did with a sensible timeout.
25368
25369 2005-07-19  Wim Taymans  <wim@fluendo.com>
25370
25371         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25372         Make sure we never call the create function is we
25373         got deactivated.
25374
25375 2005-07-19  Andy Wingo  <wingo@pobox.com>
25376
25377         * gst/parse/parse.l: Attempt to solve bug #172815.
25378
25379 2005-07-19  Wim Taymans  <wim@fluendo.com>
25380
25381         * docs/design/part-clocks.txt:
25382         * docs/design/part-events.txt:
25383         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25384         Small docs updates.
25385         Only update the seeking values when we are not
25386         busy streaming.
25387
25388 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25389
25390         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25391           Oops, ignore the result of gst_pad_push_event here.
25392
25393 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25394
25395         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25396         (gst_base_src_activate_push):
25397           Send discont event from the loop function, as pads
25398           aren't activated yet in the activate_push handler.
25399
25400         * gst/gstbin.c: (bin_bus_handler):
25401           Don't leak element name.
25402
25403 2005-07-18  Andy Wingo  <wingo@pobox.com>
25404
25405         * configure.ac: Use AS_LIBTOOL_TAGS.
25406
25407 2005-07-18  Wim Taymans  <wim@fluendo.com>
25408
25409         * docs/gst/gstreamer.types:
25410         Remove deleted types.
25411
25412 2005-07-18  Wim Taymans  <wim@fluendo.com>
25413
25414         * check/elements/gstfakesrc.c: (GST_START_TEST):
25415         * configure.ac:
25416         * gst/Makefile.am:
25417         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25418         (init_popt_callback):
25419         * gst/gst.h:
25420         * gst/gst_private.h:
25421         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25422         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25423         * gst/gstbin.h:
25424         * gst/gstbus.h:
25425         * gst/gstconfig.h.in:
25426         * gst/gstelement.c: (gst_element_class_init),
25427         (gst_element_set_base_time), (gst_element_get_base_time),
25428         (iterator_fold_with_resync), (gst_element_change_state),
25429         (gst_element_dispose), (gst_element_get_bus):
25430         * gst/gstelement.h:
25431         * gst/gstelementfactory.h:
25432         * gst/gsterror.c: (_gst_core_errors_init):
25433         * gst/gsterror.h:
25434         * gst/gstevent.h:
25435         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25436         * gst/gstindex.c:
25437         * gst/gstinfo.c: (_gst_debug_init):
25438         * gst/gstmessage.c: (_gst_message_copy):
25439         * gst/gstmessage.h:
25440         * gst/gstminiobject.h:
25441         * gst/gstobject.c:
25442         * gst/gstobject.h:
25443         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25444         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25445         * gst/gstpad.h:
25446         * gst/gstparse.h:
25447         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25448         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25449         (gst_pipeline_get_last_stream_time):
25450         * gst/gstpipeline.h:
25451         * gst/gstpluginfeature.h:
25452         * gst/gstquery.h:
25453         * gst/gstscheduler.c:
25454         * gst/gstscheduler.h:
25455         * gst/gststructure.h:
25456         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25457         (gst_task_finalize), (gst_task_func), (gst_task_create),
25458         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25459         (gst_task_stop), (gst_task_pause):
25460         * gst/gsttask.h:
25461         * gst/gsttypefind.h:
25462         * gst/gsttypes.h:
25463         * gst/registries/gstlibxmlregistry.c: (load_feature),
25464         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25465         * gst/registries/gstxmlregistry.c:
25466         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25467         * gst/schedulers/threadscheduler.c:
25468         * libs/gst/control/dparammanager.h:
25469         * tools/gst-inspect.c: (print_element_list),
25470         (print_plugin_features), (print_element_features):
25471         * tools/gst-xmlinspect.c: (print_element_list),
25472         (print_plugin_info), (main):
25473         Removed plugable schedulers.
25474         Removed Scheduler/Manager from elements.
25475         Removed gsttypes.h, rearranged includes.
25476         Removed dependency pad<->element, element<>pipeline, and
25477         various others,  fix includes.
25478         implement gst_pad_get_parent() with gst_object_get_parent()
25479         Make GstTask sefcontained.
25480         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25481         timeout.
25482         Fix endless loop in iterator_fold_with_resync.
25483
25484
25485 2005-07-18  Wim Taymans  <wim@fluendo.com>
25486
25487         * gst/Makefile.am:
25488         * gst/gstarch.h:
25489         Remove old file.
25490
25491 2005-07-18  Wim Taymans  <wim@fluendo.com>
25492
25493         * gst/Makefile.am:
25494         No more cothreads.h
25495
25496 2005-07-18  Wim Taymans  <wim@fluendo.com>
25497
25498         * gst/cothreads.c:
25499         * gst/cothreads.h:
25500         Let's remove these.
25501
25502 2005-07-18  Wim Taymans  <wim@fluendo.com>
25503
25504         * docs/design/part-dynamic.txt:
25505         * docs/design/part-events.txt:
25506         * docs/design/part-seeking.txt:
25507         Some more docs in the works.
25508
25509         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25510         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25511         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25512         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25513         (gst_base_transform_handle_buffer),
25514         (gst_base_transform_sink_activate_push),
25515         (gst_base_transform_src_activate_pull),
25516         (gst_base_transform_set_passthrough),
25517         (gst_base_transform_is_passthrough):
25518         Refcounting fixes.
25519
25520         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25521         Cleanups.
25522
25523         * gst/gstevent.c: (gst_event_finalize):
25524         Set SRC to NULL.
25525
25526         * gst/gstutils.c: (gst_element_unlink),
25527         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25528         (gst_pad_proxy_setcaps):
25529         * gst/gstutils.h:
25530         Add _get_parent_element() to get a pads parent as an element.
25531
25532 2005-07-18  Wim Taymans  <wim@fluendo.com>
25533
25534         * check/gst/gstbin.c: (GST_START_TEST):
25535         Remove bogus test.
25536
25537 2005-07-18  Wim Taymans  <wim@fluendo.com>
25538
25539         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25540         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25541         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25542         (gst_base_sink_event), (gst_base_sink_do_sync),
25543         (gst_base_sink_chain), (gst_base_sink_loop),
25544         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25545         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25546         Refcounting fixes.
25547         Fix logic for returning ASYNC when not prerolled.
25548
25549 2005-07-18  Wim Taymans  <wim@fluendo.com>
25550
25551         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25552         Fix nasty refcount bug.
25553
25554 2005-07-16 Philippe Khalaf <burger@speedy.org>
25555
25556         * gst/elements/gstfdsrc.c:
25557         * gst/elements/gstfdsrc.h:
25558         * gst/elements/gstelements.c:
25559         * gst/elements/Makefile.am:
25560         Ported fdsrc to 0.9.
25561
25562 2005-07-16  Wim Taymans  <wim@fluendo.com>
25563
25564         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25565         (gst_base_sink_do_sync):
25566         Fix compile error.
25567
25568 2005-07-16  Wim Taymans  <wim@fluendo.com>
25569
25570         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25571         (gst_base_sink_event), (gst_base_sink_get_times),
25572         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25573         * gst/base/gstbasesink.h:
25574         Store and use discont values when syncing buffers as described
25575         in design docs.
25576         
25577         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25578         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25579         (gst_base_src_activate_push):
25580         Push discont event when starting.
25581
25582         * gst/elements/gstidentity.c: (gst_identity_transform):
25583         Small cleanups.
25584
25585         * gst/gstbin.c: (gst_bin_change_state):
25586         Small cleanups in base_time  distribution.
25587
25588         * gst/gstelement.c: (gst_element_set_base_time),
25589         (gst_element_get_base_time), (gst_element_change_state):
25590         * gst/gstelement.h:
25591         Added methods for the base_time of the element.
25592         Some MT fixes.
25593
25594         * gst/gstpipeline.c: (gst_pipeline_send_event),
25595         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25596         (gst_pipeline_get_last_stream_time):
25597         * gst/gstpipeline.h:
25598         MT fixes.
25599         Handle seeking as described in design doc, remove stream_time
25600         hack.
25601         Cleanups clock and stream_time selection code. Added accessors
25602         for the stream_time.
25603         
25604
25605 2005-07-16  Andy Wingo  <wingo@pobox.com>
25606
25607         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25608         (#305291).
25609
25610 2005-07-16  Wim Taymans  <wim@fluendo.com>
25611
25612         * check/gst/gstbin.c: (GST_START_TEST):
25613         Make elements silent as the deep_notify refs the
25614         parent, which might make the test fail.
25615
25616         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25617         Don't hold the lock for too long.
25618
25619 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
25620
25621         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25622           Don't unref the caps we passed to gst_caps_make_writable() after
25623           passing them. gst_caps_make_writable() will do that for us.
25624
25625 2005-07-15  Andy Wingo  <wingo@pobox.com>
25626
25627         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25628         (#157311).
25629
25630         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25631         own marshalling function for the handoff signal. Properly type the
25632         buffer as a buffer. Fixes some warnings. Should do a more general
25633         solution.
25634         (gst_identity_class_init): Plug into the right marshaller.
25635
25636 2005-07-15  Wim Taymans  <wim@fluendo.com>
25637
25638         * docs/design/part-TODO.txt:
25639         * docs/design/part-clocks.txt:
25640         * docs/design/part-element-sink.txt:
25641         * docs/design/part-events.txt:
25642         * docs/design/part-gstpipeline.txt:
25643         Updated docs, mostly DISCONT related.
25644
25645 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
25646
25647         * docs/pwg/building-pads.xml:
25648           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25649
25650 2005-07-15  Andy Wingo  <wingo@pobox.com>
25651
25652         * tools/gst-typefind.c: Update, add copyright block.
25653
25654         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25655         Normalize and truncate caps before fixation.
25656
25657         * gst/gstcaps.h:
25658         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25659         discards all but the first structure from its argument.
25660
25661 2005-07-15  Wim Taymans  <wim@fluendo.com>
25662
25663         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25664         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25665         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25666         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25667         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25668         (gst_base_transform_chain), (gst_base_transform_change_state),
25669         (gst_base_transform_set_passthrough),
25670         (gst_base_transform_is_passthrough):
25671         * gst/base/gstbasetransform.h:
25672         Make passthrough work using the bufferpools.
25673         Changed API a bit, subclasses have to write into a buffer
25674         provided by the base class.
25675         More debug info in nego functions.
25676         
25677         * gst/elements/gstidentity.c: (gst_identity_init),
25678         (gst_identity_transform):
25679         Port to new base class.
25680
25681 2005-07-15  Wim Taymans  <wim@fluendo.com>
25682
25683         * gst/gstmessage.c: (gst_message_new_state_changed):
25684         * tools/gst-launch.c: (event_loop), (main):
25685         Totally dump messages in -launch with the -m option.
25686         Fix message name for State messages,
25687
25688 2005-07-14  Wim Taymans  <wim@fluendo.com>
25689
25690         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25691         Post error messages on errors.
25692
25693 2005-07-14  Wim Taymans  <wim@fluendo.com>
25694
25695         * gst/gstcaps.c: (gst_caps_do_simplify):
25696         Remove debug info.
25697
25698         * gst/gsterror.h:
25699         Define error for stream stopped.
25700
25701         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25702         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25703         Do proper return values.
25704
25705         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25706         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25707         (gst_pad_get_range):
25708         Better return values.
25709
25710         * gst/gstpad.h:
25711         Reorganise return values, add macro to check for fatal errors.
25712
25713         * gst/gstqueue.c: (gst_queue_chain):
25714         Return proper GstFlowReturn values,
25715
25716 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
25717
25718         * docs/gst/gstreamer-sections.txt:
25719         * docs/gst/gstreamer.types:
25720         * docs/gst/tmpl/gst.sgml:
25721         * docs/gst/tmpl/gstbasesink.sgml:
25722         * docs/gst/tmpl/gstbasesrc.sgml:
25723         * docs/gst/tmpl/gstbasetransform.sgml:
25724         * docs/gst/tmpl/gstbin.sgml:
25725         * docs/gst/tmpl/gstbuffer.sgml:
25726         * docs/gst/tmpl/gstcaps.sgml:
25727         * docs/gst/tmpl/gstclock.sgml:
25728         * docs/gst/tmpl/gstcompat.sgml:
25729         * docs/gst/tmpl/gstconfig.sgml:
25730         * docs/gst/tmpl/gstelement.sgml:
25731         * docs/gst/tmpl/gstelementdetails.sgml:
25732         * docs/gst/tmpl/gstelementfactory.sgml:
25733         * docs/gst/tmpl/gstenumtypes.sgml:
25734         * docs/gst/tmpl/gsterror.sgml:
25735         * docs/gst/tmpl/gstevent.sgml:
25736         * docs/gst/tmpl/gstfakesink.sgml:
25737         * docs/gst/tmpl/gstfakesrc.sgml:
25738         * docs/gst/tmpl/gstfilesink.sgml:
25739         * docs/gst/tmpl/gstfilesrc.sgml:
25740         * docs/gst/tmpl/gstfilter.sgml:
25741         * docs/gst/tmpl/gstformat.sgml:
25742         * docs/gst/tmpl/gstghostpad.sgml:
25743         * docs/gst/tmpl/gstimplementsinterface.sgml:
25744         * docs/gst/tmpl/gstindex.sgml:
25745         * docs/gst/tmpl/gstindexfactory.sgml:
25746         * docs/gst/tmpl/gstinfo.sgml:
25747         * docs/gst/tmpl/gstiterator.sgml:
25748         * docs/gst/tmpl/gstmacros.sgml:
25749         * docs/gst/tmpl/gstmemchunk.sgml:
25750         * docs/gst/tmpl/gstminiobject.sgml:
25751         * docs/gst/tmpl/gstobject.sgml:
25752         * docs/gst/tmpl/gstpad.sgml:
25753         * docs/gst/tmpl/gstpadtemplate.sgml:
25754         * docs/gst/tmpl/gstparse.sgml:
25755         * docs/gst/tmpl/gstpipeline.sgml:
25756         * docs/gst/tmpl/gstplugin.sgml:
25757         * docs/gst/tmpl/gstpluginfeature.sgml:
25758         * docs/gst/tmpl/gstquery.sgml:
25759         * docs/gst/tmpl/gstqueue.sgml:
25760         * docs/gst/tmpl/gstregistry.sgml:
25761         * docs/gst/tmpl/gstregistrypool.sgml:
25762         * docs/gst/tmpl/gstscheduler.sgml:
25763         * docs/gst/tmpl/gstschedulerfactory.sgml:
25764         * docs/gst/tmpl/gststructure.sgml:
25765         * docs/gst/tmpl/gstsystemclock.sgml:
25766         * docs/gst/tmpl/gsttaglist.sgml:
25767         * docs/gst/tmpl/gsttagsetter.sgml:
25768         * docs/gst/tmpl/gsttrace.sgml:
25769         * docs/gst/tmpl/gsttrashstack.sgml:
25770         * docs/gst/tmpl/gsttypefind.sgml:
25771         * docs/gst/tmpl/gsttypefindfactory.sgml:
25772         * docs/gst/tmpl/gsttypes.sgml:
25773         * docs/gst/tmpl/gsturihandler.sgml:
25774         * docs/gst/tmpl/gsturitype.sgml:
25775         * docs/gst/tmpl/gstutils.sgml:
25776         * docs/gst/tmpl/gstvalue.sgml:
25777         * docs/gst/tmpl/gstversion.sgml:
25778         * docs/gst/tmpl/gstxml.sgml:
25779         * docs/libs/tmpl/gstcontrol.sgml:
25780         * docs/libs/tmpl/gstdataprotocol.sgml:
25781         * docs/libs/tmpl/gstdparam.sgml:
25782         * docs/libs/tmpl/gstdplinint.sgml:
25783         * docs/libs/tmpl/gstdpman.sgml:
25784         * docs/libs/tmpl/gstdpsmooth.sgml:
25785         * docs/libs/tmpl/gstgetbits.sgml:
25786         * docs/libs/tmpl/gstunitconvert.sgml:
25787         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25788         (gst_push_src_base_init), (gst_push_src_class_init),
25789         (gst_push_src_init), (gst_push_src_create):
25790         * gst/base/gstpushsrc.h:
25791         * gst/elements/gstelements.c:
25792         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25793         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25794         (gst_fake_sink_init), (gst_fake_sink_set_property),
25795         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25796         (gst_fake_sink_event), (gst_fake_sink_preroll),
25797         (gst_fake_sink_render), (gst_fake_sink_change_state):
25798         * gst/elements/gstfakesink.h:
25799         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25800         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25801         (gst_fake_src_base_init), (gst_fake_src_class_init),
25802         (gst_fake_src_init), (gst_fake_src_event_handler),
25803         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25804         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25805         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25806         (gst_fake_src_create_buffer), (gst_fake_src_create),
25807         (gst_fake_src_start), (gst_fake_src_stop):
25808         * gst/elements/gstfakesrc.h:
25809         * gst/elements/gstfilesink.c: (_do_init),
25810         (gst_file_sink_base_init), (gst_file_sink_class_init),
25811         (gst_file_sink_init), (gst_file_sink_dispose),
25812         (gst_file_sink_set_location), (gst_file_sink_set_property),
25813         (gst_file_sink_get_property), (gst_file_sink_open_file),
25814         (gst_file_sink_close_file), (gst_file_sink_query),
25815         (gst_file_sink_event), (gst_file_sink_render),
25816         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25817         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25818         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25819         * gst/elements/gstfilesink.h:
25820         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25821         (gst_file_src_class_init), (gst_file_src_init),
25822         (gst_file_src_finalize), (gst_file_src_set_location),
25823         (gst_file_src_set_property), (gst_file_src_get_property),
25824         (gst_file_src_map_region), (gst_file_src_map_small_region),
25825         (gst_file_src_create_mmap), (gst_file_src_create_read),
25826         (gst_file_src_create), (gst_file_src_is_seekable),
25827         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25828         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25829         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25830         (gst_file_src_uri_handler_init):
25831         * gst/elements/gstfilesrc.h:
25832           more autistic cleanliness in functions/names/defines
25833
25834 2005-07-13  Andy Wingo  <wingo@pobox.com>
25835
25836         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25837         source couldn't negotiate.
25838
25839         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25840         connections again.
25841
25842         * gst/gstutils.h:
25843         * gst/gstutils.c (gst_element_link_pads_filtered): New old
25844         function. I am channeling Hades. Put your boots on suckers!!!
25845
25846 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25847
25848         * testsuite/caps/Makefile.am:
25849         * testsuite/caps/value_compare.c:
25850         * testsuite/caps/value_intersect.c:
25851         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25852           move two testsuite apps over to the check dir
25853
25854 2005-07-12  Wim Taymans  <wim@fluendo.com>
25855
25856         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25857         Added more debug info in the negotiate process.
25858
25859         * gst/gstmessage.h:
25860         Prepare for segment playback.
25861
25862         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25863         Better debugging.
25864
25865         * gst/gstutils.c:
25866         Some more docs.
25867
25868         * tools/gst-launch.c: (main):
25869         NULL pipeline on errors.
25870
25871 2005-07-12  Andy Wingo  <wingo@pobox.com>
25872
25873         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25874         not it comes from a malloc region. Make sure our copy gets freed.
25875
25876 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25877
25878         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25879         * check/gst/gstmessage.c: (GST_START_TEST):
25880         * check/gst/gststructure.c: (GST_START_TEST),
25881         (gst_structure_suite), (main):
25882           more testing
25883         * gst/gstelement.c: (gst_element_message_full):
25884           clean up GError and debug string now that they get copied
25885         * gst/gstmessage.c: (gst_message_new_error),
25886         (gst_message_new_warning), (gst_message_parse_error),
25887         (gst_message_parse_warning):
25888           use GST_TYPE_G_ERROR for structure_new, and take copies of
25889           arguments, so that we don't mess up refcounting
25890
25891 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25892
25893         * check/Makefile.am:
25894           add per-test valgrind targets
25895         * check/gst-libs/gdp.c: (GST_START_TEST),
25896         (gst_data_protocol_suite), (main):
25897           clean up
25898
25899 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25900
25901         * check/Makefile.am:
25902           instate more valgrindable tests
25903         * check/elements/gstfakesrc.c: (chain_func), (event_func),
25904         (GST_START_TEST), (fakesrc_suite):
25905         * check/gst/gstpad.c: (GST_START_TEST):
25906         * check/gst/gststructure.c: (GST_START_TEST):
25907           fix test leaks
25908         * docs/gst/tmpl/gstminiobject.sgml:
25909         * gst/gstpad.c: (gst_pad_finalize):
25910           fix the static mutex leak
25911
25912 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25913
25914         * check/Makefile.am:
25915           add two more tests for valgrinding
25916         * check/gst/gstvalue.c: (GST_START_TEST):
25917           test refcount of deserialized buffer, found a leak
25918         * docs/gst/gstreamer-docs.sgml:
25919         * docs/gst/gstreamer-sections.txt:
25920         * docs/gst/gstreamer.types:
25921         * docs/gst/tmpl/gstminiobject.sgml:
25922           add miniobject to docs
25923         * gst/gstminiobject.c:
25924           add some docs
25925         * gst/gstvalue.c: (gst_value_deserialize_buffer),
25926         (gst_string_unwrap):
25927           fix a hard-to-find invalid write for one of the tests
25928           fix a leak for deserialized buffers
25929
25930 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25931
25932         * docs/pwg/advanced-events.xml:
25933         * docs/pwg/advanced-request.xml:
25934         * docs/pwg/advanced-scheduling.xml:
25935         * docs/pwg/appendix-porting.xml:
25936         * docs/pwg/building-boiler.xml:
25937         * docs/pwg/intro-preface.xml:
25938         * docs/pwg/other-ntoone.xml:
25939           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
25940           of example code and explanation for pad activation, loop() and
25941           getrange() functions and a bit more. Remove old comments pointing
25942           to loop-functions.
25943         * examples/pwg/Makefile.am:
25944           Add loop/getrange examples.
25945
25946 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25947
25948         * configure.ac:
25949           check for valgrind binary + some fixes
25950         * check/gst.supp:
25951           valgrind suppressions for the tests
25952         * check/Makefile.am:
25953           add a valgrind: target that valgrinds the unit tests
25954         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
25955         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25956         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25957         * check/gst/gstghostpad.c:
25958           added some cleanup
25959         * check/gst/gstdata.c:
25960           removed
25961         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
25962         (thread_unref), (gst_mini_object_suite), (main):
25963           added
25964         * gst/gst.c: (gst_deinit):
25965         * gst/gst.h:
25966           add a method to clean up.
25967         * gst/gstsystemclock.c: (gst_system_clock_dispose),
25968         (gst_system_clock_obtain):
25969           allow for disposing the system clock.
25970         * tools/gst-launch.c: (main):
25971           deinit
25972
25973 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25974
25975         * docs/gst/tmpl/gstbasesrc.sgml:
25976         * docs/gst/tmpl/gstfakesrc.sgml:
25977         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25978         (gst_base_src_init), (gst_base_src_set_property),
25979         (gst_base_src_get_property), (gst_base_src_get_range),
25980         (gst_base_src_start):
25981         * gst/base/gstbasesrc.h:
25982           add num-buffers property
25983         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25984         (gst_fakesrc_init), (gst_fakesrc_set_property),
25985         (gst_fakesrc_get_property), (gst_fakesrc_create),
25986         (gst_fakesrc_start):
25987           remove num-buffers property
25988
25989 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
25990
25991         * docs/gst/gstreamer-sections.txt:
25992         * docs/gst/tmpl/gstbasesink.sgml:
25993         * docs/gst/tmpl/gstbasesrc.sgml:
25994         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25995         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25996         (gst_base_sink_finalize), (gst_base_sink_set_clock),
25997         (gst_base_sink_set_property), (gst_base_sink_get_property),
25998         (gst_base_sink_handle_object), (gst_base_sink_event),
25999         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26000         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26001         (gst_base_sink_loop), (gst_base_sink_deactivate),
26002         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26003         (gst_base_sink_change_state):
26004         * gst/base/gstbasesink.h:
26005         * gst/base/gstbasesrc.h:
26006         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26007         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26008         (gst_filesink_init):
26009           more macro splitting
26010
26011 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26012
26013         * gst/gstelement.c: (gst_element_get_bus):
26014           add debug
26015         * tools/gst-launch.c: (check_intr), (event_loop):
26016           fix bus leaks
26017
26018 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26019
26020         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26021           fix a caps leak
26022
26023 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26024
26025         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26026         (gst_base_src_finalize):
26027           add finalize method and clean up properly
26028         * gst/gstpipeline.c: (gst_pipeline_dispose):
26029           add debug
26030
26031 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26032
26033         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26034         (gst_bin_suite):
26035           add more things to check
26036         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26037         * gst/gstelement.c:
26038           more debug
26039
26040 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26041
26042         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26043         (GST_START_TEST), (fakesrc_suite):
26044         * check/gst-libs/gdp.c: (GST_START_TEST):
26045         * check/gst/gst.c: (GST_START_TEST):
26046         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26047         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26048         * check/gst/gstbus.c: (GST_START_TEST):
26049         * check/gst/gstcaps.c: (GST_START_TEST):
26050         * check/gst/gstdata.c: (GST_START_TEST):
26051         * check/gst/gstelement.c: (GST_START_TEST):
26052         * check/gst/gstghostpad.c: (GST_START_TEST):
26053         * check/gst/gstiterator.c: (GST_START_TEST):
26054         * check/gst/gstmessage.c: (GST_START_TEST):
26055         * check/gst/gstobject.c: (GST_START_TEST):
26056         * check/gst/gstpad.c: (GST_START_TEST):
26057         * check/gst/gststructure.c: (GST_START_TEST):
26058         * check/gst/gstsystemclock.c: (GST_START_TEST),
26059         (gst_systemclock_suite):
26060         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26061         * check/gst/gstvalue.c: (GST_START_TEST):
26062         * check/pipelines/cleanup.c: (GST_START_TEST):
26063         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26064         * check/states/sinks.c: (GST_START_TEST):
26065         * check/gstcheck.c: (gst_check_init):
26066         * check/gstcheck.h:
26067           add debugging category
26068           use GST_START_TEST now, so we add a debug line
26069
26070 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26071
26072         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26073           add test for state change message on a bin
26074         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26075           add another test
26076         * gst/gstbin.c: (gst_bin_init):
26077         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26078         * gst/gstelement.c: (gst_element_post_message),
26079         (gst_element_set_state):
26080         * gst/gstelementfactory.c: (gst_element_factory_create):
26081         * gst/gstmessage.c: (gst_message_new):
26082         * gst/gstscheduler.c:
26083           various debugging additions and cleanups
26084
26085 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26086
26087         * check/Makefile.am:
26088         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26089         (main):
26090           adding tests for elements
26091         * gst/gstelement.c: (gst_element_dispose):
26092
26093 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26094
26095         * gst/registries/gstlibxmlregistry.c: (load_feature):
26096           plug more leaks.  A simple gst_init() now is leakfree, yay.
26097
26098 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26099
26100         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26101         (gst_xml_registry_load):
26102           plug another memleak
26103
26104 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26105
26106         * configure.ac:
26107           use GST_SET_ERROR_CFLAGS
26108         * docs/faq/cvs.xml:
26109           change to ERROR_CFLAGS
26110
26111 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26112
26113         * configure.ac:
26114           make GST_ERROR_CFLAGS overridable and re-enable Werror
26115         * docs/faq/cvs.xml:
26116           add a note about error CFLAGS
26117         * docs/gst/tmpl/gstfakesrc.sgml:
26118         * gst/elements/gstfakesrc.c:
26119           comment out some unused code
26120         * gst/gst.c: (split_and_iterate):
26121         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26122         (load_feature):
26123           plug some memleaks
26124
26125 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26126
26127         * common/Makefile.am:
26128         * common/gtk-doc.mak:
26129         * docs/gst/Makefile.am:
26130           factor out gtk-doc.mak
26131
26132 2005-07-07  Wim Taymans  <wim@fluendo.com>
26133
26134         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26135         (gst_thread_scheduler_dispose):
26136         Unlock the STREAM_LOCK completely.
26137
26138 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26139
26140         * check/Makefile.am:
26141         * check/elements/.cvsignore:
26142         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26143         (START_TEST), (fakesrc_suite), (main):
26144         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26145         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26146         (gst_fakesrc_create), (gst_fakesrc_start):
26147         * gst/elements/gstfakesrc.h:
26148           adding a first element test
26149
26150 2005-07-07  Andy Wingo  <wingo@pobox.com>
26151
26152         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26153         debug message.
26154
26155 2005-07-07  Wim Taymans  <wim@fluendo.com>
26156
26157         * gst/gstquery.c:
26158         * gst/gstquery.h:
26159         Remove old types
26160
26161 2005-07-07  Wim Taymans  <wim@fluendo.com>
26162
26163         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26164         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26165         Allow subclasses to implement their own negotiation.
26166
26167 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26168
26169         * docs/design/part-gstbin.txt:
26170         * docs/design/part-gstpipeline.txt:
26171           Update design notes to reflect the movement of
26172           responsibility for bus handling from GstPipeline to
26173           GstBin
26174
26175 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26176
26177         * configure.ac:
26178           Remove unnecessary queue2/3/4 examples.
26179
26180 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26181
26182         * examples/Makefile.am:
26183         * examples/helloworld/helloworld.c: (event_loop), (main):
26184         * examples/queue/queue.c: (event_loop), (main):
26185         * examples/queue2/queue2.c: (main):
26186           Update a couple of the examples to work again.
26187
26188         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26189         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26190          Spelling corrections and extra debug.
26191         
26192         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26193         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26194         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26195         * gst/gstbin.h:
26196         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26197         (gst_pipeline_change_state):
26198         * gst/gstpipeline.h:
26199           Move the bus handler for children to the GstBin, and create a
26200           separate bus for receiving messages from children to the one the
26201           bus sends 'upwards' on.
26202
26203 2005-07-06  Wim Taymans  <wim@fluendo.com>
26204
26205         * gst/base/README:
26206         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26207         (gst_base_sink_handle_object), (gst_base_sink_loop),
26208         (gst_base_sink_change_state):
26209         * gst/base/gstbasesink.h:
26210         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26211         (gst_base_src_init), (gst_base_src_setcaps),
26212         (gst_base_src_getcaps), (gst_base_src_loop),
26213         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26214         (gst_base_src_start), (gst_base_src_change_state):
26215         * gst/base/gstbasesrc.h:
26216         Make basesrc negotiate.
26217         Handle the case where preroll fails in basesink.
26218         Update README.
26219
26220 2005-07-06  Wim Taymans  <wim@fluendo.com>
26221
26222         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26223         Implement the fixate function.
26224         Clean up acceptcaps.
26225
26226 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26227
26228         * docs/pwg/building-filterfactory.xml:
26229         * docs/pwg/pwg.xml:
26230           Remove never-written filter-factory chapter; I'll add the various
26231           base classes to part 4 ("other element types") later on.
26232
26233 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26234
26235         * docs/pwg/advanced-negotiation.xml:
26236         * docs/pwg/building-boiler.xml:
26237         * docs/pwg/building-pads.xml:
26238         * docs/pwg/pwg.xml:
26239         * examples/pwg/Makefile.am:
26240           Add a chapter on caps negotiation, simplify the original code
26241           samples a bit w.r.t. caps negotiation, add link to the advanced
26242           section. Add a bunch of examples showing different use cases of
26243           different types of caps negotiation. Upstream renegotiation isn't
26244           fully documented yet since nobody knows how that works.
26245
26246 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26247
26248         * check/gst/gstpad.c:
26249         * check/gstcheck.c:
26250         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26251           if pad has no parent, return NULL as list of internal links
26252
26253 2005-07-05  Andy Wingo  <wingo@pobox.com>
26254
26255         * gst/elements/gstfilesrc.c:
26256         * gst/elements/gstfakesrc.c: 
26257         * gst/base/gstpushsrc.c:
26258         * gst/base/gstbasesrc.h: 
26259         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26260         
26261 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26262
26263         * Makefile.am:
26264           better report generation target (lcov needs a patch)
26265
26266 2005-07-05  Andy Wingo  <wingo@pobox.com>
26267
26268         * gst/elements, testsuite: Null if we got it...
26269
26270 2005-07-05  Wim Taymans  <wim@fluendo.com>
26271
26272         * configure.ac:
26273         * libs/gst/dataprotocol/Makefile.am:
26274         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26275         * libs/gst/dataprotocol/dataprotocol.h:
26276         * pkgconfig/Makefile.am:
26277         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26278         * pkgconfig/gstreamer-dataprotocol.pc.in:
26279         Ported dataprotol to 0.9. 
26280         Added pkgconfig files.
26281
26282 2005-07-05  Andy Wingo  <wingo@pobox.com>
26283
26284         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26285         Default to returning TRUE for the case when tranform_caps returns
26286         a fixed caps, like for identity or volume.
26287
26288         * check/gst/gstbus.c (pound_bus_with_messages): 
26289         * check/gst/gstmessage.c (START_TEST): 
26290         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26291         message API change.
26292
26293         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26294         logic weaks here: always run transform_caps, trying passthrough
26295         operation only if the original caps intersects with the transform.
26296
26297         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26298         source and sink caps.
26299
26300         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26301         Intersect the peer caps with the pad template before going into
26302         transform_caps.
26303         (gst_base_transform_transform_caps): More debugging.
26304
26305         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26306         src argument.
26307
26308 2005-07-04  Edward Hervey  <edward@fluendo.com>
26309
26310         * gst/gstutils.c:
26311         * gst/gstutils.h:
26312         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26313         in bindings.
26314
26315 2005-07-04  Andy Wingo  <wingo@pobox.com>
26316
26317         * check/gst/gstpad.c: Only set explicit caps on pads.
26318
26319 2005-07-01  Andy Wingo  <wingo@pobox.com>
26320
26321         * tests/network-clock.scm: Commentary update.
26322
26323         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26324         Didn't really make sense, not implementable with basetransform,
26325         etc.
26326         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26327         attempt at implementing the sync property, needs an unlock method.
26328
26329         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26330         New func, by default returns the same caps (the identity
26331         transformation).
26332         (gst_base_transform_getcaps): Uses transform_caps to return
26333         something sensible.
26334         (gst_base_transform_setcaps): Complicated logic to get caps on
26335         both pads, even if they are different, and to call set_caps once
26336         for every time both pads get their caps set.
26337         (gst_base_transform_handle_buffer): Give the ref to the transform
26338         function. Allows in-place modification of the buffer.
26339
26340         * gst/base/gstbasetransform.h (transform_caps): New class method.
26341         Given caps on one side, what can I do on the other.
26342         (set_caps): Take two caps, one for each side of the element.
26343
26344         * gst/gstpad.h:
26345         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26346         caps in place. This is safe because we can check the mutability of
26347         the caps, and a good idea because fixate functions are just called
26348         as a matter of last resort. (Not actually implemented.)
26349         (gst_pad_set_caps): If the caps we're setting is actually the same
26350         as the existing pad caps, just update the pointer without calling
26351         setcaps. Assert that caps is either NULL or fixed, as per the
26352         docs.
26353
26354         * gst/gstghostpad.c: Update for fixate changes.
26355
26356 2005-07-02  Andy Wingo  <wingo@pobox.com>
26357
26358         * gst/gstcaps.c:
26359         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26360         two refcounts makes it immutable, which is enough. Doc more.
26361
26362 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26363
26364         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26365           Put the mini_object into GValue as a mini_object,
26366           not a gpointer, since that's how we declared
26367           the signal.
26368
26369 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26370
26371         * examples/pwg/Makefile.am:
26372           Fix buildbot again.
26373
26374 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26375
26376         * docs/pwg/building-testapp.xml:
26377           Add extra check.
26378         * examples/pwg/Makefile.am:
26379           Fix buildbot.
26380
26381 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26382
26383         * configure.ac:
26384         * examples/Makefile.am:
26385         * examples/pwg/Makefile.am:
26386         * examples/pwg/extract.pl:
26387           Enable building the PWG examples.
26388         * docs/pwg/advanced-interfaces.xml:
26389           Add URI interface stub.
26390         * docs/pwg/advanced-types.xml:
26391         * docs/pwg/other-autoplugger.xml:
26392         * docs/pwg/appendix-porting.xml:
26393         * docs/pwg/pwg.xml:
26394           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26395         * docs/pwg/building-boiler.xml:
26396         * docs/pwg/building-chainfn.xml:
26397         * docs/pwg/building-pads.xml:
26398         * docs/pwg/building-props.xml:
26399         * docs/pwg/building-state.xml:
26400         * docs/pwg/building-testapp.xml:
26401           Update the building-*.xml parts for 0.9 changes. All examples
26402           code blocks compile in examples/pwg/*.
26403
26404 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26405
26406         * docs/manual/advanced-autoplugging.xml:
26407         * docs/manual/appendix-checklist.xml:
26408         * docs/manual/appendix-integration.xml:
26409         * docs/manual/highlevel-components.xml:
26410           Fix playbin/decodebin examples, update docs a bit, mention bus
26411           instead of signals in various places, mention kmplayer and
26412           kaffeine since they have a working GStreamer backend in the KDE
26413           section.
26414
26415 2005-06-30  Wim Taymans  <wim@fluendo.com>
26416
26417         * CHANGES-0.9:
26418         * docs/design/draft-ghostpads.txt:
26419         * docs/design/draft-push-pull.txt:
26420         * docs/design/draft-query.txt:
26421         * docs/design/part-TODO.txt:
26422         * docs/design/part-query.txt:
26423         Added CHANGES-0.9 doc, updated status of other docs.
26424         
26425         * gst/gstquery.h:
26426         Remove "hmm" macro
26427
26428 2005-06-30  Wim Taymans  <wim@fluendo.com>
26429
26430         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26431         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26432         (gst_base_sink_change_state):
26433         * gst/base/gstbasesink.h:
26434         Some tweaks, only EOS and a buffer complete a preroll.
26435
26436 2005-06-30  Andy Wingo  <wingo@pobox.com>
26437
26438         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26439         activate_push down to the internal pad as well.
26440
26441 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26442
26443         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26444
26445         * gst/gsttaginterface.c:
26446           Some documentation fixes (#307394 and #307397).
26447
26448 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26449
26450         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26451
26452         * gst/gstvalue.c: (gst_value_intersect_list):
26453           Fix memleak (#309125).
26454
26455 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26456
26457         * docs/manual/advanced-dataaccess.xml:
26458           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26459         * docs/manual/basics-pads.xml:
26460           Add reference for filtered caps to above chapter.
26461
26462 2005-06-30  Wim Taymans  <wim@fluendo.com>
26463
26464         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26465         (gst_bin_change_state):
26466         Probes are gone.
26467         Lame attempt at making the state change function a bit
26468         more readable.
26469
26470 2005-06-30  Wim Taymans  <wim@fluendo.com>
26471
26472         * docs/design/part-clocks.txt:
26473         * docs/design/part-element-sink.txt:
26474         * docs/design/part-events.txt:
26475         * docs/design/part-preroll.txt:
26476         * docs/design/part-states.txt:
26477         Some more tweeks and additions to the docs.
26478
26479 2005-06-30  Wim Taymans  <wim@fluendo.com>
26480
26481         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26482         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26483         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26484         (gst_pad_check_pull_range), (gst_pad_get_range),
26485         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26486         * gst/gstpad.h:
26487         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26488         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26489         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26490         (gst_pad_remove_buffer_probe):
26491         Removed atomic operations, use existing LOCK.
26492         Move exception handling out of main code path.
26493
26494 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26495
26496         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26497         (silly_return_true_function), (gst_pad_class_init),
26498         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26499         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26500         (gst_pad_send_event):
26501           Fix accumulator, add default value by using _emitv() instead
26502           of _emit() for signal emission.
26503
26504 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26505
26506         * docs/manual/advanced-dataaccess.xml:
26507         * examples/manual/Makefile.am:
26508           Add probe example.
26509         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26510           Make work (??).
26511
26512 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26513
26514         * gst/elements/gstfilesink.c: (gst_filesink_render):
26515           Simplify code so that we don't have to handle short
26516           writes and return GST_FLOW_ERROR if an error occured.
26517
26518 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26519
26520         * docs/gst/gstreamer-docs.sgml:
26521           Remove probes more.
26522
26523 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26524
26525         * docs/gst/gstreamer-sections.txt:
26526         * docs/gst/tmpl/gstpad.sgml:
26527         * docs/gst/tmpl/gstprobe.sgml:
26528         * gst/Makefile.am:
26529         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26530         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26531         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26532         (gst_pad_push_event), (gst_pad_send_event):
26533         * gst/gstpad.h:
26534         * gst/gstutils.c: (gst_pad_add_data_probe),
26535         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26536         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26537         (gst_pad_remove_buffer_probe):
26538         * gst/gstutils.h:
26539           Remove old probes, add new g-signal-based probes and some utility
26540           functions.
26541
26542 2005-06-29  Edward Hervey  <edward@fluendo.com>
26543
26544         * gst/gstelementfactory.c:
26545         * gst/gstutils.h:
26546         * gst/gstutils.c:
26547         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26548         the definition to the header file.
26549
26550 2005-06-29  Andy Wingo  <wingo@pobox.com>
26551
26552         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26553         plugins from the source directory.
26554
26555 2005-06-29  Wim Taymans  <wim@fluendo.com>
26556
26557         * docs/gst/tmpl/gstbuffer.sgml:
26558         * docs/gst/tmpl/gstclock.sgml:
26559         Some fixings for blantently wrong text.
26560
26561 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26562
26563         * check/Makefile.am:
26564         * gst/gst.c: (add_path_func), (init_pre):
26565         * gst/gstregistry.c: (gst_registry_add_path):
26566           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26567           only scan the GST_PLUGIN_PATH locations, and not add
26568           system locations
26569
26570 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26571
26572         * docs/gst/gstreamer-sections.txt:
26573         * docs/gst/tmpl/gstbasesrc.sgml:
26574         * gst/gstelement.c:
26575         * gst/gstelement.h:
26576         * gst/gstevent.c:
26577         * gst/gstutils.c:
26578           doc fixes
26579
26580 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26581
26582         * docs/manual/advanced-autoplugging.xml:
26583           Fix autoplugging example.
26584
26585 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26586
26587         * docs/manual/advanced-autoplugging.xml:
26588         * docs/manual/mime-world.fig:
26589           Try to get autoplugging working, fix type detection. Fix text
26590           in hello-world image.
26591
26592 2005-06-29  Wim Taymans  <wim@fluendo.com>
26593
26594         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26595         (gst_base_sink_change_state):
26596         Small debug line.
26597
26598         * gst/gstclock.h:
26599         map SIGNAL and BROADCAST to the right function.
26600
26601         * gst/gstobject.h:
26602         Remove redundant braces.
26603
26604         * gst/gstpad.c: (gst_pad_set_caps):
26605         Don't call setcaps function when reseting caps to NULL.
26606
26607         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26608         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26609         (gst_system_clock_id_unschedule):
26610         Use BROADCAST as this is what we do.
26611
26612 2005-06-29  Wim Taymans  <wim@fluendo.com>
26613
26614         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26615         We are actually prerolling before commiting the state
26616         change. 
26617
26618 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26619
26620         * docs/manual/advanced-clocks.xml:
26621         * docs/manual/advanced-interfaces.xml:
26622         * docs/manual/advanced-metadata.xml:
26623         * docs/manual/advanced-position.xml:
26624         * docs/manual/advanced-schedulers.xml:
26625         * docs/manual/advanced-threads.xml:
26626         * docs/manual/appendix-porting.xml:
26627         * docs/manual/basics-bins.xml:
26628         * docs/manual/basics-bus.xml:
26629         * docs/manual/basics-elements.xml:
26630         * docs/manual/basics-helloworld.xml:
26631         * docs/manual/basics-pads.xml:
26632         * docs/manual/highlevel-components.xml:
26633         * docs/manual/manual.xml:
26634         * docs/manual/thread.fig:
26635           Update (until threads/scheduling) Application Development Manual;
26636           remove GstThread, add GstBus, add simple porting checklist, add
26637           documentation for tag writing, clocks, make all examples until this
26638           part compile and run.
26639         * examples/manual/Makefile.am:
26640           Update from changes to Application Development Manual; add bus
26641           example, remove thread example.
26642
26643 2005-06-28  Wim Taymans  <wim@fluendo.com>
26644
26645         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26646         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26647         (gst_bus_source_dispatch):
26648         Add debugging messages.
26649         Make internal methods static.
26650         Handle the case where the bus is flushed in the handler.
26651         
26652         * gst/gstelement.c: (gst_element_get_bus):
26653         Fix refcount in _get_bus();
26654
26655         * gst/gstpipeline.c: (gst_pipeline_change_state),
26656         (gst_pipeline_get_clock_func):
26657         Clock refcounting fixes.
26658         Handle the case where preroll timed out more gracefully.
26659         
26660         * gst/gstsystemclock.c: (gst_system_clock_dispose):
26661         Clean up the internal thread in dispose. This is needed
26662         for subclasses that actually get disposed.
26663         
26664         * gst/schedulers/threadscheduler.c:
26665         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26666         (gst_thread_scheduler_dispose):
26667         Free thread pool in dispose.
26668
26669 2005-06-28  Andy Wingo  <wingo@pobox.com>
26670
26671         * tests/network-clock-utils.scm (debug, print-event): New utils.
26672
26673         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26674         (*packet-loss*): Unified loss probability.
26675         (network-time): Report out-of-band events.
26676
26677         * tests/plot-data: Add support for out-of-band events. Hack it
26678         into this script instead of passing it down the pipe; should fix
26679         this later.
26680
26681 2005-06-28  Wim Taymans  <wim@fluendo.com>
26682
26683         * docs/gst/gstreamer.types:
26684         * docs/gst/tmpl/gstbasesrc.sgml:
26685         * docs/gst/tmpl/gstpad.sgml:
26686         Docs fixes.
26687
26688 2005-06-28  Wim Taymans  <wim@fluendo.com>
26689
26690         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26691         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26692         (gst_proxy_pad_do_fixatecaps):
26693         Correctly proxy the check_pull_range function.
26694
26695 2005-06-28  Andy Wingo  <wingo@pobox.com>
26696
26697         * tests/network-clock.scm: Removed need for slib.
26698         
26699 2005-06-28  Wim Taymans  <wim@fluendo.com>
26700
26701         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26702         (gst_basesink_preroll_queue_flush):
26703         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26704         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26705         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26706         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26707         (gst_proxy_pad_set_property):
26708         * gst/gstpad.c:
26709         * gst/gstpad.h:
26710         * gst/gstqueue.c: (gst_queue_init):
26711         The deprecated pad loop function is removed now.
26712
26713 2005-06-28  Andy Wingo  <wingo@pobox.com>
26714
26715         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26716         New parameters, simulate network packet loss.
26717
26718         * tests/network-clock-utils.scm: Initialize the RNG.
26719
26720 2005-06-28  Wim Taymans  <wim@fluendo.com>
26721
26722         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26723         (gst_basesink_event), (gst_basesink_deactivate):
26724         Flushing the preroll queue always needs to unlock the waiters.
26725
26726 2005-06-28  Edward Hervey  <edward@fluendo.com>
26727
26728         * gst/gstpipeline.c: (gst_pipeline_send_event): 
26729         Wheen a seek was successful on a pipeline, set the stream_time to the
26730         seek offset in order to have a synchronized stream_time.
26731
26732 2005-06-28  Wim Taymans  <wim@fluendo.com>
26733
26734         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26735         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26736         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26737         (gst_proxy_pad_do_fixatecaps):
26738         Call wrapper function instead of just calling the function
26739         pointers. This takes care of any locking and whatmore.
26740
26741 2005-06-28  Wim Taymans  <wim@fluendo.com>
26742
26743         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26744         (gst_pad_pull_range):
26745         * gst/gstpad.h:
26746         CONNECTED -> LINKED.
26747
26748 2005-06-28  Andy Wingo  <wingo@pobox.com>
26749
26750         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26751         source-munging commit!!!
26752
26753         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
26754         (gst_object_sink): Take gpointer arguments, not GstObject --
26755         avoids casts. Like GLib.
26756
26757         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26758         activate.
26759
26760 2005-06-27  Andy Wingo  <wingo@pobox.com>
26761
26762         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26763         remaining buffer.
26764
26765         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26766         returns a sorted copy of the trace list.
26767         (gst_alloc_trace_print_live): New API, only prints traces with
26768         live objects. Sort the list.
26769         (gst_alloc_trace_print_all): Sort the list.
26770         (gst_alloc_trace_print): Align columns.
26771
26772         * gst/elements/gstttypefindelement.c:
26773         * gst/elements/gsttee.c:
26774         * gst/base/gstbasesrc.c:
26775         * gst/base/gstbasesink.c:
26776         * gst/base/gstbasetransform.c:
26777         * gst/gstqueue.c: Adapt for pad activation changes.
26778
26779         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26780         sched.
26781         (gst_pipeline_dispose): Drop ref on sched.
26782
26783         * gst/gstpad.c (gst_pad_init): Set the default activate func.
26784         (gst_pad_activate_default): Push mode by default.
26785         (pre_activate_switch, post_activate_switch): New stubs, things to
26786         do before and after switching activation modes on pads.
26787         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26788         the pad's activate function to choose which mode to activate.
26789         Shortcut on deactivation and call the right function directly.
26790         (gst_pad_activate_pull): New API, (de)activates a pad in pull
26791         mode.
26792         (gst_pad_activate_push): New API, same for push mode.
26793         (gst_pad_set_activate_function) 
26794         (gst_pad_set_activatepull_function) 
26795         (gst_pad_set_activatepush_function): Setters for new API.
26796
26797         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26798         Trace all miniobjects.
26799         (gst_mini_object_make_writable): Unref the arg if we copy, like
26800         gst_caps_make_writable.
26801
26802         * gst/gstmessage.c (_gst_message_initialize): No trace init.
26803
26804         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
26805         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26806         Adapt for new pad API.
26807
26808         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26809
26810         * gst/gstelement.h:
26811         * gst/gstelement.c (gst_element_iterate_src_pads) 
26812         (gst_element_iterate_sink_pads): New API functions.
26813         
26814         * gst/gstelement.c (iterator_fold_with_resync): New utility,
26815         should fold into gstiterator.c in some form.
26816         (gst_element_pads_activate): Simplified via use of fold and
26817         delegation of decisions to gstpad->activate.
26818
26819         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26820         help in debugging.
26821
26822         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26823         class once in init, like gstmessage. Didn't run into this issue
26824         but it seems correct. Don't initialize a trace, gstminiobject does
26825         that.
26826
26827         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26828         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26829         to the bus.
26830         (assert_live_count): New util function, uses alloc traces to check
26831         cleanup.
26832
26833         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26834         To be modified when unlink drops the internal pad.
26835
26836 2005-06-27  Wim Taymans  <wim@fluendo.com>
26837
26838         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26839         (gst_bin_change_state):
26840         Cleanup the get_state() function a little, make sure it
26841         iterates the same set of elements.
26842         Added stub iterate_state_order().
26843
26844 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
26845
26846         * docs/gst/gstreamer-docs.sgml:
26847         * docs/gst/gstreamer-sections.txt:
26848         * docs/gst/gstreamer.types:
26849         * docs/gst/tmpl/gstbasesink.sgml:
26850         * docs/gst/tmpl/gstbasesrc.sgml:
26851         * docs/gst/tmpl/gstbasetransform.sgml:
26852         * docs/gst/tmpl/gstelement.sgml:
26853         * docs/gst/tmpl/gstiterator.sgml:
26854         * gst/base/gstbasesrc.c:
26855         * gst/base/gstbasesrc.h:
26856         * gst/base/gstbasetransform.h:
26857         * gst/gstelement.c:
26858         * gst/gstiterator.h:
26859           adding basetransform and iterator docs
26860
26861 2005-06-27  Andy Wingo  <wingo@pobox.com>
26862
26863         * docs/design/part-activation.txt: Notes on how activation should
26864         work -- not quite implemented yet.
26865
26866 2005-06-25  Wim Taymans  <wim@fluendo.com>
26867
26868         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26869         At least get the chain function correct, needs more
26870         fixing.
26871
26872 2005-06-25  Wim Taymans  <wim@fluendo.com>
26873
26874         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26875         (gst_basesink_handle_object), (gst_basesink_event),
26876         (gst_basesink_do_sync), (gst_basesink_handle_event),
26877         (gst_basesink_change_state):
26878         * gst/gsttask.h:
26879         Right, two problems here: ghostpads don't take locks and
26880         glib _rec_mutex_lock_full() with depth==0 still locks.
26881         Catch illegal locking and g_warn them.
26882
26883 2005-06-25  Wim Taymans  <wim@fluendo.com>
26884
26885         * check/states/sinks.c: (START_TEST), (gst_object_suite):
26886         Have to check for completion now...
26887
26888 2005-06-25  Wim Taymans  <wim@fluendo.com>
26889
26890         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26891         (gst_basesink_handle_object), (gst_basesink_event),
26892         (gst_basesink_do_sync), (gst_basesink_handle_event),
26893         (gst_basesink_change_state):
26894         * gst/gstpad.h:
26895         Unlock STREAM_LOCK whatever the recursion was.
26896
26897 2005-06-25  Wim Taymans  <wim@fluendo.com>
26898
26899         * gst/base/gstbasesink.c: (gst_basesink_set_property),
26900         (gst_basesink_preroll_queue_empty),
26901         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
26902         (gst_basesink_event), (gst_basesink_do_sync),
26903         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
26904         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
26905         (gst_basesink_change_state):
26906         Reworked the base sink, handle event and buffer serialisation
26907         correctly and removed possible deadlock.
26908         Handle EOS correctly.
26909
26910 2005-06-25  Wim Taymans  <wim@fluendo.com>
26911
26912         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
26913         (gst_pipeline_change_state):
26914         * tools/gst-launch.c: (check_intr), (event_loop), (main):
26915         Allow elements to post EOS in the state change function.
26916         Fix up -launch, make it exit the poll loop when the
26917         pipeline actually changed state.
26918         Fix up warning parsing in -launch.
26919
26920 2005-06-25  Wim Taymans  <wim@fluendo.com>
26921
26922         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
26923         (gst_tee_sink_activate):
26924         Core takes STREAM_LOCK for us now.
26925
26926 2005-06-25  Wim Taymans  <wim@fluendo.com>
26927
26928         * gst/gstelement.c: (gst_element_get_state_func),
26929         (gst_element_set_state):
26930         * gst/gstelement.h:
26931         * gst/gstmessage.c: (gst_message_parse_error),
26932         (gst_message_parse_warning):
26933         Keep track of current target state while performing a state
26934         change so that subclasses can do something interesting.
26935         Fix parsing of warning/error messages when GError is NULL.
26936
26937 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26938
26939         * docs/gst/Makefile.am:
26940         * docs/gst/gstreamer-docs.sgml:
26941         * docs/gst/gstreamer-sections.txt:
26942         * docs/gst/gstreamer.types:
26943         * docs/gst/tmpl/gstbasesink.sgml:
26944         * docs/gst/tmpl/gstbasesrc.sgml:
26945         * docs/gst/tmpl/gstbin.sgml:
26946         * docs/gst/tmpl/gstcompat.sgml:
26947         * docs/gst/tmpl/gstfakesink.sgml:
26948         * docs/gst/tmpl/gstfakesrc.sgml:
26949         * docs/gst/tmpl/gstfilesink.sgml:
26950         * docs/gst/tmpl/gstfilesrc.sgml:
26951         * docs/gst/tmpl/gstindex.sgml:
26952         * docs/manual/appendix-quotes.xml:
26953         * gst/base/gstbasesrc.h:
26954         * gst/elements/gstfakesrc.h:
26955         * gst/gstmessage.h:
26956           start pulling in base classes and elements in our docs
26957
26958 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
26959
26960         * docs/gst/Makefile.am:
26961         * docs/libs/Makefile.am:
26962           fixed make distcheck with gtk-doc 1.3
26963
26964 2005-06-23  Wim Taymans  <wim@fluendo.com>
26965
26966         * gst/gstelement.c: (gst_element_get_state_func),
26967         (gst_element_set_state), (gst_element_change_state):
26968         When the state did not change, also report NO_PREROLL
26969         when it matters.
26970
26971 2005-06-23  Wim Taymans  <wim@fluendo.com>
26972
26973         * gst/gstpad.c: (gst_pad_event_default):
26974         * gst/gstqueue.c: (gst_queue_loop):
26975         No unsafe task pausing please.
26976
26977 2005-06-23  Wim Taymans  <wim@fluendo.com>
26978
26979         * gst/schedulers/threadscheduler.c:
26980         (gst_thread_scheduler_task_start),
26981         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
26982         Ref the task before pushing it on the threadpool. This
26983         makes sure that we have a ref when the threadfunction is
26984         actually called.
26985
26986 2005-06-23  Andy Wingo  <wingo@pobox.com>
26987
26988         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
26989         offset is greater than the file's size.
26990
26991         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
26992         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
26993         * gst/gstobject.c (gst_object_class_init): Make the class lock
26994         recursive. Wim won't let me drop deep_notify. Decodebin works
26995         again, whoopdy doo.
26996
26997         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
26998         internal pad, and hacks accordingly. Doesn't do it on the target
26999         pad because we change its caps. Probably catches all cases of
27000         interest tho.
27001         (gst_ghost_pad_set_property): Connect to notify::caps as
27002         appropritate.
27003
27004         * tests/network-clock.scm (plot-simulation): Pipe data to the
27005         elite python skript.
27006
27007         * tests/network-clock-utils.scm (define-parameter): New macro,
27008         defines a parameter that can be set via the command line.
27009         (set-parameter!, parse-parameter-arguments): Command line args
27010         parser.
27011
27012         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27013         stdin.
27014
27015 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27016
27017         * gst/elements/gsttypefindelement.c:
27018         (gst_type_find_element_handle_event):
27019           Don't restart typefinding on a discont.
27020         * gst/gstelement.c: (gst_element_set_state):
27021           Debug spelling fix.
27022         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27023           Allow changing mode of an active pad.
27024           Debug output fixes.
27025         * gst/registries/gstlibxmlregistry.c: (load_feature):
27026           Don't cast a static pad template to a normal pad template.
27027
27028 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27029
27030         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27031         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27032           remove gst_strtoll completely, since it didn't actually do
27033           anything more than what g_ascii_strtoull already does.
27034           check for range errors when deserializing
27035           do a cast for the unsigned cases; but further fixing needs
27036           a decision on what the interpretation of "(int)" and
27037           deserialization should be for values that fall outside the
27038           type's boundaries (ie, refuse, or interpret as casting)
27039
27040 2005-06-23  Wim Taymans  <wim@fluendo.com>
27041
27042         * check/Makefile.am:
27043         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27044         * docs/design/part-live-source.txt:
27045         * docs/design/part-states.txt:
27046         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27047         (gst_basesrc_set_live), (gst_basesrc_is_live),
27048         (gst_basesrc_get_range), (gst_basesrc_activate),
27049         (gst_basesrc_change_state):
27050         * gst/base/gstbasesrc.h:
27051         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27052         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27053         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27054         * gst/gstelement.c: (gst_element_get_state_func),
27055         (gst_element_set_state):
27056         * gst/gstelement.h:
27057         * gst/gsttypes.h:
27058         * tools/gst-launch.c: (event_loop), (main):
27059         Added support for live sources and other elements that
27060         cannot do preroll.
27061         Updated design docs, added live-source design doc.
27062         Implemented live source functionality in basesrc
27063         Fix error condition in _bin_get_state()
27064         Implement live source handling in -launch.
27065         Added check for live sources.
27066         Fixed case in GstBin where elements were changed state
27067         multiple times.
27068
27069
27070 2005-06-23  Andy Wingo  <wingo@pobox.com>
27071
27072         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27073         borken refcounting.
27074
27075         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27076         gst_caps_replace takes care of this for us.
27077
27078         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27079         gst_pad_set_caps on the target, not just its setcaps() function.
27080
27081         * tests/network-clock.scm: 
27082         * tests/network-clock-utils.scm: A network clock simulator.
27083         Something of an algorithmic testbed before doing something in C.
27084
27085 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27086
27087         * check/Makefile.am:
27088         * check/gst/capslist.h:
27089           copy over from 0.8, and add two with bitmasks specified with
27090           (int) 0xFF...
27091         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27092           add test to parse everything from capslist.h
27093         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27094         (main):
27095           add test for structure deserialization
27096         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27097           add tests for deserialization of strings to int types
27098         * gst/gststructure.c: (gst_structure_nth_field_name):
27099         * gst/gststructure.h:
27100           add a way to get the name of a field referenced by index
27101         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27102           instead of checking if the resulting long long lies between
27103           min and max, we check if the long long would fit into
27104           a number of bytes for the final type.
27105           This fixes cases where a string represents 2^32 - 1, which
27106           when cast to int would be the (valid) -1, but is bigger than
27107           G_MAXINT
27108
27109 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27110
27111         * gst/parse/grammar.y:
27112           add a log line for type deserialization
27113
27114 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27115
27116         * check/gst/gstvalue.c: (START_TEST):
27117         * gst/gstvalue.c: (gst_value_deserialize):
27118           return long long, not int, so gint64 deserialization actually
27119           works.  Is there any flag that makes the compiler check this ?
27120           Fixes #308559
27121
27122 2005-06-22  Wim Taymans  <wim@fluendo.com>
27123
27124         * gst/gstbuffer.h:
27125         Added convenience macros for setting buffers in GValue.
27126
27127 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27128
27129         * check/gst/.cvsignore:
27130         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27131           add a test deserializing int64, and comment part out because
27132           it fails, yay !
27133
27134 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27135
27136         * check/Makefile.am:
27137         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27138         * testsuite/Makefile.am:
27139         * testsuite/caps/Makefile.am:
27140         * testsuite/caps/value_serialize.c:
27141         * testsuite/test_gst_init.c:
27142           move a value_serialize test over
27143
27144 2005-06-20  Wim Taymans  <wim@fluendo.com>
27145
27146         * gst/gstpad.c:
27147         Small doc updates.
27148         
27149         * gst/gstvalue.c: (gst_value_compare_buffer),
27150         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27151         (gst_value_compare_flags), (gst_value_serialize_flags),
27152         (gst_value_deserialize_flags), (_gst_value_initialize):
27153         Fix serialisation of buffers, they are not boxed types anymore
27154
27155 2005-06-20  Wim Taymans  <wim@fluendo.com>
27156
27157         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27158         Testcase to show error in buffer-on-caps serialisation.
27159
27160 2005-06-20  Andy Wingo  <wingo@pobox.com>
27161
27162         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27163         will be adding to later.
27164
27165         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27166         if its socks fill with rocks.
27167         (gst_system_clock_obtain): Set the name on object construction.
27168         Avoid double-checked locking.
27169
27170 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27171
27172         * gst/gsturi.c: (gst_element_make_from_uri):
27173           Fix potential endless loop.
27174
27175 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27176
27177         * check/Makefile.am:
27178           add gsttag
27179         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27180         (main):
27181           move over from testsuite dir and clean up
27182         * configure.ac:
27183         * gst/gsttag.c:
27184         * testsuite/Makefile.am:
27185         * testsuite/tags/.cvsignore:
27186         * testsuite/tags/Makefile.am:
27187         * testsuite/tags/merge.c:
27188           remove testsuite/tags
27189
27190 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27191
27192         * docs/gst/gstreamer-sections.txt:
27193         * docs/gst/tmpl/gstenumtypes.sgml:
27194         * win32/gstenumtypes.c:
27195           clean up documentation build a little
27196
27197 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27198
27199         * check/gstcheck.h:
27200           add macros for checking refcounts on objects and caps
27201         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27202           add some more unit tests
27203         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27204         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27205           fix leaked refcounts (I hope :)) so unittest works
27206         * gst/gstpad.h:
27207           whitespace removal
27208
27209 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27210
27211         * configure.ac: back to HEAD
27212
27213 === release 0.9.1 ===
27214
27215 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27216
27217         * NEWS:
27218         * RELEASE:
27219           updated
27220
27221 2005-06-17  Andy Wingo  <wingo@pobox.com>
27222
27223         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27224         assert; it's always possible that the pad gets deactivated in
27225         between the checks in gstpad.c and the implementation. Rely on
27226         finish_preroll() to return a FLUSHING or similar instead of on the
27227         assert.
27228         
27229         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27230         clock and post an EOS message if we come out of finish_preroll in
27231         the playing state.
27232
27233 2005-06-16  David Schleef  <ds@schleef.org>
27234
27235         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27236         (gst_capsfilter_set_property): Allow NULL as possible value
27237         for filter_caps property, indicating GST_CAPS_ANY.
27238
27239 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27240
27241         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27242           fix debug output
27243         * gst/schedulers/Makefile.am:
27244           use libgst prefix
27245         * gstreamer.spec.in:
27246           fix spec for it
27247
27248 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27249
27250         * gstreamer.spec.in:
27251           clean up
27252
27253 2005-06-08  Andy Wingo  <wingo@pobox.com>
27254
27255         * gst/gstutils.c: RPAD fixes all around.
27256         (gst_element_link_pads): Refcounting fixes.
27257
27258         * tools/gst-inspect.c:
27259         * tools/gst-xmlinspect.c:
27260         * parse/grammar.y:
27261         * gst/base/gsttypefindhelper.c:
27262         * gst/base/gstbasesink.c:
27263         * gst/gstqueue.c: RPAD fixes.
27264
27265         * gst/gstghostpad.h:
27266         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27267         pads. The tricky thing is they provide both source and sink
27268         interfaces, since they proxy the internal pad for the external
27269         pad, and vice versa. Implement with lower-level ProxyPad objects,
27270         with the interior proxy pad as a child of the exterior ghost pad.
27271         Should write a doc on this.
27272         
27273         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27274         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27275         gst_object API.
27276         
27277         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27278         pads are real pads. No ghost pads in this file. Not documenting
27279         the myriad s/RPAD/PAD/ and REALIZE fixes.
27280         (gst_pad_class_init): Add properties for "direction" and
27281         "template". Both are construct-only, so they can't change during
27282         the life of the pad. Fixes properly deriving from GstPad.
27283         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27284         derived objects, just set properties when creating the objects via
27285         g_object_new.
27286         (gst_pad_get_parent): Implement as a function, return NULL if the
27287         parent is not an element.
27288         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27289         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27290         
27291         * gst/gstobject.c (gst_object_class_init): Make name a construct
27292         property. Don't set it in the object init.
27293
27294         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27295         with UNKNOWN direction.
27296         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27297         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27298         (gst_element_remove_pad): Remove ghost-pad special cases.
27299         (gst_element_pads_activate): Remove rpad cruft.
27300
27301         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27302         catch the pad's-parent-not-an-element case.
27303
27304         * gst/gst.h: Include gstghostpad.h.
27305
27306         * gst/gst.c (init_post): No more real, ghost pads.
27307
27308         * gst/Makefile.am: Add gstghostpad.[ch].
27309
27310         * check/Makefile.am:
27311         * check/gst/gstbin.c:
27312         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27313         into a bin creates ghost pads, and that the refcounts are right.
27314         Partly moved from gstbin.c.
27315
27316 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27317
27318         * check/gst-libs/.cvsignore:
27319         * check/gst/.cvsignore:
27320         * check/pipelines/.cvsignore:
27321           ignore more
27322         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27323         (START_TEST), (cleanup_suite), (main):
27324           add some tests related to cleanup after running pipelines
27325
27326 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27327
27328         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27329           add a testsuite for GstBuffer
27330
27331 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27332
27333         * gst/gstminiobject.h:
27334           add defines for accessing the refcount
27335
27336 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27337
27338         * Makefile.am: added support for html unit test coverage reports
27339
27340 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27341
27342         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27343           Free existing caps if the capsfilter changes. Add a FIXME about
27344           setting those caps on the pads.
27345
27346         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27347           Before adding a ghost pad to a parent bin, check that there isn't
27348           already one for the element on the bin. Prevents infinite recursion
27349           when using decodebin in parse pipelines. Andy says he'll rewrite the
27350           way this works anyway, so ignore the hack.
27351
27352 2005-06-02  Andy Wingo  <wingo@pobox.com>
27353
27354         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27355         file size, pass it on to the type find helper.
27356
27357         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27358         segment_start and segment_end properly according to the seek
27359         method. Segment_end is still a bit flaky because offset can be
27360         negative for CUR and END cases, but it takes -1 as an "unset"
27361         value.
27362
27363 2005-06-02  Wim Taymans  <wim@fluendo.com>
27364
27365         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27366         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27367         (gst_basesink_activate):
27368         * gst/base/gstbasesink.h:
27369         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27370         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27371         (gst_pad_query), (gst_pad_start_task):
27372         * gst/gstpad.h:
27373         * gst/gstqueue.c: (gst_queue_bufferalloc),
27374         (gst_queue_handle_sink_event), (gst_queue_chain):
27375         Bufferalloc: return GstFlowReturn to more accuratly report
27376         why allocation failed.
27377
27378 2005-06-02  Wim Taymans  <wim@fluendo.com>
27379
27380         * gst/gstpipeline.c: (gst_pipeline_send_event):
27381         Take snapshot of state without blocking.
27382
27383 2005-06-02  Wim Taymans  <wim@fluendo.com>
27384
27385         * docs/design/part-TODO.txt:
27386         * docs/design/part-caps.txt:
27387         * docs/design/part-clocks.txt:
27388         * docs/design/part-negotiation.txt:
27389         * docs/design/part-preroll.txt:
27390         Small doc updates 
27391
27392 2005-05-30  Wim Taymans  <wim@fluendo.com>
27393
27394         * gst/elements/gstidentity.c: (gst_identity_event),
27395         (gst_identity_transform), (gst_identity_get_property):
27396         Protect last_message property as it is accessed from
27397         multiple threads.
27398
27399 2005-05-30  Wim Taymans  <wim@fluendo.com>
27400
27401         * gst/gstelement.c: (gst_element_init),
27402         (gst_element_pads_activate), (gst_element_change_state):
27403         Slicker pad activation code.
27404
27405 2005-05-30  Wim Taymans  <wim@fluendo.com>
27406
27407         * gst/Makefile.am:
27408         * gst/gstelement.h:
27409         * gst/gstelementfactory.h:
27410         * gst/gsttypes.h:
27411         Move elementfactory methods to separate .h file.
27412
27413 2005-05-30  Wim Taymans  <wim@fluendo.com>
27414
27415         * docs/design/part-overview.txt:
27416         * gst/gstsystemclock.h:
27417         Small typo fixes, doc updates.
27418
27419 2005-05-30  Wim Taymans  <wim@fluendo.com>
27420
27421         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27422         (init_popt_callback):
27423         Remove cpu-opt flag.
27424
27425 2005-05-30  Wim Taymans  <wim@fluendo.com>
27426
27427         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27428         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27429         * gst/gstbuffer.h:
27430         Avoid typechecking in places where not needed.
27431         Added accessor for malloc_data.
27432
27433 2005-05-30  Wim Taymans  <wim@fluendo.com>
27434
27435         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27436         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27437         (gst_pad_configure_sink), (gst_pad_configure_src),
27438         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27439         (gst_pad_start_task):
27440         Propagate errors from _set_caps() in configure_src/sink
27441         functions instead of returning TRUE.
27442         FLUSH events can travel up and downstream
27443
27444
27445 2005-05-30  Wim Taymans  <wim@fluendo.com>
27446
27447         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27448         (gst_basesink_activate):
27449         Handle EOS in preroll.
27450
27451 2005-05-30  Wim Taymans  <wim@fluendo.com>
27452
27453         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27454         (gst_queue_loop), (gst_queue_handle_src_event):
27455         Remove old pieces of code
27456         Flushing the queue in an upstream event is a very bad idea.
27457
27458 2005-05-26  Andy Wingo  <wingo@pobox.com>
27459
27460         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27461         gst_value_set_mini_object so as to add a ref on the object (which
27462         will be removed when the value is unset).
27463
27464         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27465         arg type in ::handoff.
27466
27467         * gst/gstelement.c (gst_element_change_state): Also deactivate
27468         pads in READY->NULL, just in case the element didn't make it to
27469         PAUSED. Wingo tested, Wim approved.
27470
27471 2005-05-26  Wim Taymans  <wim@fluendo.com>
27472
27473         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27474         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27475         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27476         A flushing pad cannot be used to alloc_buffer from.
27477
27478 2005-05-26  Wim Taymans  <wim@fluendo.com>
27479
27480         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27481         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27482         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27483         (gst_bus_create_watch), (gst_bus_add_watch_full):
27484         * gst/gstbus.h:
27485         Implement a real GSource and use g_main_context_wakeup() to
27486         signal new messages instead of the socketpair.
27487
27488 2005-05-25  Wim Taymans  <wim@fluendo.com>
27489
27490         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27491         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27492         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27493         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27494         (gst_pad_send_event), (gst_pad_start_task):
27495         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27496         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27497         (gst_queue_sink_activate), (gst_queue_src_activate),
27498         (gst_queue_change_state):
27499         * gst/gstqueue.h:
27500         Fix state changes for non sinks. We now change sinks, then elements
27501         with unconnected srcpads, then the rest.
27502         More efficient queue unlocking in flush and state changes.
27503         Set the pad activate mode even if it does not have an activate
27504         function.
27505
27506 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27507
27508         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27509           Don't go in pull mode for non-seekable sources.
27510         * gst/elements/gsttypefindelement.h:
27511         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27512         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27513         (free_entry), (stop_typefinding),
27514         (gst_type_find_element_handle_event), (find_peek),
27515         (gst_type_find_element_chain), (do_pull_typefind),
27516         (gst_type_find_element_change_state):
27517           Allow typefinding (w/o seeking) in push-mode, simplified version
27518           of what was in 0.8.
27519         * gst/gstutils.c: (gst_buffer_join):
27520         * gst/gstutils.h:
27521           gst_buffer_join() from 0.8.
27522
27523 2005-05-25  Wim Taymans  <wim@fluendo.com>
27524
27525         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27526         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27527         (gst_pad_send_event), (gst_pad_start_task):
27528         Disable attempt at mode switching until it is figured out.
27529
27530 2005-05-25  Wim Taymans  <wim@fluendo.com>
27531
27532         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27533         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27534         (gst_basesink_finish_preroll), (gst_basesink_chain),
27535         (gst_basesink_loop), (gst_basesink_activate),
27536         (gst_basesink_change_state):
27537         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27538         (gst_basesrc_get_range), (gst_basesrc_loop),
27539         (gst_basesrc_activate):
27540         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27541         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27542         (gst_real_pad_init), (gst_real_pad_set_property),
27543         (gst_real_pad_get_property), (gst_pad_set_active),
27544         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27545         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27546         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27547         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27548         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27549         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27550         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27551         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27552         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27553         (gst_pad_stop_task):
27554         * gst/gstpad.h:
27555         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27556         (gst_queue_loop), (gst_queue_src_activate):
27557         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27558         (gst_task_get_state):
27559         * gst/gsttask.h:
27560         * gst/schedulers/threadscheduler.c:
27561         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27562         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27563         in task function.
27564         Remove ACTIVE pad flag, use FLUSHING everywhere
27565         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27566         functions.
27567         Add locks around IS_FLUSHING when reading.
27568         Take STREAM lock in chain(), get_range() functions so plugins
27569         don't need to take it anymore.
27570         
27571
27572
27573 2005-05-25  Wim Taymans  <wim@fluendo.com>
27574
27575         * tools/gst-launch.c: (event_loop):
27576         Unref message after using its contents instead of
27577         before.
27578
27579 2005-05-24  Wim Taymans  <wim@fluendo.com>
27580
27581         * docs/design/draft-ghostpads.txt:
27582         * docs/design/draft-push-pull.txt:
27583         * docs/design/draft-query.txt:
27584         * docs/design/part-overview.txt:
27585         Docs updates, added general overview doc.
27586
27587 2005-05-21  David Schleef  <ds@schleef.org>
27588
27589         * docs/gst/tmpl/old/GstBin.sgml:
27590         * docs/gst/tmpl/old/GstBuffer.sgml:
27591         * docs/gst/tmpl/old/GstCaps.sgml:
27592         * docs/gst/tmpl/old/GstClock.sgml:
27593         * docs/gst/tmpl/old/GstCompat.sgml:
27594         * docs/gst/tmpl/old/GstData.sgml:
27595         * docs/gst/tmpl/old/GstElement.sgml:
27596         * docs/gst/tmpl/old/GstEvent.sgml:
27597         * docs/gst/tmpl/old/GstIndex.sgml:
27598         * docs/gst/tmpl/old/GstStructure.sgml:
27599         * docs/gst/tmpl/old/GstTag.sgml:
27600         * docs/gst/tmpl/old/cothreads.sgml:
27601         * docs/gst/tmpl/old/cothreads_compat.sgml:
27602         * docs/gst/tmpl/old/gettext.sgml:
27603         * docs/gst/tmpl/old/gobject2gtk.sgml:
27604         * docs/gst/tmpl/old/grammar.tab.sgml:
27605         * docs/gst/tmpl/old/gst-i18n-app.sgml:
27606         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27607         * docs/gst/tmpl/old/gst_private.sgml:
27608         * docs/gst/tmpl/old/gstaggregator.sgml:
27609         * docs/gst/tmpl/old/gstarch.sgml:
27610         * docs/gst/tmpl/old/gstatomic_impl.sgml:
27611         * docs/gst/tmpl/old/gstbufferstore.sgml:
27612         * docs/gst/tmpl/old/gstdata_private.sgml:
27613         * docs/gst/tmpl/old/gstdisksink.sgml:
27614         * docs/gst/tmpl/old/gstdisksrc.sgml:
27615         * docs/gst/tmpl/old/gstelementfactory.sgml:
27616         * docs/gst/tmpl/old/gstextratypes.sgml:
27617         * docs/gst/tmpl/old/gstfakesink.sgml:
27618         * docs/gst/tmpl/old/gstfakesrc.sgml:
27619         * docs/gst/tmpl/old/gstfdsink.sgml:
27620         * docs/gst/tmpl/old/gstfdsrc.sgml:
27621         * docs/gst/tmpl/old/gstfilesink.sgml:
27622         * docs/gst/tmpl/old/gstfilesrc.sgml:
27623         * docs/gst/tmpl/old/gsthttpsrc.sgml:
27624         * docs/gst/tmpl/old/gstidentity.sgml:
27625         * docs/gst/tmpl/old/gstindexfactory.sgml:
27626         * docs/gst/tmpl/old/gstmarshal.sgml:
27627         * docs/gst/tmpl/old/gstmd5sink.sgml:
27628         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27629         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27630         * docs/gst/tmpl/old/gstpadtemplate.sgml:
27631         * docs/gst/tmpl/old/gstpipefilter.sgml:
27632         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27633         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27634         * docs/gst/tmpl/old/gstshaper.sgml:
27635         * docs/gst/tmpl/old/gstspider.sgml:
27636         * docs/gst/tmpl/old/gstspideridentity.sgml:
27637         * docs/gst/tmpl/old/gststatistics.sgml:
27638         * docs/gst/tmpl/old/gsttee.sgml:
27639         * docs/gst/tmpl/old/gsttimecache.sgml:
27640         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27641         * docs/gst/tmpl/old/gstxmlregistry.sgml:
27642         * docs/gst/tmpl/old/gthread-cothreads.sgml:
27643         * docs/gst/tmpl/old/types.sgml:
27644           I didn't intend to add these or check them in.
27645
27646 2005-05-19  David Schleef  <ds@schleef.org>
27647
27648         * configure.ac: Use -no-common everywhere.  In a sane world, it
27649           would be the default in libtool, because without it, you can't
27650           build DLLs on Windows.
27651         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27652         * docs/gst/gstreamer-sections.txt:
27653         * docs/gst/tmpl/gstcpu.sgml:
27654         * docs/gst/tmpl/gstdata.sgml:
27655         * docs/gst/tmpl/gstthread.sgml:
27656
27657 2005-05-19  David Schleef  <ds@schleef.org>
27658
27659         * gst/gstminiobject.c: (gst_value_set_mini_object),
27660         (gst_value_take_mini_object), (gst_value_get_mini_object):
27661         * gst/gstminiobject.h: Add GValue set/get functions.
27662
27663 2005-05-19  Wim Taymans  <wim@fluendo.com>
27664
27665         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27666         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27667         (gst_subbuffer_init), (gst_buffer_is_span_fast):
27668         * gst/gstbuffer.h:
27669         * gst/gstbus.c: (gst_bus_post):
27670         * gst/gstelement.c: (gst_element_get_random_pad):
27671         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27672         Make subbufer unref the parent in finalize.
27673         some more debugging info.
27674
27675
27676 2005-05-19  Wim Taymans  <wim@fluendo.com>
27677
27678         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27679         (gst_basesink_init), (gst_basesink_finalize),
27680         (gst_basesink_activate), (gst_basesink_change_state):
27681         Don't free preroll queue too early.
27682
27683 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27684
27685         * gst/Makefile.am:
27686         * gst/ROADMAP:
27687           Hi, I'm outdated. Please shoot me.
27688
27689 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27690
27691         * gst/gstpipeline.c: (gst_pipeline_send_event):
27692           Do not access variables after they have been deleted.
27693
27694 2005-05-19  Wim Taymans  <wim@fluendo.com>
27695
27696         * tools/gst-inspect.c: (print_plugin_features):
27697         A plugin feature does unfortunatly not use the
27698         object name yet...
27699
27700 2005-05-18  Wim Taymans  <wim@fluendo.com>
27701
27702         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27703         Port _span() functions to new subbuffers.
27704
27705 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27706
27707         * gst/gstbin.c: (gst_bin_add_func):
27708           Fix clock settery in bins when adding kids after the clock has
27709           been selected.
27710
27711 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27712
27713         * gst/elements/gstidentity.c: (gst_identity_class_init):
27714           Workaround until signals support GstMiniObject.
27715
27716 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
27717
27718         * gst/gstbuffer.c:
27719         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27720
27721 2005-05-18  Wim Taymans  <wim@fluendo.com>
27722
27723         * gst/base/Makefile.am:
27724         * gst/base/gstadapter.c: (gst_adapter_base_init),
27725         (gst_adapter_class_init), (gst_adapter_init),
27726         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27727         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27728         (gst_adapter_flush), (gst_adapter_available),
27729         (gst_adapter_available_fast):
27730         * gst/base/gstadapter.h:
27731         Ported and added adapter to the base classes.
27732
27733 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
27734
27735         * gst/gst.c:
27736         * gst/gstmessage.c:
27737           Make sure the class is reffed/unreffed once before threads can be
27738           used.  Fixes #304551.
27739
27740 2005-05-17  Wim Taymans  <wim@fluendo.com>
27741
27742         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27743         (gst_basesink_chain_unlocked), (gst_basesink_activate):
27744         * gst/gstminiobject.c: (gst_mini_object_get_type),
27745         (gst_mini_object_free):
27746         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27747         (gst_pad_push), (gst_pad_push_event):
27748         * gst/gstqueue.c: (gst_queue_change_state):
27749         Don't queue buffers in basesink when we are flushing.
27750         Unref buffer when flushing in basesink.
27751         Flush queue when going to READY
27752         Unref buffer when _push() returns an error.
27753         Don't free MiniObject instance when refcount is incremented
27754         in _finalize() so that we can recover objects.
27755
27756 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27757
27758         * docs/manual/advanced-schedulers.xml:
27759         * docs/manual/appendix-checklist.xml:
27760         * docs/pwg/advanced-clock.xml:
27761         * docs/pwg/advanced-interfaces.xml:
27762         * docs/pwg/advanced-request.xml:
27763         * docs/pwg/advanced-types.xml:
27764         * docs/pwg/intro-preface.xml:
27765         * examples/plugins/example.c: (gst_example_get_type),
27766         (gst_example_class_init), (gst_example_chain),
27767         (gst_example_set_property), (gst_example_get_property),
27768         (gst_example_change_state), (plugin_init):
27769         * examples/plugins/example.h:
27770           small doc fixes
27771
27772 2005-05-17  Wim Taymans  <wim@fluendo.com>
27773
27774         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27775         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27776         * gst/gstqueue.c: (gst_queue_change_state):
27777         Clear queue when going to READY.
27778         Remove IN_SETCAPS flag too.
27779
27780 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
27781
27782         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27783           Remove implicit cast from gboolean to GstElementStateReturn;
27784           make sure we still return failure in paused => ready case if
27785           the parent class fails to change state and our own stop 
27786           vfunc succeeds.
27787
27788 2005-05-17  Wim Taymans  <wim@fluendo.com>
27789
27790         * tools/gst-launch.c: (event_loop):
27791         Message was unreffed too soon.
27792
27793 2005-05-16  Andy Wingo  <wingo@pobox.com>
27794
27795         * gst/gstbin.c (sink_iterator_filter): Err... um...
27796
27797         * check/gst/gstbin.c (test_ghost_pads): New test for the
27798         ghosting-if-elements-not-in-same-bin behavior.
27799
27800 2005-05-16  David Schleef  <ds@schleef.org>
27801
27802         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27803         accessing refcount directly.
27804
27805 2005-05-15  David Schleef  <ds@schleef.org>
27806
27807         * check/Makefile.am: remove GstData checks
27808         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27809         * gst/Makefile.am: add miniobject, remove data
27810         * gst/gst.h: add miniobject, remove data
27811         * gst/gstdata.c: remove
27812         * gst/gstdata.h: remove
27813         * gst/gstdata_private.h: remove
27814         * gst/gsttypes.h: remove GstEvent and GstMessage
27815         * gst/gstelement.c: (gst_element_post_message): fix for API changes
27816         * gst/gstmarshal.list: change BOXED -> OBJECT
27817
27818         Implement GstMiniObject.
27819         * gst/gstminiobject.c:
27820         * gst/gstminiobject.h:
27821
27822         Modify to be subclasses of GstMiniObject.
27823         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27824         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27825         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27826         (gst_subbuffer_get_type), (gst_subbuffer_init),
27827         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27828         (gst_buffer_span):
27829         * gst/gstbuffer.h:
27830         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27831         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27832         (_gst_event_copy), (gst_event_new):
27833         * gst/gstevent.h:
27834         * gst/gstmessage.c: (_gst_message_initialize),
27835         (gst_message_get_type), (gst_message_class_init),
27836         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27837         (gst_message_new), (gst_message_new_error),
27838         (gst_message_new_warning), (gst_message_new_tag),
27839         (gst_message_new_state_changed), (gst_message_new_application):
27840         * gst/gstmessage.h:
27841         * gst/gstprobe.c: (gst_probe_perform),
27842         (gst_probe_dispatcher_dispatch):
27843         * gst/gstprobe.h:
27844         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27845         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27846         (_gst_query_copy), (gst_query_new):
27847
27848         Update elements for GstData -> GstMiniObject changes
27849         * gst/gstquery.h:
27850         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27851         (gst_queue_chain), (gst_queue_loop):
27852         * gst/elements/gstbufferstore.c:
27853         (gst_buffer_store_add_buffer_func),
27854         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27855         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27856         (gst_fakesink_render):
27857         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27858         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27859         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27860         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27861         (gst_filesrc_create_read):
27862         * gst/elements/gstidentity.c: (gst_identity_class_init):
27863         * gst/elements/gsttypefindelement.c:
27864         (gst_type_find_element_src_event), (free_entry_buffers),
27865         (gst_type_find_element_handle_event):
27866         * libs/gst/dataprotocol/dataprotocol.c:
27867         (gst_dp_header_from_buffer):
27868         * libs/gst/dataprotocol/dataprotocol.h:
27869         * libs/gst/dataprotocol/dp-private.h:
27870
27871 2005-05-15  David Schleef  <ds@schleef.org>
27872
27873         * gst/elements/gstelements.c: Don't include headers that were
27874         just removed.
27875
27876 2005-05-15  David Schleef  <ds@schleef.org>
27877
27878         * gst/elements/Makefile.am: Remove some elements that don't
27879         need to be in the core (or even exist at all).
27880         * gst/elements/gstaggregator.c:
27881         * gst/elements/gstaggregator.h:
27882         * gst/elements/gstmd5sink.c:
27883         * gst/elements/gstmd5sink.h:
27884         * gst/elements/gstmultifilesrc.c:
27885         * gst/elements/gstmultifilesrc.h:
27886         * gst/elements/gstpipefilter.c:
27887         * gst/elements/gstpipefilter.h:
27888         * gst/elements/gstshaper.c:
27889         * gst/elements/gstshaper.h:
27890         * gst/elements/gststatistics.c:
27891         * gst/elements/gststatistics.h:
27892         * po/POTFILES.in: Remove above files.
27893
27894 2005-05-14  Andy Wingo  <wingo@pobox.com>
27895
27896         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
27897         so as to get the refs right.
27898         (sink_iterator_filter): New function, wraps bin_element_is_sink,
27899         unreffing objects that don't pass the filter.
27900
27901         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
27902         gst_element_set_bus.
27903         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
27904         normal cases, this will destroy the bus.
27905
27906         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
27907         object.
27908
27909         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
27910         has no sinks.
27911
27912 2005-05-13  Andy Wingo  <wingo@pobox.com>
27913
27914         * gst/gstutils.c (gst_element_link_pads): Instead of calling
27915         gst_pad_link, call pad_link_maybe_ghosting,
27916         (pad_link_maybe_ghosting): Links pads, making sure that the
27917         elements being linked are in the same bin.
27918         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
27919         Helpers for pad_link_maybe_ghosting.
27920
27921 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
27922
27923         * configure.ac:
27924           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
27925
27926 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
27927
27928         * docs/design/part-element-source.txt:
27929           Mention GstPushSrc
27930
27931 2005-05-12  Wim Taymans  <wim@fluendo.com>
27932
27933         * gst/base/gstbasesink.c: (gst_basesink_init),
27934         (gst_basesink_activate):
27935         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
27936         (gst_basesrc_is_seekable):
27937         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
27938         (bin_element_is_sink), (gst_bin_change_state):
27939         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27940         * gst/gstelement.h:
27941         Identify sinks by their flag to avoid overly complicated
27942         checks (fow now).
27943         Do state changes even for elements not reachable from the
27944         sinks.
27945         BaseSink is a sink now :)
27946         Some more debugging info in the basesrc.
27947
27948
27949 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27950
27951         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
27952           Implement _query on a bin, similar to _send_event.
27953
27954 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
27955
27956         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
27957           Discont event offset format should be GST_FORMAT_BYTES,
27958           not GST_FORMAT_TIME.
27959
27960 2005-05-12  Wim Taymans  <wim@fluendo.com>
27961
27962         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
27963         Same fix as Ronald's but without the signal. 
27964
27965 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27966
27967         * gst/gstutils.c: (gst_element_query_position):
27968           No, an element is not a pad.
27969
27970 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27971
27972         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
27973         (gst_bin_get_state):
27974           If a child is removed from a bin while we remove the child from
27975           the bin and while we're retrieving its state, signal this to the
27976           get_state function so we abort the wait (instead of waiting for
27977           a timeout) and can immediately re-iterate over all other elements.
27978
27979 2005-05-12  Wim Taymans  <wim@fluendo.com>
27980
27981         * gst/base/Makefile.am:
27982         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
27983         (gst_basesrc_start):
27984         * gst/base/gstbasesrc.h:
27985         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
27986         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
27987         (gst_pushsrc_init), (gst_pushsrc_create):
27988         * gst/base/gstpushsrc.h:
27989         Added is_seekable to BaseSrc
27990         Added simple PushSrc.
27991
27992 2005-05-11  Wim Taymans  <wim@fluendo.com>
27993
27994         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27995         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27996         (gst_element_link_pads), (gst_element_query_position),
27997         (gst_element_query_convert), (intersect_caps_func),
27998         (gst_pad_query_position), (gst_pad_query_convert):
27999         Fix refcounting in utils function.
28000         No point in trying to activate a pad when it's added, it could
28001         be added from the state change function and then we deadlock, the
28002         element has to decide what to do.
28003
28004 2005-05-10  Andy Wingo  <wingo@pobox.com>
28005
28006         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28007         *all* the arguments.
28008
28009         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28010         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28011         lock (according to the docs -- if this is wrong change the docs).
28012
28013         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28014         flush messages in the NULL state.
28015
28016         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28017         message immediately and return.
28018         (gst_bus_set_flushing): New function. If a bus is flushing, it
28019         flushes out any queued messages and immediately unrefs new
28020         messages. This is so when an element goes to NULL, all of the
28021         unhandled messages coming from it can be freed, and their
28022         references to the element dropped. In other words: message source
28023         ref considered harmful :P
28024
28025         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28026         we're finished with it.
28027
28028         * gst/gstmessage.c (gst_message_new_state_changed): 
28029
28030 2005-05-10  Wim Taymans  <wim@fluendo.com>
28031
28032         * gst/gstvalue.c: (gst_value_compare_flags),
28033         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28034         (_gst_value_initialize):
28035         Added flags serialize/deserialize/compare code.
28036
28037 2005-05-09  Andy Wingo  <wingo@pobox.com>
28038
28039         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28040         Intersect the peer's caps with our caps.
28041
28042 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28043
28044         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28045         * gst/elements/gsttypefindelement.c: (find_peek):
28046           Handle negative offsets better. Fixes decodebin.
28047
28048 2005-05-09  Wim Taymans  <wim@fluendo.com>
28049
28050         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28051         (gst_base_transform_event):
28052         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28053         Implement accept_caps.
28054         Fix silly lock/unlock mismatch in base class.
28055
28056 2005-05-09  Wim Taymans  <wim@fluendo.com>
28057
28058         * docs/design/draft-push-pull.txt:
28059         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28060         * gst/elements/gstfilesink.c: (gst_filesink_init),
28061         (gst_filesink_query):
28062         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28063         (gst_type_find_handle_src_query), (find_element_get_length):
28064         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28065         * gst/gstelement.h:
28066         * gst/gstmessage.c:
28067         * gst/gstmessage.h:
28068         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28069         (gst_real_pad_get_caps_unlocked),
28070         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28071         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28072         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28073         (gst_real_pad_dispose), (gst_real_pad_finalize),
28074         (gst_pad_load_and_link), (gst_pad_save_thyself),
28075         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28076         (gst_pad_check_pull_range), (gst_pad_pull_range),
28077         (gst_pad_template_get_type), (gst_pad_template_class_init),
28078         (gst_pad_template_init), (gst_pad_template_dispose),
28079         (name_is_valid), (gst_static_pad_template_get),
28080         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28081         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28082         (gst_pad_get_element_private), (gst_pad_start_task),
28083         (gst_pad_pause_task), (gst_pad_stop_task),
28084         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28085         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28086         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28087         (gst_ghost_pad_new):
28088         * gst/gstpad.h:
28089         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28090         (gst_query_new_position), (gst_query_set_position),
28091         (gst_query_parse_position), (gst_query_new_convert),
28092         (gst_query_set_convert), (gst_query_parse_convert):
28093         * gst/gstquery.h:
28094         * gst/gstqueryutils.c:
28095         * gst/gstqueryutils.h:
28096         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28097         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28098         (gst_queue_handle_src_query):
28099         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28100         (gst_element_query_position), (gst_element_query_convert),
28101         (intersect_caps_func), (gst_pad_query_position),
28102         (gst_pad_query_convert):
28103         * gst/gstutils.h:
28104         * tools/gst-inspect.c: (print_pad_info):
28105         * tools/gst-xmlinspect.c: (print_element_info):
28106         Remove old query functions. Ported old code.
28107         Added position/convert helper functions to gstutils.
28108         Reordered gstpad.c code, grouping relevant things.
28109         Remove gst_message_new(), always need to speficy a specific
28110         message.
28111
28112
28113 2005-05-09  Andy Wingo  <wingo@pobox.com>
28114
28115         * gst/gstiterator.h: Add some includes.
28116
28117         * gst/gstqueryutils.h: Include more headers.
28118
28119         * gst/gstpad.h:
28120         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28121         some uses of gst_pad_query.
28122
28123         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28124         NULL out parameters.
28125         (gst_query_new_position): New proc, allocates a new position
28126         query.
28127
28128         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28129         gstqueryutils.c to the build.
28130
28131         * gst/gststructure.c (gst_structure_set_valist): Implement with
28132         the generic G_VALUE_COLLECT.
28133         
28134 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28135
28136         * gst/Makefile.am: (gst_headers):
28137         Added gstqueryutils.h to the list of headers to install, that was
28138         a 'nachty' move wingo :)
28139
28140 2005-05-06  Andy Wingo  <wingo@pobox.com>
28141
28142         * gst/gstquery.h
28143         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28144         GstData, init a memchunk.
28145         (standard_definitions): Add a few query types, deprecate a few.
28146         (gst_query_get_type): New proc.
28147         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28148         implementation.
28149         (gst_query_new_application, gst_query_get_structure): New public
28150         procs.
28151
28152         * docs/design/draft-query.txt: Removed LINKS from the query types,
28153         because all the rest can be dispatched to other pads -- seemed
28154         ugly to have a query that couldn't be dispatched. internal_links
28155         is fine as a pad method.
28156
28157         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28158         in gstpad.c, but maintain binary compatibility for the moment.
28159         Will fix before 0.9 is out.
28160
28161         * gst/gstqueryutils.c: 
28162         * gst/gstqueryutils.h: New files, implement 3 methods for each
28163         query type: parse_query, parse_response, and set. Probably need an
28164         allocator as well.
28165
28166         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28167
28168         * gst/elements/gstfilesink.c (gst_filesink_query2):
28169         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28170         query_types, and formats methods.
28171
28172         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28173         (gst_pad_set_query2_function): New functions.
28174         (gst_real_pad_init): Set query2_default as the default query2
28175         function. Basically just dispatches to internally linked pads.
28176
28177         Needs review!
28178         
28179         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28180         without using the atomic operations. Only one thread can possibly
28181         be accessing the data at this point. Changed so as to avoid
28182         gst_atomic operations.
28183
28184 2005-05-06  Wim Taymans  <wim@fluendo.com>
28185
28186         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28187         Also set caps if we use the fallback buffer alloc.
28188
28189 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28190
28191         * docs/gst/Makefile.am:
28192         * docs/gst/gstreamer-docs.sgml:
28193         * docs/gst/gstreamer-sections.txt:
28194         * docs/gst/tmpl/gstatomic.sgml:
28195         * docs/gst/tmpl/gstmemchunk.sgml:
28196         * testsuite/elements/struct_i386.h:
28197         * win32/GStreamer.vcproj:
28198         * win32/Makefile:
28199           Purge GstAtomic stuff from docs and win32 makefiles as well
28200
28201 2005-05-06  Wim Taymans  <wim@fluendo.com>
28202
28203         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28204         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28205         * gst/gstpad.c: (gst_pad_peer_get_caps):
28206         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28207         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28208         (gst_queue_src_activate), (gst_queue_change_state):
28209         * gst/gstqueue.h:
28210         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28211         (intersect_caps_func):
28212         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28213         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28214         Some fixes for the peer_get_caps() change.
28215
28216 2005-05-06  Wim Taymans  <wim@fluendo.com>
28217
28218         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28219         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28220         (gst_basesink_activate):
28221         Actually do something with error codes returned from the push
28222         functions.
28223
28224 2005-05-06  Wim Taymans  <wim@fluendo.com>
28225
28226         * docs/design/part-element-sink.txt:
28227         * docs/design/part-element-source.txt:
28228         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28229         (gst_basesink_event), (gst_basesink_activate):
28230         * gst/base/gstbasesink.h:
28231         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28232         (gst_basesrc_activate):
28233         * gst/base/gstbasesrc.h:
28234         * gst/gstelement.c: (gst_element_pads_activate):
28235         Some more documentation.
28236         Fixed scheduling decision in _pads_activate().
28237
28238 2005-05-05  Andy Wingo  <wingo@pobox.com>
28239
28240         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28241         the test suite.
28242
28243 2005-05-05  Wim Taymans  <wim@fluendo.com>
28244
28245         * gst/base/Makefile.am:
28246         * gst/base/gstbasesink.h:
28247         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28248         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28249         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28250         (gst_collectpads_class_init), (gst_collectpads_init),
28251         (gst_collectpads_finalize), (gst_collectpads_new),
28252         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28253         (find_pad), (gst_collectpads_remove_pad),
28254         (gst_collectpads_is_active), (gst_collectpads_collect),
28255         (gst_collectpads_collect_range), (gst_collectpads_start),
28256         (gst_collectpads_stop), (gst_collectpads_peek),
28257         (gst_collectpads_pop), (gst_collectpads_available),
28258         (gst_collectpads_read), (gst_collectpads_flush),
28259         (gst_collectpads_chain):
28260         * gst/base/gstcollectpads.h:
28261         * gst/elements/Makefile.am:
28262         * gst/elements/gstelements.c:
28263         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28264         (gst_fakesink_get_times), (gst_fakesink_event),
28265         (gst_fakesink_preroll), (gst_fakesink_render):
28266         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28267         (gst_filesink_init), (gst_filesink_set_location),
28268         (gst_filesink_open_file), (gst_filesink_close_file),
28269         (gst_filesink_pad_query), (gst_filesink_event),
28270         (gst_filesink_render), (gst_filesink_change_state):
28271         * gst/elements/gstfilesink.h:
28272         Added object to help in making collect pad based elements.
28273         Ported filesink.
28274         Make event function in sink baseclass return gboolean.
28275
28276 2005-05-05  Wim Taymans  <wim@fluendo.com>
28277
28278         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28279         (gst_bin_get_by_name):
28280         * gst/gstbuffer.h:
28281         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28282         (gst_clock_finalize):
28283         * gst/gstdata.c: (gst_data_replace):
28284         * gst/gstdata.h:
28285         * gst/gstelement.c: (gst_element_request_pad),
28286         (gst_element_pads_activate):
28287         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28288         (gst_object_unref):
28289         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28290         (gst_pad_set_checkgetrange_function),
28291         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28292         (gst_pad_check_pull_range), (gst_pad_pull_range),
28293         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28294         (gst_pad_pause_task), (gst_pad_stop_task):
28295         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28296         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28297         Fix name lookup in GstBin.
28298         Added _data_replace() function and _buffer_replace()
28299         Use finalize method to clean up clock.
28300         Fix refcounting on request pads.
28301         Fix pad schedule mode error.
28302         Some more object refcounting debug info,
28303
28304
28305 2005-05-04  Andy Wingo <wingo@pobox.com>
28306
28307         * check/Makefile.am:
28308         * docs/gst/tmpl/gstatomic.sgml:
28309         * docs/gst/tmpl/gstplugin.sgml:
28310         * gst/base/gstbasesink.c: (gst_basesink_activate):
28311         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28312         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28313         (gst_basesrc_query), (gst_basesrc_set_property),
28314         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28315         (gst_basesrc_activate):
28316         * gst/base/gstbasesrc.h:
28317         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28318         (gst_base_transform_src_activate):
28319         * gst/elements/gstelements.c:
28320         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28321         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28322         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28323         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28324         (gst_type_find_element_checkgetrange),
28325         (gst_type_find_element_activate):
28326         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28327         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28328         (gst_caps_load_thyself):
28329         * gst/gstelement.c: (gst_element_pads_activate),
28330         (gst_element_save_thyself), (gst_element_restore_thyself):
28331         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28332         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28333         * gst/gstpad.h:
28334         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28335         (gst_xml_parse_file), (gst_xml_parse_memory),
28336         (gst_xml_get_element), (gst_xml_make_element):
28337         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28338         (_file_index_id_save_xml), (gst_file_index_commit):
28339         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28340         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28341         (load_paths):
28342         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28343         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28344         * tools/gst-complete.c: (main):
28345         * tools/gst-compprep.c: (main):
28346         * tools/gst-inspect.c: (print_element_properties_info):
28347         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28348         * tools/gst-xmlinspect.c: (print_element_properties):
28349         GCC 4 fixen.
28350         
28351 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28352
28353         * gst/gstplugin.c: (gst_plugin_check_module),
28354         (gst_plugin_check_file), (gst_plugin_load_file):
28355             apply patch from #172526 to make register work on MacOSX
28356
28357 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28358
28359         * docs/gst/tmpl/gstconfig.sgml:
28360         * gst/gstconfig.h.in:
28361           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28362         * testsuite/debug/printf_extension.c: (main):
28363           Do not use GST_PTR_FORMAT on pointers to types with
28364           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28365         * testsuite/elements/property.h:
28366           use correct printf format
28367
28368 2005-05-02  Wim Taymans  <wim@fluendo.com>
28369
28370         * docs/design/draft-push-pull.txt:
28371         * docs/design/draft-query.txt:
28372         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28373         (gst_basesrc_start):
28374         Added draft for new query API.
28375         Added draft for better selecting scheduling methods.
28376         Make basesrc ignore length if the subclass does not support
28377         it.
28378
28379 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28380
28381         * gst/Makefile.am:
28382           possible fixes for automake-1.5 - _LIBADD is reserved
28383
28384 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28385
28386         * docs/faq/Makefile.am:
28387         * docs/manual/Makefile.am:
28388         * docs/manuals.mak:
28389         * docs/pwg/Makefile.am:
28390         * gst/Makefile.am:
28391           possible fixes for automake-1.5
28392
28393 2005-04-28  Wim Taymans  <wim@fluendo.com>
28394
28395         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28396         (gst_basesink_pad_getcaps), (gst_basesink_init),
28397         (gst_basesink_do_sync):
28398         * gst/gstclock.c: (gst_clock_entry_new):
28399         * gst/gstevent.c: (gst_event_discont_get_value):
28400         * gst/gstpipeline.c: (pipeline_bus_handler),
28401         (gst_pipeline_change_state):
28402         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28403         Better debugging of clocking info.
28404         Allow NULL values when getting discont values.
28405
28406 2005-04-27  Wim Taymans  <wim@fluendo.com>
28407
28408         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28409         * check/gst/gstpad.c: (gst_pad_suite):
28410         Increase timeout for checks.
28411
28412 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28413
28414         * check/Makefile.am:
28415           fix the broken rule for cleanup.  Apparently this rule is
28416           only needed on FC2, so maybe this warrants further autotool
28417           inspection.
28418
28419 2005-04-26  Wim Taymans  <wim@fluendo.com>
28420
28421         * gst/gsttrashstack.h:
28422         Ooohh. a nasty one! After having a failed pop() from the stack,
28423         it's possible that the stack is empty. In that case, don't
28424         follow the NULL pointer.
28425
28426 2005-04-25  Wim Taymans  <wim@fluendo.com>
28427
28428         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28429         (gst_pad_set_checkgetrange_function),
28430         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28431         (gst_pad_check_pull_range), (gst_pad_pull_range),
28432         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28433         (gst_pad_pause_task), (gst_pad_stop_task):
28434         * gst/gstplugin.c: (gst_plugin_load):
28435         * gst/gstplugin.h:
28436         Remove gst_library_load as it does more harm than good with
28437         the new g_module flags.
28438         Revert bogus caps template check in pad linking, pad caps
28439         are important when linking not the template, which is more
28440         general than the current caps.
28441
28442 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28443
28444         * gst/autoplug/.cvsignore:
28445         * gst/autoplug/Makefile.am:
28446         * gst/autoplug/gstsearchfuncs.c:
28447         * gst/autoplug/gstsearchfuncs.h:
28448         * gst/autoplug/gstspider.c:
28449         * gst/autoplug/gstspider.h:
28450         * gst/autoplug/gstspideridentity.c:
28451         * gst/autoplug/gstspideridentity.h:
28452         * gst/autoplug/spidertest.c:
28453           Die, spider, die.
28454
28455 2005-04-25  Wim Taymans  <wim@fluendo.com>
28456
28457         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28458         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28459         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28460         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28461         * gst/gstpad.h:
28462         Added stubs for unimplemented functions. 
28463
28464 2005-04-24  David Schleef  <ds@schleef.org>
28465
28466         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28467         please fix.
28468
28469 2005-04-24  David Schleef  <ds@schleef.org>
28470
28471         Convert everything from GstAtomicInt to g_atomic_int_*, and
28472         remove gstatomic.
28473         * gst/Makefile.am:
28474         * gst/gstatomic.c:
28475         * gst/gstatomic.h:
28476         * gst/gstatomic_impl.h:
28477         * gst/gstbuffer.c:
28478         * gst/gstcaps.c:
28479         * gst/gstcaps.h:
28480         * gst/gstclock.c:
28481         * gst/gstclock.h:
28482         * gst/gstdata.c:
28483         * gst/gstdata.h:
28484         * gst/gstdata_private.h:
28485         * gst/gstevent.c:
28486         * gst/gstinfo.c:
28487         * gst/gstinfo.h:
28488         * gst/gstmessage.c:
28489         * gst/gstobject.c:
28490         * gst/gstobject.h:
28491         * gst/gststructure.c:
28492         * gst/gststructure.h:
28493         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28494         * gst/gstutils.h:
28495
28496 2005-04-24  David Schleef  <ds@schleef.org>
28497
28498         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28499         make the regressions tests work.  Remove some code that is no
28500         longer true.
28501         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28502         Disable warning for pads without templates.
28503
28504 2005-04-24  David Schleef  <ds@schleef.org>
28505
28506         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28507         functions that handle filtered links.
28508         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28509         removed functions.
28510         * gst/gstutils.c: Fix/remove utility functions that handle
28511         filtered caps.
28512         * gst/gstutils.h:
28513         * gst/gstvalue.c: Add serialization/deserialization of caps
28514         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28515         requires fixing so that the filter caps notation creates
28516         a capsfilter element and sets the filter_caps property.  I
28517         think everyone probably wants to keep the shorthand notation.
28518         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28519         * docs/gst/tmpl/gstpad.sgml:
28520
28521         * gst/elements/gstelements.c: Register capsfilter element.
28522         * gst/Makefile.am: fix spacing
28523         * docs/random/ds/0.9-suggested-changes: random
28524
28525 2005-04-23  David Schleef  <ds@schleef.org>
28526
28527         * gst/elements/Makefile.am:
28528         * gst/elements/gstcapsfilter.c: New element that acts like an
28529         identity, but filters caps.  Will eventually replace filtered
28530         caps in pad linking.
28531         * gst/gstutils.c: (gst_element_create_all_pads): New function
28532         to create all the ALWAYS pads that are registered with an
28533         element class.  This functionality should eventually be
28534         merged in with GstElement initialization.
28535         * gst/gstutils.h:
28536         * testsuite/trigger/README: part of trigger test code that should
28537         have been checked in a long time ago.
28538
28539 2005-04-23  David Schleef  <ds@schleef.org>
28540
28541         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28542         needed with new versions of libtool (nobody will confirm this),
28543         and hard to carry around.
28544         * gst/autoplug/Makefile.am:
28545         * gst/base/Makefile.am:
28546         * gst/elements/Makefile.am:
28547         * gst/indexers/Makefile.am:
28548         * gst/schedulers/Makefile.am:
28549         * libs/gst/bytestream/Makefile.am:
28550         * libs/gst/control/Makefile.am:
28551         * libs/gst/dataprotocol/Makefile.am:
28552         * libs/gst/getbits/Makefile.am:
28553
28554 2005-04-21  Wim Taymans  <wim@fluendo.com>
28555
28556         * docs/design/draft-push-pull.txt:
28557         * docs/design/part-MT-refcounting.txt:
28558         * docs/design/part-TODO.txt:
28559         * docs/design/part-caps.txt:
28560         * docs/design/part-events.txt:
28561         * docs/design/part-gstbus.txt:
28562         * docs/design/part-gstpipeline.txt:
28563         * docs/design/part-messages.txt:
28564         * docs/design/part-push-pull.txt:
28565         * docs/design/part-query.txt:
28566         Some more docs.
28567
28568 2005-04-21  Wim Taymans  <wim@fluendo.com>
28569
28570         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28571         (gst_message_new), (gst_message_new_error),
28572         (gst_message_new_warning), (gst_message_new_tag),
28573         (gst_message_new_state_changed), (gst_message_new_application),
28574         (gst_message_get_structure):
28575         * gst/gstmessage.h:
28576         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28577         (gst_structure_copy_conditional):
28578         Use parent refcount in GstMessage to ensure GstStructure
28579         consistency.
28580         Cleaned up headers a bit.
28581         
28582
28583 2005-04-20  Wim Taymans  <wim@fluendo.com>
28584
28585         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28586         (gst_basesink_pad_getcaps), (gst_basesink_init),
28587         (gst_basesink_chain_unlocked):
28588         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28589         (gst_type_find_helper):
28590         * gst/elements/gsttypefindelement.c:
28591         (gst_type_find_element_have_type), (gst_type_find_element_init),
28592         (stop_typefinding), (gst_type_find_element_handle_event),
28593         (find_suggest), (gst_type_find_element_chain),
28594         (gst_type_find_element_checkgetrange),
28595         (gst_type_find_element_getrange), (do_typefind),
28596         (gst_type_find_element_activate):
28597         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28598         (gst_buffer_default_free), (gst_buffer_default_copy),
28599         (gst_buffer_set_caps):
28600         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28601         (gst_caps_replace):
28602         * gst/gstmessage.c: (gst_message_new),
28603         (gst_message_new_state_changed):
28604         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28605         (gst_pad_set_checkgetrange_function),
28606         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28607         (gst_pad_set_caps), (gst_pad_check_pull_range),
28608         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28609         * gst/gstpad.h:
28610         * gst/gsttypefind.c: (gst_type_find_register):
28611         Make gst_caps_replace() work like other _replace() functions.
28612         Use _caps_replace() where possible.
28613         Make sure _message_new() initialises its field.
28614         Add gst_static_pad_template_get_caps()
28615
28616
28617 2005-04-18  Andy Wingo  <wingo@pobox.com>
28618
28619         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28620         on the peer, not the pad. I think that was a typo. Pass an extra
28621         arg to see if random access is possible. Activate the pads as
28622         PULL_RANGE if possible.
28623
28624         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28625
28626         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
28627         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28628         to PROP_....
28629
28630 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28631
28632         * docs/faq/using.xml:
28633           Add note on gstreamer-properties (#154996).
28634
28635 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28636
28637         * docs/random/bbb/optional-properties:
28638           Some analysis on optional properties.
28639
28640 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28641
28642         * docs/gst/tmpl/gstelementfactory.sgml:
28643         * gst/gstelement.h:
28644         * gst/gstelementfactory.c: (gst_element_factory_init),
28645         (gst_element_factory_cleanup), (gst_element_register),
28646         (__gst_element_factory_add_static_pad_template),
28647         (gst_element_factory_get_static_pad_templates),
28648         (gst_element_factory_can_src_caps),
28649         (gst_element_factory_can_sink_caps):
28650         * gst/registries/Makefile.am:
28651         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28652         (gst_xml_registry_class_init), (gst_xml_registry_init),
28653         (gst_xml_registry_new), (gst_xml_registry_set_property),
28654         (gst_xml_registry_get_property), (get_time), (make_dir),
28655         (gst_xml_registry_get_perms_func),
28656         (plugin_times_older_than_recurse), (plugin_times_older_than),
28657         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28658         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28659         (add_to_char_array), (read_string), (read_uint), (read_enum),
28660         (load_pad_template), (load_feature), (load_plugin), (load_paths),
28661         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28662         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28663         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28664         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28665         (gst_xml_registry_rebuild):
28666         * gst/registries/gstlibxmlregistry.h:
28667         * tools/gst-compprep.c: (main):
28668         * tools/gst-inspect.c: (print_pad_templates_info):
28669         * tools/gst-xmlinspect.c: (print_element_info):
28670           Use libxml2 for registry parsing, use staticpadtemplates in
28671           elementfactories. Makes gst_init() +/- 10x faster.
28672
28673 2005-04-12  Wim Taymans  <wim@fluendo.com>
28674
28675         * gst/base/Makefile.am:
28676         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28677         (gst_basesink_pad_getcaps), (gst_basesink_init),
28678         (gst_basesink_event), (gst_basesink_change_state):
28679         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28680         (gst_basesrc_init), (gst_basesrc_query),
28681         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28682         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28683         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28684         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28685         (gst_basesrc_stop), (gst_basesrc_activate),
28686         (gst_basesrc_change_state):
28687         * gst/base/gsttypefindhelper.c: (helper_find_peek),
28688         (helper_find_suggest), (gst_type_find_helper):
28689         * gst/base/gsttypefindhelper.h:
28690         * gst/elements/Makefile.am:
28691         * gst/elements/gstelements.c:
28692         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28693         (gst_fakesink_get_times), (gst_fakesink_event),
28694         (gst_fakesink_preroll), (gst_fakesink_render):
28695         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28696         (gst_fakesrc_init), (gst_fakesrc_event_handler),
28697         (gst_fakesrc_get_property), (gst_fakesrc_create),
28698         (gst_fakesrc_start), (gst_fakesrc_stop):
28699         * gst/elements/gstfakesrc.h:
28700         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28701         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28702         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28703         (gst_filesrc_create_read), (gst_filesrc_create),
28704         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28705         (gst_filesrc_start):
28706         * gst/elements/gsttypefindelement.c:
28707         (gst_type_find_element_have_type), (gst_type_find_element_init),
28708         (start_typefinding), (stop_typefinding), (push_buffer_store),
28709         (gst_type_find_element_handle_event),
28710         (gst_type_find_element_chain),
28711         (gst_type_find_element_checkgetrange),
28712         (gst_type_find_element_getrange), (do_typefind),
28713         (gst_type_find_element_activate),
28714         (gst_type_find_element_change_state):
28715         * gst/elements/gsttypefindelement.h:
28716         * gst/gstpipeline.c: (pipeline_bus_handler):
28717         Added typefind helper.
28718         Small preroll fix in the base sink.
28719         Disable typefind code in basesrc.
28720         Crude port of typefindelement.
28721         Fakesrc cleanups.
28722
28723
28724 2005-04-11  Wim Taymans  <wim@fluendo.com>
28725
28726         * check/gst/gstbus.c: (gstbus_suite):
28727         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28728         * check/gstcheck.h:
28729           Fix up the timeout so that the test does not fail.
28730
28731 2005-04-06  Wim Taymans  <wim@fluendo.com>
28732
28733         * gst/base/README:
28734         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28735         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28736         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28737         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28738         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28739         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28740         (gst_basesrc_stop), (gst_basesrc_activate),
28741         (gst_basesrc_change_state), (basesrc_find_peek),
28742         (basesrc_find_suggest), (gst_basesrc_type_find):
28743         * gst/base/gstbasesrc.h:
28744         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28745         (gst_filesrc_class_init), (gst_filesrc_init),
28746         (gst_filesrc_finalize), (gst_filesrc_set_location),
28747         (gst_filesrc_set_property), (gst_filesrc_get_property),
28748         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28749         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28750         (gst_filesrc_create_read), (gst_filesrc_create),
28751         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28752         * gst/elements/gstfilesrc.h:
28753         * gst/gstelement.c: (gst_element_get_state_func),
28754         (gst_element_lost_state), (gst_element_pads_activate):
28755         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28756         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28757         (gst_pad_pull_range):
28758         * gst/gstpad.h:
28759         More work on the generic source base class, implement seeking,
28760         query.
28761         Make filesrc extend the base source class.
28762         Added gst_pad_set_checkgetrange_function to GstPad.
28763
28764 2005-04-06  Andy Wingo  <wingo@pobox.com>
28765
28766         * pkgconfig/gstreamer-base.pc.in:
28767         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28768
28769         * pkgconfig/Makefile.am:
28770         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28771
28772 2005-04-04  Wim Taymans  <wim@fluendo.com>
28773
28774         * gst/base/Makefile.am:
28775         * gst/base/README:
28776         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28777         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28778         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28779         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28780         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28781         (gst_basesrc_base_init), (gst_basesrc_class_init),
28782         (gst_basesrc_init), (gst_basesrc_get_formats),
28783         (gst_basesrc_get_query_types), (gst_basesrc_query),
28784         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28785         (gst_basesrc_set_property), (gst_basesrc_get_property),
28786         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28787         (gst_basesrc_loop), (gst_basesrc_activate),
28788         (gst_basesrc_change_state):
28789         * gst/base/gstbasesrc.h:
28790         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28791         (gst_fakesrc_class_init), (gst_fakesrc_init),
28792         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28793         (gst_fakesrc_get_property), (gst_fakesrc_create):
28794         * gst/elements/gstfakesrc.h:
28795         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28796         (gst_filesrc_open_file), (gst_filesrc_loop),
28797         (gst_filesrc_activate), (filesrc_find_peek),
28798         (gst_filesrc_type_find):
28799         Made base source class, make fakesrc extend it.
28800         Add comments to basesink class.
28801         Some filesrc cleanup.
28802
28803 2005-03-31  David Schleef  <ds@schleef.org>
28804
28805         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28806         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28807         expected to link against libgstreamer.
28808         * gst/base/Makefile.am: link against libgstreamer
28809         * gst/elements/Makefile.am: same
28810
28811 2005-03-31  Andy Wingo  <wingo@pobox.com>
28812
28813         * tests/instantiate/Makefile.am:
28814         * tests/instantiate/caps.c: Add test to test speed of caps copy
28815         and free.
28816
28817         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28818         GMemChunk to be fair.
28819
28820         * gst/gsttrashstack.h: Remove warning about using the fallback
28821         trash stack implementation, it's still faster than malloc.
28822
28823 2005-03-30  Andy Wingo  <wingo@pobox.com>
28824
28825         * tests/complexity.c: Add a copyright.
28826
28827 2005-03-31  Wim Taymans  <wim@fluendo.com>
28828
28829         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28830         (gst_base_transform_class_init), (gst_base_transform_init),
28831         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28832         (gst_base_transform_get_property),
28833         (gst_base_transform_sink_activate),
28834         (gst_base_transform_src_activate),
28835         (gst_base_transform_change_state):
28836         * gst/base/gstbasetransform.h:
28837         * gst/elements/gstidentity.c: (gst_identity_class_init),
28838         (gst_identity_event), (gst_identity_check_perfect),
28839         (gst_identity_transform), (gst_identity_start),
28840         (gst_identity_stop):
28841         Added start/stop methods to transform base class so subclasses 
28842         don't need to deal with state changes even.
28843
28844 2005-03-31  Wim Taymans  <wim@fluendo.com>
28845
28846         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28847         (gst_event_new_discontinuous), (gst_event_discont_get_value):
28848         * gst/gstevent.h:
28849         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28850         (gst_pad_pull_range):
28851         Added rate to the discont event to prepare for variable speed
28852         and reverse playback.
28853
28854 2005-03-29  David Schleef  <ds@schleef.org>
28855
28856         * configure.ac:
28857         * testsuite/trigger/Makefile.am:
28858         * testsuite/trigger/trigger.c: A little example program to show
28859         how trigger-based elements can work.
28860
28861 2005-03-29  Wim Taymans  <wim@fluendo.com>
28862
28863         * gst/base/Makefile.am:
28864         * gst/base/README:
28865         * gst/base/gstbasesink.c: (gst_basesink_get_type),
28866         (gst_basesink_base_init), (gst_basesink_class_init),
28867         (gst_basesink_pad_getcaps), (gst_basesink_init),
28868         (gst_basesink_activate), (gst_basesink_change_state):
28869         * gst/base/gstbasesink.h:
28870         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28871         (gst_base_transform_base_init), (gst_base_transform_finalize),
28872         (gst_base_transform_class_init), (gst_base_transform_init),
28873         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28874         (gst_base_transform_event), (gst_base_transform_getrange),
28875         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28876         (gst_base_transform_set_property),
28877         (gst_base_transform_get_property),
28878         (gst_base_transform_sink_activate),
28879         (gst_base_transform_src_activate),
28880         (gst_base_transform_change_state):
28881         * gst/base/gstbasetransform.h:
28882         * gst/elements/gstidentity.c: (gst_identity_finalize),
28883         (gst_identity_class_init), (gst_identity_init),
28884         (gst_identity_event), (gst_identity_check_perfect),
28885         (gst_identity_transform), (gst_identity_set_property),
28886         (gst_identity_get_property), (gst_identity_change_state):
28887         * gst/elements/gstidentity.h:
28888         * gst/gstelement.c: (gst_element_get_state_func),
28889         (gst_element_lost_state), (gst_element_pads_activate):
28890         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28891         (gst_pad_check_pull_range), (gst_pad_pull_range):
28892         * gst/gstpad.h:
28893         Simplify pad activation.
28894         Added function to check if pull_range can be performed.
28895         Error out when pulling inactive or flushing pads.
28896         Removed const from refcounted types as it does not make sense.
28897         Simplify pad templates in basesink
28898         Added base class for simple 1-to-1 transforms.
28899         Make identity subclass the base transform.
28900
28901 2005-03-29  Andy Wingo  <wingo@pobox.com>
28902
28903         * docs/libs/gstreamer-libs-overrides.txt: 
28904         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
28905         really don't understand what's going on, but like whatever. I want
28906         green buildbot!
28907
28908         * docs/gst/Makefile.am:
28909         * docs/libs/Makefile.am: Dist the overrides files.
28910
28911         * check/Makefile.am (clean-local): Remove .libs directories.
28912
28913         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
28914         elements to EXTRA_DIST, so po/ files are happy.
28915
28916         * po/POTFILES.in: Er, remove it here.
28917
28918         * po/POTFILES: Remove gstspider.c.
28919
28920         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
28921
28922         * docs/libs/gstreamer-libs-docs.sgml: 
28923         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
28924         bytestream.
28925
28926         * tests/complexity.c (main): Set the length of the preroll queue
28927         on the sinks to prevent a lockup.
28928
28929         * libs/gst/dataprotocol/Makefile.am: 
28930         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
28931         the same as the one in check/gst-libs/gdp.c.
28932
28933         * po/, docs/gst/: Commit automatic changes to docs and po files.
28934
28935         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
28936         the versioned libgstbase.
28937
28938         * check/Makefile.am: Depend on an unversioned gst-register, seems
28939         to make autoconf happier.
28940
28941         * gst/base/Makefile.am: Make libgstbase a versioned lib.
28942
28943 2005-03-28  Wim Taymans  <wim@fluendo.com>
28944
28945         * configure.ac:
28946         * docs/design/part-gstelement.txt:
28947         * docs/design/part-negotiation.txt:
28948         * docs/design/part-preroll.txt:
28949         * docs/design/part-scheduling.txt:
28950         * docs/design/part-states.txt:
28951         * gst/Makefile.am:
28952         * gst/base/Makefile.am:
28953         * gst/base/README:
28954         * gst/base/gstbasesink.c: (gst_basesink_get_template),
28955         (gst_basesink_base_init), (gst_basesink_class_init),
28956         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28957         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28958         (gst_basesink_set_pad_functions),
28959         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
28960         (gst_basesink_set_property), (gst_basesink_get_property),
28961         (gst_base_sink_get_template), (gst_base_sink_get_caps),
28962         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
28963         (gst_basesink_preroll_queue_push),
28964         (gst_basesink_preroll_queue_empty),
28965         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
28966         (gst_basesink_event), (gst_basesink_get_times),
28967         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
28968         (gst_basesink_chain_unlocked), (gst_basesink_chain),
28969         (gst_basesink_loop), (gst_basesink_activate),
28970         (gst_basesink_change_state):
28971         * gst/base/gstbasesink.h:
28972         * gst/elements/Makefile.am:
28973         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
28974         (gst_fakesink_class_init), (gst_fakesink_init),
28975         (gst_fakesink_set_property), (gst_fakesink_get_property),
28976         (gst_fakesink_get_times), (gst_fakesink_event),
28977         (gst_fakesink_preroll), (gst_fakesink_render),
28978         (gst_fakesink_change_state):
28979         * gst/elements/gstfakesink.h:
28980         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
28981         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
28982         * gst/gstelement.c: (gst_element_add_pad),
28983         (gst_element_get_state_func), (gst_element_abort_state),
28984         (gst_element_commit_state), (gst_element_lost_state),
28985         (gst_element_set_state), (gst_element_pads_activate):
28986         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
28987         * gst/gstpipeline.c: (gst_pipeline_send_event),
28988         (gst_pipeline_change_state):
28989         Added state change code.
28990         Added/updated docs.
28991         Added sink base class, make fakesink extend the base class.
28992         Small cleanups in GstPipeline.
28993
28994 2005-03-26  David Schleef  <ds@schleef.org>
28995
28996         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
28997         is broken and should be implemented in a different library.
28998         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
28999         * gst/gst.h: remove gstcpu.h
29000         * gst/gstcpu.c: remove
29001         * gst/gstcpu.h: remove
29002         * gst/Makefile.am.future: Remove this file.  It's ancient.
29003
29004 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29005
29006         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29007         (gst_bin_send_event):
29008           Add default event/set_manager handlers. The set_manager handler
29009           takes care that the manager is distributed over kids that were
29010           already in the bin before the manager was set. The event handler
29011           is a utility virtual function that sends the event over all sinks,
29012           so that gst_element_send_event (bin, event); has the expected
29013           behaviour.
29014         * gst/gstpad.c: (gst_pad_event_default):
29015           Re-install default event handling for discontinuities, so that
29016           seeking works without requiring hacks in applications or extra
29017           code in sinks.
29018         * gst/gstpipeline.c: (gst_pipeline_class_init),
29019         (gst_pipeline_send_event):
29020           Half hack, half utility: set a pipeline to PAUSED for seek events,
29021           since that is the only way we can guarantee a/v sync. Means that
29022           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29023           and it "just works".
29024
29025 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29026
29027         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29028           Lock/unlock mismatch.
29029
29030 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29031
29032         * docs/faq/gst-uninstalled:
29033           add gst-plugins-base
29034         * docs/gst/Makefile.am:
29035           don't error out until docs are fixed
29036         * docs/gst/gstreamer.types:
29037           remove thread
29038
29039 2005-03-22  Wim Taymans  <wim@fluendo.com>
29040
29041         * check/Makefile.am:
29042         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29043         * gst/gststructure.c: (gst_structure_set_valist),
29044         (gst_structure_copy_conditional):
29045         Activated more tests.
29046         Added message test.
29047         Added G_TYPE_POINTER to GstStructure.
29048         
29049
29050 2005-03-22  Wim Taymans  <wim@fluendo.com>
29051
29052         * docs/design/part-TODO.txt:
29053         * docs/design/part-events.txt:
29054         * docs/design/part-gstbin.txt:
29055         * docs/design/part-gstbus.txt:
29056         * docs/design/part-gstpipeline.txt:
29057         * docs/design/part-messages.txt:
29058         * gst/gstbus.c:
29059         * gst/gstmessage.c:
29060         Docs updates
29061
29062 2005-03-21  Wim Taymans  <wim@fluendo.com>
29063
29064         * gst/gstbus.c: (gst_bus_post):
29065         Fix copy-and-paste error.
29066
29067 2005-03-21  Wim Taymans  <wim@fluendo.com>
29068
29069         * check/Makefile.am:
29070         * gst/Makefile.am:
29071         * gst/elements/Makefile.am:
29072         * gst/elements/gstelements.c:
29073         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29074         (gst_fakesink_event), (gst_fakesink_chain):
29075         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29076         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29077         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29078         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29079         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29080         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29081         (gst_fakesrc_loop), (gst_fakesrc_activate),
29082         (gst_fakesrc_change_state):
29083         * gst/elements/gstfakesrc.h:
29084         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29085         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29086         (gst_filesrc_open_file), (gst_filesrc_loop),
29087         (gst_filesrc_activate), (gst_filesrc_change_state),
29088         (filesrc_find_peek), (filesrc_find_suggest),
29089         (gst_filesrc_type_find):
29090         * gst/elements/gstidentity.c: (gst_identity_finalize),
29091         (gst_identity_class_init), (gst_identity_init),
29092         (gst_identity_proxy_getcaps), (identity_queue_push),
29093         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29094         (gst_identity_getrange), (gst_identity_chain),
29095         (gst_identity_sink_loop), (gst_identity_src_loop),
29096         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29097         (gst_identity_set_property), (gst_identity_get_property),
29098         (gst_identity_change_state):
29099         * gst/elements/gstidentity.h:
29100         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29101         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29102         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29103         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29104         (gst_tee_sink_activate):
29105         * gst/elements/gsttee.h:
29106         * gst/gst.c: (gst_register_core_elements), (init_post):
29107         * gst/gst.h:
29108         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29109         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29110         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29111         (gst_bin_change_state):
29112         * gst/gstbin.h:
29113         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29114         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29115         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29116         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29117         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29118         (bus_watch_callback), (bus_watch_destroy),
29119         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29120         (poll_timeout), (gst_bus_poll):
29121         * gst/gstbus.h:
29122         * gst/gstcaps.h:
29123         * gst/gstdata.h:
29124         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29125         (gst_element_post_message), (gst_element_message_full),
29126         (gst_element_get_state_func), (gst_element_get_state),
29127         (gst_element_abort_state), (gst_element_commit_state),
29128         (gst_element_lost_state), (gst_element_set_state),
29129         (gst_element_pads_activate), (gst_element_change_state),
29130         (gst_element_dispose), (gst_element_set_manager_func),
29131         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29132         (gst_element_set_manager), (gst_element_get_manager),
29133         (gst_element_set_bus), (gst_element_get_bus),
29134         (gst_element_set_scheduler), (gst_element_get_scheduler):
29135         * gst/gstelement.h:
29136         * gst/gstevent.c: (gst_event_new_segment_seek),
29137         (gst_event_new_flush):
29138         * gst/gstevent.h:
29139         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29140         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29141         (gst_message_new_eos), (gst_message_new_error),
29142         (gst_message_new_warning), (gst_message_new_tag),
29143         (gst_message_new_state_changed), (gst_message_new_application),
29144         (gst_message_get_structure), (gst_message_parse_tag),
29145         (gst_message_parse_state_changed), (gst_message_parse_error),
29146         (gst_message_parse_warning):
29147         * gst/gstmessage.h:
29148         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29149         (gst_real_pad_set_property), (gst_pad_set_active),
29150         (gst_pad_is_active), (gst_pad_set_blocked_async),
29151         (gst_pad_set_blocked), (gst_pad_is_blocked),
29152         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29153         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29154         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29155         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29156         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29157         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29158         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29159         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29160         (gst_pad_set_caps), (gst_pad_configure_sink),
29161         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29162         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29163         (gst_real_pad_dispose), (gst_real_pad_finalize),
29164         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29165         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29166         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29167         * gst/gstpad.h:
29168         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29169         (pipeline_bus_handler), (gst_pipeline_change_state),
29170         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29171         * gst/gstpipeline.h:
29172         * gst/gstprobe.h:
29173         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29174         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29175         (gst_queue_link_src), (gst_queue_bufferalloc),
29176         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29177         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29178         (gst_queue_loop), (gst_queue_handle_src_event),
29179         (gst_queue_handle_src_query), (gst_queue_src_activate),
29180         (gst_queue_change_state):
29181         * gst/gstqueue.h:
29182         * gst/gstscheduler.c: (gst_scheduler_init),
29183         (gst_scheduler_dispose), (gst_scheduler_create_task),
29184         (gst_scheduler_factory_create):
29185         * gst/gstscheduler.h:
29186         * gst/gststructure.c: (gst_structure_get_type),
29187         (gst_structure_copy_conditional):
29188         * gst/gststructure.h:
29189         * gst/gsttaginterface.h:
29190         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29191         (gst_task_init), (gst_task_dispose), (gst_task_create),
29192         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29193         (gst_task_pause):
29194         * gst/gsttask.h:
29195         * gst/gstthread.c:
29196         * gst/gstthread.h:
29197         * gst/gsttypes.h:
29198         * gst/schedulers/Makefile.am:
29199         * gst/schedulers/cothreads_compat.h:
29200         * gst/schedulers/entryscheduler.c:
29201         * gst/schedulers/faircothreads.c:
29202         * gst/schedulers/faircothreads.h:
29203         * gst/schedulers/fairscheduler.c:
29204         * gst/schedulers/gstbasicscheduler.c:
29205         * gst/schedulers/gstoptimalscheduler.c:
29206         * gst/schedulers/gthread-cothreads.h:
29207         * gst/schedulers/threadscheduler.c:
29208         (gst_thread_scheduler_task_get_type),
29209         (gst_thread_scheduler_task_class_init),
29210         (gst_thread_scheduler_task_init),
29211         (gst_thread_scheduler_task_start),
29212         (gst_thread_scheduler_task_stop),
29213         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29214         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29215         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29216         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29217         (plugin_init):
29218         * libs/gst/Makefile.am:
29219         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29220         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29221         (gst_file_pad_parent_set):
29222         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29223         (gst_dp_event_from_packet):
29224         * tests/complexity.c: (main):
29225         * tests/mass_elements.c: (main):
29226         * testsuite/states/locked.c: (message_received), (main):
29227         * testsuite/states/parent.c: (main):
29228         * tools/gst-inspect.c: (print_element_flag_info),
29229         (print_implementation_info), (print_pad_info):
29230         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29231         (main):
29232         * tools/gst-md5sum.c: (event_loop), (main):
29233         * tools/gst-typefind.c: (main):
29234         * tools/gst-xmlinspect.c: (print_element_info):
29235         Next big merge.
29236         Added GstBus for mainloop integration.
29237         Added GstMessage for sending notifications on the bus.
29238         Added GstTask as an abstraction for pipeline entry points.
29239         Removed GstThread.
29240         Removed Schedulers.
29241         Simplified GstQueue for multithreaded core.
29242         Made _link threadsafe, removed old capsnego.
29243         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29244         Added pad blocking functions.
29245         Reworked scheduling functions in GstPad to prepare for
29246         scheduling updates soon.
29247         Moved events out of data stream.
29248         Simplified GstEvent types.
29249         Added return values to push/pull.
29250         Removed clocking from GstElement.
29251         Added prototypes for state change function for next merge.
29252         Removed iterate from bins and state change management.
29253         Fixed some elements, disabled others for now.
29254         Fixed -inspect and -launch.
29255         Added check for GstBus.
29256
29257 2005-03-10  Wim Taymans  <wim@fluendo.com>
29258
29259         * docs/design/part-MT-refcounting.txt:
29260         * docs/design/part-clocks.txt:
29261         * docs/design/part-gstelement.txt:
29262         * docs/design/part-gstobject.txt:
29263         * docs/design/part-standards.txt:
29264         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29265         (gst_bin_remove_func), (gst_bin_remove):
29266         * gst/gstbin.h:
29267         * gst/gstbuffer.c:
29268         * gst/gstcaps.h:
29269         * testsuite/clock/clock1.c: (main):
29270         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29271         (main):
29272         * testsuite/dlopen/loadgst.c: (do_test):
29273         * testsuite/refcounting/bin.c: (add_remove_test1),
29274         (add_remove_test2), (main):
29275         * testsuite/refcounting/element.c: (main):
29276         * testsuite/refcounting/element_pad.c: (main):
29277         * testsuite/refcounting/pad.c: (main):
29278         * tools/gst-launch.c: (sigint_handler_sighandler):
29279         * tools/gst-typefind.c: (main):
29280         Doc updates.
29281         Added doc about clock.
29282         removed gst_bin_iterate_recurse_up(), marked methods
29283         for removal.
29284         Fix more testsuites.
29285
29286 2005-03-09  Wim Taymans  <wim@fluendo.com>
29287
29288         * gst/gstpad.c: (gst_pad_get_direction),
29289         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29290         (gst_pad_collect_valist):
29291         * testsuite/bins/interface.c: (main):
29292         * testsuite/caps/audioscale.c: (test_caps):
29293         * testsuite/caps/caps.c: (test1), (test2), (test3):
29294         * testsuite/caps/deserialize.c: (main):
29295         * testsuite/caps/enumcaps.c: (main):
29296         * testsuite/caps/filtercaps.c: (main):
29297         * testsuite/caps/intersect2.c: (main):
29298         * testsuite/caps/random.c: (main):
29299         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29300         * testsuite/caps/sets.c: (check_caps):
29301         * testsuite/caps/simplify.c: (check_caps), (main):
29302         * testsuite/caps/subtract.c: (check_caps):
29303         Fix _pad_get_direction wrt ghostpads.
29304         Fix caps testsuite.
29305
29306 2005-03-09  Wim Taymans  <wim@fluendo.com>
29307
29308         * check/Makefile.am:
29309         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29310         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29311         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29312         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29313         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29314         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29315         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29316         (bin_element_is_sink), (gst_bin_iterate_sinks),
29317         (gst_bin_iterate_all_by_interface):
29318         * gst/gstbin.h:
29319         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29320         (gst_element_change_state), (gst_element_dispose),
29321         (gst_element_finalize), (gst_element_set_loop_function):
29322         * gst/gstelement.h:
29323         * gst/gstiterator.c: (find_custom_fold_func):
29324         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29325         (gst_pad_collectv), (gst_pad_collect_valist),
29326         (gst_pad_template_new):
29327         * gst/gstpipeline.c: (gst_pipeline_class_init),
29328         (gst_pipeline_dispose), (gst_pipeline_set_property),
29329         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29330         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29331         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29332         * gst/gstutils.h:
29333         * gst/schedulers/entryscheduler.c:
29334         * gst/schedulers/gstbasicscheduler.c:
29335         (gst_basic_scheduler_cothreaded_chain),
29336         (gst_basic_scheduler_chain_add_element):
29337         * testsuite/bins/interface.c: (main):
29338         Added GstBin test.
29339         Added GstSystemClock test.
29340         Implemented clock distribution code in GstBin.
29341         Implemented iterate sinks method for future use.
29342         Rearranged gstelement.h
29343         Fix GstIterator comparison bug.
29344         Moved some code to GstPipeline, mostly clocking related.
29345
29346 2005-03-09  Wim Taymans  <wim@fluendo.com>
29347
29348         * configure.ac:
29349         * gst/gst_private.h:
29350         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29351         (gst_bin_remove_func), (gst_bin_remove),
29352         (gst_bin_get_by_name_recurse_up):
29353         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29354         (gst_clock_id_compare_func), (gst_clock_id_wait),
29355         (gst_clock_id_wait_async), (gst_clock_init),
29356         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29357         * gst/gstelement.h:
29358         * gst/gstinfo.c: (_gst_debug_init):
29359         * gst/gstobject.h:
29360         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29361         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29362         * gst/gstpad.h:
29363         Bump version number, we're now 0.9.0
29364         Add future debugging category.
29365         Fix NULL _unref() in _get_by_name_recurse_up
29366         Rearrange gstpad.h.
29367         Update some docs.
29368
29369 2005-03-08  Wim Taymans  <wim@fluendo.com>
29370
29371         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29372         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29373         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29374         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29375         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29376         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29377         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29378         * gst/elements/gstidentity.c: (gst_identity_class_init):
29379         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29380         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29381         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29382         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29383         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29384         (gst_tee_link):
29385         * gst/gstelement.c: (gst_element_class_init),
29386         (gst_element_base_class_init), (gst_element_init),
29387         (gst_element_get_random_pad), (gst_element_wait_state_change),
29388         (gst_element_change_state), (gst_element_dispose),
29389         (gst_element_finalize), (gst_element_set_loop_function):
29390         * gst/gstelement.h:
29391         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29392         * gst/gstthread.c: (gst_thread_class_init),
29393         (gst_thread_release_children_locks), (gst_thread_change_state):
29394         * gst/schedulers/gstbasicscheduler.c:
29395         (gst_basic_scheduler_loopfunc_wrapper),
29396         (gst_basic_scheduler_chain_wrapper),
29397         (gst_basic_scheduler_src_wrapper),
29398         (gst_basic_scheduler_remove_element):
29399         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29400         Remove threadsafe properties. Fix elements because GObject
29401         complains when installing a property before declaring a
29402         set/get_property handler.
29403         Rearrange gstelement.h file, use STATE macros for state locks.
29404         Free mutexes in the finalize method instead of dispose.
29405
29406 2005-03-08  Wim Taymans  <wim@fluendo.com>
29407
29408         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29409         * gst/gstthread.c: (gst_thread_release_children_locks):
29410         Added parentage check.
29411         Fix build og GstThread again.
29412
29413 2005-03-08  Wim Taymans  <wim@fluendo.com>
29414
29415         * docs/design/part-MT-refcounting.txt:
29416         * docs/design/part-conventions.txt:
29417         * docs/design/part-gstobject.txt:
29418         * docs/design/part-relations.txt:
29419         * docs/design/part-standards.txt:
29420         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29421         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29422         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29423         (gst_bin_iterate_all_by_interface):
29424         * gst/gstbuffer.h:
29425         * gst/gstclock.h:
29426         * gst/gstelement.c: (gst_element_class_init),
29427         (gst_element_change_state), (gst_element_set_loop_function):
29428         * gst/gstelement.h:
29429         * gst/gstiterator.c:
29430         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29431         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29432         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29433         (gst_object_set_parent), (gst_object_unparent),
29434         (gst_object_check_uniqueness):
29435         * gst/gstobject.h:
29436         Docs updates, clean up some headers.
29437
29438 2005-03-07  Wim Taymans  <wim@fluendo.com>
29439
29440         * check/.cvsignore:
29441         * check/Makefile.am:
29442         * check/gst-libs/.cvsignore:
29443         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29444         * check/gst/.cvsignore:
29445         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29446         (START_TEST), (gstbus_suite), (main):
29447         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29448         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29449         (gst_data_suite), (main):
29450         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29451         (add_fold_func), (gstiterator_suite), (main):
29452         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29453         (thread_name_object), (thread_name_object_default),
29454         (gst_object_name_compare), (gst_object_suite), (main):
29455         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29456         (gst_pad_suite), (main):
29457         * check/gstcheck.c: (gst_check_log_message_func),
29458         (gst_check_log_critical_func), (gst_check_init):
29459         * check/gstcheck.h:
29460         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29461         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29462         Added checks.
29463
29464 2005-03-07  Wim Taymans  <wim@fluendo.com>
29465
29466         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29467         (gst_list_iterator_next), (gst_list_iterator_resync),
29468         (gst_list_iterator_free), (gst_iterator_new_list),
29469         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29470         (gst_iterator_free), (gst_iterator_push), (filter_next),
29471         (filter_resync), (filter_uninit), (filter_free),
29472         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29473         (gst_iterator_foreach), (find_custom_fold_func),
29474         (gst_iterator_find_custom):
29475         * gst/gstiterator.h:
29476         Added missing files.
29477
29478 2005-03-07  Wim Taymans  <wim@fluendo.com>
29479
29480         * Makefile.am:
29481         * configure.ac:
29482         * docs/design/part-MT-refcounting.txt:
29483         * docs/design/part-conventions.txt:
29484         * docs/design/part-gstobject.txt:
29485         * docs/design/part-relations.txt:
29486         * examples/mixer/mixer.c: (main):
29487         * examples/thread/thread.c: (eos), (main):
29488         * gst/Makefile.am:
29489         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29490         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29491         (gst_spider_plug_from_srcpad):
29492         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29493         (gst_spider_identity_change_state),
29494         (gst_spider_identity_sink_loop_type_finding):
29495         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29496         * gst/elements/gstidentity.c: (gst_identity_init):
29497         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29498         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29499         * gst/elements/gsttypefindelement.c: (free_entry):
29500         * gst/gst.c:
29501         * gst/gst.h:
29502         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29503         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29504         (gst_bin_set_index), (gst_bin_set_element_sched),
29505         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29506         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29507         (gst_bin_iterate_elements), (iterate_child_recurse),
29508         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29509         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29510         (compare_interface), (gst_bin_get_by_interface),
29511         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29512         * gst/gstbin.h:
29513         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29514         (gst_buffer_default_free), (gst_buffer_default_copy),
29515         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29516         (gst_buffer_create_sub):
29517         * gst/gstbuffer.h:
29518         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29519         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29520         (gst_caps_unref), (gst_static_caps_get),
29521         (gst_caps_remove_and_get_structure), (gst_caps_append),
29522         (gst_caps_append_structure), (gst_caps_remove_structure),
29523         (gst_caps_copy_nth), (gst_caps_set_simple),
29524         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29525         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29526         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29527         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29528         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29529         (gst_caps_structure_figure_out_union),
29530         (gst_caps_switch_structures), (gst_caps_do_simplify),
29531         (gst_caps_replace), (gst_caps_from_string),
29532         (gst_caps_copy_conditional):
29533         * gst/gstcaps.h:
29534         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29535         (_gst_clock_id_free), (gst_clock_id_unref),
29536         (gst_clock_id_compare_func), (gst_clock_id_wait),
29537         (gst_clock_id_wait_async), (gst_clock_class_init),
29538         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29539         (gst_clock_get_time), (gst_clock_set_time_adjust),
29540         (gst_clock_set_property), (gst_clock_get_property):
29541         * gst/gstclock.h:
29542         * gst/gstcompat.h:
29543         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29544         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29545         * gst/gstdata.h:
29546         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29547         (gst_element_requires_clock), (gst_element_provides_clock),
29548         (gst_element_set_clock), (gst_element_clock_wait),
29549         (gst_element_wait), (gst_element_set_time_delay),
29550         (gst_element_is_indexable), (gst_element_add_pad),
29551         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29552         (pad_compare_name), (gst_element_get_static_pad),
29553         (gst_element_request_pad), (gst_element_get_request_pad),
29554         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29555         (gst_element_class_get_pad_template_list),
29556         (gst_element_class_get_pad_template), (gst_element_error_func),
29557         (gst_element_get_random_pad), (gst_element_get_event_masks),
29558         (gst_element_send_event), (gst_element_seek),
29559         (gst_element_get_query_types), (gst_element_query),
29560         (gst_element_get_formats), (gst_element_convert),
29561         (gst_element_is_locked_state), (gst_element_set_locked_state),
29562         (gst_element_sync_state_with_parent), (gst_element_change_state),
29563         (gst_element_finalize), (gst_element_yield),
29564         (gst_element_interrupt), (gst_element_set_scheduler),
29565         (gst_element_get_scheduler), (gst_element_set_loop_function):
29566         * gst/gstelement.h:
29567         * gst/gstevent.h:
29568         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29569         (gst_format_get_by_nick), (gst_format_get_details),
29570         (gst_format_iterate_definitions):
29571         * gst/gstformat.h:
29572         * gst/gstindex.c: (gst_index_gtype_resolver):
29573         * gst/gstinfo.c:
29574         * gst/gstinfo.h:
29575         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29576         (gst_mem_chunk_free):
29577         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29578         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29579         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29580         (gst_object_dispatch_properties_changed),
29581         (gst_object_set_name_default), (gst_object_set_name),
29582         (gst_object_get_name), (gst_object_set_name_prefix),
29583         (gst_object_get_name_prefix), (gst_object_set_parent),
29584         (gst_object_get_parent), (gst_object_unparent),
29585         (gst_object_check_uniqueness), (gst_object_save_thyself),
29586         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29587         (gst_object_set_property), (gst_object_get_property),
29588         (gst_object_get_path_string):
29589         * gst/gstobject.h:
29590         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29591         (gst_real_pad_init), (gst_real_pad_get_property),
29592         (gst_pad_custom_new), (gst_pad_get_direction),
29593         (gst_pad_set_active), (gst_pad_is_active),
29594         (gst_pad_set_event_function), (gst_pad_is_linked),
29595         (gst_pad_link_free), (gst_pad_link_intersect),
29596         (gst_pad_link_fixate), (gst_pad_set_caps),
29597         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29598         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29599         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29600         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29601         (gst_pad_get_caps), (gst_pad_peer_get_caps),
29602         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29603         (gst_pad_realize), (gst_pad_get_allowed_caps),
29604         (gst_real_pad_dispose), (gst_real_pad_finalize),
29605         (gst_pad_collectv), (gst_pad_collect_valist),
29606         (gst_pad_template_dispose), (gst_pad_template_new),
29607         (gst_pad_get_internal_links):
29608         * gst/gstpad.h:
29609         * gst/gstpipeline.c: (gst_pipeline_dispose),
29610         (gst_pipeline_change_state):
29611         * gst/gstpipeline.h:
29612         * gst/gstplugin.c:
29613         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29614         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29615         * gst/gstpluginfeature.h:
29616         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29617         * gst/gstquery.c: (_gst_query_type_initialize),
29618         (gst_query_type_register), (gst_query_type_get_by_nick),
29619         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29620         * gst/gstquery.h:
29621         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29622         * gst/gstscheduler.c: (gst_scheduler_add_element),
29623         (gst_scheduler_factory_create):
29624         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29625         (gst_structure_free), (gst_structure_set_name),
29626         (gst_structure_id_set_value), (gst_structure_set_value),
29627         (gst_structure_set_valist), (gst_structure_remove_field),
29628         (gst_structure_remove_fields),
29629         (gst_structure_remove_fields_valist),
29630         (gst_structure_remove_all_fields), (gst_structure_foreach),
29631         (gst_structure_map_in_place),
29632         (gst_caps_structure_fixate_field_nearest_int),
29633         (gst_caps_structure_fixate_field_nearest_double):
29634         * gst/gststructure.h:
29635         * gst/gstsystemclock.c: (gst_system_clock_class_init),
29636         (gst_system_clock_init), (gst_system_clock_dispose),
29637         (gst_system_clock_async_thread),
29638         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29639         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29640         * gst/gstsystemclock.h:
29641         * gst/gsttag.c: (gst_tag_list_add_value_internal),
29642         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29643         * gst/gsttaginterface.c:
29644         * gst/gstthread.c: (gst_thread_dispose),
29645         (gst_thread_release_children_locks), (gst_thread_change_state),
29646         (gst_thread_main_loop):
29647         * gst/gsttrashstack.h:
29648         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29649         * gst/gsttypes.h:
29650         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29651         (gst_element_request_pad), (gst_element_get_pad_from_template),
29652         (gst_element_request_compatible_pad),
29653         (gst_element_get_compatible_pad_filtered),
29654         (gst_element_get_compatible_pad), (gst_element_state_get_name),
29655         (gst_element_link_pads_filtered), (gst_element_link_filtered),
29656         (gst_element_link_many), (gst_element_link),
29657         (gst_element_link_pads), (gst_element_unlink_pads),
29658         (gst_element_unlink_many), (gst_element_unlink),
29659         (gst_pad_can_link_filtered), (gst_pad_can_link),
29660         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29661         (gst_object_default_error), (gst_bin_add_many),
29662         (gst_bin_remove_many), (gst_element_populate_std_props),
29663         (gst_element_class_install_std_props), (gst_buffer_merge),
29664         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29665         (link_fold_func), (gst_pad_proxy_setcaps):
29666         * gst/gstutils.h:
29667         * gst/gstvalue.c: (gst_value_deserialize_string):
29668         * gst/parse/grammar.y:
29669         * gst/schedulers/gstbasicscheduler.c:
29670         (gst_basic_scheduler_cothreaded_chain),
29671         (gst_basic_scheduler_chain_recursive_add),
29672         (gst_basic_scheduler_pad_link):
29673         * gst/schedulers/gstoptimalscheduler.c:
29674         (get_group_schedule_function),
29675         (gst_opt_scheduler_state_transition),
29676         (gst_opt_scheduler_add_element), (element_get_reachables_func):
29677         * libs/gst/bytestream/bytestream.c:
29678         * libs/gst/dataprotocol/dataprotocol.c:
29679         (gst_dp_header_from_buffer):
29680         * po/nb.po:
29681         * po/ru.po:
29682         * tests/threadstate/threadstate2.c: (eos):
29683         * tools/gst-compprep.c: (main):
29684         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29685         (print_pad_info), (print_children_info):
29686         * tools/gst-launch.c: (idle_func), (main):
29687         * tools/gst-md5sum.c: (idle_func), (main):
29688         * tools/gst-xmlinspect.c: (print_element_info):
29689         First THREADED backport attempt, focusing on adding locks and
29690         making sure the API is threadsafe. Needs more work. More docs
29691         follow this week.
29692
29693 2005-02-24  Andy Wingo  <wingo@pobox.com>
29694
29695         * tests/bench-complexity.scm:
29696         * tests/complexity.gnuplot: New files, good for running complexity
29697         benchmarks.
29698
29699         * tests/Makefile.am:
29700         * tests/complexity.c: New test, sets up N elements, at each level
29701         teeing into M streams per element. Eeeenteresting.
29702
29703         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29704         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29705         running bench-mass_elements.scm.
29706
29707         * tests/bench-mass_elements.scm: New script, runs mass_elements
29708         for various numbers of identities, outputting the results to a
29709         file. Requires guile 1.6. Just for testing.
29710
29711 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29712
29713         * gst/schedulers/fairscheduler.c:
29714           compile with debug disabled
29715
29716 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29717
29718         * configure.ac:
29719           hunting season on 0.9 is now OPEN