libs/gst/controller/gstcontroller.c: Revert one change, that make ret value possible...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2
3         * libs/gst/controller/gstcontroller.c:
4           Revert one change, that make ret value possible uninitialized.
5
6 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
7
8         * libs/gst/controller/gstcontroller.c:
9           Use freeze/thaw notify to sync notify emission a bit (its also more
10           efficient). Move debug output to LOG (is called a lot in a loop).
11           Always unset g_values if the have been initialized.
12
13 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
14
15         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16         (gst_base_sink_wait_eos), (gst_base_sink_event):
17         If we have not seen a buffer before EOS, use the segment values to
18         report the current position instead of invalid positions.
19
20 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
21
22         * docs/plugins/tmpl/.cvsignore:
23         * tests/check/gst/.cvsignore:
24           Ignore more.
25
26 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
27
28         * libs/gst/controller/gstinterpolation.c:
29         * libs/gst/controller/gstinterpolationcontrolsource.c:
30         * tests/check/libs/controller.c:
31           Rewrite handling of default values. Fix overflow with unsigned types
32           in linear interpolation. Remove now obsolete _first_value() function.
33           Add more tests. Fixes #538201.
34
35 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
36
37         * libs/gst/base/gstbasetransform.c:
38         (gst_base_transform_class_init), (gst_base_transform_init),
39         (gst_base_transform_transform_caps),
40         (gst_base_transform_prepare_output_buffer):
41         Add debug info.
42         When a buffer is writable, its metadata is also writable so we don't
43         need to subbuffer (which then makes the buffer not-writable anymore).
44
45 === release 0.10.20 ===
46
47 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
48
49         * configure.ac:
50           releasing 0.10.20, "You Crazy Diamond"
51
52 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
53
54         * configure.ac:
55         0.10.19.3 pre-release
56
57 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
58
59         * configure.ac:
60         * gst/gstpreset.c:
61         Rename DATADIR to GST_DATADIR to avoid build problems
62         on win32. Patch By: David Schleef <ds@schleef.org>
63         Fixes: #536857
64
65 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
66
67         * configure.ac:
68         Explicitely link with -ldl if dladdr() is found there. Before it was
69         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
70         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
71
72 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
73
74         * gst/gsterror.c: (_gst_stream_errors_init):
75           Fix typo (spotted by Fabricio Godoy, #536723).
76
77 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
78
79         * configure.ac:
80         0.10.19.2 pre-release
81
82 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
83
84         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
85         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
86         Add some debug.
87         Make sure we don't generate invalid QoS messages.
88
89 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
90
91         * gst/gstevent.c: (gst_event_new_qos):
92         Add some assert and docs for invalid input to the qos function.
93
94 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
95
96         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
97         (gst_base_sink_get_position):
98         The reported position must always be smaller than the last seen
99         timestamps (or timestamp + duration for reverse).
100
101 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
102
103         Patch by: Rob Bradford <rob at robster dot org dot uk>
104
105         * gst/gstregistry.c: (gst_registry_scan_path_level):
106         Don't recurse into .debug directories as some distros install
107         the debugging symbols next to the plugins in .debug directories
108         and dlopen() crashes on them sometimes. Fixes bug #508070.
109
110         Add FIXME for 0.11 to not recurse into directories at all because
111         it's very inconsistent to the behaviour of other PATH environment
112         variables.
113
114 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
115
116         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
117         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
118         Fix position query range checks in reverse playback.
119
120 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
121
122         * gst/gstelement.c:
123         * gst/gstelement.h:
124         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
125         clear of the reference to the resulting pad must be released later
126         or not, resulting in possible leaks. Fixes bug #533865.
127
128 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
129
130         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
131
132         * gst/gstelementfactory.c:
133         Small doc fix. Fixes #535285.
134
135 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
136
137         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
138
139         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
140         (gst_base_src_get_range), (gst_base_src_pad_get_range),
141         (gst_base_src_loop), (gst_base_src_set_flushing),
142         (gst_base_src_change_state):
143         Make sending an EOS event to the basesrc non-blocking even if the
144         implementation does blocking waits in the create function. This is done
145         by unlocking the create function when EOS is sent.
146         Fixes #535218.
147
148 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
149
150         * tools/gst-inspect.c: (print_element_properties_info):
151         If possible print the element type of GValueArray properties.
152
153 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
154
155         * gst/gstiterator.c:
156         Remove an unused field from the private GstListIterator struct.
157
158 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
159
160         * libs/gst/controller/gstcontroller.c:
161           Add parameter guards.
162
163 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
164
165         * tests/check/gst/gstpipeline.c:
166           Revert test change and add comment why it should not work.
167
168 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
169
170         * tests/check/gst/gstpipeline.c:
171           Extending the test a little to verify that we also get the NULL state-
172           change message.
173
174 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
175
176         * gst/gstpreset.c: (gst_preset_default_get_meta),
177           (gst_preset_get_preset_names), (gst_preset_get_property_names),
178           (gst_preset_load_preset), (gst_preset_save_preset),
179           (gst_preset_rename_preset), (gst_preset_delete_preset),
180           (gst_preset_set_meta):
181           Add Since: markers to docs blurbs.
182
183         * win32/common/libgstreamer.def:
184           Add recently-added API.
185
186 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
187
188         Patch by: Stefan Kost  <ensonic@users.sf.net>
189
190         * configure.ac:
191         Add DATADIR for storing presets.
192
193         * docs/gst/gstreamer-docs.sgml:
194         * docs/gst/gstreamer-sections.txt:
195         * docs/gst/gstreamer.types.in:
196         Add GstPreset to docs.
197
198         * gst/Makefile.am:
199         * gst/gst.h:
200         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
201         (preset_open_and_parse_header), (preset_parse_version),
202         (preset_merge), (preset_get_keyfile),
203         (gst_preset_default_get_preset_names),
204         (gst_preset_default_get_property_names),
205         (gst_preset_default_load_preset),
206         (gst_preset_default_save_presets_file),
207         (gst_preset_default_save_preset),
208         (gst_preset_default_rename_preset),
209         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
210         (gst_preset_default_get_meta), (gst_preset_default_randomize),
211         (gst_preset_default_reset), (gst_preset_get_preset_names),
212         (gst_preset_get_property_names), (gst_preset_load_preset),
213         (gst_preset_save_preset), (gst_preset_rename_preset),
214         (gst_preset_delete_preset), (gst_preset_set_meta),
215         (gst_preset_get_meta), (gst_preset_class_init),
216         (gst_preset_base_init), (gst_preset_get_type):
217         * gst/gstpreset.h:
218         Add GstPreset to core. Fixes #396779
219
220         * tests/check/Makefile.am:
221         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
222         (gst_preset_test_set_property), (gst_preset_test_class_init),
223         (gst_preset_test_base_init), (gst_preset_test_get_type),
224         (gst_preset_test_plugin_init), (GST_START_TEST),
225         (remove_preset_file), (test_setup), (test_teardown),
226         (gst_preset_suite):
227         Add GstPreset unit tests.
228
229 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
230
231         * gst/gstpad.c: (gst_pad_event_default_dispatch):
232         The default event function on a sinkpad should return TRUE when
233         there are no internal links but should collect the return values from
234         the internal links otherwise.
235
236 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
237
238         * plugins/elements/gsttypefindelement.c:
239         (gst_type_find_element_src_event),
240         (gst_type_find_element_handle_event):
241         Use faster and safer _pad_push_event().
242
243 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
244
245         * docs/gst/gstreamer-sections.txt:
246         * gst/gstutils.c: (element_find_unlinked_pad),
247           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
248         * gst/gstutils.h:
249           API: add gst_bin_find_unlinked_pad()
250           API: deprecate gst_bin_find_unconnected_pad() (#401456)
251
252 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
253
254         * gst/gstclock.c:
255         * gst/gstclock.h:
256         * gst/gsttask.c:
257         * gst/gsttask.h:
258         Fixed a bunch of typos.
259
260 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
261
262         * gst/gstpad.h:
263         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
264           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
265           (gst_parse_bin_from_description_full):
266         * gst/gstutils.h:
267           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
268
269 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
270
271         * docs/pwg/advanced-tagging.xml:
272           Small docs update, can't be bothered to rewrite the nonsensical
273           examples right now.
274
275 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
276
277         * gst/gstevent.h:
278           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
279
280 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
281
282         * gst/parse/grammar.y:
283           Remove unneeded casts.
284
285 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
286
287         * gst/parse/grammar.y:
288         * tests/check/pipelines/parse-launch.c:
289           Get all missing elements from a parse launch string if possible
290           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
291
292 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
293
294         * tests/check/Makefile.am:
295         * tests/check/pipelines/parse-launch.c:
296           Add some unit tests for the new gst_parse_launch*_full() API.
297           (Exposes a previously-existing memory leak in the error code
298           path, so adding to VALGRIND_TO_FIX for now).
299
300 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
301
302         * docs/gst/gstreamer-sections.txt:
303         * gst/gst.c: (init_post):
304         * gst/gst_private.h: (_GstParseContext):
305         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
306           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
307           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
308           (gst_parse_launch_full):
309         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
310           (GstParseFlags), (GstParseContext):
311         * gst/gstutils.c: (gst_parse_bin_from_description),
312           (gst_parse_bin_from_description_full):
313         * gst/gstutils.h:
314         * gst/parse/grammar.y:
315         * gst/parse/types.h:
316         * win32/common/libgstreamer.def:
317           Add new gst_parse_*_full API (#528178):
318           API: gst_parse_launch_full()
319           API: gst_parse_launchv_full()
320           API: gst_parse_bin_from_description_full()
321           API: gst_parse_context_new()
322           API: gst_parse_context_free()
323           API: gst_parse_context_get_missing_elements()
324
325 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
326
327         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
328
329         * docs/faq/gst-uninstalled:
330           Also support ffmpeg in gst-uninstalled.
331
332 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
333
334         * configure.ac:
335         After discussion on IRC use the binary registry as default
336         but allow to disable it with --disable-binary-registry.
337
338         * win32/common/libgstreamer.def:
339         Add the two new symbols for the binary registry.
340
341 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
342
343         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
344         * gst/gstutils.c: (gst_parse_bin_from_description):
345         * gst/parse/grammar.y: (graph):
346           More guards against bad input; typo fix; some minor clean-ups.
347
348 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
349
350         Patch by: Sjoerd Simons <sjoerd at luon dot net>
351
352         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
353         If nothing else can be used, use the last buffer's start time as
354         the segment's last stop. Fixes bug #534258.
355
356 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
357
358         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
359           Move size sanity check to the right place: downstream may return
360           a buffer with a smaller size if the buffer caps are different than
361           the requested ones, as may happen when doing reverse negotiation.
362
363 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
364
365         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
366         (gst_file_sink_render):
367         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
368         (gst_file_src_start):
369         Small cleanups. Add note adbout g_fopen() on windows and why we don't
370         use it yet.
371
372 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
373
374         * gst/gstpad.c: (gst_pad_load_and_link):
375         * gst/gstutils.c: (gst_element_link_pads),
376         (gst_element_unlink_pads):
377         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
378         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
379         (gst_check_teardown_sink_pad),
380         (gst_check_element_push_buffer_list):
381         * tests/check/elements/fakesink.c: (GST_START_TEST):
382         * tests/check/elements/filesink.c:
383         * tests/check/elements/filesrc.c: (GST_START_TEST):
384         * tests/check/elements/multiqueue.c: (setup_multiqueue),
385         (mq_sinkpad_to_srcpad):
386         * tests/check/elements/tee.c: (GST_START_TEST):
387         * tests/check/generic/sinks.c: (GST_START_TEST):
388         * tests/check/gst/gstbin.c: (GST_START_TEST):
389         * tests/check/gst/gstevent.c: (GST_START_TEST):
390         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
391         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
392         * tests/check/gst/gstquery.c: (GST_START_TEST):
393         * tests/check/gst/gstutils.c: (GST_START_TEST):
394         * tests/check/libs/basesrc.c: (GST_START_TEST):
395         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
396         (gst_parse_test_element_change_state):
397         Don't use gst_element_get_pad().
398
399 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
400
401         * docs/Makefile.am:
402         Fix installing plugin documentation when gtk-doc is disabled.
403
404 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
405
406         * docs/manual/advanced-autoplugging.xml:
407         * docs/manual/basics-helloworld.xml:
408         * docs/manual/basics-pads.xml:
409         * docs/manual/highlevel-components.xml:
410         Avoid using a bad function in the example code.
411
412 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
413
414         * gst/gstclock.c: (gst_clock_set_calibration):
415         Fix debug of the new clock rate.
416
417 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
418
419         * win32/common/libgstbase.def:
420         Add gst_base_sink_wait_clock() to the exported symbols.
421
422 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
423
424         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
425
426         * libs/gst/base/gstbasetransform.c:
427         (gst_base_transform_sink_event):
428         Unref events that the GstBaseTransform::event vfunc didn't want to
429         have forwarded by the base class. Closes a leak in identity.
430         Fixes bug #446763.
431
432 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
433
434         * docs/libs/gstreamer-libs-sections.txt:
435         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
436         * libs/gst/base/gstbasesink.h:
437         Expose a method that was previously used internally to synchronize
438         against the clock because it can be useful for subclasses too.
439         API: GstBaseSink::gst_base_sink_wait_clock()
440
441 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
442
443         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
444           Add sanity check to make sure we don't get smaller buffers
445           than requested (and fallback to normal buffer alloc if we do).
446
447 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
448
449         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
450         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
451         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
452         Refactor adjusting the running_time with latency and offset into a
453         separate method.
454         When doing clipping, we still want to use the subclass get_times method,
455         just in case the DURATION or TIMESTAMP are not set.
456
457 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
458
459         * docs/gst/gstreamer-sections.txt:
460         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
461         * gst/gsttypefind.h:
462         * win32/common/libgstreamer.def:
463           API: add gst_type_find_suggest_simple(), #533740.
464
465 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
466
467         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
468           Use right error code when typefinding fails, so we can use
469           the default (translated) error messages.
470
471 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
472
473         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
474         (gst_base_src_start):
475         When the subclass did not set caps on outgoing buffers, configure the
476         caps we negotiated on the source pad.
477         When the typefind helper does not find caps, error out properly instead
478         of doing things with NULL caps.
479
480 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
481
482         * gst/gsttypefind.h:
483           Tabs to spaces, oh yes!
484
485 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
486
487         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
488           Add David's and Benjamin's tests for array intersection to the
489           unit test suite (#147931).
490
491 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
492
493         * gst/gstevent.c:
494           Document that gst_event_new_tag() and gst_event_new_navigation()
495           take ownership of the taglist/structure passed to them. (#533635).
496
497 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
498
499         * docs/Makefile.am:
500         Don't descend into the plugins dir if plugin docs building
501         is disabled.
502
503         * docs/README:
504         Add a note about the new type:GTypeName syntax for the plugin
505         documentation .types file.
506
507 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
508
509         * gst/gstmessage.c: (gst_message_new_error),
510         (gst_message_new_warning), (gst_message_new_info):
511         * gst/gstmessage.h:
512         Mark the debug string parameters as const. Fixes bug #533490.
513
514 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
515
516         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
517         Sort buffer cache list by end offsets. This makes sure that we don't
518         stop to search for a cached buffer that contains the requested data
519         too early.
520         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
521         more efficient. Fixes bug #459862.
522
523 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
524
525         * gst/gstinfo.c:
526           Explain why we copy the list.
527
528         * gst/gstpipeline.c:
529           Improve docs.
530
531         * gst/gstutils.c:
532           Add one debug-log statement to help tracing probelms with linking pads.
533
534 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
535
536         * tests/check/gst/gstinfo.c:
537         Add a test for removing the default log handler. Seems to fail under
538         windows.
539
540 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
541
542         * gst/gstpad.c: (gst_pad_peer_accept_caps):
543         Release pad lock before calling out to avoid a possible deadlock.
544
545 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
546
547         * gst/parse/grammar.y:
548         Remove unneeded value unset.
549
550         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
551         Add unit test for de/serialization of caps.
552
553 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
554
555         * plugins/elements/gstfakesink.c:
556         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
557         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
558         (gst_fake_src_class_init):
559         Use custom marshalers that take GstMiniObject as first parameter.
560         Using OBJECT as parameter while a GstMiniObject is given will lead
561         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
562
563 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
564
565         * plugins/elements/gsttypefindelement.c:
566         (gst_type_find_element_handle_event),
567         (gst_type_find_element_send_cached_events),
568         (gst_type_find_element_change_state):
569         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
570         immediately.
571
572 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
573
574         * plugins/elements/gsttypefindelement.c:
575         (gst_type_find_handle_src_query), (stop_typefinding),
576         (gst_type_find_element_handle_event),
577         (gst_type_find_element_send_cached_events),
578         (gst_type_find_element_change_state):
579         Forward FLUSH_START events immediately and clean up instead of
580         caching them.
581
582 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
583
584         Patch by: Sjoerd Simons <sjoerd at luon dot net>
585
586         * libs/gst/base/gstbasetransform.c:
587         (gst_base_transform_buffer_alloc):
588         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
589         fall back to default negotiation in the chain function if the caps
590         are different from what was requested. Fixes bug #526768.
591
592 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
593
594         * gst/gstsegment.c:
595         * tests/check/gst/gstsegment.c:
596           No, let's not use g_slice_{dup|copy} here, since they only exist
597           since GLib 2.14 and we still depend only on >= 2.12. Also add
598           unit test for gst_segment_copy().
599
600 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
601
602         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
603           Try to fix 'dereferencing type-punned pointer will break strict
604           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
605           changed the default GType typedef from gulong to gsize at some point,
606           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
607           g_once_* functions all take a gsize * though, so work around the type
608           mismatch for C++ by doing everything in gsize and casting to GType
609           later.
610
611 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
612
613         * plugins/elements/gstmultiqueue.c:
614         Add documentation for the signals to push our core plugin docs
615         coverage back up to 100%.
616
617 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
618
619         * gst/gstinfo.h (GST_FUNCTION):
620           Reverted GST_FUNCTION to the old version as we don't want the
621           full signature in C++ code. Also added support for MSVC.
622
623 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
624
625         * gst/gstutils.h:
626         Intern the type name string, similar to what G_DEFINE_TYPE does.
627
628 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
629
630         * gst/gstutils.h:
631         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
632
633 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
634
635         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
636
637         * libs/gst/base/gstbasetransform.c:
638         (gst_base_transform_buffer_alloc):
639         Don't passthrough buffer allocation too easily if the caps change.
640         This breaks when working in passthrough mode and upstream changes
641         it's caps. Fixes bug #526768.
642
643 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
644
645         * gst/gstinfo.c (gst_debug_log_valist):
646           Improved the __FILE__ part of debug output for MSVC.
647
648 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
649
650         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
651           Declaration after statement fix for compilers like MSVC.
652
653 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
654
655         * win32/common/config.h.in:
656           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
657           use the real thing than having "???" unconditionally.
658
659 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
660
661         * gst/gstinfo.h (GST_FUNCTION):
662           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
663
664 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
665
666         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
667         Small code cleanup.
668
669         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
670         (gst_base_sink_set_flushing):
671         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
672         Fix some comments.
673
674 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
675
676         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
677         (gst_fake_src_init), (gst_fake_src_set_property),
678         (gst_fake_src_get_property), (gst_fake_src_start):
679         * plugins/elements/gstfakesrc.h:
680         Added format property to control the format of the newsegment events.
681         API: GstFakeSrc:format
682
683 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
684
685         * win32/common/libgstreamer.def:
686         Add gst_pad_has_name() to the exported symbols.
687
688 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
689
690         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
691         * libs/gst/base/gstbasetransform.c:
692         (gst_base_transform_prepare_output_buffer):
693         Don't allow negative sizes when allocating new buffers.
694         Fixes bug #461253.
695
696 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
697
698         Patch by: Sjoerd Simons <sjoerd at luon net>
699
700         * gst/gstbus.c: (gst_bus_source_dispatch):
701           Don't print a warning if the queue is empty when we try to pop
702           here. That could happen if another thread or callback set the
703           bus to flushing between the source's check/prepare and the
704           dispatch being called (#531538).
705
706 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
707
708         * plugins/elements/gstmultiqueue.c:
709           Small docs fix.
710         
711 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
712
713         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
714         Add unit test for deserializing uint64s and check some really large
715         numbers in the int64 test.
716
717 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
718
719         * tools/gst-inspect.c: (n_print), (print_hierarchy),
720         (print_interfaces), (print_element_properties_info),
721         (print_signal_info):
722         Use "%s" as format string instead of printing strings directly.
723
724 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
725
726         * gst/gstclock.c: (gst_clock_set_calibration):
727         Make some checks actually useful.
728
729         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
730         Remove some unused code. Unsigned integers tend to be >= 0.
731
732 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
733
734         * gst/gstminiobject.c: (gst_value_get_mini_object):
735           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
736           function was not in the unscheduled 0.10.19 release.
737
738 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
739
740         * gst/gstregistry.c: (gst_registry_scan_path_level):
741           Only print one log message per non-plugin file.
742
743 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
744
745         * gst/gstinfo.c: (gst_debug_log_default):
746           Fix alignment of debug log columns on 64-bit.
747
748 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
749
750         * docs/libs/Makefile.am:
751         * docs/libs/gstreamer-libs-sections.txt:
752           Ignore private controller headers for docs.
753
754 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
755
756         * libs/gst/controller/gstcontrollerprivate.h:
757         * libs/gst/controller/gsthelper.c:
758         * libs/gst/controller/gstinterpolation.c:
759         * libs/gst/controller/gstinterpolationcontrolsource.c:
760         (gst_interpolation_control_source_set_interpolation_mode):
761         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
762         * libs/gst/controller/lib.c:
763         Move some private declarations into private headers.
764
765 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
766
767         * gst/gstdebugutils.c: (debug_dump_element_pad):
768         Remove some code that is unused after Stefan's refactoring and uses
769         uninitialized variables now, resulting in a compiler warning.
770
771 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
772
773         * gst/gstregistry.c: (gst_registry_scan_path_level):
774           Run g_str_has_suffix() only on the file name, not the
775           entire file path.
776
777 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
778
779         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
780           Since we're not called only from the chain function any longer,
781           we can't assume that there's always data in the queue, so move
782           the is_full check to the beginning of the loop (otherwise we'd
783           hit the assert when changing the limit properties while the
784           queue is empty or not running yet).
785           Also, only set a discont if items were actually removed from
786           the queue.
787
788         * tests/check/elements/queue.c: (test_leaky_downstream):
789           Test case for the above.
790
791 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
792
793         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
794
795         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
796         (gst_queue_chain), (queue_capacity_change),
797         (gst_queue_set_property):
798         When changing thr max capacity of a leaky queue, immediatly drop buffers
799         instead of waiting for a push on the sinkpad. Fixes #530637.
800
801 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
802
803         * gst/gstdebugutils.c:
804           Refactor code and fix handling of ghostpads and their proxypads.
805
806 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
807
808         * docs/gst/gstreamer-sections.txt:
809         * gst/gstevent.c: (gst_event_has_name):
810         * gst/gstevent.h:
811         * tests/check/gst/gstevent.c: (GST_START_TEST):
812         Add method to conveniently check the name of a custom event with
813         gst_event_has_name().
814         Reformat the event docs so that related methods are put together instead
815         of the default alphabetical sort.
816         Update unit test with new method.
817         API: GstEvent::gst_event_has_name()
818
819 2008-04-28  Michael Smith <msmith@songbirdnest.com>
820
821         * libs/gst/check/Makefile.am:
822           Don't add an explicit link to libgstreamer-0.10.la; it's already
823           included in GST_OBJ_LIBS.
824
825 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
826
827         * gst/gst.c:
828         Register GstClock type from a type-safe context. Fixes bug #530317.
829
830 2008-04-25  Michael Smith <msmith@songbirdnest.com>
831
832         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
833         * tools/gst-run.c:
834           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
835
836 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
837
838         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
839         (gst_bin_dispose):
840         Use the GLib stuff to create a private structure.
841         Add some locking around some dispose methods to make them a little
842         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
843
844 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
845
846         * libs/gst/base/gstbasesink.h:
847         * libs/gst/base/gstbasesrc.h:
848         * libs/gst/base/gstbasetransform.h:
849         * libs/gst/base/gstcollectpads.h:
850           Fix doc typos and unify caps a bit.
851
852 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
853
854         * tools/gst-launch.1.in:
855           Forgot to also add the envvar docs here.
856
857 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
858
859         * gst/gst.c: (init_post), (gst_deinit):
860         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
861           (test_concurrent_create), (gst_pipeline_suite):
862           Ref some more classes in gst_init() to work around thread-safety
863           issues in pre-2.16 GLibs, and add basic unit test.
864
865 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
866
867         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
868         (gst_base_sink_send_event):
869         Rearrange the latency query code. We always want to do the upstream
870         query, even if we are not live so that the upstream elements can get the
871         latency results too. If we fail doing the query and we are live, we
872         return TRUE afterwards.
873
874 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
875
876         patch by: Jason Zhao <e3423c@motorola.com>
877
878         * docs/gst/running.xml:
879         * gst/gst.c:
880           Enable/disable scan_and_update_registry() based on commandline switch
881           or environment variable. Fixes #520468.
882           
883         * ChangeLog:
884           Fix typo in my previous commit.
885
886 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
887
888         * gst/gstregistrybinary.c:
889           Add a warning if we hit unhandled factories when saving.
890           More debug logging detail, but move to LOG category.
891
892 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
893
894         * gst/gstregistry.c:
895           Tell the *truth* when improving the documentation.
896
897 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
898
899         * gst/gstelementfactory.c: (gst_element_factory_make):
900         Unref the factory after it was used the last time, not before.
901
902         * gst/gstindexfactory.c: (gst_index_factory_make):
903         Improve debugging a bit and don't leak a ref to the index factory with
904         each call.
905
906 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
907
908         * gst/gstregistry.c:
909           Improve the documentation.
910
911 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
912
913         * gst/gstsegment.c:
914           The glib macro seems to be borked. Use g_slice_copy directly and cast
915           in the hope that this fixes the warning on 64bit.
916
917 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
918
919         * gst/gstsegment.c:
920           Document the new function. Use g_slice_dup() (no need for
921           gst_segment_init()).    
922
923 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
924
925         * docs/gst/gstreamer-sections.txt:
926           Move GParamSepc macros to standart section.
927   
928         * gst/gstbin.c:
929           Dn't document _get_type - its in private section in docs anyway and
930           this doc-blob was incomplete.
931
932         * gst/gstclock.h:
933           Fix wrong symbol names in docs.
934
935         * gst/gstmacros.h:
936           Add once doc sentence.
937
938         * tests/check/gst/.cvsignore:
939           Ignore more.
940
941 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
942
943         * docs/gst/Makefile.am:
944           And remove those libs here.
945
946 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
947
948         * docs/libs/Makefile.am:
949           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
950
951 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
952
953         Patch by: Olivier Crete <tester at tester dot ca>
954
955         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
956         Add the min-threshold to the min latency if possible. Fixes #529148.
957
958 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
959
960         * docs/gst/gstreamer.types.in:
961           Stupid editor, I removed that line as it should go in yet.
962
963 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
964
965         * docs/gst/gstreamer.types.in:
966         * docs/libs/gstreamer-libs.types:
967           Remove library types fro core docs and have them in libs docs.
968           Reformat and cleanup. Add comment for miniobject types.
969
970 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
971
972         * gst/gsturi.c: (gst_uri_get_protocol):
973           Fix leak: g_strdown operates on the string in place, while
974           g_ascii_strdown() returns a newly-allocated string.
975
976 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
977
978         * tools/gst-inspect.c: (print_uri_handler_info),
979         (print_element_info):
980         Print the URI protocols and the URI type supported by the element.
981
982 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
983
984         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
985         Use g_value_take_string() instead of the deprecated
986         g_value_set_string_take_ownership().
987
988 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
989
990         * gst/gstregistrybinary.c: (_gst_crc32):
991         Return the old CRC instead of 0 if we give a NULL buffer
992         or a buffer with a length of 0.
993
994 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
995
996         * gst/gsturi.c: (gst_uri_protocol_check_internal),
997         (gst_uri_get_protocol), (gst_uri_has_protocol),
998         (gst_uri_construct), (gst_uri_handler_set_uri):
999         A valid URI scheme can also include '+', '-' and '.' additional
1000         to alphanumeric characters as per RFC 3986 Section 3.1.
1001
1002         Handle URI schemes case insensitive in all places and convert
1003         to lower-case when constructing an URI or setting an URI with
1004         the GstURIHandler interface. Fixes bug #528868.
1005         All elements can still assume (as before) that they will
1006         get passed URIs with a lower-case URI scheme by the GstURIHandler
1007         interface.
1008
1009 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1010
1011         * gst/gstcaps.c: (gst_static_caps_get):
1012         * gst/gstclock.c: (gst_clock_entry_new):
1013           Don't use g_atomic_set_int where it's not needed.
1014
1015 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1016
1017         * gst/gstvalue.c: (gst_value_deserialize_caps):
1018         * gst/parse/grammar.y:
1019         Fix 2 caps leaks.
1020
1021 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1022
1023         * gst/gstutils.c: (gst_atomic_int_set):
1024         Use g_atomic_int_set() here too instead of assignment +
1025         g_atomic_int_get().
1026
1027 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1028         
1029         * gst/gstutils.c:
1030         * gst/gstutils.h:
1031         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1032         now that we depend on new enough GLib.
1033
1034         * gst/gstcaps.c: (gst_static_caps_get):
1035         * gst/gstclock.c: (gst_clock_entry_new):
1036         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1037         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1038         (gst_debug_category_set_threshold):
1039         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1040         (gst_base_sink_set_qos_enabled):
1041         * libs/gst/net/gstnettimeprovider.c:
1042         (gst_net_time_provider_set_property):
1043         Use g_atomic_int_set() instead of gst_atomic_int_set().
1044
1045 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1046
1047         * gst/gstquery.c:
1048           Also use G_GINT64_CONSTANT for the queries.
1049
1050 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1051
1052         * gst/gstmessage.c:
1053           Use G_GINT64_CONSTANT in varargs function.
1054
1055 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1056
1057         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1058         Initialize the registry magic with zeroes.
1059
1060 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1061
1062         * gst/gstregistrybinary.c: (_gst_crc32),
1063         (gst_registry_binary_write),
1064         (gst_registry_binary_initialize_magic),
1065         (gst_registry_binary_write_cache),
1066         (gst_registry_binary_check_magic),
1067         (gst_registry_binary_read_cache):
1068         * gst/gstregistrybinary.h:
1069         Add crc32 checksum to the binary registry file and check this before
1070         accepting a registry file.
1071
1072         Also free the data list when writing to the registry file fails.
1073
1074 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1075
1076         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1077         (gst_registry_binary_load_feature),
1078         (gst_registry_binary_load_plugin):
1079         If an element supports the Uri interface, returns a valid pointer
1080         to the supported URI protocols but this pointer contains nothing
1081         don't try to save that as it will corrupt the registry.
1082
1083         Don't unref the plugin if we added it to the registry already but
1084         fail to load a feature as gst_registry_add_plugin() takes ownership
1085         of the plugin.
1086
1087         Improve debugging a bit.
1088
1089 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1090
1091         * gst/gsttaglist.h:
1092           Clarify some tag item docs after discussion on irc.
1093
1094 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1095
1096         * docs/gst/gstreamer-docs.sgml:
1097           Remove commented out plugins (they have their own docs). Update
1098           comments.
1099
1100 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1101
1102         * docs/gst/gstreamer-docs.sgml:
1103         * docs/gst/gstreamer-sections.txt:
1104         * gst/gstparamspecs.c:
1105         * gst/gstparamspecs.h:
1106           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1107           docs to own section.
1108
1109         * gst/gstvalue.c:
1110           This now only documents GValue.
1111           
1112         * docs/libs/gstreamer-libs-sections.txt:
1113         * libs/gst/controller/gstcontroller.h:
1114           Remove GST_PARAM_CONTROLLABLE.
1115
1116 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1117
1118         * docs/README:
1119           Correct file path. Tell about how to use -overrides.txt.
1120         * docs/design/draft-tagreading.txt:
1121           Small design update.
1122
1123 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1124
1125         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1126         (gst_registry_binary_load_plugin):
1127         Fix a typo in a debug message and revert change from yesterday as
1128         gst_registry_add_plugin() will only fail if something is really wrong
1129         already and we can't survive it anyway.
1130
1131 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1132
1133         * gst/gst.c: (init_post), (gst_deinit):
1134           Pre-register GstGError GType from a thread-safe context
1135           (fixes #527967); unref enum type classes in deinit.
1136
1137 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1138
1139         Patch by: Rene Stadler <mail at renestadler de>
1140
1141         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1142           Merging an empty list with another list in KEEP_ALL mode should
1143           yield an empty list as result and not the second list (#512578).
1144
1145         * tests/check/gst/gsttagsetter.c:
1146           Add unit test for tag merge modes and the aforementioned bug.
1147
1148 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1149
1150         Patch by: Rene Stadler <mail at renestadler de>
1151
1152         * gst/gsttaglist.h:
1153           Fix description to match the order in the table (#512577).
1154   
1155 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1156
1157         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1158
1159         * libs/gst/net/gstnettimepacket.h:
1160         * docs/libs/gstreamer-libs-sections.txt:
1161           Define socklen_t as int if it's not defined yet. Fixes compilation
1162           with MSVC6 and other versions where socklen_t is not defined in
1163           the windows headers (#518022).
1164
1165 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1166
1167         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1168         If gst_registry_add_plugin() fails our reference to the plugin is
1169         invalid so don't try to use it anymore and instead error out.
1170
1171 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1172
1173         * tools/gst-xmlinspect.c: (print_element_info), (main):
1174           De-cruft a bit. If no argument is specified, print all elements in
1175           XML syntax rather than a freestyle list of elements like gst-inspect.
1176           Also, don't print XML header chunk unless we actually have something
1177           to print (ie. don't print it before an error message); print error
1178           message to stderr not stdout. Remove support for printing plugin
1179           info (it would just output something freestyle along the lines of
1180           gst-inspect so far), which fixes #514507. Also add license header.
1181
1182 2008-04-11  Julien Moutte  <julien@fluendo.com>
1183
1184         Mac OS X love...
1185         * configure.ac: Merge platform specific defines, introduce a new
1186         define on OS X to remember that forking when updating registry is
1187         unsafe.
1188         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1189         module.
1190         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1191         is defined.
1192         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1193         condition that leads to absolutely no plugins being registered on
1194         OS X.
1195
1196 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1197
1198         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1199
1200         * gst/gstutils.c: (gst_pad_add_data_probe),
1201           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1202           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1203           (gst_pad_add_buffer_probe_full):
1204         * gst/gstutils.h:
1205         * docs/gst/gstreamer-sections.txt:
1206         * win32/common/libgstreamer.def:
1207           Add gst_pad_add_*_probe_full() functions with a notify callback that
1208           lets the caller free the data it passes to the probe functions. This
1209           is useful for bindings such as gst-python or gstreamermm (#526814).
1210           API: gst_pad_add_data_probe_full
1211           API: gst_pad_add_buffer_probe_full
1212           API: gst_pad_add_event_probe_full
1213
1214         * tests/check/gst/gstutils.c:
1215           Add minimal unit test to make sure freeing the data actually works
1216           as expected.
1217
1218         * tests/benchmarks/.cvsignore:
1219           Random cvsignore addendum.
1220
1221 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1222
1223         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1224           (GST_DEBUG_BIN_TO_DOT_FILE):
1225           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1226           to it in the docs (since these are macros the types of the arguments
1227           won't be shown in the docs otherwise).
1228
1229 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1230
1231         * gst/gstpad.c:
1232           Do not abort on out of memory for pad_alloc_buffer.
1233
1234 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1235
1236         * libs/gst/check/gstcheck.c:
1237           Remove blank line between symbol name ad parameters to fix gtkdoc
1238           warning.
1239
1240 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1241
1242         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1243
1244         * docs/gst/gstreamer-sections.txt:
1245         * gst/gstsegment.c:
1246         * gst/gstsegment.h:
1247         * win32/common/libgstreamer.def:
1248           Expose gst_segment_copy() to make things easier for the c++ bindings.
1249           Fixes #518932.
1250           API: gst_segment_copy()
1251
1252 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1253
1254         * gst/gst.c: (gst_init_get_option_group), (init_post):
1255           Fix const position; ref GType classes for enum types to work
1256           around thread-safety issues in GLib versions < 2.16.
1257
1258 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1259
1260         * docs/design/part-buffering.txt:
1261         Fix some typos and set the estimated total for push mode to -1.
1262
1263         * gst/gstquery.c: (gst_query_new_buffering):
1264         Set buffering-left to 0 as we're not buffering by default.
1265
1266         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1267         Implement BUFFERING query.
1268
1269 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1270
1271         Based on patch by: Milosz Derezynski <internalerror gmail com>
1272
1273         * gst/gsterror.c: (_gst_stream_errors_init):
1274         * gst/gsterror.h:
1275           Add two new error codes for encrypted content. Fixes #524659.
1276           API: GST_STREAM_ERROR_DECRYPT
1277           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1278
1279 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1280
1281         * gst/gstquery.h:
1282           Fix typo.
1283
1284         * win32/common/libgstreamer.def:
1285           Add new functions.
1286
1287 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1288
1289         * plugins/elements/gstidentity.c: (gst_identity_event),
1290         (gst_identity_start):
1291         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1292         event after processing some data. Fixes bug #526042.
1293
1294 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1295
1296         * docs/gst/gstreamer-sections.txt:
1297         * gst/gstquery.c: (gst_query_parse_latency),
1298         (gst_query_set_buffering_percent),
1299         (gst_query_parse_buffering_percent),
1300         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1301         * gst/gstquery.h:
1302         Rename _avail -> _range
1303         API: gst_query_set_buffering_range
1304         API: gst_query_parse_buffering_range
1305
1306 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1307
1308         * docs/design/part-buffering.txt:
1309         * gst/gstquark.c:
1310         * gst/gstquark.h:
1311         * gst/gstquery.c: (gst_query_parse_latency),
1312         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1313         (gst_query_parse_buffering_percent):
1314         * gst/gstquery.h:
1315         Add busy field and quark for the buffering query so that the app can
1316         only use the query to see if buffering is in progress.
1317
1318 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1319
1320         * docs/gst/gstreamer-sections.txt:
1321         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1322         (gst_message_parse_buffering_stats):
1323         * gst/gstmessage.h:
1324         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1325         (gst_query_parse_latency), (gst_query_new_buffering),
1326         (gst_query_set_buffering_percent),
1327         (gst_query_parse_buffering_percent),
1328         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1329         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1330         * gst/gstquery.h:
1331         Reorder the message docs and headers for clarity.
1332         Add aditional buffering stats API for messages.
1333         Add buffering query.
1334         Convert some leftover queries to use GstQuark.
1335         API: gst_message_set_buffering_stats
1336         API: gst_message_parse_buffering_stats
1337         API: GST_QUERY_BUFFERING
1338         API: GstBufferingMode
1339         API: gst_query_new_buffering
1340         API: gst_query_set_buffering_percent
1341         API: gst_query_parse_buffering_percent
1342         API: gst_query_set_buffering_stats
1343         API: gst_query_parse_buffering_stats
1344
1345 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1346
1347         * gst/gstmessage.c: (gst_message_new_error),
1348         (gst_message_new_warning), (gst_message_new_info),
1349         (gst_message_new_buffering), (gst_message_new_state_changed),
1350         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1351         (gst_message_new_new_clock), (gst_message_new_segment_start),
1352         (gst_message_new_segment_done), (gst_message_new_duration),
1353         (gst_message_new_async_start), (gst_message_parse_buffering),
1354         (gst_message_parse_state_changed),
1355         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1356         (gst_message_parse_new_clock), (gst_message_parse_error),
1357         (gst_message_parse_warning), (gst_message_parse_info),
1358         (gst_message_parse_segment_start),
1359         (gst_message_parse_segment_done), (gst_message_parse_duration),
1360         (gst_message_parse_async_start):
1361         Use GstQuark for messages.
1362
1363 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1364
1365         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1366         * gst/gstquark.h:
1367         Add some more quarks needed for messages and queries.
1368
1369 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1370
1371         * docs/design/part-buffering.txt:
1372         Remove the "none" buffering mode, STREAM is a good default.
1373         Move estimated-time to the avail query, that's when it will be needed.
1374         Other small typo fixes and updates.
1375
1376 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1377
1378         * gst/gstindex.c: (gst_index_resolver_get_type):
1379           Don't put descriptions into the nick field of a GEnumValue: it's not
1380           meant for that and some language bindings rely on the nick field to
1381           construct constants and the like. Fixes #526705.
1382
1383 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1384
1385         * NEWS:
1386         * RELEASE:
1387         * gstreamer.doap:
1388           Merge other changes from 0.10.19 release branch.
1389
1390 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1391
1392         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1393
1394         * configure.ac:
1395         Actually build dlls when cross-compiling with mingw32.
1396         Fixes bug #526247.
1397
1398 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1399
1400         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1401
1402         * gst/gstpoll.c:
1403         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1404
1405 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1406
1407         * docs/design/draft-latency.txt:
1408         Fix typo.
1409
1410         * docs/design/part-buffering.txt:
1411         Update design docs with more buffering ideas.
1412
1413 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1414
1415         * configure.ac:
1416           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1417
1418 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1419
1420         * configure.ac:
1421           Revert part that belongs to the preset patch.
1422
1423 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1424
1425         * configure.ac:
1426           Add qoutes to the define. Fixes # 525961.
1427
1428 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1429
1430         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1431         (gst_file_index_load), (gst_file_index_add_id),
1432         (gst_file_index_get_assoc_entry):
1433         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1434         (gst_mem_index_free_id), (gst_mem_index_add_id),
1435         (gst_mem_index_index_format):
1436         Use GSlice when possible.
1437
1438 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1439
1440         * libs/gst/controller/gstinterpolationcontrolsource.c:
1441         (gst_control_point_free),
1442         (gst_interpolation_control_source_set_internal):
1443         Use GSlice for allocating the control points.
1444
1445 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1446
1447         * plugins/elements/gsttypefindelement.c:
1448         (gst_type_find_element_class_init),
1449         (gst_type_find_element_set_property),
1450         (gst_type_find_element_get_property),
1451         (gst_type_find_element_activate):
1452         * plugins/elements/gsttypefindelement.h:
1453         Cleanup properties.
1454         Fix pad leak when peer query fails.
1455         We can still typefind when the peer returns -1.
1456         Add property to force caps and bypass typefinding. This will be used in
1457         uridecodebin.
1458         API::force-caps
1459
1460 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1461
1462         * configure.ac:
1463         Require GLib 2.12.
1464
1465         * gst/glib-compat-private.h:
1466         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1467         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1468         Unconditionally use GSlice for allocation.
1469
1470         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1471         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1472         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1473         (gst_structure_free):
1474         Use GSlice for allocation.
1475
1476 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1477
1478         * gst/parse/Makefile.am:
1479         * gst/parse/grammar.tab.pre.c:
1480         * gst/parse/grammar.tab.pre.h:
1481         * gst/parse/lex._gst_parse_yy.pre.c:
1482         Require a new enough flex and bison and remove the parser hacks to use
1483         a pre-regenerated version.
1484
1485 2008-04-01  Julien Moutte  <julien@fluendo.com>
1486
1487         patch by: Jason Zhao <E3423C@motorola.com>
1488
1489         * configure.ac: Add a configure switch to disable option parsing
1490         in gst_init.
1491         Fixes #522882.
1492
1493 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1494
1495         * configure.ac:
1496         * gst/gstregistry.c:
1497           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1498           and handle this case.
1499
1500         * gst/gst.c:
1501           Add a comment here describing, why we stat each plugin and not try to
1502           be smart.
1503
1504 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1505
1506         * libs/gst/base/gstbasetransform.c:
1507         (gst_base_transform_prepare_output_buffer):
1508         Also unset the GAP flag on buffers if we're working inplace but
1509         the element is not GAP-aware.
1510
1511         Mark a comment as FIXME 0.11.
1512
1513 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1514
1515         * gst/gst.c:
1516           Fix type in log message and add one to ease seeing how long registry
1517           cache verification takes.
1518
1519         * gst/gstregistry.c:
1520           Only test plugin filenames against G_MODULE_SUFFIX.
1521
1522 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1523
1524         * gst/gstdebugutils.c:
1525           Improve handling ghost/proxy pads.
1526
1527 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1528
1529         * docs/gst/gstreamer-sections.txt:
1530         * gst/gstpad.c:
1531         * gst/gstpad.h:
1532           Expose macro to docs and fix link to it.
1533
1534 2008-03-27  Michael Smith <msmith@fluendo.com>
1535
1536         * libs/gst/dataprotocol/dataprotocol.c:
1537         (gst_dp_packet_from_event_1_0):
1538           When calculating GDP body CRC, use the correct pointer. 
1539           Fixes part of #522401.
1540
1541 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1542
1543         Patch by: Mark Nauwelaerts <manauw at skynet be>
1544
1545         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1546         (gst_identity_init), (gst_identity_prepare_output_buffer):
1547         Identity is not always a passthrough element, it can modify the buffer
1548         timestamps when it has a datarate and operates in single-segment mode.
1549         We therefore make it an in_place filter with a custom buffer prepare
1550         function that conditionally makes the input buffer metadata writable
1551         when needed.  Fixes #523985.
1552
1553 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1554
1555         Patch by: Mark Nauwelaerts <manauw at skynet be>
1556
1557         * gst/gstclock.h:
1558         * libs/gst/base/gstbasesrc.h:
1559         * libs/gst/base/gstbasetransform.c:
1560         * libs/gst/check/gstcheck.c:
1561         Small documentation fixes. Fixes #523978.
1562
1563 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1564
1565         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1566         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1567         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1568
1569 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1570
1571         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1572         (single_queue_underrun_cb):
1573         When trying to make room in the queue, bump the max allowed buffers
1574         bigger than the current amount of buffers in the queue. this fixes some
1575         nasty deadlocks in multiqueue when dynamically changing the limits of
1576         the queue.
1577
1578 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1579
1580         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1581
1582         * gst/gstcaps.c: (gst_caps_set_simple),
1583         (gst_caps_set_simple_valist), (gst_caps_intersect):
1584         * gst/gstcaps.h:
1585         Constify the field gchar * params in set_simple and friends.
1586         Fixes #522326.
1587
1588 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1589
1590         * gst/gstvalue.c: (gst_value_transform_object_string):
1591         Transform a GstObject to a more meaningfull string that includes the
1592         object type in addition to its name.
1593
1594 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1595
1596         * ChangeLog:
1597           ChangeLog surgery to add bugnumber to commit.
1598
1599 2008-03-23  Rene Stadler  <mail@renestadler.de>
1600
1601         * libs/gst/base/gstbasetransform.c:
1602         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1603
1604 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1605
1606         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1607         Rename constant everywhere and don't forget one occurence.
1608
1609 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1610
1611         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1612         Align memory to the pointer size even if the architecture allows
1613         unaligned memory access. Unaligned memory access usually comes with
1614         performance penality.
1615
1616 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1617
1618         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1619         (gst_registry_binary_check_magic),
1620         (gst_registry_binary_load_pad_template),
1621         (gst_registry_binary_load_feature),
1622         (gst_registry_binary_load_plugin):
1623         Align memory to the pointer size instead of always 32 bit. Fixes
1624         unaligned memory accesses on ia64 and friends.
1625
1626         * gst/gstregistrybinary.h:
1627         Bump binary registry format version for this as it changes the
1628         format on those architectures that don't have unaligned access
1629         and 64 bit pointers.
1630
1631 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1632
1633         * docs/pwg/advanced-dparams.xml:
1634         * docs/pwg/building-props.xml:
1635         * docs/pwg/other-source.xml:
1636         * gst/glib-compat.h:
1637         * gst/gstbin.c: (gst_bin_class_init):
1638         * gst/gstclock.c: (gst_clock_class_init):
1639         * gst/gstindex.c: (gst_index_class_init):
1640         * gst/gstobject.c: (gst_object_class_init):
1641         * gst/gstpad.c: (gst_pad_class_init):
1642         * gst/gstpipeline.c: (gst_pipeline_class_init):
1643         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1644         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1645         * libs/gst/base/gstbasetransform.c:
1646         (gst_base_transform_class_init):
1647         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1648         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1649         (_gst_check_fault_handler_sighandler),
1650         (_gst_check_fault_handler_setup), (gst_check_init):
1651         * libs/gst/controller/gstcontroller.c:
1652         (_gst_controller_class_init):
1653         * libs/gst/controller/gstlfocontrolsource.c:
1654         (gst_lfo_control_source_class_init):
1655         * libs/gst/net/gstnetclientclock.c:
1656         (gst_net_client_clock_class_init):
1657         * libs/gst/net/gstnettimeprovider.c:
1658         (gst_net_time_provider_class_init):
1659         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1660         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1661         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1662         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1663         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1664         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1665         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1666         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1667         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1668         * plugins/elements/gstqueue.c: (gst_queue_class_init):
1669         * plugins/elements/gsttee.c: (gst_tee_class_init):
1670         * plugins/elements/gsttypefindelement.c:
1671         (gst_type_find_element_class_init):
1672         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1673         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1674         use it everywhere for GParamSpecs that use static strings (i.e. all).
1675         This gives us less memory usage, fewer allocations and thus less
1676         memory defragmentation. Fixes bug #523806.
1677
1678 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1679
1680         * gst/gstminiobject.c: (gst_value_dup_mini_object),
1681         (gst_param_spec_mini_object):
1682         * gst/gstminiobject.h:
1683         * win32/common/libgstreamer.def:
1684         * docs/gst/gstreamer-sections.txt:
1685         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1686         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1687         GstParamSpecMiniObject into a public header for this.
1688
1689         This make GstMiniObject a bit more consistent with GObject and makes
1690         it possible to extend the param specs.
1691
1692         gst_value_dup_mini_object is mainly useful for set_property methods.
1693
1694         Fixes bug #523798.
1695
1696         * tools/gst-inspect.c: (print_element_properties_info):
1697         Print something useful for GstMiniObject properties and not just
1698         "unknown type".
1699
1700 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1701
1702         * docs/gst/gstreamer-sections.txt:
1703         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1704         (gst_registry_binary_check_magic):
1705         * gst/gstregistrybinary.h:
1706         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1707         and add it to the (private part) of the docs to fix the build.
1708
1709 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1710
1711         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1712         (gst_registry_binary_check_magic),
1713         (gst_registry_binary_read_cache):
1714         * gst/gstregistrybinary.h:
1715         Don't use GST_MAJORMINOR for the binary registry version. Instead
1716         hardcode a value that must be changed whenever the format changes
1717         in an incompatible way.
1718         Also don't GST_ERROR when there is a version mismatch, just
1719         regenerate the registry silently.
1720
1721 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
1722
1723         * configure.ac:
1724         Back to development - 0.10.18.1
1725
1726 === release 0.10.18 ===
1727
1728 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
1729
1730         * configure.ac:
1731           releasing 0.10.18, "So far away"
1732
1733 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
1734
1735         * configure.ac:
1736         * win32/common/config.h:
1737         0.10.17.4 pre-release
1738
1739 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1740
1741         Patch by: Ole André Vadla Ravnås
1742             <ole dot andre dot ravnas at tandberg dot com>
1743
1744         * docs/gst/gstreamer-sections.txt:
1745         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1746         (gst_poll_update_winsock_event_mask),
1747         (gst_poll_prepare_winsock_active_sets),
1748         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1749         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1750         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1751         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1752         (gst_poll_check_ctrl_commands), (gst_poll_wait):
1753         * gst/gstpoll.h:
1754         * win32/common/libgstreamer.def:
1755         Add new function gst_poll_fd_ignored() for improved Windows
1756         compatibility.
1757         Various minor fixes and cleanups. See #520808.
1758
1759 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
1760
1761         * gst/gstindex.c: (gst_index_entry_free):
1762         * gst/gstindex.h:
1763           Don't free key strings which we don't own. Fixes crash in
1764           gst_index_entry_free() (#522741).
1765
1766         * tests/check/Makefile.am:
1767         * tests/check/gst/.cvsignore:
1768         * tests/check/gst/gstindex.c: (test_index_entries),
1769           (gst_index_suite), (gst_index):
1770           Add unit test for the above.
1771
1772 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
1773
1774         * win32/common/libgstreamer.def:
1775         Remove symbols that were removed recently. Fixes bug #521740.
1776
1777 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
1778
1779         * configure.ac:
1780         * win32/common/config.h:
1781         0.10.17.3 pre-release
1782
1783 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1784
1785         Patch by: Ole André Vadla Ravnås
1786             <ole dot andre dot ravnas at tandberg dot com>
1787
1788         * docs/gst/gstreamer-sections.txt:
1789         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1790         (gst_poll_update_winsock_event_mask), (gst_poll_new),
1791         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1792         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1793         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1794         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1795         (gst_poll_fd_can_write), (gst_poll_wait),
1796         (gst_poll_set_controllable), (gst_poll_restart),
1797         (gst_poll_set_flushing):
1798         * gst/gstpoll.h:
1799         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1800         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1801         (gst_net_time_provider_new):
1802         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1803         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1804         * tests/benchmarks/gstpollstress.c: (main):
1805         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1806         Remove GstPollMode from the API, it does not make sense to let the
1807         application control this.
1808         Add support for Win32.
1809         Fix the testsuite. Fixes #520671.
1810
1811 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
1812
1813         Patch by: Ole André Vadla Ravnås
1814             <ole dot andre dot ravnas at tandberg dot com>
1815
1816         * gst/gstregistrybinary.c:
1817         Include io.h for write() and close() when building with MSVC. Fixes
1818         bug #520877.
1819
1820 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
1821
1822         * configure.ac:
1823         * gst/gst_private.h:
1824         * gst/gstconfig.h.in:
1825         * gst/gstregistry.h:
1826         * gst/gstregistrybinary.c:
1827         * win32/common/gstconfig.h:
1828           Move registry backend API to private headers where we can. Add
1829           fixme-0.11 comments for the others. Add stubs for the xml backend when
1830           using the binary to ensure they functions exists (they should not be
1831           used though). Fixes #520756.
1832
1833 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
1834
1835         * configure.ac:
1836         * win32/common/config.h:
1837         0.10.17.2 prelease
1838
1839 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1840
1841         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1842         (gst_registry_binary_read_cache):
1843         * gst/gstregistryxml.c: (gst_registry_save):
1844         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1845         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1846         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1847         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1848         Switch to using portabl gsize/gssize instead of size_t/ssize_t
1849         Fixes #520152
1850
1851 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1852
1853         * gst/gstminiobject.c:
1854         Import gst_private.h before any other header that might include other
1855         glib headers. This fixes the build on windows using native compilers.
1856
1857 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1858
1859         * win32/common/gstconfig.h:
1860           Add here too, just for completeness.
1861
1862 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1863
1864         * configure.ac:
1865         * gst/gstconfig.h.in:
1866         * gst/gstregistry.h:
1867           Fix broken use of config.h-defined preprocessor directive in a public
1868           header file. Add a corresponding define to gstconfig.h, since we can't
1869           really remove those function declarations from the header file now
1870           (or can we? and why are they there in the first place?).
1871
1872 2008-03-03  Andy Wingo  <wingo@pobox.com>
1873
1874         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1875         the new warning.
1876
1877         * gst/gststructure.c (gst_structure_from_string): Warn if
1878         structure_from_string didn't consume the whole string, but the
1879         caller did not provide an end pointer.
1880
1881 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
1882
1883         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1884
1885         * gst/gstregistryxml.c: (read_string), (load_feature):
1886           Strings allocated by libxml2 should be freed with xmlFree(), not
1887           with g_free(). Fixes issues on windows in certain contexts (#519698).
1888
1889 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
1890
1891         * gst/gstinterface.c: (gst_element_implements_interface):
1892           Don't crash if the element supports the interface queried, but does
1893           not implement GstImplementsInterface. Fixes #519584.
1894
1895         * tests/check/Makefile.am:
1896         * tests/check/gst/.cvsignore:
1897         * tests/check/gst/gstinterface.c:
1898           Add unit test for the above.
1899
1900 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1901
1902         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1903         Small doc update.
1904
1905 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1906
1907         * gst/gstsegment.c: (gst_segment_set_seek),
1908         (gst_segment_to_stream_time):
1909         Improve some comment.
1910         Update variables where it makes more sense.
1911
1912 2008-02-29  Rene Stadler  <mail@renestadler.de>
1913
1914         * gst/gsturi.c: (gst_uri_handler_get_protocols):
1915         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
1916         URIHandlers implemented using language bindings.
1917
1918 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1919
1920         * gst/gstelementfactory.h:
1921         * tests/check/elements/fakesink.c:
1922         * tests/check/elements/fakesrc.c: (setup_fakesrc):
1923         * tests/check/elements/fdsrc.c: (setup_fdsrc):
1924         * tests/check/elements/filesink.c: (setup_filesink):
1925         * tests/check/elements/filesrc.c: (setup_filesrc):
1926         * tests/check/elements/identity.c: (setup_identity):
1927         * tests/check/elements/tee.c:
1928         * tests/check/generic/sinks.c:
1929         * tests/check/generic/states.c: (setup), (teardown):
1930         * tests/check/gst/gst.c:
1931         * tests/check/gst/gstabi.c:
1932         * tests/check/gst/gstbin.c:
1933         * tests/check/gst/gstbus.c: (pull_messages):
1934         * tests/check/gst/gstcaps.c:
1935         * tests/check/gst/gstelement.c:
1936         * tests/check/gst/gstevent.c:
1937         * tests/check/gst/gstghostpad.c:
1938         * tests/check/gst/gstiterator.c:
1939         * tests/check/gst/gstmessage.c:
1940         * tests/check/gst/gstminiobject.c: (my_foo_init):
1941         * tests/check/gst/gstobject.c: (thread_name_object),
1942         (gst_object_suite):
1943         * tests/check/gst/gstpad.c:
1944         * tests/check/gst/gstplugin.c:
1945         * tests/check/gst/gstpoll.c:
1946         * tests/check/gst/gstquery.c:
1947         * tests/check/gst/gstsegment.c:
1948         * tests/check/gst/gststructure.c:
1949         * tests/check/gst/gstsystemclock.c:
1950         * tests/check/gst/gsttask.c:
1951         * tests/check/gst/gstutils.c:
1952         * tests/check/gst/gstvalue.c:
1953         * tests/check/gst/struct_hppa.h:
1954         * tests/check/gst/struct_i386.h:
1955         * tests/check/gst/struct_ppc32.h:
1956         * tests/check/gst/struct_ppc64.h:
1957         * tests/check/gst/struct_x86_64.h:
1958         * tests/check/libs/adapter.c: (create_and_fill_adapter):
1959         * tests/check/libs/basesrc.c:
1960         * tests/check/libs/controller.c: (GST_START_TEST):
1961         * tests/check/libs/gdp.c:
1962         * tests/check/libs/gstnetclientclock.c:
1963         * tests/check/libs/gstnettimeprovider.c:
1964         * tests/check/libs/libsabi.c:
1965         * tests/check/libs/struct_hppa.h:
1966         * tests/check/libs/struct_i386.h:
1967         * tests/check/libs/struct_ppc32.h:
1968         * tests/check/libs/struct_ppc64.h:
1969         * tests/check/libs/struct_x86_64.h:
1970         * tests/check/pipelines/cleanup.c:
1971         * tests/check/pipelines/simple-launch-lines.c:
1972         * tests/check/pipelines/stress.c:
1973         And correct even more valid sparse warnings.
1974
1975         * win32/common/libgstreamer.def:
1976         Add gst_poll_fd_init to the list of symbols.
1977
1978 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1979
1980         * gst/gstconfig.h.in:
1981         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
1982         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
1983         (gst_check_log_critical_func), (gst_check_drop_buffers),
1984         (gst_check_element_push_buffer_list):
1985         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
1986         (gst_controller_get_type):
1987         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
1988         (gst_object_get_controller), (gst_object_get_control_source):
1989         * libs/gst/controller/gstinterpolationcontrolsource.c:
1990         (gst_interpolation_control_source_new):
1991         * libs/gst/controller/gstlfocontrolsource.c:
1992         (gst_lfo_control_source_new):
1993         * libs/gst/dataprotocol/dataprotocol.c:
1994         (gst_dp_event_from_packet_0_2):
1995         * plugins/elements/gstfdsrc.c:
1996         * plugins/elements/gstmultiqueue.c:
1997         * plugins/elements/gsttee.c:
1998         * plugins/elements/gsttypefindelement.c:
1999         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2000         (gst_file_index_add_association):
2001         * plugins/indexers/gstmemindex.c:
2002         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2003         * tests/check/elements/queue.c: (setup_queue):
2004         * tests/check/gst/gstpipeline.c:
2005         * tests/check/libs/collectpads.c: (setup), (teardown),
2006         (gst_collect_pads_suite):
2007         * tests/examples/adapter/adapter_test.c:
2008         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2009         * tests/examples/xml/createxml.c:
2010         * tests/examples/xml/runxml.c:
2011         * tools/gst-inspect.c:
2012         * tools/gst-run.c:
2013         Correct all relevant warnings found by the sparse semantic code
2014         analyzer. This include marking several symbols static, using
2015         NULL instead of 0 for pointers, not using variable sized arrays
2016         on the stack, moving variable declarations to the beginning of
2017         a block and using "foo (void)" instead of "foo ()" for declarations.
2018
2019 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2020
2021         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2022         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2023         Don't reset GstPollFDs, this is not necessary at all.
2024
2025         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2026         (delayed_restart), (delayed_control):
2027         Use GST_POLL_FD_INIT.
2028
2029 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2030
2031         * gst/gstpoll.c: (gst_poll_fd_init):
2032         * gst/gstpoll.h:
2033         Added Since tags.
2034
2035         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2036         Use some more init macros.
2037
2038 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2039
2040         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2041         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2042         Use init macros and functions.
2043
2044 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2045
2046         * docs/gst/gstreamer-sections.txt:
2047         * gst/gstpoll.c: (gst_poll_fd_init):
2048         * gst/gstpoll.h:
2049         Add INIT macro and _init method for initializing the GstPollFD.
2050
2051 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2052
2053         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2054         (gst_fd_sink_update_fd):
2055         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2056         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2057         (delayed_restart), (delayed_control):
2058         Initialize some uninitialized variables as spotted by valgrind.
2059
2060 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2061
2062         * tests/benchmarks/Makefile.am:
2063         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2064         (main):
2065         Add poll stress test.
2066
2067 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2068
2069         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2070
2071         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2072         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2073         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2074         * plugins/elements/gstfdsink.h:
2075         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2076         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2077         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2078         (gst_fd_src_uri_set_uri):
2079         * plugins/elements/gstfdsrc.h:
2080         Port to GstPoll. See #505417.
2081
2082 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2083
2084         * win32/common/libgstreamer.def:
2085         Add new gst_poll_ symbols to win32 defs.
2086
2087 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2088
2089         * docs/libs/gstreamer-libs-sections.txt:
2090         * libs/gst/net/gstnetclientclock.c:
2091         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2092         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2093         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2094         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2095         * libs/gst/net/gstnetclientclock.h:
2096         * libs/gst/net/gstnettimeprovider.c:
2097         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2098         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2099         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2100         (gst_net_time_provider_new):
2101         * libs/gst/net/gstnettimeprovider.h:
2102         Use a private stuct to not break ABI.
2103
2104 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2105
2106         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2107
2108         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2109         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2110         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2111         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2112         * libs/gst/net/gstnetclientclock.h:
2113         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2114         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2115         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2116         (gst_net_time_provider_new):
2117         * libs/gst/net/gstnettimeprovider.h:
2118         Massive code removal and cleanups because of GstPoll.
2119         Fixes #505417.
2120
2121 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2122
2123         * configure.ac:
2124         Add checks for poll, ppoll and pselect.
2125
2126         * docs/gst/gstreamer-docs.sgml:
2127         * docs/gst/gstreamer-sections.txt:
2128         Add docs for GstPoll.
2129
2130         * gst/Makefile.am:
2131         * gst/gst.h:
2132         * gst/gstpoll.c: (find_index), (selectable_fds),
2133         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2134         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2135         (gst_poll_set_mode), (gst_poll_get_mode),
2136         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2137         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2138         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2139         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2140         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2141         (gst_poll_fd_can_write), (gst_poll_wait),
2142         (gst_poll_set_controllable), (gst_poll_restart),
2143         (gst_poll_set_flushing):
2144         * gst/gstpoll.h:
2145         Add generic poll abstraction. We ideally don't want to have this in core
2146         here but in glib intead...
2147         This code will be used in various network elements and ultimately for
2148         the nanosecond precision monotonic clock (that's why it's here in core).
2149         It'll allow us to implement cancelable socket operations for windows too.
2150
2151         * tests/check/Makefile.am:
2152         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2153         (delayed_stop), (delayed_restart), (delayed_flush),
2154         (delayed_control), (gst_poll_suite):
2155         Add GstPoll unit test.
2156
2157 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2158
2159         * gst/gstfilter.c:
2160           Improve documentation of gst_filter_run(). Fixes #518627.
2161
2162 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2163
2164         * docs/README:
2165           Add a few lines about the new 'check-inspected-versions' target.
2166
2167 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2168
2169         * tests/check/gst/gstevent.c:
2170           Add qos to the event test. Rename tcase/tsuite; is not only about
2171           custom events.
2172
2173 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2174
2175         * plugins/elements/gstqueue.c:
2176           Ensure that buffer metadata is writeable, before modifying. Spotted by
2177           Mike.
2178
2179 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2180
2181         * plugins/elements/gstqueue.c:
2182         * plugins/elements/gstqueue.h:
2183           When dropping buffers in leaky modes, mark next buffers we sent as
2184           DISCONT.
2185
2186 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2187
2188         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2189           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2190
2191 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2192
2193         * plugins/elements/Makefile.am:
2194         * plugins/elements/gstbufferstore.c:
2195         * plugins/elements/gstbufferstore.h:
2196         * plugins/elements/gsttypefindelement.h:
2197           Remove GstBufferStore, no idea why we were still building it.
2198           It's not used anywhere and superseded by GstAdapter.
2199
2200         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2201           (gst_file_src_create_mmap):
2202         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2203           Printf format fixes for 64-bit integers.
2204
2205 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2206
2207         * configure.ac:
2208         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2209         We're not in 0.8 times anymore.
2210
2211 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2212
2213         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2214         (gst_check_element_push_buffer_list):
2215         * libs/gst/check/gstcheck.h:
2216         Make the declaration in the header for
2217         gst_check_element_push_buffer_list match the implementation.
2218
2219         Fix up spelling, grammar and wording of the documentation in a few
2220         places, and add the Since keyword to new API functions.
2221         Use g_list_delete_link instead of g_list_remove in
2222         gst_check_drop_buffers, since it's immeasurably more efficient.
2223
2224         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2225         Use new gst_check_drop_buffers function where appropriate.
2226
2227         * win32/common/libgstbase.def:
2228         * win32/common/libgstreamer.def:
2229         Add new symbols gst_collect_pads_take_buffer, 
2230         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2231         exports
2232
2233         Changelog surgery to add API keyword to new gst_check API.
2234
2235 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2236
2237         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2238         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2239         Update pre-generated flex files with flex 2.3.34.
2240
2241 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2242
2243         * gst/gstminiobject.c:
2244           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2245           friendly to subclasses and not require them to know all internals
2246           of their parent class.
2247
2248 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2249
2250         * docs/libs/gstreamer-libs-sections.txt:
2251         * libs/gst/base/gstcollectpads.c:
2252         * libs/gst/base/gstcollectpads.h:
2253           Add sub-buffer functions to collectpads. Fixes #516187.
2254           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2255
2256 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2257
2258         * gst/gstbuffer.c:
2259           Copy selected buffer-flags when creating subbuffers.
2260           Fixes #516395.
2261
2262 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2263
2264         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2265         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2266         * gst/gstmessage.c: (gst_message_class_init),
2267         (gst_message_finalize):
2268         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2269         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2270         (gst_mmap_buffer_finalize):
2271         Properly chain up finalize functions to the parent class.
2272
2273 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2274
2275         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2276
2277         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2278         (gst_index_set_resolver_full):
2279         * gst/gstindex.h:
2280         Add new function with option to dispose of user_data in resolver.
2281         Actually call the dispose function when finalizing the object and not
2282         just when changing the resolver/filter.
2283         API: GstIndex::gst_index_set_resolver_full()
2284
2285         * docs/gst/gstreamer-sections.txt:
2286         Add new function to docs. Fixes #515469.
2287
2288 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2289
2290         * gst/gstindex.c: (gst_index_finalize):
2291         Chain up finalize to the parent class. Fixes leaking the GstObject
2292         name and other things.
2293
2294 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2295
2296         * configure.ac:
2297         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2298         pre-releases or releases.
2299
2300         * docs/faq/gst-uninstalled:
2301         Add gst-plugins-gl
2302
2303         * docs/random/release:
2304         Change one of the steps - we only upload core & base to Gnome FTP
2305
2306 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2307
2308         * gst/gstconfig.h.in:
2309           Add 'id' for example.
2310
2311         * gst/gstpad.c:
2312         * gst/gstutils.c:
2313         * plugins/elements/gstfdsink.c:
2314           Link to signals. Doc and comment fixes.
2315
2316 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2317
2318         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2319         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2320           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2321           unused and unimplemented; finally, it is plugin features, not
2322           plugins, that have ranks.
2323           
2324 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2325
2326         * gst/gstpluginfeature.h:
2327           Clarify GstRank range docs.
2328
2329 2008-02-05  David Schleef  <ds@schleef.org>
2330
2331         * gst/gst.c: Add a separate gst_deinitialized that prevents
2332           gst_init() from being called after gst_deinit().  Fixes #509559
2333
2334 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2335
2336         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2337         (gst_bin_class_init):
2338         * gst/gstelement.c: (gst_element_base_class_init),
2339         (gst_element_class_add_pad_template):
2340         * gst/gstpadtemplate.c: (gst_pad_template_init):
2341         * gst/gstpipeline.c: (gst_pipeline_get_type),
2342         (gst_pipeline_base_init), (gst_pipeline_class_init):
2343         * libs/gst/base/gstbasesink.c:
2344         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2345         (gst_base_src_base_init), (gst_base_src_class_init):
2346         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2347         (gst_capsfilter_class_init):
2348         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2349         (gst_fake_sink_class_init):
2350         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2351         (gst_fake_src_class_init):
2352         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2353         (gst_fd_sink_class_init):
2354         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2355         (gst_fd_src_class_init):
2356         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2357         (gst_file_sink_class_init):
2358         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2359         (gst_file_src_class_init):
2360         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2361         (gst_identity_class_init):
2362         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2363         (gst_multi_queue_class_init):
2364         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2365         (gst_queue_class_init):
2366         * plugins/elements/gsttee.c: (gst_tee_base_init),
2367         (gst_tee_class_init):
2368         * plugins/elements/gsttypefindelement.c:
2369         (gst_type_find_element_base_init),
2370         (gst_type_find_element_class_init):
2371         * tests/check/gst/gstelement.c: (gst_element_suite):
2372         Revert previous changes to the behaviour of GstPadTemplates, etc
2373         and the possiblity to call them in class_init as it breaks too
2374         many elements. Reopens bug #491501.
2375
2376         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2377         several places.
2378
2379 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2380
2381         * tools/gst-launch.c:
2382         Dump one graph per pipeline state-change and state change name
2383         (if GST_DEBUG_DUMP_DOT_DIR is set).
2384
2385 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2386
2387         * gst/gstpad.c:
2388         * tests/check/gst/gstpad.c:
2389         Be sure that we have a new copy of the caps and not
2390         reffed caps from a template
2391
2392 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2393
2394         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2395         * gst/gstpipeline.c: (gst_pipeline_get_type),
2396         (gst_pipeline_class_init):
2397         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2398         (gst_base_sink_class_init):
2399         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2400         (gst_base_src_class_init):
2401         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2402         (gst_base_transform_class_init):
2403         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2404         (gst_collect_pads_class_init):
2405         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2406         * libs/gst/net/gstnettimeprovider.c:
2407         (gst_net_time_provider_base_init),
2408         (gst_net_time_provider_class_init):
2409         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2410         (gst_capsfilter_class_init):
2411         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2412         (gst_fake_sink_class_init):
2413         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2414         (gst_fake_src_class_init):
2415         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2416         (gst_fd_sink_class_init):
2417         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2418         (gst_fd_src_class_init):
2419         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2420         (gst_file_sink_class_init):
2421         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2422         (gst_file_src_class_init):
2423         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2424         (gst_identity_class_init):
2425         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2426         (gst_multi_queue_class_init):
2427         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2428         (gst_queue_class_init):
2429         * plugins/elements/gsttee.c: (gst_tee_base_init),
2430         (gst_tee_class_init):
2431         * plugins/elements/gsttypefindelement.c:
2432         (gst_type_find_element_base_init),
2433         (gst_type_find_element_class_init):
2434         Don't use base_init where not absolutely necessary. For example it's
2435         not necessary anymore for adding pad templates or setting element
2436         details.
2437
2438         Leave empty base_init functions in several places as GST_BOILERPLATE
2439         still defines and uses them.
2440
2441 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2442
2443         * gst/gstelement.c: (gst_element_base_class_init),
2444         (gst_element_class_add_pad_template):
2445         * gst/gstpadtemplate.c:
2446         Make it possible (and recommended) to set element details and add
2447         pad templates in the class_init functions by copying the details/pad
2448         templates in GstElement's base_init.
2449
2450         Also make it possible to replace existing pad templates by adding
2451         a new one with the same name. This was done in a hackish fashion
2452         in same elements before already.
2453
2454         Don't reference pad templates that are added a second time. A
2455         new pad template has a refcount of one and is not floating anymore
2456         and to be owned by the element's class. Make this more explicit by
2457         mentioning it in the docs of gst_element_class_add_pad_template().
2458
2459         These changes are backwards compatible. Fixes bug #491501.
2460
2461         * tests/check/gst/gstelement.c:
2462         Add unit test for setting element details, adding pad templates and
2463         replacing them in a subclass.
2464
2465 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2466
2467         * tools/gst-inspect.c: (print_interfaces),
2468         (print_element_properties_info), (print_pad_info),
2469         (print_signal_info), (print_element_info):
2470         Fix a few memory leaks.
2471
2472 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2473
2474         * docs/libs/gstreamer-libs-sections.txt:
2475         * libs/gst/check/gstcheck.c:
2476         * libs/gst/check/gstcheck.h:
2477         Add more functions for unit testing: gst_check_drop_buffers,
2478         gst_check_caps_equal, gst_check_element_push_buffer_list,
2479         gst_check_element_push_buffer
2480         API: gst_check_drop_buffers
2481         API: gst_check_caps_equal
2482         API: gst_check_element_push_buffer_list
2483         API: gst_check_element_push_buffer
2484
2485 2008-02-01  Julien Moutte  <julien@fluendo.com>
2486
2487         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2488         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2489         (gst_index_finalize), (gst_index_entry_free),
2490         (gst_index_add_association): Fix memory leaks.
2491         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2492         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2493         (gst_mem_index_free_format), (gst_mem_index_free_id),
2494         (gst_mem_index_finalize): Fix memory leaks.
2495         * win32/common/config.h: Updated to CVS HEAD.
2496
2497 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2498
2499         * docs/README:
2500           Some more details about how the plugin docs works.
2501
2502         * docs/plugins/gstreamer-plugins-sections.txt:
2503           Whitespace cleanup.
2504
2505 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2506
2507         * gst/parse/grammar.tab.pre.c:
2508         * gst/parse/grammar.tab.pre.h:
2509         * gst/parse/grammar.y:
2510         * gst/parse/lex._gst_parse_yy.pre.c:
2511           Add delayed set-property. This allows to set properties on dynamicaly
2512           created objects (pads in videomxer). Fixes #509391.
2513
2514 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2515
2516         * gst/gstutils.c:
2517         Check if caps are not NULL (fix bug #510194)
2518
2519 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2520
2521         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2522         (gst_base_sink_get_position_paused):
2523         Add fixme regarding EOS in pull mode.
2524         Fix position reporting in PAUSED for negative rates.
2525
2526 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2527
2528         * gst/gstminiobject.c: (gst_mini_object_replace):
2529         When replacing a miniobject, do a quick equality check first so that we
2530         can avoid a ref/unref pair.
2531
2532 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2533
2534         * docs/design/part-synchronisation.txt:
2535         Update some docs.
2536
2537         * docs/plugins/Makefile.am:
2538         * docs/plugins/gstreamer-plugins-docs.sgml:
2539         * docs/plugins/gstreamer-plugins-sections.txt:
2540         * plugins/elements/gstmultiqueue.c:
2541         Add multiqueue to the docs.
2542
2543 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2544
2545         * configure.ac:
2546           Back to CVS
2547
2548 === release 0.10.17 ===
2549
2550 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2551
2552         * configure.ac:
2553           releasing 0.10.17, "Due Negligence"
2554
2555 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2556
2557         * gst/gstutils.c:
2558         Revert caps != NULL check temporarily for 0.10.17 release.
2559
2560 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2561
2562         * gst/gstutils.c:
2563         Check if caps are not NULL (fix bug #510194)
2564
2565 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2566
2567         * gst/gstutils.c:
2568         Fix compilation on systems that have posix timers but no
2569         monotonic clock.
2570         Fixes: #512715
2571         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2572         dot net>
2573
2574 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2575
2576         * tools/gst-inspect.c:
2577         Revert previous commit in preparation for an impromptu 0.10.17 release
2578
2579 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2580
2581         * tools/gst-inspect.c: (print_interfaces),
2582         (print_element_properties_info), (print_pad_info),
2583         (print_signal_info), (print_element_info):
2584         Fix a few memory leaks.
2585
2586 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2587
2588         * configure.ac:
2589         Back to CVS
2590
2591 === release 0.10.16 ===
2592
2593 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2594
2595         * configure.ac:
2596           releasing 0.10.16, "Special Dispensation"
2597
2598 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2599
2600         * configure.ac:
2601           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2602           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2603           not fail when trying to crosscompile on OpenEmbedded (#511750).
2604
2605 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2606
2607         * docs/manuals.mak:
2608         Use $(MAKE) instead of make to fix the build if GNU make is
2609         called different. Fixes bug #510747.
2610
2611 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2612
2613         * gst/gstplugin.c: (_gst_plugin_initialize):
2614           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2615           again, which I broke two commits ago when changing the API
2616           of gst_plugin_register_static(): the g_list_foreach() in
2617           _gst_plugin_register_static still assumed the old function
2618           signature and would therefore fail (re-fixes #510187).
2619
2620         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2621           (_gst_plugin_register_static), (gst_plugin_register_static):
2622           Revert the (technically correct) change to call g_thread_init() from
2623           the pre-main() constructor. This will break programs which call
2624           g_thread_init() without an if (!g_thread_supported()) guard in their
2625           main function. We could just blame it on GLib or the application, but
2626           it's probably best to just avoid this altogether and simply not use
2627           any GLib functions here and use plain old malloc() with a simple
2628           array to store the plugins to register later when gst_init() is
2629           finally called (re-fixes #510187).
2630
2631         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2632           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2633           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2634           (GST_START_TEST), (gst_plugin_suite):
2635           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2636           works.
2637
2638 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2639
2640         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2641           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2642           This makes gtk-doc complain, but results in slightly better
2643           compiler errors. The old _gst_plugin_register_static() is
2644           still guarded, so there'll be a compiler warning about that
2645           instead. Fixes #510187 too.
2646
2647 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2648
2649         * gst/gst.c: (init_post):
2650         * gst/gstplugin.c: (_gst_plugin_register_static),
2651           (gst_plugin_register_static), (_gst_plugin_initialize):
2652         * gst/gstplugin.h: (GstPluginFilter):
2653           Change API of gst_plugin_register_static() to not take
2654           a GstPluginDesc, but rather just take all the arguments
2655           in a GstPluginDesc directly. This is more intuitive and
2656           avoids certain mistakes when porting code from
2657           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2658           Fixes #510187.
2659
2660         * tests/check/gst/gstplugin.c:
2661           Fix up for changed API.
2662
2663 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2664
2665         * docs/faq/legal.xml:
2666           Update FAQ, Totem actually has an exception these days.
2667
2668 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
2669
2670         * win32/common/libgstreamer.def:
2671         Add new API declarations
2672
2673 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2674
2675         * gst/gstminiobject.c:
2676           Spelling fixes for the API docs.
2677
2678 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2679
2680         * libs/gst/base/gstbasetransform.c:
2681           Fix long property description for QoS.
2682
2683 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
2684
2685         * gst/gst.c:
2686         _gst_trace_on is already provided by gsttrace.h, no need to declare
2687         it ourselves.
2688
2689         * docs/libs/gstreamer-libs-sections.txt:
2690         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2691         and remove strange tcase_add_test which is outputting a warning.
2692
2693         * libs/gst/check/gstcheck.c:
2694         * libs/gst/check/gstcheck.h:
2695         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2696         and define them in gstcheck.c instead of having every .c file whcih
2697         includes gstcheck.h be defining its own copy and relying on symbol
2698         interposing to marry them all, which doesn't work on Solaris.
2699
2700         * tests/check/elements/identity.c: (GST_START_TEST):
2701         Don't define 'buffers' locally, it comes from libgstcheck.
2702
2703         * tests/check/generic/sinks.c: (send_buffer):
2704         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2705
2706         * tests/check/gst/gststructure.c: (GST_START_TEST):
2707         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2708         * tests/check/gst/gstutils.c: (GST_START_TEST):
2709         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2710         Add a bunch of casts to make various constants fit the types
2711         they're being assigned to.
2712
2713 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
2714
2715         * gst/gstchildproxy.c:
2716           Improve docs and add some ideas for making this more general-purpose.
2717
2718 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
2719
2720         * gst/gst_private.h: (GST_CAT_TYPES):
2721           Add GST_CAT_TYPES, for consistency, and so that the other
2722           debug categories don't make fun of it. Spotted by Saur on IRC.
2723
2724 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2725
2726         * gst/parse/Makefile.am:
2727           Move types.h from EXTRA_DIST to noinst_HEADERS.
2728
2729 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2730
2731         * autogen.sh:
2732           Add -Wno-portability to the automake parameters to stop warnings
2733           about GNU make extensions being used. We require GNU make in almost
2734           every Makefile anyway.
2735
2736         * configure.ac:
2737           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2738           at the same time is required for per target flags.
2739
2740 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2741
2742         * gst/gstmacros.h:
2743           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2744           __GNUC__ is defined before using it.
2745
2746 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2747
2748         * docs/gst/gstreamer-sections.txt:
2749         * gst/gst.c: (init_post):
2750         * gst/gstplugin.c: (_gst_plugin_register_static),
2751           (gst_plugin_register_static), (_gst_plugin_initialize),
2752           (gst_plugin_register_func):
2753         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2754           API: add gst_plugin_register_static() and deprecate
2755           GST_PLUGIN_DEFINE_STATIC, since it's not portable
2756           (#498924).
2757           Also, in _gst_plugin_register_static(), make sure to call
2758           g_thread_init() before calling GLib functions such as
2759           g_list_append() if we're not initialised yet, since that
2760           may lead to random crashes with older GSlice/GLib versions.
2761
2762         * tests/check/gst/gstplugin.c:
2763           Adapt unit test to above changes.
2764
2765 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2766
2767         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2768         * gst/gstcaps.c: (gst_caps_to_string):
2769         * gst/gststructure.c: (GST_ASCII_IS_STRING),
2770           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2771           Yet another gratuitous GString micro-optimisation: add a (private)
2772           function that serialises a structure appending to an existing
2773           GString, so that when we serialise caps we don't need to alloc+free
2774           a throwaway GString for each structure (each of which also entailing
2775           multiple reallocs on the way); also use g_string_sized_new() in
2776           various places with an approximate string length to avoid reallocs
2777           within GString. See #500143.
2778
2779 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2780
2781         * gst/gststructure.c: (gst_structure_id_set_value):
2782           Always check UTF-8 conformance of structure strings and not only
2783           if the debugging system is enabled; reasoning: the behaviour of
2784           the actual code shouldn't really change depending on whether the
2785           debugging system is enabled or not (#508291).
2786
2787 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
2788
2789         * Makefile.am:
2790           Remove old coverage target in favour of "make lcov".
2791
2792 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2793
2794         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2795         (gst_base_src_loop):
2796         The start segment for reverse playback goes from start to last_stop.
2797
2798 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2799
2800         Patch by: Peter Kjellerstedt <pkj axis com>
2801
2802         * gst/gstclock.h:
2803         Cast the results from the timeval/spec_to_time macros to what the
2804         docs say it casts to, a GstClockTime. fixes #508175.
2805
2806 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2807
2808         * gst/gstbuffer.c:
2809         Update some comments.
2810
2811         * tools/gst-inspect.c: (print_element_properties_info):
2812         Improve printing of flags.
2813
2814 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
2815
2816         * libs/gst/base/gstbasetransform.c:
2817           (gst_base_transform_transform_size):
2818           Print element name with g_warning() if there's a problem
2819           with the unit size.
2820
2821 2008-01-07  David Schleef  <ds@schleef.org>
2822
2823         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2824
2825         * libs/gst/controller/gstcontroller.h:
2826         * libs/gst/controller/gstcontrolsource.h:
2827         * libs/gst/controller/gstinterpolationcontrolsource.h:
2828         * libs/gst/controller/gstlfocontrolsource.h:
2829         * libs/gst/dataprotocol/dataprotocol.h:
2830           Fix empty prototypes.  Fixes bug #507957.
2831
2832 2008-01-07  David Schleef  <ds@schleef.org>
2833
2834         * docs/faq/dependencies.xml: Fix typo.
2835
2836 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2837
2838         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2839         (gst_base_src_loop):
2840         Don't update the last_stop position in do_seek, that's the position we
2841         did a seek to.
2842         Read backwards when we have a negative rate.
2843
2844         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2845         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2846         (filesrc_suite):
2847         Add check for reverse reading.
2848
2849 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
2850
2851         Patch by: Alexis Ballier <aballier at gentoo org>
2852
2853         * tests/check/gst/gstabi.c:
2854         * tests/check/gst/struct_ppc64.h:
2855         * tests/check/libs/libsabi.c:
2856         * tests/check/libs/struct_ppc64.h:
2857           Decide which header to include based on the userland ABI target
2858           and not the kernel/cpu. Fix up structure sizes of ppc64 header
2859           for 64-bit userland (#503590).  Might need something similar for
2860           x86 too.
2861
2862 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2863
2864         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2865           Log the reason why fopen fails in addition to the fact that it failed.
2866           
2867 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
2868
2869         * gst/parse/parse.l:
2870         Use "%option never-interactive" to prevent useless calls to isatty()
2871         on every input when parsing. Also use "%option noinput" to not define
2872         the static input/yyinput functions which we don't use anyway. This
2873         removes a compiler warning with gcc 4.3 and saves some bytes in the
2874         library.
2875         
2876         * gst/parse/lex._gst_parse_yy.pre.c:
2877         Regenerated for the above change.
2878
2879 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2880
2881         * gst/gstpad.c: (fixate_value):
2882         Don't crash when trying to fixate and empty list.
2883         Fixes #506643.
2884
2885 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
2886
2887         * docs/faq/gst-uninstalled:
2888         Clarify the comments to make the usage of this script and what it
2889         does easier to understand.
2890
2891 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2892
2893         * tools/gst-plot-timeline.py:
2894         Add more options to gst-plot-timeline
2895
2896 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2897
2898         * docs/design/part-synchronisation.txt:
2899         Some more info on how the stream_time in GstBaseSink is done.
2900
2901 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
2902
2903         * tests/check/generic/sinks.c: (gst_sinks_suite):
2904           Put back the tcase_set_timeout(), apparently it's needed after
2905           all; fix it up in a way that makes things work with valgrind too.
2906
2907 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2908
2909         * gst/gstdebugutils.c:
2910           Add warning when failed to open file for writing.
2911
2912 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2913
2914         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
2915
2916         * gst/gstvalue.c: (gst_value_is_fixed):
2917           Optimisation: bail out of the loop as early as possible (#500143).
2918
2919 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2920
2921         * gst/gstcaps.c: (gst_caps_to_string):
2922         * gst/gstinfo.c: (gst_debug_construct_term_color):
2923         * gst/gstparse.c: (gst_parse_launchv):
2924         * gst/gstutils.c: (gst_util_dump_mem):
2925         * gst/gstvalue.c: (gst_value_serialize_any_list),
2926           (gst_value_transform_any_list_string):
2927           Bunch of gratuitous nano-optimisations.
2928
2929 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2930
2931         * tests/check/generic/sinks.c: (async_done_func),
2932           (async_done_eos_func):
2933           Fix leak in unit test (bus sync handler must unref the message
2934           if it returns GST_BUS_DROP). Don't fiddle with the default test
2935           timeout, this is smaller than the current preconfigured value
2936           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
2937           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
2938
2939 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2940
2941         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2942
2943         * configure.ac:
2944         Check for stdio_ext.h for the filesink changes.
2945
2946         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
2947         (gst_file_sink_class_init), (gst_file_sink_init),
2948         (gst_file_sink_dispose), (gst_file_sink_set_property),
2949         (gst_file_sink_get_property), (gst_file_sink_open_file),
2950         (gst_file_sink_close_file):
2951         * plugins/elements/gstfilesink.h:
2952         Add two properties to control the buffering mode and size.
2953         API: GstFileSink::buffer-mode
2954         API: GstFileSink::buffer-size
2955         Fixes #500150.
2956
2957 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2958
2959         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
2960         Add some more docs to explain why a FIXME was wrongly added. 
2961
2962 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
2963
2964         * gst/gstobject.c:
2965           Fix typo in the gst_object_{ref,unref} documentation.
2966
2967 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
2968
2969         * tests/check/libs/controller.c:
2970         * tests/check/libs/typefindhelper.c:
2971         * tests/check/pipelines/parse-launch.c:
2972           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
2973           going to be deprecated (see #498924).
2974
2975 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
2976
2977         * gst/gsttypefind.c: (gst_type_find_register):
2978           Make gst_type_find_register work for static typefind functions,
2979           ie. allow passing plugin == NULL (prerequisite for #498924).
2980
2981         * gst/gstelementfactory.c: (gst_element_register):
2982           Small docs addition.
2983
2984 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2985
2986         * gst/gstpad.c: (gst_pad_dispose):
2987         Really unlink the peer pad instead of setting the peer pointer to NULL
2988         when we dispose the pad.
2989         This correctly calls the unlink functions and makes sure that the peer
2990         does not have a handle to invalid memory. See #504671.
2991
2992         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2993         Add testsuite for above case.
2994
2995 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
2996
2997         Patch by: Peter Kjellerstedt <pkj axis com>
2998
2999         * libs/gst/check/gstcheck.h:
3000           Fix detection of the check version we're compiling against (would
3001           otherwise break if check goes v0.10.0); correctly report the
3002           name of the failed test again in case of failure, instead of
3003           just 'tf' (fixes #504499).
3004
3005 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3006
3007         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3008         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3009         (gst_base_src_loop), (gst_base_src_set_flushing),
3010         (gst_base_src_change_state):
3011         Allow sending EOS to the source to make it send out an EOS event from
3012         the streaming thread.
3013         Update docs and deprecate the old NULL/READY shutdown method.
3014
3015         * tests/check/libs/basesrc.c: (GST_START_TEST),
3016         (gst_basesrc_suite):
3017         Add unit test for controlled shutdown.
3018
3019 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3020
3021         * docs/design/part-synchronisation.txt:
3022         Small updates.
3023
3024         * gst/gstsegment.c: (gst_segment_set_seek),
3025         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3026         (gst_segment_to_running_time):
3027         The seek format can be different from the segment format when the start
3028         and stop values are not to be updated, when we only do a rate change for
3029         example.
3030
3031         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3032         (gst_segment_suite):
3033         Add a testcase for the rate-only seeks, checking that the format is
3034         correctly ignored when start and stop are not updated.
3035
3036 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3037
3038         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3039
3040         * win32/vs8/grammar.vcproj:
3041         * win32/vs8/libgstcontroller.vcproj:
3042         * win32/vs8/libgstreamer.vcproj:
3043         Fix compilation with VS8 and include some missing files.
3044
3045 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3046
3047         * gst/gsttaglist.c:
3048           Small docs addition: mention that the strings returned by
3049           gst_tag_list_get_string*() are in UTF-8 encoding.
3050
3051 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3052
3053         * Makefile.am:
3054           The check-exports stuff moved to common/win32.mak, so include that.
3055
3056 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3057
3058         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3059         (gst_base_src_perform_seek), (gst_base_src_get_range),
3060         (gst_base_src_set_playing), (gst_base_src_change_state):
3061         Make _wait_playing() not check any variables so that we can call this
3062         function from subclasses. Move the checks elsewhere similar to
3063         _wait_preroll() in basesink.
3064         Add some debugging.
3065         Only signal the LIVE cond when we are going back to PLAYING.
3066
3067 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3068
3069         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3070           Use g_remove() and g_rename(). Check result of g_rename(), and
3071           don't leak the open file descriptor if we error out when writing.
3072
3073         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3074           Must check the return value of close() after writing out the new
3075           registry file.  Sometimes write problems such as out-of-diskspace
3076           are only reported when the file is closed and not already during
3077           the write.  This may have caused partial/broken registry files in
3078           some rare circumstances. Should fix #503675.
3079
3080 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3081
3082         * docs/gst/.cvsignore:
3083         * docs/libs/.cvsignore:
3084         * docs/plugins/.cvsignore:
3085         Ignore files generated by new common/* modifications
3086
3087 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3088
3089         * win32/common/libgstbase.def:
3090           Yes, you can also have a <TAB> if you want.
3091
3092 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3093
3094         * win32/common/libgstbase.def:
3095           Add new basetransform API to win export file.
3096
3097 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3098
3099         * tests/check/gst/gstbin.c:
3100           Adjust the test to the refcount change two days ago.
3101
3102 2007-12-14  David Schleef  <ds@schleef.org>
3103
3104         * docs/faq/getting.xml: Fix typo.
3105
3106 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3107
3108         * docs/libs/gstreamer-libs-sections.txt:
3109         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3110           (gst_base_transform_prepare_output_buffer),
3111           (gst_base_transform_set_gap_aware):
3112         * libs/gst/base/gstbasetransform.h:
3113           API: Add gst_base_transform_set_gap_aware() to control whether
3114           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3115           get buffers with this flag at all. Fixes #503231.
3116
3117 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3118
3119         * libs/gst/base/gstbasesink.c:
3120         * libs/gst/base/gstbasesrc.c:
3121         * libs/gst/base/gstbasetransform.c:
3122           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3123           thread. Correct log message in gstbasesrc.c.
3124
3125 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3126
3127         * gst/gstutils.c: (element_find_unconnected_pad):
3128           Fix possible compiler warning (#503417).
3129
3130 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3131
3132         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3133           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3134
3135 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3136
3137         * tools/gst-inspect.c: (print_element_properties_info):
3138           Add support for GstFraction properties.
3139
3140 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3141
3142         * Makefile.am:
3143           Add check-exports target and run it as part of 'make check'
3144           (see #499140 and #493983).
3145
3146         * gst/gst_private.h:
3147         * gst/gstelementfactory.h:
3148         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3149         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3150           (_priv_gst_in_valgrind):
3151         * gst/gstinfo.h: (GstLogFunction):
3152         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3153           (gst_type_find_register):
3154         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3155           (gst_type_find_factory_get_type):
3156         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3157           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3158           (gst_controller_new_valist), (gst_controller_new_list),
3159           (_gst_controller_dispose), (_gst_controller_class_init):
3160         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3161         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3162           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3163           (gst_object_get_controller), (gst_object_set_controller),
3164           (gst_object_suggest_next_sync), (gst_object_sync_values),
3165           (gst_object_set_control_source), (gst_object_get_control_source),
3166           (gst_object_get_value_arrays), (gst_object_get_value_array),
3167           (gst_object_get_control_rate), (gst_object_set_control_rate):
3168         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3169         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3170           Make some functions that should be static static; rename some
3171           private symbols so that they don't get exported; add some FIXME
3172           comments so we can move accidentally exported functions into
3173           our private section in 0.11.
3174
3175         * win32/common/libgstreamer.def:
3176           Add gst_utils_get_timestamp().
3177
3178 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3179
3180         * gst/gstvalue.c:
3181         * gst/gstvalue.h:
3182           Add more missing "Since:" tags to docs.
3183
3184 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3185
3186         * gst/gstutils.c:
3187           Add mising "Since:" to docs.
3188
3189 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3190
3191         * gst/gstplugin.c:
3192           Include "glib-compat-private.h" to fix the build on system with
3193           glib < 2.10. Fixes #503131.
3194
3195 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3196
3197         * gst/gstutils.c:
3198         * gst/gstutils.h:
3199           Actually its not PURE as it gets the time from elsewhere.
3200
3201 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3202
3203         * docs/gst/gstreamer-sections.txt:
3204         * gst/gstclock.h:
3205         * gst/gstdebugutils.c:
3206         * gst/gstinfo.c:
3207         * gst/gstutils.c:
3208         * gst/gstutils.h:
3209         * libs/gst/base/gstbasesink.c:
3210         * tools/gst-launch.c:
3211           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3212           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3213           Thanks Tim for spotting.
3214           API: gst_util_get_timestamp
3215
3216 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3217
3218         * configure.ac:
3219           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3220
3221 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3222
3223         * gst/gststructure.c: (gst_structure_validate_name),
3224           (gst_structure_new_valist), (gst_structure_parse_value),
3225           (gst_structure_from_string):
3226           Don't crash in _from_string() if the structure name is not valid
3227           (fixes #501560).  Allow structure names to start with a number
3228           again (this apparently broke the ubuntu codec installer).
3229
3230         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3231           (GST_START_TEST):
3232           Add unit test for the crash; update unit tests for new behaviour.
3233
3234 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3235
3236         * gst/gstutils.c:
3237         Clarify gst_element_get_compatible_pad() documentation.
3238         Fixes #500919.
3239
3240 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3241
3242         * tests/check/Makefile.am:
3243           Don't forget to dist {gst,libs}/struct_hppa.h.
3244
3245 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3246
3247         * libs/gst/base/gstbasesink.c:
3248           Use new API to get elapsed time.
3249
3250 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3251
3252         * gst/gstdebugutils.c:
3253         * gst/gstinfo.c:
3254           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3255
3256         * tools/gst-launch.c:
3257           Use new API to get elapsed time.
3258
3259 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3260
3261         * docs/gst/gstreamer-sections.txt:
3262         * gst/gstclock.h:
3263         * gst/gstdebugutils.c:
3264         * gst/gstinfo.c:
3265           Rename new API + ChangeLog surgery to remove old name from last entry..
3266
3267 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3268
3269         * docs/gst/gstreamer-sections.txt:
3270         * gst/gstclock.h:
3271         * gst/gstdebugutils.c:
3272         * gst/gstinfo.c:
3273           Now hide the different clock stuff behind a macro.
3274
3275 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3276
3277         * configure.ac:
3278         * gst/gstdebugutils.c:
3279         * gst/gstinfo.c:
3280           Apply the posix-timer check from #361155. Conditionally use the posix
3281           timer for logging. This gives better timestamp precission, less
3282           overhead and no ntp jitter.
3283
3284 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3285
3286         * gst/gstminiobject.c: (gst_mini_object_get_type),
3287         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3288         (gst_mini_object_finalize), (gst_mini_object_copy),
3289         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3290         (gst_mini_object_replace), (param_mini_object_validate),
3291         (gst_param_spec_mini_object_get_type):
3292         Some cleanup and checking against invalid function parameters.
3293
3294 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3295
3296         * docs/gst/gstreamer-sections.txt:
3297         * gst/gstclock.h:
3298         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3299         (gst_systemclock_suite):
3300         Start merging in the easy bits of #361155, the monotonic clock patch.
3301         This one adds a few handy macros with docs and a testsuite.
3302
3303 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3304
3305         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3306         Be a bit smarter when seeking, like, don't try to do a seek when it's
3307         not needed. This avoids errors when the file is not seekable.
3308         Fixes #499771.
3309
3310 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3311
3312         * docs/gst/gstreamer-docs.sgml:
3313         * docs/gst/gstreamer-sections.txt:
3314         * docs/gst/gstreamer.types.in:
3315         * gst/Makefile.am:
3316         * gst/gst.h:
3317         * gst/gstpreset.c:
3318         * gst/gstpreset.h:
3319         * plugins/elements/gstqueue.c:
3320           Due to popular request remove preset interface again. :-(.
3321
3322 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3323
3324         * tools/gst-inspect.c:
3325           Print 'default value' for enums and flags too.
3326
3327 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3328
3329         * docs/random/ensonic/profiling.txt:
3330           More ideas.
3331
3332         * gst/gstbin.c:
3333           Fix typo and give better log output.
3334
3335         * gst/gstdebugutils.c:
3336         * gst/gstdebugutils.h:
3337           More ideas, make graphs a bit smaller and fix param name in macro.
3338
3339 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3340
3341         * gst/gstpreset.c:
3342           Try harder to use the return value from fgets().
3343
3344 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3345
3346         * gst/gstpreset.c:
3347           For theses two fgets we handle the error below.
3348
3349 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3350
3351         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3352         Only send upstream events upstream. Fixes #498746.
3353
3354 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3355
3356         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3357
3358         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3359         (gst_identity_init), (gst_identity_transform_ip),
3360         (gst_identity_set_property), (gst_identity_get_property):
3361         * plugins/elements/gstidentity.h:
3362         Add property to disable handoff signal emission. Fixes #498694.
3363         API: GstIdentity::signal-handoffs
3364
3365 2007-11-21  Julien Moutte  <julien@fluendo.com>
3366
3367         * docs/faq/gst-uninstalled: Yet another missing library for the
3368         uninstalled script (fft)
3369
3370 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3371
3372         * docs/faq/developing.xml:
3373         Add a question about how to submit new translations.
3374
3375         * docs/random/release:
3376         Update the contact email address for the Translation Project
3377
3378         * plugins/elements/gstfdsrc.c:
3379         The parent_class for fdsrc is pushsrc, not GstElement.
3380
3381 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3382
3383         * gst/gstpreset.c:
3384           Plug a leak and fix saving.
3385
3386 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3387
3388         * docs/gst/gstreamer-sections.txt:
3389         Add new gst_preset__get_property_names() function to the docs
3390         to fix the build.
3391
3392 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3393
3394         * gst/gstpreset.c:
3395         * gst/gstpreset.h:
3396           Change _get_preset_names API to return a strv with copies. Add
3397           _get_property_names to allow implementations to filter and provide
3398           good default implementation.
3399
3400 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3401
3402         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3403         script (sdp).
3404
3405 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3406
3407         * gst/gstpreset.c:
3408           More cleanups, docs, and TODOs from comments that now slowly come in.
3409
3410 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3411
3412         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3413         search path.
3414
3415 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3416
3417         * gst/gstpreset.c:
3418           Fix bogus warning and make the property type specific code more
3419           similar.
3420
3421 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3422
3423         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3424         it build on OS X.
3425
3426 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3427
3428         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3429         (gst_bin_add_func), (gst_bin_remove_func),
3430         (gst_bin_change_state_func), (gst_bin_continue_func):
3431         Change email, cleanups add some more debug and comments.
3432         Also set bus and clock on new elements when the pipeline was in error.
3433
3434 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3435
3436         * gst/gstbin.c:
3437         * gst/gstdebugutils.c:
3438           Fix build with --disable-gst-debug. Fixes #497859.
3439           Spotted by Sameer Naik.
3440
3441 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3442
3443         * gst/gstevent.c:
3444           Little documentation improvment.
3445
3446         * gst/gstpreset.c:
3447           More TODO cleanups. Remove c++ comments.
3448
3449         * libs/gst/controller/gstcontroller.c:
3450           Add TODO and use quark from static string.
3451
3452         * tests/check/gst/gstmessage.c:
3453         * tests/check/gst/gststructure.c:
3454           Use quark from static string.
3455
3456 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3457
3458         * gst/gstpreset.c:
3459           Add some comments and TODOs.
3460
3461         * gst/gstpreset.h:
3462           Add padding for future changes.
3463
3464         * plugins/elements/gstqueue.c:
3465           Implement the iface.    
3466
3467 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3468
3469         * docs/gst/gstreamer-docs.sgml:
3470         * docs/gst/gstreamer-sections.txt:
3471         * docs/gst/gstreamer.types.in:
3472         * gst/Makefile.am:
3473         * gst/gst.h:
3474         * gst/gstpreset.c:
3475         * gst/gstpreset.h:
3476           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3477
3478 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3479
3480         * configure.ac:
3481
3482         Back to CVS
3483
3484 === release 0.10.15 ===
3485
3486 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3487
3488         * configure.ac:
3489           releasing 0.10.15, "October"
3490
3491 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3492
3493         * win32/vs6/libgstreamer.dsp:
3494         Convert line endings back to DOS.
3495
3496 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3497
3498         * docs/design/draft-tagreading.txt:
3499         * docs/random/ensonic/profiling.txt:
3500         Update fast tagreading draft and performance profiling ideas.
3501
3502 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3503
3504         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3505         Don't hold the object lock when unreffing a buffer because it could
3506         cause a deadlock when the finalize function wants to grab the object
3507         lock too. Fixes #495133.
3508
3509 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3510
3511         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3512         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3513         Also accumulate time correctly when doing reverse playback. Fixes
3514         #488201,
3515         When converting to running and stream time, use default values for
3516         start/stop/time/accum when comparing different formats. Fixes #494245.
3517
3518         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3519         Do running/stream time in TIME format.
3520
3521         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3522         (gst_segment_suite):
3523         2 new unit tests for segment accumulation.
3524
3525 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3526
3527         * gst/gst.c: (init_pre):
3528         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3529           (_gst_debug_bin_to_dot_file):
3530           Move getenv() back into gst_init, so everyone can live happily
3531           ever after. Make sure the symbol isn't exported though.
3532
3533 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3534
3535         Patch by: Sebastien Moutte  <sebastien moutte net>
3536
3537         * win32/common/gstenumtypes.c:
3538         * win32/common/gstenumtypes.h:
3539           Update enum types.
3540
3541         * win32/vs6/libgstreamer.dsp:
3542           Update vs6 project files (#494343).
3543
3544 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3545
3546         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3547         (gst_base_src_perform_seek), (gst_base_src_default_event),
3548         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3549         (gst_base_src_activate_pull):
3550         Unify flushing code, remove some old unlock code that is no longer used.
3551         Take the streaming lock when seeking to avoid races. Fixes #492729.
3552         Added some more comments.
3553
3554 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3555
3556         * gst/gst.c: (_gst_disable_segtrap):
3557           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3558           we can use gst_segtrap_is_enabled() there now that we have that API.
3559           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3560           to do the getenv here (and export the variable).
3561
3562         * gst/gstdebugutils.c: (debug_dump_element),
3563           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3564           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3565
3566         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3567           (gst_debug_log_default):
3568           Rename _gst_info_start_time to priv_gst_info_start_time so it
3569           doesn't get exported (was never in any header).
3570
3571         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3572           (gst_plugin_loading_mutex):
3573           Make static mutex gst_plugin_loading_mutex really static (was never
3574           in any header), and use gst_segtrap_is_enabled() instead of
3575           _gst_disable_segtrap.
3576
3577         * gst/gsttrace.c: (_gst_trace_default):
3578           Make local _gst_trace_default static (was never in any header).
3579
3580 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3581
3582         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3583
3584         * win32/common/libgstbase.def:
3585         * win32/common/libgstcontroller.def:
3586         * win32/common/libgstdataprotocol.def:
3587         * win32/common/libgstnet.def:
3588         * win32/common/libgstreamer.def:
3589           Add more missing symbols, remove some duplicates, and sort
3590           as the 'sort' command sorts it (partially fixes #493983).
3591
3592 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3593
3594         * gst/gstelement.c: (gst_element_set_state_func):
3595         Only change the state cookie if a different state was set on the
3596         element. See #492729.
3597
3598 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3599
3600         * gst/gstvalue.c:
3601           Remove unused and uninitialised type variables that were still
3602           exported for some reason (they were never in any header files
3603           though).
3604
3605 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3606
3607         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3608         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3609         (gst_base_sink_event), (gst_base_sink_get_position_last),
3610         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3611         (gst_base_sink_change_state):
3612         Don't try to report a 0 position when we don't know, return -1 and FALSE
3613         instead. This mostly happens when we are prerolling.
3614         Make sure we can report the right position before we post the ASYNC_DONE
3615         message so that a message handler can query position without races.
3616
3617         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3618         (async_done_handoff), (async_done_func), (send_buffer),
3619         (async_done_eos_func), (gst_sinks_suite):
3620         Add two tests for the above.
3621
3622 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3623
3624         * MAINTAINERS:
3625         Update with new email address.
3626
3627         * docs/design/part-TODO.txt:
3628         Add some more info about future pad-block and negotiation changes.
3629
3630         * docs/design/part-buffering.txt:
3631         Add some ideas about buffering reporting.
3632
3633 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
3634
3635         * tests/check/gst/gstobject.c:
3636         Disable silly racy test that always fails on this combination of CPU
3637         and kernel.
3638
3639 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3640
3641         Patch by: Murray Cumming  <murrayc@murrayc.com>
3642
3643         * gst/gstobject.c:
3644           Corrected the registration of the parent-set and parent-unset
3645           signals: The parameter is a GstObject, not a GObject (#493134).
3646
3647 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3648
3649         * gst/gst_private.h:
3650         * gst/gstbuffer.h:
3651         * gst/gstevent.h:
3652         * gst/gstformat.h:
3653         * gst/gstmessage.h:
3654         * gst/gstplugin.h:
3655         * gst/gstquery.h:
3656         * gst/gsttaglist.h:
3657         * gst/gstvalue.h:
3658           Move declaration of private _gst_foo_initialize() functions into
3659           our private header file where they should have been all along.
3660
3661 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3662
3663         * docs/plugins/gstreamer-plugins-sections.txt:
3664         * gst/gstdebugutils.h:
3665         * gst/gstxml.h:
3666         * plugins/elements/gstqueue.c:
3667           gtk-doc fixes; trailing-comma-in-enum fix.
3668
3669 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3670
3671         * gst/gst.c: (gst_deinit):
3672           Clean up on deinit (not the external ones though, doesn't seem to be
3673           needed for some reason).
3674
3675 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3676
3677         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3678           Remove __declspec(dllimport) for MSVC that was copied over into core
3679           from a plugin, obviously without ever having been tested (note the
3680           single underscore in _declspec in the initial commit), and that doesn't
3681           really make sense.  See #492077.
3682
3683 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3684
3685         * gst/gst.c: (init_post):
3686         * gst/gstevent.c: (_gst_event_initialize):
3687         * gst/gstquery.c: (_gst_query_initialize):
3688         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3689           g_type_class_ref() other types as well, see #349410 and #64764.
3690
3691         * gst/gstbuffer.c: (_gst_buffer_initialize):
3692         * gst/gstmessage.c: (_gst_message_initialize):
3693           Simplify existing g_type_class_ref().
3694
3695 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3696
3697         * gst/gstformat.c: (_gst_format_initialize):
3698           g_type_class_ref() our GstFormat type to make sure we avoid the
3699           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3700           bug #64764. Should fix intermittent tee unit test failures (#474823).
3701
3702 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3703
3704         * tests/check/elements/tee.c: (test_num_buffers):
3705           Simplify, simplify, simplify - or not.  Rewrite unit test
3706           not to use gst_parse_launch(); allow N sub-streams. Increasing
3707           the number of sub-streams seems to reproduce #474823 more easily.
3708
3709 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3710
3711         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3712
3713         * gst/gsttrace.c:
3714         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3715         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3716         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3717           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3718           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3719           so use _pipe() directly (#492077).
3720
3721         * win32/common/dirent.c: (_treaddir):
3722           Add a couple of casts to make it build without warnings with MSVC.
3723
3724         * win32/common/libgstreamer.def:
3725           Add some more symbols that need to be exported.
3726
3727 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3728
3729         * tests/examples/metadata/read-metadata.c: (message_loop):
3730           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3731           arriving in a second or third tag message are added to
3732           the tag list as well.
3733
3734 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
3735
3736         * libs/gst/base/gstbasesrc.c:
3737           Its "Since:" and not "@Since:". And remove an superflous cast.
3738
3739 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
3740
3741         * docs/libs/gstreamer-libs-sections.txt:
3742         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3743         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3744         (gst_base_sink_get_property), (gst_base_sink_render_object),
3745         (gst_base_sink_preroll_object),
3746         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3747         (gst_base_sink_change_state):
3748         * libs/gst/base/gstbasesink.h:
3749         Add a new last-buffer property that contains the last buffer used in
3750         basesink for preroll or rendering. useful for making snapshots.
3751         API: gst_base_sink_get_last_buffer()
3752         API: GstBaseSink::last-buffer
3753
3754 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3755
3756         * docs/gst/running.xml:
3757         * gst/gst.c:
3758         * gst/gstdebugutils.c:
3759         * gst/gstdebugutils.h:
3760         * tools/gst-launch.c:
3761           Improve bin graph dumping, by using the envvar to specify a path.
3762           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3763
3764 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
3765
3766         * plugins/elements/gsttypefindelement.c:
3767           (gst_type_find_element_handle_event),
3768           (gst_type_find_element_activate):
3769           Post special error message if we can't determine the type of a stream
3770           because it's empty.
3771
3772 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3773
3774         * docs/gst/running.xml:
3775         * gst/gstdebugutils.c:
3776           Document new env-var. Add one log-line after dumpng a graph.
3777
3778 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
3779
3780         * configure.ac:
3781           Ugly hack to put the (recently removed and non-portable, apparently)
3782           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3783           GNU ld, because without that 'make check' fails miserably on my debian
3784           stable box.  Someone with more knowledge of linker intricacies and
3785           portability issues than me fix this properly please.
3786
3787 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
3788
3789         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3790         Reset last seen position after flushing so that we don't report the old
3791         position anymore.
3792
3793 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3794
3795         * gst/gstelementfactory.c: (gst_element_register):
3796         * gst/gsturi.h:
3797         Patch from Alessandro Decina adding get_type_full and
3798         get_protocols_full private vfuncs to the URIHandler interface
3799         to allow bindings to support creating URI handlers. 
3800         Partially fixes: #339279
3801         API: GstURIHandlerInterface::get_type_full
3802         API: GstURIHandlerInterface::get_protocols_full
3803
3804 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3805
3806         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3807         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3808         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3809         Make it so that pads are considered linked until a buffer is pushed
3810         and discovered otherwise. This avoids problems with decodebin2 hanging
3811         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3812         case.
3813
3814         Make sure we lock the multiqueue when updating the max-size properties.
3815         
3816         Fix a crash on Solaris in a debug statement in get_request_pad that
3817         passes a NULL string to GST_DEBUG. 
3818
3819         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3820         (run_output_order_test):
3821         Fix the test to allow the first buffer on not-linked pads to come out
3822         of sequence while multiqueue discovers that they are not-linked.
3823
3824 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3825
3826         * configure.ac:
3827         * libs/gst/check/Makefile.am:
3828         Use a custom export symbol regex for libgstcheck, as it needs
3829         to export symbols that don't match the standard GStreamer gst_*
3830         pattern, and  --export-dynamic is not portable (only works on 
3831         GNU ld)
3832
3833         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3834         (gst_check_setup_sink_pad):
3835         Make sure to pass a message parameter to the fail_* macros.
3836
3837         * tests/check/gst/gstinfo.c: (GST_START_TEST):
3838         Fix some compiler warnings.
3839
3840 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
3841
3842         * tests/check/gst/gststructure.c: (test_to_string):
3843           Disable test that checks that white spaces are not allowed
3844           in structure names or field names, since we need to
3845           support that for now for backwards compatibility reasons.
3846
3847 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3848
3849         * docs/gst/gstreamer-sections.txt:
3850         * gst/gsttaglist.c:
3851         * gst/gsttaglist.h:
3852           API: add GST_TAG_ARTIST_SORTNAME
3853           API: add GST_TAG_ALBUM_SORTNAME
3854           API: add GST_TAG_TITLE_SORTNAME
3855           Add tag variants for sorting (#414539).
3856
3857 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3858
3859         * gst/gststructure.c:
3860           Also allow white space for names so we don't break
3861           backwards compatibility.
3862
3863 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
3864
3865         * docs/design/part-TODO.txt:
3866         * docs/design/part-segments.txt:
3867         * docs/design/part-streams.txt:
3868         Small updates.
3869
3870 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3871
3872         * docs/gst/gstreamer-sections.txt:
3873          Fixed documentation from my previous commit (added new API add
3874          gst_value_set_structure(), add gst_value_get_structure() and
3875          GST_VALUE_HOLDS_STRUCTURE).
3876
3877 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
3878
3879         * gst/gstdebugutils.c:
3880           Reflow code to fix uninitialized variable warning.
3881
3882 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3883
3884         * gst/gstcaps.c: (gst_caps_to_string),
3885         (gst_caps_from_string_inplace):
3886         * gst/gststructure.c: (gst_structure_get_abbrs),
3887         (gst_structure_to_string), (gst_structure_from_string):
3888         * gst/gstvalue.c: (gst_value_set_structure),
3889         (gst_value_get_structure), (gst_value_serialize_structure),
3890         (gst_value_deserialize_structure), (_gst_value_initialize):
3891         * gst/gstvalue.h:
3892         * tests/check/gst/gststructure.c: (GST_START_TEST),
3893         (gst_structure_suite):
3894         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3895          Added GstStructure to gst_value_table and its related functions.
3896          Changed gst_structure_to_string to print ';' in the end.
3897          Changed gst_caps_to_string to not print ';' beteween its
3898          fields (structures) anymore and remove the lastes ';' from latest
3899          structure. Now it is possible to have nested structures.
3900          In addition, backward compatibilty is assured by accepting '\0' as
3901          end delimiter. Fixes: #487969.
3902          API: add gst_value_set_structure()
3903          API: add gst_value_get_structure()
3904          API: add GST_VALUE_HOLDS_STRUCTURE
3905
3906 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
3907
3908         * gst/gstbus.c:
3909           When no GSource callback has been set up, tell developer
3910           to use a function that actually exists.
3911
3912 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
3913
3914         * docs/gst/gstreamer-sections.txt:
3915         * gst/Makefile.am:
3916         * gst/gst.c:
3917         * gst/gst.h:
3918         * gst/gstdebugutils.c:
3919         * gst/gstdebugutils.h:
3920         * gst/gstinfo.c:
3921         * gst/gstinfo.h:
3922         * tools/gst-launch.c:
3923           Allow dumping pipelines as dot graphs. Fixes #456573.
3924
3925 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3926
3927         * gst/gststructure.c:
3928           Allow '+' as well, it can be part of media or mime types
3929           such as image/svg+xml.
3930
3931 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3932
3933         * docs/gst/gstreamer-sections.txt:
3934         * gst/gstbus.c:
3935         * gst/gstbus.h:
3936           API: add gst_bus_pop_filtered
3937           API: add gst_bus_timed_pop_filtered
3938           Two new functions for waiting for specific message types on the
3939           bus for a specified amount of time without iterating any main
3940           loops or main contexts.
3941
3942         * tests/check/gst/gstbus.c:
3943           Some tests for the new functions.
3944
3945 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3946
3947         * docs/libs/gstreamer-libs-sections.txt:
3948           Make gtk-doc ignore stuff it should ignore.
3949
3950 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3951
3952         * libs/gst/check/gstcheck.c:
3953         * libs/gst/check/gstcheck.h:
3954           Allow runtime selection of unit tests to run via the GST_CHECKS
3955           environment variable (test case function names, comma-separated).
3956
3957 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
3958
3959         * gst/gststructure.c:
3960         * tests/check/gst/gststructure.c:
3961           Revert serialisation change and constrain structure-names after
3962           consensus on irc. Update api documentation to reflect the change.
3963
3964 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
3965
3966         * gst/gststructure.c:
3967           Improve serialization and fix tests.
3968
3969         * tests/check/gst/gststructure.c:
3970           Add another test that covers why I actually did the previous structure
3971           change.
3972
3973 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
3974
3975         * tools/gst-inspect.c: (print_element_info):
3976         Don't crash when inspecting an element.
3977
3978 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3979
3980         * tests/check/gst/gststructure.c:
3981           Add unit test for escaping of structure name when serialising
3982           and deserialising to/from strings.
3983
3984 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
3985
3986         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3987         (gst_single_queue_new):
3988         * plugins/elements/gstqueue.c: (gst_queue_init),
3989         (gst_queue_push_one):
3990         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
3991         upstream is tricked into thinking it can suggest a format downstream
3992         while downstream does not support that format. The real problem is that
3993         core calls acceptcaps when pushing a buffer with new caps, for which we
3994         do a little workaround by setting the caps on the srcpad ourselves
3995         before pushing the buffer (until this is figured out). Fixes #486758.
3996
3997 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
3998
3999         * gst/gststructure.c:
4000         * gst/gstvalue.c:
4001           Add some more comments and debug output. Quote structure name to fix
4002           deserialisation of some strings.
4003
4004 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4005
4006         * gst/gstbuffer.h:
4007           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4008           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4009
4010 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4011
4012         * tools/gst-inspect.c:
4013           Save approx. 400 1 byte allocs when printing. Use API to acces element
4014           details.
4015
4016         * tools/gst-run.c:
4017           Avoid a strdup.
4018
4019         * tools/gst-xmlinspect.c:
4020           Use API to acces element details.
4021
4022 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4023
4024         * gst/gstinfo.c:
4025           Fix some spelling errors.
4026
4027 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4028
4029         * gst/gstbin.c: (bin_handle_async_done):
4030         Correctly set the next state if all of our async children commited their
4031         state. This makes sure we can actually cancel the state change in
4032         progress. Fixes a regression in Rhythmbox when seeking.
4033
4034 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4035
4036         * gst/gstbin.c:
4037           Don't shadow local variable.
4038
4039         * gst/gstinfo.c:
4040           Don't shadow global function name.
4041
4042 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4043
4044         * gst/gstelementfactory.c:
4045         * gst/gstpluginfeature.c:
4046         * gst/gstpluginfeature.h:
4047         * gst/gstregistrybinary.c:
4048         * gst/gstregistryxml.c:
4049         * gst/gsttypefind.c:
4050           Use already-interned string for the private GstPluginFeature
4051           plugin_name field.
4052
4053 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4054
4055         * docs/libs/gstreamer-libs-sections.txt:
4056           Add new API to docs; fixes the build.
4057
4058 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4059         
4060         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4061
4062         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4063         (gst_base_sink_event):
4064         * libs/gst/base/gstbasesink.h:
4065         Add function to wait for EOS, subclasses can use this to correctly wait
4066         for devices to drain before performing the EOS logic. Fixes #485343.
4067         API: gst_base_sink_wait_eos()
4068
4069 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4070
4071         * gst/gstplugin.h:
4072           Cast description string constants in GST_PLUGIN_DEFINE macros
4073           to a (gchar*) to make C++ code using these macros compile
4074           without warning with g++-4.2 (see #462737).  Even if slightly
4075           ugly, this seems preferable to putting the description strings
4076           into the GLib quark table or making the structure member a
4077           const gchar * and doing casts in core code that allocs and
4078           frees these strings, or requiring a cast in the C++ code.
4079
4080 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4081
4082         * gst/gstinfo.h:
4083           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4084           to print the entire class/function signature into the log
4085           file for C++ code.  This only affects C++ code, for C code
4086           everything remains the same.
4087
4088 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4089
4090         * gst/gstbin.c: (remove_from_queue):
4091         Work around a problem with pipelines containing (semi)loops until a
4092         proper, more complicated solution is ready. See #475455.
4093
4094 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4095
4096         * gst/gstplugin.c:
4097         * gst/gstplugin.h:
4098         * gst/gstregistrybinary.c:
4099         * gst/gstregistryxml.c:
4100           Put more strings into the GLib quark table. No need to keep
4101           a hundred-something copies of identical version strings,
4102           license strings, package name strings and package origin
4103           strings around. 
4104
4105 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4106
4107         * docs/manual/advanced-dataaccess.xml:
4108           Don't imply that it's okay to unconditionally change
4109           buffer data or buffer metadata in a pad probe callback,
4110           and a bunch of other comments. Fixes #430031.
4111
4112 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4113
4114         * win32/common/gstenumtypes.c:
4115         * win32/common/gstenumtypes.h:
4116         * win32/common/gstversion.h:
4117           Update generated files.
4118
4119 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4120
4121         * docs/manual/advanced-autoplugging.xml:
4122           Prefix section with broken code with a warning (see #342432).
4123
4124 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4125
4126         * docs/manual/appendix-integration.xml:
4127         * docs/manual/basics-init.xml:
4128           Call g_thread_init() before g_option_context_new() to
4129           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4130
4131 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4132
4133         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4134         (gst_base_sink_queue_object_unlocked),
4135         (gst_base_sink_queue_object), (gst_base_sink_event),
4136         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4137         When we received EOS and are waiting for when to post the EOS message,
4138         our state is prerolled and we should not return ASYNC.
4139         Reorganize some code paths to implement this behavior.
4140
4141         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4142         (gst_sinks_suite):
4143         Add unit test to verify above EOS fix.
4144
4145 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4146
4147         * plugins/elements/gsttypefindelement.c:
4148         (gst_type_find_element_have_type), (gst_type_find_element_init),
4149         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4150         Move detecting the input caps of the sinkpad to the setcaps function.
4151         This allows us to update the output caps when we receive new input caps
4152         instead of always using the first detected caps.
4153
4154 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4155
4156         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4157         (gst_base_sink_get_position):
4158         Don't try to preroll non-async elements after a flush.
4159         Subtract latency form clock times when reporting position.
4160
4161 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4162
4163         * gst/gstpad.c: (gst_pad_pause_task):
4164         * gst/gstutils.c:
4165         Small comment and documentation update.
4166
4167 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4168
4169         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4170         (gst_base_src_set_live), (gst_base_src_is_live),
4171         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4172         (gst_base_src_default_event), (gst_base_src_wait),
4173         (gst_base_src_do_sync), (gst_base_src_get_range),
4174         (gst_base_src_pad_get_range), (gst_base_src_loop),
4175         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4176         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4177         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4178         (gst_base_src_change_state):
4179         Rework the locking of basesrc in a similar fashion to basesink. We
4180         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4181         us to handle live sources and semi live ones much better.
4182         Simplify flushing.
4183         Fix unlocking when seeking, shutting down and pausing in live sources.
4184
4185 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4186
4187         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4188         Fix compilation again.
4189
4190 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4191
4192         * gst/gstelement.c:
4193           Use meaningful categories for the logs to clean the default one.
4194
4195 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4196
4197         * tests/check/pipelines/cleanup.c:
4198           Print message name and not just number.
4199
4200 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4201
4202         * docs/design/draft-tagreading.txt:
4203           Add some more thoughts.
4204
4205 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4206
4207         * tests/check/pipelines/simple-launch-lines.c:
4208           Print message name and not just number.
4209
4210 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4211
4212         * libs/gst/base/gsttypefindhelper.c:
4213           Speedup typefinding. This is work in progress (see #459862).
4214
4215 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4216
4217         * gst/gstplugin.c:
4218           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4219           Spotted by Josep Torra Valles <josep@fluendo.com>.
4220
4221 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4222
4223         * gst/gstclock.h:
4224           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4225           field has moved to GstObject.
4226
4227 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4228
4229         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4230         (gst_base_src_get_range), (gst_base_src_change_state):
4231         Call unlock for live sources so that they can't get stuck in _create and
4232         produce a buffer before they are set back to PLAYING.
4233
4234 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4235
4236         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4237         (gst_queue_locked_dequeue):
4238         Comment the segment-related code... in the PROPER function.
4239         See #482147 and my commit from yesterday.
4240
4241 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4242
4243         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4244         Also initialize the counter that calculates the first timestamp on a
4245         buffer correctly for non-live sources.
4246
4247 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4248
4249         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4250         Disable code that's breaking the current-time-level reporting.
4251         See #482147
4252
4253 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4254
4255         * docs/gst/gstreamer-sections.txt:
4256         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4257         as they shouldn't show up. Fixes the docs build.
4258
4259 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4260         
4261         * gst/gstinfo.h:
4262         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4263         Define M_PI which is used in files which are including gstinfo.h. 
4264         VS6 includes doesn't define it.
4265         * win32/common/libgstbase.def:
4266         * win32/common/libgstcontroller.def:
4267         * win32/common/libgstreamer.def:
4268         Add new exported functions and variables.
4269         * win32/vs6/libgstcontroller.dsp:
4270         * win32/vs6/libgstreamer.dsp:
4271         Update the list of files to build.
4272         
4273 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4274
4275         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4276
4277         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4278         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4279         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4280         Improve debugging. Fixes #480858.
4281
4282 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4283
4284         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4285
4286         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4287         First patch of code cleanups, use the macros and right arguments in the
4288         macros to signal and lock the queue. See #480858.
4289
4290 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4291
4292         * gst/gstbus.c: (poll_func):
4293         Improve debugging when dealing with _poll().
4294
4295 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4296
4297         * gst/gstregistryxml.c:
4298           Fix memory leak I introduced a few days ago.
4299
4300 2007-09-26  Michael Smith <msmith@fluendo.com>
4301
4302         * gst/gstbuffer.c: (gst_buffer_finalize):
4303           Make it once again possible to free GstBuffers in the default
4304           build.
4305           The poisoning scribbles on parts of the miniobject we need in
4306           order to free it.
4307           Fixes #480341
4308
4309 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4310
4311         * docs/gst/gstreamer-sections.txt:
4312         * gst/gsttaglist.c:
4313         * gst/gsttaglist.h:
4314         API: add GST_TAG_COMPOSER, fixes #459809.
4315
4316 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4317
4318         * gst/gstplugin.c:
4319         * gst/gstplugin.h:
4320         Add the 3-clause BSD license and the MIT/X11 license to the license
4321         list. Fixes #479784.
4322
4323 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4324
4325         * docs/faq/getting.xml:
4326           Add Q+A about different GStreamer versions (#364056).
4327
4328 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4329
4330         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4331         (gst_base_sink_event), (gst_base_sink_change_state):
4332         Return correct gboolean from query function.
4333
4334 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4335
4336         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4337         (gst_base_sink_event), (gst_base_sink_query),
4338         (gst_base_sink_change_state):
4339         Simplify latency query.
4340         When not synchronizing, we can report latency without querying the peer
4341         element.
4342
4343 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4344
4345         * gst/gstobject.h:
4346         * gst/gstvalue.c:
4347         Fix small typos in the docs.
4348
4349 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4350
4351         * docs/design/draft-latency.txt:
4352         * docs/design/draft-push-pull.txt:
4353         * docs/design/draft-tagreading.txt:
4354         * docs/design/part-MT-refcounting.txt:
4355         * docs/design/part-activation.txt:
4356         * docs/design/part-block.txt:
4357         * docs/design/part-element-source.txt:
4358         * docs/design/part-events.txt:
4359         * docs/design/part-gstbin.txt:
4360         * docs/design/part-gstelement.txt:
4361         * docs/design/part-gstobject.txt:
4362         * docs/design/part-gstpipeline.txt:
4363         * docs/design/part-messages.txt:
4364         * docs/design/part-preroll.txt:
4365         * docs/design/part-push-pull.txt:
4366         * docs/design/part-qos.txt:
4367         * docs/design/part-query.txt:
4368         * docs/design/part-scheduling.txt:
4369         * docs/design/part-seeking.txt:
4370         * docs/design/part-segments.txt:
4371         * docs/design/part-states.txt:
4372         Documentation updates and typo fixes.
4373
4374 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4375
4376         * plugins/elements/gstfakesink.c:
4377           Add some debug text to error message to indicate that
4378           we errored out on request.
4379
4380         * tools/gst-launch.c:
4381           When the state change to PLAYING fails, check for an
4382           error message on the bus and print it.
4383
4384 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4385
4386         translated by: Jorge González González <aloriel@gmail.com>
4387
4388         * po/LINGUAS:
4389         * po/es.po:
4390           Added Spanish translation.
4391
4392 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4393
4394         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4395         Fix printf arguments.
4396
4397 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4398
4399         * tests/check/generic/states.c:
4400           Improved state change unit test.
4401
4402 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4403
4404         * gst/gstbin.h:
4405           Move priv to the right place.
4406
4407         * gst/gstsystemclock.c:
4408           Add FIXME: and improve log.
4409
4410         * tests/check/Makefile.am:
4411         * tests/examples/manual/Makefile.am:
4412           Work with all types of registries.
4413
4414 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4415
4416         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4417         Don't unref the event after pushing it. Fixes #478401.
4418
4419 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4420
4421         * .cvsignore:
4422         * tests/examples/manual/.cvsignore:
4423           Ignore registries in any format.
4424
4425 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4426
4427         * gst/glib-compat-private.h:
4428           Add compatibility macro for g_intern_string() for
4429           GLib-2.8 (any reason we can't just bump the
4430           requirement to at least 2.10?)
4431
4432         * gst/gstpadtemplate.h:
4433         * gst/gstelementfactory.c:
4434         * gst/gstregistryxml.c:
4435         * gst/gstregistrybinary.c:
4436           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4437           up the internal code accordingly.  This shouldn't be a problem, since
4438           there is no reason external code could ever assume the string in such
4439           a structure is dynamically allocated unless it did that itself;  the
4440           use of g_strdup() is private to element factories.  The new code also
4441           saves some memory by putting pad template name strings into the GLib
4442           quark table instead of allocating them dynamically.
4443           Declaring this field constant fixes warnings with g++-4.2 when using
4444           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4445
4446 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4447
4448         * gst/gstelementfactory.c:
4449           Release static caps. Fixes #475723.
4450
4451 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4452
4453         * gst/gstinfo.c:
4454         * gst/gstinfo.h:
4455           Make some internal API take const gchar * instead of just
4456           gchar * to avoid compiler warnings with g++-4.2.2 when
4457           passing string constants (partially fixes #478092).
4458
4459 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4460
4461         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4462         A latency query fails when one of the sinks fail.
4463
4464         * gst/gstelement.c: (gst_element_set_base_time):
4465         Improve debugging.
4466
4467 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4468
4469         * gst/gstbin.c: (gst_bin_continue_func):
4470         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4471         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4472         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4473
4474         Fix minor compilation warnings shown with Forte.
4475
4476 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4477
4478         * plugins/elements/gstqueue.c: (apply_buffer),
4479         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4480         Measure queue level based on the diff between head and tail timestamps
4481         even when pushing the first buffer.
4482
4483 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4484
4485         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4486         (gst_base_sink_event), (gst_base_sink_change_state):
4487         Sinks that don't preroll can always be queried for the latency.
4488         Don't post ASYNC start when we are not async.
4489
4490 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4491
4492         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4493         (gst_queue_handle_sink_event), (gst_queue_chain),
4494         (gst_queue_push_one), (gst_queue_handle_src_query),
4495         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4496         * plugins/elements/gstqueue.h:
4497         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4498         push more buffers but allow pushing of EOS and NEWSEGMENT.
4499         Add some more debug info here and there. Fixes #476514.
4500
4501 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4502
4503         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4504         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4505         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4506         (gst_base_sink_set_flushing), (gst_base_sink_query),
4507         (gst_base_sink_change_state):
4508         Latency query is allowed after we are prerolled. Introduce a new flag
4509         for this and stop abusing other variables.
4510
4511 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4512
4513         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4514         Push OOB events downstream when we get them in send_event. This allows
4515         the application to insert events in the pipeline.
4516         Add some more comments.
4517
4518 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4519
4520         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4521         (do_bin_latency), (gst_bin_change_state_func):
4522         * gst/gstpipeline.c: (gst_pipeline_change_state):
4523         Move latency query from GstPipeline to GstBin so that we can also
4524         use it when async-handling is enabled on bins.
4525
4526 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4527
4528         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4529         (gst_base_src_do_sync), (gst_base_src_change_state):
4530         Update docs.
4531         Clean up the timestamping and syncing code for pseudo live sources.
4532
4533 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4534
4535         Patch by: Steve Fink  <sphink gmail com>
4536
4537         * docs/manual/appendix-checklist.xml:
4538           Mention less -R switch in the section about debug output (#474055).
4539
4540 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4541
4542         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4543         Queue can latency to the pipeline up to the configured max size in time.
4544         Report this fact in the latency query.
4545
4546 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4547
4548         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4549
4550         * libs/gst/controller/gstinterpolation.c:
4551         * libs/gst/controller/gstlfocontrolsource.c:
4552         Use gst_guint64_to_gdouble() when converting from a uint64 or
4553         GstClockTime to double to fix the build on win32. Fixes #474371.
4554
4555 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4556
4557         * gst/gstbuffer.c: (gst_buffer_finalize):
4558         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4559         When finalizing a buffer the complete struct is filled with 0xff,
4560         thus making a use of the buffer after the final unref impossible.
4561
4562 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4563
4564         * tests/check/libs/controller.c: (GST_START_TEST):
4565         Use fail_unless_equals_int(a, b) instead of
4566         fail_unless_equals (a == b) to get better output on failures.
4567
4568 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4569
4570         * tests/check/gst/gsturi.c:
4571           Also check for the other file URI variant on win32.
4572
4573 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4574
4575         * gst/gsturi.c: (gst_uri_get_location):
4576           If there's no hostname, we want to return 'c:/foo/bar.txt'
4577           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4578
4579         * tests/check/gst/gsturi.c:
4580           Unit test for the above and a few more things.
4581
4582 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4583
4584         * docs/design/part-live-source.txt:
4585         Add docs on how live sources should timestamp.
4586
4587         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4588         Add some more debug info.
4589         For subclasses that are live and like to sync, add aditional startup
4590         latency to sync time and timestamps so that we timstamp according to the
4591         design doc.
4592
4593 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4594
4595         * gst/gstbuffer.c:
4596           Also do a g_type_class_ref() for the subbuffer type in
4597           the init function.
4598
4599 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4600
4601         * docs/gst/gstreamer-sections.txt:
4602         * gst/gstpad.c: (gst_pad_peer_query):
4603         * gst/gstpad.h:
4604         Add function to perform a query on the peer of a pad.
4605         API: gst_pad_peer_query()
4606
4607 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4608
4609         * tests/check/gst/gstsystemclock.c:
4610           Cleanup the test a little (use gst-logging and not g_message). Improve
4611           test to check if a wait reached the target.
4612
4613 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4614
4615         * docs/libs/gstreamer-libs-sections.txt:
4616           Add new API to docs and fix the build.
4617
4618 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
4619
4620         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4621         (gst_base_src_init), (gst_base_src_set_do_timestamp),
4622         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4623         (gst_base_src_get_property), (gst_base_src_do_sync):
4624         * libs/gst/base/gstbasesrc.h:
4625         Add property to make the basesrc timestamp buffers based on the current
4626         running time.
4627         API: GstBaseSrc::do-timestamp
4628         API: gst_base_src_set_do_timestamp()
4629         API: gst_base_src_get_do_timestamp()
4630
4631 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
4632
4633         * docs/random/release:
4634           Really make sure translations are up-to-date before
4635           a release (#465010).
4636
4637 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
4638
4639         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4640         Always destroy the timer, also in error cases.
4641
4642 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4643
4644         * docs/manual/highlevel-xml.xml:
4645         Fix XML example code. Fixes #472714.
4646
4647 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4648
4649         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4650         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4651         (gst_base_sink_query):
4652         Protect eos and have_preroll with the OBJECT lock so we don't need to
4653         take the PREROLL lock when querying the latency. Fixes #473846.
4654
4655 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
4656
4657         * gst/gstelement.c:
4658           Give some log-messages a category.
4659
4660 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
4661
4662         * gst/gststructure.c:
4663         (gst_structure_fixate_field_nearest_fraction):
4664         Fix fraction list fixation code. Take the fraction with the smallest
4665         difference with the target instead of the first one in the list.
4666
4667         * tests/check/gst/gststructure.c: (GST_START_TEST),
4668         (gst_structure_suite):
4669         Added test to verify correct fraction list fixation behaviour.
4670
4671 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
4672
4673         * win32/common/libgstreamer.def:
4674           Export gst_bus_add_signal_watch too.
4675
4676 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
4677
4678         * docs/libs/gstreamer-libs-sections.txt:
4679         Add new methods to docs.
4680
4681         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4682         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4683         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4684         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4685         * libs/gst/base/gstbasesink.h:
4686         Add ts-offset property to fine-tune the synchronisation.
4687         API: GstBaseSink::ts-offset property
4688         API: gst_base_sink_set_ts_offset()
4689         API: gst_base_sink_get_ts_offset()
4690
4691 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
4692
4693         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4694         (gst_base_sink_init), (gst_base_sink_set_sync),
4695         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4696         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4697         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4698         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4699         (gst_base_sink_get_property), (gst_base_sink_change_state):
4700         * libs/gst/base/gstbasesink.h:
4701         Add async property to instruct the sink never to inform the parent about
4702         ASYNC state changes, update docs.
4703         Check argument with g_return_* for the public functions.
4704         API: GstBaseSink::async property
4705         API: gst_base_sink_set_async_enabled()
4706         API: gst_base_sink_is_async_enabled()
4707
4708 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
4709
4710         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4711         Improve debugging.
4712
4713         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4714         (gst_base_src_default_query), (gst_base_src_wait),
4715         (gst_base_src_do_sync), (gst_base_src_change_state):
4716         Rearrange some code so that we can add support for measuring the 
4717         startup latency.
4718
4719 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
4720
4721         * docs/random/ensonic/dynlink.txt:
4722           More thoughs on this.
4723
4724         * plugins/elements/gstcapsfilter.c:
4725           Add bugzilla ticket number to FIXME comment.
4726
4727 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
4728
4729         * docs/design/part-TODO.txt:
4730         * docs/design/part-block.txt:
4731         Update some docs.
4732
4733 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4734
4735         * gst/Makefile.am:
4736           Revert patch which uses $(gst_headers) instead of $^ because it
4737           breaks make dist.
4738
4739 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4740
4741         * tests/check/gst/gstbin.c: (GST_START_TEST):
4742           Fix leaks in the new unit test.
4743
4744 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
4745
4746         * gst/gst.c:
4747           Don't use GST_INFO before the debug system is actually initialised
4748           (shouldn't do any harm, but won't print anything either, so we can
4749           just as well remove it).
4750
4751         * gst/gstinfo.h:
4752           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4753           compilers that don't support variadic macros (such as MSVC), should
4754           check for debug_level <= __gst_debug_min as well, since that's the
4755           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4756           inline helper functions. Should improve performance a bit, but also
4757           makes sure uses of GST_INFO et.al are ignored if the debugging
4758           system isn't initialised yet (instead of printing an assertion
4759           failure).
4760
4761 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
4762
4763         patch by: David Nečas <yeti@physics.muni.cz>
4764
4765         * gst/Makefile.am:
4766           Replace some non portable makefile constructs.
4767
4768 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
4769
4770         * common/gtk-doc-plugins.mak:
4771           Grrrrr. Don't remove the types file on make clean.
4772
4773 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
4774
4775         * tools/gst-launch.1.in:
4776         Add colorspace to example pipeline. Fixes #458274.
4777
4778 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
4779
4780         * docs/random/release:
4781           The release manager should run 'make download-po' before making a
4782           release to make sure translations are up-to-date.
4783
4784         * po/LINGUAS:
4785         * po/be.po:
4786         * po/pl.po:
4787         * po/rw.po:
4788           Add some new translations.
4789
4790 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
4791
4792         * tools/gst-launch.c: (event_loop), (main):
4793         Don´t try to do any state management when a live pipeline posts
4794         buffering messages.
4795         Also make the buffering string translatable.
4796
4797 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4798
4799         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4800         (bin_handle_async_start), (gst_bin_handle_message_func):
4801         Improve debugging.
4802         When adding elements, insert messages into the bus of the newly added
4803         element and make sure the element is the source of the message. This
4804         allows the parent bin to intercept the message and do the
4805         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4806         messages to the app (which is not allowed).
4807         Update some docs.
4808
4809         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4810         Fix testsuite so that is does not work around messages that should not
4811         have been posted in the first place.
4812
4813 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4814
4815         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4816         (update_degree), (gst_bin_sort_iterator_next):
4817         Fix annoying bug in the sorted iterator where a sink that is not really
4818         a sink (when it has downstream links) screwed up the iterator.
4819
4820         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4821         Unit test to verify the fix.
4822
4823 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4824
4825         * gst/gstmessage.h:
4826         Add some more docs for the messages.
4827
4828         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4829         (gst_base_sink_query):
4830         Add some more debugging.
4831
4832         * tools/gst-launch.c: (event_loop):
4833         When interrupting, don't try to set pipeline to PAUSED twice.
4834
4835 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4836
4837         
4838         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4839         (bin_handle_async_start), (gst_bin_handle_message_func):
4840         Move ASYNC_START message posting to where it belongs, similar to
4841         async_done. 
4842         Don't post ASYNC_START when we are in error. 
4843         Post ASYNC_START when we added an async element to a bin.
4844
4845 2007-08-14  Julien MOUTTE  <julien@moutte.net>
4846
4847         * gst/gstindex.c: (gst_index_add_association): Fix index entry
4848         generation from vargs. Fixes #466595.
4849
4850 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4851
4852         * gst/gstbin.c: (gst_bin_element_set_state):
4853         Always change the state of a NO_PREROLL element even if it has ASYNC
4854         elements inside (in case of a bin).
4855
4856         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4857         Unit test for this case.
4858
4859 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
4860
4861         * libs/gst/check/gstbufferstraw.c:
4862         * libs/gst/check/gstcheck.h:
4863         * libs/gst/controller/gstcontroller.c:
4864         * libs/gst/controller/gstcontrolsource.h:
4865         * libs/gst/controller/gstlfocontrolsource.h:
4866         * plugins/elements/gstcapsfilter.h:
4867         * plugins/elements/gstfdsink.h:
4868         * plugins/elements/gstfdsrc.h:
4869           Add more missing docs.
4870
4871 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4872
4873         * gst/gststructure.c:
4874         Add Since tag to docs.
4875
4876 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4877
4878         * docs/gst/gstreamer-sections.txt:
4879         * gst/gststructure.c: (gst_structure_get_uint):
4880         * gst/gststructure.h:
4881         Add function to get uint from a structure.
4882         API: gst_structure_get_uint()
4883
4884 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4885
4886         * gst/gstcaps.c: (gst_caps_set_simple_valist),
4887         (gst_caps_intersect):
4888         Fix proper check for simple caps.
4889
4890 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
4891
4892         * docs/gst/Makefile.am:
4893         * docs/libs/Makefile.am:
4894           Remove cruft and do some cleanups.
4895
4896         * docs/gst/gstreamer-docs.sgml:
4897         * docs/libs/gstreamer-libs-docs.sgml:
4898           Prepare for comming gtkdoc features (rebase against online docs).
4899
4900 2007-08-10  Michael Smith <msmith@fluendo.com>
4901
4902         * docs/gst/gstreamer-sections.txt:
4903           Add gst_registry_add_path to docs.
4904
4905 2007-08-10  Michael Smith <msmith@fluendo.com>
4906
4907         * gst/gstregistry.h:
4908           Add gst_registry_add_path, which was missing from this header.
4909
4910 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
4911
4912         * libs/gst/controller/gstlfocontrolsource.c:
4913           Printf format fix.
4914
4915 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
4916
4917         * libs/gst/base/gstbasesink.c:
4918           Don't send an async_start message during downwards state change if 
4919           target state is less than READY
4920
4921 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4922
4923         translated by: Gabor Kelemen <kelemeng@gnome.hu>
4924
4925         * po/LINGUAS:
4926         * po/hu.po:
4927           Added Hungarian translation.
4928
4929 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4930
4931         * po/fi.po:
4932         * po/it.po:
4933         * po/nl.po:
4934         * po/sv.po:
4935         * po/uk.po:
4936           Updated translations.
4937
4938 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
4939
4940         * libs/gst/controller/Makefile.am:
4941         Dist gstlfocontrolsourceprivate.h
4942
4943 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
4944
4945         * docs/libs/gstreamer-libs.types:
4946         Don't register the enum type gst_lfo_waveform_get_type() in the
4947         .types file - only GObject derived types belong.
4948
4949 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
4950
4951         Patch by: <arenevier at fdn dot fr>
4952
4953         * gst/gstbuffer.h:
4954         Remove comma from last element in enum to avoid compile errors when
4955         using -pendantic. Fixes #464366.
4956
4957 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
4958
4959         * docs/design/part-TODO.txt:
4960         Add some more TODO items
4961
4962         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
4963         Improve debugging.
4964
4965         * gst/gstcaps.c: (gst_caps_intersect):
4966         Optimize trivial intersection case between identical caps pointers.
4967
4968         * gst/gstelement.c: (gst_element_continue_state),
4969         (gst_element_set_state_func):
4970         * gst/gstpad.c:
4971         Fix spelling and grammar mistakes.
4972
4973 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
4974
4975         * po/POTFILES.in:
4976         * po/POTFILES.skip:
4977           Update POTFILES. Fixes #461599.
4978
4979 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
4980
4981         * gst/gst.c:
4982         Fix confusing typo in debug output.
4983
4984 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
4985
4986         reviewed by: Stefan Kost <ensonic@users.sf.net>
4987
4988         * libs/gst/controller/Makefile.am:
4989         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
4990         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
4991         (gst_lfo_control_source_new),
4992         (gst_lfo_control_source_set_waveform),
4993         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
4994         (gst_lfo_control_source_finalize),
4995         (gst_lfo_control_source_dispose),
4996         (gst_lfo_control_source_set_property),
4997         (gst_lfo_control_source_get_property),
4998         (gst_lfo_control_source_class_init):
4999         * libs/gst/controller/gstlfocontrolsource.h:
5000         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5001         API: Add GstLFOControlSource, a control source that gives values
5002         for specific timestamps based on several periodic waveforms.
5003         Fixes #459717.
5004
5005         * tests/check/libs/controller.c: (GST_START_TEST),
5006         (gst_controller_suite):
5007         * docs/libs/gstreamer-libs-docs.sgml:
5008         * docs/libs/gstreamer-libs-sections.txt:
5009         * docs/libs/gstreamer-libs.types:
5010         Add documentation and unit tests for GstLFOControlSource.
5011
5012 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5013
5014         * configure.ac:
5015         Back to CVS
5016
5017 === release 0.10.14 ===
5018
5019 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5020
5021         * configure.ac:
5022           releasing 0.10.14, "Breathing Vacuum"
5023
5024 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5025
5026         * gst/gstelement.c: (gst_element_class_set_details_simple):
5027         * gst/gstelement.h:
5028           Make strings passed to gst_element_class_set_details_simple()
5029           constant, as they should be (#462752).
5030
5031 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5032
5033         * gst/gstbin.c: (gst_bin_change_state_func),
5034         (bin_handle_async_done), (gst_bin_handle_message_func):
5035         Don't forget about the fact that some element went ASYNC even after a
5036         resync. This makes us post the ASYNC_DONE message correctly.
5037         Fixes #462558.
5038
5039 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5040
5041         * gst/gstregistry.c: (gst_registry_add_feature):
5042         When replacing an existing feature in the registry, make sure to
5043         continue holding a reference until we've replaced the name string
5044         within our feature hash table. Make sure to use g_hash_table_replace
5045         instead of g_hash_table_insert to ensure the new name string is used
5046         as a key instead of the old one that we're about to free.
5047         Fixes: #462085
5048
5049 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5050
5051         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5052         (gst_plugin_feature_set_name):
5053         Revert patch from #459466 until after the release and we can work
5054         out exactly what the problem is (if any).
5055
5056 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5057
5058         * docs/gst/gstreamer-sections.txt:
5059         * gst/gsttaglist.c:
5060         * gst/gsttaglist.h:
5061           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5062
5063 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5064
5065         * docs/libs/Makefile.am:
5066         Include our build-prefix libs and includes before the generic ones to
5067         avoid linking against the installed libs when we want the build-tree
5068         ones.
5069
5070 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5071
5072         Patch by: Steve Fink  <sphink gmail com>
5073
5074         * docs/pwg/building-testapp.xml:
5075           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5076           if people try to build or install the example from the plugin
5077           template against a GStreamer from package using the configure
5078           defaults.
5079
5080 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5081
5082         Patch by: Steve Fink  <sphink gmail com>
5083
5084         * tools/gst-inspect.1.in:
5085           Document --print-all and --print-plugin-auto-install-info command
5086           line options in man page.
5087
5088 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5089
5090         * docs/gst/gstreamer-sections.txt:
5091         Add docs for new api function.
5092
5093 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5094
5095         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5096         * gst/gstelementfactory.h:
5097         API: gst_element_factory_has_interface()
5098         Added method to check if an element factory implements a named
5099         interface.
5100
5101 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5102
5103         * configure.ac:
5104         * docs/gst/gstreamer.types.in:
5105           Another conditional doc check.
5106
5107         * gst/gstmessage.c:
5108         * gst/gstparamspecs.h:
5109         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5110         * gst/gstvalue.c:
5111         * gst/gstxml.h:
5112           API-doc fixes.
5113
5114 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5115
5116         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5117         (gst_registry_binary_load_feature),
5118         (gst_registry_binary_load_plugin),
5119         (gst_registry_binary_read_cache):
5120           Print error just once and with additional info.
5121
5122 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5123
5124         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5125         (helper_find_suggest), (helper_find_get_length),
5126         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5127         (gst_type_find_helper_for_buffer):
5128           Cleanup the typefindhelper code and add private doc comments.
5129
5130 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5131
5132         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5133         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5134         Fix capsfilter for cases where the caps set on capsfilter will provide
5135         additional information.
5136         Fixes #449197
5137
5138 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5139
5140         * gst/gsttypefindfactory.c:
5141           Fix docs that recommened wrong function to use.
5142
5143 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5144
5145         * tools/gst-inspect.c: (print_plugin_features):
5146           Also give media-type for typefinders in element output.
5147
5148 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5149
5150         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5151         (gst_registry_remove_features_for_plugin_unlocked),
5152         (gst_registry_add_feature), (gst_registry_remove_feature),
5153         (gst_registry_lookup_feature_locked):
5154         * gst/gstregistry.h:
5155           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5156           Fixes #459501.
5157
5158 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5159
5160         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5161         (gst_plugin_feature_set_name):
5162           Avoid double memory usage for pluginfeature names. Fixes #459466.
5163
5164 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5165
5166         * gst/gstpad.h:
5167           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5168           driving the pipeline may need to explicitly check for NOT_LINKED as
5169           well, since IS_FATAL doesn't cover that.
5170
5171 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5172
5173         * docs/pwg/advanced-types.xml:
5174           Fix typo and duplicate entry in video formats list.
5175
5176 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5177
5178         * libs/gst/controller/gstinterpolation.c:
5179         Also round to the nearest int when using cubic interpolation.
5180
5181 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5182
5183         * libs/gst/controller/gstinterpolation.c:
5184         When linearly interpolating integer types, round to the nearest int
5185         by adding 0.5. Don't do it for float/double types.
5186         Fixes the failing controller test on my machine, which is somehow
5187         rounding differently than on the buildbots.
5188
5189 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5190
5191         * tools/gst-plot-timeline.py:
5192           Better log parsing (categories can have -). Adjust text vs. lines, so
5193           that they span the same y-range.        
5194
5195 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5196
5197         * docs/random/ensonic/audiobaseclasses.txt:
5198         * docs/random/ensonic/dynlink.txt:
5199         * docs/random/ensonic/profiling.txt:
5200           Save my thoughts.
5201
5202         * docs/random/moving-plugins:
5203           Add note to use g_assert type macros.
5204
5205 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5206
5207         * configure.ac:
5208         * libs/gst/check/Makefile.am:
5209           Add libm check as we use in for plugins.
5210
5211 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5212
5213         * gst/gstbin.c: (gst_bin_continue_func):
5214         Check that the state_cookie hasn't changed since the continue_func
5215         was scheduled. Avoids problems where the state changes back to
5216         something it shouldn't be because it was changed in the meantime.
5217
5218 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5219
5220         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5221         (gst_registry_binary_save_string),
5222         (gst_registry_binary_save_pad_template),
5223         (gst_registry_binary_save_feature),
5224         (gst_registry_binary_save_plugin),
5225         (gst_registry_binary_load_feature),
5226         (gst_registry_binary_load_plugin),
5227         (gst_registry_binary_read_cache):
5228           Fix memory leak. Be less verbose in the log.
5229
5230 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5231
5232         * tests/check/elements/.cvsignore:
5233         Add file to cvsignore as commanded.
5234
5235 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5236
5237         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5238         (mq_dummypad_event), (run_output_order_test):
5239         Use a GStaticMutex to protect all cases where libcheck
5240         fail_if/fail_unless macros might be called from multiple threads
5241         simultaneously to avoid errors like:
5242           "check_pack.c:107: :-1081725400:Bad message type arg"
5243
5244 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5245
5246         * tests/check/pipelines/stress.c: (GST_START_TEST):
5247         Make sure we set the pipeline back to the NULL state before
5248         dropping our final reference.
5249
5250 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5251
5252         * tests/check/elements/tee.c: (GST_START_TEST):
5253         Make the tee stress-test a little less stressful so it doesn't just
5254         time out on slow-machines, and remove a small race when it's starting 
5255         up by adding a get_state() call.
5256
5257 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5258
5259         * gst/gst.c:
5260           Avoid reading registry twice on startup. Fixes #457322.
5261
5262 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5263
5264         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5265         * pkgconfig/gstreamer-check.pc.in:
5266         Substitute the CFLAGS for libcheck into our .pc file too so that
5267         dependent modules will pick it up properly if libcheck is installed
5268         into some other prefix.
5269
5270 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5271
5272         * configure.ac:
5273         Revert the pkg-config check for libcheck, since it pulls in the
5274         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5275         a proper solution, either from the check project, or something else.
5276
5277 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5278
5279         * configure.ac:
5280           Use pkg-config to locate check.
5281
5282 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5283
5284         * gst/gsttaglist.c:
5285           Fix doc syntax.
5286
5287         * gst/gstutils.c:
5288         * gst/gstutils.h:
5289           Add deprecation guards.
5290
5291         * libs/gst/base/gstcollectpads.h:
5292           Don't document object (this is implicitly private).
5293
5294 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5295
5296         * gst/gststructure.c: (gst_structure_parse_value):
5297           When deserialising foo=bar without a type cast, check if it's a
5298           boolean before falling back to a string type, otherwise things like
5299           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5300           because the filtercaps end up having a signed=(string)true field,
5301           which causes problems later when intersection caps.
5302
5303         * tests/check/gst/gststructure.c: (GST_START_TEST):
5304           Add a unit test for this.
5305
5306 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5307
5308         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5309
5310         * libs/gst/controller/Makefile.am:
5311         * libs/gst/controller/gstcontroller.c:
5312         (gst_controlled_property_add_interpolation_control_source),
5313         (gst_controlled_property_new), (gst_controlled_property_free),
5314         (gst_controller_find_controlled_property),
5315         (gst_controller_new_valist), (gst_controller_new_list),
5316         (gst_controller_new), (gst_controller_remove_properties_valist),
5317         (gst_controller_remove_properties_list),
5318         (gst_controller_remove_properties),
5319         (gst_controller_set_property_disabled),
5320         (gst_controller_set_disabled), (gst_controller_set_control_source),
5321         (gst_controller_get_control_source), (gst_controller_get),
5322         (gst_controller_sync_values), (gst_controller_get_value_array),
5323         (_gst_controller_dispose), (gst_controller_get_type),
5324         (gst_controlled_property_set_interpolation_mode),
5325         (gst_controller_set), (gst_controller_set_from_list),
5326         (gst_controller_unset), (gst_controller_unset_all),
5327         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5328         * libs/gst/controller/gstcontroller.h:
5329         * libs/gst/controller/gstcontrollerprivate.h:
5330         * libs/gst/controller/gstcontrolsource.c:
5331         (gst_control_source_class_init), (gst_control_source_init),
5332         (gst_control_source_get_value),
5333         (gst_control_source_get_value_array), (gst_control_source_bind):
5334         * libs/gst/controller/gstcontrolsource.h:
5335         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5336         (gst_object_get_control_source):
5337         * libs/gst/controller/gstinterpolation.c:
5338         (gst_interpolation_control_source_find_control_point_node),
5339         (gst_interpolation_control_source_get_first_value),
5340         (_interpolate_none_get), (interpolate_none_get),
5341         (interpolate_none_get_boolean_value_array),
5342         (interpolate_none_get_enum_value_array),
5343         (interpolate_none_get_string_value_array),
5344         (_interpolate_trigger_get), (interpolate_trigger_get),
5345         (interpolate_trigger_get_boolean_value_array),
5346         (interpolate_trigger_get_enum_value_array),
5347         (interpolate_trigger_get_string_value_array):
5348         * libs/gst/controller/gstinterpolationcontrolsource.c:
5349         (gst_control_point_free), (gst_interpolation_control_source_reset),
5350         (gst_interpolation_control_source_new),
5351         (gst_interpolation_control_source_set_interpolation_mode),
5352         (gst_interpolation_control_source_bind),
5353         (gst_control_point_compare), (gst_control_point_find),
5354         (gst_interpolation_control_source_set_internal),
5355         (gst_interpolation_control_source_set),
5356         (gst_interpolation_control_source_set_from_list),
5357         (gst_interpolation_control_source_unset),
5358         (gst_interpolation_control_source_unset_all),
5359         (gst_interpolation_control_source_get_all),
5360         (gst_interpolation_control_source_get_count),
5361         (gst_interpolation_control_source_init),
5362         (gst_interpolation_control_source_finalize),
5363         (gst_interpolation_control_source_dispose),
5364         (gst_interpolation_control_source_class_init):
5365         * libs/gst/controller/gstinterpolationcontrolsource.h:
5366         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5367         API: Refactor GstController into the core controller which can take
5368         a GstControlSource for providing actual values for timestamps.
5369         Implement a interpolation control source and use this for backward
5370         compatibility, deprecate a bunch of functions that are now handled
5371         by GstControlSource or GstInterpolationControlSource.
5372         Make it possible to disable the controller completely or only for
5373         specific properties. Fixes #450711.
5374         * docs/libs/gstreamer-libs-docs.sgml:
5375         * docs/libs/gstreamer-libs-sections.txt:
5376         * docs/libs/gstreamer-libs.types:
5377         Add new functions and classes to the docs.
5378         * tests/check/libs/controller.c: (GST_START_TEST),
5379         (gst_controller_suite):
5380         * tests/examples/controller/audio-example.c: (main):
5381         Port unit test and example to the new API and add some new
5382         unit tests.
5383
5384 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5385
5386         Patch by: Mark Nauwelaerts <manauw at skynet be>
5387
5388         * plugins/elements/gstmultiqueue.c:
5389         (gst_multi_queue_get_internal_links), (apply_buffer),
5390         (single_queue_overrun_cb), (gst_single_queue_new):
5391         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5392         the pipeline layout can be tracked correctly. Fixes #453732.
5393
5394 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5395
5396         * docs/gst/Makefile.am:
5397         * docs/libs/Makefile.am:
5398         * docs/plugins/Makefile.am:
5399           Simplify --extra-dir as gtkdoc scans recursively.
5400
5401 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5402
5403         * tools/gst-launch.c: (main):
5404         When we got an error, there is no point in waiting for preroll when
5405         shutting down.
5406
5407 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5408
5409         * plugins/elements/gsttee.c: (gst_tee_base_init),
5410         (gst_tee_request_new_pad), (gst_tee_release_pad),
5411         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5412         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5413         (gst_tee_chain):
5414         Be a lot smarter when deciding what srcpad to use for proxying
5415         the buffer_alloc. Also handle pad added/removed when doing so.
5416         Fixes #357959.
5417         Keep track of what pads we already pushed on in case we have pads
5418         added/removed while pushing. Fixes #374639 
5419
5420         * tests/check/Makefile.am:
5421         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5422         (tee_suite):
5423         Added unit test for pad resync.
5424
5425 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5426
5427         * po/nl.po:
5428         * po/sv.po:
5429           Updated translations.
5430
5431 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5432
5433         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5434
5435         * po/LINGUAS:
5436         * po/fi.po:
5437           Added new Finnish translation.
5438
5439 2007-06-28  Wim Taymans  <wim@fluendo.com>
5440
5441         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5442         (single_queue_overrun_cb):
5443         When figuring out when a queue is filled, use our internal time estimate
5444         based on segments, just like check_full does.
5445
5446 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5447
5448         * gst/gstminiobject.c: (gst_mini_object_get_type):
5449           Remove 3 do-nothing methods.
5450
5451 2007-06-27  Wim Taymans  <wim@fluendo.com>
5452
5453         Patch by: Tim Angus <tim at ngus dot net>
5454
5455         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5456         (gst_capsfilter_set_property):
5457         Take a reference instead of a copy when setting "caps".
5458         Fix documentation to clarify this behaviour. Fixes #449414.
5459
5460 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5461
5462         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5463         * gst/gstplugin.c: (gst_plugin_init):
5464         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5465         * gst/gstquery.c: (gst_query_get_type):
5466         * gst/gstregistry.c: (gst_registry_init):
5467         * gst/gsturi.c: (gst_uri_handler_base_init):
5468           Remove empty instance_init() functions to save relocs and lessen the
5469           noise. Remove some of the function prototypes that are doubled by
5470           G_DEFINE_TYPE.
5471           
5472 2007-06-27  Wim Taymans  <wim@fluendo.com>
5473
5474         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5475
5476         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5477         Add peer and direction in the XML serialisation of ghostpads.
5478         Fixes #449226.
5479
5480 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5481
5482         * configure.ac:
5483           Preserve useful information, thanks Tim.
5484
5485 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5486
5487         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5488         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5489         (gst_single_queue_push_one), (gst_multi_queue_loop),
5490         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5491         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5492         (compute_high_id), (gst_single_queue_new):
5493         * plugins/elements/gstmultiqueue.h:
5494         Take the multiqueue lock when updating the fill level so we don't get
5495         confused. 
5496
5497         After applying a buffer or event on the src pad segment, make sure to
5498         call gst_data_queue_limits_changed() to get the data queue to unblock
5499         and check the filled state again.
5500         
5501         Rework the not-linked pad handling so the logic is that not-linked 
5502         pads can push as fast as they like, but only so they never get 
5503         ahead of any linked pads.
5504
5505         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5506         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5507         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5508
5509         Add a test to check that not-linked pads always stay behind
5510         linked pads.
5511
5512         Fixes: #430682
5513
5514 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5515
5516         * docs/random/release:
5517           Some updates to the release procedure.
5518
5519 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5520
5521         * gst/gstelementfactory.c: (__gst_element_details_clear):
5522           Microoptimization that saves stunning 80 bytes.
5523
5524 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5525
5526         * docs/plugins/gstreamer-plugins.args:
5527         * docs/plugins/inspect/plugin-coreelements.xml:
5528         * docs/plugins/inspect/plugin-coreindexers.xml:
5529           Update docs with caps info.
5530
5531 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5532
5533         * po/it.po:
5534           Updated Italian translation.
5535
5536 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5537
5538         * ChangeLog:
5539         * po/vi.po:
5540           Update Vietnamese translations.
5541
5542 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5543
5544         * libs/gst/base/gstbasesink.c:
5545           Remove unused signal enum.
5546
5547 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5548
5549         * docs/gst/gstreamer-sections.txt:
5550         * gst/gstelement.c:
5551         * gst/gstutils.c: (gst_type_register_static_full):
5552         Beef up and include the docs for gst_type_register_static_full and
5553         gst_element_class_set_details_simple and add the API keyword
5554         in the ChangeLog.
5555
5556 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5557
5558         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5559         (update_time_level), (gst_single_queue_push_one),
5560         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5561         (single_queue_overrun_cb), (single_queue_underrun_cb),
5562         (single_queue_check_full):
5563         Fix setting max-* properties after adding queues.
5564         Use IS_FILLED for checking visible items.
5565         Signal overrun if multiple queues overrun.
5566         Add extra debug output.
5567         Patch by: Wim Taymans <wim@fluendo.com>
5568
5569 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5570
5571         * gst/gstelement.c: (gst_element_class_set_details_simple):
5572         * gst/gstelement.h:
5573         * gst/gstutils.c: (gst_type_register_static_full):
5574         * gst/gstutils.h:
5575         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5576         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5577         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5578         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5579         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5580         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5581         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5582         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5583         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5584         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5585         (apply_buffer), (gst_queue_chain):
5586         * plugins/elements/gsttee.c: (gst_tee_base_init):
5587         * plugins/elements/gsttypefindelement.c:
5588         (gst_type_find_element_base_init),
5589         (gst_type_find_element_class_init):
5590           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5591           API: add gst_type_register_static_full
5592           API: add gst_element_class_set_details_simple
5593
5594 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5595
5596         * docs/pwg/advanced-types.xml:
5597           Fix typo in iana.org URI.
5598
5599 2007-06-19  Andy Wingo  <wingo@pobox.com>
5600
5601         * tests/check/pipelines/simple-launch-lines.c
5602         (test_state_change_returns): Enable pull-mode tests now that
5603         basesink has been fixed.
5604
5605         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5606         Changed from gst_base_sink_is_prerolled, reversing the sense of
5607         the return value. Returns FALSE also if the sink is in pull mode,
5608         in which case it needs no preroll.
5609         (gst_base_sink_query, gst_base_sink_change_state): Update for
5610         needs_preroll change.
5611         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5612         chaining up, in which we return SUCCESS directly if we activated
5613         in pull mode instead of ASYNC. Involves countering an async_start
5614         message sent before chaining up; not sure if this is correct, in
5615         an ideal world we only send async-start when activating in push
5616         mode.
5617
5618         * tests/check/pipelines/simple-launch-lines.c
5619         (test_state_change_returns): New test, partially disabled until
5620         basesink is fixed.
5621
5622 2007-06-19  Wim Taymans  <wim@fluendo.com>
5623
5624         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5625         (gst_multi_queue_sink_event):
5626         Fix event leak.
5627
5628 2007-06-19  Wim Taymans  <wim@fluendo.com>
5629
5630         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5631         (gst_bin_change_state_func), (bin_push_state_continue),
5632         (bin_handle_async_start), (bin_handle_async_done),
5633         (gst_bin_handle_message_func):
5634         Move the common code for posting state-change messages into
5635         one function.
5636         Broadcast the state signal after we posted the messages.
5637         Mark the bin as busy when it's doing a state-change.
5638         Make sure async-start/done messages don't interfere with the bin's
5639         state when it's busy.
5640         After the state change, let the bin check which elements completed the
5641         state change while it was busy so that it can update its state.
5642
5643 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
5644
5645         * docs/random/release:
5646         Add a note about updating the doap file to the release checklist
5647
5648 2007-06-18  Wim Taymans  <wim@fluendo.com>
5649
5650         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5651         (gst_single_queue_push_one), (gst_multi_queue_chain),
5652         (gst_multi_queue_sink_event):
5653         Make sure we don't reference the buffer/event after we have given away
5654         ownership in the queue.
5655
5656 2007-06-18  Wim Taymans  <wim@fluendo.com>
5657
5658         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5659         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5660         Update queue state _after_ adding the item in the queue because else we
5661         could end up being full without the element added yet.
5662
5663 2007-06-18  Wim Taymans  <wim@fluendo.com>
5664
5665         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5666         (gst_bin_remove_func), (gst_bin_get_state_func),
5667         (gst_bin_element_set_state), (gst_bin_continue_func),
5668         (bin_push_state_continue), (bin_handle_async_start),
5669         (bin_handle_async_done), (gst_bin_handle_message_func):
5670         * gst/gstbin.h:
5671         Immediatly commit the toplevel bin state when receiving an async-done
5672         message. This enables us to avoid spawning a thread to commit the state
5673         in some common cases and it also avoids some races.
5674         Avoid spawning a state thread when adding/removing async elements to a
5675         toplevel bin. Instead we immediatly update the bin state.
5676         Get rid of iterating all the children when getting the state in the bin
5677         because it is now always up-to-date.
5678         Fix bug where locked elements would always return _SUCCESS even it they
5679         returned NO_PREROLL before being locked.
5680         Fix the order of the state_change, async-start/done messages that was
5681         sometimes incorrect.
5682         Mark the state_dirty field as deprecated, we don't need it anymore as we
5683         are always up-to-date.
5684
5685         * gst/gstelement.c: (gst_element_get_state_func),
5686         (gst_element_continue_state):
5687         Small debug inprovements.
5688         Return the previous element state return when nothing is pending instead
5689         of blindly returning SUCCESS.
5690
5691         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5692         (gst_sinks_suite):
5693         Add a whole bunch of new testcases.
5694
5695 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5696
5697         * po/uk.po:
5698         * po/vi.po:
5699           Update translations.
5700
5701 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
5702
5703         * gst/gstpad.c:
5704         Fix typo in the docs.
5705
5706 2007-06-15  Wim Taymans  <wim@fluendo.com>
5707
5708         * docs/libs/gstreamer-libs-sections.txt:
5709         Add docs for new methods.
5710
5711 2007-06-15  Wim Taymans  <wim@fluendo.com>
5712
5713         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5714         (gst_multi_queue_item_new):
5715         Don't use GSlice because we don't depend on >= 2.10 yet.
5716
5717 2007-06-15  Wim Taymans  <wim@fluendo.com>
5718
5719         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5720         (update_time_level), (apply_segment), (apply_buffer),
5721         (gst_single_queue_push_one), (gst_multi_queue_item_new),
5722         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5723         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5724         (single_queue_underrun_cb), (single_queue_check_full):
5725         Remove debug printf.
5726
5727 2007-06-15  Wim Taymans  <wim@fluendo.com>
5728
5729         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5730         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5731         (gst_data_queue_set_flushing), (gst_data_queue_push),
5732         (gst_data_queue_pop), (gst_data_queue_drop_head),
5733         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5734         * libs/gst/base/gstdataqueue.h:
5735         Various cleanups.
5736         Added methods to get the current levels and to inform the queue that the
5737         'full' limits changed.
5738
5739         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5740         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5741         (gst_single_queue_flush), (update_time_level), (apply_segment),
5742         (apply_buffer), (gst_single_queue_push_one),
5743         (gst_multi_queue_item_steal_object),
5744         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5745         (gst_multi_queue_loop), (gst_multi_queue_chain),
5746         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5747         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5748         (gst_multi_queue_src_query), (single_queue_overrun_cb),
5749         (single_queue_underrun_cb), (single_queue_check_full),
5750         (gst_single_queue_new):
5751         Keep track of time in the queue by measuring the difference between
5752         running_time on input and output. This gives more accurate results and
5753         can compensate for segments correctly.
5754         Make a queue by default only 5 buffers deep. We will now increase the
5755         buffer size depending on the filledness of the other queues.
5756         Factor out commong flush code.
5757         Make sure we don't add additional refcounts to buffers when we can avoid
5758         it.
5759         Propagate GstFlowReturn differently.
5760         Use GSlice for intermediate GstMultiQueueItems.
5761         Keep track of EOS.
5762         Resize queues on over and underruns based on filled level of other
5763         queues.
5764         When checking if the queue is filled, prefer to measure in time if we
5765         can and fall back to bytes when no time is known.
5766
5767         * plugins/elements/gstqueue.c:
5768         Fix return value.
5769
5770 2007-06-15  Wim Taymans  <wim@fluendo.com>
5771
5772         * libs/gst/base/gstbasetransform.c:
5773         (gst_base_transform_sink_event):
5774         Work around the brokenness of the event vmethod in basetransform. Prefer
5775         to return TRUE when the subclass returned FALSE (meaning don't forward
5776         the event). 
5777
5778         * libs/gst/base/gstbasetransform.h:
5779         Clarify the docs.
5780
5781 2007-06-15  Wim Taymans  <wim@fluendo.com>
5782
5783         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5784         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5785         (gst_base_src_default_query), (gst_base_src_get_range),
5786         (gst_base_src_start):
5787         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5788         Improve debugging.
5789
5790 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5791
5792         * docs/pwg/advanced-types.xml:
5793           Added more formats to caps table.
5794
5795 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5796
5797         * tools/gst-launch.c: (main):
5798           Remove crufy code. GOption does not need this workaround.
5799
5800 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5801
5802         * libs/gst/controller/gstcontroller.c:
5803         (gst_controlled_property_set_interpolation_mode):
5804           Fix wrong getter for enums in controller.
5805
5806 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5807
5808         * libs/gst/check/gstcheck.c: (gst_check_init):
5809           Intercept criticals and warnings in the Gst-Phonon log domain, so
5810           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5811           well.
5812         
5813 2007-06-14  Edward Hervey  <edward@fluendo.com>
5814
5815         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5816         Since this file doesn't include "gst.h" it will not go through the
5817         macros that disable GST_LOG if debugging was disabled.
5818
5819 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5820
5821         * libs/gst/check/Makefile.am:
5822         * libs/gst/check/gstcheck.h:
5823         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5824         * pkgconfig/gstreamer-check.pc.in:
5825           Ugly 'fix' for the controller unit test on the p5 bot: in
5826           fail_unless_equals_float() check whether the values are 'almost
5827           equal' by allowing a small absolute error, which should be good
5828           enough for our use cases (normal numbers and values close to 0).
5829           Proper fixage left to floating point arithmetic aficionados.
5830
5831 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5832
5833         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5834         (gst_base_sink_render_object), (gst_base_sink_get_position):
5835           Add two breaks thats where missing.
5836
5837 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5838
5839         * docs/libs/gstreamer-libs-sections.txt:
5840         * libs/gst/check/gstcheck.h:
5841           API: add fail_unless_equals_float() and assert_equals_float().
5842           Add documentation for some of the macros.
5843
5844         * tests/check/libs/controller.c: (GST_START_TEST):
5845           Use newly-added asserts.
5846
5847 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5848
5849         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5850           Show the caps change in the log to help spotting the case of not
5851           exactly matching caps.
5852
5853 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5854
5855         * docs/pwg/building-boiler.xml:
5856           Fix typos, spotted by Thijs Vermeir (#447190).
5857
5858 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5859
5860         * docs/plugins/tmpl/.cvsignore:
5861         Ignore file to keep the buildbots happy
5862
5863 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5864
5865         * docs/plugins/Makefile.am:
5866         * docs/plugins/gstreamer-plugins-docs.sgml:
5867         * docs/plugins/gstreamer-plugins-sections.txt:
5868         Pull fdsink into the docs too.
5869
5870 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
5871
5872         * libs/gst/controller/gstinterpolation.c:
5873         Actually use the new functions with min/max checks for the trigger and
5874         none interpolation modes for get() and get_value_array() instead of
5875         just the latter.
5876
5877 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
5878
5879         * libs/gst/controller/gstcontroller.c:
5880         (gst_controlled_property_free):
5881         Unset the minimum and maximum GValues when freeing the corresponding
5882         GstControllerProperty struct.
5883
5884 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
5885
5886         * libs/gst/controller/gstcontroller.c:
5887         (gst_controlled_property_new):
5888         * libs/gst/controller/gstcontrollerprivate.h:
5889         * libs/gst/controller/gstinterpolation.c:
5890         (gst_controlled_property_find_control_point_node),
5891         (interpolate_none_get), (interpolate_none_get_enum_value_array),
5892         (interpolate_none_get_string_value_array),
5893         (interpolate_trigger_get),
5894         (interpolate_trigger_get_enum_value_array),
5895         (interpolate_trigger_get_string_value_array):
5896         Protect against values larger or smaller than the minimum or maximum
5897         allowed value for the property when using values that can be compared.
5898
5899         Optimize trigger interpolator a bit by taking the last requested value
5900         into account instead of always looping through the complete list.
5901
5902         Fix coding style a bit, everywhere else we use "return foo" instead
5903         of "return (foo)".
5904         
5905         * tests/check/libs/controller.c: (GST_START_TEST),
5906         (gst_controller_suite):
5907         Add unit test for the protection against too large or too small
5908         values.
5909
5910 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
5911
5912         * docs/random/slomo/controller.txt:
5913         Add some thoughts about the future of the controller.
5914
5915 2007-06-08  Wim Taymans  <wim@fluendo.com>
5916
5917         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5918         Don't overflow in retimestamping code.
5919
5920 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
5921
5922         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
5923         Use gst_util_guint64_to_gdouble for conversions.
5924         * win32/common/libgstreamer.def:
5925         Add new exported functions.
5926
5927 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
5928
5929         * gst/gstutils.c:
5930           Small docs addition.
5931
5932 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5933
5934         * README:
5935           Remove that test line again.
5936
5937 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5938
5939         * README:
5940           Test commit mail sending.
5941
5942 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5943
5944         * configure.ac:
5945           Fix typo and test commit mail sending.
5946
5947 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5948
5949         * tests/examples/controller/audio-example.c:
5950           Improve comment and test commit mail sending.
5951
5952 2007-06-07  Wim Taymans  <wim@fluendo.com>
5953
5954         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
5955         (gst_bin_remove_func), (gst_bin_element_set_state),
5956         (bin_handle_async_start), (bin_handle_async_done),
5957         (gst_bin_handle_message_func):
5958         Add helper function to find messages.
5959         Generate the async-done messages together with the state change
5960         messages.
5961         Small cleanups in handling toplevel bins.
5962
5963 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
5964
5965         * libs/gst/base/gstdataqueue.c:
5966         * libs/gst/base/gstdataqueue.h:
5967         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5968         (gst_multi_queue_item_new), (gst_multi_queue_chain),
5969         (gst_multi_queue_sink_event):
5970         * tests/check/elements/multiqueue.c: (multiqueue_suite):
5971           Fix multiqueue leaking buffers and events when downstream or the
5972           queue are flushing. Make refcounting assumptions explicit and
5973           document them (shouldn't break existing code that uses it other than
5974           maybe leak miniobjects, but that already happens anyway). Add unit
5975           test for the most common flushing case. Fixes #423700.
5976           
5977 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
5978
5979         * libs/gst/controller/gstcontroller.c:
5980         Clarify docs: The get_all, get_value_array(s) functions
5981         don't modify the GObject properties.
5982
5983 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
5984
5985         * libs/gst/controller/gstcontroller.c:
5986         (gst_controlled_property_set_interpolation_mode),
5987         (gst_controlled_property_prepend_default),
5988         (gst_controlled_property_new), (gst_controller_set_unlocked),
5989         (gst_controller_set), (gst_controller_set_from_list),
5990         (gst_controller_unset), (gst_controller_unset_all):
5991         * libs/gst/controller/gstcontrollerprivate.h:
5992         * libs/gst/controller/gstinterpolation.c:
5993         Factor out the 'set' logic into gst_controller_set_unlocked for the
5994         gst_controller_set and gst_controller_set_from_list functions.
5995
5996         To make life of the interpolators easier always add a control point
5997         at timestamp zero with the default value.
5998
5999         In the linear interpolator make things more obvious by better variable
6000         naming (slope).
6001
6002         Implement cubic interpolation mode (by using a natural cubic spline)
6003         and map the quadratic interpolation mode to this too (as quadratic
6004         doesn't make much sense, see discussion on the list).
6005
6006         * tests/check/libs/controller.c: (GST_START_TEST),
6007         (gst_controller_suite):
6008         Add unit test for the cubic interpolation mode and check everywhere
6009         if the interpolation mode could be set as expected.
6010
6011 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6012
6013         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6014           Don't use GLib-2.10 functions, we still depend on
6015           GLib-how-old-is-it-again-2.8.
6016
6017 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6018
6019         * docs/gst/gstreamer-sections.txt:
6020         * gst/Makefile.am:
6021         * gst/gst.c:
6022         * gst/gst.h:
6023         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6024         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6025         (_gst_param_fraction_values_cmp),
6026         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6027         * gst/gstparamspecs.h:
6028         * gst/gstvalue.c:
6029         * tests/check/Makefile.am:
6030         * tests/check/gst/.cvsignore:
6031         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6032         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6033         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6034         (GST_START_TEST), (gst_param_spec_suite):
6035           API: add GstParamSpecFraction, so elements can have fraction
6036           properties without lots of painful string parsing (#444648).
6037
6038 2007-06-05  Wim Taymans  <wim@fluendo.com>
6039
6040         * gst/gstobject.c: (gst_object_class_init):
6041         Fix signal signature.
6042
6043         * gst/gstsegment.c:
6044         Add small clarification in the api docs.
6045
6046         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6047         States are protected with object lock.
6048
6049 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6050
6051         * AUTHORS:
6052         I should probably be listed as an author by now.
6053
6054         * docs/random/release:
6055         Update the release doc
6056
6057 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6058
6059         * gst/gstvalue.c:
6060           Make docs for gst_value_compare() mention return enums that
6061           actually exist.
6062
6063 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6064
6065         * configure.ac:
6066           Back to CVS
6067
6068 === release 0.10.13 ===
6069
6070 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6071
6072         * configure.ac:
6073           releasing 0.10.13, "With or without you"
6074
6075 2007-05-25  Wim Taymans  <wim@fluendo.com>
6076
6077         * gst/gstbin.c: (bin_handle_async_done):
6078         Make sure that the child bin stops after completing the async state
6079         change so that the parent can continue the state change to PLAYING.
6080         Fixes #441159.
6081
6082 2007-05-25  Wim Taymans  <wim@fluendo.com>
6083
6084         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6085         (unref_data), (gst_collect_pads_remove_pad),
6086         (gst_collect_pads_check_pads):
6087         Use additional refcounting to avoid crashes when dynamically adding and
6088         removing pads. Fixes #420206.
6089
6090 2007-05-24  Wim Taymans  <wim@fluendo.com>
6091
6092         * tools/gst-launch.c: (event_loop):
6093         When buffering goes from a two digit to a single digit number, make sure
6094         to remove the old second digit by writing a blank over it.
6095
6096 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6097
6098         * libs/gst/base/gstdataqueue.c:
6099           Eliminate tabs and trailing comma in enum list; fix some typos.
6100
6101 2007-05-24  Wim Taymans  <wim@fluendo.com>
6102
6103         * tests/check/gst/gstbin.c: (GST_START_TEST):
6104         Allow refcount of 3 and 4 because some state thread might still be busy
6105         with it.
6106
6107 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6108
6109         * plugins/elements/Makefile.am:
6110         * plugins/elements/gstmultiqueue.h:
6111         * plugins/elements/gstqueue.h:
6112           These are not installed headers, no need for padding.
6113
6114 2007-05-24  Wim Taymans  <wim@fluendo.com>
6115
6116         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6117         (gst_bin_continue_func):
6118         Enable latency for next release.
6119         Restore STATE_LOCK around recalc_state that was left out during the
6120         rewrite and could result in racy behaviour when _get_state and
6121         recalc_state are run concurrently. See #440463.
6122
6123 2007-05-23  Wim Taymans  <wim@fluendo.com>
6124
6125         * tests/check/gst/gstsystemclock.c: (store_callback),
6126         (GST_START_TEST):
6127         Improve test_async_order to also work when both timers are already
6128         expired when we get scheduled to check it.
6129
6130 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6131
6132         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6133         (gst_bin_set_property), (gst_bin_get_property),
6134         (gst_bin_remove_func), (gst_bin_handle_message_func):
6135         * gst/gstbin.h:
6136           'private' is a c++ keyword, let's not use that in header files,
6137           otherwise c++ compilers will throw a tantrum.
6138
6139 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6140
6141         * plugins/elements/gstelements.c:
6142         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6143         (gst_file_sink_get_current_offset):
6144         * plugins/indexers/gstindexers.c: (plugin_init):
6145           Use #ifdef for HAVE_XYZ for consistency.
6146
6147         * tests/check/Makefile.am:
6148         * tests/check/elements/.cvsignore:
6149         * tests/check/elements/filesink.c: (setup_filesink),
6150         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6151           Add some unit tests for filesink.
6152
6153 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6154
6155         Patch by: Mark Nauwelaerts <manauw at skynet be>
6156
6157         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6158         (gst_file_sink_query), (gst_file_sink_do_seek),
6159         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6160         * plugins/elements/gstfilesink.h:
6161           Fix position reporting; rename data_written member to current_pos to
6162           reflect its real meaning (fixes #412648).
6163
6164 2007-05-22  Edward Hervey  <edward@fluendo.com>
6165
6166         * docs/gst/gstreamer-sections.txt:
6167         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6168         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6169         (gst_bin_remove_func), (gst_bin_handle_message_func):
6170         * gst/gstbin.h:
6171         Add a property for bins that handle the state change of their childs.
6172         Fixes #435880
6173
6174 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6175
6176         * libs/gst/controller/gstinterpolation.c:
6177         Use an array of the correct type when using _get_value_array with
6178         linear interpolation.
6179
6180 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6181
6182         * gst/gstelement.c (gst_element_requires_clock,
6183           gst_element_provides_clock, gst_element_request_pad,
6184           gst_element_class_set_details, gst_element_class_set_details_simple,
6185           gst_element_default_send_event, gst_element_abort_state,
6186           gst_element_continue_state, gst_element_set_state,
6187           gst_element_set_state_func, iterator_activate_fold_with_resync):
6188         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6189           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6190           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6191           gst_pad_get_range, gst_pad_pull_range):
6192         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6193           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6194           GstPadActivateModeFunction, GstPadChainFunction,
6195           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6196           GstPadFixateCapsFunction, GstPadTemplate):
6197         * gst/gstpipeline.c (gst_pipeline_change_state,
6198           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6199           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6200           gst_pipeline_get_delay):
6201           Whitespace and docs fixes.
6202
6203 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6204
6205         * libs/gst/controller/gstinterpolation.c:
6206         (interpolate_trigger_get_enum_value_array),
6207         (interpolate_trigger_get_string_value_array):
6208         Add support for retrieving value arrays when using the trigger
6209         interpolation mode. 
6210
6211 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6212
6213         * libs/gst/controller/gstcontroller.c:
6214         (gst_controller_get_value_array):
6215         * libs/gst/controller/gstcontroller.h:
6216         Clarify the docs of gst_controller_get_value_array(): The array where
6217         the values should be written to must be allocated as there seems to be
6218         no way to get the size of a random GType. This doesn't change any
6219         behaviour. Also fix some typos all over the place and remove an unused,
6220         commented function that is not necessary as g_object_set() could be
6221         used instead.
6222         * tests/check/libs/controller.c: (GST_START_TEST),
6223         (gst_controller_suite):
6224         Add unit test for gst_controller_get_value_array().
6225
6226 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6227
6228         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6229
6230         Disable part of the gst_buffer_try_new_and_alloc test, because
6231         it can happily succeed on 64-bit systems where there's more address
6232         space available.
6233
6234 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6235
6236         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6237         Add unit test for the improved caps checking from bug #421543.
6238
6239 2007-05-21  Wim Taymans  <wim@fluendo.com>
6240
6241         * docs/design/part-synchronisation.txt:
6242         Small addition.
6243
6244         * gst/gstbin.c: (gst_bin_query):
6245         * plugins/elements/gstqueue.c: (apply_segment):
6246         Improve debugging.
6247
6248         * gst/gstmessage.h:
6249         Improve docs.
6250
6251 2007-05-21  Wim Taymans  <wim@fluendo.com>
6252
6253         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6254         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6255         (gst_pad_configure_src):
6256         Added simple version of improved caps checking. It was previously
6257         assumed that a setcaps function would check the validity of the caps but
6258         people prefer us to check caps against the template automatically. 
6259         Fixes #421543.
6260
6261 2007-05-21  Wim Taymans  <wim@fluendo.com>
6262
6263         * libs/gst/base/gstbasetransform.h:
6264         Fix macro for locking/unlocking the transform lock.
6265
6266 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6267
6268         * docs/plugins/tmpl/.cvsignore:
6269           Ignore more.
6270
6271 2007-05-18  Edward Hervey  <edward@fluendo.com>
6272
6273         * plugins/elements/gstqueue.c: (gst_queue_loop):
6274         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6275         for the subtle art of warning a potentially blocking thread that it
6276         should check the source pad return value, and relay the information
6277         upstream.
6278
6279 2007-05-18  Edward Hervey  <edward@fluendo.com>
6280
6281         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6282         Release the queue lock !
6283
6284 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6285
6286         * docs/libs/gstreamer-libs-sections.txt:
6287         Add the two new controller functions to the appropiate places.
6288
6289 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6290
6291         reviewed by: Stefan Kost <ensonic@users.sf.net>
6292
6293         * libs/gst/controller/gstcontroller.c:
6294         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6295         (_gst_controller_get_property), (_gst_controller_set_property),
6296         (_gst_controller_init), (_gst_controller_class_init):
6297         * libs/gst/controller/gstcontroller.h:
6298         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6299         (gst_object_get_control_rate), (gst_object_set_control_rate):
6300         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6301         Add API that provides sync suggestion timestamps for elements that
6302         call gst_object_sync_values() from which those elements can subdivide
6303         their processing loop to get the best results for the controlled
6304         properties. For now it just suggests last_sync + control_rate as
6305         new timestamp but this will be improved in the future.
6306
6307         While doing that change the control-rate property to a GstClockTime
6308         from guint and change it's meaning from samples to nanoseconds as
6309         the GstController doesn't know anything about sampling rate. Strictly
6310         speaking this breaks ABI but as the control-rate property didn't do
6311         anything in the past and as such couldn't be used this should be no
6312         problem.        
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_controller_unset),
6319         (gst_controller_unset_all):
6320         * libs/gst/controller/gstcontrollerprivate.h:
6321         * libs/gst/controller/gstinterpolation.c:
6322         (gst_controlled_property_find_control_point_node):
6323         Save last synced value from the list to continue searching from there
6324         in future syncs. This speeds everything up a bit.
6325         
6326 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6327
6328         reviewed by: Stefan Kost <ensonic@users.sf.net>
6329
6330         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6331         (gst_control_point_find), (gst_controlled_property_new),
6332         (gst_control_point_free), (gst_controlled_property_free),
6333         (gst_controller_set), (gst_controller_set_from_list),
6334         (gst_controller_unset), (gst_controller_unset_all),
6335         (gst_controller_sync_values):
6336         * libs/gst/controller/gstcontroller.h:
6337         * libs/gst/controller/gstcontrollerprivate.h:
6338         * libs/gst/controller/gstinterpolation.c:
6339         (gst_controlled_property_find_control_point_node),
6340         (interpolate_none_get), (interpolate_trigger_get):
6341         Add a new private GstControlPoint struct which "inherits" from
6342         GstTimedValue to allow different interpolators to store internal
6343         values next to each control point. From the outside everything is
6344         still a GstControlPoint so we don't loose binary compatibility.
6345         Also fixup all the GValue handling to not leak GValues or list nodes.
6346         * tests/check/libs/controller.c: (GST_START_TEST):
6347         Free the list nodes and GValues in the controller_misc test.
6348
6349 2007-05-17  Edward Hervey  <edward@fluendo.com>
6350
6351         * gst/gstsegment.c:
6352         Small doc fix.
6353
6354 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6355
6356         * gst/gstplugin.c: (gst_plugin_load_file):
6357           If we fail to load a plugin because of unresolved symbols or missing
6358           libraries and spew a warning to stderr, we may just as well mention
6359           which plugin it was that failed to load.
6360
6361 2007-05-13  David Schleef  <ds@schleef.org>
6362
6363         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6364           handles the case when ENABLE_GTK_DOC is false, and installs
6365           the prebuilt documentation.  So gtk-doc subdirs are 
6366           unconditionally enabled.  Fixes: #349099.
6367
6368 2007-05-13  David Schleef  <ds@schleef.org>
6369
6370         * gst/gstutils.h: Reword some documentation.
6371
6372 2007-05-12  David Schleef  <ds@schleef.org>
6373
6374         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6375           do anything with the passed "module" parameter, so remove it.
6376           Allows removal of additional vestigal code.
6377
6378 2007-05-12  David Schleef  <ds@schleef.org>
6379
6380         * gst/gstplugin.c:
6381           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6382           Switch to using g_stat() because it's more portable.
6383
6384 2007-05-12  David Schleef  <ds@schleef.org>
6385
6386         * gst/gst.c:
6387           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6388           parsing for embedded systems.
6389         * gst/gstelementfactory.c:
6390           Allow gst_element_register() to be called with plugin==NULL.
6391           Did nobody notice that static elements were broken?
6392
6393 2007-05-12  Wim Taymans  <wim@fluendo.com>
6394
6395         * tools/gst-launch.c: (event_loop):
6396         Give more interesting info when buffering starts and stops.
6397         Fix case where buffering starts but we fail to update the buffering flag
6398         because the target state is not PLAYING.
6399
6400 2007-05-12  Wim Taymans  <wim@fluendo.com>
6401
6402         * plugins/elements/gstqueue.c: (gst_queue_init),
6403         (gst_queue_finalize), (update_time_level), (apply_segment),
6404         (apply_buffer), (gst_queue_locked_flush),
6405         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6406         (gst_queue_handle_sink_event), (gst_queue_chain),
6407         (gst_queue_push_one), (gst_queue_loop):
6408         * plugins/elements/gstqueue.h:
6409         Refactor an cleanup queue a bit.
6410         Do better time level calculations that also work when the srcpad is not
6411         yet running.
6412         Remove some unneeded debug lines.
6413
6414         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6415         Added testcase for time level measurement.
6416         Try to make some stuff more racefree.
6417
6418 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6419
6420         * gst/gsturi.c: (gst_element_make_from_uri):
6421           Don't leak plugin feature.
6422
6423         * tests/check/Makefile.am:
6424         * tests/check/gst/.cvsignore:
6425         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6426           Add brain-dead unit test.
6427
6428 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6429
6430         Patch by: Jeroen Wouters <woutersj at gmail com>
6431
6432         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6433           Treat protocol strings in a case-insensitive way (#437563).
6434
6435 2007-05-11  Michael Smith <msmith@fluendo.com>
6436
6437         * gst/gstplugin.c: (gst_plugin_load_file):
6438         * gst/gstregistry.c: (gst_registry_scan_path_level):
6439           Don't print a g_warning for any failure to load a shared object.
6440           Instead, push this down into gstplugin.c, and warn _only_ if we
6441           failed to open the module (i.e. failure to link).
6442           Avoids warnings on normal, working, non-plugin .so files.
6443
6444 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6445
6446         * gst/gstplugin.c (gst_plugin_load_file):
6447         * gst/gstregistry.c (GST_CAT_DEFAULT,
6448           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6449           Print a g_warning if there was an error when loading a plugins during
6450           registry scan. The shuld help beginners starting with gst-plugin
6451           template.
6452
6453 2007-05-10  Wim Taymans  <wim@fluendo.com>
6454
6455         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6456         (update_time_level), (gst_queue_locked_flush),
6457         (gst_queue_handle_sink_event), (gst_queue_chain),
6458         (gst_queue_push_one), (gst_queue_loop):
6459         * plugins/elements/gstqueue.h:
6460         Be smarter when calculating the current amount of data in the queue by
6461         measuring the difference between start and end timestamps (in running
6462         time) inside the queue. Fixes #432876.
6463         API: GstQueue::pushing to notify elements that we are pushing data again
6464         since the running signal is rather broken for this purpose.
6465
6466 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6467
6468         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6469           gst_queue_base_init, gst_queue_init):
6470           use GST_BOILERPLATE
6471
6472 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6473
6474         * win32/common/libgstreamer.def:
6475         Add new exported functions.
6476         * win32/vs6/grammar.dsp:
6477         Use grammar pre-generated files.
6478
6479 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6480
6481         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6482
6483         * gst/Makefile.am:
6484         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6485         * gst/gstparse.h:
6486         * gst/gstutils.c: (gst_parse_bin_from_description):
6487         * gst/gstutils.h:
6488           Maintain API and ABI when --disable-parse is used. Now that
6489           we have an appropriate error code, we can just return NULL and the
6490           appropriate error when gst_parse_launch() is used despite it having
6491           been disabled (#342564).
6492
6493         * tests/check/Makefile.am:
6494         * tests/check/pipelines/.cvsignore:
6495         * tests/check/pipelines/parse-disabled.c:
6496           Make sure these functions exist and return NULL plus a GError when
6497           --disable-parse is used.
6498
6499 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6500
6501         * tests/benchmarks/complexity.c: (main):
6502         * tests/benchmarks/mass-elements.c: (main):
6503           Set a good example and don't leak messages.
6504
6505 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6506
6507         * docs/gst/Makefile.am:
6508         * docs/libs/Makefile.am:
6509           Correct fixxrefs options.
6510
6511         * docs/plugins/Makefile.am:
6512         * docs/plugins/gstreamer-plugins-docs.sgml:
6513         * docs/plugins/gstreamer-plugins-sections.txt:
6514         * plugins/elements/Makefile.am:
6515         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6516         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6517           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6518           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6519           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6520           _GstCapsFilterClass, trans_class):
6521         * plugins/elements/gstelements.c (name, rank, type, _elements):
6522         * plugins/elements/gstidentity.c
6523           (gst_identity_check_imperfect_timestamp,
6524           gst_identity_check_imperfect_offset):
6525           Document capsfilter and add doc-blurb to identity.
6526
6527 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6528
6529         * libs/gst/controller/gstcontroller.c:
6530         (gst_controlled_property_set_interpolation_mode):
6531         * libs/gst/controller/gstinterpolation.c:
6532           Don't crash if someone tries to set an interpolation mode that
6533           is invalid or that isn't supported yet. Fixes #422295.
6534
6535         * tests/check/libs/controller.c: (GST_START_TEST),
6536         (gst_controller_suite):
6537           Add a test case for the above.
6538
6539 2007-05-03  Edward Hervey  <edward@fluendo.com>
6540
6541         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6542         Properly set the last_stop position on GstSegment. This will only happen
6543         if there is a buffer to push out.
6544
6545 2007-05-03  Wim Taymans  <wim@fluendo.com>
6546
6547         * libs/gst/base/gstbasetransform.c:
6548         (gst_base_transform_buffer_alloc):
6549         always_in_place does not mean that the sink and source caps are the
6550         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6551
6552 2007-05-03  Wim Taymans  <wim@fluendo.com>
6553
6554         * docs/libs/gstreamer-libs-sections.txt:
6555         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6556         (gst_base_src_default_query), (gst_base_src_get_range):
6557         * libs/gst/base/gstbasesrc.h:
6558         API: gst_base_src_query_latency(). Added method so that subclasses can
6559         easily get the latency values of the base source class.
6560
6561 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6562
6563         * tools/gst-inspect.c (print_implementation_info):
6564         Remove 0.8 cruft.
6565
6566 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6567
6568         * tools/Makefile.am:
6569         * tools/gst-launch.1.in:
6570           Don't create a customised man page based on the host architecture,
6571           describe the default registry path generically. That way the man
6572           page is the same for all architectures and packagers have one
6573           multilib issue less to deal with. Fixes #434926.
6574
6575 2007-05-02  Wim Taymans  <wim@fluendo.com>
6576
6577         * gst/gstpad.c:
6578         Fix documentation as spotted by rg on IRC. 
6579
6580 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6581
6582         * gst/gstutils.c:
6583           Improve docs for gst_element_{link,unlink}.
6584
6585 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6586
6587         * docs/design/part-events.txt:
6588         * docs/design/part-overview.txt:
6589         * gst/gstevent.c:
6590         * gst/gsturi.c:
6591         * gst/gsturi.h:
6592         * libs/gst/base/gstbasesink.c:
6593           Typo fixes; minor docs addition.
6594
6595 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6596
6597         * docs/gst/gstreamer-sections.txt:
6598         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6599         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6600         * gst/gsturi.h:
6601         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6602         or src that supports a given URI protocol exists.
6603
6604 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6605
6606         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6607         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6608         Set the location to NULL if "file://" is set as URI. Otherwise
6609         some random previous URI would still be set if "file://" is
6610         set on an already used filesink/filesrc.
6611
6612 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6613
6614         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6615         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6616         Special case the "file://" URI as as this is used by some
6617         applications to test with gst_element_make_from_uri if there's
6618         an element that supports the URI protocol.
6619         Also move the g_path_is_absolute() check for the location part
6620         of the URI to also check this for "file://localhost/bla" URIs.
6621
6622 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
6623
6624         * docs/gst/gstreamer-sections.txt:
6625         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6626         * gst/gstbuffer.h:
6627         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6628         (gst_buffer_suite):
6629           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6630
6631 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
6632
6633         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6634         (gst_registry_binary_load_pad_template),
6635         (gst_registry_binary_load_plugin),
6636         (gst_registry_binary_read_cache):
6637         * gst/gstregistrybinary.h:
6638           Implement no-mmap alternative for registry reading. Do code cleanups.
6639           Add more comments about avoiding strdups for all text data. Comments
6640           welcome.
6641
6642 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6643
6644         * gst/gstregistrybinary.h (GstBinaryPluginElement,
6645           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6646           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6647           Comment structs and reformat to fix the build (that stuff should go
6648           into a priv. header).
6649
6650 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6651
6652         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6653         (gst_registry_binary_load_feature):
6654         * gst/gstregistrybinary.h:
6655           Refactor so that we can implement multiple features. Add support for
6656           TypeFindFactory features.
6657
6658 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
6659
6660         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6661
6662         * configure.ac:
6663           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6664
6665 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
6666
6667         * gst/gstbin.c: (gst_bin_element_set_state),
6668         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6669         (bin_handle_async_done), (gst_bin_handle_message_func):
6670           Fix build with --gst-disable-gst-debug
6671
6672 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
6673
6674         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6675           Make sure streaming has finished before calling the ::stop() vfunc,
6676           since that vfunc might clear state which is being used in the
6677           streaming thread. This fixes a race that caused crashes in
6678           audioresample when shutting down a pipeline (#420106).
6679
6680 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6681
6682         * docs/gst/gstreamer-sections.txt:
6683           That was one byte missing.
6684
6685 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6686
6687         * configure.ac:
6688         * docs/gst/gstreamer-sections.txt:
6689         * gst/Makefile.am:
6690         * gst/gstconfig.h.in:
6691         * gst/gstobject.c: (gst_object_class_init),
6692         (gst_signal_object_class_init):
6693         * gst/gstobject.h:
6694           2nd attempt to have a xml-less build as a joined effort of #413123
6695           and #421480.
6696
6697 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6698
6699         * docs/design/draft-tagreading.txt:
6700           Added open issues/thoughts to draft.
6701
6702 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6703
6704         * gst/parse/grammar.tab.pre.c:
6705         * gst/parse/grammar.tab.pre.h:
6706         * gst/parse/lex._gst_parse_yy.pre.c:
6707         Update the prebuild parser sources.
6708
6709 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6710
6711         * gst/parse/Makefile.am:
6712         And now fix the building of the flex sources. Now everything should
6713         work as expected.
6714
6715 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6716
6717         * gst/parse/Makefile.am:
6718         Now hopefully fix the build failures by setting proper rule
6719         dependencies and moving instead of copying.
6720
6721 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6722
6723         * tests/benchmarks/complexity.gnuplot:
6724         * tests/benchmarks/complexity.scm:
6725         * tests/benchmarks/mass-elements.gnuplot:
6726         * tests/benchmarks/mass-elements.scm:
6727           Total licensification.
6728
6729 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6730
6731         * gst/parse/Makefile.am:
6732           Fix the build by correcting the rule that gave wrong files to flex.
6733
6734 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6735
6736         * tests/benchmarks/complexity.c:
6737         * tests/benchmarks/mass-elements.c:
6738           Change licence to LGPL as granted by Benjamin and Andy.
6739
6740 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6741
6742         * gst/parse/Makefile.am:
6743         Add correct grammar.tab.h dependency if compiling without new enough
6744         flex. Fixes #431150.
6745
6746 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6747
6748         * gst/parse/Makefile.am:
6749         Fix typo and use outdated sources if the flex/bison sources are newer
6750         than the pregenerated ones but flex is too old. Print a warning in
6751         that case. This should fix the build on the build bot.
6752
6753 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6754
6755         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6756         * gst/parse/Makefile.am:
6757         * gst/parse/grammar.y:
6758         * gst/parse/parse.l:
6759         Make the parser reentrant and recursively callable. This requires flex
6760         >= 2.5.31, for older versions pregenerated sources are used as we
6761         can't bump the build dependency. Finally fixes #349180.
6762
6763         * gst/gstparse.c: (gst_parse_launch):
6764         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6765         now anyway.
6766
6767         * docs/gst/Makefile.am:
6768         * docs/gst/Makefile.am:
6769         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6770         (__gst_parse_strfree), (__gst_parse_link_new),
6771         (__gst_parse_link_free), (__gst_parse_chain_new),
6772         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6773         (gst_parse_element_set), (gst_parse_free_link),
6774         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6775         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6776         (_gst_parse_launch):
6777         * gst/parse/grammar.tab.pre.h:
6778         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6779         (yy_get_previous_state), (yy_try_NUL_trans), (input),
6780         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6781         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6782         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6783         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6784         (_gst_parse_yypop_buffer_state),
6785         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6786         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6787         (yy_fatal_error), (_gst_parse_yyget_extra),
6788         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6789         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6790         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6791         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6792         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6793         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6794         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6795         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6796         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6797         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6798         (_gst_parse_yyfree):
6799         If the installed flex version is too old use pre-generated parser
6800         sources. These pre-generated parser sources are always updated when
6801         the actual flex/bison sources change but require everybody who wants
6802         to change something in the parser to have flex >= 2.5.31 installed.
6803
6804 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
6805
6806         * common/m4/gst-gettext.m4:
6807         * gst/gst-i18n-lib.h:
6808           Make --disable-nls to work
6809
6810 2007-04-17  Wim Taymans  <wim@fluendo.com>
6811
6812         * gst/gstconfig.h.in:
6813         Revert previous change that broke the build.
6814
6815 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
6816
6817         * configure.ac:
6818         * gst/Makefile.am:
6819         * gst/gstconfig.h.in:
6820           Drop libxml2 dependency when building with 
6821           --enable-binary-registry --disable-loadsave
6822
6823 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
6824
6825         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6826         (gst_registry_binary_read_cache):
6827         * gst/gstregistrybinary.h:
6828           Remove unnecessary <sys/mman.h> include which broke the win32 build
6829           with MingW; move includes from header file to .c file, even if the
6830           header file isn't installed; use g_strerror() where UTF-8 strings
6831           are expected, such as in GST_DEBUG messages.
6832
6833 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6834
6835         * docs/libs/gstreamer-libs-sections.txt:
6836         Remove bogus addition for API I didn't end up keeping.
6837
6838         * libs/gst/base/gstbasesrc.h:
6839         Mention Since: 0.10.13 in the documentation.
6840
6841         Add the API keyword to the previous ChangeLog entry.
6842
6843 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6844
6845         * docs/libs/gstreamer-libs-sections.txt:
6846         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6847         (gst_base_src_default_prepare_seek_segment),
6848         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6849         * libs/gst/base/gstbasesrc.h:
6850         Allow basesrc derived classes to execute seeks in other formats
6851         by providing a prepare_seek_segment vmethod. Sub-classes can choose
6852         to prepare the GstSegment in any format that their perform_seek method
6853         will be able to understand. The default implementation provides the
6854         old behaviour of attempting to convert the seek offsets to the 
6855         configured native format.
6856
6857         API: basesrc::prepare_seek_segment vmethod.
6858
6859 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6860
6861         * gst/gstelement.c: (gst_element_get_state_func):
6862         Don't output the same debug statement twice.
6863
6864         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6865         (gst_adapter_peek), (gst_adapter_take_buffer):
6866         Optimise the case where we have buffers at the head of the queue that
6867         can be joined quickly (because they're contiguous sub-buffers) by
6868         merging them together rather than copying data out into new memory.
6869
6870         * gst/parse/grammar.y:
6871         * tests/check/pipelines/parse-launch.c:
6872         Fix a leak in an error path for parse_launch, and add a check 
6873         for it to the testsuite.
6874
6875 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6876
6877         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6878           Don't deadlock when releasing a pad - gst_pad_set_active may try
6879           and take the multiqueue lock too.
6880
6881 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6882
6883         * gst/gsterror.c: (_gst_core_errors_init):
6884         * gst/gsterror.h:
6885           API: add GST_CORE_ERROR_DISABLED (#392804).
6886
6887 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6888
6889         * docs/faq/gst-uninstalled:
6890           don't get empty paths on the PATH variables
6891         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6892           Don't format for the uncommon terminal width of 84 characters.
6893
6894 2007-04-06  Wim Taymans  <wim@fluendo.com>
6895
6896         * gst/gstpipeline.c: (reset_stream_time),
6897         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6898         Only try to select a different pipeline clock when we went back to
6899         PAUSED and not when we merely got flushed.
6900
6901 2007-04-05  Michael Smith  <msmith@fluendo.com>
6902
6903         * tools/gst-launch.1.in:
6904           fractions are better supported in gstreamer than ractions, so
6905           suggest using those.
6906
6907 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6908
6909         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
6910
6911         * po/LINGUAS:
6912         * po/da.po:
6913           Added Danish translation.
6914
6915 2007-04-05  Wim Taymans  <wim@fluendo.com>
6916
6917         * libs/gst/base/gstbasesink.c:
6918         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
6919         Fix leak caused when refusing newsegment after EOS.
6920
6921         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6922         (gst_fake_sink_init), (gst_fake_sink_set_property),
6923         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
6924         (gst_fake_sink_render), (gst_fake_sink_change_state):
6925         * plugins/elements/gstfakesink.h:
6926         Add num-buffers property to make the element generate EOS after a
6927         configurable amount of buffers.
6928         API: fakesink::num-buffers property.
6929
6930         * tests/check/elements/fakesink.c: (GST_START_TEST),
6931         (fakesink_suite):
6932         Fix GstBus leak in test.
6933         Test for fakesink num-buffers.
6934
6935 2007-04-05  Wim Taymans  <wim@fluendo.com>
6936
6937         * libs/gst/base/gstbasesink.c:
6938         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6939         (gst_base_sink_change_state):
6940         Don't accept anything after an EOS, return UNEXPECTED instead.
6941
6942         * tests/check/elements/fakesink.c: (GST_START_TEST),
6943         (fakesink_suite):
6944         Unit test for new EOS behaviour.
6945
6946 2007-04-05  Wim Taymans  <wim@fluendo.com>
6947
6948         * gst/gstelement.c: (gst_element_get_request_pad):
6949         Make padtemplates also work when they don't contain %s or %d.
6950
6951 2007-04-05  Wim Taymans  <wim@fluendo.com>
6952
6953         * docs/gst/gstreamer-sections.txt:
6954         * gst/gstclock.c: (gst_clock_adjust_unlocked),
6955         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
6956         * gst/gstclock.h:
6957         Improve _adjust_unlocked() so that it overflows less.
6958         Add gst_clock_unadjust_unlocked to convert from external time to
6959         internal time based on calibration.
6960         Add some more debug.
6961         API: GstClock::gst_clock_unadjust_unlocked()
6962
6963 2007-04-03  Wim Taymans  <wim@fluendo.com>
6964
6965         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6966
6967         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6968         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
6969         when releasing sink pad. Fixes #425400.
6970
6971 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
6972
6973         * docs/random/ensonic/dynlink.txt:
6974           More work on proposal for new core api.
6975
6976         * docs/libs/gstreamer-libs-sections.txt:
6977         * libs/gst/base/gstbasetransform.h:
6978           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
6979           
6980         * libs/gst/controller/gstcontroller.c:
6981         (on_object_controlled_property_changed),
6982         (gst_controller_sync_values),
6983         (gst_controller_set_interpolation_mode):
6984         * libs/gst/controller/gstcontroller.h:
6985           Less verbose logging add docs for unimplemented parts and correctly
6986           return when using unavailable parts.
6987
6988 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
6989
6990         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
6991         Move all the debug to the CLOCK category, and associate it with
6992         the clock object.
6993
6994 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
6995
6996         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
6997         Make take_buffer a bit quicker by removing redundant checks
6998         caused by calling gst_adapter_take.
6999
7000 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7001
7002         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7003           Don't leak GCond.
7004
7005         * tests/check/Makefile.am:
7006         * tests/check/elements/.cvsignore:
7007         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7008         (GST_START_TEST), (multiqueue_suite):
7009           Add some dead simple unit tests for the 'multiqueue' element
7010           (some bits don't work yet and are disabled for now).
7011
7012 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7013
7014         * gst/gstelement.c: (gst_element_get_request_pad),
7015         (gst_element_class_get_request_pad_template):
7016           Make gst_element_get_request_pad() create request pads only for
7017           request pad templates and not for, say, sometimes pad templates.
7018
7019 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7020
7021         * docs/design/draft-klass.txt:
7022           Add example that needs more thinking.
7023         
7024         * docs/design/draft-missing-plugins.txt:
7025           More thoughts about wrapper plugins.
7026         
7027         * docs/random/ensonic/embedded.txt:
7028         * docs/random/ensonic/profiling.txt:
7029           More design work.
7030
7031 2007-03-25  Wim Taymans  <wim@fluendo.com>
7032
7033         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7034         (gst_base_src_loop):
7035         Only push the segment events in the PLAYING state for live sources.
7036
7037 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7038
7039         * gst/gstpipeline.c: (gst_pipeline_change_state):
7040         Modify the clock distribution path in PAUSED->PLAYING so that we 
7041         never attempt to choose a new clock unless we're actually leaving
7042         the PAUSED state for the first time. This prevents choosing a
7043         different clock when the state_change gets called for a 2nd time due
7044         to some element doing an async state change.
7045
7046 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7047
7048         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7049         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7050         (gst_pad_chain_unchecked), (gst_pad_push):
7051         Revert last commit. This needs some more thoughts.
7052
7053 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7054
7055         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7056         (gst_pad_chain_unchecked), (gst_pad_push):
7057         Check in set_caps if the caps are compatible with the pad and remove
7058         two functions that are redundant now. Fixes #421543.
7059
7060 2007-03-22  Wim Taymans  <wim@fluendo.com>
7061
7062         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7063         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7064         Unref some more to make valgrind happy.
7065
7066 2007-03-22  Wim Taymans  <wim@fluendo.com>
7067
7068         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7069         (gst_system_clock_id_wait_jitter),
7070         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7071         Fix anoying regression that survived a few releases. When adding an
7072         async entry while blocking on a sync entry, the sync entry will unblock
7073         but still be busy, so it should continue to wait instead of returning
7074         _BUSY to the app.
7075         Add some comments here and there.
7076
7077         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7078         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7079         Add testcase for this.
7080
7081 2007-03-22  Wim Taymans  <wim@fluendo.com>
7082
7083         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7084         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7085         WRONG_STATE and can silently pause the task. All other cases should
7086         error out.
7087
7088 2007-03-22  Wim Taymans  <wim@fluendo.com>
7089
7090         Patch by: Ville Syrjala <syrjala at sci dot fi>
7091
7092         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7093         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7094         Improve debugging.
7095
7096 2007-03-21  Michael Smith  <msmith@fluendo.com>
7097
7098         * docs/pwg/advanced-types.xml:
7099           Fix some errors in the typefinding docs pointed out on irc.
7100
7101 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7102
7103         * libs/gst/base/gstbasesrc.c:
7104         Clarify FIXME comment in the face of having added unlock_stop()
7105
7106 2007-03-21  Wim Taymans  <wim@fluendo.com>
7107
7108         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7109         Prepare for release where we warn against possible app breakage in the
7110         case of live pipelines along with an env var to enable/disable live
7111         preroll mode (GST_COMPAT=[no-]live-preroll).
7112
7113 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7114
7115         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7116         So we should use correct constants for checking for None offset.
7117
7118 2007-03-20  Wim Taymans  <wim@fluendo.com>
7119
7120         * docs/design/part-block.txt:
7121         Mention the fact that the newly switched element should be set to at
7122         least PAUSED.
7123
7124 2007-03-20  Wim Taymans  <wim@fluendo.com>
7125
7126         * gst/gst.c:
7127         Fix compilation with registry disabled as spotted by Saur.
7128
7129 2007-03-20  Wim Taymans  <wim@fluendo.com>
7130
7131         Patch by: Olivier Crete <tester at tester dot ca>
7132
7133         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7134         Look at the pending state too when syncing the element state to the
7135         parent. Fixes #420133.
7136
7137 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7138
7139         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7140         (gst_base_sink_change_state):
7141         * libs/gst/base/gstbasesink.h:
7142         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7143         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7144         (gst_base_src_deactivate):
7145         * libs/gst/base/gstbasesrc.h:
7146         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7147         for sub-classes to correctly clear any state they set trying to
7148         unlock, such as clearing out unlock commands from a command fd.
7149         API: basesrc::unlock_stop
7150         API: basesink::unlock_stop
7151
7152         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7153         (gst_fd_sink_render), (gst_fd_sink_unlock),
7154         (gst_fd_sink_unlock_stop):
7155         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7156         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7157         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7158
7159         Implement unlock_stop in fdsrc and fdsink.
7160         Implement seeking in fdsrc when a seekable fd is passed, as in
7161         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7162
7163 2007-03-19  Wim Taymans  <wim@fluendo.com>
7164
7165         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7166
7167         * gst/gstelement.c: (gst_element_class_init):
7168         Fix pad-added and pad-removed signal signatures so that the pad type is
7169         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7170
7171 2007-03-19  Wim Taymans  <wim@fluendo.com>
7172
7173         * docs/gst/gstreamer-sections.txt:
7174         Add new element field and method.
7175
7176         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7177         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7178         (gst_bin_recalc_state), (gst_bin_get_state_func),
7179         (gst_bin_element_set_state), (gst_bin_change_state_func),
7180         (gst_bin_continue_func), (bin_bus_handler),
7181         (bin_push_state_continue), (bin_handle_async_start),
7182         (bin_handle_async_done), (gst_bin_handle_message_func):
7183         Make async state changes a bit smarter by using new ASYNC_START and
7184         ASYNC_DONE messages. This reduces the number of times we run the state
7185         recalculation thread.
7186         Don't change state of element with a pending ASYNC_START message.
7187         Deprecate STATE_DIRTY messages.
7188         
7189         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7190         (gst_element_get_state_func), (gst_element_continue_state),
7191         (gst_element_lost_state), (gst_element_set_state_func),
7192         (gst_element_change_state):
7193         * gst/gstelement.h:
7194         Keep the state that was last set by the app in a new element field.
7195         Don't allow state changes when handling an element event.
7196         Post ASYNC_START and ASYNC_DONE messages.
7197         Change lost_state so that we go to PAUSED and wait for the parent to set
7198         us to PLAYING again (so latency calculation can be performed)
7199         Export gst_element_change_state() method so that subclasses can use it.
7200         API: gst_element_change_state()
7201         API: GST_STATE_TARGET
7202
7203         * gst/gstpipeline.c: (gst_pipeline_class_init),
7204         (reset_stream_time), (gst_pipeline_change_state),
7205         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7206         Using the new ASYNC_START message we can reset the base_time when
7207         needed. This can then be used to implement base_time redistribution in
7208         flushing seeks so that we can remove the explicit seek handling.
7209         Perform latency query and configuration when going to PLAYING.
7210
7211         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7212         (gst_base_sink_query), (gst_base_sink_change_state):
7213         Post new ASYNC_START/ASYNC_DONE messages.
7214
7215         * tests/check/generic/sinks.c: (GST_START_TEST):
7216         Fix test because the bin will not set the async element to PLAYING right
7217         away.
7218
7219         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7220         Make the message check a little stronger.
7221         Handle ASYNC messages.
7222
7223         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7224         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7225         Expect ASYNC_DONE messages.
7226
7227 2007-03-19  Wim Taymans  <wim@fluendo.com>
7228
7229         * docs/gst/gstreamer-sections.txt:
7230         * gst/gstmessage.c: (gst_message_new_async_start),
7231         (gst_message_new_async_done), (gst_message_parse_info),
7232         (gst_message_parse_async_start):
7233         * gst/gstmessage.h:
7234         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7235         support.
7236
7237 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7238
7239         * tools/gst-inspect.c:
7240         (print_plugin_automatic_install_info_codecs):
7241           Now that we don't check for the 'Codec' keyword any longer in the
7242           klass, we shouldn't spew a warning if the klass isn't a decoder or
7243           encoder (since it might be a Source/Network, for example).
7244
7245 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7246
7247         * tools/gst-inspect.c:
7248         (print_plugin_automatic_install_info_codecs):
7249           Don't require decoder/demuxer/depayloader elements or
7250           encoder/muxer/paylader elements to have 'Codec' as part of their
7251           factory class string when introspecting a plugin's capabilities.
7252           draft-klass.txt mentions that it might be removed in future, and
7253           flump3dec doesn't have it as part of its class string, so chances
7254           are others might also not have it.
7255
7256 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7257
7258         * po/af.po:
7259         * po/az.po:
7260         * po/bg.po:
7261         * po/ca.po:
7262         * po/cs.po:
7263         * po/de.po:
7264         * po/en_GB.po:
7265         * po/fr.po:
7266         * po/it.po:
7267         * po/nb.po:
7268         * po/nl.po:
7269         * po/ru.po:
7270         * po/sq.po:
7271         * po/sr.po:
7272         * po/sv.po:
7273         * po/tr.po:
7274         * po/uk.po:
7275         * po/vi.po:
7276         * po/zh_CN.po:
7277         * po/zh_TW.po:
7278           Update translations from translation project
7279
7280 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7281
7282         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7283         (gst_child_proxy_set_property):
7284           Invert precondition check to be alike the ones in the mimiced gobject
7285           api.
7286
7287 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7288
7289         * docs/design/draft-tagreading.txt:
7290         * docs/random/ensonic/audiobaseclasses.txt:
7291           Do some Architect work.
7292
7293         * gst/gstobject.c: (gst_object_set_name):
7294           Add a WARNING.
7295
7296         * gst/gstpad.c:
7297           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7298
7299 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7300
7301         * gst/gstsystemclock.c: (gst_system_clock_init),
7302         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7303         Defer starting the async system clock thread until the first async
7304         wait is scheduled. Fixes #414986.
7305
7306 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7307
7308         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7309         (gst_single_queue_free):
7310           Fix small leak (free GstSingleQueue structure too, not only contents).
7311
7312 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7313
7314         * gst/gstbin.c:(gst_bin_add):
7315         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7316         * win32/common/libgstbase.def:
7317         * win32/common/libgstreamer.def:
7318         Add new exported functions.
7319
7320 2007-03-09  Wim Taymans  <wim@fluendo.com>
7321
7322         * docs/plugins/gstreamer-plugins-sections.txt:
7323         Fix GstTee docs.
7324
7325 2007-03-09  Wim Taymans  <wim@fluendo.com>
7326
7327         * docs/gst/gstreamer-sections.txt:
7328         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7329         * gst/gstbuffer.h:
7330         Add metadata copy functions. Fixes #393099.
7331         API: gst_buffer_copy_metadata()
7332
7333         * gst/gstutils.c: (gst_buffer_stamp):
7334         * libs/gst/base/gstbasetransform.c:
7335         (gst_base_transform_prepare_output_buffer):
7336         Use new metadata copy functions.
7337
7338 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7339
7340         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7341         (gst_identity_init), (gst_identity_check_perfect),
7342         (gst_identity_check_imperfect_timestamp),
7343         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7344         (gst_identity_set_property), (gst_identity_get_property):
7345         * plugins/elements/gstidentity.h:
7346         Separate out check-imperfect-timestamp and check-imperfect-offset.
7347         Put back check-perfect as it was to keep compatibility.
7348
7349 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7350
7351         * gst/gstelement.c: (gst_element_dispose):
7352         There's no need to warn if VOID_PENDING is not NONE here, as
7353         long as the state is NULL it's ok, and that's checked immediately
7354         above.
7355
7356 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7357
7358         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7359         Fix check for perfect stream to ignore buffers with -1 
7360         offsets/offset ends when checking data contiguity.
7361
7362 2007-03-08  Wim Taymans  <wim@fluendo.com>
7363
7364         * tools/gst-launch.c: (event_loop):
7365         Print INFO messages.
7366
7367 2007-03-08  Wim Taymans  <wim@fluendo.com>
7368
7369         * libs/gst/base/gstbasetransform.c:
7370         (gst_base_transform_sink_eventfunc),
7371         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7372         (gst_base_transform_activate):
7373         * libs/gst/base/gstbasetransform.h:
7374         Add support for dropping buffers with custom GstFlowReturn.
7375         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7376         buffers or dropped buffers.
7377
7378         * docs/libs/gstreamer-libs-sections.txt:
7379         docs for new custom return code.
7380
7381         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7382         Use drop support in base class to implement drop-probability.
7383
7384 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7385
7386         * gst/gst.c: (load_plugin_func):
7387         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7388         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7389         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7390           Remove newlines at end of debug log strings.
7391
7392 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7393
7394         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7395         Only post bus message at max, once per buffer received.
7396
7397 2007-03-07  Wim Taymans  <wim@fluendo.com>
7398
7399         * docs/design/Makefile.am:
7400         * docs/design/part-synchronisation.txt:
7401         Add doc about synchronisation
7402
7403         * docs/design/draft-latency.txt:
7404         * docs/design/part-TODO.txt:
7405         * docs/design/part-clocks.txt:
7406         * docs/design/part-events.txt:
7407         * docs/design/part-gstbus.txt:
7408         * docs/design/part-gstpipeline.txt:
7409         * docs/design/part-live-source.txt:
7410         * docs/design/part-messages.txt:
7411         * docs/design/part-overview.txt:
7412         * docs/design/part-streams.txt:
7413         * docs/design/part-trickmodes.txt:
7414         Documentation updates.
7415
7416 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7417
7418         * gstreamer.doap:
7419         Update the doap file.
7420
7421 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7422
7423         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7424         Rename non-perfect to imperfect for Mike and for the sanctity of the
7425         language.
7426         Also make sure bus message gets emitted for data-incontiguities.
7427
7428 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7429
7430         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7431         (gst_identity_start):
7432         * plugins/elements/gstidentity.h:
7433         Emit bus message if check-perfect is true and we encounter a
7434         non-perfect stream between 2 consecutive buffers.
7435         Fixes #415394.
7436
7437 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7438
7439         * configure.ac:
7440         Back to CVS
7441
7442 === release 0.10.12 ===
7443
7444 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7445
7446         * configure.ac:
7447           releasing 0.10.12, "Inevitable Demise"
7448
7449 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7450
7451         * configure.ac:
7452          Version 0.10.11.2 (0.10.12 pre-release)
7453          Bump libtool versioning.
7454
7455 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7456
7457         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7458           Log flow-names and not numbers.
7459
7460 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7461
7462         * configure.ac:
7463           Convert to new AG_GST style.
7464
7465 2007-02-28  Wim Taymans  <wim@fluendo.com>
7466
7467         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7468         Don't unref query twice.
7469
7470 2007-02-28  Wim Taymans  <wim@fluendo.com>
7471
7472         * gst/gstvalue.c: (gst_value_transform_object_string),
7473         (_gst_value_initialize):
7474         Implement GstObject -> string transform so we print object names
7475         when serializing GValues containing GstObjects.
7476
7477 2007-02-28  Wim Taymans  <wim@fluendo.com>
7478
7479         * docs/gst/gstreamer-sections.txt:
7480         Add new stuff to docs.
7481
7482 2007-02-28  Wim Taymans  <wim@fluendo.com>
7483
7484         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7485         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7486         (gst_base_sink_change_state):
7487         Improve latency query code.
7488         Don't leak latency events.
7489
7490         * tests/check/gst/gstbin.c: (GST_START_TEST):
7491         Improve debugging.
7492
7493 2007-02-28  Wim Taymans  <wim@fluendo.com>
7494
7495         * gst/gstelement.c: (gst_element_message_full),
7496         (gst_element_get_state_func):
7497         * gst/gstelement.h:
7498         Improve docs a little. Added Since: for new macro.
7499
7500         * gst/gstobject.c: (gst_object_sink):
7501         * gst/gstpipeline.c: (gst_pipeline_change_state),
7502         (gst_pipeline_set_new_stream_time):
7503         * gst/gstpipeline.h:
7504         Improve debugging and docs.
7505
7506         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7507         Improve debugging.
7508
7509 2007-02-28  Wim Taymans  <wim@fluendo.com>
7510
7511         * gst/gstelement.c: (gst_element_message_full),
7512         (gst_element_set_locked_state), (gst_element_get_state_func),
7513         (gst_element_change_state):
7514         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7515         Documentation updates.
7516         Small code cleanups.
7517
7518         * gst/gstmessage.c: (gst_message_new_info),
7519         (gst_message_parse_info):
7520         * gst/gstmessage.h:
7521         API: gst_message_new_info()
7522         API: gst_message_parse_info()
7523         Add INFO message create and parse code.
7524
7525 2007-02-28  Wim Taymans  <wim@fluendo.com>
7526
7527         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7528         (bin_query_latency_done):
7529         Also report the live parameter of a latency query.
7530
7531 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7532
7533         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7534           Copy the current generic/states example from -base and adapt so
7535           we can use the exact same code everywhere.
7536           Check a STATES_IGNORE_ELEMENTS env var which can be used
7537           to ignore certain element factories for this test, which is
7538           what is being done in -base
7539         * tests/check/Makefile.am:
7540           Mention this environment variable.
7541
7542 2007-02-27  Wim Taymans  <wim@fluendo.com>
7543
7544         * docs/gst/gstreamer-sections.txt:
7545         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7546         (gst_bus_timed_pop), (gst_bus_pop):
7547         * gst/gstbus.h:
7548         API: gst_bus_timed_pop()
7549         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7550         message to arrive on the bus.
7551
7552         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7553         (gst_bus_suite):
7554         Two unit tests for new _timed_pop() function.
7555
7556 2007-02-23  Wim Taymans  <wim@fluendo.com>
7557
7558         * gst/gstpipeline.c: (gst_pipeline_change_state),
7559         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7560         Don't ref a NULL clock in _provide_clock_func().
7561         Don't allow an INVALID delay.
7562         Don't try to calculate base_time with an invalid start_time.
7563         Also distribute and notify a NULL clock when it was selected.
7564
7565         * tools/gst-launch.c: (event_loop):
7566         Don't crash when a NULL clock was selected in the pipeline.
7567
7568 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7569
7570         * docs/design/Makefile.am:
7571         * docs/design/draft-missing-plugins.txt:
7572         * docs/random/draft-missing-plugins.txt:
7573           Some small updates: update plugin system identifier prefix
7574           ('gstreamer.net' to 'gstreamer'), mention our new install
7575           API in libgstbaseutils rather than libgimme-codec, add
7576           reference to the online docs.
7577
7578 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7579
7580         * win32/common/config.h:
7581           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7582           use moap cl ci to only check in what is mentioned in the ChangeLog.
7583
7584 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7585
7586         * docs/gst/gstreamer-sections.txt:
7587         * gst/gstelement.h:
7588           Fix up documentation to link to the correct GstGError section.
7589           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7590
7591 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7592
7593         * tools/gst-launch.c: (event_loop):
7594           Make sure that we actually show the important message part of a
7595           warning message.
7596           No need to check if the gerror is not NULL to free; first of all
7597           g_free accepts NULL; and second the default error handler would
7598           segfault if gerror was NULL.
7599
7600 2007-02-21  Wim Taymans  <wim@fluendo.com>
7601
7602         * docs/gst/gstreamer-sections.txt:
7603         Removed docs as well.
7604
7605 2007-02-21  Wim Taymans  <wim@fluendo.com>
7606
7607         * gst/gstmessage.c: (gst_message_parse_duration):
7608         * gst/gstmessage.h:
7609         Remove new messages for release.
7610
7611 2007-02-20  Wim Taymans  <wim@fluendo.com>
7612
7613         * docs/design/part-gstghostpad.txt:
7614         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7615         (gst_ghost_pad_new_full):
7616         Make the ghostpad a parent of the internal pad again for better backward
7617         compatibility. Don't write code that relies on this however.
7618
7619         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7620         (gst_pad_link_check_hierarchy):
7621         Require that parents should be GstElements in the hierarchy check.
7622
7623 2007-02-20  Wim Taymans  <wim@fluendo.com>
7624
7625         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7626         (gst_bin_change_state_func), (bin_query_min_max_init),
7627         (bin_query_latency_fold), (bin_query_latency_done),
7628         (gst_bin_query):
7629         Improve debug info.
7630         Implement latency query.
7631
7632 2007-02-20  Wim Taymans  <wim@fluendo.com>
7633
7634         * docs/design/part-gstghostpad.txt:
7635         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7636         (gst_ghost_pad_internal_do_activate_push),
7637         (gst_ghost_pad_internal_do_activate_pull),
7638         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7639         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7640         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7641         Do not set the internal pad as a parent anymore so we can avoid
7642         hierarchy linking errors when the ghostpad has no parent yet. This also
7643         fixes failed activation because of unlinked internal pads, which in
7644         turn fixes the impossible case where you have to activate a pad before
7645         you can add it to a running element.
7646         Also fix the docs.
7647
7648         * gst/gstpad.c: (pre_activate), (post_activate),
7649         (gst_pad_set_active), (gst_pad_activate_pull),
7650         (gst_pad_activate_push), (gst_pad_check_pull_range):
7651         Add some more debug info.
7652         Mark activation mode in pre_activate so that we don't try to activate in
7653         endless loops. Fixes #385084.
7654
7655 2007-02-19  Wim Taymans  <wim@fluendo.com>
7656
7657         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7658         (gst_base_transform_check_get_range):
7659         Implement a checkgetrange function instead of relying on the default
7660         core behaviour that assumes we can operate in pull mode if we have a
7661         getrange function. First step at fixing #385084.
7662
7663 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
7664
7665         * gst/gstchildproxy.h:
7666         * libs/gst/base/gstbasesink.h:
7667         * libs/gst/base/gstbasesrc.h:
7668         * libs/gst/base/gstbasetransform.h:
7669         More docs coverage and some ChangeLog surgery (add missing names)
7670
7671 2007-02-15  Wim Taymans  <wim@fluendo.com>
7672
7673         * docs/design/part-TODO.txt:
7674         * docs/design/part-activation.txt:
7675         * docs/design/part-block.txt:
7676         * docs/design/part-buffering.txt:
7677         * docs/design/part-clocks.txt:
7678         * docs/design/part-element-source.txt:
7679         * docs/design/part-events.txt:
7680         * docs/design/part-gstbin.txt:
7681         * docs/design/part-gstbus.txt:
7682         * docs/design/part-gstpipeline.txt:
7683         * docs/design/part-live-source.txt:
7684         * docs/design/part-messages.txt:
7685         * docs/design/part-overview.txt:
7686         * docs/design/part-qos.txt:
7687         * docs/design/part-query.txt:
7688         * docs/design/part-states.txt:
7689         * docs/design/part-trickmodes.txt:
7690         Some doc updates. Start renaming from stream_time to running_time where
7691         it was used wrongly.
7692
7693 2007-02-15  Wim Taymans  <wim@fluendo.com>
7694
7695         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7696         Answer LATENCY query.
7697
7698 2007-02-15  Wim Taymans  <wim@fluendo.com>
7699
7700         * tests/check/gst/gstevent.c: (event_probe), (test_event),
7701         (GST_START_TEST):
7702         Improve debugging.
7703
7704 2007-02-15  Wim Taymans  <wim@fluendo.com>
7705
7706         * gst/gstpad.c: (gst_pad_get_internal_links_default),
7707         (gst_pad_dispatcher):
7708         Improve debugging of default pad dispatcher and query functions.
7709
7710 2007-02-15  Wim Taymans  <wim@fluendo.com>
7711
7712         * docs/gst/gstreamer-sections.txt:
7713         Remove old unused method.
7714
7715 2007-02-13  Wim Taymans  <wim@fluendo.com>
7716
7717         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7718         Fix check
7719
7720 2007-02-13  Wim Taymans  <wim@fluendo.com>
7721
7722         * docs/design/part-seeking.txt:
7723         Some small update.
7724
7725         * gst/gstsegment.c: (gst_segment_set_seek):
7726         Revert old bogus change that should make seeking work again.
7727
7728 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7729
7730         * docs/random/ensonic/dynlink.txt:
7731         * docs/random/ensonic/interfaces.txt:
7732         * docs/random/ensonic/receipies.txt:
7733           Possible dynamic reconnection api, plus some type fixes the other two
7734           docs.
7735
7736 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
7737
7738         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7739         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7740         Also check for an absolute path following file:// in the filesrc
7741         element. Remove redundant check and call g_path_is_absolute() on the
7742         unescaped location.
7743
7744 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7745
7746         * docs/design/draft-klass.txt:
7747           Add existing category analysis.
7748           
7749         * gst/gstcaps.c:
7750           Fix doc example, framerate is a fraction.
7751
7752 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7753
7754         * configure.ac:
7755         * docs/gst/Makefile.am:
7756         * docs/gst/gstreamer-sections.txt:
7757         * docs/libs/Makefile.am:
7758           Erm, forgot a bunch of --extra-dir.
7759
7760 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7761
7762         * configure.ac:
7763         * docs/gst/Makefile.am:
7764         * docs/libs/Makefile.am:
7765         * docs/plugins/Makefile.am:
7766           Add crossreferences to glib/gobject docs.
7767
7768 2007-02-12  Wim Taymans  <wim@fluendo.com>
7769
7770         * docs/design/draft-latency.txt:
7771         Small update.
7772
7773         * docs/libs/gstreamer-libs-sections.txt:
7774         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7775         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7776         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7777         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7778         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7779         (gst_base_sink_get_position), (gst_base_sink_query),
7780         (gst_base_sink_change_state):
7781         * libs/gst/base/gstbasesink.h:
7782         API: gst_base_sink_query_latency() to let subclasses query the upstream
7783         latency.
7784         API: gst_base_sink_get_latency() to let subclasses query the configured
7785         latency in the sink.
7786         Implement query and set latency.
7787         Update some docs.
7788         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7789         don't continue preroll when we are flushing. Fixes #405284.
7790
7791         * tests/check/pipelines/stress.c: (change_state_timeout),
7792         (quit_timeout), (GST_START_TEST), (stress_suite):
7793         Test for #405284.
7794
7795 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
7796
7797         Patch by: René Stadler <mail at renestadler de>
7798
7799         * docs/gst/gstreamer-sections.txt:
7800         * gst/gsttaglist.c: (_gst_tag_initialize):
7801         * gst/gsttaglist.h:
7802           API: add GST_TAG_REFERENCE_LEVEL (#403597).
7803
7804 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
7805
7806         * docs/libs/Makefile.am:
7807           Fix path to core docs.
7808
7809         * gst/gstbin.c: (gst_bin_get_by_interface),
7810         (gst_bin_iterate_all_by_interface):
7811           Refix docs by also renaming 'interface' to 'iface' in implementation.
7812
7813         * docs/gst/gstreamer-sections.txt:
7814         * gst/gstcaps.c:
7815         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7816         * gst/gstchildproxy.h:
7817         * gst/gstelementfactory.c:
7818         * gst/gstpadtemplate.h:
7819         * libs/gst/controller/gstcontroller.c:
7820         (gst_controlled_property_new):
7821           Document more.
7822
7823 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
7824
7825         * gst/gstbin.h:(gst_bin_get_by_interface),
7826         (gst_bin_iterate_all_by_interface):
7827         Replace interface parameter name by iface as interface is 
7828         a reserved keyword in Visual Studio for C++ projects so it removes
7829         a build error for application developpers using VS.
7830         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7831         Fix a bug on Windows in uri format check. Now the prefix checked
7832         is file:// and next we check if the path after file:// is absolute.
7833         * win32/common/libgstbase.def:
7834         * win32/common/libgstdataprotocol.def:
7835         * win32/common/libgstgstreamer.def:
7836         Add new exported functions.
7837
7838 2007-02-09  Andy Wingo  <wingo@pobox.com>
7839
7840         * tests/check/pipelines/simple-launch-lines.c
7841         (simple_launch_lines_suite, test_tee): Disable tee test until I
7842         have time to fix it :-(
7843
7844         * tests/check/Makefile.am (noinst_HEADERS): 
7845         * tests/check/libs/libsabi.c: 
7846         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7847         * tests/check/gst/gstabi.c: 
7848         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7849
7850         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7851         tests for push and pull tee behavior.
7852
7853         * plugins/elements/gsttee.h: 
7854         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7855         mark as deprecated as well as unimplemented. It was a crack idea.
7856         Add support for tee operating in pull mode, off by default.
7857
7858         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7859         normal-case logs down to LOG, raise errors to WARNING.
7860         (gst_registry_xml_read_cache): Don't log before calling a function
7861         that logs.
7862
7863         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7864         exit (registry finalize).
7865         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7866         DEBUG log when we emit signals that people don't even have the
7867         chance to connect to.
7868         (gst_registry_scan_path_level): Less logging in the normal case.
7869
7870 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7871
7872         Patch by: Michal Benes <michal dot benes at itonis dot tv>
7873
7874         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7875         Correctly generate EOS for non-seekable files. We don't have a total
7876         length for them and would get an unexpected end of file if we only
7877         special-cased for regular files. (Fixes: #404569)
7878
7879 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7880
7881         * tests/check/elements/filesrc.c: (GST_START_TEST),
7882         (filesrc_suite):
7883         Add unit test for the GstURIHandler interface in filesrc. This also
7884         tests the newly added file://localhost/foo/bar support.
7885
7886 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
7887
7888         * gst/gstelementfactory.h:
7889           The klass string is not a hierarchy. Add reference to the design doc
7890           for more information and common types.
7891
7892 2007-02-02  Wim Taymans  <wim@fluendo.com>
7893
7894         * gst/gstquery.c: (gst_query_new_latency):
7895         Remove old structure field.
7896
7897 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
7898
7899         * tools/gst-launch.1.in:
7900           Give example for network streaming (#351998)
7901
7902 2007-02-02  Wim Taymans  <wim@fluendo.com>
7903
7904         * docs/gst/gstreamer-sections.txt:
7905         Add docs for new methods.
7906
7907         * gst/gstevent.c: (gst_event_new_latency),
7908         (gst_event_parse_latency):
7909         * gst/gstevent.h:
7910         Add new LATENCY event to configure latency in a pipeline.
7911         API: gst_event_new_latency
7912         API: gst_event_parse_latency
7913
7914         * gst/gstmessage.c: (gst_message_new_buffering),
7915         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
7916         (gst_message_new_latency), (gst_message_parse_buffering),
7917         (gst_message_parse_lost_preroll):
7918         * gst/gstmessage.h:
7919         Added messages used in draft-latency.
7920         API: gst_message_new_lost_preroll
7921         API: gst_message_parse_lost_preroll
7922         API: gst_message_new_prerolled
7923         API: gst_message_new_latency
7924
7925         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
7926         (gst_query_parse_latency):
7927         * gst/gstquery.h:
7928         Implemented new latency query as in design doc.
7929         API: gst_query_new_latency
7930         API: gst_query_set_latency
7931         API: gst_query_parse_latency
7932
7933 2007-02-02  Wim Taymans  <wim@fluendo.com>
7934
7935         * docs/design/draft-latency.txt:
7936         Slight redesign to allow for dynamic latency adjustments.
7937
7938         * docs/design/part-negotiation.txt:
7939         Fix some typos.
7940
7941 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
7942
7943         reviewed by: Wim Taymans <wim@fluendo.com>
7944
7945         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7946         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7947         Allow file://localhost/foo/bar URLs and correctly fail for every other
7948         hostname that one sets. This was gnomevfssrc is linked for those if
7949         installed as it can handle it (#403172)
7950
7951 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
7952
7953         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7954
7955         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7956         (unref_data), (gst_collect_pads_add_pad_full):
7957         * libs/gst/base/gstcollectpads.h:
7958         Don't put the previously added destroy notify in the GstCollectData
7959         struct as all it's padding is already used and we don't want to break
7960         ABI. Instead put in the pad's GObject data for now. This should be
7961         cleaned up for 0.11 (#402393).
7962
7963 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
7964
7965         reviewed by: Wim Taymans <wim@fluendo.com>
7966
7967         * docs/libs/gstreamer-libs-sections.txt:
7968         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7969         (unref_data), (gst_collect_pads_add_pad),
7970         (gst_collect_pads_add_pad_full):
7971         * libs/gst/base/gstcollectpads.h:
7972         API: Add function to specify a destroy notification for custom
7973         GstCollectData when adding new pads in GstCollectPads (#402393).
7974
7975 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
7976
7977         * po/sv.po:
7978           Update Swedish translation (#378255).
7979
7980 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
7981
7982         * docs/design/draft-klass.txt:
7983           Fix the previous change, this is a list of categories and not a hierarchy.
7984
7985 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
7986
7987         * docs/design/draft-klass.txt:
7988           Add info about how to get a list of used classes.
7989
7990 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
7991
7992         * plugins/elements/gsttypefindelement.c:
7993         (gst_type_find_element_chain_do_typefinding),
7994         (gst_type_find_element_change_state):
7995           Don't leak found caps in chain function (no idea why that never
7996           showed up as a leak anywhere).
7997
7998 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
7999
8000         * gst/gstplugin.h:
8001           Fix and expand GstPluginDesc API docs.
8002
8003 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8004
8005         * gst/gstcaps.c:
8006         * gst/gstelementfactory.c:
8007         * gst/gstpadtemplate.h:
8008           api doc fixes
8009
8010         * libs/gst/controller/gstcontroller.c:
8011         (gst_controlled_property_new):
8012         * tests/examples/controller/audio-example.c:
8013           comment fixes
8014
8015 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8016
8017         * configure.ac:
8018           comment about refining the xml deps
8019
8020         * docs/manuals.mak:
8021           comments about moving away from jade for docs
8022         
8023         * gst/gst.c:
8024           recommit the ifdefs to use the binary registry
8025         
8026         * gst/gstbin.c: (gst_bin_change_state_func):
8027           this break is obsolete
8028
8029         * gst/gstelementfactory.h:
8030           better GST_ELEMENT_DETAILS docs, add comment about translation
8031
8032         * gst/gstinfo.h:
8033           remove eol slash
8034
8035         * gst/gstobject.c: (gst_signal_object_get_type):
8036           add G_UNLIKELY as usual
8037
8038         * gst/gstpad.c: (gst_pad_event_default):
8039           add fall trhu comment
8040
8041         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8042         (gst_registry_binary_initialize_magic),
8043         (gst_registry_binary_save_string),
8044         (gst_registry_binary_save_pad_template),
8045         (gst_registry_binary_save_feature),
8046         (gst_registry_binary_save_plugin),
8047         (gst_registry_binary_write_cache),
8048         (gst_registry_binary_check_magic),
8049         (gst_registry_binary_load_pad_template),
8050         (gst_registry_binary_load_feature),
8051         (gst_registry_binary_load_plugin),
8052         (gst_registry_binary_read_cache):
8053           comment typo and formatting
8054
8055         * gst/gstutils.c: (gst_element_state_get_name),
8056         (gst_element_state_change_return_get_name):
8057           remove obsolete breaks
8058
8059         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8060           add FIXME 0.11 and remove cpp comment
8061
8062 2007-01-29  Edward Hervey  <edward@fluendo.com>
8063
8064         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8065         Fix print statement in an even more portable way.
8066
8067 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8068
8069         * docs/gst/gstreamer-sections.txt:
8070         * gst/gstutils.h:
8071           API: add GST_ROUND_DOWN_* macros (#401781).
8072
8073 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8074
8075         * docs/gst/gstreamer.types.in:
8076         * gst/gstregistry.c: (gst_registry_class_init):
8077           Document registry signals and make gtk-doc pick them up (#401381).
8078
8079 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8080
8081         * docs/pwg/building-testapp.xml:
8082           Add some audioconverts and audioresample to the pipeline, and some
8083           more comments and error handling.
8084
8085 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8086
8087         * docs/manual/manual.xml:
8088         * docs/pwg/pwg.xml:
8089           Fix typo (#400987).
8090
8091 2007-01-26  Wim Taymans  <wim@fluendo.com>
8092
8093         * gst/gstcaps.c: (gst_static_caps_get):
8094         Init caps flags too.
8095
8096 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8097
8098         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8099
8100         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8101         If not using mmap'ed files try to seek to the end instead of the
8102         start to determine whether we can seek at all. This fixes the case
8103         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8104         seeks for everything afterwards fail. Fixes #400656
8105
8106 2007-01-25  Wim Taymans  <wim@fluendo.com>
8107
8108         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8109         Add some refcount debugging.
8110         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8111         in multiple streaming threads.
8112
8113 2007-01-25  Wim Taymans  <wim@fluendo.com>
8114
8115         Patch by: David Schleef <ds at schleef dot org>
8116
8117         * docs/libs/gstreamer-libs-sections.txt:
8118         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8119         * libs/gst/base/gstadapter.h:
8120         API: gst_adapter_copy() that can reduce the amount of memcpy when
8121         getting data from the adapter. Fixes #388201.
8122
8123 2007-01-25  Edward Hervey  <edward@fluendo.com>
8124
8125         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8126         In print statements, "%x" is for guint. Fixes build on macosx.
8127
8128 2007-01-24  Edward Hervey  <edward@fluendo.com>
8129
8130         * plugins/elements/gstmultiqueue.c:
8131         (gst_multi_queue_loop):
8132         Small fix.
8133         (single_queue_overrun_cb), (single_queue_underrun_cb),
8134         (single_queue_check_full), (gst_single_queue_new):
8135         Implement single queue growth system.
8136         This uses the extra-size properties, and will grow single queues by
8137         that much if one goes full whereas there are others empty. This is
8138         called extra-mode in the code.
8139         When a single queue's levels go back below the initial max-size
8140         limits, it is no longer in extra-mode. This is to ensure we don't
8141         consume too much memory.
8142         Fixes #399875
8143
8144 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8145
8146         * gst/gst.c: (gst_init_get_option_group):
8147           Make warning about late g_thread_init() calls a bit more explicit,
8148           so that it's more obvious to application developers what they need
8149           to do if a user files a bug against their application.
8150
8151 2007-01-22  Edward Hervey  <edward@fluendo.com>
8152
8153         * plugins/elements/gstmultiqueue.c:
8154         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8155         Remove previous hack of unsetting the flushing flag for the source pad
8156         instead of activating it. Instead, fix the source pad activate function
8157         so that it no longer depends on having a parent set or not.
8158
8159 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8160
8161         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8162
8163         * docs/manual/basics-bus.xml:
8164           Fix example code, gst_element_unref() doesn't exist any longer.
8165
8166 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8167
8168         Patch by: Mark Nauwelaerts <manauw at skynet be>
8169
8170         * gst/gstpad.c:
8171           Fix two docs typoes (#399094).
8172
8173 2007-01-19  Edward Hervey  <edward@fluendo.com>
8174
8175         * docs/faq/gst-uninstalled:
8176         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8177         depending on libgstbaseutils can work in uninstalled environment.
8178
8179 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8180
8181         * gst/gsttaglist.h:
8182         * gst/gsttagsetter.c:
8183         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8184         statement for new tag.
8185
8186 2007-01-17  Edward Hervey  <edward@fluendo.com>
8187
8188         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8189         When dynamically creating single queues, activate sinkpad before adding
8190         it.
8191         We should be doing the same thing for the source pad, but we can't
8192         since it would call a method which needs the parent to be set in order
8193         to work propertly. Instead of activating the source pad, we just unset
8194         the flushing flag, which is the minimal requirement for adding a pad
8195         to an element in a state greater than READY.
8196
8197 2007-01-17  Edward Hervey  <edward@fluendo.com>
8198
8199         * docs/faq/gst-uninstalled:
8200         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8201         Mac OS X.
8202
8203 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8204
8205         * tests/check/gst/gstabi.c:
8206         * tests/check/gst/struct_hppa.h:
8207         * tests/check/libs/libsabi.c:
8208         * tests/check/libs/struct_hppa.h:
8209           Add ABI structs for HPPA (see #393796).
8210
8211 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8212
8213         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8214           Actually write ABI structs to the file specified in the GST_ABI
8215           environment variable, as the message we print claims we would.
8216
8217 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8218
8219         * tests/check/gst/gsttask.c:
8220           Fix header comment.
8221
8222 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8223
8224         * gst/gsttaglist.c: (_gst_tag_initialize):
8225           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8226           previous two entries.
8227
8228 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8229
8230         * docs/gst/gstreamer-sections.txt:
8231         * gst/gsttaglist.c: (_gst_tag_initialize):
8232         * gst/gsttaglist.h:
8233           Add tag support for beat-per-minute.
8234
8235 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8236
8237         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8238         (gst_registry_binary_initialize_magic),
8239         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8240         (gst_registry_binary_save_pad_template),
8241         (gst_registry_binary_save_feature),
8242         (gst_registry_binary_save_plugin),
8243         (gst_registry_binary_write_cache),
8244         (gst_registry_binary_check_magic),
8245         (gst_registry_binary_load_pad_template),
8246         (gst_registry_binary_load_feature),
8247         (gst_registry_binary_load_plugin),
8248         (gst_registry_binary_read_cache):
8249         * gst/gstregistrybinary.h:
8250           Use glib types, cleanup comments, impement interfaces and uri-types.
8251
8252 2007-01-13  Andy Wingo  <wingo@pobox.com>
8253
8254         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8255         getrange() to return buffers with other caps, while we fix
8256         demuxers and typefind, or otherwise change part-negotiation.txt.
8257
8258 2007-01-12  Andy Wingo  <wingo@pobox.com>
8259
8260         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8261         Factor start/stop into this private function instead of partially
8262         in activate functions and partially in the change_state function.
8263         Fixes setup before the element has changed from READY->PAUSED, as
8264         is the case in pull-mode pipelines.
8265         (gst_base_transform_sink_activate_push)
8266         (gst_base_transform_src_activate_pull): Refactor to use
8267         gst_base_transform_activate().
8268         (gst_base_transform_change_state): Removed, not needed any more.
8269
8270         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8271         Truncate before fixating.
8272         
8273         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8274         Don't set_caps() if the result of fixating is ANY, as it's not
8275         supported, and not necessary in the case of a link with no
8276         template caps on either side. Fixes tests/check/libs/basesrc in
8277         some pull-mode tests.
8278
8279         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8280         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8281         (gst_base_transform_src_activate_pull): 
8282         Track the activation mode.
8283         (gst_base_transform_setcaps): In pull mode, when activating the
8284         src pad, after activating the sink pad, activate the sink pad's
8285         peer, as discussed in part-negotiation.txt.
8286
8287         * libs/gst/base/gstbasesrc.h: 
8288         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8289         vmethod, as in basesink.
8290
8291         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8292
8293         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8294         mode, first proxy the setcaps to the peer pad.
8295         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8296         new fixate vmethod.
8297         (gst_base_sink_default_activate_pull): Rename from
8298         gst_base_sink_activate_pull.
8299         (gst_base_sink_negotiate_pull): New function, performs negotiation
8300         in pull mode before calling ::activate_pull().
8301         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8302         vmethod instead of the default implementation. I have no idea how
8303         this worked before. Negotiate before calling activate_pull.
8304
8305         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8306         sink pads in pull mode. In addition to being correct, fixes
8307         filesrc ! decodebin ! identity ! fakesink.
8308         (gst_pad_get_range, gst_pad_pull_range): Don't call
8309         gst_pad_set_caps() if the caps changes; instead error out with
8310         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8311
8312 2007-01-12  Andy Wingo  <wingo@pobox.com>
8313
8314         * docs/design/part-negotiation.txt: Update with more policy.
8315
8316 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8317
8318         * libs/gst/check/gstbufferstraw.h:
8319         * libs/gst/check/gstcheck.h:
8320           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8321           belongs.
8322
8323 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8324
8325         * tests/check/Makefile.am:
8326         * tests/check/gst/.cvsignore:
8327         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8328         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8329         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8330         (GST_START_TEST), (gst_tag_setter_suite):
8331           Add minimal unit test for beforementioned GstTagSetter bug.
8332
8333 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8334
8335         Patch by: René Stadler <mail at renestadler dot de>
8336
8337         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8338           gst_tag_list_merge() returns a new list, so it's not the best idea
8339           to ingore its return value. Effectively meant that tags could only
8340           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8341           Also add function guard to require a non-NULL taglist as input (has
8342           always been so due to gst_tag_list_copy(), just making it explicit).
8343
8344 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8345
8346         * docs/random/draft-missing-plugins.txt:
8347           Some additions: mention new API that is supposed to be used at the
8348           various stages; short blob about new gst-inspect introspection
8349           option; mention potential future problem with plugins that have
8350           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8351
8352 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8353
8354         * tools/gst-inspect.c:
8355         (print_plugin_automatic_install_info_codecs),
8356         (print_plugin_automatic_install_info_protocols),
8357         (print_plugin_automatic_install_info), (main):
8358         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8359         introspect plugin files and get machine-parsable output that corresponds
8360         to the last bit of the missing-plugin installer string (small gotcha:
8361         doesn't take into account ranks).
8362
8363 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8364
8365         * configure.ac:
8366         * docs/gst/gstreamer-sections.txt:
8367         * gst/Makefile.am:
8368         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8369         (gst_registry_lookup_locked):
8370         * gst/gstregistry.h:
8371         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8372         (gst_registry_binary_initialize_magic),
8373         (gst_registry_binary_save_string),
8374         (gst_registry_binary_save_pad_template),
8375         (gst_registry_binary_save_feature),
8376         (gst_registry_binary_save_plugin),
8377         (gst_registry_binary_write_cache),
8378         (gst_registry_binary_check_magic),
8379         (gst_registry_binary_load_pad_template),
8380         (gst_registry_binary_load_feature),
8381         (gst_registry_binary_load_plugin),
8382         (gst_registry_binary_read_cache):
8383         * gst/gstregistrybinary.h:
8384         * gst/gstregistryxml.c: (load_feature),
8385         (gst_registry_xml_read_cache):
8386           commit binary registry (disabled by default, see #359653)
8387
8388 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8389
8390         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8391           Fix 'make check' too.
8392
8393 2007-01-10  Andy Wingo  <wingo@pobox.com>
8394
8395         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8396         notes.
8397         
8398         * docs/design/part-negotiation.txt: Update with, um, one way that
8399         pull-mode negotiation might work?
8400
8401         * gst/gstpad.h: 
8402         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8403         that the pad must be a src pad; makes sense to call it the other
8404         way in pull mode, and the logic is symmetric anyway.
8405
8406 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8407
8408         * plugins/elements/gstfilesink.c:
8409           Include <stdio.h> for fseeko().
8410
8411 2007-01-10  Wim Taymans  <wim@fluendo.com>
8412
8413         * gst/gstevent.c:
8414         * gst/gstevent.h:
8415         Reserve LATENCY event.
8416
8417 2007-01-09  Wim Taymans  <wim@fluendo.com>
8418
8419         * docs/design/draft-latency.txt:
8420         Updates.
8421
8422 2007-01-09  Wim Taymans  <wim@fluendo.com>
8423
8424         * docs/design/draft-latency.txt:
8425         Updates.
8426
8427         * gst/gstelement.h:
8428         * gst/gststructure.c:
8429         * gst/gsttrace.c:
8430         Small typo fixes.
8431
8432 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8433
8434         * tests/check/.cvsignore:
8435           Ignore test-registry.xml as well.
8436
8437 2007-01-09  Wim Taymans  <wim@fluendo.com>
8438
8439         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8440         unref data at the end when we are done with the pad.
8441
8442 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8443
8444         * docs/gst/gstreamer-sections.txt:
8445         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8446         (init_post), (gst_deinit), (gst_update_registry):
8447         * gst/gst.h:
8448           API: add gst_update_registry() (#391296).
8449
8450         * tests/check/Makefile.am:
8451         * tests/check/gst/gstregistry.c:
8452         * tests/check/gst/.cvsignore:
8453           Simple unit test for the above.
8454
8455 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8456
8457         * gst/gstregistry.c: (gst_registry_scan_path_level):
8458           Plugin extension on HP-UX is .sl, add that to the list of approved
8459           plugin extensions (see #393796).
8460
8461         * tests/check/gst/gstpad.c: (GST_START_TEST):
8462           ulong => gulong. Fixes compilation with HP-UX compiler.
8463
8464         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8465           Fix compilation if valgrind headers are not available.
8466
8467 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8468
8469         * win32/common/libgstreamer.def: 
8470           Add new exported function.
8471         * win32/vs6/libgstbase.dsp: 
8472           Add gstdataqueue.c to the build.
8473         * win32/vs6/libgstcoreelements.dsp:
8474           Add gstmultiqueue.c to the build.
8475         
8476 2007-01-06  Andy Wingo  <wingo@pobox.com>
8477
8478         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8479         activate_pull(), providing for a way to specialize the process of
8480         spawning a thread to pull on the sink pad. There is a default
8481         implementation.
8482
8483         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8484         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8485         (gst_base_sink_init): Renamed pad activation functions (inserting
8486         "_pad" in their names). Refactor to use the new activate_pull
8487         vmethod, as appropriate.
8488         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8489         default activate_pull function to start a task pulling from the
8490         sink pad, as before.
8491
8492         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8493         on the pads if necessary, as in push()/chain(). Update docs.
8494         Shouldn't affect existing pull() usage as it is currently only
8495         being used on buffers without caps.
8496
8497 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8498
8499         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8500         (init_pre):
8501           Call g_thread_init() first thing in gst_init() / gst_check_init().
8502           When initialisation is done via gst_init_get_option_group() and
8503           GOption parsing, issue a warning if the GLib thread system has not
8504           been initialised yet by the time gst_init_get_option_group() is
8505           called, as it's quite likely other GLib functions such as
8506           g_option_context_new() have been called already then, and
8507           g_thread_init() must be called before any other GLib function. The
8508           application in question must be fixed in that case, since memory
8509           corruption might happen otherwise.
8510           We issue the warning because even if the GLib folks decide to work
8511           around the problem on their end in future, this is still an issue
8512           with all GLib versions >= 2.10.0, so we should warn until we depend
8513           on a GLib version we know to be safe.
8514           Update documentation as well.
8515           Closes bug #391278.
8516
8517 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8518
8519         * tools/gst-inspect.c: (main):
8520         * tools/gst-launch.c: (main):
8521         * tools/gst-typefind.c: (main):
8522         * tools/gst-xmlinspect.c: (main):
8523           Call g_thread_init() really really early, before any other GLib
8524           function (see #342564 and recent discussion on gtk-devel-list).
8525
8526 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8527
8528         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8529
8530         * gst/gst_private.h:
8531         * gst/gstconfig.h.in:
8532         * gst/gstinfo.h:
8533           On win32, all the __declspec stuff for symbol exporting is
8534           apparently only needed with MSVC, but doesn't work with MingW.
8535           Fixes compilation with MingW and #391909.
8536
8537 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8538
8539         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8540           Change some GST_ERROR_OBJECT that aren't really errors to
8541           GST_WARNING_OBJECT in order to reduce terminal spam.
8542
8543 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8544
8545         * tests/check/Makefile.am:
8546           disable test again, as there seem to be still race problems
8547
8548 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8549
8550         * tests/check/Makefile.am:
8551         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8552         (GST_START_TEST), (queue_suite):
8553           enable queue test again, add tests for the leaky behaviour
8554
8555 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8556
8557         * configure.ac:
8558         * tests/examples/Makefile.am:
8559           Compile adapter test/example only if the required headers are
8560           available (fixes #391915).
8561
8562 2007-01-01  David Schleef  <ds@schleef.org>
8563
8564         * gst/gstplugin.c:
8565           Restore the previous signal handler for SIGSEGV instead of
8566           setting to default, since we may have stolen it away from
8567           someone.  (i.e., Mono)
8568
8569 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8570
8571         * docs/random/draft-missing-plugins.txt:
8572           Some small additions and clarifications.
8573
8574 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8575
8576         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8577           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8578           since that can lead to random memory corruptions and crashes
8579           (may or may not be related to #383244, #386711, and #386711).
8580
8581 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8582
8583         * tests/check/.cvsignore:
8584         * tests/check/Makefile.am:
8585           sync .cvsignome and CLEANFILES
8586
8587 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8588
8589         * tests/check/Makefile.am:
8590           fix distcheck
8591
8592 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8593
8594         * docs/design/part-states.txt:
8595           two tiny additional comments
8596         
8597         * gst/gststructure.c:
8598           doc fixing
8599
8600         * tests/check/Makefile.am:
8601         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8602         (GST_START_TEST):
8603           disable test for now, unless it gets fixed
8604
8605 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8606
8607         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8608         (GST_START_TEST):
8609           fix race in underrun test
8610
8611 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8612
8613         * tests/check/elements/.cvsignore:
8614           ignore more
8615
8616         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8617         (GST_START_TEST):
8618           try to narrow test failure
8619
8620 2006-12-21  David Schleef  <ds@schleef.org>
8621
8622         * plugins/elements/gstfakesrc.c:
8623           Use g_random_int_range(), since it produces better random
8624           numbers in a range than almost-correct floating point code.
8625
8626 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8627
8628         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8629         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8630         (gst_check_teardown_sink_pad):
8631           do not automatically (de)activate pads
8632
8633         * tests/check/Makefile.am:
8634         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8635         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8636           add new, yet simple tests for queue
8637
8638         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8639         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8640         * tests/check/elements/filesrc.c: (cleanup_filesrc),
8641         (GST_START_TEST):
8642         * tests/check/elements/identity.c: (cleanup_identity):
8643           consistent pad (de)activation
8644
8645 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
8646
8647         Patch by: Sebastian Dröge  <slomo ubuntu com>
8648
8649         * libs/gst/base/gstcollectpads.c:
8650           Fix two doc typos (#387866).
8651
8652 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8653
8654         * docs/manual/advanced-dparams.xml:
8655           Fix typo (g_object_control_properties() doesn't exist).
8656
8657 2006-12-19  Edward Hervey  <edward@fluendo.com>
8658
8659         * gst/gstsegment.c: (gst_segment_set_seek):
8660         Fine tune the cases where the segment start/stop values are really
8661         updated.
8662         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8663         Add tests for the return values of gst_segment_set_seek().
8664
8665 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8666
8667         * gst/gst.c:
8668           Docs typo fix.
8669
8670         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8671         (gst_queue_init):
8672           Fix incorrect documentation and flesh it out a bit more.
8673           Set default values for the max properties on the GParamSpec as well,
8674           so it shows up correctly in gst-inspect.
8675
8676 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
8677
8678         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8679           Correct docs of queue, add more detail and crosslink it more.
8680
8681 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8682
8683         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8684           Print additional debug info when the stream isn't perfectly
8685           timestamped; don't try to use invalid durations.
8686
8687 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8688
8689         * docs/design/Makefile.am:
8690           Dist new design docs.
8691
8692 2006-12-16  Wim Taymans  <wim@fluendo.com>
8693
8694         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8695
8696         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8697         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8698         (gst_collect_pads_stop), (gst_collect_pads_event),
8699         (gst_collect_pads_chain):
8700         * libs/gst/base/gstcollectpads.h:
8701         Add refcounting to the collectpads data so we can track when it's safe
8702         to free the data. Fixes #383382.
8703
8704 2006-12-15  Wim Taymans  <wim@fluendo.com>
8705
8706         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8707         (gst_collect_pads_remove_pad):
8708         Automatically activate/deactivate pads when they are added to a
8709         started/stoped collectpads.
8710
8711 2006-12-15  Wim Taymans  <wim@fluendo.com>
8712
8713         * gst/gstelement.c: (gst_element_add_pad):
8714         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8715         * gst/gstpad.c: (gst_pad_init):
8716         Set pads to FLUSHING when they are created. Check, warn and fix when a
8717         demuxer adds an inactive pad to itself when running. Fixes #339326.
8718
8719 2006-12-15  Wim Taymans  <wim@fluendo.com>
8720
8721         * gst/gstelement.c: (gst_element_class_init),
8722         (gst_element_default_send_event), (gst_element_send_event),
8723         (gst_element_default_query), (gst_element_query):
8724         Expose default element send_event and query handling as vmethods that
8725         subclasses can chain up to.
8726
8727 2006-12-15  Wim Taymans  <wim@fluendo.com>
8728
8729         * gst/gstelement.c: (gst_element_set_state_func):
8730         Small documentation fixes.
8731
8732 2006-12-15  Wim Taymans  <wim@fluendo.com>
8733
8734         * docs/design/draft-latency.txt:
8735         Checked in draft for handling latency in pipelines.
8736
8737 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8738
8739         * Makefile.am:
8740         * gstreamer.doap:
8741         * gstreamer.spec.in:
8742           adding .doap file
8743
8744 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
8745
8746         * gst/gst.c: (init_pre), (init_post):
8747           init_pre() and init_post() might be called via our GOptionGroup or
8748           from gst_init(), and we should skip both of them if we've already
8749           been initialised, otherwise we will init some things twice or add
8750           two default log functions.
8751
8752 2006-12-13  Edward Hervey  <edward@fluendo.com>
8753
8754         * docs/manual/basics-bus.xml:
8755         No, gst_main_loop does not exist. Its g_main_loop.
8756         Discovered by somebody who abused the copy-paste technique of coding :)
8757
8758 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
8759
8760         * gst/gstghostpad.c:
8761           Log ghostpad debug stuff to the GST_PADS category as well rather
8762           than just to the default category.
8763
8764 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
8765
8766         * configure.ac:
8767         * gst/gst.c: (init_pre):
8768           Add some basic system details such as OS and architecture
8769           to the debug output if possible, courtesy of uname().
8770
8771 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
8772
8773         * docs/gst/running.xml:
8774           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8775           environment variables.
8776
8777 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8778
8779         * tests/check/gst/gstbin.c: (GST_START_TEST):
8780         It is acceptable to have a refcount of 2 or 3 at this point in the
8781         test, because the pipeline might be just posting its state_change
8782         message. The next line then waits for that message to appear using
8783         bus_poll, so that should be fine too.
8784
8785 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8786
8787         * gst/gst.c: (ensure_current_registry_forking):
8788         Ignore EINTR when reading from the child registry pipe.
8789         Explicitly ignore the return value from close, since it makes no
8790         difference.
8791
8792         * gst/gstminiobject.c: (gst_mini_object_ref),
8793         (gst_mini_object_unref):
8794         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8795
8796         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8797         When removing cached plugins, remove their features too, so they're
8798         not visible after they've disappeared.
8799
8800         * gst/gstutils.c: (prepare_link_maybe_ghosting):
8801         In the unlikely case that we are linking pads with no parents, don't
8802         crash trying to get the non-existent parent bin.
8803
8804         * gst/parse/grammar.y:
8805         Output debug in the PIPELINE category
8806
8807 2005-03-08  Wim Taymans  <wim@fluendo.com>
8808
8809         Patch by: René Stadler <mail at renestadler dot de>
8810
8811         * gst/gstclock.c: (gst_clock_new_periodic_id):
8812         Reject invalid clock times for interval of periodic ids.
8813         Fixes ##383506.
8814
8815 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8816
8817         * gst/gstelementfactory.c: (gst_element_factory_create):
8818         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8819         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8820         * tools/gst-inspect.c: (print_element_info):
8821         Fix refcounting of gst_plugin_feature_load to match the docs. 
8822         Fixes: #380129
8823
8824 2006-12-07  Wim Taymans  <wim@fluendo.com>
8825
8826         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8827         (gst_base_sink_get_position):
8828         Improve debugging of events.
8829
8830 2006-12-07  Wim Taymans  <wim@fluendo.com>
8831
8832         Patch by: René Stadler <mail at renestadler dot de>
8833
8834         * gst/gstclock.c: (gst_clock_id_wait):
8835         Make period ids add the interval to the origial requested time instead
8836         of the possibly updated time which can be wrong when there are multiple
8837         waiters for the same id. Fixes #382592.
8838
8839         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8840         (gst_system_clock_id_wait_jitter_unlocked),
8841         (gst_system_clock_id_wait_jitter):
8842         Fix restart in the async notify thread when an async entry is added to
8843         the front of the list. Fixes #381492. 
8844
8845         * tests/check/gst/gstsystemclock.c: (store_callback),
8846         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8847         Added test for multiple async waits.
8848         Added test for async wait order.
8849
8850 2006-12-07  Wim Taymans  <wim@fluendo.com>
8851
8852         * gst/gstbin.c: (gst_bin_query):
8853         Add some more docs about the POSITION query.
8854
8855 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8856
8857         * configure.ac:
8858         Bump version nano - back to CVS.
8859
8860 === release 0.10.11 ===
8861
8862 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
8863
8864         * configure.ac:
8865           releasing 0.10.11, "Love never runs on time"
8866
8867 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
8868
8869         * win32/common/libgstbase.def:
8870         * win32/common/libgstreamer.def:
8871         * win32/vs8/libgstbase.vcproj:
8872         * win32/vs8/libgstcoreelements.vcproj:
8873         * win32/vs8/libgstreamer.vcproj:
8874         Fix compilation on win32 under VS8
8875         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8876         Partially fixes #381175
8877
8878 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8879
8880         * gst/gstvalue.c: (gst_value_compare_fraction):
8881         If someone is foolish enough to compare 2 fractions with denominator =
8882         0, return UNORDERED rather than aborting.
8883
8884 2006-11-28  Edward Hervey  <edward@fluendo.com>
8885
8886         * libs/gst/base/Makefile.am:
8887         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8888         (gst_data_queue_base_init), (gst_data_queue_class_init),
8889         (gst_data_queue_init), (gst_data_queue_new),
8890         (gst_data_queue_cleanup), (gst_data_queue_finalize),
8891         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8892         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8893         (gst_data_queue_is_empty), (gst_data_queue_is_full),
8894         (gst_data_queue_set_flushing), (gst_data_queue_push),
8895         (gst_data_queue_pop), (gst_data_queue_drop_head),
8896         (gst_data_queue_set_property), (gst_data_queue_get_property):
8897         * libs/gst/base/gstdataqueue.h:
8898         New GstDataQueue object for threadsafe queueing. Most useful for
8899         elements that need some queueing functionnality.
8900         * docs/libs/gstreamer-libs-docs.sgml:
8901         * docs/libs/gstreamer-libs-sections.txt:
8902         Insert documentation for GstDataQueue
8903         * plugins/elements/Makefile.am:
8904         * plugins/elements/gstelements.c:
8905         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
8906         (gst_multi_queue_class_init), (gst_multi_queue_init),
8907         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8908         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
8909         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
8910         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8911         (gst_multi_queue_loop), (gst_multi_queue_chain),
8912         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8913         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
8914         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
8915         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
8916         (wake_up_next_non_linked), (compute_next_non_linked),
8917         (single_queue_overrun_cb), (single_queue_underrun_cb),
8918         (single_queue_check_full), (gst_single_queue_new):
8919         * plugins/elements/gstmultiqueue.h:
8920         New multiqueue element, using GstDataQueue. Used for queuing multiple
8921         streams.
8922         Closes #344639 and #347785
8923
8924 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
8925
8926         * docs/pwg/advanced-types.xml:
8927           add more missing type details
8928
8929         * tools/gst-run.c: (main):
8930           remove unused variable
8931
8932 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
8933
8934         * docs/libs/Makefile.am:
8935         * docs/libs/gstreamer-libs.types:
8936           add types of base classes to enable gobject specific stuff in the docs
8937
8938         * docs/random/ensonic/embedded.txt:
8939           more ideas about isolating platform specific things
8940
8941 2006-11-20  Wim Taymans  <wim@fluendo.com>
8942
8943         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
8944
8945         * libs/gst/check/gstcheck.h:
8946         Fix compilation and running against 0.9.4. Fixes #377332.
8947
8948 2006-11-20  Wim Taymans  <wim@fluendo.com>
8949
8950         * gst/gstsegment.c: (gst_segment_set_seek),
8951         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8952         (gst_segment_to_running_time):
8953         Fix boundary checking in to_running_time() and to_stream_time().
8954         Fixes #377183.
8955
8956         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8957         stream and running time can now be calculated for the complete
8958         clipped segment.
8959
8960 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
8961
8962         * gst/gstpad.c: (gst_pad_push_event):
8963           Can't access event structure after giving away ownership of
8964           the event.
8965
8966 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
8967
8968         * docs/random/ensonic/embedded.txt:
8969         * docs/random/ensonic/profiling.txt:
8970         * docs/random/ensonic/receipies.txt:
8971           more thinking
8972
8973 2006-11-13  Wim Taymans  <wim@fluendo.com>
8974
8975         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8976
8977         * gst/gstpad.c:
8978         Fix documentation for gst_pad_dispatcher. Fixes #374475.
8979
8980 2006-11-13  Wim Taymans  <wim@fluendo.com>
8981
8982         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
8983
8984         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8985         Store new length in segment duration so we don't keep on calling the
8986         potentially expensize get_size() call. Fixes #370865.
8987
8988 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
8989
8990         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
8991
8992         * win32/common/libgstreamer.def:
8993           Add two missing symbols (#366492).
8994
8995 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
8996
8997         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
8998         (gst_adapter_take_buffer):
8999         Fix format string to use all its arguments.
9000         Remove useless >= check on a guint
9001
9002 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9003
9004         * tests/examples/adapter/.cvsignore:
9005         Ignore build file as commanded by the build-bot
9006
9007 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9008
9009         * tests/examples/adapter/Makefile.am:
9010         * tests/examples/adapter/adapter_test.c: (run_test_take),
9011         (run_test_take_buffer), (run_tests), (main):
9012
9013         Add new files from the previous commit
9014
9015 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9016
9017         * Makefile.am:
9018         * configure.ac:
9019         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9020         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9021         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9022         * libs/gst/base/gstadapter.h:
9023         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9024         (GST_START_TEST), (gst_adapter_suite):
9025         * tests/examples/Makefile.am:
9026         Do some optimisation work in GstAdapter to avoid copies in more cases.
9027         It could still do slightly better by merging buffers when
9028         gst_buffer_is_span_fast is true, but is already faster. 
9029
9030         Also, avoid traversing a single-linked list to append each incoming 
9031         buffer inside the adapter.
9032
9033         Add simple test app that times the adapter behaviour in different
9034         situations, and extend the unit test to check that bytes enter and
9035         exit the adapter in their original order.
9036
9037 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9038
9039         * docs/random/draft-missing-plugins.txt:
9040           Update: use element message instead of adding a new message
9041           type to the core; don't provide GStreamer API to initiate the
9042           plugin download, just provide API to compose the strings needed
9043           and let an external libgimmestuff handle the rest.
9044
9045 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9046
9047         * tools/gst-inspect.c: (print_element_properties_info):
9048         Print a string instead of 'unknown type' for GValueArray properties
9049
9050 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9051
9052         * docs/random/draft-missing-plugins.txt:
9053         More small fixes.
9054
9055 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9056
9057         * tests/examples/typefind/typefind.c: (type_found), (main):
9058           Make typefind element example work again (#371894); add a
9059           license header.
9060
9061 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9062
9063         * docs/random/draft-missing-plugins.txt:
9064           Commit initial draft about how to deal with missing plugins,
9065           needs work (API too).
9066
9067 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9068
9069         * docs/pwg/advanced-types.xml:
9070           documents the new caps elements (see #363118)
9071
9072 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9073
9074         * gst/gstplugin.c: (gst_plugin_load_file):
9075         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9076         (gst_file_src_map_region), (gst_file_src_start):
9077         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9078         (gst_file_index_commit):
9079           Use g_strerror() instead of strerror() - we want UTF-8.
9080
9081 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9082
9083         Patch by: Peter Kjellerstedt <pkj at axis com>
9084
9085         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9086           Another printf fix (#371493).
9087
9088 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9089
9090         * tests/check/gst/gsttag.c:
9091           relicence (okay with author=company)
9092
9093 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9094
9095         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9096         (gst_pad_push_event):
9097           Enhance debug and improve docs
9098         
9099         * gst/gsturi.c:
9100           Fix docs
9101
9102 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9103
9104         * docs/random/ensonic/distributed.txt:
9105         * docs/random/ensonic/profiling.txt:
9106           more ideas
9107
9108 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9109
9110         * docs/gst/gstreamer-sections.txt:
9111           add new API and fix the build
9112           
9113         * gst/gstbin.c: (gst_bin_recalc_state):
9114         * gst/gstelement.c: (gst_element_message_full),
9115         (gst_element_get_state_func), (gst_element_set_state_func):
9116           use new API and improve logging
9117         
9118         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9119         * gst/gstutils.h:
9120           API: add function to get StateChangereturn names to improve logs 
9121
9122 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9123
9124         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9125           I'm considering shooting the next person to put strerror stuff
9126           in the translateable part of the message.
9127
9128 2006-11-03  Wim Taymans  <wim@fluendo.com>
9129
9130         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9131         Get the type and printf conversion specifiers right.
9132
9133 2006-11-03  Wim Taymans  <wim@fluendo.com>
9134
9135         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9136
9137         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9138         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9139         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9140         Some small cleanups. Improve debugging.
9141         * gst/gstpad.h:
9142         Signal all waiting threads with a broadcast instead of just one.
9143         Fixes #369942.
9144
9145 2006-11-03  Wim Taymans  <wim@fluendo.com>
9146
9147         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9148         (gst_fd_src_create):
9149         Add some debugging. 
9150         Only update fd when it's different from the old.
9151
9152 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9153
9154         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9155           Printf fixes for PPC/OSX, take two (#369366).
9156
9157 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9158
9159         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9160
9161         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9162         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9163         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9164           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9165           don't cast to long long for portability reasons, but use
9166           GLib's types instead.
9167
9168 2006-10-30  Michael Smith  <msmith@fluendo.com>
9169
9170         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9171           Get the arguments to lseek() the right way around.
9172           Fixes 367677.
9173
9174 2006-10-30  Wim Taymans  <wim@fluendo.com>
9175
9176         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9177
9178         * gst/gstinfo.h:
9179         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9180
9181 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9182
9183         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9184
9185         * docs/design/part-MT-refcounting.txt:
9186         * docs/random/wtay/capsnego2-docs:
9187         * gst/gstclock.c:
9188         * gst/gstxml.c:
9189           Typo fixes (#366212).
9190
9191 2006-10-28  Wim Taymans  <wim@fluendo.com>
9192
9193         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9194
9195         * gst/gst.c:
9196         * win32/common/libgstbase.def:
9197         * win32/common/libgstreamer.def:
9198         * win32/vs8/libgstbase.vcproj:
9199         * win32/vs8/libgstcontroller.vcproj:
9200         Add needed entries in .def files.
9201         Use HAVE_UNISTD_H.
9202         Rearrange def files in vs8 solutions. Fixes #366286.
9203
9204 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9205
9206         * win32/common/gstconfig.h:
9207           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9208           hand-made win32 gstconfig.h. Fixes #366321.
9209
9210 2006-10-27  Wim Taymans  <wim@fluendo.com>
9211
9212         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9213         (gst_ghost_pad_new_full):
9214         Make acceptcaps return TRUE when we don't have a target, just like
9215         setcaps does.
9216
9217 2006-10-27  Wim Taymans  <wim@fluendo.com>
9218
9219         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9220         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9221
9222 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9223
9224         * gst/gststructure.c: (gst_structure_id_set_value):
9225           If someone tries to set a non-UTF8 string field on a structure,
9226           don't just print a warning, but also ignore the request and do
9227           not change/add that field to the structure.
9228
9229         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9230           Test for the above.
9231
9232 2006-10-25  David Schleef  <ds@schleef.org>
9233
9234         * gst/gstinfo.c:
9235           g_hash_table_insert() needs a cast to a non-const pointer duh.
9236
9237 2006-10-25  David Schleef  <ds@schleef.org>
9238
9239         * gst/gstinfo.c:
9240         * gst/gstinfo.h:
9241           Change name parameter of _gst_debug_register_funcptr to const
9242           to reflect the constness of its use in the function as well
9243           as to quiet a gcc warning.
9244
9245 2006-10-25  Edward Hervey  <edward@fluendo.com>
9246
9247         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9248         Don't push the buffer if it's empty.
9249         Closes #363095
9250
9251 2006-10-24  Wim Taymans  <wim@fluendo.com>
9252
9253         * gst/gstevent.h:
9254         Add small comment.
9255
9256         * libs/gst/base/gstbasetransform.c:
9257         (gst_base_transform_sink_eventfunc):
9258         Debug segment values *after* updating them as this is more
9259         interesting.
9260
9261 2006-10-23  Wim Taymans  <wim@fluendo.com>
9262
9263         * docs/design/part-events.txt:
9264         Update some docs.
9265
9266         * docs/design/part-block.txt:
9267         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9268         (gst_pad_push_event):
9269         Revert BLOCKING patch, it tries to be smart without really having a
9270         clear idea what or how. So, now we discard all FLUSHING events again on
9271         a blocking pad. Should fix gnonlin again.
9272
9273 2006-10-23  Wim Taymans  <wim@fluendo.com>
9274
9275         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9276
9277         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9278         (gst_base_src_start), (gst_base_src_activate_push):
9279         Make sure size is always initialized. Fixes #364388.
9280
9281 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9282
9283         * docs/random/ensonic/distributed.txt:
9284           add some ideas about doing distributed processing
9285
9286         * docs/random/ensonic/profiling.txt:
9287           get_rusage look promising
9288
9289 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9290
9291         * docs/manual/basics-helloworld.xml:
9292           Add a cast in example to fix compile warning
9293
9294 2006-10-18  Wim Taymans  <wim@fluendo.com>
9295
9296         * gst/gstsegment.c: (gst_segment_set_last_stop),
9297         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9298         Relax arg checking again, -1 is allowed.
9299
9300 2006-10-18  Wim Taymans  <wim@fluendo.com>
9301
9302         * gst/gstsegment.c: (gst_segment_set_last_stop),
9303         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9304         _set_last_stop() must be with a value != -1
9305         A _TYPE_SET to -1 means seek to 0.
9306         Calc last_stop correctly for negative rates.
9307         Make sure we work with positive durations when updating a segment.
9308
9309 2006-10-18  Wim Taymans  <wim@fluendo.com>
9310
9311         * docs/design/part-live-source.txt:
9312         * gst/gstclock.h:
9313         Small docs fixes.
9314
9315 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9316
9317         * gst/gstbuffer.h:
9318           Add an explicit cast to GstBuffer** to keep old code that added an
9319           explicit cast to GstMiniObject** for gst_mini_object_replace()
9320           compiling without warning.
9321
9322 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9323
9324         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9325           check for validity of dates
9326
9327 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9328
9329         * docs/gst/gstreamer-sections.txt:
9330           Forgot this one, makes gtk-doc shut up.
9331
9332 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9333
9334         Patch by: Peter Kjellerstedt <pkj at axis com>
9335
9336         * gst/gstobject.h:
9337           Don't define xmlNodePtr to gpointer if the core was built with
9338           --disable-loadsave and --disable-registry, this will break
9339           applications that want to use libxml2 but are buildling against a
9340           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9341           instead so we don't have to mess with the libxml2 namespace
9342           (#361675).
9343
9344 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9345
9346         * gst/gstbuffer.h:
9347           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9348           type-punned pointer warnings.
9349
9350 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9351
9352         * gst/gstelement.h:
9353           Add casts to the correct return type to state <=> state transition
9354           macros.
9355
9356 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9357
9358         * docs/design/part-live-source.txt:
9359           describe howto handle latency
9360         
9361         * docs/random/ensonic/profiling.txt:
9362           more ideas
9363
9364         * tools/gst-plot-timeline.py:
9365           fix log parsing for solaris, remove unused function
9366
9367 2006-10-16  Wim Taymans  <wim@fluendo.com>
9368
9369         * docs/design/part-trickmodes.txt:
9370         * gst/gstevent.c:
9371         Update some docs regarding reverse playback.
9372
9373 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9374
9375         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9376
9377         * win32/vs8/grammar.vcproj:
9378           Error out with a warning if glib-genmarshal.exe is not in path,
9379           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9380
9381 2006-10-13  Wim Taymans  <wim@fluendo.com>
9382
9383         * gst/gstsegment.c: (gst_segment_set_seek):
9384         When seeking to stop -1, set last_stop (current position) to the
9385         duration of the segment.
9386
9387 2006-10-13  Wim Taymans  <wim@fluendo.com>
9388
9389         * gst/gstelement.h:
9390         Clarify _NO_PREROLL a bit more.
9391
9392         * gst/gstevent.c:
9393         Fix docs.
9394
9395         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9396         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9397         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9398         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9399         due to wrong locking order. Fixes #361769.
9400         Remove some redundant/misplaced checks in pad_block.
9401
9402         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9403         For negative rates, count backwards from the duration.
9404
9405 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9406
9407         * gst/gsterror.c: (_gst_library_errors_init):
9408           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9409           up with something better).
9410
9411 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9412
9413         * win32/vs6/libgstreamer.dsp:
9414         * win32/vs7/libgstreamer.vcproj:
9415         * win32/vs8/libgstreamer.vcproj:
9416           Don't reference glib-compat.c which is currently not used and not
9417           disted; add gstquark.c which was recently added. Fixes #361730.
9418
9419 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9420
9421         * win32/common/libgstbase.def:
9422         * win32/common/libgstcontroller.def:
9423         * win32/common/libgstreamer.def:
9424           Add gst_caps_merge() and a bunch of other recently-added functions.
9425           Fixes #361732.
9426
9427 2006-10-11  Wim Taymans  <wim@fluendo.com>
9428
9429         * docs/plugins/gstreamer-plugins.args:
9430         * docs/plugins/inspect/plugin-coreelements.xml:
9431         * docs/plugins/inspect/plugin-coreindexers.xml:
9432         Update element args.
9433
9434         * gst/gstsystemclock.c:
9435         Small comment update.
9436
9437         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9438         (gst_tee_request_new_pad), (gst_tee_release_pad),
9439         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9440         (gst_tee_sink_activate_pull):
9441         * plugins/elements/gsttee.h:
9442         Some tee loving:
9443         Add default property defines.
9444         Implement release pad function.
9445         Give properties better blubs etc.
9446         Activate pads before adding them to a running tee.
9447         Do simple buffer_alloc on the first requested pad.
9448         Post error when activation fails.
9449
9450 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9451
9452         * gst/gst.c: (ensure_current_registry_forking):
9453           Check return value of write() to make compiler happy.
9454
9455 2006-10-11  Wim Taymans  <wim@fluendo.com>
9456
9457         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9458
9459         * plugins/elements/gstqueue.c: (gst_queue_chain):
9460         Recheck queue filledness after signalling the overrun when we're about
9461         to leak downstream because we released the lock when emitting the signal
9462         and the queue could be empty again. Fixes #352345.
9463
9464 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9465
9466         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9467           Fix refcounting here too, just like we did for _new_valist() a few
9468           days ago (#357180) (thanks to René Stadler). Also remove all those
9469           'Since: 0.9' from the gtk-doc blobs.
9470
9471         * tests/check/libs/controller.c: (controller_refcount_new_list),
9472         (gst_controller_suite):
9473           Unit test for the above.
9474
9475 2006-10-10  Wim Taymans  <wim@fluendo.com>
9476
9477         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9478
9479         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9480         (gst_pad_save_thyself):
9481         Update some docs.
9482         Write pad direction in XML output. Fixes #345496.
9483
9484 2006-10-10  Wim Taymans  <wim@fluendo.com>
9485
9486         Patch by: René Stadler <mail at renestadler dot de>
9487
9488         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9489         (gst_controller_new_list), (_gst_controller_dispose),
9490         (_gst_controller_finalize), (_gst_controller_class_init):
9491         Take ref to controlled object so that it cannot disappear. 
9492         Fixes #357432.
9493
9494 2006-10-10  Wim Taymans  <wim@fluendo.com>
9495
9496         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9497         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9498         (gst_check_teardown_sink_pad):
9499         Activate/deactivate pads in setup/teardown respectively.
9500
9501 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9502
9503         Patch by: Josep Torra Valles <josep@fluendo.com>
9504
9505         * gst/Makefile.am:
9506         Cast values when making gstenumtypes.h.  This pacifies Forte
9507         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9508         in the enumeration.
9509
9510 2006-10-09  Wim Taymans  <wim@fluendo.com>
9511
9512         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9513         Rename some more @cur to @start to fix docs. 
9514
9515         * gst/gstsegment.c: (gst_segment_set_seek):
9516         Fix typo.
9517         time and start must always stay in sync as defined in design doc.
9518
9519         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9520         Rename param to fix docs.
9521
9522         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9523         Check that start and time are in sync.
9524
9525         * tests/check/pipelines/parse-launch.c:
9526         (gst_parse_test_element_change_state):
9527         Activate pad before adding to the element.
9528
9529 2006-10-09  Wim Taymans  <wim@fluendo.com>
9530
9531         * docs/design/part-qos.txt:
9532         Fix typo.
9533
9534         * gst/gstevent.c:
9535         * gst/gstevent.h:
9536         Update seek event docs regarding negative rates.
9537         Rename @cur to @start. 
9538
9539         * gst/gstsegment.c: (gst_segment_set_seek):
9540         * gst/gstsegment.h:
9541         Update set_seek docs regarding negative rates.
9542         Correctly update last_stop to @stop when dealing with negative
9543         rates.
9544         Rename @cur to @start. 
9545
9546         * tests/check/gst/gstpad.c: (GST_START_TEST):
9547         Activate pads before trying to use them.
9548
9549         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9550         (gst_segment_suite):
9551         Add simple check for segments and negative rates.
9552
9553 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9554
9555         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9556         * gst/gsttaglist.h:
9557         * docs/gst/gstreamer-sections.txt:
9558           API: add gst_tag_list_is_empty() (#360467).
9559
9560         * tests/check/gst/gsttag.c: (GST_START_TEST):
9561           And a test case.
9562
9563 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9564
9565         * gst/gstmessage.h:
9566         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9567         a value that doesn't fit on enumeration.
9568
9569 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9570
9571         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9572         Remove local debugging system and use Gstreamer's instead.
9573
9574 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9575
9576         Patch by: Josep Torra Valles <josep@fluendo.com>
9577
9578         * common/m4/gst-error.m4:
9579         Disable warning of statement not reached on Forte.
9580         * gst/gstmessage.h:
9581         Fix warning on Forte (value doesn't fit on enumeration).
9582         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9583         Fix warning on Forte (value doesn't fit on enumeration).
9584         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9585         DEBUG macro says it takes minimum of 2 args and so Forte
9586         complains about the use with just 1 arg.
9587         * plugins/elements/gstfdsink.c:
9588         * plugins/elements/gstfdsrc.c:
9589         * plugins/elements/gstfilesink.c:
9590         * plugins/elements/gstfilesrc.c:
9591         Use correct return type for the uri handler implementations.
9592
9593         All these fix warnings in Forte.  Fixes bug #360860.
9594
9595 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9596
9597         * gst/gstelement.h:
9598           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9599           format string, so don't use G_GNUC_PRINTF for those versions.
9600
9601 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9602
9603         * gst/gsttaglist.c: (gst_is_tag_list):
9604         * gst/gsttaglist.h:
9605           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9606
9607         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9608           Small test for the above.
9609
9610 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9611
9612         * gst/gsttaglist.h:
9613           Less tabs, more spaces.
9614
9615 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
9616
9617         * gst/gstinfo.h:
9618           Those two function declarations do actually belong there, revert
9619           commit from yesterday that turned them intro macros.
9620
9621 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9622
9623         Patch by: Josep Torra Valles <josep@fluendo.com>
9624
9625         * gst/gst.c: (gst_init_get_option_group):
9626         Fix empty declaration and type mismatch.
9627         * gst/gstbin.c: (gst_bin_change_state_func):
9628         Fix type mismatch.
9629         * gst/gstelement.c: (gst_element_continue_state),
9630         (gst_element_set_state_func), (gst_element_change_state),
9631         (gst_element_change_state_func):
9632         Fix type mismatches.
9633         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9634         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9635         Cast as appropriate.
9636         * gst/gstobject.c: (gst_class_signal_connect):
9637         Cast as appropriate.  The function pointer parameter really
9638         has the wrong type but would break API if we change it.
9639         * gst/gstquery.c:
9640         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9641         order of including string.h.
9642         * gst/gstutils.c: (gst_element_state_get_name):
9643         Remove unreachable line.
9644         * gst/gstxml.c: (gst_xml_parse_doc):
9645         Fix type mismatch.
9646         All these caught by Forte.
9647
9648 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9649
9650         Patch by: Josep Torra Valles <josep@fluendo.com>
9651
9652         * common/m4/gst-error.m4:
9653         Fixed bug #360151.
9654         We need to disable warnings on Forte for empty declarations
9655         due to gst-indent adding ;s to lines that just use macros
9656         where the macro actually doesn't need a ; at end to end
9657         statement.
9658
9659 2006-10-06  Wim Taymans  <wim@fluendo.com>
9660
9661         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9662         (gst_file_sink_close_file), (gst_file_sink_event),
9663         (gst_file_sink_render):
9664         Add some FIXME for the NEWSEGMENT handling.
9665
9666 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9667
9668         * gst/parse/grammar.y:
9669         Remove static function gst_parse_element_lock as all it does
9670         is return.  Looks like cruft from 0.8.
9671
9672 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9673
9674         Patch by: Josep Torra Valles <josep@fluendo.com>
9675
9676         * common/m4/gst-error.m4:
9677         * configure.ac:
9678         * libs/gst/net/Makefile.am:
9679         Fix a compilation issue with Forte on Solaris.  inet_aton is in
9680         libresolv.
9681
9682 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9683
9684         * gst/gstpad.c: (pre_activate):
9685         * gst/gstregistry.c: (gst_registry_scan_path_level):
9686         * gst/gstregistryxml.c: (load_plugin):
9687         * libs/gst/controller/gstcontroller.c:
9688         (gst_controlled_property_set_interpolation_mode):
9689         * libs/gst/dataprotocol/dataprotocol.c:
9690         (gst_dp_packet_from_event_1_0):
9691         * libs/gst/net/gstnetclientclock.c:
9692         (gst_net_client_clock_observe_times):
9693         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9694           Printf fixes.
9695
9696 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9697
9698         * configure.ac:
9699         * docs/gst/gstreamer-sections.txt:
9700         * gst/gstconfig.h.in:
9701         * gst/gstelement.h:
9702         * gst/gstinfo.h:
9703           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9704           whether we can use G_GNUC_PRINTF in other header files and at
9705           least check the printf format/arguments of debug messages and
9706           GST_ELEMENT_ERROR messages when the printf extension is not
9707           being used.
9708           Replace more tabs with spaces in gstinfo.h and remove two spurious
9709           function declarations in GST_DISABLE_DEBUG part with macros.
9710
9711 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
9712
9713         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9714           More docs for the sync-message signal (mention that it is not
9715           emitted by default); log message structures of messages posted on
9716           the bus as well.
9717
9718 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
9719
9720         * gst/gst.c: (ensure_current_registry_forking):
9721         Use a pipe pair to receive status results from the forked child, and
9722         ignore the result from waitpid. Fixes #355499
9723
9724 2006-10-02  Wim Taymans  <wim@fluendo.com>
9725
9726         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9727         (gst_ghost_pad_suite):
9728         Fix leak in check.
9729
9730 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9731
9732         * gst/gstpad.c:
9733           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9734
9735 2006-10-02  Edward Hervey  <edward@fluendo.com>
9736
9737         * docs/design/part-block.txt:
9738         Further explain the use of flushing on blocked pads.
9739         * docs/gst/gstreamer-sections.txt:
9740         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9741         (gst_pad_push_event):
9742         * gst/gstpad.h:
9743         Added new GstPadFlag : GST_PAD_BLOCKING.
9744         Adds the notion of pads really blocking, which enables to properly
9745         handle FLUSH_START/FLUSH_STOP events on blocked pads.
9746         Fixes #358999
9747         API: gst_pad_is_blocking()
9748         API: GST_PAD_IS_BLOCKING() macro
9749         API: GST_PAD_BLOCKING GstPadFlag
9750         
9751 2006-10-02  Wim Taymans  <wim@fluendo.com>
9752
9753         Patch by: mrcgran <mrc.gran at gmail dot com>
9754
9755         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9756         Filter the proxied caps against the padtemplate if we have one.
9757
9758         * gst/gstquery.c: (gst_query_new_segment):
9759         Add include for gstinfo.h so that compilation with
9760         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9761
9762 2006-10-02  Wim Taymans  <wim@fluendo.com>
9763
9764         Patch by: Alessandro Decina  <alessandro at nnva org>
9765
9766         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9767         (gst_file_sink_set_location), (gst_file_sink_open_file),
9768         (gst_file_sink_close_file), (gst_file_sink_event),
9769         (gst_file_sink_render):
9770         Set file to NULL when closing filesink so that we can set a new filename
9771         in READY. Fixes #358613.
9772
9773 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9774
9775         Patch by: Alessandro Decina  <alessandro at nnva org>
9776
9777         * gst/gstevent.c: (_gst_event_copy):
9778           Fix gst_mini_object_make_writable() and gst_event_copy() for events
9779           with event structures by setting the parent refcount address of the
9780           copied structure to the address of the refcount member of the newly
9781           copied event rather than the address of the refcount member of the
9782           original event. Fixes #358737.
9783
9784         * tests/check/gst/gstevent.c: (GST_START_TEST):
9785           Unit test for the above.
9786
9787 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
9788
9789         * docs/design/Makefile.am:
9790           Dist some more files.
9791
9792 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9793
9794         * tests/check/libs/controller.c: (GST_START_TEST),
9795         (gst_controller_suite):
9796           Add test for the previous fix; add some more tests
9797           for correct refcounting behaviour; fix a few leaks
9798           in test cases; call gst_controller_init() at start
9799           of all tests.
9800
9801 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9802
9803         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9804         (gst_controller_set_from_list):
9805           Don't g_return_val_if_fail() on timed values with invalid timestamps
9806           inside a critical section without unlocking the mutex. Spotted by
9807           René Stadler. (#357617)
9808           Also, fix up refcounting properly: when returning an existing
9809           controller, we should increase the reference only once and not
9810           once per property and when trying to control a property again
9811           we should also increase the refcount.
9812
9813 2006-09-29  Wim Taymans  <wim@fluendo.com>
9814
9815         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9816         * libs/gst/net/gstnettimeprovider.c:
9817         (gst_net_time_provider_thread):
9818         Stop reading commands when EOF as well.
9819
9820         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9821         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9822         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9823         Unify description of the dump property.
9824
9825 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9826
9827         * tests/examples/manual/.cvsignore:
9828         OK, so it's actually cvsignore that needs changing. Stop laughing.
9829
9830 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9831
9832         * tests/examples/manual/Makefile.am:
9833         Gah, declare vars *before* using them
9834
9835 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9836
9837         * gst/gst.c: (init_pre), (scan_and_update_registry),
9838         (ensure_current_registry_nonforking),
9839         (ensure_current_registry_forking), (ensure_current_registry),
9840         (init_post), (gst_debug_help), (gst_deinit):
9841         * gst/gst_private.h:
9842         * gst/gstregistry.c: (gst_registry_finalize),
9843         (gst_registry_remove_features_for_plugin_unlocked),
9844         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9845         (gst_registry_scan_path),
9846         (_priv_gst_registry_remove_cache_plugins),
9847         (_priv_gst_registry_cleanup):
9848         * gst/gstregistry.h:
9849         Re-commit the registry changes, along with an extra fix:
9850           When a cached plugin is encountered at a different file path,
9851           update the stored path in the registry cache so that the parent
9852           process knows where it actually is now when it re-reads the registry
9853           cache. Fixes the thing that broke distcheck with the previous commit.
9854
9855         * tests/check/Makefile.am:
9856         Clean up files named 'core' too when running make clean.
9857
9858         * tests/examples/manual/Makefile.am:
9859         Set up a registry path for running these tests, and clean it properly
9860         for distcheck.
9861
9862 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9863
9864         * configure.ac:
9865         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9866         want gmodule-no-export-2.0.pc instead so that we don't drag in
9867         --export-dynamic on every project that links to GStreamer.
9868
9869         Also, make our export regex only match the start of symbols, rather 
9870         than any symbol that contains '_gst' somewhere.
9871
9872         * libs/gst/check/Makefile.am:
9873         The libgstcheck we build does however need export-dynamic, as it
9874         produces some symbols that don't match our _gst... style regex.
9875         Fixes: #318031
9876
9877 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9878
9879         * gst/gst.c: (init_pre), (scan_and_update_registry),
9880         (ensure_current_registry_nonforking),
9881         (ensure_current_registry_forking), (ensure_current_registry),
9882         (init_post), (gst_debug_help), (gst_deinit):
9883         * gst/gst_private.h:
9884         * gst/gstregistry.c: (gst_registry_finalize),
9885         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9886         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9887         (_gst_registry_cleanup):
9888         * gst/gstregistry.h:
9889           Revert previous change until I figure out why it breaks distcheck.
9890
9891 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9892
9893         * gst/gst.c: (init_pre), (scan_and_update_registry),
9894         (ensure_current_registry_nonforking),
9895         (ensure_current_registry_forking), (ensure_current_registry),
9896         (init_post), (gst_debug_help), (gst_deinit):
9897
9898           Make init_pre and init_post take the full complement of GOptionFunc
9899           args so they can return useful GErrors. Make the registry updating
9900           functions do so.
9901
9902           Call _priv_gst_registry_remove_cache_plugins after scanning files to
9903           ensure that the registry we're about to write out doesn't contain
9904           stale information about old-deleted plugin files.
9905
9906           Make _priv_gst_registry_remove_cache_plugins return a boolean so
9907           that deletion of plugin files is considered a registry change.
9908
9909         * gst/gst_private.h:
9910         * gst/gstregistry.c: (gst_registry_finalize),
9911         (gst_registry_remove_features_for_plugin_unlocked),
9912         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9913         (gst_registry_scan_path),
9914         (_priv_gst_registry_remove_cache_plugins),
9915         (_priv_gst_registry_cleanup):
9916         * gst/gstregistry.h:
9917         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
9918         by adding _priv prefix, so that they won't appear in the global
9919         symbol table. They still do atm though because of #318031. Move the
9920         prototypes to gst_private.h
9921
9922         When removing a plugin, remove all features for that plugin too. 
9923         Fixes #340878.
9924
9925 2006-09-27  Wim Taymans  <wim@fluendo.com>
9926
9927         * docs/random/moving-plugins:
9928         Make it clear that the "compiled-in descriptions" really mean
9929         the element details.
9930
9931         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9932         (gst_base_sink_wait_preroll):
9933         Update docs.
9934
9935         * docs/libs/gstreamer-libs-sections.txt:
9936         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9937         (gst_base_src_get_range), (gst_base_src_activate_push):
9938         * libs/gst/base/gstbasesrc.h:
9939         Added function to block while waiting for PLAYING, this function
9940         is used by live sources that block on the clock.
9941         API: gst_base_src_wait_playing()
9942
9943 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9944
9945         Patch by: Peter Kjellerstedt <pkj at axis com>
9946
9947         * Makefile.am:
9948           gst-element-check.m4 is generated and should therefore be
9949           copied from the build dir rather than the source dir (#357593).
9950           'make distcheck' hasn't noticed this because we were disting
9951           the file as well, so stop doing that.
9952
9953 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9954
9955         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9956           Add some tests for gst_caps_intersect().
9957
9958         * tools/gst-launch.c: (event_loop):
9959           Print all buffering percentages we get, even the 100% one.
9960
9961 2006-09-26  Wim Taymans  <wim@fluendo.com>
9962
9963         * tools/gst-inspect.c: (print_element_properties_info),
9964         (print_signal_info):
9965         Fix printing of flags to match the look of enums.
9966
9967 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9968
9969         * gst/gstelementfactory.c:
9970           Fix typo in docs blurb.
9971
9972 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9973
9974         * gst/gsturi.c: (search_by_entry):
9975           Don't assert/crash here if a uri handler doesn't return any
9976           supported protocols. The list of protocols could be generated
9977           dynamically at runtime or at plugin registration, and an error
9978           in the underlying library shouldn't be fatal (#353301).
9979
9980 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9981
9982         * gst/gstinfo.c:
9983           Fix warning if HAVE_PRINTF_EXTENSION is undefined
9984           (spotted by Peter Kjellerstedt).
9985
9986 2006-09-23  Wim Taymans  <wim@fluendo.com>
9987
9988         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
9989
9990         * libs/gst/base/gstbasesrc.c:
9991         (gst_base_src_default_check_get_range), (gst_base_src_start),
9992         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9993         (gst_base_src_change_state):
9994         Match _start/_stop calls in the activate functions. Remove redundant
9995         _stop call from the state change function. Fixes #356910.
9996         Turn failure DEBUG into ERROR. 
9997
9998 2006-09-22  Wim Taymans  <wim@fluendo.com>
9999
10000         * docs/design/part-buffering.txt:
10001         * gst/gstmessage.c: (gst_message_new_buffering),
10002         (gst_message_parse_buffering):
10003         Update docs about buffering.
10004
10005         * docs/design/part-trickmodes.txt:
10006         Fix typo.
10007
10008 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10009
10010         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10011         (gst_controller_new_list):
10012           Ref instances when returning them again (fixes #357180)
10013
10014 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10015
10016         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10017           Don't forget to release proxy lock when there's an error.
10018
10019 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10020
10021         * gst/gstcaps.h:
10022           Add extra initialisers for Caps things, to fix some plugin warnings
10023           when using -Wextra
10024
10025 2006-09-18  Wim Taymans  <wim@fluendo.com>
10026
10027         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10028           Also set template on the internal pad so that a getcaps from the 
10029           target pad returns the template caps.
10030
10031 2006-09-18  Wim Taymans  <wim@fluendo.com>
10032
10033         * gst/gstelement.c: (gst_element_post_message),
10034         (gst_element_dispose):
10035         Use _DEBUG_OBJECT some more.
10036
10037         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10038         Avoid typechecks.
10039
10040         * tools/gst-launch.c: (main):
10041         If the toplevel element is not a GstPipeline, it must be put in a
10042         pipeline so that a bus and clock is selected.
10043
10044 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10045
10046         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10047           JITTER, RATE, and LATENCY query should be handled by the
10048           default case and not by the CONVERT query code.
10049
10050 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10051
10052         * gst/gstformat.c: (gst_format_register):
10053           Fix locking order (must take lock before using n_values).
10054
10055         * gst/gstvalue.c: (gst_value_serialize_enum),
10056         (gst_value_deserialize_enum_iter_cmp),
10057         (gst_value_deserialize_enum):
10058           Fix serialisation/deserialisation of custom registered GstFormats.
10059
10060         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10061           Unit test for custom format serialisation/deserialisation.
10062
10063 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10064
10065         * docs/pwg/building-boiler.xml:
10066         * plugins/elements/gstcapsfilter.c:
10067         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10068         section.
10069
10070 2006-09-16  Edward Hervey  <edward@fluendo.com>
10071
10072         * libs/gst/base/gstbasetransform.c:
10073         (gst_base_transform_buffer_alloc):
10074         Check if requested caps are the same as the sinks caps IF
10075         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10076         is FALSE.
10077         This fixes the renegotiation issues stated in #352827.
10078
10079 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10080
10081         * configure.ac:
10082         * docs/manual/advanced-autoplugging.xml:
10083         * tests/examples/Makefile.am:
10084         * tests/examples/manual/.cvsignore:
10085         * tests/examples/manual/Makefile.am:
10086         * tests/examples/manual/extract.pl:
10087           Extract the manual examples again like we used to do.
10088           Fix one of them.
10089
10090 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10091
10092         * win32/common/config.h:
10093           update for version
10094
10095 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10096
10097         * gst/gsterror.c:
10098           Documents how to receive errors.
10099
10100 2006-09-15  Wim Taymans  <wim@fluendo.com>
10101
10102         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10103         (event_loop), (main):
10104         Added some comments here and there.
10105         Post an application message when an interrupt is caught instead of doing
10106         an uncontrolled state change.
10107         Clean up the event loop.
10108         Handle buffering messages, pause/resume the pipeline.
10109         Make shutdown because of an interrupt more reliable.
10110
10111 2006-09-15  Wim Taymans  <wim@fluendo.com>
10112
10113         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10114         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10115         (gst_base_sink_preroll_object):
10116         Make sure that our internal state is correct when we commit our state
10117         asynchronously. This solves a race where a state change to PLAYING
10118         could cause the sink to remain blocked in preroll in some situations.
10119
10120 2006-09-15  Wim Taymans  <wim@fluendo.com>
10121
10122         * tools/gst-inspect.c: (print_element_properties_info),
10123         (print_signal_info):
10124         List flags as hex so it's easier to deal with.
10125
10126 2006-09-15  Wim Taymans  <wim@fluendo.com>
10127
10128         * docs/libs/gstreamer-libs-sections.txt:
10129         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10130         (gst_base_sink_do_sync):
10131         * libs/gst/base/gstbasesink.h:
10132         Expose logic to wait for preroll so that subclasses such as audiosink
10133         can also use this method.
10134         API: gst_base_sink_wait_preroll()
10135
10136 2006-09-15  Wim Taymans  <wim@fluendo.com>
10137
10138         * gst/gstobject.c: (gst_object_set_parent):
10139         * gst/gstpipeline.c: (do_pipeline_seek):
10140         Small cleanups in docs and code.
10141
10142         * gst/gstsegment.c: (gst_segment_clip):
10143         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10144         if stop == start and start is in the segment, no clipping should be
10145         done. Also add a test for this.
10146
10147 2006-09-15  Wim Taymans  <wim@fluendo.com>
10148
10149         * docs/design/part-buffering.txt:
10150         * docs/gst/gstreamer-sections.txt:
10151         * gst/gstmessage.c: (gst_message_new_buffering),
10152         (gst_message_parse_buffering):
10153         * gst/gstmessage.h:
10154         Added methods to create and parse BUFFERING messages.
10155         Added preliminary docs about buffering.
10156         API: gst_message_new_buffering
10157         API: gst_message_parse_buffering
10158
10159 2006-09-06  Wim Taymans  <wim@fluendo.com>
10160
10161         * gst/gstbin.c:
10162         Update documentation.
10163
10164         * gst/gstelement.c: (gst_element_class_init),
10165         (gst_element_release_request_pad), (gst_element_set_clock),
10166         (gst_element_get_index), (gst_element_add_pad),
10167         (gst_element_remove_pad), (gst_element_get_random_pad),
10168         (gst_element_send_event), (gst_element_get_query_types),
10169         (gst_element_query), (gst_element_post_message),
10170         (gst_element_message_full), (gst_element_continue_state),
10171         (gst_element_lost_state), (gst_element_save_thyself),
10172         (gst_element_restore_thyself):
10173         Documentation updates.
10174         Rename last bit of the new-pad -> pad-added signal rename.
10175         Fix the case where an element query would only work if the source
10176         pad was linked.
10177         Avoid some useless type checking in message handling.
10178
10179         * gst/gstevent.c:
10180         * gst/gstevent.h:
10181         * gst/gstutils.c:
10182         Documentation updates.
10183
10184 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10185
10186         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10187           add an INFO line for when we actually update the fd
10188
10189 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10190
10191         * configure.ac:
10192           back to TRUNK
10193
10194 === release 0.10.10 ===
10195
10196 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10197
10198         * configure.ac:
10199           releasing 0.10.10, "Pais"
10200
10201 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10202
10203         * docs/manual/advanced-position.xml:
10204           Fix typo in sample code.
10205
10206 2006-09-05  Wim Taymans  <wim@fluendo.com>
10207
10208         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10209         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10210         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10211         * libs/gst/net/gstnetclientclock.h:
10212         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10213         * libs/gst/net/gstnettimepacket.h:
10214         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10215         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10216         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10217         * libs/gst/net/gstnettimeprovider.h:
10218         Make stuff compile on windows. Fixes #345295.
10219
10220 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10221
10222         * gst/gst.c: (ensure_current_registry_forking):
10223           Print better details when child was terminated by signal.
10224
10225 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10226
10227         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10228           Print a warning rather than g_assert() if a plugin feature
10229           is a URI handler but returns no protocols (#353976).
10230
10231 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10232
10233         * docs/random/moving-plugins:
10234         Fix two typos.         
10235
10236 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10237
10238         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10239           Fix locking order, handle NULL function values properly.
10240
10241         * gst/gstinfo.h:
10242           Fix docs.
10243
10244         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10245           Initialise variable before using it and fix debug statement to
10246           print the address of the function rather than the address of the
10247           variable on the stack holding the address of the function.
10248
10249 2006-09-01  Wim Taymans  <wim@fluendo.com>
10250
10251         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10252         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10253         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10254         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10255         (gst_ghost_pad_parent_unset),
10256         (gst_ghost_pad_internal_do_activate_push),
10257         (gst_ghost_pad_internal_do_activate_pull),
10258         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10259         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10260         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10261         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10262         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10263         (gst_ghost_pad_new_no_target_from_template),
10264         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10265         More cleanups.
10266         Avoid needless typechecking in macros.
10267         Since the internal pad is always present and never changes, there is
10268         no need to locking or ref when retrieving it.
10269         Improve debugging a bit.
10270         Handle link errors when setting the target. Fixes #341029.
10271
10272 2006-09-01  Wim Taymans  <wim@fluendo.com>
10273
10274         * docs/libs/gstreamer-libs-sections.txt:
10275         * docs/plugins/gstreamer-plugins-sections.txt:
10276         Fix docs some more.
10277
10278         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10279         (gst_collect_pads_event):
10280         * libs/gst/base/gstcollectpads.h:
10281         Documentation updates.
10282         Free queued buffer when removing a pad.
10283
10284 2006-08-31  Michael Smith  <msmith@fluendo.com>
10285
10286         * gst/gstutils.c: (gst_element_link_pads),
10287         (gst_element_link_pads_filtered):
10288           Ensure that we set a capsfilter to NULL if we failed to link it
10289           when doing filtered linking, to avoid criticals.
10290
10291           No need to check for unreffing srcpad, which is explicly NULLed
10292           above (a trivial code cleanup).
10293
10294 2006-08-31  Wim Taymans  <wim@fluendo.com>
10295
10296         * docs/design/part-gstghostpad.txt:
10297         Update ascii art in documentation.
10298
10299         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10300         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10301         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10302         (gst_ghost_pad_internal_do_activate_push),
10303         (gst_ghost_pad_internal_do_activate_pull),
10304         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10305         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10306         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10307         (gst_ghost_pad_set_target):
10308         Small cleanups and leak fixes.
10309         Remove some checks now that the internal pad is never NULL.
10310         Fix the case where linking pads without a target would create nasty
10311         criticals. Fixes #341029.
10312         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10313         value of _set_target().
10314
10315         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10316         (gst_ghost_pad_suite):
10317         Some more tests for creating and linking untargeted ghostpads.
10318
10319 2006-08-31  Edward Hervey  <edward@fluendo.com>
10320
10321         * docs/gst/gstreamer-sections.txt:
10322         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10323         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10324         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10325         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10326         (gst_ghost_pad_new_from_template),
10327         (gst_ghost_pad_new_no_target_from_template):
10328         * gst/gstghostpad.h:
10329         Refactored *_new() functions.
10330         Templates are now used as a g_object_new() parameter.
10331         Use template in _do_getcaps() if we don't have a target.
10332         Small documentation cleanups.
10333         Added two new constructors:
10334         gst_ghost_pad_new_from_template()
10335         gst_ghost_pad_new_no_target_from_template()
10336         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10337         (gst_ghost_pad_suite):
10338         Added tests for new ghostpad instanciation functions.
10339
10340         API additions: gst_ghost_pad_new_from_template,
10341         gst_ghost_pad_new_no_target_from_template
10342
10343 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10344
10345         * docs/random/ensonic/profiling.txt:
10346           Ideas about qos profiling.
10347
10348 2006-08-29  Wim Taymans  <wim@fluendo.com>
10349
10350         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10351         Code cleanups.
10352         Fix memleak.
10353
10354 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10355
10356         * gst/gstxml.c:
10357           Improve and detypofy docs.
10358
10359         * tests/check/Makefile.am:
10360         * tests/check/gst/.cvsignore:
10361         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10362           Add a basic test suite for GstXML.
10363
10364 2006-08-29  Wim Taymans  <wim@fluendo.com>
10365
10366         * gst/gstelement.c: (activate_pads), (clear_caps),
10367         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10368         Clear the pad caps when the element shut down all of the pads and
10369         is not streaming data that could modify the caps. 
10370         Fixes #352958.
10371
10372 2006-08-28  Michael Smith  <msmith@fluendo.com>
10373
10374         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10375           Revert previous change; I misunderstood single-segment mode.
10376
10377 2006-08-28  Michael Smith  <msmith@fluendo.com>
10378
10379         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10380           Unset DISCONT on buffers when using single-segment mode.
10381
10382 2006-08-28  Wim Taymans  <wim@fluendo.com>
10383
10384         * gst/gstcaps.c: (gst_caps_merge_structure):
10385         * gst/gstcaps.h:
10386         Fix docs and indentation again.
10387
10388         * tests/check/gst/gstquery.c: (GST_START_TEST):
10389         Fix leak in tests and add some more tests.
10390
10391 2006-08-28  Edward Hervey  <edward@fluendo.com>
10392
10393         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10394         Inform GstSegment of the last stop position in order for the current
10395         segment to have a proper duration if it doesn't have a specific stop
10396         position from which a duration could be calculated.
10397         This bug was noticeable when a non-flushing, non-update new segment was
10398         followed by another segment (all buffers from the new segment were being
10399         dropped).
10400
10401 2006-08-28  Wim Taymans  <wim@fluendo.com>
10402
10403         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10404         Small comment update.
10405
10406         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10407         (gst_identity_transform_ip):
10408         Drop-probability is broken, mention this in the code with a 
10409         FIXME and also in the property description.
10410         Make silent also be silent about the drop messages.
10411
10412 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10413
10414         * docs/manual/appendix-win32.xml:
10415           Remove mention of popt, we don't depend on that any
10416           longer (#353136). Add some comments pointing out that
10417           this section is slightly outdated.
10418
10419 2006-08-28  Wim Taymans  <wim@fluendo.com>
10420
10421         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10422
10423         * gst/gstquery.c: (gst_query_new_segment):
10424         * tests/check/gst/gstquery.c: (GST_START_TEST):
10425         Initialize variables when creating a new segment query.
10426         Fixes #353121.
10427
10428 2006-08-28  Wim Taymans  <wim@fluendo.com>
10429
10430         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10431
10432         * gst/gstelement.c: (gst_element_get_bus):
10433         * tests/check/gst/gstelement.c: (GST_START_TEST):
10434         Check for NULL before _reffing the bus. Fixes #353122.
10435
10436 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10437
10438         * docs/manual/basics-bus.xml:
10439           Docs update: fix wrong callback return value explanation; add
10440           some lines about the implicit relationship between main loop
10441           and main context; remove duplicate main loop variable declaration.
10442
10443 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10444
10445         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10446           Don't leak caps in unit test; add a few more simple
10447           checks. 
10448
10449 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10450
10451         * docs/gst/gstreamer-sections.txt:
10452         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10453         (gst_caps_structure_is_subset), (gst_caps_merge),
10454         (gst_caps_merge_structure):
10455         * gst/gstcaps.h:
10456         * libs/gst/base/gstbasetransform.c:
10457         (gst_base_transform_transform_caps):
10458         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10459           implement caps merging (fixes #352580)
10460
10461 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10462
10463         * tools/Makefile.am:
10464         * tools/gst-plot-timeline.py:
10465           add debug-log plotting developer tool (#340674)
10466
10467 2006-08-23  Wim Taymans  <wim@fluendo.com>
10468
10469         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10470         (gst_pad_stop_task):
10471         Improve debugging for task functions.
10472
10473         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10474         (gst_task_start), (gst_task_pause), (gst_task_join):
10475         Make sure that the task function started and finished after a 
10476         join(). 
10477         Don't try to push the task function on the threadpool multiple
10478         times.
10479         Improve the g_warning message with some useful suggestions
10480         about how to fix the problem. 
10481
10482 2006-08-23  Wim Taymans  <wim@fluendo.com>
10483
10484         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10485         Handle RESYNC correctly in _proxy_getcaps.
10486
10487 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10488
10489         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10490         (gst_xml_parse_memory), (gst_xml_get_element):
10491           Chain up to parent class in dispose function and also
10492           unref the elements in the toplevel_elements GList.
10493           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10494           Always return a reference in gst_xml_get_element() rather
10495           than only sometimes.
10496
10497         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10498           Don't leak GstXml object.
10499
10500 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10501
10502         * docs/gst/gstreamer-sections.txt:
10503         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10504         (gst_caps_merge):
10505         * gst/gstcaps.h:
10506         * libs/gst/base/gstbasetransform.c:
10507         (gst_base_transform_transform_caps):
10508           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10509           in a better way
10510
10511 2006-08-21  Edward Hervey  <edward@fluendo.com>
10512
10513         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10514         Implement GObject::dispose virtual method in GstXML so we can free the
10515         top_elements GList.
10516
10517 2006-08-21  Wim Taymans  <wim@fluendo.com>
10518
10519         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10520         (gst_buffer_create_sub):
10521         Copy duration/offset_end/caps when creating a subbuffer of the
10522         complete parent.
10523         Make the subbuffer read-only when we make the metadata writable for
10524         now. Fixes #351768.
10525
10526         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10527         Added check for metadata copy when creating subbuffers.
10528
10529 2006-08-21  Edward Hervey  <edward@fluendo.com>
10530
10531         * libs/gst/base/gstbasetransform.c:
10532         (gst_base_transform_buffer_alloc):
10533         Only call downstream buffer_alloc if transform element is passthrough
10534         or always_in_place. Closes #350449.
10535
10536 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10537
10538         * ChangeLog:
10539           ChangeLog surgery to add comments to previous changes
10540
10541 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10542
10543         * gst/gst.c:
10544           Add comments
10545
10546         * gst/gstpad.c: (gst_pad_set_active):
10547           Be more verbose in the log
10548
10549         * libs/gst/base/gstbasetransform.c:
10550         (gst_base_transform_transform_caps):
10551           Simplify caps to get rid of duplicates, fixes #345444
10552
10553 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10554
10555         * gst/gstvalue.c:
10556         * gst/gstvalue.h:
10557           Use these optimizations only internally.
10558
10559 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10560
10561         * gst/gstvalue.c: (gst_value_compare_list),
10562         (gst_value_compare_fraction_range),
10563         (gst_value_intersect_fraction_fraction_range),
10564         (gst_value_intersect_fraction_range_fraction_range),
10565         (gst_value_subtract_fraction_fraction_range),
10566         (gst_value_subtract_fraction_range_fraction_range),
10567         (gst_value_get_compare_func), (gst_value_compare),
10568         (gst_value_compare_with_func):
10569         * gst/gstvalue.h:
10570           Saves the expensive lookup of the compare function in many cases
10571          (#345444)
10572
10573 2006-08-18  Edward Hervey  <edward@fluendo.com>
10574
10575         * tests/check/gst/gstinfo.c: (gst_info_suite):
10576         Disable test that require gstdebug if it wasn't built in core.
10577
10578 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10579
10580         * docs/random/ensonic/logging.txt:
10581           update ideas
10582           
10583         * gst/gstinfo.c: (gst_debug_log_default):
10584           reorder fields, save some columns, add optional color codes for log
10585           levels
10586
10587 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10588
10589         * docs/random/ensonic/logging.txt:
10590           add ideas about making the logs a bit more useful
10591
10592 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10593
10594         * docs/pwg/advanced-events.xml:
10595         * docs/pwg/titlepage.xml:
10596           Update for 0.10 API (#340627). Add myself
10597           to authors list.
10598
10599 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10600
10601         * docs/libs/gstreamer-libs-docs.sgml:
10602         * docs/libs/gstreamer-libs-sections.txt:
10603         * libs/gst/check/gstbufferstraw.c:
10604           Make gstcheck stuff show up in docs (still needs to
10605           be documented properly though).
10606
10607 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10608
10609         * docs/gst/gstreamer-sections.txt:
10610         * gst/Makefile.am:
10611         * gst/gst.c: (init_post):
10612         * gst/gst_private.h:
10613         * gst/gstquark.c: (_priv_gst_quarks_initialize):
10614         * gst/gstquark.h:
10615         * gst/gstquery.c: (gst_query_new_position),
10616         (gst_query_set_position), (gst_query_parse_position),
10617         (gst_query_new_duration), (gst_query_set_duration),
10618         (gst_query_parse_duration), (gst_query_new_convert),
10619         (gst_query_set_convert), (gst_query_parse_convert),
10620         (gst_query_new_segment), (gst_query_set_segment),
10621         (gst_query_parse_segment), (gst_query_new_seeking),
10622         (gst_query_set_seeking), (gst_query_parse_seeking):
10623         Add internal helpers for pre-registering quarks from static strings
10624         and using the quark values directly instead of looking them up when
10625         creating and parsing queries. Can be used for event construction too.
10626         Closes #350432.
10627
10628 2006-08-16  Wim Taymans  <wim@fluendo.com>
10629
10630         * gst/gstbin.c:
10631         Fix bogus docs.
10632
10633 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10634
10635         * gst/gstutils.c: (gst_util_set_value_from_string):
10636           Fix memleak (#351502).
10637
10638         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10639           Add unit test for most of gst_util_set_value_from_string()
10640           (not that one would want to encourage use of this function).
10641
10642 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10643
10644         * libs/gst/check/gstcheck.h:
10645           Use const gchar * variables in fail_unless_equals_string
10646           macro to avoid compiler warnings (and don't use tabs for
10647           indenting).
10648
10649 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10650
10651         * tools/gst-launch.c: (print_tag):
10652           More space on the left for the tag names, to cater
10653           for the 'extended comment' tag (not touching the
10654           string for the first line since it's translated).
10655
10656 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10657
10658         * libs/gst/check/gstcheck.h:
10659           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10660           print something when they fail.
10661
10662 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10663
10664         * docs/gst/gstreamer-sections.txt:
10665         * gst/gsttaglist.c: (_gst_tag_initialize):
10666         * gst/gsttaglist.h:
10667           API: add GST_TAG_EXTENDED_COMMENT (#350935).
10668           Also change merge function for GST_TAG_COMMENT to
10669           use_first.
10670
10671 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10672
10673         * gst/gstinfo.c: (gst_debug_print_object):
10674           Make GST_PTR_FORMAT print messages as well.
10675
10676         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10677         (GST_START_TEST), (gst_info_suite):
10678           More tests.
10679
10680 2006-08-14  Edward Hervey  <edward@fluendo.com>
10681
10682         * gst/gstelementfactory.c: (gst_element_register):
10683         If the GstElementClass doesn't have a GstElementDetails with all fields
10684         filled up correctly (longname, description AND author), then error out
10685         nicely instead of crashing.
10686
10687 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10688
10689         * gst/gststructure.c:
10690           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10691
10692         * gst/gstvalue.h:
10693           Expand on the difference between arrays and lists as we use them.
10694           
10695 2006-08-14  Wim Taymans  <wim@fluendo.com>
10696
10697         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10698         If the parent state change function failed, don't assume we can safely
10699         stop the source, this will be done when the pads are deactivated.
10700
10701 2006-08-14  Wim Taymans  <wim@fluendo.com>
10702
10703         * gst/gstbuffer.c:
10704         * gst/gsttask.c: (gst_task_join):
10705         Small doc updates.
10706
10707         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10708         (gst_pad_stop_task):
10709         When pad (de)activation failed for some reason, restore the old
10710         activation mode and set the pad to flushing instead of assuming the
10711         pad is deactivated.
10712         If the _task_join() failed, reinstall the task on the pad so that it can
10713         be stopped later and return an error.
10714
10715 2006-08-11  Andy Wingo  <wingo@pobox.com>
10716
10717         * configure.ac:
10718         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10719         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10720         is only for users of API that don't want to see deprecated
10721         functions in the headers; people that want to compile out
10722         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10723         CFLAGS. Fixes the build of multifdsink, or will soon..
10724
10725 2006-08-11  Wim Taymans  <wim@fluendo.com>
10726
10727         * docs/gst/gstreamer-sections.txt:
10728         Add GstClockClass vmethod docs.
10729
10730         * gst/gstcaps.h:
10731         Mark #endif with comment for associated #if
10732
10733         * gst/gstclock.c: (gst_clock_id_wait):
10734         * gst/gstclock.h:
10735         Add vmethod wait_jitter to avoid an unneeded _get_time() for
10736         most clock implementations.
10737         Document vmethods.
10738         Flesh out docs about resolution methods.
10739         API: GstClockClass::wait_jitter
10740
10741         * gst/gstsystemclock.c: (gst_system_clock_class_init),
10742         (gst_system_clock_async_thread),
10743         (gst_system_clock_id_wait_jitter_unlocked),
10744         (gst_system_clock_id_wait_jitter):
10745         Use base class wait_jitter variant for improved performance
10746         due to less clock polling.
10747
10748 2006-08-11  Edward Hervey  <edward@fluendo.com>
10749
10750         * gst/gst.c: (gst_init_check), (init_post):
10751         Set gst as being initialized before scanning/updating the registry,
10752         since there might be my python plugin loader that calls gst_init() and
10753         we don't want to loop back in.
10754         Closes #350879
10755
10756 2006-08-11  Wim Taymans  <wim@fluendo.com>
10757
10758         * docs/design/part-qos.txt:
10759         Bring docs in line with the code. Mostly the sign of the jitter was
10760         wrong in the docs. Fixes #349943.
10761
10762         * gst/gstclock.c:
10763         Fix the docs for the jitter.
10764
10765         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10766         (gst_event_parse_tag), (gst_event_new_buffer_size),
10767         (gst_event_parse_buffer_size), (gst_event_parse_qos),
10768         (gst_event_new_seek), (gst_event_parse_seek),
10769         (gst_event_new_navigation):
10770         Make sure the GstStructure has no parent when creating custom
10771         events.
10772         Add some more argument checking so that we avoid 0.0 rates.
10773         Flesh out the docs for the QoS event some more.
10774
10775 2006-08-11  Wim Taymans  <wim@fluendo.com>
10776
10777         * docs/gst/gstreamer-sections.txt:
10778         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10779         (ensure_current_registry_forking), (ensure_current_registry),
10780         (parse_one_option), (parse_goption_arg), (gst_deinit),
10781         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10782         * gst/gst.h:
10783         Doc updates.
10784         Added API and command line option to disable registry forking in
10785         addition to the environment variable.
10786         Constify some static arrays.
10787         Added some more debug.
10788         Don't deinit twice.
10789         API: gst_registry_fork_is_enabled()
10790         API: gst_registry_fork_set_enabled()
10791         API: --gst-disable-registry-fork command line option
10792         Fixes #348918.
10793
10794 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
10795
10796         * gst/gst.c: (gst_init):
10797           Fix typo in error message.
10798
10799 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10800
10801         * libs/gst/controller/gstcontroller.h:
10802           fix ABI size-correction
10803
10804         * tests/check/libs/gdp.c: (gst_dp_suite):
10805           make tests that use deprecated API conditional
10806
10807 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10808
10809         * docs/libs/gstreamer-libs-sections.txt:
10810         * libs/gst/controller/gstcontroller.c:
10811         (_gst_controller_get_property), (_gst_controller_set_property),
10812         (_gst_controller_init), (_gst_controller_class_init):
10813         * libs/gst/controller/gstcontroller.h:
10814         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10815         (gst_object_set_control_rate):
10816           API: add gst_object_{s,g}et_control_rate(), add private data section,
10817           fix docs
10818
10819         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10820         * libs/gst/dataprotocol/dataprotocol.h:
10821           add deprecation guards to make gtk-doc happy and allow disabling cruft
10822
10823 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
10824
10825         * tests/check/Makefile.am:
10826         * tests/check/gst/.cvsignore:
10827           Let's enable the new unit test as well.
10828
10829 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
10830
10831         * configure.ac:
10832         * docs/gst/gstreamer-sections.txt:
10833         * gst/gstconfig.h.in:
10834         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10835         (_gst_info_printf_extension_ptr),
10836         (_gst_info_printf_extension_segment):
10837           API: add GST_SEGMENT_FORMAT, which is a printf extension we
10838           register that lets us easily dump GstSegments into debug
10839           logs (#350419).
10840
10841         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10842         (info_segment_format_printf_extension), (gst_info_suite):
10843           Add simple unit test that logs a bunch of different segments (not
10844           valgrinded at the moment because of leaks in
10845           gst_debug_add_log_function).
10846
10847 2006-08-09  Edward Hervey  <edward@fluendo.com>
10848
10849         * libs/gst/base/gstbasetransform.c:
10850         (gst_base_transform_buffer_alloc):
10851         Even if we can't figure out the proper format to request downstream,
10852         call buffer_alloc() downstream with the input parameters without setting
10853         the caps on the srcpad. This will force negotiation in the chain
10854         function.
10855         Closes #350449
10856
10857 2006-08-08  Edward Hervey  <edward@fluendo.com>
10858
10859         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10860         Unlinking from a pad without a target is now a perfectly valid case
10861         which should NOT raise an assertion.
10862         This case would happen if a linked ghostpad its target set to NULL after
10863         it was previously linked.
10864
10865 2006-08-08  Edward Hervey  <edward@fluendo.com>
10866
10867         * tests/check/libs/gdp.c:
10868         Also comment out the test (see below).
10869
10870 2006-08-08  Edward Hervey  <edward@fluendo.com>
10871
10872         * tests/check/libs/gdp.c: (gst_dp_suite):
10873         Use the architecture information from config.h and not gcc macros
10874         in order to properly disable a test that fails on PPC64.
10875
10876 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
10877
10878         * gst/gstelement.c: (gst_element_remove_pad):
10879           Don't crash printing the warning if the pad has no parent.
10880
10881 2006-08-02  Wim Taymans  <wim@fluendo.com>
10882
10883         * libs/gst/dataprotocol/dataprotocol.c:
10884         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10885         (gst_dp_crc), (gst_dp_header_payload_length),
10886         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10887         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10888         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10889         (gst_dp_event_from_packet), (gst_dp_validate_header),
10890         (gst_dp_validate_payload):
10891         Make debug category static
10892         Constify the crc table.
10893         Do some more arg checking in public functions.
10894         Fix some docs and do some small cleanups.
10895
10896         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10897         Add some more checks to see if GDP deals with bogus input.
10898
10899 2006-07-31  Wim Taymans  <wim@fluendo.com>
10900
10901         * gst/gstvalue.c: (gst_value_compare_list):
10902         Fix GstValueList comparison code. Fixes #347293.
10903
10904         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10905         Check to test GstValueList comparison.
10906
10907 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
10908
10909         * gst/gstelementfactory.c: (gst_element_factory_create):
10910         Remove unnecessary ref/unref pair
10911
10912         * gst/parse/grammar.y:
10913         Make sure to free the parse buffer on all code paths.
10914         Move a g_free up to the error handler where it's easier to see.
10915
10916         * tests/check/gst/gstevent.c: (test_event):
10917         Extending timeout for downstream travelling events to 10 seconds to
10918         hopefully avoid intermittent failure on the buildbots.
10919
10920         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
10921         Don't manually set the state of the src element - it will happen as a
10922         natural consequence of the pipeline changing state, and that way it
10923         will do it in the right order too.
10924
10925 2006-07-31  Wim Taymans  <wim@fluendo.com>
10926
10927         * libs/gst/base/gstbasetransform.c:
10928         (gst_base_transform_buffer_alloc):
10929         Use OBJECT_LOCK and refcounting to get the pad caps in the
10930         buffer_alloc function because the caps could change while we are
10931         busy with them. Fixes #349105
10932
10933 2006-07-31  Wim Taymans  <wim@fluendo.com>
10934
10935         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
10936         Protect _PAD_CAPS with OBJECT_LOCK.
10937
10938 2006-07-31  Wim Taymans  <wim@fluendo.com>
10939
10940         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10941         (gst_pad_get_property), (gst_pad_activate_pull),
10942         (gst_pad_activate_push), (gst_pad_set_blocked_async),
10943         (gst_pad_set_activate_function),
10944         (gst_pad_set_activatepull_function),
10945         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
10946         (gst_pad_set_getrange_function),
10947         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
10948         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10949         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
10950         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
10951         (gst_pad_set_acceptcaps_function),
10952         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10953         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
10954         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
10955         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
10956         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
10957         (gst_pad_configure_sink), (gst_pad_configure_src),
10958         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
10959         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
10960         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
10961         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
10962         (gst_pad_send_event):
10963         Use _DEBUG_OBJECT when it makes sense.
10964         Protect GST_PAD_CAPS with the OBJECT_LOCK.
10965         Small cleanups and code reflows.
10966         Avoid caps refcounting in _accept_caps.
10967         Refactor alloc_buffer so that the code performed on the peer is in a
10968         separate function. Also if the pad does not implement a buffer alloc
10969         function, we should still check if the pad is flushing before falling
10970         back to the default allocator.
10971
10972 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
10973
10974         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10975         Make all uses of identity and fakesink have silent=true to avoid
10976         serialising every passing data structure, which is breaking tests
10977         on FC4 for some unknown reason.
10978
10979 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
10980
10981         * gst/parse/Makefile.am:
10982         * gst/parse/grammar.y:
10983         * gst/parse/parse.l:
10984           Reverted previous patch as it required to bump the flex dependency to
10985           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
10986
10987 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
10988
10989         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
10990
10991         * gst/parse/Makefile.am:
10992         * gst/parse/grammar.y:
10993         * gst/parse/parse.l:
10994           push & pop the state of the lexer for reentrant use case
10995           Fixes #349180
10996
10997 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
10998
10999         * libs/gst/base/gstbasesrc.h:
11000           Note in the docs that the ::newsegment vfunc is not actually used by
11001           GstBaseSrc.
11002
11003 2006-07-28  Wim Taymans  <wim@fluendo.com>
11004
11005         * libs/gst/base/gstcollectpads.c:
11006         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11007         (gst_collect_pads_clear), (gst_collect_pads_flush),
11008         (gst_collect_pads_event), (gst_collect_pads_chain):
11009         When flushing a pad, also clear the queued buffer so that we don't
11010         accidentally use it when we shouldn't.
11011         Fix leaks by inreffing incomming buffer.
11012         Flush out queued buffers in case of errors.
11013         Fixes #347452.
11014
11015 2006-07-28  Wim Taymans  <wim@fluendo.com>
11016
11017         * docs/random/phonon-gst:
11018         Random notes about a Phonon backend.
11019
11020 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11021
11022         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11023         Extra debug output
11024         * tests/check/libs/gdp.c: (gst_dp_suite):
11025         Take a whack at fixing the ppc compile using a different define to
11026         disable the broken test.
11027
11028         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11029         Remove excess g_print()
11030
11031 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11032
11033         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11034         Oops, meant to uncomment this line too to dampen the noise a bit.
11035
11036 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11037
11038         * gst/parse/grammar.y:
11039         * gst/parse/parse.l:
11040         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11041         (GST_START_TEST), (parse_suite):
11042         Fix some of the leaks exposed by extending the parse-launch testsuite,
11043         and move the 3 I can't figure out into a separate test that won't run
11044         the pipelines unless the appropriate line is uncommented.
11045
11046 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11047
11048         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11049           Requesting 0 bytes before the end of the file should result in
11050           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11051           unit test.
11052
11053 2006-07-27  Wim Taymans  <wim@fluendo.com>
11054
11055         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11056         Fix useless assert, a uint is always positive.
11057
11058         * gst/gststructure.c: (gst_structure_nth_field_name),
11059         (gst_structure_foreach), (gst_structure_map_in_place):
11060         Check input arguments for public functions to avoid obvious crashes.
11061
11062         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11063         * plugins/elements/gstfakesink.h:
11064         Do less useless typechecking.
11065
11066 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11067
11068         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11069           Do not use mmap() by default since there are a number of error
11070           conditions that we would like to handle in a non-fatal way that
11071           will result in a SIGBUS if we use mmap(). Examples: external
11072           devices (USB harddrive, portable music player) being unplugged
11073           while in use; file on mounted CD/DVD that can't be read because
11074           the medium is partly damaged. Fixes #348455 and #348475.
11075
11076 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11077
11078         * gst/gstquery.h:
11079         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11080         rates are a gdouble
11081
11082 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11083
11084         * gst/gstregistry.c:
11085           Move big documentation comment into class section header, so that it
11086           appears in the API docs.
11087
11088 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11089
11090         * docs/gst/gstreamer-sections.txt:
11091         Oops. Commit the docs additions too for new API.
11092         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11093
11094 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11095
11096         * gst/gststructure.c: (gst_structure_id_set),
11097         (gst_structure_id_set_valist):
11098         * gst/gststructure.h:
11099         Add API for setting values into structures without performing
11100         a quark lookup, if the appropriate quark is already known.
11101
11102         API: gst_structure_id_set
11103         API: gst_structure_id_set_valist
11104
11105         * gst/parse/grammar.y:
11106         * gst/parse/parse.l:
11107         Remove some dead code shown by the coverage information.
11108         Don't throw a critical g_warning when encountering a syntax error,
11109         just warn and let the normal error path handle it.
11110
11111         * plugins/elements/gstelements.c:
11112         Bump the rank of filesink up to PRIMARY so that it is preferred over
11113         gnomevfssink for file:// sink uri's
11114
11115         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11116         (GST_START_TEST), (run_delayed_test),
11117         (gst_parse_test_element_base_init),
11118         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11119         (gst_parse_test_element_change_state),
11120         (gst_register_parse_element), (parse_suite):
11121         Beef up the tests for parse syntax to check that more error cases
11122         fail as they are supposed to. Increases the test coverage a bit.
11123
11124 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11125
11126         * docs/manual/basics-elements.xml:
11127           Fix gst_element_link() example.
11128
11129         * gst/gstutils.c:
11130           Mention in API docs that one should usually gst_bin_add()
11131           elements to a bin or pipeline before doing the linking.
11132           
11133 2006-07-26  Wim Taymans  <wim@fluendo.com>
11134
11135         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11136         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11137         Avoid function call for known types by keeping the buffer and
11138         subbuffer GType global.
11139
11140         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11141         Random silly optimisations in read() path.
11142
11143 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11144
11145         * tools/gst-launch.c: (main):
11146           If the top-level of the parse is a normal bin, it doesn't do the
11147           right logic to run as a top-level element, so place it inside a
11148           pipeline.
11149
11150 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11151
11152         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11153           Remove superfluous g_object_notify() calls, GObject does
11154           that for us automatically.
11155
11156 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11157
11158         * gst/gstinfo.h:
11159           on Win32, use dllspec to export the debug category symbols
11160
11161 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11162
11163         * gst/gsttaglist.c: (_gst_tag_initialize):
11164           Allow more than one GST_TAG_IMAGE per taglist.
11165
11166 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11167
11168         * gst/gstminiobject.c:
11169           update docs
11170         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11171         (gst_fd_src_create):
11172           log recurring events at LOG level
11173           add more debug for when the fd gets set
11174
11175 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11176
11177         * gst/gstparse.c: (gst_parse_launch):
11178           Also remove reentrance checks if flex is MT safe (#348179)
11179          Fix my empty ChangeLog entry below
11180
11181 2006-07-21  Andy Wingo  <wingo@pobox.com>
11182
11183         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11184
11185         * libs/gst/check/Makefile.am
11186         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11187         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11188         * libs/gst/check/gstbufferstraw.h:
11189         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11190         functions, thus proving I am still a GStreamer haxor. OK I wrote
11191         them a long time ago, but anyways.
11192
11193 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11194
11195         * configure.ac:
11196         * gst/gstparse.c: (gst_parse_launch):
11197           Check for flex version and omit mutex if we have a MT save flex
11198           (fixes #348179)
11199
11200 2006-07-21  Wim Taymans  <wim@fluendo.com>
11201
11202         * gst/gstparse.c: (gst_parse_launch):
11203         Protect recursive calls to _parse with a recursive mutex
11204         and busy flag.
11205
11206 2006-07-21  Wim Taymans  <wim@fluendo.com>
11207
11208         * tests/check/gst/gstpad.c: (GST_START_TEST):
11209         Fix leak in test.
11210
11211 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11212
11213         * gst/gstparse.c: (gst_parse_launch):
11214           Do not hang on recursive usage of gst_parse_launch()
11215
11216 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11217
11218         * gst/gsttaglist.c:
11219           Add some more docs, comments and FIXME 0.11s here and there
11220           and also fix some typos.
11221
11222 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11223
11224         * gst/gstsegment.h:
11225           Convert tabs to spaces for better readability. 
11226
11227 2006-07-20  Edward Hervey  <edward@fluendo.com>
11228
11229         * tests/check/libs/gdp.c: (gst_dp_suite):
11230         the test_buffer test fails at line 140 on ppc64 at the following
11231         check:
11232         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11233                 GST_BUFFER_FLAG_IN_CAPS),
11234                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11235         See bug #348114 for more details.
11236
11237 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11238
11239         * docs/pwg/advanced-scheduling.xml:
11240         * gst/gstpad.c:
11241           Fix typos (#348000).
11242
11243 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11244
11245         * docs/pwg/intro-basics.xml:
11246           Fix wrong links (#347927).
11247
11248 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11249
11250         * gst/gstregistry.h:
11251         * gst/gstregistryxml.c: (load_feature),
11252         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11253         * win32/common/config.h:
11254           make --disable-index work (#342564)
11255
11256 2006-07-18  Wim Taymans  <wim@fluendo.com>
11257
11258         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11259
11260         * gst/Makefile.am:
11261         * gst/gsttrace.h:
11262         The attached patch adds two missing defines to gsttrace.h when tracing
11263         is disabled.  It also corrects one existing define.
11264         Fixes #347756.
11265
11266 2006-07-17  Wim Taymans  <wim@fluendo.com>
11267
11268         * docs/gst/gstreamer-sections.txt:
11269         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11270         * gst/gst.h:
11271         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11272         Add two functions to check and change the SIGSEGV behaviour
11273         when loading plugins.
11274         Don't mess with the SIGSEGV handler when we were told not to.
11275         Fixes #347794.
11276         API: gst_segtrap_is_enabled
11277         API: gst_segtrap_set_enabled
11278
11279 2006-07-14  Wim Taymans  <wim@fluendo.com>
11280
11281         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11282         * tests/check/elements/filesrc.c: (GST_START_TEST):
11283         Revert fix for regression in #347408 after release.
11284
11285 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11286
11287         Patch by: Antoine Tremblay <hexa00 at gmail com>
11288
11289         * gst/gstutils.c: (gst_element_unlink):
11290           Free iterator when done (#347311).
11291
11292         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11293           And add a test case for this.
11294
11295 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11296
11297         * configure.ac:
11298         Bump nano back to CVS
11299
11300 === release 0.10.9 ===
11301
11302 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11303
11304         * configure.ac:
11305           releasing 0.10.9, "On the road again"
11306
11307 2006-07-13  Wim Taymans  <wim@fluendo.com>
11308
11309         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11310         * tests/check/elements/filesrc.c: (GST_START_TEST):
11311         Revert pull-0 fix for release. Disable check. Fixes #347408.
11312
11313 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11314
11315         * libs/gst/dataprotocol/dataprotocol.c:
11316         (gst_dp_event_from_packet_1_0):
11317           Fixes #347337: failure to deserialize event packets with
11318           empty payload (only event type)
11319
11320 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11321
11322         * gst/Makefile.am:
11323           do not install a .c file in the header directory
11324
11325 2006-07-13  Edward Hervey  <edward@fluendo.com>
11326
11327         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11328         GhostPad no longer implicitely use the padtemplates of the targets.
11329         Fixes #347384
11330
11331 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11332
11333         * gst/gstvalue.c: (gst_value_compare_list),
11334         (gst_value_compare_array), (_gst_value_initialize):
11335         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11336         Make GstValueArray comparison be order dependent as designed.
11337         Add checks for value lists and value array comparisons.
11338         Fixes #347221
11339
11340 2006-07-11  Edward Hervey  <edward@fluendo.com>
11341
11342         * gst/gstbin.c: (activate_pads),
11343         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11344         (gst_bin_change_state_func):
11345         (de)activate src pads before calling state_change on the childs.
11346         This is to avoid the case where a src ghostpad is blocked (holding the
11347         stream lock), which would block the deactivation of the ghostpad's
11348         target pad.
11349         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11350         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11351         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11352         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11353         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11354         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11355         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11356         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11357         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11358         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11359         (gst_ghost_pad_class_init),
11360         (gst_ghost_pad_internal_do_activate_push),
11361         (gst_ghost_pad_internal_do_activate_pull),
11362         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11363         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11364         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11365         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11366         GhostPads now create their internal GstProxyPad at creation (and not
11367         when they're linked, as it was being done previously).
11368         The internal and target pads are linked straight away.
11369         The data will also travel through the other pad in order to make
11370         pad blocking and probes non-hackish (the probe/block now really happens
11371         on the GhostPad and not on the target).
11372         * gst/gstpad.c: (gst_pad_set_blocked_async),
11373         (gst_pad_link_prepare), (gst_pad_push_event):
11374         Remove previous ghostpad cruft.
11375         * gst/gstutils.c: (gst_pad_add_data_probe),
11376         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11377         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11378         (gst_pad_remove_buffer_probe):
11379         Remove previous ghost pad cruft.
11380         Added more detailed debug statements.
11381         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11382         Fix the testsuite for refcounting changes.
11383         The comments about who has references were correct, but the refcount
11384         being checked wasn't the same (!?!).
11385
11386         Fixes #341029
11387
11388 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11389
11390         * docs/gst/gstreamer-sections.txt:
11391         * gst/gstconfig.h.in:
11392         More docs for configuration options, add docs to gtk-doc.
11393
11394 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11395
11396         * gst/Makefile.am:
11397         * gst/gstconfig.h.in:
11398         * win32/common/config.h:
11399         Fix build when disabling tracing (fixes #344016). Also start to document
11400         the defines that disable the sub-systems.
11401
11402 2006-07-10  Edward Hervey  <edward@fluendo.com>
11403
11404         * gst/gst.c: (ensure_current_registry_forking):
11405         let's make valgrind happy...
11406
11407 2006-07-09  Wim Taymans  <wim@fluendo.com>
11408
11409         * gst/gstelement.c: (activate_pads),
11410         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11411         Better pad activation code: Reset the collect value too on resync.
11412         Add some comments.
11413
11414 2006-07-09  Wim Taymans  <wim@fluendo.com>
11415
11416         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11417         (gst_pad_activate_push):
11418         Use some more macros where it makes sense.
11419         Allow pad mode switching instead of asserting. When a pad
11420         is activated in one mode and we activate it in another, 
11421         deactivate it first before activating it in a different mode.
11422         Fixes #329198.
11423
11424 2006-07-08  Andy Wingo  <wingo@pobox.com>
11425
11426         * tools/gst-launch.c (main): Handle err == NULL.
11427
11428         * gst/gst.c (init_post, ensure_current_registry)
11429         (ensure_current_registry_forking)
11430         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11431         factoring out the registry scanning into separate functions. Don't
11432         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11433         Better environment var name/interface suggestions accepted.
11434
11435 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11436
11437         * gst/gstobject.c: (gst_object_set_name_default),
11438         (gst_object_set_name):
11439           Random micro-optimisation: don't use a hash table
11440           with strings as keys and the usual strdup/strcmp
11441           involved, but rather just use the GQuark of the
11442           type name as key, since it needs to be looked up
11443           anyway to get the type name string.
11444
11445         * tests/check/gst/gstobject.c: (GST_START_TEST):
11446           Fix various leaks.
11447
11448 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11449
11450         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11451         (gst_bin_iterate_all_by_interface):
11452           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11453           GTypes are gulongs and thus the top 4 bytes might be cut
11454           off on some platforms when doing GPOINTER_TO_INT, leading
11455           to invalid GTypes and bad things happening (see RH bug #179654).
11456           Also add a check to make sure the type passed in is really
11457           an interface type.
11458
11459 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11460
11461         * .cvsignore:
11462           Ignore more.
11463
11464 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11465
11466         * Makefile.am:
11467         * configure.ac:
11468         * gst-element-check.m4:
11469         * gst-element-check.m4.in:
11470           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11471           instead of the unversioned gst-inspect (#324176, #168659).
11472
11473 2006-07-06  Wim Taymans  <wim@fluendo.com>
11474
11475         * gst/gstmessage.h:
11476         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11477         warnings.
11478
11479 2006-07-06  Wim Taymans  <wim@fluendo.com>
11480
11481         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11482         (gst_base_src_wait), (gst_base_src_update_length),
11483         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11484         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11485         (gst_base_src_loop), (gst_base_src_start),
11486         (gst_base_src_activate_pull):
11487         Update docs.
11488         blocksize == 0 now means the default blocksize when working in push
11489         based mode.
11490         Remove some pointless asserts in _wait function.
11491         Fix offset/length calculations and EOS handling. We can now pull 0
11492         bytes as well, which is allowed.
11493         use _check_get_range() to decide if we can operate in _pull based
11494         mode.
11495         Fix refcounting leak when check_get_range function was not 
11496         implemented.
11497         API GstBaseSrc::blocksize range can be 0 too now (default)
11498
11499         * tests/check/elements/filesrc.c: (GST_START_TEST),
11500         (filesrc_suite):
11501         Added check to test _get_range() behaviour.
11502
11503 2006-07-06  Wim Taymans  <wim@fluendo.com>
11504
11505         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11506         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11507         (gst_pad_pull_range):
11508         * gst/gstpad.h:
11509         Lots of comments and docs added to the pad functions.
11510         Flesh out the expected behaviour of the get_range() functions.
11511
11512 2006-07-06  Wim Taymans  <wim@fluendo.com>
11513
11514         * gst/gstbus.h:
11515         * gst/gstclock.h:
11516         * gst/gstevent.h:
11517         * gst/gstiterator.h:
11518         * gst/gstpad.h:
11519         * gst/gstplugin.h:
11520         * gst/gsttask.h:
11521         Remove comma at end of enumerator list. 
11522
11523 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11524
11525         * win32/common/libgstbase.def:
11526         * win32/common/libgstdataprotocol.def:
11527         * win32/common/libsgtreamer.def:
11528         Add new exported functions.
11529
11530 2006-07-05  Wim Taymans  <wim@fluendo.com>
11531
11532         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11533         Add some more docs here and there.
11534
11535 2006-07-05  Wim Taymans  <wim@fluendo.com>
11536
11537         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11538         (gst_base_sink_loop), (gst_base_sink_get_position):
11539         When operating in pull mode update the offset so that we
11540         read sequentially.
11541
11542 2006-07-05  Wim Taymans  <wim@fluendo.com>
11543
11544         * gst/gstregistryxml.c: (read_string):
11545         Avoid strdup. (will happen in libxml, but hey!)
11546
11547         * gst/gsturi.c:
11548         Add some more docs.
11549
11550 2006-07-05  Wim Taymans  <wim@fluendo.com>
11551
11552         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11553         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11554         (gst_buffer_suite):
11555         No point in checking if the size of the subbuffer > 0, the
11556         code handles it correclty as demonstrated by unit test.
11557         Also add a unit test for the zero sized _new_and_alloc and
11558         _copy. Fixes #346663.
11559
11560 2006-07-05  Wim Taymans  <wim@fluendo.com>
11561
11562         * libs/gst/base/gstbasetransform.c:
11563         (gst_base_transform_prepare_output_buffer),
11564         (gst_base_transform_buffer_alloc),
11565         (gst_base_transform_handle_buffer):
11566         Make sure the buffer we pass to transform_ip has a refcount of
11567         1 and thus is writable. Fixes #343196
11568
11569 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11570
11571         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11572         (gst_file_src_init), (gst_file_src_set_property),
11573         (gst_file_src_get_property), (gst_file_src_map_region):
11574         * plugins/elements/gstfilesrc.h:
11575         Add "sequential" property, off by default, to use madvise and hint
11576         to the kernel that sequential access is desired.
11577         Touch all retrieved pages by default to ensure they are pulled
11578         into memory. (Closes #345720)
11579
11580 2006-07-03  Wim Taymans  <wim@fluendo.com>
11581
11582         * docs/design/part-block.txt:
11583         * docs/design/part-dynamic.txt:
11584         Small docs updates.
11585
11586 2006-07-03  Wim Taymans  <wim@fluendo.com>
11587
11588         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11589         (gst_caps_unref), (gst_static_caps_get),
11590         (gst_caps_append_structure):
11591         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11592         Use GSlice when the glib we build against is >= 2.10
11593
11594 2006-07-03  Wim Taymans  <wim@fluendo.com>
11595
11596         * gst/gstelement.c: (gst_element_pads_activate):
11597         Small cleanup in pad activation code.
11598
11599 2006-07-03  Wim Taymans  <wim@fluendo.com>
11600
11601         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11602
11603         * gst/gst-i18n-app.h:
11604         * gst/gst-i18n-lib.h:
11605         * tools/gst-inspect.c: (print_signal_info):
11606         The attached patch will make the inclusion of gettext.h unconditional in
11607         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11608         libintl.h in tools/gst-inspect.c.
11609         This allows use of --disable-nls again and fixes #344642.
11610
11611 2006-07-03  Edward Hervey  <edward@fluendo.com>
11612
11613         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11614         Implement pad blocking on events according to part-block.txt.
11615         More comments on behaviour.
11616         * tests/check/gst/gstevent.c: (test_event):
11617         Send event to peer pad of blocked pad (else it will block).
11618
11619 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11620
11621         * libs/gst/check/gstcheck.c: (gst_check_message_error),
11622         (gst_check_run_suite):
11623           if we get the wrong message, give us the types as string
11624         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11625           Fix a translatable
11626         * tests/check/elements/filesrc.c: (GST_START_TEST):
11627           add a test for trying to open a non-existing file
11628
11629 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11630
11631         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11632           add a test for adding self
11633
11634 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11635
11636         * libs/gst/check/gstcheck.h:
11637           add some assert_ as alias for fail_unless_*
11638         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11639           increase test coverage
11640
11641 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11642
11643         * Makefile.am:
11644           include lcov.mak for lcov coverage generation
11645         * tools/Makefile.am:
11646           add to CLEANFILES
11647
11648 2006-07-02  Edward Hervey  <edward@fluendo.com>
11649
11650         * tests/check/elements/.cvsignore:
11651         moaping
11652
11653 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11654
11655         * configure.ac:
11656           don't set CFLAGS and friends for gcov, done from GST_GCOV now
11657         * tests/check/Makefile.am:
11658           clean up gcov files
11659
11660 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11661
11662         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11663           remove gst_caps_simplify; it was not declared and not used
11664           and deprecated in 0.8
11665
11666 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11667
11668         * docs/faq/gst-uninstalled:
11669           don't put empty paths on PYTHONPATH
11670         * docs/gst/gstreamer-sections.txt:
11671           remove some symbols that are not there
11672
11673 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11674
11675         * gst/gstcaps.c: (gst_caps_compare_structures):
11676           whitespace fixes
11677         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11678         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11679           add more tests
11680
11681 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11682
11683         * libs/gst/dataprotocol/Makefile.am:
11684           build dataprotocol test by linking to the lib, instead of
11685           compiling the source, so we get coverage
11686         * tests/check/Makefile.am:
11687         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11688         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11689           add a test for filesrc
11690
11691 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11692
11693         * tests/check/gst/gststructure.c: (GST_START_TEST),
11694         (gst_structure_suite):
11695           Push coverage from 59.04% to 70.00%
11696
11697 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11698
11699         * tests/check/Makefile.am:
11700           gst-inspect every element; this makes sure that we also get
11701           coverage on element's get/set functions
11702
11703 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11704
11705         * configure.ac:
11706           set CFLAGS and friends to -O0 if gcov is being used
11707           add GCOV LIBS
11708         * gst/Makefile.am:
11709         * libs/gst/base/Makefile.am:
11710         * libs/gst/check/Makefile.am:
11711         * libs/gst/controller/Makefile.am:
11712         * libs/gst/dataprotocol/Makefile.am:
11713         * libs/gst/net/Makefile.am:
11714         * plugins/elements/Makefile.am:
11715         * plugins/indexers/Makefile.am:
11716           add makefile rules to generate gcov data and clean up
11717         * tests/check/Makefile.am:
11718           add a coverage target that generates an html overview
11719           of coverage data
11720
11721 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11722
11723         * tests/check/elements/fakesink.c:
11724         * tests/check/elements/fakesrc.c:
11725         * tests/check/elements/fdsrc.c:
11726         * tests/check/elements/identity.c:
11727         * tests/check/generic/sinks.c: (gst_sinks_suite):
11728         * tests/check/generic/states.c:
11729         * tests/check/gst/gst.c:
11730         * tests/check/gst/gstabi.c:
11731         * tests/check/gst/gstbin.c:
11732         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11733         * tests/check/gst/gstbus.c: (gst_bus_suite):
11734         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11735         * tests/check/gst/gstelement.c:
11736         * tests/check/gst/gstevent.c: (gst_event_suite):
11737         * tests/check/gst/gstghostpad.c:
11738         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11739         * tests/check/gst/gstmessage.c: (gst_message_suite):
11740         * tests/check/gst/gstminiobject.c:
11741         * tests/check/gst/gstobject.c:
11742         * tests/check/gst/gstpad.c:
11743         * tests/check/gst/gstpipeline.c:
11744         * tests/check/gst/gstplugin.c:
11745         * tests/check/gst/gstquery.c: (gst_query_suite):
11746         * tests/check/gst/gstsegment.c: (gst_segment_suite):
11747         * tests/check/gst/gststructure.c:
11748         * tests/check/gst/gstsystemclock.c:
11749         * tests/check/gst/gsttag.c:
11750         * tests/check/gst/gsttask.c: (gst_task_suite):
11751         * tests/check/gst/gstutils.c:
11752         * tests/check/gst/gstvalue.c:
11753         * tests/check/libs/adapter.c:
11754         * tests/check/libs/basesrc.c:
11755         * tests/check/libs/collectpads.c:
11756         * tests/check/libs/controller.c:
11757         * tests/check/libs/gdp.c: (gst_dp_suite):
11758         * tests/check/libs/gstnetclientclock.c:
11759         * tests/check/libs/gstnettimeprovider.c:
11760         * tests/check/libs/libsabi.c: (libsabi_suite):
11761         * tests/check/libs/typefindhelper.c:
11762         * tests/check/pipelines/cleanup.c:
11763         * tests/check/pipelines/parse-launch.c:
11764         * tests/check/pipelines/simple-launch-lines.c:
11765         * tests/check/pipelines/stress.c: (stress_suite):
11766           use the new macro
11767
11768 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11769
11770         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11771         * libs/gst/check/gstcheck.h:
11772           create a macro and function so that the simple unit test
11773           case can be just one macro to create main()
11774
11775 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
11776
11777         * gst/gstbin.c: (gst_bin_restore_thyself):
11778         * gst/gstxml.c: (gst_xml_make_element):
11779           Fix deserialisation from XML. Set parent manually
11780           instead of using gst_bin_add(), since gst_bin_add()
11781           will unlink all pads of the element being added.
11782           Fixes #341667.
11783
11784 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
11785
11786         Patch by: Peter Kjellerstedt <pkj at axis com>
11787
11788         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11789           Fix missing g_strdup() and double free when using the
11790           --gst-plugin-load command line option (#346097).
11791
11792 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11793
11794         * gst/gstinfo.c:
11795           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11796
11797         * libs/gst/net/gstnetclientclock.c:
11798         * libs/gst/net/gstnettimeprovider.c:
11799           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11800
11801 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11802
11803         * docs/manual/advanced-dataaccess.xml:
11804           Fix buffer probe example compilation in
11805           ADM (#345708).
11806         
11807 2006-06-22  Edward Hervey  <edward@fluendo.com>
11808
11809         * gst/gstelement.c: (gst_element_pads_activate):
11810         We need to deactivate src pads first and then sink pads.
11811         The reason is the src pads might be blocking while holding the streaming
11812         lock, so we need to deactivate them first so that deactivating the sink
11813         pads doesn't block (since it will require the streaming lock).
11814
11815 2006-06-22  Wim Taymans  <wim@fluendo.com>
11816
11817         * libs/gst/base/gstbasetransform.c:
11818         (gst_base_transform_buffer_alloc):
11819         Forgot to remove two unneeded unrefs.
11820         Simplify a check _is_equal allready checks the obvious case.
11821
11822 2006-06-22  Wim Taymans  <wim@fluendo.com>
11823
11824         * docs/design/part-block.txt:
11825         Some docs about what pad_block should do.
11826
11827 2006-06-22  Wim Taymans  <wim@fluendo.com>
11828
11829         * gst/gstcaps.c: (gst_caps_replace):
11830         Fix crasher when passed NULL. Doc clarification.
11831         Optimize for the trivial case.
11832
11833         * gst/gstpipeline.c: (gst_pipeline_change_state):
11834         Small cleanups.
11835
11836         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11837         Small documentation cleanup.
11838
11839         * libs/gst/base/gstbasetransform.c:
11840         (gst_base_transform_buffer_alloc):
11841         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11842         is what we need and it avoids a whole lot of redundant 
11843         refcount operations.
11844
11845 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
11846
11847         Patch by: Philip Jägenstedt  <philip at lysator liu se>
11848
11849         * docs/manual/advanced-dataaccess.xml:
11850           Fix 'Embedding static elements' section to use
11851           GST_PLUGIN_DEFINE_STATIC (#345607).
11852
11853 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11854
11855         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11856           Attempt to 'fix' spuriously failing test case: it seems like the
11857           timeout of half a second is simply too small when the system is under
11858           load otherwise, and the timeout doesn't really seem to serve any
11859           particular purpose here. Give the pipeline a few seconds to preroll
11860           first, and then give it another half a second to go from PAUSED to
11861           PLAYING and marshal the message into the main thread.
11862
11863 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11864
11865         * tools/gst-feedback-m.m:
11866           Don't only use unversioned tools, try versioned tools as well
11867           (#345086).
11868
11869 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11870
11871         * gst/gstbus.c: (gst_bus_class_init):
11872           Fix some typos, make docs more explicit.
11873
11874 2006-06-20  Wim Taymans  <wim@fluendo.com>
11875
11876         * tests/check/gst/gstghostpad.c: (block_callback),
11877         (GST_START_TEST), (gst_ghost_pad_suite):
11878         Added some more ghostpad tests, mainly blocking
11879         and probes.
11880
11881 2006-06-16  Wim Taymans  <wim@fluendo.com>
11882
11883         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11884         (gst_file_sink_close_file), (gst_file_sink_do_seek),
11885         (gst_file_sink_event), (gst_file_sink_render):
11886         * plugins/elements/gstfilesink.h:
11887         Check if we can seek in the file instead of assuming
11888         we always can. Post an error when we are asked to seek in a
11889         non-seekable file (like a fifo). Fixes #343312.
11890         Some cleanups.
11891
11892 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11893
11894         * tools/gst-launch.1.in:
11895           Un-garble (fourcc) bit in filtered caps section.
11896
11897 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11898
11899         * docs/manual/advanced-autoplugging.xml:
11900         * docs/manual/basics-helloworld.xml:
11901         * docs/manual/highlevel-components.xml:
11902           Don't leak bus reference in sample code.
11903
11904 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
11905
11906         * autogen.sh:
11907           Add default for new --enable-plugin-docs switch.
11908
11909         * configure.ac:
11910           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
11911           Fixes #344039.
11912
11913         * docs/Makefile.am:
11914           Use new ENABLE_PLUGIN_DOCS conditional.
11915
11916 2006-06-14  Wim Taymans  <wim@fluendo.com>
11917
11918         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
11919         Make it clear with a FIXME and a real define what the #if 0
11920         previously disabled.
11921
11922 2006-06-14  Wim Taymans  <wim@fluendo.com>
11923
11924         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11925         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11926         * libs/gst/base/gstbasetransform.c:
11927         (gst_base_transform_sink_eventfunc):
11928         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11929         Don't randomly and silently reset a segment when the format 
11930         changes as this is a bug somewhere upstream. Fixes #330379.
11931
11932 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
11933
11934         Patch by: Wouter Paesen  <wouter at kangaroot net>
11935
11936         * libs/gst/controller/gstcontroller.c:
11937         (gst_controlled_property_new):
11938           Fix controlling of float properties (#344849).
11939
11940         * tests/check/libs/controller.c:
11941         (gst_test_mono_source_get_property),
11942         (gst_test_mono_source_set_property),
11943         (gst_test_mono_source_class_init), (GST_START_TEST):
11944           While we're at it, add some float stuff to unit test.
11945
11946 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11947
11948         * docs/README:
11949         * docs/images/gdp-header.svg:
11950           add a gdp image
11951         * docs/libs/Makefile.am:
11952         * docs/libs/gdp-header.png:
11953         * libs/gst/dataprotocol/dataprotocol.c:
11954           add it to the API docs
11955         * docs/manual/intro-motivation.xml:
11956           fix typo
11957
11958 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
11959
11960         * gst/gst.c: (scan_and_update_registry), (init_post):
11961           If the fork()'ed child process can't write the updated registry cache
11962           file to disk for some reason, make it exit with a failure exit code,
11963           so that the parent can then re-scan the plugins itself and update the
11964           registry structures in memory and work with that (rather than failing
11965           when creating elements because seemingly no plugins are available).
11966           Refactor registry scanning code into separate function for this and
11967           also separate fork() and non-fork() code paths. Fixes #344748.
11968
11969 2006-06-13  Wim Taymans  <wim@fluendo.com>
11970
11971         * docs/manual/advanced-dataaccess.xml:
11972         Fix wrong PluginDesc. Fixes #344755.
11973
11974 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
11975
11976         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11977           Fix silly bug that prevented us from creating
11978           ~/.gstreamer-0.10 and writing the registry in one
11979           go (the first call to g_mkstemp() would overwrite the
11980           placeholder in the template string, so the second call
11981           to g_mkstemp() after creating the missing directory
11982           would then error out with 'invalid argument').
11983
11984 2006-06-13  Edward Hervey  <edward@fluendo.com>
11985
11986         * gst/gst.c: (init_post):
11987         Free string.
11988
11989 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11990
11991         * gst/glib-compat-private.h:
11992         * gst/glib-compat.c:
11993         * gst/glib-compat.h:
11994         * gst/gstvalue.c: (gst_value_serialize_flags):
11995           remove GLib 2.6 compatibility code
11996
11997 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
11998
11999         * gst/parse/Makefile.am:
12000           Fix build with 'make -j N' even more (#340016).
12001
12002 2006-06-12  Wim Taymans  <wim@fluendo.com>
12003
12004         * docs/gst/gstreamer-sections.txt:
12005         Fix docs.
12006
12007 2006-06-12  Wim Taymans  <wim@fluendo.com>
12008
12009         * gst/gstsegment.c: (gst_segment_set_duration),
12010         (gst_segment_set_last_stop), (gst_segment_set_seek),
12011         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12012         (gst_segment_to_running_time), (gst_segment_clip):
12013         Use G_UNLIKELY to help the compiler a bit.
12014
12015 2006-06-12  Wim Taymans  <wim@fluendo.com>
12016
12017         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12018
12019         * gst/gstevent.c: (gst_event_get_type):
12020         * gst/gstmessage.c:
12021         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12022         (gst_pad_push):
12023         constify quark registration strings. Fixes #344115
12024         Avoid unneeded type checking is _pad_push() by internally
12025         calling gst_pad_chain_unchecked().
12026
12027 2006-06-12  Wim Taymans  <wim@fluendo.com>
12028
12029         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12030         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12031         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12032         (gst_buffer_is_span_fast), (gst_buffer_span):
12033         Init _type for consistency.
12034         Use _FLAGS macro to avoid type check.
12035         Avoid unneeded type checks in subbufer code.
12036
12037 2006-06-12  Wim Taymans  <wim@fluendo.com>
12038
12039         * gst/gst.c: (gst_debug_help):
12040         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12041         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12042         (gst_plugin_feature_list_free):
12043         * gst/gstregistry.c: (gst_registry_add_plugin),
12044         (gst_registry_add_feature), (gst_registry_plugin_filter),
12045         (gst_registry_feature_filter), (gst_registry_find_plugin),
12046         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12047         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12048         * gst/gstregistryxml.c: (load_feature),
12049         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12050         * gst/gstminiobject.c: (gst_mini_object_unref),
12051         (gst_mini_object_replace), (gst_value_mini_object_free),
12052         (gst_value_mini_object_copy):
12053         Use _CAST macros to avoid unneeded type checking.
12054         Added some more G_UNLIKELY.
12055
12056 2006-06-12  Wim Taymans  <wim@fluendo.com>
12057
12058         * gst/gstbuffer.h:
12059         Avoid unneeded type checking.
12060         API: GST_BUFFER_IS_DISCONT
12061
12062         * gst/gstminiobject.h:
12063         Avoid type check in flag accessor.
12064
12065         * gst/gstelementfactory.h:
12066         * gst/gstplugin.h:
12067         * gst/gstpluginfeature.h:
12068         Add _CAST macros.
12069         API: GST_ELEMENT_FACTORY_CAST
12070         API: GST_PLUGIN_CAST
12071         API: GST_PLUGIN_FEATURE_CAST
12072
12073 2006-06-12  Wim Taymans  <wim@fluendo.com>
12074
12075         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12076         (gst_object_unref):
12077         Add G_UNLIKELY in type registration.
12078         Avoid type check in _ref/_unref since that is also
12079         done in glib.
12080
12081 2006-06-12  Wim Taymans  <wim@fluendo.com>
12082
12083         * gst/gsterror.c: (gst_g_error_get_type):
12084         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12085         (gst_static_pad_template_get_type):
12086         * gst/gsttaglist.c: (gst_tag_list_get_type):
12087         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12088         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12089         * gst/gsturi.c: (gst_uri_handler_get_type):
12090         * gst/gstvalue.c: (gst_date_get_type):
12091         * gst/gstxml.c: (gst_xml_get_type):
12092         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12093         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12094         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12095         Add G_UNLIKELY in type registration.
12096
12097 2006-06-12  Wim Taymans  <wim@fluendo.com>
12098
12099         * tools/gst-inspect.c: (print_signal_info):
12100         Properly print enum values.
12101
12102 2006-06-12  Wim Taymans  <wim@fluendo.com>
12103
12104         * gst/gstinfo.c: (gst_debug_set_active),
12105         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12106         * gst/gstinfo.h:
12107         Add some G_[UN]LIKELY.
12108         Maintain __gst_debug_min to avoid formatting the arguments of
12109         debug messages that will be dropped anyway to avoid a lot of 
12110         overhead from the debugging system.
12111
12112 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12113
12114         * po/POTFILES.in:
12115         * po/POTFILES.skip:
12116           add missing files containing translatable strings, tell intltool about
12117           one exception
12118
12119 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12120
12121         * tests/check/libs/.cvsignore:
12122         add test-binary to ignore list
12123
12124 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12125
12126         * docs/libs/gstreamer-libs-docs.sgml:
12127         reorder (put dp into a chapter) and indent
12128
12129 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12130
12131         * configure.ac:
12132           back to HEAD
12133
12134 === release 0.10.8 ===
12135
12136 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12137
12138         * configure.ac:
12139           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12140
12141 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12142
12143         * gst/gst.c: (init_post):
12144           move pid declaration to declaration block
12145
12146 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12147
12148         * gst/gst.c: (init_post):
12149           use _exit() instead of exit() in our forked child; this ensures
12150           that none of the registered exit handlers from whatever is using
12151           GStreamer get executed.  This fixes gnome-mixer-applet failing
12152           to load, because ORBit would shut down.
12153           Spotted by: Edward Hervey  <edward@fluendo.com>
12154           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12155           Fixes #344474
12156
12157 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12158
12159         * configure.ac:
12160           back to TRUNK
12161
12162 === release 0.10.7 ===
12163
12164 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12165
12166         * configure.ac:
12167           releasing 0.10.7, "Soepeke, ik zie ou"
12168
12169 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12170
12171         * configure.ac:
12172         * po/af.po:
12173         * po/az.po:
12174         * po/bg.po:
12175         * po/ca.po:
12176         * po/cs.po:
12177         * po/de.po:
12178         * po/en_GB.po:
12179         * po/fr.po:
12180         * po/it.po:
12181         * po/nb.po:
12182         * po/nl.po:
12183         * po/ru.po:
12184         * po/sq.po:
12185         * po/sr.po:
12186         * po/sv.po:
12187         * po/tr.po:
12188         * po/uk.po:
12189         * po/vi.po:
12190         * po/zh_CN.po:
12191         * po/zh_TW.po:
12192         * win32/common/config.h:
12193           0.10.6.2 prerelease
12194
12195 2006-06-07  Wim Taymans  <wim@fluendo.com>
12196
12197         * gst/gstindex.c: (gst_index_gtype_resolver):
12198         * tools/gst-xmlinspect.c: (print_plugin_info):
12199         Fix leak spotted by coverity checker. Fixes #343827
12200         Fix another other leak found by paolo borelli.
12201
12202 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12203
12204         * libs/gst/dataprotocol/dataprotocol.c:
12205         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12206         (gst_dp_version_get_type), (gst_dp_init),
12207         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12208         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12209         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12210         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12211         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12212         (gst_dp_packetizer_free):
12213         * libs/gst/dataprotocol/dataprotocol.h:
12214           API: add a GstDPPacketizer object, and create/free functions
12215           API: add GstDPVersion enum
12216           Add 1.0 event function that uses the string serialization
12217           Serialize more useful buffer flags
12218           Fixes #343988
12219
12220 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12221
12222         * tests/check/Makefile.am:
12223         * tests/check/gst/gstabi.c:
12224         * tests/check/gst/struct_ppc64.h:
12225         * tests/check/libs/libsabi.c:
12226         * tests/check/libs/struct_ppc64.h:
12227           add ppc64 structure sizes
12228
12229 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12230
12231         * tests/check/Makefile.am:
12232         * tests/check/gst/gstabi.c:
12233         * tests/check/gst/struct_x86_64.h:
12234         * tests/check/libs/libsabi.c:
12235         * tests/check/libs/struct_x86_64.h:
12236           generate and add structure size lists for x86_64
12237
12238 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12239
12240         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12241         * libs/gst/check/gstcheck.h:
12242           factor out the method from tests that checks size of structures,
12243           and add code to generate the header containing these sizes
12244         * tests/check/gst/gstabi.c: (GST_START_TEST):
12245         * tests/check/gst/struct_i386.h:
12246         * tests/check/libs/libsabi.c: (GST_START_TEST):
12247         * tests/check/libs/struct_i386.h:
12248           use it
12249
12250 2006-06-06  Michael Smith  <msmith@fluendo.com>
12251
12252         * gst/gstsegment.h:
12253           Don't use c++-style comments, fixes #343929
12254
12255 2006-06-05  Edward Hervey  <edward@fluendo.com>
12256
12257         * gst/gst.c:
12258         plugin_paths is not used if we build without registry support.
12259
12260         * gst/gstsegment.c: (gst_segment_copy): 
12261         _copy() was always returning NULL...
12262
12263 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12264
12265         * libs/gst/dataprotocol/dataprotocol.c:
12266         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12267         (gst_dp_packet_from_event):
12268           factor out CRC code
12269
12270 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12271
12272         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12273           make sure we unset caps
12274
12275 2006-06-02  Michael Smith  <msmith@fluendo.com>
12276
12277         * libs/gst/check/gstcheck.c: (gst_check_init),
12278         (gst_check_chain_func):
12279         * libs/gst/check/gstcheck.h:
12280           Add a cond/mutex to the check support lib, signal this whenever we
12281           add to the buffers list. This will allow tests to not busy-wait on
12282           the buffer-list.
12283
12284 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12285
12286         * libs/gst/dataprotocol/dataprotocol.c:
12287         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12288         (gst_dp_packet_from_event):
12289           factor out some common header init code
12290
12291 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12292
12293         * docs/libs/gstreamer-libs-sections.txt:
12294         * docs/libs/tmpl/gstdataprotocol.sgml:
12295         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12296         * libs/gst/dataprotocol/dataprotocol.h:
12297           API: make gst_dp_crc() public
12298
12299 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12300
12301         * plugins/indexers/gstindexers.c: (plugin_init):
12302         conditionally register fileindexer (fixes #343598)
12303
12304 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12305
12306         * gst/gsttagsetter.h:
12307         Can't cast ifaces to a class
12308
12309         * libs/gst/net/gstnetclientclock.h:
12310         * libs/gst/net/gstnettimeprovider.h:
12311         * plugins/elements/gstfakesink.h:
12312         * plugins/elements/gstfakesrc.h:
12313         * plugins/elements/gstfdsink.h:
12314         * plugins/elements/gstfdsrc.h:
12315         * plugins/elements/gstfilesink.h:
12316         * plugins/elements/gstfilesrc.h:
12317         * plugins/elements/gstidentity.h:
12318         * plugins/elements/gstqueue.h:
12319         * plugins/elements/gsttee.h:
12320         * plugins/indexers/gstfileindex.c:
12321         * plugins/indexers/gstmemindex.c:
12322         * tests/old/examples/plugins/example.h:
12323         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12324
12325 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12326
12327         * libs/gst/dataprotocol/dataprotocol.c:
12328         (gst_dp_header_from_buffer):
12329           make sure we zero the whole ABI-compatible area
12330
12331 2006-06-01  Wim Taymans  <wim@fluendo.com>
12332
12333         Patch by: Alessandro Decina <alessandro at nnva dot org>
12334
12335         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12336         Make sure the EOS flag is cleared from pads after a flush
12337         or stop. Fixes #343538.
12338
12339         * tests/check/libs/collectpads.c: (GST_START_TEST),
12340         (gst_collect_pads_suite):
12341         Added test for collectpads reusage after EOS.
12342
12343 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12344
12345         * gst/gst.c:
12346          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12347         * win32/common/libgstbase.def:
12348          export gst_collect_pads_set_flushing
12349         * win32/common/libgstreamer.def:
12350          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12351          gst_value_fraction_multiply
12352         * win32/vs6/gst_inspect.dsp:
12353          add a link to intl.lib
12354
12355 2006-05-30  Wim Taymans  <wim@fluendo.com>
12356
12357         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12358         (gst_collect_pads_chain):
12359         Handle the case where a pad is removed from the collection
12360         that could cause the other pads to become collectable.
12361
12362 2006-05-30  Wim Taymans  <wim@fluendo.com>
12363
12364         * gst/gstelement.c:
12365         Clarify the use of _release_request_pad() and
12366         _get_request_pad() a bit better.
12367
12368         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12369         (gst_adapter_take_buffer):
12370         Fix some doc and comment typos.
12371
12372 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12373
12374         * docs/gst/gstreamer-sections.txt:
12375         * docs/libs/gstreamer-libs-sections.txt:
12376           add declared symbols
12377
12378 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12379
12380         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12381         Add debug that can be enabled using a #define at the top of the file,
12382         for dumping stats about how late/early we were when waking up from
12383         waiting on the clock.
12384
12385 2006-05-30  Wim Taymans  <wim@fluendo.com>
12386
12387         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12388         When rebuilding the pad list, don't leak the previous list.
12389
12390 2006-05-30  Wim Taymans  <wim@fluendo.com>
12391
12392         Patch by: Lutz Mueller <lutz at topfrose dot de>
12393
12394         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12395         (gst_base_src_get_query_types), (gst_base_src_update_length):
12396         Publish supported query types.
12397         Update last_stop field in get_range mode so the position
12398         query works. Fixes #342321.
12399
12400 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12401
12402         * docs/gst/gstreamer-sections.txt:
12403         * gst/gsttaglist.c: (_gst_tag_initialize):
12404         * gst/gsttaglist.h:
12405           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12406
12407 2006-05-30  Wim Taymans  <wim@fluendo.com>
12408
12409         Patch by: Alessandro Decina <alessandro at nnva dot org>
12410
12411         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12412         Unlock mutex when removing an unknown pad.
12413         Fixes #343334.
12414
12415         * tests/check/Makefile.am:
12416         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12417         (push_event), (setup), (teardown), (GST_START_TEST),
12418         (gst_collect_pads_suite), (main):
12419         Added collecpads check, disabled for now as check crashes for
12420         some reason.
12421
12422 2006-05-29  Wim Taymans  <wim@fluendo.com>
12423
12424         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12425         Don't leak pads lists.
12426
12427 2006-05-29  Wim Taymans  <wim@fluendo.com>
12428
12429         * docs/libs/gstreamer-libs-sections.txt:
12430         * libs/gst/base/gstcollectpads.c:
12431         (gst_collect_pads_set_flushing_unlocked),
12432         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12433         (gst_collect_pads_stop):
12434         * libs/gst/base/gstcollectpads.h:
12435         API: gst_collect_pads_set_flushing()
12436         Added api to set the pads to flushing, useful for seeking
12437         code in elements using collectpads.
12438         Clear segment when receiving a flush.
12439
12440 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12441
12442         * gst/gst.c: (add_path_func), (init_post):
12443           Don't scan registry paths passed via --gst-plugin-path immediately
12444           (will crash, because absolutely nothing is set up and no types are
12445           registered etc.); do this later in init_post(). Fixes #343057.
12446
12447 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12448
12449         * gst/gst.c: (init_post):
12450           if we have fork, fork while reading/rebuilding the registry
12451           so the parent doesn't take the hit of having all plugins loaded
12452           in memory.  Fixes #342777.
12453         * configure.ac:
12454           Check if we have fork()
12455         * win32/common/config.h.in:
12456           no fork() on win32
12457
12458 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12459
12460         * plugins/elements/gstelements.c:
12461         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12462         (gst_file_src_init), (gst_file_src_set_property),
12463         (gst_file_src_get_property), (gst_file_src_start):
12464         * plugins/elements/gstfilesrc.h:
12465           API: GstFileSrc::use-mmap
12466
12467         Add a use-mmap property to enable easier testing of all code paths.
12468         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12469         in the absence of gnomevfssrc. (Closes #340501)
12470
12471 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12472
12473         * tools/gst-inspect.c:
12474         Add missing include, removes warning of ngettext not being defined on
12475         some arches.
12476
12477 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12478
12479         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12480         Handle NULL input and output pointers silently as a failed conversion,
12481         rather than g_warnings.
12482
12483 2006-05-25  Wim Taymans  <wim@fluendo.com>
12484
12485         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12486         Initialize variable before using. Fixes #342820.
12487
12488 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12489
12490         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12491           Fix off-by-one bug that would only allow peeks of N-1 bytes
12492           from the start even if the buffer to typefind on contains
12493           in fact N bytes of data (makes vorbis typefinding from a
12494           vorbis identification header buffer work).
12495
12496         * tests/check/Makefile.am:
12497         * tests/check/libs/.cvsignore:
12498         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12499         (gst_typefindhelper_suite), (main), (foobar_typefind),
12500         (plugin_init):
12501           Add very basic unit test for gst_type_find_helper_for_buffer()
12502           that checks for the problem fixed above.
12503
12504 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12505
12506         * tools/gst-inspect.c: (print_interfaces),
12507         (print_element_properties_info), (print_element_list), (main):
12508           add more translatable strings
12509
12510 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12511
12512         Patch by: Julien Moutte  <julien at moutte net>
12513
12514         * docs/gst/gstreamer-sections.txt:
12515           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12516           
12517         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12518         (gst_fake_sink_preroll):
12519         * plugins/elements/gstfakesink.h:
12520           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12521
12522 2006-05-23  Wim Taymans  <wim@fluendo.com>
12523
12524         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12525         * gst/gstpad.h:
12526         Added _CUSTOM error and success GstFlowReturn that can be
12527         used be elements internally. 
12528         Added macro to check for SUCCESS flowreturns.
12529         API: GST_FLOW_CUSTOM_SUCCESS
12530         API: GST_FLOW_CUSTOM_ERROR
12531         API: GST_FLOW_IS_SUCCESS
12532
12533         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12534         Added check for GstFlowReturn sanity.
12535
12536 2006-05-23  Wim Taymans  <wim@fluendo.com>
12537
12538         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12539
12540         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12541         (gst_collect_pads_event):
12542         clear/reset segment info in FLUSH_STOP.
12543         Fixes #336929.
12544
12545 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12546
12547         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12548         (gst_collect_pads_check_collected):
12549         Flush queued buffer on _stop(), fixes playing again (#342454)
12550
12551 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12552
12553         * tests/check/gst/gststructure.c: (GST_START_TEST),
12554         (gst_structure_suite):
12555           add a test for a complete structure
12556
12557 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12558
12559         * docs/faq/developing.xml:
12560         * docs/faq/faq.xml:
12561         * docs/faq/troubleshooting.xml:
12562         * docs/faq/using.xml:
12563           Some minor FAQ updates that won't change the fact that
12564           our FAQ is badly structured, full of information hardly
12565           anyone new to GStreamer needs to know and lacking lots
12566           of information people constantly ask for.
12567           
12568 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12569
12570         * gst/gstpad.c: (gst_pad_set_caps):
12571           Short-circuit gst_pad_set_caps if setting the existing
12572           caps pointer again, and avoid printing debug and 
12573           reffing/unreffing the caps.
12574
12575         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12576           There's actually no need to set the caps before pushing -
12577           the acceptcaps method will handle it anyway.
12578
12579 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12580
12581         * docs/gst/gstreamer-sections.txt:
12582         * win32/common/libgstreamer.def:
12583         * gst/gstutils.c: (gst_element_seek_simple):
12584         * gst/gstutils.h:
12585           API: add gst_element_seek_simple() (#342238).
12586
12587 2006-05-18  Edward Hervey  <edward@fluendo.com>
12588
12589         * gst/gsttypefind.c: (gst_type_find_get_type):
12590         * gst/gsttypefind.h:
12591         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12592         registered for GstTypeFind pointers. This allows wrapping the structure
12593         in bindings (i.e. gst-python).
12594
12595 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12596
12597         * gst/gsttagsetter.c:
12598           Docs additions and fixes (see #339918).
12599
12600 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12601
12602         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12603         The caps intersection algorithm can produce multiple copies of the
12604         caps. Until that is fixed, we need to simplify the result to be
12605         sure whether the allowed caps are fixed or not.
12606
12607         * plugins/elements/gstqueue.c: (gst_queue_init),
12608         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12609         (gst_queue_push_one):
12610         Proxied buffer alloc should not set the caps on the source pad.
12611         When pushing buffers, we always accept the caps change that triggers.
12612         This prevents negotiation errors caused by caps changing mid-stream 
12613         and then being refused on our source pad (because upstream is now
12614         refusing those caps).
12615
12616 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12617
12618         * tests/examples/helloworld/helloworld.c: (main):
12619           Must plug audioconvert and audioresample between decoder
12620           and audio sink.
12621
12622 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
12623
12624         * gst/gstregistryxml.c: (read_string), (load_pad_template),
12625         (load_feature), (load_plugin):
12626         Allow empty strings for some of the plugin fields so we don't 
12627         drop valid plugin entries that were written out correctly
12628         (Fixes #341479)
12629
12630 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
12631         
12632         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12633           Use g_remove and g_rename instead of remove and rename that don't 
12634           handle utf8 characters. rename was failing for users who had specific
12635           characters in their name then the registry was built at each 
12636           gstreamer init.
12637         * win32/vs6/gst_inspect.dsp:
12638         * win32/vs6/gst_launch.dsp:
12639         * win32/vs6/libgstbase.dsp:
12640         * win32/vs6/libgstcoreelements.dsp:
12641         * win32/vs6/libgstreamer.dsp:
12642           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
12643           build of libgstreamer and clean unused libraries in projects link 
12644           settings.
12645
12646 2006-05-17  Edward Hervey  <edward@fluendo.com>
12647
12648         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12649         The queue is not responsible for pushing an EOS when receiving a fatal
12650         flow error. It's up to the real element driving the pipeline to do that.
12651
12652 2006-05-16  Edward Hervey  <edward@fluendo.com>
12653
12654         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12655         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12656         buffer returned a fatal error. It should just send an EOS and stop
12657         its task.
12658         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12659         when pushing buffers on the queue and will be able to handle the event.
12660
12661 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
12662
12663         * docs/manual/basics-bins.xml:
12664         * docs/manual/basics-init.xml:
12665           Fix typos and minor errors in sample code (#341856).
12666
12667 2006-05-16  Wim Taymans  <wim@fluendo.com>
12668
12669         * docs/design/part-qos.txt:
12670         Fix indexes in formulas to make more sense.
12671
12672 2006-05-15  Wim Taymans  <wim@fluendo.com>
12673
12674         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12675         Don't report POSITION based on clock time if sync is
12676         disabled in a sink.
12677
12678 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
12679
12680         * gst/gstobject.h:
12681           Add cast to make compiler happy - refcount variable was a gint
12682           in GstObject but is a guint in GObject and g_atomic_int_get()
12683           wants a gint *.
12684
12685 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12686
12687         * gst/parse/Makefile.am:
12688           chain commands using &&, which also makes parallel make work
12689
12690 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
12691
12692         * docs/gst/gstreamer-sections.txt:
12693         * gst/gstevent.c:
12694         * gst/gstevent.h:
12695         * gst/gstmessage.h:
12696           Minor docs fixes.
12697
12698 === release 0.10.6 ===
12699
12700 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
12701
12702         * configure.ac:
12703           releasing 0.10.6, "Take the cannoli"
12704
12705 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
12706
12707         * tools/gst-launch.c: (print_tag):
12708           Fix use of uninitialized variable in the hypothetical
12709           case that some broken plugin creates a GST_TAG_IMAGE
12710           tag containing a NULL buffer (#341667).
12711
12712 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
12713
12714         * tools/gst-launch.c: (print_tag):
12715           Print something more intelligible for image tags when
12716           using the -t switch (#341556).
12717
12718 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12719
12720         * Makefile.am:
12721           updates for win32
12722         * configure.ac:
12723           define GST_MAJORMINOR so we have it available in win32/common/config.h
12724           Possibly remove it from our Makefile.am files later
12725         * win32/common/config.h:
12726         * win32/common/config.h.in:
12727           added GST_MAJORMINOR
12728         * win32/common/gstenumtypes.c: (register_gst_resource_error):
12729         * win32/common/gstversion.h:
12730           updated
12731
12732 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
12733
12734         * win32/MANIFEST:
12735           Update win32 files listing.
12736         * win32/common/gstversion.h:
12737           Add GST_MAJORMINOR definition.
12738         * win32/common/libgstreamer.def:
12739           Add new exported functions.
12740           
12741 2006-05-12  Michael Smith  <msmith@fluendo.com>
12742
12743         * gst/gstplugin.c: (gst_plugin_load_file):
12744           If an so file has no plugin entry point, unload the module.
12745
12746 2006-05-11  Wim Taymans  <wim@fluendo.com>
12747
12748         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12749         (gst_queue_set_property):
12750         Don't forget to signal the _chain or _loop function 
12751         when the queue size or thresholds change since that might
12752         cause them to make progres again.
12753
12754 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
12755
12756         * gst/gstclock.c: (gst_clock_class_init):
12757         * gst/gstindex.c: (gst_index_class_init):
12758         * gst/gstobject.c: (gst_object_class_init):
12759         * gst/gstpad.c: (gst_pad_class_init):
12760         * gst/gstpipeline.c: (gst_pipeline_class_init):
12761         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12762         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12763         * libs/gst/base/gstbasetransform.c:
12764         (gst_base_transform_class_init):
12765         * libs/gst/net/gstnetclientclock.c:
12766         (gst_net_client_clock_class_init):
12767         * libs/gst/net/gstnettimeprovider.c:
12768         (gst_net_time_provider_class_init):
12769         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12770         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12771         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12772         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12773         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12774         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12775         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12776         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12777         * plugins/elements/gsttee.c: (gst_tee_class_init):
12778         * tests/old/examples/plugins/example.c: (gst_example_class_init):
12779         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12780           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12781
12782 2006-05-11  Wim Taymans  <wim@fluendo.com>
12783
12784         * gst/gstbuffer.c: (_gst_buffer_initialize):
12785         Register subbufer along with the buffer type so that
12786         it does not accidentally gets registered from N
12787         different streaming threads in a non threadsafe way.
12788
12789 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12790
12791         * gst/gstbuffer.h:
12792         * gst/gstevent.h:
12793         * gst/gstmessage.h:
12794           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12795           gst_event_ref() and gst_message_ref() functions again
12796           (ugly hack, please do fix if there's a better way besides
12797           overrides.txt, which doesn't seem to work).
12798
12799 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12800
12801         * libs/gst/check/gstcheck.h:
12802           add an assert for setting state to avoid lots of repetitive code
12803           in the future
12804
12805 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12806
12807         * gst/gstvalue.c: (gst_value_serialize_flags):
12808           fix a leak if no flags are set
12809         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12810           fix leak in tests
12811
12812 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12813
12814         * docs/manual/basics-pads.xml:
12815           Expand a bit on caps and filtered links and update
12816           examples that were still using the no longer existing
12817           gst_pad_link_filtered() (#338206).
12818
12819 2006-05-10  Wim Taymans  <wim@fluendo.com>
12820
12821         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12822         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12823         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12824         (gst_collect_pads_stop):
12825         * libs/gst/base/gstcollectpads.h:
12826         No need to call _stop in _finalize.
12827         Iterate the main pad list in _finalize.
12828         Added some more debug.
12829         Free lists and data in the right order.
12830         Also free data whem doing _remove_pad when stopped for
12831         backward compatibility protect ::started with PAD_LOCK as
12832         well.
12833
12834 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12835
12836         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12837         (gst_structure_parse_value):
12838           add some comments
12839           rename a method so that it actually says what it does better
12840
12841 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12842
12843         * gst/gstevent.c: (_gst_event_initialize):
12844         * gst/gstformat.c: (_gst_format_initialize):
12845           make sure some essential types used by events are registered
12846           as part of gst_init()
12847         * gst/gstvalue.c: (gst_value_serialize_flags):
12848           if no flags are set, serialize them to a value that represents NONE
12849           so that deserializing them works
12850         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12851           add tests for serialization and deserialization of flags
12852
12853 2006-05-10  Wim Taymans  <wim@fluendo.com>
12854
12855         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12856         (gst_collect_pads_collect_range), (gst_collect_pads_available),
12857         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12858         (gst_collect_pads_event), (gst_collect_pads_chain):
12859         Update docs.
12860         Better debug info.
12861         Catch and return errors from the collect function
12862         Refuse data on eos pads.
12863
12864 2006-05-10  Edward Hervey  <edward@fluendo.com>
12865
12866         * gst/gstinterface.h:
12867         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12868         GInterface type checking.
12869         They were previously using non-defined macros.
12870
12871 2006-05-09  Wim Taymans  <wim@fluendo.com>
12872
12873         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12874         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12875         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12876         (gst_collect_pads_start), (gst_collect_pads_stop),
12877         (gst_collect_pads_peek), (gst_collect_pads_pop),
12878         (gst_collect_pads_available), (gst_collect_pads_read),
12879         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12880         (gst_collect_pads_is_collected), (gst_collect_pads_event),
12881         (gst_collect_pads_chain):
12882         * libs/gst/base/gstcollectpads.h:
12883         Clean up the mess that is collectpads, add comments and
12884         FIXMEs where needed.
12885         Maintain a separate pad list so we can add pads while
12886         collecting the other ones. For this we need a new separate 
12887         lock (see comics).
12888         Fix memory leak in finalize.
12889         Refactor some weird code to set/unset pad flushing flags, mark
12890         with comments.
12891         Don't crash in _available, _read, _flush when we're EOS.
12892
12893         * tests/check/libs/.cvsignore:
12894         Ignore adapter check binary.
12895
12896 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12897
12898         * gst/gstindex.c: (gst_index_resolver_get_type):
12899         * plugins/elements/gstfakesink.c:
12900         (gst_fake_sink_state_error_get_type):
12901         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12902         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
12903         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
12904           Const-ify GEnumValue arrays.
12905
12906 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12907
12908         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12909           Add test case for flags + gst_buffer_make_metadata_writable().
12910
12911 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12912
12913         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
12914           gst_buffer_make_metadata_writable() should maintain the
12915           buffer flags (those that make sense at least) (see #340859).
12916
12917 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12918
12919         * tools/gst-inspect.c:
12920         * tools/gst-launch.c:
12921         * tools/gst-typefind.c:
12922         * tools/gst-xmlinspect.c:
12923         * tools/tools.h:
12924           Fix up includes: need to include stdlib.h in tools.h for exit().
12925
12926 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12927
12928         * gst/gsttaglist.c: (_gst_tag_initialize):
12929         * gst/gsttaglist.h:
12930           API: add GST_TAG_IMAGE tag (#340721).
12931
12932 2006-05-08  Wim Taymans  <wim@fluendo.com>
12933
12934         * gst/gstquery.c:
12935         Added some docs for the segment query.
12936
12937 2006-05-08  Wim Taymans  <wim@fluendo.com>
12938
12939         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12940         (gst_base_src_loop), (gst_base_src_change_state):
12941         Always push non-flushing serialized events in the streaming 
12942         thread.
12943
12944 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12945
12946         * gst/gsterror.c: (_gst_stream_errors_init):
12947           Add a missing error string.
12948
12949 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
12950
12951         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
12952         Add applied_rate to the debug
12953
12954         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12955         Copy applied_rate into the outgoing NEWSEGMENT event
12956
12957 2006-05-08  Wim Taymans  <wim@fluendo.com>
12958
12959         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
12960
12961         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
12962         (gst_base_sink_change_state):
12963         call ::unlock before taking the PREROLL_LOCK so we can safely
12964         handle elements that lock in ::render.
12965         Fixes #340174.
12966
12967 2006-05-08  Edward Hervey  <edward@fluendo.com>
12968
12969         * autogen.sh: (CONFIGURE_DEF_OPT): 
12970         Darwin's libtoolize is in fact called glibtoolize.
12971         Adding glibtoolize to the list of accepted names for libtoolize.
12972
12973 2006-05-08  Wim Taymans  <wim@fluendo.com>
12974
12975         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12976         Unify error handling, don't post an error message
12977         when a push() returns EOS but perform our normal EOS
12978         handling code. Fixes #340772.
12979
12980 2006-05-08  Wim Taymans  <wim@fluendo.com>
12981
12982         * docs/design/part-overview.txt:
12983         Make upsteam/downstream concepts more clear.
12984         Give an example of serialized/non-serialized events.
12985
12986         * docs/design/part-events.txt:
12987         * docs/design/part-streams.txt:
12988         Mention applied_rate.
12989
12990         * docs/design/part-trickmodes.txt:
12991         Mention applied rate, flesh out some more use cases.
12992
12993         * gst/gstevent.c: (gst_event_new_new_segment),
12994         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
12995         (gst_event_parse_new_segment_full), (gst_event_new_tag),
12996         (gst_event_parse_tag), (gst_event_new_buffer_size),
12997         (gst_event_parse_buffer_size), (gst_event_new_qos),
12998         (gst_event_parse_qos), (gst_event_parse_seek),
12999         (gst_event_new_navigation):
13000         * gst/gstevent.h:
13001         Add applied_rate field to NEWSEGMENT event.
13002         API: gst_event_new_new_segment_full()
13003         API: gst_event_parse_new_segment_full()
13004
13005         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13006         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13007         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13008         * gst/gstsegment.h:
13009         Add applied_rate to GstSegment structure.
13010         Make calculation of stream_time and running_time more correct
13011         wrt rate/applied_rate.
13012         Add some more docs.
13013         API: GstSegment::applied_rate field
13014         API: gst_segment_set_newsegment_full();
13015
13016         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13017         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13018         * libs/gst/base/gstbasetransform.c:
13019         (gst_base_transform_sink_eventfunc),
13020         (gst_base_transform_handle_buffer):
13021         Parse and use applied_rate in the GstSegment field.
13022
13023         * tests/check/gst/gstevent.c: (GST_START_TEST):
13024         Add check for applied_rate field.
13025
13026         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13027         (gstsegments_suite):
13028         Add more checks for various GstSegment operations.
13029
13030 2006-05-08  Wim Taymans  <wim@fluendo.com>
13031
13032         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13033         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13034         (gst_base_sink_get_position), (gst_base_sink_change_state):
13035         Store the sync time of the buffer end position separatly in a
13036         new variable eos_rtime so we can properly sync the EOS event.
13037         Fixes #340697.
13038         Fix the docs for gst_base_sink_set_qos_enabled().
13039         Don't set segment start to invalid value when we receive a 
13040         non TIME newsegment.
13041         get closer to handling position reporting for negative rates 
13042         correctly.
13043
13044 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13045
13046         * gst/gstcaps.c:
13047         Docs about how to print caps for debug purposes.
13048
13049         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13050         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13051
13052 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13053
13054         * gst/gstelement.c:
13055           use full enum names and preprend a '%' in docs strings to make recent 
13056           gtk-doc turn that into a link
13057
13058 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13059
13060         * docs/manual/basics-bins.xml:
13061         * docs/manual/basics-bus.xml:
13062         * docs/manual/basics-pads.xml:
13063           Some typo fixes, some additions, some clarifications. 
13064
13065 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13066
13067         * tools/gst-inspect.c: (main):
13068         * tools/gst-launch.c: (main):
13069         * tools/gst-run.c: (main):
13070         * tools/gst-typefind.c: (main):
13071         * tools/gst-xmlinspect.c: (main):
13072           Use the string passed to g_option_context_new() for
13073           what it's intended for - the program name is already
13074           printed elsewhere.
13075
13076 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13077
13078         * tools/Makefile.am:
13079         * tools/gst-inspect.c: (main):
13080         * tools/gst-launch.c: (main):
13081         * tools/gst-xmlinspect.c: (main):
13082         * tools/tools.h:
13083           Add back --version command line option (#340460).
13084
13085         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13086           Add --version option and use GOption for argument parsing; refactor a
13087           bit; accept directories as arguments and recurse into them; lastly,
13088           print a decent error message when things go wrong.
13089
13090 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13091
13092         * docs/manual/basics-bins.xml:
13093         Don't mention GstThread (#340611)
13094         * docs/manual/basics-elements.xml:
13095         Update link to GObject tutorial (#340607)
13096         
13097 2006-05-05  Wim Taymans  <wim@fluendo.com>
13098
13099         * gst/gstbuffer.h:
13100         * gst/gstminiobject.c:
13101         Add note about refcounting and miniobject/buffer writeability
13102         to docs. Fixes #340604
13103
13104         * gst/gstelementfactory.h:
13105         Added some explanation about @klass.
13106
13107 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13108
13109         * docs/manual/intro-motivation.xml:
13110         * docs/manual/manual.xml:
13111         Avoid CORBA & Bonobo references (#340598)
13112
13113 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13114
13115         * docs/manual/basics-bus.xml:
13116         * docs/manual/basics-pads.xml:
13117         Fix up some inaccuracies and omissions (#340609)
13118         
13119 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13120
13121         * gst/gstghostpad.c:
13122           Small typo in docs (#340625)
13123
13124 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13125
13126         * gst/parse/Makefile.am:
13127           Make 'make -j' proof (see #340698).
13128
13129 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13130
13131         * configure.ac:
13132           Require GLib-2.8 here as well.
13133
13134 2006-05-05  Wim Taymans  <wim@fluendo.com>
13135
13136         * gst/glib-compat.c:
13137         * gst/gst.c: (init_pre):
13138         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13139         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13140         (gst_object_dispatch_properties_changed):
13141         * gst/gstobject.h:
13142         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13143         * gst/gststructure.c: (gst_structure_set_valist):
13144         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13145         Remove pre glib2.8 compatibility, fixes #340508
13146
13147 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13148
13149         * gst/gsttaglist.h:
13150           Mention type of tags in doc blurbs.
13151
13152 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13153
13154         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13155         (gst_pad_configure_src), (gst_pad_push):
13156         Restore acceptcaps checking behaviour now that good plugins have
13157         been released.
13158
13159 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13160
13161         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13162
13163         * gst/gst.c:
13164         * gst/gstbus.c:
13165         * gst/gstclock.c:
13166         * gst/gstevent.c:
13167         * gst/gstformat.c:
13168         * gst/gstmessage.c:
13169         * gst/gstparse.c:
13170         * gst/gstquery.c:
13171         * gst/gstutils.c:
13172         * gst/parse/Makefile.am:
13173         * libs/gst/base/gstadapter.c:
13174         * libs/gst/base/gstbasesrc.c:
13175         * libs/gst/base/gstpushsrc.c:
13176         * libs/gst/base/gsttypefindhelper.c:
13177         * plugins/elements/gstfakesrc.c:
13178         * plugins/elements/gstidentity.c:
13179           Make sure gstprivate.h and/or config.h are
13180           always included first, otherwise some of our
13181           defines (like _FILE_OFFSET_BITS) might be
13182           redefined in the system headers. Fixes build
13183           on opensolaris (#340016).
13184
13185 2006-05-04  Wim Taymans  <wim@fluendo.com>
13186
13187         * docs/libs/gstreamer-libs-sections.txt:
13188         API: addition: gst_adapter_take_buffer()
13189         
13190         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13191         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13192         (gst_adapter_available_fast):
13193         * libs/gst/base/gstadapter.h:
13194         Prepare for optimizing the hell out of this hugely inefficient
13195         piece of code. 
13196         Added gst_adapter_take_buffer() so we can at least start thinking
13197         about subbuffering and merging.
13198         Added some comments.
13199
13200         * tests/check/Makefile.am:
13201         * tests/check/libs/adapter.c: (GST_START_TEST),
13202         (gst_adapter_suite), (main):
13203         Added GstAdapter check.
13204
13205 2006-05-04  Wim Taymans  <wim@fluendo.com>
13206
13207         * docs/design/part-overview.txt:
13208         Fix some typos, add blurb about buffer flags.
13209
13210 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13211
13212         * docs/libs/gstreamer-libs-sections.txt:
13213           make sure GstBaseTransformClass shows up in the docs
13214         * libs/gst/base/gstbasetransform.c:
13215         * libs/gst/base/gstbasetransform.h:
13216           move docs so gtk-doc picks it up now
13217
13218 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13219
13220         * docs/libs/gstreamer-libs-sections.txt:
13221           add missing symbols to docs
13222
13223 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13224
13225         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13226           back out the newsegment handling change, see #340060 for ongoing
13227           discussion
13228
13229 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13230
13231         * tools/gst-run.c: (get_candidates), (main):
13232           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13233           work); fix typo in error message. Fixes #340079.
13234
13235 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13236
13237         * common/Makefile.am:
13238         * docs/Makefile.am:
13239         * docs/faq/Makefile.am:
13240         * docs/gst/Makefile.am:
13241         * docs/libs/Makefile.am:
13242         * docs/manual/Makefile.am:
13243         * docs/plugins/Makefile.am:
13244         * docs/pwg/Makefile.am:
13245         * docs/slides/Makefile.am:
13246         * docs/upload.mak:
13247         * common/upload.mak:
13248           move upload.mak to common
13249
13250 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13251
13252         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13253           add more asserts on refcounts
13254           do more cleanup at end of tests
13255           fix test leaks showing in FC5
13256
13257 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13258
13259         * plugins/elements/gsttypefindelement.c:
13260         (gst_type_find_element_handle_event):
13261         reverted wrong change and reflowed code to avoid others falling into
13262         this trap
13263
13264 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13265
13266         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13267           fix changelog entry about last collectpads change,
13268           add notes about proper fix
13269
13270 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13271
13272         * gst/gst.c:
13273         * gst/gstregistry.c: (gst_registry_scan_path_level),
13274         (gst_registry_scan_path):
13275         * gst/gstregistry.h:
13276           only write out registry if it has changed, fixes #338339
13277
13278 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13279
13280         * gst/gstbin.c:
13281         * gst/gstpipeline.c:
13282         * plugins/elements/gstcapsfilter.c:
13283         * plugins/elements/gstfakesink.c:
13284         * plugins/elements/gstfakesrc.c:
13285         * plugins/elements/gstfdsink.c:
13286         * plugins/elements/gstfdsrc.c:
13287         * plugins/elements/gstfilesink.c:
13288         * plugins/elements/gstfilesrc.c:
13289         * plugins/elements/gstidentity.c:
13290         * plugins/elements/gstqueue.c:
13291         * plugins/elements/gsttee.c:
13292         * plugins/elements/gsttypefindelement.c:
13293         (gst_type_find_element_handle_event):
13294           make GstElementDetails const
13295
13296 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13297
13298         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13299         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13300         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13301           more detailed debug and formatting cleanup,
13302           forward newsegments to src-pad (so that e.g. adder not eats them)
13303
13304 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13305
13306         * gst/gstutils.c: (gst_element_link_pads):
13307           cleanup double code
13308
13309 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13310
13311         * libs/gst/controller/gstcontroller.c:
13312         (gst_controller_sync_values):
13313           some little tuning
13314         * tests/check/libs/controller.c: (GST_START_TEST),
13315         (gst_controller_suite):
13316           a new test for live value handling
13317
13318 2006-04-28  Wim Taymans  <wim@fluendo.com>
13319
13320         * gst/gstutils.c: (push_and_ref):
13321         Added some more docs.
13322         Fix refcount issue whith gst_element_found_tags() helper 
13323         function. Fixes #338335
13324
13325         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13326         Added testsuite for gst_element_found_tags().
13327
13328 2006-04-28  Michael Smith  <msmith@fluendo.com>
13329
13330         * gst/gstvalue.c: (gst_value_serialize_flags):
13331           Avoid NULL dereference when trying to serialize flags containing
13332           invalid values.
13333
13334 2006-04-28  Michael Smith  <msmith@fluendo.com>
13335
13336         * plugins/elements/gsttypefindelement.c:
13337         (gst_type_find_element_handle_event):
13338           If we get EOS before any data is accumulated, don't use
13339           uninitialised local variables.
13340
13341 2006-04-28  Michael Smith  <msmith@fluendo.com>
13342
13343         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13344         (gst_dp_event_from_packet):
13345           Fixes in reading/writing events over GDP (not currently used?) - 
13346           dereferencing NULL events for unknown/invalid event types, memory
13347           leak, and change g_warning to GST_WARNING.
13348
13349 2006-04-28  Wim Taymans  <wim@fluendo.com>
13350
13351         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13352         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13353         (gst_base_sink_get_position), (gst_base_sink_change_state):
13354         When frame dropping is enabled, we should not ignore frames
13355         without a duration.
13356         Update some documentation.
13357
13358 2006-04-28  Wim Taymans  <wim@fluendo.com>
13359
13360         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13361         (gst_base_src_send_event), (gst_base_src_change_state):
13362         Documentation updates.
13363
13364 2006-04-28  Wim Taymans  <wim@fluendo.com>
13365
13366         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13367         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13368         handle EAGAIN, EINTR and short writes correctly. Also clean
13369         up some error cases, avoid a deadlock on bad file descriptors and
13370         use GST_DEBUG_OBJECT.
13371         Fixes #339843
13372
13373 2006-04-28  Wim Taymans  <wim@fluendo.com>
13374
13375         * gst/gstvalue.c: (gst_value_serialize_buffer),
13376         (gst_value_deserialize_buffer):
13377         Don't try to serialize a GValue with a NULL buffer. 
13378         Fixes #339821.
13379
13380         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13381         Added check for serialisation of NULL buffers.
13382
13383 2006-04-28  Wim Taymans  <wim@fluendo.com>
13384
13385         * gst/gstminiobject.c: (gst_value_take_mini_object):
13386         Taking a NULL miniobject is valid, fix the case where
13387         we try to unref the NULL miniobject.
13388
13389 2006-04-28  Wim Taymans  <wim@fluendo.com>
13390
13391         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13392
13393         * gst/gstbin.c: (gst_bin_handle_message_func):
13394         Update docs.
13395         Don't leak bin refcount when a state recalc is
13396         in progress and we delay another one #339808.
13397
13398 2006-04-28  Wim Taymans  <wim@fluendo.com>
13399
13400         * docs/design/part-TODO.txt:
13401         Mention QoS as an ongoing work item.
13402
13403         * docs/design/part-buffering.txt:
13404         New doc about buffering that needs to be fleshed out
13405         at some point.
13406
13407         * docs/design/part-qos.txt:
13408         More QoS policy for decoders/demuxers/transforms
13409
13410         * docs/design/part-trickmodes.txt:
13411         Small update.
13412
13413 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13414
13415         * configure.ac:
13416           back to HEAD
13417
13418 === release 0.10.5 ===
13419
13420 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13421
13422         * configure.ac:
13423           releasing 0.10.5, "Fogo"
13424
13425 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13426
13427         patch by: Wim Taymans
13428
13429         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13430         (gst_pad_configure_src), (gst_pad_push):
13431         * gst/gstpipeline.c: (gst_pipeline_init):
13432           Fix internal data flow errors.  Fixes #338711.
13433
13434 2006-04-12  Wim Taymans  <wim@fluendo.com>
13435
13436         * tests/check/gst/gstelement.c: (GST_START_TEST):
13437         Don't leak the factory.
13438
13439 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13440
13441         * configure.ac:
13442         * win32/common/config.h:
13443           prerelease
13444
13445 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13446
13447         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13448         (gst_controller_unset_all):
13449           Free allocated GstTimedValues when freeing list nodes.
13450           Should fix leaks 'make check-valgrind' complains about.
13451
13452         * win32/common/libgstcontroller.def:
13453           Add gst_controller_unset_all.
13454
13455 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13456
13457         * docs/libs/gstreamer-libs-sections.txt:
13458         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13459         (gst_controller_unset_all):
13460         * libs/gst/controller/gstcontroller.h:
13461         API: Added new method gst_controller_unset_all()
13462         fixed gst_controller_unset()
13463         * tests/check/libs/controller.c: (GST_START_TEST),
13464         (gst_controller_suite):
13465         Added two testcases for new and fixed method
13466
13467 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13468
13469         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13470           MSG_DONTWAIT is not defined on Cygwin, so work
13471           around that (fixes #317048).
13472           
13473 2006-04-11  Wim Taymans  <wim@fluendo.com>
13474
13475         * gst/gstelementfactory.c: (gst_element_register),
13476         (gst_element_factory_create), (gst_element_factory_make):
13477         Some cleanups.
13478         Fixed a FIXME.
13479         Updated docs (Fixes #131079)
13480
13481         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13482         Small cleanups.
13483
13484         * tests/check/gst/gstelement.c: (GST_START_TEST),
13485         (gst_element_suite):
13486         Added testcase for elementfactory class field.
13487
13488 2006-04-10  Wim Taymans  <wim@fluendo.com>
13489
13490         * gst/gstsegment.c:
13491         Added some more docs.
13492
13493         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13494         (gst_base_sink_reset_qos):
13495         Calculate more accurate rate values.
13496
13497 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13498
13499         * gst/gst_private.h:
13500           add a new #ifdef to use __declspec(dllimport) only for
13501           other modules and not for gstreamer core
13502         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13503           use gst_guint64_to_gdouble for conversion
13504         * win32/common/libgstreamer.def:
13505           add new exported functions
13506         * win32/vs6/gst_inspect.dsp:
13507         * win32/vs6/gst_launch.dsp:
13508         * win32/vs6/libgstbase.dsp:
13509         * win32/vs6/libgstcontroller.dsp:
13510         * win32/vs6/libgstcoreelements.dsp:
13511         * win32/vs6/libgstdataprotocol.dsp:
13512         * win32/vs6/libgstnet.dsp:
13513           update project files
13514
13515 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13516
13517         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13518         * gst/gstclock.c: (gst_clock_class_init):
13519         * gst/gstelement.c: (gst_element_class_init):
13520         * gst/gstindex.c: (gst_index_class_init):
13521         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13522         * gst/gstobject.c: (gst_object_class_init),
13523         (gst_signal_object_class_init):
13524         * gst/gstpad.c: (gst_pad_class_init):
13525         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13526         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13527         * gst/gstregistry.c: (gst_registry_class_init):
13528         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13529         * gst/gsttask.c: (gst_task_class_init):
13530         * gst/gstxml.c: (gst_xml_class_init):
13531         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13532         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13533         (gst_base_src_loop):
13534         * libs/gst/controller/gstcontroller.c:/
13535         (_gst_controller_class_init):
13536         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13537         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13538         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13539         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13540         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13541         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13542
13543 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13544
13545         * gst/gstpad.c: (gst_pad_link):
13546           Must set peer pads before calling the link function, otherwise
13547           a task started from a link function might get a flow-not-linked
13548           result when trying to push because the other thread where the
13549           linking happens hasn't had a chance to set the peers yet. This
13550           might happen for example when a queue gets linked to a downstream
13551           element, as queue starts a streaming task when its source pad
13552           gets linked. Happens in real life when playing back flac/musepack
13553           files in playbin (#332390).
13554           
13555 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13556
13557         * gst/gstindex.h:
13558         * gst/gstxml.h:
13559         * libs/gst/base/gstadapter.h:
13560         * libs/gst/base/gstbasesink.h:
13561         * libs/gst/base/gstbasesrc.h:
13562         * libs/gst/base/gstbasetransform.h:
13563         * libs/gst/base/gstcollectpads.h:
13564         * libs/gst/base/gstpushsrc.h:
13565         Fix broken GObject macros
13566
13567 2006-04-07  Wim Taymans  <wim@fluendo.com>
13568
13569         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13570         Initialize start and stop times, thanks valgrind.
13571
13572 2006-04-07  Wim Taymans  <wim@fluendo.com>
13573
13574         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13575         Be a bit nicer to badly behaving upstream elements that expect
13576         us to deal with non TIME segments and timestamps (such as fakesrc
13577         in the testsuite).
13578
13579 2006-04-07  Wim Taymans  <wim@fluendo.com>
13580
13581         * gst/gstbus.c:
13582         Small documentation clarification about the signal watch.
13583
13584         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13585         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13586         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13587         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13588         (gst_base_sink_get_position_last),
13589         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13590         Convert and store timestamps in stream time and running time, the
13591         raw timestamps are not useful, also document this better.
13592         Use different window sizes for good and bad QoS observations so
13593         we react to badness a little quicker.
13594         Keep track of the amount of rendered and dropped buffers.
13595         Send QoS timestamps in running time.
13596
13597         * libs/gst/base/gstbasetransform.c:
13598         (gst_base_transform_sink_eventfunc),
13599         (gst_base_transform_handle_buffer):
13600         Compare QoS timestamps against running time.
13601
13602 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13603
13604         * gst/gstpad.c:
13605           Typo fixes in docs.
13606
13607 2006-04-06  Michael Smith  <msmith@fluendo.com>
13608
13609         * gst/gstpad.c: (gst_pad_set_property):
13610           Use g_value_get_object() instead of g_value_dup_gst_object(),
13611           to avoid double-reffing the pad template (which we then sink,
13612           so this worked previously if (and only if) the pad template
13613           was floating.
13614
13615         * gst/gstpadtemplate.c: (gst_pad_template_init),
13616         (gst_pad_template_pad_created):
13617           Never return floating references to pad templates, create
13618           them as initially-sunken.
13619
13620           Document an extra function (and make this stop sinking our
13621           pad template, since that is now guaranteed to do nothing,
13622           since we created it sunken).
13623
13624         * gst/gstghostpad.c:
13625           Fix docs typo.
13626
13627 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13628
13629         * gst/gstinfo.c: (__gst_in_valgrind):
13630           Add some newlines.
13631
13632         * plugins/elements/gsttypefindelement.c:
13633         (gst_type_find_element_chain):
13634           Don't leak buffer caps.
13635
13636 2006-04-06  Michael Smith  <msmith@fluendo.com>
13637
13638         * gst/parse/grammar.y:
13639           Fix a leak in parse-launch for any source-or-sink named element 
13640           references used.
13641
13642         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13643           Unref the pipeline if it exists after we've failed parsing.
13644
13645 2006-04-05  Michael Smith  <msmith@fluendo.com>
13646
13647         * gst/gstpipeline.c: (gst_pipeline_init):
13648           When we create a pipeline bus, initially create it in flushing mode.
13649           Fixes leaks in at least one test, and makes a new pipeline work the
13650           same as one that has gone to READY and then back to NULL.
13651
13652         * gst/gstelement.c:
13653           Typo fix in docs.
13654
13655 2006-04-05  Michael Smith  <msmith@fluendo.com>
13656
13657         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13658           Unref a pad we reffed.
13659         * tests/check/gst/gstutils.c: (GST_START_TEST):
13660           Unref bins
13661
13662 2006-04-05  Michael Smith  <msmith@fluendo.com>
13663
13664         * gst/gstquery.c: (gst_query_set_formats),
13665         (gst_query_set_formatsv):
13666           Fix leaking GValues in queries, as shown by valgrind/testsuite.
13667
13668 2006-04-05  Michael Smith  <msmith@fluendo.com>
13669
13670         * tests/check/generic/sinks.c: (GST_START_TEST):
13671           Fix a variety of memleaks in sinks check, which are only sometimes 
13672           shown by running the tests under valgrind (weird?).
13673
13674 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
13675
13676         * docs/version.entities.in:
13677           Fix the substituted entity name after thomas' changes on the
13678           weekend.
13679
13680 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13681
13682         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13683         VALGRIND_PRINTF
13684         
13685 2006-04-05  Andy Wingo  <wingo@pobox.com>
13686
13687         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13688
13689         * libs/gst/base/gstbasetransform.c
13690         (gst_base_transform_sink_eventfunc): When resetting our segment on
13691         FLUSH_STOP, also update the flag saying we haven't seen a
13692         newsegment.
13693
13694 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13695
13696         Patch by: Paolo Borelli  <pborelli at katamail dot com>
13697
13698         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13699         (gst_plugin_check_license):
13700           minor clean-ups: G_DEFINE_TYPE already takes care of the
13701           parent_class stuff, no need to do it twice. Mark array of
13702           license strings as constant. (#337103)
13703           
13704 2006-04-04  Michael Smith  <msmith@fluendo.com>
13705
13706         * tools/gst-inspect.c: (print_element_list):
13707           Free the right plugin list; fixes a memory leak.
13708
13709 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13710
13711         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
13712
13713         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13714           Don't error out on empty buffers (#336945).
13715           
13716 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
13717
13718         * docs/libs/gstreamer-libs-sections.txt:
13719         * gst/gsttaglist.c:
13720         * libs/gst/base/gstbasesink.c:
13721         * libs/gst/base/gstbasesink.h:
13722         * libs/gst/base/gstbasesrc.c:
13723         * libs/gst/base/gstbasesrc.h:
13724           Documentation updates. Make BaseSink and BaseSrc docs contain the
13725           class structure so that people can actually see the prototypes for
13726           virtual functions they're supposed to be overriding.
13727
13728 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13729
13730         * plugins/elements/gsttypefindelement.c:
13731         (gst_type_find_element_chain):
13732           More debug info; when skipping typefinding, send cached
13733           events in all cases.
13734
13735 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13736
13737         * configure.ac:
13738           use new AS_VERSION and AS_NANO macros
13739         * gst/gst-i18n-lib.h:
13740         * gst/gst.c:
13741         * gst/gsterror.c:
13742         * gst/gstversion.h.in:
13743         * win32/common/config.h:
13744         * win32/common/config.h.in:
13745           update accordingly
13746
13747 2006-03-31  Michael Smith  <msmith@fluendo.com>
13748
13749         * plugins/elements/gsttypefindelement.c:
13750         (gst_type_find_element_chain):
13751           Do not typefind content if the buffers already have caps.
13752           Neccesary for icydemux (#333657), and the right thing to do anyway.
13753
13754 2006-03-30  Wim Taymans  <wim@fluendo.com>
13755
13756         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13757         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13758         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13759         (gst_base_sink_record_qos_observation),
13760         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13761         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13762         (gst_base_sink_change_state):
13763         More QoS measurements as described in the design doc.
13764         Get rid of ringbuffer with observations, running average is
13765         more simple and equally good.
13766         Calculates valid proportion now.
13767         Added beginning of flood measurement.
13768
13769 2006-03-29  Wim Taymans  <wim@fluendo.com>
13770
13771         * docs/design/part-qos.txt:
13772         * gst/gstclock.c:
13773         Small documentation updates and additions.
13774
13775 2006-03-29  Wim Taymans  <wim@fluendo.com>
13776
13777         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13778         (gst_base_src_send_event), (gst_base_src_loop),
13779         (gst_base_src_change_state):
13780         Perform the EOS logic when we reach the segment stop position.
13781         Fix compilation on gcc4.1
13782
13783 2006-03-29  Wim Taymans  <wim@fluendo.com>
13784
13785         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13786
13787         * plugins/elements/gstqueue.c: (gst_queue_init),
13788         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13789         (gst_queue_set_property):
13790         * plugins/elements/gstqueue.h:
13791         In queue, when EOS is received, if minimum threshold > max_size -
13792         current_level, there is chance that queue blocks forever in conditional
13793         item del wait. This is because the queue is not emptied completely due
13794         to minimum threshold.  Here is another approach. Instead of setting
13795         cur_levels to max in EOS, just zero all minimum threshold levels. This
13796         should make sure that queue gives out all data. When going to READY
13797         (stop) state, just reset the original minimum threshold levels.
13798         Fixes #336336.
13799
13800 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
13801
13802         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13803         (gst_type_find_element_handle_event),
13804         (gst_type_find_element_send_cached_events),
13805         (gst_type_find_element_change_state):
13806         * plugins/elements/gsttypefindelement.h:
13807           When typefinding is done in push mode, we should cache
13808           events we receive during typefinding instead of just
13809           dropping them (e.g. newsegment, custom events from
13810           dvdreadsrc etc.) and then send them out once we've
13811           determined the type of the stream (and decodebin
13812           has had a chance to plug in a decoder/demuxer).
13813           
13814 2006-03-27  Wim Taymans  <wim@fluendo.com>
13815
13816         * docs/design/part-qos.txt:
13817         First QoS ideas.
13818
13819 2006-03-27  Wim Taymans  <wim@fluendo.com>
13820
13821         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13822
13823         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13824         (gst_base_src_send_event), (gst_base_src_change_state):
13825         Handle element seek correctly when we are streaming.
13826         Fixes #326998.
13827
13828 2006-03-24  Michael Smith  <msmith@fluendo.com>
13829
13830         * docs/faq/gst-uninstalled:
13831           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13832           allow you to correctly run intalled applications built against old 
13833           core, using plugins that require updated core (e.g. running
13834           installed totem against a full uninstalled gstreamer stack)
13835
13836 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13837
13838         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13839         more debug details
13840
13841 2006-03-24  Wim Taymans  <wim@fluendo.com>
13842
13843         * docs/gst/gstreamer-sections.txt:
13844         Rearrange the order of the methods so that related methods
13845         are grouped together in sections.
13846
13847 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13848
13849         * gst/gstelement.c:
13850           Little clarification in the docs
13851
13852 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13853
13854         * docs/README:
13855         formatting fix
13856         * plugins/elements/gstidentity.c:
13857         * plugins/elements/gstqueue.c:
13858         * plugins/elements/gsttee.c:
13859         * plugins/elements/gsttypefindelement.c:
13860         GST_ELEMENT_DETAILS formatting
13861
13862 2006-03-24  Wim Taymans  <wim@fluendo.com>
13863
13864         * libs/gst/base/gstbasesink.h:
13865         Only add fields, not insert or we break ABI.
13866
13867 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13868
13869         * win32/common/libgstbase.def:
13870         * win32/common/libgstreamer.def:
13871           Update, add recently added functions.
13872
13873 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13874
13875         * docs/gst/gstreamer-sections.txt:
13876         * gst/gstutils.c: (gst_pad_query_peer_position),
13877         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13878         * gst/gstutils.h:
13879           API: add some new utility functions:
13880            - gst_pad_query_peer_position()
13881            - gst_pad_query_peer_duration()
13882            - gst_pad_query_peer_convert()
13883           
13884 2006-03-23  Wim Taymans  <wim@fluendo.com>
13885
13886         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13887         (gst_base_sink_init), (gst_base_sink_finalize),
13888         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13889         (gst_base_sink_set_property), (gst_base_sink_get_property),
13890         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13891         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13892         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13893         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13894         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13895         (gst_base_sink_preroll_object), (gst_base_sink_event),
13896         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13897         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13898         (gst_base_sink_query), (gst_base_sink_change_state):
13899         Decouple max-lateness and the fact that QoS messages are generated
13900         with a new property (qos).
13901         added API: GstBaseSink::async_play()
13902         Add vmethod so subclasses can be notified of ASYNC playing
13903         state changes.
13904         Collect timestamp start and stop to report better current
13905         position in EOS/PLAYING/PAUSED/READY/NULL.
13906         Refactor QoS/frame dropping and other measurements.
13907         API: GstBaseSrc::qos
13908         Fixes #326311
13909
13910         * libs/gst/base/gstbasesink.h:
13911         Added Private struct.
13912         API: gst_base_sink_set_qos_enabled()
13913         API: gst_base_sink_is_qos_enabled()
13914
13915 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13916
13917         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13918           If compiling against GLib-2.8 or newer, try to read the
13919           registry file using GMappedFile first before falling back
13920           to fopen() + fread() (#332151).
13921
13922 2006-03-22  Wim Taymans  <wim@fluendo.com>
13923
13924         * gst/gstinfo.c: (gst_debug_set_active),
13925         (gst_debug_category_set_threshold):
13926         Disable debugging unless explicitly activated.
13927         Fixes #335480.
13928
13929 2006-03-22  Wim Taymans  <wim@fluendo.com>
13930
13931         * gst/gstelement.c: (gst_element_set_locked_state),
13932         (gst_element_dispose):
13933         Cleanup the error case.
13934
13935         * gst/gstobject.c: (gst_object_dispose):
13936         print a critical when some object was disposed with
13937         a parent, also revive the object since it might
13938         crash the parent.
13939
13940 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
13941
13942         * tools/gst-launch.1.in:
13943           Fix another typo.
13944
13945 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13946
13947         * configure.ac:
13948         * tests/check/Makefile.am:
13949           disable some tests when we don't have a registry
13950         * tests/check/gst/gstutils.c: (gst_utils_suite):
13951           don't build the part that needs parsing
13952
13953 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13954
13955         * gst/Makefile.am
13956         * tests/examples/Makefile.am:
13957           fix --disable-parse build
13958
13959 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13960
13961         * tools/gst-feedback.1.in:
13962           Fix typo: s/feeback/feedback/ (#133494).
13963
13964 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13965
13966         * tools/Makefile.am:
13967         * tools/gst-launch.1.in:
13968           Add FILES section and correct entry about GST_REGISTRY_PATH
13969           environment variable (#133495; #133494).
13970
13971 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13972
13973         * tools/Makefile.am:
13974         * tools/gst-md5sum.1.in:
13975         * tools/gst-md5sum.c:
13976           Remove gst-md5sum and man page (the md5sink element
13977           required was removed ages ago)
13978
13979 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13980
13981         * gst/gststructure.c: (gst_structure_id_set_value):
13982           Make sure that string fields in structures/taglists
13983           contain valid UTF-8 - we don't want to pass rubbish to
13984           applications because of a buggy plugin (cp. #334167).
13985
13986 2006-03-21  Edward Hervey  <edward@fluendo.com>
13987
13988         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13989         (gst_bin_handle_message_func):
13990         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
13991         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
13992         (gst_element_set_bus_func):
13993         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
13994         * gst/gstminiobject.c: (gst_value_set_mini_object),
13995         (gst_value_take_mini_object):
13996         * gst/gstpad.c: (gst_pad_set_pad_template):
13997         * gst/gstpipeline.c: (gst_pipeline_dispose),
13998         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13999         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14000         (gst_collect_pads_chain):
14001         * libs/gst/net/gstnettimeprovider.c:
14002         (gst_net_time_provider_set_property):
14003         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14004         It's in fact all issues with gst_*object_replace().
14005
14006 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14007
14008         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14009         
14010         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14011         * pkgconfig/gstreamer-check.pc.in:
14012           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14013
14014 2006-03-21  Edward Hervey  <edward@fluendo.com>
14015
14016         * gst/gstbuffer.h:
14017         * gst/gstevent.h:
14018         * gst/gstmessage.h:
14019         gst_[buffer|event|message]_ref() macros are replaced by a static
14020         inline functions because gcc-4.1 will about if the return value
14021         isn't used.
14022         * tests/check/gst/gstevent.c: (event_probe):
14023         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14024
14025 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14026
14027         * gst/gstutils.h:
14028         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14029         the type' case. (Closes: #335195 for now). In the future, when we
14030         depend on GLib 2.10, we could also intern the type name using
14031         g_intern_static_string()
14032
14033 2006-03-20  Wim Taymans  <wim@fluendo.com>
14034
14035         * gst/gstbin.c: (gst_bin_handle_message_func),
14036         (bin_query_max_init), (bin_query_position_fold),
14037         (bin_query_position_done), (gst_bin_query):
14038         Position query should also take max of all streams.
14039
14040 2006-03-20  Wim Taymans  <wim@fluendo.com>
14041
14042         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14043         (gst_fake_src_finalize):
14044         Fix leaks in fakesrc.
14045
14046         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14047         Fix leaks in the testcase.
14048
14049 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14050
14051         * gst/gst_private.h:
14052           add win32 specific import decoration(__declspec(dllimport)) 
14053           for all extern GstDebugCategory * variables
14054         * win32/common/libgstbase.def:
14055         * win32/common/libgstcontroller.def:
14056         * win32/common/libgstreamer.def:
14057           Add some exports, remove empty lines
14058         * win32/common/libgstdataprotocol.def:
14059         * win32/common/libgstdataprotocol.dsp:
14060         * win32/common/libgstnet.def:
14061         * win32/common/libgstnet.dsp:
14062           new project files and exportation files added
14063         
14064 2006-03-19  Wim Taymans  <wim@fluendo.com>
14065
14066         * tests/check/libs/basesrc.c: (eos_event_counter):
14067         Use proper return value for probe.
14068
14069 2006-03-17  Wim Taymans  <wim@fluendo.com>
14070
14071         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14072         (gst_pad_push):
14073         Don't leak buffers, caps and pads on negotiation errors.
14074
14075 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14076
14077         * docs/faq/cvs.xml:
14078         * docs/faq/dependencies.xml:
14079         * docs/faq/developing.xml:
14080         * docs/faq/faq.xml:
14081         * docs/faq/general.xml:
14082         * docs/faq/getting.xml:
14083         * docs/faq/legal.xml:
14084         * docs/faq/troubleshooting.xml:
14085         * docs/faq/using.xml:
14086         Faq review and update.
14087
14088 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14089
14090         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14091         (gst_pad_push):
14092         Don't pound the cpu to pieces by checking get_caps when accept_caps
14093         is called with the same caps as the pad already has.
14094         Use GST_DEBUG_OBJECT when outputting caps change information.
14095
14096 2006-03-15  Wim Taymans  <wim@fluendo.com>
14097
14098         * gst/gstclock.c: (gst_clock_class_init):
14099         Fix docs.
14100
14101 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14102
14103         * gst/gstbuffer.h:
14104         Documentation fix.
14105
14106         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14107         (gst_pad_accept_caps), (gst_pad_configure_sink),
14108         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14109         Make the default acceptcaps behaviour be to check the requested 
14110         caps against the gst_pad_get_caps output. 
14111
14112         Ensure that gst_pad_accept_caps is used to check caps when a pad
14113         doesn't have a setcaps function, so that pads automatically refuse 
14114         caps that they don't allow in their pad template. (Fixes #332986)
14115
14116         When a buffer with attached caps is pushed, ensure that the source 
14117         pad receives those caps even if the element didn't call
14118         gst_pad_set_caps first.
14119
14120 2006-03-15  Wim Taymans  <wim@fluendo.com>
14121
14122         * libs/gst/base/gstadapter.c:
14123         Add some docs.
14124
14125 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14126
14127         * win32/common/libgstbase.def:
14128         * win32/common/libgstcontroller.def:
14129         * win32/common/libgstreamer.def:
14130           Add a whole bunch of missing functions (#334434).
14131
14132 2006-03-14  Wim Taymans  <wim@fluendo.com>
14133
14134         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14135         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14136         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14137         Better debug info when we receive a segment event.
14138         Reorganize a bit so we can pass the get_times() results around.
14139         Use the segment format when calculating the running time.
14140         Don't do QoS is sync is disabled or we have no clock or the
14141         element does not want us to sync to the clock.
14142         Don't drop buffers if QoS is disabled for now.
14143
14144 2006-03-14  Wim Taymans  <wim@fluendo.com>
14145
14146         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14147         Marked the stats property as unimplemented so people don't get
14148         wild ideas.
14149         Add debug message when regression goes wrong.
14150         Added some more docs.
14151
14152 2006-03-14  Wim Taymans  <wim@fluendo.com>
14153
14154         * gst/gstsegment.c: (gst_segment_to_stream_time):
14155         Return correct return type in case of errors.
14156
14157 2006-03-14  Wim Taymans  <wim@fluendo.com>
14158
14159         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14160           Don't segfault on invalid formats.
14161
14162 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14163
14164         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14165           Can't use gst_segment_to_running_time() when the segment
14166           is not in GST_TIME_FORMAT (like with filesink, for example).
14167           Stops flac encoding pipelines from spewing critical warnings
14168           at EOS (#331248).
14169           
14170 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14171
14172         * gst/gstpipeline.c: (gst_pipeline_class_init):
14173           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14174
14175         * plugins/elements/gsttypefindelement.c:
14176         (gst_type_find_element_handle_event):
14177           Don't try to typefind empty streams.
14178
14179 2006-03-14  Wim Taymans  <wim@fluendo.com>
14180
14181         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14182         (gst_base_sink_do_qos):
14183         Separate QoS calculation.
14184         Only drop buffers when lateness is bigger than the 
14185         duration of the buffer.
14186
14187 2006-03-13  Wim Taymans  <wim@fluendo.com>
14188
14189         * gst/gstpipeline.c: (gst_pipeline_set_property),
14190         (gst_pipeline_get_property), (do_pipeline_seek),
14191         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14192         (gst_pipeline_get_delay):
14193         Don't deadlock when reading properties.
14194
14195 2006-03-13  Wim Taymans  <wim@fluendo.com>
14196
14197         * libs/gst/base/gstbasetransform.c:
14198         (gst_base_transform_class_init), (gst_base_transform_init),
14199         (gst_base_transform_sink_event),
14200         (gst_base_transform_sink_eventfunc),
14201         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14202         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14203         (gst_base_transform_set_property),
14204         (gst_base_transform_get_property),
14205         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14206         (gst_base_transform_set_qos_enabled),
14207         (gst_base_transform_is_qos_enabled):
14208         * libs/gst/base/gstbasetransform.h:
14209         Make basetransform virtual method for src events too.
14210         Handle QOS in basetransform.
14211         API: gst_base_transform_update_qos()
14212         API: gst_base_transform_set_qos_enabled()
14213         API: gst_base_transform_is_qos_enabled()
14214
14215 2006-03-13  Wim Taymans  <wim@fluendo.com>
14216
14217         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14218         (gst_base_sink_do_sync):
14219         Small cleanups.
14220         Use QOS debug category.
14221
14222 2006-03-13  Wim Taymans  <wim@fluendo.com>
14223
14224         * plugins/elements/gstqueue.c:
14225         Very small doc update.
14226
14227 2006-03-13  Wim Taymans  <wim@fluendo.com>
14228
14229         * gst/gst_private.h:
14230         * gst/gstinfo.c: (_gst_debug_init):
14231         Added QOS debug category
14232
14233 2006-03-13  Wim Taymans  <wim@fluendo.com>
14234
14235         * docs/gst/gstreamer-sections.txt:
14236         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14237         * gst/gstbin.h:
14238         * gst/gstbus.c: (gst_bus_class_init):
14239         * gst/gstbus.h:
14240         * gst/gstclock.c:
14241         * gst/gstelement.c: (gst_element_set_locked_state):
14242         * gst/gstsegment.c:
14243         Documentation updates.
14244
14245         * gst/gstpipeline.c: (gst_pipeline_get_type),
14246         (gst_pipeline_class_init), (gst_pipeline_init),
14247         (gst_pipeline_dispose), (gst_pipeline_set_property),
14248         (gst_pipeline_get_property), (do_pipeline_seek),
14249         (gst_pipeline_send_event), (gst_pipeline_change_state),
14250         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14251         (gst_pipeline_get_delay):
14252         * gst/gstpipeline.h:
14253         Added methods for setting the delay.
14254         API: gst_pipeline_set_delay()
14255         API: gst_pipeline_get_delay()
14256         Add pipeline debug category
14257         Various cleanups.
14258         Updated docs.
14259         Don't reset stream time when seek failed.
14260
14261 2006-03-13  Wim Taymans  <wim@fluendo.com>
14262
14263         * docs/design/draft-klass.txt:
14264         * docs/design/part-clocks.txt:
14265         * docs/design/part-events.txt:
14266         * docs/design/part-gstbin.txt:
14267         * docs/design/part-gstpipeline.txt:
14268         * docs/design/part-messages.txt:
14269         * docs/design/part-negotiation.txt:
14270         * docs/design/part-overview.txt:
14271         * docs/design/part-preroll.txt:
14272         * docs/design/part-seeking.txt:
14273         * docs/design/part-states.txt:
14274         * docs/design/part-streams.txt:
14275         Documentation updates.
14276
14277 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14278
14279         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14280         us to leak strings...
14281
14282 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14283
14284         * libs/gst/net/gstnettimeprovider.c:
14285           fix docs
14286         * win32/common/config.h:
14287           update
14288
14289 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14290
14291         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14292
14293         * configure.ac:
14294           Don't check for libgnomeui (leftover from old examples
14295           that aren't built or disted any longer) (#334303).
14296           
14297 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14298
14299         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14300         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14301           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14302           there's no space left on the device.
14303
14304 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14305
14306         * gst/gstclock.h:
14307           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14308           to cast the input to GstClockTime before comparing with
14309           another GstClockTime value.
14310
14311 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14312
14313         * configure.ac:
14314           back to trunk
14315
14316 === release 0.10.4 ===
14317
14318 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14319
14320         * configure.ac:
14321           releasing 0.10.4, "Light"
14322
14323 2006-03-10  Michael Smith  <msmith@fluendo.com>
14324
14325         * libs/gst/dataprotocol/dataprotocol.c:
14326           Fix docs for dataprocotol to not get the return types completely
14327           wrong for a few functions.
14328
14329 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14330
14331         * docs/gst/gstreamer-sections.txt:
14332         * gst/gstpipeline.c: (gst_pipeline_class_init),
14333         (gst_pipeline_init), (gst_pipeline_set_property),
14334         (gst_pipeline_get_property), (gst_pipeline_change_state),
14335         (gst_pipeline_set_auto_flush_bus),
14336         (gst_pipeline_get_auto_flush_bus):
14337         * gst/gstpipeline.h:
14338           Add new API: gst_pipeline_set_auto_flush_bus() and
14339           gst_pipeline_get_auto_flush_bus() to disable automatic
14340           flushing of the pipeline's GstBus when going from READY
14341           to NULL state (#332045).
14342
14343 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14344
14345         * docs/gst/gstreamer-sections.txt:
14346         * gst/gsturi.c: (gst_uri_has_protocol):
14347         * gst/gsturi.h:
14348            Add new API: gst_uri_has_protocol() (#333779).
14349
14350 2006-03-09  Wim Taymans  <wim@fluendo.com>
14351
14352         * gst/gstclock.c: (gst_clock_entry_new),
14353         (gst_clock_id_compare_func), (gst_clock_id_wait),
14354         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14355         (gst_clock_init), (gst_clock_get_internal_time),
14356         (gst_clock_set_master), (do_linear_regression),
14357         (gst_clock_add_observation), (gst_clock_set_property):
14358         * gst/gstclock.h:
14359         Review docs.
14360         Small cleanups.
14361         Fix a possible segfault when the window-size is made smaller.
14362         Calculate jitter before performing the clock wait. Ideally
14363         the clock implementation should calculate jitter but we need
14364         API breakage for that.
14365
14366         * gst/gstsystemclock.c: (gst_system_clock_init):
14367         Docs review.
14368         
14369         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14370         Remove leftover else
14371
14372         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14373         (gst_systemclock_suite):
14374         Added check to test GST_CLOCK_DIFF.
14375
14376 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14377
14378         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14379         (gst_type_find_helper_get_range):
14380           If we are provided with the size, we should implement
14381           GstTypeFind::get_length, so that typefind functions who
14382           want to can actually peek at the middle of a file.
14383
14384 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14385
14386         * docs/manual/advanced-dataaccess.xml:
14387           Add some very very basic error checking.
14388
14389         * docs/pwg/appendix-checklist.xml:
14390           Some updates to the list of things to check when writing an element.
14391
14392 2006-03-08  Wim Taymans  <wim@fluendo.com>
14393
14394         * docs/design/part-element-transform.txt:
14395         Added some docs about the design of tranform elements.
14396
14397         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14398         (gst_base_src_loop), (gst_base_src_change_state):
14399         Mark buffers with the DISCONT flag.
14400
14401 2006-03-08  Michael Smith  <msmith@fluendo.com>
14402
14403         * gst/gstregistry.h:
14404         * gst/gstregistryxml.c: (gst_registry_save),
14405         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14406         (gst_registry_xml_save_pad_template),
14407         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14408         (gst_registry_xml_write_cache):
14409           Rewrite registry-saving to avoid race conditions and check for
14410           failed writes.
14411
14412 2006-03-08  Wim Taymans  <wim@fluendo.com>
14413
14414         * libs/gst/base/gstbasetransform.c:
14415         (gst_base_transform_transform_caps),
14416         (gst_base_transform_transform_size),
14417         (gst_base_transform_prepare_output_buffer),
14418         (gst_base_transform_get_unit_size),
14419         (gst_base_transform_buffer_alloc),
14420         (gst_base_transform_handle_buffer),
14421         (gst_base_transform_change_state):
14422         Cleanups, separate normal flow from errors, add sensible
14423         DEBUG lines.
14424         Don't try to renegotiate when allocating an output buffer.
14425         Also copy DISCONT buffer flag when copying a buffer.
14426         Reset the transform after we finish streaming, not during.
14427
14428 2006-03-08  Wim Taymans  <wim@fluendo.com>
14429
14430         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14431         Use last buffer timestamp in qos message.
14432
14433 2006-03-07  Wim Taymans  <wim@fluendo.com>
14434
14435         Patch by: Christophe Fergeau
14436
14437         * docs/pwg/advanced-tagging.xml:
14438         * docs/pwg/building-pads.xml:
14439           fixes #333416
14440
14441 2006-03-07  Wim Taymans  <wim@fluendo.com>
14442
14443         * docs/libs/gstreamer-libs-sections.txt:
14444         Added basesink new methods.
14445
14446         * gst/gstevent.c:
14447         * gst/gstevent.h:
14448         Docs updates. Flesh out the QoS docs.
14449
14450         * libs/gst/base/gstadapter.c:
14451         Small doc clarification about ownership and flushing.
14452
14453         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14454         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14455         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14456         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14457         * libs/gst/base/gstbasesink.h:
14458         API additions: 
14459         Added new methods to allow subclass to control max-lateness 
14460         and sync.
14461         Generate very basic QoS events based on last sync observation.
14462         Updated docs, fix typo, added some QoS blurb.
14463
14464         * libs/gst/base/gstbasesrc.c:
14465         Remove obsolete _get_state() calls from docs.
14466
14467 2006-03-07  Wim Taymans  <wim@fluendo.com>
14468
14469         * docs/libs/gstreamer-libs-sections.txt:
14470         * libs/gst/base/gstbasetransform.h:
14471         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14472         Fix docs for GstBaseSrc.
14473
14474 2006-03-07  Wim Taymans  <wim@fluendo.com>
14475
14476         * docs/gst/gstreamer-sections.txt:
14477         * gst/gstbuffer.h:
14478         * gst/gstvalue.c:
14479         * libs/gst/base/gstbasetransform.h:
14480         Small documentation fixes.
14481
14482 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14483
14484         * gst/gstvalue.c:
14485           Document thread-unsafety of gst_value_register_foo_func()
14486           when used at the same time as gst_value_foo() (#322628).
14487
14488 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14489
14490         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14491         (gst_push_src_check_get_range):
14492           Push sources don't support pull mode by default.
14493
14494 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14495
14496         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14497         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14498         (gst_base_src_default_check_get_range):
14499         * libs/gst/base/gstbasesrc.h:
14500           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14501           provide default implementation, and rename
14502           gst_base_src_check_get_range() to
14503           gst_base_src_pad_check_get_range() for clarity.
14504
14505 2006-03-06  Wim Taymans  <wim@fluendo.com>
14506
14507         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14508         Make property overridable.
14509
14510 2006-03-06  Wim Taymans  <wim@fluendo.com>
14511
14512         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14513         (gst_base_sink_init), (gst_base_sink_set_property),
14514         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14515         * libs/gst/base/gstbasesink.h:
14516         API addition: Make max-lateness a property.
14517
14518 2006-03-06  Wim Taymans  <wim@fluendo.com>
14519
14520         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14521         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14522         Don't ever draw a frame that is >10ms late.
14523
14524 2006-03-06  Michael Smith  <msmith@fluendo.com>
14525
14526         * gst/gstmessage.c: (_gst_message_copy):
14527           When copying a message, set the parent_refcount of the enclosed
14528           structure to point at the copy, not the original message.
14529
14530 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14531
14532         Patch by: Christophe Fergeau
14533
14534         * gst/gstutils.h:
14535           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14536           usable in c++ code (#333417)
14537
14538 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14539
14540         * gst/gstclock.h:
14541           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14542
14543 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14544
14545         * libs/gst/base/gstbasetransform.c:
14546         (gst_base_transform_transform_caps):
14547           Make sure caps are writable before passing them to
14548           gst_caps_append().
14549
14550 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14551
14552         * gst/gsterror.h:
14553           Fix some minor docs errors.
14554
14555 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14556
14557           Patch by: Ross Burton <ross at burtonini dot com>
14558
14559         * gst/gsterror.c: (_gst_resource_errors_init):
14560         * gst/gsterror.h:
14561           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14562
14563 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14564
14565         * gst/gst.c:
14566         Add a check and output a g_warning when GStreamer is built
14567         against GLib 2.6 but running against 2.8 or higher, and vice 
14568         versa. (Closes: #323542)
14569
14570 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14571
14572         * gst/parse/parse.l:
14573           Commit patch for parse_launch syntax from #331255. Removes 
14574           support for quoted strings and mimetypes when writing filtered 
14575           caps. See the bug report for more details - I'm pretty sure this
14576           obscure feature is not in use by _anyone_ anywhere.
14577
14578           With this simple change, the size of the gstreamer.so here 
14579           drops from 2193KB to 1565KB.
14580
14581 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14582
14583         * plugins/elements/gsttypefindelement.h:
14584         * plugins/elements/gsttypefindelement.c:
14585         (gst_type_find_element_src_event), (start_typefinding),
14586         (stop_typefinding), (gst_type_find_element_handle_event),
14587         (gst_type_find_element_chain),
14588         (gst_type_find_element_chain_do_typefinding):
14589           Use gst_type_find_helper_for_buffer() for chain-based
14590           typefinding.
14591
14592 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14593
14594         * plugins/elements/gsttypefindelement.c:
14595         (gst_type_find_element_class_init),
14596         (gst_type_find_element_set_property),
14597         (gst_type_find_element_get_property):
14598           Deprecate "maximum" property (not only was it only taken into
14599           account for typefinding in push-mode anyway, it also was never
14600           actually possible to set it in the first place because the
14601           property was registered with the numeric property ID for the
14602           "minimum" property). Register "maximum" property correctly,
14603           for the sake of future copy'n'pasters. Remove some cruft
14604           from property get/set functions.
14605
14606 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14607
14608         * plugins/elements/gsttypefindelement.c:
14609         (gst_type_find_element_activate):
14610           Use gst_type_find_helper_get_range() here, so we
14611           can honour the "minimum" property and also emit
14612           the signal with the correct probability of the found caps.
14613
14614 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
14615
14616         * docs/libs/gstreamer-libs-sections.txt:
14617         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14618         (helper_find_suggest), (gst_type_find_helper_get_range),
14619         (gst_type_find_helper):
14620         * libs/gst/base/gsttypefindhelper.h:
14621           New API: gst_type_find_helper_get_range() (#333042).
14622
14623 2006-03-02  Michael Smith  <msmith@fluendo.com>
14624
14625         * gst/gstregistryxml.c: (load_feature):
14626           Asserting on a failure to read part of the registry is Not Cool.
14627           Just log a warning and return NULL (which is already handled)
14628
14629 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
14630
14631         * win32/common/libgstbase.def:
14632           added export of gst_type_find_helper_for_buffer
14633         * win32/common/libgstbase.def:
14634           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14635           gst_ghost_pad_get_target
14636
14637 2006-02-28  Wim Taymans  <wim@fluendo.com>
14638
14639         * docs/design/draft-klass.txt:
14640         We use Filter now.
14641         Added Connector to mark elements that are only used to
14642         allow pipeline connections.
14643         Moved Debug to extra feature since most of them are 
14644         functionally something else.
14645
14646 2006-02-28  Wim Taymans  <wim@fluendo.com>
14647
14648         * docs/design/draft-klass.txt:
14649         Some updates and clarifications.
14650
14651 2006-02-28  Wim Taymans  <wim@fluendo.com>
14652
14653         * docs/design/draft-klass.txt:
14654         Proposal for klass field values.
14655
14656         * docs/design/part-streams.txt:
14657         Start of a doc describing stream anatomy.
14658
14659 2006-02-28  Wim Taymans  <wim@fluendo.com>
14660
14661         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14662         Help the compiler a bit with type registration.
14663         Use existing forward cod path instead of duplicating it when 
14664         handling a message.
14665         
14666         * gst/gstbus.c: (gst_bus_get_type):
14667         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14668         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14669         * gst/gstclock.c: (gst_clock_get_type):
14670         * gst/gstelement.c: (gst_element_get_type),
14671         * gst/gstelementfactory.c: (gst_element_factory_get_type):
14672         * gst/gstindexfactory.c: (gst_index_factory_get_type):
14673         * gst/gstminiobject.c: (gst_mini_object_get_type):
14674         * gst/gstpad.c: (gst_pad_get_type):
14675         * gst/gstsegment.c: (gst_segment_get_type):
14676         * gst/gststructure.c: (gst_structure_get_type):
14677         * gst/gstsystemclock.c: (gst_system_clock_get_type):
14678         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14679         * gst/gstvalue.c:
14680         Help compiler with type registration.
14681
14682         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14683         Small doc update.
14684
14685 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14686
14687         * plugins/elements/gsttypefindelement.c:
14688         (gst_type_find_element_handle_event):
14689           When we get an EOS event and have not found a type yet
14690           (most likely because we had not yet accumulated
14691           TYPE_FIND_MIN_SIZE of data yet), try to determine the
14692           type given the data we have so far. Fixes typefinding
14693           for very short streams again, most notably quicktime
14694           redirections as used on Apple's trailer site (#331701).
14695
14696 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14697
14698         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14699         (gst_type_find_helper):
14700           Try typefinding factories with the highest rank first.
14701
14702 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14703
14704         * docs/libs/gstreamer-libs-docs.sgml:
14705         * docs/libs/gstreamer-libs-sections.txt:
14706         * libs/gst/base/gsttypefindhelper.c:
14707           Add section for typefind helper and add documentation
14708           for the old and the new function.
14709
14710 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14711
14712         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14713         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14714         (gst_type_find_helper_for_buffer):
14715         * libs/gst/base/gsttypefindhelper.h:
14716           New API: gst_type_find_helper_for_buffer() (#332723).
14717           
14718 2006-02-27  Michael Smith  <msmith@fluendo.com>
14719
14720         Patch by: Loïc Minier
14721
14722         * configure.ac:
14723         * docs/Makefile.am:
14724         * docs/slides/Makefile.am:
14725           prevent CVS directories getting disted.
14726
14727 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14728
14729         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14730           Use the REFCOUNTING category for caps refcounting.
14731           
14732 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14733
14734         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14735           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14736
14737 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14738
14739         * plugins/elements/gsttypefindelement.c:
14740         (gst_type_find_element_activate):
14741           Use gst_pad_check_pull_range() before _activate_pull()
14742           to avoid unnecessary open/close (see #331690).
14743
14744 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14745
14746         * gst/gstutils.c:
14747           Docs enhancement: make it crystal clear what the
14748           gst_pad_add_*_probe() callbacks should look like.
14749
14750 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14751
14752         * libs/gst/base/gstbasesrc.c:
14753           Document how applications can stop recording from
14754           live sources (see #330996).
14755
14756 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14757
14758         * tests/check/Makefile.am:
14759         * tests/check/libs/basesrc.c: (eos_event_counter),
14760         (basesrc_eos_events_pull), (basesrc_eos_events_push),
14761         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14762         (gst_basesrc_suite), (main):
14763           ... and add some tests for the base source EOS stuff.
14764
14765 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14766
14767         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14768           Test case originally showed the problem fixed below,
14769           but was then amended. Add checks back at the place
14770           where they used to be.
14771
14772 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14773
14774         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14775         (gst_base_src_init), (gst_base_src_loop),
14776         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14777         (gst_base_src_change_state):
14778         * libs/gst/base/gstbasesrc.h:
14779           Don't unconditionally send EOS when going from PAUSED to
14780           READY state, esp. make sure we don't send two EOS events
14781           in some cases (e.g. one when reaching EOS and one when
14782           going from PAUSED to READY). Also, we don't want to send
14783           EOS events when operating in pull mode. However, we do
14784           want to send an EOS event when shutting down a live
14785           source explicitly, for example (fixes #330996).
14786           
14787 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14788
14789         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14790           Update src->read_position after a seek when not using mmap.
14791           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14792
14793 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
14794
14795         * gst/Makefile.am:
14796         * gst/gstparse.h:
14797         * gst/gstutils.c:
14798         * gst/gstutils.h:
14799         Make things work with --disable-parse as they do with 
14800         --disable-load-save - the symbols involved disappear, but the
14801         header is still installed and GST_DISABLE_PARSE is included via
14802         gstconfig.h
14803
14804 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14805
14806         * libs/gst/base/gstbasetransform.c:
14807         (gst_base_transform_change_state): Fix a stupid bug. I was 
14808         sure I compiled that.
14809
14810 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14811
14812         * gst/gstpad.c: (gst_pad_set_blocked_async):
14813         * gst/gstutils.c: (gst_pad_add_data_probe),
14814         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14815         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14816         (gst_pad_remove_buffer_probe): Make those function act on the
14817         ghostpad target when it's a ghostpad. (Closes #331727)
14818
14819 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14820
14821         * libs/gst/base/gstbasetransform.c:
14822         (gst_base_transform_change_state): Make basetransform reusable.
14823         (Closes #331898)
14824
14825 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
14826
14827         * docs/random/release:
14828         Move the current documentation of how to do a release to the top
14829         of the file.
14830
14831         * gst/gstbin.c: (gst_bin_class_init),
14832         (gst_bin_handle_message_func):
14833         Allow multiple state-recalculation threads. (Closes #328873)
14834
14835 2006-02-19  Julien MOUTTE  <julien@moutte.net>
14836
14837         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14838         * gst/gstpad.c: (gst_pad_set_event_function),
14839         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14840         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14841         2 strings. You can't use the STR_NULL macro on that.
14842
14843 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
14844
14845         * gst/gstpad.c: (gst_pad_set_event_function),
14846         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14847         (gst_pad_set_getcaps_function)
14848         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14849           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14850           So now, we can use --gst-debug-level=5 on Windows
14851         * win32/common/libgstcontroller.def:
14852           Added export of gst_controller_init
14853         * win32/vs6/libgstcontroller.dsp:
14854           Fixed Release post build configuration
14855
14856 2006-02-17  Wim Taymans  <wim@fluendo.com>
14857
14858         * tests/check/gst/gstquery.c: (GST_START_TEST):
14859         Added another check.
14860
14861 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
14862
14863         * plugins/elements/gsttypefindelement.c: (find_peek):
14864           We can do peeks at non-zero offsets, as long as they
14865           fall within the buffer we have.
14866
14867 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
14868
14869         * tests/check/Makefile.am:
14870         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14871         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14872         (parse_suite), (main):
14873           Add testsuite for parse launch syntax
14874
14875 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
14876
14877         * plugins/elements/gsttypefindelement.c:
14878         (gst_type_find_element_chain):
14879           When typefinding is unsuccessful in the chain function, don't
14880           error out immediately. Only error out with NO_CAPS_FOUND if
14881           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14882           otherwise simply wait for more data so we can try typefinding
14883           again with more data later. Also, don't attempt to typefind
14884           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14885           this should improve typefinding from network sources where the
14886           size of the first buffer can be somewhat random.
14887
14888 2006-02-14  Wim Taymans  <wim@fluendo.com>
14889
14890         * docs/gst/gstreamer-sections.txt:
14891         * gst/gstpadtemplate.c:
14892         * gst/gstpadtemplate.h:
14893         Fix padtemplate docs, fixes #328805.
14894
14895 2006-02-14  Wim Taymans  <wim@fluendo.com>
14896
14897         * tools/gst-launch.c: (main):
14898         NO_PREROLL is not an ERROR so don't send confusing messages
14899         to the user.
14900
14901 2006-02-14  Wim Taymans  <wim@fluendo.com>
14902
14903         Patch by: Torsten Schoenfeld
14904
14905         * gst/gstregistry.c: (gst_registry_get_default),
14906         (_gst_registry_cleanup):
14907         Protect default registry with lock and ref/sink it.
14908         Fixes #324818
14909
14910 2006-02-14  Wim Taymans  <wim@fluendo.com>
14911
14912         * gst/gstbuffer.c:
14913         * gst/gstquery.c: (gst_query_list_add_format),
14914         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14915         (gst_query_parse_formats_nth):
14916         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14917         Docs fixes.
14918
14919 2006-02-14  Wim Taymans  <wim@fluendo.com>
14920
14921         * docs/gst/gstreamer-sections.txt:
14922         Reworked query docs.
14923
14924         * gst/gstquery.c: (gst_query_new_formats),
14925         (gst_query_list_add_format), (gst_query_set_formats),
14926         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14927         (gst_query_parse_formats_nth):
14928         * gst/gstquery.h:
14929         Flesh out formats query, added some new methods.
14930         Fix part of #324398.
14931
14932         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
14933         Added query creation tests.
14934
14935 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
14936
14937         * gst/gstpad.c: (fixate_value):
14938         Add a default fixation for fraction lists.
14939
14940 2006-02-13  Wim Taymans  <wim@fluendo.com>
14941
14942         * gst/gsttask.c: (gst_task_init), (gst_task_func),
14943         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
14944         (gst_task_join):
14945         * gst/gsttask.h:
14946         Detect and warn for obvious deadlocks. fixes #320340
14947         Fix error case where lock was not released.
14948
14949         * tests/check/Makefile.am:
14950         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
14951         (task_func), (gst_element_suite), (main):
14952         Add task check.
14953
14954 2006-02-13  Wim Taymans  <wim@fluendo.com>
14955
14956         * docs/gst/gstreamer-sections.txt:
14957         * gst/gstbus.c:
14958         Add new functions to docs.
14959
14960 2006-02-13  Wim Taymans  <wim@fluendo.com>
14961
14962         * docs/design/part-TODO.txt:
14963         Updated TODO list, basesrc supports seeking to non-bytes
14964         formats.
14965
14966         * docs/design/part-element-sink.txt:
14967         Update docs.
14968
14969         * gst/gstbin.c: (bin_replace_message),
14970         (gst_bin_handle_message_func):
14971         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
14972         * gst/gstevent.c: (gst_event_finalize):
14973         * gst/gstpad.c: (gst_pad_event_default_dispatch),
14974         (gst_pad_send_event):
14975         Use shiny new _TYPE_NAME macros.
14976
14977         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14978         Move debug statement up.
14979
14980         * gst/gstelement.c: (gst_element_set_locked_state):
14981         Add some debugging.
14982
14983 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
14984
14985         * docs/gst/gstreamer-sections.txt:
14986         * gst/gstmessage.h:
14987         * gst/gstquery.h:
14988           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
14989           macros (#330906). Also, document the already existing
14990           GST_QUERY_TYPE macro.
14991
14992 2006-02-13  Wim Taymans  <wim@fluendo.com>
14993
14994         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
14995         (event_probe), (GST_START_TEST):
14996         Only events up to the pipeline EOS are counted, there are
14997         some more when going to NULL currently which we don't care
14998         about for now.
14999
15000 2006-02-13  Wim Taymans  <wim@fluendo.com>
15001
15002         * gst/gstpad.c: (gst_pad_send_event):
15003         Correctly check flushing and emit probes. fixes #330125
15004
15005 2006-02-10  Andy Wingo  <wingo@pobox.com>
15006
15007         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15008         structure.
15009         (gst_bus_init): Cache the location of the private data in the
15010         instance structure.
15011         (gst_bus_enable_sync_message_emission) 
15012         (gst_bus_disable_sync_message_emission): Implement new public
15013         functions.
15014         (gst_bus_post): Emit the sync-message signal if the user asked for
15015         it. Fixes #330684.
15016
15017         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15018         location of the bus-private structure.
15019         (gst_bus_enable_sync_message_emission)
15020         (gst_bus_disable_sync_message_emission): API addition
15021
15022 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15023
15024         Patch by: Vincent Torri
15025
15026         * docs/pwg/building-boiler.xml:
15027         PWG patch from #326800
15028
15029 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15030
15031         * configure.ac:
15032         * docs/Makefile.am:
15033         * docs/design/Makefile.am:
15034           Dist design docs.
15035
15036 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15037
15038         * configure.ac:
15039           back to CVS
15040
15041 === release 0.10.3 ===
15042
15043 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15044
15045         * configure.ac:
15046           releasing 0.10.3, "Like a virgin"
15047
15048 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15049
15050         * configure.ac:
15051           2nd prerelease of 0.10.3
15052           Bump libtool versioning.
15053
15054 2006-02-07  Andy Wingo  <wingo@pobox.com>
15055
15056         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15057         update last_stop if we're in TIME format and the timestamp is
15058         valid.
15059
15060         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15061         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15062         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15063         If we get a new newsegment with a different format, adapt
15064         accordingly.
15065
15066         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15067         of 0. Not a problem, really.
15068
15069         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15070         warn if sync=true.
15071
15072 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15073
15074         * configure.ac:
15075           Prelease of 0.10.3
15076
15077 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15078
15079         * win32/vs7:
15080           project files updated to the default vs7 configuration
15081         * win32/common/libgstbase.def:
15082         * win32/common/libgstreamer.def:
15083           added new symbols,
15084           removed empty lines,
15085           sorted all exported symbols alphabetically
15086         * win32/common/dirent.c:
15087         * win32/common/dirent.h:
15088         * win32/common/gchar.h:
15089           use windows line end.
15090           
15091 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15092
15093         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15094           Send EOS event when stopping.
15095
15096 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15097
15098         * docs/README:
15099           Tell folks what to do if the plugin-foobar.xml file
15100           hasn't been generated for a newly-added plugin.
15101
15102 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15103
15104         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15105         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15106         (gst_collect_pads_start), (gst_collect_pads_stop),
15107         (gst_collect_pads_event): Collectpads now holds a reference
15108         to the GstPad that was added. Indeed we don't want to look
15109         at pads that might just go away with no warning...
15110
15111 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15112
15113         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15114         (gst_collect_pads_start), (gst_collect_pads_stop),
15115         (gst_collect_pads_event), (gst_collect_pads_chain):
15116         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15117         Mark Nauwelaerts's patch on bug #328491.
15118
15119 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15120
15121         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15122         (gst_utils_suite):
15123           Add some simple tests for gst_parse_bin_from_description() and
15124           gst_bin_find_unconnected_pad() (#329069).
15125
15126 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15127
15128         * tools/gst-launch.c: (event_loop), (main):
15129           Catch errors during preroll (#320084).
15130
15131 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15132
15133         * plugins/elements/gsttypefindelement.c:
15134         (gst_type_find_element_activate):
15135           Post TYPE_NOT_FOUND error message when typefinding
15136           is unsuccessful in the activate function as well.
15137
15138 2006-02-02  Wim Taymans  <wim@fluendo.com>
15139
15140         * docs/design/part-element-sink.txt:
15141         Updated doc.
15142
15143 2006-02-02  Wim Taymans  <wim@fluendo.com>
15144
15145         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15146         (gst_base_sink_render_object),
15147         (gst_base_sink_queue_object_unlocked):
15148         Only keep track of prerollable items when we are 
15149         prerolling.
15150         Before rendering after preroll, always check if we
15151         have queued items.
15152         Added some more debugging.
15153
15154 2006-02-02  Wim Taymans  <wim@fluendo.com>
15155
15156         * gst/gstelement.c: (gst_element_continue_state),
15157         (gst_element_set_state_func), (gst_element_change_state):
15158         Fixed #326576, been running this for quite some time with
15159         no regressions at all.
15160
15161 2006-02-02  Wim Taymans  <wim@fluendo.com>
15162
15163         * common/gst.supp:
15164         Added more suppressions
15165
15166 2006-02-02  Wim Taymans  <wim@fluendo.com>
15167
15168         * docs/design/part-element-sink.txt:
15169         Updated document.
15170
15171         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15172         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15173         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15174         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15175         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15176         (gst_base_sink_preroll_object),
15177         (gst_base_sink_queue_object_unlocked),
15178         (gst_base_sink_queue_object), (gst_base_sink_event),
15179         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15180         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15181         (gst_base_sink_get_position), (gst_base_sink_change_state):
15182         * libs/gst/base/gstbasesink.h:
15183         Totally refactored matching the design doc.
15184         Use two segments, one to clip incomming buffers and another to
15185         perform sync.
15186         Handle queueing correctly, bypass the queue when playing.
15187         Make EOS cancelable.
15188         Handle errors correctly when operating in pull based mode.
15189
15190         * tests/check/elements/fakesink.c: (GST_START_TEST),
15191         (fakesink_suite):
15192         Added new check for sinks.
15193
15194 2006-02-02  Wim Taymans  <wim@fluendo.com>
15195
15196         * gst/gstsegment.c: (gst_segment_clip):
15197         No reason to refuse to clip when start == -1
15198
15199 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15200
15201         * docs/README:
15202         * docs/manual/intro-basics.xml:
15203         * docs/manual/intro-preface.xml:
15204         * docs/manual/manual.xml:
15205         * docs/pwg/advanced-dparams.xml:
15206         * docs/pwg/intro-basics.xml:
15207         * docs/pwg/intro-preface.xml:
15208         * docs/pwg/pwg.xml:
15209           describe dparams (controller) for plugins
15210           unify docs a little more
15211
15212 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15213
15214         * docs/gst/gstreamer-sections.txt:
15215         * gst/gstutils.c: (element_find_unconnected_pad),
15216         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15217         * gst/gstutils.h:
15218           Add new API: gst_parse_bin_from_description() and
15219           gst_bin_find_unconnected_pad() (#329069).
15220
15221 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15222
15223         * docs/manual/README:
15224           uncover a nasty detail of the docs build
15225
15226 2006-01-31  Wim Taymans  <wim@fluendo.com>
15227
15228         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15229         Don't cache duration messages if we're not going to use or
15230         free them.
15231
15232 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15233
15234         * docs/manual/advanced-dparams.xml:
15235         * docs/pwg/advanced-dparams.xml:
15236           more dparam docs
15237         * gst/gstindex.c:
15238           fix docs
15239         * libs/gst/controller/lib.c: (gst_controller_init):
15240           init just once
15241
15242 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15243
15244         * gst/gstelement.c: (gst_element_message_full):
15245           also show file/line/func if no additional debug was given
15246
15247 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15248         
15249         * win32/vs7/grammar.vcproj:
15250           activate copy of autogenerated files for Release mode
15251
15252 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15253         
15254         * win32/common/libgstreamer.def:
15255           export gst_value_compare
15256
15257 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15258
15259         * plugins/elements/Makefile.am:
15260         * plugins/elements/gstelements.c:
15261         * plugins/elements/gstfdsink.c: (_do_init),
15262         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15263         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15264         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15265         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15266         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15267         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15268         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15269         * plugins/elements/gstfdsink.h:
15270         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15271
15272 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15273
15274         * docs/manual/advanced-dparams.xml:
15275           describe controller
15276         * docs/manual/advanced-position.xml:
15277         * docs/manual/basics-init.xml:
15278         * docs/manual/manual.xml:
15279         * docs/manual/titlepage.xml:
15280         * docs/pwg/pwg.xml:
15281         * docs/pwg/titlepage.xml:
15282           cleanup xml (more to come)
15283         * libs/gst/controller/gstcontroller.c:
15284           fix typo
15285
15286 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15287         
15288         * win32/vs6/grammar.dsp:
15289           add autogen of gstmarshal.c,h for Release mode
15290                 
15291 2006-01-30  Wim Taymans  <wim@fluendo.com>
15292
15293         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15294         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15295         (gst_base_sink_handle_object), (gst_base_sink_event),
15296         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15297         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15298         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15299         (gst_base_sink_deactivate), (gst_base_sink_activate),
15300         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15301         (gst_base_sink_query), (gst_base_sink_change_state):
15302         Basesink cleanups, remove some old code.
15303         Handle the case where a subclass can preroll in the render
15304         method (mostly audiosinks).
15305         Handle more events.
15306         Remove some locks around variables that are now protected
15307         with the PREROLL_LOCK (clock_id, flushing, ..).
15308         Optimize position query some more, do correct locking.
15309         Remove old code to push queue in state change, this is not
15310         needed anymore since preroll blocks on all prerollable items 
15311         now.
15312         Almost implemented as described in design doc.
15313
15314 2006-01-30  Wim Taymans  <wim@fluendo.com>
15315
15316         * tests/check/gst/gstbin.c: (GST_START_TEST):
15317         Wait for refcount to settle down before checking.
15318
15319 2006-01-30  Wim Taymans  <wim@fluendo.com>
15320
15321         * docs/design/part-element-sink.txt:
15322         Pseudo code overview of desired sink behaviour regarding
15323         preroll.
15324
15325 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15326         * win32/vs6/grammar.dsp:
15327           fix some bugs in Release mode for autogenerated files
15328                 
15329 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15330         * win32/common/libgstbase.def:
15331         * win32/common/libgstreamer.def:
15332           export some new symbols: gst_base_src_set_format,
15333           gst_iterator_next, gst_structure_set_valist
15334
15335 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15336
15337         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15338         Set pad functions unconditionally. Fixes #329105.
15339
15340 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15341         * win32/vs8:
15342           add vs8 project files created by Sergey Scobich
15343
15344 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15345
15346         * gst/gstutils.c: (gst_element_unlink_pads):
15347         Don't leak pad references.
15348
15349         * tests/check/elements/fakesink.c: (GST_START_TEST):
15350         * tests/check/generic/sinks.c: (GST_START_TEST):
15351         * tests/check/generic/states.c: (GST_START_TEST):
15352         * tests/check/gst/gstbin.c: (GST_START_TEST):
15353         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15354         * tests/check/gst/gstelement.c: (GST_START_TEST):
15355         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15356         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15357         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15358         Fix a bunch of leaks. Make generic/sinks.c
15359         use a bit less cpu by slowing the buffer rate
15360         between fakesrc and fakesink.
15361         
15362 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15363         * gst/gstcaps.c:
15364         * gst/gstelement.c: (gst_element_send_event):
15365         * gst/gstevent.c:
15366         * gst/gstinfo.c:
15367         * gst/gstiterator.c:
15368         * gst/gstiterator.h:
15369         * gst/gstpad.c: (gst_pad_send_event):
15370         * gst/gststructure.c:
15371         * gst/gsturi.c:
15372         * gst/gstutils.c:
15373         * gst/gstvalue.c:
15374         * libs/gst/base/gstadapter.c:
15375           doc fixes, to link to function, just write gst_cool_function(), don't
15376           prefix with '#'
15377
15378 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15379
15380         * plugins/elements/gsttee.c: (gst_tee_do_push),
15381         (gst_tee_handle_buffer):
15382         Always prefer an actual return value from a src
15383         pad in place of NOT_LINKED. This means we return
15384         WRONG_STATE when all src pads are WRONG_STATE
15385         instead of NOT_LINKED.
15386
15387         Lock when replacing the last message to prevent
15388         racing with the get_property method.
15389
15390         Add debug output
15391
15392 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15393
15394         * tests/check/Makefile.am:
15395         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15396         (main):
15397         Add a very simple check that should have caught the memleak I fixed
15398         last night (if not for the slice allocator hiding it)
15399
15400 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15401
15402         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15403         (gst_bin_remove_func), (gst_bin_handle_message_func),
15404         (bin_query_duration_fold), (bin_query_generic_fold):
15405         Clean up references to the clock provider when disposed or when
15406         handling a clock-lost message from it.
15407
15408         Unref sinks when performing a query via gst_iterator_fold, as the
15409         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15410
15411         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15412         (gst_clock_set_master):
15413         Drop our reference to the master clock, if any, when we are disposed.
15414
15415         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15416         Chain up in dispose. 
15417
15418 2006-01-26  Wim Taymans  <wim@fluendo.com>
15419
15420         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15421         Add some debugging.
15422
15423 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15424
15425         * plugins/elements/gsttee.c: (gst_tee_do_push),
15426         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15427         handles pad being NOT_LINKED or in WRONG_STATE.
15428
15429 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15430
15431         * win32/MANIFEST:
15432           more updating
15433
15434 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15435
15436         * win32/MANIFEST:
15437           remove obsolete entry
15438
15439 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15440
15441         * docs/gst/gstreamer-sections.txt:
15442         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15443         (gst_bin_iterate_sources), (gst_bin_send_event):
15444         * gst/gstbin.h:
15445         * gst/gstelement.c: (gst_element_send_event):
15446         * gst/gstevent.c:
15447         * gst/gstpad.c: (gst_pad_send_event):
15448           added code for downstream events, reviewed docs in gstevent.c
15449
15450 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15451
15452         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15453         We only query position using the clock in the playing state.
15454         Query peer in the other cases.
15455         * win32/common/config.h: Updates.
15456
15457 2006-01-24  Wim Taymans  <wim@fluendo.com>
15458
15459         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15460         A clock entry that is scheduled for the exact time of the
15461         clock is still in time.
15462
15463         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15464         (gst_base_sink_do_sync):
15465         Add some more debug info.
15466
15467 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15468
15469         * win32/vs7:
15470           Add new vs7 project files and solution.
15471
15472 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15473
15474         * win32/vs7:
15475           all files removed as they were out-dated.
15476
15477 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15478
15479         * docs/random/release:
15480           update notes
15481         * gst/gstbin.c: (gst_bin_init):
15482         * gst/gstbus.c: (gst_bus_new):
15483         * gst/gstbus.h:
15484         * gst/gstpipeline.c: (gst_pipeline_init):
15485           use gst_bus_new(), improve logging, fix docs
15486         * win32/common/config.h:
15487           update for cvs build
15488
15489 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15490
15491         * autogen.sh:
15492           up required version of automake to 1.7
15493
15494 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15495
15496         * win32/common/libgstreamer.def:
15497           export gst_buffer_is_metadata_writable
15498
15499 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15500
15501         * docs/gst/gstreamer-sections.txt:
15502         * gst/gstevent.h:
15503           Add gst_event_replace() (#327001)
15504
15505 2006-01-20  Wim Taymans  <wim@fluendo.com>
15506
15507         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15508         Make it actually compile too..
15509
15510 2006-01-20  Wim Taymans  <wim@fluendo.com>
15511
15512         * gst/gstcaps.c:
15513         Clarify behaviour of _is_equal() when passing NULL parameters.
15514
15515         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15516         (gst_pad_set_caps):
15517         Cleanups. Don't unref NULL caps.
15518         When setting the same caps, protect caps of the pad with
15519         proper lock.
15520         Use full functionality of _is_equal() when comparing caps.
15521
15522 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15523
15524         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15525         Don't loop infinitely if there are no buffers to present. Partially
15526         fixes #327197, but collectpads is just broken for reusing elements
15527         to do multiple encodes atm.
15528
15529 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15530
15531         * tools/gst-inspect.c: (print_element_features):
15532         * tools/gst-xmlinspect.c: (main):
15533         URL_HANDLER is not a plugin feature we can search for in
15534         the registry.
15535
15536 2006-01-19  Edward Hervey  <edward@fluendo.com>
15537
15538         * gst/gstelement.c: (gst_element_pads_activate): 
15539         When activating, do src pads first, then sink pads.
15540         When de-activating, do sink pads first, then src pads.
15541
15542 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15543
15544         * docs/gst/gstreamer-sections.txt:
15545         Add gst_index_add_associationv to the docs
15546
15547 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15548
15549         * gst/gstevent.c:
15550           Fix docs typo
15551
15552         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15553         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15554           Do some refactoring. Doesn't actually change functionality,
15555           but makes landing the DRAIN event easier later.
15556
15557 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15558
15559         * docs/pwg/advanced-scheduling.xml:
15560           Update from 0.9.x to 0.10 API and make example a bit
15561           clearer.
15562
15563 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15564
15565         * docs/gst/gstreamer-sections.txt:
15566         Add gst_buffer_(is|make)_metadata_writable methods.
15567
15568 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15569
15570         * docs/design/part-sparsestreams.txt:
15571         Update sparse streams doc, hopefully for greater clarity
15572
15573 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15574
15575         * docs/design/part-events.txt:
15576         Remove mention of FILLER events.
15577         Add DRAIN event.
15578
15579         * docs/design/part-sparsestreams.txt:
15580         Write some things about using NEWSEGMENT to keep sparse streams
15581         flowing.
15582
15583 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15584
15585         * gst/gstbin.c: (gst_bin_dispose):
15586           Guard gst_object_unref call against a NULL object (dispose
15587           can theoretically be called multiple times).
15588           
15589 2006-01-18  Wim Taymans  <wim@fluendo.com>
15590
15591         * gst/gstbin.c: (gst_bin_element_set_state):
15592         * gst/gstclock.c: (gst_clock_id_wait):
15593         Added some more debug info.
15594
15595         * libs/gst/base/gstadapter.c:
15596         Added more docs.
15597
15598         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15599         (gst_base_sink_do_sync), (gst_base_sink_chain):
15600         Added some comments.
15601
15602 2006-01-18  Wim Taymans  <wim@fluendo.com>
15603
15604         * tests/check/Makefile.am:
15605         * tests/check/elements/fakesink.c: (chain_async_buffer),
15606         (chain_async), (chain_async_return), (GST_START_TEST),
15607         (fakesink_suite), (main):
15608         Added fakesink test that checks prerolling and clipping
15609         behaviour.
15610
15611         * tests/check/gst/gstutils.c: (GST_START_TEST):
15612         Make check run faster so that buildbots don't timeout.
15613
15614 2006-01-18  Wim Taymans  <wim@fluendo.com>
15615
15616         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15617         (gst_base_sink_do_sync):
15618         Some cleanups.
15619         When the sink finishes blocking on the preroll buffer, it can
15620         immediatly render it instead of rendering when the next buffer
15621         arrives.
15622
15623 2006-01-18  Wim Taymans  <wim@fluendo.com>
15624
15625         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15626         (gst_base_sink_get_property), (gst_base_sink_do_sync),
15627         (gst_base_sink_chain):
15628         Small cleanups.
15629         GST_ELEMENT_CLOCK and sync are protected with LOCK.
15630         Don't store _last_stop if the buffer is dropped.
15631
15632 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15633
15634         * plugins/elements/gsttypefindelement.c:
15635         (gst_type_find_element_class_init):
15636           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15637           object method handler that sets the caps on the pad and we want
15638           that to happen before we emit the signal (fixes e.g. feeding a
15639           plain text file to decodebin).
15640
15641 2006-01-18  Christian Schaller  <Christian@fluendo.com>
15642
15643         * gst/gstplugin.c: Add MPL and Proprietary as license options
15644
15645 2006-01-18  Andy Wingo  <wingo@pobox.com>
15646
15647         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15648         symbol was exported before, it appears this was just an oversight.
15649         Fixes #168703.
15650         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15651
15652         * gst/gstindex.c (gst_index_add_associationv): Changed int in
15653         prototype to gint. OK since this prototype was not in the header.
15654
15655 2006-01-17  Andy Wingo  <wingo@pobox.com>
15656
15657         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15658         registry while we remove plugins.
15659
15660         * tools/gst-inspect.c (print_element_info): Don't unref the
15661         factory arg, that should be the responsibility of whatever code
15662         received the ref. Fixes a double-free when called from
15663         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15664         (main): Unref the factory if we have one.
15665         (print_element_list): No change -- relies on the
15666         plugin_feature_list_free to free the list of features.
15667
15668 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
15669
15670         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15671         (gst_buffer_make_metadata_writable):
15672         * gst/gstbuffer.h:
15673         * libs/gst/base/gstbasetransform.c:
15674         (gst_base_transform_prepare_output_buf):
15675         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15676         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15677           Replace gst_buffer_(make|is)_metadata_writable patch now
15678           that the release is out.
15679
15680 2006-01-17  Andy Wingo  <wingo@pobox.com>
15681
15682         * gst/gstregistry.c: Reflow design comment. Update so as to speak
15683         in the present tense without reference to versions.
15684
15685         * gst/gstregistry.c (gst_registry_add_plugin)
15686         (gst_registry_remove_plugin, gst_registry_remove_feature)
15687         (gst_registry_find_feature, gst_registry_get_feature_list)
15688         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15689         (gst_registry_lookup, gst_registry_scan_path)
15690         (_gst_registry_remove_cache_plugins)
15691         (gst_registry_get_feature_list_by_plugin): Add argument
15692         validation.
15693
15694 === release 0.10.2 ===
15695
15696 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
15697
15698         * configure.ac:
15699           releasing 0.10.2, "If man is five"
15700
15701 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15702
15703         * gst/gstbuffer.c:
15704         * gst/gstbuffer.h:
15705         * libs/gst/base/gstbasetransform.c:
15706         (gst_base_transform_prepare_output_buf):
15707         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15708         * tests/check/gst/gstbuffer.c: (gst_test_suite):
15709           Back out patch until after the release.
15710
15711 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15712
15713         * gst/gstminiobject.c:
15714           Spelling fix in docs.
15715         * ChangeLog - remove conflict indicator
15716
15717 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15718
15719         Reviewed By: Andy Wingo
15720
15721         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15722         (gst_buffer_make_metadata_writable):
15723         * gst/gstbuffer.h:
15724           Add gst_buffer_(is|make)_metadata_writable as analogues of
15725           gst_buffer_(is|make)_writable.
15726
15727         * libs/gst/base/gstbasetransform.c:
15728         (gst_base_transform_prepare_output_buf):
15729         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15730           Use name gst_buffer_(is|make)_metadata_writable functions.
15731
15732         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15733           Test gst_buffer_(is|make)_metadata_writable
15734         
15735           (Closes: #324162)
15736
15737 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15738
15739         * docs/manual/Makefile.am:
15740           don't do parallel make
15741         * configure.ac:
15742           AC_SUBST HOST_CPU
15743         * win32/common/config.h.in:
15744           add generations for HOST_CPU and GST_MAJORMINOR
15745         * win32/common/config.h:
15746           commit generated result
15747
15748 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
15749
15750         * docs/manual/appendix-integration.xml:
15751           Update GNOME integration section to use gst_init_get_option_group()
15752           instead of the old popt stuff (#322911). Also, GNOME applications
15753           should  now use gconf*sink and gconf*src instead of the old gconf
15754           helper lib we had.
15755
15756 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
15757
15758
15759         * docs/gst/gstreamer-docs.sgml:
15760         * docs/gst/gstreamer-sections.txt:
15761         * docs/libs/gstreamer-libs-sections.txt:
15762           add new API entries to the docs
15763         * libs/gst/controller/Makefile.am:
15764         * libs/gst/controller/gstcontroller.c:
15765         * libs/gst/controller/gstcontroller.h:
15766         * libs/gst/controller/gstcontrollerprivate.h:
15767         * libs/gst/controller/gsthelper.c:
15768         * libs/gst/controller/gstinterpolation.c:
15769           move private structs to private header
15770         * po/README:
15771           gstreamer-0.7 -> gstreamer-0.10
15772         * tests/check/libs/struct_i386.h:
15773           remove private structs
15774
15775 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15776
15777         * plugins/indexers/Makefile.am:
15778           Fixes as part of #317048
15779
15780 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15781
15782         * plugins/indexers/Makefile.am:
15783           fix #316086 - compilation when mmap is missing
15784
15785 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
15786
15787         * libs/gst/base/gstbasesink.c:
15788           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
15789           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15790         * win32/common/config.h:
15791           added some defines GST_MAJORMINOR and HOST_CPU
15792         * win32/common/libgstbase.def:
15793         * win32/common/libgstreamer.def:
15794           added some exported functions.
15795
15796 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15797
15798         * libs/gst/controller/gstcontroller.c:
15799         (gst_controlled_property_set_interpolation_mode),
15800         (gst_controlled_property_new):
15801         * libs/gst/controller/gstcontroller.h:
15802         * libs/gst/controller/gstinterpolation.c:
15803         (interpolate_none_get_string_value_array):
15804           make G_TYPE_STRING controlable
15805
15806 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15807
15808         * tools/README:
15809         * tools/gst-feedback.1.in:
15810         * tools/gst-inspect.1.in:
15811         * tools/gst-launch.1.in:
15812         * tools/gst-md5sum.1.in:
15813         * tools/gst-typefind.1.in:
15814         * tools/gst-xmlinspect.1.in:
15815         * tools/gst-xmllaunch.1.in:
15816           cleanup man-pages, remove reference to gst-register, document env-vars
15817
15818 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
15819
15820         * gst/gstbuffer.c: (gst_buffer_span):
15821           gst_buffer_span should copy the timestamp of the first buffer
15822           if they were both originally overlapping subbuffers of the 
15823           same parent, using the same logic as the 'slow copy' case.
15824
15825 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
15826
15827         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15828           Need to awaken ALL the pads when we pop a buffer, otherwise
15829           collectpads only works when there is 2 input streams.
15830
15831 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
15832
15833         * docs/random/ensonic/media-device-daemon.txt:
15834           more ideas (dbus)
15835         * gst/gstbuffer.c:
15836           fix doc example, add clarification
15837         * tools/gst-launch.1.in:
15838           add initial info about GST_PLUGIN_PATH, needs more work
15839
15840 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
15841
15842         * docs/manual/basics-bins.xml:
15843         * docs/manual/basics-elements.xml:
15844         * docs/manual/intro-basics.xml:
15845           Some more minor docs additions and updates.
15846
15847 2006-01-11  Wim Taymans  <wim@fluendo.com>
15848
15849         * docs/manual/basics-bins.xml:
15850         * docs/manual/basics-elements.xml:
15851         Some small fixes as pointed out by Ser-ver on IRC.
15852
15853 2006-01-10  Edward Hervey  <edward@fluendo.com>
15854
15855         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15856         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15857         the single-segment mode.
15858
15859 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
15860
15861         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15862
15863         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15864         (gst_base_src_perform_seek), (gst_base_src_send_event),
15865         (gst_base_src_set_property), (gst_base_src_get_property),
15866         (gst_base_src_loop), (gst_base_src_start),
15867         (gst_base_src_activate_push):
15868         * libs/gst/base/gstbasesrc.h:
15869           Name (private) union; makes Sun's Forte compiler happy (#324900).
15870
15871 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
15872
15873         * README:
15874           gst-register is gone.
15875
15876 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15877
15878         * gst/gstvalue.c: (_gst_value_initialize):
15879           make the G_TYPE_DATE instantiation work if debug is disabled
15880
15881 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
15882
15883         * gst/gstmessage.c: (gst_message_parse_tag),
15884         (gst_message_parse_error), (gst_message_parse_warning):
15885           Don't crash when return location for error/warning debug
15886           string is NULL; add fact that return locations can be
15887           NULL to docs where appropriate.
15888
15889 2006-01-05  Wim Taymans  <wim@fluendo.com>
15890
15891         * gst/gstplugin.c: (gst_plugin_load_file):
15892         Replace strdup by g_strdup.
15893
15894 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15895
15896         * docs/pwg/advanced-types.xml:
15897           fix doc borkage
15898
15899 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15900
15901         submitted by: Abel Cheung
15902
15903         * po/LINGUAS:
15904         * po/zh_TW.po:
15905           Added Chinese (traditional) translation
15906
15907 2006-01-04  Wim Taymans  <wim@fluendo.com>
15908
15909         * docs/manual/basics-pads.xml:
15910         * docs/plugins/Makefile.am:
15911         * docs/plugins/gstreamer-plugins-docs.sgml:
15912         * docs/plugins/gstreamer-plugins-sections.txt:
15913         * docs/pwg/advanced-clock.xml:
15914         * docs/pwg/advanced-scheduling.xml:
15915         * docs/pwg/advanced-types.xml:
15916         * plugins/elements/gstfdsink.c:
15917         * plugins/elements/gstfdsrc.c:
15918         * plugins/elements/gstfdsrc.h:
15919         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15920         * plugins/elements/gstidentity.h:
15921         * plugins/elements/gstqueue.h:
15922         * plugins/elements/gsttee.c:
15923         * plugins/elements/gsttee.h:
15924         * plugins/elements/gsttypefindelement.c:
15925         (gst_type_find_element_class_init):
15926         * plugins/elements/gsttypefindelement.h:
15927         Small updates to various docs.
15928         Added core plugins to docs.
15929
15930 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15931
15932         * common/gst.supp:
15933           add a suppression for liboil's uninitialized variable
15934
15935 2006-01-02  James Livingston  <jrl at ids dot org dot au>
15936
15937         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15938
15939         * gst/gstutils.h:
15940           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
15941           macro, so that gcc doesn't complain if the -Wmissing-prototypes
15942           compiler switch is being used (#325429).
15943
15944 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
15945
15946         * gst/gstbin.c: (gst_bin_query):
15947           Disable duration query caching in bins until it gets
15948           fixed (see #324807).
15949
15950 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
15951
15952         * tools/gst-inspect.c: (print_element_properties_info):
15953           Handle properties of POINTER and BOXED type.
15954
15955 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
15956
15957         * gst/gst.c: (init_post):
15958           Init tags stuff and some other things before loading
15959           any static plugins (there may be other static plugins
15960           than just the GStreamer ones, and they may want to
15961           register their own tags or formats or whatever, and
15962           preferably without segfaulting).
15963
15964         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
15965           Print at least a warning in the debug logs if we drop a
15966           query just because we don't know how to adjust the value
15967           in the particular format.
15968
15969 2005-12-24  David Schleef  <ds@schleef.org>
15970
15971         * tools/gstreamer-completion:
15972           Replacement for gst-complete written in sh and sed.  Only
15973           completes names of features, but that's 90% of what I want
15974           it for.  Properties are not available in registry.xml.  (Maybe
15975           they should be...)
15976
15977 === release 0.10.1 ===
15978
15979 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
15980
15981         * configure.ac:
15982           releasing 0.10.1, "Nollaig chridheil"
15983
15984 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
15985
15986         * docs/faq/cvs.xml:
15987           Add missing quote, should be make ERROR_CFLAGS="".
15988
15989 2005-12-20  Wim Taymans  <wim@fluendo.com>
15990
15991         * docs/design/part-trickmodes.txt:
15992         More documentation on trickmodes.
15993
15994 2005-12-20  Edward Hervey  <edward@fluendo.com>
15995
15996         * gst/gstcaps.c: (gst_static_caps_get_type):
15997         * gst/gstcaps.h:
15998           API addition: GST_TYPE_STATIC_CAPS
15999         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16000         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16001         * gst/gstpadtemplate.h:
16002           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16003         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16004         bindings.
16005
16006 2005-12-18  Wim Taymans  <wim@fluendo.com>
16007
16008         * libs/gst/base/gstadapter.c:
16009         * libs/gst/base/gstadapter.h:
16010         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16011         (gst_base_sink_get_position):
16012         * libs/gst/base/gstbasesink.h:
16013         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16014         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16015         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16016         (gst_base_src_send_event), (gst_base_src_update_length),
16017         (gst_base_src_get_range), (gst_base_src_loop),
16018         (gst_base_src_start):
16019         * libs/gst/base/gstbasesrc.h:
16020         * libs/gst/base/gstbasetransform.h:
16021         * libs/gst/base/gstcollectpads.h:
16022         * libs/gst/base/gstpushsrc.c:
16023         * libs/gst/base/gstpushsrc.h:
16024         * libs/gst/dataprotocol/dataprotocol.c:
16025         * libs/gst/dataprotocol/dataprotocol.h:
16026         * libs/gst/net/gstnetclientclock.h:
16027         * libs/gst/net/gstnettimeprovider.h:
16028         Documentation updates.
16029
16030 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16031
16032         * docs/manual/basics-helloworld.xml:
16033           Remove superfluous closing bracket in helloworld example.
16034
16035 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16036
16037         * tools/gst-launch.1.in:
16038           Update gst-launch man page; add a section with useful
16039           environment variables. Fixes #323882.
16040
16041 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16042
16043         * gst/gst.c:
16044         * gst/gst_private.h:
16045           change some char* into char[]
16046
16047 2005-12-16  Wim Taymans  <wim@fluendo.com>
16048
16049         * gst/gstregistryxml.c: (load_feature):
16050         Cleanups.
16051         Don't use g_object_unref on GstObjects so that we avoid
16052         leaks on unsafe glibs.
16053
16054 2005-12-16  Wim Taymans  <wim@fluendo.com>
16055
16056         * gst/gstbin.c: (gst_bin_recalc_state):
16057         Small doc updates.
16058
16059 2005-12-16  Wim Taymans  <wim@fluendo.com>
16060
16061         * common/check.mak:
16062         Added make forever target for check.
16063
16064 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16065
16066         * gst/gst.c: (init_post):
16067           make the registry cache file HOST_CPU-dependent
16068
16069 2005-12-16  Andy Wingo  <wingo@pobox.com>
16070
16071         * plugins/elements/gstbufferstore.c
16072         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16073         return value.
16074
16075         * tests/check/gst/gstobject.c
16076         (test_fake_object_name_threaded_unique): Pay attention to
16077         g_list_sort return value.
16078
16079 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16080
16081         * tools/gst-feedback-m.m:
16082           Update for 0.9/0.10 (fixes #323870).
16083
16084 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16085
16086         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16087           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16088           
16089         * tests/check/gst/gstminiobject.c: (my_foo_init),
16090         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16091         (test_value_collection), (gst_mini_object_suite):
16092           Add test to ensure refcounts end up as expected when passing
16093           GstMiniObjects through g_object_get() and g_object_set().
16094
16095 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16096
16097         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16098         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16099         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16100         of collectpads. This version removes a lot of races without
16101         touching API/ABI. Yay !
16102
16103 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16104
16105         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16106           Don't allow activation of a srcpad in pull_range if it has no
16107           getrange function.
16108           Change some debug statements to be a little clearer
16109
16110         * plugins/elements/gsttypefindelement.c:
16111         (gst_type_find_handle_src_query):
16112           Check that we have a peer before executing queries thereupon.
16113
16114         * tests/examples/metadata/read-metadata.c: (message_loop):
16115           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16116           immediately return us any available message with 0 timeout.
16117
16118 2005-12-12  Michael Smith  <msmith@fluendo.com>
16119
16120         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16121           Don't unref factories after calling them.
16122         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16123         * plugins/elements/gsttypefindelement.c:
16124         (gst_type_find_element_chain):
16125           Free lists of factories after using them. Fixing typefinding memory
16126           leaks.
16127
16128 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16129
16130         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16131         (gst_plugin_feature_load):
16132           more meaningful debug output
16133         * configure.ac:
16134         * tests/Makefile.am:
16135         * tests/old/examples/Makefile.am:
16136           make make distcheck happy again
16137
16138 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16139
16140         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16141           Catch the special case where we are operating chain-based,
16142           but the downstream peer pad has no chain function. Emit a
16143           custom error message in this case instead of letting the
16144           core generate one implying that this is some sort of core
16145           bug. It's not, it just means that whatever got plugged
16146           into the pipeline downstream when we announced the type
16147           can only operate pull-based, while our source can only
16148           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16149           Error string has not been marked for translation yet, as
16150           it probably needs some more work first.
16151
16152         (gst_type_find_element_get_best_possibility):
16153           Add helper function to find the best of all available
16154           found possibilities that qualify given the min. threshold.
16155
16156         (gst_type_find_element_handle_event):
16157           Fix the case where we get an EOS while still in TYPEFIND
16158           mode (we want to chose the best of all possible types,
16159           not just the first type that happens to be in our unsorted
16160           list of possible types).
16161
16162         (gst_type_find_element_chain):
16163           Make sure we return GST_FLOW_ERROR when we errored out
16164           in stop_typefinding(); also, don't just find the best of
16165           all found type entries and then use the last examined
16166           type entry, but actually use the best entry.
16167
16168 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16169
16170         * tests/examples/typefind/typefind.c: (type_found):
16171         * tests/examples/xml/runxml.c: (xml_loaded):
16172           More gcc4 fixes and a mem leak fix.
16173
16174 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16175
16176         * tests/examples/xml/createxml.c: (object_saved):
16177           gcc 4 fixes
16178
16179 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16180
16181         * tests/Makefile.am:
16182           enable the examples even more
16183
16184 2005-12-12  Andy Wingo  <wingo@pobox.com>
16185
16186         * libs/gst/net/gstnettimeprovider.c
16187         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16188         (gst_net_time_provider_set_property)
16189         (gst_net_time_provider_get_property):
16190         API addition: Export "active" as a GObject property.
16191         (gst_net_time_provider_thread): Only respond to time queries if
16192         the time provider is active.
16193
16194         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16195         NetTimeProvider, preserving binary compat.
16196
16197 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16198
16199         * tests/examples/controller/audio-example.c: (main):
16200         * tests/examples/launch/Makefile.am:
16201           convert comments again
16202
16203 2005-12-12  Wim Taymans  <wim@fluendo.com>
16204
16205         * libs/gst/base/gstpushsrc.c:
16206         Fix typo.
16207
16208 2005-12-12  Wim Taymans  <wim@fluendo.com>
16209
16210         * docs/libs/gstreamer-libs-sections.txt:
16211         Added new symbol to docs.
16212
16213         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16214         (gst_base_src_init), (gst_base_src_set_format),
16215         (gst_base_src_default_query), (gst_base_src_query),
16216         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16217         (gst_base_src_perform_seek), (gst_base_src_send_event),
16218         (gst_base_src_default_event), (gst_base_src_event_handler),
16219         (gst_base_src_set_property), (gst_base_src_get_property),
16220         (gst_base_src_wait), (gst_base_src_do_sync),
16221         (gst_base_src_update_length), (gst_base_src_get_range),
16222         (gst_base_src_check_get_range), (gst_base_src_loop),
16223         (gst_base_src_default_negotiate), (gst_base_src_start),
16224         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16225         (gst_base_src_change_state):
16226         * libs/gst/base/gstbasesrc.h:
16227         Implement seeking to other formats than _BYTES.
16228         Implement more seeking methods correctly.
16229         Doc updates.
16230         Added query vmethod.
16231         Added do_seek vmethod to make life easier for subclasses
16232         when seeking.
16233         API addition: gst_base_src_set_format()
16234
16235 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16236
16237         * tests/examples/Makefile.am:
16238           added that too
16239
16240 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16241
16242         * configure.ac:
16243         * docs/random/ensonic/media-device-daemon.txt:
16244         * tests/examples/controller/.cvsignore:
16245         * tests/examples/controller/Makefile.am:
16246         * tests/examples/controller/audio-example.c: (main):
16247         * tests/examples/helloworld/.cvsignore:
16248         * tests/examples/helloworld/Makefile.am:
16249         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16250         * tests/examples/launch/.cvsignore:
16251         * tests/examples/launch/Makefile.am:
16252         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16253         * tests/examples/metadata/.cvsignore:
16254         * tests/examples/metadata/Makefile.am:
16255         * tests/examples/metadata/read-metadata.c: (message_loop),
16256         (make_pipeline), (print_tag), (main):
16257         * tests/examples/queue/.cvsignore:
16258         * tests/examples/queue/Makefile.am:
16259         * tests/examples/queue/queue.c: (event_loop), (main):
16260         * tests/examples/typefind/.cvsignore:
16261         * tests/examples/typefind/Makefile.am:
16262         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16263         (main):
16264         * tests/examples/xml/.cvsignore:
16265         * tests/examples/xml/Makefile.am:
16266         * tests/examples/xml/createxml.c: (object_saved), (main):
16267         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16268         * tests/old/examples/Makefile.am:
16269         * tests/old/examples/TODO:
16270         * tests/old/examples/controller/.cvsignore:
16271         * tests/old/examples/controller/Makefile.am:
16272         * tests/old/examples/controller/audio-example.c:
16273         * tests/old/examples/helloworld/.cvsignore:
16274         * tests/old/examples/helloworld/Makefile.am:
16275         * tests/old/examples/helloworld/helloworld.c:
16276         * tests/old/examples/launch/.cvsignore:
16277         * tests/old/examples/launch/Makefile.am:
16278         * tests/old/examples/launch/mp3parselaunch.c:
16279         * tests/old/examples/launch/mp3play:
16280         * tests/old/examples/manual/Makefile.am:
16281         * tests/old/examples/metadata/Makefile.am:
16282         * tests/old/examples/metadata/read-metadata.c:
16283         * tests/old/examples/queue/.cvsignore:
16284         * tests/old/examples/queue/Makefile.am:
16285         * tests/old/examples/queue/queue.c:
16286         * tests/old/examples/typefind/.cvsignore:
16287         * tests/old/examples/typefind/Makefile.am:
16288         * tests/old/examples/typefind/typefind.c:
16289         * tests/old/examples/xml/.cvsignore:
16290         * tests/old/examples/xml/Makefile.am:
16291         * tests/old/examples/xml/createxml.c:
16292         * tests/old/examples/xml/runxml.c:
16293           applied some simple fixing to some examples
16294           re-enabled the working examples
16295
16296 2005-12-12  Wim Taymans  <wim@fluendo.com>
16297
16298         * gst/gstsegment.c: (gst_segment_init),
16299         (gst_segment_set_last_stop), (gst_segment_set_seek),
16300         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16301         (gst_segment_to_running_time):
16302         Added more documentation.
16303         Make sure the last_pos value is updated properly.
16304         Make sure to_stream_time and to_running_time don't
16305         operate on wrong values.
16306
16307         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16308         Update check.
16309
16310 2005-12-12  Michael Smith  <msmith@fluendo.com>
16311
16312         * plugins/elements/gsttypefindelement.c: (free_entry),
16313         (gst_type_find_element_chain):
16314           Now that we're not leaking factories, make sure we keep references
16315           to them while we need them.
16316
16317 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16318
16319         * tests/check/gst/struct_i386.h:
16320           ifdef out the XML structs
16321
16322 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16323
16324         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16325           floor is not needed, F is always positive; this obviates the
16326           need for adding -lm when building without libxml
16327
16328 2005-12-12  Wim Taymans  <wim@fluendo.com>
16329
16330         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16331         Take current playback rate into account when reporting
16332         the position.
16333
16334 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16335
16336         * docs/manual/mime-world.fig:
16337           Let's try this again, this time with a file that is
16338           actually in XFig format.
16339
16340 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16341
16342         * docs/manual/mime-world.fig:
16343           Add audioconvert element to diagram so that it
16344           matches the text and the code (fixes #319526).
16345
16346 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16347
16348         * docs/pwg/building-chainfn.xml:
16349         * docs/pwg/building-pads.xml:
16350         * docs/pwg/building-state.xml:
16351         * docs/pwg/other-source.xml:
16352           Update state change stuff for 0.10 (fixes #322969).
16353
16354 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16355
16356         * docs/manual/advanced-dataaccess.xml:
16357         * docs/manual/appendix-checklist.xml:
16358         * docs/manual/appendix-programs.xml:
16359         * docs/manual/basics-pads.xml:
16360         * docs/manual/highlevel-components.xml:
16361         * docs/manual/manual.xml:
16362           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16363           add converters in front of pipelines; remove curly
16364           brackets for threads stuff, they no longer exist; use
16365           GST_TYPE_FRACTION for framerates; update some pieces of
16366           code to 0.10, but there's plenty more to do.
16367
16368         * docs/manual/appendix-porting.xml:
16369           Expand on asynchroneous state changes; s/0.9/0.10/;
16370           mention disappearance of gst_init_get_popt_table()
16371           (fixes #322916).
16372
16373 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16374
16375         * docs/faq/using.xml:
16376           Spider no longer exists, and neither does gst-launch-ext.
16377           Update examples to use decodebin and playbin and put
16378           converters in front of sinks (fixes #323726).
16379
16380 2005-12-09  Michael Smith  <msmith@fluendo.com>
16381
16382         * plugins/elements/gsttypefindelement.c: (find_peek),
16383         (gst_type_find_element_chain):
16384           Fix leaking element factories in typefinding.
16385           Fix problem where we forgot about a probable type on non-seekable
16386           files, and thus later mis-typefound it.
16387
16388 2005-12-09  Michael Smith  <msmith@fluendo.com>
16389
16390         * common/m4/gst-makecontext.m4:
16391         * common/m4/gst-mcsc.m4:
16392         * configure.ac:
16393         * win32/common/config.h:
16394         * win32/common/config.h.in:
16395           Remove makecontext stuff; not used in 0.10 and causes problems on
16396           HPUX according to bug #322441
16397
16398 2005-12-07  Wim Taymans  <wim@fluendo.com>
16399
16400         * tests/check/Makefile.am:
16401         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16402         (main):
16403         * tests/check/libs/struct_i386.h:
16404         Added ABI check for libs
16405
16406 2005-12-07  Wim Taymans  <wim@fluendo.com>
16407
16408         * tests/check/Makefile.am:
16409         And add the struct_i386.h to dist.
16410
16411 2005-12-07  Wim Taymans  <wim@fluendo.com>
16412
16413         * tests/check/Makefile.am:
16414         * tests/check/gst/.cvsignore:
16415         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16416         (main):
16417         * tests/check/gst/struct_i386.h:
16418         Added check for ABI compatibility.
16419
16420 2005-12-07  Wim Taymans  <wim@fluendo.com>
16421
16422         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16423         (gst_fake_src_get_times), (gst_fake_src_create):
16424         Fix broken sync option, fixes #323259
16425
16426 2005-12-07  Wim Taymans  <wim@fluendo.com>
16427
16428         * gst/gstbuffer.c:
16429         Small docs update.
16430
16431         * gst/gstcaps.c: (gst_caps_is_equal):
16432         Don't assert on NULL <--> X. Fixes #323260
16433
16434         * gst/gstminiobject.c: (gst_mini_object_replace):
16435         If we're doing atomic operations, we might just as well use
16436         the proper way to get an atomic pointer.
16437
16438         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16439         Clean up debugging.
16440
16441 2005-12-07  Michael Smith  <msmith@fluendo.com>
16442
16443         * gst/parse/grammar.y:
16444           Remove handling of { } for threads.
16445
16446 2005-12-06  David Schleef  <ds@schleef.org>
16447
16448         * libs/gst/base/gstbasetransform.c: speling fix.
16449
16450 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16451
16452         * docs/libs/tmpl/gstdataprotocol.sgml:
16453         * docs/random/omega/testing/gstobject.c:
16454         * gst/gst.c:
16455         * gst/gstclock.c:
16456         * gst/gstelement.c:
16457         * gst/gstelementfactory.c:
16458         * gst/gsterror.c:
16459         * gst/gstevent.c:
16460         * gst/gstghostpad.c:
16461         * gst/gstinfo.c:
16462         * gst/gstpadtemplate.c:
16463         * gst/gstregistryxml.c:
16464         * gst/gsttaglist.c:
16465         * gst/gsttagsetter.c:
16466         * gst/gsttypefind.c:
16467         * gst/gstvalue.c:
16468         * libs/gst/base/gstbasesrc.c:
16469         * libs/gst/net/gstnetclientclock.c:
16470         * libs/gst/net/gstnettimeprovider.c:
16471         * plugins/elements/gstfakesrc.c:
16472         * plugins/elements/gstfdsrc.c:
16473         * plugins/elements/gstfilesrc.c:
16474         * plugins/elements/gstidentity.c:
16475         * plugins/elements/gstqueue.c:
16476         * plugins/elements/gsttypefindelement.c:
16477         * plugins/indexers/gstfileindex.c:
16478         * plugins/indexers/gstmemindex.c:
16479         * tests/check/gst/gsttag.c:
16480         * tests/old/examples/cutter/cutter.c:
16481         * tests/old/examples/mixer/mixer.c:
16482         * tests/old/examples/xml/runxml.c: (main):
16483         * tests/old/testsuite/caps/normalisation.c:
16484         * tests/old/testsuite/debug/global.c:
16485         * tests/old/testsuite/parse/parse1.c:
16486         * tools/gst-xmlinspect.c:
16487         * win32/common/dirent.c:
16488           expand tabs
16489
16490 === release 0.10.0 ===
16491
16492 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16493
16494         * configure.ac:
16495           releasing 0.10.0, "Maroilles"
16496
16497 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16498
16499         submitted by: Funda Wang <fundawang@linux.net.cn>
16500
16501         * po/LINGUAS:
16502         * po/zh_CN.po:
16503           added Chinese (Traditional) translation
16504
16505 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16506
16507         * docs/gst/gstreamer-sections.txt:
16508         * docs/libs/tmpl/gstdataprotocol.sgml:
16509         * docs/random/thomasvs/TODO:
16510         * gst/gstutils.c:
16511         * gst/gstutils.h:
16512           fix docs
16513
16514 2005-12-05  Andy Wingo  <wingo@pobox.com>
16515
16516         patch by: Wim Taymans <wim@fluendo.com>
16517
16518         * libs/gst/base/gstbasetransform.c
16519         (gst_base_transform_prepare_output_buf)
16520         (gst_base_transform_buffer_alloc):
16521         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16522         alloc_buffer_and_set_caps.
16523
16524         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16525         set_caps on the source pad.
16526         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16527         alloc_buffer used to do. Fixes #322874.
16528
16529         * docs/gst/gstreamer-sections.txt: 
16530         * docs/design/part-negotiation.txt: 
16531         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16532         changes.
16533
16534 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16535
16536         patch by: Sebastien Moutte
16537
16538         * win32/MANIFEST:
16539         * win32/common/config.h.in:
16540         * win32/vs6/libgstcontroller.dsp:
16541           win32 build fixes
16542
16543 2005-12-05  Wim Taymans  <wim@fluendo.com>
16544
16545         * gst/gstcaps.c: (gst_caps_is_equal):
16546         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16547         (gst_fake_src_create):
16548         Back out previous code changes, leave doc updates, file bugs 
16549         instead. 
16550
16551 2005-12-05  Wim Taymans  <wim@fluendo.com>
16552
16553         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16554         (gst_fake_src_get_times), (gst_fake_src_create):
16555         * plugins/elements/gstfakesrc.h:
16556         Fix broken sync code.
16557
16558 2005-12-05  Wim Taymans  <wim@fluendo.com>
16559
16560         * gst/gstcaps.c: (gst_caps_is_equal):
16561         Comparing NULL against !NULL yields different caps, not a
16562         failure.
16563
16564 2005-12-05  Wim Taymans  <wim@fluendo.com>
16565
16566         * gst/gstpipeline.c:
16567         Fix small typo in docs.
16568
16569 2005-12-05  Andy Wingo  <wingo@pobox.com>
16570
16571         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16572
16573         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16574         registries/plugins with a MAJORMINOR one.
16575         (plugin_desc): Rename library from gstcoreleements to
16576         staticelements. Fixes #323222.
16577
16578 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16579
16580         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16581           Change debug category to 'collectpads' from 'collect_pads'
16582           (fixes #323250).
16583
16584 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16585
16586         patch by: Sebastien Moutte
16587
16588         * libs/gst/controller/gstinterpolation.c:
16589           use convert function for uint64/double
16590         * win32/vs6/libgstcontroller.dsp:
16591           link to GLib
16592
16593 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16594
16595         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16596         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16597         * gst/gstutils.h:
16598         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16599           add tests that seem to show that the guint64/gdouble conversions
16600           are correct.
16601
16602 2005-12-02  Wim Taymans  <wim@fluendo.com>
16603
16604         * gst/gstregistry.c: (gst_registry_add_path):
16605         * gst/gstregistry.h:
16606         * gst/gstregistryxml.c:
16607         Fix docs again.
16608
16609 2005-12-02  Wim Taymans  <wim@fluendo.com>
16610
16611         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16612         (gst_util_uint64_scale_int):
16613         Small cleanup.
16614
16615         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16616         Add debug log line.
16617
16618         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16619         Add FIXME.
16620
16621 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16622
16623         * win32/MANIFEST:
16624         * win32/common/config.h:
16625         * win32/vs6/gstreamer.dsw:
16626         * win32/vs6/libgstcoreelements.dsp:
16627         * win32/vs6/libgstelements.dsp:
16628           renamed core elements plugin
16629
16630 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16631
16632         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16633         (get_candidates):
16634           do piece-wise major/minor comparison so 0.9 < 0.10
16635           also allow .exe extensions for tools
16636
16637 2005-12-02  Michael Smith  <msmith@fluendo.com>
16638
16639         * gst/gst.c:
16640           Escape a % to make gtkdoc happier; bug 322958.
16641
16642 === release 0.9.7 ===
16643
16644 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16645
16646         * configure.ac:
16647           releasing 0.9.7, "My Dog Has No Nose"
16648
16649 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16650
16651         * common/gst-xmlinspect.py:
16652         * configure.ac:
16653         * docs/libs/tmpl/gstdataprotocol.sgml:
16654         * docs/random/release:
16655         * po/af.po:
16656         * po/az.po:
16657         * po/bg.po:
16658         * po/ca.po:
16659         * po/cs.po:
16660         * po/de.po:
16661         * po/en_GB.po:
16662         * po/fr.po:
16663         * po/it.po:
16664         * po/nb.po:
16665         * po/nl.po:
16666         * po/ru.po:
16667         * po/sq.po:
16668         * po/sr.po:
16669         * po/sv.po:
16670         * po/tr.po:
16671         * po/uk.po:
16672         * po/vi.po:
16673         * win32/common/config.h:
16674         * win32/common/config.h.in:
16675         * win32/vs6/gst_inspect.dsp:
16676         * win32/vs6/gst_launch.dsp:
16677         * win32/vs6/libgstbase.dsp:
16678         * win32/vs6/libgstelements.dsp:
16679         * win32/vs6/libgstreamer.dsp:
16680         * win32/vs7/GStreamer.vcproj:
16681         * win32/vs7/gst-inspect.vcproj:
16682         * win32/vs7/gst-launch.vcproj:
16683         * win32/vs7/libgstbase.vcproj:
16684           bump GST_MAJORMINOR to 0.10
16685           reset libtool version
16686
16687 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16688
16689         * po/LINGUAS:
16690         * po/bg.po:
16691           Added Bulgarian translation by (Alexander Shopov)
16692
16693 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16694
16695         * tests/check/gst/gstplugin.c:
16696           fix test
16697
16698 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16699
16700         * common/gst-xmlinspect.py:
16701         * common/gtk-doc-plugins.mak:
16702         * configure.ac:
16703         * docs/Makefile.am:
16704         * docs/gst/Makefile.am:
16705         * docs/gst/gstreamer-docs.sgml:
16706         * docs/gst/gstreamer-sections.txt:
16707         * docs/gst/gstreamer.types:
16708         * docs/gst/gstreamer.types.in:
16709         * docs/plugins/Makefile.am:
16710         * docs/plugins/gstreamer-plugins-docs.sgml:
16711         * docs/plugins/gstreamer-plugins-sections.txt:
16712         * docs/plugins/gstreamer-plugins.types:
16713         * docs/plugins/inspect.stamp:
16714         * docs/plugins/inspect/plugin-coreelements.xml:
16715         * docs/plugins/inspect/plugin-coreindexers.xml:
16716         * docs/plugins/scanobj-build.stamp:
16717         * gstreamer.spec.in:
16718         * plugins/elements/Makefile.am:
16719         * plugins/elements/gstelements.c:
16720         * plugins/elements/gstfakesink.c:
16721         * plugins/elements/gstfakesrc.c:
16722         * plugins/elements/gstfilesink.c:
16723         * plugins/elements/gstfilesrc.c:
16724         * plugins/elements/gstqueue.c:
16725         * plugins/indexers/Makefile.am:
16726         * plugins/indexers/gstindexers.c:
16727           document core plugins in a separate document just like all the
16728           others
16729           rename these plugins to something starting with core
16730
16731 2005-12-01  Andy Wingo  <wingo@pobox.com>
16732
16733         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16734         padding here before, but it missed the commit.
16735
16736 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16737
16738         * libs/gst/controller/gstinterpolation.c:
16739           whitespace prices have crashed, we should feel free to use some now
16740           use gst_guint64_to_gdouble
16741
16742 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16743
16744         * libs/gst/controller/gstcontroller.c:
16745         * libs/gst/controller/gsthelper.c:
16746         * libs/gst/controller/gstinterpolation.c:
16747         * libs/gst/controller/lib.c:
16748           wrap config.h include
16749
16750 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16751
16752         * docs/gst/gstreamer-sections.txt:
16753           update docs
16754
16755 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16756
16757         * plugins/elements/gstelements.c:
16758         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16759         (gst_fd_sink__class_init), (gst_fd_sink__init),
16760         (gst_fd_sink__chain), (gst_fd_sink__set_property),
16761         (gst_fd_sink__get_property):
16762         * plugins/elements/gstfdsink.h:
16763         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16764         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16765         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16766         (gst_fd_src_unlock), (gst_fd_src_set_property),
16767         (gst_fd_src_get_property), (gst_fd_src_create),
16768         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16769         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16770         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16771         (gst_fd_src_uri_handler_init):
16772         * plugins/elements/gstfdsrc.h:
16773         * plugins/elements/gstqueue.c: (gst_queue_get_type):
16774           more anal cleanup
16775
16776 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16777
16778         * docs/gst/Makefile.am:
16779         * docs/gst/gstreamer.types.in:
16780         * gst/Makefile.am:
16781           fix the docs build
16782
16783 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16784
16785         * configure.ac:
16786         * gst/Makefile.am:
16787         * gst/gst.c:
16788         * gst/gstplugin.h:
16789         * gst/gstregistry.h:
16790         * tests/benchmarks/complexity.c:
16791         * tests/benchmarks/mass-elements.c:
16792         * tests/check/Makefile.am:
16793         * tools/Makefile.am:
16794         * tools/gst-inspect.c:
16795         * tools/gst-xmlinspect.c:
16796           various fixes to make
16797           --disable-nls --disable-registry --disable-loadsave
16798           --disable-parse --disable-gst-debug
16799           work and get the core .so down to 360444 bytes after stripping
16800
16801 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16802
16803         * Makefile.am:
16804         * configure.ac:
16805           descend into tests
16806         * docs/random/thomasvs/TODO:
16807         * tests/Makefile.am:
16808         * tests/README:
16809           add a README
16810
16811 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16812
16813         * win32/GStreamer.vcproj:
16814         * win32/MANIFEST:
16815         * win32/Makefile:
16816         * win32/Makefile.inspect:
16817         * win32/Makefile.launch:
16818         * win32/Makefile.register:
16819         * win32/README.txt:
16820         * win32/gst-inspect.vcproj:
16821         * win32/gst-launch.vcproj:
16822         * win32/gst-register.vcproj:
16823         * win32/gstelements.vcproj:
16824         * win32/gstgetbits.def:
16825         * win32/gstgetbits.vcproj:
16826         * win32/gstreamer-dbg.def:
16827         * win32/gstreamer.def:
16828         * win32/libgstbase.def:
16829         * win32/libgstbase.vcproj:
16830         * win32/link_oldruntime.c:
16831         * win32/mman.c:
16832         * win32/mman.h:
16833         * win32/mman.inl:
16834         * win32/msvc71.sln:
16835           move even more stuff, win32/ is nice and clean now
16836
16837 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16838
16839         * libs/gst/control/.cvsignore:
16840         * win32/MANIFEST:
16841         * win32/config.h:
16842         * win32/dirent.c:
16843         * win32/dirent.h:
16844         * win32/gstbytestream.def:
16845         * win32/gstbytestream.vcproj:
16846         * win32/gstconfig.h:
16847         * win32/gstenumtypes.c:
16848         * win32/gstenumtypes.h:
16849         * win32/gstoptimalscheduler.vcproj:
16850         * win32/gstversion.h:
16851         * win32/gtchar.h:
16852         * win32/testsuite/bins.vcproj:
16853         * win32/testsuite/bytestream.vcproj:
16854         * win32/testsuite/caps.vcproj:
16855         * win32/testsuite/cleanup.vcproj:
16856         * win32/testsuite/clock.vcproj:
16857         * win32/testsuite/debug.vcproj:
16858         * win32/testsuite/dlopen.vcproj:
16859         * win32/testsuite/dynparams.vcproj:
16860         * win32/testsuite/elements.vcproj:
16861         * win32/testsuite/ghostpads.vcproj:
16862         * win32/testsuite/indexers.vcproj:
16863         * win32/testsuite/negotiation.vcproj:
16864         * win32/testsuite/parse.vcproj:
16865         * win32/testsuite/plugin.vcproj:
16866         * win32/testsuite/refcounting.vcproj:
16867         * win32/testsuite/schedulers.vcproj:
16868         * win32/testsuite/states.vcproj:
16869         * win32/testsuite/tags.vcproj:
16870         * win32/testsuite/threads.vcproj:
16871           remove old win32 stuff that isn't maintained and should be
16872           reorganized
16873
16874 2005-11-30  Andy Wingo  <wingo@pobox.com>
16875
16876         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16877         loading the gst.interfaces python module bork.
16878
16879         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16880         available since GLib 2.2. Fixes #318031.
16881
16882 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16883
16884         * Makefile.am:
16885         * check/.cvsignore:
16886         * check/Makefile.am:
16887         * check/elements/.cvsignore:
16888         * check/elements/fakesrc.c:
16889         * check/elements/fdsrc.c:
16890         * check/elements/identity.c:
16891         * check/generic/.cvsignore:
16892         * check/generic/states.c:
16893         * check/gst-libs/.cvsignore:
16894         * check/gst-libs/controller.c:
16895         * check/gst-libs/gdp.c:
16896         * check/gst/.cvsignore:
16897         * check/gst/capslist.h:
16898         * check/gst/gst.c:
16899         * check/gst/gstbin.c:
16900         * check/gst/gstbuffer.c:
16901         * check/gst/gstbus.c:
16902         * check/gst/gstcaps.c:
16903         * check/gst/gstelement.c:
16904         * check/gst/gstevent.c:
16905         * check/gst/gstghostpad.c:
16906         * check/gst/gstiterator.c:
16907         * check/gst/gstmessage.c:
16908         * check/gst/gstminiobject.c:
16909         * check/gst/gstobject.c:
16910         * check/gst/gstpad.c:
16911         * check/gst/gstpipeline.c:
16912         * check/gst/gstplugin.c:
16913         * check/gst/gstsegment.c:
16914         * check/gst/gststructure.c:
16915         * check/gst/gstsystemclock.c:
16916         * check/gst/gsttag.c:
16917         * check/gst/gstutils.c:
16918         * check/gst/gstvalue.c:
16919         * check/net/.cvsignore:
16920         * check/net/gstnetclientclock.c:
16921         * check/net/gstnettimeprovider.c:
16922         * check/pipelines/.cvsignore:
16923         * check/pipelines/cleanup.c:
16924         * check/pipelines/simple_launch_lines.c:
16925         * check/pipelines/stress.c:
16926         * check/states/.cvsignore:
16927         * check/states/sinks.c:
16928         * configure.ac:
16929         * examples/Makefile.am:
16930         * examples/appreader/.cvsignore:
16931         * examples/appreader/Makefile.am:
16932         * examples/appreader/appreader.c:
16933         * examples/controller/.cvsignore:
16934         * examples/controller/Makefile.am:
16935         * examples/controller/audio-example.c:
16936         * examples/cutter/.cvsignore:
16937         * examples/cutter/Makefile.am:
16938         * examples/cutter/cutter.c:
16939         * examples/cutter/cutter.h:
16940         * examples/events/Makefile.am:
16941         * examples/events/seek.c:
16942         * examples/helloworld/.cvsignore:
16943         * examples/helloworld/Makefile.am:
16944         * examples/helloworld/helloworld.c:
16945         * examples/helloworld2/.cvsignore:
16946         * examples/helloworld2/Makefile.am:
16947         * examples/helloworld2/helloworld2.c:
16948         * examples/launch/.cvsignore:
16949         * examples/launch/Makefile.am:
16950         * examples/launch/mp3parselaunch.c:
16951         * examples/launch/mp3play:
16952         * examples/manual/.cvsignore:
16953         * examples/manual/Makefile.am:
16954         * examples/manual/extract.pl:
16955         * examples/metadata/Makefile.am:
16956         * examples/metadata/read-metadata.c:
16957         * examples/mixer/.cvsignore:
16958         * examples/mixer/Makefile.am:
16959         * examples/mixer/mixer.c:
16960         * examples/mixer/mixer.h:
16961         * examples/pingpong/.cvsignore:
16962         * examples/pingpong/Makefile.am:
16963         * examples/pingpong/pingpong.c:
16964         * examples/plugins/.cvsignore:
16965         * examples/plugins/Makefile.am:
16966         * examples/plugins/example.c:
16967         * examples/plugins/example.h:
16968         * examples/pwg/.cvsignore:
16969         * examples/pwg/Makefile.am:
16970         * examples/pwg/extract.pl:
16971         * examples/queue/.cvsignore:
16972         * examples/queue/Makefile.am:
16973         * examples/queue/queue.c:
16974         * examples/queue2/.cvsignore:
16975         * examples/queue2/Makefile.am:
16976         * examples/queue2/queue2.c:
16977         * examples/queue3/.cvsignore:
16978         * examples/queue3/Makefile.am:
16979         * examples/queue3/queue3.c:
16980         * examples/queue4/.cvsignore:
16981         * examples/queue4/Makefile.am:
16982         * examples/queue4/queue4.c:
16983         * examples/retag/.cvsignore:
16984         * examples/retag/Makefile.am:
16985         * examples/retag/retag.c:
16986         * examples/retag/transcode.c:
16987         * examples/thread/.cvsignore:
16988         * examples/thread/Makefile.am:
16989         * examples/thread/thread.c:
16990         * examples/typefind/.cvsignore:
16991         * examples/typefind/Makefile.am:
16992         * examples/typefind/typefind.c:
16993         * examples/xml/.cvsignore:
16994         * examples/xml/Makefile.am:
16995         * examples/xml/createxml.c:
16996         * examples/xml/runxml.c:
16997         * tests/Makefile.am:
16998         * tests/check/Makefile.am:
16999         * testsuite/.cvsignore:
17000         * testsuite/Makefile.am:
17001         * testsuite/Rules:
17002         * testsuite/caps/.cvsignore:
17003         * testsuite/caps/Makefile.am:
17004         * testsuite/caps/app_fixate.c:
17005         * testsuite/caps/audioscale.c:
17006         * testsuite/caps/caps.c:
17007         * testsuite/caps/caps.h:
17008         * testsuite/caps/caps_strings:
17009         * testsuite/caps/compatibility.c:
17010         * testsuite/caps/deserialize.c:
17011         * testsuite/caps/enumcaps.c:
17012         * testsuite/caps/eratosthenes.c:
17013         * testsuite/caps/filtercaps.c:
17014         * testsuite/caps/fixed.c:
17015         * testsuite/caps/fraction-convert.c:
17016         * testsuite/caps/fraction-multiply-and-zero.c:
17017         * testsuite/caps/intersect2.c:
17018         * testsuite/caps/intersection.c:
17019         * testsuite/caps/normalisation.c:
17020         * testsuite/caps/random.c:
17021         * testsuite/caps/renegotiate.c:
17022         * testsuite/caps/sets.c:
17023         * testsuite/caps/simplify.c:
17024         * testsuite/caps/string-conversions.c:
17025         * testsuite/caps/structure.c:
17026         * testsuite/caps/subtract.c:
17027         * testsuite/caps/union.c:
17028         * testsuite/debug/.cvsignore:
17029         * testsuite/debug/Makefile.am:
17030         * testsuite/debug/category.c:
17031         * testsuite/debug/commandline.c:
17032         * testsuite/debug/global.c:
17033         * testsuite/debug/output.c:
17034         * testsuite/debug/printf_extension.c:
17035         * testsuite/dlopen/.cvsignore:
17036         * testsuite/dlopen/Makefile.am:
17037         * testsuite/dlopen/dlopen_gst.c:
17038         * testsuite/dlopen/loadgst.c:
17039         * testsuite/elements/.cvsignore:
17040         * testsuite/elements/Makefile.am:
17041         * testsuite/elements/gst-inspect-check.in:
17042         * testsuite/elements/struct_i386.h:
17043         * testsuite/elements/struct_size.c:
17044         * testsuite/indexers/.cvsignore:
17045         * testsuite/indexers/Makefile.am:
17046         * testsuite/indexers/cache1.c:
17047         * testsuite/indexers/indexdump.c:
17048         * testsuite/parse/.cvsignore:
17049         * testsuite/parse/Makefile.am:
17050         * testsuite/parse/parse1.c:
17051         * testsuite/parse/parse2.c:
17052         * testsuite/plugin/.cvsignore:
17053         * testsuite/plugin/Makefile.am:
17054         * testsuite/plugin/README:
17055         * testsuite/plugin/dynamic.c:
17056         * testsuite/plugin/linked.c:
17057         * testsuite/plugin/loading.c:
17058         * testsuite/plugin/registry.c:
17059         * testsuite/plugin/static.c:
17060         * testsuite/plugin/static2.c:
17061         * testsuite/plugin/testplugin.c:
17062         * testsuite/plugin/testplugin2.c:
17063         * testsuite/plugin/testplugin2_s.c:
17064         * testsuite/plugin/testplugin_s.c:
17065         * testsuite/refcounting/.cvsignore:
17066         * testsuite/refcounting/Makefile.am:
17067         * testsuite/refcounting/bin.c:
17068         * testsuite/refcounting/element.c:
17069         * testsuite/refcounting/element_pad.c:
17070         * testsuite/refcounting/mainloop.c:
17071         * testsuite/refcounting/mem.c:
17072         * testsuite/refcounting/mem.h:
17073         * testsuite/refcounting/object.c:
17074         * testsuite/refcounting/pad.c:
17075         * testsuite/refcounting/sched.c:
17076         * testsuite/refcounting/thread.c:
17077         * testsuite/states/.cvsignore:
17078         * testsuite/states/Makefile.am:
17079         * testsuite/states/bin.c:
17080         * testsuite/states/locked.c:
17081         * testsuite/states/parent.c:
17082         * testsuite/threads/.cvsignore:
17083         * testsuite/threads/159566.c:
17084         * testsuite/threads/159852.c:
17085         * testsuite/threads/Makefile.am:
17086         * testsuite/threads/queue.c:
17087         * testsuite/threads/signals.c:
17088         * testsuite/threads/staticrec.c:
17089         * testsuite/threads/thread.c:
17090         * testsuite/threads/threadb.c:
17091         * testsuite/threads/threadc.c:
17092         * testsuite/threads/threadd.c:
17093         * testsuite/threads/threade.c:
17094         * testsuite/threads/threadf.c:
17095         * testsuite/threads/threadg.c:
17096         * testsuite/threads/threadh.c:
17097         * testsuite/threads/threadi.c:
17098           move all of these under tests
17099
17100 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17101
17102         * configure.ac:
17103         * tests/Makefile.am:
17104           fix distcheck
17105
17106 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17107
17108         * docs/gst/gstreamer-sections.txt:
17109         * tests/sched/.cvsignore:
17110         * tests/sched/Makefile.am:
17111         * tests/sched/cases/(fs-fs).xml:
17112         * tests/sched/cases/(fs-i-fs).xml:
17113         * tests/sched/cases/(fs-i-i-fs).xml:
17114         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17115         * tests/sched/dynamic-pipeline.c:
17116         * tests/sched/interrupt1.c:
17117         * tests/sched/interrupt2.c:
17118         * tests/sched/interrupt3.c:
17119         * tests/sched/runtestcases:
17120         * tests/sched/runxml.c:
17121         * tests/sched/sched-stress.c:
17122         * tests/sched/sort.c:
17123         * tests/sched/testcases:
17124         * tests/sched/testcases1.tc:
17125         * tests/seeking/.cvsignore:
17126         * tests/seeking/Makefile.am:
17127         * tests/seeking/seeking1.c:
17128         * tests/threadstate/.cvsignore:
17129         * tests/threadstate/Makefile.am:
17130         * tests/threadstate/test1.c:
17131         * tests/threadstate/test2.c:
17132         * tests/threadstate/threadstate1.c:
17133         * tests/threadstate/threadstate2.c:
17134         * tests/threadstate/threadstate3.c:
17135         * tests/threadstate/threadstate4.c:
17136         * tests/threadstate/threadstate5.c:
17137           remove obsolete tests
17138         * configure.ac:
17139         * tests/bench-complexity.scm:
17140         * tests/bench-mass_elements.scm:
17141         * tests/complexity.c:
17142         * tests/complexity.gnuplot:
17143         * tests/instantiate/.cvsignore:
17144         * tests/instantiate/Makefile.am:
17145         * tests/instantiate/caps.c:
17146         * tests/mass_elements.c:
17147         * tests/network-clock-utils.scm:
17148         * tests/network-clock.scm:
17149         * tests/plot-data:
17150         First pass at cleaning up tests/ dir before moving the rest
17151         Combined with CVS surgery
17152
17153 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17154
17155         * po/POTFILES.in:
17156           queue has moved, update
17157
17158 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17159
17160         * docs/gst/gstreamer-sections.txt:
17161           remove double entries from the docs
17162         * gst/gst_private.h:
17163         * gst/gstinfo.c: (_gst_debug_init):
17164           remove the THREAD debug category
17165         * gst/Makefile.am:
17166         * gst/gstqueue.c:
17167         * gst/gstqueue.h:
17168         * docs/gst/gstreamer.types:
17169         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17170         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17171           completely move queue and fix up debugging categories
17172
17173 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17174
17175         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17176           make initialization portable, using LL is not
17177
17178 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17179
17180         * win32/common/gstconfig.h:
17181           add large padding
17182
17183 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17184
17185         * win32/common/libgstreamer.def:
17186           rename symbols; sort base section
17187
17188 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17189
17190         * gst/gstclock.c: (do_linear_regression):
17191           remove crack non-portable handrolled DEBUG macro
17192
17193 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17194
17195         * docs/random/release:
17196           update notes
17197         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17198         (gst_object_flags_get_type), (register_gst_bin_flags),
17199         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17200         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17201         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17202         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17203         (gst_caps_flags_get_type), (register_gst_clock_return),
17204         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17205         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17206         (gst_clock_flags_get_type), (register_gst_state),
17207         (gst_state_get_type), (register_gst_state_change_return),
17208         (gst_state_change_return_get_type), (register_gst_state_change),
17209         (gst_state_change_get_type), (register_gst_element_flags),
17210         (gst_element_flags_get_type), (register_gst_core_error),
17211         (gst_core_error_get_type), (register_gst_library_error),
17212         (gst_library_error_get_type), (register_gst_resource_error),
17213         (gst_resource_error_get_type), (register_gst_stream_error),
17214         (gst_stream_error_get_type), (register_gst_event_type_flags),
17215         (gst_event_type_flags_get_type), (register_gst_event_type),
17216         (gst_event_type_get_type), (register_gst_seek_type),
17217         (gst_seek_type_get_type), (register_gst_seek_flags),
17218         (gst_seek_flags_get_type), (register_gst_format),
17219         (gst_format_get_type), (register_gst_index_certainty),
17220         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17221         (gst_index_entry_type_get_type),
17222         (register_gst_index_lookup_method),
17223         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17224         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17225         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17226         (gst_index_flags_get_type), (register_gst_debug_level),
17227         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17228         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17229         (gst_iterator_result_get_type), (register_gst_iterator_item),
17230         (gst_iterator_item_get_type), (register_gst_message_type),
17231         (gst_message_type_get_type), (register_gst_mini_object_flags),
17232         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17233         (gst_pad_link_return_get_type), (register_gst_flow_return),
17234         (gst_flow_return_get_type), (register_gst_activate_mode),
17235         (gst_activate_mode_get_type), (register_gst_pad_direction),
17236         (gst_pad_direction_get_type), (register_gst_pad_flags),
17237         (gst_pad_flags_get_type), (register_gst_pad_presence),
17238         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17239         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17240         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17241         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17242         (gst_plugin_flags_get_type), (register_gst_rank),
17243         (gst_rank_get_type), (register_gst_query_type),
17244         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17245         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17246         (gst_tag_flag_get_type), (register_gst_task_state),
17247         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17248         (gst_alloc_trace_flags_get_type),
17249         (register_gst_type_find_probability),
17250         (gst_type_find_probability_get_type), (register_gst_uri_type),
17251         (gst_uri_type_get_type), (register_gst_parse_error),
17252         (gst_parse_error_get_type):
17253         * win32/common/gstenumtypes.h:
17254         * win32/common/gstversion.h:
17255           update visual studio generated files
17256
17257 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17258
17259         * win32/vs6/libgstbase.dsp:
17260         * win32/vs6/libgstelements.dsp:
17261           update project files for new locations
17262
17263 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17264
17265         * Makefile.am:
17266           remove some files
17267         * README:
17268           reinstate and update
17269         * DEVEL:
17270         * REQUIREMENTS:
17271           removed
17272         * LICENSE:
17273         * docs/random/LICENSE:
17274           moved to random
17275
17276 2005-11-30  Edward Hervey  <edward@fluendo.com>
17277
17278         * gst/gsttypefind.c: (gst_type_find_register):
17279         * gst/gsttypefind.h:
17280         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17281         (gst_type_find_factory_dispose):
17282         * gst/gsttypefindfactory.h:
17283         Fix memory leak in GstTypeFindFactory.
17284
17285 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17286
17287         * gst/gst.c:
17288         * plugins/elements/Makefile.am:
17289         * plugins/elements/gstelements.c:
17290         * plugins/elements/gstqueue.c:
17291           move queue from core to the elements plugin
17292
17293 2005-11-29  Andy Wingo  <wingo@pobox.com>
17294
17295         * libs/gst/base/gstbasetransform.h: 
17296         * libs/gst/base/gstbasesrc.h: 
17297         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17298
17299         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17300         of pointers by which to pad very extensible base classes (like the
17301         ones in libs/gst/base).
17302
17303 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17304
17305         * docs/gst/gstreamer-docs.sgml:
17306         * docs/gst/gstreamer-sections.txt:
17307         * docs/libs/gstreamer-libs-docs.sgml:
17308         * docs/libs/gstreamer-libs-sections.txt:
17309           moving documentation from core to lib
17310
17311 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17312
17313         * check/Makefile.am:
17314         * configure.ac:
17315         * docs/gst/Makefile.am:
17316         * gst/Makefile.am:
17317         * gst/base/.cvsignore:
17318         * gst/base/Makefile.am:
17319         * gst/base/README:
17320         * gst/base/gstadapter.c:
17321         * gst/base/gstadapter.h:
17322         * gst/base/gstbasesink.c:
17323         * gst/base/gstbasesink.h:
17324         * gst/base/gstbasesrc.c:
17325         * gst/base/gstbasesrc.h:
17326         * gst/base/gstbasetransform.c:
17327         * gst/base/gstbasetransform.h:
17328         * gst/base/gstcollectpads.c:
17329         * gst/base/gstcollectpads.h:
17330         * gst/base/gstpushsrc.c:
17331         * gst/base/gstpushsrc.h:
17332         * gst/base/gsttypefindhelper.c:
17333         * gst/base/gsttypefindhelper.h:
17334         * gst/check/Makefile.am:
17335         * gst/check/gstcheck.c:
17336         * gst/check/gstcheck.h:
17337         * gst/net/Makefile.am:
17338         * gst/net/gstnet.h:
17339         * gst/net/gstnetclientclock.c:
17340         * gst/net/gstnetclientclock.h:
17341         * gst/net/gstnettimepacket.c:
17342         * gst/net/gstnettimepacket.h:
17343         * gst/net/gstnettimeprovider.c:
17344         * gst/net/gstnettimeprovider.h:
17345         * libs/gst/Makefile.am:
17346         * libs/gst/base/Makefile.am:
17347         * libs/gst/base/gstbasetransform.c:
17348         * libs/gst/check/Makefile.am:
17349         * plugins/elements/Makefile.am:
17350         * po/POTFILES.in:
17351           CVS surgery + support to move base, check, and net out of gst
17352           and into libs/gst
17353
17354 2005-11-29  Andy Wingo  <wingo@pobox.com>
17355
17356         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17357
17358         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17359         padding.
17360
17361         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17362
17363         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17364
17365         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17366
17367         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17368         padding; reduces object size by about 30%. We don't expect
17369         anything else to go into gstobject.
17370
17371         * gst/gstminiobject.h (struct _GstMiniObject)
17372         (struct _GstMiniObjectClass): Only one pointer of padding; the
17373         payload is only a pointer and two ints anyway. For the class there
17374         are only two methods as well.
17375         
17376         * gst/gstelement.h (struct _GstElementClass): Removed
17377         the state_changed signal callback, it is not used.
17378
17379 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17380
17381         * docs/gst/gstreamer.types:
17382           fix includes, though they are a little dinky
17383
17384 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17385
17386         * check/Makefile.am:
17387           look in the right place for elements, a lot more chance of
17388           success
17389         * gst/Makefile.am:
17390           remove indexers and elements subdirs
17391         * plugins/Makefile.am:
17392           make indexers conditional
17393
17394 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17395
17396         * Makefile.am:
17397         * configure.ac:
17398         * plugins/elements/Makefile.am:
17399         * plugins/elements/gstcapsfilter.c:
17400         * plugins/elements/gstfilesink.c:
17401         * plugins/elements/gstfilesrc.c:
17402         * plugins/elements/gstidentity.c:
17403         * plugins/indexers/Makefile.am:
17404           do CVS surgery and related build fixery to move elements
17405           and indexers in a new gstreamer/plugins directory, out of the
17406           gst/ directory
17407
17408 2005-11-29  Andy Wingo  <wingo@pobox.com>
17409
17410         * check/Makefile.am:
17411         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17412         * pkgconfig/gstreamer-net.pc.in:
17413         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17414         #322257.
17415
17416 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17417
17418         * tools/Makefile.am:
17419         * tools/gst-complete.1.in:
17420         * tools/gst-complete.c:
17421         * tools/gst-compprep.1.in:
17422         * tools/gst-compprep.c:
17423           removing -compprep and -complete
17424
17425 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17426
17427         * gst/gstevent.c: (gst_event_new_new_segment),
17428         (gst_event_parse_new_segment):
17429         * gst/gstevent.h:
17430           fix #320529 - clean up new_segment API and structure.
17431           Let's hope everyone was using the methods, and not the structure.
17432
17433 2005-11-29  Edward Hervey  <edward@fluendo.com>
17434
17435         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17436         (gst_base_sink_event), (gst_base_sink_do_sync),
17437         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17438         Properly handle non GST_FORMAT_TIME segment
17439         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17440         Properly handle non GST_FORMAT_TIME segment
17441         * gst/gstsegment.c:
17442         This function is valid if the accumulator is 0 and the format
17443         is different from the requested format.
17444         
17445 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17446
17447         * docs/gst/gstreamer-sections.txt:
17448         Add gst_query_new_seeking and gst_query_parse_seeking to the
17449         docs.
17450
17451 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17452
17453         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17454           Treat a pad alloc with new caps the same as if we were not
17455           negotiated, in order to allow a changing upstream output
17456           to produce a new format of data.
17457
17458 2005-11-29  Edward Hervey  <edward@fluendo.com>
17459
17460         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17461         (gst_base_transform_event), (gst_base_transform_eventfunc):
17462         The event virtual method is now properly implemented, with a default
17463         handler
17464         Sub classes should call the parent_class event method. They should
17465         return FALSE if they had a problem handling the given event, or don't
17466         want GstBaseTransform to send that even downstream
17467         * gst/elements/gstidentity.c: (gst_identity_class_init),
17468         (gst_identity_init), (gst_identity_event),
17469         (gst_identity_transform_ip), (gst_identity_set_property),
17470         (gst_identity_get_property):
17471         * gst/elements/gstidentity.h:
17472         Added the single-segment boolean property.
17473         If set to TRUE, it will output a single segment of data, starting from
17474         0, will eat up all incoming newsegment, and modify the timestamp of the
17475         buffers accordingly
17476
17477 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17478
17479         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17480           Don't ref NULL target pad (#322751). Improve docs.
17481
17482 2005-11-29  Michael Smith  <msmith@fluendo.com>
17483
17484         * gst/gstregistryxml.c: (load_plugin):
17485           Don't crash if we failed to load a feature from a plugin. 
17486
17487 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17488
17489         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17490         (GST_START_TEST):
17491           use more check API and less GLib API
17492
17493 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17494
17495         * Makefile.am:
17496           don't run checks if we don't have check
17497         * common/check.mak:
17498           remove the registry when running make torture
17499         * docs/gst/gstreamer-sections.txt:
17500           remove second multiply
17501         * gst/gstqueue.c: (gst_queue_loop):
17502           fix a compile warning when disabling debug
17503
17504 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17505
17506         * gst/gstinfo.h:
17507         Hey! Let's print the pad name if the pointer != NULL instead
17508         of when it == NULL :-)
17509
17510 2005-11-28  Wim Taymans  <wim@fluendo.com>
17511
17512         * check/gst/gstutils.c: (GST_START_TEST):
17513         Updated check, add some scaling accuracy checking code.
17514
17515         * gst/gstutils.c: (gst_util_div128_64),
17516         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17517         (gst_util_uint64_scale_int):
17518         Fix 6 times faster division code. Optimize for common 
17519         1/1 and less common X/1 cases.
17520
17521 2005-11-28  Wim Taymans  <wim@fluendo.com>
17522
17523         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17524         More checks.
17525
17526         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17527         (do_linear_regression), (gst_clock_add_observation):
17528         Cleanups.
17529         Release lock when the clock cannot be slaved.
17530         Catch the case where the regression returned an invalid denominator.
17531
17532         * gst/gstutils.c: (gst_util_div128_64_iterate),
17533         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17534         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17535         Add protentially more performant non-iterative 128/64 divide function
17536         that unfortunatly does not work yet.
17537         Shortcut the trivial 0/X = 0 case.
17538         Remove the warnings on overflow.
17539
17540 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17541
17542         * gst/gstplugin.c: (gst_plugin_register_func):
17543           everything causing a plugin not to load should be at least a WARNING
17544
17545 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17546
17547         * docs/random/ensonic/dparams.txt:
17548           some TODOs for the next dev cycle
17549         * libs/gst/controller/gstcontroller.c:
17550         (gst_controlled_property_set_interpolation_mode),
17551         (gst_controlled_property_new):
17552         * libs/gst/controller/gstcontroller.h:
17553           use base type to assign acccessor functions
17554
17555 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17556
17557         * check/Makefile.am:
17558         Oops, that should have been top_srcdir
17559
17560 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17561
17562         * check/Makefile.am:
17563         * check/elements/fdsrc.c: (GST_START_TEST):
17564         Use a cmdline define to specify the location of a file to use for
17565         testing, to avoid breaking distcheck.
17566
17567 2005-11-28  Andy Wingo  <wingo@pobox.com>
17568
17569         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17570
17571 2005-11-28  Edward Hervey  <edward@fluendo.com>
17572
17573         * tools/gst-launch.c: (main):
17574         Clarify the output strings, makes it easier to translate.
17575         Fixes #322626
17576
17577 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17578
17579         * gst/Makefile.am:
17580           don't try and build net if we don't even have <sys/socket.h>
17581
17582 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17583
17584         * check/Makefile.am:
17585         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17586         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17587           Add tests for fdsrc seekability
17588
17589         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17590         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17591         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17592         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17593         * gst/elements/gstfdsrc.h:
17594           fdsrc should not be a 'live' source.
17595           Implement seeking on seekable fd's.
17596
17597         * gst/gstquery.c: (gst_query_new_seeking),
17598         (gst_query_parse_seeking):
17599         * gst/gstquery.h:
17600           Implement SEEKING query functions: 
17601             *_new_seeking and *_parse_seeking
17602
17603 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17604
17605         * gst/gstelement.c: (gst_element_dispose):
17606           don't loop forever
17607
17608         * gst/gstiterator.c:
17609         * gst/gststructure.c:
17610           doc fixes
17611
17612         * libs/gst/controller/gstcontroller.c:
17613         (gst_controlled_property_set_interpolation_mode):
17614         * libs/gst/controller/gstcontroller.h:
17615         * libs/gst/controller/gstinterpolation.c:
17616         (interpolate_none_get_enum_value_array):
17617           support controlling enums
17618
17619 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17620
17621         * gst/gstvalue.c:
17622           Improve documentation for gst_value_union().
17623
17624         * gst/gstvalue.h:
17625           Change return value for union, intersect and subtract functions
17626           from gint to gboolean.
17627
17628 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17629
17630         * gst/gstvalue.c: (gst_value_serialize_any_list),
17631         (gst_value_transform_any_list_string),
17632         (gst_value_deserialize_list), (gst_value_deserialize_array),
17633         (gst_value_set_int_range), (gst_value_deserialize_int_range),
17634         (gst_value_set_double_range), (gst_value_deserialize_double_range),
17635         (gst_value_set_fraction_range_full),
17636         (gst_value_deserialize_fraction_range),
17637         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17638         (gst_value_deserialize_boolean),
17639         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17640         (gst_value_serialize_float), (gst_value_deserialize_float),
17641         (gst_string_wrap), (gst_value_deserialize_string),
17642         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17643         (gst_value_union_int_range_int_range),
17644         (gst_value_intersect_int_range_int_range),
17645         (gst_value_intersect_double_range_double_range),
17646         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17647         (gst_value_subtract_int_range_int_range),
17648         (gst_value_subtract_double_double_range),
17649         (gst_value_subtract_double_range_double_range),
17650         (gst_value_deserialize_fraction):
17651         * gst/gstvalue.h:
17652           Use gint, gdouble and gchar in our API instead of int, double and
17653           char (and make usage in gstvalue.c more consistent).
17654
17655 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17656
17657         * check/Makefile.am:
17658         * libs/gst/controller/Makefile.am:
17659         * libs/gst/dataprotocol/Makefile.am:
17660           fix up Makefile.am and remove GST_ENABLE_NEW
17661
17662 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17663
17664         * configure.ac:
17665         * gst/Makefile.am:
17666         * gst/base/Makefile.am:
17667         * gst/check/Makefile.am:
17668         * gst/elements/Makefile.am:
17669         * gst/net/Makefile.am:
17670           update LDFLAGS use some more
17671
17672 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17673
17674         * common/m4/gst-doc.m4:
17675           Fixes #312589
17676
17677 2005-11-26  Edward Hervey  <edward@fluendo.com>
17678
17679         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17680         This shouldn't issue a g_warning since it returns NULL if it
17681         couldn't find the plugin, and all functions using this behave
17682         properly on a NULL return. Switching to a GST_WARNING.
17683
17684 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
17685
17686         * gst/gstbin.c: (gst_bin_handle_message_func):
17687         Don't leak clock messages.
17688
17689 2005-11-25  Wim Taymans  <wim@fluendo.com>
17690
17691         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17692         (gst_util_uint64_scale_int):
17693         Optimisations, remove unneeded vars.
17694
17695 2005-11-25  Wim Taymans  <wim@fluendo.com>
17696
17697         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17698         Added more checks for the high precision uint64 cases.
17699
17700         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17701         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17702         Implement high precision (guint64 * guint64) / guint64.
17703
17704 2005-11-24  Wim Taymans  <wim@fluendo.com>
17705
17706         * gst/base/gstbasesrc.c: (gst_base_src_query):
17707         Fix wrong percentage query.
17708
17709         * gst/gstutils.c: (gst_util_uint64_scale),
17710         (gst_util_uint64_scale_int):
17711         Add some more common cases that can be handled 
17712         efficiently to _scale.
17713
17714 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17715
17716         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17717         (gst_mini_object_suite):
17718           don't use check calls from threads; check probably isn't
17719           threadsafe and using a lock to make it threadsafe would
17720           defeat the purpose of this check
17721         * gst/check/gstcheck.c:
17722         * gst/check/gstcheck.h:
17723           use GST_DEBUG some more
17724
17725 2005-11-24  Wim Taymans  <wim@fluendo.com>
17726
17727         * gst/gstutils.c: (gst_util_uint64_scale),
17728         (gst_util_uint64_scale_int):
17729         Chain trivial case to _scale_int.
17730
17731 2005-11-24  Wim Taymans  <wim@fluendo.com>
17732
17733         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17734         Added test for scaling.
17735
17736         * gst/gstclock.h:
17737         Small doc fix.
17738
17739         * gst/gstutils.c: (gst_util_uint64_scale_int):
17740         Implemented high precision scaling code.
17741
17742 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
17743
17744         * gst/gstinfo.h:
17745           do not crash on pad==NULL
17746
17747 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17748
17749         Patch by: Stefan Kost
17750
17751         * common/gtk-doc.mak:
17752         * docs/gst/Makefile.am:
17753         * docs/libs/Makefile.am:
17754           Fix distcheck issues for the libraries docs build
17755           Closes #319599.
17756
17757 2005-11-24  Michael Smith <msmith@fluendo.com>
17758
17759         * docs/manual/basics-helloworld.xml:
17760           Fix bug #315027: memory leak in example code in docs.
17761
17762 2005-11-24  Michael Smith <msmith@fluendo.com>
17763
17764         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17765           Unlock the PREROLL_LOCK in a failure case.
17766
17767 2005-11-24  Wim Taymans  <wim@fluendo.com>
17768
17769         * docs/gst/gstreamer-sections.txt:
17770         * gst/base/gstadapter.h:
17771         * gst/base/gstbasesink.h:
17772         * gst/base/gstbasesrc.h:
17773         * gst/base/gstbasetransform.h:
17774         * gst/base/gstpushsrc.h:
17775         * gst/elements/gstfakesink.h:
17776         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17777         * gst/elements/gstfakesrc.h:
17778         * gst/elements/gstfilesink.h:
17779         * gst/elements/gstfilesrc.h:
17780         * gst/gst.c:
17781         * gst/gstbin.c:
17782         * gst/gstbuffer.c: (_gst_buffer_copy):
17783         * gst/gstbus.h:
17784         * gst/gstcaps.c:
17785         * gst/gstchildproxy.c:
17786         * gst/gstclock.c:
17787         * gst/gstelement.c:
17788         * gst/gstelementfactory.c:
17789         * gst/gstelementfactory.h:
17790         * gst/gstevent.c:
17791         * gst/gstghostpad.h:
17792         * gst/gstindex.h:
17793         * gst/gstinterface.h:
17794         * gst/gstminiobject.c:
17795         * gst/gstminiobject.h:
17796         * gst/gstpad.c:
17797         * gst/gstpad.h:
17798         * gst/gstpadtemplate.h:
17799         * gst/gstpipeline.h:
17800         * gst/gstpluginfeature.h:
17801         * gst/gstquery.h:
17802         * gst/gstqueue.h:
17803         * gst/gsttaglist.c:
17804         * gst/gsttaglist.h:
17805         * gst/gsttagsetter.c:
17806         * gst/gsttagsetter.h:
17807         * gst/gsttrace.c:
17808         * gst/gsttrace.h:
17809         * gst/gsttypefind.h:
17810         * gst/gsturi.h:
17811         * gst/gstvalue.c:
17812         * gst/net/gstnetclientclock.c:
17813         * gst/net/gstnetclientclock.h:
17814         * gst/net/gstnettimepacket.c:
17815         * gst/net/gstnettimeprovider.c:
17816         * gst/net/gstnettimeprovider.h:
17817         Doc fixes.
17818
17819 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17820
17821         * configure.ac: back to HEAD
17822
17823 === release 0.9.6 ===
17824
17825 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
17826
17827         * configure.ac:
17828           releasing 0.9.6, "Always On Time"
17829
17830 2005-11-23  Wim Taymans  <wim@fluendo.com>
17831
17832         * docs/gst/gstreamer-sections.txt:
17833         * gst/glib-compat.c:
17834         * gst/gsttagsetter.c:
17835         * gst/gstvalue.c:
17836         * gst/net/gstnetclientclock.c:
17837         * gst/net/gstnettimepacket.h:
17838         Doc updates.
17839
17840 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17841
17842         * docs/faq/using.xml:
17843         * docs/libs/tmpl/gstcontrol.sgml:
17844         * docs/manual/advanced-dparams.xml:
17845         * docs/manual/appendix-checklist.xml:
17846         * docs/manual/basics-elements.xml:
17847         * docs/pwg/other-source.xml:
17848         * docs/random/moving-plugins:
17849         * gst/gstpad.c:
17850         * tools/gst-launch.1.in:
17851           remove mentions of sinesrc
17852
17853 2005-11-23  Michael Smith <msmith@fluendo.com>
17854
17855         * docs/gst/gstreamer-sections.txt:
17856           Update for new API and API changes.
17857         * gst/gstobject.h:
17858           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17859         * gst/gstvalue.c:
17860           Documentation typo fix.
17861         * gst/net/gstnettimepacket.c:
17862           Documentation fixes for arguments.
17863
17864 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
17865
17866         * gst/gststructure.c: (gst_structure_get_fraction),
17867         (gst_structure_parse_value),
17868         (gst_structure_fixate_field_nearest_fraction):
17869         * gst/gststructure.h:
17870         * gst/gstutils.c: (gst_util_uint64_scale_int):
17871         * gst/gstutils.h:
17872         * scripts/update-funcnames:
17873         API Changes. 
17874         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17875         Make gst_structure_fixate_field_nearest_fraction take a numerator
17876         and denominator argument instead of a GValue
17877         add gst_structure_get_fraction helper function.
17878
17879 2005-11-23  Wim Taymans  <wim@fluendo.com>
17880
17881         * docs/design/part-TODO.txt:
17882         Update TODO.
17883
17884         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17885         * gst/net/gstnetclientclock.h:
17886         Use parent fields for timeout and window_size.
17887
17888 2005-11-23  Andy Wingo  <wingo@pobox.com>
17889
17890         * check/net/gstnetclientclock.c (test_functioning): Adjust to
17891         rate_num/rate_denom change.
17892
17893         * gst/net/gstnetclientclock.c
17894         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17895         OBJECT_LOCK. Don't call add_observation with the lock.
17896
17897         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17898         fraction.
17899         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17900         rate fraction.
17901         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17902         deal with rate as a fraction whose numerator and denominator are
17903         GstClockTime values.
17904         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
17905         master; the other fields are protected by the SLAVE_LOCK.
17906         (do_linear_regression): Note that this must be called with the
17907         SLAVE_LOCK.
17908         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
17909         OBJECT_LOCK. Call set_calibration instead of touching the
17910         variables directly.
17911         (gst_clock_set_property, gst_clock_get_property): Protect
17912         master/slave parameters with the SLAVE_LOCK.
17913
17914         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
17915         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
17916         note that all of the instance variables that add_observation and
17917         the set_master functions use are protected by that lock and not
17918         the OBJECT_LOCK.
17919         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
17920
17921         * gst/gstclock.c (gst_clock_add_observation): No longer requires
17922         the caller to take the object lock.
17923
17924 2005-11-23  Wim Taymans  <wim@fluendo.com>
17925
17926         * gst/gsterror.c: (_gst_core_errors_init):
17927         * gst/gsterror.h:
17928         Add error for clock stuff.
17929
17930         * gst/gstpipeline.c: (gst_pipeline_change_state),
17931         (gst_pipeline_set_clock):
17932         Post clock error when clock cannot be used in a pipeline.
17933
17934 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
17935
17936         * docs/gst/gstreamer-sections.txt:
17937           make two symbols from gstinfo private for the docs
17938         * gst/base/gstcollectpads.h:
17939         * gst/gstutils.c:
17940           fix doc typos, update docs
17941
17942 2005-11-22  Wim Taymans  <wim@fluendo.com>
17943
17944         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17945         (gst_base_sink_wait), (gst_base_sink_do_sync),
17946         (gst_base_sink_handle_event):
17947         * gst/base/gstbasesink.h:
17948         No need to store the clock, the parent element class already
17949         has it.
17950
17951         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
17952         Updates for clock_set returning a gboolean
17953
17954         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
17955         (gst_clock_id_wait_async), (gst_clock_class_init),
17956         (gst_clock_init), (gst_clock_finalize),
17957         (gst_clock_get_internal_time), (gst_clock_get_time),
17958         (gst_clock_slave_callback), (gst_clock_set_master),
17959         (gst_clock_get_master), (do_linear_regression),
17960         (gst_clock_add_observation), (gst_clock_set_property),
17961         (gst_clock_get_property):
17962         * gst/gstclock.h:
17963         Implement master/slave. When setting a clock as a slave, a
17964         periodic timeout is scheduled to sample master and slave times.
17965         Then the slave clock is recalibrated to match offset and rate
17966         of the master clock.
17967         Update logging a bit.
17968         Add flag so that a clock can state that is cannot be slaved to
17969         another clock.
17970
17971         * gst/gstelement.c: (gst_element_set_clock):
17972         * gst/gstelement.h:
17973         The set clock returns a gboolean for when an element cannot
17974         deal with the selected clock in the pipeline. 
17975
17976         * gst/gstpipeline.c: (gst_pipeline_change_state),
17977         (gst_pipeline_set_clock):
17978         * gst/gstpipeline.h:
17979         Handle the case where the selected clock cannot be set on
17980         the pipeline.
17981
17982         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
17983         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
17984         (gst_net_client_clock_set_property),
17985         (gst_net_client_clock_get_property),
17986         (gst_net_client_clock_observe_times):
17987         * gst/net/gstnetclientclock.h:
17988         Use regression code in GstClock parent, remove duplicated
17989         functionality.
17990
17991 2005-11-22  Michael Smith <msmith@fluendo.com>
17992
17993         * gst/gstutils.c: (gst_util_clock_time_scale):
17994         * gst/gstutils.h:
17995         * docs/gst/gstreamer-sections.txt:
17996           Rename method to have extra underscore.
17997
17998 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17999
18000         * gst/elements/Makefile.am:
18001         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18002         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18003         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18004         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18005         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18006         * gst/elements/gstfakesrc.h:
18007         * gst/gstqueue.c: (queue_leaky_get_type):
18008           correctly fix GEnumValues so that nick is the short lowercase
18009           dashed tag
18010         * tools/gst-inspect.c: (print_element_properties_info):
18011           also show the nick, since it's useful to use from parse_launch
18012           syntax
18013           Fixes #322139
18014
18015 2005-11-22  Michael Smith <msmith@fluendo.com>
18016
18017         * gst/gstutils.c: (gst_util_clocktime_scale):
18018         * gst/gstutils.h:
18019         * docs/gst/gstreamer-sections.txt:
18020           Add util method for scaling a clocktime by a fraction. Useful 
18021           implementation is left as an exercise for the reader.
18022
18023 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18024
18025         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18026         If needed, allocate storage in the destination value during
18027         collection.
18028
18029 2005-11-22  Edward Hervey  <edward@fluendo.com>
18030
18031         * docs/gst/gstreamer-sections.txt:
18032         * gst/Makefile.am:
18033         * gst/gst.h:
18034         * gst/gsturitype.c:
18035         * gst/gsturitype.h:
18036         * gst/gstutils.c: (gst_util_set_object_arg):
18037         * tools/gst-compprep.c: (main):
18038         * tools/gst-inspect.c: (print_element_properties_info):
18039         Removed GstURI, closes bug #321061
18040
18041 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18042
18043         * check/gst/gststructure.c: (GST_START_TEST):
18044         * gst/gststructure.c: (gst_structure_parse_value):
18045           Oops, broke automatic string type parsing.
18046           Add a test to catch it in future.
18047
18048 2005-11-22  Andy Wingo  <wingo@pobox.com>
18049
18050         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18051         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18052         Actually rename the function implementations. Grr.
18053
18054 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18055
18056         * check/gst/capslist.h:
18057           Comment test cases
18058         * check/gst/gststructure.c: (GST_START_TEST),
18059         (gst_structure_suite):
18060           Test automatic value type detection in gst_structure_from_string.
18061         * gst/gststructure.c: (gst_structure_parse_value):
18062           Add fraction as a type we try and guess automatically in
18063           caps/structure strings.
18064
18065 2005-11-22  Andy Wingo  <wingo@pobox.com>
18066
18067         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18068
18069         * gst/gsttagsetter.h:
18070         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18071         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18072         (gst_tag_setter_add_tag_valist)
18073         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18074         _add_values, _add_valist, and _add_valist_values. Since this is an
18075         interface the function suffixes should be more explicit so
18076         language binding don't end up with element.add_valist ->
18077         gst_tag_setter_add_valist, for example. Fixes #322069.
18078
18079 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18080
18081         * check/gst/gstcaps.c: (GST_START_TEST):
18082           Extend caps string tests to check that a caps to string
18083           conversion is reversible and produces the same caps.
18084
18085         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18086           Output "fraction" as the generic type fraction range, so caps
18087           serialisation and deserialisation works.
18088         * check/gst/capslist.h:
18089         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18090           Support 'MIN' and 'MAX' for deserialising fractions.
18091
18092 2005-11-22  Andy Wingo  <wingo@pobox.com>
18093
18094         * gst/gstevent.h (gst_event_new_new_segment)
18095         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18096         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18097         Renamed from *_newsegment, *_buffersize, *_notarget.
18098
18099         * scripts/update-funcnames: New script, performs the changes
18100         listed above.
18101
18102 2005-11-22  Wim Taymans  <wim@fluendo.com>
18103
18104         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18105         Make sure the GstFlowReturn is returned.
18106
18107         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18108         (gst_bus_add_signal_watch):
18109         * gst/gstbus.h:
18110         add gst_bus_add_signal_watch_full.
18111
18112         * gst/gstplugin.c: (gst_plugin_load_file):
18113         Small style cleanup.
18114
18115 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18116
18117         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18118           Block the fakesrc srcpad when we send an event, to avoid
18119           contention on the stream_lock causing random test failures.
18120
18121 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18122
18123         * check/gst/gstvalue.c: (GST_START_TEST):
18124         * gst/gstvalue.c: (gst_value_fraction_subtract):
18125           Fix subtraction.
18126
18127 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18128
18129         * gst/gst.h:
18130           include "gstchildproxy.h"
18131         * gst/gstchildproxy.h:
18132         * libs/gst/controller/gstcontroller.h:
18133           use G_GNUC_NULL_TERMINATED
18134
18135 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18136
18137         * check/gst/capslist.h:
18138         * check/gst/gstcaps.c: (GST_START_TEST):
18139         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18140         * gst/gststructure.c: (gst_structure_parse_range),
18141         (gst_structure_fixate_field_nearest_fraction):
18142         * gst/gststructure.h:
18143         * gst/gstvalue.c: (gst_value_init_fraction_range),
18144         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18145         (gst_value_collect_fraction_range),
18146         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18147         (gst_value_set_fraction_range_full),
18148         (gst_value_get_fraction_range_min),
18149         (gst_value_get_fraction_range_max),
18150         (gst_value_serialize_fraction_range),
18151         (gst_value_transform_fraction_range_string),
18152         (gst_value_compare_fraction_range),
18153         (gst_value_deserialize_fraction_range),
18154         (gst_value_intersect_fraction_fraction_range),
18155         (gst_value_intersect_fraction_range_fraction_range),
18156         (gst_value_subtract_fraction_fraction_range),
18157         (gst_value_subtract_fraction_range_fraction),
18158         (gst_value_subtract_fraction_range_fraction_range),
18159         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18160         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18161         (gst_value_transform_string_fraction), (_gst_value_initialize):
18162         * gst/gstvalue.h:
18163           Implement fraction ranges and extend GstFraction to support
18164           arithmetic subtraction, as well as deserialization from integer
18165           strings such as "100"
18166           Add a testsuite as for int and double range set operations
18167
18168 2005-11-21  Andy Wingo  <wingo@pobox.com>
18169
18170         * gst/gsttaglist.h: 
18171         * gst/gstcaps.h: 
18172         * gst/gststructure.h: Add glib-compat.h.
18173
18174 2005-11-21  Wim Taymans  <wim@fluendo.com>
18175
18176         * gst/gstbin.c: (gst_bin_change_state_func):
18177         Fix for #321595
18178
18179 2005-11-21  Wim Taymans  <wim@fluendo.com>
18180
18181         * gst/gstsegment.h:
18182         And add a nice define too.
18183
18184 2005-11-21  Wim Taymans  <wim@fluendo.com>
18185
18186         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18187         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18188         (gst_segment_set_duration), (gst_segment_set_last_stop),
18189         (gst_segment_set_seek), (gst_segment_set_newsegment),
18190         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18191         (gst_segment_clip):
18192         * gst/gstsegment.h:
18193         Make binding friendly.
18194
18195 2005-11-21  Andy Wingo  <wingo@pobox.com>
18196
18197         * gst/gsttagsetter.h: 
18198         * gst/gsttaglist.h: 
18199         * gst/gststructure.h: 
18200         * gst/gstcaps.h: 
18201         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18202         #319940.
18203
18204         * gst/gsterror.c (_gst_core_errors_init):
18205         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18206         category.
18207
18208         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18209         (noinst_HEADERS): noinst the -private.
18210
18211 2005-11-21  Michael Smith <msmith@fluendo.com>
18212
18213         * gst/gstplugin.h:
18214         * gst/gstregistry.h:
18215           Remove unimplemented declarations for which we can see no sensible
18216           use.
18217
18218 2005-11-21  Andy Wingo  <wingo@pobox.com>
18219
18220         * gst/gst.h: Include glib-compat.h.
18221
18222         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18223
18224         * gst/glib-compat.c: Include the public and the private header.
18225
18226         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18227
18228         * gst/gstvalue.c: 
18229         * gst/gstpad.c: 
18230         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18231
18232         * check/gst/gstevent.c (create_custom_events): Check that
18233         FLUSH_STOP is serialized.
18234
18235         * check/elements/identity.c (event_func): 
18236         * check/elements/fakesrc.c (event_func): No stream lock, the core
18237         takes it.
18238
18239         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18240         stream lock taking, yay.
18241
18242         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18243         ensure that core takes the stream lock.
18244
18245         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18246         lock name change.
18247
18248         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18249         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18250         it already. For the flush start we do take it though so we get the
18251         right preroll state change messages.
18252
18253         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18254         the stream lock here, the core does it for us.
18255
18256         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18257         GST_STREAM_GET_LOCK.
18258         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18259         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18260         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18261         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18262         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18263         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18264
18265         * gst/gstpad.c: Update for stream lock name change.
18266
18267         * gst/base/gstbasesink.c: Update for preroll lock name change.
18268
18269 2005-11-21  Wim Taymans  <wim@fluendo.com>
18270
18271         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18272         (gst_clock_get_master):
18273         * gst/gstclock.h:
18274         * gst/gstsystemclock.c: (gst_system_clock_init):
18275         Convert Clock flags to object flags.
18276         Added methods to manage master/slave clocks.
18277
18278 2005-11-21  Wim Taymans  <wim@fluendo.com>
18279
18280         * check/gst/gstsegment.c: (GST_START_TEST):
18281         * docs/design/part-TODO.txt:
18282         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18283         (gst_base_sink_event), (gst_base_sink_do_sync),
18284         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18285         (gst_base_sink_query), (gst_base_sink_change_state):
18286         * gst/base/gstbasesink.h:
18287         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18288         (gst_base_src_default_newsegment),
18289         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18290         (gst_base_src_get_range), (gst_base_src_loop),
18291         (gst_base_src_change_state):
18292         * gst/base/gstbasesrc.h:
18293         * gst/base/gstbasetransform.c:
18294         (gst_base_transform_prepare_output_buf),
18295         (gst_base_transform_event), (gst_base_transform_change_state):
18296         * gst/base/gstbasetransform.h:
18297         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18298         (gst_collect_pads_event):
18299         * gst/base/gstcollectpads.h:
18300         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18301         (gst_fake_src_create):
18302         * gst/elements/gstfakesrc.h:
18303         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18304         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18305         (gst_segment_set_last_stop), (gst_segment_set_seek),
18306         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18307         (gst_segment_to_running_time), (gst_segment_clip):
18308         * gst/gstsegment.h:
18309         More segment updates, replace code in plugins with segment
18310         helper functions.
18311
18312 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18313
18314         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18315         Don't ignore sscanf results
18316
18317 2005-11-21  Andy Wingo  <wingo@pobox.com>
18318
18319         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18320
18321         * *.h:
18322         * *.c: Ran scripts/update-macros. Oh yes.
18323
18324         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18325         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18326         GST_GET_LOCK, etc.
18327
18328         * scripts/update-macros: New script. Run it on your files to
18329         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18330         well.
18331
18332 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18333
18334         * docs/gst/Makefile.am:
18335         * docs/gst/gstreamer-docs.sgml:
18336         * docs/gst/gstreamer-sections.txt:
18337         * docs/gst/gstreamer.types:
18338         * gst/gstinfo.h:
18339           more docs fixes, add new api to the docs
18340
18341 2005-11-21  Andy Wingo  <wingo@pobox.com>
18342
18343         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18344         state_broadcast call.
18345
18346         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18347
18348 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18349
18350         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18351         function calls for arrays.
18352
18353 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18354
18355         * docs/random/ensonic/media-device-daemon.txt:
18356           wild idea, can this be done?
18357         * docs/gst/gstreamer-sections.txt:
18358         * gst/gsterror.h:
18359         * gst/gstfilter.c:
18360         * gst/gstfilter.h:
18361         * gst/gstplugin.h:
18362         * gst/gstpluginfeature.c:
18363         * gst/gsttrace.c:
18364         * gst/gstvalue.c:
18365         * gst/gstvalue.h:
18366           doc fixes and additions
18367
18368 2005-11-21  Andy Wingo  <wingo@pobox.com>
18369
18370         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18371         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18372         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18373         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18374         private to the basesrc implementation.
18375
18376         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18377         behalf of event function if necessary. It should no longer be
18378         necessary to take the stream lock in pad's event functions. Fixes
18379         #320299.
18380
18381 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18382         * docs/gst/gstreamer-sections.txt:
18383         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18384         (gst_structure_fixate_field_nearest_double),
18385         (gst_structure_fixate_field_boolean):
18386         * gst/gststructure.h:
18387         * win32/common/libgstreamer.def:
18388         * win32/gstreamer.def:
18389
18390         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18391         (#322027)
18392
18393 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18394
18395         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18396         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18397         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18398         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18399         (gst_fdsrc_uri_handler_init):
18400         * gst/elements/gstfdsrc.h:
18401           Port fd:// URI handler from 0.8 to fdsrc
18402
18403 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18404
18405         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18406         (gst_value_serialize_fourcc):
18407         * gst/gstvalue.h:
18408           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18409           consistent with our other format defines (#320324).
18410
18411 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18412
18413         * gst/gstvalue.c: (gst_value_is_fixed):
18414           Revert previous commit. Value lists are by definition
18415           not fixed, as they are a list of possible values.
18416
18417 2005-11-21  Andy Wingo  <wingo@pobox.com>
18418
18419         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18420         during the stable series if we need it. Fixes #319178.
18421
18422         * gst/gstevent.c (gst_event_new_filler): Removed.
18423
18424         * check/gst/gstevent.c: Update comment about filler events.
18425
18426 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18427
18428         * gst/gstvalue.c: (gst_value_is_fixed):
18429           Should handle both value arrays and value lists.
18430
18431 2005-11-21  Andy Wingo  <wingo@pobox.com>
18432
18433         patch by: Alessandro Dessina <alessandro nnva org>
18434
18435         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18436         functions to access arrays. Fixes #321962.
18437
18438 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18439
18440         * docs/gst/gstreamer.types:
18441           gst_collectpads_get_type => gst_collect_pads_get_type.
18442           
18443         * gst/base/gstbasetransform.c:
18444           Remove unused SIGNAL_HANDOFF enum.
18445
18446 2005-11-21  Andy Wingo  <wingo@pobox.com>
18447
18448         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18449         the event type (upstream, downstream, serialized). Renamed
18450         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18451         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18452         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18453
18454         * gst/gstevent.c: Update for new CUSTOM event names.
18455
18456         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18457
18458         * gst/gstevent.h:
18459         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18460         bug #319392.
18461
18462 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18463
18464         * docs/gst/gstreamer-sections.txt:
18465         * win32/common/libgstbase.def:
18466         * win32/libgstbase.def:
18467         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18468         (gst_collect_pads_class_init), (gst_collect_pads_init),
18469         (gst_collect_pads_finalize), (gst_collect_pads_new),
18470         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18471         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18472         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18473         (gst_collect_pads_start), (gst_collect_pads_stop),
18474         (gst_collect_pads_peek), (gst_collect_pads_pop),
18475         (gst_collect_pads_available), (gst_collect_pads_read),
18476         (gst_collect_pads_flush), (gst_collect_pads_event),
18477         (gst_collect_pads_chain):
18478         * gst/base/gstcollectpads.h:
18479           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18480           unimplemented functions as unimplemented. Add padding to
18481           GstCollectData. (#320766, #320423)
18482
18483 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18484
18485         * gst/gstmessage.c:
18486           Improve docs for DURATION message (usage of duration parameter)
18487           (#320113)
18488
18489 2005-11-20  Wim Taymans  <wim@fluendo.com>
18490
18491         * check/Makefile.am:
18492         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18493         (main):
18494         * gst/Makefile.am:
18495         * gst/gst.h:
18496         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18497         (gst_segment_set_seek), (gst_segment_set_newsegment),
18498         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18499         (gst_segment_clip):
18500         * gst/gstsegment.h:
18501         Added segment helper structure and methods. Not fully implemented
18502         yet.
18503         Added segment check.
18504
18505 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18506
18507         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18508           Add a deserialisation test for fractions
18509         * examples/metadata/read-metadata.c: (message_loop),
18510         (make_pipeline), (main):
18511           Fix up metadata reading sample.
18512         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18513           Debug format fix
18514         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18515           Don't try and fixate empty caps
18516         * gst/gst_private.h:
18517           Wrap in G_BEGIN_DECLS/G_END_DECLS
18518         * gst/gstvalue.c: (gst_value_collect_fraction),
18519         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18520         (gst_value_transform_string_fraction),
18521         (gst_value_compare_fraction):
18522           Add some extra guards to ensure that we don't end up 
18523           with an invalid denominator of 0 in a gstfraction and
18524           that fractions always get reduced.
18525
18526 2005-11-20  Wim Taymans  <wim@fluendo.com>
18527
18528         * docs/gst/gstreamer-sections.txt:
18529         * gst/gstbuffer.h:
18530         * gst/gstelement.c:
18531         * gst/gstformat.c:
18532         * gst/gstformat.h:
18533         * gst/gstindex.h:
18534         * gst/gstquery.c:
18535         * gst/gstquery.h:
18536         * gst/gstvalue.c:
18537         Doc fixes.
18538
18539 2005-11-20  Wim Taymans  <wim@fluendo.com>
18540
18541         * docs/design/part-TODO.txt:
18542         * gst/gstcaps.h:
18543         Make a proper enum of the flag.
18544
18545 2005-11-19  Wim Taymans  <wim@fluendo.com>
18546
18547         * docs/design/part-TODO.txt:
18548         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18549         (gst_format_to_quark), (gst_format_register):
18550         * gst/gstformat.h:
18551         * gst/gstquery.c: (_gst_query_initialize),
18552         (gst_query_type_get_name), (gst_query_type_to_quark),
18553         (gst_query_type_register):
18554         * gst/gstquery.h:
18555         Add type to quark and type to string conversions.
18556
18557 2005-11-19  Andy Wingo  <wingo@pobox.com>
18558
18559         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18560         #320097.
18561
18562 2005-11-19  Wim Taymans  <wim@fluendo.com>
18563
18564         * docs/design/part-TODO.txt:
18565         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18566         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18567         (gst_bin_handle_message_func):
18568         * gst/gstbin.h:
18569         Make message handling overridable.
18570
18571 2005-11-19  Andy Wingo  <wingo@pobox.com>
18572
18573         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18574
18575         * gst/gstclock.h:
18576         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18577         be a GstClockTime.
18578         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18579         is a GstClockTime. Fixes #321710.
18580
18581         * gst/gstclock.h (GstClock): Remove offset property. Add
18582         internal_calibration and external_calibration. Fix padding. Pad
18583         also by GstClockTime so we don't run into problems.
18584
18585         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18586         (gst_clock_get_rate_offset): Remove.
18587         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18588
18589         * gst/gstutils.h:
18590         * gst/gstutils.c (g_static_rec_cond_wait)
18591         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18592
18593         * gst/gstbin.c: Remove terrible continue_state prototype.
18594
18595         * gst/gstelement.h (gst_element_continue_state): Make public.
18596
18597         * gst/gstelement.h:
18598         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18599         by continue_state. Fixes #319389.
18600
18601         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18602         Really fixes #168438. However I don't see anywhere where the
18603         filter function is called... stupid GStreamer...
18604         
18605         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18606         don't have a dispose function, so it won't get called when the
18607         object is unreffed, but oh well!
18608
18609         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18610         allows a destroy function to be set so user_data can be freed.
18611         Fixes #168438.
18612         (gst_index_set_filter): Call gst_index_set_filter_full.
18613
18614         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18615
18616         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18617         string should produce an error, given the lack of a way to
18618         represent NULL strings. Fixes #165650.
18619         
18620         * gst/gstvalue.h: 
18621         * gst/gstvalue.c (gst_value_array_append_value) 
18622         (gst_value_array_prepend_value, gst_value_array_get_size) 
18623         (gst_value_array_get_value): New API, copied from
18624         gst_value_list_*, only operates on arrays.
18625         (gst_value_list_append_value, gst_value_list_prepend_value) 
18626         (gst_value_list_concat, gst_value_list_get_size) 
18627         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18628
18629         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18630         init_list, because it works on both.
18631         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18632         (gst_value_copy_list_or_array): Renamed from copy_list.
18633         (gst_value_free_list_or_array): Renamed from free_list.
18634         (gst_value_collect_list_or_array): Renamed from collect_list.
18635         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18636         (gst_value_list_or_array_peek_pointer): Renamed from
18637         list_peek_pointer.
18638         (_gst_value_array_value_table, _gst_value_list_value_table):
18639         Update value table functions.
18640         (gst_value_compare_list_or_array): Renamed from compare_list.
18641
18642         * gsttaglist.h: Whoops, foreach function returns void. Also fix
18643         some constness.
18644
18645         * gst/gsttaglist.c:
18646         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18647         GstTagList*. Fixes #143472.
18648
18649         * gst/gststructure.h: Clarify what the foreach/map functions can
18650         or can't do to their arguments.
18651
18652 2005-11-18  Wim Taymans  <wim@fluendo.com>
18653
18654         * gst/gstclock.c: (gst_clock_set_calibration),
18655         (gst_clock_get_calibration):
18656         Doc and API fixes.
18657         Calibration can be set with internal time equal to current
18658         internal time too.
18659
18660 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18661
18662         * gst/gsterror.c:
18663         * gst/gsterror.h:
18664           document
18665
18666 2005-11-18  Andy Wingo  <wingo@pobox.com>
18667
18668         * configure.ac: 
18669         * pkgconfig/gstreamer-net.pc.in:
18670         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18671         * pkgconfig/Makefile.am: Add net pkgconfig files.
18672
18673 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
18674
18675         * gst/gstcaps.c:
18676         * gst/gstghostpad.c:
18677         * gst/gsttrace.c:
18678         * gst/gstvalue.c:
18679         * gst/gstvalue.h:
18680           docs fixes
18681
18682 2005-11-18  Andy Wingo  <wingo@pobox.com>
18683
18684         * gst/net/gstnetclientclock.c: Turn off debugging.
18685
18686         * check/net/gstnetclientclock.c (test_functioning): Assert that the
18687         times connverge somewhat. Can't make a real test.
18688
18689         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18690         integer arithmetic. Return the minimum of the domain, which can be
18691         set as "internal" for gst_clock_set_calibration.
18692         (gst_net_client_clock_observe_times): Call _set_calibration.
18693         (gst_net_client_clock_new): Call _set_calibration instead of
18694         rate_offset.
18695
18696         * check/net/gstnetclientclock.c (test_functioning): Use the right
18697         adjustment api.
18698
18699         * gst/gstclock.h:
18700         * gst/gstclock.c (gst_clock_get_calibration) 
18701         (gst_clock_set_calibration): New functions, obsolete the ones I
18702         added yesterday. Doh. Precision issues mean we have to extrapolate
18703         from a point in the more recent past than 1970.
18704         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18705         obsolete.
18706         (gst_clock_adjust_unlocked): Use the right calibration data.
18707
18708 2005-11-18  Edward Hervey  <edward@fluendo.com>
18709
18710         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
18711         Also reset the ->current_* values in READY->PAUSED
18712
18713 2005-11-18  Andy Wingo  <wingo@pobox.com>
18714
18715         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18716         Whoops, check the right fd. Also add some debugging.
18717         (gst_net_client_clock_observe_times): Adjust for int64 offset.
18718         (do_linear_regression): Add a crapload of debugging. Subtract off
18719         the minimum values from the input series to discard unneeded bits.
18720         Use only int arithmetic. There is still double arithmetic when
18721         calculating the intercept that needs fixing. Return boolean to
18722         indicate success; FALSE would mean the domain or range is too
18723         great. Still needs fixes.
18724
18725 2005-11-18  Wim Taymans  <wim@fluendo.com>
18726
18727         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18728         For the current position in stream time, we need to subtract
18729         accumulated time.
18730         
18731         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18732         Release lock before calling the callback function of async
18733         entries.
18734
18735 2005-11-18  Andy Wingo  <wingo@pobox.com>
18736
18737         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18738         Port goes all the way to MAXUINT16.
18739
18740         * gst/net/gstnettimeprovider.c: Make the port range the same as
18741         for the kernel: 0 assigns, otherwise ports are less than
18742         MAXUINT16.
18743
18744         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18745         port change.
18746
18747         * check/net/gstnetclientclock.c (test_functioning): Add the start
18748         of another test. 
18749
18750 2005-11-18  Wim Taymans  <wim@fluendo.com>
18751
18752         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18753         (gst_bin_remove_func), (bin_bus_handler):
18754         * gst/gstbin.h:
18755         Removing a clock provider from a bin, triggers a clock lost message
18756         so that a new clock will be selected.
18757         Adding a clock to a bin triggers a clock provider message.
18758         Make sure we reselect a clock when we received a clock lost message.
18759         Keep a reference to the element that provided the clock.
18760
18761 2005-11-18  Andy Wingo  <wingo@pobox.com>
18762
18763         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18764         the clock initially so it produces values around the base time.
18765         (gst_net_client_clock_class_init): Typo fix.
18766         (gst_net_client_clock_thread): Add note on when the socket gets
18767         closed.
18768
18769 2005-11-17  Wim Taymans  <wim@fluendo.com>
18770
18771         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18772         Free remote and local time arrays.
18773
18774 2005-11-17  Wim Taymans  <wim@fluendo.com>
18775
18776         * gst/net/gstnetclientclock.c: (do_linear_regression),
18777         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18778         Fix compilation, uninitialized vars and a forgotten continue.
18779
18780 2005-11-17  Andy Wingo  <wingo@pobox.com>
18781
18782         * check/Makefile.am (check_PROGRAMS): 
18783         * check/net/gstnetclientclock.c: Add a most minimal test for the
18784         net client clock. More to come later.
18785
18786         * gst/net/gstnet.h: 
18787         * gst/net/Makefile.am: Add netclientclock.
18788
18789         * gst/net/gstnetclientclock.h:
18790         * gst/net/gstnetclientclock.c: New files, implement an untested
18791         GstClock that takes its time from a network time provider.
18792         Implements the algorithm in network-clock.scm.
18793
18794         * tests/network-clock.scm (*window-size*): Rename from
18795         *queue-length*.
18796         * tests/network-clock.scm (network-time): 
18797         * tests/network-clock-utils.scm (q-push): Update callers.
18798
18799 2005-11-17  Wim Taymans  <wim@fluendo.com>
18800
18801         * gst/gstbin.c: (gst_bin_provide_clock_func),
18802         (gst_bin_sort_iterator_new):
18803         And unref the child too..
18804
18805 2005-11-17  Wim Taymans  <wim@fluendo.com>
18806
18807         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18808         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18809         Refactor the sort iterator so it can be used while holding the
18810         LOCK too.
18811         Make clock selection select a clock closest to the source.
18812
18813 2005-11-17  Michael Smith <msmith@fluendo.com>
18814
18815         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18816         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18817         * gst/gstclock.h:
18818           Anonymous structs are a gcc (and some other compilers) extension, so
18819           don't use them. Since this is only for ABI-compatibility, and our
18820           API/ABI freeze is over in a few days, this whole thing will only
18821           last a few days, so don't bother trying to think up a meaningful
18822           name for the struct.
18823
18824 2005-11-17  Andy Wingo  <wingo@pobox.com>
18825
18826         * gst/gstclock.h (GstClock): Add rate and offset properties,
18827         preserving ABI stability. Add rate/offset accessors. Will file bug
18828         for the freeze break.
18829
18830         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18831         and offset, trying to keep precision and avoiding
18832         underflow/overflow.
18833         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18834         functions. Make gst_clock_set_time_adjust obsolete.
18835         (gst_clock_set_time_adjust): Note that this function is obsolete.
18836         Will file bug soon.
18837
18838         * gst/base/gstbasetransform.h: Make the ABI-stability hack
18839         greppable by using GST_PADDING-1+1.
18840
18841 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
18842
18843         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18844
18845         * gst/gstmessage.c: (gst_message_parse_clock_lost):
18846           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18847
18848         * gst/gstpadtemplate.h:
18849         * gst/gstpluginfeature.h:
18850           Don't use c++ style comments in headers (#321638).
18851
18852 2005-11-16  Andy Wingo  <wingo@pobox.com>
18853
18854         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18855         buffer.
18856
18857         * check/net/gstnettimeprovider.c: Check to see that the time
18858         provider actually provides times. Works, yo!
18859
18860 2005-11-16  Wim Taymans  <wim@fluendo.com>
18861
18862         * check/Makefile.am:
18863         Enable more tests.
18864
18865         * check/elements/fakesrc.c: (GST_START_TEST):
18866         Set element to NULL before disposing it.
18867
18868 2005-11-16  Andy Wingo  <wingo@pobox.com>
18869
18870         * gst/net/Makefile.am:
18871         * gst/net/gstnet.h:
18872         * gst/net/gstnettimeprovider.c: 
18873         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18874         provider, include it from gstnet.h, and add it to the build.
18875
18876         * gst/net/gstnettimepacket.h: 
18877         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18878         sending and receiving.
18879
18880 2005-11-16  Wim Taymans  <wim@fluendo.com>
18881
18882         * check/Makefile.am:
18883         Enable valgrind check.
18884
18885         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18886         (gst_fake_src_alloc_buffer):
18887         Fix memleak.
18888
18889 2005-11-16  Wim Taymans  <wim@fluendo.com>
18890
18891         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18892         Call parent finalize too.
18893
18894 2005-11-16  Wim Taymans  <wim@fluendo.com>
18895
18896         * check/Makefile.am:
18897         Enable valgrind check that should work fine now.
18898
18899         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18900         * gst/gstqueue.c: (gst_queue_init):
18901         Fix memleaks in pad allocation.
18902
18903 2005-11-16  Andy Wingo  <wingo@pobox.com>
18904
18905         * gst/net/Makefile.am:
18906         * gst/net/gstnet.h: New part of core to hold network elements and
18907         objects. Put in core because it exposes API that applications want
18908         to use. The library is named libgstnet-tempname right now because
18909         of the existing libgstnet in gst-plugins-base. Solution is
18910         probably to rename the one in plugins-base; will file a bug for
18911         the freeze break.
18912
18913         * gst/net/gstnettimeprovider.c: 
18914         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
18915         get_time call over the network.
18916
18917         * configure.ac: 
18918         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
18919
18920         * check/Makefile.am:
18921         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
18922         get additions shortly.
18923
18924 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18925
18926         * gst/gstpad.c: (gst_pad_new_from_static_template):
18927         * gst/gstpad.h:
18928           add gst_pad_new_from_static_template functions
18929         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
18930         (gst_check_setup_sink_pad):
18931         * gst/elements/gsttee.c: (gst_tee_init):
18932           and use them
18933
18934 2005-11-16  Wim Taymans  <wim@fluendo.com>
18935
18936         * gst/gstpad.c: (gst_pad_pause_task):
18937         Removed warning, it's not really an error either.
18938
18939 2005-11-16  Wim Taymans  <wim@fluendo.com>
18940
18941         * gst/base/gstbasetransform.c:
18942         (gst_base_transform_prepare_output_buf),
18943         (gst_base_transform_event):
18944         Check if the caps are NULL, this can happen if the element
18945         is shutting down and the pad caps are set to NULL.
18946
18947 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18948
18949         * gst/elements/gsttee.c: (gst_tee_init):
18950           fix pad template leak in tee
18951
18952 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18953
18954         * gst/glib-compat.c: (g_value_dup_gst_object):
18955         * gst/glib-compat.h:
18956         * gst/gstpad.c: (gst_pad_set_property):
18957           use gst_object_ref when setting the pad template; this will
18958           trigger the pad template leaks on GLib 2.6 and the slaves
18959
18960 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18961
18962         * gst/glib-compat.c: (gst_flags_get_first_value):
18963         * gst/glib-compat.h:
18964         * gst/gstregistryxml.c:
18965           remove functions copied from GLib 2.6
18966
18967 2005-11-16  Michael Smith <msmith@fluendo.com>
18968
18969         * gst/Makefile.am:
18970           Don't link against VALGRIND_LIBS. That was always the wrong thing to
18971           do, but only breaks with newer valgrind versions. We're not a
18972           valgrind tool, we have no link-time dependencies on libcoregrind.
18973
18974 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18975
18976         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18977           some debug changes
18978         * gst/gstmessage.h:
18979           typo fixes
18980
18981 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18982
18983         * gst/base/gstbasesrc.c: (gst_base_src_init):
18984         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18985         * gst/gstqueue.c: (gst_queue_init):
18986         * gst/gstregistryxml.c: (load_feature):
18987           Revert all these unrefs, they don't even pass make check !
18988
18989 2005-11-15  Johan Dahlin  <johan@gnome.org>
18990
18991         * gst/base/gstbasesrc.c: (gst_base_src_init):
18992         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18993         * gst/gstqueue.c: (gst_queue_init): 
18994         Free pad templates, fixes a couple of leaks.
18995
18996 2005-11-15  Daniel Fischer  <dan at f3c dot com>
18997
18998         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18999
19000         * gst/gstpad.c: (gst_pad_get_property):
19001           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19002           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19003           (#321452)
19004
19005 2005-11-15  Wim Taymans  <wim@fluendo.com>
19006
19007         * gst/gstevent.c:
19008         Small doc update.
19009
19010 2005-11-15  Andy Wingo  <wingo@pobox.com>
19011
19012         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19013
19014         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19015         using GST_CLOCK_TIME_NONE to disable base time management.
19016         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19017         time if it was NONE before.
19018         (gst_pipeline_change_state): Only munge the base time if
19019         stream_time != GST_CLOCK_TIME_NONE.
19020
19021         * check/gst/gstpipeline.c (test_base_time): Punt around the
19022         problem of the probe not being called, because that's not the
19023         issue I'm looking at. Add a check that setting stream_time to NONE
19024         disables base time management.
19025         
19026 2005-11-15  Wim Taymans  <wim@fluendo.com>
19027
19028         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19029         segment_stop == -1 at startup.
19030
19031         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19032         (gst_base_transform_change_state):
19033         Init segment values at start.
19034
19035 2005-11-15  Wim Taymans  <wim@fluendo.com>
19036
19037         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19038         0 segment values are 0 in any format.
19039
19040         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19041         * gst/base/gstbasetransform.h:
19042         Parse newsegment correctly in basetransform
19043
19044         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19045         Sync to clock using updated segment values.
19046
19047 2005-11-15  Andy Wingo  <wingo@pobox.com>
19048
19049         * check/gst/gstpipeline.c (test_base_time): Add check that the
19050         base time and stream time are reset correctly.
19051
19052 2005-11-15  Wim Taymans  <wim@fluendo.com>
19053
19054         * docs/design/part-TODO.txt:
19055         Some more TODO items.
19056
19057 2005-11-15  Andy Wingo  <wingo@pobox.com>
19058
19059         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19060         error if the user selected "no clock" as the clocking method.
19061
19062         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19063         timestamps with live capture.
19064
19065         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19066         is 0 but we are a live source, timestamp the buffers using the
19067         element's clock.
19068
19069 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19070
19071         * docs/gst/gstreamer-sections.txt:
19072         * gst/gsterror.c:
19073         * gst/gstghostpad.c:
19074         * gst/gstobject.h:
19075         * gst/gstxml.c:
19076           more section docs
19077
19078 2005-11-14  Wim Taymans  <wim@fluendo.com>
19079
19080         * common/gst.supp:
19081           add suppressions from Wim's Debian machine
19082
19083 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19084
19085         * common/gst.supp:
19086           add suppressions from Andy's AMD64 Ubuntu machine
19087
19088 2005-11-14  Andy Wingo  <wingo@pobox.com>
19089
19090         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19091         STATE_LOCK not necessary. Fixes #311489.
19092
19093         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19094         #305291.
19095
19096         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19097         this function is not implemented.
19098
19099 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19100
19101         * gst/base/gstbasetransform.c:
19102         (gst_base_transform_prepare_output_buf):
19103         Ref the source pad caps while we need them.
19104         Fixes (#321386)
19105
19106 2005-11-11  Wim Taymans  <wim@fluendo.com>
19107
19108         * docs/gst/gstreamer-sections.txt:
19109         Added some docs for GstCollectData.
19110
19111         * gst/base/gstadapter.c:
19112         Some small code example fix.
19113
19114         * gst/base/gstcollectpads.c:
19115         * gst/base/gstcollectpads.h:
19116         Document some more.
19117
19118 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19119
19120         * configure.ac: back to HEAD
19121
19122 === release 0.9.5 ===
19123
19124 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19125
19126         * configure.ac:
19127           releasing 0.9.5, "Bike Lunch Day"
19128
19129 2005-11-11  Wim Taymans  <wim@fluendo.com>
19130
19131         * gst/gstbuffer.c: (_gst_buffer_copy):
19132         Copy more flags.
19133
19134         * gst/gstcaps.c: (gst_caps_is_equal):
19135         Fix some docs.
19136         Make _is_equal fast in the trivial cases.
19137
19138         * gst/gstminiobject.c:
19139         * gst/gstminiobject.h:
19140         More docs. Spifify .h file.
19141
19142         * gst/gstutils.c:
19143         Small doc update.
19144
19145 2005-11-11  Wim Taymans  <wim@fluendo.com>
19146
19147         * gst/base/gstbasetransform.c:
19148         (gst_base_transform_prepare_output_buf),
19149         (gst_base_transform_handle_buffer):
19150         Small cleanups.
19151         If we're processing a buffer and need to allocate an output
19152         buffer, we cannot accept a format change. If we did get a 
19153         format change, we have to alloc a buffer ourselves of the 
19154         right size.
19155
19156 2005-11-11  Wim Taymans  <wim@fluendo.com>
19157
19158         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19159         While checking the flag for reentrancy in the gstcaps function
19160         is nice to detect recursive invocations, it also makes it 
19161         impossible to call getcaps from multiple threads, which must be
19162         possible. So, checking for recursive calls has to go.
19163
19164 2005-11-11  Michael Smith <msmith@fluendo.com>
19165
19166         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19167           Don't sync on buffers that fall partially outside our current
19168           segment. Prevents an assertion failure/abort playing some files.
19169
19170 2005-11-10  Andy Wingo  <wingo@pobox.com>
19171
19172         * check/gst/gstbin.c (test_message_state_changed_children): Style
19173         fix..
19174
19175         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19176         gst_bus_poll with the signal watch. Ensures that poll and a signal
19177         watch see the same messages.
19178
19179         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19180         a poll and a watch at the same time get the same messages.
19181
19182 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19183
19184         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19185         * gst/gstcaps.c: (gst_caps_intersect):
19186           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19187           and it's not needed.
19188
19189 2005-11-10  Wim Taymans  <wim@fluendo.com>
19190
19191         * docs/design/part-TODO.txt:
19192         Updated todo.
19193
19194 2005-11-10  Wim Taymans  <wim@fluendo.com>
19195
19196         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19197         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19198         (gst_base_src_do_sync), (gst_base_src_get_range):
19199         Implement clock sync in base class.
19200
19201 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19202
19203         patch by: Tim-Philipp Müller <tim at centricular dot net>
19204
19205         * gst/gststructure.c: (gst_structure_parse_field),
19206         (gst_structure_from_string):
19207           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19208           so that gst_parse_launch() can deal with spaces in filtered link
19209           caps (fixes #164479)
19210         * check/gst/capslist.h:
19211         * check/gst/gststructure.c: (GST_START_TEST):
19212           add unit tests for this change
19213
19214 2005-11-10  Wim Taymans  <wim@fluendo.com>
19215
19216         * docs/gst/gstreamer-sections.txt:
19217         * gst/gstelement.c:
19218         * gst/gstelement.h:
19219         Fix docs, move some STATE macros to private.
19220
19221 2005-11-10  Wim Taymans  <wim@fluendo.com>
19222
19223         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19224         Added check for bug #317341
19225
19226         * gst/gstbuffer.c:
19227         * gst/gstbuffer.h:
19228         Some more spiffifying.
19229
19230         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19231         Call peer linkfunction if we are a source pad. Totally fixes
19232         #317341
19233
19234         * gst/gstpad.c:
19235         Update docs, source pads should call the peer linkfunction
19236         so they can atomically perform the pad link.
19237
19238 2005-11-09  Wim Taymans  <wim@fluendo.com>
19239
19240         * gst/gstbuffer.c:
19241         * gst/gstbuffer.h:
19242         Uber-spiffy-spiffify some more.
19243
19244 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19245
19246         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19247         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19248         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19249         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19250         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19251         * gst/gstpad.c: (gst_pad_init):
19252           Use GST_DEBUG_FUNCPTR() more extensively.
19253
19254 2005-11-09  Wim Taymans  <wim@fluendo.com>
19255
19256         * gst/gstobject.c: (gst_object_class_init):
19257         * gst/gstobject.h:
19258         Documentation fixes.
19259
19260 2005-11-09  Edward Hervey  <edward@fluendo.com>
19261
19262         * gst/gsttypefindfactory.c:
19263         Fix docs.
19264         
19265 2005-11-09  Edward Hervey  <edward@fluendo.com>
19266
19267         * gst/base/gsttypefindhelper.c:
19268         * gst/gsttypefind.c:
19269         * gst/gsttypefind.h:
19270         Fix docs.
19271
19272 2005-11-09  Wim Taymans  <wim@fluendo.com>
19273
19274         * gst/gstiterator.c:
19275         Fix revision data.
19276
19277         * gst/gsttask.c:
19278         * gst/gsttask.h:
19279         Fix docs.
19280
19281 2005-11-09  Wim Taymans  <wim@fluendo.com>
19282
19283         * gst/gstevent.h:
19284         * gst/gsturi.h:
19285         Fix docs.
19286
19287 2005-11-09  Wim Taymans  <wim@fluendo.com>
19288
19289         * docs/gst/gstreamer-sections.txt:
19290         Moved the message async delivery private lock and cond
19291         to the private section.
19292
19293         * gst/gstmessage.c:
19294         * gst/gstmessage.h:
19295         Fixed docs.
19296
19297 2005-11-09  Edward Hervey  <edward@fluendo.com>
19298
19299         * docs/gst/gstreamer-sections.txt:
19300         * gst/gsturi.c:
19301         * gst/gsturi.h:
19302         Document GstURIHandler
19303
19304 2005-11-09  Wim Taymans  <wim@fluendo.com>
19305
19306         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19307         (gst_iterator_find_custom):
19308         * gst/gstiterator.h:
19309         Fix iterator docs.
19310
19311 2005-11-09  Wim Taymans  <wim@fluendo.com>
19312
19313         * gst/gstbin.h:
19314         Document another field.
19315
19316         * gst/gststructure.c:
19317         * gst/gststructure.h:
19318         Document.
19319
19320 2005-11-09  Wim Taymans  <wim@fluendo.com>
19321
19322         * gst/gstbin.h:
19323         Documented structs.
19324
19325 2005-11-09  Wim Taymans  <wim@fluendo.com>
19326
19327         * docs/gst/gstreamer-sections.txt:
19328         Added some new macros.
19329
19330         * gst/gstclock.c:
19331         * gst/gstclock.h:
19332         * gst/gstobject.h:
19333         Docs updates.
19334
19335 2005-11-09  Wim Taymans  <wim@fluendo.com>
19336
19337         * docs/design/part-TODO.txt:
19338         Some more items for the TODO
19339
19340         * gst/gstcaps.c:
19341         * gst/gstcaps.h:
19342         Document GstCaps.
19343
19344 2005-11-09  Andy Wingo  <wingo@pobox.com>
19345
19346         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19347         to work on something else now tho...
19348
19349         * gst/base/gstadapter.c: More adapter docs.
19350
19351         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19352         (gst_file_sink_stop): New functions, replace the state change
19353         handler.
19354         (gst_file_sink_class_init): Hook up the start and stop functions.
19355         (gst_file_sink_base_init): Don't set the state change handler any
19356         more. It was a bit ugly too, being set from here...
19357         (gst_file_sink_get_property, gst_file_sink_set_property):
19358         Cleanups...
19359         (gst_file_sink_set_location): More robust check that doesn't call
19360         GST_STATE. Ugggggg.
19361
19362 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19363
19364         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19365           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19366
19367 2005-11-08  Wim Taymans  <wim@fluendo.com>
19368
19369         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19370         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19371         (gst_base_sink_chain), (gst_base_sink_change_state):
19372         * gst/base/gstbasesink.h:
19373         * gst/base/gstbasesrc.h:
19374         * gst/gstelement.h:
19375         * gst/gstevent.h:
19376         Avoid excessive typechecking in macros.
19377
19378         * gst/gstminiobject.c: (gst_mini_object_get_type),
19379         (gst_mini_object_init), (gst_mini_object_new),
19380         (gst_mini_object_free):
19381         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19382         (gst_object_finalize):
19383         Remove cruft code, optimize alloc_trace.
19384
19385 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19386
19387         * docs/faq/gst-uninstalled:
19388           fix up PS1 for systems that try to reset it
19389
19390 2005-11-07  Wim Taymans  <wim@fluendo.com>
19391
19392         * gst/base/gstbasesrc.c: (gst_base_src_init),
19393         (gst_base_src_get_range):
19394         Set the segment_end to -1 initially. Fixed typefind.
19395
19396 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19397
19398         * gst/base/gstadapter.c:
19399           Debug category should be 'adapter', not 'GstAdapter'.
19400           
19401         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19402         (gst_collectpads_class_init), (gst_collectpads_init),
19403         (gst_collectpads_peek), (gst_collectpads_pop),
19404         (gst_collectpads_event), (gst_collectpads_chain):
19405           Add debug category and some debugging output. Use boilerplate
19406           macros. Remove some extraneous words from docs.
19407
19408 2005-11-05  Andy Wingo  <wingo@pobox.com>
19409
19410         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19411         macro.
19412
19413 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19414
19415         * docs/gst/gstreamer-sections.txt:
19416         * gst/gstcaps.h:
19417         * gst/gstinfo.c:
19418         * gst/gstminiobject.h:
19419         * gst/gstobject.h:
19420         * gst/gstutils.h:
19421           more docs added
19422
19423 2005-11-04  Wim Taymans  <wim@fluendo.com>
19424
19425         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19426         Small update to stop at the configured segment_end
19427         position.
19428
19429 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19430
19431         * gst/gstregistry.c:
19432         * gst/gstregistry.h:
19433           added missing docs
19434
19435 2005-11-04  Edward Hervey  <edward@fluendo.com>
19436
19437         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19438         Check if we are doing a segment seek and have arrived at the
19439         end of that segment.
19440
19441 2005-11-04  Wim Taymans  <wim@fluendo.com>
19442
19443         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19444         Don't leak a mutex unlock in case of an error.
19445
19446         * gst/gstbus.h:
19447         Doc fixes.
19448
19449 2005-11-04  Wim Taymans  <wim@fluendo.com>
19450
19451         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19452         (gst_bus_post):
19453         Get the context to wake up only once.
19454
19455 2005-11-03  Wim Taymans  <wim@fluendo.com>
19456
19457         * check/states/sinks.c: (GST_START_TEST):
19458         Uncomment fixed check.
19459
19460         * docs/design/part-TODO.txt:
19461         Updated TODO.
19462
19463         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19464         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19465         (gst_base_sink_get_position):
19466         If we are going to PLAYING, post the right pending state
19467         when we post the intermediate paused message.
19468
19469         * gst/gstelement.c: (gst_element_continue_state),
19470         (gst_element_set_state_func), (gst_element_change_state):
19471         Don't post state changes that were between the same state
19472         and were not ASYNC.
19473
19474 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19475
19476         * docs/gst/gstreamer-sections.txt:
19477         * gst/gstcaps.h:
19478         * gst/gstinfo.c:
19479         * gst/gstminiobject.h:
19480         * gst/gstobject.h:
19481         * gst/gstutils.h:
19482           more docs and doc style fixes
19483
19484 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19485
19486         * docs/gst/gstreamer-sections.txt:
19487         * gst/gstelement.c:
19488         * gst/gstminiobject.c:
19489         doc fixes
19490
19491 2005-11-03  Andy Wingo  <wingo@pobox.com>
19492
19493         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19494         state-changed messages actually have the right order and the right
19495         values.
19496
19497 2005-11-03  Wim Taymans  <wim@fluendo.com>
19498
19499         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19500         Added some more checks. Specifically the case where NO_PREROLL
19501         elements are in the pipeline.
19502
19503         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19504         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19505         (gst_base_sink_get_position):
19506         Post READY->PAUSED state change messages too.
19507         Fix bug where VOID was posted as pending state...
19508
19509         * gst/gstbin.c: (gst_bin_recalc_state):
19510         use _element_continue_state() to continue the state change.
19511
19512         * gst/gstelement.c: (gst_element_continue_state),
19513         (gst_element_commit_state), (gst_element_set_state_func),
19514         (gst_element_change_state), (gst_element_change_state_func):
19515         Lots of state change cleanups, assign the STATE_RETURN in
19516         a new continue_state() function that also propagates the
19517         last return value from a state change to the app.
19518         Update some debug statements with proper category.
19519
19520 2005-11-03  Wim Taymans  <wim@fluendo.com>
19521
19522         * docs/design/part-events.txt:
19523         * docs/design/part-gstpipeline.txt:
19524         * docs/design/part-messages.txt:
19525         * docs/design/part-overview.txt:
19526         * docs/design/part-seeking.txt:
19527         * docs/design/part-states.txt:
19528         * docs/design/part-trickmodes.txt:
19529         * docs/manual/advanced-position.xml:
19530         Small docs updates.
19531
19532         * gst/gstobject.h:
19533         People think !! is ugly, this looks better.
19534
19535         * gst/gstpad.c: (gst_pad_set_blocked_async):
19536         Remove !! since it's fixed elsewhere now.
19537
19538 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19539
19540         * gst/gstminiobject.h:
19541         * gst/gstobject.h:
19542           Add !! to _FLAG_IS_SET macros to make the result boolean.
19543
19544 2005-11-03  Edward Hervey  <edward@fluendo.com>
19545
19546         * gst/gstpad.c: (gst_pad_set_blocked_async):
19547         comparing a flag and a gboolean rarely returns coherent results...
19548         Added two characters (!!) to make that work correctly.
19549         
19550 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19551
19552         * gst/gstbus.c: (gst_bus_class_init):
19553           Fix some typos.
19554           
19555         * gst/gstqueue.c: (gst_queue_loop):
19556           Don't assume a miniobject that isn't a buffer is an
19557           event (it could be that there is a refcounting
19558           problem somewhere and the pointer is stale and
19559           refers to an already destroyed miniobject).
19560
19561 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19562
19563         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19564
19565 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19566
19567         * docs/manual/advanced-position.xml:
19568           Update seek example and explanations to current 0.9 API.
19569
19570         * gst/elements/gsttypefindelement.c:
19571         (gst_type_find_element_activate):
19572           Remove FIXME comment now that the found caps
19573           are unreffed.
19574
19575 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19576
19577         * gst/gstregistryxml.c: (load_feature):
19578           Add another GST_STR_NULL instance
19579
19580 2005-11-02  Edward Hervey  <edward@fluendo.com>
19581
19582         * gst/gstpad.c: (handle_pad_block):
19583         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19584         
19585 2005-11-02  Wim Taymans  <wim@fluendo.com>
19586
19587         * gst/gstbin.c:
19588         Fix typo in docs.
19589
19590         * gst/gstelement.c: (gst_element_commit_state):
19591         Remove unused value.
19592
19593         * gst/gstiterator.c:
19594         Mention that the returned element is reffed in the docs.
19595
19596 2005-11-02  Wim Taymans  <wim@fluendo.com>
19597
19598         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19599         (gst_pad_push), (gst_pad_push_event):
19600         Unlock blocked pads when they are flushed.
19601
19602 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19603
19604         * docs/README:
19605         * docs/gst/gstreamer-sections.txt:
19606         * gst/gstbin.c:
19607           doc updates
19608         * gst/gstregistry.c: (gst_registry_scan_path_level):
19609           fix for a nasty little missed situation where an installed plug-in
19610           which was in the cache did not get overridden by an uninstalled one
19611           which was earlier in the plugin path because the newly created plugin
19612           for the uninstalled one (not in the registry) didn't get its
19613           ->registered set to TRUE
19614
19615 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19616
19617         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19618         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19619         (gst_collectpads_is_active), (gst_collectpads_collect),
19620         (gst_collectpads_collect_range), (gst_collectpads_start),
19621         (gst_collectpads_stop), (gst_collectpads_peek),
19622         (gst_collectpads_pop), (gst_collectpads_available),
19623         (gst_collectpads_read), (gst_collectpads_flush):
19624           Guard public API with assertions.
19625         
19626         * gst/gstpad.c:
19627           Fix docs for gst_pad_set_link_function().
19628
19629 2005-11-02  Johan Dahlin  <johan@gnome.org>
19630
19631         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
19632         Unref found_caps after we used it.
19633
19634 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19635
19636         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19637           Don't try to ref NULL.
19638
19639 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19640
19641         * win32/common/config.h.in:
19642           provide a GST_FUNCTION that just gives a string for now
19643
19644 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19645
19646         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19647         (gst_object_flags_get_type), (register_gst_bin_flags),
19648         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19649         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19650         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19651         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19652         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19653         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19654         (gst_clock_flags_get_type), (register_gst_state),
19655         (gst_state_get_type), (register_gst_state_change_return),
19656         (gst_state_change_return_get_type), (register_gst_state_change),
19657         (gst_state_change_get_type), (register_gst_element_flags),
19658         (gst_element_flags_get_type), (register_gst_core_error),
19659         (gst_core_error_get_type), (register_gst_library_error),
19660         (gst_library_error_get_type), (register_gst_resource_error),
19661         (gst_resource_error_get_type), (register_gst_stream_error),
19662         (gst_stream_error_get_type), (register_gst_event_type),
19663         (gst_event_type_get_type), (register_gst_seek_type),
19664         (gst_seek_type_get_type), (register_gst_seek_flags),
19665         (gst_seek_flags_get_type), (register_gst_format),
19666         (gst_format_get_type), (register_gst_index_certainty),
19667         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19668         (gst_index_entry_type_get_type),
19669         (register_gst_index_lookup_method),
19670         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19671         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19672         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19673         (gst_index_flags_get_type), (register_gst_debug_level),
19674         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19675         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19676         (gst_iterator_result_get_type), (register_gst_iterator_item),
19677         (gst_iterator_item_get_type), (register_gst_message_type),
19678         (gst_message_type_get_type), (register_gst_mini_object_flags),
19679         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19680         (gst_pad_link_return_get_type), (register_gst_flow_return),
19681         (gst_flow_return_get_type), (register_gst_activate_mode),
19682         (gst_activate_mode_get_type), (register_gst_pad_direction),
19683         (gst_pad_direction_get_type), (register_gst_pad_flags),
19684         (gst_pad_flags_get_type), (register_gst_pad_presence),
19685         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19686         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19687         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19688         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19689         (gst_plugin_flags_get_type), (register_gst_rank),
19690         (gst_rank_get_type), (register_gst_query_type),
19691         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19692         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19693         (gst_tag_flag_get_type), (register_gst_task_state),
19694         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19695         (gst_alloc_trace_flags_get_type),
19696         (register_gst_type_find_probability),
19697         (gst_type_find_probability_get_type), (register_gst_uri_type),
19698         (gst_uri_type_get_type), (register_gst_parse_error),
19699         (gst_parse_error_get_type):
19700         * win32/common/gstversion.h:
19701           update win32 copies
19702
19703 2005-11-01  Luca Ognibene  <luogni@tin.it>
19704
19705         * gst/gst.c:
19706           fix docs. popt is dead, long live GOption.
19707
19708 2005-10-31  Wim Taymans  <wim@fluendo.com>
19709
19710         * gst/gstbuffer.h:
19711         Small doc fix.
19712
19713 2005-10-31  Andy Wingo  <wingo@pobox.com>
19714
19715         * Boo!
19716
19717         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19718
19719         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19720         need to serialize property notifications on GLib 2.8. GLib 2.6 has
19721         the possibility of deadlocks here if code calling notify() or
19722         set() has a lock that can be taken in another notify handler (ABBA
19723         with class lock and e.g. python GIL state lock).
19724
19725 2005-10-28  Julien MOUTTE  <julien@moutte.net>
19726
19727         * gst/gstbus.c: Doc updates.
19728
19729 2005-10-28  Wim Taymans  <wim@fluendo.com>
19730
19731         * docs/design/part-TODO.txt:
19732         * gst/gstiterator.c:
19733         * gst/gstsystemclock.c:
19734         * gst/gstsystemclock.h:
19735         Doc updates.
19736
19737 2005-10-28  Edward Hervey  <edward@fluendo.com>
19738
19739         * docs/gst/gstreamer-docs.sgml:
19740         * docs/gst/gstreamer-sections.txt:
19741         the GstURIType documentation page is private, it only defines GstURIType
19742         which should be defined in the GstURIHandler page
19743         
19744 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19745
19746         * gst/gstbin.c: (gst_bin_class_init):
19747         * gst/gstbin.h:
19748         * gst/gstutils.c:
19749         Documentation updates.
19750
19751 2005-10-28  Wim Taymans  <wim@fluendo.com>
19752
19753         * docs/gst/gstreamer-sections.txt:
19754         * gst/gstclock.c:
19755         * gst/gstclock.h:
19756         Documented the clocks.
19757
19758 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
19759
19760         * docs/gst/gstreamer-sections.txt:
19761           move some macros to private sections
19762         * gst/gstminiobject.c:
19763         * gst/gstminiobject.h:
19764           add descriptions provided by ds and some more
19765         * gst/gstpad.h:
19766           mark macro as to be removed
19767
19768 2005-10-28  Wim Taymans  <wim@fluendo.com>
19769
19770         * docs/design/part-TODO.txt:
19771         Add an item to TODO.
19772
19773         * gst/gstiterator.c: (gst_iterator_fold),
19774         (gst_iterator_find_custom):
19775         * gst/gstiterator.h:
19776         Add iterator docs.
19777
19778 2005-10-28  Wim Taymans  <wim@fluendo.com>
19779
19780         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19781         (gst_base_transform_init):
19782         Don't leak class.
19783
19784         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19785         An EOS event marks the queue as completely filled.
19786
19787 2005-10-27  Wim Taymans  <wim@fluendo.com>
19788
19789         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19790         (gst_base_sink_do_sync), (gst_base_sink_get_position):
19791         Some more debugging.
19792
19793         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19794         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19795         (gst_base_transform_event), (gst_base_transform_getrange),
19796         (gst_base_transform_chain):
19797         * gst/base/gstbasetransform.h:
19798         Fix debugging,
19799         Protect transform and concurrent buffer alloc with a new lock.
19800         Try not to break ABI/API.
19801
19802 2005-10-27  Wim Taymans  <wim@fluendo.com>
19803
19804         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19805         (gst_base_src_init), (gst_base_src_query),
19806         (gst_base_src_default_newsegment),
19807         (gst_base_src_configure_segment), (gst_base_src_do_seek),
19808         (gst_base_src_send_event), (gst_base_src_event_handler),
19809         (gst_base_src_pad_get_range), (gst_base_src_loop),
19810         (gst_base_src_unlock), (gst_base_src_default_negotiate),
19811         (gst_base_src_start), (gst_base_src_deactivate),
19812         (gst_base_src_activate_push), (gst_base_src_change_state):
19813         Move some stuff around and cleanup things.
19814
19815 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
19816
19817         * gst/base/gstbasesrc.c: (gst_base_src_query):
19818           Add missing break statements.
19819
19820 2005-10-27  Wim Taymans  <wim@fluendo.com>
19821
19822         * check/gst/gstbin.c: (GST_START_TEST):
19823         An extra refcount is taken in basesrc.
19824
19825         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19826         (gst_base_src_get_range), (gst_base_src_pad_get_range),
19827         (gst_base_src_loop):
19828         Small cleanups, check for flushing after being unlocked from the 
19829         LIVE_LOCK. take refcounts correctly (not yet everywhere).
19830         Don't send out EOS when going to READY.
19831
19832 2005-10-27  Wim Taymans  <wim@fluendo.com>
19833
19834         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19835         (gst_base_sink_get_position):
19836         Some more debug.
19837
19838         * gst/gstbin.c: (message_check), (bin_replace_message),
19839         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19840         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19841         (bin_query_duration_init), (bin_query_duration_fold),
19842         (bin_query_duration_done), (bin_query_generic_fold),
19843         (gst_bin_query):
19844         * tools/gst-launch.c: (main):
19845         Remove old option.
19846
19847 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
19848
19849         * examples/controller/audio-example.c: (main):
19850         * examples/queue/queue.c: (event_loop):
19851         * gst/base/gstbasetransform.h:
19852         * gst/gstelement.c: (gst_element_send_event):
19853         * gst/gstevent.h:
19854         * gst/gstpad.c: (gst_pad_send_event):
19855           fixing examples
19856           fixing docs typos
19857           changing log priority in error situations
19858
19859 2005-10-25  Wim Taymans  <wim@fluendo.com>
19860
19861         * gst/gstbin.c: (message_check), (bin_replace_message),
19862         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19863         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19864         (bin_query_duration_init), (bin_query_duration_fold),
19865         (bin_query_duration_done), (bin_query_generic_fold),
19866         (gst_bin_query):
19867         Some doc and debug updates.
19868         Cache previously requested query DURATION for speed. invalidate
19869         cached duration if element posts a DURATION message.
19870
19871 2005-10-25  Wim Taymans  <wim@fluendo.com>
19872
19873         * docs/design/part-TODO.txt:
19874         Update TODO.
19875
19876         * gst/gstbin.c: (message_check), (bin_replace_message),
19877         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19878         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19879         (bin_query_duration_init), (bin_query_duration_fold),
19880         (bin_query_duration_done), (bin_query_generic_fold),
19881         (gst_bin_query):
19882         Handle SEGMENT_START/DONE messages correctly.
19883         More evolved query algorithm that handles duration queries
19884         correctly.
19885
19886         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19887         (gst_element_get_state_func), (gst_element_abort_state),
19888         (gst_element_commit_state), (gst_element_lost_state):
19889         Some more debugging.
19890
19891         * gst/gstmessage.h:
19892         Added doc.
19893
19894 2005-10-25  Wim Taymans  <wim@fluendo.com>
19895
19896         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19897         Don't use invalid stream_time.
19898
19899         * gst/gstevent.c: (gst_event_new_newsegment):
19900         stream_time in newsegment cannot be undefined.
19901
19902 2005-10-24  Wim Taymans  <wim@fluendo.com>
19903
19904         * gst/gstbus.c:
19905         Doc fix.
19906
19907         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19908         (gst_queue_loop):
19909         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
19910
19911 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
19912
19913         * docs/libs/tmpl/gstdparam.sgml:
19914         * docs/libs/tmpl/gstdplinint.sgml:
19915         * docs/libs/tmpl/gstdpman.sgml:
19916         * docs/libs/tmpl/gstdpsmooth.sgml:
19917         * docs/libs/tmpl/gstunitconvert.sgml:
19918           these are obsolete
19919
19920 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19921
19922         * configure.ac:
19923           back to HEAD
19924
19925 === release 0.9.4 ===
19926
19927 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19928
19929         * configure.ac:
19930           releasing 0.9.4, "Tyrannosaurus Rex"
19931
19932 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
19933
19934         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19935         (gst_file_sink_get_current_offset):
19936           Use fseeko() and ftello() if available. When falling back on
19937           lseek() to get the current offset, fflush() first to make sure
19938           everything is up-to-date and we get the right offset.
19939
19940 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19941
19942         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19943         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19944         * gst/gsterror.c: (_gst_stream_errors_init):
19945         * gst/gsterror.h:
19946         * gst/gstqueue.c: (gst_queue_loop):
19947         * po/POTFILES.in:
19948           remove prematurely added error category and clean up the instances
19949
19950 2005-10-21  Wim Taymans  <wim@fluendo.com>
19951
19952         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19953         (gst_base_sink_get_position), (gst_base_sink_query),
19954         (gst_base_sink_change_state):
19955         Simply set the right flag when going to playing, that's all
19956         we need to do instead of calling a function inside the object
19957         lock (that could take the lock as well and deadlock)
19958
19959 2005-10-21  Wim Taymans  <wim@fluendo.com>
19960
19961         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
19962         (gst_base_src_loop):
19963         Don't warn, the peer element knows what to do best when
19964         the seek failed, it might try something else.
19965
19966 2005-10-21  Wim Taymans  <wim@fluendo.com>
19967
19968         * gst/base/gstbasesrc.c: (gst_base_src_init),
19969         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19970         Fix seeking.
19971
19972 2005-10-21  Wim Taymans  <wim@fluendo.com>
19973
19974         * docs/design/part-segments.txt:
19975         More docs.
19976
19977         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
19978         Correctly set caps, even on the subbufer.
19979
19980 2005-10-21  Wim Taymans  <wim@fluendo.com>
19981
19982         * docs/gst/gstreamer-docs.sgml:
19983         * docs/gst/gstreamer-sections.txt:
19984         * gst/gstelement.h:
19985         * gst/gstevent.c:
19986         * gst/gstevent.h:
19987         * gst/gstmessage.h:
19988         * gst/gstpad.h:
19989         * gst/gstparse.h:
19990         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
19991         * gst/gsttask.h:
19992         * gst/gstutils.c:
19993         * gst/gstutils.h:
19994         And 2% more doc coverage.
19995
19996 2005-10-21  Andy Wingo  <wingo@pobox.com>
19997
19998         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
19999         position reporting.
20000
20001 2005-10-20  Wim Taymans  <wim@fluendo.com>
20002
20003         * gst/gsterror.c: (gst_error_get_message):
20004         * gst/gstparse.h:
20005         * gst/gstquery.h:
20006         * gst/gststructure.c:
20007         * gst/gsttrace.c:
20008         * gst/gstutils.c:
20009         More docs.
20010
20011 2005-10-20  Wim Taymans  <wim@fluendo.com>
20012
20013         * gst/gstbuffer.h:
20014         * gst/gstpad.c:
20015         * gst/gstparse.c:
20016         Another 1% more coverage.
20017
20018 2005-10-20  Wim Taymans  <wim@fluendo.com>
20019
20020         * docs/gst/gstreamer-sections.txt:
20021         * gst/gstelement.c: (gst_element_get_state_func),
20022         (gst_element_abort_state), (gst_element_commit_state),
20023         (gst_element_lost_state):
20024         * gst/gstevent.h:
20025         * gst/gstquery.c: (gst_query_set_position),
20026         (gst_query_parse_position), (gst_query_set_duration),
20027         (gst_query_parse_duration), (gst_query_new_convert):
20028         * gst/gstutils.c:
20029         Yay! 1% more docs coverage.
20030
20031 2005-10-20  Wim Taymans  <wim@fluendo.com>
20032
20033         * gst/gstpad.h:
20034         * gst/gstquery.c: (gst_query_set_position),
20035         (gst_query_parse_position), (gst_query_set_duration),
20036         (gst_query_parse_duration), (gst_query_new_convert):
20037         * gst/gstquery.h:
20038         * gst/gstutils.c: (gst_element_query_convert):
20039         * gst/gstutils.h:
20040         Docs and consistency fixes.
20041
20042 2005-10-20  Wim Taymans  <wim@fluendo.com>
20043
20044         * gst/gsttask.c:
20045         * gst/gsttask.h:
20046         More docs.
20047
20048 2005-10-20  Wim Taymans  <wim@fluendo.com>
20049
20050         * gst/gstbin.c: (message_check), (bin_replace_message),
20051         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20052         (update_degree), (gst_bin_sort_iterator_next),
20053         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20054         Reworked the message handling a bit, cache the messages instead of
20055         only the senders. alows us to do more in the future.
20056
20057 2005-10-20  Wim Taymans  <wim@fluendo.com>
20058
20059         * docs/design/part-TODO.txt:
20060         Update TODO
20061
20062         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20063         (gst_base_sink_query):
20064         Don't use clock time to report position when in EOS.
20065
20066 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20067
20068         * tools/gst-inspect.c: (print_interfaces),
20069         (print_element_properties_info), (print_element_info):
20070           Fix interface output with gst-inspect -a; don't print
20071           newlines after double/float properties.
20072
20073 2005-10-20  Wim Taymans  <wim@fluendo.com>
20074
20075         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20076         (gst_base_sink_query):
20077         Speed up current position calculation.
20078
20079         * gst/base/gstbasesrc.c: (gst_base_src_query),
20080         (gst_base_src_default_newsegment):
20081         Correctly set stream position in newsegment.
20082
20083         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20084         (update_degree), (gst_bin_sort_iterator_next),
20085         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20086         * gst/gstmessage.c: (gst_message_new_custom):
20087         Clean up debugging info
20088
20089         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20090         (gst_queue_loop), (gst_queue_handle_src_query):
20091         Pause task faster.
20092
20093 2005-10-19  Wim Taymans  <wim@fluendo.com>
20094
20095         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20096         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20097         Fix query handling again.
20098
20099 2005-10-19  Wim Taymans  <wim@fluendo.com>
20100
20101         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20102         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20103         * gst/base/gstbasesrc.c: (gst_base_src_query):
20104         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20105         * gst/elements/gsttypefindelement.c:
20106         (gst_type_find_handle_src_query), (find_element_get_length),
20107         (gst_type_find_element_activate):
20108         API change fix.
20109
20110         * gst/gstquery.c: (gst_query_new_position),
20111         (gst_query_set_position), (gst_query_parse_position),
20112         (gst_query_new_duration), (gst_query_set_duration),
20113         (gst_query_parse_duration), (gst_query_set_segment),
20114         (gst_query_parse_segment):
20115         * gst/gstquery.h:
20116         Bundling query position/duration is not a good idea since duration
20117         does not change much and we don't want to recalculate it for every
20118         position query, so they are separated again..
20119         Base value in segment query is not needed.
20120
20121         * gst/gstqueue.c: (gst_queue_handle_src_query):
20122         * gst/gstutils.c: (gst_element_query_position),
20123         (gst_element_query_duration), (gst_pad_query_position),
20124         (gst_pad_query_duration):
20125         * gst/gstutils.h:
20126         Updates for query API change.
20127         Added some docs here and there.
20128
20129 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20130
20131         * check/gst/gstbin.c: (GST_START_TEST):
20132         * check/gst/gstghostpad.c: (GST_START_TEST):
20133         * check/pipelines/cleanup.c: (GST_START_TEST):
20134           wait on thread to die so we can check refcount correctly
20135
20136 2005-10-18  Wim Taymans  <wim@fluendo.com>
20137
20138         * check/pipelines/stress.c: (GST_START_TEST):
20139         Make check a little more time consuming.
20140
20141 2005-10-18  Wim Taymans  <wim@fluendo.com>
20142
20143         * check/Makefile.am:
20144         * check/pipelines/stress.c: (GST_START_TEST),
20145         (simple_launch_lines_suite), (main):
20146         Small state change torture test.
20147
20148         * docs/design/part-states.txt:
20149         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20150         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20151         (gst_base_sink_change_state):
20152         Never take state lock from streaming thread, clean up ugly
20153         hacks. Unfortunatly core does not yet support nice ways to
20154         async commit state.
20155         
20156         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20157         (bin_bus_handler):
20158         Start state recalc if a STATE_DIRTY message is posted, but only
20159         on the toplevel bin.
20160
20161         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20162         (gst_element_get_state_func), (gst_element_abort_state),
20163         (gst_element_commit_state), (gst_element_lost_state),
20164         (gst_element_set_state_func), (gst_element_change_state):
20165         * gst/gstelement.h:
20166         State variables are now protected with the LOCK, the state
20167         lock is only used to serialize _set_state().
20168
20169 2005-10-18  Wim Taymans  <wim@fluendo.com>
20170
20171         * check/gst/gstbin.c: (GST_START_TEST):
20172         * check/gst/gstmessage.c: (GST_START_TEST):
20173         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20174         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20175         (bin_bus_handler):
20176         * gst/gstelement.c: (gst_element_abort_state),
20177         (gst_element_commit_state), (gst_element_lost_state):
20178         * gst/gstmessage.c: (gst_message_new_state_changed),
20179         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20180         (gst_message_new_segment_done), (gst_message_new_duration),
20181         (gst_message_parse_state_changed),
20182         (gst_message_parse_segment_start),
20183         (gst_message_parse_segment_done), (gst_message_parse_duration):
20184         * gst/gstmessage.h:
20185         * tools/gst-launch.c: (event_loop):
20186         Seriously, this is better than a previous commit as we only need
20187         to notify the fact that an element changed state in a streaming
20188         thread, marking the state of the parents dirty, hence the 
20189         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20190         message.
20191
20192 2005-10-18  Wim Taymans  <wim@fluendo.com>
20193
20194         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20195         (gst_bin_recalc_func):
20196         * gst/gstelement.c: (gst_element_set_clock),
20197         (gst_element_abort_state), (gst_element_lost_state):
20198         Cleanups, prepare for state change fixes.
20199
20200 2005-10-18  Wim Taymans  <wim@fluendo.com>
20201
20202         * gst/gstbin.h:
20203         * gst/gstelement.c: (gst_element_class_init),
20204         (gst_element_set_state), (gst_element_set_state_func):
20205         * gst/gstelement.h:
20206         Pending ABI changes.
20207         GThreadPool in GstBinClass to monitor async state changes.
20208         state_cookie in GstElement to detect concurrent gst/set state.
20209         set_state is now virtual too in case a very complicated element
20210         has to be constructed.
20211
20212 2005-10-18  Wim Taymans  <wim@fluendo.com>
20213
20214         * check/gst/gstbin.c: (GST_START_TEST):
20215         * check/gst/gstmessage.c: (GST_START_TEST):
20216         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20217         * gst/gstbin.c: (bin_bus_handler):
20218         * gst/gstelement.c: (gst_element_commit_state),
20219         (gst_element_lost_state):
20220         * gst/gstmessage.c: (gst_message_new_state_changed),
20221         (gst_message_new_segment_start), (gst_message_new_segment_done),
20222         (gst_message_new_duration), (gst_message_parse_state_changed),
20223         (gst_message_parse_segment_start),
20224         (gst_message_parse_segment_done), (gst_message_parse_duration):
20225         * gst/gstmessage.h:
20226         * tools/gst-launch.c: (event_loop):
20227         Make messages future proof.
20228         state-change gets a flag if it was a message comming from the
20229         streaming thread.
20230         segment-start/stop can also be specified in other formats.
20231         A message to notify an app that a pipeline changed playback 
20232         duration.
20233         Also fix a GstMessage leak in -launch
20234
20235 2005-10-18  Andy Wingo  <wingo@pobox.com>
20236
20237         * gst/gstelement.c (gst_element_dispose): More helpful message.
20238
20239 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20240
20241         reviewed by: <delete if not using a buddy>
20242
20243         * common/gtk-doc.mak:
20244
20245 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20246
20247         * gst/gstregistry.c: (gst_registry_scan_path_level):
20248           unref a plug-in we get that was already initialized
20249
20250 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20251
20252         * docs/gst/gstreamer-sections.txt:
20253         * docs/libs/gstreamer-libs-sections.txt:
20254         * gst/gstelement.h:
20255           add new api entries
20256           hide internal macro
20257
20258 2005-10-17  Andy Wingo  <wingo@pobox.com>
20259
20260         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20261         cleanup.
20262
20263         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20264
20265         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20266
20267         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20268         (gst_element_get_state_func): Better debug message.
20269         (gst_element_commit_state): s/INFO/DEBUG/.
20270         (gst_element_lost_state, gst_element_change_state): 
20271
20272         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20273         (gst_message_new_custom): s/INFO/LOG/.
20274
20275 2005-10-17  Michael Smith <msmith@fluendo.com>
20276
20277         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20278           Check if end time is valid using end time, not start time.
20279
20280 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20281
20282         * check/gst-libs/controller.c: (GST_START_TEST),
20283         (gst_controller_suite):
20284         * libs/gst/controller/gstcontroller.c:
20285         (gst_controlled_property_set_interpolation_mode):
20286         * libs/gst/controller/gstcontroller.h:
20287         * libs/gst/controller/gstinterpolation.c:
20288         * testsuite/controller/.cvsignore:
20289         * testsuite/controller/Makefile.am:
20290         * testsuite/controller/interpolator.c:
20291           merge controller testsuites
20292           fix broken tests
20293           remove mem-chunk from docs
20294
20295 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20296
20297         * gst/gstmemchunk.c:
20298         * gst/gstmemchunk.h:
20299         * gst/gsttrashstack.c:
20300         * gst/gsttrashstack.h:
20301           out.  get out.  you're fired.  to the Attic !
20302
20303 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20304
20305         * gst/gstcaps.c: (gst_caps_intersect):
20306           fix signedness issues in a (hopefully) correct way
20307         * gst/gstelement.c: (gst_element_pads_activate):
20308           some debugging
20309         * gst/gstobject.c: (gst_object_set_parent):
20310           some debugging
20311
20312 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20313
20314         * gst/gstvalue.h: Fix prototypes.
20315
20316 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20317
20318         * docs/gst/gstreamer-sections.txt:
20319         * gst/gst.c: (gst_version_string):
20320         * gst/gst.h:
20321         * gst/gstversion.h.in:
20322         * win32/common/libgstreamer.def:
20323           add gst_version_string ()
20324
20325 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20326
20327         * configure.ac:
20328           clean up further
20329         * gst/gst.c: (init_post):
20330         * win32/common/config.h.in:
20331           it's PLUGINDIR now
20332         * gst/gstcaps.c: (gst_caps_intersect):
20333           use gint64, the range could be bigger than a guint
20334
20335 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20336
20337         * gst/gstclock.h:
20338           document potential problem in 2038
20339
20340 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20341
20342         * gst/gstcaps.c: (gst_caps_intersect):
20343           Fix guint j diving under 0
20344
20345 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20346
20347         * configure.ac:
20348         * win32/common/config.h:
20349         * win32/common/config.h.in:
20350           check for process.h, declares getpid() on Windows
20351         * gst/gstinfo.c:
20352           include process.h if we have it
20353         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20354         * gst/gstmemchunk.h:
20355           fix signedness issues
20356         * win32/common/libgstreamer.def:
20357           fix get_type's
20358
20359 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20360
20361         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20362         fix. Because of unsigned ints, caps intersection was going nuts and
20363         trying to access structures with G_MAXUINT index. That fixes
20364         videotestsrc ! ffmpegcolorspace ! fakesink
20365         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20366         consistency.
20367
20368 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20369
20370         * configure.ac:
20371           use the gettext macro
20372         * gst/elements/gstelements.c:
20373         * gst/gst.c:
20374         * gst/indexers/gstindexers.c:
20375           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20376         * win32/common/config.h:
20377           updated config.h
20378         * win32/common/config.h.in:
20379           add the template to generate config.h
20380         * win32/common/gstenumtypes.c:
20381         * win32/common/gstversion.h:
20382           updated copies
20383
20384 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20385
20386         * gst/gst.c: (gst_version):
20387         * gst/gstversion.h.in:
20388           add the nano
20389
20390 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20391
20392         * gst/gstevent.h:
20393           Oops, add missing closing bracket.
20394
20395 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20396
20397         * configure.ac:
20398           use common m4's for argument checking
20399
20400 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20401
20402         * docs/gst/gstreamer-sections.txt:
20403         * gst/gstevent.h:
20404           Add GST_EVENT_TYPE_NAME() macro.
20405
20406 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20407
20408         * gst/gstinfo.c:
20409         * gst/gstpluginfeature.c:
20410         * gst/gsttask.c:
20411           privatize more symbols
20412
20413 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20414
20415         * configure.ac:
20416           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20417           everything that uses GStreamer API should have the includes
20418
20419 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20420
20421         * docs/gst/gstreamer-sections.txt:
20422         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20423         * gst/gstvalue.h:
20424           give each value a _get_type, removes the DATA exports
20425
20426 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20427
20428         * gst/gst.c:
20429         * gst/gst.h:
20430           remove _gst_registry_auto_load, not used anymore
20431         * gst/gstbin.c: (gst_bin_get_type):
20432         * gst/gstbin.h:
20433         * gst/gstelement.c: (gst_element_get_type):
20434         * gst/gstelement.h:
20435         * gst/gstobject.c: (gst_object_get_type):
20436         * gst/gstobject.h:
20437         * gst/gstpad.c: (gst_pad_get_type):
20438         * gst/gstpad.h:
20439           make _get_type functions similar, fixes data export from library
20440
20441 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20442
20443         * configure.ac:
20444           correctly make conditionals
20445         * gst/elements/Makefile.am:
20446         * gst/elements/gstelements.c:
20447           fix typo causing fdsrc not to build
20448
20449 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20450
20451         * testsuite/Makefile.am:
20452         * testsuite/bytestream/.cvsignore:
20453         * testsuite/bytestream/Makefile.am:
20454         * testsuite/bytestream/filepadsink.c:
20455         * testsuite/bytestream/gstbstest.c:
20456         * testsuite/bytestream/test1.c:
20457         * testsuite/bytestream/testfile1:
20458         * testsuite/caps/normalisation.c:
20459         * testsuite/caps/random.c: (main):
20460         * testsuite/cleanup/.cvsignore:
20461         * testsuite/cleanup/Makefile.am:
20462         * testsuite/cleanup/cleanup1.c:
20463         * testsuite/cleanup/cleanup2.c:
20464         * testsuite/cleanup/cleanup3.c:
20465         * testsuite/cleanup/cleanup4.c:
20466         * testsuite/cleanup/cleanup5.c:
20467         * testsuite/controller/interpolator.c:
20468         * testsuite/debug/printf_extension.c: (main):
20469         * testsuite/elements/tee.c:
20470         * testsuite/negotiation/.cvsignore:
20471         * testsuite/negotiation/Makefile.am:
20472         * testsuite/negotiation/pad_link.c:
20473         * testsuite/pad/Makefile.am:
20474         * testsuite/pad/chainnopull.c:
20475         * testsuite/pad/getnopush.c:
20476         * testsuite/pad/link.c:
20477         * testsuite/refcounting/sched.c: (create_pipeline):
20478         * testsuite/registry/Makefile.am:
20479         * testsuite/registry/gst-print-formats.c:
20480         * testsuite/schedulers/.cvsignore:
20481         * testsuite/schedulers/142183-2.c:
20482         * testsuite/schedulers/142183.c:
20483         * testsuite/schedulers/143777-2.c:
20484         * testsuite/schedulers/143777.c:
20485         * testsuite/schedulers/147713.c:
20486         * testsuite/schedulers/147819.c:
20487         * testsuite/schedulers/147894-2.c:
20488         * testsuite/schedulers/147894.c:
20489         * testsuite/schedulers/Makefile.am:
20490         * testsuite/schedulers/group_link.c:
20491         * testsuite/schedulers/queue_link.c:
20492         * testsuite/schedulers/relink.c:
20493         * testsuite/schedulers/unlink.c:
20494         * testsuite/schedulers/unref.c:
20495         * testsuite/schedulers/useless_iteration.c:
20496         * testsuite/states/bin.c:
20497           clean out/remove some stuff from the testsuite directories
20498
20499 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20500
20501         * configure.ac:
20502           check for some headers
20503         * gst/elements/Makefile.am:
20504         * gst/elements/gstelements.c:
20505           don't compile fdsrc without sys/socket.h
20506         * gst/indexers/Makefile.am:
20507         * gst/indexers/gstindexers.c: (plugin_init):
20508           don't compile fileindex without mmap
20509
20510 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20511
20512         * configure.ac:
20513           reorganize
20514           clean up
20515           document more
20516           remove cruft
20517         * check/Makefile.am:
20518         * docs/gst/Makefile.am:
20519         * examples/helloworld/Makefile.am:
20520         * gst/Makefile.am:
20521         * gst/base/Makefile.am:
20522         * gst/check/Makefile.am:
20523         * gst/elements/Makefile.am:
20524         * gst/indexers/Makefile.am:
20525         * gst/parse/Makefile.am:
20526         * libs/gst/controller/Makefile.am:
20527         * libs/gst/dataprotocol/Makefile.am:
20528         * examples/helloworld/helloworld.c: (event_loop):
20529           compile fixes, though it's not being compiled currently
20530
20531 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20532
20533         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20534           Add some simple tests for the new taglist date API.
20535
20536 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20537
20538         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20539         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20540           Beautify 'last-message' output: print 'none' for buffer timestamps
20541           and durations if none is set; improve alignment with next messages.
20542
20543 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20544
20545         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20546         * gst/gstpluginfeature.h:
20547         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20548         * gst/gstregistry.h:
20549         * docs/gst/gstreamer-sections.txt:
20550           Add new API to check plugin feature version requirements.
20551
20552         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20553           Some basic tests for the above.         
20554
20555 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20556
20557         * gst/gststructure.c: (gst_structure_to_string):
20558           guard against NULL printf - happens when for example
20559           a message structure with GstClock gets serialized
20560
20561 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20562
20563         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20564           Fix presumable copy'n'pasto.
20565
20566 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20567
20568         * gst/elements/gstfakesrc.h:
20569         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20570         * gst/elements/gsttypefindelement.c:
20571           fix some signedness
20572         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20573           I wonder if this could actually write +2GB files before
20574
20575 2005-10-13  Andy Wingo  <wingo@pobox.com>
20576
20577         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20578         Fix Timmeke Waymans bug.
20579         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20580         string of the proper length to gst_caps_from_string. There's a
20581         potential for, before this fix, that this could cause someone
20582         connecting over the network to cause a segfault if the payload is
20583         not NUL-terminated.
20584
20585 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20586
20587         * docs/design/draft-push-pull.txt:
20588         * docs/design/part-overview.txt:
20589         * docs/random/TODO-pre-0.9:
20590         * docs/random/old/ChangeLog.gstreamer:
20591         * gst/base/gstpushsrc.c:
20592         * gst/gstclock.c:
20593           fixed typos
20594
20595 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20596
20597         * gst/glib-compat.c: (gst_flags_get_first_value):
20598         * gst/glib-compat.h:
20599         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20600         (gst_value_compare_double), (gst_value_serialize_flags):
20601           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20602           infinite loop
20603
20604 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20605
20606         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20607         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20608           fix up debugging
20609         * tools/gst-launch.c: (event_loop):
20610           print out clock nicely
20611
20612 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20613
20614         * docs/gst/gstreamer-sections.txt:
20615         * gst/gsttaglist.h:
20616         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20617         (gst_tag_list_get_date_index):
20618           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20619           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20620
20621 2005-10-13  Julien MOUTTE  <julien@moutte.net>
20622
20623         * gst/base/gstcollectpads.c: (gst_collectpads_event),
20624         (gst_collectpads_chain):
20625         * gst/base/gstcollectpads.h: Handle newsegment and store informations
20626         in CollectData.
20627
20628 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20629
20630         * docs/gst/gstreamer-sections.txt:
20631         * gst/gst.c:
20632         * gst/gsterror.h:
20633         * tools/gst-inspect.c: (main):
20634         * tools/gst-launch.c: (main):
20635         * tools/gst-run.c: (main):
20636         * tools/gst-xmlinspect.c: (main):
20637           fix GOption context leaks
20638           doc fixes
20639
20640 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20641
20642         * gst/gstbus.c:
20643           use HAVE_UNISTD_H
20644         * win32/common/config.h:
20645           update config
20646         * win32/vs6/grammar.dsp:
20647         * win32/vs6/libgstelements.dsp:
20648         * win32/vs6/libgstreamer.dsp:
20649           update vs6 files
20650
20651 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20652
20653         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20654         * gst/base/gstbasesrc.c: (gst_base_src_query):
20655           fix more guint64<->gdouble conversions
20656
20657 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20658
20659         * Makefile.am:
20660           add win32-update target
20661         * win32/common/gstconfig.h:
20662         * win32/common/gstenumtypes.c:
20663         * win32/common/gstenumtypes.h:
20664         * win32/common/gstversion.h:
20665           add files that visual studio can't generate
20666
20667 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20668
20669         * Makefile.am:
20670           add a win32-update target
20671         * configure.ac:
20672
20673 2005-10-12  Wim Taymans  <wim@fluendo.com>
20674
20675         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20676         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20677         * gst/gstelement.c: (gst_element_commit_state),
20678         (gst_element_set_state):
20679         Protect flags with proper lock.
20680         unref provided cached clock in dispose.
20681
20682 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20683
20684         * gst/gst.c:
20685         * gst/gstminiobject.h:
20686         * gst/gstpad.h:
20687         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20688           removed unused flags from miniobject
20689           doc fixes
20690
20691 2005-10-12  Wim Taymans  <wim@fluendo.com>
20692
20693         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20694         (gst_file_sink_event), (gst_file_sink_render):
20695         Flush before seeking.
20696
20697 2005-10-12  Andy Wingo  <wingo@pobox.com>
20698
20699         * gst/gst.c (gst_init_check): Ignore unknown options, as has
20700         always been the case.
20701
20702 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20703
20704         * check/gst/gstbin.c: (GST_START_TEST):
20705         * docs/gst/gstreamer-sections.txt:
20706         * gst/base/gstbasesink.c: (gst_base_sink_init):
20707         * gst/base/gstbasesrc.c: (gst_base_src_init),
20708         (gst_base_src_get_range), (gst_base_src_check_get_range),
20709         (gst_base_src_start), (gst_base_src_stop):
20710         * gst/base/gstbasesrc.h:
20711         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20712         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20713         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20714         (bin_bus_handler):
20715         * gst/gstbin.h:
20716         * gst/gstbuffer.h:
20717         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20718         * gst/gstbus.h:
20719         * gst/gstelement.c: (gst_element_is_locked_state),
20720         (gst_element_set_locked_state), (gst_element_commit_state),
20721         (gst_element_set_state):
20722         * gst/gstelement.h:
20723         * gst/gstindex.c: (gst_index_init):
20724         * gst/gstindex.h:
20725         * gst/gstminiobject.h:
20726         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20727         (gst_object_set_parent):
20728         * gst/gstobject.h:
20729         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20730         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20731         * gst/gstpad.h:
20732         * gst/gstpadtemplate.h:
20733         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20734         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20735         * gst/gstpipeline.h:
20736         * gst/indexers/gstfileindex.c: (gst_file_index_load),
20737         (gst_file_index_commit):
20738         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20739         * testsuite/pad/link.c: (gst_test_src_init),
20740         (gst_test_filter_init), (gst_test_sink_init):
20741         * testsuite/states/locked.c: (main):
20742           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20743           moved bitshift from macro to enum definition
20744
20745 2005-10-12  Wim Taymans  <wim@fluendo.com>
20746
20747         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20748         * gst/elements/gstfilesink.c: (gst_file_sink_event),
20749         (gst_file_sink_render):
20750         Some more debugging info.
20751
20752 2005-10-12  Wim Taymans  <wim@fluendo.com>
20753
20754         * docs/design/part-states.txt:
20755         * tools/gst-launch.c: (main):
20756         Some doc updates.
20757         Revert non-intentional change.
20758
20759 2005-10-12  Wim Taymans  <wim@fluendo.com>
20760
20761         * check/gst/gstbin.c: (GST_START_TEST):
20762         * check/gst/gstelement.c: (GST_START_TEST):
20763         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20764         * check/gst/gstghostpad.c: (GST_START_TEST):
20765         * check/gst/gstpipeline.c: (GST_START_TEST):
20766         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20767         * check/states/sinks.c: (GST_START_TEST):
20768         * gst/elements/gsttypefindelement.c: (stop_typefinding):
20769         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20770         (gst_bin_remove_func), (gst_bin_get_state_func),
20771         (gst_bin_recalc_state), (gst_bin_change_state_func),
20772         (bin_bus_handler):
20773         * gst/gstelement.c: (gst_element_get_state_func),
20774         (gst_element_get_state), (gst_element_abort_state),
20775         (gst_element_commit_state), (gst_element_set_state),
20776         (gst_element_change_state), (gst_element_change_state_func):
20777         * gst/gstelement.h:
20778         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20779         (gst_pipeline_provide_clock_func):
20780         * gst/gstutils.c: (gst_element_link_pads_filtered):
20781         * tools/gst-launch.c: (main):
20782         * tools/gst-typefind.c: (main):
20783         Use GstClockTime in _get_state() instead of GTimeVal.
20784         Remove old code in gstutils.c
20785
20786 2005-10-12  Andy Wingo  <wingo@pobox.com>
20787
20788         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20789         removed.
20790
20791         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20792         there is no task. Shouldn't affect any code, as nothing in our
20793         plugins checks this return value.
20794         (gst_pad_stop_task): Also take the stream lock if the pad has no
20795         task. Docs updated.
20796
20797 2005-10-12  Wim Taymans  <wim@fluendo.com>
20798
20799         * gst/gstpad.c: (pre_activate), (post_activate),
20800         (gst_pad_activate_pull), (gst_pad_activate_push):
20801         Cleanup activation code. Reset old state if
20802         activation failed.
20803
20804 2005-10-12  Wim Taymans  <wim@fluendo.com>
20805
20806         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20807         (gst_base_sink_change_state):
20808         No need to prerol after receiving EOS.
20809
20810         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20811         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20812         * gst/elements/gstidentity.c: (gst_identity_event):
20813         Print events more verbosely.
20814
20815 2005-10-12  Wim Taymans  <wim@fluendo.com>
20816
20817         * check/Makefile.am:
20818         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20819         * check/states/sinks2.c:
20820         Moved sinks2 testcode in sinks check.
20821
20822         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20823         (gst_bin_remove_func), (gst_bin_recalc_state),
20824         (gst_bin_change_state_func), (bin_bus_handler):
20825         Fix potential race condition when _get_state() iterated over an
20826         ASYNC element right before it posted a state completion.
20827
20828         * gst/gstclock.h:
20829         Do proper cast here.
20830
20831         * gst/gstevent.c: (gst_event_new_newsegment),
20832         (gst_event_parse_newsegment):
20833         A playback rate of 0.0 is not allowed.
20834
20835 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20836
20837         * win32/common/config.h:
20838         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20839         (_trewinddir), (_ttelldir), (_tseekdir):
20840         * win32/common/dirent.h:
20841         * win32/common/gtchar.h:
20842         * win32/common/libgstbase.def:
20843         * win32/common/libgstreamer.def:
20844         * win32/vs6/grammar.dsp:
20845         * win32/vs6/gst_inspect.dsp:
20846         * win32/vs6/gst_launch.dsp:
20847         * win32/vs6/gstreamer.dsw:
20848         * win32/vs6/libgstbase.dsp:
20849         * win32/vs6/libgstelements.dsp:
20850         * win32/vs6/libgstreamer.dsp:
20851           Visual Studio 6 project files, and a new common directory.
20852           Phear.
20853
20854 2005-10-11  Wim Taymans  <wim@fluendo.com>
20855
20856         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20857         (gst_base_sink_do_sync), (gst_base_sink_query),
20858         (gst_base_sink_change_state):
20859         * gst/base/gstbasesink.h:
20860         Correctly parse newsegment info.
20861
20862 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20863
20864         * gst/gst.c: (init_post):
20865           split plugin paths correctly
20866
20867 2005-10-11  Wim Taymans  <wim@fluendo.com>
20868
20869         * check/gst/gstevent.c: (GST_START_TEST):
20870         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20871         (gst_base_sink_change_state):
20872         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20873         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20874         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20875         * gst/gstevent.c: (gst_event_new_newsegment),
20876         (gst_event_parse_newsegment):
20877         * gst/gstevent.h:
20878         Added extra flag to newsegment for future API freeze.
20879         Updated check and base elements.
20880
20881 2005-10-11  Julien MOUTTE  <julien@moutte.net>
20882
20883         * gst/base/gstcollectpads.c: (gst_collectpads_init),
20884         (gst_collectpads_add_pad), (gst_collectpads_pop),
20885         (gst_collectpads_event), (gst_collectpads_chain):
20886         * gst/base/gstcollectpads.h: Handle EOS correctly.
20887
20888 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20889
20890         * tools/gst-launch.c: (main):
20891           more null protecting
20892
20893 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20894
20895         * gst/gst-i18n-lib.h:
20896           check for ENABLE_NLS, not GETTEXT_PACKAGE
20897         * gst/gstregistry.c: (gst_registry_add_plugin),
20898         (gst_registry_scan_path_level),
20899         (_gst_registry_remove_cache_plugins):
20900           protect possibly NULL strings
20901         * gst/parse/types.h:
20902           config.h already included before
20903         * tools/gst-inspect.c: (main):
20904           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
20905           check for ENABLE_NLS, not GETTEXT_PACKAGE
20906         * tools/gst-launch.c: (main):
20907           check for ENABLE_NLS, not GETTEXT_PACKAGE
20908
20909 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20910
20911         * configure.ac:
20912           if we don't have glib, fail before testing 2.8
20913         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
20914           fix a leak, should fix plugins-base testsuite
20915
20916 2005-10-11  Andy Wingo  <wingo@pobox.com>
20917
20918         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
20919         take the mode we're going to as an arg. Go head and set the mode
20920         and flushing flags now, so that if the activate function starts a
20921         thread all the flags will be in the right state.
20922         (post_activate): Renamed also. Just handle making sure streaming
20923         finishes for the deactivation case, and setting the deactivated
20924         mode.
20925         (gst_pad_set_active): Complain loudly if deactivation fails.
20926         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
20927         (gst_pad_activate_push): Adapt to pre/post_activate changes,
20928         remove the terrible hack.
20929
20930 2005-10-11  Wim Taymans  <wim@fluendo.com>
20931
20932         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20933         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
20934         (gst_bin_recalc_state), (gst_bin_change_state_func),
20935         (gst_bin_dispose), (bin_bus_handler):
20936         * gst/gstbin.h:
20937         Prepare to make current EOS message queue more generic.
20938         Fix some typos.
20939
20940         * gst/gstevent.c: (gst_event_new_newsegment),
20941         (gst_event_parse_newsegment):
20942         * gst/gstevent.h:
20943         Rename base to stream_time.
20944
20945         * gst/gstmessage.h:
20946         Fix typo in docs.
20947
20948 2005-10-11  Wim Taymans  <wim@fluendo.com>
20949
20950         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20951         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
20952         (gst_bin_change_state_func), (bin_bus_handler):
20953         * gst/gstbin.h:
20954         Work on proper clock selection.
20955
20956 2005-10-11  Edward Hervey  <edward@fluendo.com>
20957
20958         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
20959         * libs/gst/controller/gstcontroller.h:
20960         Added GList* version of _remove_properties() in order to be able to wrap
20961         it in bindings.
20962
20963 2005-10-11  Wim Taymans  <wim@fluendo.com>
20964
20965         * docs/design/part-states.txt:
20966         Some more docs.
20967
20968         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
20969         (gst_bin_change_state_func), (bin_bus_handler):
20970         Doc updates. Don't distribute the same clock over and over again.
20971
20972         * gst/gstclock.c:
20973         * gst/gstclock.h:
20974         Doc updates.
20975
20976         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
20977         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
20978         (gst_pad_send_event):
20979         * gst/gstpad.h:
20980         Make probe emission threadsafe again.
20981         Register quarks and move _get_name() from utils.
20982         Doc updates.
20983
20984         * gst/gstpipeline.c: (gst_pipeline_class_init),
20985         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20986         Only redistribute the clock of it changed.
20987
20988         * gst/gstsystemclock.h:
20989         Doc updates. 
20990
20991         * gst/gstutils.c:
20992         * gst/gstutils.h:
20993         Moved the _flow_get_name() to GstPad.
20994
20995 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20996
20997         * check/gst-libs/gdp.c: (GST_START_TEST):
20998         * check/gst/gstcaps.c: (GST_START_TEST):
20999         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21000         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21001         (gst_dp_packet_from_caps):
21002           fix more valgrind warnings before turning up the heat
21003
21004 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21005
21006         * gst/parse/grammar.y:
21007           some cleanup before the hacking
21008
21009 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21010
21011         * gst/base/gstbasesrc.c: (gst_base_src_query):
21012           use conversions
21013         * gst/gstutils.c: (gst_guint64_to_gdouble),
21014         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21015         * gst/gstutils.h:
21016           externalize, basesrc uses it
21017           obviously the implementation needs testing
21018
21019 2005-10-10  Wim Taymans  <wim@fluendo.com>
21020
21021         * tests/sched/Makefile.am:
21022         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21023         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21024
21025 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21026
21027         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21028           apparently converting from guint64 to double is not implemented
21029           on MSVC
21030
21031 2005-10-10  Wim Taymans  <wim@fluendo.com>
21032
21033         * check/Makefile.am:
21034         * check/generic/states.c: (GST_START_TEST):
21035         * check/gst/gstbin.c: (GST_START_TEST):
21036         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21037         * check/states/sinks.c: (GST_START_TEST):
21038         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21039         (main):
21040         Check fixes, use API as stated in design docs, remove hacks.
21041
21042         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21043         (gst_base_sink_change_state):
21044         Catch stopping our task while we're shutting down.
21045
21046         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21047         (gst_bin_remove_func), (gst_bin_get_state_func),
21048         (gst_bin_recalc_state), (gst_bin_change_state_func),
21049         (bin_bus_handler):
21050         * gst/gstbin.h:
21051         * gst/gstelement.c: (gst_element_init),
21052         (gst_element_get_state_func), (gst_element_abort_state),
21053         (gst_element_commit_state), (gst_element_lost_state),
21054         (gst_element_set_state), (gst_element_change_state),
21055         (gst_element_change_state_func):
21056         * gst/gstelement.h:
21057         New state change algorithm (see #318116)
21058
21059         * gst/gstpipeline.c: (gst_pipeline_class_init),
21060         (gst_pipeline_init), (gst_pipeline_set_property),
21061         (gst_pipeline_get_property), (do_pipeline_seek),
21062         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21063         * gst/gstpipeline.h:
21064         Remove crude state change hacks.
21065
21066         * gst/gstutils.h:
21067         Remove crude hacks.
21068
21069         * tools/gst-launch.c: (main):
21070         Fixes for state change. Needs some more work to fully use the
21071         new stuff.
21072
21073 2005-10-10  Andy Wingo  <wingo@pobox.com>
21074
21075         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21076
21077         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21078         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21079         issue.
21080
21081 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21082
21083         * gst/gstiterator.c: (gst_iterator_new):
21084           Fix my previous commit: GTypes passed to gst_iterator_new()
21085           can be fundamental types.
21086
21087 2005-10-10  Wim Taymans  <wim@fluendo.com>
21088
21089         * gst/gstelement.c: (gst_element_iterate_pad_list),
21090         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21091         (gst_element_iterate_sink_pads):
21092         Use src/sink pads lists for the respective iterators instead
21093         of filtering.
21094
21095 2005-10-10  Andy Wingo  <wingo@pobox.com>
21096
21097         Merged in popt removal + GOption addition patch from Ronald, bug
21098         #169772.
21099
21100         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21101         GstElement macros around, remove popt-related symbols, add goption
21102         stuff.
21103
21104         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21105         
21106         * docs/gst/Makefile.am:
21107         * docs/libs/Makefile.am: No POPT_CFLAGS.
21108         
21109         * examples/manual/Makefile.am:
21110         * docs/manual/basics-init.xml: Doc updates with an example.
21111         
21112         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21113         (gst_init), (parse_one_option), (parse_goption_arg):
21114         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21115         bit of hand merging and debugging to get the GOption stuff working
21116         tho.
21117         
21118         * tests/Makefile.am:
21119         * tools/Makefile.am:
21120         * tools/gst-inspect.c: (main):
21121         * tools/gst-launch.c: (main):
21122         * tools/gst-run.c: (main):
21123         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21124
21125 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21126
21127         * gst/gstiterator.c: (gst_iterator_new):
21128           Add assertions to make sure passed GType is likely to really
21129           be a GType (as the compiler won't catch it if the size and
21130           GType arguments get mixed up, see #318447).
21131
21132 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21133
21134         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21135
21136         * gst/gstbin.c: (gst_bin_iterate_sorted):
21137           Pass GType and size arguments to gst_iterator_new() in the right
21138           order (maybe we should make _new() take the GType as first argument
21139           just like _new_list()?) (#318447).
21140           
21141
21142 2005-10-10  Wim Taymans  <wim@fluendo.com>
21143
21144         * gst/gstelement.c: (gst_element_finalize):
21145         And free the GStaticRecMutex too
21146
21147 2005-10-10  Andy Wingo  <wingo@pobox.com>
21148
21149         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21150         Allocate and free the mutex properly.
21151
21152         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21153         New macros.
21154         (GstElement): The state_lock is now recursive. Rebuild your
21155         plugins, suckers. Old macros adapted.
21156
21157         * docs/gst/gstreamer-sections.txt: Doc updates.
21158
21159         * gst/gstutils.h:
21160         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21161         (g_static_rec_cond_wait): Ported from state changes patch, while
21162         we wait on bug #317802 to be solved in a well-distributed GLib.
21163
21164         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21165         gst_element_change_state, variable name changes.
21166         (gst_element_change_state): Split out of gst_element_set_state in
21167         preparation for the state change merge. Doesn't pay attention to
21168         the 'transition' argument.
21169         (gst_element_set_state): Updates, hopefully purely cosmetic.
21170         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21171         state change patch.
21172         (gst_element_get_state_func): Renamed from get_state, cosmetic
21173         changes.
21174
21175 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21176
21177         * gst/elements/gstelements.c:
21178         * win32/GStreamer.vcproj:
21179         * win32/config.h:
21180         * win32/dirent.c: (_tseekdir):
21181         * win32/gst-inspect.vcproj:
21182         * win32/gst-launch.vcproj:
21183         * win32/gstconfig.h:
21184         * win32/gstelements.vcproj:
21185         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21186         * win32/gstreamer.def:
21187         * win32/msvc71.sln:
21188           updates for the win32 build (patch from Sebastien Moutte)
21189
21190 2005-10-10  Andy Wingo  <wingo@pobox.com>
21191
21192         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21193         gst_bin_get_state, cleaned up (but no logic changes).
21194         (bin_element_is_sink): Comment updates.
21195         (sink_iterator_filter): Remove needless cast.
21196         (gst_bin_iterate_sinks): Doc update.
21197         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21198         cleaned up (but no logic changes).
21199
21200         * check/states/sinks.c (test_src_sink): Cleanups from the state
21201         change patch.
21202         (test_livesrc_sink): Sync on the state.
21203
21204         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21205         the state change patch.
21206
21207         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21208         change patch.
21209
21210         * check/gst/gstbin.c: Merge in some style fixes and additional
21211         checks from Wim's state change patch.
21212
21213 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21214
21215         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21216         (gst_type_find_helper):
21217           Check whether we have the requested data already in our list of
21218           cached buffers before pulling a new buffer; also make the buffer
21219           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21220
21221 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21222
21223         * gst/gstcaps.c:
21224         * gst/gstevent.c:
21225           doc updates
21226         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21227           don't use long long, it's not portable.  Replacing with
21228           gint64 seems to work; let's hope no skeletons fall out of the closet.
21229
21230 2005-10-10  Andy Wingo  <wingo@pobox.com>
21231
21232         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21233
21234 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21235
21236         * docs/gst/gstreamer-sections.txt:
21237         * gst/gstevent.c:
21238         * gst/gstevent.h:
21239         * gst/gstinfo.c:
21240         * gst/gstinfo.h:
21241         * gst/gstmessage.c: (gst_message_parse_state_changed):
21242         * gst/gstpad.c:
21243         * gst/gstpad.h:
21244           more docs, fix compilation
21245
21246 2005-10-09  Philippe Khalaf <burger@speedy.org>
21247         * gst/gstmessage.c:
21248           Fixed a few forgotten variables on previous commit
21249
21250 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21251
21252         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21253           Fix evil typefind crasher: getrange() might return a short
21254           buffer at the end of a file, but gst_type_find_peek() must
21255           either return the full data as requested or NULL, but
21256           never a short buffer.
21257
21258 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21259
21260         * gst/gstmessage.c: (gst_message_new_state_changed),
21261         (gst_message_parse_state_changed):
21262         * gst/gstmessage.h:
21263           don't use "new", it's a C++ keyword
21264
21265 2005-10-08  Wim Taymans  <wim@fluendo.com>
21266
21267         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21268         * gst/gstelement.c: (gst_element_post_message):
21269         * gst/gstpipeline.c: (gst_pipeline_change_state):
21270         Small docs and debug updates.
21271
21272 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21273
21274         * docs/gst/gstreamer-sections.txt:
21275         * gst/gstelementfactory.c:
21276         * gst/gstevent.c:
21277         * gst/gsttaglist.c:
21278           more docs
21279
21280 2005-10-08  Wim Taymans  <wim@fluendo.com>
21281
21282         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21283         (gst_bin_dispose), (bin_bus_handler):
21284         Fix typos, add comments.
21285         Clear EOS list when going to PAUSED from any direction and do it
21286         in a threadsafe way.
21287         Get base time in a threadsafe way too.
21288         Fix confusing debug in the change_state function.
21289         Various other small cleanups.
21290         
21291         * gst/gstelement.c: (gst_element_post_message):
21292         Fix very verbose bus posting code.
21293
21294         * gst/gstpipeline.c: (gst_pipeline_class_init),
21295         (gst_pipeline_set_property), (gst_pipeline_get_property),
21296         (gst_pipeline_change_state):
21297         Small ARG_ -> PROP_ cleanup
21298
21299 2005-10-08  Wim Taymans  <wim@fluendo.com>
21300
21301         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21302         Do a less CPU demanding EOS check because we can.
21303
21304 2005-10-08  Wim Taymans  <wim@fluendo.com>
21305
21306         * libs/gst/dataprotocol/dataprotocol.c:
21307         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21308         (gst_dp_packet_from_event):
21309         * libs/gst/dataprotocol/dataprotocol.h:
21310         * libs/gst/dataprotocol/dp-private.h:
21311         It's about time we bump the version number.
21312         Since event types don't fit in the guint8 anymore describing
21313         the payload type, make payload type 16 bits wide.
21314
21315 2005-10-08  Wim Taymans  <wim@fluendo.com>
21316
21317         * docs/design/part-TODO.txt:
21318         * docs/design/part-clocks.txt:
21319         * docs/design/part-events.txt:
21320         * docs/design/part-gstbin.txt:
21321         * docs/design/part-gstelement.txt:
21322         * docs/design/part-gstpipeline.txt:
21323         * docs/design/part-live-source.txt:
21324         * docs/design/part-messages.txt:
21325         * docs/design/part-overview.txt:
21326         * docs/design/part-states.txt:
21327         Many doc updates.
21328
21329 2005-10-08  Wim Taymans  <wim@fluendo.com>
21330
21331         * gst/gstevent.c:
21332         * gst/gstevent.h:
21333         Fix event quark registration.
21334         Add some space between events so we can insert them in the
21335         right groups.
21336
21337 2005-10-08  Wim Taymans  <wim@fluendo.com>
21338
21339         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21340         (gst_base_sink_handle_buffer):
21341         Better log message.
21342
21343         * gst/gstbus.h:
21344         * gst/gstelement.h:
21345         More docs.
21346
21347         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21348         (gst_queue_set_property), (gst_queue_get_property):
21349         * gst/gstqueue.h:
21350         Remove old unused properties.
21351
21352 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21353         * docs/gst/gstreamer-sections.txt:
21354         * gst/gstmessage.c:
21355         * gst/gstmessage.h:
21356         * gst/gstminiobject.c:
21357         * gst/gstminiobject.h:
21358         * gst/gstobject.h:
21359         * gst/gstpad.h:
21360         * gst/gstutils.h:
21361           lots of new docs and doc fixes
21362
21363 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21364
21365         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21366         * gst/gstplugin.h:
21367         * gst/gstregistry.c: (gst_registry_lookup_locked),
21368         (gst_registry_scan_path_level):
21369         * gst/gstregistryxml.c: (load_plugin):
21370           Only ever load one plugin for a given plugin basename.
21371           This ensures correct overriding of GST_PLUGIN_PATH over
21372           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21373           system installed plugins.
21374
21375 2005-10-08  Wim Taymans  <wim@fluendo.com>
21376
21377         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21378         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21379         Prepare for doing QOS.
21380
21381 2005-10-08  Wim Taymans  <wim@fluendo.com>
21382
21383         * check/gst/gstbin.c: (GST_START_TEST):
21384         * check/pipelines/cleanup.c: (GST_START_TEST):
21385         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21386         Allow new clock message too.
21387
21388 2005-10-08  Wim Taymans  <wim@fluendo.com>
21389
21390         * gst/gstmessage.c: (gst_message_new_error),
21391         (gst_message_new_warning), (gst_message_new_tag),
21392         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21393         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21394         (gst_message_new_segment_start), (gst_message_new_segment_done),
21395         (gst_message_parse_state_changed),
21396         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21397         (gst_message_parse_new_clock):
21398         * gst/gstmessage.h:
21399         Also carry the clock in question.
21400
21401 2005-10-08  Wim Taymans  <wim@fluendo.com>
21402
21403         * gst/gstmessage.c: (gst_message_new_custom),
21404         (gst_message_new_eos), (gst_message_new_error),
21405         (gst_message_new_warning), (gst_message_new_tag),
21406         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21407         (gst_message_new_new_clock), (gst_message_new_segment_start),
21408         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21409         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21410         * gst/gstmessage.h:
21411         Clean up.
21412         Added clock related messages.
21413
21414         * gst/gstpipeline.c: (gst_pipeline_change_state):
21415         Post message when the clock changed.
21416
21417         * tools/gst-launch.c: (event_loop):
21418         Print new clock.
21419
21420 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21421
21422         * tools/gst-inspect.c: (print_element_properties_info):
21423           Can't pass NULL strings to g_print() on windows.
21424
21425 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21426
21427         * docs/Makefile.am:
21428         * docs/gst/Makefile.am:
21429         * docs/gst/gstreamer-docs.sgml:
21430         * docs/gst/running.xml:
21431         * docs/version.entities.in:
21432           add a chapter on running GStreamer.
21433           document GST_DEBUG and GST_PLUGIN* env vars
21434
21435 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21436
21437         * Makefile.am:
21438           remove include dir
21439         * configure.ac:
21440           remove PLUGINS_BUILDDIR stuff
21441         * gst/gst.c: (init_post):
21442           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21443         * idiottest.mak:
21444           remove, it was condescending and not needed
21445
21446 2005-10-08  Wim Taymans  <wim@fluendo.com>
21447
21448         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21449         (gst_base_sink_handle_object), (gst_base_sink_event),
21450         (gst_base_sink_wait), (gst_base_sink_handle_event),
21451         (gst_base_sink_change_state):
21452         * gst/base/gstbasesink.h:
21453         Repost EOS message while going to PLAYING if still EOS.
21454         Make sure that when receiving a FLUSH_START we don't attempt
21455         to sync on the clock anymore.
21456
21457 2005-10-08  Wim Taymans  <wim@fluendo.com>
21458
21459         * tools/gst-launch.c: (event_loop):
21460         Better message printout.
21461
21462 2005-10-08  Wim Taymans  <wim@fluendo.com>
21463
21464         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21465         (gst_bin_child_proxy_get_children_count):
21466         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21467         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21468         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21469         (gst_child_proxy_set_valist):
21470         * gst/parse/grammar.y:
21471         Make ChildProxy threadsafe and fix mem leaks.
21472
21473 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21474
21475         * gst/gst.c: (init_post):
21476           debug the GST_PLUGIN_ env vars
21477
21478 2005-10-08  Wim Taymans  <wim@fluendo.com>
21479
21480         * check/gst/gstbin.c: (GST_START_TEST):
21481         * check/gst/gstmessage.c: (GST_START_TEST):
21482         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21483         * gst/gstelement.c: (gst_element_commit_state),
21484         (gst_element_lost_state):
21485         * gst/gstmessage.c: (gst_message_new_state_changed),
21486         (gst_message_parse_state_changed):
21487         * gst/gstmessage.h:
21488         * tools/gst-launch.c: (event_loop):
21489         Added extra field to STATE_CHANGE message with the pending
21490         state, which will be different from the new state soon.
21491
21492 2005-10-08  Wim Taymans  <wim@fluendo.com>
21493
21494         * gst/gstbus.c: (gst_bus_pop):
21495         * gst/gstclock.c:
21496         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21497         Small cleanups and doc updates.
21498
21499 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21500
21501         * gst/gst.c: (init_pre):
21502         * gst/gstbin.c: (gst_bin_add_func):
21503           log distributing clocks and base time
21504         * gst/gstregistry.c: (gst_registry_add_plugin),
21505         (gst_registry_scan_path_level), (gst_registry_scan_path):
21506           clean up the debugging output a little
21507         * gst/gstutils.c: (gst_element_state_get_name):
21508           warn about a memleak (I've actually seen this be used, though
21509           it was probably a bug)
21510
21511 2005-10-07  Wim Taymans  <wim@fluendo.com>
21512
21513         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21514         (gst_base_src_init), (gst_base_src_default_newsegment),
21515         (gst_base_src_newsegment), (gst_base_src_do_seek),
21516         (gst_base_src_loop), (gst_base_src_start):
21517         * gst/base/gstbasesrc.h:
21518         Make the newsegment event customizable by subclasses.
21519
21520 2005-10-07  Wim Taymans  <wim@fluendo.com>
21521
21522         * gst/gstevent.c: (gst_event_new_buffersize),
21523         (gst_event_parse_buffersize):
21524         * gst/gstevent.h:
21525         New event for future idea.
21526
21527 2005-10-07  Andy Wingo  <wingo@pobox.com>
21528
21529         * gst/gstelement.c (gst_element_post_message): Doc update.
21530
21531         * docs/gst/gstreamer-sections.txt: Update.
21532
21533         * gst/gstmessage.c (gst_message_new_application): Made into a
21534         function like honest API calls.
21535         (gst_message_new_element): New message type.
21536
21537         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21538
21539         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21540         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21541         times.
21542
21543         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21544         NO_PREROLL from gst_element_change_state to fall through.
21545
21546 2005-10-07  Wim Taymans  <wim@fluendo.com>
21547
21548         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21549         (gst_ghost_pad_do_activate_push):
21550         Activating a ghostpad with no internal pad in push mode
21551         is ok.
21552
21553 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21554
21555         * gst/gstobject.h:
21556           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21557           Fixes compilation on Windows.
21558
21559 2005-10-07  Michael Smith <msmith@fluendo.com>
21560
21561         * tools/gst-inspect.c:
21562           Print out feature and plugin count at the end when printing out
21563           all features.
21564
21565 2005-10-04  Michael Smith <msmith@fluendo.com>
21566
21567         * gst/gsterror.c: (_gst_stream_errors_init):
21568           Add another error string used in a few existing plugins.
21569
21570         * gst/gstplugin.c:
21571         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21572         * tools/gst-inspect.c: (print_element_info):
21573           When a feature disappears from a plugin (and the feature exists in
21574           the cached registry file), things went horribly wrong. This isn't a
21575           complete fix, we should actually be removing the 'missing' features
21576           from the features list when we load the actual plugin. That's not
21577           yet implemented. 
21578
21579 2005-10-04  Johan Dahlin  <johan@gnome.org>
21580
21581         * check/gst/gstiterator.c: (GST_START_TEST):
21582         * gst/gstbin.c: (gst_bin_iterate_elements),
21583         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21584         * gst/gstelement.c: (gst_element_iterate_pads):
21585         * gst/gstformat.c: (gst_format_iterate_definitions):
21586         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21587         (gst_iterator_new_list), (gst_iterator_filter):
21588         * gst/gstiterator.h:
21589         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21590         Add a GType to GstIterator, update callsites and tests.
21591
21592 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21593
21594         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21595           give events a chance to be handled by event probes when the pad
21596           is not linked
21597
21598 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21599
21600         * gst/gstevent.c: (gst_event_type_get_name),
21601         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21602         * gst/gstevent.h:
21603           add string representations for event types
21604
21605 2005-10-06  Wim Taymans  <wim@fluendo.com>
21606
21607         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21608         Don't use NULL pointers.
21609
21610 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21611
21612         * gst/gst_private.h:
21613         * gst/gstbus.c:
21614         * gst/gstelement.c:
21615         * gst/gstinfo.c:
21616         * gst/gstpluginfeature.c:
21617           widen the debug category in output to fit the biggest one we have
21618           add a bus category and use it
21619           play with the colors
21620           fix up some categories
21621
21622 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21623
21624         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21625           add push activation of sink ghost pads.
21626           Andye, please verify
21627
21628 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21629
21630         * gst/gstutils.c: (gst_element_link_pads):
21631           fix a bug in the case where neither element has a pad
21632         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21633           add a test for that case
21634
21635 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21636
21637         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21638           emit have-data before checking for peers.  This allows
21639           for probe handlers to connect elements.  This helps autopluggers.
21640         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21641         (gst_pad_suite):
21642           add six checks, linked/unlinked with no/true/false probe
21643
21644 2005-10-04  Wim Taymans  <wim@fluendo.com>
21645
21646         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21647         (gst_fake_sink_event), (gst_fake_sink_preroll),
21648         (gst_fake_sink_render), (gst_fake_sink_change_state):
21649         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21650         (gst_fake_src_get_property), (gst_fake_src_create),
21651         (gst_fake_src_stop):
21652         * gst/elements/gstidentity.c: (gst_identity_stop):
21653         Protect last_message with lock.
21654
21655 2005-10-04  Edward Hervey  <edward@fluendo.com>
21656
21657         * gst/gstformat.h: 
21658         Added precision in the comments for GST_FORMAT_DEFAULT
21659
21660 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
21661
21662         * tools/gst-launch.c: (main):
21663           Don't try to run erroneous pipelines.
21664
21665 2005-10-04  Julien MOUTTE  <julien@moutte.net>
21666
21667         * gst/gstbus.c: We don't need this header.
21668
21669 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21670
21671         * configure.ac:
21672           back to development
21673
21674 === release 0.9.3 ===
21675
21676 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21677
21678         * README:
21679         * configure.ac:
21680           Releasing 0.9.3, "Unregistered"
21681
21682 2005-10-03  Andy Wingo  <wingo@pobox.com>
21683
21684         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21685         whereby calling a pad's activatepush() function can start a thread
21686         that starts to push or pull before the pad gets the FLUSHING flag
21687         unset. Hack around it by holding the stream lock until the flag is
21688         set. Need to replace this with a proper solution. Together with
21689         the ghost pad fixes, this fixes mp3 playing/tagreading.
21690
21691         * docs/design/part-gstghostpad.txt: Add a note about activation of
21692         proxy pads outside of ghost pads.
21693
21694         * gst/gstghostpad.c: Implement the ghost pad activation design.
21695
21696 2005-10-02  Andy Wingo  <wingo@pobox.com>
21697
21698         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21699         It is volatile, after all.
21700
21701         * docs/design/part-gstghostpad.txt: Flesh out activation with
21702         ghost pads.
21703
21704         * gst/base/gstbasesrc.c (gst_base_src_init): Use
21705         GST_DEBUG_FUNCPTR.
21706
21707 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
21708
21709         * configure.ac:
21710           Fix (unused) AM_CONDITIONAL tests.
21711
21712 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
21713
21714         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21715
21716         * gst/gstutils.c: (gst_pad_query_convert):
21717           Add assertion that makes sure src_val is >=0, just like
21718           gst_query_new_convert() has. (#315895)
21719
21720 2005-09-30  Edward Hervey  <edward@fluendo.com>
21721
21722         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21723         Let's not iterate pads we're not interested in, it avoids getting 
21724         sky-high refcounts on sinkpad.
21725
21726 2005-09-30  Wim Taymans  <wim@fluendo.com>
21727
21728         * gst/gstelement.c: (gst_element_set_state),
21729         (gst_element_change_state):
21730         Small tweak, element in ASYNC remains ASYNC.
21731
21732 2005-09-30  Wim Taymans  <wim@fluendo.com>
21733
21734         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21735         Only error is an error.
21736
21737         * gst/gstbin.c: (gst_bin_change_state):
21738         Better debugging.
21739
21740         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21741         Also call pad_block in pad alloc.
21742
21743         * gst/gstutils.c: (gst_flow_get_name):
21744         Better debugging.
21745
21746 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21747
21748         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21749         (gst_base_src_get_range):
21750           Fix documentation typos. Add some more debug info.
21751
21752 2005-09-29  David Schleef  <ds@schleef.org>
21753
21754         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21755           more end-user friendly.
21756         * tools/gst-inspect.c: (main): Check if command-line argument is
21757           a file and attempt to load that file as a plugin.
21758
21759 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21760
21761         * check/gst/gstbin.c:
21762         * check/states/sinks.c:
21763           fix tests for the new warning
21764         * check/gst/gstpipeline.c:
21765           add a test for pipeline and bus interaction
21766         * gst/gstelement.c:
21767           elements should be NULL if they get disposed; add a warning if not
21768
21769 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21770
21771         * gst/gstobject.c:
21772           for 2.6 refcounting, make debug log more correct by printing
21773           the actual refcounts at the time of swap (Wim)
21774
21775 2005-09-29  Andy Wingo  <wingo@pobox.com>
21776
21777         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21778         removes signal watches previously added via
21779         gst_bus_add_signal_watch.
21780         (gst_bus_add_signal_watch): Don't return the source id, just store
21781         it on the bus if there wasn't an id already.
21782
21783         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21784         add_signal_watch and remove_signal_watch.
21785
21786 2005-09-29  Edward Hervey  <edward@fluendo.com>
21787
21788         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
21789         Better if we actually iterate the list :)
21790
21791 2005-09-29  Wim Taymans  <wim@fluendo.com>
21792
21793         * check/gst/gstbin.c: (GST_START_TEST):
21794         Change for new bus API.
21795
21796         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21797         (send_messages), (GST_START_TEST), (gstbus_suite):
21798         Change for new bus signal API.
21799
21800         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21801         (gst_bus_source_prepare), (gst_bus_source_check),
21802         (gst_bus_create_watch), (gst_bus_add_watch_full),
21803         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21804         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21805         * gst/gstbus.h:
21806         Remove support for multiple GSources operating on different
21807         message types as it is too complex and unneeded when using
21808         signals.
21809         Added support for receiving signals from the bus.
21810
21811 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21812
21813         * docs/libs/tmpl/gstdataprotocol.sgml:
21814         * docs/manual/advanced-dataaccess.xml:
21815         * gst/elements/gstcapsfilter.c:
21816         * gst/gstutils.c:
21817           rename filter-caps to caps property
21818
21819 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21820
21821         * gst/gstvalue.c: (gst_value_deserialize_fraction):
21822           More robust fraction string parsing.
21823
21824         * docs/pwg/appendix-porting.xml:
21825           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21826
21827 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21828
21829         * gst/gstcaps.c: (gst_caps_do_simplify):
21830           Thou shalt not free a structure and then continue using it
21831           in the next loop iteration.
21832
21833         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21834         (gst_caps_suite):
21835           Add test case for caps simplification.
21836
21837 2005-09-29  Wim Taymans  <wim@fluendo.com>
21838
21839         * check/gst/gstbin.c: (GST_START_TEST):
21840         Oops.
21841
21842 2005-09-29  Wim Taymans  <wim@fluendo.com>
21843
21844         * check/gst/gstbin.c: (GST_START_TEST):
21845         Add bus to bin.
21846
21847         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21848         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21849         (find_element), (gst_bin_sort_iterator_next),
21850         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21851         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21852         (gst_bin_change_state), (gst_bin_dispose):
21853         A bin does not have a bus, it gets the bus from the parent.
21854
21855         * gst/gstelement.c: (gst_element_requires_clock),
21856         (gst_element_provides_clock), (gst_element_is_indexable),
21857         (gst_element_is_locked_state), (gst_element_change_state),
21858         (gst_element_set_bus_func):
21859         Small cleanups.
21860
21861         * gst/gstpipeline.c: (gst_pipeline_class_init),
21862         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21863         The pipeline provides a bus.
21864
21865 2005-09-28  Johan Dahlin  <johan@gnome.org>
21866
21867         * gst/gstmessage.c (gst_message_parse_state_changed): Use
21868         gst_structure_get_enum instead of gst_structure_get_int
21869
21870         * gst/gststructure.c (gst_structure_get_enum): Impl.
21871
21872         * gst/gststructure.h (gst_structure_get_enum): Add
21873
21874         * docs/gst/gstreamer-sections.txt: Ditto
21875
21876         * gst/gstmessage.c (gst_message_new_state_changed): Use
21877         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21878         which does introspection.
21879         Reviewed by Christian Schaller
21880
21881 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21882
21883         * gst/gstinfo.c: (gst_debug_log_default):
21884           don't do dummy g_strdup()s
21885         * libs/gst/controller/gstcontroller.c:
21886         (on_object_controlled_property_changed),
21887         (gst_controlled_property_new), (gst_controller_new_valist),
21888         (gst_controller_new_list),
21889         (gst_controller_remove_properties_valist), (gst_controller_set),
21890         (gst_controller_get), (gst_controller_sync_values),
21891         (gst_controller_get_value_array), (_gst_controller_class_init),
21892         (gst_controller_get_type):
21893         * libs/gst/controller/gstcontroller.h:
21894         * libs/gst/controller/gstinterpolation.c:
21895         (gst_controlled_property_find_timed_value_node):
21896           convert // to /**/ comments
21897
21898 2005-09-28  Wim Taymans  <wim@fluendo.com>
21899
21900         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21901         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21902         (gst_bus_sync_signal_handler):
21903         * gst/gstbus.h:
21904         Added async-message and sync-message signals to the bus.
21905         Added helper BusFunc to emit signals for all posted messages.
21906
21907         * gst/gstmessage.c: (gst_message_type_get_name),
21908         (gst_message_type_to_quark), (gst_message_get_type):
21909         * gst/gstmessage.h:
21910         Register quarks for message names.
21911
21912 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21913
21914         * docs/libs/gstreamer-libs-sections.txt:
21915         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
21916         (gst_controller_new_list):
21917         * libs/gst/controller/gstcontroller.h:
21918           added another constructor for language bindings
21919
21920 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21921
21922         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21923           add another check
21924         * gst/gstbus.c:
21925           add some doc
21926         * gst/gstinfo.c: (_gst_debug_init):
21927           slightly more readable color for refcount debugging
21928
21929 2005-09-28  Wim Taymans  <wim@fluendo.com>
21930
21931         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21932         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21933         (find_element), (gst_bin_sort_iterator_next),
21934         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21935         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21936         (gst_bin_change_state), (gst_bin_dispose):
21937         Small doc fixes. get_clock -> provide_clock.
21938
21939         * gst/gstelement.c: (gst_element_class_init),
21940         (gst_element_provides_clock), (gst_element_provide_clock),
21941         (gst_element_get_clock), (gst_element_commit_state),
21942         (gst_element_lost_state):
21943         * gst/gstelement.h:
21944         Make get/set_clock() symetric. Add provide_clock vmethod since
21945         that is actually what this function does.
21946
21947         * gst/gstpipeline.c: (gst_pipeline_class_init),
21948         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
21949         (gst_pipeline_get_clock):
21950         get_clock -> provide_clock.
21951
21952 2005-09-28  Andy Wingo  <wingo@pobox.com>
21953
21954         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
21955         lieu of real docs...
21956
21957         * gst/elements/gstfdsrc.c: Cleaned up a bit.
21958
21959 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
21960
21961         * gst/elements/gstcapsfilter.c:
21962         * gst/elements/gstfakesink.c:
21963         * gst/elements/gstfakesrc.c:
21964         * gst/elements/gstfdsink.c:
21965         * gst/elements/gstfdsrc.c:
21966         * gst/elements/gstfilesink.c:
21967         * gst/elements/gstfilesrc.c:
21968         * gst/elements/gstidentity.c:
21969         * gst/elements/gsttee.c:
21970         * gst/elements/gsttypefindelement.c:
21971           Make element details static.
21972
21973 2005-09-28  Wim Taymans  <wim@fluendo.com>
21974
21975         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21976         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21977         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21978         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21979         (gst_bin_change_state), (gst_bin_dispose):
21980         Some documentation updates.
21981         Clean up dispose handlers.
21982
21983         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
21984         * gst/gstpad.c: (gst_pad_dispose):
21985         Clean up dispose handler.
21986
21987         * gst/gstpipeline.c: (gst_pipeline_change_state):
21988         Removed spurious UNLOCK.
21989
21990 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
21991
21992         * docs/gst/gstreamer-sections.txt:
21993         * gst/base/gstbasesrc.h:
21994         * gst/gstelement.h:
21995         * gst/gstevent.h:
21996         * gst/gstobject.h:
21997         * gst/gstpad.h:
21998         * gst/gstpipeline.c:
21999         * gst/gstpipeline.h:
22000         * gst/gstutils.h:
22001         * gst/gstxml.h:
22002           added two new functions to the docs
22003                 documents all undocumented GstXXXFlags
22004                 completed some incomplete docs 
22005
22006 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22007
22008         * gst/gstbin.c: (gst_bin_dispose):
22009         * gst/gstelement.c: (gst_element_dispose):
22010           remove now useless and leaky resurrection code in dispose
22011         * gst/base/gstbasesrc.c: (gst_base_src_init):
22012         * gst/gstelementfactory.c: (gst_element_factory_create):
22013         * gst/gstobject.c: (gst_object_set_parent):
22014           add some debugging
22015
22016 2005-09-27  Wim Taymans  <wim@fluendo.com>
22017
22018         * docs/design/part-TODO.txt:
22019         Update TODO.
22020
22021         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22022         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22023         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22024         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22025         (gst_bin_change_state):
22026         * gst/gstelement.h:
22027         Remove element variable, we keep element info in the iterator now.
22028
22029 2005-09-27  Andy Wingo  <wingo@pobox.com>
22030
22031         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22032         values.
22033
22034 2005-09-27  Wim Taymans  <wim@fluendo.com>
22035
22036         * check/gst/gstbin.c: (GST_START_TEST):
22037         Enable check that works now.
22038
22039         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22040         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22041         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22042         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22043         (gst_bin_change_state):
22044         * gst/gstbin.h:
22045         Redid the state change algorithm using a topological sort algo.
22046         Handles all cases correctly.
22047         Exposed iterator for state change order.
22048
22049         * gst/gstelement.h:
22050         Temp storage for state changes. Need to get rid of this soon.
22051
22052 2005-09-27  Wim Taymans  <wim@fluendo.com>
22053
22054         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22055         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22056         (link_fold_func), (gst_pad_proxy_setcaps):
22057         Leak fixes, the fold functions need to unref the passed object and
22058         _get_parent_*() returns ref to parent.
22059
22060 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22061
22062         * check/gst/gstbuffer.c: (test_make_writable):
22063           Plug leak in test case and fix 'make check-valgrind'
22064
22065 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22066
22067         * gst/gstbuffer.c: (gst_subbuffer_init):
22068           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22069           works correctly in all circumstances (we could have just copied
22070           the parent buffer's readonly flag, but conceptually it seems
22071           cleaner to mark all subbuffers as read-only). (based on patch
22072           by Alessandro Decina, #314710).
22073         
22074         * check/gst/gstbuffer.c: (create_read_only_buffer),
22075         (test_make_writable), (test_subbuffer_make_writable),
22076         (gst_test_suite):
22077           Add some tests for gst_buffer_make_writable().
22078
22079 2005-09-27  Wim Taymans  <wim@fluendo.com>
22080
22081         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22082         use gst_object_has_ancestor().
22083
22084         * gst/gstobject.c: (gst_object_has_ancestor):
22085         * gst/gstobject.h:
22086         gst_object_has_ancestor() copied from gstbin.c as it is a
22087         useful function.
22088
22089         * tests/instantiate/create.c: (create_all_elements):
22090         * tests/lat.c: (handoff_src), (handoff_sink):
22091         * tests/sched/runxml.c: (main):
22092         * tests/seeking/seeking1.c: (main):
22093         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22094         (main):
22095         Fix compilation of some tests.
22096
22097 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22098
22099         * gst/gsterror.h:
22100           Remove comment. GST_TYPE_G_ERROR is here to stay,
22101           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22102           (#316961, #300610).
22103
22104 2005-09-26  Wim Taymans  <wim@fluendo.com>
22105
22106         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22107         Added check that shows error in state change order.
22108
22109 2005-09-26  Wim Taymans  <wim@fluendo.com>
22110
22111         * gst/gstbin.c: (gst_bin_change_state):
22112         Make state change function use 3 queues again, we were
22113         adding elements in the wrong order.
22114
22115         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22116         Some debug info,
22117
22118         * gst/gstpad.c: (gst_pad_dispose):
22119         Added some debug info first.
22120
22121 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22122
22123         * docs/design/draft-push-pull.txt:
22124         * docs/design/part-events.txt:
22125         * docs/design/part-overview.txt:
22126         * docs/design/part-scheduling.txt:
22127           Replace all _pull_region() with _pull_range()
22128           
22129 2005-09-26  Andy Wingo  <wingo@pobox.com>
22130
22131         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22132
22133         * check/gst-libs/controller.c: Update for controller api change.
22134
22135         * configure.ac: 
22136         * tests/Makefile.am:
22137         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22138         over by GLib bug 118439.
22139         
22140         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22141         routines to a function.
22142
22143         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22144
22145         * libs/gst/controller/gsthelper.c:
22146         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22147         (gst_object_sync_values): Renamed from sink_values. Ugh.
22148
22149         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22150
22151         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22152         Renamed from controller_key, as it is exported.
22153
22154         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22155
22156 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22157
22158         * gst/Makefile.am:
22159         * gst/gst.h:
22160         * gst/gstpad.h:
22161         * gst/gstpadtemplate.h:
22162         * gst/gstquery.c:
22163         * gst/gstquery.h:
22164         * gst/gstqueryutils.c:
22165         * gst/gstqueryutils.h:
22166           remove queryutils headers after moving the two used functions
22167           to gstquery.  also fixes build problem for gstsiddec
22168
22169 2005-09-26  Michael Smith <msmith@fluendo.com>
22170
22171         * tools/gst-launch.1.in:
22172         Correct documentation in manpage of debug syntax
22173
22174 2005-09-26  Wim Taymans  <wim@fluendo.com>
22175
22176         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22177         (gst_base_src_is_seekable), (gst_base_src_change_state):
22178         Some more debugging info.
22179
22180 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22181
22182         * docs/gst/gstreamer-sections.txt:
22183         * gst/base/gstbasetransform.h:
22184         * gst/gstindex.h:
22185           added more docs
22186
22187 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22188
22189         * docs/gst/.cvsignore:
22190         * docs/gst/tmpl/.cvsignore:
22191         * docs/gst/tmpl/gstpipeline.sgml:
22192         * docs/gst/tmpl/gstplugin.sgml:
22193         * gst/gstpipeline.c:
22194         * gst/gstplugin.c:
22195         * gst/gstplugin.h:
22196           inlined the last two docs files
22197           removed the tmpl directory from cvs (no more conflicts here!)
22198
22199 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22200
22201         * docs/gst/gstreamer-sections.txt:
22202         * docs/gst/tmpl/.cvsignore:
22203         * docs/gst/tmpl/gstpad.sgml:
22204         * docs/gst/tmpl/gstpadtemplate.sgml:
22205         * gst/Makefile.am:
22206         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22207         (gst_pad_finalize), (gst_pad_set_pad_template):
22208         * gst/gstpad.h:
22209         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22210         (gst_pad_template_class_init), (gst_pad_template_init),
22211         (gst_pad_template_dispose), (name_is_valid),
22212         (gst_static_pad_template_get), (gst_pad_template_new),
22213         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22214         (gst_pad_template_pad_created):
22215         * gst/gstpadtemplate.h:
22216           inlined two more docs
22217           factored gstpadtemplate out of gstpad
22218
22219 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22220
22221         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22222         (test_children_state_change_order_semi_sink):
22223           Fix test case: we can't rely on a fixed state change order when
22224           going from READY => PAUSED because the sink might commit its 
22225           new state first when the first buffer created by the source 
22226           reaches the sink before the source has finished its change state.
22227           (Test case still fails at times, see #316856, comment 5 onwards)
22228
22229 2005-09-24  Wim Taymans  <wim@fluendo.com>
22230
22231         * docs/design/part-events.txt:
22232         * docs/design/part-gstbus.txt:
22233         * docs/design/part-gstpipeline.txt:
22234         * docs/design/part-messages.txt:
22235         * docs/design/part-overview.txt:
22236         * docs/design/part-segments.txt:
22237         * gst/gstbin.c:
22238         * gst/gstbuffer.c:
22239         * gst/gstclock.c:
22240         * gst/gstelement.c:
22241         * gst/gstevent.c:
22242         * gst/gstfilter.c:
22243         * gst/gstiterator.c:
22244         Various documentation updates.
22245
22246 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22247
22248         * gst/gstclock.h:
22249           Well, that's embarassing.  Luckily we weren't using
22250           GST_CLOCK_DIFF anywhere.
22251
22252 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22253
22254         * common/gtk-doc.mak:
22255           don't fail on building XML, FC4 slave shows a bunch of doc
22256           missing bits that I don't get
22257         * gst/gstpad.c:
22258         * gst/gstpipeline.c:
22259         * gst/gststructure.c:
22260           some doc updates
22261
22262 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22263
22264         * docs/design/part-gstbin.txt:
22265         * docs/design/part-gstbus.txt:
22266         * gst/gstbus.c:
22267           Add blurb about how the bus goes into flushing mode and
22268           drops all messages when its bin goes from READY into NULL 
22269           state.
22270
22271 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22272
22273         * docs/gst/gstreamer-sections.txt:
22274         * gst/gststructure.c: (gst_structure_get_clock_time):
22275         * gst/gststructure.h:
22276           add a method to get a GstClockTime out of a structure
22277
22278 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22279
22280         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22281         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22282           Added test to check state change order in bins (can still be made
22283           to fail here under heavy disk load; bails out with 'Push on pad
22284           fakesink:sink0, but it was not activated in push mode').
22285
22286         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22287           Fix state change order when there is only a semi sink (#316856)
22288
22289         * gst/gstbus.c: (gst_bus_class_init):
22290           Use _class_peek_parent(), not _class_ref(); fix docs to say
22291           'default main context' instead of 'mainloop' where that is
22292           what's meant.
22293
22294         * gst/gstelement.c: (gst_element_commit_state),
22295         (gst_element_set_state):
22296           Fix typos in debug messages
22297
22298 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22299
22300         * docs/README:
22301         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22302         * gst/gstpluginfeature.c:
22303         * gst/gstutils.c:
22304           various doc updates
22305         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22306           change an assert into an error until it gets fixed properly
22307
22308 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22309
22310         * docs/gst/gstreamer-sections.txt:
22311         * docs/gst/tmpl/.cvsignore:
22312         * docs/gst/tmpl/gstelement.sgml:
22313         * docs/gst/tmpl/gstinfo.sgml:
22314         * docs/gst/tmpl/gstobject.sgml:
22315         * gst/gstelement.c:
22316         * gst/gstelement.h:
22317         * gst/gstinfo.c:
22318         * gst/gstinfo.h:
22319         * gst/gstobject.c: (gst_object_class_init):
22320         * gst/gstobject.h:
22321           inlined 3 more biiiig doc files and added some missing docs on the fly
22322
22323 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22324
22325         * check/gst/.cvsignore:
22326         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22327         * gst/gstregistryxml.c: (load_plugin),
22328         (gst_registry_xml_save_plugin):
22329           put back source in registry.  add checks for find_plugin.
22330         * testsuite/states/bin.c: (assert_state), (empty_bin),
22331         (test_adding_one_element), (main):
22332         * testsuite/states/locked.c: (main):
22333           some compile/run fixes
22334
22335 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22336
22337         * check/gst/gstvalue.c: (GST_START_TEST):
22338           fix leaks in the test itself
22339
22340 2005-09-22  Wim Taymans  <wim@fluendo.com>
22341
22342         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22343         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22344         (gst_base_sink_query):
22345         Prepare for more accurate position reporting and query
22346         handling.
22347
22348         * gst/gstelement.c: (gst_element_send_event),
22349         (gst_element_set_state):
22350         Add some comment.
22351
22352 2005-09-22  Wim Taymans  <wim@fluendo.com>
22353
22354         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22355         (gst_query_parse_segment):
22356         * gst/gstquery.h:
22357         More documentation.
22358         Add segment query for future use.
22359
22360 2005-09-22  Wim Taymans  <wim@fluendo.com>
22361
22362         * gst/gstbin.c: (gst_bin_add_func):
22363         Some more debug info.
22364
22365         * gst/gstelement.c: (gst_element_send_event):
22366         Simplify send_event
22367
22368         * gst/gstelement.h:
22369         Don't know how flags got broken.
22370
22371         * gst/gstquery.h:
22372         Added new query.
22373
22374 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22375
22376         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22377           Add simplistic test suite for GST_TYPE_DATE serialisation and
22378           deserialisation.
22379
22380 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22381
22382         * docs/gst/gstreamer-sections.txt:
22383         * gst/gststructure.c: (gst_structure_set_valist),
22384         (gst_structure_get_date):
22385         * gst/gststructure.h:
22386         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22387         (gst_date_copy), (gst_value_compare_date),
22388         (gst_value_serialize_date), (gst_value_deserialize_date),
22389         (gst_value_transform_date_string),
22390         (gst_value_transform_string_date), (_gst_value_initialize):
22391         * gst/gstvalue.h:
22392           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22393           bunch of utility functions along with a hack that checks that
22394           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22395           is required. Part of the grand scheme in #170777.
22396
22397 2005-09-22  Andy Wingo  <wingo@pobox.com>
22398
22399         * gst/gstconfig.h.in: Psych out gtk-doc.
22400
22401         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22402
22403         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22404
22405         * tools/gst-inspect.c (print_element_list): Plug some
22406         inconsequential leaks.
22407
22408         * gst/gstregistry.c (gst_registry_get_default): Doc.
22409
22410         * check/gst/gstplugin.c: 
22411         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22412         * gst/gstelementfactory.c (gst_element_factory_create): 
22413         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22414         refcount changes.
22415
22416         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22417         (gst_plugin_feature_load): Doc, don't eat refs.
22418
22419         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22420         (gst_plugin_list_free): Doc.
22421         (gst_plugin_load_file): Doc updates.
22422
22423         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22424         accessors returning refcounted objects, return a ref.
22425
22426         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22427         accessor for caps. IDEMPOTENCE. Oh yes.
22428
22429 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22430
22431         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22432
22433         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22434         (_gst_debug_register_funcptr):
22435           Add mutex to serialise access to the hash table with
22436           the function pointer => function name string mapping;
22437           make that hash table static scope (#316809).
22438
22439         * gst/registries/.cvsignore:
22440           Remove left-over file.
22441
22442 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22443
22444         * docs/pwg/appendix-porting.xml:
22445           And something about newsegment events and caps-on-buffers to
22446           the porting guide (feel free to improve).
22447
22448 2005-09-21  Andy Wingo  <wingo@pobox.com>
22449
22450         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22451         data and event probes on the same pad.
22452         (test_buffer_probe_once): Test that removing probes from within
22453         the probe functions works.
22454
22455 2005-09-21  Andy Wingo  <wingo@pobox.com>
22456
22457         * check/gst/gstutils.c: New file.
22458         (test_buffer_probe_n_times): A simple buffer probe test. More to
22459         come, foolios.
22460
22461         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22462         have-data::buffer, not have-data.
22463         (gst_pad_add_event_probe): Likewise for have-data::event.
22464         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22465         peer' isn't quite right yet though.
22466         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22467         (gst_pad_remove_data_probe): Change to take the guint handler_id
22468         as their arg, not the function+data, which is more glib-like.
22469
22470         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22471         the signal emission to indicate if the data is a buffer or an
22472         event.
22473         (gst_pad_get_type): Initialize buffer and event quarks.
22474         (gst_pad_class_init): have-data is now a detailed signal, yes it
22475         is.
22476
22477 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22478
22479         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22480         * gst/gstutils.c: (gst_util_set_value_from_string),
22481         (gst_util_set_object_arg):
22482           Don't put functional code in g_return_if_fail() or
22483           g_return_val_if_fail() statements, otherwise things will 
22484           break when G_DISABLE_CHECKS is defined during compilation.
22485
22486 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22487
22488         * docs/gst/tmpl/.cvsignore:
22489         * docs/gst/tmpl/gstvalue.sgml:
22490         * gst/gstvalue.c:
22491         * gst/gstvalue.h:
22492           inlied another one and added  some obvious docs
22493
22494 2005-09-21  Wim Taymans  <wim@fluendo.com>
22495
22496         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22497         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22498         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22499         (gst_fdsrc_get_property), (gst_fdsrc_create):
22500         * gst/elements/gstfdsrc.h:
22501         Properly implement fdsrc. Removed signal and timeout,
22502         better implemented somewhere else.
22503
22504 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22505
22506         * docs/gst/tmpl/.cvsignore:
22507         * docs/gst/tmpl/gstimplementsinterface.sgml:
22508         * gst/gstinterface.c:
22509           inlined more docs
22510
22511 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22512
22513         * docs/gst/gstreamer-sections.txt:
22514         * docs/gst/tmpl/.cvsignore:
22515         * docs/gst/tmpl/gstenumtypes.sgml:
22516           remove obsolete doc file
22517
22518 2005-09-21  David Schleef  <ds@schleef.org>
22519
22520         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22521         little beer, fix a little leak.
22522
22523 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22524
22525         * docs/gst/gstreamer-docs.sgml:
22526         * docs/gst/gstreamer-sections.txt:
22527         * docs/gst/tmpl/.cvsignore:
22528         * gst/Makefile.am:
22529         * gst/gst.h:
22530         * gst/gstbin.c:
22531         * gst/gstelement.h:
22532         * gst/gstindex.c: (gst_index_class_init):
22533         * gst/gstindex.h:
22534         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22535         (gst_index_factory_class_init), (gst_index_factory_init),
22536         (gst_index_factory_finalize), (gst_index_factory_new),
22537         (gst_index_factory_destroy), (gst_index_factory_find),
22538         (gst_index_factory_create), (gst_index_factory_make):
22539         * gst/gstindexfactory.h:
22540         * gst/gstpluginfeature.c:
22541         * gst/gstpluginfeature.h:
22542         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22543           more docs inlined, splitted gstindex.{c,h}
22544
22545 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22546
22547         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22548           fix a leak
22549
22550 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22551
22552         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22553           Set sync to FALSE by default.
22554
22555 2005-09-20  Wim Taymans  <wim@fluendo.com>
22556
22557         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22558         (gst_base_sink_init):
22559         Make sync property settable from subclass.
22560
22561         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22562         (gst_fake_sink_change_state):
22563         Set sync to FALSE by default.
22564
22565 2005-09-20  Wim Taymans  <wim@fluendo.com>
22566
22567         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22568         * tools/gst-launch.c: (main):
22569         The timeout handler should have lower priority than the source
22570         so we don't timeout before popping a message with 0 timeout.
22571         Dump error messages after failed state change.
22572
22573 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22574
22575         * tools/gst-inspect.c: (print_element_properties_info):
22576           Fix two typos.
22577
22578 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22579
22580         * check/gst/gstevent.c:
22581         * gst/elements/gstfakesink.c:
22582         * gst/elements/gstfakesink.h:
22583           remove the sync property from fakesink.
22584           has the side effect of setting sync TRUE
22585           for fakesink, which is a change.  Anyone who knows how
22586           to fix this nicely in a GObject-y way, feel free.
22587
22588 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22589
22590         * docs/gst/gstreamer-docs.sgml:
22591           remove probe refsection
22592
22593 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22594
22595         * check/Makefile.am:
22596           disable valgrinding the controller test again
22597         * docs/gst/gstreamer-sections.txt:
22598           update for api-changes
22599
22600 2005-09-20  Wim Taymans  <wim@fluendo.com>
22601
22602         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22603         (gst_base_sink_set_property), (gst_base_sink_get_property),
22604         (gst_base_sink_do_sync):
22605         * gst/base/gstbasesink.h:
22606         Added sync property to basesink to disable clock sync.
22607
22608 2005-09-20  Andy Wingo  <wingo@pobox.com>
22609
22610         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22611         eating the caller's refcount.
22612
22613         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
22614         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22615         refcount.
22616
22617         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22618         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22619         of GLib 2.8 public, so we can know which refcount to check in
22620         tests.
22621
22622         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22623         (gst_object_init): Only set the gst refcount if we're going ahead
22624         with the refcount hack.
22625
22626 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22627
22628         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22629         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22630           more leaks plumbed, added more debug-logging
22631         * gst/gstmacros.h:
22632           whitespace fix
22633
22634 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22635
22636         * gst/gstmessage.c:
22637           remove include of gstmemchunk.h
22638
22639 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22640
22641         * gst/gstclock.c: (_gst_clock_id_free):
22642           Commit from the Political Party For More Atomic CVS Commits,
22643           so that people don't waste too much of their day fishing
22644           out obvious leaks out of massive commits.
22645           Oh, and fix a pretty damn obvious leak in the memchunk
22646           removal code.
22647
22648 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22649
22650         * check/Makefile.am:
22651         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22652           plug mem-leak, re-add to valgrindable tests
22653
22654 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22655
22656         * gst/gstplugin.h:
22657           unbreak the build for those who have chronic arthritis
22658           and typing "make check" is just too taxing on the hands
22659
22660 2005-09-20  Andy Wingo  <wingo@pobox.com>
22661
22662         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22663         really want it out, you should fix plugins at the same time.
22664
22665 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
22666
22667         * configure.ac:
22668         * docs/gst/gstreamer-sections.txt:
22669         * gst/gstobject.c:
22670           added missing symbols to api docs
22671           disable ref-count hack if we have glib >= 2.8
22672
22673 2005-09-19  David Schleef  <ds@schleef.org>
22674
22675         * docs/gst/Makefile.am: Ignore a few more internal headers
22676         * docs/gst/gstreamer-docs.sgml: Remove old sections
22677         * docs/gst/gstreamer-sections.txt: Remove old sections
22678         * docs/gst/tmpl/gstobject.sgml: update
22679         * docs/gst/tmpl/gstplugin.sgml: update
22680         * docs/gst/tmpl/gstpluginfeature.sgml: update
22681         * docs/random/ds/0.9-suggested-changes: update.
22682         * gst/Makefile.am: remove memchunk and trashstack, since they're
22683           not used.
22684         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22685         * gst/gst.h: don't include some headers
22686         * gst/gstchildproxy.c: add gstmarshal.h
22687         * gst/gstclock.c: Don't use memchunks
22688         * gst/gstminiobject.c: Add some docs
22689         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22690         * gst/gstobject.h: same
22691         * gst/gstplugin.c: include gstmacros.h
22692         * gst/gstplugin.h: don't include gstmacros.h, since it's private
22693         * gst/gstquery.c: don't use memchunks
22694         * gst/gstregistry.c: rename gst_registry_deinit()
22695         * gst/gstregistry.h: same
22696
22697 2005-09-19  David Schleef  <ds@schleef.org>
22698
22699         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22700         * docs/libs/gstreamer-libs-sections.txt:
22701         * docs/libs/tmpl/gstgetbits.sgml:
22702         * docs/libs/tmpl/gstputbits.sgml:
22703
22704 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
22705
22706         * win32/gstenumtypes.c:
22707         * win32/gstenumtypes.h:
22708           Update.
22709
22710 2005-09-19  Wim Taymans  <wim@fluendo.com>
22711
22712         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22713         Automatically PAUSE and RESUME a pipeline when a flushing seek
22714         is performed.
22715
22716 2005-09-19  Andy Wingo  <wingo@pobox.com>
22717
22718         * gst/gstregistry.h: Spacing fixen.
22719
22720 2005-09-19  Wim Taymans  <wim@fluendo.com>
22721
22722         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22723         Handle state change failure more correctly.
22724
22725 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22726
22727         * check/Makefile.am:
22728         * check/pipelines/cleanup.c: (run_pipeline):
22729         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22730         (GST_START_TEST):
22731           enable cleanup again after fixing the leak
22732         * docs/README:
22733           some more info on docs
22734
22735 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22736
22737         * check/Makefile.am:
22738           re-enable tests now that leaks are plugged
22739         * check/gst/gst.c:
22740         * check/gst/gstbin.c:
22741         * check/gst/gstpipeline.c:
22742           add some more tests while fixing leaks
22743         * common/check.mak:
22744           make sure binaries are uptodate when valgrinding/gdbing
22745         * gst/gst.c:
22746         * gst/gstelementfactory.c:
22747           remove a ref too many, and add a FIXME for when we get
22748           round to disposing of classes
22749         * gst/gstplugin.c:
22750           fix the refcounting when loading a plugin from a file and
22751           the code pretends that the pointer is the same even though
22752           of course it can change
22753         * gst/gstpluginfeature.c:
22754           unref plugins marked cached (a bit confusing as a name)
22755           as the docs state should be done
22756           various doc additions to explain refcounting
22757         * gst/gstregistry.c:
22758         * gst/gstregistryxml.c:
22759           debugging
22760
22761 2005-09-19  Wim Taymans  <wim@fluendo.com>
22762
22763         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22764         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22765         (send_messages), (GST_START_TEST), (gstbus_suite):
22766         * check/gst/gstpipeline.c: (GST_START_TEST):
22767         * check/pipelines/cleanup.c: (run_pipeline):
22768         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22769         (GST_START_TEST):
22770         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22771         (gst_bus_source_check), (gst_bus_source_dispatch),
22772         (gst_bus_create_watch), (gst_bus_add_watch_full),
22773         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22774         * gst/gstbus.h:
22775         * tools/gst-launch.c: (event_loop):
22776         * tools/gst-md5sum.c: (event_loop):
22777         GstBusHandler -> GstBusFunc, return value has the same meaning as
22778         any other GSource (FALSE == remove source).
22779         _add_watch() and _add_watch_full() now take a MessageType mask to
22780         only handle specific types of messages.
22781         _poll() returns the GstMessage instead of the message type to avoid
22782         race conditions.
22783         _have_pending() takes a MessageType mask now too.
22784         Added testsuite for multiple bus watches.
22785         Fix testsuites and applications for new bus API.
22786
22787 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22788
22789         * check/Makefile.am:
22790           mark a bunch of the tests as to fix until we fix them
22791
22792 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22793
22794         * common/check.mak:
22795           use GST_PLUGIN settings for valgrind tests as well, so we're
22796           valgrinding the correct thing
22797         * gst/gst.c: (init_post):
22798           plug another leak
22799
22800 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22801
22802         * gst/gst.c: (init_post), (gst_deinit):
22803         * gst/gstelementfactory.c: (gst_element_factory_class_init),
22804         (gst_element_factory_finalize), (gst_element_factory_cleanup):
22805         * gst/gstindex.c: (gst_index_factory_class_init),
22806         (gst_index_factory_finalize):
22807         * gst/gstobject.c: (gst_object_dispose):
22808         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22809         (gst_plugin_load_file), (gst_plugin_desc_free):
22810         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22811         (gst_plugin_feature_finalize):
22812         * gst/gstregistry.c: (gst_registry_class_init),
22813         (gst_registry_init), (gst_registry_finalize),
22814         (gst_registry_get_default), (gst_registry_deinit):
22815         * gst/gstregistry.h:
22816         * gst/gstregistryxml.c: (load_feature), (load_plugin):
22817           various cleanups and memleak plugging.  make valgrind is happy now.
22818
22819 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22820
22821         * common/check.mak:
22822           add a check-valgrind target
22823
22824 2005-09-18  David Schleef  <ds@schleef.org>
22825
22826         * tools/gst-inspect.c: Revert the GOption code.
22827
22828 2005-09-17  David Schleef  <ds@schleef.org>
22829
22830         * check/Makefile.am: Fix environment variables.
22831         * check/gst/gstplugin.c: Fix for API changes.
22832         * tools/gst-inspect.c: Fix for API changes.
22833         * tools/gst-xmlinspect.c: Fix for API changes.
22834         * gst/gstelementfactory.c:
22835         * gst/gstplugin.c:
22836         * gst/gstplugin.h:
22837         * gst/gstpluginfeature.c:
22838         * gst/gstpluginfeature.h:
22839         * gst/gstregistry.c:
22840         * gst/gstregistry.h:
22841         * gst/gstregistryxml.c:
22842         * gst/gsttypefind.c:
22843         * gst/gsttypefindfactory.c:
22844         * gst/indexers/gstfileindex.c:
22845         * gst/indexers/gstmemindex.c:
22846         * gst/schedulers/Makefile.am:
22847           Change registry to keep track of both plugins and features,
22848           removing the feature tracking from plugins themselves.
22849
22850 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22851
22852         * check/Makefile.am:
22853         * tools/gst-register.1.in:
22854           remove gst-register
22855
22856 2005-09-15  David Schleef  <ds@schleef.org>
22857
22858         * check/gst/gstplugin.c:
22859         * gst/gstelementfactory.c:
22860         * gst/gstplugin.c:
22861         * gst/gstpluginfeature.c:
22862         * gst/gstregistry.c:
22863           Getting tired of debugging.  Disabled all the unreffing of
22864           plugins and features, which fixes the segfaults, but of
22865           course leaks like crazy.  At least playbin works.
22866
22867 2005-09-15  David Schleef  <ds@schleef.org>
22868
22869         * check/gst/gstplugin.c: (register_check_elements),
22870         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22871         More testing
22872         * gst/elements/gsttypefindelement.c: Fix refcounting.
22873         * gst/gsttypefind.c:
22874         * gst/gsttypefindfactory.c:
22875         * gst/gsttypefindfactory.h:
22876
22877 2005-09-15  David Schleef  <ds@schleef.org>
22878
22879         * gst/gstindex.c: get refcounting correct.
22880         * gst/gstregistry.c: Handle the case where a feature/plugin is
22881           not found.
22882
22883 2005-09-15  David Schleef  <ds@schleef.org>
22884
22885         * check/Makefile.am:
22886         * check/gst/gstplugin.c: Add test
22887         * gst/gstplugin.c: Fix problems noticed by testsuite
22888         * gst/gstplugin.h:
22889         * gst/gstregistry.c: 
22890         * gst/gstregistry.h:
22891
22892 2005-09-15  David Schleef  <ds@schleef.org>
22893
22894         * gst/gstplugin.c: Implement semi-decent recounting and locking
22895           in plugins and plugin features.
22896         * gst/gstplugin.h:
22897         * gst/gstpluginfeature.c:
22898         * gst/gstpluginfeature.h:
22899         * gst/gstregistry.c:
22900
22901 2005-09-15  Michael Smith <msmith@fluendo.com>
22902
22903         * gst/gstregistry.c: (gst_registry_get_feature_list):
22904           Implement this. Makes oggdemux work; decodebin still broken.
22905
22906 2005-09-14  David Schleef  <ds@schleef.org>
22907
22908         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
22909           #316076)
22910         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
22911         * gst/check/Makefile.am:
22912         * libs/gst/controller/Makefile.am:
22913         * libs/gst/dataprotocol/Makefile.am:
22914
22915 2005-09-14  David Schleef  <ds@schleef.org>
22916
22917         * configure.ac: Remove getbits library.  Nothing uses it, and
22918           it should be in something like liboil if someone did want
22919           to use it.
22920         * libs/gst/Makefile.am:
22921         * libs/gst/getbits/Makefile.am:
22922         * libs/gst/getbits/gbtest.c:
22923         * libs/gst/getbits/getbits.c:
22924         * libs/gst/getbits/getbits.h:
22925         * libs/gst/getbits/gstgetbits_generic.c:
22926         * libs/gst/getbits/gstgetbits_i386.s:
22927         * libs/gst/getbits/gstgetbits_inl.h:
22928
22929 2005-09-14  David Schleef  <ds@schleef.org>
22930
22931         * gst/Makefile.am: Dist glib-compat.h
22932
22933 2005-09-14  David Schleef  <ds@schleef.org>
22934
22935         * configure.ac: Remove gst/registries, since it's no longer used.
22936         * gst/registries/Makefile.am:
22937         * gst/registries/gstlibxmlregistry.c:
22938         * gst/registries/gstlibxmlregistry.h:
22939         * gst/registries/gstxmlregistry.c:
22940         * gst/registries/gstxmlregistry.h:
22941         * gst/registries/registrytest.c:
22942
22943 2005-09-14  David Schleef  <ds@schleef.org>
22944
22945         * gst/glib-compat.h:
22946         * gst/gstregistryxml.c:
22947           Convergence is near.  Seriously.
22948
22949 2005-09-14  David Schleef  <ds@schleef.org>
22950
22951         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22952         * gst/glib-compat.h:
22953           Attempt #4 to appease the buildbots.
22954
22955 2005-09-14  David Schleef  <ds@schleef.org>
22956
22957         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22958           Attempt #3.
22959
22960 2005-09-14  David Schleef  <ds@schleef.org>
22961
22962         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22963         Attempt #2.
22964
22965 2005-09-14  David Schleef  <ds@schleef.org>
22966
22967         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
22968           the new functions.
22969
22970 2005-09-14  David Schleef  <ds@schleef.org>
22971
22972         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22973         * gst/glib-compat.h: Add some functions that are in newer versions
22974           of glib than we care to require.
22975         * gst/gstregistryxml.c: Use them.
22976
22977 2005-09-14  David Schleef  <ds@schleef.org>
22978
22979         * po/POTFILES.in: remove gst-register.c
22980
22981 2005-09-14  David Schleef  <ds@schleef.org>
22982
22983         * docs/gst/gstreamer-docs.sgml:
22984         * docs/gst/gstreamer-sections.txt:
22985         * docs/gst/gstreamer.types:
22986         * docs/gst/tmpl/gstelement.sgml:
22987         * docs/gst/tmpl/gstplugin.sgml:
22988         * docs/gst/tmpl/gstpluginfeature.sgml:
22989           Documentation updates for registry changes.
22990
22991 2005-09-14  David Schleef  <ds@schleef.org>
22992
22993         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
22994           because we don't require glib-2.8.
22995
22996 2005-09-14  David Schleef  <ds@schleef.org>
22997
22998         * gst/gstregistryxml.c: Added.  Essentially moved out of the
22999           registries directory.
23000
23001 2005-09-14  David Schleef  <ds@schleef.org>
23002
23003         * check/Makefile.am:
23004         * check/generic/states.c:
23005         * gst/Makefile.am:
23006         * gst/gst.c:
23007         * gst/gst.h:
23008         * gst/gst_private.h:
23009         * gst/gstelementfactory.c:
23010         * gst/gstindex.c:
23011         * gst/gstinfo.c:
23012         * gst/gstplugin.c:
23013         * gst/gstplugin.h:
23014         * gst/gstpluginfeature.c:
23015         * gst/gstpluginfeature.h:
23016         * gst/gstregistry.c:
23017         * gst/gstregistry.h:
23018         * gst/gstregistrypool.c: remove
23019         * gst/gstregistrypool.h: remove
23020         * gst/gsttypefind.c:
23021         * gst/gsttypefindfactory.c:
23022         * gst/gsturi.c:
23023         * tools/Makefile.am:
23024         * tools/gst-compprep.c:
23025         * tools/gst-inspect.c:
23026         * tools/gst-register.c: remove
23027         * tools/gst-xmlinspect.c:
23028           Registry rewrite.  Changes registry from being a file created
23029           by a tool into a simple cache file created automatically by 
23030           libgstreamer.  Removed gst-register (because it's no longer
23031           needed).  Remove registry pools, because we only have one
23032           registry implementation (XML).  Fix up other subsystems as
23033           necessary.
23034
23035 2005-09-13  Michael Smith <msmith@fluendo.com>
23036
23037         * gst/gstconfig.h.in:
23038           Don't Use windows linking attributes for MinGW. Fixes #316157
23039
23040 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23041
23042         * gst/gstutils.c: (set_state_async_thread_func),
23043         (gst_element_set_state_async):
23044           Apparently people think it's better if this function doesn't
23045           try to set the state to whatever state was asked for on the first
23046           call to this function for any object.  Seriously.
23047
23048 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23049
23050         * check/gst/gstpipeline.c: (GST_START_TEST):
23051         * docs/gst/gstreamer-sections.txt:
23052         * gst/gstutils.c: (set_state_async_thread_func),
23053         (gst_element_set_state_async):
23054         * gst/gstutils.h:
23055           add a "gst_element_set_state_async" method that
23056           sets the state and starts a thread to make sure the state
23057           change completes as best as it can
23058
23059 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23060
23061         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23062           codify design+behaviour in testsuite after discussion
23063
23064 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23065
23066         * docs/gst/tmpl/gstelement.sgml:
23067         * docs/manual/appendix-quotes.xml:
23068           add a quote
23069         * gst/gstelement.c: (gst_element_set_state):
23070           add some debug
23071
23072 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23073
23074         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23075         (gst_base_transform_prepare_output_buf),
23076         (gst_base_transform_handle_buffer):
23077         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23078         (gst_capsfilter_prepare_buf):
23079           Remove the requirement for sub-classes to call the parent
23080           implementation of prepare_output_buffer with a wrapper function.
23081           
23082         * gst/gsttaglist.h:
23083         * gst/gsttagsetter.h:
23084           Fix #define wrapper
23085
23086 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23087
23088         * docs/gst/gstreamer-sections.txt:
23089           more doc cleanups
23090
23091 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23092
23093         * docs/gst/gstreamer-sections.txt:
23094         * docs/gst/tmpl/gstelement.sgml:
23095         * docs/gst/tmpl/gstplugin.sgml:
23096         * gst/gstminiobject.c:
23097         * gst/gstvalue.h:
23098           docs now stop throwing warnings
23099
23100 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23101
23102         * docs/gst/gstreamer-sections.txt:
23103         * docs/gst/gstreamer.types:
23104         * docs/gst/tmpl/gstpad.sgml:
23105         * docs/gst/tmpl/gsttypes.sgml:
23106         * gst/base/gstadapter.h:
23107         * gst/base/gstbasesink.h:
23108         * gst/base/gstbasesrc.h:
23109         * gst/gstbin.h:
23110         * gst/gstbuffer.h:
23111         * gst/gstbus.h:
23112         * gst/gstcaps.h:
23113         * gst/gstclock.h:
23114         * gst/gstelement.h:
23115         * gst/gstevent.h:
23116         * gst/gstmessage.h:
23117         * gst/gstpad.h:
23118         * gst/gststructure.c:
23119         * gst/registries/gstlibxmlregistry.h:
23120           various documentation fixes
23121
23122 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23123
23124         * docs/gst/gstreamer-sections.txt:
23125         * docs/gst/tmpl/gstvalue.sgml:
23126           rearrange gstvalue section
23127         * gst/gstutils.c: (gst_element_state_get_name):
23128           NONE -> VOID
23129         * gst/gstvalue.c: (_gst_value_initialize):
23130         * gst/gstvalue.h:
23131           doc updates
23132
23133 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23134
23135         * check/gst-libs/controller.c:
23136           Header include fix.
23137         * gst/base/gstbasetransform.c:
23138         (gst_base_transform_default_prepare_buf),
23139         (gst_base_transform_handle_buffer):
23140         * gst/base/gstbasetransform.h:
23141           Some more basetransform changes and fixes to enable sub-classes
23142           that modify buffer metadata only.
23143         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23144         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23145         (gst_capsfilter_prepare_buf):
23146           If the output pad has fixed allowed caps and input buffers 
23147           don't have any, set the fixed caps on outgoing buffers.
23148
23149 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23150         * check/elements/identity.c: (GST_START_TEST):
23151           Make the error a little clearer when the test fails because
23152           identity made a copy of the buffer.
23153         * docs/gst/gstreamer-sections.txt:
23154           New symbols in gstbasetransform.h
23155         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23156         (gst_base_transform_init), (gst_base_transform_transform_size),
23157         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23158         (gst_base_transform_default_prepare_buf),
23159         (gst_base_transform_get_unit_size),
23160         (gst_base_transform_buffer_alloc),
23161         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23162         (gst_base_transform_change_state),
23163         (gst_base_transform_set_passthrough),
23164         (gst_base_transform_set_in_place),
23165         (gst_base_transform_is_in_place):
23166         * gst/base/gstbasetransform.h:
23167           Change BaseTransform to separate in_place operate from same_caps
23168           output. in_place implies that the element can perform the transform
23169           on incoming buffers in-place, even if the caps on the output are
23170           different.
23171           Sub-class elements can now implement special buffer allocation
23172           methods for outgoing buffers if they wish to.
23173           Big documentation addition.
23174         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23175         * gst/elements/gstelements.c:
23176           Changes for basetransform modifications.
23177         * gst/elements/Makefile.am:
23178         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23179           Compile fix. Extra debug output.
23180
23181 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23182
23183         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23184         (gst_pad_suite):
23185           add tests for valid pad naming
23186         * gst/check/gstcheck.c: (gst_check_log_message_func),
23187         (gst_check_log_critical_func):
23188           add ASSERT_WARNING
23189           remove printing of code, it is fragile when the code contains
23190           % and the line number is enough info
23191         * gst/check/gstcheck.h:
23192         * gst/gstpad.c: (gst_pad_template_new):
23193           fix memleaks
23194
23195 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23196
23197         * configure.ac:
23198           say what CHECK flags we use
23199         * docs/libs/gstreamer-libs.types:
23200         * libs/gst/controller/Makefile.am:
23201         * libs/gst/controller/gst-controller.c:
23202         * libs/gst/controller/gst-controller.h:
23203         * libs/gst/controller/gst-helper.c:
23204         * libs/gst/controller/gst-interpolation.c:
23205         * libs/gst/controller/gstcontroller.c:
23206         * libs/gst/controller/gsthelper.c:
23207         * libs/gst/controller/gstinterpolation.c:
23208         * tools/gst-inspect.c: (print_plugin_info):
23209           we don't use dashes in header names
23210
23211 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23212
23213         * check/Makefile.am:
23214         * check/gst/.cvsignore:
23215         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23216         (gst_pipeline_suite), (main):
23217           adding a test for pipelines and state changes
23218         * gst/gstutils.c: (get_state_func):
23219           add some debugging
23220         * gstreamer.spec.in:
23221           fix up spec file
23222
23223 2005-09-08  Michael Smith <msmith@fluendo.com>
23224
23225         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23226         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23227         (gst_file_src_is_seekable), (gst_file_src_get_size),
23228         (gst_file_src_start):
23229         * gst/elements/gstfilesrc.h:
23230           Various fixes for unseekable, unmmapable, and non-normal files, so
23231           that fallback to read() rather than mmap() works.
23232         * gst/gstevent.c: (gst_event_new_newsegment):
23233           Allow newsegment events with segment_start == segment_end, as will
23234           correctly happen if you use filesrc on a zero-size file, for
23235           example.
23236
23237 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23238
23239         * gst/gstplugin.c: (gst_plugin_load_file):
23240           Call g_module_close when we don't load the module
23241
23242         * gst/registries/gstlibxmlregistry.c:
23243         (gst_xml_registry_get_property):
23244           Port leak fix from 0.8
23245
23246 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23247
23248         * docs/gst/gstreamer-docs.sgml:
23249         * docs/gst/tmpl/.cvsignore:
23250         * docs/gst/tmpl/gsttrace.sgml:
23251         * docs/gst/tmpl/gsttrashstack.sgml:
23252         * gst/Makefile.am:
23253         * gst/gst.h:
23254         * gst/gstelement.h:
23255         * gst/gstevent.h:
23256         * gst/gstmessage.c:
23257         * gst/gstmessage.h:
23258         * gst/gsttag.c:
23259         * gst/gsttag.h:
23260         * gst/gsttaginterface.c:
23261         * gst/gsttaginterface.h:
23262         * gst/gsttaglist.c:
23263         * gst/gsttaglist.h:
23264         * gst/gsttagsetter.c:
23265         * gst/gsttagsetter.h:
23266         * gst/gsttrace.c:
23267         * gst/gsttrace.h:
23268         * gst/gsttrashstack.c:
23269           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23270           inlined docs for gsttrace, gsttrashstack
23271
23272 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23273
23274         * gst/Makefile.am:
23275         * gst/elements/gstbufferstore.h:
23276         * gst/elements/gsttypefindelement.c:
23277         * gst/elements/gsttypefindelement.h:
23278         * gst/gst.h:
23279         * gst/gsttypefind.c:
23280         * gst/gsttypefind.h:
23281         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23282         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23283         (gst_type_find_factory_dispose),
23284         (gst_type_find_factory_unload_thyself),
23285         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23286         (gst_type_find_factory_get_caps),
23287         (gst_type_find_factory_get_extensions),
23288         (gst_type_find_factory_call_function):
23289         * gst/gsttypefindfactory.h:
23290         * gst/registries/gstlibxmlregistry.c:
23291         * gst/registries/gstxmlregistry.c:
23292           splitted gsttypefind into gsttypefind, gsttypefindfactory
23293
23294 2005-09-07  Andy Wingo  <wingo@pobox.com>
23295
23296         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23297         condition whereby the pad's task function is entered before the
23298         pad_mode variable was set.
23299
23300 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23301
23302         * gst/gstpad.c: (gst_pad_alloc_buffer):
23303           Catch misbehaving pad_alloc functions that don't
23304           set up caps and do it for them.
23305
23306 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23307
23308         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23309           test for pipe!=NULL
23310         * docs/gst/tmpl/.cvsignore:
23311         * docs/gst/tmpl/gstmemchunk.sgml:
23312         * docs/gst/tmpl/gstparse.sgml:
23313         * docs/gst/tmpl/gsttaglist.sgml:
23314         * docs/gst/tmpl/gsttagsetter.sgml:
23315         * docs/gst/tmpl/gsttypefind.sgml:
23316         * docs/gst/tmpl/gsttypefindfactory.sgml:
23317         * gst/gstmemchunk.c:
23318         * gst/gstparse.c:
23319         * gst/gsttag.c:
23320         * gst/gsttaginterface.c:
23321         * gst/gsttypefind.c:
23322         * gst/gsttypefind.h:
23323           inlined more docs
23324
23325 === release 0.9.2 ===
23326
23327 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23328
23329         * NEWS:
23330         * RELEASE:
23331         * configure.ac:
23332           releasing 0.9.2, "South"
23333
23334 2005-09-05  Andy Wingo  <wingo@pobox.com>
23335
23336         * gst/registries/gstxmlregistry.h:
23337         * gst/registries/gstxmlregistry.c: Um... resurrect...
23338         
23339         * gst/registries/gstxmlregistry.h:
23340         * gst/registries/gstxmlregistry.c: and update to newer API.
23341         Incidentally they should be a bit faster now that they don't have
23342         to parse the caps.
23343         
23344 2005-09-05  Andy Wingo  <wingo@pobox.com>
23345
23346         * gst/registries/gstxmlregistry.h:
23347         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23348         replaced by the libxml registry a while back
23349
23350 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23351
23352         * docs/gst/tmpl/gstplugin.sgml:
23353         * gst/elements/gstelements.c:
23354         * gst/gst.c:
23355         * gst/gstplugin.c: (gst_plugin_register_func),
23356         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23357         (gst_plugin_get_source):
23358         * gst/gstplugin.h:
23359         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23360         (gst_xml_registry_save_plugin):
23361         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23362         (gst_xml_registry_save_plugin):
23363         * tools/gst-inspect.c: (print_plugin_info):
23364           add a "source" plugin description field, to represent the source
23365           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23366           will set it to PACKAGE, which is automake's idea of the name of
23367           the source project.
23368
23369 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23370
23371         * Makefile.am:
23372         * autogen.sh:
23373         * configure.ac:
23374         * docs/Makefile.am:
23375         * docs/faq/Makefile.am:
23376         * docs/gst/tmpl/gstelement.sgml:
23377         * docs/gst/tmpl/gsttypes.sgml:
23378         * docs/htmlinstall.mak:
23379         * docs/manual/Makefile.am:
23380         * docs/pwg/Makefile.am:
23381           reorganize doc build a little
23382           split out docbook and gtk-doc stuff
23383           have two separate --enable's and enable them through autogen
23384           but disable by default in configure (to be similar to other
23385           projects)
23386         * gstreamer.spec.in:
23387           clean up docs install
23388         * po/af.po:
23389         * po/az.po:
23390         * po/ca.po:
23391         * po/cs.po:
23392         * po/de.po:
23393         * po/en_GB.po:
23394         * po/fr.po:
23395         * po/it.po:
23396         * po/nb.po:
23397         * po/nl.po:
23398         * po/ru.po:
23399         * po/sq.po:
23400         * po/sr.po:
23401         * po/sv.po:
23402         * po/tr.po:
23403         * po/uk.po:
23404         * po/vi.po:
23405           translation updates
23406
23407 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23408
23409         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23410           Add comment.
23411           
23412         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23413         (gst_fake_sink_change_state):
23414           Make state change function thread-safe.
23415           
23416         * gst/gstpad.c: (gst_pad_alloc_buffer):
23417           Set offset on generic buffer allocated by fallback.
23418
23419 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23420
23421         * docs/gst/gstreamer-sections.txt:
23422         * docs/gst/tmpl/gstelement.sgml:
23423         * gst/gstpad.c:
23424         * libs/gst/controller/gst-controller.c:
23425         (gst_controlled_property_set_interpolation_mode),
23426         (gst_controlled_property_new),
23427         (gst_controller_find_controlled_property):
23428          run the wingo-magic script against the docs
23429
23430 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23431
23432         * docs/gst/gstreamer-docs.sgml:
23433         * docs/gst/gstreamer-sections.txt:
23434         * docs/gst/tmpl/.cvsignore:
23435         * docs/gst/tmpl/gstelementdetails.sgml:
23436         * docs/gst/tmpl/gstelementfactory.sgml:
23437         * gst/gst.c:
23438         * gst/gstbus.c:
23439         * gst/gstelementfactory.c:
23440         * gst/gstelementfactory.h:
23441           merged elementdetails docs into elementfactory docs
23442           inlined both
23443
23444 2005-09-02  Andy Wingo  <wingo@pobox.com>
23445
23446         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23447         consider this enum an enum and not a flags.
23448
23449 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23450
23451         * docs/gst/gstreamer-docs.sgml:
23452         * docs/gst/tmpl/.cvsignore:
23453         * docs/gst/tmpl/gstghostpad.sgml:
23454         * docs/gst/tmpl/gstiterator.sgml:
23455         * docs/gst/tmpl/gstmacros.sgml:
23456         * docs/gst/tmpl/gstrealpad.sgml:
23457         * docs/gst/tmpl/gstregistry.sgml:
23458         * docs/gst/tmpl/gstregistrypool.sgml:
23459         * docs/gst/tmpl/gststructure.sgml:
23460         * docs/gst/tmpl/gstsystemclock.sgml:
23461         * docs/gst/tmpl/gsttrace.sgml:
23462         * gst/gstghostpad.c:
23463         * gst/gstmacros.h:
23464         * gst/gstmemchunk.c:
23465         * gst/gstmemchunk.h:
23466         * gst/gstqueue.c:
23467         * gst/gstregistry.c:
23468         * gst/gstregistrypool.c:
23469         * gst/gststructure.c:
23470         * gst/gstsystemclock.c:
23471           more docs inlined
23472
23473 2005-09-02  Andy Wingo  <wingo@pobox.com>
23474
23475         * gst/gstelement.h (GstState): Renamed from GstElementState,
23476         changed to be a normal enum instead of flags.
23477         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23478         munged to be GST_STATE_CHANGE_*.
23479         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23480         work with the new state representation.
23481         (GstStateChange): New enumeration of possible state transitions.
23482         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23483         (GstElementClass::change_state): Pass the GstStateChange along as
23484         an argument. Helps language bindings, so they don't have to use
23485         tricky lock-needing macros like GST_STATE_CHANGE ().
23486
23487         * scripts/update-states (file): New script. Run it on a file to
23488         update it for state naming and API changes. Updates files in
23489         place.
23490
23491         * All files updated for the new API.
23492
23493 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23494
23495         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23496         * gst/gstutils.c: (gst_util_set_value_from_string),
23497         (gst_util_set_object_arg):
23498           fix a bunch of unchecked return values
23499         * tools/gst-complete.c: (main):
23500         * gstreamer.spec.in:
23501           clean up a little
23502
23503 2005-09-01  Wim Taymans  <wim@fluendo.com>
23504
23505         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23506         (gst_base_sink_event), (gst_base_sink_do_sync),
23507         (gst_base_sink_handle_event):
23508         * gst/base/gstbasesink.h:
23509         Handle newsegments more correctly.
23510
23511         * gst/gstbus.c:
23512         Fix docs.
23513
23514         * gst/gstevent.c: (gst_event_new_newsegment):
23515         A newsegment cannot have a start_time of -1
23516
23517 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23518
23519         * win32/gstenumtypes.c:
23520         * win32/gstenumtypes.h:
23521           Update
23522
23523 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23524
23525         * libs/gst/controller/gst-controller.c:
23526         (gst_controlled_property_set_interpolation_mode),
23527         (gst_controlled_property_new):
23528          fixed boolean again
23529
23530 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23531
23532         * docs/faq/gst-uninstalled:
23533           add -good
23534         * gst/gstevent.c:
23535         * gst/gstevent.h:
23536           remove wrong docs
23537         * gst/gstutils.c: (gst_element_link_filtered):
23538         * gst/gstutils.h:
23539           add gst_element_link_filtered
23540
23541 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23542
23543         * docs/gst/gstreamer-docs.sgml:
23544         * docs/gst/gstreamer-sections.txt:
23545         * docs/gst/tmpl/.cvsignore:
23546         * docs/gst/tmpl/gsterror.sgml:
23547         * docs/gst/tmpl/gstfilter.sgml:
23548         * docs/gst/tmpl/gsturihandler.sgml:
23549         * docs/gst/tmpl/gsturitype.sgml:
23550         * docs/gst/tmpl/gstutils.sgml:
23551         * docs/gst/tmpl/gstxml.sgml:
23552         * gst/gsterror.c:
23553         * gst/gsterror.h:
23554         * gst/gstfilter.c:
23555         * gst/gsturi.c:
23556         * gst/gsturitype.c:
23557         * gst/gstutils.c:
23558         * gst/gstxml.c:
23559           inlined more docs, fixed double id-ref
23560
23561 2005-08-31  Wim Taymans  <wim@fluendo.com>
23562
23563         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23564         (gst_base_transform_handle_buffer):
23565         Passthrough elements don't need the caps as they don't care.
23566
23567 2005-08-31  Wim Taymans  <wim@fluendo.com>
23568
23569         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23570         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23571         Don't leak refcounts on buffers.
23572
23573 2005-08-31  Wim Taymans  <wim@fluendo.com>
23574
23575         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23576         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23577         (gst_base_transform_chain), (gst_base_transform_change_state):
23578         * gst/base/gstbasetransform.h:
23579         Handle the case where we are not negotiated more gracefully.
23580
23581 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23582
23583         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23584         (gst_file_src_map_region):
23585           Set READONLY flag on mmap'ed buffers, otherwise
23586           gst_buffer_make_writable() won't work properly (#314708).
23587
23588 2005-08-31  Wim Taymans  <wim@fluendo.com>
23589
23590         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23591         passthrough elements can even do inplace on non writable
23592         buffers (as they don't touch them).
23593
23594 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23595
23596         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23597         (gst_test_mono_source_set_property),
23598         (gst_test_mono_source_class_init), (GST_START_TEST),
23599         (gst_controller_suite):
23600           more tests (hehe I have the most)
23601         * gst/gstbus.c:
23602           describe popping messages whenusing mulltiple sources
23603         * libs/gst/controller/gst-controller.c:
23604         (gst_controlled_property_set_interpolation_mode),
23605         (gst_controlled_property_new):
23606         * libs/gst/controller/gst-controller.h:
23607         * libs/gst/controller/gst-interpolation.c:
23608           implement boolean properties
23609
23610 2005-08-31  Wim Taymans  <wim@fluendo.com>
23611
23612         * gst/gstminiobject.c: (gst_mini_object_ref):
23613         Cannot assert that the refcount has to be positive
23614         since a disposed object can be resurrected.
23615
23616 2005-08-31  Wim Taymans  <wim@fluendo.com>
23617
23618         * gst/gstpad.c: (gst_pad_init):
23619         Revert change, need to first fix badly behaving 
23620         apps.
23621
23622 2005-08-30  Wim Taymans  <wim@fluendo.com>
23623
23624         * check/elements/fakesrc.c: (setup_fakesrc):
23625         * check/elements/identity.c: (setup_identity):
23626         Activate pads before using them.
23627
23628 2005-08-30  Wim Taymans  <wim@fluendo.com>
23629
23630         * gst/base/gstadapter.c: (gst_adapter_flush):
23631         Flushing out 0 bytes is ok for this function.
23632
23633         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23634         no newsegment gives a warning and sets the start/stop to 
23635         invalid.
23636
23637         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23638         (gst_base_transform_set_passthrough):
23639         Some debug info.
23640
23641         * gst/gstminiobject.c: (gst_mini_object_ref):
23642         Check refcount here too.
23643
23644         * gst/gstpad.c: (gst_pad_init):
23645         Pads are initially flushing and refusing data.
23646
23647         * gst/gstutils.c: (gst_element_link_pads_filtered):
23648         When adding a capsfilter element make sure it has the
23649         same state as the parent bin.
23650
23651 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23652
23653         * docs/gst/tmpl/.cvsignore:
23654         * docs/gst/tmpl/gstformat.sgml:
23655         * docs/gst/tmpl/gstversion.sgml:
23656         * gst/gstbus.h:
23657         * gst/gstformat.c:
23658         * gst/gstformat.h:
23659         * gst/gstversion.h.in:
23660           more docs and two more inlined
23661
23662 2005-08-30  Wim Taymans  <wim@fluendo.com>
23663
23664         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23665         Don't sync to clock.
23666
23667 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23668
23669         * docs/gst/gstreamer-sections.txt:
23670           ultral33t func10ns deserve to appear in the docs actually
23671         * docs/gst/tmpl/.cvsignore:
23672         * docs/gst/tmpl/gstcompat.sgml:
23673         * docs/gst/tmpl/gstconfig.sgml:
23674         * gst/check/gstcheck.c:
23675         * gst/gstcompat.h:
23676         * gst/gstconfig.h.in:
23677           inlined more docs
23678
23679 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23680
23681         * docs/gst/tmpl/.cvsignore:
23682         * docs/gst/tmpl/gstquery.sgml:
23683         * docs/gst/tmpl/gstutils.sgml:
23684         * gst/gstquery.c:
23685         * gst/gstquery.h:
23686           inlined and extended docs
23687
23688 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23689
23690         * check/gst-libs/controller.c: (GST_START_TEST),
23691         (gst_controller_suite):
23692           more tests
23693         * docs/gst/tmpl/gstutils.sgml:
23694         * docs/libs/gstreamer-libs-sections.txt:
23695         * docs/libs/tmpl/gstdataprotocol.sgml:
23696           include path fixes
23697         * examples/controller/audio-example.c: (main):
23698           controller example works now
23699         * gst/gstclock.h:
23700           doc fixes
23701         * tools/gst-inspect.c: (print_element_properties_info):
23702           show param spec flags
23703
23704 2005-08-29  Andy Wingo  <wingo@pobox.com>
23705
23706         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23707
23708 2005-08-28  Andy Wingo  <wingo@pobox.com>
23709
23710         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23711         as having two arguments instead of just one. Allows superclasses
23712         to access information on subclasses -- see the terrible for() loop
23713         in gtype.c:g_type_create_instance for the reason why. All callers
23714         changed.
23715
23716 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23717
23718         * docs/design/part-messages.txt:
23719           update info
23720         * docs/gst/tmpl/.cvsignore:
23721         * docs/gst/tmpl/gstcaps.sgml:
23722         * docs/gst/tmpl/gstclock.sgml:
23723         * gst/gstbus.c:
23724         * gst/gstcaps.c:
23725         * gst/gstcaps.h:
23726         * gst/gstclock.c:
23727         * gst/gstclock.h:
23728         * gst/gstmessage.c:
23729           added descriptions for bus and message
23730           inline caps and clock docs
23731
23732 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23733
23734         * gst/gstmessage.c:
23735         * gst/gstmessage.h:
23736           doc fixes
23737
23738 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23739
23740         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23741           fix div-by-zero
23742
23743 2005-08-26  Andy Wingo  <wingo@pobox.com>
23744
23745         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23746         element_set_state's return val.
23747         (test_2_elements): Add test that's been disabled for months.
23748
23749         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23750         can-activate-pull properties.
23751
23752         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23753         can-activate-pull properties. Implement is_seekable so fakesrc can
23754         operate in pull mode.
23755
23756         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23757         properties.
23758         (gst_base_sink_activate, gst_base_sink_activate_pull)
23759         (gst_base_sink_activate_push): Make activation mode choosing work.
23760         Cleanups.
23761         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23762         is right. Make pull mode work. Post an eos before pausing in pull
23763         mode.
23764         (gst_base_sink_change_state): Pay attention to the core's
23765         change_state() return val.
23766         
23767         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23768         has-getrange properties. Cleanups.
23769         
23770         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23771         has_getrange and replace with can_activate_pull and
23772         can_activate_push.
23773
23774         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23775         locking comments. Remove has_loop, has_chain and replace with
23776         can_activate_pull and can_activate_push.
23777
23778 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
23779
23780         * configure.ac:
23781         * examples/Makefile.am:
23782         * examples/metadata/Makefile.am:
23783         * examples/metadata/read-metadata.c: (message_loop),
23784         (have_pad_handler), (make_pipeline), (print_tag), (main):
23785           Add metadata reading example that loops over a list of filenames,
23786           dumping any tags found.
23787
23788         * gst/gstbus.c: (gst_bus_dispose):
23789         * gst/gstelement.c: (gst_element_dispose):
23790           Release a few potentially-held references in dispose.
23791
23792 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23793
23794         * docs/gst/tmpl/gstminiobject.sgml:
23795           do *not* add tmpl/*.sgml files to CVS!
23796
23797 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23798
23799         * libs/gst/bytestream/.cvsignore:
23800         * libs/gst/bytestream/Makefile.am:
23801         * libs/gst/bytestream/adapter.c:
23802         * libs/gst/bytestream/adapter.h:
23803         * libs/gst/bytestream/bytestream.c:
23804         * libs/gst/bytestream/bytestream.h:
23805         * libs/gst/bytestream/filepad.c:
23806         * libs/gst/bytestream/filepad.h:
23807           removing obsolete files
23808
23809 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23810
23811         * docs/gst/gstreamer-docs.sgml:
23812         * docs/libs/gstreamer-libs-docs.sgml:
23813           disabed additional index entries again, as this makes docs-gen just
23814           slow and they aren't useful yet
23815         * docs/libs/gstreamer-libs-sections.txt:
23816           little -section.txt cleanup for libs
23817
23818 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
23819
23820         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23821         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23822           fix up some debugging
23823         (gst_base_transform_get_unit_size),
23824         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23825         (gst_base_transform_handle_buffer):
23826         * gst/base/gstbasetransform.h:
23827           handle and store timed NEWSEGMENT events so that subclasses that
23828           calculate time by counting samples have a segment_start time they
23829           need to add to their timestamps - see audioresample
23830
23831 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23832
23833         * gst/gstbin.h:
23834           removed ';' from the end of macro defs
23835         * docs/gst/gstreamer-docs.sgml:
23836         * docs/gst/gstreamer-sections.txt:
23837         * docs/gst/tmpl/.cvsignore:
23838         * gst/gstbus.h:
23839         * gst/gstelement.c: (gst_element_class_init),
23840         (gst_element_set_state), (activate_pads),
23841         (gst_element_save_thyself):
23842         * gst/gstevent.c: (gst_event_new_newsegment):
23843         * gst/gstevent.h:
23844         * gst/gstiterator.c:
23845         * gst/gstiterator.h:
23846         * gst/gstpad.c:
23847         * gst/gstprobe.h:
23848         * gst/gstutils.c: (gst_pad_query_convert):
23849         * gst/gstutils.h:
23850           fixed parameter name mismatches between source, header and docs
23851           added some more docs, resolved the last batch of unused elements in
23852           docs (now someone needs to doc them)
23853
23854 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23855
23856         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23857         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23858           don't walk through the plugins backwards.  Where is all this
23859           reversed logic coming from ?
23860
23861 2005-08-25  Wim Taymans  <wim@fluendo.com>
23862
23863         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23864         (gst_base_transform_transform_size),
23865         (gst_base_transform_configure_caps),
23866         (gst_base_transform_get_unit_size),
23867         (gst_base_transform_buffer_alloc),
23868         (gst_base_transform_change_state):
23869         * gst/base/gstbasetransform.h:
23870         Cache caps unit_size.
23871         Make sure we cannot negotiate up and downstream at the
23872         same time.
23873
23874 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23875
23876         * gst/gst.c: (init_pre), (init_post):
23877           register the installed plugin path after the env var
23878         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23879         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23880           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23881           directories, so the tests can prefer uninstalled over installed
23882
23883 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23884
23885         * gst/base/gstbasetransform.h:
23886           comment
23887         * gst/gstpad.c:
23888           add to docs
23889
23890 2005-08-25  Wim Taymans  <wim@fluendo.com>
23891
23892         * gst/gstbin.c: (bin_bus_handler):
23893         Be a bit more conservative about the posted message.
23894         
23895         * gst/gstbus.c: (gst_bus_post):
23896         Some cleanups, warn wrong return values.
23897
23898 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
23899
23900         * check/gst/gstbin.c: (GST_START_TEST):
23901         * gst/gstbin.c: (bin_bus_handler):
23902         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23903         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23904         (gst_message_new_warning), (gst_message_new_tag),
23905         (gst_message_new_state_changed), (gst_message_new_segment_start),
23906         (gst_message_new_segment_done), (gst_message_new_custom):
23907         * gst/gstmessage.h:
23908         * tools/gst-launch.c: (event_loop):
23909         * tools/gst-md5sum.c: (event_loop):
23910           Revert unpopular change for GST_MESSAGE_SRC to GObject.
23911
23912 2005-08-25  Wim Taymans  <wim@fluendo.com>
23913
23914         * check/generic/states.c: (GST_START_TEST):
23915         Cleanup can be done at the end.
23916
23917         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
23918         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23919         (gst_task_get_state), (gst_task_start), (gst_task_pause):
23920         Oh boy.. Thanks for finding this, Thomas. 
23921
23922 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23923
23924         * docs/gst/gstreamer.types:
23925           added missing types
23926
23927 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23928
23929         * docs/gst/gstreamer-docs.sgml:
23930         * docs/gst/gstreamer-sections.txt:
23931         * docs/gst/tmpl/.cvsignore:
23932         * gst/gstbin.c:
23933         * gst/gstiterator.c:
23934         * gst/gstutils.c:
23935         * gst/registries/gstxmlregistry.h:
23936           added missing classes and symbols (123 more to go)
23937           removed removed symbols from section file
23938           fixed many doc-comments
23939
23940 2005-08-24  Wim Taymans  <wim@fluendo.com>
23941
23942         * check/generic/states.c: (GST_START_TEST):
23943         Make sure all tasks are stopped.
23944
23945         * check/gst/gstbin.c: (GST_START_TEST):
23946         Unref after usage for proper valgrinding.
23947
23948         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
23949         Really wait for the task to stop before destroying the
23950         mutex.
23951
23952         * gst/gstqueue.c: (gst_queue_sink_activate_push),
23953         (gst_queue_src_activate_push):
23954         Small cleanups. Don't stop the task when we did not start
23955         it.
23956
23957         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
23958         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23959         (gst_task_get_state), (gst_task_start), (gst_task_pause),
23960         (gst_task_join):
23961         * gst/gsttask.h:
23962         Protect the stream lock with the object lock.
23963         Disallow setting the stream lock when running.
23964         Add cleanup_all to wait for the threadpool to finish.
23965         Remove code to autoallocate a mutex if none was provided.
23966         Add _join() to wait for a task to stop.
23967         Protect the thread pool with a global lock.
23968
23969 2005-08-24  Wim Taymans  <wim@fluendo.com>
23970
23971         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23972         (gst_base_sink_get_times), (gst_base_sink_do_sync),
23973         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
23974         * gst/base/gstbasesink.h:
23975         Handle newsegment events correctly.
23976         Drop buffers out of the segment range.
23977
23978 2005-08-22  Andy Wingo  <wingo@pobox.com>
23979
23980         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
23981         macro, implements an interface and gstimplementsinterface for a
23982         new type.
23983
23984 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23985
23986         * check/Makefile.am:
23987         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
23988           add a test that does a bunch of state changes on elements
23989           needs some fixing for valgrind
23990         * check/states/sinks.c: (gst_object_suite):
23991           whitespace
23992         * gst/gstcaps.h:
23993           add prototype for gst_caps_is_equal_fixed
23994         * gst/gstplugin.c:
23995         * gst/gstregistrypool.c:
23996           doc fixes
23997
23998 2005-08-24  Andy Wingo  <wingo@pobox.com>
23999
24000         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24001         convert a negative value. Doesn't make much sense. Mostly this is
24002         here to force callers to ensure -1 maps to -1.
24003
24004 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24005
24006         * docs/pwg/advanced-types.xml:
24007           Well done to Michael for catching my deliberate introduction
24008           of this spelling mistake. 
24009         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24010         * gst/gstelement.h:
24011           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24012           unlink pads before removing the element from the bin.
24013
24014 2005-08-24  Andy Wingo  <wingo@pobox.com>
24015
24016         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24017         the same thing as GST_DEBUG=*:4.
24018         (parse_debug_level, parse_debug_category): New helper parsers.
24019
24020 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24021
24022         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24023         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24024         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24025         (gst_base_transform_buffer_alloc),
24026         (gst_base_transform_handle_buffer):
24027           use gboolean return values and pointers to size so we can use the
24028           full GST_BUFFER_SIZE range (guint) for buffer sizes
24029           use GstPadDirection for transform_caps
24030         * gst/base/gstbasetransform.h:
24031           rename get_size to get_unit_size since that's what it is
24032         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24033           use GstPadDirection for transform_caps
24034         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24035         * gst/gstutils.h:
24036           cleanup and debugging
24037
24038 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24039
24040         * gst/gstelement.c: (gst_element_class_init),
24041         (gst_element_set_state), (activate_pads),
24042         (gst_element_save_thyself):
24043         * tools/gst-compprep.c: (main):
24044         * tools/gst-inspect.c: (print_element_properties_info):
24045         * tools/gst-xmlinspect.c: (print_element_properties):
24046           Fixed long standing mem-leak
24047
24048 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24049
24050         * check/gst/gstbin.c: (GST_START_TEST):
24051         * gst/gstbin.c: (bin_bus_handler):
24052         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24053         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24054         (gst_message_new_warning), (gst_message_new_tag),
24055         (gst_message_new_state_changed), (gst_message_new_segment_start),
24056         (gst_message_new_segment_done), (gst_message_new_custom):
24057         * gst/gstmessage.h:
24058         * tools/gst-launch.c: (event_loop):
24059         * tools/gst-md5sum.c: (event_loop):
24060           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24061           that applications can sensibly post custom messages with references
24062           to their own objects.
24063
24064 2005-08-24  Andy Wingo  <wingo@pobox.com>
24065
24066         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24067         already.
24068
24069 2005-08-24  Wim Taymans  <wim@fluendo.com>
24070
24071         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24072         (gst_base_transform_transform_caps),
24073         (gst_base_transform_transform_size),
24074         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24075         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24076         (gst_base_transform_handle_buffer):
24077         * gst/base/gstbasetransform.h:
24078         Many fixes and new features added by Thomas. Can now also do
24079         transforms with variable sizes and a custom fixate_caps function.
24080
24081 2005-08-24  Wim Taymans  <wim@fluendo.com>
24082
24083         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24084         Some debugging.
24085
24086         * gst/gstclock.h:
24087         Cast to ClockTime before formatting to time.
24088
24089         * gst/gstutils.h:
24090         Cleanups.
24091
24092 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24093
24094         * check/gst-libs/controller.c: (GST_START_TEST),
24095         (gst_controller_suite):
24096         * docs/gst/tmpl/gstcaps.sgml:
24097         * docs/gst/tmpl/gstghostpad.sgml:
24098         * docs/gst/tmpl/gstquery.sgml:
24099         * docs/gst/tmpl/gstutils.sgml:
24100         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24101         (gst_object_sink_values), (gst_object_get_value_arrays),
24102         (gst_object_get_value_array):
24103           gracefully handle helper method calls to objects that are not beeing
24104           controlled, added test case for that          
24105
24106 2005-08-23  Wim Taymans  <wim@fluendo.com>
24107
24108         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24109         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24110         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24111         (gst_event_parse_qos), (gst_event_new_seek),
24112         (gst_event_parse_seek):
24113         * gst/gstevent.h:
24114         Some more debugging output and doc cleanups.
24115
24116         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24117         Fix possible deadlock.
24118
24119 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24120
24121         * docs/gst/gstreamer-docs.sgml:
24122         * docs/gst/gstreamer-sections.txt:
24123         * docs/gst/gstreamer.types:
24124         * docs/gst/tmpl/.cvsignore:
24125         * gst/gstbin.h:
24126         * gst/gstbus.c:
24127         * gst/gstelement.c:
24128         * gst/gstevent.h:
24129           added 100 symbols from gstreamer-unused.txt to the right sections
24130           fixed more broken comments
24131           added GstBus to docs
24132
24133 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24134
24135         * docs/gst/gstreamer-sections.txt:
24136         * docs/gst/tmpl/.cvsignore:
24137         * docs/gst/tmpl/gstbin.sgml:
24138         * docs/gst/tmpl/gstbuffer.sgml:
24139         * gst/base/gstbasesrc.c:
24140         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24141         * gst/gstbuffer.c:
24142         * gst/gstbuffer.h:
24143         * tools/gst-launch.1.in:
24144           inlined more doc comments, added missing comments and fixed comments
24145           fixed typos
24146
24147 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24148
24149         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24150           some debugging
24151         * gst/gstcaps.h:
24152           whitespace fixes
24153         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24154           more debugging
24155         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24156         * gst/gststructure.h:
24157           add a fixate function for booleans; add a FIXME that these func
24158           names should probably be gst_structure_fixate_*
24159
24160 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24161
24162         * docs/gst/gstreamer-docs.sgml:
24163         * docs/gst/gstreamer-sections.txt:
24164         * gst/Makefile.am:
24165         * gst/gstbin.c: (gst_bin_get_type),
24166         (gst_bin_child_proxy_get_child_by_index),
24167         (gst_bin_child_proxy_get_children_count),
24168         (gst_bin_child_proxy_init):
24169         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24170         (gst_child_proxy_get_child_by_index),
24171         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24172         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24173         (gst_child_proxy_get), (gst_child_proxy_set_property),
24174         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24175         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24176         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24177         * gst/gstchildproxy.h:
24178         * gst/parse/grammar.y:
24179         * tools/gst-inspect.c: (print_interfaces),
24180         (print_element_properties_info), (print_element_info):
24181           ported gstchildproxy over from 0.8
24182           ported gst-inspect fixes and enhancements over from 0.8
24183
24184 2005-08-22  Wim Taymans  <wim@fluendo.com>
24185
24186         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24187         (gst_base_transform_handle_buffer):
24188         Also call the transform function if we have ANY caps.
24189
24190         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24191         Fix debug info.
24192
24193 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24194
24195         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24196           Don't pretend to handle seek events if the source is not seekable
24197
24198 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24199
24200         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24201           Remove extra parameter to debug output
24202
24203         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24204         (gst_base_src_do_seek), (gst_base_src_activate_push):
24205           Fix seek event handling.
24206
24207         * gst/gstpipeline.c: (gst_pipeline_change_state):
24208         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24209         (gst_queue_src_activate_push):
24210           Don't start the src pad task on FLUSH_STOP if the pad
24211           isn't linked.
24212           Debug changes.
24213
24214 2005-08-22  Wim Taymans  <wim@fluendo.com>
24215
24216         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24217         Added check for gst_static_caps_get() refcounting.
24218
24219 2005-08-22  Wim Taymans  <wim@fluendo.com>
24220
24221         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24222         Make _static_caps_get() refcounting sane.
24223         
24224         * gst/gstelement.c: (gst_element_set_state):
24225         Add g_return_val_if_fail() to protect against segfaults.
24226
24227 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24228
24229         * docs/gst/tmpl/gstevent.sgml:
24230         * gst/gstevent.c:
24231         * gst/gstevent.h:
24232           inlined remaining docs, added missing doc comments
24233
24234 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24235
24236         * check/gst/gstbin.c: (GST_START_TEST):
24237           since we don't know when preroll is done, use refcount range
24238           check for the sink
24239         * gst/check/gstcheck.h:
24240           add macro for checking refcount range
24241
24242 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24243
24244         * check/Makefile.am:
24245           clean up environment for when registry gets built versus
24246           when actual tests are run; valgrind seems to not report
24247           leaks if GST_PLUGIN_PATH is set to some specific values
24248         * check/gst/gstbin.c: (GST_START_TEST):
24249           add more refcounting checks; maybe this exposes a
24250           preroll lock bug ?
24251         * common/check.mak:
24252         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24253         * gst/check/gstcheck.h:
24254         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24255         (gst_bin_change_state):
24256         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24257           add/fix debugging/whitespace
24258
24259 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24260
24261         * check/gst/gstevent.c: (event_probe), (test_event),
24262         (GST_START_TEST):
24263          Er, don't call gst_bin_watch_for_state_change you idiot.
24264
24265 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24266
24267         * check/Makefile.am:
24268           Use CHECK_CFLAGS and CHECK_LIBS
24269         * check/gst/gstevent.c: (event_probe), (test_event),
24270         (GST_START_TEST):
24271           Don't leak events.
24272         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24273         (gst_base_src_start), (gst_base_src_stop),
24274         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24275         (gst_base_src_change_state):
24276           Sprinkle gst_base_src_stop liberally around error paths to fix
24277           problems reusing a source after failed state changes.
24278         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24279         (helper_find_suggest), (gst_type_find_helper):
24280           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24281         * gst/gstevent.h:
24282         * docs/gst/tmpl/gstevent.sgml:
24283           Migrate part of the docs from the SGML file. Wait for ensonic to
24284           tell me how I did it wrong ;)
24285         * tools/gst-typefind.c: (main):
24286           Extra robustness to state changes between files.
24287
24288 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24289
24290         * check/Makefile.am:
24291           don't valgrind the controller test - it's leaking - Stefan, HELP
24292         * gst/check/gstcheck.c: (gst_check_message_error),
24293         (gst_check_chain_func), (gst_check_setup_element),
24294         (gst_check_teardown_element), (gst_check_setup_src_pad),
24295         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24296         (gst_check_teardown_sink_pad):
24297         * gst/check/gstcheck.h:
24298           add a bunch of methods to set up elements, and src and sink pads
24299         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24300         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24301         (GST_START_TEST):
24302           use them
24303         * gst/gstmessage.c:
24304         * gst/gsttag.h:
24305           whitespace/doc fixes
24306
24307 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24308
24309         * gst/gstelement.h:
24310           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24311           be handled by the application and not always printed as well
24312
24313 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24314
24315         * check/Makefile.am:
24316           set GST_TOOLS_DIR
24317         * gst/check/gstcheck.c: (gst_check_message_error):
24318         * gst/check/gstcheck.h:
24319           add a fail_unless_equals_int
24320           add fail_unless for error messages
24321
24322 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24323
24324         * check/Makefile.am:
24325         * check/gst.supp:
24326         * common/Makefile.am:
24327         * common/check.mak:
24328         * common/gst.supp:
24329           factor out some of the common stuff so we can use it
24330
24331 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24332
24333         * check/Makefile.am:
24334         * check/gst/gstiterator.c: (GST_START_TEST):
24335         * check/gst/gstsystemclock.c: (GST_START_TEST),
24336         (gst_systemclock_suite):
24337         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24338         * gst/gstclock.c:
24339           valgrind more tests
24340
24341 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24342
24343         * check/elements/.cvsignore:
24344         * check/elements/gstfakesrc.c:
24345           rename to name of element
24346         * check/elements/identity.c: (chain_func), (event_func),
24347         (setup_identity), (cleanup_identity), (GST_START_TEST),
24348         (identity_suite), (main):
24349           add a test for identity
24350         * check/Makefile.am:
24351         * pkgconfig/Makefile.am:
24352         * pkgconfig/gstreamer-check.pc.in:
24353         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24354         * gst/check:
24355         * gst/Makefile.am:
24356         * configure.ac:
24357           move the check stuff to a library that gets installed
24358         * check/gst-libs/controller.c: (GST_START_TEST):
24359         * check/gst-libs/gdp.c:
24360         * check/gst/gst.c: (GST_START_TEST):
24361         * check/gst/gstbin.c:
24362         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24363         * check/gst/gstbus.c:
24364         * check/gst/gstcaps.c: (GST_START_TEST):
24365         * check/gst/gstelement.c:
24366         * check/gst/gstghostpad.c:
24367         * check/gst/gstiterator.c:
24368         * check/gst/gstmessage.c:
24369         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24370         * check/gst/gstobject.c:
24371         * check/gst/gstpad.c: (GST_START_TEST):
24372         * check/gst/gststructure.c: (GST_START_TEST):
24373         * check/gst/gstsystemclock.c: (GST_START_TEST),
24374         (gst_systemclock_suite):
24375         * check/gst/gsttag.c: (gst_tag_suite):
24376         * check/gst/gstvalue.c:
24377         * check/pipelines/cleanup.c:
24378         * check/pipelines/simple_launch_lines.c:
24379         * check/states/sinks.c:
24380           change include statement
24381
24382         * docs/gst/gstreamer-sections.txt:
24383         * docs/gst/tmpl/gstpad.sgml:
24384           document more pad stuff
24385         * gst/gstminiobject.c: (gst_mini_object_ref),
24386         (gst_mini_object_unref):
24387           debug refcounting
24388
24389 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24390
24391         * docs/gst/tmpl/gst.sgml:
24392         * gst/gst.c:
24393           eliminate another tmpl file, fix spelling in the long-description
24394
24395 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24396
24397         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24398         (test_event), (timediff), (gstevents_suite):
24399           Should fix build on 64-bit arch's
24400
24401 2005-08-18  Andy Wingo  <wingo@pobox.com>
24402
24403         Make sure that when a pipeline goes to PLAYING, that data has
24404         actually hit the sink.
24405
24406         * check/states/sinks.c (test_sink): A sink that doesn't get any
24407         data shouldn't return SUCCESS for going to either PLAYING or
24408         PAUSED. Test also the return values on the way back down.
24409
24410         * gst/gstelement.c (gst_element_set_state): When changing the
24411         state of an element currently changing state asynchronously, go to
24412         lost-state after commiting the pending state. Makes future calls
24413         to get_state continue to return ASYNC.
24414
24415         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24416         ASYNC when going to PLAYING if we still don't have preroll, as can
24417         happen with live sources.
24418
24419 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24420
24421         * docs/pwg/advanced-types.xml:
24422           Hack long paragraph into 2 chunks as a workaround for buggy
24423           jadetex version in sid and breezy that loops infinitely and
24424           eats all RAM.
24425
24426 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24427
24428         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24429         (test_event), (timediff), (gstevents_suite):
24430           Provide more error margin in clock measurements to allow for 
24431           g_get_current_time inaccuracies.
24432
24433 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24434
24435         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24436         (test_event), (timediff), (gstevents_suite):
24437            Fix error message output so I might be able to tell why the
24438            test works here but fails on the build farm.
24439
24440 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24441
24442         * check/Makefile.am:
24443         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24444         (test_event), (timediff), (gstevents_suite), (main):
24445           I wrote a test!
24446
24447         * docs/design/part-seeking.txt:
24448           Spelling correction
24449
24450         * docs/gst/tmpl/gstevent.sgml:
24451         * docs/gst/tmpl/gstfakesrc.sgml:
24452           Docs updates.
24453
24454         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24455           Treat a buffer-without-newsegment the same as a receiving 
24456           a newsegment not in time format, and disable syncing to the clock
24457           with a warning.
24458
24459         * gst/gstbus.c: (gst_bus_set_sync_handler):
24460           Assert if anyone tries to replace the existing sync_handler for bus, 
24461           as only the owner should be setting it.
24462
24463         * gst/gstevent.h:
24464           Have a fixed set of custom event enums with events identified by
24465           their structure name (as in 0.8), rather than a free-for-all
24466           allowing collisions between enum values from different plugins.
24467
24468         * gst/gstpad.c: (gst_pad_class_init):
24469           Docs change.
24470           
24471         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24472           Handle out-of-band downstream events from the sending thread.
24473
24474 2005-08-17  Andy Wingo  <wingo@pobox.com>
24475
24476         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24477         play-timeout==0 to mean no timeout at all. In that case, don't
24478         bother with a get_state or a warning, just return directly, even
24479         if it's ASYNC.
24480
24481         * gst/base/gstbasetransform.c: Debug changes.
24482
24483         * gst/gstutils.h:
24484         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24485         ensure bins post state change messages. A bit of a hack but I can't
24486         think of a way to avoid it.
24487
24488         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24489
24490 2005-08-16  Andy Wingo  <wingo@pobox.com>
24491
24492         * gst/base/gstadapter.h:
24493         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24494         peek() but you own the data. Not terribly efficient atm.
24495
24496 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24497
24498         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24499         (gst_element_found_tags):
24500         * gst/gstutils.h:
24501           Add two utility functions for tag handling.
24502
24503 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24504
24505         * docs/manual/advanced-dataaccess.xml:
24506         * docs/manual/basics-helloworld.xml:
24507           Fix docs to use _bin_add() before _link(), which fixes the examples
24508           with recent core versions (reported by Madhan Raj M
24509           <raj_madan@rediffmail.com>, #313199).
24510
24511 2005-08-16  Wim Taymans  <wim@fluendo.com>
24512
24513         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24514         Added subtract checks.
24515
24516         * docs/design/part-events.txt:
24517         Some more docs about newsegment
24518
24519         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24520         Fix FIXME
24521
24522         * gst/gstcaps.c: (gst_caps_to_string):
24523         Add comments, cleanups.
24524         
24525         * gst/gstelement.c: (gst_element_save_thyself):
24526         cleanups
24527         
24528         * gst/gstvalue.c: (gst_value_collect_int_range),
24529         (gst_string_unwrap), (gst_value_union_int_int_range),
24530         (gst_value_union_int_range_int_range),
24531         (gst_value_intersect_int_int_range),
24532         (gst_value_intersect_int_range_int_range),
24533         (gst_value_intersect_double_double_range),
24534         (gst_value_intersect_double_range_double_range),
24535         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24536         (gst_value_subtract_int_range_int),
24537         (gst_value_subtract_double_range_double),
24538         (gst_value_subtract_double_range_double_range),
24539         (gst_value_subtract_from_list), (gst_value_subtract_list),
24540         (gst_value_can_compare), (gst_value_compare_fraction):
24541         Cleanups, add comments, remove unneeded asserts.
24542
24543 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24544
24545         * tools/gst-launch.c: (event_loop):
24546           don't convert NULL structures to strings
24547
24548 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24549
24550         * docs/gst/gstreamer-sections.txt:
24551           made some defines private
24552         * docs/gst/tmpl/gstconfig.sgml:
24553         * docs/gst/tmpl/gstqueue.sgml:
24554         * docs/gst/tmpl/gsttaglist.sgml:
24555         * docs/gst/tmpl/gsttypes.sgml:
24556         * docs/gst/tmpl/gstutils.sgml:
24557         * docs/pwg/appendix-porting.xml:
24558         * gst/base/gstbasesink.h:
24559         * gst/base/gstbasesrc.c:
24560         * gst/base/gstbasesrc.h:
24561         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24562         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24563         * gst/gstelement.c: (gst_element_class_init):
24564         * gst/gstpad.c: (gst_pad_class_init):
24565         * gst/gstqueue.c: (gst_queue_class_init):
24566         * gst/gstxml.c: (gst_xml_class_init):
24567           documented all undocumented signal inline
24568         * libs/gst/controller/gst-controller.h:
24569           added padding
24570
24571 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24572
24573         * docs/pwg/appendix-porting.xml:
24574           Document _set_link_function -> _set_setcaps_function.
24575
24576 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24577
24578         * check/Makefile.am:
24579           add a .check target for running the check
24580         * check/gst-libs/controller.c: (GST_START_TEST):
24581           cosmetic fixups
24582         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24583           complete checks for gstbuffer; would be nice if I could get the
24584           gcov stuff to work so I can see if I actually completed gstbuffer.c
24585         * check/gstcheck.h:
24586           add ASSERT_BUFFER_REFCOUNT
24587
24588 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24589
24590         * docs/gst/gstreamer-sections.txt:
24591         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24592         * gst/gsttag.h:
24593           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24594           spew out a warning if a tag that is already registered
24595           is re-registered, unless it is re-registered with a 
24596           different type (#308438).
24597
24598 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24599
24600         * docs/pwg/appendix-porting.xml:
24601         * docs/pwg/building-state.xml:
24602           Add some paragraphs about state changes in 0.9 to the PWG
24603           and the porting guide, in particular about the new meaning
24604           of GST_STATE_PAUSED and how to write state change functions
24605           with concurrent access by multiple threads in mind.
24606
24607 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24608
24609         * docs/gst/gstreamer-docs.sgml:
24610         * docs/libs/gstreamer-libs-docs.sgml:
24611           added deprecation and since indexes
24612         * libs/gst/controller/gst-controller.c:
24613         * libs/gst/controller/gst-helper.c:
24614           added since tags
24615
24616
24617 2005-08-11  Wim Taymans  <wim@fluendo.com>
24618
24619         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24620         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24621         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24622         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24623         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24624         (gst_ghost_pad_set_target):
24625         Actually implement (re)setting the target on a ghostpad
24626         as described in the docs.
24627
24628 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24629
24630         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24631           Check whether GST_DEBUG_NO_COLOR environment variable is
24632           set and disable coloured debug output if that is the case.
24633
24634 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24635
24636         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24637         (gst_type_find_helper):
24638           The memory returned by gst_type_find_peek() needs to
24639           stay valid until the end of a typefind function, and
24640           typefind functions may keep results from different 
24641           offsets around, so we can't just unref the buffer from
24642           the previous _peek(), but have to save all buffers 
24643           returned by _peek() until typefinding is done and only
24644           free them then.
24645
24646 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
24647
24648         * docs/gst/gstreamer-sections.txt:
24649         * gst/gstutils.h:
24650           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24651
24652 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24653
24654         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24655           Fix a pretty good memleak.
24656
24657 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24658
24659         * gst/gstiterator.h:
24660           Fix wrong include and 'make distcheck'.
24661
24662 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24663
24664         * gst/gstbin.c: (bin_bus_handler):
24665           Use gst_element_post_message() instead.
24666
24667 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24668
24669         * gst/base/gstadapter.h:
24670         * gst/base/gstbasesink.h:
24671         * gst/base/gstbasesrc.h:
24672         * gst/base/gstbasetransform.h:
24673         * gst/base/gstcollectpads.h:
24674         * gst/base/gstpushsrc.h:
24675         * gst/gstiterator.h:
24676           Add padding to our base elements' class and instance structs and
24677           to GstIterator (you will need to rebuild all plugins and apps!)
24678
24679 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24680
24681         * gst/gstbin.c: (bin_bus_handler):
24682           Make default message forwarding from child->bus to bin->bus
24683           threadsafe and make it not emit warnings if the parent has no bus.
24684
24685 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24686
24687         * gst/gstelement.c: (activate_pads):
24688           On paused->ready, set pad->caps to NULL, as is the documented
24689           behaviour in this state change. Fixes playback of series of
24690           media files when visualization is enabled in Totem.
24691
24692 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24693
24694         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24695           Allow NULL as filter-caps (which means "any").
24696
24697 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24698
24699         * docs/libs/gstreamer-libs-sections.txt:
24700         * libs/gst/controller/gst-controller.c:
24701         * libs/gst/controller/gst-controller.h:
24702         * libs/gst/controller/gst-helper.c:
24703           adding more entries to the docs and fix small doc-bugs
24704
24705 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24706
24707         * docs/gst/gstreamer-docs.sgml:
24708         * docs/gst/gstreamer-sections.txt:
24709         * docs/gst/gstreamer.types:
24710         * docs/gst/tmpl/gstbasesink.sgml:
24711         * docs/gst/tmpl/gstbasesrc.sgml:
24712         * docs/gst/tmpl/gstbasetransform.sgml:
24713         * docs/gst/tmpl/gstfakesrc.sgml:
24714         * gst/base/gstcollectpads.c:
24715         * gst/base/gstcollectpads.h:
24716         * libs/gst/controller/gst-controller.c:
24717         * libs/gst/controller/gst-controller.h:
24718         * libs/gst/controller/gst-helper.c:
24719         * libs/gst/controller/gst-interpolation.c:
24720         * libs/gst/controller/lib.c:
24721           added long/short desc for controller docs
24722           added collectpads base class docs
24723           added correct includes to base-class docs
24724
24725 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24726
24727         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24728         (gst_test_mono_source_set_property),
24729         (gst_test_mono_source_class_init), (GST_START_TEST),
24730         (gst_controller_suite):
24731         * docs/gst/gstreamer-docs.sgml:
24732         * docs/gst/gstreamer-sections.txt:
24733         * docs/gst/gstreamer.types:
24734         * docs/libs/gstreamer-libs-docs.sgml:
24735         * docs/libs/gstreamer-libs-sections.txt:
24736         * gst/base/gstadapter.c:
24737         * libs/gst/controller/gst-controller.c:
24738         (gst_controlled_property_new), (gst_controlled_property_free),
24739         (gst_controller_new_valist),
24740         (gst_controller_remove_properties_valist),
24741         (gst_controller_sink_values), (_gst_controller_finalize):
24742         * libs/gst/controller/gst-controller.h:
24743         * libs/gst/controller/gst-helper.c:
24744         (gst_object_control_properties), (gst_object_uncontrol_properties),
24745         (gst_object_get_controller), (gst_object_set_controller),
24746         (gst_object_sink_values), (gst_object_get_value_arrays),
24747         (gst_object_get_value_array):
24748           more tests (and fixes) for the controller
24749           more docs for the controller
24750           integrated companies docs for the adapter 
24751
24752 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24753
24754         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24755         (GST_START_TEST), (fakesrc_suite):
24756           add tests for sizetype
24757
24758 2005-08-04  Andy Wingo  <wingo@pobox.com>
24759
24760         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24761         fixes buffer_alloc proxying among other things.
24762
24763         * gst/base/gstbasetransform.c:
24764         * gst/base/gstbasetransform.h:
24765         Revert patch to gstbasetransform from 7-28 removing
24766         delay_configure.
24767
24768         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24769         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24770         Semantics changed, should return not the size of the output buffer
24771         but the byte size of a buffer with a given caps.
24772
24773         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24774         debug object.
24775         (gst_base_transform_configure_caps): Don't set out_size here: (in,
24776         out) are not the pad caps until setcaps finishes.
24777         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24778         not-in-place case as well. Deal with changing from in-place to
24779         not-in-place within calling pad_alloc_buffer. Still a bit
24780         concerned about the overhead here...
24781
24782 2005-08-03  Andy Wingo  <wingo@pobox.com>
24783
24784         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24785         fixating is an error.
24786
24787 2005-08-04  Edward Hervey  <edward@fluendo.com>
24788
24789         * gst/base/gstadapter.h: 
24790         Added gst_adapter_get_type() to the header
24791
24792 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24793
24794         * check/Makefile.am:
24795         * check/gst-libs/controller.c:
24796         * libs/gst/controller/gst-controller.c:
24797         (gst_controller_new_valist):
24798           added check test suite for the controller
24799         * gst/base/gstpushsrc.c:
24800           fixed a doc typo
24801
24802 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24803
24804         * docs/gst/Makefile.am:
24805         * docs/gst/gstreamer-docs.sgml:
24806         * docs/gst/gstreamer-sections.txt:
24807         * docs/gst/gstreamer.types:
24808         * docs/gst/tmpl/gstfakesrc.sgml:
24809         * gst/base/README:
24810         * gst/base/gstbasesink.c:
24811         * gst/base/gstbasesink.h:
24812         * gst/base/gstbasesrc.c:
24813         * gst/base/gstbasesrc.h:
24814         * gst/base/gstbasetransform.c:
24815         * gst/base/gstpushsrc.c:
24816         * gst/base/gstpushsrc.h:
24817           add short/long description docs to base classes
24818           add pushsrc to the docs
24819           remove consolidated doc fragments
24820
24821 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24822
24823         * configure.ac:
24824         * docs/libs/Makefile.am:
24825         * docs/libs/gstreamer-libs-docs.sgml:
24826         * docs/libs/gstreamer-libs-sections.txt:
24827         * docs/libs/gstreamer-libs.types:
24828         * examples/Makefile.am:
24829         * examples/controller/.cvsignore:
24830         * examples/controller/Makefile.am:
24831         * examples/controller/audio-example.c: (main):
24832         * libs/gst/Makefile.am:
24833         * libs/gst/controller/.cvsignore:
24834         * libs/gst/controller/Makefile.am:
24835         * libs/gst/controller/gst-controller.c:
24836         (on_object_controlled_property_changed), (gst_timed_value_compare),
24837         (gst_timed_value_find),
24838         (gst_controlled_property_set_interpolation_mode),
24839         (gst_controlled_property_new), (gst_controlled_property_free),
24840         (gst_controller_find_controlled_property),
24841         (gst_controller_new_valist), (gst_controller_new),
24842         (gst_controller_remove_properties_valist),
24843         (gst_controller_remove_properties), (gst_controller_set),
24844         (gst_controller_set_from_list), (gst_controller_unset),
24845         (gst_controller_get), (gst_controller_get_all),
24846         (gst_controller_sink_values), (gst_controller_get_value_arrays),
24847         (gst_controller_get_value_array),
24848         (gst_controller_set_interpolation_mode),
24849         (_gst_controller_finalize), (_gst_controller_init),
24850         (_gst_controller_class_init), (gst_controller_get_type):
24851         * libs/gst/controller/gst-controller.h:
24852         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24853         (g_object_uncontrol_properties), (g_object_get_controller),
24854         (g_object_set_controller), (g_object_sink_values),
24855         (g_object_get_value_arrays), (g_object_get_value_array):
24856         * libs/gst/controller/gst-interpolation.c:
24857         (gst_controlled_property_find_timed_value_node),
24858         (interpolate_none_get), (interpolate_trigger_get),
24859         (interpolate_trigger_get_value_array):
24860         * libs/gst/controller/lib.c: (gst_controller_init):
24861         * pkgconfig/Makefile.am:
24862         * pkgconfig/gstreamer-control-uninstalled.pc.in:
24863         * pkgconfig/gstreamer-control.pc.in:
24864         * testsuite/Makefile.am:
24865         * testsuite/controller/.cvsignore:
24866         * testsuite/controller/Makefile.am:
24867         * testsuite/controller/interpolator.c: (main):
24868           added controller code
24869           removed dparam pc files
24870
24871 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24872         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24873         (gst_collectpads_stop):
24874           Broadcast the condition when shutting down, to make sure we wake all
24875           threads up. Shut down pads on finalize, for safety.
24876
24877 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24878         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24879         (gst_base_transform_handle_buffer),
24880         (gst_base_transform_change_state):
24881           Handle PAUSED->READY->PAUSED transition after negotiation
24882           occurred already.
24883         * gst/gstmessage.c: (gst_message_init):
24884           Extra piece of debug for new messages.
24885
24886 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
24887
24888         * configure.ac:
24889         * docs/gst/tmpl/gstbasesrc.sgml:
24890         * docs/gst/tmpl/gstelement.sgml:
24891         * docs/gst/tmpl/gstevent.sgml:
24892         * docs/gst/tmpl/gstfakesrc.sgml:
24893         * docs/gst/tmpl/gstformat.sgml:
24894         * docs/gst/tmpl/gstghostpad.sgml:
24895         * docs/gst/tmpl/gstpad.sgml:
24896         * docs/gst/tmpl/gstquery.sgml:
24897         * docs/gst/tmpl/gststructure.sgml:
24898         * docs/gst/tmpl/gsttaglist.sgml:
24899         * docs/gst/tmpl/gstvalue.sgml:
24900         * docs/libs/gstreamer-libs-docs.sgml:
24901         * docs/libs/gstreamer-libs-sections.txt:
24902         * docs/libs/gstreamer-libs.types:
24903         * libs/gst/Makefile.am:
24904         * libs/gst/control/.cvsignore:
24905         * libs/gst/control/Makefile.am:
24906         * libs/gst/control/control.c:
24907         * libs/gst/control/control.h:
24908         * libs/gst/control/dparam.c:
24909         * libs/gst/control/dparam.h:
24910         * libs/gst/control/dparam_smooth.c:
24911         * libs/gst/control/dparam_smooth.h:
24912         * libs/gst/control/dparamcommon.h:
24913         * libs/gst/control/dparammanager.c:
24914         * libs/gst/control/dparammanager.h:
24915         * libs/gst/control/dplinearinterp.c:
24916         * libs/gst/control/dplinearinterp.h:
24917         * libs/gst/control/unitconvert.c:
24918         * libs/gst/control/unitconvert.h:
24919         * testsuite/Makefile.am:
24920         * testsuite/dynparams/.cvsignore:
24921         * testsuite/dynparams/Makefile.am:
24922         * testsuite/dynparams/dparamstest.c:
24923         * tools/Makefile.am:
24924         * tools/gst-inspect.c: (print_element_info), (main):
24925         * tools/gst-xmlinspect.c: (print_element_info), (main):
24926           deactivate and remove dparams (libgstcontrol)
24927
24928 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24929
24930         * gst/elements/gsttypefindelement.c:
24931         (gst_type_find_element_have_type), (gst_type_find_element_init),
24932         (stop_typefinding), (gst_type_find_element_handle_event),
24933         (gst_type_find_element_chain), (gst_type_find_element_getrange):
24934         * gst/elements/gsttypefindelement.h:
24935           Set caps on all outgoing buffers, not just the first one.
24936
24937 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24938
24939         * gst/elements/gsttypefindelement.c:
24940         (gst_type_find_element_have_type),
24941         (gst_type_find_element_check_set_buffer_caps),
24942         (gst_type_find_element_init), (stop_typefinding),
24943         (gst_type_find_element_handle_event),
24944         (gst_type_find_element_chain), (gst_type_find_element_getrange):
24945         * gst/elements/gsttypefindelement.h:
24946           Set caps on first outgoing buffer when we've found the type.
24947
24948 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24949
24950         * docs/gst/gstreamer-docs.sgml:
24951         * docs/gst/gstreamer-sections.txt:
24952         * docs/gst/tmpl/gstscheduler.sgml:
24953         * docs/gst/tmpl/gstschedulerfactory.sgml:
24954           Remove some old cruft from docs.
24955
24956 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
24957
24958         * gst/gstpad.h:
24959           Fix inline docs for GstPadLinkReturn.
24960           
24961         * gst/gststructure.c: (gst_structure_has_name):
24962         * gst/gststructure.h:
24963         * docs/gst/gstreamer-sections.txt:
24964           New API: gst_structure_has_name().
24965
24966 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
24967
24968         * configure.ac:
24969           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
24970           and _LARGEFILE_SOURCE in config.h as required. Do not 
24971           export those flags in our .pc files any longer (#142209).
24972
24973           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
24974
24975         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
24976         (gst_file_sink_do_seek), (gst_file_sink_event),
24977         (gst_file_sink_get_current_offset), (gst_file_sink_render):
24978           Redo seek/tell calls with large file support in mind; add some
24979           debugging messages; add log message that tells us when large
24980           file support is unavailable or not enabled for some reason.
24981
24982         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
24983           Add log message that tells us when large file support 
24984           is unavailable or not enabled for some reason.
24985
24986 2005-07-29  Wim Taymans  <wim@fluendo.com>
24987
24988         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
24989         Added test for removing an element with ghostpad from a bin.
24990         Fixed test as current implementation does the right thing.
24991
24992         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
24993         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
24994         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
24995         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
24996         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
24997         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
24998         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
24999         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25000         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25001         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25002         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25003         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25004         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25005         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25006         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25007         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25008         * gst/gstghostpad.h:
25009         Clean up ghostpads, remove properties for internal stuff.
25010         Make threadsafe.
25011         Fix refcounting.
25012         Prepare for switching targets, not all use cases work yet.
25013
25014 2005-07-29  Wim Taymans  <wim@fluendo.com>
25015
25016         * docs/design/part-gstghostpad.txt:
25017         Small update.
25018
25019         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25020         (gst_bin_remove_func):
25021         Unlinking pads while holding the bin LOCK is not a good
25022         idea.
25023
25024         * gst/gstpad.c: (gst_pad_class_init),
25025         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25026         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25027         No prob setting template after creating the pad.
25028
25029 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25030
25031         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25032         (gst_bus_peek), (gst_bus_source_dispatch),
25033         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25034         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25035           gst_bus_poll may be called from other threads. Handle
25036           this nicely by not making poll_data disappear off the
25037           stack once gst_bus_poll returns.
25038           gst_bus_peek now increments the refcount on the returned
25039           message.
25040
25041 2005-07-29  Wim Taymans  <wim@fluendo.com>
25042
25043         * docs/design/part-gstghostpad.txt:
25044         Overview of current GhostPad datastructures and use
25045         cases for changing the target.
25046
25047 2005-07-28  Wim Taymans  <wim@fluendo.com>
25048
25049         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25050         Added checks for hierarchy consistency whan adding linked
25051         elements to bins.
25052
25053         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25054         Added check to test element scheduling without bin/pipeline.
25055
25056         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25057         First add elements to bin, then link.
25058         
25059         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25060         (gst_bin_remove_func):
25061         Unlink pads from elements added/removed from bin to maintain
25062         hierarchy consistency.
25063
25064 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25065
25066         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25067         (gst_base_transform_handle_buffer):
25068         * gst/base/gstbasetransform.h:
25069           Remove broken delay_configure (fixes renegotiation of software
25070           scaling pipelines); remove some leftover printf()s.
25071
25072 2005-07-28  Wim Taymans  <wim@fluendo.com>
25073
25074         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25075         Added some more tests for wrong hierarchy
25076
25077         * docs/design/part-overview.txt:
25078         Some updates.
25079
25080         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25081         Cleanups.
25082
25083         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25084         (gst_element_dispose):
25085         Some more cleanups.
25086
25087         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25088         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25089         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25090         (gst_pad_set_caps), (gst_pad_send_event):
25091         Check for correct hierarchy when linking pads. Moving to
25092         strict requirement for ghostpads when linking elements in
25093         different bins.
25094
25095         * gst/gstpad.h:
25096         Clean ups. Added WRONG_HIERARCHY return value.
25097
25098 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25099
25100         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25101           Better debug if no transform is possible.
25102
25103 2005-07-27  Wim Taymans  <wim@fluendo.com>
25104
25105         * docs/random/wtay/network-transp:
25106         Some old doc I had.
25107
25108 2005-07-27  Wim Taymans  <wim@fluendo.com>
25109
25110         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25111         (gst_dp_event_from_packet):
25112         Fix serialization of seek events.
25113
25114 2005-07-27  Wim Taymans  <wim@fluendo.com>
25115
25116         * check/gst-libs/gdp.c: (GST_START_TEST):
25117         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25118         Fix compilation and fix event serialization.
25119
25120 2005-07-27  Wim Taymans  <wim@fluendo.com>
25121
25122         * CHANGES-0.9:
25123         * docs/design/part-TODO.txt:
25124         * docs/design/part-events.txt:
25125         Some docs updates
25126
25127         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25128         (gst_base_sink_event), (gst_base_sink_do_sync),
25129         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25130         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25131         (gst_base_src_do_seek), (gst_base_src_event_handler),
25132         (gst_base_src_loop):
25133         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25134         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25135         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25136         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25137         (gst_base_transform_set_passthrough),
25138         (gst_base_transform_is_passthrough):
25139         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25140         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25141         Event updates.
25142
25143         * gst/gstbuffer.h:
25144         Use faster casts.
25145
25146         * gst/gstelement.c: (gst_element_seek):
25147         * gst/gstelement.h:
25148         Update gst_element_seek.
25149
25150         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25151         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25152         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25153         (gst_event_new_eos), (gst_event_new_newsegment),
25154         (gst_event_parse_newsegment), (gst_event_new_tag),
25155         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25156         (gst_event_parse_qos), (gst_event_new_seek),
25157         (gst_event_parse_seek), (gst_event_new_navigation):
25158         * gst/gstevent.h:
25159         Make GstEvent use GstStructure. Add parsing code, make sure the
25160         API is sufficiently generic.
25161         Mark possible directions of events and serialization.
25162
25163         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25164         (_gst_message_copy), (gst_message_new_segment_start),
25165         (gst_message_new_segment_done), (gst_message_new_custom),
25166         (gst_message_parse_segment_start),
25167         (gst_message_parse_segment_done):
25168         Small cleanups.
25169
25170         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25171         (gst_pad_set_caps), (gst_pad_send_event):
25172         Update for new events. 
25173         Catch events sent in wrong directions.
25174
25175         * gst/gstqueue.c: (gst_queue_link_src),
25176         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25177         (gst_queue_handle_src_query):
25178         Event updates.
25179
25180         * gst/gsttag.c:
25181         * gst/gsttag.h:
25182         Remove event code from this file.
25183
25184         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25185         (gst_dp_event_from_packet):
25186         Event updates.
25187
25188 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25189
25190         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25191         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25192         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25193           Make debugging actually useful.
25194
25195 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25196
25197         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25198         (gst_pad_fixate_caps):
25199           Implement default fixation once again, so that gst_pad_fixate()
25200           actually does anything at all. This probably needs to be some
25201           sort of a last resort, and use profile-based fixation first, but
25202           since that doesn't exist yet, this is the best we have. Fixes
25203           visualization in Totem.
25204
25205 2005-07-22  Wim Taymans  <wim@fluendo.com>
25206
25207         * docs/design/part-events.txt:
25208         Small update.
25209
25210         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25211         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25212         (gst_base_sink_activate_pull):
25213         Some more comments.
25214
25215         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25216         (gst_fake_src_create):
25217         Fix handoff marshall.
25218
25219         * gst/elements/gstidentity.c: (gst_identity_class_init),
25220         (gst_identity_transform_ip):
25221         We're a real inplace element.
25222
25223         * gst/gstbus.c: (gst_bus_post):
25224         Added some comments.
25225
25226         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25227         * tests/muxing/case1.c: (main):
25228         * tests/sched/dynamic-pipeline.c: (main):
25229         * tests/sched/interrupt1.c: (main):
25230         * tests/sched/interrupt2.c: (main):
25231         * tests/sched/interrupt3.c: (main):
25232         * tests/sched/runxml.c: (main):
25233         * tests/sched/sched-stress.c: (main):
25234         * tests/seeking/seeking1.c: (event_received), (main):
25235         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25236         (main):
25237         * tests/threadstate/threadstate3.c: (main):
25238         * tests/threadstate/threadstate4.c: (main):
25239         * tests/threadstate/threadstate5.c: (main):
25240         Fix the tests.
25241
25242 2005-07-21  Wim Taymans  <wim@fluendo.com>
25243
25244         * docs/design/part-seeking.txt:
25245         Some small additions.
25246
25247         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25248         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25249         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25250         * gst/base/gstbasesink.h:
25251         discont values are gint64, handle the math correctly.
25252
25253         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25254         Make the basesrc report error if the source pad is not linked.
25255
25256         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25257         (gst_queue_loop), (gst_queue_handle_src_query),
25258         (gst_queue_src_activate_push):
25259         Make queue collect data even if the srcpad is not linked.
25260         Start pushing out data as soon as it is linked.
25261
25262         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25263         * gst/gstutils.h:
25264         Added gst_flow_get_name() to ease error reporting.
25265
25266 2005-07-20  Wim Taymans  <wim@fluendo.com>
25267
25268         * gst/gstmessage.c: (gst_message_new_segment_start),
25269         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25270         (gst_message_parse_segment_done):
25271         * gst/gstmessage.h:
25272         Added a bunch of messages for advanced seeking.
25273
25274         * gst/parse/grammar.y:
25275         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25276         (gst_dpman_state_changed):
25277         Fix some new-pad -> pad-added signals
25278
25279 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25280
25281         * docs/manual/appendix-porting.xml:
25282         * docs/pwg/appendix-porting.xml:
25283           Document new-pad/state-change signal renames and the FixedList
25284           type rename.
25285
25286 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25287
25288         * docs/manual/advanced-autoplugging.xml:
25289         * docs/manual/basics-helloworld.xml:
25290         * docs/manual/basics-pads.xml:
25291         * docs/random/ds/0.9-suggested-changes:
25292         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25293         * gst/gstelement.h:
25294         * gst/gstevent.h:
25295         * gst/gstformat.h:
25296         * gst/gstquery.h:
25297         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25298         (gst_structure_parse_array), (gst_structure_parse_value):
25299         * gst/gstvalue.c: (gst_type_is_fixed),
25300         (gst_value_list_prepend_value), (gst_value_list_append_value),
25301         (gst_value_list_get_size), (gst_value_list_get_value),
25302         (gst_value_transform_array_string), (gst_value_serialize_array),
25303         (gst_value_deserialize_array), (gst_value_intersect_array),
25304         (gst_value_is_fixed), (_gst_value_initialize):
25305         * gst/gstvalue.h:
25306           GstElement::new-pad -> pad-added, GstElement::state-change ->
25307           state-changed, GstValueFixedList -> GstValueArray, add format and
25308           flags as their own arguments in gst_element_seek() (should improve
25309           "bindeability"), remove function generators since they don't work
25310           under a whole bunch of compilers (they were deprecated already
25311           anyway).
25312
25313 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25314
25315         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25316         (_gst_debug_register_funcptr):
25317         * gst/gstinfo.h:
25318           Fix illegal cast on some platforms (#309253).
25319
25320 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25321
25322         * gst/gstmessage.c: (gst_message_new_custom):
25323         * gst/gstmessage.h:
25324           Add _new_custom, make _new_application a macro to _new_custom.
25325
25326 2005-07-20  Wim Taymans  <wim@fluendo.com>
25327
25328         * gst/base/gstbasesrc.c: (gst_base_src_init),
25329         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25330         * gst/base/gstbasesrc.h:
25331         Add a gboolean to decide when to push out a discont.
25332
25333         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25334         (gst_queue_loop), (gst_queue_handle_src_query),
25335         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25336         (gst_queue_set_property), (gst_queue_get_property):
25337         Some cleanups.
25338
25339         * tests/threadstate/threadstate1.c: (main):
25340         Make a thread test compile and run... very silly..
25341
25342
25343 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25344
25345         * docs/manual/appendix-porting.xml:
25346           Mention removal of libgstgconf-0.9.la and existence of gconf
25347           elements.
25348
25349 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25350
25351         * docs/pwg/advanced-clock.xml:
25352         * docs/pwg/appendix-porting.xml:
25353         * docs/pwg/intro-preface.xml:
25354         * docs/pwg/other-base.xml:
25355         * docs/pwg/other-manager.xml:
25356         * docs/pwg/other-nton.xml:
25357         * docs/pwg/other-ntoone.xml:
25358         * docs/pwg/other-oneton.xml:
25359         * docs/pwg/pwg.xml:
25360           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25361           demuxer), remove n-to-n (was never written), fix some code examples
25362           and links and update the porting section to include all this.
25363
25364 2005-07-19  Wim Taymans  <wim@fluendo.com>
25365
25366         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25367         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25368         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25369         (gst_queue_src_activate_push), (gst_queue_change_state),
25370         (gst_queue_get_property):
25371         * gst/gstqueue.h:
25372         Propagate GstFlowReturn more intelligently upstream and output
25373         an ERROR/EOS when streaming stopped due to fatal error.
25374
25375 2005-07-19  Wim Taymans  <wim@fluendo.com>
25376
25377         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25378         Don't block forever for the state change to complete, the
25379         pipeline already did with a sensible timeout.
25380
25381 2005-07-19  Wim Taymans  <wim@fluendo.com>
25382
25383         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25384         Make sure we never call the create function is we
25385         got deactivated.
25386
25387 2005-07-19  Andy Wingo  <wingo@pobox.com>
25388
25389         * gst/parse/parse.l: Attempt to solve bug #172815.
25390
25391 2005-07-19  Wim Taymans  <wim@fluendo.com>
25392
25393         * docs/design/part-clocks.txt:
25394         * docs/design/part-events.txt:
25395         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25396         Small docs updates.
25397         Only update the seeking values when we are not
25398         busy streaming.
25399
25400 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25401
25402         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25403           Oops, ignore the result of gst_pad_push_event here.
25404
25405 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25406
25407         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25408         (gst_base_src_activate_push):
25409           Send discont event from the loop function, as pads
25410           aren't activated yet in the activate_push handler.
25411
25412         * gst/gstbin.c: (bin_bus_handler):
25413           Don't leak element name.
25414
25415 2005-07-18  Andy Wingo  <wingo@pobox.com>
25416
25417         * configure.ac: Use AS_LIBTOOL_TAGS.
25418
25419 2005-07-18  Wim Taymans  <wim@fluendo.com>
25420
25421         * docs/gst/gstreamer.types:
25422         Remove deleted types.
25423
25424 2005-07-18  Wim Taymans  <wim@fluendo.com>
25425
25426         * check/elements/gstfakesrc.c: (GST_START_TEST):
25427         * configure.ac:
25428         * gst/Makefile.am:
25429         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25430         (init_popt_callback):
25431         * gst/gst.h:
25432         * gst/gst_private.h:
25433         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25434         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25435         * gst/gstbin.h:
25436         * gst/gstbus.h:
25437         * gst/gstconfig.h.in:
25438         * gst/gstelement.c: (gst_element_class_init),
25439         (gst_element_set_base_time), (gst_element_get_base_time),
25440         (iterator_fold_with_resync), (gst_element_change_state),
25441         (gst_element_dispose), (gst_element_get_bus):
25442         * gst/gstelement.h:
25443         * gst/gstelementfactory.h:
25444         * gst/gsterror.c: (_gst_core_errors_init):
25445         * gst/gsterror.h:
25446         * gst/gstevent.h:
25447         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25448         * gst/gstindex.c:
25449         * gst/gstinfo.c: (_gst_debug_init):
25450         * gst/gstmessage.c: (_gst_message_copy):
25451         * gst/gstmessage.h:
25452         * gst/gstminiobject.h:
25453         * gst/gstobject.c:
25454         * gst/gstobject.h:
25455         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25456         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25457         * gst/gstpad.h:
25458         * gst/gstparse.h:
25459         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25460         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25461         (gst_pipeline_get_last_stream_time):
25462         * gst/gstpipeline.h:
25463         * gst/gstpluginfeature.h:
25464         * gst/gstquery.h:
25465         * gst/gstscheduler.c:
25466         * gst/gstscheduler.h:
25467         * gst/gststructure.h:
25468         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25469         (gst_task_finalize), (gst_task_func), (gst_task_create),
25470         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25471         (gst_task_stop), (gst_task_pause):
25472         * gst/gsttask.h:
25473         * gst/gsttypefind.h:
25474         * gst/gsttypes.h:
25475         * gst/registries/gstlibxmlregistry.c: (load_feature),
25476         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25477         * gst/registries/gstxmlregistry.c:
25478         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25479         * gst/schedulers/threadscheduler.c:
25480         * libs/gst/control/dparammanager.h:
25481         * tools/gst-inspect.c: (print_element_list),
25482         (print_plugin_features), (print_element_features):
25483         * tools/gst-xmlinspect.c: (print_element_list),
25484         (print_plugin_info), (main):
25485         Removed plugable schedulers.
25486         Removed Scheduler/Manager from elements.
25487         Removed gsttypes.h, rearranged includes.
25488         Removed dependency pad<->element, element<>pipeline, and
25489         various others,  fix includes.
25490         implement gst_pad_get_parent() with gst_object_get_parent()
25491         Make GstTask sefcontained.
25492         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25493         timeout.
25494         Fix endless loop in iterator_fold_with_resync.
25495
25496
25497 2005-07-18  Wim Taymans  <wim@fluendo.com>
25498
25499         * gst/Makefile.am:
25500         * gst/gstarch.h:
25501         Remove old file.
25502
25503 2005-07-18  Wim Taymans  <wim@fluendo.com>
25504
25505         * gst/Makefile.am:
25506         No more cothreads.h
25507
25508 2005-07-18  Wim Taymans  <wim@fluendo.com>
25509
25510         * gst/cothreads.c:
25511         * gst/cothreads.h:
25512         Let's remove these.
25513
25514 2005-07-18  Wim Taymans  <wim@fluendo.com>
25515
25516         * docs/design/part-dynamic.txt:
25517         * docs/design/part-events.txt:
25518         * docs/design/part-seeking.txt:
25519         Some more docs in the works.
25520
25521         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25522         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25523         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25524         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25525         (gst_base_transform_handle_buffer),
25526         (gst_base_transform_sink_activate_push),
25527         (gst_base_transform_src_activate_pull),
25528         (gst_base_transform_set_passthrough),
25529         (gst_base_transform_is_passthrough):
25530         Refcounting fixes.
25531
25532         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25533         Cleanups.
25534
25535         * gst/gstevent.c: (gst_event_finalize):
25536         Set SRC to NULL.
25537
25538         * gst/gstutils.c: (gst_element_unlink),
25539         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25540         (gst_pad_proxy_setcaps):
25541         * gst/gstutils.h:
25542         Add _get_parent_element() to get a pads parent as an element.
25543
25544 2005-07-18  Wim Taymans  <wim@fluendo.com>
25545
25546         * check/gst/gstbin.c: (GST_START_TEST):
25547         Remove bogus test.
25548
25549 2005-07-18  Wim Taymans  <wim@fluendo.com>
25550
25551         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25552         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25553         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25554         (gst_base_sink_event), (gst_base_sink_do_sync),
25555         (gst_base_sink_chain), (gst_base_sink_loop),
25556         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25557         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25558         Refcounting fixes.
25559         Fix logic for returning ASYNC when not prerolled.
25560
25561 2005-07-18  Wim Taymans  <wim@fluendo.com>
25562
25563         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25564         Fix nasty refcount bug.
25565
25566 2005-07-16 Philippe Khalaf <burger@speedy.org>
25567
25568         * gst/elements/gstfdsrc.c:
25569         * gst/elements/gstfdsrc.h:
25570         * gst/elements/gstelements.c:
25571         * gst/elements/Makefile.am:
25572         Ported fdsrc to 0.9.
25573
25574 2005-07-16  Wim Taymans  <wim@fluendo.com>
25575
25576         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25577         (gst_base_sink_do_sync):
25578         Fix compile error.
25579
25580 2005-07-16  Wim Taymans  <wim@fluendo.com>
25581
25582         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25583         (gst_base_sink_event), (gst_base_sink_get_times),
25584         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25585         * gst/base/gstbasesink.h:
25586         Store and use discont values when syncing buffers as described
25587         in design docs.
25588         
25589         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25590         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25591         (gst_base_src_activate_push):
25592         Push discont event when starting.
25593
25594         * gst/elements/gstidentity.c: (gst_identity_transform):
25595         Small cleanups.
25596
25597         * gst/gstbin.c: (gst_bin_change_state):
25598         Small cleanups in base_time  distribution.
25599
25600         * gst/gstelement.c: (gst_element_set_base_time),
25601         (gst_element_get_base_time), (gst_element_change_state):
25602         * gst/gstelement.h:
25603         Added methods for the base_time of the element.
25604         Some MT fixes.
25605
25606         * gst/gstpipeline.c: (gst_pipeline_send_event),
25607         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25608         (gst_pipeline_get_last_stream_time):
25609         * gst/gstpipeline.h:
25610         MT fixes.
25611         Handle seeking as described in design doc, remove stream_time
25612         hack.
25613         Cleanups clock and stream_time selection code. Added accessors
25614         for the stream_time.
25615         
25616
25617 2005-07-16  Andy Wingo  <wingo@pobox.com>
25618
25619         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25620         (#305291).
25621
25622 2005-07-16  Wim Taymans  <wim@fluendo.com>
25623
25624         * check/gst/gstbin.c: (GST_START_TEST):
25625         Make elements silent as the deep_notify refs the
25626         parent, which might make the test fail.
25627
25628         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25629         Don't hold the lock for too long.
25630
25631 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
25632
25633         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25634           Don't unref the caps we passed to gst_caps_make_writable() after
25635           passing them. gst_caps_make_writable() will do that for us.
25636
25637 2005-07-15  Andy Wingo  <wingo@pobox.com>
25638
25639         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25640         (#157311).
25641
25642         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25643         own marshalling function for the handoff signal. Properly type the
25644         buffer as a buffer. Fixes some warnings. Should do a more general
25645         solution.
25646         (gst_identity_class_init): Plug into the right marshaller.
25647
25648 2005-07-15  Wim Taymans  <wim@fluendo.com>
25649
25650         * docs/design/part-TODO.txt:
25651         * docs/design/part-clocks.txt:
25652         * docs/design/part-element-sink.txt:
25653         * docs/design/part-events.txt:
25654         * docs/design/part-gstpipeline.txt:
25655         Updated docs, mostly DISCONT related.
25656
25657 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
25658
25659         * docs/pwg/building-pads.xml:
25660           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25661
25662 2005-07-15  Andy Wingo  <wingo@pobox.com>
25663
25664         * tools/gst-typefind.c: Update, add copyright block.
25665
25666         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25667         Normalize and truncate caps before fixation.
25668
25669         * gst/gstcaps.h:
25670         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25671         discards all but the first structure from its argument.
25672
25673 2005-07-15  Wim Taymans  <wim@fluendo.com>
25674
25675         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25676         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25677         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25678         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25679         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25680         (gst_base_transform_chain), (gst_base_transform_change_state),
25681         (gst_base_transform_set_passthrough),
25682         (gst_base_transform_is_passthrough):
25683         * gst/base/gstbasetransform.h:
25684         Make passthrough work using the bufferpools.
25685         Changed API a bit, subclasses have to write into a buffer
25686         provided by the base class.
25687         More debug info in nego functions.
25688         
25689         * gst/elements/gstidentity.c: (gst_identity_init),
25690         (gst_identity_transform):
25691         Port to new base class.
25692
25693 2005-07-15  Wim Taymans  <wim@fluendo.com>
25694
25695         * gst/gstmessage.c: (gst_message_new_state_changed):
25696         * tools/gst-launch.c: (event_loop), (main):
25697         Totally dump messages in -launch with the -m option.
25698         Fix message name for State messages,
25699
25700 2005-07-14  Wim Taymans  <wim@fluendo.com>
25701
25702         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25703         Post error messages on errors.
25704
25705 2005-07-14  Wim Taymans  <wim@fluendo.com>
25706
25707         * gst/gstcaps.c: (gst_caps_do_simplify):
25708         Remove debug info.
25709
25710         * gst/gsterror.h:
25711         Define error for stream stopped.
25712
25713         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25714         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25715         Do proper return values.
25716
25717         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25718         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25719         (gst_pad_get_range):
25720         Better return values.
25721
25722         * gst/gstpad.h:
25723         Reorganise return values, add macro to check for fatal errors.
25724
25725         * gst/gstqueue.c: (gst_queue_chain):
25726         Return proper GstFlowReturn values,
25727
25728 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
25729
25730         * docs/gst/gstreamer-sections.txt:
25731         * docs/gst/gstreamer.types:
25732         * docs/gst/tmpl/gst.sgml:
25733         * docs/gst/tmpl/gstbasesink.sgml:
25734         * docs/gst/tmpl/gstbasesrc.sgml:
25735         * docs/gst/tmpl/gstbasetransform.sgml:
25736         * docs/gst/tmpl/gstbin.sgml:
25737         * docs/gst/tmpl/gstbuffer.sgml:
25738         * docs/gst/tmpl/gstcaps.sgml:
25739         * docs/gst/tmpl/gstclock.sgml:
25740         * docs/gst/tmpl/gstcompat.sgml:
25741         * docs/gst/tmpl/gstconfig.sgml:
25742         * docs/gst/tmpl/gstelement.sgml:
25743         * docs/gst/tmpl/gstelementdetails.sgml:
25744         * docs/gst/tmpl/gstelementfactory.sgml:
25745         * docs/gst/tmpl/gstenumtypes.sgml:
25746         * docs/gst/tmpl/gsterror.sgml:
25747         * docs/gst/tmpl/gstevent.sgml:
25748         * docs/gst/tmpl/gstfakesink.sgml:
25749         * docs/gst/tmpl/gstfakesrc.sgml:
25750         * docs/gst/tmpl/gstfilesink.sgml:
25751         * docs/gst/tmpl/gstfilesrc.sgml:
25752         * docs/gst/tmpl/gstfilter.sgml:
25753         * docs/gst/tmpl/gstformat.sgml:
25754         * docs/gst/tmpl/gstghostpad.sgml:
25755         * docs/gst/tmpl/gstimplementsinterface.sgml:
25756         * docs/gst/tmpl/gstindex.sgml:
25757         * docs/gst/tmpl/gstindexfactory.sgml:
25758         * docs/gst/tmpl/gstinfo.sgml:
25759         * docs/gst/tmpl/gstiterator.sgml:
25760         * docs/gst/tmpl/gstmacros.sgml:
25761         * docs/gst/tmpl/gstmemchunk.sgml:
25762         * docs/gst/tmpl/gstminiobject.sgml:
25763         * docs/gst/tmpl/gstobject.sgml:
25764         * docs/gst/tmpl/gstpad.sgml:
25765         * docs/gst/tmpl/gstpadtemplate.sgml:
25766         * docs/gst/tmpl/gstparse.sgml:
25767         * docs/gst/tmpl/gstpipeline.sgml:
25768         * docs/gst/tmpl/gstplugin.sgml:
25769         * docs/gst/tmpl/gstpluginfeature.sgml:
25770         * docs/gst/tmpl/gstquery.sgml:
25771         * docs/gst/tmpl/gstqueue.sgml:
25772         * docs/gst/tmpl/gstregistry.sgml:
25773         * docs/gst/tmpl/gstregistrypool.sgml:
25774         * docs/gst/tmpl/gstscheduler.sgml:
25775         * docs/gst/tmpl/gstschedulerfactory.sgml:
25776         * docs/gst/tmpl/gststructure.sgml:
25777         * docs/gst/tmpl/gstsystemclock.sgml:
25778         * docs/gst/tmpl/gsttaglist.sgml:
25779         * docs/gst/tmpl/gsttagsetter.sgml:
25780         * docs/gst/tmpl/gsttrace.sgml:
25781         * docs/gst/tmpl/gsttrashstack.sgml:
25782         * docs/gst/tmpl/gsttypefind.sgml:
25783         * docs/gst/tmpl/gsttypefindfactory.sgml:
25784         * docs/gst/tmpl/gsttypes.sgml:
25785         * docs/gst/tmpl/gsturihandler.sgml:
25786         * docs/gst/tmpl/gsturitype.sgml:
25787         * docs/gst/tmpl/gstutils.sgml:
25788         * docs/gst/tmpl/gstvalue.sgml:
25789         * docs/gst/tmpl/gstversion.sgml:
25790         * docs/gst/tmpl/gstxml.sgml:
25791         * docs/libs/tmpl/gstcontrol.sgml:
25792         * docs/libs/tmpl/gstdataprotocol.sgml:
25793         * docs/libs/tmpl/gstdparam.sgml:
25794         * docs/libs/tmpl/gstdplinint.sgml:
25795         * docs/libs/tmpl/gstdpman.sgml:
25796         * docs/libs/tmpl/gstdpsmooth.sgml:
25797         * docs/libs/tmpl/gstgetbits.sgml:
25798         * docs/libs/tmpl/gstunitconvert.sgml:
25799         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25800         (gst_push_src_base_init), (gst_push_src_class_init),
25801         (gst_push_src_init), (gst_push_src_create):
25802         * gst/base/gstpushsrc.h:
25803         * gst/elements/gstelements.c:
25804         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25805         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25806         (gst_fake_sink_init), (gst_fake_sink_set_property),
25807         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25808         (gst_fake_sink_event), (gst_fake_sink_preroll),
25809         (gst_fake_sink_render), (gst_fake_sink_change_state):
25810         * gst/elements/gstfakesink.h:
25811         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25812         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25813         (gst_fake_src_base_init), (gst_fake_src_class_init),
25814         (gst_fake_src_init), (gst_fake_src_event_handler),
25815         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25816         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25817         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25818         (gst_fake_src_create_buffer), (gst_fake_src_create),
25819         (gst_fake_src_start), (gst_fake_src_stop):
25820         * gst/elements/gstfakesrc.h:
25821         * gst/elements/gstfilesink.c: (_do_init),
25822         (gst_file_sink_base_init), (gst_file_sink_class_init),
25823         (gst_file_sink_init), (gst_file_sink_dispose),
25824         (gst_file_sink_set_location), (gst_file_sink_set_property),
25825         (gst_file_sink_get_property), (gst_file_sink_open_file),
25826         (gst_file_sink_close_file), (gst_file_sink_query),
25827         (gst_file_sink_event), (gst_file_sink_render),
25828         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25829         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25830         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25831         * gst/elements/gstfilesink.h:
25832         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25833         (gst_file_src_class_init), (gst_file_src_init),
25834         (gst_file_src_finalize), (gst_file_src_set_location),
25835         (gst_file_src_set_property), (gst_file_src_get_property),
25836         (gst_file_src_map_region), (gst_file_src_map_small_region),
25837         (gst_file_src_create_mmap), (gst_file_src_create_read),
25838         (gst_file_src_create), (gst_file_src_is_seekable),
25839         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25840         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25841         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25842         (gst_file_src_uri_handler_init):
25843         * gst/elements/gstfilesrc.h:
25844           more autistic cleanliness in functions/names/defines
25845
25846 2005-07-13  Andy Wingo  <wingo@pobox.com>
25847
25848         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25849         source couldn't negotiate.
25850
25851         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25852         connections again.
25853
25854         * gst/gstutils.h:
25855         * gst/gstutils.c (gst_element_link_pads_filtered): New old
25856         function. I am channeling Hades. Put your boots on suckers!!!
25857
25858 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25859
25860         * testsuite/caps/Makefile.am:
25861         * testsuite/caps/value_compare.c:
25862         * testsuite/caps/value_intersect.c:
25863         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25864           move two testsuite apps over to the check dir
25865
25866 2005-07-12  Wim Taymans  <wim@fluendo.com>
25867
25868         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25869         Added more debug info in the negotiate process.
25870
25871         * gst/gstmessage.h:
25872         Prepare for segment playback.
25873
25874         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25875         Better debugging.
25876
25877         * gst/gstutils.c:
25878         Some more docs.
25879
25880         * tools/gst-launch.c: (main):
25881         NULL pipeline on errors.
25882
25883 2005-07-12  Andy Wingo  <wingo@pobox.com>
25884
25885         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25886         not it comes from a malloc region. Make sure our copy gets freed.
25887
25888 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25889
25890         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25891         * check/gst/gstmessage.c: (GST_START_TEST):
25892         * check/gst/gststructure.c: (GST_START_TEST),
25893         (gst_structure_suite), (main):
25894           more testing
25895         * gst/gstelement.c: (gst_element_message_full):
25896           clean up GError and debug string now that they get copied
25897         * gst/gstmessage.c: (gst_message_new_error),
25898         (gst_message_new_warning), (gst_message_parse_error),
25899         (gst_message_parse_warning):
25900           use GST_TYPE_G_ERROR for structure_new, and take copies of
25901           arguments, so that we don't mess up refcounting
25902
25903 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25904
25905         * check/Makefile.am:
25906           add per-test valgrind targets
25907         * check/gst-libs/gdp.c: (GST_START_TEST),
25908         (gst_data_protocol_suite), (main):
25909           clean up
25910
25911 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25912
25913         * check/Makefile.am:
25914           instate more valgrindable tests
25915         * check/elements/gstfakesrc.c: (chain_func), (event_func),
25916         (GST_START_TEST), (fakesrc_suite):
25917         * check/gst/gstpad.c: (GST_START_TEST):
25918         * check/gst/gststructure.c: (GST_START_TEST):
25919           fix test leaks
25920         * docs/gst/tmpl/gstminiobject.sgml:
25921         * gst/gstpad.c: (gst_pad_finalize):
25922           fix the static mutex leak
25923
25924 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25925
25926         * check/Makefile.am:
25927           add two more tests for valgrinding
25928         * check/gst/gstvalue.c: (GST_START_TEST):
25929           test refcount of deserialized buffer, found a leak
25930         * docs/gst/gstreamer-docs.sgml:
25931         * docs/gst/gstreamer-sections.txt:
25932         * docs/gst/gstreamer.types:
25933         * docs/gst/tmpl/gstminiobject.sgml:
25934           add miniobject to docs
25935         * gst/gstminiobject.c:
25936           add some docs
25937         * gst/gstvalue.c: (gst_value_deserialize_buffer),
25938         (gst_string_unwrap):
25939           fix a hard-to-find invalid write for one of the tests
25940           fix a leak for deserialized buffers
25941
25942 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25943
25944         * docs/pwg/advanced-events.xml:
25945         * docs/pwg/advanced-request.xml:
25946         * docs/pwg/advanced-scheduling.xml:
25947         * docs/pwg/appendix-porting.xml:
25948         * docs/pwg/building-boiler.xml:
25949         * docs/pwg/intro-preface.xml:
25950         * docs/pwg/other-ntoone.xml:
25951           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
25952           of example code and explanation for pad activation, loop() and
25953           getrange() functions and a bit more. Remove old comments pointing
25954           to loop-functions.
25955         * examples/pwg/Makefile.am:
25956           Add loop/getrange examples.
25957
25958 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25959
25960         * configure.ac:
25961           check for valgrind binary + some fixes
25962         * check/gst.supp:
25963           valgrind suppressions for the tests
25964         * check/Makefile.am:
25965           add a valgrind: target that valgrinds the unit tests
25966         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
25967         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25968         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25969         * check/gst/gstghostpad.c:
25970           added some cleanup
25971         * check/gst/gstdata.c:
25972           removed
25973         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
25974         (thread_unref), (gst_mini_object_suite), (main):
25975           added
25976         * gst/gst.c: (gst_deinit):
25977         * gst/gst.h:
25978           add a method to clean up.
25979         * gst/gstsystemclock.c: (gst_system_clock_dispose),
25980         (gst_system_clock_obtain):
25981           allow for disposing the system clock.
25982         * tools/gst-launch.c: (main):
25983           deinit
25984
25985 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25986
25987         * docs/gst/tmpl/gstbasesrc.sgml:
25988         * docs/gst/tmpl/gstfakesrc.sgml:
25989         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25990         (gst_base_src_init), (gst_base_src_set_property),
25991         (gst_base_src_get_property), (gst_base_src_get_range),
25992         (gst_base_src_start):
25993         * gst/base/gstbasesrc.h:
25994           add num-buffers property
25995         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25996         (gst_fakesrc_init), (gst_fakesrc_set_property),
25997         (gst_fakesrc_get_property), (gst_fakesrc_create),
25998         (gst_fakesrc_start):
25999           remove num-buffers property
26000
26001 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26002
26003         * docs/gst/gstreamer-sections.txt:
26004         * docs/gst/tmpl/gstbasesink.sgml:
26005         * docs/gst/tmpl/gstbasesrc.sgml:
26006         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26007         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26008         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26009         (gst_base_sink_set_property), (gst_base_sink_get_property),
26010         (gst_base_sink_handle_object), (gst_base_sink_event),
26011         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26012         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26013         (gst_base_sink_loop), (gst_base_sink_deactivate),
26014         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26015         (gst_base_sink_change_state):
26016         * gst/base/gstbasesink.h:
26017         * gst/base/gstbasesrc.h:
26018         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26019         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26020         (gst_filesink_init):
26021           more macro splitting
26022
26023 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26024
26025         * gst/gstelement.c: (gst_element_get_bus):
26026           add debug
26027         * tools/gst-launch.c: (check_intr), (event_loop):
26028           fix bus leaks
26029
26030 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26031
26032         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26033           fix a caps leak
26034
26035 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26036
26037         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26038         (gst_base_src_finalize):
26039           add finalize method and clean up properly
26040         * gst/gstpipeline.c: (gst_pipeline_dispose):
26041           add debug
26042
26043 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26044
26045         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26046         (gst_bin_suite):
26047           add more things to check
26048         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26049         * gst/gstelement.c:
26050           more debug
26051
26052 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26053
26054         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26055         (GST_START_TEST), (fakesrc_suite):
26056         * check/gst-libs/gdp.c: (GST_START_TEST):
26057         * check/gst/gst.c: (GST_START_TEST):
26058         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26059         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26060         * check/gst/gstbus.c: (GST_START_TEST):
26061         * check/gst/gstcaps.c: (GST_START_TEST):
26062         * check/gst/gstdata.c: (GST_START_TEST):
26063         * check/gst/gstelement.c: (GST_START_TEST):
26064         * check/gst/gstghostpad.c: (GST_START_TEST):
26065         * check/gst/gstiterator.c: (GST_START_TEST):
26066         * check/gst/gstmessage.c: (GST_START_TEST):
26067         * check/gst/gstobject.c: (GST_START_TEST):
26068         * check/gst/gstpad.c: (GST_START_TEST):
26069         * check/gst/gststructure.c: (GST_START_TEST):
26070         * check/gst/gstsystemclock.c: (GST_START_TEST),
26071         (gst_systemclock_suite):
26072         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26073         * check/gst/gstvalue.c: (GST_START_TEST):
26074         * check/pipelines/cleanup.c: (GST_START_TEST):
26075         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26076         * check/states/sinks.c: (GST_START_TEST):
26077         * check/gstcheck.c: (gst_check_init):
26078         * check/gstcheck.h:
26079           add debugging category
26080           use GST_START_TEST now, so we add a debug line
26081
26082 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26083
26084         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26085           add test for state change message on a bin
26086         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26087           add another test
26088         * gst/gstbin.c: (gst_bin_init):
26089         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26090         * gst/gstelement.c: (gst_element_post_message),
26091         (gst_element_set_state):
26092         * gst/gstelementfactory.c: (gst_element_factory_create):
26093         * gst/gstmessage.c: (gst_message_new):
26094         * gst/gstscheduler.c:
26095           various debugging additions and cleanups
26096
26097 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26098
26099         * check/Makefile.am:
26100         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26101         (main):
26102           adding tests for elements
26103         * gst/gstelement.c: (gst_element_dispose):
26104
26105 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26106
26107         * gst/registries/gstlibxmlregistry.c: (load_feature):
26108           plug more leaks.  A simple gst_init() now is leakfree, yay.
26109
26110 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26111
26112         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26113         (gst_xml_registry_load):
26114           plug another memleak
26115
26116 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26117
26118         * configure.ac:
26119           use GST_SET_ERROR_CFLAGS
26120         * docs/faq/cvs.xml:
26121           change to ERROR_CFLAGS
26122
26123 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26124
26125         * configure.ac:
26126           make GST_ERROR_CFLAGS overridable and re-enable Werror
26127         * docs/faq/cvs.xml:
26128           add a note about error CFLAGS
26129         * docs/gst/tmpl/gstfakesrc.sgml:
26130         * gst/elements/gstfakesrc.c:
26131           comment out some unused code
26132         * gst/gst.c: (split_and_iterate):
26133         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26134         (load_feature):
26135           plug some memleaks
26136
26137 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26138
26139         * common/Makefile.am:
26140         * common/gtk-doc.mak:
26141         * docs/gst/Makefile.am:
26142           factor out gtk-doc.mak
26143
26144 2005-07-07  Wim Taymans  <wim@fluendo.com>
26145
26146         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26147         (gst_thread_scheduler_dispose):
26148         Unlock the STREAM_LOCK completely.
26149
26150 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26151
26152         * check/Makefile.am:
26153         * check/elements/.cvsignore:
26154         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26155         (START_TEST), (fakesrc_suite), (main):
26156         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26157         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26158         (gst_fakesrc_create), (gst_fakesrc_start):
26159         * gst/elements/gstfakesrc.h:
26160           adding a first element test
26161
26162 2005-07-07  Andy Wingo  <wingo@pobox.com>
26163
26164         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26165         debug message.
26166
26167 2005-07-07  Wim Taymans  <wim@fluendo.com>
26168
26169         * gst/gstquery.c:
26170         * gst/gstquery.h:
26171         Remove old types
26172
26173 2005-07-07  Wim Taymans  <wim@fluendo.com>
26174
26175         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26176         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26177         Allow subclasses to implement their own negotiation.
26178
26179 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26180
26181         * docs/design/part-gstbin.txt:
26182         * docs/design/part-gstpipeline.txt:
26183           Update design notes to reflect the movement of
26184           responsibility for bus handling from GstPipeline to
26185           GstBin
26186
26187 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26188
26189         * configure.ac:
26190           Remove unnecessary queue2/3/4 examples.
26191
26192 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26193
26194         * examples/Makefile.am:
26195         * examples/helloworld/helloworld.c: (event_loop), (main):
26196         * examples/queue/queue.c: (event_loop), (main):
26197         * examples/queue2/queue2.c: (main):
26198           Update a couple of the examples to work again.
26199
26200         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26201         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26202          Spelling corrections and extra debug.
26203         
26204         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26205         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26206         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26207         * gst/gstbin.h:
26208         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26209         (gst_pipeline_change_state):
26210         * gst/gstpipeline.h:
26211           Move the bus handler for children to the GstBin, and create a
26212           separate bus for receiving messages from children to the one the
26213           bus sends 'upwards' on.
26214
26215 2005-07-06  Wim Taymans  <wim@fluendo.com>
26216
26217         * gst/base/README:
26218         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26219         (gst_base_sink_handle_object), (gst_base_sink_loop),
26220         (gst_base_sink_change_state):
26221         * gst/base/gstbasesink.h:
26222         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26223         (gst_base_src_init), (gst_base_src_setcaps),
26224         (gst_base_src_getcaps), (gst_base_src_loop),
26225         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26226         (gst_base_src_start), (gst_base_src_change_state):
26227         * gst/base/gstbasesrc.h:
26228         Make basesrc negotiate.
26229         Handle the case where preroll fails in basesink.
26230         Update README.
26231
26232 2005-07-06  Wim Taymans  <wim@fluendo.com>
26233
26234         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26235         Implement the fixate function.
26236         Clean up acceptcaps.
26237
26238 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26239
26240         * docs/pwg/building-filterfactory.xml:
26241         * docs/pwg/pwg.xml:
26242           Remove never-written filter-factory chapter; I'll add the various
26243           base classes to part 4 ("other element types") later on.
26244
26245 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26246
26247         * docs/pwg/advanced-negotiation.xml:
26248         * docs/pwg/building-boiler.xml:
26249         * docs/pwg/building-pads.xml:
26250         * docs/pwg/pwg.xml:
26251         * examples/pwg/Makefile.am:
26252           Add a chapter on caps negotiation, simplify the original code
26253           samples a bit w.r.t. caps negotiation, add link to the advanced
26254           section. Add a bunch of examples showing different use cases of
26255           different types of caps negotiation. Upstream renegotiation isn't
26256           fully documented yet since nobody knows how that works.
26257
26258 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26259
26260         * check/gst/gstpad.c:
26261         * check/gstcheck.c:
26262         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26263           if pad has no parent, return NULL as list of internal links
26264
26265 2005-07-05  Andy Wingo  <wingo@pobox.com>
26266
26267         * gst/elements/gstfilesrc.c:
26268         * gst/elements/gstfakesrc.c: 
26269         * gst/base/gstpushsrc.c:
26270         * gst/base/gstbasesrc.h: 
26271         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26272         
26273 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26274
26275         * Makefile.am:
26276           better report generation target (lcov needs a patch)
26277
26278 2005-07-05  Andy Wingo  <wingo@pobox.com>
26279
26280         * gst/elements, testsuite: Null if we got it...
26281
26282 2005-07-05  Wim Taymans  <wim@fluendo.com>
26283
26284         * configure.ac:
26285         * libs/gst/dataprotocol/Makefile.am:
26286         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26287         * libs/gst/dataprotocol/dataprotocol.h:
26288         * pkgconfig/Makefile.am:
26289         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26290         * pkgconfig/gstreamer-dataprotocol.pc.in:
26291         Ported dataprotol to 0.9. 
26292         Added pkgconfig files.
26293
26294 2005-07-05  Andy Wingo  <wingo@pobox.com>
26295
26296         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26297         Default to returning TRUE for the case when tranform_caps returns
26298         a fixed caps, like for identity or volume.
26299
26300         * check/gst/gstbus.c (pound_bus_with_messages): 
26301         * check/gst/gstmessage.c (START_TEST): 
26302         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26303         message API change.
26304
26305         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26306         logic weaks here: always run transform_caps, trying passthrough
26307         operation only if the original caps intersects with the transform.
26308
26309         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26310         source and sink caps.
26311
26312         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26313         Intersect the peer caps with the pad template before going into
26314         transform_caps.
26315         (gst_base_transform_transform_caps): More debugging.
26316
26317         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26318         src argument.
26319
26320 2005-07-04  Edward Hervey  <edward@fluendo.com>
26321
26322         * gst/gstutils.c:
26323         * gst/gstutils.h:
26324         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26325         in bindings.
26326
26327 2005-07-04  Andy Wingo  <wingo@pobox.com>
26328
26329         * check/gst/gstpad.c: Only set explicit caps on pads.
26330
26331 2005-07-01  Andy Wingo  <wingo@pobox.com>
26332
26333         * tests/network-clock.scm: Commentary update.
26334
26335         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26336         Didn't really make sense, not implementable with basetransform,
26337         etc.
26338         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26339         attempt at implementing the sync property, needs an unlock method.
26340
26341         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26342         New func, by default returns the same caps (the identity
26343         transformation).
26344         (gst_base_transform_getcaps): Uses transform_caps to return
26345         something sensible.
26346         (gst_base_transform_setcaps): Complicated logic to get caps on
26347         both pads, even if they are different, and to call set_caps once
26348         for every time both pads get their caps set.
26349         (gst_base_transform_handle_buffer): Give the ref to the transform
26350         function. Allows in-place modification of the buffer.
26351
26352         * gst/base/gstbasetransform.h (transform_caps): New class method.
26353         Given caps on one side, what can I do on the other.
26354         (set_caps): Take two caps, one for each side of the element.
26355
26356         * gst/gstpad.h:
26357         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26358         caps in place. This is safe because we can check the mutability of
26359         the caps, and a good idea because fixate functions are just called
26360         as a matter of last resort. (Not actually implemented.)
26361         (gst_pad_set_caps): If the caps we're setting is actually the same
26362         as the existing pad caps, just update the pointer without calling
26363         setcaps. Assert that caps is either NULL or fixed, as per the
26364         docs.
26365
26366         * gst/gstghostpad.c: Update for fixate changes.
26367
26368 2005-07-02  Andy Wingo  <wingo@pobox.com>
26369
26370         * gst/gstcaps.c:
26371         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26372         two refcounts makes it immutable, which is enough. Doc more.
26373
26374 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26375
26376         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26377           Put the mini_object into GValue as a mini_object,
26378           not a gpointer, since that's how we declared
26379           the signal.
26380
26381 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26382
26383         * examples/pwg/Makefile.am:
26384           Fix buildbot again.
26385
26386 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26387
26388         * docs/pwg/building-testapp.xml:
26389           Add extra check.
26390         * examples/pwg/Makefile.am:
26391           Fix buildbot.
26392
26393 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26394
26395         * configure.ac:
26396         * examples/Makefile.am:
26397         * examples/pwg/Makefile.am:
26398         * examples/pwg/extract.pl:
26399           Enable building the PWG examples.
26400         * docs/pwg/advanced-interfaces.xml:
26401           Add URI interface stub.
26402         * docs/pwg/advanced-types.xml:
26403         * docs/pwg/other-autoplugger.xml:
26404         * docs/pwg/appendix-porting.xml:
26405         * docs/pwg/pwg.xml:
26406           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26407         * docs/pwg/building-boiler.xml:
26408         * docs/pwg/building-chainfn.xml:
26409         * docs/pwg/building-pads.xml:
26410         * docs/pwg/building-props.xml:
26411         * docs/pwg/building-state.xml:
26412         * docs/pwg/building-testapp.xml:
26413           Update the building-*.xml parts for 0.9 changes. All examples
26414           code blocks compile in examples/pwg/*.
26415
26416 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26417
26418         * docs/manual/advanced-autoplugging.xml:
26419         * docs/manual/appendix-checklist.xml:
26420         * docs/manual/appendix-integration.xml:
26421         * docs/manual/highlevel-components.xml:
26422           Fix playbin/decodebin examples, update docs a bit, mention bus
26423           instead of signals in various places, mention kmplayer and
26424           kaffeine since they have a working GStreamer backend in the KDE
26425           section.
26426
26427 2005-06-30  Wim Taymans  <wim@fluendo.com>
26428
26429         * CHANGES-0.9:
26430         * docs/design/draft-ghostpads.txt:
26431         * docs/design/draft-push-pull.txt:
26432         * docs/design/draft-query.txt:
26433         * docs/design/part-TODO.txt:
26434         * docs/design/part-query.txt:
26435         Added CHANGES-0.9 doc, updated status of other docs.
26436         
26437         * gst/gstquery.h:
26438         Remove "hmm" macro
26439
26440 2005-06-30  Wim Taymans  <wim@fluendo.com>
26441
26442         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26443         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26444         (gst_base_sink_change_state):
26445         * gst/base/gstbasesink.h:
26446         Some tweaks, only EOS and a buffer complete a preroll.
26447
26448 2005-06-30  Andy Wingo  <wingo@pobox.com>
26449
26450         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26451         activate_push down to the internal pad as well.
26452
26453 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26454
26455         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26456
26457         * gst/gsttaginterface.c:
26458           Some documentation fixes (#307394 and #307397).
26459
26460 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26461
26462         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26463
26464         * gst/gstvalue.c: (gst_value_intersect_list):
26465           Fix memleak (#309125).
26466
26467 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26468
26469         * docs/manual/advanced-dataaccess.xml:
26470           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26471         * docs/manual/basics-pads.xml:
26472           Add reference for filtered caps to above chapter.
26473
26474 2005-06-30  Wim Taymans  <wim@fluendo.com>
26475
26476         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26477         (gst_bin_change_state):
26478         Probes are gone.
26479         Lame attempt at making the state change function a bit
26480         more readable.
26481
26482 2005-06-30  Wim Taymans  <wim@fluendo.com>
26483
26484         * docs/design/part-clocks.txt:
26485         * docs/design/part-element-sink.txt:
26486         * docs/design/part-events.txt:
26487         * docs/design/part-preroll.txt:
26488         * docs/design/part-states.txt:
26489         Some more tweeks and additions to the docs.
26490
26491 2005-06-30  Wim Taymans  <wim@fluendo.com>
26492
26493         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26494         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26495         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26496         (gst_pad_check_pull_range), (gst_pad_get_range),
26497         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26498         * gst/gstpad.h:
26499         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26500         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26501         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26502         (gst_pad_remove_buffer_probe):
26503         Removed atomic operations, use existing LOCK.
26504         Move exception handling out of main code path.
26505
26506 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26507
26508         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26509         (silly_return_true_function), (gst_pad_class_init),
26510         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26511         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26512         (gst_pad_send_event):
26513           Fix accumulator, add default value by using _emitv() instead
26514           of _emit() for signal emission.
26515
26516 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26517
26518         * docs/manual/advanced-dataaccess.xml:
26519         * examples/manual/Makefile.am:
26520           Add probe example.
26521         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26522           Make work (??).
26523
26524 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26525
26526         * gst/elements/gstfilesink.c: (gst_filesink_render):
26527           Simplify code so that we don't have to handle short
26528           writes and return GST_FLOW_ERROR if an error occured.
26529
26530 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26531
26532         * docs/gst/gstreamer-docs.sgml:
26533           Remove probes more.
26534
26535 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26536
26537         * docs/gst/gstreamer-sections.txt:
26538         * docs/gst/tmpl/gstpad.sgml:
26539         * docs/gst/tmpl/gstprobe.sgml:
26540         * gst/Makefile.am:
26541         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26542         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26543         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26544         (gst_pad_push_event), (gst_pad_send_event):
26545         * gst/gstpad.h:
26546         * gst/gstutils.c: (gst_pad_add_data_probe),
26547         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26548         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26549         (gst_pad_remove_buffer_probe):
26550         * gst/gstutils.h:
26551           Remove old probes, add new g-signal-based probes and some utility
26552           functions.
26553
26554 2005-06-29  Edward Hervey  <edward@fluendo.com>
26555
26556         * gst/gstelementfactory.c:
26557         * gst/gstutils.h:
26558         * gst/gstutils.c:
26559         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26560         the definition to the header file.
26561
26562 2005-06-29  Andy Wingo  <wingo@pobox.com>
26563
26564         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26565         plugins from the source directory.
26566
26567 2005-06-29  Wim Taymans  <wim@fluendo.com>
26568
26569         * docs/gst/tmpl/gstbuffer.sgml:
26570         * docs/gst/tmpl/gstclock.sgml:
26571         Some fixings for blantently wrong text.
26572
26573 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26574
26575         * check/Makefile.am:
26576         * gst/gst.c: (add_path_func), (init_pre):
26577         * gst/gstregistry.c: (gst_registry_add_path):
26578           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26579           only scan the GST_PLUGIN_PATH locations, and not add
26580           system locations
26581
26582 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26583
26584         * docs/gst/gstreamer-sections.txt:
26585         * docs/gst/tmpl/gstbasesrc.sgml:
26586         * gst/gstelement.c:
26587         * gst/gstelement.h:
26588         * gst/gstevent.c:
26589         * gst/gstutils.c:
26590           doc fixes
26591
26592 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26593
26594         * docs/manual/advanced-autoplugging.xml:
26595           Fix autoplugging example.
26596
26597 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26598
26599         * docs/manual/advanced-autoplugging.xml:
26600         * docs/manual/mime-world.fig:
26601           Try to get autoplugging working, fix type detection. Fix text
26602           in hello-world image.
26603
26604 2005-06-29  Wim Taymans  <wim@fluendo.com>
26605
26606         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26607         (gst_base_sink_change_state):
26608         Small debug line.
26609
26610         * gst/gstclock.h:
26611         map SIGNAL and BROADCAST to the right function.
26612
26613         * gst/gstobject.h:
26614         Remove redundant braces.
26615
26616         * gst/gstpad.c: (gst_pad_set_caps):
26617         Don't call setcaps function when reseting caps to NULL.
26618
26619         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26620         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26621         (gst_system_clock_id_unschedule):
26622         Use BROADCAST as this is what we do.
26623
26624 2005-06-29  Wim Taymans  <wim@fluendo.com>
26625
26626         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26627         We are actually prerolling before commiting the state
26628         change. 
26629
26630 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26631
26632         * docs/manual/advanced-clocks.xml:
26633         * docs/manual/advanced-interfaces.xml:
26634         * docs/manual/advanced-metadata.xml:
26635         * docs/manual/advanced-position.xml:
26636         * docs/manual/advanced-schedulers.xml:
26637         * docs/manual/advanced-threads.xml:
26638         * docs/manual/appendix-porting.xml:
26639         * docs/manual/basics-bins.xml:
26640         * docs/manual/basics-bus.xml:
26641         * docs/manual/basics-elements.xml:
26642         * docs/manual/basics-helloworld.xml:
26643         * docs/manual/basics-pads.xml:
26644         * docs/manual/highlevel-components.xml:
26645         * docs/manual/manual.xml:
26646         * docs/manual/thread.fig:
26647           Update (until threads/scheduling) Application Development Manual;
26648           remove GstThread, add GstBus, add simple porting checklist, add
26649           documentation for tag writing, clocks, make all examples until this
26650           part compile and run.
26651         * examples/manual/Makefile.am:
26652           Update from changes to Application Development Manual; add bus
26653           example, remove thread example.
26654
26655 2005-06-28  Wim Taymans  <wim@fluendo.com>
26656
26657         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26658         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26659         (gst_bus_source_dispatch):
26660         Add debugging messages.
26661         Make internal methods static.
26662         Handle the case where the bus is flushed in the handler.
26663         
26664         * gst/gstelement.c: (gst_element_get_bus):
26665         Fix refcount in _get_bus();
26666
26667         * gst/gstpipeline.c: (gst_pipeline_change_state),
26668         (gst_pipeline_get_clock_func):
26669         Clock refcounting fixes.
26670         Handle the case where preroll timed out more gracefully.
26671         
26672         * gst/gstsystemclock.c: (gst_system_clock_dispose):
26673         Clean up the internal thread in dispose. This is needed
26674         for subclasses that actually get disposed.
26675         
26676         * gst/schedulers/threadscheduler.c:
26677         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26678         (gst_thread_scheduler_dispose):
26679         Free thread pool in dispose.
26680
26681 2005-06-28  Andy Wingo  <wingo@pobox.com>
26682
26683         * tests/network-clock-utils.scm (debug, print-event): New utils.
26684
26685         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26686         (*packet-loss*): Unified loss probability.
26687         (network-time): Report out-of-band events.
26688
26689         * tests/plot-data: Add support for out-of-band events. Hack it
26690         into this script instead of passing it down the pipe; should fix
26691         this later.
26692
26693 2005-06-28  Wim Taymans  <wim@fluendo.com>
26694
26695         * docs/gst/gstreamer.types:
26696         * docs/gst/tmpl/gstbasesrc.sgml:
26697         * docs/gst/tmpl/gstpad.sgml:
26698         Docs fixes.
26699
26700 2005-06-28  Wim Taymans  <wim@fluendo.com>
26701
26702         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26703         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26704         (gst_proxy_pad_do_fixatecaps):
26705         Correctly proxy the check_pull_range function.
26706
26707 2005-06-28  Andy Wingo  <wingo@pobox.com>
26708
26709         * tests/network-clock.scm: Removed need for slib.
26710         
26711 2005-06-28  Wim Taymans  <wim@fluendo.com>
26712
26713         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26714         (gst_basesink_preroll_queue_flush):
26715         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26716         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26717         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26718         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26719         (gst_proxy_pad_set_property):
26720         * gst/gstpad.c:
26721         * gst/gstpad.h:
26722         * gst/gstqueue.c: (gst_queue_init):
26723         The deprecated pad loop function is removed now.
26724
26725 2005-06-28  Andy Wingo  <wingo@pobox.com>
26726
26727         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26728         New parameters, simulate network packet loss.
26729
26730         * tests/network-clock-utils.scm: Initialize the RNG.
26731
26732 2005-06-28  Wim Taymans  <wim@fluendo.com>
26733
26734         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26735         (gst_basesink_event), (gst_basesink_deactivate):
26736         Flushing the preroll queue always needs to unlock the waiters.
26737
26738 2005-06-28  Edward Hervey  <edward@fluendo.com>
26739
26740         * gst/gstpipeline.c: (gst_pipeline_send_event): 
26741         Wheen a seek was successful on a pipeline, set the stream_time to the
26742         seek offset in order to have a synchronized stream_time.
26743
26744 2005-06-28  Wim Taymans  <wim@fluendo.com>
26745
26746         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26747         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26748         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26749         (gst_proxy_pad_do_fixatecaps):
26750         Call wrapper function instead of just calling the function
26751         pointers. This takes care of any locking and whatmore.
26752
26753 2005-06-28  Wim Taymans  <wim@fluendo.com>
26754
26755         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26756         (gst_pad_pull_range):
26757         * gst/gstpad.h:
26758         CONNECTED -> LINKED.
26759
26760 2005-06-28  Andy Wingo  <wingo@pobox.com>
26761
26762         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26763         source-munging commit!!!
26764
26765         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
26766         (gst_object_sink): Take gpointer arguments, not GstObject --
26767         avoids casts. Like GLib.
26768
26769         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26770         activate.
26771
26772 2005-06-27  Andy Wingo  <wingo@pobox.com>
26773
26774         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26775         remaining buffer.
26776
26777         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26778         returns a sorted copy of the trace list.
26779         (gst_alloc_trace_print_live): New API, only prints traces with
26780         live objects. Sort the list.
26781         (gst_alloc_trace_print_all): Sort the list.
26782         (gst_alloc_trace_print): Align columns.
26783
26784         * gst/elements/gstttypefindelement.c:
26785         * gst/elements/gsttee.c:
26786         * gst/base/gstbasesrc.c:
26787         * gst/base/gstbasesink.c:
26788         * gst/base/gstbasetransform.c:
26789         * gst/gstqueue.c: Adapt for pad activation changes.
26790
26791         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26792         sched.
26793         (gst_pipeline_dispose): Drop ref on sched.
26794
26795         * gst/gstpad.c (gst_pad_init): Set the default activate func.
26796         (gst_pad_activate_default): Push mode by default.
26797         (pre_activate_switch, post_activate_switch): New stubs, things to
26798         do before and after switching activation modes on pads.
26799         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26800         the pad's activate function to choose which mode to activate.
26801         Shortcut on deactivation and call the right function directly.
26802         (gst_pad_activate_pull): New API, (de)activates a pad in pull
26803         mode.
26804         (gst_pad_activate_push): New API, same for push mode.
26805         (gst_pad_set_activate_function) 
26806         (gst_pad_set_activatepull_function) 
26807         (gst_pad_set_activatepush_function): Setters for new API.
26808
26809         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26810         Trace all miniobjects.
26811         (gst_mini_object_make_writable): Unref the arg if we copy, like
26812         gst_caps_make_writable.
26813
26814         * gst/gstmessage.c (_gst_message_initialize): No trace init.
26815
26816         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
26817         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26818         Adapt for new pad API.
26819
26820         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26821
26822         * gst/gstelement.h:
26823         * gst/gstelement.c (gst_element_iterate_src_pads) 
26824         (gst_element_iterate_sink_pads): New API functions.
26825         
26826         * gst/gstelement.c (iterator_fold_with_resync): New utility,
26827         should fold into gstiterator.c in some form.
26828         (gst_element_pads_activate): Simplified via use of fold and
26829         delegation of decisions to gstpad->activate.
26830
26831         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26832         help in debugging.
26833
26834         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26835         class once in init, like gstmessage. Didn't run into this issue
26836         but it seems correct. Don't initialize a trace, gstminiobject does
26837         that.
26838
26839         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26840         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26841         to the bus.
26842         (assert_live_count): New util function, uses alloc traces to check
26843         cleanup.
26844
26845         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26846         To be modified when unlink drops the internal pad.
26847
26848 2005-06-27  Wim Taymans  <wim@fluendo.com>
26849
26850         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26851         (gst_bin_change_state):
26852         Cleanup the get_state() function a little, make sure it
26853         iterates the same set of elements.
26854         Added stub iterate_state_order().
26855
26856 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
26857
26858         * docs/gst/gstreamer-docs.sgml:
26859         * docs/gst/gstreamer-sections.txt:
26860         * docs/gst/gstreamer.types:
26861         * docs/gst/tmpl/gstbasesink.sgml:
26862         * docs/gst/tmpl/gstbasesrc.sgml:
26863         * docs/gst/tmpl/gstbasetransform.sgml:
26864         * docs/gst/tmpl/gstelement.sgml:
26865         * docs/gst/tmpl/gstiterator.sgml:
26866         * gst/base/gstbasesrc.c:
26867         * gst/base/gstbasesrc.h:
26868         * gst/base/gstbasetransform.h:
26869         * gst/gstelement.c:
26870         * gst/gstiterator.h:
26871           adding basetransform and iterator docs
26872
26873 2005-06-27  Andy Wingo  <wingo@pobox.com>
26874
26875         * docs/design/part-activation.txt: Notes on how activation should
26876         work -- not quite implemented yet.
26877
26878 2005-06-25  Wim Taymans  <wim@fluendo.com>
26879
26880         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26881         At least get the chain function correct, needs more
26882         fixing.
26883
26884 2005-06-25  Wim Taymans  <wim@fluendo.com>
26885
26886         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26887         (gst_basesink_handle_object), (gst_basesink_event),
26888         (gst_basesink_do_sync), (gst_basesink_handle_event),
26889         (gst_basesink_change_state):
26890         * gst/gsttask.h:
26891         Right, two problems here: ghostpads don't take locks and
26892         glib _rec_mutex_lock_full() with depth==0 still locks.
26893         Catch illegal locking and g_warn them.
26894
26895 2005-06-25  Wim Taymans  <wim@fluendo.com>
26896
26897         * check/states/sinks.c: (START_TEST), (gst_object_suite):
26898         Have to check for completion now...
26899
26900 2005-06-25  Wim Taymans  <wim@fluendo.com>
26901
26902         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26903         (gst_basesink_handle_object), (gst_basesink_event),
26904         (gst_basesink_do_sync), (gst_basesink_handle_event),
26905         (gst_basesink_change_state):
26906         * gst/gstpad.h:
26907         Unlock STREAM_LOCK whatever the recursion was.
26908
26909 2005-06-25  Wim Taymans  <wim@fluendo.com>
26910
26911         * gst/base/gstbasesink.c: (gst_basesink_set_property),
26912         (gst_basesink_preroll_queue_empty),
26913         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
26914         (gst_basesink_event), (gst_basesink_do_sync),
26915         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
26916         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
26917         (gst_basesink_change_state):
26918         Reworked the base sink, handle event and buffer serialisation
26919         correctly and removed possible deadlock.
26920         Handle EOS correctly.
26921
26922 2005-06-25  Wim Taymans  <wim@fluendo.com>
26923
26924         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
26925         (gst_pipeline_change_state):
26926         * tools/gst-launch.c: (check_intr), (event_loop), (main):
26927         Allow elements to post EOS in the state change function.
26928         Fix up -launch, make it exit the poll loop when the
26929         pipeline actually changed state.
26930         Fix up warning parsing in -launch.
26931
26932 2005-06-25  Wim Taymans  <wim@fluendo.com>
26933
26934         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
26935         (gst_tee_sink_activate):
26936         Core takes STREAM_LOCK for us now.
26937
26938 2005-06-25  Wim Taymans  <wim@fluendo.com>
26939
26940         * gst/gstelement.c: (gst_element_get_state_func),
26941         (gst_element_set_state):
26942         * gst/gstelement.h:
26943         * gst/gstmessage.c: (gst_message_parse_error),
26944         (gst_message_parse_warning):
26945         Keep track of current target state while performing a state
26946         change so that subclasses can do something interesting.
26947         Fix parsing of warning/error messages when GError is NULL.
26948
26949 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26950
26951         * docs/gst/Makefile.am:
26952         * docs/gst/gstreamer-docs.sgml:
26953         * docs/gst/gstreamer-sections.txt:
26954         * docs/gst/gstreamer.types:
26955         * docs/gst/tmpl/gstbasesink.sgml:
26956         * docs/gst/tmpl/gstbasesrc.sgml:
26957         * docs/gst/tmpl/gstbin.sgml:
26958         * docs/gst/tmpl/gstcompat.sgml:
26959         * docs/gst/tmpl/gstfakesink.sgml:
26960         * docs/gst/tmpl/gstfakesrc.sgml:
26961         * docs/gst/tmpl/gstfilesink.sgml:
26962         * docs/gst/tmpl/gstfilesrc.sgml:
26963         * docs/gst/tmpl/gstindex.sgml:
26964         * docs/manual/appendix-quotes.xml:
26965         * gst/base/gstbasesrc.h:
26966         * gst/elements/gstfakesrc.h:
26967         * gst/gstmessage.h:
26968           start pulling in base classes and elements in our docs
26969
26970 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
26971
26972         * docs/gst/Makefile.am:
26973         * docs/libs/Makefile.am:
26974           fixed make distcheck with gtk-doc 1.3
26975
26976 2005-06-23  Wim Taymans  <wim@fluendo.com>
26977
26978         * gst/gstelement.c: (gst_element_get_state_func),
26979         (gst_element_set_state), (gst_element_change_state):
26980         When the state did not change, also report NO_PREROLL
26981         when it matters.
26982
26983 2005-06-23  Wim Taymans  <wim@fluendo.com>
26984
26985         * gst/gstpad.c: (gst_pad_event_default):
26986         * gst/gstqueue.c: (gst_queue_loop):
26987         No unsafe task pausing please.
26988
26989 2005-06-23  Wim Taymans  <wim@fluendo.com>
26990
26991         * gst/schedulers/threadscheduler.c:
26992         (gst_thread_scheduler_task_start),
26993         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
26994         Ref the task before pushing it on the threadpool. This
26995         makes sure that we have a ref when the threadfunction is
26996         actually called.
26997
26998 2005-06-23  Andy Wingo  <wingo@pobox.com>
26999
27000         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27001         offset is greater than the file's size.
27002
27003         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27004         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27005         * gst/gstobject.c (gst_object_class_init): Make the class lock
27006         recursive. Wim won't let me drop deep_notify. Decodebin works
27007         again, whoopdy doo.
27008
27009         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27010         internal pad, and hacks accordingly. Doesn't do it on the target
27011         pad because we change its caps. Probably catches all cases of
27012         interest tho.
27013         (gst_ghost_pad_set_property): Connect to notify::caps as
27014         appropritate.
27015
27016         * tests/network-clock.scm (plot-simulation): Pipe data to the
27017         elite python skript.
27018
27019         * tests/network-clock-utils.scm (define-parameter): New macro,
27020         defines a parameter that can be set via the command line.
27021         (set-parameter!, parse-parameter-arguments): Command line args
27022         parser.
27023
27024         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27025         stdin.
27026
27027 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27028
27029         * gst/elements/gsttypefindelement.c:
27030         (gst_type_find_element_handle_event):
27031           Don't restart typefinding on a discont.
27032         * gst/gstelement.c: (gst_element_set_state):
27033           Debug spelling fix.
27034         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27035           Allow changing mode of an active pad.
27036           Debug output fixes.
27037         * gst/registries/gstlibxmlregistry.c: (load_feature):
27038           Don't cast a static pad template to a normal pad template.
27039
27040 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27041
27042         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27043         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27044           remove gst_strtoll completely, since it didn't actually do
27045           anything more than what g_ascii_strtoull already does.
27046           check for range errors when deserializing
27047           do a cast for the unsigned cases; but further fixing needs
27048           a decision on what the interpretation of "(int)" and
27049           deserialization should be for values that fall outside the
27050           type's boundaries (ie, refuse, or interpret as casting)
27051
27052 2005-06-23  Wim Taymans  <wim@fluendo.com>
27053
27054         * check/Makefile.am:
27055         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27056         * docs/design/part-live-source.txt:
27057         * docs/design/part-states.txt:
27058         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27059         (gst_basesrc_set_live), (gst_basesrc_is_live),
27060         (gst_basesrc_get_range), (gst_basesrc_activate),
27061         (gst_basesrc_change_state):
27062         * gst/base/gstbasesrc.h:
27063         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27064         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27065         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27066         * gst/gstelement.c: (gst_element_get_state_func),
27067         (gst_element_set_state):
27068         * gst/gstelement.h:
27069         * gst/gsttypes.h:
27070         * tools/gst-launch.c: (event_loop), (main):
27071         Added support for live sources and other elements that
27072         cannot do preroll.
27073         Updated design docs, added live-source design doc.
27074         Implemented live source functionality in basesrc
27075         Fix error condition in _bin_get_state()
27076         Implement live source handling in -launch.
27077         Added check for live sources.
27078         Fixed case in GstBin where elements were changed state
27079         multiple times.
27080
27081
27082 2005-06-23  Andy Wingo  <wingo@pobox.com>
27083
27084         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27085         borken refcounting.
27086
27087         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27088         gst_caps_replace takes care of this for us.
27089
27090         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27091         gst_pad_set_caps on the target, not just its setcaps() function.
27092
27093         * tests/network-clock.scm: 
27094         * tests/network-clock-utils.scm: A network clock simulator.
27095         Something of an algorithmic testbed before doing something in C.
27096
27097 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27098
27099         * check/Makefile.am:
27100         * check/gst/capslist.h:
27101           copy over from 0.8, and add two with bitmasks specified with
27102           (int) 0xFF...
27103         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27104           add test to parse everything from capslist.h
27105         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27106         (main):
27107           add test for structure deserialization
27108         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27109           add tests for deserialization of strings to int types
27110         * gst/gststructure.c: (gst_structure_nth_field_name):
27111         * gst/gststructure.h:
27112           add a way to get the name of a field referenced by index
27113         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27114           instead of checking if the resulting long long lies between
27115           min and max, we check if the long long would fit into
27116           a number of bytes for the final type.
27117           This fixes cases where a string represents 2^32 - 1, which
27118           when cast to int would be the (valid) -1, but is bigger than
27119           G_MAXINT
27120
27121 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27122
27123         * gst/parse/grammar.y:
27124           add a log line for type deserialization
27125
27126 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27127
27128         * check/gst/gstvalue.c: (START_TEST):
27129         * gst/gstvalue.c: (gst_value_deserialize):
27130           return long long, not int, so gint64 deserialization actually
27131           works.  Is there any flag that makes the compiler check this ?
27132           Fixes #308559
27133
27134 2005-06-22  Wim Taymans  <wim@fluendo.com>
27135
27136         * gst/gstbuffer.h:
27137         Added convenience macros for setting buffers in GValue.
27138
27139 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27140
27141         * check/gst/.cvsignore:
27142         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27143           add a test deserializing int64, and comment part out because
27144           it fails, yay !
27145
27146 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27147
27148         * check/Makefile.am:
27149         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27150         * testsuite/Makefile.am:
27151         * testsuite/caps/Makefile.am:
27152         * testsuite/caps/value_serialize.c:
27153         * testsuite/test_gst_init.c:
27154           move a value_serialize test over
27155
27156 2005-06-20  Wim Taymans  <wim@fluendo.com>
27157
27158         * gst/gstpad.c:
27159         Small doc updates.
27160         
27161         * gst/gstvalue.c: (gst_value_compare_buffer),
27162         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27163         (gst_value_compare_flags), (gst_value_serialize_flags),
27164         (gst_value_deserialize_flags), (_gst_value_initialize):
27165         Fix serialisation of buffers, they are not boxed types anymore
27166
27167 2005-06-20  Wim Taymans  <wim@fluendo.com>
27168
27169         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27170         Testcase to show error in buffer-on-caps serialisation.
27171
27172 2005-06-20  Andy Wingo  <wingo@pobox.com>
27173
27174         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27175         will be adding to later.
27176
27177         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27178         if its socks fill with rocks.
27179         (gst_system_clock_obtain): Set the name on object construction.
27180         Avoid double-checked locking.
27181
27182 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27183
27184         * gst/gsturi.c: (gst_element_make_from_uri):
27185           Fix potential endless loop.
27186
27187 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27188
27189         * check/Makefile.am:
27190           add gsttag
27191         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27192         (main):
27193           move over from testsuite dir and clean up
27194         * configure.ac:
27195         * gst/gsttag.c:
27196         * testsuite/Makefile.am:
27197         * testsuite/tags/.cvsignore:
27198         * testsuite/tags/Makefile.am:
27199         * testsuite/tags/merge.c:
27200           remove testsuite/tags
27201
27202 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27203
27204         * docs/gst/gstreamer-sections.txt:
27205         * docs/gst/tmpl/gstenumtypes.sgml:
27206         * win32/gstenumtypes.c:
27207           clean up documentation build a little
27208
27209 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27210
27211         * check/gstcheck.h:
27212           add macros for checking refcounts on objects and caps
27213         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27214           add some more unit tests
27215         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27216         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27217           fix leaked refcounts (I hope :)) so unittest works
27218         * gst/gstpad.h:
27219           whitespace removal
27220
27221 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27222
27223         * configure.ac: back to HEAD
27224
27225 === release 0.9.1 ===
27226
27227 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27228
27229         * NEWS:
27230         * RELEASE:
27231           updated
27232
27233 2005-06-17  Andy Wingo  <wingo@pobox.com>
27234
27235         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27236         assert; it's always possible that the pad gets deactivated in
27237         between the checks in gstpad.c and the implementation. Rely on
27238         finish_preroll() to return a FLUSHING or similar instead of on the
27239         assert.
27240         
27241         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27242         clock and post an EOS message if we come out of finish_preroll in
27243         the playing state.
27244
27245 2005-06-16  David Schleef  <ds@schleef.org>
27246
27247         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27248         (gst_capsfilter_set_property): Allow NULL as possible value
27249         for filter_caps property, indicating GST_CAPS_ANY.
27250
27251 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27252
27253         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27254           fix debug output
27255         * gst/schedulers/Makefile.am:
27256           use libgst prefix
27257         * gstreamer.spec.in:
27258           fix spec for it
27259
27260 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27261
27262         * gstreamer.spec.in:
27263           clean up
27264
27265 2005-06-08  Andy Wingo  <wingo@pobox.com>
27266
27267         * gst/gstutils.c: RPAD fixes all around.
27268         (gst_element_link_pads): Refcounting fixes.
27269
27270         * tools/gst-inspect.c:
27271         * tools/gst-xmlinspect.c:
27272         * parse/grammar.y:
27273         * gst/base/gsttypefindhelper.c:
27274         * gst/base/gstbasesink.c:
27275         * gst/gstqueue.c: RPAD fixes.
27276
27277         * gst/gstghostpad.h:
27278         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27279         pads. The tricky thing is they provide both source and sink
27280         interfaces, since they proxy the internal pad for the external
27281         pad, and vice versa. Implement with lower-level ProxyPad objects,
27282         with the interior proxy pad as a child of the exterior ghost pad.
27283         Should write a doc on this.
27284         
27285         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27286         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27287         gst_object API.
27288         
27289         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27290         pads are real pads. No ghost pads in this file. Not documenting
27291         the myriad s/RPAD/PAD/ and REALIZE fixes.
27292         (gst_pad_class_init): Add properties for "direction" and
27293         "template". Both are construct-only, so they can't change during
27294         the life of the pad. Fixes properly deriving from GstPad.
27295         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27296         derived objects, just set properties when creating the objects via
27297         g_object_new.
27298         (gst_pad_get_parent): Implement as a function, return NULL if the
27299         parent is not an element.
27300         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27301         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27302         
27303         * gst/gstobject.c (gst_object_class_init): Make name a construct
27304         property. Don't set it in the object init.
27305
27306         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27307         with UNKNOWN direction.
27308         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27309         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27310         (gst_element_remove_pad): Remove ghost-pad special cases.
27311         (gst_element_pads_activate): Remove rpad cruft.
27312
27313         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27314         catch the pad's-parent-not-an-element case.
27315
27316         * gst/gst.h: Include gstghostpad.h.
27317
27318         * gst/gst.c (init_post): No more real, ghost pads.
27319
27320         * gst/Makefile.am: Add gstghostpad.[ch].
27321
27322         * check/Makefile.am:
27323         * check/gst/gstbin.c:
27324         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27325         into a bin creates ghost pads, and that the refcounts are right.
27326         Partly moved from gstbin.c.
27327
27328 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27329
27330         * check/gst-libs/.cvsignore:
27331         * check/gst/.cvsignore:
27332         * check/pipelines/.cvsignore:
27333           ignore more
27334         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27335         (START_TEST), (cleanup_suite), (main):
27336           add some tests related to cleanup after running pipelines
27337
27338 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27339
27340         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27341           add a testsuite for GstBuffer
27342
27343 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27344
27345         * gst/gstminiobject.h:
27346           add defines for accessing the refcount
27347
27348 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27349
27350         * Makefile.am: added support for html unit test coverage reports
27351
27352 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27353
27354         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27355           Free existing caps if the capsfilter changes. Add a FIXME about
27356           setting those caps on the pads.
27357
27358         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27359           Before adding a ghost pad to a parent bin, check that there isn't
27360           already one for the element on the bin. Prevents infinite recursion
27361           when using decodebin in parse pipelines. Andy says he'll rewrite the
27362           way this works anyway, so ignore the hack.
27363
27364 2005-06-02  Andy Wingo  <wingo@pobox.com>
27365
27366         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27367         file size, pass it on to the type find helper.
27368
27369         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27370         segment_start and segment_end properly according to the seek
27371         method. Segment_end is still a bit flaky because offset can be
27372         negative for CUR and END cases, but it takes -1 as an "unset"
27373         value.
27374
27375 2005-06-02  Wim Taymans  <wim@fluendo.com>
27376
27377         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27378         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27379         (gst_basesink_activate):
27380         * gst/base/gstbasesink.h:
27381         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27382         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27383         (gst_pad_query), (gst_pad_start_task):
27384         * gst/gstpad.h:
27385         * gst/gstqueue.c: (gst_queue_bufferalloc),
27386         (gst_queue_handle_sink_event), (gst_queue_chain):
27387         Bufferalloc: return GstFlowReturn to more accuratly report
27388         why allocation failed.
27389
27390 2005-06-02  Wim Taymans  <wim@fluendo.com>
27391
27392         * gst/gstpipeline.c: (gst_pipeline_send_event):
27393         Take snapshot of state without blocking.
27394
27395 2005-06-02  Wim Taymans  <wim@fluendo.com>
27396
27397         * docs/design/part-TODO.txt:
27398         * docs/design/part-caps.txt:
27399         * docs/design/part-clocks.txt:
27400         * docs/design/part-negotiation.txt:
27401         * docs/design/part-preroll.txt:
27402         Small doc updates 
27403
27404 2005-05-30  Wim Taymans  <wim@fluendo.com>
27405
27406         * gst/elements/gstidentity.c: (gst_identity_event),
27407         (gst_identity_transform), (gst_identity_get_property):
27408         Protect last_message property as it is accessed from
27409         multiple threads.
27410
27411 2005-05-30  Wim Taymans  <wim@fluendo.com>
27412
27413         * gst/gstelement.c: (gst_element_init),
27414         (gst_element_pads_activate), (gst_element_change_state):
27415         Slicker pad activation code.
27416
27417 2005-05-30  Wim Taymans  <wim@fluendo.com>
27418
27419         * gst/Makefile.am:
27420         * gst/gstelement.h:
27421         * gst/gstelementfactory.h:
27422         * gst/gsttypes.h:
27423         Move elementfactory methods to separate .h file.
27424
27425 2005-05-30  Wim Taymans  <wim@fluendo.com>
27426
27427         * docs/design/part-overview.txt:
27428         * gst/gstsystemclock.h:
27429         Small typo fixes, doc updates.
27430
27431 2005-05-30  Wim Taymans  <wim@fluendo.com>
27432
27433         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27434         (init_popt_callback):
27435         Remove cpu-opt flag.
27436
27437 2005-05-30  Wim Taymans  <wim@fluendo.com>
27438
27439         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27440         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27441         * gst/gstbuffer.h:
27442         Avoid typechecking in places where not needed.
27443         Added accessor for malloc_data.
27444
27445 2005-05-30  Wim Taymans  <wim@fluendo.com>
27446
27447         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27448         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27449         (gst_pad_configure_sink), (gst_pad_configure_src),
27450         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27451         (gst_pad_start_task):
27452         Propagate errors from _set_caps() in configure_src/sink
27453         functions instead of returning TRUE.
27454         FLUSH events can travel up and downstream
27455
27456
27457 2005-05-30  Wim Taymans  <wim@fluendo.com>
27458
27459         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27460         (gst_basesink_activate):
27461         Handle EOS in preroll.
27462
27463 2005-05-30  Wim Taymans  <wim@fluendo.com>
27464
27465         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27466         (gst_queue_loop), (gst_queue_handle_src_event):
27467         Remove old pieces of code
27468         Flushing the queue in an upstream event is a very bad idea.
27469
27470 2005-05-26  Andy Wingo  <wingo@pobox.com>
27471
27472         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27473         gst_value_set_mini_object so as to add a ref on the object (which
27474         will be removed when the value is unset).
27475
27476         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27477         arg type in ::handoff.
27478
27479         * gst/gstelement.c (gst_element_change_state): Also deactivate
27480         pads in READY->NULL, just in case the element didn't make it to
27481         PAUSED. Wingo tested, Wim approved.
27482
27483 2005-05-26  Wim Taymans  <wim@fluendo.com>
27484
27485         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27486         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27487         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27488         A flushing pad cannot be used to alloc_buffer from.
27489
27490 2005-05-26  Wim Taymans  <wim@fluendo.com>
27491
27492         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27493         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27494         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27495         (gst_bus_create_watch), (gst_bus_add_watch_full):
27496         * gst/gstbus.h:
27497         Implement a real GSource and use g_main_context_wakeup() to
27498         signal new messages instead of the socketpair.
27499
27500 2005-05-25  Wim Taymans  <wim@fluendo.com>
27501
27502         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27503         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27504         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27505         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27506         (gst_pad_send_event), (gst_pad_start_task):
27507         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27508         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27509         (gst_queue_sink_activate), (gst_queue_src_activate),
27510         (gst_queue_change_state):
27511         * gst/gstqueue.h:
27512         Fix state changes for non sinks. We now change sinks, then elements
27513         with unconnected srcpads, then the rest.
27514         More efficient queue unlocking in flush and state changes.
27515         Set the pad activate mode even if it does not have an activate
27516         function.
27517
27518 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27519
27520         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27521           Don't go in pull mode for non-seekable sources.
27522         * gst/elements/gsttypefindelement.h:
27523         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27524         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27525         (free_entry), (stop_typefinding),
27526         (gst_type_find_element_handle_event), (find_peek),
27527         (gst_type_find_element_chain), (do_pull_typefind),
27528         (gst_type_find_element_change_state):
27529           Allow typefinding (w/o seeking) in push-mode, simplified version
27530           of what was in 0.8.
27531         * gst/gstutils.c: (gst_buffer_join):
27532         * gst/gstutils.h:
27533           gst_buffer_join() from 0.8.
27534
27535 2005-05-25  Wim Taymans  <wim@fluendo.com>
27536
27537         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27538         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27539         (gst_pad_send_event), (gst_pad_start_task):
27540         Disable attempt at mode switching until it is figured out.
27541
27542 2005-05-25  Wim Taymans  <wim@fluendo.com>
27543
27544         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27545         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27546         (gst_basesink_finish_preroll), (gst_basesink_chain),
27547         (gst_basesink_loop), (gst_basesink_activate),
27548         (gst_basesink_change_state):
27549         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27550         (gst_basesrc_get_range), (gst_basesrc_loop),
27551         (gst_basesrc_activate):
27552         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27553         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27554         (gst_real_pad_init), (gst_real_pad_set_property),
27555         (gst_real_pad_get_property), (gst_pad_set_active),
27556         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27557         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27558         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27559         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27560         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27561         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27562         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27563         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27564         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27565         (gst_pad_stop_task):
27566         * gst/gstpad.h:
27567         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27568         (gst_queue_loop), (gst_queue_src_activate):
27569         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27570         (gst_task_get_state):
27571         * gst/gsttask.h:
27572         * gst/schedulers/threadscheduler.c:
27573         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27574         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27575         in task function.
27576         Remove ACTIVE pad flag, use FLUSHING everywhere
27577         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27578         functions.
27579         Add locks around IS_FLUSHING when reading.
27580         Take STREAM lock in chain(), get_range() functions so plugins
27581         don't need to take it anymore.
27582         
27583
27584
27585 2005-05-25  Wim Taymans  <wim@fluendo.com>
27586
27587         * tools/gst-launch.c: (event_loop):
27588         Unref message after using its contents instead of
27589         before.
27590
27591 2005-05-24  Wim Taymans  <wim@fluendo.com>
27592
27593         * docs/design/draft-ghostpads.txt:
27594         * docs/design/draft-push-pull.txt:
27595         * docs/design/draft-query.txt:
27596         * docs/design/part-overview.txt:
27597         Docs updates, added general overview doc.
27598
27599 2005-05-21  David Schleef  <ds@schleef.org>
27600
27601         * docs/gst/tmpl/old/GstBin.sgml:
27602         * docs/gst/tmpl/old/GstBuffer.sgml:
27603         * docs/gst/tmpl/old/GstCaps.sgml:
27604         * docs/gst/tmpl/old/GstClock.sgml:
27605         * docs/gst/tmpl/old/GstCompat.sgml:
27606         * docs/gst/tmpl/old/GstData.sgml:
27607         * docs/gst/tmpl/old/GstElement.sgml:
27608         * docs/gst/tmpl/old/GstEvent.sgml:
27609         * docs/gst/tmpl/old/GstIndex.sgml:
27610         * docs/gst/tmpl/old/GstStructure.sgml:
27611         * docs/gst/tmpl/old/GstTag.sgml:
27612         * docs/gst/tmpl/old/cothreads.sgml:
27613         * docs/gst/tmpl/old/cothreads_compat.sgml:
27614         * docs/gst/tmpl/old/gettext.sgml:
27615         * docs/gst/tmpl/old/gobject2gtk.sgml:
27616         * docs/gst/tmpl/old/grammar.tab.sgml:
27617         * docs/gst/tmpl/old/gst-i18n-app.sgml:
27618         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27619         * docs/gst/tmpl/old/gst_private.sgml:
27620         * docs/gst/tmpl/old/gstaggregator.sgml:
27621         * docs/gst/tmpl/old/gstarch.sgml:
27622         * docs/gst/tmpl/old/gstatomic_impl.sgml:
27623         * docs/gst/tmpl/old/gstbufferstore.sgml:
27624         * docs/gst/tmpl/old/gstdata_private.sgml:
27625         * docs/gst/tmpl/old/gstdisksink.sgml:
27626         * docs/gst/tmpl/old/gstdisksrc.sgml:
27627         * docs/gst/tmpl/old/gstelementfactory.sgml:
27628         * docs/gst/tmpl/old/gstextratypes.sgml:
27629         * docs/gst/tmpl/old/gstfakesink.sgml:
27630         * docs/gst/tmpl/old/gstfakesrc.sgml:
27631         * docs/gst/tmpl/old/gstfdsink.sgml:
27632         * docs/gst/tmpl/old/gstfdsrc.sgml:
27633         * docs/gst/tmpl/old/gstfilesink.sgml:
27634         * docs/gst/tmpl/old/gstfilesrc.sgml:
27635         * docs/gst/tmpl/old/gsthttpsrc.sgml:
27636         * docs/gst/tmpl/old/gstidentity.sgml:
27637         * docs/gst/tmpl/old/gstindexfactory.sgml:
27638         * docs/gst/tmpl/old/gstmarshal.sgml:
27639         * docs/gst/tmpl/old/gstmd5sink.sgml:
27640         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27641         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27642         * docs/gst/tmpl/old/gstpadtemplate.sgml:
27643         * docs/gst/tmpl/old/gstpipefilter.sgml:
27644         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27645         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27646         * docs/gst/tmpl/old/gstshaper.sgml:
27647         * docs/gst/tmpl/old/gstspider.sgml:
27648         * docs/gst/tmpl/old/gstspideridentity.sgml:
27649         * docs/gst/tmpl/old/gststatistics.sgml:
27650         * docs/gst/tmpl/old/gsttee.sgml:
27651         * docs/gst/tmpl/old/gsttimecache.sgml:
27652         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27653         * docs/gst/tmpl/old/gstxmlregistry.sgml:
27654         * docs/gst/tmpl/old/gthread-cothreads.sgml:
27655         * docs/gst/tmpl/old/types.sgml:
27656           I didn't intend to add these or check them in.
27657
27658 2005-05-19  David Schleef  <ds@schleef.org>
27659
27660         * configure.ac: Use -no-common everywhere.  In a sane world, it
27661           would be the default in libtool, because without it, you can't
27662           build DLLs on Windows.
27663         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27664         * docs/gst/gstreamer-sections.txt:
27665         * docs/gst/tmpl/gstcpu.sgml:
27666         * docs/gst/tmpl/gstdata.sgml:
27667         * docs/gst/tmpl/gstthread.sgml:
27668
27669 2005-05-19  David Schleef  <ds@schleef.org>
27670
27671         * gst/gstminiobject.c: (gst_value_set_mini_object),
27672         (gst_value_take_mini_object), (gst_value_get_mini_object):
27673         * gst/gstminiobject.h: Add GValue set/get functions.
27674
27675 2005-05-19  Wim Taymans  <wim@fluendo.com>
27676
27677         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27678         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27679         (gst_subbuffer_init), (gst_buffer_is_span_fast):
27680         * gst/gstbuffer.h:
27681         * gst/gstbus.c: (gst_bus_post):
27682         * gst/gstelement.c: (gst_element_get_random_pad):
27683         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27684         Make subbufer unref the parent in finalize.
27685         some more debugging info.
27686
27687
27688 2005-05-19  Wim Taymans  <wim@fluendo.com>
27689
27690         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27691         (gst_basesink_init), (gst_basesink_finalize),
27692         (gst_basesink_activate), (gst_basesink_change_state):
27693         Don't free preroll queue too early.
27694
27695 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27696
27697         * gst/Makefile.am:
27698         * gst/ROADMAP:
27699           Hi, I'm outdated. Please shoot me.
27700
27701 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27702
27703         * gst/gstpipeline.c: (gst_pipeline_send_event):
27704           Do not access variables after they have been deleted.
27705
27706 2005-05-19  Wim Taymans  <wim@fluendo.com>
27707
27708         * tools/gst-inspect.c: (print_plugin_features):
27709         A plugin feature does unfortunatly not use the
27710         object name yet...
27711
27712 2005-05-18  Wim Taymans  <wim@fluendo.com>
27713
27714         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27715         Port _span() functions to new subbuffers.
27716
27717 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27718
27719         * gst/gstbin.c: (gst_bin_add_func):
27720           Fix clock settery in bins when adding kids after the clock has
27721           been selected.
27722
27723 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27724
27725         * gst/elements/gstidentity.c: (gst_identity_class_init):
27726           Workaround until signals support GstMiniObject.
27727
27728 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
27729
27730         * gst/gstbuffer.c:
27731         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27732
27733 2005-05-18  Wim Taymans  <wim@fluendo.com>
27734
27735         * gst/base/Makefile.am:
27736         * gst/base/gstadapter.c: (gst_adapter_base_init),
27737         (gst_adapter_class_init), (gst_adapter_init),
27738         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27739         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27740         (gst_adapter_flush), (gst_adapter_available),
27741         (gst_adapter_available_fast):
27742         * gst/base/gstadapter.h:
27743         Ported and added adapter to the base classes.
27744
27745 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
27746
27747         * gst/gst.c:
27748         * gst/gstmessage.c:
27749           Make sure the class is reffed/unreffed once before threads can be
27750           used.  Fixes #304551.
27751
27752 2005-05-17  Wim Taymans  <wim@fluendo.com>
27753
27754         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27755         (gst_basesink_chain_unlocked), (gst_basesink_activate):
27756         * gst/gstminiobject.c: (gst_mini_object_get_type),
27757         (gst_mini_object_free):
27758         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27759         (gst_pad_push), (gst_pad_push_event):
27760         * gst/gstqueue.c: (gst_queue_change_state):
27761         Don't queue buffers in basesink when we are flushing.
27762         Unref buffer when flushing in basesink.
27763         Flush queue when going to READY
27764         Unref buffer when _push() returns an error.
27765         Don't free MiniObject instance when refcount is incremented
27766         in _finalize() so that we can recover objects.
27767
27768 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27769
27770         * docs/manual/advanced-schedulers.xml:
27771         * docs/manual/appendix-checklist.xml:
27772         * docs/pwg/advanced-clock.xml:
27773         * docs/pwg/advanced-interfaces.xml:
27774         * docs/pwg/advanced-request.xml:
27775         * docs/pwg/advanced-types.xml:
27776         * docs/pwg/intro-preface.xml:
27777         * examples/plugins/example.c: (gst_example_get_type),
27778         (gst_example_class_init), (gst_example_chain),
27779         (gst_example_set_property), (gst_example_get_property),
27780         (gst_example_change_state), (plugin_init):
27781         * examples/plugins/example.h:
27782           small doc fixes
27783
27784 2005-05-17  Wim Taymans  <wim@fluendo.com>
27785
27786         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27787         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27788         * gst/gstqueue.c: (gst_queue_change_state):
27789         Clear queue when going to READY.
27790         Remove IN_SETCAPS flag too.
27791
27792 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
27793
27794         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27795           Remove implicit cast from gboolean to GstElementStateReturn;
27796           make sure we still return failure in paused => ready case if
27797           the parent class fails to change state and our own stop 
27798           vfunc succeeds.
27799
27800 2005-05-17  Wim Taymans  <wim@fluendo.com>
27801
27802         * tools/gst-launch.c: (event_loop):
27803         Message was unreffed too soon.
27804
27805 2005-05-16  Andy Wingo  <wingo@pobox.com>
27806
27807         * gst/gstbin.c (sink_iterator_filter): Err... um...
27808
27809         * check/gst/gstbin.c (test_ghost_pads): New test for the
27810         ghosting-if-elements-not-in-same-bin behavior.
27811
27812 2005-05-16  David Schleef  <ds@schleef.org>
27813
27814         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27815         accessing refcount directly.
27816
27817 2005-05-15  David Schleef  <ds@schleef.org>
27818
27819         * check/Makefile.am: remove GstData checks
27820         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27821         * gst/Makefile.am: add miniobject, remove data
27822         * gst/gst.h: add miniobject, remove data
27823         * gst/gstdata.c: remove
27824         * gst/gstdata.h: remove
27825         * gst/gstdata_private.h: remove
27826         * gst/gsttypes.h: remove GstEvent and GstMessage
27827         * gst/gstelement.c: (gst_element_post_message): fix for API changes
27828         * gst/gstmarshal.list: change BOXED -> OBJECT
27829
27830         Implement GstMiniObject.
27831         * gst/gstminiobject.c:
27832         * gst/gstminiobject.h:
27833
27834         Modify to be subclasses of GstMiniObject.
27835         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27836         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27837         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27838         (gst_subbuffer_get_type), (gst_subbuffer_init),
27839         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27840         (gst_buffer_span):
27841         * gst/gstbuffer.h:
27842         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27843         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27844         (_gst_event_copy), (gst_event_new):
27845         * gst/gstevent.h:
27846         * gst/gstmessage.c: (_gst_message_initialize),
27847         (gst_message_get_type), (gst_message_class_init),
27848         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27849         (gst_message_new), (gst_message_new_error),
27850         (gst_message_new_warning), (gst_message_new_tag),
27851         (gst_message_new_state_changed), (gst_message_new_application):
27852         * gst/gstmessage.h:
27853         * gst/gstprobe.c: (gst_probe_perform),
27854         (gst_probe_dispatcher_dispatch):
27855         * gst/gstprobe.h:
27856         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27857         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27858         (_gst_query_copy), (gst_query_new):
27859
27860         Update elements for GstData -> GstMiniObject changes
27861         * gst/gstquery.h:
27862         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27863         (gst_queue_chain), (gst_queue_loop):
27864         * gst/elements/gstbufferstore.c:
27865         (gst_buffer_store_add_buffer_func),
27866         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27867         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27868         (gst_fakesink_render):
27869         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27870         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27871         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27872         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27873         (gst_filesrc_create_read):
27874         * gst/elements/gstidentity.c: (gst_identity_class_init):
27875         * gst/elements/gsttypefindelement.c:
27876         (gst_type_find_element_src_event), (free_entry_buffers),
27877         (gst_type_find_element_handle_event):
27878         * libs/gst/dataprotocol/dataprotocol.c:
27879         (gst_dp_header_from_buffer):
27880         * libs/gst/dataprotocol/dataprotocol.h:
27881         * libs/gst/dataprotocol/dp-private.h:
27882
27883 2005-05-15  David Schleef  <ds@schleef.org>
27884
27885         * gst/elements/gstelements.c: Don't include headers that were
27886         just removed.
27887
27888 2005-05-15  David Schleef  <ds@schleef.org>
27889
27890         * gst/elements/Makefile.am: Remove some elements that don't
27891         need to be in the core (or even exist at all).
27892         * gst/elements/gstaggregator.c:
27893         * gst/elements/gstaggregator.h:
27894         * gst/elements/gstmd5sink.c:
27895         * gst/elements/gstmd5sink.h:
27896         * gst/elements/gstmultifilesrc.c:
27897         * gst/elements/gstmultifilesrc.h:
27898         * gst/elements/gstpipefilter.c:
27899         * gst/elements/gstpipefilter.h:
27900         * gst/elements/gstshaper.c:
27901         * gst/elements/gstshaper.h:
27902         * gst/elements/gststatistics.c:
27903         * gst/elements/gststatistics.h:
27904         * po/POTFILES.in: Remove above files.
27905
27906 2005-05-14  Andy Wingo  <wingo@pobox.com>
27907
27908         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
27909         so as to get the refs right.
27910         (sink_iterator_filter): New function, wraps bin_element_is_sink,
27911         unreffing objects that don't pass the filter.
27912
27913         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
27914         gst_element_set_bus.
27915         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
27916         normal cases, this will destroy the bus.
27917
27918         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
27919         object.
27920
27921         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
27922         has no sinks.
27923
27924 2005-05-13  Andy Wingo  <wingo@pobox.com>
27925
27926         * gst/gstutils.c (gst_element_link_pads): Instead of calling
27927         gst_pad_link, call pad_link_maybe_ghosting,
27928         (pad_link_maybe_ghosting): Links pads, making sure that the
27929         elements being linked are in the same bin.
27930         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
27931         Helpers for pad_link_maybe_ghosting.
27932
27933 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
27934
27935         * configure.ac:
27936           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
27937
27938 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
27939
27940         * docs/design/part-element-source.txt:
27941           Mention GstPushSrc
27942
27943 2005-05-12  Wim Taymans  <wim@fluendo.com>
27944
27945         * gst/base/gstbasesink.c: (gst_basesink_init),
27946         (gst_basesink_activate):
27947         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
27948         (gst_basesrc_is_seekable):
27949         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
27950         (bin_element_is_sink), (gst_bin_change_state):
27951         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27952         * gst/gstelement.h:
27953         Identify sinks by their flag to avoid overly complicated
27954         checks (fow now).
27955         Do state changes even for elements not reachable from the
27956         sinks.
27957         BaseSink is a sink now :)
27958         Some more debugging info in the basesrc.
27959
27960
27961 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27962
27963         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
27964           Implement _query on a bin, similar to _send_event.
27965
27966 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
27967
27968         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
27969           Discont event offset format should be GST_FORMAT_BYTES,
27970           not GST_FORMAT_TIME.
27971
27972 2005-05-12  Wim Taymans  <wim@fluendo.com>
27973
27974         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
27975         Same fix as Ronald's but without the signal. 
27976
27977 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27978
27979         * gst/gstutils.c: (gst_element_query_position):
27980           No, an element is not a pad.
27981
27982 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27983
27984         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
27985         (gst_bin_get_state):
27986           If a child is removed from a bin while we remove the child from
27987           the bin and while we're retrieving its state, signal this to the
27988           get_state function so we abort the wait (instead of waiting for
27989           a timeout) and can immediately re-iterate over all other elements.
27990
27991 2005-05-12  Wim Taymans  <wim@fluendo.com>
27992
27993         * gst/base/Makefile.am:
27994         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
27995         (gst_basesrc_start):
27996         * gst/base/gstbasesrc.h:
27997         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
27998         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
27999         (gst_pushsrc_init), (gst_pushsrc_create):
28000         * gst/base/gstpushsrc.h:
28001         Added is_seekable to BaseSrc
28002         Added simple PushSrc.
28003
28004 2005-05-11  Wim Taymans  <wim@fluendo.com>
28005
28006         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28007         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28008         (gst_element_link_pads), (gst_element_query_position),
28009         (gst_element_query_convert), (intersect_caps_func),
28010         (gst_pad_query_position), (gst_pad_query_convert):
28011         Fix refcounting in utils function.
28012         No point in trying to activate a pad when it's added, it could
28013         be added from the state change function and then we deadlock, the
28014         element has to decide what to do.
28015
28016 2005-05-10  Andy Wingo  <wingo@pobox.com>
28017
28018         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28019         *all* the arguments.
28020
28021         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28022         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28023         lock (according to the docs -- if this is wrong change the docs).
28024
28025         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28026         flush messages in the NULL state.
28027
28028         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28029         message immediately and return.
28030         (gst_bus_set_flushing): New function. If a bus is flushing, it
28031         flushes out any queued messages and immediately unrefs new
28032         messages. This is so when an element goes to NULL, all of the
28033         unhandled messages coming from it can be freed, and their
28034         references to the element dropped. In other words: message source
28035         ref considered harmful :P
28036
28037         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28038         we're finished with it.
28039
28040         * gst/gstmessage.c (gst_message_new_state_changed): 
28041
28042 2005-05-10  Wim Taymans  <wim@fluendo.com>
28043
28044         * gst/gstvalue.c: (gst_value_compare_flags),
28045         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28046         (_gst_value_initialize):
28047         Added flags serialize/deserialize/compare code.
28048
28049 2005-05-09  Andy Wingo  <wingo@pobox.com>
28050
28051         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28052         Intersect the peer's caps with our caps.
28053
28054 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28055
28056         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28057         * gst/elements/gsttypefindelement.c: (find_peek):
28058           Handle negative offsets better. Fixes decodebin.
28059
28060 2005-05-09  Wim Taymans  <wim@fluendo.com>
28061
28062         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28063         (gst_base_transform_event):
28064         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28065         Implement accept_caps.
28066         Fix silly lock/unlock mismatch in base class.
28067
28068 2005-05-09  Wim Taymans  <wim@fluendo.com>
28069
28070         * docs/design/draft-push-pull.txt:
28071         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28072         * gst/elements/gstfilesink.c: (gst_filesink_init),
28073         (gst_filesink_query):
28074         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28075         (gst_type_find_handle_src_query), (find_element_get_length):
28076         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28077         * gst/gstelement.h:
28078         * gst/gstmessage.c:
28079         * gst/gstmessage.h:
28080         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28081         (gst_real_pad_get_caps_unlocked),
28082         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28083         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28084         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28085         (gst_real_pad_dispose), (gst_real_pad_finalize),
28086         (gst_pad_load_and_link), (gst_pad_save_thyself),
28087         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28088         (gst_pad_check_pull_range), (gst_pad_pull_range),
28089         (gst_pad_template_get_type), (gst_pad_template_class_init),
28090         (gst_pad_template_init), (gst_pad_template_dispose),
28091         (name_is_valid), (gst_static_pad_template_get),
28092         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28093         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28094         (gst_pad_get_element_private), (gst_pad_start_task),
28095         (gst_pad_pause_task), (gst_pad_stop_task),
28096         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28097         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28098         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28099         (gst_ghost_pad_new):
28100         * gst/gstpad.h:
28101         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28102         (gst_query_new_position), (gst_query_set_position),
28103         (gst_query_parse_position), (gst_query_new_convert),
28104         (gst_query_set_convert), (gst_query_parse_convert):
28105         * gst/gstquery.h:
28106         * gst/gstqueryutils.c:
28107         * gst/gstqueryutils.h:
28108         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28109         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28110         (gst_queue_handle_src_query):
28111         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28112         (gst_element_query_position), (gst_element_query_convert),
28113         (intersect_caps_func), (gst_pad_query_position),
28114         (gst_pad_query_convert):
28115         * gst/gstutils.h:
28116         * tools/gst-inspect.c: (print_pad_info):
28117         * tools/gst-xmlinspect.c: (print_element_info):
28118         Remove old query functions. Ported old code.
28119         Added position/convert helper functions to gstutils.
28120         Reordered gstpad.c code, grouping relevant things.
28121         Remove gst_message_new(), always need to speficy a specific
28122         message.
28123
28124
28125 2005-05-09  Andy Wingo  <wingo@pobox.com>
28126
28127         * gst/gstiterator.h: Add some includes.
28128
28129         * gst/gstqueryutils.h: Include more headers.
28130
28131         * gst/gstpad.h:
28132         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28133         some uses of gst_pad_query.
28134
28135         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28136         NULL out parameters.
28137         (gst_query_new_position): New proc, allocates a new position
28138         query.
28139
28140         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28141         gstqueryutils.c to the build.
28142
28143         * gst/gststructure.c (gst_structure_set_valist): Implement with
28144         the generic G_VALUE_COLLECT.
28145         
28146 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28147
28148         * gst/Makefile.am: (gst_headers):
28149         Added gstqueryutils.h to the list of headers to install, that was
28150         a 'nachty' move wingo :)
28151
28152 2005-05-06  Andy Wingo  <wingo@pobox.com>
28153
28154         * gst/gstquery.h
28155         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28156         GstData, init a memchunk.
28157         (standard_definitions): Add a few query types, deprecate a few.
28158         (gst_query_get_type): New proc.
28159         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28160         implementation.
28161         (gst_query_new_application, gst_query_get_structure): New public
28162         procs.
28163
28164         * docs/design/draft-query.txt: Removed LINKS from the query types,
28165         because all the rest can be dispatched to other pads -- seemed
28166         ugly to have a query that couldn't be dispatched. internal_links
28167         is fine as a pad method.
28168
28169         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28170         in gstpad.c, but maintain binary compatibility for the moment.
28171         Will fix before 0.9 is out.
28172
28173         * gst/gstqueryutils.c: 
28174         * gst/gstqueryutils.h: New files, implement 3 methods for each
28175         query type: parse_query, parse_response, and set. Probably need an
28176         allocator as well.
28177
28178         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28179
28180         * gst/elements/gstfilesink.c (gst_filesink_query2):
28181         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28182         query_types, and formats methods.
28183
28184         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28185         (gst_pad_set_query2_function): New functions.
28186         (gst_real_pad_init): Set query2_default as the default query2
28187         function. Basically just dispatches to internally linked pads.
28188
28189         Needs review!
28190         
28191         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28192         without using the atomic operations. Only one thread can possibly
28193         be accessing the data at this point. Changed so as to avoid
28194         gst_atomic operations.
28195
28196 2005-05-06  Wim Taymans  <wim@fluendo.com>
28197
28198         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28199         Also set caps if we use the fallback buffer alloc.
28200
28201 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28202
28203         * docs/gst/Makefile.am:
28204         * docs/gst/gstreamer-docs.sgml:
28205         * docs/gst/gstreamer-sections.txt:
28206         * docs/gst/tmpl/gstatomic.sgml:
28207         * docs/gst/tmpl/gstmemchunk.sgml:
28208         * testsuite/elements/struct_i386.h:
28209         * win32/GStreamer.vcproj:
28210         * win32/Makefile:
28211           Purge GstAtomic stuff from docs and win32 makefiles as well
28212
28213 2005-05-06  Wim Taymans  <wim@fluendo.com>
28214
28215         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28216         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28217         * gst/gstpad.c: (gst_pad_peer_get_caps):
28218         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28219         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28220         (gst_queue_src_activate), (gst_queue_change_state):
28221         * gst/gstqueue.h:
28222         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28223         (intersect_caps_func):
28224         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28225         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28226         Some fixes for the peer_get_caps() change.
28227
28228 2005-05-06  Wim Taymans  <wim@fluendo.com>
28229
28230         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28231         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28232         (gst_basesink_activate):
28233         Actually do something with error codes returned from the push
28234         functions.
28235
28236 2005-05-06  Wim Taymans  <wim@fluendo.com>
28237
28238         * docs/design/part-element-sink.txt:
28239         * docs/design/part-element-source.txt:
28240         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28241         (gst_basesink_event), (gst_basesink_activate):
28242         * gst/base/gstbasesink.h:
28243         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28244         (gst_basesrc_activate):
28245         * gst/base/gstbasesrc.h:
28246         * gst/gstelement.c: (gst_element_pads_activate):
28247         Some more documentation.
28248         Fixed scheduling decision in _pads_activate().
28249
28250 2005-05-05  Andy Wingo  <wingo@pobox.com>
28251
28252         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28253         the test suite.
28254
28255 2005-05-05  Wim Taymans  <wim@fluendo.com>
28256
28257         * gst/base/Makefile.am:
28258         * gst/base/gstbasesink.h:
28259         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28260         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28261         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28262         (gst_collectpads_class_init), (gst_collectpads_init),
28263         (gst_collectpads_finalize), (gst_collectpads_new),
28264         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28265         (find_pad), (gst_collectpads_remove_pad),
28266         (gst_collectpads_is_active), (gst_collectpads_collect),
28267         (gst_collectpads_collect_range), (gst_collectpads_start),
28268         (gst_collectpads_stop), (gst_collectpads_peek),
28269         (gst_collectpads_pop), (gst_collectpads_available),
28270         (gst_collectpads_read), (gst_collectpads_flush),
28271         (gst_collectpads_chain):
28272         * gst/base/gstcollectpads.h:
28273         * gst/elements/Makefile.am:
28274         * gst/elements/gstelements.c:
28275         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28276         (gst_fakesink_get_times), (gst_fakesink_event),
28277         (gst_fakesink_preroll), (gst_fakesink_render):
28278         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28279         (gst_filesink_init), (gst_filesink_set_location),
28280         (gst_filesink_open_file), (gst_filesink_close_file),
28281         (gst_filesink_pad_query), (gst_filesink_event),
28282         (gst_filesink_render), (gst_filesink_change_state):
28283         * gst/elements/gstfilesink.h:
28284         Added object to help in making collect pad based elements.
28285         Ported filesink.
28286         Make event function in sink baseclass return gboolean.
28287
28288 2005-05-05  Wim Taymans  <wim@fluendo.com>
28289
28290         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28291         (gst_bin_get_by_name):
28292         * gst/gstbuffer.h:
28293         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28294         (gst_clock_finalize):
28295         * gst/gstdata.c: (gst_data_replace):
28296         * gst/gstdata.h:
28297         * gst/gstelement.c: (gst_element_request_pad),
28298         (gst_element_pads_activate):
28299         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28300         (gst_object_unref):
28301         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28302         (gst_pad_set_checkgetrange_function),
28303         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28304         (gst_pad_check_pull_range), (gst_pad_pull_range),
28305         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28306         (gst_pad_pause_task), (gst_pad_stop_task):
28307         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28308         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28309         Fix name lookup in GstBin.
28310         Added _data_replace() function and _buffer_replace()
28311         Use finalize method to clean up clock.
28312         Fix refcounting on request pads.
28313         Fix pad schedule mode error.
28314         Some more object refcounting debug info,
28315
28316
28317 2005-05-04  Andy Wingo <wingo@pobox.com>
28318
28319         * check/Makefile.am:
28320         * docs/gst/tmpl/gstatomic.sgml:
28321         * docs/gst/tmpl/gstplugin.sgml:
28322         * gst/base/gstbasesink.c: (gst_basesink_activate):
28323         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28324         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28325         (gst_basesrc_query), (gst_basesrc_set_property),
28326         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28327         (gst_basesrc_activate):
28328         * gst/base/gstbasesrc.h:
28329         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28330         (gst_base_transform_src_activate):
28331         * gst/elements/gstelements.c:
28332         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28333         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28334         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28335         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28336         (gst_type_find_element_checkgetrange),
28337         (gst_type_find_element_activate):
28338         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28339         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28340         (gst_caps_load_thyself):
28341         * gst/gstelement.c: (gst_element_pads_activate),
28342         (gst_element_save_thyself), (gst_element_restore_thyself):
28343         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28344         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28345         * gst/gstpad.h:
28346         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28347         (gst_xml_parse_file), (gst_xml_parse_memory),
28348         (gst_xml_get_element), (gst_xml_make_element):
28349         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28350         (_file_index_id_save_xml), (gst_file_index_commit):
28351         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28352         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28353         (load_paths):
28354         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28355         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28356         * tools/gst-complete.c: (main):
28357         * tools/gst-compprep.c: (main):
28358         * tools/gst-inspect.c: (print_element_properties_info):
28359         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28360         * tools/gst-xmlinspect.c: (print_element_properties):
28361         GCC 4 fixen.
28362         
28363 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28364
28365         * gst/gstplugin.c: (gst_plugin_check_module),
28366         (gst_plugin_check_file), (gst_plugin_load_file):
28367             apply patch from #172526 to make register work on MacOSX
28368
28369 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28370
28371         * docs/gst/tmpl/gstconfig.sgml:
28372         * gst/gstconfig.h.in:
28373           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28374         * testsuite/debug/printf_extension.c: (main):
28375           Do not use GST_PTR_FORMAT on pointers to types with
28376           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28377         * testsuite/elements/property.h:
28378           use correct printf format
28379
28380 2005-05-02  Wim Taymans  <wim@fluendo.com>
28381
28382         * docs/design/draft-push-pull.txt:
28383         * docs/design/draft-query.txt:
28384         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28385         (gst_basesrc_start):
28386         Added draft for new query API.
28387         Added draft for better selecting scheduling methods.
28388         Make basesrc ignore length if the subclass does not support
28389         it.
28390
28391 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28392
28393         * gst/Makefile.am:
28394           possible fixes for automake-1.5 - _LIBADD is reserved
28395
28396 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28397
28398         * docs/faq/Makefile.am:
28399         * docs/manual/Makefile.am:
28400         * docs/manuals.mak:
28401         * docs/pwg/Makefile.am:
28402         * gst/Makefile.am:
28403           possible fixes for automake-1.5
28404
28405 2005-04-28  Wim Taymans  <wim@fluendo.com>
28406
28407         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28408         (gst_basesink_pad_getcaps), (gst_basesink_init),
28409         (gst_basesink_do_sync):
28410         * gst/gstclock.c: (gst_clock_entry_new):
28411         * gst/gstevent.c: (gst_event_discont_get_value):
28412         * gst/gstpipeline.c: (pipeline_bus_handler),
28413         (gst_pipeline_change_state):
28414         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28415         Better debugging of clocking info.
28416         Allow NULL values when getting discont values.
28417
28418 2005-04-27  Wim Taymans  <wim@fluendo.com>
28419
28420         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28421         * check/gst/gstpad.c: (gst_pad_suite):
28422         Increase timeout for checks.
28423
28424 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28425
28426         * check/Makefile.am:
28427           fix the broken rule for cleanup.  Apparently this rule is
28428           only needed on FC2, so maybe this warrants further autotool
28429           inspection.
28430
28431 2005-04-26  Wim Taymans  <wim@fluendo.com>
28432
28433         * gst/gsttrashstack.h:
28434         Ooohh. a nasty one! After having a failed pop() from the stack,
28435         it's possible that the stack is empty. In that case, don't
28436         follow the NULL pointer.
28437
28438 2005-04-25  Wim Taymans  <wim@fluendo.com>
28439
28440         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28441         (gst_pad_set_checkgetrange_function),
28442         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28443         (gst_pad_check_pull_range), (gst_pad_pull_range),
28444         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28445         (gst_pad_pause_task), (gst_pad_stop_task):
28446         * gst/gstplugin.c: (gst_plugin_load):
28447         * gst/gstplugin.h:
28448         Remove gst_library_load as it does more harm than good with
28449         the new g_module flags.
28450         Revert bogus caps template check in pad linking, pad caps
28451         are important when linking not the template, which is more
28452         general than the current caps.
28453
28454 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28455
28456         * gst/autoplug/.cvsignore:
28457         * gst/autoplug/Makefile.am:
28458         * gst/autoplug/gstsearchfuncs.c:
28459         * gst/autoplug/gstsearchfuncs.h:
28460         * gst/autoplug/gstspider.c:
28461         * gst/autoplug/gstspider.h:
28462         * gst/autoplug/gstspideridentity.c:
28463         * gst/autoplug/gstspideridentity.h:
28464         * gst/autoplug/spidertest.c:
28465           Die, spider, die.
28466
28467 2005-04-25  Wim Taymans  <wim@fluendo.com>
28468
28469         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28470         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28471         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28472         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28473         * gst/gstpad.h:
28474         Added stubs for unimplemented functions. 
28475
28476 2005-04-24  David Schleef  <ds@schleef.org>
28477
28478         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28479         please fix.
28480
28481 2005-04-24  David Schleef  <ds@schleef.org>
28482
28483         Convert everything from GstAtomicInt to g_atomic_int_*, and
28484         remove gstatomic.
28485         * gst/Makefile.am:
28486         * gst/gstatomic.c:
28487         * gst/gstatomic.h:
28488         * gst/gstatomic_impl.h:
28489         * gst/gstbuffer.c:
28490         * gst/gstcaps.c:
28491         * gst/gstcaps.h:
28492         * gst/gstclock.c:
28493         * gst/gstclock.h:
28494         * gst/gstdata.c:
28495         * gst/gstdata.h:
28496         * gst/gstdata_private.h:
28497         * gst/gstevent.c:
28498         * gst/gstinfo.c:
28499         * gst/gstinfo.h:
28500         * gst/gstmessage.c:
28501         * gst/gstobject.c:
28502         * gst/gstobject.h:
28503         * gst/gststructure.c:
28504         * gst/gststructure.h:
28505         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28506         * gst/gstutils.h:
28507
28508 2005-04-24  David Schleef  <ds@schleef.org>
28509
28510         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28511         make the regressions tests work.  Remove some code that is no
28512         longer true.
28513         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28514         Disable warning for pads without templates.
28515
28516 2005-04-24  David Schleef  <ds@schleef.org>
28517
28518         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28519         functions that handle filtered links.
28520         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28521         removed functions.
28522         * gst/gstutils.c: Fix/remove utility functions that handle
28523         filtered caps.
28524         * gst/gstutils.h:
28525         * gst/gstvalue.c: Add serialization/deserialization of caps
28526         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28527         requires fixing so that the filter caps notation creates
28528         a capsfilter element and sets the filter_caps property.  I
28529         think everyone probably wants to keep the shorthand notation.
28530         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28531         * docs/gst/tmpl/gstpad.sgml:
28532
28533         * gst/elements/gstelements.c: Register capsfilter element.
28534         * gst/Makefile.am: fix spacing
28535         * docs/random/ds/0.9-suggested-changes: random
28536
28537 2005-04-23  David Schleef  <ds@schleef.org>
28538
28539         * gst/elements/Makefile.am:
28540         * gst/elements/gstcapsfilter.c: New element that acts like an
28541         identity, but filters caps.  Will eventually replace filtered
28542         caps in pad linking.
28543         * gst/gstutils.c: (gst_element_create_all_pads): New function
28544         to create all the ALWAYS pads that are registered with an
28545         element class.  This functionality should eventually be
28546         merged in with GstElement initialization.
28547         * gst/gstutils.h:
28548         * testsuite/trigger/README: part of trigger test code that should
28549         have been checked in a long time ago.
28550
28551 2005-04-23  David Schleef  <ds@schleef.org>
28552
28553         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28554         needed with new versions of libtool (nobody will confirm this),
28555         and hard to carry around.
28556         * gst/autoplug/Makefile.am:
28557         * gst/base/Makefile.am:
28558         * gst/elements/Makefile.am:
28559         * gst/indexers/Makefile.am:
28560         * gst/schedulers/Makefile.am:
28561         * libs/gst/bytestream/Makefile.am:
28562         * libs/gst/control/Makefile.am:
28563         * libs/gst/dataprotocol/Makefile.am:
28564         * libs/gst/getbits/Makefile.am:
28565
28566 2005-04-21  Wim Taymans  <wim@fluendo.com>
28567
28568         * docs/design/draft-push-pull.txt:
28569         * docs/design/part-MT-refcounting.txt:
28570         * docs/design/part-TODO.txt:
28571         * docs/design/part-caps.txt:
28572         * docs/design/part-events.txt:
28573         * docs/design/part-gstbus.txt:
28574         * docs/design/part-gstpipeline.txt:
28575         * docs/design/part-messages.txt:
28576         * docs/design/part-push-pull.txt:
28577         * docs/design/part-query.txt:
28578         Some more docs.
28579
28580 2005-04-21  Wim Taymans  <wim@fluendo.com>
28581
28582         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28583         (gst_message_new), (gst_message_new_error),
28584         (gst_message_new_warning), (gst_message_new_tag),
28585         (gst_message_new_state_changed), (gst_message_new_application),
28586         (gst_message_get_structure):
28587         * gst/gstmessage.h:
28588         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28589         (gst_structure_copy_conditional):
28590         Use parent refcount in GstMessage to ensure GstStructure
28591         consistency.
28592         Cleaned up headers a bit.
28593         
28594
28595 2005-04-20  Wim Taymans  <wim@fluendo.com>
28596
28597         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28598         (gst_basesink_pad_getcaps), (gst_basesink_init),
28599         (gst_basesink_chain_unlocked):
28600         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28601         (gst_type_find_helper):
28602         * gst/elements/gsttypefindelement.c:
28603         (gst_type_find_element_have_type), (gst_type_find_element_init),
28604         (stop_typefinding), (gst_type_find_element_handle_event),
28605         (find_suggest), (gst_type_find_element_chain),
28606         (gst_type_find_element_checkgetrange),
28607         (gst_type_find_element_getrange), (do_typefind),
28608         (gst_type_find_element_activate):
28609         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28610         (gst_buffer_default_free), (gst_buffer_default_copy),
28611         (gst_buffer_set_caps):
28612         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28613         (gst_caps_replace):
28614         * gst/gstmessage.c: (gst_message_new),
28615         (gst_message_new_state_changed):
28616         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28617         (gst_pad_set_checkgetrange_function),
28618         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28619         (gst_pad_set_caps), (gst_pad_check_pull_range),
28620         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28621         * gst/gstpad.h:
28622         * gst/gsttypefind.c: (gst_type_find_register):
28623         Make gst_caps_replace() work like other _replace() functions.
28624         Use _caps_replace() where possible.
28625         Make sure _message_new() initialises its field.
28626         Add gst_static_pad_template_get_caps()
28627
28628
28629 2005-04-18  Andy Wingo  <wingo@pobox.com>
28630
28631         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28632         on the peer, not the pad. I think that was a typo. Pass an extra
28633         arg to see if random access is possible. Activate the pads as
28634         PULL_RANGE if possible.
28635
28636         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28637
28638         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
28639         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28640         to PROP_....
28641
28642 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28643
28644         * docs/faq/using.xml:
28645           Add note on gstreamer-properties (#154996).
28646
28647 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28648
28649         * docs/random/bbb/optional-properties:
28650           Some analysis on optional properties.
28651
28652 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28653
28654         * docs/gst/tmpl/gstelementfactory.sgml:
28655         * gst/gstelement.h:
28656         * gst/gstelementfactory.c: (gst_element_factory_init),
28657         (gst_element_factory_cleanup), (gst_element_register),
28658         (__gst_element_factory_add_static_pad_template),
28659         (gst_element_factory_get_static_pad_templates),
28660         (gst_element_factory_can_src_caps),
28661         (gst_element_factory_can_sink_caps):
28662         * gst/registries/Makefile.am:
28663         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28664         (gst_xml_registry_class_init), (gst_xml_registry_init),
28665         (gst_xml_registry_new), (gst_xml_registry_set_property),
28666         (gst_xml_registry_get_property), (get_time), (make_dir),
28667         (gst_xml_registry_get_perms_func),
28668         (plugin_times_older_than_recurse), (plugin_times_older_than),
28669         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28670         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28671         (add_to_char_array), (read_string), (read_uint), (read_enum),
28672         (load_pad_template), (load_feature), (load_plugin), (load_paths),
28673         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28674         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28675         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28676         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28677         (gst_xml_registry_rebuild):
28678         * gst/registries/gstlibxmlregistry.h:
28679         * tools/gst-compprep.c: (main):
28680         * tools/gst-inspect.c: (print_pad_templates_info):
28681         * tools/gst-xmlinspect.c: (print_element_info):
28682           Use libxml2 for registry parsing, use staticpadtemplates in
28683           elementfactories. Makes gst_init() +/- 10x faster.
28684
28685 2005-04-12  Wim Taymans  <wim@fluendo.com>
28686
28687         * gst/base/Makefile.am:
28688         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28689         (gst_basesink_pad_getcaps), (gst_basesink_init),
28690         (gst_basesink_event), (gst_basesink_change_state):
28691         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28692         (gst_basesrc_init), (gst_basesrc_query),
28693         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28694         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28695         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28696         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28697         (gst_basesrc_stop), (gst_basesrc_activate),
28698         (gst_basesrc_change_state):
28699         * gst/base/gsttypefindhelper.c: (helper_find_peek),
28700         (helper_find_suggest), (gst_type_find_helper):
28701         * gst/base/gsttypefindhelper.h:
28702         * gst/elements/Makefile.am:
28703         * gst/elements/gstelements.c:
28704         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28705         (gst_fakesink_get_times), (gst_fakesink_event),
28706         (gst_fakesink_preroll), (gst_fakesink_render):
28707         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28708         (gst_fakesrc_init), (gst_fakesrc_event_handler),
28709         (gst_fakesrc_get_property), (gst_fakesrc_create),
28710         (gst_fakesrc_start), (gst_fakesrc_stop):
28711         * gst/elements/gstfakesrc.h:
28712         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28713         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28714         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28715         (gst_filesrc_create_read), (gst_filesrc_create),
28716         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28717         (gst_filesrc_start):
28718         * gst/elements/gsttypefindelement.c:
28719         (gst_type_find_element_have_type), (gst_type_find_element_init),
28720         (start_typefinding), (stop_typefinding), (push_buffer_store),
28721         (gst_type_find_element_handle_event),
28722         (gst_type_find_element_chain),
28723         (gst_type_find_element_checkgetrange),
28724         (gst_type_find_element_getrange), (do_typefind),
28725         (gst_type_find_element_activate),
28726         (gst_type_find_element_change_state):
28727         * gst/elements/gsttypefindelement.h:
28728         * gst/gstpipeline.c: (pipeline_bus_handler):
28729         Added typefind helper.
28730         Small preroll fix in the base sink.
28731         Disable typefind code in basesrc.
28732         Crude port of typefindelement.
28733         Fakesrc cleanups.
28734
28735
28736 2005-04-11  Wim Taymans  <wim@fluendo.com>
28737
28738         * check/gst/gstbus.c: (gstbus_suite):
28739         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28740         * check/gstcheck.h:
28741           Fix up the timeout so that the test does not fail.
28742
28743 2005-04-06  Wim Taymans  <wim@fluendo.com>
28744
28745         * gst/base/README:
28746         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28747         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28748         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28749         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28750         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28751         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28752         (gst_basesrc_stop), (gst_basesrc_activate),
28753         (gst_basesrc_change_state), (basesrc_find_peek),
28754         (basesrc_find_suggest), (gst_basesrc_type_find):
28755         * gst/base/gstbasesrc.h:
28756         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28757         (gst_filesrc_class_init), (gst_filesrc_init),
28758         (gst_filesrc_finalize), (gst_filesrc_set_location),
28759         (gst_filesrc_set_property), (gst_filesrc_get_property),
28760         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28761         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28762         (gst_filesrc_create_read), (gst_filesrc_create),
28763         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28764         * gst/elements/gstfilesrc.h:
28765         * gst/gstelement.c: (gst_element_get_state_func),
28766         (gst_element_lost_state), (gst_element_pads_activate):
28767         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28768         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28769         (gst_pad_pull_range):
28770         * gst/gstpad.h:
28771         More work on the generic source base class, implement seeking,
28772         query.
28773         Make filesrc extend the base source class.
28774         Added gst_pad_set_checkgetrange_function to GstPad.
28775
28776 2005-04-06  Andy Wingo  <wingo@pobox.com>
28777
28778         * pkgconfig/gstreamer-base.pc.in:
28779         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28780
28781         * pkgconfig/Makefile.am:
28782         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28783
28784 2005-04-04  Wim Taymans  <wim@fluendo.com>
28785
28786         * gst/base/Makefile.am:
28787         * gst/base/README:
28788         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28789         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28790         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28791         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28792         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28793         (gst_basesrc_base_init), (gst_basesrc_class_init),
28794         (gst_basesrc_init), (gst_basesrc_get_formats),
28795         (gst_basesrc_get_query_types), (gst_basesrc_query),
28796         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28797         (gst_basesrc_set_property), (gst_basesrc_get_property),
28798         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28799         (gst_basesrc_loop), (gst_basesrc_activate),
28800         (gst_basesrc_change_state):
28801         * gst/base/gstbasesrc.h:
28802         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28803         (gst_fakesrc_class_init), (gst_fakesrc_init),
28804         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28805         (gst_fakesrc_get_property), (gst_fakesrc_create):
28806         * gst/elements/gstfakesrc.h:
28807         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28808         (gst_filesrc_open_file), (gst_filesrc_loop),
28809         (gst_filesrc_activate), (filesrc_find_peek),
28810         (gst_filesrc_type_find):
28811         Made base source class, make fakesrc extend it.
28812         Add comments to basesink class.
28813         Some filesrc cleanup.
28814
28815 2005-03-31  David Schleef  <ds@schleef.org>
28816
28817         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28818         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28819         expected to link against libgstreamer.
28820         * gst/base/Makefile.am: link against libgstreamer
28821         * gst/elements/Makefile.am: same
28822
28823 2005-03-31  Andy Wingo  <wingo@pobox.com>
28824
28825         * tests/instantiate/Makefile.am:
28826         * tests/instantiate/caps.c: Add test to test speed of caps copy
28827         and free.
28828
28829         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28830         GMemChunk to be fair.
28831
28832         * gst/gsttrashstack.h: Remove warning about using the fallback
28833         trash stack implementation, it's still faster than malloc.
28834
28835 2005-03-30  Andy Wingo  <wingo@pobox.com>
28836
28837         * tests/complexity.c: Add a copyright.
28838
28839 2005-03-31  Wim Taymans  <wim@fluendo.com>
28840
28841         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28842         (gst_base_transform_class_init), (gst_base_transform_init),
28843         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28844         (gst_base_transform_get_property),
28845         (gst_base_transform_sink_activate),
28846         (gst_base_transform_src_activate),
28847         (gst_base_transform_change_state):
28848         * gst/base/gstbasetransform.h:
28849         * gst/elements/gstidentity.c: (gst_identity_class_init),
28850         (gst_identity_event), (gst_identity_check_perfect),
28851         (gst_identity_transform), (gst_identity_start),
28852         (gst_identity_stop):
28853         Added start/stop methods to transform base class so subclasses 
28854         don't need to deal with state changes even.
28855
28856 2005-03-31  Wim Taymans  <wim@fluendo.com>
28857
28858         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28859         (gst_event_new_discontinuous), (gst_event_discont_get_value):
28860         * gst/gstevent.h:
28861         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28862         (gst_pad_pull_range):
28863         Added rate to the discont event to prepare for variable speed
28864         and reverse playback.
28865
28866 2005-03-29  David Schleef  <ds@schleef.org>
28867
28868         * configure.ac:
28869         * testsuite/trigger/Makefile.am:
28870         * testsuite/trigger/trigger.c: A little example program to show
28871         how trigger-based elements can work.
28872
28873 2005-03-29  Wim Taymans  <wim@fluendo.com>
28874
28875         * gst/base/Makefile.am:
28876         * gst/base/README:
28877         * gst/base/gstbasesink.c: (gst_basesink_get_type),
28878         (gst_basesink_base_init), (gst_basesink_class_init),
28879         (gst_basesink_pad_getcaps), (gst_basesink_init),
28880         (gst_basesink_activate), (gst_basesink_change_state):
28881         * gst/base/gstbasesink.h:
28882         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28883         (gst_base_transform_base_init), (gst_base_transform_finalize),
28884         (gst_base_transform_class_init), (gst_base_transform_init),
28885         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28886         (gst_base_transform_event), (gst_base_transform_getrange),
28887         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28888         (gst_base_transform_set_property),
28889         (gst_base_transform_get_property),
28890         (gst_base_transform_sink_activate),
28891         (gst_base_transform_src_activate),
28892         (gst_base_transform_change_state):
28893         * gst/base/gstbasetransform.h:
28894         * gst/elements/gstidentity.c: (gst_identity_finalize),
28895         (gst_identity_class_init), (gst_identity_init),
28896         (gst_identity_event), (gst_identity_check_perfect),
28897         (gst_identity_transform), (gst_identity_set_property),
28898         (gst_identity_get_property), (gst_identity_change_state):
28899         * gst/elements/gstidentity.h:
28900         * gst/gstelement.c: (gst_element_get_state_func),
28901         (gst_element_lost_state), (gst_element_pads_activate):
28902         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28903         (gst_pad_check_pull_range), (gst_pad_pull_range):
28904         * gst/gstpad.h:
28905         Simplify pad activation.
28906         Added function to check if pull_range can be performed.
28907         Error out when pulling inactive or flushing pads.
28908         Removed const from refcounted types as it does not make sense.
28909         Simplify pad templates in basesink
28910         Added base class for simple 1-to-1 transforms.
28911         Make identity subclass the base transform.
28912
28913 2005-03-29  Andy Wingo  <wingo@pobox.com>
28914
28915         * docs/libs/gstreamer-libs-overrides.txt: 
28916         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
28917         really don't understand what's going on, but like whatever. I want
28918         green buildbot!
28919
28920         * docs/gst/Makefile.am:
28921         * docs/libs/Makefile.am: Dist the overrides files.
28922
28923         * check/Makefile.am (clean-local): Remove .libs directories.
28924
28925         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
28926         elements to EXTRA_DIST, so po/ files are happy.
28927
28928         * po/POTFILES.in: Er, remove it here.
28929
28930         * po/POTFILES: Remove gstspider.c.
28931
28932         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
28933
28934         * docs/libs/gstreamer-libs-docs.sgml: 
28935         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
28936         bytestream.
28937
28938         * tests/complexity.c (main): Set the length of the preroll queue
28939         on the sinks to prevent a lockup.
28940
28941         * libs/gst/dataprotocol/Makefile.am: 
28942         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
28943         the same as the one in check/gst-libs/gdp.c.
28944
28945         * po/, docs/gst/: Commit automatic changes to docs and po files.
28946
28947         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
28948         the versioned libgstbase.
28949
28950         * check/Makefile.am: Depend on an unversioned gst-register, seems
28951         to make autoconf happier.
28952
28953         * gst/base/Makefile.am: Make libgstbase a versioned lib.
28954
28955 2005-03-28  Wim Taymans  <wim@fluendo.com>
28956
28957         * configure.ac:
28958         * docs/design/part-gstelement.txt:
28959         * docs/design/part-negotiation.txt:
28960         * docs/design/part-preroll.txt:
28961         * docs/design/part-scheduling.txt:
28962         * docs/design/part-states.txt:
28963         * gst/Makefile.am:
28964         * gst/base/Makefile.am:
28965         * gst/base/README:
28966         * gst/base/gstbasesink.c: (gst_basesink_get_template),
28967         (gst_basesink_base_init), (gst_basesink_class_init),
28968         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28969         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28970         (gst_basesink_set_pad_functions),
28971         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
28972         (gst_basesink_set_property), (gst_basesink_get_property),
28973         (gst_base_sink_get_template), (gst_base_sink_get_caps),
28974         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
28975         (gst_basesink_preroll_queue_push),
28976         (gst_basesink_preroll_queue_empty),
28977         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
28978         (gst_basesink_event), (gst_basesink_get_times),
28979         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
28980         (gst_basesink_chain_unlocked), (gst_basesink_chain),
28981         (gst_basesink_loop), (gst_basesink_activate),
28982         (gst_basesink_change_state):
28983         * gst/base/gstbasesink.h:
28984         * gst/elements/Makefile.am:
28985         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
28986         (gst_fakesink_class_init), (gst_fakesink_init),
28987         (gst_fakesink_set_property), (gst_fakesink_get_property),
28988         (gst_fakesink_get_times), (gst_fakesink_event),
28989         (gst_fakesink_preroll), (gst_fakesink_render),
28990         (gst_fakesink_change_state):
28991         * gst/elements/gstfakesink.h:
28992         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
28993         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
28994         * gst/gstelement.c: (gst_element_add_pad),
28995         (gst_element_get_state_func), (gst_element_abort_state),
28996         (gst_element_commit_state), (gst_element_lost_state),
28997         (gst_element_set_state), (gst_element_pads_activate):
28998         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
28999         * gst/gstpipeline.c: (gst_pipeline_send_event),
29000         (gst_pipeline_change_state):
29001         Added state change code.
29002         Added/updated docs.
29003         Added sink base class, make fakesink extend the base class.
29004         Small cleanups in GstPipeline.
29005
29006 2005-03-26  David Schleef  <ds@schleef.org>
29007
29008         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29009         is broken and should be implemented in a different library.
29010         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29011         * gst/gst.h: remove gstcpu.h
29012         * gst/gstcpu.c: remove
29013         * gst/gstcpu.h: remove
29014         * gst/Makefile.am.future: Remove this file.  It's ancient.
29015
29016 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29017
29018         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29019         (gst_bin_send_event):
29020           Add default event/set_manager handlers. The set_manager handler
29021           takes care that the manager is distributed over kids that were
29022           already in the bin before the manager was set. The event handler
29023           is a utility virtual function that sends the event over all sinks,
29024           so that gst_element_send_event (bin, event); has the expected
29025           behaviour.
29026         * gst/gstpad.c: (gst_pad_event_default):
29027           Re-install default event handling for discontinuities, so that
29028           seeking works without requiring hacks in applications or extra
29029           code in sinks.
29030         * gst/gstpipeline.c: (gst_pipeline_class_init),
29031         (gst_pipeline_send_event):
29032           Half hack, half utility: set a pipeline to PAUSED for seek events,
29033           since that is the only way we can guarantee a/v sync. Means that
29034           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29035           and it "just works".
29036
29037 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29038
29039         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29040           Lock/unlock mismatch.
29041
29042 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29043
29044         * docs/faq/gst-uninstalled:
29045           add gst-plugins-base
29046         * docs/gst/Makefile.am:
29047           don't error out until docs are fixed
29048         * docs/gst/gstreamer.types:
29049           remove thread
29050
29051 2005-03-22  Wim Taymans  <wim@fluendo.com>
29052
29053         * check/Makefile.am:
29054         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29055         * gst/gststructure.c: (gst_structure_set_valist),
29056         (gst_structure_copy_conditional):
29057         Activated more tests.
29058         Added message test.
29059         Added G_TYPE_POINTER to GstStructure.
29060         
29061
29062 2005-03-22  Wim Taymans  <wim@fluendo.com>
29063
29064         * docs/design/part-TODO.txt:
29065         * docs/design/part-events.txt:
29066         * docs/design/part-gstbin.txt:
29067         * docs/design/part-gstbus.txt:
29068         * docs/design/part-gstpipeline.txt:
29069         * docs/design/part-messages.txt:
29070         * gst/gstbus.c:
29071         * gst/gstmessage.c:
29072         Docs updates
29073
29074 2005-03-21  Wim Taymans  <wim@fluendo.com>
29075
29076         * gst/gstbus.c: (gst_bus_post):
29077         Fix copy-and-paste error.
29078
29079 2005-03-21  Wim Taymans  <wim@fluendo.com>
29080
29081         * check/Makefile.am:
29082         * gst/Makefile.am:
29083         * gst/elements/Makefile.am:
29084         * gst/elements/gstelements.c:
29085         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29086         (gst_fakesink_event), (gst_fakesink_chain):
29087         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29088         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29089         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29090         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29091         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29092         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29093         (gst_fakesrc_loop), (gst_fakesrc_activate),
29094         (gst_fakesrc_change_state):
29095         * gst/elements/gstfakesrc.h:
29096         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29097         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29098         (gst_filesrc_open_file), (gst_filesrc_loop),
29099         (gst_filesrc_activate), (gst_filesrc_change_state),
29100         (filesrc_find_peek), (filesrc_find_suggest),
29101         (gst_filesrc_type_find):
29102         * gst/elements/gstidentity.c: (gst_identity_finalize),
29103         (gst_identity_class_init), (gst_identity_init),
29104         (gst_identity_proxy_getcaps), (identity_queue_push),
29105         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29106         (gst_identity_getrange), (gst_identity_chain),
29107         (gst_identity_sink_loop), (gst_identity_src_loop),
29108         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29109         (gst_identity_set_property), (gst_identity_get_property),
29110         (gst_identity_change_state):
29111         * gst/elements/gstidentity.h:
29112         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29113         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29114         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29115         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29116         (gst_tee_sink_activate):
29117         * gst/elements/gsttee.h:
29118         * gst/gst.c: (gst_register_core_elements), (init_post):
29119         * gst/gst.h:
29120         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29121         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29122         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29123         (gst_bin_change_state):
29124         * gst/gstbin.h:
29125         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29126         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29127         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29128         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29129         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29130         (bus_watch_callback), (bus_watch_destroy),
29131         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29132         (poll_timeout), (gst_bus_poll):
29133         * gst/gstbus.h:
29134         * gst/gstcaps.h:
29135         * gst/gstdata.h:
29136         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29137         (gst_element_post_message), (gst_element_message_full),
29138         (gst_element_get_state_func), (gst_element_get_state),
29139         (gst_element_abort_state), (gst_element_commit_state),
29140         (gst_element_lost_state), (gst_element_set_state),
29141         (gst_element_pads_activate), (gst_element_change_state),
29142         (gst_element_dispose), (gst_element_set_manager_func),
29143         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29144         (gst_element_set_manager), (gst_element_get_manager),
29145         (gst_element_set_bus), (gst_element_get_bus),
29146         (gst_element_set_scheduler), (gst_element_get_scheduler):
29147         * gst/gstelement.h:
29148         * gst/gstevent.c: (gst_event_new_segment_seek),
29149         (gst_event_new_flush):
29150         * gst/gstevent.h:
29151         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29152         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29153         (gst_message_new_eos), (gst_message_new_error),
29154         (gst_message_new_warning), (gst_message_new_tag),
29155         (gst_message_new_state_changed), (gst_message_new_application),
29156         (gst_message_get_structure), (gst_message_parse_tag),
29157         (gst_message_parse_state_changed), (gst_message_parse_error),
29158         (gst_message_parse_warning):
29159         * gst/gstmessage.h:
29160         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29161         (gst_real_pad_set_property), (gst_pad_set_active),
29162         (gst_pad_is_active), (gst_pad_set_blocked_async),
29163         (gst_pad_set_blocked), (gst_pad_is_blocked),
29164         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29165         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29166         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29167         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29168         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29169         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29170         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29171         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29172         (gst_pad_set_caps), (gst_pad_configure_sink),
29173         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29174         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29175         (gst_real_pad_dispose), (gst_real_pad_finalize),
29176         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29177         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29178         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29179         * gst/gstpad.h:
29180         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29181         (pipeline_bus_handler), (gst_pipeline_change_state),
29182         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29183         * gst/gstpipeline.h:
29184         * gst/gstprobe.h:
29185         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29186         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29187         (gst_queue_link_src), (gst_queue_bufferalloc),
29188         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29189         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29190         (gst_queue_loop), (gst_queue_handle_src_event),
29191         (gst_queue_handle_src_query), (gst_queue_src_activate),
29192         (gst_queue_change_state):
29193         * gst/gstqueue.h:
29194         * gst/gstscheduler.c: (gst_scheduler_init),
29195         (gst_scheduler_dispose), (gst_scheduler_create_task),
29196         (gst_scheduler_factory_create):
29197         * gst/gstscheduler.h:
29198         * gst/gststructure.c: (gst_structure_get_type),
29199         (gst_structure_copy_conditional):
29200         * gst/gststructure.h:
29201         * gst/gsttaginterface.h:
29202         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29203         (gst_task_init), (gst_task_dispose), (gst_task_create),
29204         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29205         (gst_task_pause):
29206         * gst/gsttask.h:
29207         * gst/gstthread.c:
29208         * gst/gstthread.h:
29209         * gst/gsttypes.h:
29210         * gst/schedulers/Makefile.am:
29211         * gst/schedulers/cothreads_compat.h:
29212         * gst/schedulers/entryscheduler.c:
29213         * gst/schedulers/faircothreads.c:
29214         * gst/schedulers/faircothreads.h:
29215         * gst/schedulers/fairscheduler.c:
29216         * gst/schedulers/gstbasicscheduler.c:
29217         * gst/schedulers/gstoptimalscheduler.c:
29218         * gst/schedulers/gthread-cothreads.h:
29219         * gst/schedulers/threadscheduler.c:
29220         (gst_thread_scheduler_task_get_type),
29221         (gst_thread_scheduler_task_class_init),
29222         (gst_thread_scheduler_task_init),
29223         (gst_thread_scheduler_task_start),
29224         (gst_thread_scheduler_task_stop),
29225         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29226         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29227         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29228         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29229         (plugin_init):
29230         * libs/gst/Makefile.am:
29231         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29232         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29233         (gst_file_pad_parent_set):
29234         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29235         (gst_dp_event_from_packet):
29236         * tests/complexity.c: (main):
29237         * tests/mass_elements.c: (main):
29238         * testsuite/states/locked.c: (message_received), (main):
29239         * testsuite/states/parent.c: (main):
29240         * tools/gst-inspect.c: (print_element_flag_info),
29241         (print_implementation_info), (print_pad_info):
29242         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29243         (main):
29244         * tools/gst-md5sum.c: (event_loop), (main):
29245         * tools/gst-typefind.c: (main):
29246         * tools/gst-xmlinspect.c: (print_element_info):
29247         Next big merge.
29248         Added GstBus for mainloop integration.
29249         Added GstMessage for sending notifications on the bus.
29250         Added GstTask as an abstraction for pipeline entry points.
29251         Removed GstThread.
29252         Removed Schedulers.
29253         Simplified GstQueue for multithreaded core.
29254         Made _link threadsafe, removed old capsnego.
29255         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29256         Added pad blocking functions.
29257         Reworked scheduling functions in GstPad to prepare for
29258         scheduling updates soon.
29259         Moved events out of data stream.
29260         Simplified GstEvent types.
29261         Added return values to push/pull.
29262         Removed clocking from GstElement.
29263         Added prototypes for state change function for next merge.
29264         Removed iterate from bins and state change management.
29265         Fixed some elements, disabled others for now.
29266         Fixed -inspect and -launch.
29267         Added check for GstBus.
29268
29269 2005-03-10  Wim Taymans  <wim@fluendo.com>
29270
29271         * docs/design/part-MT-refcounting.txt:
29272         * docs/design/part-clocks.txt:
29273         * docs/design/part-gstelement.txt:
29274         * docs/design/part-gstobject.txt:
29275         * docs/design/part-standards.txt:
29276         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29277         (gst_bin_remove_func), (gst_bin_remove):
29278         * gst/gstbin.h:
29279         * gst/gstbuffer.c:
29280         * gst/gstcaps.h:
29281         * testsuite/clock/clock1.c: (main):
29282         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29283         (main):
29284         * testsuite/dlopen/loadgst.c: (do_test):
29285         * testsuite/refcounting/bin.c: (add_remove_test1),
29286         (add_remove_test2), (main):
29287         * testsuite/refcounting/element.c: (main):
29288         * testsuite/refcounting/element_pad.c: (main):
29289         * testsuite/refcounting/pad.c: (main):
29290         * tools/gst-launch.c: (sigint_handler_sighandler):
29291         * tools/gst-typefind.c: (main):
29292         Doc updates.
29293         Added doc about clock.
29294         removed gst_bin_iterate_recurse_up(), marked methods
29295         for removal.
29296         Fix more testsuites.
29297
29298 2005-03-09  Wim Taymans  <wim@fluendo.com>
29299
29300         * gst/gstpad.c: (gst_pad_get_direction),
29301         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29302         (gst_pad_collect_valist):
29303         * testsuite/bins/interface.c: (main):
29304         * testsuite/caps/audioscale.c: (test_caps):
29305         * testsuite/caps/caps.c: (test1), (test2), (test3):
29306         * testsuite/caps/deserialize.c: (main):
29307         * testsuite/caps/enumcaps.c: (main):
29308         * testsuite/caps/filtercaps.c: (main):
29309         * testsuite/caps/intersect2.c: (main):
29310         * testsuite/caps/random.c: (main):
29311         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29312         * testsuite/caps/sets.c: (check_caps):
29313         * testsuite/caps/simplify.c: (check_caps), (main):
29314         * testsuite/caps/subtract.c: (check_caps):
29315         Fix _pad_get_direction wrt ghostpads.
29316         Fix caps testsuite.
29317
29318 2005-03-09  Wim Taymans  <wim@fluendo.com>
29319
29320         * check/Makefile.am:
29321         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29322         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29323         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29324         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29325         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29326         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29327         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29328         (bin_element_is_sink), (gst_bin_iterate_sinks),
29329         (gst_bin_iterate_all_by_interface):
29330         * gst/gstbin.h:
29331         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29332         (gst_element_change_state), (gst_element_dispose),
29333         (gst_element_finalize), (gst_element_set_loop_function):
29334         * gst/gstelement.h:
29335         * gst/gstiterator.c: (find_custom_fold_func):
29336         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29337         (gst_pad_collectv), (gst_pad_collect_valist),
29338         (gst_pad_template_new):
29339         * gst/gstpipeline.c: (gst_pipeline_class_init),
29340         (gst_pipeline_dispose), (gst_pipeline_set_property),
29341         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29342         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29343         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29344         * gst/gstutils.h:
29345         * gst/schedulers/entryscheduler.c:
29346         * gst/schedulers/gstbasicscheduler.c:
29347         (gst_basic_scheduler_cothreaded_chain),
29348         (gst_basic_scheduler_chain_add_element):
29349         * testsuite/bins/interface.c: (main):
29350         Added GstBin test.
29351         Added GstSystemClock test.
29352         Implemented clock distribution code in GstBin.
29353         Implemented iterate sinks method for future use.
29354         Rearranged gstelement.h
29355         Fix GstIterator comparison bug.
29356         Moved some code to GstPipeline, mostly clocking related.
29357
29358 2005-03-09  Wim Taymans  <wim@fluendo.com>
29359
29360         * configure.ac:
29361         * gst/gst_private.h:
29362         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29363         (gst_bin_remove_func), (gst_bin_remove),
29364         (gst_bin_get_by_name_recurse_up):
29365         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29366         (gst_clock_id_compare_func), (gst_clock_id_wait),
29367         (gst_clock_id_wait_async), (gst_clock_init),
29368         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29369         * gst/gstelement.h:
29370         * gst/gstinfo.c: (_gst_debug_init):
29371         * gst/gstobject.h:
29372         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29373         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29374         * gst/gstpad.h:
29375         Bump version number, we're now 0.9.0
29376         Add future debugging category.
29377         Fix NULL _unref() in _get_by_name_recurse_up
29378         Rearrange gstpad.h.
29379         Update some docs.
29380
29381 2005-03-08  Wim Taymans  <wim@fluendo.com>
29382
29383         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29384         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29385         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29386         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29387         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29388         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29389         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29390         * gst/elements/gstidentity.c: (gst_identity_class_init):
29391         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29392         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29393         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29394         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29395         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29396         (gst_tee_link):
29397         * gst/gstelement.c: (gst_element_class_init),
29398         (gst_element_base_class_init), (gst_element_init),
29399         (gst_element_get_random_pad), (gst_element_wait_state_change),
29400         (gst_element_change_state), (gst_element_dispose),
29401         (gst_element_finalize), (gst_element_set_loop_function):
29402         * gst/gstelement.h:
29403         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29404         * gst/gstthread.c: (gst_thread_class_init),
29405         (gst_thread_release_children_locks), (gst_thread_change_state):
29406         * gst/schedulers/gstbasicscheduler.c:
29407         (gst_basic_scheduler_loopfunc_wrapper),
29408         (gst_basic_scheduler_chain_wrapper),
29409         (gst_basic_scheduler_src_wrapper),
29410         (gst_basic_scheduler_remove_element):
29411         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29412         Remove threadsafe properties. Fix elements because GObject
29413         complains when installing a property before declaring a
29414         set/get_property handler.
29415         Rearrange gstelement.h file, use STATE macros for state locks.
29416         Free mutexes in the finalize method instead of dispose.
29417
29418 2005-03-08  Wim Taymans  <wim@fluendo.com>
29419
29420         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29421         * gst/gstthread.c: (gst_thread_release_children_locks):
29422         Added parentage check.
29423         Fix build og GstThread again.
29424
29425 2005-03-08  Wim Taymans  <wim@fluendo.com>
29426
29427         * docs/design/part-MT-refcounting.txt:
29428         * docs/design/part-conventions.txt:
29429         * docs/design/part-gstobject.txt:
29430         * docs/design/part-relations.txt:
29431         * docs/design/part-standards.txt:
29432         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29433         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29434         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29435         (gst_bin_iterate_all_by_interface):
29436         * gst/gstbuffer.h:
29437         * gst/gstclock.h:
29438         * gst/gstelement.c: (gst_element_class_init),
29439         (gst_element_change_state), (gst_element_set_loop_function):
29440         * gst/gstelement.h:
29441         * gst/gstiterator.c:
29442         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29443         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29444         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29445         (gst_object_set_parent), (gst_object_unparent),
29446         (gst_object_check_uniqueness):
29447         * gst/gstobject.h:
29448         Docs updates, clean up some headers.
29449
29450 2005-03-07  Wim Taymans  <wim@fluendo.com>
29451
29452         * check/.cvsignore:
29453         * check/Makefile.am:
29454         * check/gst-libs/.cvsignore:
29455         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29456         * check/gst/.cvsignore:
29457         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29458         (START_TEST), (gstbus_suite), (main):
29459         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29460         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29461         (gst_data_suite), (main):
29462         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29463         (add_fold_func), (gstiterator_suite), (main):
29464         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29465         (thread_name_object), (thread_name_object_default),
29466         (gst_object_name_compare), (gst_object_suite), (main):
29467         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29468         (gst_pad_suite), (main):
29469         * check/gstcheck.c: (gst_check_log_message_func),
29470         (gst_check_log_critical_func), (gst_check_init):
29471         * check/gstcheck.h:
29472         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29473         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29474         Added checks.
29475
29476 2005-03-07  Wim Taymans  <wim@fluendo.com>
29477
29478         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29479         (gst_list_iterator_next), (gst_list_iterator_resync),
29480         (gst_list_iterator_free), (gst_iterator_new_list),
29481         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29482         (gst_iterator_free), (gst_iterator_push), (filter_next),
29483         (filter_resync), (filter_uninit), (filter_free),
29484         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29485         (gst_iterator_foreach), (find_custom_fold_func),
29486         (gst_iterator_find_custom):
29487         * gst/gstiterator.h:
29488         Added missing files.
29489
29490 2005-03-07  Wim Taymans  <wim@fluendo.com>
29491
29492         * Makefile.am:
29493         * configure.ac:
29494         * docs/design/part-MT-refcounting.txt:
29495         * docs/design/part-conventions.txt:
29496         * docs/design/part-gstobject.txt:
29497         * docs/design/part-relations.txt:
29498         * examples/mixer/mixer.c: (main):
29499         * examples/thread/thread.c: (eos), (main):
29500         * gst/Makefile.am:
29501         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29502         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29503         (gst_spider_plug_from_srcpad):
29504         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29505         (gst_spider_identity_change_state),
29506         (gst_spider_identity_sink_loop_type_finding):
29507         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29508         * gst/elements/gstidentity.c: (gst_identity_init):
29509         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29510         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29511         * gst/elements/gsttypefindelement.c: (free_entry):
29512         * gst/gst.c:
29513         * gst/gst.h:
29514         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29515         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29516         (gst_bin_set_index), (gst_bin_set_element_sched),
29517         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29518         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29519         (gst_bin_iterate_elements), (iterate_child_recurse),
29520         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29521         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29522         (compare_interface), (gst_bin_get_by_interface),
29523         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29524         * gst/gstbin.h:
29525         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29526         (gst_buffer_default_free), (gst_buffer_default_copy),
29527         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29528         (gst_buffer_create_sub):
29529         * gst/gstbuffer.h:
29530         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29531         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29532         (gst_caps_unref), (gst_static_caps_get),
29533         (gst_caps_remove_and_get_structure), (gst_caps_append),
29534         (gst_caps_append_structure), (gst_caps_remove_structure),
29535         (gst_caps_copy_nth), (gst_caps_set_simple),
29536         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29537         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29538         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29539         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29540         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29541         (gst_caps_structure_figure_out_union),
29542         (gst_caps_switch_structures), (gst_caps_do_simplify),
29543         (gst_caps_replace), (gst_caps_from_string),
29544         (gst_caps_copy_conditional):
29545         * gst/gstcaps.h:
29546         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29547         (_gst_clock_id_free), (gst_clock_id_unref),
29548         (gst_clock_id_compare_func), (gst_clock_id_wait),
29549         (gst_clock_id_wait_async), (gst_clock_class_init),
29550         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29551         (gst_clock_get_time), (gst_clock_set_time_adjust),
29552         (gst_clock_set_property), (gst_clock_get_property):
29553         * gst/gstclock.h:
29554         * gst/gstcompat.h:
29555         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29556         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29557         * gst/gstdata.h:
29558         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29559         (gst_element_requires_clock), (gst_element_provides_clock),
29560         (gst_element_set_clock), (gst_element_clock_wait),
29561         (gst_element_wait), (gst_element_set_time_delay),
29562         (gst_element_is_indexable), (gst_element_add_pad),
29563         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29564         (pad_compare_name), (gst_element_get_static_pad),
29565         (gst_element_request_pad), (gst_element_get_request_pad),
29566         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29567         (gst_element_class_get_pad_template_list),
29568         (gst_element_class_get_pad_template), (gst_element_error_func),
29569         (gst_element_get_random_pad), (gst_element_get_event_masks),
29570         (gst_element_send_event), (gst_element_seek),
29571         (gst_element_get_query_types), (gst_element_query),
29572         (gst_element_get_formats), (gst_element_convert),
29573         (gst_element_is_locked_state), (gst_element_set_locked_state),
29574         (gst_element_sync_state_with_parent), (gst_element_change_state),
29575         (gst_element_finalize), (gst_element_yield),
29576         (gst_element_interrupt), (gst_element_set_scheduler),
29577         (gst_element_get_scheduler), (gst_element_set_loop_function):
29578         * gst/gstelement.h:
29579         * gst/gstevent.h:
29580         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29581         (gst_format_get_by_nick), (gst_format_get_details),
29582         (gst_format_iterate_definitions):
29583         * gst/gstformat.h:
29584         * gst/gstindex.c: (gst_index_gtype_resolver):
29585         * gst/gstinfo.c:
29586         * gst/gstinfo.h:
29587         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29588         (gst_mem_chunk_free):
29589         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29590         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29591         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29592         (gst_object_dispatch_properties_changed),
29593         (gst_object_set_name_default), (gst_object_set_name),
29594         (gst_object_get_name), (gst_object_set_name_prefix),
29595         (gst_object_get_name_prefix), (gst_object_set_parent),
29596         (gst_object_get_parent), (gst_object_unparent),
29597         (gst_object_check_uniqueness), (gst_object_save_thyself),
29598         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29599         (gst_object_set_property), (gst_object_get_property),
29600         (gst_object_get_path_string):
29601         * gst/gstobject.h:
29602         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29603         (gst_real_pad_init), (gst_real_pad_get_property),
29604         (gst_pad_custom_new), (gst_pad_get_direction),
29605         (gst_pad_set_active), (gst_pad_is_active),
29606         (gst_pad_set_event_function), (gst_pad_is_linked),
29607         (gst_pad_link_free), (gst_pad_link_intersect),
29608         (gst_pad_link_fixate), (gst_pad_set_caps),
29609         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29610         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29611         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29612         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29613         (gst_pad_get_caps), (gst_pad_peer_get_caps),
29614         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29615         (gst_pad_realize), (gst_pad_get_allowed_caps),
29616         (gst_real_pad_dispose), (gst_real_pad_finalize),
29617         (gst_pad_collectv), (gst_pad_collect_valist),
29618         (gst_pad_template_dispose), (gst_pad_template_new),
29619         (gst_pad_get_internal_links):
29620         * gst/gstpad.h:
29621         * gst/gstpipeline.c: (gst_pipeline_dispose),
29622         (gst_pipeline_change_state):
29623         * gst/gstpipeline.h:
29624         * gst/gstplugin.c:
29625         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29626         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29627         * gst/gstpluginfeature.h:
29628         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29629         * gst/gstquery.c: (_gst_query_type_initialize),
29630         (gst_query_type_register), (gst_query_type_get_by_nick),
29631         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29632         * gst/gstquery.h:
29633         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29634         * gst/gstscheduler.c: (gst_scheduler_add_element),
29635         (gst_scheduler_factory_create):
29636         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29637         (gst_structure_free), (gst_structure_set_name),
29638         (gst_structure_id_set_value), (gst_structure_set_value),
29639         (gst_structure_set_valist), (gst_structure_remove_field),
29640         (gst_structure_remove_fields),
29641         (gst_structure_remove_fields_valist),
29642         (gst_structure_remove_all_fields), (gst_structure_foreach),
29643         (gst_structure_map_in_place),
29644         (gst_caps_structure_fixate_field_nearest_int),
29645         (gst_caps_structure_fixate_field_nearest_double):
29646         * gst/gststructure.h:
29647         * gst/gstsystemclock.c: (gst_system_clock_class_init),
29648         (gst_system_clock_init), (gst_system_clock_dispose),
29649         (gst_system_clock_async_thread),
29650         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29651         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29652         * gst/gstsystemclock.h:
29653         * gst/gsttag.c: (gst_tag_list_add_value_internal),
29654         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29655         * gst/gsttaginterface.c:
29656         * gst/gstthread.c: (gst_thread_dispose),
29657         (gst_thread_release_children_locks), (gst_thread_change_state),
29658         (gst_thread_main_loop):
29659         * gst/gsttrashstack.h:
29660         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29661         * gst/gsttypes.h:
29662         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29663         (gst_element_request_pad), (gst_element_get_pad_from_template),
29664         (gst_element_request_compatible_pad),
29665         (gst_element_get_compatible_pad_filtered),
29666         (gst_element_get_compatible_pad), (gst_element_state_get_name),
29667         (gst_element_link_pads_filtered), (gst_element_link_filtered),
29668         (gst_element_link_many), (gst_element_link),
29669         (gst_element_link_pads), (gst_element_unlink_pads),
29670         (gst_element_unlink_many), (gst_element_unlink),
29671         (gst_pad_can_link_filtered), (gst_pad_can_link),
29672         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29673         (gst_object_default_error), (gst_bin_add_many),
29674         (gst_bin_remove_many), (gst_element_populate_std_props),
29675         (gst_element_class_install_std_props), (gst_buffer_merge),
29676         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29677         (link_fold_func), (gst_pad_proxy_setcaps):
29678         * gst/gstutils.h:
29679         * gst/gstvalue.c: (gst_value_deserialize_string):
29680         * gst/parse/grammar.y:
29681         * gst/schedulers/gstbasicscheduler.c:
29682         (gst_basic_scheduler_cothreaded_chain),
29683         (gst_basic_scheduler_chain_recursive_add),
29684         (gst_basic_scheduler_pad_link):
29685         * gst/schedulers/gstoptimalscheduler.c:
29686         (get_group_schedule_function),
29687         (gst_opt_scheduler_state_transition),
29688         (gst_opt_scheduler_add_element), (element_get_reachables_func):
29689         * libs/gst/bytestream/bytestream.c:
29690         * libs/gst/dataprotocol/dataprotocol.c:
29691         (gst_dp_header_from_buffer):
29692         * po/nb.po:
29693         * po/ru.po:
29694         * tests/threadstate/threadstate2.c: (eos):
29695         * tools/gst-compprep.c: (main):
29696         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29697         (print_pad_info), (print_children_info):
29698         * tools/gst-launch.c: (idle_func), (main):
29699         * tools/gst-md5sum.c: (idle_func), (main):
29700         * tools/gst-xmlinspect.c: (print_element_info):
29701         First THREADED backport attempt, focusing on adding locks and
29702         making sure the API is threadsafe. Needs more work. More docs
29703         follow this week.
29704
29705 2005-02-24  Andy Wingo  <wingo@pobox.com>
29706
29707         * tests/bench-complexity.scm:
29708         * tests/complexity.gnuplot: New files, good for running complexity
29709         benchmarks.
29710
29711         * tests/Makefile.am:
29712         * tests/complexity.c: New test, sets up N elements, at each level
29713         teeing into M streams per element. Eeeenteresting.
29714
29715         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29716         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29717         running bench-mass_elements.scm.
29718
29719         * tests/bench-mass_elements.scm: New script, runs mass_elements
29720         for various numbers of identities, outputting the results to a
29721         file. Requires guile 1.6. Just for testing.
29722
29723 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29724
29725         * gst/schedulers/fairscheduler.c:
29726           compile with debug disabled
29727
29728 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29729
29730         * configure.ac:
29731           hunting season on 0.9 is now OPEN