libs/gst/controller/gstcontroller.c: Use freeze/thaw notify to sync notify emission...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2
3         * libs/gst/controller/gstcontroller.c:
4           Use freeze/thaw notify to sync notify emission a bit (its also more
5           efficient). Move debug output to LOG (is called a lot in a loop).
6           Always unset g_values if the have been initialized.
7
8 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
9
10         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
11         (gst_base_sink_wait_eos), (gst_base_sink_event):
12         If we have not seen a buffer before EOS, use the segment values to
13         report the current position instead of invalid positions.
14
15 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
16
17         * docs/plugins/tmpl/.cvsignore:
18         * tests/check/gst/.cvsignore:
19           Ignore more.
20
21 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
22
23         * libs/gst/controller/gstinterpolation.c:
24         * libs/gst/controller/gstinterpolationcontrolsource.c:
25         * tests/check/libs/controller.c:
26           Rewrite handling of default values. Fix overflow with unsigned types
27           in linear interpolation. Remove now obsolete _first_value() function.
28           Add more tests. Fixes #538201.
29
30 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
31
32         * libs/gst/base/gstbasetransform.c:
33         (gst_base_transform_class_init), (gst_base_transform_init),
34         (gst_base_transform_transform_caps),
35         (gst_base_transform_prepare_output_buffer):
36         Add debug info.
37         When a buffer is writable, its metadata is also writable so we don't
38         need to subbuffer (which then makes the buffer not-writable anymore).
39
40 === release 0.10.20 ===
41
42 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
43
44         * configure.ac:
45           releasing 0.10.20, "You Crazy Diamond"
46
47 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
48
49         * configure.ac:
50         0.10.19.3 pre-release
51
52 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
53
54         * configure.ac:
55         * gst/gstpreset.c:
56         Rename DATADIR to GST_DATADIR to avoid build problems
57         on win32. Patch By: David Schleef <ds@schleef.org>
58         Fixes: #536857
59
60 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
61
62         * configure.ac:
63         Explicitely link with -ldl if dladdr() is found there. Before it was
64         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
65         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
66
67 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
68
69         * gst/gsterror.c: (_gst_stream_errors_init):
70           Fix typo (spotted by Fabricio Godoy, #536723).
71
72 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
73
74         * configure.ac:
75         0.10.19.2 pre-release
76
77 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
78
79         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
80         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
81         Add some debug.
82         Make sure we don't generate invalid QoS messages.
83
84 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
85
86         * gst/gstevent.c: (gst_event_new_qos):
87         Add some assert and docs for invalid input to the qos function.
88
89 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
90
91         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
92         (gst_base_sink_get_position):
93         The reported position must always be smaller than the last seen
94         timestamps (or timestamp + duration for reverse).
95
96 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
97
98         Patch by: Rob Bradford <rob at robster dot org dot uk>
99
100         * gst/gstregistry.c: (gst_registry_scan_path_level):
101         Don't recurse into .debug directories as some distros install
102         the debugging symbols next to the plugins in .debug directories
103         and dlopen() crashes on them sometimes. Fixes bug #508070.
104
105         Add FIXME for 0.11 to not recurse into directories at all because
106         it's very inconsistent to the behaviour of other PATH environment
107         variables.
108
109 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
110
111         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
112         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
113         Fix position query range checks in reverse playback.
114
115 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
116
117         * gst/gstelement.c:
118         * gst/gstelement.h:
119         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
120         clear of the reference to the resulting pad must be released later
121         or not, resulting in possible leaks. Fixes bug #533865.
122
123 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
124
125         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
126
127         * gst/gstelementfactory.c:
128         Small doc fix. Fixes #535285.
129
130 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
131
132         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
133
134         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
135         (gst_base_src_get_range), (gst_base_src_pad_get_range),
136         (gst_base_src_loop), (gst_base_src_set_flushing),
137         (gst_base_src_change_state):
138         Make sending an EOS event to the basesrc non-blocking even if the
139         implementation does blocking waits in the create function. This is done
140         by unlocking the create function when EOS is sent.
141         Fixes #535218.
142
143 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
144
145         * tools/gst-inspect.c: (print_element_properties_info):
146         If possible print the element type of GValueArray properties.
147
148 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
149
150         * gst/gstiterator.c:
151         Remove an unused field from the private GstListIterator struct.
152
153 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
154
155         * libs/gst/controller/gstcontroller.c:
156           Add parameter guards.
157
158 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
159
160         * tests/check/gst/gstpipeline.c:
161           Revert test change and add comment why it should not work.
162
163 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
164
165         * tests/check/gst/gstpipeline.c:
166           Extending the test a little to verify that we also get the NULL state-
167           change message.
168
169 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
170
171         * gst/gstpreset.c: (gst_preset_default_get_meta),
172           (gst_preset_get_preset_names), (gst_preset_get_property_names),
173           (gst_preset_load_preset), (gst_preset_save_preset),
174           (gst_preset_rename_preset), (gst_preset_delete_preset),
175           (gst_preset_set_meta):
176           Add Since: markers to docs blurbs.
177
178         * win32/common/libgstreamer.def:
179           Add recently-added API.
180
181 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
182
183         Patch by: Stefan Kost  <ensonic@users.sf.net>
184
185         * configure.ac:
186         Add DATADIR for storing presets.
187
188         * docs/gst/gstreamer-docs.sgml:
189         * docs/gst/gstreamer-sections.txt:
190         * docs/gst/gstreamer.types.in:
191         Add GstPreset to docs.
192
193         * gst/Makefile.am:
194         * gst/gst.h:
195         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
196         (preset_open_and_parse_header), (preset_parse_version),
197         (preset_merge), (preset_get_keyfile),
198         (gst_preset_default_get_preset_names),
199         (gst_preset_default_get_property_names),
200         (gst_preset_default_load_preset),
201         (gst_preset_default_save_presets_file),
202         (gst_preset_default_save_preset),
203         (gst_preset_default_rename_preset),
204         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
205         (gst_preset_default_get_meta), (gst_preset_default_randomize),
206         (gst_preset_default_reset), (gst_preset_get_preset_names),
207         (gst_preset_get_property_names), (gst_preset_load_preset),
208         (gst_preset_save_preset), (gst_preset_rename_preset),
209         (gst_preset_delete_preset), (gst_preset_set_meta),
210         (gst_preset_get_meta), (gst_preset_class_init),
211         (gst_preset_base_init), (gst_preset_get_type):
212         * gst/gstpreset.h:
213         Add GstPreset to core. Fixes #396779
214
215         * tests/check/Makefile.am:
216         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
217         (gst_preset_test_set_property), (gst_preset_test_class_init),
218         (gst_preset_test_base_init), (gst_preset_test_get_type),
219         (gst_preset_test_plugin_init), (GST_START_TEST),
220         (remove_preset_file), (test_setup), (test_teardown),
221         (gst_preset_suite):
222         Add GstPreset unit tests.
223
224 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
225
226         * gst/gstpad.c: (gst_pad_event_default_dispatch):
227         The default event function on a sinkpad should return TRUE when
228         there are no internal links but should collect the return values from
229         the internal links otherwise.
230
231 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
232
233         * plugins/elements/gsttypefindelement.c:
234         (gst_type_find_element_src_event),
235         (gst_type_find_element_handle_event):
236         Use faster and safer _pad_push_event().
237
238 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
239
240         * docs/gst/gstreamer-sections.txt:
241         * gst/gstutils.c: (element_find_unlinked_pad),
242           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
243         * gst/gstutils.h:
244           API: add gst_bin_find_unlinked_pad()
245           API: deprecate gst_bin_find_unconnected_pad() (#401456)
246
247 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
248
249         * gst/gstclock.c:
250         * gst/gstclock.h:
251         * gst/gsttask.c:
252         * gst/gsttask.h:
253         Fixed a bunch of typos.
254
255 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
256
257         * gst/gstpad.h:
258         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
259           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
260           (gst_parse_bin_from_description_full):
261         * gst/gstutils.h:
262           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
263
264 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
265
266         * docs/pwg/advanced-tagging.xml:
267           Small docs update, can't be bothered to rewrite the nonsensical
268           examples right now.
269
270 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
271
272         * gst/gstevent.h:
273           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
274
275 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
276
277         * gst/parse/grammar.y:
278           Remove unneeded casts.
279
280 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
281
282         * gst/parse/grammar.y:
283         * tests/check/pipelines/parse-launch.c:
284           Get all missing elements from a parse launch string if possible
285           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
286
287 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
288
289         * tests/check/Makefile.am:
290         * tests/check/pipelines/parse-launch.c:
291           Add some unit tests for the new gst_parse_launch*_full() API.
292           (Exposes a previously-existing memory leak in the error code
293           path, so adding to VALGRIND_TO_FIX for now).
294
295 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
296
297         * docs/gst/gstreamer-sections.txt:
298         * gst/gst.c: (init_post):
299         * gst/gst_private.h: (_GstParseContext):
300         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
301           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
302           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
303           (gst_parse_launch_full):
304         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
305           (GstParseFlags), (GstParseContext):
306         * gst/gstutils.c: (gst_parse_bin_from_description),
307           (gst_parse_bin_from_description_full):
308         * gst/gstutils.h:
309         * gst/parse/grammar.y:
310         * gst/parse/types.h:
311         * win32/common/libgstreamer.def:
312           Add new gst_parse_*_full API (#528178):
313           API: gst_parse_launch_full()
314           API: gst_parse_launchv_full()
315           API: gst_parse_bin_from_description_full()
316           API: gst_parse_context_new()
317           API: gst_parse_context_free()
318           API: gst_parse_context_get_missing_elements()
319
320 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
321
322         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
323
324         * docs/faq/gst-uninstalled:
325           Also support ffmpeg in gst-uninstalled.
326
327 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
328
329         * configure.ac:
330         After discussion on IRC use the binary registry as default
331         but allow to disable it with --disable-binary-registry.
332
333         * win32/common/libgstreamer.def:
334         Add the two new symbols for the binary registry.
335
336 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
337
338         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
339         * gst/gstutils.c: (gst_parse_bin_from_description):
340         * gst/parse/grammar.y: (graph):
341           More guards against bad input; typo fix; some minor clean-ups.
342
343 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
344
345         Patch by: Sjoerd Simons <sjoerd at luon dot net>
346
347         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
348         If nothing else can be used, use the last buffer's start time as
349         the segment's last stop. Fixes bug #534258.
350
351 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
352
353         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
354           Move size sanity check to the right place: downstream may return
355           a buffer with a smaller size if the buffer caps are different than
356           the requested ones, as may happen when doing reverse negotiation.
357
358 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
359
360         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
361         (gst_file_sink_render):
362         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
363         (gst_file_src_start):
364         Small cleanups. Add note adbout g_fopen() on windows and why we don't
365         use it yet.
366
367 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
368
369         * gst/gstpad.c: (gst_pad_load_and_link):
370         * gst/gstutils.c: (gst_element_link_pads),
371         (gst_element_unlink_pads):
372         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
373         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
374         (gst_check_teardown_sink_pad),
375         (gst_check_element_push_buffer_list):
376         * tests/check/elements/fakesink.c: (GST_START_TEST):
377         * tests/check/elements/filesink.c:
378         * tests/check/elements/filesrc.c: (GST_START_TEST):
379         * tests/check/elements/multiqueue.c: (setup_multiqueue),
380         (mq_sinkpad_to_srcpad):
381         * tests/check/elements/tee.c: (GST_START_TEST):
382         * tests/check/generic/sinks.c: (GST_START_TEST):
383         * tests/check/gst/gstbin.c: (GST_START_TEST):
384         * tests/check/gst/gstevent.c: (GST_START_TEST):
385         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
386         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
387         * tests/check/gst/gstquery.c: (GST_START_TEST):
388         * tests/check/gst/gstutils.c: (GST_START_TEST):
389         * tests/check/libs/basesrc.c: (GST_START_TEST):
390         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
391         (gst_parse_test_element_change_state):
392         Don't use gst_element_get_pad().
393
394 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
395
396         * docs/Makefile.am:
397         Fix installing plugin documentation when gtk-doc is disabled.
398
399 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
400
401         * docs/manual/advanced-autoplugging.xml:
402         * docs/manual/basics-helloworld.xml:
403         * docs/manual/basics-pads.xml:
404         * docs/manual/highlevel-components.xml:
405         Avoid using a bad function in the example code.
406
407 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
408
409         * gst/gstclock.c: (gst_clock_set_calibration):
410         Fix debug of the new clock rate.
411
412 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
413
414         * win32/common/libgstbase.def:
415         Add gst_base_sink_wait_clock() to the exported symbols.
416
417 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
418
419         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
420
421         * libs/gst/base/gstbasetransform.c:
422         (gst_base_transform_sink_event):
423         Unref events that the GstBaseTransform::event vfunc didn't want to
424         have forwarded by the base class. Closes a leak in identity.
425         Fixes bug #446763.
426
427 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
428
429         * docs/libs/gstreamer-libs-sections.txt:
430         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
431         * libs/gst/base/gstbasesink.h:
432         Expose a method that was previously used internally to synchronize
433         against the clock because it can be useful for subclasses too.
434         API: GstBaseSink::gst_base_sink_wait_clock()
435
436 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
437
438         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
439           Add sanity check to make sure we don't get smaller buffers
440           than requested (and fallback to normal buffer alloc if we do).
441
442 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
443
444         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
445         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
446         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
447         Refactor adjusting the running_time with latency and offset into a
448         separate method.
449         When doing clipping, we still want to use the subclass get_times method,
450         just in case the DURATION or TIMESTAMP are not set.
451
452 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
453
454         * docs/gst/gstreamer-sections.txt:
455         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
456         * gst/gsttypefind.h:
457         * win32/common/libgstreamer.def:
458           API: add gst_type_find_suggest_simple(), #533740.
459
460 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
461
462         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
463           Use right error code when typefinding fails, so we can use
464           the default (translated) error messages.
465
466 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
467
468         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
469         (gst_base_src_start):
470         When the subclass did not set caps on outgoing buffers, configure the
471         caps we negotiated on the source pad.
472         When the typefind helper does not find caps, error out properly instead
473         of doing things with NULL caps.
474
475 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
476
477         * gst/gsttypefind.h:
478           Tabs to spaces, oh yes!
479
480 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
481
482         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
483           Add David's and Benjamin's tests for array intersection to the
484           unit test suite (#147931).
485
486 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
487
488         * gst/gstevent.c:
489           Document that gst_event_new_tag() and gst_event_new_navigation()
490           take ownership of the taglist/structure passed to them. (#533635).
491
492 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
493
494         * docs/Makefile.am:
495         Don't descend into the plugins dir if plugin docs building
496         is disabled.
497
498         * docs/README:
499         Add a note about the new type:GTypeName syntax for the plugin
500         documentation .types file.
501
502 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
503
504         * gst/gstmessage.c: (gst_message_new_error),
505         (gst_message_new_warning), (gst_message_new_info):
506         * gst/gstmessage.h:
507         Mark the debug string parameters as const. Fixes bug #533490.
508
509 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
510
511         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
512         Sort buffer cache list by end offsets. This makes sure that we don't
513         stop to search for a cached buffer that contains the requested data
514         too early.
515         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
516         more efficient. Fixes bug #459862.
517
518 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
519
520         * gst/gstinfo.c:
521           Explain why we copy the list.
522
523         * gst/gstpipeline.c:
524           Improve docs.
525
526         * gst/gstutils.c:
527           Add one debug-log statement to help tracing probelms with linking pads.
528
529 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
530
531         * tests/check/gst/gstinfo.c:
532         Add a test for removing the default log handler. Seems to fail under
533         windows.
534
535 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
536
537         * gst/gstpad.c: (gst_pad_peer_accept_caps):
538         Release pad lock before calling out to avoid a possible deadlock.
539
540 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
541
542         * gst/parse/grammar.y:
543         Remove unneeded value unset.
544
545         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
546         Add unit test for de/serialization of caps.
547
548 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
549
550         * plugins/elements/gstfakesink.c:
551         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
552         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
553         (gst_fake_src_class_init):
554         Use custom marshalers that take GstMiniObject as first parameter.
555         Using OBJECT as parameter while a GstMiniObject is given will lead
556         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
557
558 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
559
560         * plugins/elements/gsttypefindelement.c:
561         (gst_type_find_element_handle_event),
562         (gst_type_find_element_send_cached_events),
563         (gst_type_find_element_change_state):
564         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
565         immediately.
566
567 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
568
569         * plugins/elements/gsttypefindelement.c:
570         (gst_type_find_handle_src_query), (stop_typefinding),
571         (gst_type_find_element_handle_event),
572         (gst_type_find_element_send_cached_events),
573         (gst_type_find_element_change_state):
574         Forward FLUSH_START events immediately and clean up instead of
575         caching them.
576
577 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
578
579         Patch by: Sjoerd Simons <sjoerd at luon dot net>
580
581         * libs/gst/base/gstbasetransform.c:
582         (gst_base_transform_buffer_alloc):
583         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
584         fall back to default negotiation in the chain function if the caps
585         are different from what was requested. Fixes bug #526768.
586
587 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
588
589         * gst/gstsegment.c:
590         * tests/check/gst/gstsegment.c:
591           No, let's not use g_slice_{dup|copy} here, since they only exist
592           since GLib 2.14 and we still depend only on >= 2.12. Also add
593           unit test for gst_segment_copy().
594
595 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
596
597         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
598           Try to fix 'dereferencing type-punned pointer will break strict
599           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
600           changed the default GType typedef from gulong to gsize at some point,
601           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
602           g_once_* functions all take a gsize * though, so work around the type
603           mismatch for C++ by doing everything in gsize and casting to GType
604           later.
605
606 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
607
608         * plugins/elements/gstmultiqueue.c:
609         Add documentation for the signals to push our core plugin docs
610         coverage back up to 100%.
611
612 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
613
614         * gst/gstinfo.h (GST_FUNCTION):
615           Reverted GST_FUNCTION to the old version as we don't want the
616           full signature in C++ code. Also added support for MSVC.
617
618 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
619
620         * gst/gstutils.h:
621         Intern the type name string, similar to what G_DEFINE_TYPE does.
622
623 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
624
625         * gst/gstutils.h:
626         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
627
628 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
629
630         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
631
632         * libs/gst/base/gstbasetransform.c:
633         (gst_base_transform_buffer_alloc):
634         Don't passthrough buffer allocation too easily if the caps change.
635         This breaks when working in passthrough mode and upstream changes
636         it's caps. Fixes bug #526768.
637
638 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
639
640         * gst/gstinfo.c (gst_debug_log_valist):
641           Improved the __FILE__ part of debug output for MSVC.
642
643 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
644
645         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
646           Declaration after statement fix for compilers like MSVC.
647
648 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
649
650         * win32/common/config.h.in:
651           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
652           use the real thing than having "???" unconditionally.
653
654 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
655
656         * gst/gstinfo.h (GST_FUNCTION):
657           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
658
659 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
660
661         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
662         Small code cleanup.
663
664         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
665         (gst_base_sink_set_flushing):
666         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
667         Fix some comments.
668
669 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
670
671         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
672         (gst_fake_src_init), (gst_fake_src_set_property),
673         (gst_fake_src_get_property), (gst_fake_src_start):
674         * plugins/elements/gstfakesrc.h:
675         Added format property to control the format of the newsegment events.
676         API: GstFakeSrc:format
677
678 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
679
680         * win32/common/libgstreamer.def:
681         Add gst_pad_has_name() to the exported symbols.
682
683 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
684
685         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
686         * libs/gst/base/gstbasetransform.c:
687         (gst_base_transform_prepare_output_buffer):
688         Don't allow negative sizes when allocating new buffers.
689         Fixes bug #461253.
690
691 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
692
693         Patch by: Sjoerd Simons <sjoerd at luon net>
694
695         * gst/gstbus.c: (gst_bus_source_dispatch):
696           Don't print a warning if the queue is empty when we try to pop
697           here. That could happen if another thread or callback set the
698           bus to flushing between the source's check/prepare and the
699           dispatch being called (#531538).
700
701 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
702
703         * plugins/elements/gstmultiqueue.c:
704           Small docs fix.
705         
706 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
707
708         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
709         Add unit test for deserializing uint64s and check some really large
710         numbers in the int64 test.
711
712 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
713
714         * tools/gst-inspect.c: (n_print), (print_hierarchy),
715         (print_interfaces), (print_element_properties_info),
716         (print_signal_info):
717         Use "%s" as format string instead of printing strings directly.
718
719 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
720
721         * gst/gstclock.c: (gst_clock_set_calibration):
722         Make some checks actually useful.
723
724         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
725         Remove some unused code. Unsigned integers tend to be >= 0.
726
727 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
728
729         * gst/gstminiobject.c: (gst_value_get_mini_object):
730           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
731           function was not in the unscheduled 0.10.19 release.
732
733 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
734
735         * gst/gstregistry.c: (gst_registry_scan_path_level):
736           Only print one log message per non-plugin file.
737
738 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
739
740         * gst/gstinfo.c: (gst_debug_log_default):
741           Fix alignment of debug log columns on 64-bit.
742
743 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
744
745         * docs/libs/Makefile.am:
746         * docs/libs/gstreamer-libs-sections.txt:
747           Ignore private controller headers for docs.
748
749 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
750
751         * libs/gst/controller/gstcontrollerprivate.h:
752         * libs/gst/controller/gsthelper.c:
753         * libs/gst/controller/gstinterpolation.c:
754         * libs/gst/controller/gstinterpolationcontrolsource.c:
755         (gst_interpolation_control_source_set_interpolation_mode):
756         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
757         * libs/gst/controller/lib.c:
758         Move some private declarations into private headers.
759
760 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
761
762         * gst/gstdebugutils.c: (debug_dump_element_pad):
763         Remove some code that is unused after Stefan's refactoring and uses
764         uninitialized variables now, resulting in a compiler warning.
765
766 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
767
768         * gst/gstregistry.c: (gst_registry_scan_path_level):
769           Run g_str_has_suffix() only on the file name, not the
770           entire file path.
771
772 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
773
774         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
775           Since we're not called only from the chain function any longer,
776           we can't assume that there's always data in the queue, so move
777           the is_full check to the beginning of the loop (otherwise we'd
778           hit the assert when changing the limit properties while the
779           queue is empty or not running yet).
780           Also, only set a discont if items were actually removed from
781           the queue.
782
783         * tests/check/elements/queue.c: (test_leaky_downstream):
784           Test case for the above.
785
786 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
787
788         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
789
790         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
791         (gst_queue_chain), (queue_capacity_change),
792         (gst_queue_set_property):
793         When changing thr max capacity of a leaky queue, immediatly drop buffers
794         instead of waiting for a push on the sinkpad. Fixes #530637.
795
796 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
797
798         * gst/gstdebugutils.c:
799           Refactor code and fix handling of ghostpads and their proxypads.
800
801 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
802
803         * docs/gst/gstreamer-sections.txt:
804         * gst/gstevent.c: (gst_event_has_name):
805         * gst/gstevent.h:
806         * tests/check/gst/gstevent.c: (GST_START_TEST):
807         Add method to conveniently check the name of a custom event with
808         gst_event_has_name().
809         Reformat the event docs so that related methods are put together instead
810         of the default alphabetical sort.
811         Update unit test with new method.
812         API: GstEvent::gst_event_has_name()
813
814 2008-04-28  Michael Smith <msmith@songbirdnest.com>
815
816         * libs/gst/check/Makefile.am:
817           Don't add an explicit link to libgstreamer-0.10.la; it's already
818           included in GST_OBJ_LIBS.
819
820 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
821
822         * gst/gst.c:
823         Register GstClock type from a type-safe context. Fixes bug #530317.
824
825 2008-04-25  Michael Smith <msmith@songbirdnest.com>
826
827         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
828         * tools/gst-run.c:
829           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
830
831 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
832
833         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
834         (gst_bin_dispose):
835         Use the GLib stuff to create a private structure.
836         Add some locking around some dispose methods to make them a little
837         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
838
839 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
840
841         * libs/gst/base/gstbasesink.h:
842         * libs/gst/base/gstbasesrc.h:
843         * libs/gst/base/gstbasetransform.h:
844         * libs/gst/base/gstcollectpads.h:
845           Fix doc typos and unify caps a bit.
846
847 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
848
849         * tools/gst-launch.1.in:
850           Forgot to also add the envvar docs here.
851
852 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
853
854         * gst/gst.c: (init_post), (gst_deinit):
855         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
856           (test_concurrent_create), (gst_pipeline_suite):
857           Ref some more classes in gst_init() to work around thread-safety
858           issues in pre-2.16 GLibs, and add basic unit test.
859
860 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
861
862         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
863         (gst_base_sink_send_event):
864         Rearrange the latency query code. We always want to do the upstream
865         query, even if we are not live so that the upstream elements can get the
866         latency results too. If we fail doing the query and we are live, we
867         return TRUE afterwards.
868
869 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
870
871         patch by: Jason Zhao <e3423c@motorola.com>
872
873         * docs/gst/running.xml:
874         * gst/gst.c:
875           Enable/disable scan_and_update_registry() based on commandline switch
876           or environment variable. Fixes #520468.
877           
878         * ChangeLog:
879           Fix typo in my previous commit.
880
881 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
882
883         * gst/gstregistrybinary.c:
884           Add a warning if we hit unhandled factories when saving.
885           More debug logging detail, but move to LOG category.
886
887 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
888
889         * gst/gstregistry.c:
890           Tell the *truth* when improving the documentation.
891
892 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
893
894         * gst/gstelementfactory.c: (gst_element_factory_make):
895         Unref the factory after it was used the last time, not before.
896
897         * gst/gstindexfactory.c: (gst_index_factory_make):
898         Improve debugging a bit and don't leak a ref to the index factory with
899         each call.
900
901 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
902
903         * gst/gstregistry.c:
904           Improve the documentation.
905
906 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
907
908         * gst/gstsegment.c:
909           The glib macro seems to be borked. Use g_slice_copy directly and cast
910           in the hope that this fixes the warning on 64bit.
911
912 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
913
914         * gst/gstsegment.c:
915           Document the new function. Use g_slice_dup() (no need for
916           gst_segment_init()).    
917
918 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
919
920         * docs/gst/gstreamer-sections.txt:
921           Move GParamSepc macros to standart section.
922   
923         * gst/gstbin.c:
924           Dn't document _get_type - its in private section in docs anyway and
925           this doc-blob was incomplete.
926
927         * gst/gstclock.h:
928           Fix wrong symbol names in docs.
929
930         * gst/gstmacros.h:
931           Add once doc sentence.
932
933         * tests/check/gst/.cvsignore:
934           Ignore more.
935
936 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
937
938         * docs/gst/Makefile.am:
939           And remove those libs here.
940
941 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
942
943         * docs/libs/Makefile.am:
944           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
945
946 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
947
948         Patch by: Olivier Crete <tester at tester dot ca>
949
950         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
951         Add the min-threshold to the min latency if possible. Fixes #529148.
952
953 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
954
955         * docs/gst/gstreamer.types.in:
956           Stupid editor, I removed that line as it should go in yet.
957
958 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
959
960         * docs/gst/gstreamer.types.in:
961         * docs/libs/gstreamer-libs.types:
962           Remove library types fro core docs and have them in libs docs.
963           Reformat and cleanup. Add comment for miniobject types.
964
965 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
966
967         * gst/gsturi.c: (gst_uri_get_protocol):
968           Fix leak: g_strdown operates on the string in place, while
969           g_ascii_strdown() returns a newly-allocated string.
970
971 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
972
973         * tools/gst-inspect.c: (print_uri_handler_info),
974         (print_element_info):
975         Print the URI protocols and the URI type supported by the element.
976
977 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
978
979         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
980         Use g_value_take_string() instead of the deprecated
981         g_value_set_string_take_ownership().
982
983 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
984
985         * gst/gstregistrybinary.c: (_gst_crc32):
986         Return the old CRC instead of 0 if we give a NULL buffer
987         or a buffer with a length of 0.
988
989 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
990
991         * gst/gsturi.c: (gst_uri_protocol_check_internal),
992         (gst_uri_get_protocol), (gst_uri_has_protocol),
993         (gst_uri_construct), (gst_uri_handler_set_uri):
994         A valid URI scheme can also include '+', '-' and '.' additional
995         to alphanumeric characters as per RFC 3986 Section 3.1.
996
997         Handle URI schemes case insensitive in all places and convert
998         to lower-case when constructing an URI or setting an URI with
999         the GstURIHandler interface. Fixes bug #528868.
1000         All elements can still assume (as before) that they will
1001         get passed URIs with a lower-case URI scheme by the GstURIHandler
1002         interface.
1003
1004 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1005
1006         * gst/gstcaps.c: (gst_static_caps_get):
1007         * gst/gstclock.c: (gst_clock_entry_new):
1008           Don't use g_atomic_set_int where it's not needed.
1009
1010 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1011
1012         * gst/gstvalue.c: (gst_value_deserialize_caps):
1013         * gst/parse/grammar.y:
1014         Fix 2 caps leaks.
1015
1016 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1017
1018         * gst/gstutils.c: (gst_atomic_int_set):
1019         Use g_atomic_int_set() here too instead of assignment +
1020         g_atomic_int_get().
1021
1022 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1023         
1024         * gst/gstutils.c:
1025         * gst/gstutils.h:
1026         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1027         now that we depend on new enough GLib.
1028
1029         * gst/gstcaps.c: (gst_static_caps_get):
1030         * gst/gstclock.c: (gst_clock_entry_new):
1031         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1032         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1033         (gst_debug_category_set_threshold):
1034         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1035         (gst_base_sink_set_qos_enabled):
1036         * libs/gst/net/gstnettimeprovider.c:
1037         (gst_net_time_provider_set_property):
1038         Use g_atomic_int_set() instead of gst_atomic_int_set().
1039
1040 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1041
1042         * gst/gstquery.c:
1043           Also use G_GINT64_CONSTANT for the queries.
1044
1045 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1046
1047         * gst/gstmessage.c:
1048           Use G_GINT64_CONSTANT in varargs function.
1049
1050 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1051
1052         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1053         Initialize the registry magic with zeroes.
1054
1055 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1056
1057         * gst/gstregistrybinary.c: (_gst_crc32),
1058         (gst_registry_binary_write),
1059         (gst_registry_binary_initialize_magic),
1060         (gst_registry_binary_write_cache),
1061         (gst_registry_binary_check_magic),
1062         (gst_registry_binary_read_cache):
1063         * gst/gstregistrybinary.h:
1064         Add crc32 checksum to the binary registry file and check this before
1065         accepting a registry file.
1066
1067         Also free the data list when writing to the registry file fails.
1068
1069 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1070
1071         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1072         (gst_registry_binary_load_feature),
1073         (gst_registry_binary_load_plugin):
1074         If an element supports the Uri interface, returns a valid pointer
1075         to the supported URI protocols but this pointer contains nothing
1076         don't try to save that as it will corrupt the registry.
1077
1078         Don't unref the plugin if we added it to the registry already but
1079         fail to load a feature as gst_registry_add_plugin() takes ownership
1080         of the plugin.
1081
1082         Improve debugging a bit.
1083
1084 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1085
1086         * gst/gsttaglist.h:
1087           Clarify some tag item docs after discussion on irc.
1088
1089 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1090
1091         * docs/gst/gstreamer-docs.sgml:
1092           Remove commented out plugins (they have their own docs). Update
1093           comments.
1094
1095 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1096
1097         * docs/gst/gstreamer-docs.sgml:
1098         * docs/gst/gstreamer-sections.txt:
1099         * gst/gstparamspecs.c:
1100         * gst/gstparamspecs.h:
1101           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1102           docs to own section.
1103
1104         * gst/gstvalue.c:
1105           This now only documents GValue.
1106           
1107         * docs/libs/gstreamer-libs-sections.txt:
1108         * libs/gst/controller/gstcontroller.h:
1109           Remove GST_PARAM_CONTROLLABLE.
1110
1111 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1112
1113         * docs/README:
1114           Correct file path. Tell about how to use -overrides.txt.
1115         * docs/design/draft-tagreading.txt:
1116           Small design update.
1117
1118 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1119
1120         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1121         (gst_registry_binary_load_plugin):
1122         Fix a typo in a debug message and revert change from yesterday as
1123         gst_registry_add_plugin() will only fail if something is really wrong
1124         already and we can't survive it anyway.
1125
1126 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1127
1128         * gst/gst.c: (init_post), (gst_deinit):
1129           Pre-register GstGError GType from a thread-safe context
1130           (fixes #527967); unref enum type classes in deinit.
1131
1132 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1133
1134         Patch by: Rene Stadler <mail at renestadler de>
1135
1136         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1137           Merging an empty list with another list in KEEP_ALL mode should
1138           yield an empty list as result and not the second list (#512578).
1139
1140         * tests/check/gst/gsttagsetter.c:
1141           Add unit test for tag merge modes and the aforementioned bug.
1142
1143 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1144
1145         Patch by: Rene Stadler <mail at renestadler de>
1146
1147         * gst/gsttaglist.h:
1148           Fix description to match the order in the table (#512577).
1149   
1150 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1151
1152         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1153
1154         * libs/gst/net/gstnettimepacket.h:
1155         * docs/libs/gstreamer-libs-sections.txt:
1156           Define socklen_t as int if it's not defined yet. Fixes compilation
1157           with MSVC6 and other versions where socklen_t is not defined in
1158           the windows headers (#518022).
1159
1160 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1161
1162         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1163         If gst_registry_add_plugin() fails our reference to the plugin is
1164         invalid so don't try to use it anymore and instead error out.
1165
1166 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1167
1168         * tools/gst-xmlinspect.c: (print_element_info), (main):
1169           De-cruft a bit. If no argument is specified, print all elements in
1170           XML syntax rather than a freestyle list of elements like gst-inspect.
1171           Also, don't print XML header chunk unless we actually have something
1172           to print (ie. don't print it before an error message); print error
1173           message to stderr not stdout. Remove support for printing plugin
1174           info (it would just output something freestyle along the lines of
1175           gst-inspect so far), which fixes #514507. Also add license header.
1176
1177 2008-04-11  Julien Moutte  <julien@fluendo.com>
1178
1179         Mac OS X love...
1180         * configure.ac: Merge platform specific defines, introduce a new
1181         define on OS X to remember that forking when updating registry is
1182         unsafe.
1183         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1184         module.
1185         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1186         is defined.
1187         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1188         condition that leads to absolutely no plugins being registered on
1189         OS X.
1190
1191 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1192
1193         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1194
1195         * gst/gstutils.c: (gst_pad_add_data_probe),
1196           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1197           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1198           (gst_pad_add_buffer_probe_full):
1199         * gst/gstutils.h:
1200         * docs/gst/gstreamer-sections.txt:
1201         * win32/common/libgstreamer.def:
1202           Add gst_pad_add_*_probe_full() functions with a notify callback that
1203           lets the caller free the data it passes to the probe functions. This
1204           is useful for bindings such as gst-python or gstreamermm (#526814).
1205           API: gst_pad_add_data_probe_full
1206           API: gst_pad_add_buffer_probe_full
1207           API: gst_pad_add_event_probe_full
1208
1209         * tests/check/gst/gstutils.c:
1210           Add minimal unit test to make sure freeing the data actually works
1211           as expected.
1212
1213         * tests/benchmarks/.cvsignore:
1214           Random cvsignore addendum.
1215
1216 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1217
1218         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1219           (GST_DEBUG_BIN_TO_DOT_FILE):
1220           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1221           to it in the docs (since these are macros the types of the arguments
1222           won't be shown in the docs otherwise).
1223
1224 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1225
1226         * gst/gstpad.c:
1227           Do not abort on out of memory for pad_alloc_buffer.
1228
1229 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1230
1231         * libs/gst/check/gstcheck.c:
1232           Remove blank line between symbol name ad parameters to fix gtkdoc
1233           warning.
1234
1235 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1236
1237         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1238
1239         * docs/gst/gstreamer-sections.txt:
1240         * gst/gstsegment.c:
1241         * gst/gstsegment.h:
1242         * win32/common/libgstreamer.def:
1243           Expose gst_segment_copy() to make things easier for the c++ bindings.
1244           Fixes #518932.
1245           API: gst_segment_copy()
1246
1247 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1248
1249         * gst/gst.c: (gst_init_get_option_group), (init_post):
1250           Fix const position; ref GType classes for enum types to work
1251           around thread-safety issues in GLib versions < 2.16.
1252
1253 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1254
1255         * docs/design/part-buffering.txt:
1256         Fix some typos and set the estimated total for push mode to -1.
1257
1258         * gst/gstquery.c: (gst_query_new_buffering):
1259         Set buffering-left to 0 as we're not buffering by default.
1260
1261         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1262         Implement BUFFERING query.
1263
1264 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1265
1266         Based on patch by: Milosz Derezynski <internalerror gmail com>
1267
1268         * gst/gsterror.c: (_gst_stream_errors_init):
1269         * gst/gsterror.h:
1270           Add two new error codes for encrypted content. Fixes #524659.
1271           API: GST_STREAM_ERROR_DECRYPT
1272           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1273
1274 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1275
1276         * gst/gstquery.h:
1277           Fix typo.
1278
1279         * win32/common/libgstreamer.def:
1280           Add new functions.
1281
1282 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1283
1284         * plugins/elements/gstidentity.c: (gst_identity_event),
1285         (gst_identity_start):
1286         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1287         event after processing some data. Fixes bug #526042.
1288
1289 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1290
1291         * docs/gst/gstreamer-sections.txt:
1292         * gst/gstquery.c: (gst_query_parse_latency),
1293         (gst_query_set_buffering_percent),
1294         (gst_query_parse_buffering_percent),
1295         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1296         * gst/gstquery.h:
1297         Rename _avail -> _range
1298         API: gst_query_set_buffering_range
1299         API: gst_query_parse_buffering_range
1300
1301 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1302
1303         * docs/design/part-buffering.txt:
1304         * gst/gstquark.c:
1305         * gst/gstquark.h:
1306         * gst/gstquery.c: (gst_query_parse_latency),
1307         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1308         (gst_query_parse_buffering_percent):
1309         * gst/gstquery.h:
1310         Add busy field and quark for the buffering query so that the app can
1311         only use the query to see if buffering is in progress.
1312
1313 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1314
1315         * docs/gst/gstreamer-sections.txt:
1316         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1317         (gst_message_parse_buffering_stats):
1318         * gst/gstmessage.h:
1319         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1320         (gst_query_parse_latency), (gst_query_new_buffering),
1321         (gst_query_set_buffering_percent),
1322         (gst_query_parse_buffering_percent),
1323         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1324         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1325         * gst/gstquery.h:
1326         Reorder the message docs and headers for clarity.
1327         Add aditional buffering stats API for messages.
1328         Add buffering query.
1329         Convert some leftover queries to use GstQuark.
1330         API: gst_message_set_buffering_stats
1331         API: gst_message_parse_buffering_stats
1332         API: GST_QUERY_BUFFERING
1333         API: GstBufferingMode
1334         API: gst_query_new_buffering
1335         API: gst_query_set_buffering_percent
1336         API: gst_query_parse_buffering_percent
1337         API: gst_query_set_buffering_stats
1338         API: gst_query_parse_buffering_stats
1339
1340 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1341
1342         * gst/gstmessage.c: (gst_message_new_error),
1343         (gst_message_new_warning), (gst_message_new_info),
1344         (gst_message_new_buffering), (gst_message_new_state_changed),
1345         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1346         (gst_message_new_new_clock), (gst_message_new_segment_start),
1347         (gst_message_new_segment_done), (gst_message_new_duration),
1348         (gst_message_new_async_start), (gst_message_parse_buffering),
1349         (gst_message_parse_state_changed),
1350         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1351         (gst_message_parse_new_clock), (gst_message_parse_error),
1352         (gst_message_parse_warning), (gst_message_parse_info),
1353         (gst_message_parse_segment_start),
1354         (gst_message_parse_segment_done), (gst_message_parse_duration),
1355         (gst_message_parse_async_start):
1356         Use GstQuark for messages.
1357
1358 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1359
1360         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1361         * gst/gstquark.h:
1362         Add some more quarks needed for messages and queries.
1363
1364 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1365
1366         * docs/design/part-buffering.txt:
1367         Remove the "none" buffering mode, STREAM is a good default.
1368         Move estimated-time to the avail query, that's when it will be needed.
1369         Other small typo fixes and updates.
1370
1371 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1372
1373         * gst/gstindex.c: (gst_index_resolver_get_type):
1374           Don't put descriptions into the nick field of a GEnumValue: it's not
1375           meant for that and some language bindings rely on the nick field to
1376           construct constants and the like. Fixes #526705.
1377
1378 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1379
1380         * NEWS:
1381         * RELEASE:
1382         * gstreamer.doap:
1383           Merge other changes from 0.10.19 release branch.
1384
1385 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1386
1387         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1388
1389         * configure.ac:
1390         Actually build dlls when cross-compiling with mingw32.
1391         Fixes bug #526247.
1392
1393 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1394
1395         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1396
1397         * gst/gstpoll.c:
1398         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1399
1400 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1401
1402         * docs/design/draft-latency.txt:
1403         Fix typo.
1404
1405         * docs/design/part-buffering.txt:
1406         Update design docs with more buffering ideas.
1407
1408 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1409
1410         * configure.ac:
1411           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1412
1413 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1414
1415         * configure.ac:
1416           Revert part that belongs to the preset patch.
1417
1418 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1419
1420         * configure.ac:
1421           Add qoutes to the define. Fixes # 525961.
1422
1423 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1424
1425         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1426         (gst_file_index_load), (gst_file_index_add_id),
1427         (gst_file_index_get_assoc_entry):
1428         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1429         (gst_mem_index_free_id), (gst_mem_index_add_id),
1430         (gst_mem_index_index_format):
1431         Use GSlice when possible.
1432
1433 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1434
1435         * libs/gst/controller/gstinterpolationcontrolsource.c:
1436         (gst_control_point_free),
1437         (gst_interpolation_control_source_set_internal):
1438         Use GSlice for allocating the control points.
1439
1440 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1441
1442         * plugins/elements/gsttypefindelement.c:
1443         (gst_type_find_element_class_init),
1444         (gst_type_find_element_set_property),
1445         (gst_type_find_element_get_property),
1446         (gst_type_find_element_activate):
1447         * plugins/elements/gsttypefindelement.h:
1448         Cleanup properties.
1449         Fix pad leak when peer query fails.
1450         We can still typefind when the peer returns -1.
1451         Add property to force caps and bypass typefinding. This will be used in
1452         uridecodebin.
1453         API::force-caps
1454
1455 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1456
1457         * configure.ac:
1458         Require GLib 2.12.
1459
1460         * gst/glib-compat-private.h:
1461         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1462         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1463         Unconditionally use GSlice for allocation.
1464
1465         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1466         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1467         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1468         (gst_structure_free):
1469         Use GSlice for allocation.
1470
1471 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1472
1473         * gst/parse/Makefile.am:
1474         * gst/parse/grammar.tab.pre.c:
1475         * gst/parse/grammar.tab.pre.h:
1476         * gst/parse/lex._gst_parse_yy.pre.c:
1477         Require a new enough flex and bison and remove the parser hacks to use
1478         a pre-regenerated version.
1479
1480 2008-04-01  Julien Moutte  <julien@fluendo.com>
1481
1482         patch by: Jason Zhao <E3423C@motorola.com>
1483
1484         * configure.ac: Add a configure switch to disable option parsing
1485         in gst_init.
1486         Fixes #522882.
1487
1488 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1489
1490         * configure.ac:
1491         * gst/gstregistry.c:
1492           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1493           and handle this case.
1494
1495         * gst/gst.c:
1496           Add a comment here describing, why we stat each plugin and not try to
1497           be smart.
1498
1499 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1500
1501         * libs/gst/base/gstbasetransform.c:
1502         (gst_base_transform_prepare_output_buffer):
1503         Also unset the GAP flag on buffers if we're working inplace but
1504         the element is not GAP-aware.
1505
1506         Mark a comment as FIXME 0.11.
1507
1508 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1509
1510         * gst/gst.c:
1511           Fix type in log message and add one to ease seeing how long registry
1512           cache verification takes.
1513
1514         * gst/gstregistry.c:
1515           Only test plugin filenames against G_MODULE_SUFFIX.
1516
1517 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1518
1519         * gst/gstdebugutils.c:
1520           Improve handling ghost/proxy pads.
1521
1522 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1523
1524         * docs/gst/gstreamer-sections.txt:
1525         * gst/gstpad.c:
1526         * gst/gstpad.h:
1527           Expose macro to docs and fix link to it.
1528
1529 2008-03-27  Michael Smith <msmith@fluendo.com>
1530
1531         * libs/gst/dataprotocol/dataprotocol.c:
1532         (gst_dp_packet_from_event_1_0):
1533           When calculating GDP body CRC, use the correct pointer. 
1534           Fixes part of #522401.
1535
1536 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1537
1538         Patch by: Mark Nauwelaerts <manauw at skynet be>
1539
1540         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1541         (gst_identity_init), (gst_identity_prepare_output_buffer):
1542         Identity is not always a passthrough element, it can modify the buffer
1543         timestamps when it has a datarate and operates in single-segment mode.
1544         We therefore make it an in_place filter with a custom buffer prepare
1545         function that conditionally makes the input buffer metadata writable
1546         when needed.  Fixes #523985.
1547
1548 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1549
1550         Patch by: Mark Nauwelaerts <manauw at skynet be>
1551
1552         * gst/gstclock.h:
1553         * libs/gst/base/gstbasesrc.h:
1554         * libs/gst/base/gstbasetransform.c:
1555         * libs/gst/check/gstcheck.c:
1556         Small documentation fixes. Fixes #523978.
1557
1558 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1559
1560         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1561         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1562         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1563
1564 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1565
1566         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1567         (single_queue_underrun_cb):
1568         When trying to make room in the queue, bump the max allowed buffers
1569         bigger than the current amount of buffers in the queue. this fixes some
1570         nasty deadlocks in multiqueue when dynamically changing the limits of
1571         the queue.
1572
1573 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1574
1575         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1576
1577         * gst/gstcaps.c: (gst_caps_set_simple),
1578         (gst_caps_set_simple_valist), (gst_caps_intersect):
1579         * gst/gstcaps.h:
1580         Constify the field gchar * params in set_simple and friends.
1581         Fixes #522326.
1582
1583 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1584
1585         * gst/gstvalue.c: (gst_value_transform_object_string):
1586         Transform a GstObject to a more meaningfull string that includes the
1587         object type in addition to its name.
1588
1589 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1590
1591         * ChangeLog:
1592           ChangeLog surgery to add bugnumber to commit.
1593
1594 2008-03-23  Rene Stadler  <mail@renestadler.de>
1595
1596         * libs/gst/base/gstbasetransform.c:
1597         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1598
1599 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1600
1601         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1602         Rename constant everywhere and don't forget one occurence.
1603
1604 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1605
1606         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1607         Align memory to the pointer size even if the architecture allows
1608         unaligned memory access. Unaligned memory access usually comes with
1609         performance penality.
1610
1611 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1612
1613         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1614         (gst_registry_binary_check_magic),
1615         (gst_registry_binary_load_pad_template),
1616         (gst_registry_binary_load_feature),
1617         (gst_registry_binary_load_plugin):
1618         Align memory to the pointer size instead of always 32 bit. Fixes
1619         unaligned memory accesses on ia64 and friends.
1620
1621         * gst/gstregistrybinary.h:
1622         Bump binary registry format version for this as it changes the
1623         format on those architectures that don't have unaligned access
1624         and 64 bit pointers.
1625
1626 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1627
1628         * docs/pwg/advanced-dparams.xml:
1629         * docs/pwg/building-props.xml:
1630         * docs/pwg/other-source.xml:
1631         * gst/glib-compat.h:
1632         * gst/gstbin.c: (gst_bin_class_init):
1633         * gst/gstclock.c: (gst_clock_class_init):
1634         * gst/gstindex.c: (gst_index_class_init):
1635         * gst/gstobject.c: (gst_object_class_init):
1636         * gst/gstpad.c: (gst_pad_class_init):
1637         * gst/gstpipeline.c: (gst_pipeline_class_init):
1638         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1639         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1640         * libs/gst/base/gstbasetransform.c:
1641         (gst_base_transform_class_init):
1642         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1643         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1644         (_gst_check_fault_handler_sighandler),
1645         (_gst_check_fault_handler_setup), (gst_check_init):
1646         * libs/gst/controller/gstcontroller.c:
1647         (_gst_controller_class_init):
1648         * libs/gst/controller/gstlfocontrolsource.c:
1649         (gst_lfo_control_source_class_init):
1650         * libs/gst/net/gstnetclientclock.c:
1651         (gst_net_client_clock_class_init):
1652         * libs/gst/net/gstnettimeprovider.c:
1653         (gst_net_time_provider_class_init):
1654         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1655         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1656         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1657         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1658         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1659         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1660         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1661         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1662         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1663         * plugins/elements/gstqueue.c: (gst_queue_class_init):
1664         * plugins/elements/gsttee.c: (gst_tee_class_init):
1665         * plugins/elements/gsttypefindelement.c:
1666         (gst_type_find_element_class_init):
1667         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1668         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1669         use it everywhere for GParamSpecs that use static strings (i.e. all).
1670         This gives us less memory usage, fewer allocations and thus less
1671         memory defragmentation. Fixes bug #523806.
1672
1673 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1674
1675         * gst/gstminiobject.c: (gst_value_dup_mini_object),
1676         (gst_param_spec_mini_object):
1677         * gst/gstminiobject.h:
1678         * win32/common/libgstreamer.def:
1679         * docs/gst/gstreamer-sections.txt:
1680         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1681         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1682         GstParamSpecMiniObject into a public header for this.
1683
1684         This make GstMiniObject a bit more consistent with GObject and makes
1685         it possible to extend the param specs.
1686
1687         gst_value_dup_mini_object is mainly useful for set_property methods.
1688
1689         Fixes bug #523798.
1690
1691         * tools/gst-inspect.c: (print_element_properties_info):
1692         Print something useful for GstMiniObject properties and not just
1693         "unknown type".
1694
1695 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1696
1697         * docs/gst/gstreamer-sections.txt:
1698         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1699         (gst_registry_binary_check_magic):
1700         * gst/gstregistrybinary.h:
1701         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1702         and add it to the (private part) of the docs to fix the build.
1703
1704 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1705
1706         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1707         (gst_registry_binary_check_magic),
1708         (gst_registry_binary_read_cache):
1709         * gst/gstregistrybinary.h:
1710         Don't use GST_MAJORMINOR for the binary registry version. Instead
1711         hardcode a value that must be changed whenever the format changes
1712         in an incompatible way.
1713         Also don't GST_ERROR when there is a version mismatch, just
1714         regenerate the registry silently.
1715
1716 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
1717
1718         * configure.ac:
1719         Back to development - 0.10.18.1
1720
1721 === release 0.10.18 ===
1722
1723 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
1724
1725         * configure.ac:
1726           releasing 0.10.18, "So far away"
1727
1728 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
1729
1730         * configure.ac:
1731         * win32/common/config.h:
1732         0.10.17.4 pre-release
1733
1734 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1735
1736         Patch by: Ole André Vadla Ravnås
1737             <ole dot andre dot ravnas at tandberg dot com>
1738
1739         * docs/gst/gstreamer-sections.txt:
1740         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1741         (gst_poll_update_winsock_event_mask),
1742         (gst_poll_prepare_winsock_active_sets),
1743         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1744         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1745         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1746         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1747         (gst_poll_check_ctrl_commands), (gst_poll_wait):
1748         * gst/gstpoll.h:
1749         * win32/common/libgstreamer.def:
1750         Add new function gst_poll_fd_ignored() for improved Windows
1751         compatibility.
1752         Various minor fixes and cleanups. See #520808.
1753
1754 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
1755
1756         * gst/gstindex.c: (gst_index_entry_free):
1757         * gst/gstindex.h:
1758           Don't free key strings which we don't own. Fixes crash in
1759           gst_index_entry_free() (#522741).
1760
1761         * tests/check/Makefile.am:
1762         * tests/check/gst/.cvsignore:
1763         * tests/check/gst/gstindex.c: (test_index_entries),
1764           (gst_index_suite), (gst_index):
1765           Add unit test for the above.
1766
1767 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
1768
1769         * win32/common/libgstreamer.def:
1770         Remove symbols that were removed recently. Fixes bug #521740.
1771
1772 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
1773
1774         * configure.ac:
1775         * win32/common/config.h:
1776         0.10.17.3 pre-release
1777
1778 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1779
1780         Patch by: Ole André Vadla Ravnås
1781             <ole dot andre dot ravnas at tandberg dot com>
1782
1783         * docs/gst/gstreamer-sections.txt:
1784         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1785         (gst_poll_update_winsock_event_mask), (gst_poll_new),
1786         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1787         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1788         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1789         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1790         (gst_poll_fd_can_write), (gst_poll_wait),
1791         (gst_poll_set_controllable), (gst_poll_restart),
1792         (gst_poll_set_flushing):
1793         * gst/gstpoll.h:
1794         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1795         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1796         (gst_net_time_provider_new):
1797         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1798         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1799         * tests/benchmarks/gstpollstress.c: (main):
1800         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1801         Remove GstPollMode from the API, it does not make sense to let the
1802         application control this.
1803         Add support for Win32.
1804         Fix the testsuite. Fixes #520671.
1805
1806 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
1807
1808         Patch by: Ole André Vadla Ravnås
1809             <ole dot andre dot ravnas at tandberg dot com>
1810
1811         * gst/gstregistrybinary.c:
1812         Include io.h for write() and close() when building with MSVC. Fixes
1813         bug #520877.
1814
1815 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
1816
1817         * configure.ac:
1818         * gst/gst_private.h:
1819         * gst/gstconfig.h.in:
1820         * gst/gstregistry.h:
1821         * gst/gstregistrybinary.c:
1822         * win32/common/gstconfig.h:
1823           Move registry backend API to private headers where we can. Add
1824           fixme-0.11 comments for the others. Add stubs for the xml backend when
1825           using the binary to ensure they functions exists (they should not be
1826           used though). Fixes #520756.
1827
1828 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
1829
1830         * configure.ac:
1831         * win32/common/config.h:
1832         0.10.17.2 prelease
1833
1834 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1835
1836         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1837         (gst_registry_binary_read_cache):
1838         * gst/gstregistryxml.c: (gst_registry_save):
1839         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1840         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1841         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1842         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1843         Switch to using portabl gsize/gssize instead of size_t/ssize_t
1844         Fixes #520152
1845
1846 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1847
1848         * gst/gstminiobject.c:
1849         Import gst_private.h before any other header that might include other
1850         glib headers. This fixes the build on windows using native compilers.
1851
1852 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1853
1854         * win32/common/gstconfig.h:
1855           Add here too, just for completeness.
1856
1857 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1858
1859         * configure.ac:
1860         * gst/gstconfig.h.in:
1861         * gst/gstregistry.h:
1862           Fix broken use of config.h-defined preprocessor directive in a public
1863           header file. Add a corresponding define to gstconfig.h, since we can't
1864           really remove those function declarations from the header file now
1865           (or can we? and why are they there in the first place?).
1866
1867 2008-03-03  Andy Wingo  <wingo@pobox.com>
1868
1869         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1870         the new warning.
1871
1872         * gst/gststructure.c (gst_structure_from_string): Warn if
1873         structure_from_string didn't consume the whole string, but the
1874         caller did not provide an end pointer.
1875
1876 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
1877
1878         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1879
1880         * gst/gstregistryxml.c: (read_string), (load_feature):
1881           Strings allocated by libxml2 should be freed with xmlFree(), not
1882           with g_free(). Fixes issues on windows in certain contexts (#519698).
1883
1884 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
1885
1886         * gst/gstinterface.c: (gst_element_implements_interface):
1887           Don't crash if the element supports the interface queried, but does
1888           not implement GstImplementsInterface. Fixes #519584.
1889
1890         * tests/check/Makefile.am:
1891         * tests/check/gst/.cvsignore:
1892         * tests/check/gst/gstinterface.c:
1893           Add unit test for the above.
1894
1895 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1896
1897         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1898         Small doc update.
1899
1900 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1901
1902         * gst/gstsegment.c: (gst_segment_set_seek),
1903         (gst_segment_to_stream_time):
1904         Improve some comment.
1905         Update variables where it makes more sense.
1906
1907 2008-02-29  Rene Stadler  <mail@renestadler.de>
1908
1909         * gst/gsturi.c: (gst_uri_handler_get_protocols):
1910         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
1911         URIHandlers implemented using language bindings.
1912
1913 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1914
1915         * gst/gstelementfactory.h:
1916         * tests/check/elements/fakesink.c:
1917         * tests/check/elements/fakesrc.c: (setup_fakesrc):
1918         * tests/check/elements/fdsrc.c: (setup_fdsrc):
1919         * tests/check/elements/filesink.c: (setup_filesink):
1920         * tests/check/elements/filesrc.c: (setup_filesrc):
1921         * tests/check/elements/identity.c: (setup_identity):
1922         * tests/check/elements/tee.c:
1923         * tests/check/generic/sinks.c:
1924         * tests/check/generic/states.c: (setup), (teardown):
1925         * tests/check/gst/gst.c:
1926         * tests/check/gst/gstabi.c:
1927         * tests/check/gst/gstbin.c:
1928         * tests/check/gst/gstbus.c: (pull_messages):
1929         * tests/check/gst/gstcaps.c:
1930         * tests/check/gst/gstelement.c:
1931         * tests/check/gst/gstevent.c:
1932         * tests/check/gst/gstghostpad.c:
1933         * tests/check/gst/gstiterator.c:
1934         * tests/check/gst/gstmessage.c:
1935         * tests/check/gst/gstminiobject.c: (my_foo_init):
1936         * tests/check/gst/gstobject.c: (thread_name_object),
1937         (gst_object_suite):
1938         * tests/check/gst/gstpad.c:
1939         * tests/check/gst/gstplugin.c:
1940         * tests/check/gst/gstpoll.c:
1941         * tests/check/gst/gstquery.c:
1942         * tests/check/gst/gstsegment.c:
1943         * tests/check/gst/gststructure.c:
1944         * tests/check/gst/gstsystemclock.c:
1945         * tests/check/gst/gsttask.c:
1946         * tests/check/gst/gstutils.c:
1947         * tests/check/gst/gstvalue.c:
1948         * tests/check/gst/struct_hppa.h:
1949         * tests/check/gst/struct_i386.h:
1950         * tests/check/gst/struct_ppc32.h:
1951         * tests/check/gst/struct_ppc64.h:
1952         * tests/check/gst/struct_x86_64.h:
1953         * tests/check/libs/adapter.c: (create_and_fill_adapter):
1954         * tests/check/libs/basesrc.c:
1955         * tests/check/libs/controller.c: (GST_START_TEST):
1956         * tests/check/libs/gdp.c:
1957         * tests/check/libs/gstnetclientclock.c:
1958         * tests/check/libs/gstnettimeprovider.c:
1959         * tests/check/libs/libsabi.c:
1960         * tests/check/libs/struct_hppa.h:
1961         * tests/check/libs/struct_i386.h:
1962         * tests/check/libs/struct_ppc32.h:
1963         * tests/check/libs/struct_ppc64.h:
1964         * tests/check/libs/struct_x86_64.h:
1965         * tests/check/pipelines/cleanup.c:
1966         * tests/check/pipelines/simple-launch-lines.c:
1967         * tests/check/pipelines/stress.c:
1968         And correct even more valid sparse warnings.
1969
1970         * win32/common/libgstreamer.def:
1971         Add gst_poll_fd_init to the list of symbols.
1972
1973 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1974
1975         * gst/gstconfig.h.in:
1976         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
1977         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
1978         (gst_check_log_critical_func), (gst_check_drop_buffers),
1979         (gst_check_element_push_buffer_list):
1980         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
1981         (gst_controller_get_type):
1982         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
1983         (gst_object_get_controller), (gst_object_get_control_source):
1984         * libs/gst/controller/gstinterpolationcontrolsource.c:
1985         (gst_interpolation_control_source_new):
1986         * libs/gst/controller/gstlfocontrolsource.c:
1987         (gst_lfo_control_source_new):
1988         * libs/gst/dataprotocol/dataprotocol.c:
1989         (gst_dp_event_from_packet_0_2):
1990         * plugins/elements/gstfdsrc.c:
1991         * plugins/elements/gstmultiqueue.c:
1992         * plugins/elements/gsttee.c:
1993         * plugins/elements/gsttypefindelement.c:
1994         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
1995         (gst_file_index_add_association):
1996         * plugins/indexers/gstmemindex.c:
1997         * tests/benchmarks/gstpollstress.c: (mess_some_more):
1998         * tests/check/elements/queue.c: (setup_queue):
1999         * tests/check/gst/gstpipeline.c:
2000         * tests/check/libs/collectpads.c: (setup), (teardown),
2001         (gst_collect_pads_suite):
2002         * tests/examples/adapter/adapter_test.c:
2003         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2004         * tests/examples/xml/createxml.c:
2005         * tests/examples/xml/runxml.c:
2006         * tools/gst-inspect.c:
2007         * tools/gst-run.c:
2008         Correct all relevant warnings found by the sparse semantic code
2009         analyzer. This include marking several symbols static, using
2010         NULL instead of 0 for pointers, not using variable sized arrays
2011         on the stack, moving variable declarations to the beginning of
2012         a block and using "foo (void)" instead of "foo ()" for declarations.
2013
2014 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2015
2016         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2017         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2018         Don't reset GstPollFDs, this is not necessary at all.
2019
2020         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2021         (delayed_restart), (delayed_control):
2022         Use GST_POLL_FD_INIT.
2023
2024 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2025
2026         * gst/gstpoll.c: (gst_poll_fd_init):
2027         * gst/gstpoll.h:
2028         Added Since tags.
2029
2030         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2031         Use some more init macros.
2032
2033 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2034
2035         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2036         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2037         Use init macros and functions.
2038
2039 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2040
2041         * docs/gst/gstreamer-sections.txt:
2042         * gst/gstpoll.c: (gst_poll_fd_init):
2043         * gst/gstpoll.h:
2044         Add INIT macro and _init method for initializing the GstPollFD.
2045
2046 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2047
2048         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2049         (gst_fd_sink_update_fd):
2050         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2051         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2052         (delayed_restart), (delayed_control):
2053         Initialize some uninitialized variables as spotted by valgrind.
2054
2055 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2056
2057         * tests/benchmarks/Makefile.am:
2058         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2059         (main):
2060         Add poll stress test.
2061
2062 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2063
2064         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2065
2066         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2067         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2068         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2069         * plugins/elements/gstfdsink.h:
2070         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2071         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2072         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2073         (gst_fd_src_uri_set_uri):
2074         * plugins/elements/gstfdsrc.h:
2075         Port to GstPoll. See #505417.
2076
2077 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2078
2079         * win32/common/libgstreamer.def:
2080         Add new gst_poll_ symbols to win32 defs.
2081
2082 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2083
2084         * docs/libs/gstreamer-libs-sections.txt:
2085         * libs/gst/net/gstnetclientclock.c:
2086         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2087         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2088         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2089         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2090         * libs/gst/net/gstnetclientclock.h:
2091         * libs/gst/net/gstnettimeprovider.c:
2092         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2093         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2094         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2095         (gst_net_time_provider_new):
2096         * libs/gst/net/gstnettimeprovider.h:
2097         Use a private stuct to not break ABI.
2098
2099 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2100
2101         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2102
2103         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2104         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2105         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2106         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2107         * libs/gst/net/gstnetclientclock.h:
2108         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2109         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2110         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2111         (gst_net_time_provider_new):
2112         * libs/gst/net/gstnettimeprovider.h:
2113         Massive code removal and cleanups because of GstPoll.
2114         Fixes #505417.
2115
2116 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2117
2118         * configure.ac:
2119         Add checks for poll, ppoll and pselect.
2120
2121         * docs/gst/gstreamer-docs.sgml:
2122         * docs/gst/gstreamer-sections.txt:
2123         Add docs for GstPoll.
2124
2125         * gst/Makefile.am:
2126         * gst/gst.h:
2127         * gst/gstpoll.c: (find_index), (selectable_fds),
2128         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2129         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2130         (gst_poll_set_mode), (gst_poll_get_mode),
2131         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2132         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2133         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2134         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2135         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2136         (gst_poll_fd_can_write), (gst_poll_wait),
2137         (gst_poll_set_controllable), (gst_poll_restart),
2138         (gst_poll_set_flushing):
2139         * gst/gstpoll.h:
2140         Add generic poll abstraction. We ideally don't want to have this in core
2141         here but in glib intead...
2142         This code will be used in various network elements and ultimately for
2143         the nanosecond precision monotonic clock (that's why it's here in core).
2144         It'll allow us to implement cancelable socket operations for windows too.
2145
2146         * tests/check/Makefile.am:
2147         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2148         (delayed_stop), (delayed_restart), (delayed_flush),
2149         (delayed_control), (gst_poll_suite):
2150         Add GstPoll unit test.
2151
2152 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2153
2154         * gst/gstfilter.c:
2155           Improve documentation of gst_filter_run(). Fixes #518627.
2156
2157 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2158
2159         * docs/README:
2160           Add a few lines about the new 'check-inspected-versions' target.
2161
2162 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2163
2164         * tests/check/gst/gstevent.c:
2165           Add qos to the event test. Rename tcase/tsuite; is not only about
2166           custom events.
2167
2168 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2169
2170         * plugins/elements/gstqueue.c:
2171           Ensure that buffer metadata is writeable, before modifying. Spotted by
2172           Mike.
2173
2174 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2175
2176         * plugins/elements/gstqueue.c:
2177         * plugins/elements/gstqueue.h:
2178           When dropping buffers in leaky modes, mark next buffers we sent as
2179           DISCONT.
2180
2181 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2182
2183         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2184           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2185
2186 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2187
2188         * plugins/elements/Makefile.am:
2189         * plugins/elements/gstbufferstore.c:
2190         * plugins/elements/gstbufferstore.h:
2191         * plugins/elements/gsttypefindelement.h:
2192           Remove GstBufferStore, no idea why we were still building it.
2193           It's not used anywhere and superseded by GstAdapter.
2194
2195         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2196           (gst_file_src_create_mmap):
2197         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2198           Printf format fixes for 64-bit integers.
2199
2200 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2201
2202         * configure.ac:
2203         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2204         We're not in 0.8 times anymore.
2205
2206 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2207
2208         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2209         (gst_check_element_push_buffer_list):
2210         * libs/gst/check/gstcheck.h:
2211         Make the declaration in the header for
2212         gst_check_element_push_buffer_list match the implementation.
2213
2214         Fix up spelling, grammar and wording of the documentation in a few
2215         places, and add the Since keyword to new API functions.
2216         Use g_list_delete_link instead of g_list_remove in
2217         gst_check_drop_buffers, since it's immeasurably more efficient.
2218
2219         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2220         Use new gst_check_drop_buffers function where appropriate.
2221
2222         * win32/common/libgstbase.def:
2223         * win32/common/libgstreamer.def:
2224         Add new symbols gst_collect_pads_take_buffer, 
2225         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2226         exports
2227
2228         Changelog surgery to add API keyword to new gst_check API.
2229
2230 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2231
2232         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2233         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2234         Update pre-generated flex files with flex 2.3.34.
2235
2236 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2237
2238         * gst/gstminiobject.c:
2239           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2240           friendly to subclasses and not require them to know all internals
2241           of their parent class.
2242
2243 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2244
2245         * docs/libs/gstreamer-libs-sections.txt:
2246         * libs/gst/base/gstcollectpads.c:
2247         * libs/gst/base/gstcollectpads.h:
2248           Add sub-buffer functions to collectpads. Fixes #516187.
2249           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2250
2251 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2252
2253         * gst/gstbuffer.c:
2254           Copy selected buffer-flags when creating subbuffers.
2255           Fixes #516395.
2256
2257 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2258
2259         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2260         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2261         * gst/gstmessage.c: (gst_message_class_init),
2262         (gst_message_finalize):
2263         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2264         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2265         (gst_mmap_buffer_finalize):
2266         Properly chain up finalize functions to the parent class.
2267
2268 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2269
2270         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2271
2272         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2273         (gst_index_set_resolver_full):
2274         * gst/gstindex.h:
2275         Add new function with option to dispose of user_data in resolver.
2276         Actually call the dispose function when finalizing the object and not
2277         just when changing the resolver/filter.
2278         API: GstIndex::gst_index_set_resolver_full()
2279
2280         * docs/gst/gstreamer-sections.txt:
2281         Add new function to docs. Fixes #515469.
2282
2283 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2284
2285         * gst/gstindex.c: (gst_index_finalize):
2286         Chain up finalize to the parent class. Fixes leaking the GstObject
2287         name and other things.
2288
2289 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2290
2291         * configure.ac:
2292         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2293         pre-releases or releases.
2294
2295         * docs/faq/gst-uninstalled:
2296         Add gst-plugins-gl
2297
2298         * docs/random/release:
2299         Change one of the steps - we only upload core & base to Gnome FTP
2300
2301 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2302
2303         * gst/gstconfig.h.in:
2304           Add 'id' for example.
2305
2306         * gst/gstpad.c:
2307         * gst/gstutils.c:
2308         * plugins/elements/gstfdsink.c:
2309           Link to signals. Doc and comment fixes.
2310
2311 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2312
2313         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2314         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2315           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2316           unused and unimplemented; finally, it is plugin features, not
2317           plugins, that have ranks.
2318           
2319 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2320
2321         * gst/gstpluginfeature.h:
2322           Clarify GstRank range docs.
2323
2324 2008-02-05  David Schleef  <ds@schleef.org>
2325
2326         * gst/gst.c: Add a separate gst_deinitialized that prevents
2327           gst_init() from being called after gst_deinit().  Fixes #509559
2328
2329 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2330
2331         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2332         (gst_bin_class_init):
2333         * gst/gstelement.c: (gst_element_base_class_init),
2334         (gst_element_class_add_pad_template):
2335         * gst/gstpadtemplate.c: (gst_pad_template_init):
2336         * gst/gstpipeline.c: (gst_pipeline_get_type),
2337         (gst_pipeline_base_init), (gst_pipeline_class_init):
2338         * libs/gst/base/gstbasesink.c:
2339         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2340         (gst_base_src_base_init), (gst_base_src_class_init):
2341         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2342         (gst_capsfilter_class_init):
2343         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2344         (gst_fake_sink_class_init):
2345         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2346         (gst_fake_src_class_init):
2347         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2348         (gst_fd_sink_class_init):
2349         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2350         (gst_fd_src_class_init):
2351         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2352         (gst_file_sink_class_init):
2353         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2354         (gst_file_src_class_init):
2355         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2356         (gst_identity_class_init):
2357         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2358         (gst_multi_queue_class_init):
2359         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2360         (gst_queue_class_init):
2361         * plugins/elements/gsttee.c: (gst_tee_base_init),
2362         (gst_tee_class_init):
2363         * plugins/elements/gsttypefindelement.c:
2364         (gst_type_find_element_base_init),
2365         (gst_type_find_element_class_init):
2366         * tests/check/gst/gstelement.c: (gst_element_suite):
2367         Revert previous changes to the behaviour of GstPadTemplates, etc
2368         and the possiblity to call them in class_init as it breaks too
2369         many elements. Reopens bug #491501.
2370
2371         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2372         several places.
2373
2374 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2375
2376         * tools/gst-launch.c:
2377         Dump one graph per pipeline state-change and state change name
2378         (if GST_DEBUG_DUMP_DOT_DIR is set).
2379
2380 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2381
2382         * gst/gstpad.c:
2383         * tests/check/gst/gstpad.c:
2384         Be sure that we have a new copy of the caps and not
2385         reffed caps from a template
2386
2387 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2388
2389         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2390         * gst/gstpipeline.c: (gst_pipeline_get_type),
2391         (gst_pipeline_class_init):
2392         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2393         (gst_base_sink_class_init):
2394         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2395         (gst_base_src_class_init):
2396         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2397         (gst_base_transform_class_init):
2398         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2399         (gst_collect_pads_class_init):
2400         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2401         * libs/gst/net/gstnettimeprovider.c:
2402         (gst_net_time_provider_base_init),
2403         (gst_net_time_provider_class_init):
2404         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2405         (gst_capsfilter_class_init):
2406         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2407         (gst_fake_sink_class_init):
2408         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2409         (gst_fake_src_class_init):
2410         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2411         (gst_fd_sink_class_init):
2412         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2413         (gst_fd_src_class_init):
2414         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2415         (gst_file_sink_class_init):
2416         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2417         (gst_file_src_class_init):
2418         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2419         (gst_identity_class_init):
2420         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2421         (gst_multi_queue_class_init):
2422         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2423         (gst_queue_class_init):
2424         * plugins/elements/gsttee.c: (gst_tee_base_init),
2425         (gst_tee_class_init):
2426         * plugins/elements/gsttypefindelement.c:
2427         (gst_type_find_element_base_init),
2428         (gst_type_find_element_class_init):
2429         Don't use base_init where not absolutely necessary. For example it's
2430         not necessary anymore for adding pad templates or setting element
2431         details.
2432
2433         Leave empty base_init functions in several places as GST_BOILERPLATE
2434         still defines and uses them.
2435
2436 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2437
2438         * gst/gstelement.c: (gst_element_base_class_init),
2439         (gst_element_class_add_pad_template):
2440         * gst/gstpadtemplate.c:
2441         Make it possible (and recommended) to set element details and add
2442         pad templates in the class_init functions by copying the details/pad
2443         templates in GstElement's base_init.
2444
2445         Also make it possible to replace existing pad templates by adding
2446         a new one with the same name. This was done in a hackish fashion
2447         in same elements before already.
2448
2449         Don't reference pad templates that are added a second time. A
2450         new pad template has a refcount of one and is not floating anymore
2451         and to be owned by the element's class. Make this more explicit by
2452         mentioning it in the docs of gst_element_class_add_pad_template().
2453
2454         These changes are backwards compatible. Fixes bug #491501.
2455
2456         * tests/check/gst/gstelement.c:
2457         Add unit test for setting element details, adding pad templates and
2458         replacing them in a subclass.
2459
2460 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2461
2462         * tools/gst-inspect.c: (print_interfaces),
2463         (print_element_properties_info), (print_pad_info),
2464         (print_signal_info), (print_element_info):
2465         Fix a few memory leaks.
2466
2467 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2468
2469         * docs/libs/gstreamer-libs-sections.txt:
2470         * libs/gst/check/gstcheck.c:
2471         * libs/gst/check/gstcheck.h:
2472         Add more functions for unit testing: gst_check_drop_buffers,
2473         gst_check_caps_equal, gst_check_element_push_buffer_list,
2474         gst_check_element_push_buffer
2475         API: gst_check_drop_buffers
2476         API: gst_check_caps_equal
2477         API: gst_check_element_push_buffer_list
2478         API: gst_check_element_push_buffer
2479
2480 2008-02-01  Julien Moutte  <julien@fluendo.com>
2481
2482         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2483         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2484         (gst_index_finalize), (gst_index_entry_free),
2485         (gst_index_add_association): Fix memory leaks.
2486         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2487         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2488         (gst_mem_index_free_format), (gst_mem_index_free_id),
2489         (gst_mem_index_finalize): Fix memory leaks.
2490         * win32/common/config.h: Updated to CVS HEAD.
2491
2492 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2493
2494         * docs/README:
2495           Some more details about how the plugin docs works.
2496
2497         * docs/plugins/gstreamer-plugins-sections.txt:
2498           Whitespace cleanup.
2499
2500 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2501
2502         * gst/parse/grammar.tab.pre.c:
2503         * gst/parse/grammar.tab.pre.h:
2504         * gst/parse/grammar.y:
2505         * gst/parse/lex._gst_parse_yy.pre.c:
2506           Add delayed set-property. This allows to set properties on dynamicaly
2507           created objects (pads in videomxer). Fixes #509391.
2508
2509 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2510
2511         * gst/gstutils.c:
2512         Check if caps are not NULL (fix bug #510194)
2513
2514 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2515
2516         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2517         (gst_base_sink_get_position_paused):
2518         Add fixme regarding EOS in pull mode.
2519         Fix position reporting in PAUSED for negative rates.
2520
2521 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2522
2523         * gst/gstminiobject.c: (gst_mini_object_replace):
2524         When replacing a miniobject, do a quick equality check first so that we
2525         can avoid a ref/unref pair.
2526
2527 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2528
2529         * docs/design/part-synchronisation.txt:
2530         Update some docs.
2531
2532         * docs/plugins/Makefile.am:
2533         * docs/plugins/gstreamer-plugins-docs.sgml:
2534         * docs/plugins/gstreamer-plugins-sections.txt:
2535         * plugins/elements/gstmultiqueue.c:
2536         Add multiqueue to the docs.
2537
2538 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2539
2540         * configure.ac:
2541           Back to CVS
2542
2543 === release 0.10.17 ===
2544
2545 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2546
2547         * configure.ac:
2548           releasing 0.10.17, "Due Negligence"
2549
2550 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2551
2552         * gst/gstutils.c:
2553         Revert caps != NULL check temporarily for 0.10.17 release.
2554
2555 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2556
2557         * gst/gstutils.c:
2558         Check if caps are not NULL (fix bug #510194)
2559
2560 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2561
2562         * gst/gstutils.c:
2563         Fix compilation on systems that have posix timers but no
2564         monotonic clock.
2565         Fixes: #512715
2566         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2567         dot net>
2568
2569 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2570
2571         * tools/gst-inspect.c:
2572         Revert previous commit in preparation for an impromptu 0.10.17 release
2573
2574 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2575
2576         * tools/gst-inspect.c: (print_interfaces),
2577         (print_element_properties_info), (print_pad_info),
2578         (print_signal_info), (print_element_info):
2579         Fix a few memory leaks.
2580
2581 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2582
2583         * configure.ac:
2584         Back to CVS
2585
2586 === release 0.10.16 ===
2587
2588 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2589
2590         * configure.ac:
2591           releasing 0.10.16, "Special Dispensation"
2592
2593 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2594
2595         * configure.ac:
2596           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2597           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2598           not fail when trying to crosscompile on OpenEmbedded (#511750).
2599
2600 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2601
2602         * docs/manuals.mak:
2603         Use $(MAKE) instead of make to fix the build if GNU make is
2604         called different. Fixes bug #510747.
2605
2606 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2607
2608         * gst/gstplugin.c: (_gst_plugin_initialize):
2609           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2610           again, which I broke two commits ago when changing the API
2611           of gst_plugin_register_static(): the g_list_foreach() in
2612           _gst_plugin_register_static still assumed the old function
2613           signature and would therefore fail (re-fixes #510187).
2614
2615         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2616           (_gst_plugin_register_static), (gst_plugin_register_static):
2617           Revert the (technically correct) change to call g_thread_init() from
2618           the pre-main() constructor. This will break programs which call
2619           g_thread_init() without an if (!g_thread_supported()) guard in their
2620           main function. We could just blame it on GLib or the application, but
2621           it's probably best to just avoid this altogether and simply not use
2622           any GLib functions here and use plain old malloc() with a simple
2623           array to store the plugins to register later when gst_init() is
2624           finally called (re-fixes #510187).
2625
2626         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2627           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2628           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2629           (GST_START_TEST), (gst_plugin_suite):
2630           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2631           works.
2632
2633 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2634
2635         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2636           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2637           This makes gtk-doc complain, but results in slightly better
2638           compiler errors. The old _gst_plugin_register_static() is
2639           still guarded, so there'll be a compiler warning about that
2640           instead. Fixes #510187 too.
2641
2642 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2643
2644         * gst/gst.c: (init_post):
2645         * gst/gstplugin.c: (_gst_plugin_register_static),
2646           (gst_plugin_register_static), (_gst_plugin_initialize):
2647         * gst/gstplugin.h: (GstPluginFilter):
2648           Change API of gst_plugin_register_static() to not take
2649           a GstPluginDesc, but rather just take all the arguments
2650           in a GstPluginDesc directly. This is more intuitive and
2651           avoids certain mistakes when porting code from
2652           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2653           Fixes #510187.
2654
2655         * tests/check/gst/gstplugin.c:
2656           Fix up for changed API.
2657
2658 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2659
2660         * docs/faq/legal.xml:
2661           Update FAQ, Totem actually has an exception these days.
2662
2663 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
2664
2665         * win32/common/libgstreamer.def:
2666         Add new API declarations
2667
2668 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2669
2670         * gst/gstminiobject.c:
2671           Spelling fixes for the API docs.
2672
2673 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2674
2675         * libs/gst/base/gstbasetransform.c:
2676           Fix long property description for QoS.
2677
2678 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
2679
2680         * gst/gst.c:
2681         _gst_trace_on is already provided by gsttrace.h, no need to declare
2682         it ourselves.
2683
2684         * docs/libs/gstreamer-libs-sections.txt:
2685         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2686         and remove strange tcase_add_test which is outputting a warning.
2687
2688         * libs/gst/check/gstcheck.c:
2689         * libs/gst/check/gstcheck.h:
2690         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2691         and define them in gstcheck.c instead of having every .c file whcih
2692         includes gstcheck.h be defining its own copy and relying on symbol
2693         interposing to marry them all, which doesn't work on Solaris.
2694
2695         * tests/check/elements/identity.c: (GST_START_TEST):
2696         Don't define 'buffers' locally, it comes from libgstcheck.
2697
2698         * tests/check/generic/sinks.c: (send_buffer):
2699         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2700
2701         * tests/check/gst/gststructure.c: (GST_START_TEST):
2702         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2703         * tests/check/gst/gstutils.c: (GST_START_TEST):
2704         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2705         Add a bunch of casts to make various constants fit the types
2706         they're being assigned to.
2707
2708 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
2709
2710         * gst/gstchildproxy.c:
2711           Improve docs and add some ideas for making this more general-purpose.
2712
2713 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
2714
2715         * gst/gst_private.h: (GST_CAT_TYPES):
2716           Add GST_CAT_TYPES, for consistency, and so that the other
2717           debug categories don't make fun of it. Spotted by Saur on IRC.
2718
2719 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2720
2721         * gst/parse/Makefile.am:
2722           Move types.h from EXTRA_DIST to noinst_HEADERS.
2723
2724 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2725
2726         * autogen.sh:
2727           Add -Wno-portability to the automake parameters to stop warnings
2728           about GNU make extensions being used. We require GNU make in almost
2729           every Makefile anyway.
2730
2731         * configure.ac:
2732           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2733           at the same time is required for per target flags.
2734
2735 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2736
2737         * gst/gstmacros.h:
2738           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2739           __GNUC__ is defined before using it.
2740
2741 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2742
2743         * docs/gst/gstreamer-sections.txt:
2744         * gst/gst.c: (init_post):
2745         * gst/gstplugin.c: (_gst_plugin_register_static),
2746           (gst_plugin_register_static), (_gst_plugin_initialize),
2747           (gst_plugin_register_func):
2748         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2749           API: add gst_plugin_register_static() and deprecate
2750           GST_PLUGIN_DEFINE_STATIC, since it's not portable
2751           (#498924).
2752           Also, in _gst_plugin_register_static(), make sure to call
2753           g_thread_init() before calling GLib functions such as
2754           g_list_append() if we're not initialised yet, since that
2755           may lead to random crashes with older GSlice/GLib versions.
2756
2757         * tests/check/gst/gstplugin.c:
2758           Adapt unit test to above changes.
2759
2760 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2761
2762         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2763         * gst/gstcaps.c: (gst_caps_to_string):
2764         * gst/gststructure.c: (GST_ASCII_IS_STRING),
2765           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2766           Yet another gratuitous GString micro-optimisation: add a (private)
2767           function that serialises a structure appending to an existing
2768           GString, so that when we serialise caps we don't need to alloc+free
2769           a throwaway GString for each structure (each of which also entailing
2770           multiple reallocs on the way); also use g_string_sized_new() in
2771           various places with an approximate string length to avoid reallocs
2772           within GString. See #500143.
2773
2774 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2775
2776         * gst/gststructure.c: (gst_structure_id_set_value):
2777           Always check UTF-8 conformance of structure strings and not only
2778           if the debugging system is enabled; reasoning: the behaviour of
2779           the actual code shouldn't really change depending on whether the
2780           debugging system is enabled or not (#508291).
2781
2782 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
2783
2784         * Makefile.am:
2785           Remove old coverage target in favour of "make lcov".
2786
2787 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2788
2789         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2790         (gst_base_src_loop):
2791         The start segment for reverse playback goes from start to last_stop.
2792
2793 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2794
2795         Patch by: Peter Kjellerstedt <pkj axis com>
2796
2797         * gst/gstclock.h:
2798         Cast the results from the timeval/spec_to_time macros to what the
2799         docs say it casts to, a GstClockTime. fixes #508175.
2800
2801 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2802
2803         * gst/gstbuffer.c:
2804         Update some comments.
2805
2806         * tools/gst-inspect.c: (print_element_properties_info):
2807         Improve printing of flags.
2808
2809 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
2810
2811         * libs/gst/base/gstbasetransform.c:
2812           (gst_base_transform_transform_size):
2813           Print element name with g_warning() if there's a problem
2814           with the unit size.
2815
2816 2008-01-07  David Schleef  <ds@schleef.org>
2817
2818         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2819
2820         * libs/gst/controller/gstcontroller.h:
2821         * libs/gst/controller/gstcontrolsource.h:
2822         * libs/gst/controller/gstinterpolationcontrolsource.h:
2823         * libs/gst/controller/gstlfocontrolsource.h:
2824         * libs/gst/dataprotocol/dataprotocol.h:
2825           Fix empty prototypes.  Fixes bug #507957.
2826
2827 2008-01-07  David Schleef  <ds@schleef.org>
2828
2829         * docs/faq/dependencies.xml: Fix typo.
2830
2831 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2832
2833         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2834         (gst_base_src_loop):
2835         Don't update the last_stop position in do_seek, that's the position we
2836         did a seek to.
2837         Read backwards when we have a negative rate.
2838
2839         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2840         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2841         (filesrc_suite):
2842         Add check for reverse reading.
2843
2844 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
2845
2846         Patch by: Alexis Ballier <aballier at gentoo org>
2847
2848         * tests/check/gst/gstabi.c:
2849         * tests/check/gst/struct_ppc64.h:
2850         * tests/check/libs/libsabi.c:
2851         * tests/check/libs/struct_ppc64.h:
2852           Decide which header to include based on the userland ABI target
2853           and not the kernel/cpu. Fix up structure sizes of ppc64 header
2854           for 64-bit userland (#503590).  Might need something similar for
2855           x86 too.
2856
2857 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2858
2859         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2860           Log the reason why fopen fails in addition to the fact that it failed.
2861           
2862 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
2863
2864         * gst/parse/parse.l:
2865         Use "%option never-interactive" to prevent useless calls to isatty()
2866         on every input when parsing. Also use "%option noinput" to not define
2867         the static input/yyinput functions which we don't use anyway. This
2868         removes a compiler warning with gcc 4.3 and saves some bytes in the
2869         library.
2870         
2871         * gst/parse/lex._gst_parse_yy.pre.c:
2872         Regenerated for the above change.
2873
2874 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2875
2876         * gst/gstpad.c: (fixate_value):
2877         Don't crash when trying to fixate and empty list.
2878         Fixes #506643.
2879
2880 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
2881
2882         * docs/faq/gst-uninstalled:
2883         Clarify the comments to make the usage of this script and what it
2884         does easier to understand.
2885
2886 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2887
2888         * tools/gst-plot-timeline.py:
2889         Add more options to gst-plot-timeline
2890
2891 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2892
2893         * docs/design/part-synchronisation.txt:
2894         Some more info on how the stream_time in GstBaseSink is done.
2895
2896 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
2897
2898         * tests/check/generic/sinks.c: (gst_sinks_suite):
2899           Put back the tcase_set_timeout(), apparently it's needed after
2900           all; fix it up in a way that makes things work with valgrind too.
2901
2902 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2903
2904         * gst/gstdebugutils.c:
2905           Add warning when failed to open file for writing.
2906
2907 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2908
2909         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
2910
2911         * gst/gstvalue.c: (gst_value_is_fixed):
2912           Optimisation: bail out of the loop as early as possible (#500143).
2913
2914 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2915
2916         * gst/gstcaps.c: (gst_caps_to_string):
2917         * gst/gstinfo.c: (gst_debug_construct_term_color):
2918         * gst/gstparse.c: (gst_parse_launchv):
2919         * gst/gstutils.c: (gst_util_dump_mem):
2920         * gst/gstvalue.c: (gst_value_serialize_any_list),
2921           (gst_value_transform_any_list_string):
2922           Bunch of gratuitous nano-optimisations.
2923
2924 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2925
2926         * tests/check/generic/sinks.c: (async_done_func),
2927           (async_done_eos_func):
2928           Fix leak in unit test (bus sync handler must unref the message
2929           if it returns GST_BUS_DROP). Don't fiddle with the default test
2930           timeout, this is smaller than the current preconfigured value
2931           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
2932           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
2933
2934 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2935
2936         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2937
2938         * configure.ac:
2939         Check for stdio_ext.h for the filesink changes.
2940
2941         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
2942         (gst_file_sink_class_init), (gst_file_sink_init),
2943         (gst_file_sink_dispose), (gst_file_sink_set_property),
2944         (gst_file_sink_get_property), (gst_file_sink_open_file),
2945         (gst_file_sink_close_file):
2946         * plugins/elements/gstfilesink.h:
2947         Add two properties to control the buffering mode and size.
2948         API: GstFileSink::buffer-mode
2949         API: GstFileSink::buffer-size
2950         Fixes #500150.
2951
2952 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2953
2954         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
2955         Add some more docs to explain why a FIXME was wrongly added. 
2956
2957 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
2958
2959         * gst/gstobject.c:
2960           Fix typo in the gst_object_{ref,unref} documentation.
2961
2962 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
2963
2964         * tests/check/libs/controller.c:
2965         * tests/check/libs/typefindhelper.c:
2966         * tests/check/pipelines/parse-launch.c:
2967           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
2968           going to be deprecated (see #498924).
2969
2970 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
2971
2972         * gst/gsttypefind.c: (gst_type_find_register):
2973           Make gst_type_find_register work for static typefind functions,
2974           ie. allow passing plugin == NULL (prerequisite for #498924).
2975
2976         * gst/gstelementfactory.c: (gst_element_register):
2977           Small docs addition.
2978
2979 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2980
2981         * gst/gstpad.c: (gst_pad_dispose):
2982         Really unlink the peer pad instead of setting the peer pointer to NULL
2983         when we dispose the pad.
2984         This correctly calls the unlink functions and makes sure that the peer
2985         does not have a handle to invalid memory. See #504671.
2986
2987         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2988         Add testsuite for above case.
2989
2990 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
2991
2992         Patch by: Peter Kjellerstedt <pkj axis com>
2993
2994         * libs/gst/check/gstcheck.h:
2995           Fix detection of the check version we're compiling against (would
2996           otherwise break if check goes v0.10.0); correctly report the
2997           name of the failed test again in case of failure, instead of
2998           just 'tf' (fixes #504499).
2999
3000 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3001
3002         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3003         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3004         (gst_base_src_loop), (gst_base_src_set_flushing),
3005         (gst_base_src_change_state):
3006         Allow sending EOS to the source to make it send out an EOS event from
3007         the streaming thread.
3008         Update docs and deprecate the old NULL/READY shutdown method.
3009
3010         * tests/check/libs/basesrc.c: (GST_START_TEST),
3011         (gst_basesrc_suite):
3012         Add unit test for controlled shutdown.
3013
3014 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3015
3016         * docs/design/part-synchronisation.txt:
3017         Small updates.
3018
3019         * gst/gstsegment.c: (gst_segment_set_seek),
3020         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3021         (gst_segment_to_running_time):
3022         The seek format can be different from the segment format when the start
3023         and stop values are not to be updated, when we only do a rate change for
3024         example.
3025
3026         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3027         (gst_segment_suite):
3028         Add a testcase for the rate-only seeks, checking that the format is
3029         correctly ignored when start and stop are not updated.
3030
3031 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3032
3033         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3034
3035         * win32/vs8/grammar.vcproj:
3036         * win32/vs8/libgstcontroller.vcproj:
3037         * win32/vs8/libgstreamer.vcproj:
3038         Fix compilation with VS8 and include some missing files.
3039
3040 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3041
3042         * gst/gsttaglist.c:
3043           Small docs addition: mention that the strings returned by
3044           gst_tag_list_get_string*() are in UTF-8 encoding.
3045
3046 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3047
3048         * Makefile.am:
3049           The check-exports stuff moved to common/win32.mak, so include that.
3050
3051 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3052
3053         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3054         (gst_base_src_perform_seek), (gst_base_src_get_range),
3055         (gst_base_src_set_playing), (gst_base_src_change_state):
3056         Make _wait_playing() not check any variables so that we can call this
3057         function from subclasses. Move the checks elsewhere similar to
3058         _wait_preroll() in basesink.
3059         Add some debugging.
3060         Only signal the LIVE cond when we are going back to PLAYING.
3061
3062 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3063
3064         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3065           Use g_remove() and g_rename(). Check result of g_rename(), and
3066           don't leak the open file descriptor if we error out when writing.
3067
3068         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3069           Must check the return value of close() after writing out the new
3070           registry file.  Sometimes write problems such as out-of-diskspace
3071           are only reported when the file is closed and not already during
3072           the write.  This may have caused partial/broken registry files in
3073           some rare circumstances. Should fix #503675.
3074
3075 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3076
3077         * docs/gst/.cvsignore:
3078         * docs/libs/.cvsignore:
3079         * docs/plugins/.cvsignore:
3080         Ignore files generated by new common/* modifications
3081
3082 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3083
3084         * win32/common/libgstbase.def:
3085           Yes, you can also have a <TAB> if you want.
3086
3087 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3088
3089         * win32/common/libgstbase.def:
3090           Add new basetransform API to win export file.
3091
3092 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3093
3094         * tests/check/gst/gstbin.c:
3095           Adjust the test to the refcount change two days ago.
3096
3097 2007-12-14  David Schleef  <ds@schleef.org>
3098
3099         * docs/faq/getting.xml: Fix typo.
3100
3101 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3102
3103         * docs/libs/gstreamer-libs-sections.txt:
3104         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3105           (gst_base_transform_prepare_output_buffer),
3106           (gst_base_transform_set_gap_aware):
3107         * libs/gst/base/gstbasetransform.h:
3108           API: Add gst_base_transform_set_gap_aware() to control whether
3109           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3110           get buffers with this flag at all. Fixes #503231.
3111
3112 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3113
3114         * libs/gst/base/gstbasesink.c:
3115         * libs/gst/base/gstbasesrc.c:
3116         * libs/gst/base/gstbasetransform.c:
3117           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3118           thread. Correct log message in gstbasesrc.c.
3119
3120 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3121
3122         * gst/gstutils.c: (element_find_unconnected_pad):
3123           Fix possible compiler warning (#503417).
3124
3125 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3126
3127         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3128           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3129
3130 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3131
3132         * tools/gst-inspect.c: (print_element_properties_info):
3133           Add support for GstFraction properties.
3134
3135 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3136
3137         * Makefile.am:
3138           Add check-exports target and run it as part of 'make check'
3139           (see #499140 and #493983).
3140
3141         * gst/gst_private.h:
3142         * gst/gstelementfactory.h:
3143         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3144         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3145           (_priv_gst_in_valgrind):
3146         * gst/gstinfo.h: (GstLogFunction):
3147         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3148           (gst_type_find_register):
3149         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3150           (gst_type_find_factory_get_type):
3151         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3152           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3153           (gst_controller_new_valist), (gst_controller_new_list),
3154           (_gst_controller_dispose), (_gst_controller_class_init):
3155         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3156         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3157           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3158           (gst_object_get_controller), (gst_object_set_controller),
3159           (gst_object_suggest_next_sync), (gst_object_sync_values),
3160           (gst_object_set_control_source), (gst_object_get_control_source),
3161           (gst_object_get_value_arrays), (gst_object_get_value_array),
3162           (gst_object_get_control_rate), (gst_object_set_control_rate):
3163         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3164         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3165           Make some functions that should be static static; rename some
3166           private symbols so that they don't get exported; add some FIXME
3167           comments so we can move accidentally exported functions into
3168           our private section in 0.11.
3169
3170         * win32/common/libgstreamer.def:
3171           Add gst_utils_get_timestamp().
3172
3173 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3174
3175         * gst/gstvalue.c:
3176         * gst/gstvalue.h:
3177           Add more missing "Since:" tags to docs.
3178
3179 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3180
3181         * gst/gstutils.c:
3182           Add mising "Since:" to docs.
3183
3184 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3185
3186         * gst/gstplugin.c:
3187           Include "glib-compat-private.h" to fix the build on system with
3188           glib < 2.10. Fixes #503131.
3189
3190 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3191
3192         * gst/gstutils.c:
3193         * gst/gstutils.h:
3194           Actually its not PURE as it gets the time from elsewhere.
3195
3196 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3197
3198         * docs/gst/gstreamer-sections.txt:
3199         * gst/gstclock.h:
3200         * gst/gstdebugutils.c:
3201         * gst/gstinfo.c:
3202         * gst/gstutils.c:
3203         * gst/gstutils.h:
3204         * libs/gst/base/gstbasesink.c:
3205         * tools/gst-launch.c:
3206           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3207           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3208           Thanks Tim for spotting.
3209           API: gst_util_get_timestamp
3210
3211 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3212
3213         * configure.ac:
3214           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3215
3216 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3217
3218         * gst/gststructure.c: (gst_structure_validate_name),
3219           (gst_structure_new_valist), (gst_structure_parse_value),
3220           (gst_structure_from_string):
3221           Don't crash in _from_string() if the structure name is not valid
3222           (fixes #501560).  Allow structure names to start with a number
3223           again (this apparently broke the ubuntu codec installer).
3224
3225         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3226           (GST_START_TEST):
3227           Add unit test for the crash; update unit tests for new behaviour.
3228
3229 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3230
3231         * gst/gstutils.c:
3232         Clarify gst_element_get_compatible_pad() documentation.
3233         Fixes #500919.
3234
3235 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3236
3237         * tests/check/Makefile.am:
3238           Don't forget to dist {gst,libs}/struct_hppa.h.
3239
3240 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3241
3242         * libs/gst/base/gstbasesink.c:
3243           Use new API to get elapsed time.
3244
3245 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3246
3247         * gst/gstdebugutils.c:
3248         * gst/gstinfo.c:
3249           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3250
3251         * tools/gst-launch.c:
3252           Use new API to get elapsed time.
3253
3254 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3255
3256         * docs/gst/gstreamer-sections.txt:
3257         * gst/gstclock.h:
3258         * gst/gstdebugutils.c:
3259         * gst/gstinfo.c:
3260           Rename new API + ChangeLog surgery to remove old name from last entry..
3261
3262 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3263
3264         * docs/gst/gstreamer-sections.txt:
3265         * gst/gstclock.h:
3266         * gst/gstdebugutils.c:
3267         * gst/gstinfo.c:
3268           Now hide the different clock stuff behind a macro.
3269
3270 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3271
3272         * configure.ac:
3273         * gst/gstdebugutils.c:
3274         * gst/gstinfo.c:
3275           Apply the posix-timer check from #361155. Conditionally use the posix
3276           timer for logging. This gives better timestamp precission, less
3277           overhead and no ntp jitter.
3278
3279 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3280
3281         * gst/gstminiobject.c: (gst_mini_object_get_type),
3282         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3283         (gst_mini_object_finalize), (gst_mini_object_copy),
3284         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3285         (gst_mini_object_replace), (param_mini_object_validate),
3286         (gst_param_spec_mini_object_get_type):
3287         Some cleanup and checking against invalid function parameters.
3288
3289 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3290
3291         * docs/gst/gstreamer-sections.txt:
3292         * gst/gstclock.h:
3293         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3294         (gst_systemclock_suite):
3295         Start merging in the easy bits of #361155, the monotonic clock patch.
3296         This one adds a few handy macros with docs and a testsuite.
3297
3298 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3299
3300         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3301         Be a bit smarter when seeking, like, don't try to do a seek when it's
3302         not needed. This avoids errors when the file is not seekable.
3303         Fixes #499771.
3304
3305 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3306
3307         * docs/gst/gstreamer-docs.sgml:
3308         * docs/gst/gstreamer-sections.txt:
3309         * docs/gst/gstreamer.types.in:
3310         * gst/Makefile.am:
3311         * gst/gst.h:
3312         * gst/gstpreset.c:
3313         * gst/gstpreset.h:
3314         * plugins/elements/gstqueue.c:
3315           Due to popular request remove preset interface again. :-(.
3316
3317 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3318
3319         * tools/gst-inspect.c:
3320           Print 'default value' for enums and flags too.
3321
3322 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3323
3324         * docs/random/ensonic/profiling.txt:
3325           More ideas.
3326
3327         * gst/gstbin.c:
3328           Fix typo and give better log output.
3329
3330         * gst/gstdebugutils.c:
3331         * gst/gstdebugutils.h:
3332           More ideas, make graphs a bit smaller and fix param name in macro.
3333
3334 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3335
3336         * gst/gstpreset.c:
3337           Try harder to use the return value from fgets().
3338
3339 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3340
3341         * gst/gstpreset.c:
3342           For theses two fgets we handle the error below.
3343
3344 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3345
3346         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3347         Only send upstream events upstream. Fixes #498746.
3348
3349 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3350
3351         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3352
3353         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3354         (gst_identity_init), (gst_identity_transform_ip),
3355         (gst_identity_set_property), (gst_identity_get_property):
3356         * plugins/elements/gstidentity.h:
3357         Add property to disable handoff signal emission. Fixes #498694.
3358         API: GstIdentity::signal-handoffs
3359
3360 2007-11-21  Julien Moutte  <julien@fluendo.com>
3361
3362         * docs/faq/gst-uninstalled: Yet another missing library for the
3363         uninstalled script (fft)
3364
3365 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3366
3367         * docs/faq/developing.xml:
3368         Add a question about how to submit new translations.
3369
3370         * docs/random/release:
3371         Update the contact email address for the Translation Project
3372
3373         * plugins/elements/gstfdsrc.c:
3374         The parent_class for fdsrc is pushsrc, not GstElement.
3375
3376 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3377
3378         * gst/gstpreset.c:
3379           Plug a leak and fix saving.
3380
3381 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3382
3383         * docs/gst/gstreamer-sections.txt:
3384         Add new gst_preset__get_property_names() function to the docs
3385         to fix the build.
3386
3387 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3388
3389         * gst/gstpreset.c:
3390         * gst/gstpreset.h:
3391           Change _get_preset_names API to return a strv with copies. Add
3392           _get_property_names to allow implementations to filter and provide
3393           good default implementation.
3394
3395 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3396
3397         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3398         script (sdp).
3399
3400 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3401
3402         * gst/gstpreset.c:
3403           More cleanups, docs, and TODOs from comments that now slowly come in.
3404
3405 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3406
3407         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3408         search path.
3409
3410 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3411
3412         * gst/gstpreset.c:
3413           Fix bogus warning and make the property type specific code more
3414           similar.
3415
3416 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3417
3418         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3419         it build on OS X.
3420
3421 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3422
3423         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3424         (gst_bin_add_func), (gst_bin_remove_func),
3425         (gst_bin_change_state_func), (gst_bin_continue_func):
3426         Change email, cleanups add some more debug and comments.
3427         Also set bus and clock on new elements when the pipeline was in error.
3428
3429 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3430
3431         * gst/gstbin.c:
3432         * gst/gstdebugutils.c:
3433           Fix build with --disable-gst-debug. Fixes #497859.
3434           Spotted by Sameer Naik.
3435
3436 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3437
3438         * gst/gstevent.c:
3439           Little documentation improvment.
3440
3441         * gst/gstpreset.c:
3442           More TODO cleanups. Remove c++ comments.
3443
3444         * libs/gst/controller/gstcontroller.c:
3445           Add TODO and use quark from static string.
3446
3447         * tests/check/gst/gstmessage.c:
3448         * tests/check/gst/gststructure.c:
3449           Use quark from static string.
3450
3451 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3452
3453         * gst/gstpreset.c:
3454           Add some comments and TODOs.
3455
3456         * gst/gstpreset.h:
3457           Add padding for future changes.
3458
3459         * plugins/elements/gstqueue.c:
3460           Implement the iface.    
3461
3462 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3463
3464         * docs/gst/gstreamer-docs.sgml:
3465         * docs/gst/gstreamer-sections.txt:
3466         * docs/gst/gstreamer.types.in:
3467         * gst/Makefile.am:
3468         * gst/gst.h:
3469         * gst/gstpreset.c:
3470         * gst/gstpreset.h:
3471           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3472
3473 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3474
3475         * configure.ac:
3476
3477         Back to CVS
3478
3479 === release 0.10.15 ===
3480
3481 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3482
3483         * configure.ac:
3484           releasing 0.10.15, "October"
3485
3486 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3487
3488         * win32/vs6/libgstreamer.dsp:
3489         Convert line endings back to DOS.
3490
3491 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3492
3493         * docs/design/draft-tagreading.txt:
3494         * docs/random/ensonic/profiling.txt:
3495         Update fast tagreading draft and performance profiling ideas.
3496
3497 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3498
3499         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3500         Don't hold the object lock when unreffing a buffer because it could
3501         cause a deadlock when the finalize function wants to grab the object
3502         lock too. Fixes #495133.
3503
3504 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3505
3506         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3507         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3508         Also accumulate time correctly when doing reverse playback. Fixes
3509         #488201,
3510         When converting to running and stream time, use default values for
3511         start/stop/time/accum when comparing different formats. Fixes #494245.
3512
3513         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3514         Do running/stream time in TIME format.
3515
3516         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3517         (gst_segment_suite):
3518         2 new unit tests for segment accumulation.
3519
3520 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3521
3522         * gst/gst.c: (init_pre):
3523         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3524           (_gst_debug_bin_to_dot_file):
3525           Move getenv() back into gst_init, so everyone can live happily
3526           ever after. Make sure the symbol isn't exported though.
3527
3528 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3529
3530         Patch by: Sebastien Moutte  <sebastien moutte net>
3531
3532         * win32/common/gstenumtypes.c:
3533         * win32/common/gstenumtypes.h:
3534           Update enum types.
3535
3536         * win32/vs6/libgstreamer.dsp:
3537           Update vs6 project files (#494343).
3538
3539 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3540
3541         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3542         (gst_base_src_perform_seek), (gst_base_src_default_event),
3543         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3544         (gst_base_src_activate_pull):
3545         Unify flushing code, remove some old unlock code that is no longer used.
3546         Take the streaming lock when seeking to avoid races. Fixes #492729.
3547         Added some more comments.
3548
3549 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3550
3551         * gst/gst.c: (_gst_disable_segtrap):
3552           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3553           we can use gst_segtrap_is_enabled() there now that we have that API.
3554           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3555           to do the getenv here (and export the variable).
3556
3557         * gst/gstdebugutils.c: (debug_dump_element),
3558           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3559           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3560
3561         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3562           (gst_debug_log_default):
3563           Rename _gst_info_start_time to priv_gst_info_start_time so it
3564           doesn't get exported (was never in any header).
3565
3566         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3567           (gst_plugin_loading_mutex):
3568           Make static mutex gst_plugin_loading_mutex really static (was never
3569           in any header), and use gst_segtrap_is_enabled() instead of
3570           _gst_disable_segtrap.
3571
3572         * gst/gsttrace.c: (_gst_trace_default):
3573           Make local _gst_trace_default static (was never in any header).
3574
3575 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3576
3577         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3578
3579         * win32/common/libgstbase.def:
3580         * win32/common/libgstcontroller.def:
3581         * win32/common/libgstdataprotocol.def:
3582         * win32/common/libgstnet.def:
3583         * win32/common/libgstreamer.def:
3584           Add more missing symbols, remove some duplicates, and sort
3585           as the 'sort' command sorts it (partially fixes #493983).
3586
3587 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3588
3589         * gst/gstelement.c: (gst_element_set_state_func):
3590         Only change the state cookie if a different state was set on the
3591         element. See #492729.
3592
3593 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3594
3595         * gst/gstvalue.c:
3596           Remove unused and uninitialised type variables that were still
3597           exported for some reason (they were never in any header files
3598           though).
3599
3600 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3601
3602         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3603         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3604         (gst_base_sink_event), (gst_base_sink_get_position_last),
3605         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3606         (gst_base_sink_change_state):
3607         Don't try to report a 0 position when we don't know, return -1 and FALSE
3608         instead. This mostly happens when we are prerolling.
3609         Make sure we can report the right position before we post the ASYNC_DONE
3610         message so that a message handler can query position without races.
3611
3612         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3613         (async_done_handoff), (async_done_func), (send_buffer),
3614         (async_done_eos_func), (gst_sinks_suite):
3615         Add two tests for the above.
3616
3617 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3618
3619         * MAINTAINERS:
3620         Update with new email address.
3621
3622         * docs/design/part-TODO.txt:
3623         Add some more info about future pad-block and negotiation changes.
3624
3625         * docs/design/part-buffering.txt:
3626         Add some ideas about buffering reporting.
3627
3628 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
3629
3630         * tests/check/gst/gstobject.c:
3631         Disable silly racy test that always fails on this combination of CPU
3632         and kernel.
3633
3634 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3635
3636         Patch by: Murray Cumming  <murrayc@murrayc.com>
3637
3638         * gst/gstobject.c:
3639           Corrected the registration of the parent-set and parent-unset
3640           signals: The parameter is a GstObject, not a GObject (#493134).
3641
3642 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3643
3644         * gst/gst_private.h:
3645         * gst/gstbuffer.h:
3646         * gst/gstevent.h:
3647         * gst/gstformat.h:
3648         * gst/gstmessage.h:
3649         * gst/gstplugin.h:
3650         * gst/gstquery.h:
3651         * gst/gsttaglist.h:
3652         * gst/gstvalue.h:
3653           Move declaration of private _gst_foo_initialize() functions into
3654           our private header file where they should have been all along.
3655
3656 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3657
3658         * docs/plugins/gstreamer-plugins-sections.txt:
3659         * gst/gstdebugutils.h:
3660         * gst/gstxml.h:
3661         * plugins/elements/gstqueue.c:
3662           gtk-doc fixes; trailing-comma-in-enum fix.
3663
3664 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3665
3666         * gst/gst.c: (gst_deinit):
3667           Clean up on deinit (not the external ones though, doesn't seem to be
3668           needed for some reason).
3669
3670 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3671
3672         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3673           Remove __declspec(dllimport) for MSVC that was copied over into core
3674           from a plugin, obviously without ever having been tested (note the
3675           single underscore in _declspec in the initial commit), and that doesn't
3676           really make sense.  See #492077.
3677
3678 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3679
3680         * gst/gst.c: (init_post):
3681         * gst/gstevent.c: (_gst_event_initialize):
3682         * gst/gstquery.c: (_gst_query_initialize):
3683         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3684           g_type_class_ref() other types as well, see #349410 and #64764.
3685
3686         * gst/gstbuffer.c: (_gst_buffer_initialize):
3687         * gst/gstmessage.c: (_gst_message_initialize):
3688           Simplify existing g_type_class_ref().
3689
3690 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3691
3692         * gst/gstformat.c: (_gst_format_initialize):
3693           g_type_class_ref() our GstFormat type to make sure we avoid the
3694           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3695           bug #64764. Should fix intermittent tee unit test failures (#474823).
3696
3697 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3698
3699         * tests/check/elements/tee.c: (test_num_buffers):
3700           Simplify, simplify, simplify - or not.  Rewrite unit test
3701           not to use gst_parse_launch(); allow N sub-streams. Increasing
3702           the number of sub-streams seems to reproduce #474823 more easily.
3703
3704 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3705
3706         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3707
3708         * gst/gsttrace.c:
3709         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3710         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3711         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3712           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3713           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3714           so use _pipe() directly (#492077).
3715
3716         * win32/common/dirent.c: (_treaddir):
3717           Add a couple of casts to make it build without warnings with MSVC.
3718
3719         * win32/common/libgstreamer.def:
3720           Add some more symbols that need to be exported.
3721
3722 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3723
3724         * tests/examples/metadata/read-metadata.c: (message_loop):
3725           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3726           arriving in a second or third tag message are added to
3727           the tag list as well.
3728
3729 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
3730
3731         * libs/gst/base/gstbasesrc.c:
3732           Its "Since:" and not "@Since:". And remove an superflous cast.
3733
3734 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
3735
3736         * docs/libs/gstreamer-libs-sections.txt:
3737         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3738         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3739         (gst_base_sink_get_property), (gst_base_sink_render_object),
3740         (gst_base_sink_preroll_object),
3741         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3742         (gst_base_sink_change_state):
3743         * libs/gst/base/gstbasesink.h:
3744         Add a new last-buffer property that contains the last buffer used in
3745         basesink for preroll or rendering. useful for making snapshots.
3746         API: gst_base_sink_get_last_buffer()
3747         API: GstBaseSink::last-buffer
3748
3749 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3750
3751         * docs/gst/running.xml:
3752         * gst/gst.c:
3753         * gst/gstdebugutils.c:
3754         * gst/gstdebugutils.h:
3755         * tools/gst-launch.c:
3756           Improve bin graph dumping, by using the envvar to specify a path.
3757           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3758
3759 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
3760
3761         * plugins/elements/gsttypefindelement.c:
3762           (gst_type_find_element_handle_event),
3763           (gst_type_find_element_activate):
3764           Post special error message if we can't determine the type of a stream
3765           because it's empty.
3766
3767 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3768
3769         * docs/gst/running.xml:
3770         * gst/gstdebugutils.c:
3771           Document new env-var. Add one log-line after dumpng a graph.
3772
3773 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
3774
3775         * configure.ac:
3776           Ugly hack to put the (recently removed and non-portable, apparently)
3777           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3778           GNU ld, because without that 'make check' fails miserably on my debian
3779           stable box.  Someone with more knowledge of linker intricacies and
3780           portability issues than me fix this properly please.
3781
3782 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
3783
3784         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3785         Reset last seen position after flushing so that we don't report the old
3786         position anymore.
3787
3788 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3789
3790         * gst/gstelementfactory.c: (gst_element_register):
3791         * gst/gsturi.h:
3792         Patch from Alessandro Decina adding get_type_full and
3793         get_protocols_full private vfuncs to the URIHandler interface
3794         to allow bindings to support creating URI handlers. 
3795         Partially fixes: #339279
3796         API: GstURIHandlerInterface::get_type_full
3797         API: GstURIHandlerInterface::get_protocols_full
3798
3799 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3800
3801         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3802         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3803         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3804         Make it so that pads are considered linked until a buffer is pushed
3805         and discovered otherwise. This avoids problems with decodebin2 hanging
3806         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3807         case.
3808
3809         Make sure we lock the multiqueue when updating the max-size properties.
3810         
3811         Fix a crash on Solaris in a debug statement in get_request_pad that
3812         passes a NULL string to GST_DEBUG. 
3813
3814         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3815         (run_output_order_test):
3816         Fix the test to allow the first buffer on not-linked pads to come out
3817         of sequence while multiqueue discovers that they are not-linked.
3818
3819 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3820
3821         * configure.ac:
3822         * libs/gst/check/Makefile.am:
3823         Use a custom export symbol regex for libgstcheck, as it needs
3824         to export symbols that don't match the standard GStreamer gst_*
3825         pattern, and  --export-dynamic is not portable (only works on 
3826         GNU ld)
3827
3828         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3829         (gst_check_setup_sink_pad):
3830         Make sure to pass a message parameter to the fail_* macros.
3831
3832         * tests/check/gst/gstinfo.c: (GST_START_TEST):
3833         Fix some compiler warnings.
3834
3835 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
3836
3837         * tests/check/gst/gststructure.c: (test_to_string):
3838           Disable test that checks that white spaces are not allowed
3839           in structure names or field names, since we need to
3840           support that for now for backwards compatibility reasons.
3841
3842 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3843
3844         * docs/gst/gstreamer-sections.txt:
3845         * gst/gsttaglist.c:
3846         * gst/gsttaglist.h:
3847           API: add GST_TAG_ARTIST_SORTNAME
3848           API: add GST_TAG_ALBUM_SORTNAME
3849           API: add GST_TAG_TITLE_SORTNAME
3850           Add tag variants for sorting (#414539).
3851
3852 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3853
3854         * gst/gststructure.c:
3855           Also allow white space for names so we don't break
3856           backwards compatibility.
3857
3858 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
3859
3860         * docs/design/part-TODO.txt:
3861         * docs/design/part-segments.txt:
3862         * docs/design/part-streams.txt:
3863         Small updates.
3864
3865 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3866
3867         * docs/gst/gstreamer-sections.txt:
3868          Fixed documentation from my previous commit (added new API add
3869          gst_value_set_structure(), add gst_value_get_structure() and
3870          GST_VALUE_HOLDS_STRUCTURE).
3871
3872 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
3873
3874         * gst/gstdebugutils.c:
3875           Reflow code to fix uninitialized variable warning.
3876
3877 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3878
3879         * gst/gstcaps.c: (gst_caps_to_string),
3880         (gst_caps_from_string_inplace):
3881         * gst/gststructure.c: (gst_structure_get_abbrs),
3882         (gst_structure_to_string), (gst_structure_from_string):
3883         * gst/gstvalue.c: (gst_value_set_structure),
3884         (gst_value_get_structure), (gst_value_serialize_structure),
3885         (gst_value_deserialize_structure), (_gst_value_initialize):
3886         * gst/gstvalue.h:
3887         * tests/check/gst/gststructure.c: (GST_START_TEST),
3888         (gst_structure_suite):
3889         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3890          Added GstStructure to gst_value_table and its related functions.
3891          Changed gst_structure_to_string to print ';' in the end.
3892          Changed gst_caps_to_string to not print ';' beteween its
3893          fields (structures) anymore and remove the lastes ';' from latest
3894          structure. Now it is possible to have nested structures.
3895          In addition, backward compatibilty is assured by accepting '\0' as
3896          end delimiter. Fixes: #487969.
3897          API: add gst_value_set_structure()
3898          API: add gst_value_get_structure()
3899          API: add GST_VALUE_HOLDS_STRUCTURE
3900
3901 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
3902
3903         * gst/gstbus.c:
3904           When no GSource callback has been set up, tell developer
3905           to use a function that actually exists.
3906
3907 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
3908
3909         * docs/gst/gstreamer-sections.txt:
3910         * gst/Makefile.am:
3911         * gst/gst.c:
3912         * gst/gst.h:
3913         * gst/gstdebugutils.c:
3914         * gst/gstdebugutils.h:
3915         * gst/gstinfo.c:
3916         * gst/gstinfo.h:
3917         * tools/gst-launch.c:
3918           Allow dumping pipelines as dot graphs. Fixes #456573.
3919
3920 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3921
3922         * gst/gststructure.c:
3923           Allow '+' as well, it can be part of media or mime types
3924           such as image/svg+xml.
3925
3926 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3927
3928         * docs/gst/gstreamer-sections.txt:
3929         * gst/gstbus.c:
3930         * gst/gstbus.h:
3931           API: add gst_bus_pop_filtered
3932           API: add gst_bus_timed_pop_filtered
3933           Two new functions for waiting for specific message types on the
3934           bus for a specified amount of time without iterating any main
3935           loops or main contexts.
3936
3937         * tests/check/gst/gstbus.c:
3938           Some tests for the new functions.
3939
3940 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3941
3942         * docs/libs/gstreamer-libs-sections.txt:
3943           Make gtk-doc ignore stuff it should ignore.
3944
3945 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3946
3947         * libs/gst/check/gstcheck.c:
3948         * libs/gst/check/gstcheck.h:
3949           Allow runtime selection of unit tests to run via the GST_CHECKS
3950           environment variable (test case function names, comma-separated).
3951
3952 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
3953
3954         * gst/gststructure.c:
3955         * tests/check/gst/gststructure.c:
3956           Revert serialisation change and constrain structure-names after
3957           consensus on irc. Update api documentation to reflect the change.
3958
3959 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
3960
3961         * gst/gststructure.c:
3962           Improve serialization and fix tests.
3963
3964         * tests/check/gst/gststructure.c:
3965           Add another test that covers why I actually did the previous structure
3966           change.
3967
3968 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
3969
3970         * tools/gst-inspect.c: (print_element_info):
3971         Don't crash when inspecting an element.
3972
3973 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3974
3975         * tests/check/gst/gststructure.c:
3976           Add unit test for escaping of structure name when serialising
3977           and deserialising to/from strings.
3978
3979 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
3980
3981         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3982         (gst_single_queue_new):
3983         * plugins/elements/gstqueue.c: (gst_queue_init),
3984         (gst_queue_push_one):
3985         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
3986         upstream is tricked into thinking it can suggest a format downstream
3987         while downstream does not support that format. The real problem is that
3988         core calls acceptcaps when pushing a buffer with new caps, for which we
3989         do a little workaround by setting the caps on the srcpad ourselves
3990         before pushing the buffer (until this is figured out). Fixes #486758.
3991
3992 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
3993
3994         * gst/gststructure.c:
3995         * gst/gstvalue.c:
3996           Add some more comments and debug output. Quote structure name to fix
3997           deserialisation of some strings.
3998
3999 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4000
4001         * gst/gstbuffer.h:
4002           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4003           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4004
4005 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4006
4007         * tools/gst-inspect.c:
4008           Save approx. 400 1 byte allocs when printing. Use API to acces element
4009           details.
4010
4011         * tools/gst-run.c:
4012           Avoid a strdup.
4013
4014         * tools/gst-xmlinspect.c:
4015           Use API to acces element details.
4016
4017 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4018
4019         * gst/gstinfo.c:
4020           Fix some spelling errors.
4021
4022 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4023
4024         * gst/gstbin.c: (bin_handle_async_done):
4025         Correctly set the next state if all of our async children commited their
4026         state. This makes sure we can actually cancel the state change in
4027         progress. Fixes a regression in Rhythmbox when seeking.
4028
4029 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4030
4031         * gst/gstbin.c:
4032           Don't shadow local variable.
4033
4034         * gst/gstinfo.c:
4035           Don't shadow global function name.
4036
4037 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4038
4039         * gst/gstelementfactory.c:
4040         * gst/gstpluginfeature.c:
4041         * gst/gstpluginfeature.h:
4042         * gst/gstregistrybinary.c:
4043         * gst/gstregistryxml.c:
4044         * gst/gsttypefind.c:
4045           Use already-interned string for the private GstPluginFeature
4046           plugin_name field.
4047
4048 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4049
4050         * docs/libs/gstreamer-libs-sections.txt:
4051           Add new API to docs; fixes the build.
4052
4053 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4054         
4055         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4056
4057         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4058         (gst_base_sink_event):
4059         * libs/gst/base/gstbasesink.h:
4060         Add function to wait for EOS, subclasses can use this to correctly wait
4061         for devices to drain before performing the EOS logic. Fixes #485343.
4062         API: gst_base_sink_wait_eos()
4063
4064 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4065
4066         * gst/gstplugin.h:
4067           Cast description string constants in GST_PLUGIN_DEFINE macros
4068           to a (gchar*) to make C++ code using these macros compile
4069           without warning with g++-4.2 (see #462737).  Even if slightly
4070           ugly, this seems preferable to putting the description strings
4071           into the GLib quark table or making the structure member a
4072           const gchar * and doing casts in core code that allocs and
4073           frees these strings, or requiring a cast in the C++ code.
4074
4075 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4076
4077         * gst/gstinfo.h:
4078           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4079           to print the entire class/function signature into the log
4080           file for C++ code.  This only affects C++ code, for C code
4081           everything remains the same.
4082
4083 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4084
4085         * gst/gstbin.c: (remove_from_queue):
4086         Work around a problem with pipelines containing (semi)loops until a
4087         proper, more complicated solution is ready. See #475455.
4088
4089 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4090
4091         * gst/gstplugin.c:
4092         * gst/gstplugin.h:
4093         * gst/gstregistrybinary.c:
4094         * gst/gstregistryxml.c:
4095           Put more strings into the GLib quark table. No need to keep
4096           a hundred-something copies of identical version strings,
4097           license strings, package name strings and package origin
4098           strings around. 
4099
4100 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4101
4102         * docs/manual/advanced-dataaccess.xml:
4103           Don't imply that it's okay to unconditionally change
4104           buffer data or buffer metadata in a pad probe callback,
4105           and a bunch of other comments. Fixes #430031.
4106
4107 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4108
4109         * win32/common/gstenumtypes.c:
4110         * win32/common/gstenumtypes.h:
4111         * win32/common/gstversion.h:
4112           Update generated files.
4113
4114 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4115
4116         * docs/manual/advanced-autoplugging.xml:
4117           Prefix section with broken code with a warning (see #342432).
4118
4119 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4120
4121         * docs/manual/appendix-integration.xml:
4122         * docs/manual/basics-init.xml:
4123           Call g_thread_init() before g_option_context_new() to
4124           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4125
4126 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4127
4128         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4129         (gst_base_sink_queue_object_unlocked),
4130         (gst_base_sink_queue_object), (gst_base_sink_event),
4131         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4132         When we received EOS and are waiting for when to post the EOS message,
4133         our state is prerolled and we should not return ASYNC.
4134         Reorganize some code paths to implement this behavior.
4135
4136         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4137         (gst_sinks_suite):
4138         Add unit test to verify above EOS fix.
4139
4140 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4141
4142         * plugins/elements/gsttypefindelement.c:
4143         (gst_type_find_element_have_type), (gst_type_find_element_init),
4144         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4145         Move detecting the input caps of the sinkpad to the setcaps function.
4146         This allows us to update the output caps when we receive new input caps
4147         instead of always using the first detected caps.
4148
4149 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4150
4151         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4152         (gst_base_sink_get_position):
4153         Don't try to preroll non-async elements after a flush.
4154         Subtract latency form clock times when reporting position.
4155
4156 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4157
4158         * gst/gstpad.c: (gst_pad_pause_task):
4159         * gst/gstutils.c:
4160         Small comment and documentation update.
4161
4162 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4163
4164         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4165         (gst_base_src_set_live), (gst_base_src_is_live),
4166         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4167         (gst_base_src_default_event), (gst_base_src_wait),
4168         (gst_base_src_do_sync), (gst_base_src_get_range),
4169         (gst_base_src_pad_get_range), (gst_base_src_loop),
4170         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4171         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4172         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4173         (gst_base_src_change_state):
4174         Rework the locking of basesrc in a similar fashion to basesink. We
4175         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4176         us to handle live sources and semi live ones much better.
4177         Simplify flushing.
4178         Fix unlocking when seeking, shutting down and pausing in live sources.
4179
4180 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4181
4182         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4183         Fix compilation again.
4184
4185 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4186
4187         * gst/gstelement.c:
4188           Use meaningful categories for the logs to clean the default one.
4189
4190 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4191
4192         * tests/check/pipelines/cleanup.c:
4193           Print message name and not just number.
4194
4195 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4196
4197         * docs/design/draft-tagreading.txt:
4198           Add some more thoughts.
4199
4200 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4201
4202         * tests/check/pipelines/simple-launch-lines.c:
4203           Print message name and not just number.
4204
4205 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4206
4207         * libs/gst/base/gsttypefindhelper.c:
4208           Speedup typefinding. This is work in progress (see #459862).
4209
4210 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4211
4212         * gst/gstplugin.c:
4213           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4214           Spotted by Josep Torra Valles <josep@fluendo.com>.
4215
4216 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4217
4218         * gst/gstclock.h:
4219           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4220           field has moved to GstObject.
4221
4222 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4223
4224         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4225         (gst_base_src_get_range), (gst_base_src_change_state):
4226         Call unlock for live sources so that they can't get stuck in _create and
4227         produce a buffer before they are set back to PLAYING.
4228
4229 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4230
4231         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4232         (gst_queue_locked_dequeue):
4233         Comment the segment-related code... in the PROPER function.
4234         See #482147 and my commit from yesterday.
4235
4236 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4237
4238         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4239         Also initialize the counter that calculates the first timestamp on a
4240         buffer correctly for non-live sources.
4241
4242 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4243
4244         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4245         Disable code that's breaking the current-time-level reporting.
4246         See #482147
4247
4248 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4249
4250         * docs/gst/gstreamer-sections.txt:
4251         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4252         as they shouldn't show up. Fixes the docs build.
4253
4254 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4255         
4256         * gst/gstinfo.h:
4257         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4258         Define M_PI which is used in files which are including gstinfo.h. 
4259         VS6 includes doesn't define it.
4260         * win32/common/libgstbase.def:
4261         * win32/common/libgstcontroller.def:
4262         * win32/common/libgstreamer.def:
4263         Add new exported functions and variables.
4264         * win32/vs6/libgstcontroller.dsp:
4265         * win32/vs6/libgstreamer.dsp:
4266         Update the list of files to build.
4267         
4268 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4269
4270         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4271
4272         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4273         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4274         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4275         Improve debugging. Fixes #480858.
4276
4277 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4278
4279         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4280
4281         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4282         First patch of code cleanups, use the macros and right arguments in the
4283         macros to signal and lock the queue. See #480858.
4284
4285 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4286
4287         * gst/gstbus.c: (poll_func):
4288         Improve debugging when dealing with _poll().
4289
4290 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4291
4292         * gst/gstregistryxml.c:
4293           Fix memory leak I introduced a few days ago.
4294
4295 2007-09-26  Michael Smith <msmith@fluendo.com>
4296
4297         * gst/gstbuffer.c: (gst_buffer_finalize):
4298           Make it once again possible to free GstBuffers in the default
4299           build.
4300           The poisoning scribbles on parts of the miniobject we need in
4301           order to free it.
4302           Fixes #480341
4303
4304 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4305
4306         * docs/gst/gstreamer-sections.txt:
4307         * gst/gsttaglist.c:
4308         * gst/gsttaglist.h:
4309         API: add GST_TAG_COMPOSER, fixes #459809.
4310
4311 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4312
4313         * gst/gstplugin.c:
4314         * gst/gstplugin.h:
4315         Add the 3-clause BSD license and the MIT/X11 license to the license
4316         list. Fixes #479784.
4317
4318 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4319
4320         * docs/faq/getting.xml:
4321           Add Q+A about different GStreamer versions (#364056).
4322
4323 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4324
4325         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4326         (gst_base_sink_event), (gst_base_sink_change_state):
4327         Return correct gboolean from query function.
4328
4329 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4330
4331         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4332         (gst_base_sink_event), (gst_base_sink_query),
4333         (gst_base_sink_change_state):
4334         Simplify latency query.
4335         When not synchronizing, we can report latency without querying the peer
4336         element.
4337
4338 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4339
4340         * gst/gstobject.h:
4341         * gst/gstvalue.c:
4342         Fix small typos in the docs.
4343
4344 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4345
4346         * docs/design/draft-latency.txt:
4347         * docs/design/draft-push-pull.txt:
4348         * docs/design/draft-tagreading.txt:
4349         * docs/design/part-MT-refcounting.txt:
4350         * docs/design/part-activation.txt:
4351         * docs/design/part-block.txt:
4352         * docs/design/part-element-source.txt:
4353         * docs/design/part-events.txt:
4354         * docs/design/part-gstbin.txt:
4355         * docs/design/part-gstelement.txt:
4356         * docs/design/part-gstobject.txt:
4357         * docs/design/part-gstpipeline.txt:
4358         * docs/design/part-messages.txt:
4359         * docs/design/part-preroll.txt:
4360         * docs/design/part-push-pull.txt:
4361         * docs/design/part-qos.txt:
4362         * docs/design/part-query.txt:
4363         * docs/design/part-scheduling.txt:
4364         * docs/design/part-seeking.txt:
4365         * docs/design/part-segments.txt:
4366         * docs/design/part-states.txt:
4367         Documentation updates and typo fixes.
4368
4369 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4370
4371         * plugins/elements/gstfakesink.c:
4372           Add some debug text to error message to indicate that
4373           we errored out on request.
4374
4375         * tools/gst-launch.c:
4376           When the state change to PLAYING fails, check for an
4377           error message on the bus and print it.
4378
4379 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4380
4381         translated by: Jorge González González <aloriel@gmail.com>
4382
4383         * po/LINGUAS:
4384         * po/es.po:
4385           Added Spanish translation.
4386
4387 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4388
4389         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4390         Fix printf arguments.
4391
4392 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4393
4394         * tests/check/generic/states.c:
4395           Improved state change unit test.
4396
4397 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4398
4399         * gst/gstbin.h:
4400           Move priv to the right place.
4401
4402         * gst/gstsystemclock.c:
4403           Add FIXME: and improve log.
4404
4405         * tests/check/Makefile.am:
4406         * tests/examples/manual/Makefile.am:
4407           Work with all types of registries.
4408
4409 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4410
4411         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4412         Don't unref the event after pushing it. Fixes #478401.
4413
4414 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4415
4416         * .cvsignore:
4417         * tests/examples/manual/.cvsignore:
4418           Ignore registries in any format.
4419
4420 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4421
4422         * gst/glib-compat-private.h:
4423           Add compatibility macro for g_intern_string() for
4424           GLib-2.8 (any reason we can't just bump the
4425           requirement to at least 2.10?)
4426
4427         * gst/gstpadtemplate.h:
4428         * gst/gstelementfactory.c:
4429         * gst/gstregistryxml.c:
4430         * gst/gstregistrybinary.c:
4431           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4432           up the internal code accordingly.  This shouldn't be a problem, since
4433           there is no reason external code could ever assume the string in such
4434           a structure is dynamically allocated unless it did that itself;  the
4435           use of g_strdup() is private to element factories.  The new code also
4436           saves some memory by putting pad template name strings into the GLib
4437           quark table instead of allocating them dynamically.
4438           Declaring this field constant fixes warnings with g++-4.2 when using
4439           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4440
4441 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4442
4443         * gst/gstelementfactory.c:
4444           Release static caps. Fixes #475723.
4445
4446 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4447
4448         * gst/gstinfo.c:
4449         * gst/gstinfo.h:
4450           Make some internal API take const gchar * instead of just
4451           gchar * to avoid compiler warnings with g++-4.2.2 when
4452           passing string constants (partially fixes #478092).
4453
4454 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4455
4456         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4457         A latency query fails when one of the sinks fail.
4458
4459         * gst/gstelement.c: (gst_element_set_base_time):
4460         Improve debugging.
4461
4462 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4463
4464         * gst/gstbin.c: (gst_bin_continue_func):
4465         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4466         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4467         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4468
4469         Fix minor compilation warnings shown with Forte.
4470
4471 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4472
4473         * plugins/elements/gstqueue.c: (apply_buffer),
4474         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4475         Measure queue level based on the diff between head and tail timestamps
4476         even when pushing the first buffer.
4477
4478 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4479
4480         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4481         (gst_base_sink_event), (gst_base_sink_change_state):
4482         Sinks that don't preroll can always be queried for the latency.
4483         Don't post ASYNC start when we are not async.
4484
4485 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4486
4487         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4488         (gst_queue_handle_sink_event), (gst_queue_chain),
4489         (gst_queue_push_one), (gst_queue_handle_src_query),
4490         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4491         * plugins/elements/gstqueue.h:
4492         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4493         push more buffers but allow pushing of EOS and NEWSEGMENT.
4494         Add some more debug info here and there. Fixes #476514.
4495
4496 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4497
4498         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4499         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4500         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4501         (gst_base_sink_set_flushing), (gst_base_sink_query),
4502         (gst_base_sink_change_state):
4503         Latency query is allowed after we are prerolled. Introduce a new flag
4504         for this and stop abusing other variables.
4505
4506 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4507
4508         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4509         Push OOB events downstream when we get them in send_event. This allows
4510         the application to insert events in the pipeline.
4511         Add some more comments.
4512
4513 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4514
4515         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4516         (do_bin_latency), (gst_bin_change_state_func):
4517         * gst/gstpipeline.c: (gst_pipeline_change_state):
4518         Move latency query from GstPipeline to GstBin so that we can also
4519         use it when async-handling is enabled on bins.
4520
4521 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4522
4523         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4524         (gst_base_src_do_sync), (gst_base_src_change_state):
4525         Update docs.
4526         Clean up the timestamping and syncing code for pseudo live sources.
4527
4528 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4529
4530         Patch by: Steve Fink  <sphink gmail com>
4531
4532         * docs/manual/appendix-checklist.xml:
4533           Mention less -R switch in the section about debug output (#474055).
4534
4535 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4536
4537         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4538         Queue can latency to the pipeline up to the configured max size in time.
4539         Report this fact in the latency query.
4540
4541 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4542
4543         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4544
4545         * libs/gst/controller/gstinterpolation.c:
4546         * libs/gst/controller/gstlfocontrolsource.c:
4547         Use gst_guint64_to_gdouble() when converting from a uint64 or
4548         GstClockTime to double to fix the build on win32. Fixes #474371.
4549
4550 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4551
4552         * gst/gstbuffer.c: (gst_buffer_finalize):
4553         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4554         When finalizing a buffer the complete struct is filled with 0xff,
4555         thus making a use of the buffer after the final unref impossible.
4556
4557 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4558
4559         * tests/check/libs/controller.c: (GST_START_TEST):
4560         Use fail_unless_equals_int(a, b) instead of
4561         fail_unless_equals (a == b) to get better output on failures.
4562
4563 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4564
4565         * tests/check/gst/gsturi.c:
4566           Also check for the other file URI variant on win32.
4567
4568 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4569
4570         * gst/gsturi.c: (gst_uri_get_location):
4571           If there's no hostname, we want to return 'c:/foo/bar.txt'
4572           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4573
4574         * tests/check/gst/gsturi.c:
4575           Unit test for the above and a few more things.
4576
4577 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4578
4579         * docs/design/part-live-source.txt:
4580         Add docs on how live sources should timestamp.
4581
4582         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4583         Add some more debug info.
4584         For subclasses that are live and like to sync, add aditional startup
4585         latency to sync time and timestamps so that we timstamp according to the
4586         design doc.
4587
4588 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4589
4590         * gst/gstbuffer.c:
4591           Also do a g_type_class_ref() for the subbuffer type in
4592           the init function.
4593
4594 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4595
4596         * docs/gst/gstreamer-sections.txt:
4597         * gst/gstpad.c: (gst_pad_peer_query):
4598         * gst/gstpad.h:
4599         Add function to perform a query on the peer of a pad.
4600         API: gst_pad_peer_query()
4601
4602 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4603
4604         * tests/check/gst/gstsystemclock.c:
4605           Cleanup the test a little (use gst-logging and not g_message). Improve
4606           test to check if a wait reached the target.
4607
4608 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4609
4610         * docs/libs/gstreamer-libs-sections.txt:
4611           Add new API to docs and fix the build.
4612
4613 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
4614
4615         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4616         (gst_base_src_init), (gst_base_src_set_do_timestamp),
4617         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4618         (gst_base_src_get_property), (gst_base_src_do_sync):
4619         * libs/gst/base/gstbasesrc.h:
4620         Add property to make the basesrc timestamp buffers based on the current
4621         running time.
4622         API: GstBaseSrc::do-timestamp
4623         API: gst_base_src_set_do_timestamp()
4624         API: gst_base_src_get_do_timestamp()
4625
4626 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
4627
4628         * docs/random/release:
4629           Really make sure translations are up-to-date before
4630           a release (#465010).
4631
4632 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
4633
4634         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4635         Always destroy the timer, also in error cases.
4636
4637 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4638
4639         * docs/manual/highlevel-xml.xml:
4640         Fix XML example code. Fixes #472714.
4641
4642 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4643
4644         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4645         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4646         (gst_base_sink_query):
4647         Protect eos and have_preroll with the OBJECT lock so we don't need to
4648         take the PREROLL lock when querying the latency. Fixes #473846.
4649
4650 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
4651
4652         * gst/gstelement.c:
4653           Give some log-messages a category.
4654
4655 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
4656
4657         * gst/gststructure.c:
4658         (gst_structure_fixate_field_nearest_fraction):
4659         Fix fraction list fixation code. Take the fraction with the smallest
4660         difference with the target instead of the first one in the list.
4661
4662         * tests/check/gst/gststructure.c: (GST_START_TEST),
4663         (gst_structure_suite):
4664         Added test to verify correct fraction list fixation behaviour.
4665
4666 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
4667
4668         * win32/common/libgstreamer.def:
4669           Export gst_bus_add_signal_watch too.
4670
4671 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
4672
4673         * docs/libs/gstreamer-libs-sections.txt:
4674         Add new methods to docs.
4675
4676         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4677         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4678         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4679         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4680         * libs/gst/base/gstbasesink.h:
4681         Add ts-offset property to fine-tune the synchronisation.
4682         API: GstBaseSink::ts-offset property
4683         API: gst_base_sink_set_ts_offset()
4684         API: gst_base_sink_get_ts_offset()
4685
4686 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
4687
4688         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4689         (gst_base_sink_init), (gst_base_sink_set_sync),
4690         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4691         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4692         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4693         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4694         (gst_base_sink_get_property), (gst_base_sink_change_state):
4695         * libs/gst/base/gstbasesink.h:
4696         Add async property to instruct the sink never to inform the parent about
4697         ASYNC state changes, update docs.
4698         Check argument with g_return_* for the public functions.
4699         API: GstBaseSink::async property
4700         API: gst_base_sink_set_async_enabled()
4701         API: gst_base_sink_is_async_enabled()
4702
4703 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
4704
4705         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4706         Improve debugging.
4707
4708         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4709         (gst_base_src_default_query), (gst_base_src_wait),
4710         (gst_base_src_do_sync), (gst_base_src_change_state):
4711         Rearrange some code so that we can add support for measuring the 
4712         startup latency.
4713
4714 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
4715
4716         * docs/random/ensonic/dynlink.txt:
4717           More thoughs on this.
4718
4719         * plugins/elements/gstcapsfilter.c:
4720           Add bugzilla ticket number to FIXME comment.
4721
4722 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
4723
4724         * docs/design/part-TODO.txt:
4725         * docs/design/part-block.txt:
4726         Update some docs.
4727
4728 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4729
4730         * gst/Makefile.am:
4731           Revert patch which uses $(gst_headers) instead of $^ because it
4732           breaks make dist.
4733
4734 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4735
4736         * tests/check/gst/gstbin.c: (GST_START_TEST):
4737           Fix leaks in the new unit test.
4738
4739 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
4740
4741         * gst/gst.c:
4742           Don't use GST_INFO before the debug system is actually initialised
4743           (shouldn't do any harm, but won't print anything either, so we can
4744           just as well remove it).
4745
4746         * gst/gstinfo.h:
4747           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4748           compilers that don't support variadic macros (such as MSVC), should
4749           check for debug_level <= __gst_debug_min as well, since that's the
4750           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4751           inline helper functions. Should improve performance a bit, but also
4752           makes sure uses of GST_INFO et.al are ignored if the debugging
4753           system isn't initialised yet (instead of printing an assertion
4754           failure).
4755
4756 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
4757
4758         patch by: David Nečas <yeti@physics.muni.cz>
4759
4760         * gst/Makefile.am:
4761           Replace some non portable makefile constructs.
4762
4763 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
4764
4765         * common/gtk-doc-plugins.mak:
4766           Grrrrr. Don't remove the types file on make clean.
4767
4768 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
4769
4770         * tools/gst-launch.1.in:
4771         Add colorspace to example pipeline. Fixes #458274.
4772
4773 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
4774
4775         * docs/random/release:
4776           The release manager should run 'make download-po' before making a
4777           release to make sure translations are up-to-date.
4778
4779         * po/LINGUAS:
4780         * po/be.po:
4781         * po/pl.po:
4782         * po/rw.po:
4783           Add some new translations.
4784
4785 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
4786
4787         * tools/gst-launch.c: (event_loop), (main):
4788         Don´t try to do any state management when a live pipeline posts
4789         buffering messages.
4790         Also make the buffering string translatable.
4791
4792 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4793
4794         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4795         (bin_handle_async_start), (gst_bin_handle_message_func):
4796         Improve debugging.
4797         When adding elements, insert messages into the bus of the newly added
4798         element and make sure the element is the source of the message. This
4799         allows the parent bin to intercept the message and do the
4800         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4801         messages to the app (which is not allowed).
4802         Update some docs.
4803
4804         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4805         Fix testsuite so that is does not work around messages that should not
4806         have been posted in the first place.
4807
4808 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4809
4810         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4811         (update_degree), (gst_bin_sort_iterator_next):
4812         Fix annoying bug in the sorted iterator where a sink that is not really
4813         a sink (when it has downstream links) screwed up the iterator.
4814
4815         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4816         Unit test to verify the fix.
4817
4818 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4819
4820         * gst/gstmessage.h:
4821         Add some more docs for the messages.
4822
4823         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4824         (gst_base_sink_query):
4825         Add some more debugging.
4826
4827         * tools/gst-launch.c: (event_loop):
4828         When interrupting, don't try to set pipeline to PAUSED twice.
4829
4830 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4831
4832         
4833         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4834         (bin_handle_async_start), (gst_bin_handle_message_func):
4835         Move ASYNC_START message posting to where it belongs, similar to
4836         async_done. 
4837         Don't post ASYNC_START when we are in error. 
4838         Post ASYNC_START when we added an async element to a bin.
4839
4840 2007-08-14  Julien MOUTTE  <julien@moutte.net>
4841
4842         * gst/gstindex.c: (gst_index_add_association): Fix index entry
4843         generation from vargs. Fixes #466595.
4844
4845 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4846
4847         * gst/gstbin.c: (gst_bin_element_set_state):
4848         Always change the state of a NO_PREROLL element even if it has ASYNC
4849         elements inside (in case of a bin).
4850
4851         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4852         Unit test for this case.
4853
4854 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
4855
4856         * libs/gst/check/gstbufferstraw.c:
4857         * libs/gst/check/gstcheck.h:
4858         * libs/gst/controller/gstcontroller.c:
4859         * libs/gst/controller/gstcontrolsource.h:
4860         * libs/gst/controller/gstlfocontrolsource.h:
4861         * plugins/elements/gstcapsfilter.h:
4862         * plugins/elements/gstfdsink.h:
4863         * plugins/elements/gstfdsrc.h:
4864           Add more missing docs.
4865
4866 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4867
4868         * gst/gststructure.c:
4869         Add Since tag to docs.
4870
4871 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4872
4873         * docs/gst/gstreamer-sections.txt:
4874         * gst/gststructure.c: (gst_structure_get_uint):
4875         * gst/gststructure.h:
4876         Add function to get uint from a structure.
4877         API: gst_structure_get_uint()
4878
4879 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4880
4881         * gst/gstcaps.c: (gst_caps_set_simple_valist),
4882         (gst_caps_intersect):
4883         Fix proper check for simple caps.
4884
4885 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
4886
4887         * docs/gst/Makefile.am:
4888         * docs/libs/Makefile.am:
4889           Remove cruft and do some cleanups.
4890
4891         * docs/gst/gstreamer-docs.sgml:
4892         * docs/libs/gstreamer-libs-docs.sgml:
4893           Prepare for comming gtkdoc features (rebase against online docs).
4894
4895 2007-08-10  Michael Smith <msmith@fluendo.com>
4896
4897         * docs/gst/gstreamer-sections.txt:
4898           Add gst_registry_add_path to docs.
4899
4900 2007-08-10  Michael Smith <msmith@fluendo.com>
4901
4902         * gst/gstregistry.h:
4903           Add gst_registry_add_path, which was missing from this header.
4904
4905 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
4906
4907         * libs/gst/controller/gstlfocontrolsource.c:
4908           Printf format fix.
4909
4910 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
4911
4912         * libs/gst/base/gstbasesink.c:
4913           Don't send an async_start message during downwards state change if 
4914           target state is less than READY
4915
4916 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4917
4918         translated by: Gabor Kelemen <kelemeng@gnome.hu>
4919
4920         * po/LINGUAS:
4921         * po/hu.po:
4922           Added Hungarian translation.
4923
4924 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4925
4926         * po/fi.po:
4927         * po/it.po:
4928         * po/nl.po:
4929         * po/sv.po:
4930         * po/uk.po:
4931           Updated translations.
4932
4933 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
4934
4935         * libs/gst/controller/Makefile.am:
4936         Dist gstlfocontrolsourceprivate.h
4937
4938 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
4939
4940         * docs/libs/gstreamer-libs.types:
4941         Don't register the enum type gst_lfo_waveform_get_type() in the
4942         .types file - only GObject derived types belong.
4943
4944 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
4945
4946         Patch by: <arenevier at fdn dot fr>
4947
4948         * gst/gstbuffer.h:
4949         Remove comma from last element in enum to avoid compile errors when
4950         using -pendantic. Fixes #464366.
4951
4952 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
4953
4954         * docs/design/part-TODO.txt:
4955         Add some more TODO items
4956
4957         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
4958         Improve debugging.
4959
4960         * gst/gstcaps.c: (gst_caps_intersect):
4961         Optimize trivial intersection case between identical caps pointers.
4962
4963         * gst/gstelement.c: (gst_element_continue_state),
4964         (gst_element_set_state_func):
4965         * gst/gstpad.c:
4966         Fix spelling and grammar mistakes.
4967
4968 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
4969
4970         * po/POTFILES.in:
4971         * po/POTFILES.skip:
4972           Update POTFILES. Fixes #461599.
4973
4974 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
4975
4976         * gst/gst.c:
4977         Fix confusing typo in debug output.
4978
4979 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
4980
4981         reviewed by: Stefan Kost <ensonic@users.sf.net>
4982
4983         * libs/gst/controller/Makefile.am:
4984         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
4985         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
4986         (gst_lfo_control_source_new),
4987         (gst_lfo_control_source_set_waveform),
4988         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
4989         (gst_lfo_control_source_finalize),
4990         (gst_lfo_control_source_dispose),
4991         (gst_lfo_control_source_set_property),
4992         (gst_lfo_control_source_get_property),
4993         (gst_lfo_control_source_class_init):
4994         * libs/gst/controller/gstlfocontrolsource.h:
4995         * libs/gst/controller/gstlfocontrolsourceprivate.h:
4996         API: Add GstLFOControlSource, a control source that gives values
4997         for specific timestamps based on several periodic waveforms.
4998         Fixes #459717.
4999
5000         * tests/check/libs/controller.c: (GST_START_TEST),
5001         (gst_controller_suite):
5002         * docs/libs/gstreamer-libs-docs.sgml:
5003         * docs/libs/gstreamer-libs-sections.txt:
5004         * docs/libs/gstreamer-libs.types:
5005         Add documentation and unit tests for GstLFOControlSource.
5006
5007 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5008
5009         * configure.ac:
5010         Back to CVS
5011
5012 === release 0.10.14 ===
5013
5014 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5015
5016         * configure.ac:
5017           releasing 0.10.14, "Breathing Vacuum"
5018
5019 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5020
5021         * gst/gstelement.c: (gst_element_class_set_details_simple):
5022         * gst/gstelement.h:
5023           Make strings passed to gst_element_class_set_details_simple()
5024           constant, as they should be (#462752).
5025
5026 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5027
5028         * gst/gstbin.c: (gst_bin_change_state_func),
5029         (bin_handle_async_done), (gst_bin_handle_message_func):
5030         Don't forget about the fact that some element went ASYNC even after a
5031         resync. This makes us post the ASYNC_DONE message correctly.
5032         Fixes #462558.
5033
5034 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5035
5036         * gst/gstregistry.c: (gst_registry_add_feature):
5037         When replacing an existing feature in the registry, make sure to
5038         continue holding a reference until we've replaced the name string
5039         within our feature hash table. Make sure to use g_hash_table_replace
5040         instead of g_hash_table_insert to ensure the new name string is used
5041         as a key instead of the old one that we're about to free.
5042         Fixes: #462085
5043
5044 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5045
5046         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5047         (gst_plugin_feature_set_name):
5048         Revert patch from #459466 until after the release and we can work
5049         out exactly what the problem is (if any).
5050
5051 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5052
5053         * docs/gst/gstreamer-sections.txt:
5054         * gst/gsttaglist.c:
5055         * gst/gsttaglist.h:
5056           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5057
5058 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5059
5060         * docs/libs/Makefile.am:
5061         Include our build-prefix libs and includes before the generic ones to
5062         avoid linking against the installed libs when we want the build-tree
5063         ones.
5064
5065 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5066
5067         Patch by: Steve Fink  <sphink gmail com>
5068
5069         * docs/pwg/building-testapp.xml:
5070           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5071           if people try to build or install the example from the plugin
5072           template against a GStreamer from package using the configure
5073           defaults.
5074
5075 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5076
5077         Patch by: Steve Fink  <sphink gmail com>
5078
5079         * tools/gst-inspect.1.in:
5080           Document --print-all and --print-plugin-auto-install-info command
5081           line options in man page.
5082
5083 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5084
5085         * docs/gst/gstreamer-sections.txt:
5086         Add docs for new api function.
5087
5088 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5089
5090         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5091         * gst/gstelementfactory.h:
5092         API: gst_element_factory_has_interface()
5093         Added method to check if an element factory implements a named
5094         interface.
5095
5096 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5097
5098         * configure.ac:
5099         * docs/gst/gstreamer.types.in:
5100           Another conditional doc check.
5101
5102         * gst/gstmessage.c:
5103         * gst/gstparamspecs.h:
5104         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5105         * gst/gstvalue.c:
5106         * gst/gstxml.h:
5107           API-doc fixes.
5108
5109 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5110
5111         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5112         (gst_registry_binary_load_feature),
5113         (gst_registry_binary_load_plugin),
5114         (gst_registry_binary_read_cache):
5115           Print error just once and with additional info.
5116
5117 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5118
5119         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5120         (helper_find_suggest), (helper_find_get_length),
5121         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5122         (gst_type_find_helper_for_buffer):
5123           Cleanup the typefindhelper code and add private doc comments.
5124
5125 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5126
5127         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5128         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5129         Fix capsfilter for cases where the caps set on capsfilter will provide
5130         additional information.
5131         Fixes #449197
5132
5133 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5134
5135         * gst/gsttypefindfactory.c:
5136           Fix docs that recommened wrong function to use.
5137
5138 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5139
5140         * tools/gst-inspect.c: (print_plugin_features):
5141           Also give media-type for typefinders in element output.
5142
5143 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5144
5145         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5146         (gst_registry_remove_features_for_plugin_unlocked),
5147         (gst_registry_add_feature), (gst_registry_remove_feature),
5148         (gst_registry_lookup_feature_locked):
5149         * gst/gstregistry.h:
5150           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5151           Fixes #459501.
5152
5153 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5154
5155         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5156         (gst_plugin_feature_set_name):
5157           Avoid double memory usage for pluginfeature names. Fixes #459466.
5158
5159 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5160
5161         * gst/gstpad.h:
5162           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5163           driving the pipeline may need to explicitly check for NOT_LINKED as
5164           well, since IS_FATAL doesn't cover that.
5165
5166 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5167
5168         * docs/pwg/advanced-types.xml:
5169           Fix typo and duplicate entry in video formats list.
5170
5171 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5172
5173         * libs/gst/controller/gstinterpolation.c:
5174         Also round to the nearest int when using cubic interpolation.
5175
5176 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5177
5178         * libs/gst/controller/gstinterpolation.c:
5179         When linearly interpolating integer types, round to the nearest int
5180         by adding 0.5. Don't do it for float/double types.
5181         Fixes the failing controller test on my machine, which is somehow
5182         rounding differently than on the buildbots.
5183
5184 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5185
5186         * tools/gst-plot-timeline.py:
5187           Better log parsing (categories can have -). Adjust text vs. lines, so
5188           that they span the same y-range.        
5189
5190 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5191
5192         * docs/random/ensonic/audiobaseclasses.txt:
5193         * docs/random/ensonic/dynlink.txt:
5194         * docs/random/ensonic/profiling.txt:
5195           Save my thoughts.
5196
5197         * docs/random/moving-plugins:
5198           Add note to use g_assert type macros.
5199
5200 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5201
5202         * configure.ac:
5203         * libs/gst/check/Makefile.am:
5204           Add libm check as we use in for plugins.
5205
5206 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5207
5208         * gst/gstbin.c: (gst_bin_continue_func):
5209         Check that the state_cookie hasn't changed since the continue_func
5210         was scheduled. Avoids problems where the state changes back to
5211         something it shouldn't be because it was changed in the meantime.
5212
5213 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5214
5215         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5216         (gst_registry_binary_save_string),
5217         (gst_registry_binary_save_pad_template),
5218         (gst_registry_binary_save_feature),
5219         (gst_registry_binary_save_plugin),
5220         (gst_registry_binary_load_feature),
5221         (gst_registry_binary_load_plugin),
5222         (gst_registry_binary_read_cache):
5223           Fix memory leak. Be less verbose in the log.
5224
5225 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5226
5227         * tests/check/elements/.cvsignore:
5228         Add file to cvsignore as commanded.
5229
5230 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5231
5232         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5233         (mq_dummypad_event), (run_output_order_test):
5234         Use a GStaticMutex to protect all cases where libcheck
5235         fail_if/fail_unless macros might be called from multiple threads
5236         simultaneously to avoid errors like:
5237           "check_pack.c:107: :-1081725400:Bad message type arg"
5238
5239 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5240
5241         * tests/check/pipelines/stress.c: (GST_START_TEST):
5242         Make sure we set the pipeline back to the NULL state before
5243         dropping our final reference.
5244
5245 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5246
5247         * tests/check/elements/tee.c: (GST_START_TEST):
5248         Make the tee stress-test a little less stressful so it doesn't just
5249         time out on slow-machines, and remove a small race when it's starting 
5250         up by adding a get_state() call.
5251
5252 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5253
5254         * gst/gst.c:
5255           Avoid reading registry twice on startup. Fixes #457322.
5256
5257 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5258
5259         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5260         * pkgconfig/gstreamer-check.pc.in:
5261         Substitute the CFLAGS for libcheck into our .pc file too so that
5262         dependent modules will pick it up properly if libcheck is installed
5263         into some other prefix.
5264
5265 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5266
5267         * configure.ac:
5268         Revert the pkg-config check for libcheck, since it pulls in the
5269         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5270         a proper solution, either from the check project, or something else.
5271
5272 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5273
5274         * configure.ac:
5275           Use pkg-config to locate check.
5276
5277 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5278
5279         * gst/gsttaglist.c:
5280           Fix doc syntax.
5281
5282         * gst/gstutils.c:
5283         * gst/gstutils.h:
5284           Add deprecation guards.
5285
5286         * libs/gst/base/gstcollectpads.h:
5287           Don't document object (this is implicitly private).
5288
5289 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5290
5291         * gst/gststructure.c: (gst_structure_parse_value):
5292           When deserialising foo=bar without a type cast, check if it's a
5293           boolean before falling back to a string type, otherwise things like
5294           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5295           because the filtercaps end up having a signed=(string)true field,
5296           which causes problems later when intersection caps.
5297
5298         * tests/check/gst/gststructure.c: (GST_START_TEST):
5299           Add a unit test for this.
5300
5301 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5302
5303         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5304
5305         * libs/gst/controller/Makefile.am:
5306         * libs/gst/controller/gstcontroller.c:
5307         (gst_controlled_property_add_interpolation_control_source),
5308         (gst_controlled_property_new), (gst_controlled_property_free),
5309         (gst_controller_find_controlled_property),
5310         (gst_controller_new_valist), (gst_controller_new_list),
5311         (gst_controller_new), (gst_controller_remove_properties_valist),
5312         (gst_controller_remove_properties_list),
5313         (gst_controller_remove_properties),
5314         (gst_controller_set_property_disabled),
5315         (gst_controller_set_disabled), (gst_controller_set_control_source),
5316         (gst_controller_get_control_source), (gst_controller_get),
5317         (gst_controller_sync_values), (gst_controller_get_value_array),
5318         (_gst_controller_dispose), (gst_controller_get_type),
5319         (gst_controlled_property_set_interpolation_mode),
5320         (gst_controller_set), (gst_controller_set_from_list),
5321         (gst_controller_unset), (gst_controller_unset_all),
5322         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5323         * libs/gst/controller/gstcontroller.h:
5324         * libs/gst/controller/gstcontrollerprivate.h:
5325         * libs/gst/controller/gstcontrolsource.c:
5326         (gst_control_source_class_init), (gst_control_source_init),
5327         (gst_control_source_get_value),
5328         (gst_control_source_get_value_array), (gst_control_source_bind):
5329         * libs/gst/controller/gstcontrolsource.h:
5330         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5331         (gst_object_get_control_source):
5332         * libs/gst/controller/gstinterpolation.c:
5333         (gst_interpolation_control_source_find_control_point_node),
5334         (gst_interpolation_control_source_get_first_value),
5335         (_interpolate_none_get), (interpolate_none_get),
5336         (interpolate_none_get_boolean_value_array),
5337         (interpolate_none_get_enum_value_array),
5338         (interpolate_none_get_string_value_array),
5339         (_interpolate_trigger_get), (interpolate_trigger_get),
5340         (interpolate_trigger_get_boolean_value_array),
5341         (interpolate_trigger_get_enum_value_array),
5342         (interpolate_trigger_get_string_value_array):
5343         * libs/gst/controller/gstinterpolationcontrolsource.c:
5344         (gst_control_point_free), (gst_interpolation_control_source_reset),
5345         (gst_interpolation_control_source_new),
5346         (gst_interpolation_control_source_set_interpolation_mode),
5347         (gst_interpolation_control_source_bind),
5348         (gst_control_point_compare), (gst_control_point_find),
5349         (gst_interpolation_control_source_set_internal),
5350         (gst_interpolation_control_source_set),
5351         (gst_interpolation_control_source_set_from_list),
5352         (gst_interpolation_control_source_unset),
5353         (gst_interpolation_control_source_unset_all),
5354         (gst_interpolation_control_source_get_all),
5355         (gst_interpolation_control_source_get_count),
5356         (gst_interpolation_control_source_init),
5357         (gst_interpolation_control_source_finalize),
5358         (gst_interpolation_control_source_dispose),
5359         (gst_interpolation_control_source_class_init):
5360         * libs/gst/controller/gstinterpolationcontrolsource.h:
5361         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5362         API: Refactor GstController into the core controller which can take
5363         a GstControlSource for providing actual values for timestamps.
5364         Implement a interpolation control source and use this for backward
5365         compatibility, deprecate a bunch of functions that are now handled
5366         by GstControlSource or GstInterpolationControlSource.
5367         Make it possible to disable the controller completely or only for
5368         specific properties. Fixes #450711.
5369         * docs/libs/gstreamer-libs-docs.sgml:
5370         * docs/libs/gstreamer-libs-sections.txt:
5371         * docs/libs/gstreamer-libs.types:
5372         Add new functions and classes to the docs.
5373         * tests/check/libs/controller.c: (GST_START_TEST),
5374         (gst_controller_suite):
5375         * tests/examples/controller/audio-example.c: (main):
5376         Port unit test and example to the new API and add some new
5377         unit tests.
5378
5379 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5380
5381         Patch by: Mark Nauwelaerts <manauw at skynet be>
5382
5383         * plugins/elements/gstmultiqueue.c:
5384         (gst_multi_queue_get_internal_links), (apply_buffer),
5385         (single_queue_overrun_cb), (gst_single_queue_new):
5386         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5387         the pipeline layout can be tracked correctly. Fixes #453732.
5388
5389 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5390
5391         * docs/gst/Makefile.am:
5392         * docs/libs/Makefile.am:
5393         * docs/plugins/Makefile.am:
5394           Simplify --extra-dir as gtkdoc scans recursively.
5395
5396 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5397
5398         * tools/gst-launch.c: (main):
5399         When we got an error, there is no point in waiting for preroll when
5400         shutting down.
5401
5402 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5403
5404         * plugins/elements/gsttee.c: (gst_tee_base_init),
5405         (gst_tee_request_new_pad), (gst_tee_release_pad),
5406         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5407         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5408         (gst_tee_chain):
5409         Be a lot smarter when deciding what srcpad to use for proxying
5410         the buffer_alloc. Also handle pad added/removed when doing so.
5411         Fixes #357959.
5412         Keep track of what pads we already pushed on in case we have pads
5413         added/removed while pushing. Fixes #374639 
5414
5415         * tests/check/Makefile.am:
5416         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5417         (tee_suite):
5418         Added unit test for pad resync.
5419
5420 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5421
5422         * po/nl.po:
5423         * po/sv.po:
5424           Updated translations.
5425
5426 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5427
5428         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5429
5430         * po/LINGUAS:
5431         * po/fi.po:
5432           Added new Finnish translation.
5433
5434 2007-06-28  Wim Taymans  <wim@fluendo.com>
5435
5436         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5437         (single_queue_overrun_cb):
5438         When figuring out when a queue is filled, use our internal time estimate
5439         based on segments, just like check_full does.
5440
5441 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5442
5443         * gst/gstminiobject.c: (gst_mini_object_get_type):
5444           Remove 3 do-nothing methods.
5445
5446 2007-06-27  Wim Taymans  <wim@fluendo.com>
5447
5448         Patch by: Tim Angus <tim at ngus dot net>
5449
5450         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5451         (gst_capsfilter_set_property):
5452         Take a reference instead of a copy when setting "caps".
5453         Fix documentation to clarify this behaviour. Fixes #449414.
5454
5455 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5456
5457         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5458         * gst/gstplugin.c: (gst_plugin_init):
5459         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5460         * gst/gstquery.c: (gst_query_get_type):
5461         * gst/gstregistry.c: (gst_registry_init):
5462         * gst/gsturi.c: (gst_uri_handler_base_init):
5463           Remove empty instance_init() functions to save relocs and lessen the
5464           noise. Remove some of the function prototypes that are doubled by
5465           G_DEFINE_TYPE.
5466           
5467 2007-06-27  Wim Taymans  <wim@fluendo.com>
5468
5469         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5470
5471         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5472         Add peer and direction in the XML serialisation of ghostpads.
5473         Fixes #449226.
5474
5475 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5476
5477         * configure.ac:
5478           Preserve useful information, thanks Tim.
5479
5480 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5481
5482         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5483         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5484         (gst_single_queue_push_one), (gst_multi_queue_loop),
5485         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5486         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5487         (compute_high_id), (gst_single_queue_new):
5488         * plugins/elements/gstmultiqueue.h:
5489         Take the multiqueue lock when updating the fill level so we don't get
5490         confused. 
5491
5492         After applying a buffer or event on the src pad segment, make sure to
5493         call gst_data_queue_limits_changed() to get the data queue to unblock
5494         and check the filled state again.
5495         
5496         Rework the not-linked pad handling so the logic is that not-linked 
5497         pads can push as fast as they like, but only so they never get 
5498         ahead of any linked pads.
5499
5500         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5501         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5502         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5503
5504         Add a test to check that not-linked pads always stay behind
5505         linked pads.
5506
5507         Fixes: #430682
5508
5509 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5510
5511         * docs/random/release:
5512           Some updates to the release procedure.
5513
5514 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5515
5516         * gst/gstelementfactory.c: (__gst_element_details_clear):
5517           Microoptimization that saves stunning 80 bytes.
5518
5519 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5520
5521         * docs/plugins/gstreamer-plugins.args:
5522         * docs/plugins/inspect/plugin-coreelements.xml:
5523         * docs/plugins/inspect/plugin-coreindexers.xml:
5524           Update docs with caps info.
5525
5526 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5527
5528         * po/it.po:
5529           Updated Italian translation.
5530
5531 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5532
5533         * ChangeLog:
5534         * po/vi.po:
5535           Update Vietnamese translations.
5536
5537 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5538
5539         * libs/gst/base/gstbasesink.c:
5540           Remove unused signal enum.
5541
5542 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5543
5544         * docs/gst/gstreamer-sections.txt:
5545         * gst/gstelement.c:
5546         * gst/gstutils.c: (gst_type_register_static_full):
5547         Beef up and include the docs for gst_type_register_static_full and
5548         gst_element_class_set_details_simple and add the API keyword
5549         in the ChangeLog.
5550
5551 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5552
5553         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5554         (update_time_level), (gst_single_queue_push_one),
5555         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5556         (single_queue_overrun_cb), (single_queue_underrun_cb),
5557         (single_queue_check_full):
5558         Fix setting max-* properties after adding queues.
5559         Use IS_FILLED for checking visible items.
5560         Signal overrun if multiple queues overrun.
5561         Add extra debug output.
5562         Patch by: Wim Taymans <wim@fluendo.com>
5563
5564 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5565
5566         * gst/gstelement.c: (gst_element_class_set_details_simple):
5567         * gst/gstelement.h:
5568         * gst/gstutils.c: (gst_type_register_static_full):
5569         * gst/gstutils.h:
5570         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5571         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5572         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5573         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5574         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5575         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5576         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5577         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5578         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5579         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5580         (apply_buffer), (gst_queue_chain):
5581         * plugins/elements/gsttee.c: (gst_tee_base_init):
5582         * plugins/elements/gsttypefindelement.c:
5583         (gst_type_find_element_base_init),
5584         (gst_type_find_element_class_init):
5585           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5586           API: add gst_type_register_static_full
5587           API: add gst_element_class_set_details_simple
5588
5589 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5590
5591         * docs/pwg/advanced-types.xml:
5592           Fix typo in iana.org URI.
5593
5594 2007-06-19  Andy Wingo  <wingo@pobox.com>
5595
5596         * tests/check/pipelines/simple-launch-lines.c
5597         (test_state_change_returns): Enable pull-mode tests now that
5598         basesink has been fixed.
5599
5600         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5601         Changed from gst_base_sink_is_prerolled, reversing the sense of
5602         the return value. Returns FALSE also if the sink is in pull mode,
5603         in which case it needs no preroll.
5604         (gst_base_sink_query, gst_base_sink_change_state): Update for
5605         needs_preroll change.
5606         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5607         chaining up, in which we return SUCCESS directly if we activated
5608         in pull mode instead of ASYNC. Involves countering an async_start
5609         message sent before chaining up; not sure if this is correct, in
5610         an ideal world we only send async-start when activating in push
5611         mode.
5612
5613         * tests/check/pipelines/simple-launch-lines.c
5614         (test_state_change_returns): New test, partially disabled until
5615         basesink is fixed.
5616
5617 2007-06-19  Wim Taymans  <wim@fluendo.com>
5618
5619         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5620         (gst_multi_queue_sink_event):
5621         Fix event leak.
5622
5623 2007-06-19  Wim Taymans  <wim@fluendo.com>
5624
5625         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5626         (gst_bin_change_state_func), (bin_push_state_continue),
5627         (bin_handle_async_start), (bin_handle_async_done),
5628         (gst_bin_handle_message_func):
5629         Move the common code for posting state-change messages into
5630         one function.
5631         Broadcast the state signal after we posted the messages.
5632         Mark the bin as busy when it's doing a state-change.
5633         Make sure async-start/done messages don't interfere with the bin's
5634         state when it's busy.
5635         After the state change, let the bin check which elements completed the
5636         state change while it was busy so that it can update its state.
5637
5638 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
5639
5640         * docs/random/release:
5641         Add a note about updating the doap file to the release checklist
5642
5643 2007-06-18  Wim Taymans  <wim@fluendo.com>
5644
5645         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5646         (gst_single_queue_push_one), (gst_multi_queue_chain),
5647         (gst_multi_queue_sink_event):
5648         Make sure we don't reference the buffer/event after we have given away
5649         ownership in the queue.
5650
5651 2007-06-18  Wim Taymans  <wim@fluendo.com>
5652
5653         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5654         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5655         Update queue state _after_ adding the item in the queue because else we
5656         could end up being full without the element added yet.
5657
5658 2007-06-18  Wim Taymans  <wim@fluendo.com>
5659
5660         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5661         (gst_bin_remove_func), (gst_bin_get_state_func),
5662         (gst_bin_element_set_state), (gst_bin_continue_func),
5663         (bin_push_state_continue), (bin_handle_async_start),
5664         (bin_handle_async_done), (gst_bin_handle_message_func):
5665         * gst/gstbin.h:
5666         Immediatly commit the toplevel bin state when receiving an async-done
5667         message. This enables us to avoid spawning a thread to commit the state
5668         in some common cases and it also avoids some races.
5669         Avoid spawning a state thread when adding/removing async elements to a
5670         toplevel bin. Instead we immediatly update the bin state.
5671         Get rid of iterating all the children when getting the state in the bin
5672         because it is now always up-to-date.
5673         Fix bug where locked elements would always return _SUCCESS even it they
5674         returned NO_PREROLL before being locked.
5675         Fix the order of the state_change, async-start/done messages that was
5676         sometimes incorrect.
5677         Mark the state_dirty field as deprecated, we don't need it anymore as we
5678         are always up-to-date.
5679
5680         * gst/gstelement.c: (gst_element_get_state_func),
5681         (gst_element_continue_state):
5682         Small debug inprovements.
5683         Return the previous element state return when nothing is pending instead
5684         of blindly returning SUCCESS.
5685
5686         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5687         (gst_sinks_suite):
5688         Add a whole bunch of new testcases.
5689
5690 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5691
5692         * po/uk.po:
5693         * po/vi.po:
5694           Update translations.
5695
5696 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
5697
5698         * gst/gstpad.c:
5699         Fix typo in the docs.
5700
5701 2007-06-15  Wim Taymans  <wim@fluendo.com>
5702
5703         * docs/libs/gstreamer-libs-sections.txt:
5704         Add docs for new methods.
5705
5706 2007-06-15  Wim Taymans  <wim@fluendo.com>
5707
5708         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5709         (gst_multi_queue_item_new):
5710         Don't use GSlice because we don't depend on >= 2.10 yet.
5711
5712 2007-06-15  Wim Taymans  <wim@fluendo.com>
5713
5714         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5715         (update_time_level), (apply_segment), (apply_buffer),
5716         (gst_single_queue_push_one), (gst_multi_queue_item_new),
5717         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5718         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5719         (single_queue_underrun_cb), (single_queue_check_full):
5720         Remove debug printf.
5721
5722 2007-06-15  Wim Taymans  <wim@fluendo.com>
5723
5724         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5725         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5726         (gst_data_queue_set_flushing), (gst_data_queue_push),
5727         (gst_data_queue_pop), (gst_data_queue_drop_head),
5728         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5729         * libs/gst/base/gstdataqueue.h:
5730         Various cleanups.
5731         Added methods to get the current levels and to inform the queue that the
5732         'full' limits changed.
5733
5734         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5735         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5736         (gst_single_queue_flush), (update_time_level), (apply_segment),
5737         (apply_buffer), (gst_single_queue_push_one),
5738         (gst_multi_queue_item_steal_object),
5739         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5740         (gst_multi_queue_loop), (gst_multi_queue_chain),
5741         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5742         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5743         (gst_multi_queue_src_query), (single_queue_overrun_cb),
5744         (single_queue_underrun_cb), (single_queue_check_full),
5745         (gst_single_queue_new):
5746         Keep track of time in the queue by measuring the difference between
5747         running_time on input and output. This gives more accurate results and
5748         can compensate for segments correctly.
5749         Make a queue by default only 5 buffers deep. We will now increase the
5750         buffer size depending on the filledness of the other queues.
5751         Factor out commong flush code.
5752         Make sure we don't add additional refcounts to buffers when we can avoid
5753         it.
5754         Propagate GstFlowReturn differently.
5755         Use GSlice for intermediate GstMultiQueueItems.
5756         Keep track of EOS.
5757         Resize queues on over and underruns based on filled level of other
5758         queues.
5759         When checking if the queue is filled, prefer to measure in time if we
5760         can and fall back to bytes when no time is known.
5761
5762         * plugins/elements/gstqueue.c:
5763         Fix return value.
5764
5765 2007-06-15  Wim Taymans  <wim@fluendo.com>
5766
5767         * libs/gst/base/gstbasetransform.c:
5768         (gst_base_transform_sink_event):
5769         Work around the brokenness of the event vmethod in basetransform. Prefer
5770         to return TRUE when the subclass returned FALSE (meaning don't forward
5771         the event). 
5772
5773         * libs/gst/base/gstbasetransform.h:
5774         Clarify the docs.
5775
5776 2007-06-15  Wim Taymans  <wim@fluendo.com>
5777
5778         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5779         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5780         (gst_base_src_default_query), (gst_base_src_get_range),
5781         (gst_base_src_start):
5782         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5783         Improve debugging.
5784
5785 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5786
5787         * docs/pwg/advanced-types.xml:
5788           Added more formats to caps table.
5789
5790 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5791
5792         * tools/gst-launch.c: (main):
5793           Remove crufy code. GOption does not need this workaround.
5794
5795 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5796
5797         * libs/gst/controller/gstcontroller.c:
5798         (gst_controlled_property_set_interpolation_mode):
5799           Fix wrong getter for enums in controller.
5800
5801 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5802
5803         * libs/gst/check/gstcheck.c: (gst_check_init):
5804           Intercept criticals and warnings in the Gst-Phonon log domain, so
5805           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5806           well.
5807         
5808 2007-06-14  Edward Hervey  <edward@fluendo.com>
5809
5810         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5811         Since this file doesn't include "gst.h" it will not go through the
5812         macros that disable GST_LOG if debugging was disabled.
5813
5814 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5815
5816         * libs/gst/check/Makefile.am:
5817         * libs/gst/check/gstcheck.h:
5818         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5819         * pkgconfig/gstreamer-check.pc.in:
5820           Ugly 'fix' for the controller unit test on the p5 bot: in
5821           fail_unless_equals_float() check whether the values are 'almost
5822           equal' by allowing a small absolute error, which should be good
5823           enough for our use cases (normal numbers and values close to 0).
5824           Proper fixage left to floating point arithmetic aficionados.
5825
5826 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5827
5828         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5829         (gst_base_sink_render_object), (gst_base_sink_get_position):
5830           Add two breaks thats where missing.
5831
5832 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5833
5834         * docs/libs/gstreamer-libs-sections.txt:
5835         * libs/gst/check/gstcheck.h:
5836           API: add fail_unless_equals_float() and assert_equals_float().
5837           Add documentation for some of the macros.
5838
5839         * tests/check/libs/controller.c: (GST_START_TEST):
5840           Use newly-added asserts.
5841
5842 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5843
5844         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5845           Show the caps change in the log to help spotting the case of not
5846           exactly matching caps.
5847
5848 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5849
5850         * docs/pwg/building-boiler.xml:
5851           Fix typos, spotted by Thijs Vermeir (#447190).
5852
5853 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5854
5855         * docs/plugins/tmpl/.cvsignore:
5856         Ignore file to keep the buildbots happy
5857
5858 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5859
5860         * docs/plugins/Makefile.am:
5861         * docs/plugins/gstreamer-plugins-docs.sgml:
5862         * docs/plugins/gstreamer-plugins-sections.txt:
5863         Pull fdsink into the docs too.
5864
5865 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
5866
5867         * libs/gst/controller/gstinterpolation.c:
5868         Actually use the new functions with min/max checks for the trigger and
5869         none interpolation modes for get() and get_value_array() instead of
5870         just the latter.
5871
5872 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
5873
5874         * libs/gst/controller/gstcontroller.c:
5875         (gst_controlled_property_free):
5876         Unset the minimum and maximum GValues when freeing the corresponding
5877         GstControllerProperty struct.
5878
5879 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
5880
5881         * libs/gst/controller/gstcontroller.c:
5882         (gst_controlled_property_new):
5883         * libs/gst/controller/gstcontrollerprivate.h:
5884         * libs/gst/controller/gstinterpolation.c:
5885         (gst_controlled_property_find_control_point_node),
5886         (interpolate_none_get), (interpolate_none_get_enum_value_array),
5887         (interpolate_none_get_string_value_array),
5888         (interpolate_trigger_get),
5889         (interpolate_trigger_get_enum_value_array),
5890         (interpolate_trigger_get_string_value_array):
5891         Protect against values larger or smaller than the minimum or maximum
5892         allowed value for the property when using values that can be compared.
5893
5894         Optimize trigger interpolator a bit by taking the last requested value
5895         into account instead of always looping through the complete list.
5896
5897         Fix coding style a bit, everywhere else we use "return foo" instead
5898         of "return (foo)".
5899         
5900         * tests/check/libs/controller.c: (GST_START_TEST),
5901         (gst_controller_suite):
5902         Add unit test for the protection against too large or too small
5903         values.
5904
5905 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
5906
5907         * docs/random/slomo/controller.txt:
5908         Add some thoughts about the future of the controller.
5909
5910 2007-06-08  Wim Taymans  <wim@fluendo.com>
5911
5912         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5913         Don't overflow in retimestamping code.
5914
5915 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
5916
5917         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
5918         Use gst_util_guint64_to_gdouble for conversions.
5919         * win32/common/libgstreamer.def:
5920         Add new exported functions.
5921
5922 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
5923
5924         * gst/gstutils.c:
5925           Small docs addition.
5926
5927 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5928
5929         * README:
5930           Remove that test line again.
5931
5932 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5933
5934         * README:
5935           Test commit mail sending.
5936
5937 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5938
5939         * configure.ac:
5940           Fix typo and test commit mail sending.
5941
5942 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5943
5944         * tests/examples/controller/audio-example.c:
5945           Improve comment and test commit mail sending.
5946
5947 2007-06-07  Wim Taymans  <wim@fluendo.com>
5948
5949         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
5950         (gst_bin_remove_func), (gst_bin_element_set_state),
5951         (bin_handle_async_start), (bin_handle_async_done),
5952         (gst_bin_handle_message_func):
5953         Add helper function to find messages.
5954         Generate the async-done messages together with the state change
5955         messages.
5956         Small cleanups in handling toplevel bins.
5957
5958 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
5959
5960         * libs/gst/base/gstdataqueue.c:
5961         * libs/gst/base/gstdataqueue.h:
5962         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5963         (gst_multi_queue_item_new), (gst_multi_queue_chain),
5964         (gst_multi_queue_sink_event):
5965         * tests/check/elements/multiqueue.c: (multiqueue_suite):
5966           Fix multiqueue leaking buffers and events when downstream or the
5967           queue are flushing. Make refcounting assumptions explicit and
5968           document them (shouldn't break existing code that uses it other than
5969           maybe leak miniobjects, but that already happens anyway). Add unit
5970           test for the most common flushing case. Fixes #423700.
5971           
5972 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
5973
5974         * libs/gst/controller/gstcontroller.c:
5975         Clarify docs: The get_all, get_value_array(s) functions
5976         don't modify the GObject properties.
5977
5978 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
5979
5980         * libs/gst/controller/gstcontroller.c:
5981         (gst_controlled_property_set_interpolation_mode),
5982         (gst_controlled_property_prepend_default),
5983         (gst_controlled_property_new), (gst_controller_set_unlocked),
5984         (gst_controller_set), (gst_controller_set_from_list),
5985         (gst_controller_unset), (gst_controller_unset_all):
5986         * libs/gst/controller/gstcontrollerprivate.h:
5987         * libs/gst/controller/gstinterpolation.c:
5988         Factor out the 'set' logic into gst_controller_set_unlocked for the
5989         gst_controller_set and gst_controller_set_from_list functions.
5990
5991         To make life of the interpolators easier always add a control point
5992         at timestamp zero with the default value.
5993
5994         In the linear interpolator make things more obvious by better variable
5995         naming (slope).
5996
5997         Implement cubic interpolation mode (by using a natural cubic spline)
5998         and map the quadratic interpolation mode to this too (as quadratic
5999         doesn't make much sense, see discussion on the list).
6000
6001         * tests/check/libs/controller.c: (GST_START_TEST),
6002         (gst_controller_suite):
6003         Add unit test for the cubic interpolation mode and check everywhere
6004         if the interpolation mode could be set as expected.
6005
6006 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6007
6008         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6009           Don't use GLib-2.10 functions, we still depend on
6010           GLib-how-old-is-it-again-2.8.
6011
6012 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6013
6014         * docs/gst/gstreamer-sections.txt:
6015         * gst/Makefile.am:
6016         * gst/gst.c:
6017         * gst/gst.h:
6018         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6019         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6020         (_gst_param_fraction_values_cmp),
6021         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6022         * gst/gstparamspecs.h:
6023         * gst/gstvalue.c:
6024         * tests/check/Makefile.am:
6025         * tests/check/gst/.cvsignore:
6026         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6027         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6028         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6029         (GST_START_TEST), (gst_param_spec_suite):
6030           API: add GstParamSpecFraction, so elements can have fraction
6031           properties without lots of painful string parsing (#444648).
6032
6033 2007-06-05  Wim Taymans  <wim@fluendo.com>
6034
6035         * gst/gstobject.c: (gst_object_class_init):
6036         Fix signal signature.
6037
6038         * gst/gstsegment.c:
6039         Add small clarification in the api docs.
6040
6041         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6042         States are protected with object lock.
6043
6044 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6045
6046         * AUTHORS:
6047         I should probably be listed as an author by now.
6048
6049         * docs/random/release:
6050         Update the release doc
6051
6052 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6053
6054         * gst/gstvalue.c:
6055           Make docs for gst_value_compare() mention return enums that
6056           actually exist.
6057
6058 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6059
6060         * configure.ac:
6061           Back to CVS
6062
6063 === release 0.10.13 ===
6064
6065 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6066
6067         * configure.ac:
6068           releasing 0.10.13, "With or without you"
6069
6070 2007-05-25  Wim Taymans  <wim@fluendo.com>
6071
6072         * gst/gstbin.c: (bin_handle_async_done):
6073         Make sure that the child bin stops after completing the async state
6074         change so that the parent can continue the state change to PLAYING.
6075         Fixes #441159.
6076
6077 2007-05-25  Wim Taymans  <wim@fluendo.com>
6078
6079         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6080         (unref_data), (gst_collect_pads_remove_pad),
6081         (gst_collect_pads_check_pads):
6082         Use additional refcounting to avoid crashes when dynamically adding and
6083         removing pads. Fixes #420206.
6084
6085 2007-05-24  Wim Taymans  <wim@fluendo.com>
6086
6087         * tools/gst-launch.c: (event_loop):
6088         When buffering goes from a two digit to a single digit number, make sure
6089         to remove the old second digit by writing a blank over it.
6090
6091 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6092
6093         * libs/gst/base/gstdataqueue.c:
6094           Eliminate tabs and trailing comma in enum list; fix some typos.
6095
6096 2007-05-24  Wim Taymans  <wim@fluendo.com>
6097
6098         * tests/check/gst/gstbin.c: (GST_START_TEST):
6099         Allow refcount of 3 and 4 because some state thread might still be busy
6100         with it.
6101
6102 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6103
6104         * plugins/elements/Makefile.am:
6105         * plugins/elements/gstmultiqueue.h:
6106         * plugins/elements/gstqueue.h:
6107           These are not installed headers, no need for padding.
6108
6109 2007-05-24  Wim Taymans  <wim@fluendo.com>
6110
6111         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6112         (gst_bin_continue_func):
6113         Enable latency for next release.
6114         Restore STATE_LOCK around recalc_state that was left out during the
6115         rewrite and could result in racy behaviour when _get_state and
6116         recalc_state are run concurrently. See #440463.
6117
6118 2007-05-23  Wim Taymans  <wim@fluendo.com>
6119
6120         * tests/check/gst/gstsystemclock.c: (store_callback),
6121         (GST_START_TEST):
6122         Improve test_async_order to also work when both timers are already
6123         expired when we get scheduled to check it.
6124
6125 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6126
6127         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6128         (gst_bin_set_property), (gst_bin_get_property),
6129         (gst_bin_remove_func), (gst_bin_handle_message_func):
6130         * gst/gstbin.h:
6131           'private' is a c++ keyword, let's not use that in header files,
6132           otherwise c++ compilers will throw a tantrum.
6133
6134 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6135
6136         * plugins/elements/gstelements.c:
6137         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6138         (gst_file_sink_get_current_offset):
6139         * plugins/indexers/gstindexers.c: (plugin_init):
6140           Use #ifdef for HAVE_XYZ for consistency.
6141
6142         * tests/check/Makefile.am:
6143         * tests/check/elements/.cvsignore:
6144         * tests/check/elements/filesink.c: (setup_filesink),
6145         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6146           Add some unit tests for filesink.
6147
6148 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6149
6150         Patch by: Mark Nauwelaerts <manauw at skynet be>
6151
6152         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6153         (gst_file_sink_query), (gst_file_sink_do_seek),
6154         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6155         * plugins/elements/gstfilesink.h:
6156           Fix position reporting; rename data_written member to current_pos to
6157           reflect its real meaning (fixes #412648).
6158
6159 2007-05-22  Edward Hervey  <edward@fluendo.com>
6160
6161         * docs/gst/gstreamer-sections.txt:
6162         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6163         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6164         (gst_bin_remove_func), (gst_bin_handle_message_func):
6165         * gst/gstbin.h:
6166         Add a property for bins that handle the state change of their childs.
6167         Fixes #435880
6168
6169 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6170
6171         * libs/gst/controller/gstinterpolation.c:
6172         Use an array of the correct type when using _get_value_array with
6173         linear interpolation.
6174
6175 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6176
6177         * gst/gstelement.c (gst_element_requires_clock,
6178           gst_element_provides_clock, gst_element_request_pad,
6179           gst_element_class_set_details, gst_element_class_set_details_simple,
6180           gst_element_default_send_event, gst_element_abort_state,
6181           gst_element_continue_state, gst_element_set_state,
6182           gst_element_set_state_func, iterator_activate_fold_with_resync):
6183         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6184           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6185           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6186           gst_pad_get_range, gst_pad_pull_range):
6187         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6188           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6189           GstPadActivateModeFunction, GstPadChainFunction,
6190           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6191           GstPadFixateCapsFunction, GstPadTemplate):
6192         * gst/gstpipeline.c (gst_pipeline_change_state,
6193           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6194           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6195           gst_pipeline_get_delay):
6196           Whitespace and docs fixes.
6197
6198 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6199
6200         * libs/gst/controller/gstinterpolation.c:
6201         (interpolate_trigger_get_enum_value_array),
6202         (interpolate_trigger_get_string_value_array):
6203         Add support for retrieving value arrays when using the trigger
6204         interpolation mode. 
6205
6206 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6207
6208         * libs/gst/controller/gstcontroller.c:
6209         (gst_controller_get_value_array):
6210         * libs/gst/controller/gstcontroller.h:
6211         Clarify the docs of gst_controller_get_value_array(): The array where
6212         the values should be written to must be allocated as there seems to be
6213         no way to get the size of a random GType. This doesn't change any
6214         behaviour. Also fix some typos all over the place and remove an unused,
6215         commented function that is not necessary as g_object_set() could be
6216         used instead.
6217         * tests/check/libs/controller.c: (GST_START_TEST),
6218         (gst_controller_suite):
6219         Add unit test for gst_controller_get_value_array().
6220
6221 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6222
6223         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6224
6225         Disable part of the gst_buffer_try_new_and_alloc test, because
6226         it can happily succeed on 64-bit systems where there's more address
6227         space available.
6228
6229 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6230
6231         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6232         Add unit test for the improved caps checking from bug #421543.
6233
6234 2007-05-21  Wim Taymans  <wim@fluendo.com>
6235
6236         * docs/design/part-synchronisation.txt:
6237         Small addition.
6238
6239         * gst/gstbin.c: (gst_bin_query):
6240         * plugins/elements/gstqueue.c: (apply_segment):
6241         Improve debugging.
6242
6243         * gst/gstmessage.h:
6244         Improve docs.
6245
6246 2007-05-21  Wim Taymans  <wim@fluendo.com>
6247
6248         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6249         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6250         (gst_pad_configure_src):
6251         Added simple version of improved caps checking. It was previously
6252         assumed that a setcaps function would check the validity of the caps but
6253         people prefer us to check caps against the template automatically. 
6254         Fixes #421543.
6255
6256 2007-05-21  Wim Taymans  <wim@fluendo.com>
6257
6258         * libs/gst/base/gstbasetransform.h:
6259         Fix macro for locking/unlocking the transform lock.
6260
6261 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6262
6263         * docs/plugins/tmpl/.cvsignore:
6264           Ignore more.
6265
6266 2007-05-18  Edward Hervey  <edward@fluendo.com>
6267
6268         * plugins/elements/gstqueue.c: (gst_queue_loop):
6269         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6270         for the subtle art of warning a potentially blocking thread that it
6271         should check the source pad return value, and relay the information
6272         upstream.
6273
6274 2007-05-18  Edward Hervey  <edward@fluendo.com>
6275
6276         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6277         Release the queue lock !
6278
6279 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6280
6281         * docs/libs/gstreamer-libs-sections.txt:
6282         Add the two new controller functions to the appropiate places.
6283
6284 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6285
6286         reviewed by: Stefan Kost <ensonic@users.sf.net>
6287
6288         * libs/gst/controller/gstcontroller.c:
6289         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6290         (_gst_controller_get_property), (_gst_controller_set_property),
6291         (_gst_controller_init), (_gst_controller_class_init):
6292         * libs/gst/controller/gstcontroller.h:
6293         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6294         (gst_object_get_control_rate), (gst_object_set_control_rate):
6295         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6296         Add API that provides sync suggestion timestamps for elements that
6297         call gst_object_sync_values() from which those elements can subdivide
6298         their processing loop to get the best results for the controlled
6299         properties. For now it just suggests last_sync + control_rate as
6300         new timestamp but this will be improved in the future.
6301
6302         While doing that change the control-rate property to a GstClockTime
6303         from guint and change it's meaning from samples to nanoseconds as
6304         the GstController doesn't know anything about sampling rate. Strictly
6305         speaking this breaks ABI but as the control-rate property didn't do
6306         anything in the past and as such couldn't be used this should be no
6307         problem.        
6308
6309 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6310
6311         reviewed by: Stefan Kost <ensonic@users.sf.net>
6312
6313         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6314         (gst_controller_unset_all):
6315         * libs/gst/controller/gstcontrollerprivate.h:
6316         * libs/gst/controller/gstinterpolation.c:
6317         (gst_controlled_property_find_control_point_node):
6318         Save last synced value from the list to continue searching from there
6319         in future syncs. This speeds everything up a bit.
6320         
6321 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6322
6323         reviewed by: Stefan Kost <ensonic@users.sf.net>
6324
6325         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6326         (gst_control_point_find), (gst_controlled_property_new),
6327         (gst_control_point_free), (gst_controlled_property_free),
6328         (gst_controller_set), (gst_controller_set_from_list),
6329         (gst_controller_unset), (gst_controller_unset_all),
6330         (gst_controller_sync_values):
6331         * libs/gst/controller/gstcontroller.h:
6332         * libs/gst/controller/gstcontrollerprivate.h:
6333         * libs/gst/controller/gstinterpolation.c:
6334         (gst_controlled_property_find_control_point_node),
6335         (interpolate_none_get), (interpolate_trigger_get):
6336         Add a new private GstControlPoint struct which "inherits" from
6337         GstTimedValue to allow different interpolators to store internal
6338         values next to each control point. From the outside everything is
6339         still a GstControlPoint so we don't loose binary compatibility.
6340         Also fixup all the GValue handling to not leak GValues or list nodes.
6341         * tests/check/libs/controller.c: (GST_START_TEST):
6342         Free the list nodes and GValues in the controller_misc test.
6343
6344 2007-05-17  Edward Hervey  <edward@fluendo.com>
6345
6346         * gst/gstsegment.c:
6347         Small doc fix.
6348
6349 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6350
6351         * gst/gstplugin.c: (gst_plugin_load_file):
6352           If we fail to load a plugin because of unresolved symbols or missing
6353           libraries and spew a warning to stderr, we may just as well mention
6354           which plugin it was that failed to load.
6355
6356 2007-05-13  David Schleef  <ds@schleef.org>
6357
6358         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6359           handles the case when ENABLE_GTK_DOC is false, and installs
6360           the prebuilt documentation.  So gtk-doc subdirs are 
6361           unconditionally enabled.  Fixes: #349099.
6362
6363 2007-05-13  David Schleef  <ds@schleef.org>
6364
6365         * gst/gstutils.h: Reword some documentation.
6366
6367 2007-05-12  David Schleef  <ds@schleef.org>
6368
6369         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6370           do anything with the passed "module" parameter, so remove it.
6371           Allows removal of additional vestigal code.
6372
6373 2007-05-12  David Schleef  <ds@schleef.org>
6374
6375         * gst/gstplugin.c:
6376           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6377           Switch to using g_stat() because it's more portable.
6378
6379 2007-05-12  David Schleef  <ds@schleef.org>
6380
6381         * gst/gst.c:
6382           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6383           parsing for embedded systems.
6384         * gst/gstelementfactory.c:
6385           Allow gst_element_register() to be called with plugin==NULL.
6386           Did nobody notice that static elements were broken?
6387
6388 2007-05-12  Wim Taymans  <wim@fluendo.com>
6389
6390         * tools/gst-launch.c: (event_loop):
6391         Give more interesting info when buffering starts and stops.
6392         Fix case where buffering starts but we fail to update the buffering flag
6393         because the target state is not PLAYING.
6394
6395 2007-05-12  Wim Taymans  <wim@fluendo.com>
6396
6397         * plugins/elements/gstqueue.c: (gst_queue_init),
6398         (gst_queue_finalize), (update_time_level), (apply_segment),
6399         (apply_buffer), (gst_queue_locked_flush),
6400         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6401         (gst_queue_handle_sink_event), (gst_queue_chain),
6402         (gst_queue_push_one), (gst_queue_loop):
6403         * plugins/elements/gstqueue.h:
6404         Refactor an cleanup queue a bit.
6405         Do better time level calculations that also work when the srcpad is not
6406         yet running.
6407         Remove some unneeded debug lines.
6408
6409         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6410         Added testcase for time level measurement.
6411         Try to make some stuff more racefree.
6412
6413 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6414
6415         * gst/gsturi.c: (gst_element_make_from_uri):
6416           Don't leak plugin feature.
6417
6418         * tests/check/Makefile.am:
6419         * tests/check/gst/.cvsignore:
6420         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6421           Add brain-dead unit test.
6422
6423 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6424
6425         Patch by: Jeroen Wouters <woutersj at gmail com>
6426
6427         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6428           Treat protocol strings in a case-insensitive way (#437563).
6429
6430 2007-05-11  Michael Smith <msmith@fluendo.com>
6431
6432         * gst/gstplugin.c: (gst_plugin_load_file):
6433         * gst/gstregistry.c: (gst_registry_scan_path_level):
6434           Don't print a g_warning for any failure to load a shared object.
6435           Instead, push this down into gstplugin.c, and warn _only_ if we
6436           failed to open the module (i.e. failure to link).
6437           Avoids warnings on normal, working, non-plugin .so files.
6438
6439 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6440
6441         * gst/gstplugin.c (gst_plugin_load_file):
6442         * gst/gstregistry.c (GST_CAT_DEFAULT,
6443           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6444           Print a g_warning if there was an error when loading a plugins during
6445           registry scan. The shuld help beginners starting with gst-plugin
6446           template.
6447
6448 2007-05-10  Wim Taymans  <wim@fluendo.com>
6449
6450         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6451         (update_time_level), (gst_queue_locked_flush),
6452         (gst_queue_handle_sink_event), (gst_queue_chain),
6453         (gst_queue_push_one), (gst_queue_loop):
6454         * plugins/elements/gstqueue.h:
6455         Be smarter when calculating the current amount of data in the queue by
6456         measuring the difference between start and end timestamps (in running
6457         time) inside the queue. Fixes #432876.
6458         API: GstQueue::pushing to notify elements that we are pushing data again
6459         since the running signal is rather broken for this purpose.
6460
6461 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6462
6463         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6464           gst_queue_base_init, gst_queue_init):
6465           use GST_BOILERPLATE
6466
6467 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6468
6469         * win32/common/libgstreamer.def:
6470         Add new exported functions.
6471         * win32/vs6/grammar.dsp:
6472         Use grammar pre-generated files.
6473
6474 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6475
6476         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6477
6478         * gst/Makefile.am:
6479         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6480         * gst/gstparse.h:
6481         * gst/gstutils.c: (gst_parse_bin_from_description):
6482         * gst/gstutils.h:
6483           Maintain API and ABI when --disable-parse is used. Now that
6484           we have an appropriate error code, we can just return NULL and the
6485           appropriate error when gst_parse_launch() is used despite it having
6486           been disabled (#342564).
6487
6488         * tests/check/Makefile.am:
6489         * tests/check/pipelines/.cvsignore:
6490         * tests/check/pipelines/parse-disabled.c:
6491           Make sure these functions exist and return NULL plus a GError when
6492           --disable-parse is used.
6493
6494 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6495
6496         * tests/benchmarks/complexity.c: (main):
6497         * tests/benchmarks/mass-elements.c: (main):
6498           Set a good example and don't leak messages.
6499
6500 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6501
6502         * docs/gst/Makefile.am:
6503         * docs/libs/Makefile.am:
6504           Correct fixxrefs options.
6505
6506         * docs/plugins/Makefile.am:
6507         * docs/plugins/gstreamer-plugins-docs.sgml:
6508         * docs/plugins/gstreamer-plugins-sections.txt:
6509         * plugins/elements/Makefile.am:
6510         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6511         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6512           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6513           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6514           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6515           _GstCapsFilterClass, trans_class):
6516         * plugins/elements/gstelements.c (name, rank, type, _elements):
6517         * plugins/elements/gstidentity.c
6518           (gst_identity_check_imperfect_timestamp,
6519           gst_identity_check_imperfect_offset):
6520           Document capsfilter and add doc-blurb to identity.
6521
6522 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6523
6524         * libs/gst/controller/gstcontroller.c:
6525         (gst_controlled_property_set_interpolation_mode):
6526         * libs/gst/controller/gstinterpolation.c:
6527           Don't crash if someone tries to set an interpolation mode that
6528           is invalid or that isn't supported yet. Fixes #422295.
6529
6530         * tests/check/libs/controller.c: (GST_START_TEST),
6531         (gst_controller_suite):
6532           Add a test case for the above.
6533
6534 2007-05-03  Edward Hervey  <edward@fluendo.com>
6535
6536         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6537         Properly set the last_stop position on GstSegment. This will only happen
6538         if there is a buffer to push out.
6539
6540 2007-05-03  Wim Taymans  <wim@fluendo.com>
6541
6542         * libs/gst/base/gstbasetransform.c:
6543         (gst_base_transform_buffer_alloc):
6544         always_in_place does not mean that the sink and source caps are the
6545         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6546
6547 2007-05-03  Wim Taymans  <wim@fluendo.com>
6548
6549         * docs/libs/gstreamer-libs-sections.txt:
6550         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6551         (gst_base_src_default_query), (gst_base_src_get_range):
6552         * libs/gst/base/gstbasesrc.h:
6553         API: gst_base_src_query_latency(). Added method so that subclasses can
6554         easily get the latency values of the base source class.
6555
6556 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6557
6558         * tools/gst-inspect.c (print_implementation_info):
6559         Remove 0.8 cruft.
6560
6561 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6562
6563         * tools/Makefile.am:
6564         * tools/gst-launch.1.in:
6565           Don't create a customised man page based on the host architecture,
6566           describe the default registry path generically. That way the man
6567           page is the same for all architectures and packagers have one
6568           multilib issue less to deal with. Fixes #434926.
6569
6570 2007-05-02  Wim Taymans  <wim@fluendo.com>
6571
6572         * gst/gstpad.c:
6573         Fix documentation as spotted by rg on IRC. 
6574
6575 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6576
6577         * gst/gstutils.c:
6578           Improve docs for gst_element_{link,unlink}.
6579
6580 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6581
6582         * docs/design/part-events.txt:
6583         * docs/design/part-overview.txt:
6584         * gst/gstevent.c:
6585         * gst/gsturi.c:
6586         * gst/gsturi.h:
6587         * libs/gst/base/gstbasesink.c:
6588           Typo fixes; minor docs addition.
6589
6590 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6591
6592         * docs/gst/gstreamer-sections.txt:
6593         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6594         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6595         * gst/gsturi.h:
6596         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6597         or src that supports a given URI protocol exists.
6598
6599 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6600
6601         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6602         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6603         Set the location to NULL if "file://" is set as URI. Otherwise
6604         some random previous URI would still be set if "file://" is
6605         set on an already used filesink/filesrc.
6606
6607 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6608
6609         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6610         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6611         Special case the "file://" URI as as this is used by some
6612         applications to test with gst_element_make_from_uri if there's
6613         an element that supports the URI protocol.
6614         Also move the g_path_is_absolute() check for the location part
6615         of the URI to also check this for "file://localhost/bla" URIs.
6616
6617 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
6618
6619         * docs/gst/gstreamer-sections.txt:
6620         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6621         * gst/gstbuffer.h:
6622         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6623         (gst_buffer_suite):
6624           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6625
6626 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
6627
6628         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6629         (gst_registry_binary_load_pad_template),
6630         (gst_registry_binary_load_plugin),
6631         (gst_registry_binary_read_cache):
6632         * gst/gstregistrybinary.h:
6633           Implement no-mmap alternative for registry reading. Do code cleanups.
6634           Add more comments about avoiding strdups for all text data. Comments
6635           welcome.
6636
6637 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6638
6639         * gst/gstregistrybinary.h (GstBinaryPluginElement,
6640           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6641           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6642           Comment structs and reformat to fix the build (that stuff should go
6643           into a priv. header).
6644
6645 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6646
6647         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6648         (gst_registry_binary_load_feature):
6649         * gst/gstregistrybinary.h:
6650           Refactor so that we can implement multiple features. Add support for
6651           TypeFindFactory features.
6652
6653 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
6654
6655         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6656
6657         * configure.ac:
6658           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6659
6660 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
6661
6662         * gst/gstbin.c: (gst_bin_element_set_state),
6663         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6664         (bin_handle_async_done), (gst_bin_handle_message_func):
6665           Fix build with --gst-disable-gst-debug
6666
6667 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
6668
6669         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6670           Make sure streaming has finished before calling the ::stop() vfunc,
6671           since that vfunc might clear state which is being used in the
6672           streaming thread. This fixes a race that caused crashes in
6673           audioresample when shutting down a pipeline (#420106).
6674
6675 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6676
6677         * docs/gst/gstreamer-sections.txt:
6678           That was one byte missing.
6679
6680 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6681
6682         * configure.ac:
6683         * docs/gst/gstreamer-sections.txt:
6684         * gst/Makefile.am:
6685         * gst/gstconfig.h.in:
6686         * gst/gstobject.c: (gst_object_class_init),
6687         (gst_signal_object_class_init):
6688         * gst/gstobject.h:
6689           2nd attempt to have a xml-less build as a joined effort of #413123
6690           and #421480.
6691
6692 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6693
6694         * docs/design/draft-tagreading.txt:
6695           Added open issues/thoughts to draft.
6696
6697 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6698
6699         * gst/parse/grammar.tab.pre.c:
6700         * gst/parse/grammar.tab.pre.h:
6701         * gst/parse/lex._gst_parse_yy.pre.c:
6702         Update the prebuild parser sources.
6703
6704 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6705
6706         * gst/parse/Makefile.am:
6707         And now fix the building of the flex sources. Now everything should
6708         work as expected.
6709
6710 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6711
6712         * gst/parse/Makefile.am:
6713         Now hopefully fix the build failures by setting proper rule
6714         dependencies and moving instead of copying.
6715
6716 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6717
6718         * tests/benchmarks/complexity.gnuplot:
6719         * tests/benchmarks/complexity.scm:
6720         * tests/benchmarks/mass-elements.gnuplot:
6721         * tests/benchmarks/mass-elements.scm:
6722           Total licensification.
6723
6724 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6725
6726         * gst/parse/Makefile.am:
6727           Fix the build by correcting the rule that gave wrong files to flex.
6728
6729 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6730
6731         * tests/benchmarks/complexity.c:
6732         * tests/benchmarks/mass-elements.c:
6733           Change licence to LGPL as granted by Benjamin and Andy.
6734
6735 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6736
6737         * gst/parse/Makefile.am:
6738         Add correct grammar.tab.h dependency if compiling without new enough
6739         flex. Fixes #431150.
6740
6741 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6742
6743         * gst/parse/Makefile.am:
6744         Fix typo and use outdated sources if the flex/bison sources are newer
6745         than the pregenerated ones but flex is too old. Print a warning in
6746         that case. This should fix the build on the build bot.
6747
6748 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6749
6750         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6751         * gst/parse/Makefile.am:
6752         * gst/parse/grammar.y:
6753         * gst/parse/parse.l:
6754         Make the parser reentrant and recursively callable. This requires flex
6755         >= 2.5.31, for older versions pregenerated sources are used as we
6756         can't bump the build dependency. Finally fixes #349180.
6757
6758         * gst/gstparse.c: (gst_parse_launch):
6759         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6760         now anyway.
6761
6762         * docs/gst/Makefile.am:
6763         * docs/gst/Makefile.am:
6764         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6765         (__gst_parse_strfree), (__gst_parse_link_new),
6766         (__gst_parse_link_free), (__gst_parse_chain_new),
6767         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6768         (gst_parse_element_set), (gst_parse_free_link),
6769         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6770         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6771         (_gst_parse_launch):
6772         * gst/parse/grammar.tab.pre.h:
6773         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6774         (yy_get_previous_state), (yy_try_NUL_trans), (input),
6775         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6776         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6777         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6778         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6779         (_gst_parse_yypop_buffer_state),
6780         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6781         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6782         (yy_fatal_error), (_gst_parse_yyget_extra),
6783         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6784         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6785         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6786         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6787         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6788         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6789         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6790         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6791         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6792         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6793         (_gst_parse_yyfree):
6794         If the installed flex version is too old use pre-generated parser
6795         sources. These pre-generated parser sources are always updated when
6796         the actual flex/bison sources change but require everybody who wants
6797         to change something in the parser to have flex >= 2.5.31 installed.
6798
6799 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
6800
6801         * common/m4/gst-gettext.m4:
6802         * gst/gst-i18n-lib.h:
6803           Make --disable-nls to work
6804
6805 2007-04-17  Wim Taymans  <wim@fluendo.com>
6806
6807         * gst/gstconfig.h.in:
6808         Revert previous change that broke the build.
6809
6810 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
6811
6812         * configure.ac:
6813         * gst/Makefile.am:
6814         * gst/gstconfig.h.in:
6815           Drop libxml2 dependency when building with 
6816           --enable-binary-registry --disable-loadsave
6817
6818 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
6819
6820         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6821         (gst_registry_binary_read_cache):
6822         * gst/gstregistrybinary.h:
6823           Remove unnecessary <sys/mman.h> include which broke the win32 build
6824           with MingW; move includes from header file to .c file, even if the
6825           header file isn't installed; use g_strerror() where UTF-8 strings
6826           are expected, such as in GST_DEBUG messages.
6827
6828 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6829
6830         * docs/libs/gstreamer-libs-sections.txt:
6831         Remove bogus addition for API I didn't end up keeping.
6832
6833         * libs/gst/base/gstbasesrc.h:
6834         Mention Since: 0.10.13 in the documentation.
6835
6836         Add the API keyword to the previous ChangeLog entry.
6837
6838 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6839
6840         * docs/libs/gstreamer-libs-sections.txt:
6841         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6842         (gst_base_src_default_prepare_seek_segment),
6843         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6844         * libs/gst/base/gstbasesrc.h:
6845         Allow basesrc derived classes to execute seeks in other formats
6846         by providing a prepare_seek_segment vmethod. Sub-classes can choose
6847         to prepare the GstSegment in any format that their perform_seek method
6848         will be able to understand. The default implementation provides the
6849         old behaviour of attempting to convert the seek offsets to the 
6850         configured native format.
6851
6852         API: basesrc::prepare_seek_segment vmethod.
6853
6854 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6855
6856         * gst/gstelement.c: (gst_element_get_state_func):
6857         Don't output the same debug statement twice.
6858
6859         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6860         (gst_adapter_peek), (gst_adapter_take_buffer):
6861         Optimise the case where we have buffers at the head of the queue that
6862         can be joined quickly (because they're contiguous sub-buffers) by
6863         merging them together rather than copying data out into new memory.
6864
6865         * gst/parse/grammar.y:
6866         * tests/check/pipelines/parse-launch.c:
6867         Fix a leak in an error path for parse_launch, and add a check 
6868         for it to the testsuite.
6869
6870 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6871
6872         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6873           Don't deadlock when releasing a pad - gst_pad_set_active may try
6874           and take the multiqueue lock too.
6875
6876 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6877
6878         * gst/gsterror.c: (_gst_core_errors_init):
6879         * gst/gsterror.h:
6880           API: add GST_CORE_ERROR_DISABLED (#392804).
6881
6882 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6883
6884         * docs/faq/gst-uninstalled:
6885           don't get empty paths on the PATH variables
6886         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6887           Don't format for the uncommon terminal width of 84 characters.
6888
6889 2007-04-06  Wim Taymans  <wim@fluendo.com>
6890
6891         * gst/gstpipeline.c: (reset_stream_time),
6892         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6893         Only try to select a different pipeline clock when we went back to
6894         PAUSED and not when we merely got flushed.
6895
6896 2007-04-05  Michael Smith  <msmith@fluendo.com>
6897
6898         * tools/gst-launch.1.in:
6899           fractions are better supported in gstreamer than ractions, so
6900           suggest using those.
6901
6902 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6903
6904         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
6905
6906         * po/LINGUAS:
6907         * po/da.po:
6908           Added Danish translation.
6909
6910 2007-04-05  Wim Taymans  <wim@fluendo.com>
6911
6912         * libs/gst/base/gstbasesink.c:
6913         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
6914         Fix leak caused when refusing newsegment after EOS.
6915
6916         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6917         (gst_fake_sink_init), (gst_fake_sink_set_property),
6918         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
6919         (gst_fake_sink_render), (gst_fake_sink_change_state):
6920         * plugins/elements/gstfakesink.h:
6921         Add num-buffers property to make the element generate EOS after a
6922         configurable amount of buffers.
6923         API: fakesink::num-buffers property.
6924
6925         * tests/check/elements/fakesink.c: (GST_START_TEST),
6926         (fakesink_suite):
6927         Fix GstBus leak in test.
6928         Test for fakesink num-buffers.
6929
6930 2007-04-05  Wim Taymans  <wim@fluendo.com>
6931
6932         * libs/gst/base/gstbasesink.c:
6933         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6934         (gst_base_sink_change_state):
6935         Don't accept anything after an EOS, return UNEXPECTED instead.
6936
6937         * tests/check/elements/fakesink.c: (GST_START_TEST),
6938         (fakesink_suite):
6939         Unit test for new EOS behaviour.
6940
6941 2007-04-05  Wim Taymans  <wim@fluendo.com>
6942
6943         * gst/gstelement.c: (gst_element_get_request_pad):
6944         Make padtemplates also work when they don't contain %s or %d.
6945
6946 2007-04-05  Wim Taymans  <wim@fluendo.com>
6947
6948         * docs/gst/gstreamer-sections.txt:
6949         * gst/gstclock.c: (gst_clock_adjust_unlocked),
6950         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
6951         * gst/gstclock.h:
6952         Improve _adjust_unlocked() so that it overflows less.
6953         Add gst_clock_unadjust_unlocked to convert from external time to
6954         internal time based on calibration.
6955         Add some more debug.
6956         API: GstClock::gst_clock_unadjust_unlocked()
6957
6958 2007-04-03  Wim Taymans  <wim@fluendo.com>
6959
6960         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6961
6962         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6963         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
6964         when releasing sink pad. Fixes #425400.
6965
6966 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
6967
6968         * docs/random/ensonic/dynlink.txt:
6969           More work on proposal for new core api.
6970
6971         * docs/libs/gstreamer-libs-sections.txt:
6972         * libs/gst/base/gstbasetransform.h:
6973           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
6974           
6975         * libs/gst/controller/gstcontroller.c:
6976         (on_object_controlled_property_changed),
6977         (gst_controller_sync_values),
6978         (gst_controller_set_interpolation_mode):
6979         * libs/gst/controller/gstcontroller.h:
6980           Less verbose logging add docs for unimplemented parts and correctly
6981           return when using unavailable parts.
6982
6983 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
6984
6985         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
6986         Move all the debug to the CLOCK category, and associate it with
6987         the clock object.
6988
6989 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
6990
6991         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
6992         Make take_buffer a bit quicker by removing redundant checks
6993         caused by calling gst_adapter_take.
6994
6995 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
6996
6997         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
6998           Don't leak GCond.
6999
7000         * tests/check/Makefile.am:
7001         * tests/check/elements/.cvsignore:
7002         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7003         (GST_START_TEST), (multiqueue_suite):
7004           Add some dead simple unit tests for the 'multiqueue' element
7005           (some bits don't work yet and are disabled for now).
7006
7007 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7008
7009         * gst/gstelement.c: (gst_element_get_request_pad),
7010         (gst_element_class_get_request_pad_template):
7011           Make gst_element_get_request_pad() create request pads only for
7012           request pad templates and not for, say, sometimes pad templates.
7013
7014 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7015
7016         * docs/design/draft-klass.txt:
7017           Add example that needs more thinking.
7018         
7019         * docs/design/draft-missing-plugins.txt:
7020           More thoughts about wrapper plugins.
7021         
7022         * docs/random/ensonic/embedded.txt:
7023         * docs/random/ensonic/profiling.txt:
7024           More design work.
7025
7026 2007-03-25  Wim Taymans  <wim@fluendo.com>
7027
7028         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7029         (gst_base_src_loop):
7030         Only push the segment events in the PLAYING state for live sources.
7031
7032 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7033
7034         * gst/gstpipeline.c: (gst_pipeline_change_state):
7035         Modify the clock distribution path in PAUSED->PLAYING so that we 
7036         never attempt to choose a new clock unless we're actually leaving
7037         the PAUSED state for the first time. This prevents choosing a
7038         different clock when the state_change gets called for a 2nd time due
7039         to some element doing an async state change.
7040
7041 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7042
7043         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7044         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7045         (gst_pad_chain_unchecked), (gst_pad_push):
7046         Revert last commit. This needs some more thoughts.
7047
7048 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7049
7050         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7051         (gst_pad_chain_unchecked), (gst_pad_push):
7052         Check in set_caps if the caps are compatible with the pad and remove
7053         two functions that are redundant now. Fixes #421543.
7054
7055 2007-03-22  Wim Taymans  <wim@fluendo.com>
7056
7057         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7058         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7059         Unref some more to make valgrind happy.
7060
7061 2007-03-22  Wim Taymans  <wim@fluendo.com>
7062
7063         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7064         (gst_system_clock_id_wait_jitter),
7065         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7066         Fix anoying regression that survived a few releases. When adding an
7067         async entry while blocking on a sync entry, the sync entry will unblock
7068         but still be busy, so it should continue to wait instead of returning
7069         _BUSY to the app.
7070         Add some comments here and there.
7071
7072         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7073         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7074         Add testcase for this.
7075
7076 2007-03-22  Wim Taymans  <wim@fluendo.com>
7077
7078         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7079         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7080         WRONG_STATE and can silently pause the task. All other cases should
7081         error out.
7082
7083 2007-03-22  Wim Taymans  <wim@fluendo.com>
7084
7085         Patch by: Ville Syrjala <syrjala at sci dot fi>
7086
7087         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7088         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7089         Improve debugging.
7090
7091 2007-03-21  Michael Smith  <msmith@fluendo.com>
7092
7093         * docs/pwg/advanced-types.xml:
7094           Fix some errors in the typefinding docs pointed out on irc.
7095
7096 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7097
7098         * libs/gst/base/gstbasesrc.c:
7099         Clarify FIXME comment in the face of having added unlock_stop()
7100
7101 2007-03-21  Wim Taymans  <wim@fluendo.com>
7102
7103         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7104         Prepare for release where we warn against possible app breakage in the
7105         case of live pipelines along with an env var to enable/disable live
7106         preroll mode (GST_COMPAT=[no-]live-preroll).
7107
7108 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7109
7110         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7111         So we should use correct constants for checking for None offset.
7112
7113 2007-03-20  Wim Taymans  <wim@fluendo.com>
7114
7115         * docs/design/part-block.txt:
7116         Mention the fact that the newly switched element should be set to at
7117         least PAUSED.
7118
7119 2007-03-20  Wim Taymans  <wim@fluendo.com>
7120
7121         * gst/gst.c:
7122         Fix compilation with registry disabled as spotted by Saur.
7123
7124 2007-03-20  Wim Taymans  <wim@fluendo.com>
7125
7126         Patch by: Olivier Crete <tester at tester dot ca>
7127
7128         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7129         Look at the pending state too when syncing the element state to the
7130         parent. Fixes #420133.
7131
7132 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7133
7134         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7135         (gst_base_sink_change_state):
7136         * libs/gst/base/gstbasesink.h:
7137         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7138         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7139         (gst_base_src_deactivate):
7140         * libs/gst/base/gstbasesrc.h:
7141         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7142         for sub-classes to correctly clear any state they set trying to
7143         unlock, such as clearing out unlock commands from a command fd.
7144         API: basesrc::unlock_stop
7145         API: basesink::unlock_stop
7146
7147         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7148         (gst_fd_sink_render), (gst_fd_sink_unlock),
7149         (gst_fd_sink_unlock_stop):
7150         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7151         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7152         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7153
7154         Implement unlock_stop in fdsrc and fdsink.
7155         Implement seeking in fdsrc when a seekable fd is passed, as in
7156         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7157
7158 2007-03-19  Wim Taymans  <wim@fluendo.com>
7159
7160         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7161
7162         * gst/gstelement.c: (gst_element_class_init):
7163         Fix pad-added and pad-removed signal signatures so that the pad type is
7164         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7165
7166 2007-03-19  Wim Taymans  <wim@fluendo.com>
7167
7168         * docs/gst/gstreamer-sections.txt:
7169         Add new element field and method.
7170
7171         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7172         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7173         (gst_bin_recalc_state), (gst_bin_get_state_func),
7174         (gst_bin_element_set_state), (gst_bin_change_state_func),
7175         (gst_bin_continue_func), (bin_bus_handler),
7176         (bin_push_state_continue), (bin_handle_async_start),
7177         (bin_handle_async_done), (gst_bin_handle_message_func):
7178         Make async state changes a bit smarter by using new ASYNC_START and
7179         ASYNC_DONE messages. This reduces the number of times we run the state
7180         recalculation thread.
7181         Don't change state of element with a pending ASYNC_START message.
7182         Deprecate STATE_DIRTY messages.
7183         
7184         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7185         (gst_element_get_state_func), (gst_element_continue_state),
7186         (gst_element_lost_state), (gst_element_set_state_func),
7187         (gst_element_change_state):
7188         * gst/gstelement.h:
7189         Keep the state that was last set by the app in a new element field.
7190         Don't allow state changes when handling an element event.
7191         Post ASYNC_START and ASYNC_DONE messages.
7192         Change lost_state so that we go to PAUSED and wait for the parent to set
7193         us to PLAYING again (so latency calculation can be performed)
7194         Export gst_element_change_state() method so that subclasses can use it.
7195         API: gst_element_change_state()
7196         API: GST_STATE_TARGET
7197
7198         * gst/gstpipeline.c: (gst_pipeline_class_init),
7199         (reset_stream_time), (gst_pipeline_change_state),
7200         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7201         Using the new ASYNC_START message we can reset the base_time when
7202         needed. This can then be used to implement base_time redistribution in
7203         flushing seeks so that we can remove the explicit seek handling.
7204         Perform latency query and configuration when going to PLAYING.
7205
7206         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7207         (gst_base_sink_query), (gst_base_sink_change_state):
7208         Post new ASYNC_START/ASYNC_DONE messages.
7209
7210         * tests/check/generic/sinks.c: (GST_START_TEST):
7211         Fix test because the bin will not set the async element to PLAYING right
7212         away.
7213
7214         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7215         Make the message check a little stronger.
7216         Handle ASYNC messages.
7217
7218         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7219         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7220         Expect ASYNC_DONE messages.
7221
7222 2007-03-19  Wim Taymans  <wim@fluendo.com>
7223
7224         * docs/gst/gstreamer-sections.txt:
7225         * gst/gstmessage.c: (gst_message_new_async_start),
7226         (gst_message_new_async_done), (gst_message_parse_info),
7227         (gst_message_parse_async_start):
7228         * gst/gstmessage.h:
7229         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7230         support.
7231
7232 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7233
7234         * tools/gst-inspect.c:
7235         (print_plugin_automatic_install_info_codecs):
7236           Now that we don't check for the 'Codec' keyword any longer in the
7237           klass, we shouldn't spew a warning if the klass isn't a decoder or
7238           encoder (since it might be a Source/Network, for example).
7239
7240 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7241
7242         * tools/gst-inspect.c:
7243         (print_plugin_automatic_install_info_codecs):
7244           Don't require decoder/demuxer/depayloader elements or
7245           encoder/muxer/paylader elements to have 'Codec' as part of their
7246           factory class string when introspecting a plugin's capabilities.
7247           draft-klass.txt mentions that it might be removed in future, and
7248           flump3dec doesn't have it as part of its class string, so chances
7249           are others might also not have it.
7250
7251 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7252
7253         * po/af.po:
7254         * po/az.po:
7255         * po/bg.po:
7256         * po/ca.po:
7257         * po/cs.po:
7258         * po/de.po:
7259         * po/en_GB.po:
7260         * po/fr.po:
7261         * po/it.po:
7262         * po/nb.po:
7263         * po/nl.po:
7264         * po/ru.po:
7265         * po/sq.po:
7266         * po/sr.po:
7267         * po/sv.po:
7268         * po/tr.po:
7269         * po/uk.po:
7270         * po/vi.po:
7271         * po/zh_CN.po:
7272         * po/zh_TW.po:
7273           Update translations from translation project
7274
7275 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7276
7277         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7278         (gst_child_proxy_set_property):
7279           Invert precondition check to be alike the ones in the mimiced gobject
7280           api.
7281
7282 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7283
7284         * docs/design/draft-tagreading.txt:
7285         * docs/random/ensonic/audiobaseclasses.txt:
7286           Do some Architect work.
7287
7288         * gst/gstobject.c: (gst_object_set_name):
7289           Add a WARNING.
7290
7291         * gst/gstpad.c:
7292           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7293
7294 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7295
7296         * gst/gstsystemclock.c: (gst_system_clock_init),
7297         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7298         Defer starting the async system clock thread until the first async
7299         wait is scheduled. Fixes #414986.
7300
7301 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7302
7303         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7304         (gst_single_queue_free):
7305           Fix small leak (free GstSingleQueue structure too, not only contents).
7306
7307 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7308
7309         * gst/gstbin.c:(gst_bin_add):
7310         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7311         * win32/common/libgstbase.def:
7312         * win32/common/libgstreamer.def:
7313         Add new exported functions.
7314
7315 2007-03-09  Wim Taymans  <wim@fluendo.com>
7316
7317         * docs/plugins/gstreamer-plugins-sections.txt:
7318         Fix GstTee docs.
7319
7320 2007-03-09  Wim Taymans  <wim@fluendo.com>
7321
7322         * docs/gst/gstreamer-sections.txt:
7323         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7324         * gst/gstbuffer.h:
7325         Add metadata copy functions. Fixes #393099.
7326         API: gst_buffer_copy_metadata()
7327
7328         * gst/gstutils.c: (gst_buffer_stamp):
7329         * libs/gst/base/gstbasetransform.c:
7330         (gst_base_transform_prepare_output_buffer):
7331         Use new metadata copy functions.
7332
7333 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7334
7335         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7336         (gst_identity_init), (gst_identity_check_perfect),
7337         (gst_identity_check_imperfect_timestamp),
7338         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7339         (gst_identity_set_property), (gst_identity_get_property):
7340         * plugins/elements/gstidentity.h:
7341         Separate out check-imperfect-timestamp and check-imperfect-offset.
7342         Put back check-perfect as it was to keep compatibility.
7343
7344 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7345
7346         * gst/gstelement.c: (gst_element_dispose):
7347         There's no need to warn if VOID_PENDING is not NONE here, as
7348         long as the state is NULL it's ok, and that's checked immediately
7349         above.
7350
7351 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7352
7353         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7354         Fix check for perfect stream to ignore buffers with -1 
7355         offsets/offset ends when checking data contiguity.
7356
7357 2007-03-08  Wim Taymans  <wim@fluendo.com>
7358
7359         * tools/gst-launch.c: (event_loop):
7360         Print INFO messages.
7361
7362 2007-03-08  Wim Taymans  <wim@fluendo.com>
7363
7364         * libs/gst/base/gstbasetransform.c:
7365         (gst_base_transform_sink_eventfunc),
7366         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7367         (gst_base_transform_activate):
7368         * libs/gst/base/gstbasetransform.h:
7369         Add support for dropping buffers with custom GstFlowReturn.
7370         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7371         buffers or dropped buffers.
7372
7373         * docs/libs/gstreamer-libs-sections.txt:
7374         docs for new custom return code.
7375
7376         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7377         Use drop support in base class to implement drop-probability.
7378
7379 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7380
7381         * gst/gst.c: (load_plugin_func):
7382         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7383         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7384         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7385           Remove newlines at end of debug log strings.
7386
7387 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7388
7389         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7390         Only post bus message at max, once per buffer received.
7391
7392 2007-03-07  Wim Taymans  <wim@fluendo.com>
7393
7394         * docs/design/Makefile.am:
7395         * docs/design/part-synchronisation.txt:
7396         Add doc about synchronisation
7397
7398         * docs/design/draft-latency.txt:
7399         * docs/design/part-TODO.txt:
7400         * docs/design/part-clocks.txt:
7401         * docs/design/part-events.txt:
7402         * docs/design/part-gstbus.txt:
7403         * docs/design/part-gstpipeline.txt:
7404         * docs/design/part-live-source.txt:
7405         * docs/design/part-messages.txt:
7406         * docs/design/part-overview.txt:
7407         * docs/design/part-streams.txt:
7408         * docs/design/part-trickmodes.txt:
7409         Documentation updates.
7410
7411 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7412
7413         * gstreamer.doap:
7414         Update the doap file.
7415
7416 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7417
7418         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7419         Rename non-perfect to imperfect for Mike and for the sanctity of the
7420         language.
7421         Also make sure bus message gets emitted for data-incontiguities.
7422
7423 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7424
7425         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7426         (gst_identity_start):
7427         * plugins/elements/gstidentity.h:
7428         Emit bus message if check-perfect is true and we encounter a
7429         non-perfect stream between 2 consecutive buffers.
7430         Fixes #415394.
7431
7432 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7433
7434         * configure.ac:
7435         Back to CVS
7436
7437 === release 0.10.12 ===
7438
7439 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7440
7441         * configure.ac:
7442           releasing 0.10.12, "Inevitable Demise"
7443
7444 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7445
7446         * configure.ac:
7447          Version 0.10.11.2 (0.10.12 pre-release)
7448          Bump libtool versioning.
7449
7450 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7451
7452         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7453           Log flow-names and not numbers.
7454
7455 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7456
7457         * configure.ac:
7458           Convert to new AG_GST style.
7459
7460 2007-02-28  Wim Taymans  <wim@fluendo.com>
7461
7462         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7463         Don't unref query twice.
7464
7465 2007-02-28  Wim Taymans  <wim@fluendo.com>
7466
7467         * gst/gstvalue.c: (gst_value_transform_object_string),
7468         (_gst_value_initialize):
7469         Implement GstObject -> string transform so we print object names
7470         when serializing GValues containing GstObjects.
7471
7472 2007-02-28  Wim Taymans  <wim@fluendo.com>
7473
7474         * docs/gst/gstreamer-sections.txt:
7475         Add new stuff to docs.
7476
7477 2007-02-28  Wim Taymans  <wim@fluendo.com>
7478
7479         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7480         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7481         (gst_base_sink_change_state):
7482         Improve latency query code.
7483         Don't leak latency events.
7484
7485         * tests/check/gst/gstbin.c: (GST_START_TEST):
7486         Improve debugging.
7487
7488 2007-02-28  Wim Taymans  <wim@fluendo.com>
7489
7490         * gst/gstelement.c: (gst_element_message_full),
7491         (gst_element_get_state_func):
7492         * gst/gstelement.h:
7493         Improve docs a little. Added Since: for new macro.
7494
7495         * gst/gstobject.c: (gst_object_sink):
7496         * gst/gstpipeline.c: (gst_pipeline_change_state),
7497         (gst_pipeline_set_new_stream_time):
7498         * gst/gstpipeline.h:
7499         Improve debugging and docs.
7500
7501         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7502         Improve debugging.
7503
7504 2007-02-28  Wim Taymans  <wim@fluendo.com>
7505
7506         * gst/gstelement.c: (gst_element_message_full),
7507         (gst_element_set_locked_state), (gst_element_get_state_func),
7508         (gst_element_change_state):
7509         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7510         Documentation updates.
7511         Small code cleanups.
7512
7513         * gst/gstmessage.c: (gst_message_new_info),
7514         (gst_message_parse_info):
7515         * gst/gstmessage.h:
7516         API: gst_message_new_info()
7517         API: gst_message_parse_info()
7518         Add INFO message create and parse code.
7519
7520 2007-02-28  Wim Taymans  <wim@fluendo.com>
7521
7522         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7523         (bin_query_latency_done):
7524         Also report the live parameter of a latency query.
7525
7526 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7527
7528         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7529           Copy the current generic/states example from -base and adapt so
7530           we can use the exact same code everywhere.
7531           Check a STATES_IGNORE_ELEMENTS env var which can be used
7532           to ignore certain element factories for this test, which is
7533           what is being done in -base
7534         * tests/check/Makefile.am:
7535           Mention this environment variable.
7536
7537 2007-02-27  Wim Taymans  <wim@fluendo.com>
7538
7539         * docs/gst/gstreamer-sections.txt:
7540         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7541         (gst_bus_timed_pop), (gst_bus_pop):
7542         * gst/gstbus.h:
7543         API: gst_bus_timed_pop()
7544         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7545         message to arrive on the bus.
7546
7547         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7548         (gst_bus_suite):
7549         Two unit tests for new _timed_pop() function.
7550
7551 2007-02-23  Wim Taymans  <wim@fluendo.com>
7552
7553         * gst/gstpipeline.c: (gst_pipeline_change_state),
7554         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7555         Don't ref a NULL clock in _provide_clock_func().
7556         Don't allow an INVALID delay.
7557         Don't try to calculate base_time with an invalid start_time.
7558         Also distribute and notify a NULL clock when it was selected.
7559
7560         * tools/gst-launch.c: (event_loop):
7561         Don't crash when a NULL clock was selected in the pipeline.
7562
7563 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7564
7565         * docs/design/Makefile.am:
7566         * docs/design/draft-missing-plugins.txt:
7567         * docs/random/draft-missing-plugins.txt:
7568           Some small updates: update plugin system identifier prefix
7569           ('gstreamer.net' to 'gstreamer'), mention our new install
7570           API in libgstbaseutils rather than libgimme-codec, add
7571           reference to the online docs.
7572
7573 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7574
7575         * win32/common/config.h:
7576           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7577           use moap cl ci to only check in what is mentioned in the ChangeLog.
7578
7579 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7580
7581         * docs/gst/gstreamer-sections.txt:
7582         * gst/gstelement.h:
7583           Fix up documentation to link to the correct GstGError section.
7584           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7585
7586 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7587
7588         * tools/gst-launch.c: (event_loop):
7589           Make sure that we actually show the important message part of a
7590           warning message.
7591           No need to check if the gerror is not NULL to free; first of all
7592           g_free accepts NULL; and second the default error handler would
7593           segfault if gerror was NULL.
7594
7595 2007-02-21  Wim Taymans  <wim@fluendo.com>
7596
7597         * docs/gst/gstreamer-sections.txt:
7598         Removed docs as well.
7599
7600 2007-02-21  Wim Taymans  <wim@fluendo.com>
7601
7602         * gst/gstmessage.c: (gst_message_parse_duration):
7603         * gst/gstmessage.h:
7604         Remove new messages for release.
7605
7606 2007-02-20  Wim Taymans  <wim@fluendo.com>
7607
7608         * docs/design/part-gstghostpad.txt:
7609         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7610         (gst_ghost_pad_new_full):
7611         Make the ghostpad a parent of the internal pad again for better backward
7612         compatibility. Don't write code that relies on this however.
7613
7614         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7615         (gst_pad_link_check_hierarchy):
7616         Require that parents should be GstElements in the hierarchy check.
7617
7618 2007-02-20  Wim Taymans  <wim@fluendo.com>
7619
7620         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7621         (gst_bin_change_state_func), (bin_query_min_max_init),
7622         (bin_query_latency_fold), (bin_query_latency_done),
7623         (gst_bin_query):
7624         Improve debug info.
7625         Implement latency query.
7626
7627 2007-02-20  Wim Taymans  <wim@fluendo.com>
7628
7629         * docs/design/part-gstghostpad.txt:
7630         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7631         (gst_ghost_pad_internal_do_activate_push),
7632         (gst_ghost_pad_internal_do_activate_pull),
7633         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7634         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7635         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7636         Do not set the internal pad as a parent anymore so we can avoid
7637         hierarchy linking errors when the ghostpad has no parent yet. This also
7638         fixes failed activation because of unlinked internal pads, which in
7639         turn fixes the impossible case where you have to activate a pad before
7640         you can add it to a running element.
7641         Also fix the docs.
7642
7643         * gst/gstpad.c: (pre_activate), (post_activate),
7644         (gst_pad_set_active), (gst_pad_activate_pull),
7645         (gst_pad_activate_push), (gst_pad_check_pull_range):
7646         Add some more debug info.
7647         Mark activation mode in pre_activate so that we don't try to activate in
7648         endless loops. Fixes #385084.
7649
7650 2007-02-19  Wim Taymans  <wim@fluendo.com>
7651
7652         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7653         (gst_base_transform_check_get_range):
7654         Implement a checkgetrange function instead of relying on the default
7655         core behaviour that assumes we can operate in pull mode if we have a
7656         getrange function. First step at fixing #385084.
7657
7658 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
7659
7660         * gst/gstchildproxy.h:
7661         * libs/gst/base/gstbasesink.h:
7662         * libs/gst/base/gstbasesrc.h:
7663         * libs/gst/base/gstbasetransform.h:
7664         More docs coverage and some ChangeLog surgery (add missing names)
7665
7666 2007-02-15  Wim Taymans  <wim@fluendo.com>
7667
7668         * docs/design/part-TODO.txt:
7669         * docs/design/part-activation.txt:
7670         * docs/design/part-block.txt:
7671         * docs/design/part-buffering.txt:
7672         * docs/design/part-clocks.txt:
7673         * docs/design/part-element-source.txt:
7674         * docs/design/part-events.txt:
7675         * docs/design/part-gstbin.txt:
7676         * docs/design/part-gstbus.txt:
7677         * docs/design/part-gstpipeline.txt:
7678         * docs/design/part-live-source.txt:
7679         * docs/design/part-messages.txt:
7680         * docs/design/part-overview.txt:
7681         * docs/design/part-qos.txt:
7682         * docs/design/part-query.txt:
7683         * docs/design/part-states.txt:
7684         * docs/design/part-trickmodes.txt:
7685         Some doc updates. Start renaming from stream_time to running_time where
7686         it was used wrongly.
7687
7688 2007-02-15  Wim Taymans  <wim@fluendo.com>
7689
7690         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7691         Answer LATENCY query.
7692
7693 2007-02-15  Wim Taymans  <wim@fluendo.com>
7694
7695         * tests/check/gst/gstevent.c: (event_probe), (test_event),
7696         (GST_START_TEST):
7697         Improve debugging.
7698
7699 2007-02-15  Wim Taymans  <wim@fluendo.com>
7700
7701         * gst/gstpad.c: (gst_pad_get_internal_links_default),
7702         (gst_pad_dispatcher):
7703         Improve debugging of default pad dispatcher and query functions.
7704
7705 2007-02-15  Wim Taymans  <wim@fluendo.com>
7706
7707         * docs/gst/gstreamer-sections.txt:
7708         Remove old unused method.
7709
7710 2007-02-13  Wim Taymans  <wim@fluendo.com>
7711
7712         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7713         Fix check
7714
7715 2007-02-13  Wim Taymans  <wim@fluendo.com>
7716
7717         * docs/design/part-seeking.txt:
7718         Some small update.
7719
7720         * gst/gstsegment.c: (gst_segment_set_seek):
7721         Revert old bogus change that should make seeking work again.
7722
7723 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7724
7725         * docs/random/ensonic/dynlink.txt:
7726         * docs/random/ensonic/interfaces.txt:
7727         * docs/random/ensonic/receipies.txt:
7728           Possible dynamic reconnection api, plus some type fixes the other two
7729           docs.
7730
7731 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
7732
7733         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7734         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7735         Also check for an absolute path following file:// in the filesrc
7736         element. Remove redundant check and call g_path_is_absolute() on the
7737         unescaped location.
7738
7739 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7740
7741         * docs/design/draft-klass.txt:
7742           Add existing category analysis.
7743           
7744         * gst/gstcaps.c:
7745           Fix doc example, framerate is a fraction.
7746
7747 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7748
7749         * configure.ac:
7750         * docs/gst/Makefile.am:
7751         * docs/gst/gstreamer-sections.txt:
7752         * docs/libs/Makefile.am:
7753           Erm, forgot a bunch of --extra-dir.
7754
7755 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7756
7757         * configure.ac:
7758         * docs/gst/Makefile.am:
7759         * docs/libs/Makefile.am:
7760         * docs/plugins/Makefile.am:
7761           Add crossreferences to glib/gobject docs.
7762
7763 2007-02-12  Wim Taymans  <wim@fluendo.com>
7764
7765         * docs/design/draft-latency.txt:
7766         Small update.
7767
7768         * docs/libs/gstreamer-libs-sections.txt:
7769         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7770         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7771         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7772         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7773         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7774         (gst_base_sink_get_position), (gst_base_sink_query),
7775         (gst_base_sink_change_state):
7776         * libs/gst/base/gstbasesink.h:
7777         API: gst_base_sink_query_latency() to let subclasses query the upstream
7778         latency.
7779         API: gst_base_sink_get_latency() to let subclasses query the configured
7780         latency in the sink.
7781         Implement query and set latency.
7782         Update some docs.
7783         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7784         don't continue preroll when we are flushing. Fixes #405284.
7785
7786         * tests/check/pipelines/stress.c: (change_state_timeout),
7787         (quit_timeout), (GST_START_TEST), (stress_suite):
7788         Test for #405284.
7789
7790 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
7791
7792         Patch by: René Stadler <mail at renestadler de>
7793
7794         * docs/gst/gstreamer-sections.txt:
7795         * gst/gsttaglist.c: (_gst_tag_initialize):
7796         * gst/gsttaglist.h:
7797           API: add GST_TAG_REFERENCE_LEVEL (#403597).
7798
7799 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
7800
7801         * docs/libs/Makefile.am:
7802           Fix path to core docs.
7803
7804         * gst/gstbin.c: (gst_bin_get_by_interface),
7805         (gst_bin_iterate_all_by_interface):
7806           Refix docs by also renaming 'interface' to 'iface' in implementation.
7807
7808         * docs/gst/gstreamer-sections.txt:
7809         * gst/gstcaps.c:
7810         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7811         * gst/gstchildproxy.h:
7812         * gst/gstelementfactory.c:
7813         * gst/gstpadtemplate.h:
7814         * libs/gst/controller/gstcontroller.c:
7815         (gst_controlled_property_new):
7816           Document more.
7817
7818 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
7819
7820         * gst/gstbin.h:(gst_bin_get_by_interface),
7821         (gst_bin_iterate_all_by_interface):
7822         Replace interface parameter name by iface as interface is 
7823         a reserved keyword in Visual Studio for C++ projects so it removes
7824         a build error for application developpers using VS.
7825         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7826         Fix a bug on Windows in uri format check. Now the prefix checked
7827         is file:// and next we check if the path after file:// is absolute.
7828         * win32/common/libgstbase.def:
7829         * win32/common/libgstdataprotocol.def:
7830         * win32/common/libgstgstreamer.def:
7831         Add new exported functions.
7832
7833 2007-02-09  Andy Wingo  <wingo@pobox.com>
7834
7835         * tests/check/pipelines/simple-launch-lines.c
7836         (simple_launch_lines_suite, test_tee): Disable tee test until I
7837         have time to fix it :-(
7838
7839         * tests/check/Makefile.am (noinst_HEADERS): 
7840         * tests/check/libs/libsabi.c: 
7841         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7842         * tests/check/gst/gstabi.c: 
7843         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7844
7845         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7846         tests for push and pull tee behavior.
7847
7848         * plugins/elements/gsttee.h: 
7849         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7850         mark as deprecated as well as unimplemented. It was a crack idea.
7851         Add support for tee operating in pull mode, off by default.
7852
7853         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7854         normal-case logs down to LOG, raise errors to WARNING.
7855         (gst_registry_xml_read_cache): Don't log before calling a function
7856         that logs.
7857
7858         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7859         exit (registry finalize).
7860         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7861         DEBUG log when we emit signals that people don't even have the
7862         chance to connect to.
7863         (gst_registry_scan_path_level): Less logging in the normal case.
7864
7865 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7866
7867         Patch by: Michal Benes <michal dot benes at itonis dot tv>
7868
7869         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7870         Correctly generate EOS for non-seekable files. We don't have a total
7871         length for them and would get an unexpected end of file if we only
7872         special-cased for regular files. (Fixes: #404569)
7873
7874 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7875
7876         * tests/check/elements/filesrc.c: (GST_START_TEST),
7877         (filesrc_suite):
7878         Add unit test for the GstURIHandler interface in filesrc. This also
7879         tests the newly added file://localhost/foo/bar support.
7880
7881 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
7882
7883         * gst/gstelementfactory.h:
7884           The klass string is not a hierarchy. Add reference to the design doc
7885           for more information and common types.
7886
7887 2007-02-02  Wim Taymans  <wim@fluendo.com>
7888
7889         * gst/gstquery.c: (gst_query_new_latency):
7890         Remove old structure field.
7891
7892 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
7893
7894         * tools/gst-launch.1.in:
7895           Give example for network streaming (#351998)
7896
7897 2007-02-02  Wim Taymans  <wim@fluendo.com>
7898
7899         * docs/gst/gstreamer-sections.txt:
7900         Add docs for new methods.
7901
7902         * gst/gstevent.c: (gst_event_new_latency),
7903         (gst_event_parse_latency):
7904         * gst/gstevent.h:
7905         Add new LATENCY event to configure latency in a pipeline.
7906         API: gst_event_new_latency
7907         API: gst_event_parse_latency
7908
7909         * gst/gstmessage.c: (gst_message_new_buffering),
7910         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
7911         (gst_message_new_latency), (gst_message_parse_buffering),
7912         (gst_message_parse_lost_preroll):
7913         * gst/gstmessage.h:
7914         Added messages used in draft-latency.
7915         API: gst_message_new_lost_preroll
7916         API: gst_message_parse_lost_preroll
7917         API: gst_message_new_prerolled
7918         API: gst_message_new_latency
7919
7920         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
7921         (gst_query_parse_latency):
7922         * gst/gstquery.h:
7923         Implemented new latency query as in design doc.
7924         API: gst_query_new_latency
7925         API: gst_query_set_latency
7926         API: gst_query_parse_latency
7927
7928 2007-02-02  Wim Taymans  <wim@fluendo.com>
7929
7930         * docs/design/draft-latency.txt:
7931         Slight redesign to allow for dynamic latency adjustments.
7932
7933         * docs/design/part-negotiation.txt:
7934         Fix some typos.
7935
7936 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
7937
7938         reviewed by: Wim Taymans <wim@fluendo.com>
7939
7940         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7941         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7942         Allow file://localhost/foo/bar URLs and correctly fail for every other
7943         hostname that one sets. This was gnomevfssrc is linked for those if
7944         installed as it can handle it (#403172)
7945
7946 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
7947
7948         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7949
7950         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7951         (unref_data), (gst_collect_pads_add_pad_full):
7952         * libs/gst/base/gstcollectpads.h:
7953         Don't put the previously added destroy notify in the GstCollectData
7954         struct as all it's padding is already used and we don't want to break
7955         ABI. Instead put in the pad's GObject data for now. This should be
7956         cleaned up for 0.11 (#402393).
7957
7958 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
7959
7960         reviewed by: Wim Taymans <wim@fluendo.com>
7961
7962         * docs/libs/gstreamer-libs-sections.txt:
7963         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7964         (unref_data), (gst_collect_pads_add_pad),
7965         (gst_collect_pads_add_pad_full):
7966         * libs/gst/base/gstcollectpads.h:
7967         API: Add function to specify a destroy notification for custom
7968         GstCollectData when adding new pads in GstCollectPads (#402393).
7969
7970 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
7971
7972         * po/sv.po:
7973           Update Swedish translation (#378255).
7974
7975 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
7976
7977         * docs/design/draft-klass.txt:
7978           Fix the previous change, this is a list of categories and not a hierarchy.
7979
7980 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
7981
7982         * docs/design/draft-klass.txt:
7983           Add info about how to get a list of used classes.
7984
7985 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
7986
7987         * plugins/elements/gsttypefindelement.c:
7988         (gst_type_find_element_chain_do_typefinding),
7989         (gst_type_find_element_change_state):
7990           Don't leak found caps in chain function (no idea why that never
7991           showed up as a leak anywhere).
7992
7993 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
7994
7995         * gst/gstplugin.h:
7996           Fix and expand GstPluginDesc API docs.
7997
7998 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
7999
8000         * gst/gstcaps.c:
8001         * gst/gstelementfactory.c:
8002         * gst/gstpadtemplate.h:
8003           api doc fixes
8004
8005         * libs/gst/controller/gstcontroller.c:
8006         (gst_controlled_property_new):
8007         * tests/examples/controller/audio-example.c:
8008           comment fixes
8009
8010 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8011
8012         * configure.ac:
8013           comment about refining the xml deps
8014
8015         * docs/manuals.mak:
8016           comments about moving away from jade for docs
8017         
8018         * gst/gst.c:
8019           recommit the ifdefs to use the binary registry
8020         
8021         * gst/gstbin.c: (gst_bin_change_state_func):
8022           this break is obsolete
8023
8024         * gst/gstelementfactory.h:
8025           better GST_ELEMENT_DETAILS docs, add comment about translation
8026
8027         * gst/gstinfo.h:
8028           remove eol slash
8029
8030         * gst/gstobject.c: (gst_signal_object_get_type):
8031           add G_UNLIKELY as usual
8032
8033         * gst/gstpad.c: (gst_pad_event_default):
8034           add fall trhu comment
8035
8036         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8037         (gst_registry_binary_initialize_magic),
8038         (gst_registry_binary_save_string),
8039         (gst_registry_binary_save_pad_template),
8040         (gst_registry_binary_save_feature),
8041         (gst_registry_binary_save_plugin),
8042         (gst_registry_binary_write_cache),
8043         (gst_registry_binary_check_magic),
8044         (gst_registry_binary_load_pad_template),
8045         (gst_registry_binary_load_feature),
8046         (gst_registry_binary_load_plugin),
8047         (gst_registry_binary_read_cache):
8048           comment typo and formatting
8049
8050         * gst/gstutils.c: (gst_element_state_get_name),
8051         (gst_element_state_change_return_get_name):
8052           remove obsolete breaks
8053
8054         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8055           add FIXME 0.11 and remove cpp comment
8056
8057 2007-01-29  Edward Hervey  <edward@fluendo.com>
8058
8059         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8060         Fix print statement in an even more portable way.
8061
8062 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8063
8064         * docs/gst/gstreamer-sections.txt:
8065         * gst/gstutils.h:
8066           API: add GST_ROUND_DOWN_* macros (#401781).
8067
8068 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8069
8070         * docs/gst/gstreamer.types.in:
8071         * gst/gstregistry.c: (gst_registry_class_init):
8072           Document registry signals and make gtk-doc pick them up (#401381).
8073
8074 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8075
8076         * docs/pwg/building-testapp.xml:
8077           Add some audioconverts and audioresample to the pipeline, and some
8078           more comments and error handling.
8079
8080 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8081
8082         * docs/manual/manual.xml:
8083         * docs/pwg/pwg.xml:
8084           Fix typo (#400987).
8085
8086 2007-01-26  Wim Taymans  <wim@fluendo.com>
8087
8088         * gst/gstcaps.c: (gst_static_caps_get):
8089         Init caps flags too.
8090
8091 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8092
8093         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8094
8095         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8096         If not using mmap'ed files try to seek to the end instead of the
8097         start to determine whether we can seek at all. This fixes the case
8098         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8099         seeks for everything afterwards fail. Fixes #400656
8100
8101 2007-01-25  Wim Taymans  <wim@fluendo.com>
8102
8103         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8104         Add some refcount debugging.
8105         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8106         in multiple streaming threads.
8107
8108 2007-01-25  Wim Taymans  <wim@fluendo.com>
8109
8110         Patch by: David Schleef <ds at schleef dot org>
8111
8112         * docs/libs/gstreamer-libs-sections.txt:
8113         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8114         * libs/gst/base/gstadapter.h:
8115         API: gst_adapter_copy() that can reduce the amount of memcpy when
8116         getting data from the adapter. Fixes #388201.
8117
8118 2007-01-25  Edward Hervey  <edward@fluendo.com>
8119
8120         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8121         In print statements, "%x" is for guint. Fixes build on macosx.
8122
8123 2007-01-24  Edward Hervey  <edward@fluendo.com>
8124
8125         * plugins/elements/gstmultiqueue.c:
8126         (gst_multi_queue_loop):
8127         Small fix.
8128         (single_queue_overrun_cb), (single_queue_underrun_cb),
8129         (single_queue_check_full), (gst_single_queue_new):
8130         Implement single queue growth system.
8131         This uses the extra-size properties, and will grow single queues by
8132         that much if one goes full whereas there are others empty. This is
8133         called extra-mode in the code.
8134         When a single queue's levels go back below the initial max-size
8135         limits, it is no longer in extra-mode. This is to ensure we don't
8136         consume too much memory.
8137         Fixes #399875
8138
8139 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8140
8141         * gst/gst.c: (gst_init_get_option_group):
8142           Make warning about late g_thread_init() calls a bit more explicit,
8143           so that it's more obvious to application developers what they need
8144           to do if a user files a bug against their application.
8145
8146 2007-01-22  Edward Hervey  <edward@fluendo.com>
8147
8148         * plugins/elements/gstmultiqueue.c:
8149         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8150         Remove previous hack of unsetting the flushing flag for the source pad
8151         instead of activating it. Instead, fix the source pad activate function
8152         so that it no longer depends on having a parent set or not.
8153
8154 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8155
8156         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8157
8158         * docs/manual/basics-bus.xml:
8159           Fix example code, gst_element_unref() doesn't exist any longer.
8160
8161 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8162
8163         Patch by: Mark Nauwelaerts <manauw at skynet be>
8164
8165         * gst/gstpad.c:
8166           Fix two docs typoes (#399094).
8167
8168 2007-01-19  Edward Hervey  <edward@fluendo.com>
8169
8170         * docs/faq/gst-uninstalled:
8171         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8172         depending on libgstbaseutils can work in uninstalled environment.
8173
8174 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8175
8176         * gst/gsttaglist.h:
8177         * gst/gsttagsetter.c:
8178         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8179         statement for new tag.
8180
8181 2007-01-17  Edward Hervey  <edward@fluendo.com>
8182
8183         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8184         When dynamically creating single queues, activate sinkpad before adding
8185         it.
8186         We should be doing the same thing for the source pad, but we can't
8187         since it would call a method which needs the parent to be set in order
8188         to work propertly. Instead of activating the source pad, we just unset
8189         the flushing flag, which is the minimal requirement for adding a pad
8190         to an element in a state greater than READY.
8191
8192 2007-01-17  Edward Hervey  <edward@fluendo.com>
8193
8194         * docs/faq/gst-uninstalled:
8195         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8196         Mac OS X.
8197
8198 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8199
8200         * tests/check/gst/gstabi.c:
8201         * tests/check/gst/struct_hppa.h:
8202         * tests/check/libs/libsabi.c:
8203         * tests/check/libs/struct_hppa.h:
8204           Add ABI structs for HPPA (see #393796).
8205
8206 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8207
8208         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8209           Actually write ABI structs to the file specified in the GST_ABI
8210           environment variable, as the message we print claims we would.
8211
8212 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8213
8214         * tests/check/gst/gsttask.c:
8215           Fix header comment.
8216
8217 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8218
8219         * gst/gsttaglist.c: (_gst_tag_initialize):
8220           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8221           previous two entries.
8222
8223 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8224
8225         * docs/gst/gstreamer-sections.txt:
8226         * gst/gsttaglist.c: (_gst_tag_initialize):
8227         * gst/gsttaglist.h:
8228           Add tag support for beat-per-minute.
8229
8230 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8231
8232         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8233         (gst_registry_binary_initialize_magic),
8234         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8235         (gst_registry_binary_save_pad_template),
8236         (gst_registry_binary_save_feature),
8237         (gst_registry_binary_save_plugin),
8238         (gst_registry_binary_write_cache),
8239         (gst_registry_binary_check_magic),
8240         (gst_registry_binary_load_pad_template),
8241         (gst_registry_binary_load_feature),
8242         (gst_registry_binary_load_plugin),
8243         (gst_registry_binary_read_cache):
8244         * gst/gstregistrybinary.h:
8245           Use glib types, cleanup comments, impement interfaces and uri-types.
8246
8247 2007-01-13  Andy Wingo  <wingo@pobox.com>
8248
8249         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8250         getrange() to return buffers with other caps, while we fix
8251         demuxers and typefind, or otherwise change part-negotiation.txt.
8252
8253 2007-01-12  Andy Wingo  <wingo@pobox.com>
8254
8255         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8256         Factor start/stop into this private function instead of partially
8257         in activate functions and partially in the change_state function.
8258         Fixes setup before the element has changed from READY->PAUSED, as
8259         is the case in pull-mode pipelines.
8260         (gst_base_transform_sink_activate_push)
8261         (gst_base_transform_src_activate_pull): Refactor to use
8262         gst_base_transform_activate().
8263         (gst_base_transform_change_state): Removed, not needed any more.
8264
8265         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8266         Truncate before fixating.
8267         
8268         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8269         Don't set_caps() if the result of fixating is ANY, as it's not
8270         supported, and not necessary in the case of a link with no
8271         template caps on either side. Fixes tests/check/libs/basesrc in
8272         some pull-mode tests.
8273
8274         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8275         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8276         (gst_base_transform_src_activate_pull): 
8277         Track the activation mode.
8278         (gst_base_transform_setcaps): In pull mode, when activating the
8279         src pad, after activating the sink pad, activate the sink pad's
8280         peer, as discussed in part-negotiation.txt.
8281
8282         * libs/gst/base/gstbasesrc.h: 
8283         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8284         vmethod, as in basesink.
8285
8286         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8287
8288         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8289         mode, first proxy the setcaps to the peer pad.
8290         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8291         new fixate vmethod.
8292         (gst_base_sink_default_activate_pull): Rename from
8293         gst_base_sink_activate_pull.
8294         (gst_base_sink_negotiate_pull): New function, performs negotiation
8295         in pull mode before calling ::activate_pull().
8296         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8297         vmethod instead of the default implementation. I have no idea how
8298         this worked before. Negotiate before calling activate_pull.
8299
8300         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8301         sink pads in pull mode. In addition to being correct, fixes
8302         filesrc ! decodebin ! identity ! fakesink.
8303         (gst_pad_get_range, gst_pad_pull_range): Don't call
8304         gst_pad_set_caps() if the caps changes; instead error out with
8305         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8306
8307 2007-01-12  Andy Wingo  <wingo@pobox.com>
8308
8309         * docs/design/part-negotiation.txt: Update with more policy.
8310
8311 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8312
8313         * libs/gst/check/gstbufferstraw.h:
8314         * libs/gst/check/gstcheck.h:
8315           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8316           belongs.
8317
8318 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8319
8320         * tests/check/Makefile.am:
8321         * tests/check/gst/.cvsignore:
8322         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8323         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8324         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8325         (GST_START_TEST), (gst_tag_setter_suite):
8326           Add minimal unit test for beforementioned GstTagSetter bug.
8327
8328 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8329
8330         Patch by: René Stadler <mail at renestadler dot de>
8331
8332         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8333           gst_tag_list_merge() returns a new list, so it's not the best idea
8334           to ingore its return value. Effectively meant that tags could only
8335           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8336           Also add function guard to require a non-NULL taglist as input (has
8337           always been so due to gst_tag_list_copy(), just making it explicit).
8338
8339 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8340
8341         * docs/random/draft-missing-plugins.txt:
8342           Some additions: mention new API that is supposed to be used at the
8343           various stages; short blob about new gst-inspect introspection
8344           option; mention potential future problem with plugins that have
8345           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8346
8347 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8348
8349         * tools/gst-inspect.c:
8350         (print_plugin_automatic_install_info_codecs),
8351         (print_plugin_automatic_install_info_protocols),
8352         (print_plugin_automatic_install_info), (main):
8353         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8354         introspect plugin files and get machine-parsable output that corresponds
8355         to the last bit of the missing-plugin installer string (small gotcha:
8356         doesn't take into account ranks).
8357
8358 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8359
8360         * configure.ac:
8361         * docs/gst/gstreamer-sections.txt:
8362         * gst/Makefile.am:
8363         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8364         (gst_registry_lookup_locked):
8365         * gst/gstregistry.h:
8366         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8367         (gst_registry_binary_initialize_magic),
8368         (gst_registry_binary_save_string),
8369         (gst_registry_binary_save_pad_template),
8370         (gst_registry_binary_save_feature),
8371         (gst_registry_binary_save_plugin),
8372         (gst_registry_binary_write_cache),
8373         (gst_registry_binary_check_magic),
8374         (gst_registry_binary_load_pad_template),
8375         (gst_registry_binary_load_feature),
8376         (gst_registry_binary_load_plugin),
8377         (gst_registry_binary_read_cache):
8378         * gst/gstregistrybinary.h:
8379         * gst/gstregistryxml.c: (load_feature),
8380         (gst_registry_xml_read_cache):
8381           commit binary registry (disabled by default, see #359653)
8382
8383 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8384
8385         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8386           Fix 'make check' too.
8387
8388 2007-01-10  Andy Wingo  <wingo@pobox.com>
8389
8390         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8391         notes.
8392         
8393         * docs/design/part-negotiation.txt: Update with, um, one way that
8394         pull-mode negotiation might work?
8395
8396         * gst/gstpad.h: 
8397         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8398         that the pad must be a src pad; makes sense to call it the other
8399         way in pull mode, and the logic is symmetric anyway.
8400
8401 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8402
8403         * plugins/elements/gstfilesink.c:
8404           Include <stdio.h> for fseeko().
8405
8406 2007-01-10  Wim Taymans  <wim@fluendo.com>
8407
8408         * gst/gstevent.c:
8409         * gst/gstevent.h:
8410         Reserve LATENCY event.
8411
8412 2007-01-09  Wim Taymans  <wim@fluendo.com>
8413
8414         * docs/design/draft-latency.txt:
8415         Updates.
8416
8417 2007-01-09  Wim Taymans  <wim@fluendo.com>
8418
8419         * docs/design/draft-latency.txt:
8420         Updates.
8421
8422         * gst/gstelement.h:
8423         * gst/gststructure.c:
8424         * gst/gsttrace.c:
8425         Small typo fixes.
8426
8427 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8428
8429         * tests/check/.cvsignore:
8430           Ignore test-registry.xml as well.
8431
8432 2007-01-09  Wim Taymans  <wim@fluendo.com>
8433
8434         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8435         unref data at the end when we are done with the pad.
8436
8437 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8438
8439         * docs/gst/gstreamer-sections.txt:
8440         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8441         (init_post), (gst_deinit), (gst_update_registry):
8442         * gst/gst.h:
8443           API: add gst_update_registry() (#391296).
8444
8445         * tests/check/Makefile.am:
8446         * tests/check/gst/gstregistry.c:
8447         * tests/check/gst/.cvsignore:
8448           Simple unit test for the above.
8449
8450 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8451
8452         * gst/gstregistry.c: (gst_registry_scan_path_level):
8453           Plugin extension on HP-UX is .sl, add that to the list of approved
8454           plugin extensions (see #393796).
8455
8456         * tests/check/gst/gstpad.c: (GST_START_TEST):
8457           ulong => gulong. Fixes compilation with HP-UX compiler.
8458
8459         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8460           Fix compilation if valgrind headers are not available.
8461
8462 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8463
8464         * win32/common/libgstreamer.def: 
8465           Add new exported function.
8466         * win32/vs6/libgstbase.dsp: 
8467           Add gstdataqueue.c to the build.
8468         * win32/vs6/libgstcoreelements.dsp:
8469           Add gstmultiqueue.c to the build.
8470         
8471 2007-01-06  Andy Wingo  <wingo@pobox.com>
8472
8473         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8474         activate_pull(), providing for a way to specialize the process of
8475         spawning a thread to pull on the sink pad. There is a default
8476         implementation.
8477
8478         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8479         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8480         (gst_base_sink_init): Renamed pad activation functions (inserting
8481         "_pad" in their names). Refactor to use the new activate_pull
8482         vmethod, as appropriate.
8483         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8484         default activate_pull function to start a task pulling from the
8485         sink pad, as before.
8486
8487         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8488         on the pads if necessary, as in push()/chain(). Update docs.
8489         Shouldn't affect existing pull() usage as it is currently only
8490         being used on buffers without caps.
8491
8492 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8493
8494         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8495         (init_pre):
8496           Call g_thread_init() first thing in gst_init() / gst_check_init().
8497           When initialisation is done via gst_init_get_option_group() and
8498           GOption parsing, issue a warning if the GLib thread system has not
8499           been initialised yet by the time gst_init_get_option_group() is
8500           called, as it's quite likely other GLib functions such as
8501           g_option_context_new() have been called already then, and
8502           g_thread_init() must be called before any other GLib function. The
8503           application in question must be fixed in that case, since memory
8504           corruption might happen otherwise.
8505           We issue the warning because even if the GLib folks decide to work
8506           around the problem on their end in future, this is still an issue
8507           with all GLib versions >= 2.10.0, so we should warn until we depend
8508           on a GLib version we know to be safe.
8509           Update documentation as well.
8510           Closes bug #391278.
8511
8512 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8513
8514         * tools/gst-inspect.c: (main):
8515         * tools/gst-launch.c: (main):
8516         * tools/gst-typefind.c: (main):
8517         * tools/gst-xmlinspect.c: (main):
8518           Call g_thread_init() really really early, before any other GLib
8519           function (see #342564 and recent discussion on gtk-devel-list).
8520
8521 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8522
8523         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8524
8525         * gst/gst_private.h:
8526         * gst/gstconfig.h.in:
8527         * gst/gstinfo.h:
8528           On win32, all the __declspec stuff for symbol exporting is
8529           apparently only needed with MSVC, but doesn't work with MingW.
8530           Fixes compilation with MingW and #391909.
8531
8532 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8533
8534         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8535           Change some GST_ERROR_OBJECT that aren't really errors to
8536           GST_WARNING_OBJECT in order to reduce terminal spam.
8537
8538 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8539
8540         * tests/check/Makefile.am:
8541           disable test again, as there seem to be still race problems
8542
8543 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8544
8545         * tests/check/Makefile.am:
8546         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8547         (GST_START_TEST), (queue_suite):
8548           enable queue test again, add tests for the leaky behaviour
8549
8550 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8551
8552         * configure.ac:
8553         * tests/examples/Makefile.am:
8554           Compile adapter test/example only if the required headers are
8555           available (fixes #391915).
8556
8557 2007-01-01  David Schleef  <ds@schleef.org>
8558
8559         * gst/gstplugin.c:
8560           Restore the previous signal handler for SIGSEGV instead of
8561           setting to default, since we may have stolen it away from
8562           someone.  (i.e., Mono)
8563
8564 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8565
8566         * docs/random/draft-missing-plugins.txt:
8567           Some small additions and clarifications.
8568
8569 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8570
8571         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8572           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8573           since that can lead to random memory corruptions and crashes
8574           (may or may not be related to #383244, #386711, and #386711).
8575
8576 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8577
8578         * tests/check/.cvsignore:
8579         * tests/check/Makefile.am:
8580           sync .cvsignome and CLEANFILES
8581
8582 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8583
8584         * tests/check/Makefile.am:
8585           fix distcheck
8586
8587 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8588
8589         * docs/design/part-states.txt:
8590           two tiny additional comments
8591         
8592         * gst/gststructure.c:
8593           doc fixing
8594
8595         * tests/check/Makefile.am:
8596         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8597         (GST_START_TEST):
8598           disable test for now, unless it gets fixed
8599
8600 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8601
8602         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8603         (GST_START_TEST):
8604           fix race in underrun test
8605
8606 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8607
8608         * tests/check/elements/.cvsignore:
8609           ignore more
8610
8611         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8612         (GST_START_TEST):
8613           try to narrow test failure
8614
8615 2006-12-21  David Schleef  <ds@schleef.org>
8616
8617         * plugins/elements/gstfakesrc.c:
8618           Use g_random_int_range(), since it produces better random
8619           numbers in a range than almost-correct floating point code.
8620
8621 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8622
8623         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8624         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8625         (gst_check_teardown_sink_pad):
8626           do not automatically (de)activate pads
8627
8628         * tests/check/Makefile.am:
8629         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8630         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8631           add new, yet simple tests for queue
8632
8633         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8634         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8635         * tests/check/elements/filesrc.c: (cleanup_filesrc),
8636         (GST_START_TEST):
8637         * tests/check/elements/identity.c: (cleanup_identity):
8638           consistent pad (de)activation
8639
8640 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
8641
8642         Patch by: Sebastian Dröge  <slomo ubuntu com>
8643
8644         * libs/gst/base/gstcollectpads.c:
8645           Fix two doc typos (#387866).
8646
8647 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8648
8649         * docs/manual/advanced-dparams.xml:
8650           Fix typo (g_object_control_properties() doesn't exist).
8651
8652 2006-12-19  Edward Hervey  <edward@fluendo.com>
8653
8654         * gst/gstsegment.c: (gst_segment_set_seek):
8655         Fine tune the cases where the segment start/stop values are really
8656         updated.
8657         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8658         Add tests for the return values of gst_segment_set_seek().
8659
8660 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8661
8662         * gst/gst.c:
8663           Docs typo fix.
8664
8665         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8666         (gst_queue_init):
8667           Fix incorrect documentation and flesh it out a bit more.
8668           Set default values for the max properties on the GParamSpec as well,
8669           so it shows up correctly in gst-inspect.
8670
8671 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
8672
8673         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8674           Correct docs of queue, add more detail and crosslink it more.
8675
8676 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8677
8678         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8679           Print additional debug info when the stream isn't perfectly
8680           timestamped; don't try to use invalid durations.
8681
8682 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8683
8684         * docs/design/Makefile.am:
8685           Dist new design docs.
8686
8687 2006-12-16  Wim Taymans  <wim@fluendo.com>
8688
8689         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8690
8691         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8692         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8693         (gst_collect_pads_stop), (gst_collect_pads_event),
8694         (gst_collect_pads_chain):
8695         * libs/gst/base/gstcollectpads.h:
8696         Add refcounting to the collectpads data so we can track when it's safe
8697         to free the data. Fixes #383382.
8698
8699 2006-12-15  Wim Taymans  <wim@fluendo.com>
8700
8701         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8702         (gst_collect_pads_remove_pad):
8703         Automatically activate/deactivate pads when they are added to a
8704         started/stoped collectpads.
8705
8706 2006-12-15  Wim Taymans  <wim@fluendo.com>
8707
8708         * gst/gstelement.c: (gst_element_add_pad):
8709         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8710         * gst/gstpad.c: (gst_pad_init):
8711         Set pads to FLUSHING when they are created. Check, warn and fix when a
8712         demuxer adds an inactive pad to itself when running. Fixes #339326.
8713
8714 2006-12-15  Wim Taymans  <wim@fluendo.com>
8715
8716         * gst/gstelement.c: (gst_element_class_init),
8717         (gst_element_default_send_event), (gst_element_send_event),
8718         (gst_element_default_query), (gst_element_query):
8719         Expose default element send_event and query handling as vmethods that
8720         subclasses can chain up to.
8721
8722 2006-12-15  Wim Taymans  <wim@fluendo.com>
8723
8724         * gst/gstelement.c: (gst_element_set_state_func):
8725         Small documentation fixes.
8726
8727 2006-12-15  Wim Taymans  <wim@fluendo.com>
8728
8729         * docs/design/draft-latency.txt:
8730         Checked in draft for handling latency in pipelines.
8731
8732 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8733
8734         * Makefile.am:
8735         * gstreamer.doap:
8736         * gstreamer.spec.in:
8737           adding .doap file
8738
8739 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
8740
8741         * gst/gst.c: (init_pre), (init_post):
8742           init_pre() and init_post() might be called via our GOptionGroup or
8743           from gst_init(), and we should skip both of them if we've already
8744           been initialised, otherwise we will init some things twice or add
8745           two default log functions.
8746
8747 2006-12-13  Edward Hervey  <edward@fluendo.com>
8748
8749         * docs/manual/basics-bus.xml:
8750         No, gst_main_loop does not exist. Its g_main_loop.
8751         Discovered by somebody who abused the copy-paste technique of coding :)
8752
8753 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
8754
8755         * gst/gstghostpad.c:
8756           Log ghostpad debug stuff to the GST_PADS category as well rather
8757           than just to the default category.
8758
8759 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
8760
8761         * configure.ac:
8762         * gst/gst.c: (init_pre):
8763           Add some basic system details such as OS and architecture
8764           to the debug output if possible, courtesy of uname().
8765
8766 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
8767
8768         * docs/gst/running.xml:
8769           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8770           environment variables.
8771
8772 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8773
8774         * tests/check/gst/gstbin.c: (GST_START_TEST):
8775         It is acceptable to have a refcount of 2 or 3 at this point in the
8776         test, because the pipeline might be just posting its state_change
8777         message. The next line then waits for that message to appear using
8778         bus_poll, so that should be fine too.
8779
8780 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8781
8782         * gst/gst.c: (ensure_current_registry_forking):
8783         Ignore EINTR when reading from the child registry pipe.
8784         Explicitly ignore the return value from close, since it makes no
8785         difference.
8786
8787         * gst/gstminiobject.c: (gst_mini_object_ref),
8788         (gst_mini_object_unref):
8789         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8790
8791         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8792         When removing cached plugins, remove their features too, so they're
8793         not visible after they've disappeared.
8794
8795         * gst/gstutils.c: (prepare_link_maybe_ghosting):
8796         In the unlikely case that we are linking pads with no parents, don't
8797         crash trying to get the non-existent parent bin.
8798
8799         * gst/parse/grammar.y:
8800         Output debug in the PIPELINE category
8801
8802 2005-03-08  Wim Taymans  <wim@fluendo.com>
8803
8804         Patch by: René Stadler <mail at renestadler dot de>
8805
8806         * gst/gstclock.c: (gst_clock_new_periodic_id):
8807         Reject invalid clock times for interval of periodic ids.
8808         Fixes ##383506.
8809
8810 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8811
8812         * gst/gstelementfactory.c: (gst_element_factory_create):
8813         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8814         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8815         * tools/gst-inspect.c: (print_element_info):
8816         Fix refcounting of gst_plugin_feature_load to match the docs. 
8817         Fixes: #380129
8818
8819 2006-12-07  Wim Taymans  <wim@fluendo.com>
8820
8821         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8822         (gst_base_sink_get_position):
8823         Improve debugging of events.
8824
8825 2006-12-07  Wim Taymans  <wim@fluendo.com>
8826
8827         Patch by: René Stadler <mail at renestadler dot de>
8828
8829         * gst/gstclock.c: (gst_clock_id_wait):
8830         Make period ids add the interval to the origial requested time instead
8831         of the possibly updated time which can be wrong when there are multiple
8832         waiters for the same id. Fixes #382592.
8833
8834         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8835         (gst_system_clock_id_wait_jitter_unlocked),
8836         (gst_system_clock_id_wait_jitter):
8837         Fix restart in the async notify thread when an async entry is added to
8838         the front of the list. Fixes #381492. 
8839
8840         * tests/check/gst/gstsystemclock.c: (store_callback),
8841         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8842         Added test for multiple async waits.
8843         Added test for async wait order.
8844
8845 2006-12-07  Wim Taymans  <wim@fluendo.com>
8846
8847         * gst/gstbin.c: (gst_bin_query):
8848         Add some more docs about the POSITION query.
8849
8850 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8851
8852         * configure.ac:
8853         Bump version nano - back to CVS.
8854
8855 === release 0.10.11 ===
8856
8857 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
8858
8859         * configure.ac:
8860           releasing 0.10.11, "Love never runs on time"
8861
8862 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
8863
8864         * win32/common/libgstbase.def:
8865         * win32/common/libgstreamer.def:
8866         * win32/vs8/libgstbase.vcproj:
8867         * win32/vs8/libgstcoreelements.vcproj:
8868         * win32/vs8/libgstreamer.vcproj:
8869         Fix compilation on win32 under VS8
8870         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8871         Partially fixes #381175
8872
8873 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8874
8875         * gst/gstvalue.c: (gst_value_compare_fraction):
8876         If someone is foolish enough to compare 2 fractions with denominator =
8877         0, return UNORDERED rather than aborting.
8878
8879 2006-11-28  Edward Hervey  <edward@fluendo.com>
8880
8881         * libs/gst/base/Makefile.am:
8882         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8883         (gst_data_queue_base_init), (gst_data_queue_class_init),
8884         (gst_data_queue_init), (gst_data_queue_new),
8885         (gst_data_queue_cleanup), (gst_data_queue_finalize),
8886         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8887         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8888         (gst_data_queue_is_empty), (gst_data_queue_is_full),
8889         (gst_data_queue_set_flushing), (gst_data_queue_push),
8890         (gst_data_queue_pop), (gst_data_queue_drop_head),
8891         (gst_data_queue_set_property), (gst_data_queue_get_property):
8892         * libs/gst/base/gstdataqueue.h:
8893         New GstDataQueue object for threadsafe queueing. Most useful for
8894         elements that need some queueing functionnality.
8895         * docs/libs/gstreamer-libs-docs.sgml:
8896         * docs/libs/gstreamer-libs-sections.txt:
8897         Insert documentation for GstDataQueue
8898         * plugins/elements/Makefile.am:
8899         * plugins/elements/gstelements.c:
8900         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
8901         (gst_multi_queue_class_init), (gst_multi_queue_init),
8902         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8903         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
8904         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
8905         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8906         (gst_multi_queue_loop), (gst_multi_queue_chain),
8907         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8908         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
8909         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
8910         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
8911         (wake_up_next_non_linked), (compute_next_non_linked),
8912         (single_queue_overrun_cb), (single_queue_underrun_cb),
8913         (single_queue_check_full), (gst_single_queue_new):
8914         * plugins/elements/gstmultiqueue.h:
8915         New multiqueue element, using GstDataQueue. Used for queuing multiple
8916         streams.
8917         Closes #344639 and #347785
8918
8919 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
8920
8921         * docs/pwg/advanced-types.xml:
8922           add more missing type details
8923
8924         * tools/gst-run.c: (main):
8925           remove unused variable
8926
8927 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
8928
8929         * docs/libs/Makefile.am:
8930         * docs/libs/gstreamer-libs.types:
8931           add types of base classes to enable gobject specific stuff in the docs
8932
8933         * docs/random/ensonic/embedded.txt:
8934           more ideas about isolating platform specific things
8935
8936 2006-11-20  Wim Taymans  <wim@fluendo.com>
8937
8938         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
8939
8940         * libs/gst/check/gstcheck.h:
8941         Fix compilation and running against 0.9.4. Fixes #377332.
8942
8943 2006-11-20  Wim Taymans  <wim@fluendo.com>
8944
8945         * gst/gstsegment.c: (gst_segment_set_seek),
8946         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8947         (gst_segment_to_running_time):
8948         Fix boundary checking in to_running_time() and to_stream_time().
8949         Fixes #377183.
8950
8951         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8952         stream and running time can now be calculated for the complete
8953         clipped segment.
8954
8955 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
8956
8957         * gst/gstpad.c: (gst_pad_push_event):
8958           Can't access event structure after giving away ownership of
8959           the event.
8960
8961 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
8962
8963         * docs/random/ensonic/embedded.txt:
8964         * docs/random/ensonic/profiling.txt:
8965         * docs/random/ensonic/receipies.txt:
8966           more thinking
8967
8968 2006-11-13  Wim Taymans  <wim@fluendo.com>
8969
8970         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8971
8972         * gst/gstpad.c:
8973         Fix documentation for gst_pad_dispatcher. Fixes #374475.
8974
8975 2006-11-13  Wim Taymans  <wim@fluendo.com>
8976
8977         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
8978
8979         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8980         Store new length in segment duration so we don't keep on calling the
8981         potentially expensize get_size() call. Fixes #370865.
8982
8983 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
8984
8985         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
8986
8987         * win32/common/libgstreamer.def:
8988           Add two missing symbols (#366492).
8989
8990 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
8991
8992         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
8993         (gst_adapter_take_buffer):
8994         Fix format string to use all its arguments.
8995         Remove useless >= check on a guint
8996
8997 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
8998
8999         * tests/examples/adapter/.cvsignore:
9000         Ignore build file as commanded by the build-bot
9001
9002 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9003
9004         * tests/examples/adapter/Makefile.am:
9005         * tests/examples/adapter/adapter_test.c: (run_test_take),
9006         (run_test_take_buffer), (run_tests), (main):
9007
9008         Add new files from the previous commit
9009
9010 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9011
9012         * Makefile.am:
9013         * configure.ac:
9014         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9015         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9016         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9017         * libs/gst/base/gstadapter.h:
9018         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9019         (GST_START_TEST), (gst_adapter_suite):
9020         * tests/examples/Makefile.am:
9021         Do some optimisation work in GstAdapter to avoid copies in more cases.
9022         It could still do slightly better by merging buffers when
9023         gst_buffer_is_span_fast is true, but is already faster. 
9024
9025         Also, avoid traversing a single-linked list to append each incoming 
9026         buffer inside the adapter.
9027
9028         Add simple test app that times the adapter behaviour in different
9029         situations, and extend the unit test to check that bytes enter and
9030         exit the adapter in their original order.
9031
9032 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9033
9034         * docs/random/draft-missing-plugins.txt:
9035           Update: use element message instead of adding a new message
9036           type to the core; don't provide GStreamer API to initiate the
9037           plugin download, just provide API to compose the strings needed
9038           and let an external libgimmestuff handle the rest.
9039
9040 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9041
9042         * tools/gst-inspect.c: (print_element_properties_info):
9043         Print a string instead of 'unknown type' for GValueArray properties
9044
9045 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9046
9047         * docs/random/draft-missing-plugins.txt:
9048         More small fixes.
9049
9050 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9051
9052         * tests/examples/typefind/typefind.c: (type_found), (main):
9053           Make typefind element example work again (#371894); add a
9054           license header.
9055
9056 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9057
9058         * docs/random/draft-missing-plugins.txt:
9059           Commit initial draft about how to deal with missing plugins,
9060           needs work (API too).
9061
9062 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9063
9064         * docs/pwg/advanced-types.xml:
9065           documents the new caps elements (see #363118)
9066
9067 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9068
9069         * gst/gstplugin.c: (gst_plugin_load_file):
9070         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9071         (gst_file_src_map_region), (gst_file_src_start):
9072         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9073         (gst_file_index_commit):
9074           Use g_strerror() instead of strerror() - we want UTF-8.
9075
9076 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9077
9078         Patch by: Peter Kjellerstedt <pkj at axis com>
9079
9080         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9081           Another printf fix (#371493).
9082
9083 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9084
9085         * tests/check/gst/gsttag.c:
9086           relicence (okay with author=company)
9087
9088 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9089
9090         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9091         (gst_pad_push_event):
9092           Enhance debug and improve docs
9093         
9094         * gst/gsturi.c:
9095           Fix docs
9096
9097 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9098
9099         * docs/random/ensonic/distributed.txt:
9100         * docs/random/ensonic/profiling.txt:
9101           more ideas
9102
9103 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9104
9105         * docs/gst/gstreamer-sections.txt:
9106           add new API and fix the build
9107           
9108         * gst/gstbin.c: (gst_bin_recalc_state):
9109         * gst/gstelement.c: (gst_element_message_full),
9110         (gst_element_get_state_func), (gst_element_set_state_func):
9111           use new API and improve logging
9112         
9113         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9114         * gst/gstutils.h:
9115           API: add function to get StateChangereturn names to improve logs 
9116
9117 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9118
9119         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9120           I'm considering shooting the next person to put strerror stuff
9121           in the translateable part of the message.
9122
9123 2006-11-03  Wim Taymans  <wim@fluendo.com>
9124
9125         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9126         Get the type and printf conversion specifiers right.
9127
9128 2006-11-03  Wim Taymans  <wim@fluendo.com>
9129
9130         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9131
9132         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9133         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9134         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9135         Some small cleanups. Improve debugging.
9136         * gst/gstpad.h:
9137         Signal all waiting threads with a broadcast instead of just one.
9138         Fixes #369942.
9139
9140 2006-11-03  Wim Taymans  <wim@fluendo.com>
9141
9142         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9143         (gst_fd_src_create):
9144         Add some debugging. 
9145         Only update fd when it's different from the old.
9146
9147 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9148
9149         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9150           Printf fixes for PPC/OSX, take two (#369366).
9151
9152 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9153
9154         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9155
9156         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9157         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9158         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9159           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9160           don't cast to long long for portability reasons, but use
9161           GLib's types instead.
9162
9163 2006-10-30  Michael Smith  <msmith@fluendo.com>
9164
9165         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9166           Get the arguments to lseek() the right way around.
9167           Fixes 367677.
9168
9169 2006-10-30  Wim Taymans  <wim@fluendo.com>
9170
9171         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9172
9173         * gst/gstinfo.h:
9174         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9175
9176 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9177
9178         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9179
9180         * docs/design/part-MT-refcounting.txt:
9181         * docs/random/wtay/capsnego2-docs:
9182         * gst/gstclock.c:
9183         * gst/gstxml.c:
9184           Typo fixes (#366212).
9185
9186 2006-10-28  Wim Taymans  <wim@fluendo.com>
9187
9188         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9189
9190         * gst/gst.c:
9191         * win32/common/libgstbase.def:
9192         * win32/common/libgstreamer.def:
9193         * win32/vs8/libgstbase.vcproj:
9194         * win32/vs8/libgstcontroller.vcproj:
9195         Add needed entries in .def files.
9196         Use HAVE_UNISTD_H.
9197         Rearrange def files in vs8 solutions. Fixes #366286.
9198
9199 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9200
9201         * win32/common/gstconfig.h:
9202           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9203           hand-made win32 gstconfig.h. Fixes #366321.
9204
9205 2006-10-27  Wim Taymans  <wim@fluendo.com>
9206
9207         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9208         (gst_ghost_pad_new_full):
9209         Make acceptcaps return TRUE when we don't have a target, just like
9210         setcaps does.
9211
9212 2006-10-27  Wim Taymans  <wim@fluendo.com>
9213
9214         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9215         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9216
9217 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9218
9219         * gst/gststructure.c: (gst_structure_id_set_value):
9220           If someone tries to set a non-UTF8 string field on a structure,
9221           don't just print a warning, but also ignore the request and do
9222           not change/add that field to the structure.
9223
9224         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9225           Test for the above.
9226
9227 2006-10-25  David Schleef  <ds@schleef.org>
9228
9229         * gst/gstinfo.c:
9230           g_hash_table_insert() needs a cast to a non-const pointer duh.
9231
9232 2006-10-25  David Schleef  <ds@schleef.org>
9233
9234         * gst/gstinfo.c:
9235         * gst/gstinfo.h:
9236           Change name parameter of _gst_debug_register_funcptr to const
9237           to reflect the constness of its use in the function as well
9238           as to quiet a gcc warning.
9239
9240 2006-10-25  Edward Hervey  <edward@fluendo.com>
9241
9242         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9243         Don't push the buffer if it's empty.
9244         Closes #363095
9245
9246 2006-10-24  Wim Taymans  <wim@fluendo.com>
9247
9248         * gst/gstevent.h:
9249         Add small comment.
9250
9251         * libs/gst/base/gstbasetransform.c:
9252         (gst_base_transform_sink_eventfunc):
9253         Debug segment values *after* updating them as this is more
9254         interesting.
9255
9256 2006-10-23  Wim Taymans  <wim@fluendo.com>
9257
9258         * docs/design/part-events.txt:
9259         Update some docs.
9260
9261         * docs/design/part-block.txt:
9262         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9263         (gst_pad_push_event):
9264         Revert BLOCKING patch, it tries to be smart without really having a
9265         clear idea what or how. So, now we discard all FLUSHING events again on
9266         a blocking pad. Should fix gnonlin again.
9267
9268 2006-10-23  Wim Taymans  <wim@fluendo.com>
9269
9270         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9271
9272         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9273         (gst_base_src_start), (gst_base_src_activate_push):
9274         Make sure size is always initialized. Fixes #364388.
9275
9276 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9277
9278         * docs/random/ensonic/distributed.txt:
9279           add some ideas about doing distributed processing
9280
9281         * docs/random/ensonic/profiling.txt:
9282           get_rusage look promising
9283
9284 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9285
9286         * docs/manual/basics-helloworld.xml:
9287           Add a cast in example to fix compile warning
9288
9289 2006-10-18  Wim Taymans  <wim@fluendo.com>
9290
9291         * gst/gstsegment.c: (gst_segment_set_last_stop),
9292         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9293         Relax arg checking again, -1 is allowed.
9294
9295 2006-10-18  Wim Taymans  <wim@fluendo.com>
9296
9297         * gst/gstsegment.c: (gst_segment_set_last_stop),
9298         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9299         _set_last_stop() must be with a value != -1
9300         A _TYPE_SET to -1 means seek to 0.
9301         Calc last_stop correctly for negative rates.
9302         Make sure we work with positive durations when updating a segment.
9303
9304 2006-10-18  Wim Taymans  <wim@fluendo.com>
9305
9306         * docs/design/part-live-source.txt:
9307         * gst/gstclock.h:
9308         Small docs fixes.
9309
9310 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9311
9312         * gst/gstbuffer.h:
9313           Add an explicit cast to GstBuffer** to keep old code that added an
9314           explicit cast to GstMiniObject** for gst_mini_object_replace()
9315           compiling without warning.
9316
9317 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9318
9319         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9320           check for validity of dates
9321
9322 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9323
9324         * docs/gst/gstreamer-sections.txt:
9325           Forgot this one, makes gtk-doc shut up.
9326
9327 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9328
9329         Patch by: Peter Kjellerstedt <pkj at axis com>
9330
9331         * gst/gstobject.h:
9332           Don't define xmlNodePtr to gpointer if the core was built with
9333           --disable-loadsave and --disable-registry, this will break
9334           applications that want to use libxml2 but are buildling against a
9335           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9336           instead so we don't have to mess with the libxml2 namespace
9337           (#361675).
9338
9339 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9340
9341         * gst/gstbuffer.h:
9342           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9343           type-punned pointer warnings.
9344
9345 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9346
9347         * gst/gstelement.h:
9348           Add casts to the correct return type to state <=> state transition
9349           macros.
9350
9351 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9352
9353         * docs/design/part-live-source.txt:
9354           describe howto handle latency
9355         
9356         * docs/random/ensonic/profiling.txt:
9357           more ideas
9358
9359         * tools/gst-plot-timeline.py:
9360           fix log parsing for solaris, remove unused function
9361
9362 2006-10-16  Wim Taymans  <wim@fluendo.com>
9363
9364         * docs/design/part-trickmodes.txt:
9365         * gst/gstevent.c:
9366         Update some docs regarding reverse playback.
9367
9368 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9369
9370         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9371
9372         * win32/vs8/grammar.vcproj:
9373           Error out with a warning if glib-genmarshal.exe is not in path,
9374           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9375
9376 2006-10-13  Wim Taymans  <wim@fluendo.com>
9377
9378         * gst/gstsegment.c: (gst_segment_set_seek):
9379         When seeking to stop -1, set last_stop (current position) to the
9380         duration of the segment.
9381
9382 2006-10-13  Wim Taymans  <wim@fluendo.com>
9383
9384         * gst/gstelement.h:
9385         Clarify _NO_PREROLL a bit more.
9386
9387         * gst/gstevent.c:
9388         Fix docs.
9389
9390         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9391         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9392         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9393         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9394         due to wrong locking order. Fixes #361769.
9395         Remove some redundant/misplaced checks in pad_block.
9396
9397         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9398         For negative rates, count backwards from the duration.
9399
9400 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9401
9402         * gst/gsterror.c: (_gst_library_errors_init):
9403           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9404           up with something better).
9405
9406 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9407
9408         * win32/vs6/libgstreamer.dsp:
9409         * win32/vs7/libgstreamer.vcproj:
9410         * win32/vs8/libgstreamer.vcproj:
9411           Don't reference glib-compat.c which is currently not used and not
9412           disted; add gstquark.c which was recently added. Fixes #361730.
9413
9414 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9415
9416         * win32/common/libgstbase.def:
9417         * win32/common/libgstcontroller.def:
9418         * win32/common/libgstreamer.def:
9419           Add gst_caps_merge() and a bunch of other recently-added functions.
9420           Fixes #361732.
9421
9422 2006-10-11  Wim Taymans  <wim@fluendo.com>
9423
9424         * docs/plugins/gstreamer-plugins.args:
9425         * docs/plugins/inspect/plugin-coreelements.xml:
9426         * docs/plugins/inspect/plugin-coreindexers.xml:
9427         Update element args.
9428
9429         * gst/gstsystemclock.c:
9430         Small comment update.
9431
9432         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9433         (gst_tee_request_new_pad), (gst_tee_release_pad),
9434         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9435         (gst_tee_sink_activate_pull):
9436         * plugins/elements/gsttee.h:
9437         Some tee loving:
9438         Add default property defines.
9439         Implement release pad function.
9440         Give properties better blubs etc.
9441         Activate pads before adding them to a running tee.
9442         Do simple buffer_alloc on the first requested pad.
9443         Post error when activation fails.
9444
9445 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9446
9447         * gst/gst.c: (ensure_current_registry_forking):
9448           Check return value of write() to make compiler happy.
9449
9450 2006-10-11  Wim Taymans  <wim@fluendo.com>
9451
9452         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9453
9454         * plugins/elements/gstqueue.c: (gst_queue_chain):
9455         Recheck queue filledness after signalling the overrun when we're about
9456         to leak downstream because we released the lock when emitting the signal
9457         and the queue could be empty again. Fixes #352345.
9458
9459 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9460
9461         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9462           Fix refcounting here too, just like we did for _new_valist() a few
9463           days ago (#357180) (thanks to René Stadler). Also remove all those
9464           'Since: 0.9' from the gtk-doc blobs.
9465
9466         * tests/check/libs/controller.c: (controller_refcount_new_list),
9467         (gst_controller_suite):
9468           Unit test for the above.
9469
9470 2006-10-10  Wim Taymans  <wim@fluendo.com>
9471
9472         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9473
9474         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9475         (gst_pad_save_thyself):
9476         Update some docs.
9477         Write pad direction in XML output. Fixes #345496.
9478
9479 2006-10-10  Wim Taymans  <wim@fluendo.com>
9480
9481         Patch by: René Stadler <mail at renestadler dot de>
9482
9483         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9484         (gst_controller_new_list), (_gst_controller_dispose),
9485         (_gst_controller_finalize), (_gst_controller_class_init):
9486         Take ref to controlled object so that it cannot disappear. 
9487         Fixes #357432.
9488
9489 2006-10-10  Wim Taymans  <wim@fluendo.com>
9490
9491         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9492         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9493         (gst_check_teardown_sink_pad):
9494         Activate/deactivate pads in setup/teardown respectively.
9495
9496 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9497
9498         Patch by: Josep Torra Valles <josep@fluendo.com>
9499
9500         * gst/Makefile.am:
9501         Cast values when making gstenumtypes.h.  This pacifies Forte
9502         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9503         in the enumeration.
9504
9505 2006-10-09  Wim Taymans  <wim@fluendo.com>
9506
9507         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9508         Rename some more @cur to @start to fix docs. 
9509
9510         * gst/gstsegment.c: (gst_segment_set_seek):
9511         Fix typo.
9512         time and start must always stay in sync as defined in design doc.
9513
9514         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9515         Rename param to fix docs.
9516
9517         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9518         Check that start and time are in sync.
9519
9520         * tests/check/pipelines/parse-launch.c:
9521         (gst_parse_test_element_change_state):
9522         Activate pad before adding to the element.
9523
9524 2006-10-09  Wim Taymans  <wim@fluendo.com>
9525
9526         * docs/design/part-qos.txt:
9527         Fix typo.
9528
9529         * gst/gstevent.c:
9530         * gst/gstevent.h:
9531         Update seek event docs regarding negative rates.
9532         Rename @cur to @start. 
9533
9534         * gst/gstsegment.c: (gst_segment_set_seek):
9535         * gst/gstsegment.h:
9536         Update set_seek docs regarding negative rates.
9537         Correctly update last_stop to @stop when dealing with negative
9538         rates.
9539         Rename @cur to @start. 
9540
9541         * tests/check/gst/gstpad.c: (GST_START_TEST):
9542         Activate pads before trying to use them.
9543
9544         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9545         (gst_segment_suite):
9546         Add simple check for segments and negative rates.
9547
9548 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9549
9550         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9551         * gst/gsttaglist.h:
9552         * docs/gst/gstreamer-sections.txt:
9553           API: add gst_tag_list_is_empty() (#360467).
9554
9555         * tests/check/gst/gsttag.c: (GST_START_TEST):
9556           And a test case.
9557
9558 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9559
9560         * gst/gstmessage.h:
9561         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9562         a value that doesn't fit on enumeration.
9563
9564 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9565
9566         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9567         Remove local debugging system and use Gstreamer's instead.
9568
9569 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9570
9571         Patch by: Josep Torra Valles <josep@fluendo.com>
9572
9573         * common/m4/gst-error.m4:
9574         Disable warning of statement not reached on Forte.
9575         * gst/gstmessage.h:
9576         Fix warning on Forte (value doesn't fit on enumeration).
9577         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9578         Fix warning on Forte (value doesn't fit on enumeration).
9579         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9580         DEBUG macro says it takes minimum of 2 args and so Forte
9581         complains about the use with just 1 arg.
9582         * plugins/elements/gstfdsink.c:
9583         * plugins/elements/gstfdsrc.c:
9584         * plugins/elements/gstfilesink.c:
9585         * plugins/elements/gstfilesrc.c:
9586         Use correct return type for the uri handler implementations.
9587
9588         All these fix warnings in Forte.  Fixes bug #360860.
9589
9590 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9591
9592         * gst/gstelement.h:
9593           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9594           format string, so don't use G_GNUC_PRINTF for those versions.
9595
9596 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9597
9598         * gst/gsttaglist.c: (gst_is_tag_list):
9599         * gst/gsttaglist.h:
9600           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9601
9602         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9603           Small test for the above.
9604
9605 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9606
9607         * gst/gsttaglist.h:
9608           Less tabs, more spaces.
9609
9610 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
9611
9612         * gst/gstinfo.h:
9613           Those two function declarations do actually belong there, revert
9614           commit from yesterday that turned them intro macros.
9615
9616 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9617
9618         Patch by: Josep Torra Valles <josep@fluendo.com>
9619
9620         * gst/gst.c: (gst_init_get_option_group):
9621         Fix empty declaration and type mismatch.
9622         * gst/gstbin.c: (gst_bin_change_state_func):
9623         Fix type mismatch.
9624         * gst/gstelement.c: (gst_element_continue_state),
9625         (gst_element_set_state_func), (gst_element_change_state),
9626         (gst_element_change_state_func):
9627         Fix type mismatches.
9628         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9629         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9630         Cast as appropriate.
9631         * gst/gstobject.c: (gst_class_signal_connect):
9632         Cast as appropriate.  The function pointer parameter really
9633         has the wrong type but would break API if we change it.
9634         * gst/gstquery.c:
9635         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9636         order of including string.h.
9637         * gst/gstutils.c: (gst_element_state_get_name):
9638         Remove unreachable line.
9639         * gst/gstxml.c: (gst_xml_parse_doc):
9640         Fix type mismatch.
9641         All these caught by Forte.
9642
9643 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9644
9645         Patch by: Josep Torra Valles <josep@fluendo.com>
9646
9647         * common/m4/gst-error.m4:
9648         Fixed bug #360151.
9649         We need to disable warnings on Forte for empty declarations
9650         due to gst-indent adding ;s to lines that just use macros
9651         where the macro actually doesn't need a ; at end to end
9652         statement.
9653
9654 2006-10-06  Wim Taymans  <wim@fluendo.com>
9655
9656         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9657         (gst_file_sink_close_file), (gst_file_sink_event),
9658         (gst_file_sink_render):
9659         Add some FIXME for the NEWSEGMENT handling.
9660
9661 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9662
9663         * gst/parse/grammar.y:
9664         Remove static function gst_parse_element_lock as all it does
9665         is return.  Looks like cruft from 0.8.
9666
9667 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9668
9669         Patch by: Josep Torra Valles <josep@fluendo.com>
9670
9671         * common/m4/gst-error.m4:
9672         * configure.ac:
9673         * libs/gst/net/Makefile.am:
9674         Fix a compilation issue with Forte on Solaris.  inet_aton is in
9675         libresolv.
9676
9677 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9678
9679         * gst/gstpad.c: (pre_activate):
9680         * gst/gstregistry.c: (gst_registry_scan_path_level):
9681         * gst/gstregistryxml.c: (load_plugin):
9682         * libs/gst/controller/gstcontroller.c:
9683         (gst_controlled_property_set_interpolation_mode):
9684         * libs/gst/dataprotocol/dataprotocol.c:
9685         (gst_dp_packet_from_event_1_0):
9686         * libs/gst/net/gstnetclientclock.c:
9687         (gst_net_client_clock_observe_times):
9688         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9689           Printf fixes.
9690
9691 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9692
9693         * configure.ac:
9694         * docs/gst/gstreamer-sections.txt:
9695         * gst/gstconfig.h.in:
9696         * gst/gstelement.h:
9697         * gst/gstinfo.h:
9698           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9699           whether we can use G_GNUC_PRINTF in other header files and at
9700           least check the printf format/arguments of debug messages and
9701           GST_ELEMENT_ERROR messages when the printf extension is not
9702           being used.
9703           Replace more tabs with spaces in gstinfo.h and remove two spurious
9704           function declarations in GST_DISABLE_DEBUG part with macros.
9705
9706 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
9707
9708         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9709           More docs for the sync-message signal (mention that it is not
9710           emitted by default); log message structures of messages posted on
9711           the bus as well.
9712
9713 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
9714
9715         * gst/gst.c: (ensure_current_registry_forking):
9716         Use a pipe pair to receive status results from the forked child, and
9717         ignore the result from waitpid. Fixes #355499
9718
9719 2006-10-02  Wim Taymans  <wim@fluendo.com>
9720
9721         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9722         (gst_ghost_pad_suite):
9723         Fix leak in check.
9724
9725 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9726
9727         * gst/gstpad.c:
9728           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9729
9730 2006-10-02  Edward Hervey  <edward@fluendo.com>
9731
9732         * docs/design/part-block.txt:
9733         Further explain the use of flushing on blocked pads.
9734         * docs/gst/gstreamer-sections.txt:
9735         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9736         (gst_pad_push_event):
9737         * gst/gstpad.h:
9738         Added new GstPadFlag : GST_PAD_BLOCKING.
9739         Adds the notion of pads really blocking, which enables to properly
9740         handle FLUSH_START/FLUSH_STOP events on blocked pads.
9741         Fixes #358999
9742         API: gst_pad_is_blocking()
9743         API: GST_PAD_IS_BLOCKING() macro
9744         API: GST_PAD_BLOCKING GstPadFlag
9745         
9746 2006-10-02  Wim Taymans  <wim@fluendo.com>
9747
9748         Patch by: mrcgran <mrc.gran at gmail dot com>
9749
9750         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9751         Filter the proxied caps against the padtemplate if we have one.
9752
9753         * gst/gstquery.c: (gst_query_new_segment):
9754         Add include for gstinfo.h so that compilation with
9755         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9756
9757 2006-10-02  Wim Taymans  <wim@fluendo.com>
9758
9759         Patch by: Alessandro Decina  <alessandro at nnva org>
9760
9761         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9762         (gst_file_sink_set_location), (gst_file_sink_open_file),
9763         (gst_file_sink_close_file), (gst_file_sink_event),
9764         (gst_file_sink_render):
9765         Set file to NULL when closing filesink so that we can set a new filename
9766         in READY. Fixes #358613.
9767
9768 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9769
9770         Patch by: Alessandro Decina  <alessandro at nnva org>
9771
9772         * gst/gstevent.c: (_gst_event_copy):
9773           Fix gst_mini_object_make_writable() and gst_event_copy() for events
9774           with event structures by setting the parent refcount address of the
9775           copied structure to the address of the refcount member of the newly
9776           copied event rather than the address of the refcount member of the
9777           original event. Fixes #358737.
9778
9779         * tests/check/gst/gstevent.c: (GST_START_TEST):
9780           Unit test for the above.
9781
9782 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
9783
9784         * docs/design/Makefile.am:
9785           Dist some more files.
9786
9787 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9788
9789         * tests/check/libs/controller.c: (GST_START_TEST),
9790         (gst_controller_suite):
9791           Add test for the previous fix; add some more tests
9792           for correct refcounting behaviour; fix a few leaks
9793           in test cases; call gst_controller_init() at start
9794           of all tests.
9795
9796 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9797
9798         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9799         (gst_controller_set_from_list):
9800           Don't g_return_val_if_fail() on timed values with invalid timestamps
9801           inside a critical section without unlocking the mutex. Spotted by
9802           René Stadler. (#357617)
9803           Also, fix up refcounting properly: when returning an existing
9804           controller, we should increase the reference only once and not
9805           once per property and when trying to control a property again
9806           we should also increase the refcount.
9807
9808 2006-09-29  Wim Taymans  <wim@fluendo.com>
9809
9810         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9811         * libs/gst/net/gstnettimeprovider.c:
9812         (gst_net_time_provider_thread):
9813         Stop reading commands when EOF as well.
9814
9815         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9816         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9817         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9818         Unify description of the dump property.
9819
9820 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9821
9822         * tests/examples/manual/.cvsignore:
9823         OK, so it's actually cvsignore that needs changing. Stop laughing.
9824
9825 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9826
9827         * tests/examples/manual/Makefile.am:
9828         Gah, declare vars *before* using them
9829
9830 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9831
9832         * gst/gst.c: (init_pre), (scan_and_update_registry),
9833         (ensure_current_registry_nonforking),
9834         (ensure_current_registry_forking), (ensure_current_registry),
9835         (init_post), (gst_debug_help), (gst_deinit):
9836         * gst/gst_private.h:
9837         * gst/gstregistry.c: (gst_registry_finalize),
9838         (gst_registry_remove_features_for_plugin_unlocked),
9839         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9840         (gst_registry_scan_path),
9841         (_priv_gst_registry_remove_cache_plugins),
9842         (_priv_gst_registry_cleanup):
9843         * gst/gstregistry.h:
9844         Re-commit the registry changes, along with an extra fix:
9845           When a cached plugin is encountered at a different file path,
9846           update the stored path in the registry cache so that the parent
9847           process knows where it actually is now when it re-reads the registry
9848           cache. Fixes the thing that broke distcheck with the previous commit.
9849
9850         * tests/check/Makefile.am:
9851         Clean up files named 'core' too when running make clean.
9852
9853         * tests/examples/manual/Makefile.am:
9854         Set up a registry path for running these tests, and clean it properly
9855         for distcheck.
9856
9857 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9858
9859         * configure.ac:
9860         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9861         want gmodule-no-export-2.0.pc instead so that we don't drag in
9862         --export-dynamic on every project that links to GStreamer.
9863
9864         Also, make our export regex only match the start of symbols, rather 
9865         than any symbol that contains '_gst' somewhere.
9866
9867         * libs/gst/check/Makefile.am:
9868         The libgstcheck we build does however need export-dynamic, as it
9869         produces some symbols that don't match our _gst... style regex.
9870         Fixes: #318031
9871
9872 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9873
9874         * gst/gst.c: (init_pre), (scan_and_update_registry),
9875         (ensure_current_registry_nonforking),
9876         (ensure_current_registry_forking), (ensure_current_registry),
9877         (init_post), (gst_debug_help), (gst_deinit):
9878         * gst/gst_private.h:
9879         * gst/gstregistry.c: (gst_registry_finalize),
9880         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9881         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9882         (_gst_registry_cleanup):
9883         * gst/gstregistry.h:
9884           Revert previous change until I figure out why it breaks distcheck.
9885
9886 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9887
9888         * gst/gst.c: (init_pre), (scan_and_update_registry),
9889         (ensure_current_registry_nonforking),
9890         (ensure_current_registry_forking), (ensure_current_registry),
9891         (init_post), (gst_debug_help), (gst_deinit):
9892
9893           Make init_pre and init_post take the full complement of GOptionFunc
9894           args so they can return useful GErrors. Make the registry updating
9895           functions do so.
9896
9897           Call _priv_gst_registry_remove_cache_plugins after scanning files to
9898           ensure that the registry we're about to write out doesn't contain
9899           stale information about old-deleted plugin files.
9900
9901           Make _priv_gst_registry_remove_cache_plugins return a boolean so
9902           that deletion of plugin files is considered a registry change.
9903
9904         * gst/gst_private.h:
9905         * gst/gstregistry.c: (gst_registry_finalize),
9906         (gst_registry_remove_features_for_plugin_unlocked),
9907         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9908         (gst_registry_scan_path),
9909         (_priv_gst_registry_remove_cache_plugins),
9910         (_priv_gst_registry_cleanup):
9911         * gst/gstregistry.h:
9912         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
9913         by adding _priv prefix, so that they won't appear in the global
9914         symbol table. They still do atm though because of #318031. Move the
9915         prototypes to gst_private.h
9916
9917         When removing a plugin, remove all features for that plugin too. 
9918         Fixes #340878.
9919
9920 2006-09-27  Wim Taymans  <wim@fluendo.com>
9921
9922         * docs/random/moving-plugins:
9923         Make it clear that the "compiled-in descriptions" really mean
9924         the element details.
9925
9926         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9927         (gst_base_sink_wait_preroll):
9928         Update docs.
9929
9930         * docs/libs/gstreamer-libs-sections.txt:
9931         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9932         (gst_base_src_get_range), (gst_base_src_activate_push):
9933         * libs/gst/base/gstbasesrc.h:
9934         Added function to block while waiting for PLAYING, this function
9935         is used by live sources that block on the clock.
9936         API: gst_base_src_wait_playing()
9937
9938 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9939
9940         Patch by: Peter Kjellerstedt <pkj at axis com>
9941
9942         * Makefile.am:
9943           gst-element-check.m4 is generated and should therefore be
9944           copied from the build dir rather than the source dir (#357593).
9945           'make distcheck' hasn't noticed this because we were disting
9946           the file as well, so stop doing that.
9947
9948 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9949
9950         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9951           Add some tests for gst_caps_intersect().
9952
9953         * tools/gst-launch.c: (event_loop):
9954           Print all buffering percentages we get, even the 100% one.
9955
9956 2006-09-26  Wim Taymans  <wim@fluendo.com>
9957
9958         * tools/gst-inspect.c: (print_element_properties_info),
9959         (print_signal_info):
9960         Fix printing of flags to match the look of enums.
9961
9962 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9963
9964         * gst/gstelementfactory.c:
9965           Fix typo in docs blurb.
9966
9967 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9968
9969         * gst/gsturi.c: (search_by_entry):
9970           Don't assert/crash here if a uri handler doesn't return any
9971           supported protocols. The list of protocols could be generated
9972           dynamically at runtime or at plugin registration, and an error
9973           in the underlying library shouldn't be fatal (#353301).
9974
9975 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9976
9977         * gst/gstinfo.c:
9978           Fix warning if HAVE_PRINTF_EXTENSION is undefined
9979           (spotted by Peter Kjellerstedt).
9980
9981 2006-09-23  Wim Taymans  <wim@fluendo.com>
9982
9983         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
9984
9985         * libs/gst/base/gstbasesrc.c:
9986         (gst_base_src_default_check_get_range), (gst_base_src_start),
9987         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9988         (gst_base_src_change_state):
9989         Match _start/_stop calls in the activate functions. Remove redundant
9990         _stop call from the state change function. Fixes #356910.
9991         Turn failure DEBUG into ERROR. 
9992
9993 2006-09-22  Wim Taymans  <wim@fluendo.com>
9994
9995         * docs/design/part-buffering.txt:
9996         * gst/gstmessage.c: (gst_message_new_buffering),
9997         (gst_message_parse_buffering):
9998         Update docs about buffering.
9999
10000         * docs/design/part-trickmodes.txt:
10001         Fix typo.
10002
10003 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10004
10005         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10006         (gst_controller_new_list):
10007           Ref instances when returning them again (fixes #357180)
10008
10009 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10010
10011         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10012           Don't forget to release proxy lock when there's an error.
10013
10014 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10015
10016         * gst/gstcaps.h:
10017           Add extra initialisers for Caps things, to fix some plugin warnings
10018           when using -Wextra
10019
10020 2006-09-18  Wim Taymans  <wim@fluendo.com>
10021
10022         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10023           Also set template on the internal pad so that a getcaps from the 
10024           target pad returns the template caps.
10025
10026 2006-09-18  Wim Taymans  <wim@fluendo.com>
10027
10028         * gst/gstelement.c: (gst_element_post_message),
10029         (gst_element_dispose):
10030         Use _DEBUG_OBJECT some more.
10031
10032         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10033         Avoid typechecks.
10034
10035         * tools/gst-launch.c: (main):
10036         If the toplevel element is not a GstPipeline, it must be put in a
10037         pipeline so that a bus and clock is selected.
10038
10039 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10040
10041         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10042           JITTER, RATE, and LATENCY query should be handled by the
10043           default case and not by the CONVERT query code.
10044
10045 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10046
10047         * gst/gstformat.c: (gst_format_register):
10048           Fix locking order (must take lock before using n_values).
10049
10050         * gst/gstvalue.c: (gst_value_serialize_enum),
10051         (gst_value_deserialize_enum_iter_cmp),
10052         (gst_value_deserialize_enum):
10053           Fix serialisation/deserialisation of custom registered GstFormats.
10054
10055         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10056           Unit test for custom format serialisation/deserialisation.
10057
10058 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10059
10060         * docs/pwg/building-boiler.xml:
10061         * plugins/elements/gstcapsfilter.c:
10062         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10063         section.
10064
10065 2006-09-16  Edward Hervey  <edward@fluendo.com>
10066
10067         * libs/gst/base/gstbasetransform.c:
10068         (gst_base_transform_buffer_alloc):
10069         Check if requested caps are the same as the sinks caps IF
10070         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10071         is FALSE.
10072         This fixes the renegotiation issues stated in #352827.
10073
10074 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10075
10076         * configure.ac:
10077         * docs/manual/advanced-autoplugging.xml:
10078         * tests/examples/Makefile.am:
10079         * tests/examples/manual/.cvsignore:
10080         * tests/examples/manual/Makefile.am:
10081         * tests/examples/manual/extract.pl:
10082           Extract the manual examples again like we used to do.
10083           Fix one of them.
10084
10085 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10086
10087         * win32/common/config.h:
10088           update for version
10089
10090 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10091
10092         * gst/gsterror.c:
10093           Documents how to receive errors.
10094
10095 2006-09-15  Wim Taymans  <wim@fluendo.com>
10096
10097         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10098         (event_loop), (main):
10099         Added some comments here and there.
10100         Post an application message when an interrupt is caught instead of doing
10101         an uncontrolled state change.
10102         Clean up the event loop.
10103         Handle buffering messages, pause/resume the pipeline.
10104         Make shutdown because of an interrupt more reliable.
10105
10106 2006-09-15  Wim Taymans  <wim@fluendo.com>
10107
10108         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10109         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10110         (gst_base_sink_preroll_object):
10111         Make sure that our internal state is correct when we commit our state
10112         asynchronously. This solves a race where a state change to PLAYING
10113         could cause the sink to remain blocked in preroll in some situations.
10114
10115 2006-09-15  Wim Taymans  <wim@fluendo.com>
10116
10117         * tools/gst-inspect.c: (print_element_properties_info),
10118         (print_signal_info):
10119         List flags as hex so it's easier to deal with.
10120
10121 2006-09-15  Wim Taymans  <wim@fluendo.com>
10122
10123         * docs/libs/gstreamer-libs-sections.txt:
10124         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10125         (gst_base_sink_do_sync):
10126         * libs/gst/base/gstbasesink.h:
10127         Expose logic to wait for preroll so that subclasses such as audiosink
10128         can also use this method.
10129         API: gst_base_sink_wait_preroll()
10130
10131 2006-09-15  Wim Taymans  <wim@fluendo.com>
10132
10133         * gst/gstobject.c: (gst_object_set_parent):
10134         * gst/gstpipeline.c: (do_pipeline_seek):
10135         Small cleanups in docs and code.
10136
10137         * gst/gstsegment.c: (gst_segment_clip):
10138         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10139         if stop == start and start is in the segment, no clipping should be
10140         done. Also add a test for this.
10141
10142 2006-09-15  Wim Taymans  <wim@fluendo.com>
10143
10144         * docs/design/part-buffering.txt:
10145         * docs/gst/gstreamer-sections.txt:
10146         * gst/gstmessage.c: (gst_message_new_buffering),
10147         (gst_message_parse_buffering):
10148         * gst/gstmessage.h:
10149         Added methods to create and parse BUFFERING messages.
10150         Added preliminary docs about buffering.
10151         API: gst_message_new_buffering
10152         API: gst_message_parse_buffering
10153
10154 2006-09-06  Wim Taymans  <wim@fluendo.com>
10155
10156         * gst/gstbin.c:
10157         Update documentation.
10158
10159         * gst/gstelement.c: (gst_element_class_init),
10160         (gst_element_release_request_pad), (gst_element_set_clock),
10161         (gst_element_get_index), (gst_element_add_pad),
10162         (gst_element_remove_pad), (gst_element_get_random_pad),
10163         (gst_element_send_event), (gst_element_get_query_types),
10164         (gst_element_query), (gst_element_post_message),
10165         (gst_element_message_full), (gst_element_continue_state),
10166         (gst_element_lost_state), (gst_element_save_thyself),
10167         (gst_element_restore_thyself):
10168         Documentation updates.
10169         Rename last bit of the new-pad -> pad-added signal rename.
10170         Fix the case where an element query would only work if the source
10171         pad was linked.
10172         Avoid some useless type checking in message handling.
10173
10174         * gst/gstevent.c:
10175         * gst/gstevent.h:
10176         * gst/gstutils.c:
10177         Documentation updates.
10178
10179 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10180
10181         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10182           add an INFO line for when we actually update the fd
10183
10184 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10185
10186         * configure.ac:
10187           back to TRUNK
10188
10189 === release 0.10.10 ===
10190
10191 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10192
10193         * configure.ac:
10194           releasing 0.10.10, "Pais"
10195
10196 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10197
10198         * docs/manual/advanced-position.xml:
10199           Fix typo in sample code.
10200
10201 2006-09-05  Wim Taymans  <wim@fluendo.com>
10202
10203         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10204         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10205         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10206         * libs/gst/net/gstnetclientclock.h:
10207         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10208         * libs/gst/net/gstnettimepacket.h:
10209         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10210         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10211         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10212         * libs/gst/net/gstnettimeprovider.h:
10213         Make stuff compile on windows. Fixes #345295.
10214
10215 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10216
10217         * gst/gst.c: (ensure_current_registry_forking):
10218           Print better details when child was terminated by signal.
10219
10220 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10221
10222         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10223           Print a warning rather than g_assert() if a plugin feature
10224           is a URI handler but returns no protocols (#353976).
10225
10226 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10227
10228         * docs/random/moving-plugins:
10229         Fix two typos.         
10230
10231 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10232
10233         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10234           Fix locking order, handle NULL function values properly.
10235
10236         * gst/gstinfo.h:
10237           Fix docs.
10238
10239         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10240           Initialise variable before using it and fix debug statement to
10241           print the address of the function rather than the address of the
10242           variable on the stack holding the address of the function.
10243
10244 2006-09-01  Wim Taymans  <wim@fluendo.com>
10245
10246         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10247         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10248         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10249         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10250         (gst_ghost_pad_parent_unset),
10251         (gst_ghost_pad_internal_do_activate_push),
10252         (gst_ghost_pad_internal_do_activate_pull),
10253         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10254         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10255         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10256         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10257         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10258         (gst_ghost_pad_new_no_target_from_template),
10259         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10260         More cleanups.
10261         Avoid needless typechecking in macros.
10262         Since the internal pad is always present and never changes, there is
10263         no need to locking or ref when retrieving it.
10264         Improve debugging a bit.
10265         Handle link errors when setting the target. Fixes #341029.
10266
10267 2006-09-01  Wim Taymans  <wim@fluendo.com>
10268
10269         * docs/libs/gstreamer-libs-sections.txt:
10270         * docs/plugins/gstreamer-plugins-sections.txt:
10271         Fix docs some more.
10272
10273         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10274         (gst_collect_pads_event):
10275         * libs/gst/base/gstcollectpads.h:
10276         Documentation updates.
10277         Free queued buffer when removing a pad.
10278
10279 2006-08-31  Michael Smith  <msmith@fluendo.com>
10280
10281         * gst/gstutils.c: (gst_element_link_pads),
10282         (gst_element_link_pads_filtered):
10283           Ensure that we set a capsfilter to NULL if we failed to link it
10284           when doing filtered linking, to avoid criticals.
10285
10286           No need to check for unreffing srcpad, which is explicly NULLed
10287           above (a trivial code cleanup).
10288
10289 2006-08-31  Wim Taymans  <wim@fluendo.com>
10290
10291         * docs/design/part-gstghostpad.txt:
10292         Update ascii art in documentation.
10293
10294         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10295         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10296         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10297         (gst_ghost_pad_internal_do_activate_push),
10298         (gst_ghost_pad_internal_do_activate_pull),
10299         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10300         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10301         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10302         (gst_ghost_pad_set_target):
10303         Small cleanups and leak fixes.
10304         Remove some checks now that the internal pad is never NULL.
10305         Fix the case where linking pads without a target would create nasty
10306         criticals. Fixes #341029.
10307         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10308         value of _set_target().
10309
10310         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10311         (gst_ghost_pad_suite):
10312         Some more tests for creating and linking untargeted ghostpads.
10313
10314 2006-08-31  Edward Hervey  <edward@fluendo.com>
10315
10316         * docs/gst/gstreamer-sections.txt:
10317         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10318         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10319         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10320         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10321         (gst_ghost_pad_new_from_template),
10322         (gst_ghost_pad_new_no_target_from_template):
10323         * gst/gstghostpad.h:
10324         Refactored *_new() functions.
10325         Templates are now used as a g_object_new() parameter.
10326         Use template in _do_getcaps() if we don't have a target.
10327         Small documentation cleanups.
10328         Added two new constructors:
10329         gst_ghost_pad_new_from_template()
10330         gst_ghost_pad_new_no_target_from_template()
10331         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10332         (gst_ghost_pad_suite):
10333         Added tests for new ghostpad instanciation functions.
10334
10335         API additions: gst_ghost_pad_new_from_template,
10336         gst_ghost_pad_new_no_target_from_template
10337
10338 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10339
10340         * docs/random/ensonic/profiling.txt:
10341           Ideas about qos profiling.
10342
10343 2006-08-29  Wim Taymans  <wim@fluendo.com>
10344
10345         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10346         Code cleanups.
10347         Fix memleak.
10348
10349 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10350
10351         * gst/gstxml.c:
10352           Improve and detypofy docs.
10353
10354         * tests/check/Makefile.am:
10355         * tests/check/gst/.cvsignore:
10356         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10357           Add a basic test suite for GstXML.
10358
10359 2006-08-29  Wim Taymans  <wim@fluendo.com>
10360
10361         * gst/gstelement.c: (activate_pads), (clear_caps),
10362         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10363         Clear the pad caps when the element shut down all of the pads and
10364         is not streaming data that could modify the caps. 
10365         Fixes #352958.
10366
10367 2006-08-28  Michael Smith  <msmith@fluendo.com>
10368
10369         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10370           Revert previous change; I misunderstood single-segment mode.
10371
10372 2006-08-28  Michael Smith  <msmith@fluendo.com>
10373
10374         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10375           Unset DISCONT on buffers when using single-segment mode.
10376
10377 2006-08-28  Wim Taymans  <wim@fluendo.com>
10378
10379         * gst/gstcaps.c: (gst_caps_merge_structure):
10380         * gst/gstcaps.h:
10381         Fix docs and indentation again.
10382
10383         * tests/check/gst/gstquery.c: (GST_START_TEST):
10384         Fix leak in tests and add some more tests.
10385
10386 2006-08-28  Edward Hervey  <edward@fluendo.com>
10387
10388         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10389         Inform GstSegment of the last stop position in order for the current
10390         segment to have a proper duration if it doesn't have a specific stop
10391         position from which a duration could be calculated.
10392         This bug was noticeable when a non-flushing, non-update new segment was
10393         followed by another segment (all buffers from the new segment were being
10394         dropped).
10395
10396 2006-08-28  Wim Taymans  <wim@fluendo.com>
10397
10398         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10399         Small comment update.
10400
10401         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10402         (gst_identity_transform_ip):
10403         Drop-probability is broken, mention this in the code with a 
10404         FIXME and also in the property description.
10405         Make silent also be silent about the drop messages.
10406
10407 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10408
10409         * docs/manual/appendix-win32.xml:
10410           Remove mention of popt, we don't depend on that any
10411           longer (#353136). Add some comments pointing out that
10412           this section is slightly outdated.
10413
10414 2006-08-28  Wim Taymans  <wim@fluendo.com>
10415
10416         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10417
10418         * gst/gstquery.c: (gst_query_new_segment):
10419         * tests/check/gst/gstquery.c: (GST_START_TEST):
10420         Initialize variables when creating a new segment query.
10421         Fixes #353121.
10422
10423 2006-08-28  Wim Taymans  <wim@fluendo.com>
10424
10425         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10426
10427         * gst/gstelement.c: (gst_element_get_bus):
10428         * tests/check/gst/gstelement.c: (GST_START_TEST):
10429         Check for NULL before _reffing the bus. Fixes #353122.
10430
10431 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10432
10433         * docs/manual/basics-bus.xml:
10434           Docs update: fix wrong callback return value explanation; add
10435           some lines about the implicit relationship between main loop
10436           and main context; remove duplicate main loop variable declaration.
10437
10438 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10439
10440         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10441           Don't leak caps in unit test; add a few more simple
10442           checks. 
10443
10444 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10445
10446         * docs/gst/gstreamer-sections.txt:
10447         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10448         (gst_caps_structure_is_subset), (gst_caps_merge),
10449         (gst_caps_merge_structure):
10450         * gst/gstcaps.h:
10451         * libs/gst/base/gstbasetransform.c:
10452         (gst_base_transform_transform_caps):
10453         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10454           implement caps merging (fixes #352580)
10455
10456 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10457
10458         * tools/Makefile.am:
10459         * tools/gst-plot-timeline.py:
10460           add debug-log plotting developer tool (#340674)
10461
10462 2006-08-23  Wim Taymans  <wim@fluendo.com>
10463
10464         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10465         (gst_pad_stop_task):
10466         Improve debugging for task functions.
10467
10468         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10469         (gst_task_start), (gst_task_pause), (gst_task_join):
10470         Make sure that the task function started and finished after a 
10471         join(). 
10472         Don't try to push the task function on the threadpool multiple
10473         times.
10474         Improve the g_warning message with some useful suggestions
10475         about how to fix the problem. 
10476
10477 2006-08-23  Wim Taymans  <wim@fluendo.com>
10478
10479         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10480         Handle RESYNC correctly in _proxy_getcaps.
10481
10482 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10483
10484         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10485         (gst_xml_parse_memory), (gst_xml_get_element):
10486           Chain up to parent class in dispose function and also
10487           unref the elements in the toplevel_elements GList.
10488           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10489           Always return a reference in gst_xml_get_element() rather
10490           than only sometimes.
10491
10492         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10493           Don't leak GstXml object.
10494
10495 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10496
10497         * docs/gst/gstreamer-sections.txt:
10498         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10499         (gst_caps_merge):
10500         * gst/gstcaps.h:
10501         * libs/gst/base/gstbasetransform.c:
10502         (gst_base_transform_transform_caps):
10503           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10504           in a better way
10505
10506 2006-08-21  Edward Hervey  <edward@fluendo.com>
10507
10508         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10509         Implement GObject::dispose virtual method in GstXML so we can free the
10510         top_elements GList.
10511
10512 2006-08-21  Wim Taymans  <wim@fluendo.com>
10513
10514         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10515         (gst_buffer_create_sub):
10516         Copy duration/offset_end/caps when creating a subbuffer of the
10517         complete parent.
10518         Make the subbuffer read-only when we make the metadata writable for
10519         now. Fixes #351768.
10520
10521         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10522         Added check for metadata copy when creating subbuffers.
10523
10524 2006-08-21  Edward Hervey  <edward@fluendo.com>
10525
10526         * libs/gst/base/gstbasetransform.c:
10527         (gst_base_transform_buffer_alloc):
10528         Only call downstream buffer_alloc if transform element is passthrough
10529         or always_in_place. Closes #350449.
10530
10531 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10532
10533         * ChangeLog:
10534           ChangeLog surgery to add comments to previous changes
10535
10536 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10537
10538         * gst/gst.c:
10539           Add comments
10540
10541         * gst/gstpad.c: (gst_pad_set_active):
10542           Be more verbose in the log
10543
10544         * libs/gst/base/gstbasetransform.c:
10545         (gst_base_transform_transform_caps):
10546           Simplify caps to get rid of duplicates, fixes #345444
10547
10548 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10549
10550         * gst/gstvalue.c:
10551         * gst/gstvalue.h:
10552           Use these optimizations only internally.
10553
10554 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10555
10556         * gst/gstvalue.c: (gst_value_compare_list),
10557         (gst_value_compare_fraction_range),
10558         (gst_value_intersect_fraction_fraction_range),
10559         (gst_value_intersect_fraction_range_fraction_range),
10560         (gst_value_subtract_fraction_fraction_range),
10561         (gst_value_subtract_fraction_range_fraction_range),
10562         (gst_value_get_compare_func), (gst_value_compare),
10563         (gst_value_compare_with_func):
10564         * gst/gstvalue.h:
10565           Saves the expensive lookup of the compare function in many cases
10566          (#345444)
10567
10568 2006-08-18  Edward Hervey  <edward@fluendo.com>
10569
10570         * tests/check/gst/gstinfo.c: (gst_info_suite):
10571         Disable test that require gstdebug if it wasn't built in core.
10572
10573 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10574
10575         * docs/random/ensonic/logging.txt:
10576           update ideas
10577           
10578         * gst/gstinfo.c: (gst_debug_log_default):
10579           reorder fields, save some columns, add optional color codes for log
10580           levels
10581
10582 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10583
10584         * docs/random/ensonic/logging.txt:
10585           add ideas about making the logs a bit more useful
10586
10587 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10588
10589         * docs/pwg/advanced-events.xml:
10590         * docs/pwg/titlepage.xml:
10591           Update for 0.10 API (#340627). Add myself
10592           to authors list.
10593
10594 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10595
10596         * docs/libs/gstreamer-libs-docs.sgml:
10597         * docs/libs/gstreamer-libs-sections.txt:
10598         * libs/gst/check/gstbufferstraw.c:
10599           Make gstcheck stuff show up in docs (still needs to
10600           be documented properly though).
10601
10602 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10603
10604         * docs/gst/gstreamer-sections.txt:
10605         * gst/Makefile.am:
10606         * gst/gst.c: (init_post):
10607         * gst/gst_private.h:
10608         * gst/gstquark.c: (_priv_gst_quarks_initialize):
10609         * gst/gstquark.h:
10610         * gst/gstquery.c: (gst_query_new_position),
10611         (gst_query_set_position), (gst_query_parse_position),
10612         (gst_query_new_duration), (gst_query_set_duration),
10613         (gst_query_parse_duration), (gst_query_new_convert),
10614         (gst_query_set_convert), (gst_query_parse_convert),
10615         (gst_query_new_segment), (gst_query_set_segment),
10616         (gst_query_parse_segment), (gst_query_new_seeking),
10617         (gst_query_set_seeking), (gst_query_parse_seeking):
10618         Add internal helpers for pre-registering quarks from static strings
10619         and using the quark values directly instead of looking them up when
10620         creating and parsing queries. Can be used for event construction too.
10621         Closes #350432.
10622
10623 2006-08-16  Wim Taymans  <wim@fluendo.com>
10624
10625         * gst/gstbin.c:
10626         Fix bogus docs.
10627
10628 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10629
10630         * gst/gstutils.c: (gst_util_set_value_from_string):
10631           Fix memleak (#351502).
10632
10633         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10634           Add unit test for most of gst_util_set_value_from_string()
10635           (not that one would want to encourage use of this function).
10636
10637 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10638
10639         * libs/gst/check/gstcheck.h:
10640           Use const gchar * variables in fail_unless_equals_string
10641           macro to avoid compiler warnings (and don't use tabs for
10642           indenting).
10643
10644 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10645
10646         * tools/gst-launch.c: (print_tag):
10647           More space on the left for the tag names, to cater
10648           for the 'extended comment' tag (not touching the
10649           string for the first line since it's translated).
10650
10651 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10652
10653         * libs/gst/check/gstcheck.h:
10654           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10655           print something when they fail.
10656
10657 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10658
10659         * docs/gst/gstreamer-sections.txt:
10660         * gst/gsttaglist.c: (_gst_tag_initialize):
10661         * gst/gsttaglist.h:
10662           API: add GST_TAG_EXTENDED_COMMENT (#350935).
10663           Also change merge function for GST_TAG_COMMENT to
10664           use_first.
10665
10666 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10667
10668         * gst/gstinfo.c: (gst_debug_print_object):
10669           Make GST_PTR_FORMAT print messages as well.
10670
10671         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10672         (GST_START_TEST), (gst_info_suite):
10673           More tests.
10674
10675 2006-08-14  Edward Hervey  <edward@fluendo.com>
10676
10677         * gst/gstelementfactory.c: (gst_element_register):
10678         If the GstElementClass doesn't have a GstElementDetails with all fields
10679         filled up correctly (longname, description AND author), then error out
10680         nicely instead of crashing.
10681
10682 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10683
10684         * gst/gststructure.c:
10685           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10686
10687         * gst/gstvalue.h:
10688           Expand on the difference between arrays and lists as we use them.
10689           
10690 2006-08-14  Wim Taymans  <wim@fluendo.com>
10691
10692         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10693         If the parent state change function failed, don't assume we can safely
10694         stop the source, this will be done when the pads are deactivated.
10695
10696 2006-08-14  Wim Taymans  <wim@fluendo.com>
10697
10698         * gst/gstbuffer.c:
10699         * gst/gsttask.c: (gst_task_join):
10700         Small doc updates.
10701
10702         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10703         (gst_pad_stop_task):
10704         When pad (de)activation failed for some reason, restore the old
10705         activation mode and set the pad to flushing instead of assuming the
10706         pad is deactivated.
10707         If the _task_join() failed, reinstall the task on the pad so that it can
10708         be stopped later and return an error.
10709
10710 2006-08-11  Andy Wingo  <wingo@pobox.com>
10711
10712         * configure.ac:
10713         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10714         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10715         is only for users of API that don't want to see deprecated
10716         functions in the headers; people that want to compile out
10717         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10718         CFLAGS. Fixes the build of multifdsink, or will soon..
10719
10720 2006-08-11  Wim Taymans  <wim@fluendo.com>
10721
10722         * docs/gst/gstreamer-sections.txt:
10723         Add GstClockClass vmethod docs.
10724
10725         * gst/gstcaps.h:
10726         Mark #endif with comment for associated #if
10727
10728         * gst/gstclock.c: (gst_clock_id_wait):
10729         * gst/gstclock.h:
10730         Add vmethod wait_jitter to avoid an unneeded _get_time() for
10731         most clock implementations.
10732         Document vmethods.
10733         Flesh out docs about resolution methods.
10734         API: GstClockClass::wait_jitter
10735
10736         * gst/gstsystemclock.c: (gst_system_clock_class_init),
10737         (gst_system_clock_async_thread),
10738         (gst_system_clock_id_wait_jitter_unlocked),
10739         (gst_system_clock_id_wait_jitter):
10740         Use base class wait_jitter variant for improved performance
10741         due to less clock polling.
10742
10743 2006-08-11  Edward Hervey  <edward@fluendo.com>
10744
10745         * gst/gst.c: (gst_init_check), (init_post):
10746         Set gst as being initialized before scanning/updating the registry,
10747         since there might be my python plugin loader that calls gst_init() and
10748         we don't want to loop back in.
10749         Closes #350879
10750
10751 2006-08-11  Wim Taymans  <wim@fluendo.com>
10752
10753         * docs/design/part-qos.txt:
10754         Bring docs in line with the code. Mostly the sign of the jitter was
10755         wrong in the docs. Fixes #349943.
10756
10757         * gst/gstclock.c:
10758         Fix the docs for the jitter.
10759
10760         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10761         (gst_event_parse_tag), (gst_event_new_buffer_size),
10762         (gst_event_parse_buffer_size), (gst_event_parse_qos),
10763         (gst_event_new_seek), (gst_event_parse_seek),
10764         (gst_event_new_navigation):
10765         Make sure the GstStructure has no parent when creating custom
10766         events.
10767         Add some more argument checking so that we avoid 0.0 rates.
10768         Flesh out the docs for the QoS event some more.
10769
10770 2006-08-11  Wim Taymans  <wim@fluendo.com>
10771
10772         * docs/gst/gstreamer-sections.txt:
10773         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10774         (ensure_current_registry_forking), (ensure_current_registry),
10775         (parse_one_option), (parse_goption_arg), (gst_deinit),
10776         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10777         * gst/gst.h:
10778         Doc updates.
10779         Added API and command line option to disable registry forking in
10780         addition to the environment variable.
10781         Constify some static arrays.
10782         Added some more debug.
10783         Don't deinit twice.
10784         API: gst_registry_fork_is_enabled()
10785         API: gst_registry_fork_set_enabled()
10786         API: --gst-disable-registry-fork command line option
10787         Fixes #348918.
10788
10789 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
10790
10791         * gst/gst.c: (gst_init):
10792           Fix typo in error message.
10793
10794 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10795
10796         * libs/gst/controller/gstcontroller.h:
10797           fix ABI size-correction
10798
10799         * tests/check/libs/gdp.c: (gst_dp_suite):
10800           make tests that use deprecated API conditional
10801
10802 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10803
10804         * docs/libs/gstreamer-libs-sections.txt:
10805         * libs/gst/controller/gstcontroller.c:
10806         (_gst_controller_get_property), (_gst_controller_set_property),
10807         (_gst_controller_init), (_gst_controller_class_init):
10808         * libs/gst/controller/gstcontroller.h:
10809         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10810         (gst_object_set_control_rate):
10811           API: add gst_object_{s,g}et_control_rate(), add private data section,
10812           fix docs
10813
10814         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10815         * libs/gst/dataprotocol/dataprotocol.h:
10816           add deprecation guards to make gtk-doc happy and allow disabling cruft
10817
10818 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
10819
10820         * tests/check/Makefile.am:
10821         * tests/check/gst/.cvsignore:
10822           Let's enable the new unit test as well.
10823
10824 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
10825
10826         * configure.ac:
10827         * docs/gst/gstreamer-sections.txt:
10828         * gst/gstconfig.h.in:
10829         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10830         (_gst_info_printf_extension_ptr),
10831         (_gst_info_printf_extension_segment):
10832           API: add GST_SEGMENT_FORMAT, which is a printf extension we
10833           register that lets us easily dump GstSegments into debug
10834           logs (#350419).
10835
10836         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10837         (info_segment_format_printf_extension), (gst_info_suite):
10838           Add simple unit test that logs a bunch of different segments (not
10839           valgrinded at the moment because of leaks in
10840           gst_debug_add_log_function).
10841
10842 2006-08-09  Edward Hervey  <edward@fluendo.com>
10843
10844         * libs/gst/base/gstbasetransform.c:
10845         (gst_base_transform_buffer_alloc):
10846         Even if we can't figure out the proper format to request downstream,
10847         call buffer_alloc() downstream with the input parameters without setting
10848         the caps on the srcpad. This will force negotiation in the chain
10849         function.
10850         Closes #350449
10851
10852 2006-08-08  Edward Hervey  <edward@fluendo.com>
10853
10854         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10855         Unlinking from a pad without a target is now a perfectly valid case
10856         which should NOT raise an assertion.
10857         This case would happen if a linked ghostpad its target set to NULL after
10858         it was previously linked.
10859
10860 2006-08-08  Edward Hervey  <edward@fluendo.com>
10861
10862         * tests/check/libs/gdp.c:
10863         Also comment out the test (see below).
10864
10865 2006-08-08  Edward Hervey  <edward@fluendo.com>
10866
10867         * tests/check/libs/gdp.c: (gst_dp_suite):
10868         Use the architecture information from config.h and not gcc macros
10869         in order to properly disable a test that fails on PPC64.
10870
10871 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
10872
10873         * gst/gstelement.c: (gst_element_remove_pad):
10874           Don't crash printing the warning if the pad has no parent.
10875
10876 2006-08-02  Wim Taymans  <wim@fluendo.com>
10877
10878         * libs/gst/dataprotocol/dataprotocol.c:
10879         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10880         (gst_dp_crc), (gst_dp_header_payload_length),
10881         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10882         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10883         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10884         (gst_dp_event_from_packet), (gst_dp_validate_header),
10885         (gst_dp_validate_payload):
10886         Make debug category static
10887         Constify the crc table.
10888         Do some more arg checking in public functions.
10889         Fix some docs and do some small cleanups.
10890
10891         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10892         Add some more checks to see if GDP deals with bogus input.
10893
10894 2006-07-31  Wim Taymans  <wim@fluendo.com>
10895
10896         * gst/gstvalue.c: (gst_value_compare_list):
10897         Fix GstValueList comparison code. Fixes #347293.
10898
10899         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10900         Check to test GstValueList comparison.
10901
10902 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
10903
10904         * gst/gstelementfactory.c: (gst_element_factory_create):
10905         Remove unnecessary ref/unref pair
10906
10907         * gst/parse/grammar.y:
10908         Make sure to free the parse buffer on all code paths.
10909         Move a g_free up to the error handler where it's easier to see.
10910
10911         * tests/check/gst/gstevent.c: (test_event):
10912         Extending timeout for downstream travelling events to 10 seconds to
10913         hopefully avoid intermittent failure on the buildbots.
10914
10915         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
10916         Don't manually set the state of the src element - it will happen as a
10917         natural consequence of the pipeline changing state, and that way it
10918         will do it in the right order too.
10919
10920 2006-07-31  Wim Taymans  <wim@fluendo.com>
10921
10922         * libs/gst/base/gstbasetransform.c:
10923         (gst_base_transform_buffer_alloc):
10924         Use OBJECT_LOCK and refcounting to get the pad caps in the
10925         buffer_alloc function because the caps could change while we are
10926         busy with them. Fixes #349105
10927
10928 2006-07-31  Wim Taymans  <wim@fluendo.com>
10929
10930         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
10931         Protect _PAD_CAPS with OBJECT_LOCK.
10932
10933 2006-07-31  Wim Taymans  <wim@fluendo.com>
10934
10935         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10936         (gst_pad_get_property), (gst_pad_activate_pull),
10937         (gst_pad_activate_push), (gst_pad_set_blocked_async),
10938         (gst_pad_set_activate_function),
10939         (gst_pad_set_activatepull_function),
10940         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
10941         (gst_pad_set_getrange_function),
10942         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
10943         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10944         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
10945         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
10946         (gst_pad_set_acceptcaps_function),
10947         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10948         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
10949         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
10950         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
10951         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
10952         (gst_pad_configure_sink), (gst_pad_configure_src),
10953         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
10954         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
10955         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
10956         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
10957         (gst_pad_send_event):
10958         Use _DEBUG_OBJECT when it makes sense.
10959         Protect GST_PAD_CAPS with the OBJECT_LOCK.
10960         Small cleanups and code reflows.
10961         Avoid caps refcounting in _accept_caps.
10962         Refactor alloc_buffer so that the code performed on the peer is in a
10963         separate function. Also if the pad does not implement a buffer alloc
10964         function, we should still check if the pad is flushing before falling
10965         back to the default allocator.
10966
10967 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
10968
10969         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10970         Make all uses of identity and fakesink have silent=true to avoid
10971         serialising every passing data structure, which is breaking tests
10972         on FC4 for some unknown reason.
10973
10974 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
10975
10976         * gst/parse/Makefile.am:
10977         * gst/parse/grammar.y:
10978         * gst/parse/parse.l:
10979           Reverted previous patch as it required to bump the flex dependency to
10980           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
10981
10982 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
10983
10984         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
10985
10986         * gst/parse/Makefile.am:
10987         * gst/parse/grammar.y:
10988         * gst/parse/parse.l:
10989           push & pop the state of the lexer for reentrant use case
10990           Fixes #349180
10991
10992 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
10993
10994         * libs/gst/base/gstbasesrc.h:
10995           Note in the docs that the ::newsegment vfunc is not actually used by
10996           GstBaseSrc.
10997
10998 2006-07-28  Wim Taymans  <wim@fluendo.com>
10999
11000         * libs/gst/base/gstcollectpads.c:
11001         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11002         (gst_collect_pads_clear), (gst_collect_pads_flush),
11003         (gst_collect_pads_event), (gst_collect_pads_chain):
11004         When flushing a pad, also clear the queued buffer so that we don't
11005         accidentally use it when we shouldn't.
11006         Fix leaks by inreffing incomming buffer.
11007         Flush out queued buffers in case of errors.
11008         Fixes #347452.
11009
11010 2006-07-28  Wim Taymans  <wim@fluendo.com>
11011
11012         * docs/random/phonon-gst:
11013         Random notes about a Phonon backend.
11014
11015 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11016
11017         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11018         Extra debug output
11019         * tests/check/libs/gdp.c: (gst_dp_suite):
11020         Take a whack at fixing the ppc compile using a different define to
11021         disable the broken test.
11022
11023         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11024         Remove excess g_print()
11025
11026 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11027
11028         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11029         Oops, meant to uncomment this line too to dampen the noise a bit.
11030
11031 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11032
11033         * gst/parse/grammar.y:
11034         * gst/parse/parse.l:
11035         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11036         (GST_START_TEST), (parse_suite):
11037         Fix some of the leaks exposed by extending the parse-launch testsuite,
11038         and move the 3 I can't figure out into a separate test that won't run
11039         the pipelines unless the appropriate line is uncommented.
11040
11041 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11042
11043         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11044           Requesting 0 bytes before the end of the file should result in
11045           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11046           unit test.
11047
11048 2006-07-27  Wim Taymans  <wim@fluendo.com>
11049
11050         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11051         Fix useless assert, a uint is always positive.
11052
11053         * gst/gststructure.c: (gst_structure_nth_field_name),
11054         (gst_structure_foreach), (gst_structure_map_in_place):
11055         Check input arguments for public functions to avoid obvious crashes.
11056
11057         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11058         * plugins/elements/gstfakesink.h:
11059         Do less useless typechecking.
11060
11061 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11062
11063         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11064           Do not use mmap() by default since there are a number of error
11065           conditions that we would like to handle in a non-fatal way that
11066           will result in a SIGBUS if we use mmap(). Examples: external
11067           devices (USB harddrive, portable music player) being unplugged
11068           while in use; file on mounted CD/DVD that can't be read because
11069           the medium is partly damaged. Fixes #348455 and #348475.
11070
11071 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11072
11073         * gst/gstquery.h:
11074         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11075         rates are a gdouble
11076
11077 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11078
11079         * gst/gstregistry.c:
11080           Move big documentation comment into class section header, so that it
11081           appears in the API docs.
11082
11083 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11084
11085         * docs/gst/gstreamer-sections.txt:
11086         Oops. Commit the docs additions too for new API.
11087         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11088
11089 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11090
11091         * gst/gststructure.c: (gst_structure_id_set),
11092         (gst_structure_id_set_valist):
11093         * gst/gststructure.h:
11094         Add API for setting values into structures without performing
11095         a quark lookup, if the appropriate quark is already known.
11096
11097         API: gst_structure_id_set
11098         API: gst_structure_id_set_valist
11099
11100         * gst/parse/grammar.y:
11101         * gst/parse/parse.l:
11102         Remove some dead code shown by the coverage information.
11103         Don't throw a critical g_warning when encountering a syntax error,
11104         just warn and let the normal error path handle it.
11105
11106         * plugins/elements/gstelements.c:
11107         Bump the rank of filesink up to PRIMARY so that it is preferred over
11108         gnomevfssink for file:// sink uri's
11109
11110         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11111         (GST_START_TEST), (run_delayed_test),
11112         (gst_parse_test_element_base_init),
11113         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11114         (gst_parse_test_element_change_state),
11115         (gst_register_parse_element), (parse_suite):
11116         Beef up the tests for parse syntax to check that more error cases
11117         fail as they are supposed to. Increases the test coverage a bit.
11118
11119 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11120
11121         * docs/manual/basics-elements.xml:
11122           Fix gst_element_link() example.
11123
11124         * gst/gstutils.c:
11125           Mention in API docs that one should usually gst_bin_add()
11126           elements to a bin or pipeline before doing the linking.
11127           
11128 2006-07-26  Wim Taymans  <wim@fluendo.com>
11129
11130         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11131         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11132         Avoid function call for known types by keeping the buffer and
11133         subbuffer GType global.
11134
11135         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11136         Random silly optimisations in read() path.
11137
11138 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11139
11140         * tools/gst-launch.c: (main):
11141           If the top-level of the parse is a normal bin, it doesn't do the
11142           right logic to run as a top-level element, so place it inside a
11143           pipeline.
11144
11145 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11146
11147         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11148           Remove superfluous g_object_notify() calls, GObject does
11149           that for us automatically.
11150
11151 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11152
11153         * gst/gstinfo.h:
11154           on Win32, use dllspec to export the debug category symbols
11155
11156 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11157
11158         * gst/gsttaglist.c: (_gst_tag_initialize):
11159           Allow more than one GST_TAG_IMAGE per taglist.
11160
11161 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11162
11163         * gst/gstminiobject.c:
11164           update docs
11165         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11166         (gst_fd_src_create):
11167           log recurring events at LOG level
11168           add more debug for when the fd gets set
11169
11170 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11171
11172         * gst/gstparse.c: (gst_parse_launch):
11173           Also remove reentrance checks if flex is MT safe (#348179)
11174          Fix my empty ChangeLog entry below
11175
11176 2006-07-21  Andy Wingo  <wingo@pobox.com>
11177
11178         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11179
11180         * libs/gst/check/Makefile.am
11181         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11182         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11183         * libs/gst/check/gstbufferstraw.h:
11184         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11185         functions, thus proving I am still a GStreamer haxor. OK I wrote
11186         them a long time ago, but anyways.
11187
11188 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11189
11190         * configure.ac:
11191         * gst/gstparse.c: (gst_parse_launch):
11192           Check for flex version and omit mutex if we have a MT save flex
11193           (fixes #348179)
11194
11195 2006-07-21  Wim Taymans  <wim@fluendo.com>
11196
11197         * gst/gstparse.c: (gst_parse_launch):
11198         Protect recursive calls to _parse with a recursive mutex
11199         and busy flag.
11200
11201 2006-07-21  Wim Taymans  <wim@fluendo.com>
11202
11203         * tests/check/gst/gstpad.c: (GST_START_TEST):
11204         Fix leak in test.
11205
11206 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11207
11208         * gst/gstparse.c: (gst_parse_launch):
11209           Do not hang on recursive usage of gst_parse_launch()
11210
11211 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11212
11213         * gst/gsttaglist.c:
11214           Add some more docs, comments and FIXME 0.11s here and there
11215           and also fix some typos.
11216
11217 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11218
11219         * gst/gstsegment.h:
11220           Convert tabs to spaces for better readability. 
11221
11222 2006-07-20  Edward Hervey  <edward@fluendo.com>
11223
11224         * tests/check/libs/gdp.c: (gst_dp_suite):
11225         the test_buffer test fails at line 140 on ppc64 at the following
11226         check:
11227         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11228                 GST_BUFFER_FLAG_IN_CAPS),
11229                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11230         See bug #348114 for more details.
11231
11232 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11233
11234         * docs/pwg/advanced-scheduling.xml:
11235         * gst/gstpad.c:
11236           Fix typos (#348000).
11237
11238 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11239
11240         * docs/pwg/intro-basics.xml:
11241           Fix wrong links (#347927).
11242
11243 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11244
11245         * gst/gstregistry.h:
11246         * gst/gstregistryxml.c: (load_feature),
11247         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11248         * win32/common/config.h:
11249           make --disable-index work (#342564)
11250
11251 2006-07-18  Wim Taymans  <wim@fluendo.com>
11252
11253         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11254
11255         * gst/Makefile.am:
11256         * gst/gsttrace.h:
11257         The attached patch adds two missing defines to gsttrace.h when tracing
11258         is disabled.  It also corrects one existing define.
11259         Fixes #347756.
11260
11261 2006-07-17  Wim Taymans  <wim@fluendo.com>
11262
11263         * docs/gst/gstreamer-sections.txt:
11264         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11265         * gst/gst.h:
11266         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11267         Add two functions to check and change the SIGSEGV behaviour
11268         when loading plugins.
11269         Don't mess with the SIGSEGV handler when we were told not to.
11270         Fixes #347794.
11271         API: gst_segtrap_is_enabled
11272         API: gst_segtrap_set_enabled
11273
11274 2006-07-14  Wim Taymans  <wim@fluendo.com>
11275
11276         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11277         * tests/check/elements/filesrc.c: (GST_START_TEST):
11278         Revert fix for regression in #347408 after release.
11279
11280 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11281
11282         Patch by: Antoine Tremblay <hexa00 at gmail com>
11283
11284         * gst/gstutils.c: (gst_element_unlink):
11285           Free iterator when done (#347311).
11286
11287         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11288           And add a test case for this.
11289
11290 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11291
11292         * configure.ac:
11293         Bump nano back to CVS
11294
11295 === release 0.10.9 ===
11296
11297 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11298
11299         * configure.ac:
11300           releasing 0.10.9, "On the road again"
11301
11302 2006-07-13  Wim Taymans  <wim@fluendo.com>
11303
11304         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11305         * tests/check/elements/filesrc.c: (GST_START_TEST):
11306         Revert pull-0 fix for release. Disable check. Fixes #347408.
11307
11308 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11309
11310         * libs/gst/dataprotocol/dataprotocol.c:
11311         (gst_dp_event_from_packet_1_0):
11312           Fixes #347337: failure to deserialize event packets with
11313           empty payload (only event type)
11314
11315 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11316
11317         * gst/Makefile.am:
11318           do not install a .c file in the header directory
11319
11320 2006-07-13  Edward Hervey  <edward@fluendo.com>
11321
11322         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11323         GhostPad no longer implicitely use the padtemplates of the targets.
11324         Fixes #347384
11325
11326 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11327
11328         * gst/gstvalue.c: (gst_value_compare_list),
11329         (gst_value_compare_array), (_gst_value_initialize):
11330         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11331         Make GstValueArray comparison be order dependent as designed.
11332         Add checks for value lists and value array comparisons.
11333         Fixes #347221
11334
11335 2006-07-11  Edward Hervey  <edward@fluendo.com>
11336
11337         * gst/gstbin.c: (activate_pads),
11338         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11339         (gst_bin_change_state_func):
11340         (de)activate src pads before calling state_change on the childs.
11341         This is to avoid the case where a src ghostpad is blocked (holding the
11342         stream lock), which would block the deactivation of the ghostpad's
11343         target pad.
11344         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11345         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11346         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11347         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11348         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11349         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11350         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11351         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11352         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11353         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11354         (gst_ghost_pad_class_init),
11355         (gst_ghost_pad_internal_do_activate_push),
11356         (gst_ghost_pad_internal_do_activate_pull),
11357         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11358         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11359         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11360         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11361         GhostPads now create their internal GstProxyPad at creation (and not
11362         when they're linked, as it was being done previously).
11363         The internal and target pads are linked straight away.
11364         The data will also travel through the other pad in order to make
11365         pad blocking and probes non-hackish (the probe/block now really happens
11366         on the GhostPad and not on the target).
11367         * gst/gstpad.c: (gst_pad_set_blocked_async),
11368         (gst_pad_link_prepare), (gst_pad_push_event):
11369         Remove previous ghostpad cruft.
11370         * gst/gstutils.c: (gst_pad_add_data_probe),
11371         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11372         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11373         (gst_pad_remove_buffer_probe):
11374         Remove previous ghost pad cruft.
11375         Added more detailed debug statements.
11376         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11377         Fix the testsuite for refcounting changes.
11378         The comments about who has references were correct, but the refcount
11379         being checked wasn't the same (!?!).
11380
11381         Fixes #341029
11382
11383 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11384
11385         * docs/gst/gstreamer-sections.txt:
11386         * gst/gstconfig.h.in:
11387         More docs for configuration options, add docs to gtk-doc.
11388
11389 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11390
11391         * gst/Makefile.am:
11392         * gst/gstconfig.h.in:
11393         * win32/common/config.h:
11394         Fix build when disabling tracing (fixes #344016). Also start to document
11395         the defines that disable the sub-systems.
11396
11397 2006-07-10  Edward Hervey  <edward@fluendo.com>
11398
11399         * gst/gst.c: (ensure_current_registry_forking):
11400         let's make valgrind happy...
11401
11402 2006-07-09  Wim Taymans  <wim@fluendo.com>
11403
11404         * gst/gstelement.c: (activate_pads),
11405         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11406         Better pad activation code: Reset the collect value too on resync.
11407         Add some comments.
11408
11409 2006-07-09  Wim Taymans  <wim@fluendo.com>
11410
11411         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11412         (gst_pad_activate_push):
11413         Use some more macros where it makes sense.
11414         Allow pad mode switching instead of asserting. When a pad
11415         is activated in one mode and we activate it in another, 
11416         deactivate it first before activating it in a different mode.
11417         Fixes #329198.
11418
11419 2006-07-08  Andy Wingo  <wingo@pobox.com>
11420
11421         * tools/gst-launch.c (main): Handle err == NULL.
11422
11423         * gst/gst.c (init_post, ensure_current_registry)
11424         (ensure_current_registry_forking)
11425         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11426         factoring out the registry scanning into separate functions. Don't
11427         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11428         Better environment var name/interface suggestions accepted.
11429
11430 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11431
11432         * gst/gstobject.c: (gst_object_set_name_default),
11433         (gst_object_set_name):
11434           Random micro-optimisation: don't use a hash table
11435           with strings as keys and the usual strdup/strcmp
11436           involved, but rather just use the GQuark of the
11437           type name as key, since it needs to be looked up
11438           anyway to get the type name string.
11439
11440         * tests/check/gst/gstobject.c: (GST_START_TEST):
11441           Fix various leaks.
11442
11443 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11444
11445         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11446         (gst_bin_iterate_all_by_interface):
11447           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11448           GTypes are gulongs and thus the top 4 bytes might be cut
11449           off on some platforms when doing GPOINTER_TO_INT, leading
11450           to invalid GTypes and bad things happening (see RH bug #179654).
11451           Also add a check to make sure the type passed in is really
11452           an interface type.
11453
11454 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11455
11456         * .cvsignore:
11457           Ignore more.
11458
11459 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11460
11461         * Makefile.am:
11462         * configure.ac:
11463         * gst-element-check.m4:
11464         * gst-element-check.m4.in:
11465           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11466           instead of the unversioned gst-inspect (#324176, #168659).
11467
11468 2006-07-06  Wim Taymans  <wim@fluendo.com>
11469
11470         * gst/gstmessage.h:
11471         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11472         warnings.
11473
11474 2006-07-06  Wim Taymans  <wim@fluendo.com>
11475
11476         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11477         (gst_base_src_wait), (gst_base_src_update_length),
11478         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11479         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11480         (gst_base_src_loop), (gst_base_src_start),
11481         (gst_base_src_activate_pull):
11482         Update docs.
11483         blocksize == 0 now means the default blocksize when working in push
11484         based mode.
11485         Remove some pointless asserts in _wait function.
11486         Fix offset/length calculations and EOS handling. We can now pull 0
11487         bytes as well, which is allowed.
11488         use _check_get_range() to decide if we can operate in _pull based
11489         mode.
11490         Fix refcounting leak when check_get_range function was not 
11491         implemented.
11492         API GstBaseSrc::blocksize range can be 0 too now (default)
11493
11494         * tests/check/elements/filesrc.c: (GST_START_TEST),
11495         (filesrc_suite):
11496         Added check to test _get_range() behaviour.
11497
11498 2006-07-06  Wim Taymans  <wim@fluendo.com>
11499
11500         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11501         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11502         (gst_pad_pull_range):
11503         * gst/gstpad.h:
11504         Lots of comments and docs added to the pad functions.
11505         Flesh out the expected behaviour of the get_range() functions.
11506
11507 2006-07-06  Wim Taymans  <wim@fluendo.com>
11508
11509         * gst/gstbus.h:
11510         * gst/gstclock.h:
11511         * gst/gstevent.h:
11512         * gst/gstiterator.h:
11513         * gst/gstpad.h:
11514         * gst/gstplugin.h:
11515         * gst/gsttask.h:
11516         Remove comma at end of enumerator list. 
11517
11518 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11519
11520         * win32/common/libgstbase.def:
11521         * win32/common/libgstdataprotocol.def:
11522         * win32/common/libsgtreamer.def:
11523         Add new exported functions.
11524
11525 2006-07-05  Wim Taymans  <wim@fluendo.com>
11526
11527         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11528         Add some more docs here and there.
11529
11530 2006-07-05  Wim Taymans  <wim@fluendo.com>
11531
11532         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11533         (gst_base_sink_loop), (gst_base_sink_get_position):
11534         When operating in pull mode update the offset so that we
11535         read sequentially.
11536
11537 2006-07-05  Wim Taymans  <wim@fluendo.com>
11538
11539         * gst/gstregistryxml.c: (read_string):
11540         Avoid strdup. (will happen in libxml, but hey!)
11541
11542         * gst/gsturi.c:
11543         Add some more docs.
11544
11545 2006-07-05  Wim Taymans  <wim@fluendo.com>
11546
11547         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11548         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11549         (gst_buffer_suite):
11550         No point in checking if the size of the subbuffer > 0, the
11551         code handles it correclty as demonstrated by unit test.
11552         Also add a unit test for the zero sized _new_and_alloc and
11553         _copy. Fixes #346663.
11554
11555 2006-07-05  Wim Taymans  <wim@fluendo.com>
11556
11557         * libs/gst/base/gstbasetransform.c:
11558         (gst_base_transform_prepare_output_buffer),
11559         (gst_base_transform_buffer_alloc),
11560         (gst_base_transform_handle_buffer):
11561         Make sure the buffer we pass to transform_ip has a refcount of
11562         1 and thus is writable. Fixes #343196
11563
11564 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11565
11566         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11567         (gst_file_src_init), (gst_file_src_set_property),
11568         (gst_file_src_get_property), (gst_file_src_map_region):
11569         * plugins/elements/gstfilesrc.h:
11570         Add "sequential" property, off by default, to use madvise and hint
11571         to the kernel that sequential access is desired.
11572         Touch all retrieved pages by default to ensure they are pulled
11573         into memory. (Closes #345720)
11574
11575 2006-07-03  Wim Taymans  <wim@fluendo.com>
11576
11577         * docs/design/part-block.txt:
11578         * docs/design/part-dynamic.txt:
11579         Small docs updates.
11580
11581 2006-07-03  Wim Taymans  <wim@fluendo.com>
11582
11583         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11584         (gst_caps_unref), (gst_static_caps_get),
11585         (gst_caps_append_structure):
11586         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11587         Use GSlice when the glib we build against is >= 2.10
11588
11589 2006-07-03  Wim Taymans  <wim@fluendo.com>
11590
11591         * gst/gstelement.c: (gst_element_pads_activate):
11592         Small cleanup in pad activation code.
11593
11594 2006-07-03  Wim Taymans  <wim@fluendo.com>
11595
11596         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11597
11598         * gst/gst-i18n-app.h:
11599         * gst/gst-i18n-lib.h:
11600         * tools/gst-inspect.c: (print_signal_info):
11601         The attached patch will make the inclusion of gettext.h unconditional in
11602         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11603         libintl.h in tools/gst-inspect.c.
11604         This allows use of --disable-nls again and fixes #344642.
11605
11606 2006-07-03  Edward Hervey  <edward@fluendo.com>
11607
11608         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11609         Implement pad blocking on events according to part-block.txt.
11610         More comments on behaviour.
11611         * tests/check/gst/gstevent.c: (test_event):
11612         Send event to peer pad of blocked pad (else it will block).
11613
11614 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11615
11616         * libs/gst/check/gstcheck.c: (gst_check_message_error),
11617         (gst_check_run_suite):
11618           if we get the wrong message, give us the types as string
11619         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11620           Fix a translatable
11621         * tests/check/elements/filesrc.c: (GST_START_TEST):
11622           add a test for trying to open a non-existing file
11623
11624 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11625
11626         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11627           add a test for adding self
11628
11629 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11630
11631         * libs/gst/check/gstcheck.h:
11632           add some assert_ as alias for fail_unless_*
11633         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11634           increase test coverage
11635
11636 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11637
11638         * Makefile.am:
11639           include lcov.mak for lcov coverage generation
11640         * tools/Makefile.am:
11641           add to CLEANFILES
11642
11643 2006-07-02  Edward Hervey  <edward@fluendo.com>
11644
11645         * tests/check/elements/.cvsignore:
11646         moaping
11647
11648 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11649
11650         * configure.ac:
11651           don't set CFLAGS and friends for gcov, done from GST_GCOV now
11652         * tests/check/Makefile.am:
11653           clean up gcov files
11654
11655 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11656
11657         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11658           remove gst_caps_simplify; it was not declared and not used
11659           and deprecated in 0.8
11660
11661 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11662
11663         * docs/faq/gst-uninstalled:
11664           don't put empty paths on PYTHONPATH
11665         * docs/gst/gstreamer-sections.txt:
11666           remove some symbols that are not there
11667
11668 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11669
11670         * gst/gstcaps.c: (gst_caps_compare_structures):
11671           whitespace fixes
11672         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11673         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11674           add more tests
11675
11676 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11677
11678         * libs/gst/dataprotocol/Makefile.am:
11679           build dataprotocol test by linking to the lib, instead of
11680           compiling the source, so we get coverage
11681         * tests/check/Makefile.am:
11682         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11683         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11684           add a test for filesrc
11685
11686 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11687
11688         * tests/check/gst/gststructure.c: (GST_START_TEST),
11689         (gst_structure_suite):
11690           Push coverage from 59.04% to 70.00%
11691
11692 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11693
11694         * tests/check/Makefile.am:
11695           gst-inspect every element; this makes sure that we also get
11696           coverage on element's get/set functions
11697
11698 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11699
11700         * configure.ac:
11701           set CFLAGS and friends to -O0 if gcov is being used
11702           add GCOV LIBS
11703         * gst/Makefile.am:
11704         * libs/gst/base/Makefile.am:
11705         * libs/gst/check/Makefile.am:
11706         * libs/gst/controller/Makefile.am:
11707         * libs/gst/dataprotocol/Makefile.am:
11708         * libs/gst/net/Makefile.am:
11709         * plugins/elements/Makefile.am:
11710         * plugins/indexers/Makefile.am:
11711           add makefile rules to generate gcov data and clean up
11712         * tests/check/Makefile.am:
11713           add a coverage target that generates an html overview
11714           of coverage data
11715
11716 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11717
11718         * tests/check/elements/fakesink.c:
11719         * tests/check/elements/fakesrc.c:
11720         * tests/check/elements/fdsrc.c:
11721         * tests/check/elements/identity.c:
11722         * tests/check/generic/sinks.c: (gst_sinks_suite):
11723         * tests/check/generic/states.c:
11724         * tests/check/gst/gst.c:
11725         * tests/check/gst/gstabi.c:
11726         * tests/check/gst/gstbin.c:
11727         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11728         * tests/check/gst/gstbus.c: (gst_bus_suite):
11729         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11730         * tests/check/gst/gstelement.c:
11731         * tests/check/gst/gstevent.c: (gst_event_suite):
11732         * tests/check/gst/gstghostpad.c:
11733         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11734         * tests/check/gst/gstmessage.c: (gst_message_suite):
11735         * tests/check/gst/gstminiobject.c:
11736         * tests/check/gst/gstobject.c:
11737         * tests/check/gst/gstpad.c:
11738         * tests/check/gst/gstpipeline.c:
11739         * tests/check/gst/gstplugin.c:
11740         * tests/check/gst/gstquery.c: (gst_query_suite):
11741         * tests/check/gst/gstsegment.c: (gst_segment_suite):
11742         * tests/check/gst/gststructure.c:
11743         * tests/check/gst/gstsystemclock.c:
11744         * tests/check/gst/gsttag.c:
11745         * tests/check/gst/gsttask.c: (gst_task_suite):
11746         * tests/check/gst/gstutils.c:
11747         * tests/check/gst/gstvalue.c:
11748         * tests/check/libs/adapter.c:
11749         * tests/check/libs/basesrc.c:
11750         * tests/check/libs/collectpads.c:
11751         * tests/check/libs/controller.c:
11752         * tests/check/libs/gdp.c: (gst_dp_suite):
11753         * tests/check/libs/gstnetclientclock.c:
11754         * tests/check/libs/gstnettimeprovider.c:
11755         * tests/check/libs/libsabi.c: (libsabi_suite):
11756         * tests/check/libs/typefindhelper.c:
11757         * tests/check/pipelines/cleanup.c:
11758         * tests/check/pipelines/parse-launch.c:
11759         * tests/check/pipelines/simple-launch-lines.c:
11760         * tests/check/pipelines/stress.c: (stress_suite):
11761           use the new macro
11762
11763 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11764
11765         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11766         * libs/gst/check/gstcheck.h:
11767           create a macro and function so that the simple unit test
11768           case can be just one macro to create main()
11769
11770 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
11771
11772         * gst/gstbin.c: (gst_bin_restore_thyself):
11773         * gst/gstxml.c: (gst_xml_make_element):
11774           Fix deserialisation from XML. Set parent manually
11775           instead of using gst_bin_add(), since gst_bin_add()
11776           will unlink all pads of the element being added.
11777           Fixes #341667.
11778
11779 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
11780
11781         Patch by: Peter Kjellerstedt <pkj at axis com>
11782
11783         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11784           Fix missing g_strdup() and double free when using the
11785           --gst-plugin-load command line option (#346097).
11786
11787 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11788
11789         * gst/gstinfo.c:
11790           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11791
11792         * libs/gst/net/gstnetclientclock.c:
11793         * libs/gst/net/gstnettimeprovider.c:
11794           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11795
11796 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11797
11798         * docs/manual/advanced-dataaccess.xml:
11799           Fix buffer probe example compilation in
11800           ADM (#345708).
11801         
11802 2006-06-22  Edward Hervey  <edward@fluendo.com>
11803
11804         * gst/gstelement.c: (gst_element_pads_activate):
11805         We need to deactivate src pads first and then sink pads.
11806         The reason is the src pads might be blocking while holding the streaming
11807         lock, so we need to deactivate them first so that deactivating the sink
11808         pads doesn't block (since it will require the streaming lock).
11809
11810 2006-06-22  Wim Taymans  <wim@fluendo.com>
11811
11812         * libs/gst/base/gstbasetransform.c:
11813         (gst_base_transform_buffer_alloc):
11814         Forgot to remove two unneeded unrefs.
11815         Simplify a check _is_equal allready checks the obvious case.
11816
11817 2006-06-22  Wim Taymans  <wim@fluendo.com>
11818
11819         * docs/design/part-block.txt:
11820         Some docs about what pad_block should do.
11821
11822 2006-06-22  Wim Taymans  <wim@fluendo.com>
11823
11824         * gst/gstcaps.c: (gst_caps_replace):
11825         Fix crasher when passed NULL. Doc clarification.
11826         Optimize for the trivial case.
11827
11828         * gst/gstpipeline.c: (gst_pipeline_change_state):
11829         Small cleanups.
11830
11831         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11832         Small documentation cleanup.
11833
11834         * libs/gst/base/gstbasetransform.c:
11835         (gst_base_transform_buffer_alloc):
11836         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11837         is what we need and it avoids a whole lot of redundant 
11838         refcount operations.
11839
11840 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
11841
11842         Patch by: Philip Jägenstedt  <philip at lysator liu se>
11843
11844         * docs/manual/advanced-dataaccess.xml:
11845           Fix 'Embedding static elements' section to use
11846           GST_PLUGIN_DEFINE_STATIC (#345607).
11847
11848 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11849
11850         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11851           Attempt to 'fix' spuriously failing test case: it seems like the
11852           timeout of half a second is simply too small when the system is under
11853           load otherwise, and the timeout doesn't really seem to serve any
11854           particular purpose here. Give the pipeline a few seconds to preroll
11855           first, and then give it another half a second to go from PAUSED to
11856           PLAYING and marshal the message into the main thread.
11857
11858 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11859
11860         * tools/gst-feedback-m.m:
11861           Don't only use unversioned tools, try versioned tools as well
11862           (#345086).
11863
11864 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11865
11866         * gst/gstbus.c: (gst_bus_class_init):
11867           Fix some typos, make docs more explicit.
11868
11869 2006-06-20  Wim Taymans  <wim@fluendo.com>
11870
11871         * tests/check/gst/gstghostpad.c: (block_callback),
11872         (GST_START_TEST), (gst_ghost_pad_suite):
11873         Added some more ghostpad tests, mainly blocking
11874         and probes.
11875
11876 2006-06-16  Wim Taymans  <wim@fluendo.com>
11877
11878         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11879         (gst_file_sink_close_file), (gst_file_sink_do_seek),
11880         (gst_file_sink_event), (gst_file_sink_render):
11881         * plugins/elements/gstfilesink.h:
11882         Check if we can seek in the file instead of assuming
11883         we always can. Post an error when we are asked to seek in a
11884         non-seekable file (like a fifo). Fixes #343312.
11885         Some cleanups.
11886
11887 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11888
11889         * tools/gst-launch.1.in:
11890           Un-garble (fourcc) bit in filtered caps section.
11891
11892 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11893
11894         * docs/manual/advanced-autoplugging.xml:
11895         * docs/manual/basics-helloworld.xml:
11896         * docs/manual/highlevel-components.xml:
11897           Don't leak bus reference in sample code.
11898
11899 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
11900
11901         * autogen.sh:
11902           Add default for new --enable-plugin-docs switch.
11903
11904         * configure.ac:
11905           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
11906           Fixes #344039.
11907
11908         * docs/Makefile.am:
11909           Use new ENABLE_PLUGIN_DOCS conditional.
11910
11911 2006-06-14  Wim Taymans  <wim@fluendo.com>
11912
11913         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
11914         Make it clear with a FIXME and a real define what the #if 0
11915         previously disabled.
11916
11917 2006-06-14  Wim Taymans  <wim@fluendo.com>
11918
11919         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11920         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11921         * libs/gst/base/gstbasetransform.c:
11922         (gst_base_transform_sink_eventfunc):
11923         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11924         Don't randomly and silently reset a segment when the format 
11925         changes as this is a bug somewhere upstream. Fixes #330379.
11926
11927 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
11928
11929         Patch by: Wouter Paesen  <wouter at kangaroot net>
11930
11931         * libs/gst/controller/gstcontroller.c:
11932         (gst_controlled_property_new):
11933           Fix controlling of float properties (#344849).
11934
11935         * tests/check/libs/controller.c:
11936         (gst_test_mono_source_get_property),
11937         (gst_test_mono_source_set_property),
11938         (gst_test_mono_source_class_init), (GST_START_TEST):
11939           While we're at it, add some float stuff to unit test.
11940
11941 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11942
11943         * docs/README:
11944         * docs/images/gdp-header.svg:
11945           add a gdp image
11946         * docs/libs/Makefile.am:
11947         * docs/libs/gdp-header.png:
11948         * libs/gst/dataprotocol/dataprotocol.c:
11949           add it to the API docs
11950         * docs/manual/intro-motivation.xml:
11951           fix typo
11952
11953 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
11954
11955         * gst/gst.c: (scan_and_update_registry), (init_post):
11956           If the fork()'ed child process can't write the updated registry cache
11957           file to disk for some reason, make it exit with a failure exit code,
11958           so that the parent can then re-scan the plugins itself and update the
11959           registry structures in memory and work with that (rather than failing
11960           when creating elements because seemingly no plugins are available).
11961           Refactor registry scanning code into separate function for this and
11962           also separate fork() and non-fork() code paths. Fixes #344748.
11963
11964 2006-06-13  Wim Taymans  <wim@fluendo.com>
11965
11966         * docs/manual/advanced-dataaccess.xml:
11967         Fix wrong PluginDesc. Fixes #344755.
11968
11969 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
11970
11971         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11972           Fix silly bug that prevented us from creating
11973           ~/.gstreamer-0.10 and writing the registry in one
11974           go (the first call to g_mkstemp() would overwrite the
11975           placeholder in the template string, so the second call
11976           to g_mkstemp() after creating the missing directory
11977           would then error out with 'invalid argument').
11978
11979 2006-06-13  Edward Hervey  <edward@fluendo.com>
11980
11981         * gst/gst.c: (init_post):
11982         Free string.
11983
11984 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11985
11986         * gst/glib-compat-private.h:
11987         * gst/glib-compat.c:
11988         * gst/glib-compat.h:
11989         * gst/gstvalue.c: (gst_value_serialize_flags):
11990           remove GLib 2.6 compatibility code
11991
11992 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
11993
11994         * gst/parse/Makefile.am:
11995           Fix build with 'make -j N' even more (#340016).
11996
11997 2006-06-12  Wim Taymans  <wim@fluendo.com>
11998
11999         * docs/gst/gstreamer-sections.txt:
12000         Fix docs.
12001
12002 2006-06-12  Wim Taymans  <wim@fluendo.com>
12003
12004         * gst/gstsegment.c: (gst_segment_set_duration),
12005         (gst_segment_set_last_stop), (gst_segment_set_seek),
12006         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12007         (gst_segment_to_running_time), (gst_segment_clip):
12008         Use G_UNLIKELY to help the compiler a bit.
12009
12010 2006-06-12  Wim Taymans  <wim@fluendo.com>
12011
12012         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12013
12014         * gst/gstevent.c: (gst_event_get_type):
12015         * gst/gstmessage.c:
12016         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12017         (gst_pad_push):
12018         constify quark registration strings. Fixes #344115
12019         Avoid unneeded type checking is _pad_push() by internally
12020         calling gst_pad_chain_unchecked().
12021
12022 2006-06-12  Wim Taymans  <wim@fluendo.com>
12023
12024         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12025         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12026         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12027         (gst_buffer_is_span_fast), (gst_buffer_span):
12028         Init _type for consistency.
12029         Use _FLAGS macro to avoid type check.
12030         Avoid unneeded type checks in subbufer code.
12031
12032 2006-06-12  Wim Taymans  <wim@fluendo.com>
12033
12034         * gst/gst.c: (gst_debug_help):
12035         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12036         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12037         (gst_plugin_feature_list_free):
12038         * gst/gstregistry.c: (gst_registry_add_plugin),
12039         (gst_registry_add_feature), (gst_registry_plugin_filter),
12040         (gst_registry_feature_filter), (gst_registry_find_plugin),
12041         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12042         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12043         * gst/gstregistryxml.c: (load_feature),
12044         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12045         * gst/gstminiobject.c: (gst_mini_object_unref),
12046         (gst_mini_object_replace), (gst_value_mini_object_free),
12047         (gst_value_mini_object_copy):
12048         Use _CAST macros to avoid unneeded type checking.
12049         Added some more G_UNLIKELY.
12050
12051 2006-06-12  Wim Taymans  <wim@fluendo.com>
12052
12053         * gst/gstbuffer.h:
12054         Avoid unneeded type checking.
12055         API: GST_BUFFER_IS_DISCONT
12056
12057         * gst/gstminiobject.h:
12058         Avoid type check in flag accessor.
12059
12060         * gst/gstelementfactory.h:
12061         * gst/gstplugin.h:
12062         * gst/gstpluginfeature.h:
12063         Add _CAST macros.
12064         API: GST_ELEMENT_FACTORY_CAST
12065         API: GST_PLUGIN_CAST
12066         API: GST_PLUGIN_FEATURE_CAST
12067
12068 2006-06-12  Wim Taymans  <wim@fluendo.com>
12069
12070         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12071         (gst_object_unref):
12072         Add G_UNLIKELY in type registration.
12073         Avoid type check in _ref/_unref since that is also
12074         done in glib.
12075
12076 2006-06-12  Wim Taymans  <wim@fluendo.com>
12077
12078         * gst/gsterror.c: (gst_g_error_get_type):
12079         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12080         (gst_static_pad_template_get_type):
12081         * gst/gsttaglist.c: (gst_tag_list_get_type):
12082         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12083         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12084         * gst/gsturi.c: (gst_uri_handler_get_type):
12085         * gst/gstvalue.c: (gst_date_get_type):
12086         * gst/gstxml.c: (gst_xml_get_type):
12087         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12088         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12089         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12090         Add G_UNLIKELY in type registration.
12091
12092 2006-06-12  Wim Taymans  <wim@fluendo.com>
12093
12094         * tools/gst-inspect.c: (print_signal_info):
12095         Properly print enum values.
12096
12097 2006-06-12  Wim Taymans  <wim@fluendo.com>
12098
12099         * gst/gstinfo.c: (gst_debug_set_active),
12100         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12101         * gst/gstinfo.h:
12102         Add some G_[UN]LIKELY.
12103         Maintain __gst_debug_min to avoid formatting the arguments of
12104         debug messages that will be dropped anyway to avoid a lot of 
12105         overhead from the debugging system.
12106
12107 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12108
12109         * po/POTFILES.in:
12110         * po/POTFILES.skip:
12111           add missing files containing translatable strings, tell intltool about
12112           one exception
12113
12114 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12115
12116         * tests/check/libs/.cvsignore:
12117         add test-binary to ignore list
12118
12119 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12120
12121         * docs/libs/gstreamer-libs-docs.sgml:
12122         reorder (put dp into a chapter) and indent
12123
12124 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12125
12126         * configure.ac:
12127           back to HEAD
12128
12129 === release 0.10.8 ===
12130
12131 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12132
12133         * configure.ac:
12134           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12135
12136 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12137
12138         * gst/gst.c: (init_post):
12139           move pid declaration to declaration block
12140
12141 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12142
12143         * gst/gst.c: (init_post):
12144           use _exit() instead of exit() in our forked child; this ensures
12145           that none of the registered exit handlers from whatever is using
12146           GStreamer get executed.  This fixes gnome-mixer-applet failing
12147           to load, because ORBit would shut down.
12148           Spotted by: Edward Hervey  <edward@fluendo.com>
12149           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12150           Fixes #344474
12151
12152 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12153
12154         * configure.ac:
12155           back to TRUNK
12156
12157 === release 0.10.7 ===
12158
12159 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12160
12161         * configure.ac:
12162           releasing 0.10.7, "Soepeke, ik zie ou"
12163
12164 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12165
12166         * configure.ac:
12167         * po/af.po:
12168         * po/az.po:
12169         * po/bg.po:
12170         * po/ca.po:
12171         * po/cs.po:
12172         * po/de.po:
12173         * po/en_GB.po:
12174         * po/fr.po:
12175         * po/it.po:
12176         * po/nb.po:
12177         * po/nl.po:
12178         * po/ru.po:
12179         * po/sq.po:
12180         * po/sr.po:
12181         * po/sv.po:
12182         * po/tr.po:
12183         * po/uk.po:
12184         * po/vi.po:
12185         * po/zh_CN.po:
12186         * po/zh_TW.po:
12187         * win32/common/config.h:
12188           0.10.6.2 prerelease
12189
12190 2006-06-07  Wim Taymans  <wim@fluendo.com>
12191
12192         * gst/gstindex.c: (gst_index_gtype_resolver):
12193         * tools/gst-xmlinspect.c: (print_plugin_info):
12194         Fix leak spotted by coverity checker. Fixes #343827
12195         Fix another other leak found by paolo borelli.
12196
12197 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12198
12199         * libs/gst/dataprotocol/dataprotocol.c:
12200         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12201         (gst_dp_version_get_type), (gst_dp_init),
12202         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12203         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12204         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12205         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12206         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12207         (gst_dp_packetizer_free):
12208         * libs/gst/dataprotocol/dataprotocol.h:
12209           API: add a GstDPPacketizer object, and create/free functions
12210           API: add GstDPVersion enum
12211           Add 1.0 event function that uses the string serialization
12212           Serialize more useful buffer flags
12213           Fixes #343988
12214
12215 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12216
12217         * tests/check/Makefile.am:
12218         * tests/check/gst/gstabi.c:
12219         * tests/check/gst/struct_ppc64.h:
12220         * tests/check/libs/libsabi.c:
12221         * tests/check/libs/struct_ppc64.h:
12222           add ppc64 structure sizes
12223
12224 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12225
12226         * tests/check/Makefile.am:
12227         * tests/check/gst/gstabi.c:
12228         * tests/check/gst/struct_x86_64.h:
12229         * tests/check/libs/libsabi.c:
12230         * tests/check/libs/struct_x86_64.h:
12231           generate and add structure size lists for x86_64
12232
12233 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12234
12235         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12236         * libs/gst/check/gstcheck.h:
12237           factor out the method from tests that checks size of structures,
12238           and add code to generate the header containing these sizes
12239         * tests/check/gst/gstabi.c: (GST_START_TEST):
12240         * tests/check/gst/struct_i386.h:
12241         * tests/check/libs/libsabi.c: (GST_START_TEST):
12242         * tests/check/libs/struct_i386.h:
12243           use it
12244
12245 2006-06-06  Michael Smith  <msmith@fluendo.com>
12246
12247         * gst/gstsegment.h:
12248           Don't use c++-style comments, fixes #343929
12249
12250 2006-06-05  Edward Hervey  <edward@fluendo.com>
12251
12252         * gst/gst.c:
12253         plugin_paths is not used if we build without registry support.
12254
12255         * gst/gstsegment.c: (gst_segment_copy): 
12256         _copy() was always returning NULL...
12257
12258 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12259
12260         * libs/gst/dataprotocol/dataprotocol.c:
12261         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12262         (gst_dp_packet_from_event):
12263           factor out CRC code
12264
12265 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12266
12267         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12268           make sure we unset caps
12269
12270 2006-06-02  Michael Smith  <msmith@fluendo.com>
12271
12272         * libs/gst/check/gstcheck.c: (gst_check_init),
12273         (gst_check_chain_func):
12274         * libs/gst/check/gstcheck.h:
12275           Add a cond/mutex to the check support lib, signal this whenever we
12276           add to the buffers list. This will allow tests to not busy-wait on
12277           the buffer-list.
12278
12279 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12280
12281         * libs/gst/dataprotocol/dataprotocol.c:
12282         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12283         (gst_dp_packet_from_event):
12284           factor out some common header init code
12285
12286 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12287
12288         * docs/libs/gstreamer-libs-sections.txt:
12289         * docs/libs/tmpl/gstdataprotocol.sgml:
12290         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12291         * libs/gst/dataprotocol/dataprotocol.h:
12292           API: make gst_dp_crc() public
12293
12294 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12295
12296         * plugins/indexers/gstindexers.c: (plugin_init):
12297         conditionally register fileindexer (fixes #343598)
12298
12299 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12300
12301         * gst/gsttagsetter.h:
12302         Can't cast ifaces to a class
12303
12304         * libs/gst/net/gstnetclientclock.h:
12305         * libs/gst/net/gstnettimeprovider.h:
12306         * plugins/elements/gstfakesink.h:
12307         * plugins/elements/gstfakesrc.h:
12308         * plugins/elements/gstfdsink.h:
12309         * plugins/elements/gstfdsrc.h:
12310         * plugins/elements/gstfilesink.h:
12311         * plugins/elements/gstfilesrc.h:
12312         * plugins/elements/gstidentity.h:
12313         * plugins/elements/gstqueue.h:
12314         * plugins/elements/gsttee.h:
12315         * plugins/indexers/gstfileindex.c:
12316         * plugins/indexers/gstmemindex.c:
12317         * tests/old/examples/plugins/example.h:
12318         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12319
12320 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12321
12322         * libs/gst/dataprotocol/dataprotocol.c:
12323         (gst_dp_header_from_buffer):
12324           make sure we zero the whole ABI-compatible area
12325
12326 2006-06-01  Wim Taymans  <wim@fluendo.com>
12327
12328         Patch by: Alessandro Decina <alessandro at nnva dot org>
12329
12330         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12331         Make sure the EOS flag is cleared from pads after a flush
12332         or stop. Fixes #343538.
12333
12334         * tests/check/libs/collectpads.c: (GST_START_TEST),
12335         (gst_collect_pads_suite):
12336         Added test for collectpads reusage after EOS.
12337
12338 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12339
12340         * gst/gst.c:
12341          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12342         * win32/common/libgstbase.def:
12343          export gst_collect_pads_set_flushing
12344         * win32/common/libgstreamer.def:
12345          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12346          gst_value_fraction_multiply
12347         * win32/vs6/gst_inspect.dsp:
12348          add a link to intl.lib
12349
12350 2006-05-30  Wim Taymans  <wim@fluendo.com>
12351
12352         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12353         (gst_collect_pads_chain):
12354         Handle the case where a pad is removed from the collection
12355         that could cause the other pads to become collectable.
12356
12357 2006-05-30  Wim Taymans  <wim@fluendo.com>
12358
12359         * gst/gstelement.c:
12360         Clarify the use of _release_request_pad() and
12361         _get_request_pad() a bit better.
12362
12363         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12364         (gst_adapter_take_buffer):
12365         Fix some doc and comment typos.
12366
12367 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12368
12369         * docs/gst/gstreamer-sections.txt:
12370         * docs/libs/gstreamer-libs-sections.txt:
12371           add declared symbols
12372
12373 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12374
12375         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12376         Add debug that can be enabled using a #define at the top of the file,
12377         for dumping stats about how late/early we were when waking up from
12378         waiting on the clock.
12379
12380 2006-05-30  Wim Taymans  <wim@fluendo.com>
12381
12382         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12383         When rebuilding the pad list, don't leak the previous list.
12384
12385 2006-05-30  Wim Taymans  <wim@fluendo.com>
12386
12387         Patch by: Lutz Mueller <lutz at topfrose dot de>
12388
12389         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12390         (gst_base_src_get_query_types), (gst_base_src_update_length):
12391         Publish supported query types.
12392         Update last_stop field in get_range mode so the position
12393         query works. Fixes #342321.
12394
12395 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12396
12397         * docs/gst/gstreamer-sections.txt:
12398         * gst/gsttaglist.c: (_gst_tag_initialize):
12399         * gst/gsttaglist.h:
12400           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12401
12402 2006-05-30  Wim Taymans  <wim@fluendo.com>
12403
12404         Patch by: Alessandro Decina <alessandro at nnva dot org>
12405
12406         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12407         Unlock mutex when removing an unknown pad.
12408         Fixes #343334.
12409
12410         * tests/check/Makefile.am:
12411         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12412         (push_event), (setup), (teardown), (GST_START_TEST),
12413         (gst_collect_pads_suite), (main):
12414         Added collecpads check, disabled for now as check crashes for
12415         some reason.
12416
12417 2006-05-29  Wim Taymans  <wim@fluendo.com>
12418
12419         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12420         Don't leak pads lists.
12421
12422 2006-05-29  Wim Taymans  <wim@fluendo.com>
12423
12424         * docs/libs/gstreamer-libs-sections.txt:
12425         * libs/gst/base/gstcollectpads.c:
12426         (gst_collect_pads_set_flushing_unlocked),
12427         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12428         (gst_collect_pads_stop):
12429         * libs/gst/base/gstcollectpads.h:
12430         API: gst_collect_pads_set_flushing()
12431         Added api to set the pads to flushing, useful for seeking
12432         code in elements using collectpads.
12433         Clear segment when receiving a flush.
12434
12435 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12436
12437         * gst/gst.c: (add_path_func), (init_post):
12438           Don't scan registry paths passed via --gst-plugin-path immediately
12439           (will crash, because absolutely nothing is set up and no types are
12440           registered etc.); do this later in init_post(). Fixes #343057.
12441
12442 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12443
12444         * gst/gst.c: (init_post):
12445           if we have fork, fork while reading/rebuilding the registry
12446           so the parent doesn't take the hit of having all plugins loaded
12447           in memory.  Fixes #342777.
12448         * configure.ac:
12449           Check if we have fork()
12450         * win32/common/config.h.in:
12451           no fork() on win32
12452
12453 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12454
12455         * plugins/elements/gstelements.c:
12456         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12457         (gst_file_src_init), (gst_file_src_set_property),
12458         (gst_file_src_get_property), (gst_file_src_start):
12459         * plugins/elements/gstfilesrc.h:
12460           API: GstFileSrc::use-mmap
12461
12462         Add a use-mmap property to enable easier testing of all code paths.
12463         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12464         in the absence of gnomevfssrc. (Closes #340501)
12465
12466 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12467
12468         * tools/gst-inspect.c:
12469         Add missing include, removes warning of ngettext not being defined on
12470         some arches.
12471
12472 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12473
12474         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12475         Handle NULL input and output pointers silently as a failed conversion,
12476         rather than g_warnings.
12477
12478 2006-05-25  Wim Taymans  <wim@fluendo.com>
12479
12480         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12481         Initialize variable before using. Fixes #342820.
12482
12483 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12484
12485         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12486           Fix off-by-one bug that would only allow peeks of N-1 bytes
12487           from the start even if the buffer to typefind on contains
12488           in fact N bytes of data (makes vorbis typefinding from a
12489           vorbis identification header buffer work).
12490
12491         * tests/check/Makefile.am:
12492         * tests/check/libs/.cvsignore:
12493         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12494         (gst_typefindhelper_suite), (main), (foobar_typefind),
12495         (plugin_init):
12496           Add very basic unit test for gst_type_find_helper_for_buffer()
12497           that checks for the problem fixed above.
12498
12499 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12500
12501         * tools/gst-inspect.c: (print_interfaces),
12502         (print_element_properties_info), (print_element_list), (main):
12503           add more translatable strings
12504
12505 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12506
12507         Patch by: Julien Moutte  <julien at moutte net>
12508
12509         * docs/gst/gstreamer-sections.txt:
12510           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12511           
12512         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12513         (gst_fake_sink_preroll):
12514         * plugins/elements/gstfakesink.h:
12515           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12516
12517 2006-05-23  Wim Taymans  <wim@fluendo.com>
12518
12519         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12520         * gst/gstpad.h:
12521         Added _CUSTOM error and success GstFlowReturn that can be
12522         used be elements internally. 
12523         Added macro to check for SUCCESS flowreturns.
12524         API: GST_FLOW_CUSTOM_SUCCESS
12525         API: GST_FLOW_CUSTOM_ERROR
12526         API: GST_FLOW_IS_SUCCESS
12527
12528         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12529         Added check for GstFlowReturn sanity.
12530
12531 2006-05-23  Wim Taymans  <wim@fluendo.com>
12532
12533         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12534
12535         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12536         (gst_collect_pads_event):
12537         clear/reset segment info in FLUSH_STOP.
12538         Fixes #336929.
12539
12540 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12541
12542         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12543         (gst_collect_pads_check_collected):
12544         Flush queued buffer on _stop(), fixes playing again (#342454)
12545
12546 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12547
12548         * tests/check/gst/gststructure.c: (GST_START_TEST),
12549         (gst_structure_suite):
12550           add a test for a complete structure
12551
12552 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12553
12554         * docs/faq/developing.xml:
12555         * docs/faq/faq.xml:
12556         * docs/faq/troubleshooting.xml:
12557         * docs/faq/using.xml:
12558           Some minor FAQ updates that won't change the fact that
12559           our FAQ is badly structured, full of information hardly
12560           anyone new to GStreamer needs to know and lacking lots
12561           of information people constantly ask for.
12562           
12563 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12564
12565         * gst/gstpad.c: (gst_pad_set_caps):
12566           Short-circuit gst_pad_set_caps if setting the existing
12567           caps pointer again, and avoid printing debug and 
12568           reffing/unreffing the caps.
12569
12570         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12571           There's actually no need to set the caps before pushing -
12572           the acceptcaps method will handle it anyway.
12573
12574 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12575
12576         * docs/gst/gstreamer-sections.txt:
12577         * win32/common/libgstreamer.def:
12578         * gst/gstutils.c: (gst_element_seek_simple):
12579         * gst/gstutils.h:
12580           API: add gst_element_seek_simple() (#342238).
12581
12582 2006-05-18  Edward Hervey  <edward@fluendo.com>
12583
12584         * gst/gsttypefind.c: (gst_type_find_get_type):
12585         * gst/gsttypefind.h:
12586         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12587         registered for GstTypeFind pointers. This allows wrapping the structure
12588         in bindings (i.e. gst-python).
12589
12590 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12591
12592         * gst/gsttagsetter.c:
12593           Docs additions and fixes (see #339918).
12594
12595 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12596
12597         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12598         The caps intersection algorithm can produce multiple copies of the
12599         caps. Until that is fixed, we need to simplify the result to be
12600         sure whether the allowed caps are fixed or not.
12601
12602         * plugins/elements/gstqueue.c: (gst_queue_init),
12603         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12604         (gst_queue_push_one):
12605         Proxied buffer alloc should not set the caps on the source pad.
12606         When pushing buffers, we always accept the caps change that triggers.
12607         This prevents negotiation errors caused by caps changing mid-stream 
12608         and then being refused on our source pad (because upstream is now
12609         refusing those caps).
12610
12611 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12612
12613         * tests/examples/helloworld/helloworld.c: (main):
12614           Must plug audioconvert and audioresample between decoder
12615           and audio sink.
12616
12617 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
12618
12619         * gst/gstregistryxml.c: (read_string), (load_pad_template),
12620         (load_feature), (load_plugin):
12621         Allow empty strings for some of the plugin fields so we don't 
12622         drop valid plugin entries that were written out correctly
12623         (Fixes #341479)
12624
12625 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
12626         
12627         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12628           Use g_remove and g_rename instead of remove and rename that don't 
12629           handle utf8 characters. rename was failing for users who had specific
12630           characters in their name then the registry was built at each 
12631           gstreamer init.
12632         * win32/vs6/gst_inspect.dsp:
12633         * win32/vs6/gst_launch.dsp:
12634         * win32/vs6/libgstbase.dsp:
12635         * win32/vs6/libgstcoreelements.dsp:
12636         * win32/vs6/libgstreamer.dsp:
12637           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
12638           build of libgstreamer and clean unused libraries in projects link 
12639           settings.
12640
12641 2006-05-17  Edward Hervey  <edward@fluendo.com>
12642
12643         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12644         The queue is not responsible for pushing an EOS when receiving a fatal
12645         flow error. It's up to the real element driving the pipeline to do that.
12646
12647 2006-05-16  Edward Hervey  <edward@fluendo.com>
12648
12649         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12650         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12651         buffer returned a fatal error. It should just send an EOS and stop
12652         its task.
12653         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12654         when pushing buffers on the queue and will be able to handle the event.
12655
12656 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
12657
12658         * docs/manual/basics-bins.xml:
12659         * docs/manual/basics-init.xml:
12660           Fix typos and minor errors in sample code (#341856).
12661
12662 2006-05-16  Wim Taymans  <wim@fluendo.com>
12663
12664         * docs/design/part-qos.txt:
12665         Fix indexes in formulas to make more sense.
12666
12667 2006-05-15  Wim Taymans  <wim@fluendo.com>
12668
12669         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12670         Don't report POSITION based on clock time if sync is
12671         disabled in a sink.
12672
12673 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
12674
12675         * gst/gstobject.h:
12676           Add cast to make compiler happy - refcount variable was a gint
12677           in GstObject but is a guint in GObject and g_atomic_int_get()
12678           wants a gint *.
12679
12680 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12681
12682         * gst/parse/Makefile.am:
12683           chain commands using &&, which also makes parallel make work
12684
12685 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
12686
12687         * docs/gst/gstreamer-sections.txt:
12688         * gst/gstevent.c:
12689         * gst/gstevent.h:
12690         * gst/gstmessage.h:
12691           Minor docs fixes.
12692
12693 === release 0.10.6 ===
12694
12695 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
12696
12697         * configure.ac:
12698           releasing 0.10.6, "Take the cannoli"
12699
12700 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
12701
12702         * tools/gst-launch.c: (print_tag):
12703           Fix use of uninitialized variable in the hypothetical
12704           case that some broken plugin creates a GST_TAG_IMAGE
12705           tag containing a NULL buffer (#341667).
12706
12707 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
12708
12709         * tools/gst-launch.c: (print_tag):
12710           Print something more intelligible for image tags when
12711           using the -t switch (#341556).
12712
12713 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12714
12715         * Makefile.am:
12716           updates for win32
12717         * configure.ac:
12718           define GST_MAJORMINOR so we have it available in win32/common/config.h
12719           Possibly remove it from our Makefile.am files later
12720         * win32/common/config.h:
12721         * win32/common/config.h.in:
12722           added GST_MAJORMINOR
12723         * win32/common/gstenumtypes.c: (register_gst_resource_error):
12724         * win32/common/gstversion.h:
12725           updated
12726
12727 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
12728
12729         * win32/MANIFEST:
12730           Update win32 files listing.
12731         * win32/common/gstversion.h:
12732           Add GST_MAJORMINOR definition.
12733         * win32/common/libgstreamer.def:
12734           Add new exported functions.
12735           
12736 2006-05-12  Michael Smith  <msmith@fluendo.com>
12737
12738         * gst/gstplugin.c: (gst_plugin_load_file):
12739           If an so file has no plugin entry point, unload the module.
12740
12741 2006-05-11  Wim Taymans  <wim@fluendo.com>
12742
12743         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12744         (gst_queue_set_property):
12745         Don't forget to signal the _chain or _loop function 
12746         when the queue size or thresholds change since that might
12747         cause them to make progres again.
12748
12749 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
12750
12751         * gst/gstclock.c: (gst_clock_class_init):
12752         * gst/gstindex.c: (gst_index_class_init):
12753         * gst/gstobject.c: (gst_object_class_init):
12754         * gst/gstpad.c: (gst_pad_class_init):
12755         * gst/gstpipeline.c: (gst_pipeline_class_init):
12756         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12757         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12758         * libs/gst/base/gstbasetransform.c:
12759         (gst_base_transform_class_init):
12760         * libs/gst/net/gstnetclientclock.c:
12761         (gst_net_client_clock_class_init):
12762         * libs/gst/net/gstnettimeprovider.c:
12763         (gst_net_time_provider_class_init):
12764         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12765         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12766         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12767         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12768         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12769         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12770         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12771         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12772         * plugins/elements/gsttee.c: (gst_tee_class_init):
12773         * tests/old/examples/plugins/example.c: (gst_example_class_init):
12774         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12775           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12776
12777 2006-05-11  Wim Taymans  <wim@fluendo.com>
12778
12779         * gst/gstbuffer.c: (_gst_buffer_initialize):
12780         Register subbufer along with the buffer type so that
12781         it does not accidentally gets registered from N
12782         different streaming threads in a non threadsafe way.
12783
12784 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12785
12786         * gst/gstbuffer.h:
12787         * gst/gstevent.h:
12788         * gst/gstmessage.h:
12789           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12790           gst_event_ref() and gst_message_ref() functions again
12791           (ugly hack, please do fix if there's a better way besides
12792           overrides.txt, which doesn't seem to work).
12793
12794 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12795
12796         * libs/gst/check/gstcheck.h:
12797           add an assert for setting state to avoid lots of repetitive code
12798           in the future
12799
12800 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12801
12802         * gst/gstvalue.c: (gst_value_serialize_flags):
12803           fix a leak if no flags are set
12804         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12805           fix leak in tests
12806
12807 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12808
12809         * docs/manual/basics-pads.xml:
12810           Expand a bit on caps and filtered links and update
12811           examples that were still using the no longer existing
12812           gst_pad_link_filtered() (#338206).
12813
12814 2006-05-10  Wim Taymans  <wim@fluendo.com>
12815
12816         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12817         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12818         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12819         (gst_collect_pads_stop):
12820         * libs/gst/base/gstcollectpads.h:
12821         No need to call _stop in _finalize.
12822         Iterate the main pad list in _finalize.
12823         Added some more debug.
12824         Free lists and data in the right order.
12825         Also free data whem doing _remove_pad when stopped for
12826         backward compatibility protect ::started with PAD_LOCK as
12827         well.
12828
12829 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12830
12831         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12832         (gst_structure_parse_value):
12833           add some comments
12834           rename a method so that it actually says what it does better
12835
12836 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12837
12838         * gst/gstevent.c: (_gst_event_initialize):
12839         * gst/gstformat.c: (_gst_format_initialize):
12840           make sure some essential types used by events are registered
12841           as part of gst_init()
12842         * gst/gstvalue.c: (gst_value_serialize_flags):
12843           if no flags are set, serialize them to a value that represents NONE
12844           so that deserializing them works
12845         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12846           add tests for serialization and deserialization of flags
12847
12848 2006-05-10  Wim Taymans  <wim@fluendo.com>
12849
12850         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12851         (gst_collect_pads_collect_range), (gst_collect_pads_available),
12852         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12853         (gst_collect_pads_event), (gst_collect_pads_chain):
12854         Update docs.
12855         Better debug info.
12856         Catch and return errors from the collect function
12857         Refuse data on eos pads.
12858
12859 2006-05-10  Edward Hervey  <edward@fluendo.com>
12860
12861         * gst/gstinterface.h:
12862         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12863         GInterface type checking.
12864         They were previously using non-defined macros.
12865
12866 2006-05-09  Wim Taymans  <wim@fluendo.com>
12867
12868         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12869         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12870         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12871         (gst_collect_pads_start), (gst_collect_pads_stop),
12872         (gst_collect_pads_peek), (gst_collect_pads_pop),
12873         (gst_collect_pads_available), (gst_collect_pads_read),
12874         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12875         (gst_collect_pads_is_collected), (gst_collect_pads_event),
12876         (gst_collect_pads_chain):
12877         * libs/gst/base/gstcollectpads.h:
12878         Clean up the mess that is collectpads, add comments and
12879         FIXMEs where needed.
12880         Maintain a separate pad list so we can add pads while
12881         collecting the other ones. For this we need a new separate 
12882         lock (see comics).
12883         Fix memory leak in finalize.
12884         Refactor some weird code to set/unset pad flushing flags, mark
12885         with comments.
12886         Don't crash in _available, _read, _flush when we're EOS.
12887
12888         * tests/check/libs/.cvsignore:
12889         Ignore adapter check binary.
12890
12891 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12892
12893         * gst/gstindex.c: (gst_index_resolver_get_type):
12894         * plugins/elements/gstfakesink.c:
12895         (gst_fake_sink_state_error_get_type):
12896         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12897         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
12898         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
12899           Const-ify GEnumValue arrays.
12900
12901 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12902
12903         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12904           Add test case for flags + gst_buffer_make_metadata_writable().
12905
12906 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12907
12908         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
12909           gst_buffer_make_metadata_writable() should maintain the
12910           buffer flags (those that make sense at least) (see #340859).
12911
12912 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12913
12914         * tools/gst-inspect.c:
12915         * tools/gst-launch.c:
12916         * tools/gst-typefind.c:
12917         * tools/gst-xmlinspect.c:
12918         * tools/tools.h:
12919           Fix up includes: need to include stdlib.h in tools.h for exit().
12920
12921 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12922
12923         * gst/gsttaglist.c: (_gst_tag_initialize):
12924         * gst/gsttaglist.h:
12925           API: add GST_TAG_IMAGE tag (#340721).
12926
12927 2006-05-08  Wim Taymans  <wim@fluendo.com>
12928
12929         * gst/gstquery.c:
12930         Added some docs for the segment query.
12931
12932 2006-05-08  Wim Taymans  <wim@fluendo.com>
12933
12934         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12935         (gst_base_src_loop), (gst_base_src_change_state):
12936         Always push non-flushing serialized events in the streaming 
12937         thread.
12938
12939 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12940
12941         * gst/gsterror.c: (_gst_stream_errors_init):
12942           Add a missing error string.
12943
12944 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
12945
12946         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
12947         Add applied_rate to the debug
12948
12949         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12950         Copy applied_rate into the outgoing NEWSEGMENT event
12951
12952 2006-05-08  Wim Taymans  <wim@fluendo.com>
12953
12954         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
12955
12956         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
12957         (gst_base_sink_change_state):
12958         call ::unlock before taking the PREROLL_LOCK so we can safely
12959         handle elements that lock in ::render.
12960         Fixes #340174.
12961
12962 2006-05-08  Edward Hervey  <edward@fluendo.com>
12963
12964         * autogen.sh: (CONFIGURE_DEF_OPT): 
12965         Darwin's libtoolize is in fact called glibtoolize.
12966         Adding glibtoolize to the list of accepted names for libtoolize.
12967
12968 2006-05-08  Wim Taymans  <wim@fluendo.com>
12969
12970         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12971         Unify error handling, don't post an error message
12972         when a push() returns EOS but perform our normal EOS
12973         handling code. Fixes #340772.
12974
12975 2006-05-08  Wim Taymans  <wim@fluendo.com>
12976
12977         * docs/design/part-overview.txt:
12978         Make upsteam/downstream concepts more clear.
12979         Give an example of serialized/non-serialized events.
12980
12981         * docs/design/part-events.txt:
12982         * docs/design/part-streams.txt:
12983         Mention applied_rate.
12984
12985         * docs/design/part-trickmodes.txt:
12986         Mention applied rate, flesh out some more use cases.
12987
12988         * gst/gstevent.c: (gst_event_new_new_segment),
12989         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
12990         (gst_event_parse_new_segment_full), (gst_event_new_tag),
12991         (gst_event_parse_tag), (gst_event_new_buffer_size),
12992         (gst_event_parse_buffer_size), (gst_event_new_qos),
12993         (gst_event_parse_qos), (gst_event_parse_seek),
12994         (gst_event_new_navigation):
12995         * gst/gstevent.h:
12996         Add applied_rate field to NEWSEGMENT event.
12997         API: gst_event_new_new_segment_full()
12998         API: gst_event_parse_new_segment_full()
12999
13000         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13001         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13002         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13003         * gst/gstsegment.h:
13004         Add applied_rate to GstSegment structure.
13005         Make calculation of stream_time and running_time more correct
13006         wrt rate/applied_rate.
13007         Add some more docs.
13008         API: GstSegment::applied_rate field
13009         API: gst_segment_set_newsegment_full();
13010
13011         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13012         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13013         * libs/gst/base/gstbasetransform.c:
13014         (gst_base_transform_sink_eventfunc),
13015         (gst_base_transform_handle_buffer):
13016         Parse and use applied_rate in the GstSegment field.
13017
13018         * tests/check/gst/gstevent.c: (GST_START_TEST):
13019         Add check for applied_rate field.
13020
13021         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13022         (gstsegments_suite):
13023         Add more checks for various GstSegment operations.
13024
13025 2006-05-08  Wim Taymans  <wim@fluendo.com>
13026
13027         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13028         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13029         (gst_base_sink_get_position), (gst_base_sink_change_state):
13030         Store the sync time of the buffer end position separatly in a
13031         new variable eos_rtime so we can properly sync the EOS event.
13032         Fixes #340697.
13033         Fix the docs for gst_base_sink_set_qos_enabled().
13034         Don't set segment start to invalid value when we receive a 
13035         non TIME newsegment.
13036         get closer to handling position reporting for negative rates 
13037         correctly.
13038
13039 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13040
13041         * gst/gstcaps.c:
13042         Docs about how to print caps for debug purposes.
13043
13044         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13045         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13046
13047 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13048
13049         * gst/gstelement.c:
13050           use full enum names and preprend a '%' in docs strings to make recent 
13051           gtk-doc turn that into a link
13052
13053 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13054
13055         * docs/manual/basics-bins.xml:
13056         * docs/manual/basics-bus.xml:
13057         * docs/manual/basics-pads.xml:
13058           Some typo fixes, some additions, some clarifications. 
13059
13060 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13061
13062         * tools/gst-inspect.c: (main):
13063         * tools/gst-launch.c: (main):
13064         * tools/gst-run.c: (main):
13065         * tools/gst-typefind.c: (main):
13066         * tools/gst-xmlinspect.c: (main):
13067           Use the string passed to g_option_context_new() for
13068           what it's intended for - the program name is already
13069           printed elsewhere.
13070
13071 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13072
13073         * tools/Makefile.am:
13074         * tools/gst-inspect.c: (main):
13075         * tools/gst-launch.c: (main):
13076         * tools/gst-xmlinspect.c: (main):
13077         * tools/tools.h:
13078           Add back --version command line option (#340460).
13079
13080         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13081           Add --version option and use GOption for argument parsing; refactor a
13082           bit; accept directories as arguments and recurse into them; lastly,
13083           print a decent error message when things go wrong.
13084
13085 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13086
13087         * docs/manual/basics-bins.xml:
13088         Don't mention GstThread (#340611)
13089         * docs/manual/basics-elements.xml:
13090         Update link to GObject tutorial (#340607)
13091         
13092 2006-05-05  Wim Taymans  <wim@fluendo.com>
13093
13094         * gst/gstbuffer.h:
13095         * gst/gstminiobject.c:
13096         Add note about refcounting and miniobject/buffer writeability
13097         to docs. Fixes #340604
13098
13099         * gst/gstelementfactory.h:
13100         Added some explanation about @klass.
13101
13102 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13103
13104         * docs/manual/intro-motivation.xml:
13105         * docs/manual/manual.xml:
13106         Avoid CORBA & Bonobo references (#340598)
13107
13108 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13109
13110         * docs/manual/basics-bus.xml:
13111         * docs/manual/basics-pads.xml:
13112         Fix up some inaccuracies and omissions (#340609)
13113         
13114 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13115
13116         * gst/gstghostpad.c:
13117           Small typo in docs (#340625)
13118
13119 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13120
13121         * gst/parse/Makefile.am:
13122           Make 'make -j' proof (see #340698).
13123
13124 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13125
13126         * configure.ac:
13127           Require GLib-2.8 here as well.
13128
13129 2006-05-05  Wim Taymans  <wim@fluendo.com>
13130
13131         * gst/glib-compat.c:
13132         * gst/gst.c: (init_pre):
13133         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13134         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13135         (gst_object_dispatch_properties_changed):
13136         * gst/gstobject.h:
13137         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13138         * gst/gststructure.c: (gst_structure_set_valist):
13139         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13140         Remove pre glib2.8 compatibility, fixes #340508
13141
13142 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13143
13144         * gst/gsttaglist.h:
13145           Mention type of tags in doc blurbs.
13146
13147 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13148
13149         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13150         (gst_pad_configure_src), (gst_pad_push):
13151         Restore acceptcaps checking behaviour now that good plugins have
13152         been released.
13153
13154 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13155
13156         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13157
13158         * gst/gst.c:
13159         * gst/gstbus.c:
13160         * gst/gstclock.c:
13161         * gst/gstevent.c:
13162         * gst/gstformat.c:
13163         * gst/gstmessage.c:
13164         * gst/gstparse.c:
13165         * gst/gstquery.c:
13166         * gst/gstutils.c:
13167         * gst/parse/Makefile.am:
13168         * libs/gst/base/gstadapter.c:
13169         * libs/gst/base/gstbasesrc.c:
13170         * libs/gst/base/gstpushsrc.c:
13171         * libs/gst/base/gsttypefindhelper.c:
13172         * plugins/elements/gstfakesrc.c:
13173         * plugins/elements/gstidentity.c:
13174           Make sure gstprivate.h and/or config.h are
13175           always included first, otherwise some of our
13176           defines (like _FILE_OFFSET_BITS) might be
13177           redefined in the system headers. Fixes build
13178           on opensolaris (#340016).
13179
13180 2006-05-04  Wim Taymans  <wim@fluendo.com>
13181
13182         * docs/libs/gstreamer-libs-sections.txt:
13183         API: addition: gst_adapter_take_buffer()
13184         
13185         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13186         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13187         (gst_adapter_available_fast):
13188         * libs/gst/base/gstadapter.h:
13189         Prepare for optimizing the hell out of this hugely inefficient
13190         piece of code. 
13191         Added gst_adapter_take_buffer() so we can at least start thinking
13192         about subbuffering and merging.
13193         Added some comments.
13194
13195         * tests/check/Makefile.am:
13196         * tests/check/libs/adapter.c: (GST_START_TEST),
13197         (gst_adapter_suite), (main):
13198         Added GstAdapter check.
13199
13200 2006-05-04  Wim Taymans  <wim@fluendo.com>
13201
13202         * docs/design/part-overview.txt:
13203         Fix some typos, add blurb about buffer flags.
13204
13205 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13206
13207         * docs/libs/gstreamer-libs-sections.txt:
13208           make sure GstBaseTransformClass shows up in the docs
13209         * libs/gst/base/gstbasetransform.c:
13210         * libs/gst/base/gstbasetransform.h:
13211           move docs so gtk-doc picks it up now
13212
13213 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13214
13215         * docs/libs/gstreamer-libs-sections.txt:
13216           add missing symbols to docs
13217
13218 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13219
13220         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13221           back out the newsegment handling change, see #340060 for ongoing
13222           discussion
13223
13224 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13225
13226         * tools/gst-run.c: (get_candidates), (main):
13227           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13228           work); fix typo in error message. Fixes #340079.
13229
13230 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13231
13232         * common/Makefile.am:
13233         * docs/Makefile.am:
13234         * docs/faq/Makefile.am:
13235         * docs/gst/Makefile.am:
13236         * docs/libs/Makefile.am:
13237         * docs/manual/Makefile.am:
13238         * docs/plugins/Makefile.am:
13239         * docs/pwg/Makefile.am:
13240         * docs/slides/Makefile.am:
13241         * docs/upload.mak:
13242         * common/upload.mak:
13243           move upload.mak to common
13244
13245 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13246
13247         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13248           add more asserts on refcounts
13249           do more cleanup at end of tests
13250           fix test leaks showing in FC5
13251
13252 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13253
13254         * plugins/elements/gsttypefindelement.c:
13255         (gst_type_find_element_handle_event):
13256         reverted wrong change and reflowed code to avoid others falling into
13257         this trap
13258
13259 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13260
13261         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13262           fix changelog entry about last collectpads change,
13263           add notes about proper fix
13264
13265 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13266
13267         * gst/gst.c:
13268         * gst/gstregistry.c: (gst_registry_scan_path_level),
13269         (gst_registry_scan_path):
13270         * gst/gstregistry.h:
13271           only write out registry if it has changed, fixes #338339
13272
13273 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13274
13275         * gst/gstbin.c:
13276         * gst/gstpipeline.c:
13277         * plugins/elements/gstcapsfilter.c:
13278         * plugins/elements/gstfakesink.c:
13279         * plugins/elements/gstfakesrc.c:
13280         * plugins/elements/gstfdsink.c:
13281         * plugins/elements/gstfdsrc.c:
13282         * plugins/elements/gstfilesink.c:
13283         * plugins/elements/gstfilesrc.c:
13284         * plugins/elements/gstidentity.c:
13285         * plugins/elements/gstqueue.c:
13286         * plugins/elements/gsttee.c:
13287         * plugins/elements/gsttypefindelement.c:
13288         (gst_type_find_element_handle_event):
13289           make GstElementDetails const
13290
13291 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13292
13293         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13294         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13295         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13296           more detailed debug and formatting cleanup,
13297           forward newsegments to src-pad (so that e.g. adder not eats them)
13298
13299 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13300
13301         * gst/gstutils.c: (gst_element_link_pads):
13302           cleanup double code
13303
13304 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13305
13306         * libs/gst/controller/gstcontroller.c:
13307         (gst_controller_sync_values):
13308           some little tuning
13309         * tests/check/libs/controller.c: (GST_START_TEST),
13310         (gst_controller_suite):
13311           a new test for live value handling
13312
13313 2006-04-28  Wim Taymans  <wim@fluendo.com>
13314
13315         * gst/gstutils.c: (push_and_ref):
13316         Added some more docs.
13317         Fix refcount issue whith gst_element_found_tags() helper 
13318         function. Fixes #338335
13319
13320         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13321         Added testsuite for gst_element_found_tags().
13322
13323 2006-04-28  Michael Smith  <msmith@fluendo.com>
13324
13325         * gst/gstvalue.c: (gst_value_serialize_flags):
13326           Avoid NULL dereference when trying to serialize flags containing
13327           invalid values.
13328
13329 2006-04-28  Michael Smith  <msmith@fluendo.com>
13330
13331         * plugins/elements/gsttypefindelement.c:
13332         (gst_type_find_element_handle_event):
13333           If we get EOS before any data is accumulated, don't use
13334           uninitialised local variables.
13335
13336 2006-04-28  Michael Smith  <msmith@fluendo.com>
13337
13338         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13339         (gst_dp_event_from_packet):
13340           Fixes in reading/writing events over GDP (not currently used?) - 
13341           dereferencing NULL events for unknown/invalid event types, memory
13342           leak, and change g_warning to GST_WARNING.
13343
13344 2006-04-28  Wim Taymans  <wim@fluendo.com>
13345
13346         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13347         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13348         (gst_base_sink_get_position), (gst_base_sink_change_state):
13349         When frame dropping is enabled, we should not ignore frames
13350         without a duration.
13351         Update some documentation.
13352
13353 2006-04-28  Wim Taymans  <wim@fluendo.com>
13354
13355         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13356         (gst_base_src_send_event), (gst_base_src_change_state):
13357         Documentation updates.
13358
13359 2006-04-28  Wim Taymans  <wim@fluendo.com>
13360
13361         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13362         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13363         handle EAGAIN, EINTR and short writes correctly. Also clean
13364         up some error cases, avoid a deadlock on bad file descriptors and
13365         use GST_DEBUG_OBJECT.
13366         Fixes #339843
13367
13368 2006-04-28  Wim Taymans  <wim@fluendo.com>
13369
13370         * gst/gstvalue.c: (gst_value_serialize_buffer),
13371         (gst_value_deserialize_buffer):
13372         Don't try to serialize a GValue with a NULL buffer. 
13373         Fixes #339821.
13374
13375         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13376         Added check for serialisation of NULL buffers.
13377
13378 2006-04-28  Wim Taymans  <wim@fluendo.com>
13379
13380         * gst/gstminiobject.c: (gst_value_take_mini_object):
13381         Taking a NULL miniobject is valid, fix the case where
13382         we try to unref the NULL miniobject.
13383
13384 2006-04-28  Wim Taymans  <wim@fluendo.com>
13385
13386         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13387
13388         * gst/gstbin.c: (gst_bin_handle_message_func):
13389         Update docs.
13390         Don't leak bin refcount when a state recalc is
13391         in progress and we delay another one #339808.
13392
13393 2006-04-28  Wim Taymans  <wim@fluendo.com>
13394
13395         * docs/design/part-TODO.txt:
13396         Mention QoS as an ongoing work item.
13397
13398         * docs/design/part-buffering.txt:
13399         New doc about buffering that needs to be fleshed out
13400         at some point.
13401
13402         * docs/design/part-qos.txt:
13403         More QoS policy for decoders/demuxers/transforms
13404
13405         * docs/design/part-trickmodes.txt:
13406         Small update.
13407
13408 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13409
13410         * configure.ac:
13411           back to HEAD
13412
13413 === release 0.10.5 ===
13414
13415 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13416
13417         * configure.ac:
13418           releasing 0.10.5, "Fogo"
13419
13420 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13421
13422         patch by: Wim Taymans
13423
13424         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13425         (gst_pad_configure_src), (gst_pad_push):
13426         * gst/gstpipeline.c: (gst_pipeline_init):
13427           Fix internal data flow errors.  Fixes #338711.
13428
13429 2006-04-12  Wim Taymans  <wim@fluendo.com>
13430
13431         * tests/check/gst/gstelement.c: (GST_START_TEST):
13432         Don't leak the factory.
13433
13434 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13435
13436         * configure.ac:
13437         * win32/common/config.h:
13438           prerelease
13439
13440 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13441
13442         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13443         (gst_controller_unset_all):
13444           Free allocated GstTimedValues when freeing list nodes.
13445           Should fix leaks 'make check-valgrind' complains about.
13446
13447         * win32/common/libgstcontroller.def:
13448           Add gst_controller_unset_all.
13449
13450 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13451
13452         * docs/libs/gstreamer-libs-sections.txt:
13453         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13454         (gst_controller_unset_all):
13455         * libs/gst/controller/gstcontroller.h:
13456         API: Added new method gst_controller_unset_all()
13457         fixed gst_controller_unset()
13458         * tests/check/libs/controller.c: (GST_START_TEST),
13459         (gst_controller_suite):
13460         Added two testcases for new and fixed method
13461
13462 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13463
13464         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13465           MSG_DONTWAIT is not defined on Cygwin, so work
13466           around that (fixes #317048).
13467           
13468 2006-04-11  Wim Taymans  <wim@fluendo.com>
13469
13470         * gst/gstelementfactory.c: (gst_element_register),
13471         (gst_element_factory_create), (gst_element_factory_make):
13472         Some cleanups.
13473         Fixed a FIXME.
13474         Updated docs (Fixes #131079)
13475
13476         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13477         Small cleanups.
13478
13479         * tests/check/gst/gstelement.c: (GST_START_TEST),
13480         (gst_element_suite):
13481         Added testcase for elementfactory class field.
13482
13483 2006-04-10  Wim Taymans  <wim@fluendo.com>
13484
13485         * gst/gstsegment.c:
13486         Added some more docs.
13487
13488         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13489         (gst_base_sink_reset_qos):
13490         Calculate more accurate rate values.
13491
13492 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13493
13494         * gst/gst_private.h:
13495           add a new #ifdef to use __declspec(dllimport) only for
13496           other modules and not for gstreamer core
13497         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13498           use gst_guint64_to_gdouble for conversion
13499         * win32/common/libgstreamer.def:
13500           add new exported functions
13501         * win32/vs6/gst_inspect.dsp:
13502         * win32/vs6/gst_launch.dsp:
13503         * win32/vs6/libgstbase.dsp:
13504         * win32/vs6/libgstcontroller.dsp:
13505         * win32/vs6/libgstcoreelements.dsp:
13506         * win32/vs6/libgstdataprotocol.dsp:
13507         * win32/vs6/libgstnet.dsp:
13508           update project files
13509
13510 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13511
13512         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13513         * gst/gstclock.c: (gst_clock_class_init):
13514         * gst/gstelement.c: (gst_element_class_init):
13515         * gst/gstindex.c: (gst_index_class_init):
13516         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13517         * gst/gstobject.c: (gst_object_class_init),
13518         (gst_signal_object_class_init):
13519         * gst/gstpad.c: (gst_pad_class_init):
13520         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13521         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13522         * gst/gstregistry.c: (gst_registry_class_init):
13523         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13524         * gst/gsttask.c: (gst_task_class_init):
13525         * gst/gstxml.c: (gst_xml_class_init):
13526         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13527         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13528         (gst_base_src_loop):
13529         * libs/gst/controller/gstcontroller.c:/
13530         (_gst_controller_class_init):
13531         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13532         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13533         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13534         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13535         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13536         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13537
13538 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13539
13540         * gst/gstpad.c: (gst_pad_link):
13541           Must set peer pads before calling the link function, otherwise
13542           a task started from a link function might get a flow-not-linked
13543           result when trying to push because the other thread where the
13544           linking happens hasn't had a chance to set the peers yet. This
13545           might happen for example when a queue gets linked to a downstream
13546           element, as queue starts a streaming task when its source pad
13547           gets linked. Happens in real life when playing back flac/musepack
13548           files in playbin (#332390).
13549           
13550 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13551
13552         * gst/gstindex.h:
13553         * gst/gstxml.h:
13554         * libs/gst/base/gstadapter.h:
13555         * libs/gst/base/gstbasesink.h:
13556         * libs/gst/base/gstbasesrc.h:
13557         * libs/gst/base/gstbasetransform.h:
13558         * libs/gst/base/gstcollectpads.h:
13559         * libs/gst/base/gstpushsrc.h:
13560         Fix broken GObject macros
13561
13562 2006-04-07  Wim Taymans  <wim@fluendo.com>
13563
13564         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13565         Initialize start and stop times, thanks valgrind.
13566
13567 2006-04-07  Wim Taymans  <wim@fluendo.com>
13568
13569         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13570         Be a bit nicer to badly behaving upstream elements that expect
13571         us to deal with non TIME segments and timestamps (such as fakesrc
13572         in the testsuite).
13573
13574 2006-04-07  Wim Taymans  <wim@fluendo.com>
13575
13576         * gst/gstbus.c:
13577         Small documentation clarification about the signal watch.
13578
13579         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13580         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13581         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13582         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13583         (gst_base_sink_get_position_last),
13584         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13585         Convert and store timestamps in stream time and running time, the
13586         raw timestamps are not useful, also document this better.
13587         Use different window sizes for good and bad QoS observations so
13588         we react to badness a little quicker.
13589         Keep track of the amount of rendered and dropped buffers.
13590         Send QoS timestamps in running time.
13591
13592         * libs/gst/base/gstbasetransform.c:
13593         (gst_base_transform_sink_eventfunc),
13594         (gst_base_transform_handle_buffer):
13595         Compare QoS timestamps against running time.
13596
13597 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13598
13599         * gst/gstpad.c:
13600           Typo fixes in docs.
13601
13602 2006-04-06  Michael Smith  <msmith@fluendo.com>
13603
13604         * gst/gstpad.c: (gst_pad_set_property):
13605           Use g_value_get_object() instead of g_value_dup_gst_object(),
13606           to avoid double-reffing the pad template (which we then sink,
13607           so this worked previously if (and only if) the pad template
13608           was floating.
13609
13610         * gst/gstpadtemplate.c: (gst_pad_template_init),
13611         (gst_pad_template_pad_created):
13612           Never return floating references to pad templates, create
13613           them as initially-sunken.
13614
13615           Document an extra function (and make this stop sinking our
13616           pad template, since that is now guaranteed to do nothing,
13617           since we created it sunken).
13618
13619         * gst/gstghostpad.c:
13620           Fix docs typo.
13621
13622 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13623
13624         * gst/gstinfo.c: (__gst_in_valgrind):
13625           Add some newlines.
13626
13627         * plugins/elements/gsttypefindelement.c:
13628         (gst_type_find_element_chain):
13629           Don't leak buffer caps.
13630
13631 2006-04-06  Michael Smith  <msmith@fluendo.com>
13632
13633         * gst/parse/grammar.y:
13634           Fix a leak in parse-launch for any source-or-sink named element 
13635           references used.
13636
13637         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13638           Unref the pipeline if it exists after we've failed parsing.
13639
13640 2006-04-05  Michael Smith  <msmith@fluendo.com>
13641
13642         * gst/gstpipeline.c: (gst_pipeline_init):
13643           When we create a pipeline bus, initially create it in flushing mode.
13644           Fixes leaks in at least one test, and makes a new pipeline work the
13645           same as one that has gone to READY and then back to NULL.
13646
13647         * gst/gstelement.c:
13648           Typo fix in docs.
13649
13650 2006-04-05  Michael Smith  <msmith@fluendo.com>
13651
13652         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13653           Unref a pad we reffed.
13654         * tests/check/gst/gstutils.c: (GST_START_TEST):
13655           Unref bins
13656
13657 2006-04-05  Michael Smith  <msmith@fluendo.com>
13658
13659         * gst/gstquery.c: (gst_query_set_formats),
13660         (gst_query_set_formatsv):
13661           Fix leaking GValues in queries, as shown by valgrind/testsuite.
13662
13663 2006-04-05  Michael Smith  <msmith@fluendo.com>
13664
13665         * tests/check/generic/sinks.c: (GST_START_TEST):
13666           Fix a variety of memleaks in sinks check, which are only sometimes 
13667           shown by running the tests under valgrind (weird?).
13668
13669 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
13670
13671         * docs/version.entities.in:
13672           Fix the substituted entity name after thomas' changes on the
13673           weekend.
13674
13675 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13676
13677         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13678         VALGRIND_PRINTF
13679         
13680 2006-04-05  Andy Wingo  <wingo@pobox.com>
13681
13682         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13683
13684         * libs/gst/base/gstbasetransform.c
13685         (gst_base_transform_sink_eventfunc): When resetting our segment on
13686         FLUSH_STOP, also update the flag saying we haven't seen a
13687         newsegment.
13688
13689 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13690
13691         Patch by: Paolo Borelli  <pborelli at katamail dot com>
13692
13693         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13694         (gst_plugin_check_license):
13695           minor clean-ups: G_DEFINE_TYPE already takes care of the
13696           parent_class stuff, no need to do it twice. Mark array of
13697           license strings as constant. (#337103)
13698           
13699 2006-04-04  Michael Smith  <msmith@fluendo.com>
13700
13701         * tools/gst-inspect.c: (print_element_list):
13702           Free the right plugin list; fixes a memory leak.
13703
13704 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13705
13706         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
13707
13708         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13709           Don't error out on empty buffers (#336945).
13710           
13711 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
13712
13713         * docs/libs/gstreamer-libs-sections.txt:
13714         * gst/gsttaglist.c:
13715         * libs/gst/base/gstbasesink.c:
13716         * libs/gst/base/gstbasesink.h:
13717         * libs/gst/base/gstbasesrc.c:
13718         * libs/gst/base/gstbasesrc.h:
13719           Documentation updates. Make BaseSink and BaseSrc docs contain the
13720           class structure so that people can actually see the prototypes for
13721           virtual functions they're supposed to be overriding.
13722
13723 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13724
13725         * plugins/elements/gsttypefindelement.c:
13726         (gst_type_find_element_chain):
13727           More debug info; when skipping typefinding, send cached
13728           events in all cases.
13729
13730 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13731
13732         * configure.ac:
13733           use new AS_VERSION and AS_NANO macros
13734         * gst/gst-i18n-lib.h:
13735         * gst/gst.c:
13736         * gst/gsterror.c:
13737         * gst/gstversion.h.in:
13738         * win32/common/config.h:
13739         * win32/common/config.h.in:
13740           update accordingly
13741
13742 2006-03-31  Michael Smith  <msmith@fluendo.com>
13743
13744         * plugins/elements/gsttypefindelement.c:
13745         (gst_type_find_element_chain):
13746           Do not typefind content if the buffers already have caps.
13747           Neccesary for icydemux (#333657), and the right thing to do anyway.
13748
13749 2006-03-30  Wim Taymans  <wim@fluendo.com>
13750
13751         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13752         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13753         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13754         (gst_base_sink_record_qos_observation),
13755         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13756         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13757         (gst_base_sink_change_state):
13758         More QoS measurements as described in the design doc.
13759         Get rid of ringbuffer with observations, running average is
13760         more simple and equally good.
13761         Calculates valid proportion now.
13762         Added beginning of flood measurement.
13763
13764 2006-03-29  Wim Taymans  <wim@fluendo.com>
13765
13766         * docs/design/part-qos.txt:
13767         * gst/gstclock.c:
13768         Small documentation updates and additions.
13769
13770 2006-03-29  Wim Taymans  <wim@fluendo.com>
13771
13772         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13773         (gst_base_src_send_event), (gst_base_src_loop),
13774         (gst_base_src_change_state):
13775         Perform the EOS logic when we reach the segment stop position.
13776         Fix compilation on gcc4.1
13777
13778 2006-03-29  Wim Taymans  <wim@fluendo.com>
13779
13780         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13781
13782         * plugins/elements/gstqueue.c: (gst_queue_init),
13783         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13784         (gst_queue_set_property):
13785         * plugins/elements/gstqueue.h:
13786         In queue, when EOS is received, if minimum threshold > max_size -
13787         current_level, there is chance that queue blocks forever in conditional
13788         item del wait. This is because the queue is not emptied completely due
13789         to minimum threshold.  Here is another approach. Instead of setting
13790         cur_levels to max in EOS, just zero all minimum threshold levels. This
13791         should make sure that queue gives out all data. When going to READY
13792         (stop) state, just reset the original minimum threshold levels.
13793         Fixes #336336.
13794
13795 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
13796
13797         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13798         (gst_type_find_element_handle_event),
13799         (gst_type_find_element_send_cached_events),
13800         (gst_type_find_element_change_state):
13801         * plugins/elements/gsttypefindelement.h:
13802           When typefinding is done in push mode, we should cache
13803           events we receive during typefinding instead of just
13804           dropping them (e.g. newsegment, custom events from
13805           dvdreadsrc etc.) and then send them out once we've
13806           determined the type of the stream (and decodebin
13807           has had a chance to plug in a decoder/demuxer).
13808           
13809 2006-03-27  Wim Taymans  <wim@fluendo.com>
13810
13811         * docs/design/part-qos.txt:
13812         First QoS ideas.
13813
13814 2006-03-27  Wim Taymans  <wim@fluendo.com>
13815
13816         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13817
13818         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13819         (gst_base_src_send_event), (gst_base_src_change_state):
13820         Handle element seek correctly when we are streaming.
13821         Fixes #326998.
13822
13823 2006-03-24  Michael Smith  <msmith@fluendo.com>
13824
13825         * docs/faq/gst-uninstalled:
13826           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13827           allow you to correctly run intalled applications built against old 
13828           core, using plugins that require updated core (e.g. running
13829           installed totem against a full uninstalled gstreamer stack)
13830
13831 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13832
13833         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13834         more debug details
13835
13836 2006-03-24  Wim Taymans  <wim@fluendo.com>
13837
13838         * docs/gst/gstreamer-sections.txt:
13839         Rearrange the order of the methods so that related methods
13840         are grouped together in sections.
13841
13842 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13843
13844         * gst/gstelement.c:
13845           Little clarification in the docs
13846
13847 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13848
13849         * docs/README:
13850         formatting fix
13851         * plugins/elements/gstidentity.c:
13852         * plugins/elements/gstqueue.c:
13853         * plugins/elements/gsttee.c:
13854         * plugins/elements/gsttypefindelement.c:
13855         GST_ELEMENT_DETAILS formatting
13856
13857 2006-03-24  Wim Taymans  <wim@fluendo.com>
13858
13859         * libs/gst/base/gstbasesink.h:
13860         Only add fields, not insert or we break ABI.
13861
13862 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13863
13864         * win32/common/libgstbase.def:
13865         * win32/common/libgstreamer.def:
13866           Update, add recently added functions.
13867
13868 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13869
13870         * docs/gst/gstreamer-sections.txt:
13871         * gst/gstutils.c: (gst_pad_query_peer_position),
13872         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13873         * gst/gstutils.h:
13874           API: add some new utility functions:
13875            - gst_pad_query_peer_position()
13876            - gst_pad_query_peer_duration()
13877            - gst_pad_query_peer_convert()
13878           
13879 2006-03-23  Wim Taymans  <wim@fluendo.com>
13880
13881         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13882         (gst_base_sink_init), (gst_base_sink_finalize),
13883         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13884         (gst_base_sink_set_property), (gst_base_sink_get_property),
13885         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13886         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13887         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13888         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13889         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13890         (gst_base_sink_preroll_object), (gst_base_sink_event),
13891         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13892         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13893         (gst_base_sink_query), (gst_base_sink_change_state):
13894         Decouple max-lateness and the fact that QoS messages are generated
13895         with a new property (qos).
13896         added API: GstBaseSink::async_play()
13897         Add vmethod so subclasses can be notified of ASYNC playing
13898         state changes.
13899         Collect timestamp start and stop to report better current
13900         position in EOS/PLAYING/PAUSED/READY/NULL.
13901         Refactor QoS/frame dropping and other measurements.
13902         API: GstBaseSrc::qos
13903         Fixes #326311
13904
13905         * libs/gst/base/gstbasesink.h:
13906         Added Private struct.
13907         API: gst_base_sink_set_qos_enabled()
13908         API: gst_base_sink_is_qos_enabled()
13909
13910 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13911
13912         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13913           If compiling against GLib-2.8 or newer, try to read the
13914           registry file using GMappedFile first before falling back
13915           to fopen() + fread() (#332151).
13916
13917 2006-03-22  Wim Taymans  <wim@fluendo.com>
13918
13919         * gst/gstinfo.c: (gst_debug_set_active),
13920         (gst_debug_category_set_threshold):
13921         Disable debugging unless explicitly activated.
13922         Fixes #335480.
13923
13924 2006-03-22  Wim Taymans  <wim@fluendo.com>
13925
13926         * gst/gstelement.c: (gst_element_set_locked_state),
13927         (gst_element_dispose):
13928         Cleanup the error case.
13929
13930         * gst/gstobject.c: (gst_object_dispose):
13931         print a critical when some object was disposed with
13932         a parent, also revive the object since it might
13933         crash the parent.
13934
13935 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
13936
13937         * tools/gst-launch.1.in:
13938           Fix another typo.
13939
13940 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13941
13942         * configure.ac:
13943         * tests/check/Makefile.am:
13944           disable some tests when we don't have a registry
13945         * tests/check/gst/gstutils.c: (gst_utils_suite):
13946           don't build the part that needs parsing
13947
13948 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13949
13950         * gst/Makefile.am
13951         * tests/examples/Makefile.am:
13952           fix --disable-parse build
13953
13954 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13955
13956         * tools/gst-feedback.1.in:
13957           Fix typo: s/feeback/feedback/ (#133494).
13958
13959 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13960
13961         * tools/Makefile.am:
13962         * tools/gst-launch.1.in:
13963           Add FILES section and correct entry about GST_REGISTRY_PATH
13964           environment variable (#133495; #133494).
13965
13966 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13967
13968         * tools/Makefile.am:
13969         * tools/gst-md5sum.1.in:
13970         * tools/gst-md5sum.c:
13971           Remove gst-md5sum and man page (the md5sink element
13972           required was removed ages ago)
13973
13974 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13975
13976         * gst/gststructure.c: (gst_structure_id_set_value):
13977           Make sure that string fields in structures/taglists
13978           contain valid UTF-8 - we don't want to pass rubbish to
13979           applications because of a buggy plugin (cp. #334167).
13980
13981 2006-03-21  Edward Hervey  <edward@fluendo.com>
13982
13983         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13984         (gst_bin_handle_message_func):
13985         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
13986         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
13987         (gst_element_set_bus_func):
13988         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
13989         * gst/gstminiobject.c: (gst_value_set_mini_object),
13990         (gst_value_take_mini_object):
13991         * gst/gstpad.c: (gst_pad_set_pad_template):
13992         * gst/gstpipeline.c: (gst_pipeline_dispose),
13993         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13994         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
13995         (gst_collect_pads_chain):
13996         * libs/gst/net/gstnettimeprovider.c:
13997         (gst_net_time_provider_set_property):
13998         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
13999         It's in fact all issues with gst_*object_replace().
14000
14001 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14002
14003         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14004         
14005         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14006         * pkgconfig/gstreamer-check.pc.in:
14007           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14008
14009 2006-03-21  Edward Hervey  <edward@fluendo.com>
14010
14011         * gst/gstbuffer.h:
14012         * gst/gstevent.h:
14013         * gst/gstmessage.h:
14014         gst_[buffer|event|message]_ref() macros are replaced by a static
14015         inline functions because gcc-4.1 will about if the return value
14016         isn't used.
14017         * tests/check/gst/gstevent.c: (event_probe):
14018         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14019
14020 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14021
14022         * gst/gstutils.h:
14023         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14024         the type' case. (Closes: #335195 for now). In the future, when we
14025         depend on GLib 2.10, we could also intern the type name using
14026         g_intern_static_string()
14027
14028 2006-03-20  Wim Taymans  <wim@fluendo.com>
14029
14030         * gst/gstbin.c: (gst_bin_handle_message_func),
14031         (bin_query_max_init), (bin_query_position_fold),
14032         (bin_query_position_done), (gst_bin_query):
14033         Position query should also take max of all streams.
14034
14035 2006-03-20  Wim Taymans  <wim@fluendo.com>
14036
14037         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14038         (gst_fake_src_finalize):
14039         Fix leaks in fakesrc.
14040
14041         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14042         Fix leaks in the testcase.
14043
14044 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14045
14046         * gst/gst_private.h:
14047           add win32 specific import decoration(__declspec(dllimport)) 
14048           for all extern GstDebugCategory * variables
14049         * win32/common/libgstbase.def:
14050         * win32/common/libgstcontroller.def:
14051         * win32/common/libgstreamer.def:
14052           Add some exports, remove empty lines
14053         * win32/common/libgstdataprotocol.def:
14054         * win32/common/libgstdataprotocol.dsp:
14055         * win32/common/libgstnet.def:
14056         * win32/common/libgstnet.dsp:
14057           new project files and exportation files added
14058         
14059 2006-03-19  Wim Taymans  <wim@fluendo.com>
14060
14061         * tests/check/libs/basesrc.c: (eos_event_counter):
14062         Use proper return value for probe.
14063
14064 2006-03-17  Wim Taymans  <wim@fluendo.com>
14065
14066         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14067         (gst_pad_push):
14068         Don't leak buffers, caps and pads on negotiation errors.
14069
14070 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14071
14072         * docs/faq/cvs.xml:
14073         * docs/faq/dependencies.xml:
14074         * docs/faq/developing.xml:
14075         * docs/faq/faq.xml:
14076         * docs/faq/general.xml:
14077         * docs/faq/getting.xml:
14078         * docs/faq/legal.xml:
14079         * docs/faq/troubleshooting.xml:
14080         * docs/faq/using.xml:
14081         Faq review and update.
14082
14083 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14084
14085         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14086         (gst_pad_push):
14087         Don't pound the cpu to pieces by checking get_caps when accept_caps
14088         is called with the same caps as the pad already has.
14089         Use GST_DEBUG_OBJECT when outputting caps change information.
14090
14091 2006-03-15  Wim Taymans  <wim@fluendo.com>
14092
14093         * gst/gstclock.c: (gst_clock_class_init):
14094         Fix docs.
14095
14096 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14097
14098         * gst/gstbuffer.h:
14099         Documentation fix.
14100
14101         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14102         (gst_pad_accept_caps), (gst_pad_configure_sink),
14103         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14104         Make the default acceptcaps behaviour be to check the requested 
14105         caps against the gst_pad_get_caps output. 
14106
14107         Ensure that gst_pad_accept_caps is used to check caps when a pad
14108         doesn't have a setcaps function, so that pads automatically refuse 
14109         caps that they don't allow in their pad template. (Fixes #332986)
14110
14111         When a buffer with attached caps is pushed, ensure that the source 
14112         pad receives those caps even if the element didn't call
14113         gst_pad_set_caps first.
14114
14115 2006-03-15  Wim Taymans  <wim@fluendo.com>
14116
14117         * libs/gst/base/gstadapter.c:
14118         Add some docs.
14119
14120 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14121
14122         * win32/common/libgstbase.def:
14123         * win32/common/libgstcontroller.def:
14124         * win32/common/libgstreamer.def:
14125           Add a whole bunch of missing functions (#334434).
14126
14127 2006-03-14  Wim Taymans  <wim@fluendo.com>
14128
14129         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14130         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14131         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14132         Better debug info when we receive a segment event.
14133         Reorganize a bit so we can pass the get_times() results around.
14134         Use the segment format when calculating the running time.
14135         Don't do QoS is sync is disabled or we have no clock or the
14136         element does not want us to sync to the clock.
14137         Don't drop buffers if QoS is disabled for now.
14138
14139 2006-03-14  Wim Taymans  <wim@fluendo.com>
14140
14141         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14142         Marked the stats property as unimplemented so people don't get
14143         wild ideas.
14144         Add debug message when regression goes wrong.
14145         Added some more docs.
14146
14147 2006-03-14  Wim Taymans  <wim@fluendo.com>
14148
14149         * gst/gstsegment.c: (gst_segment_to_stream_time):
14150         Return correct return type in case of errors.
14151
14152 2006-03-14  Wim Taymans  <wim@fluendo.com>
14153
14154         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14155           Don't segfault on invalid formats.
14156
14157 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14158
14159         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14160           Can't use gst_segment_to_running_time() when the segment
14161           is not in GST_TIME_FORMAT (like with filesink, for example).
14162           Stops flac encoding pipelines from spewing critical warnings
14163           at EOS (#331248).
14164           
14165 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14166
14167         * gst/gstpipeline.c: (gst_pipeline_class_init):
14168           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14169
14170         * plugins/elements/gsttypefindelement.c:
14171         (gst_type_find_element_handle_event):
14172           Don't try to typefind empty streams.
14173
14174 2006-03-14  Wim Taymans  <wim@fluendo.com>
14175
14176         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14177         (gst_base_sink_do_qos):
14178         Separate QoS calculation.
14179         Only drop buffers when lateness is bigger than the 
14180         duration of the buffer.
14181
14182 2006-03-13  Wim Taymans  <wim@fluendo.com>
14183
14184         * gst/gstpipeline.c: (gst_pipeline_set_property),
14185         (gst_pipeline_get_property), (do_pipeline_seek),
14186         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14187         (gst_pipeline_get_delay):
14188         Don't deadlock when reading properties.
14189
14190 2006-03-13  Wim Taymans  <wim@fluendo.com>
14191
14192         * libs/gst/base/gstbasetransform.c:
14193         (gst_base_transform_class_init), (gst_base_transform_init),
14194         (gst_base_transform_sink_event),
14195         (gst_base_transform_sink_eventfunc),
14196         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14197         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14198         (gst_base_transform_set_property),
14199         (gst_base_transform_get_property),
14200         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14201         (gst_base_transform_set_qos_enabled),
14202         (gst_base_transform_is_qos_enabled):
14203         * libs/gst/base/gstbasetransform.h:
14204         Make basetransform virtual method for src events too.
14205         Handle QOS in basetransform.
14206         API: gst_base_transform_update_qos()
14207         API: gst_base_transform_set_qos_enabled()
14208         API: gst_base_transform_is_qos_enabled()
14209
14210 2006-03-13  Wim Taymans  <wim@fluendo.com>
14211
14212         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14213         (gst_base_sink_do_sync):
14214         Small cleanups.
14215         Use QOS debug category.
14216
14217 2006-03-13  Wim Taymans  <wim@fluendo.com>
14218
14219         * plugins/elements/gstqueue.c:
14220         Very small doc update.
14221
14222 2006-03-13  Wim Taymans  <wim@fluendo.com>
14223
14224         * gst/gst_private.h:
14225         * gst/gstinfo.c: (_gst_debug_init):
14226         Added QOS debug category
14227
14228 2006-03-13  Wim Taymans  <wim@fluendo.com>
14229
14230         * docs/gst/gstreamer-sections.txt:
14231         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14232         * gst/gstbin.h:
14233         * gst/gstbus.c: (gst_bus_class_init):
14234         * gst/gstbus.h:
14235         * gst/gstclock.c:
14236         * gst/gstelement.c: (gst_element_set_locked_state):
14237         * gst/gstsegment.c:
14238         Documentation updates.
14239
14240         * gst/gstpipeline.c: (gst_pipeline_get_type),
14241         (gst_pipeline_class_init), (gst_pipeline_init),
14242         (gst_pipeline_dispose), (gst_pipeline_set_property),
14243         (gst_pipeline_get_property), (do_pipeline_seek),
14244         (gst_pipeline_send_event), (gst_pipeline_change_state),
14245         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14246         (gst_pipeline_get_delay):
14247         * gst/gstpipeline.h:
14248         Added methods for setting the delay.
14249         API: gst_pipeline_set_delay()
14250         API: gst_pipeline_get_delay()
14251         Add pipeline debug category
14252         Various cleanups.
14253         Updated docs.
14254         Don't reset stream time when seek failed.
14255
14256 2006-03-13  Wim Taymans  <wim@fluendo.com>
14257
14258         * docs/design/draft-klass.txt:
14259         * docs/design/part-clocks.txt:
14260         * docs/design/part-events.txt:
14261         * docs/design/part-gstbin.txt:
14262         * docs/design/part-gstpipeline.txt:
14263         * docs/design/part-messages.txt:
14264         * docs/design/part-negotiation.txt:
14265         * docs/design/part-overview.txt:
14266         * docs/design/part-preroll.txt:
14267         * docs/design/part-seeking.txt:
14268         * docs/design/part-states.txt:
14269         * docs/design/part-streams.txt:
14270         Documentation updates.
14271
14272 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14273
14274         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14275         us to leak strings...
14276
14277 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14278
14279         * libs/gst/net/gstnettimeprovider.c:
14280           fix docs
14281         * win32/common/config.h:
14282           update
14283
14284 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14285
14286         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14287
14288         * configure.ac:
14289           Don't check for libgnomeui (leftover from old examples
14290           that aren't built or disted any longer) (#334303).
14291           
14292 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14293
14294         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14295         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14296           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14297           there's no space left on the device.
14298
14299 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14300
14301         * gst/gstclock.h:
14302           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14303           to cast the input to GstClockTime before comparing with
14304           another GstClockTime value.
14305
14306 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14307
14308         * configure.ac:
14309           back to trunk
14310
14311 === release 0.10.4 ===
14312
14313 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14314
14315         * configure.ac:
14316           releasing 0.10.4, "Light"
14317
14318 2006-03-10  Michael Smith  <msmith@fluendo.com>
14319
14320         * libs/gst/dataprotocol/dataprotocol.c:
14321           Fix docs for dataprocotol to not get the return types completely
14322           wrong for a few functions.
14323
14324 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14325
14326         * docs/gst/gstreamer-sections.txt:
14327         * gst/gstpipeline.c: (gst_pipeline_class_init),
14328         (gst_pipeline_init), (gst_pipeline_set_property),
14329         (gst_pipeline_get_property), (gst_pipeline_change_state),
14330         (gst_pipeline_set_auto_flush_bus),
14331         (gst_pipeline_get_auto_flush_bus):
14332         * gst/gstpipeline.h:
14333           Add new API: gst_pipeline_set_auto_flush_bus() and
14334           gst_pipeline_get_auto_flush_bus() to disable automatic
14335           flushing of the pipeline's GstBus when going from READY
14336           to NULL state (#332045).
14337
14338 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14339
14340         * docs/gst/gstreamer-sections.txt:
14341         * gst/gsturi.c: (gst_uri_has_protocol):
14342         * gst/gsturi.h:
14343            Add new API: gst_uri_has_protocol() (#333779).
14344
14345 2006-03-09  Wim Taymans  <wim@fluendo.com>
14346
14347         * gst/gstclock.c: (gst_clock_entry_new),
14348         (gst_clock_id_compare_func), (gst_clock_id_wait),
14349         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14350         (gst_clock_init), (gst_clock_get_internal_time),
14351         (gst_clock_set_master), (do_linear_regression),
14352         (gst_clock_add_observation), (gst_clock_set_property):
14353         * gst/gstclock.h:
14354         Review docs.
14355         Small cleanups.
14356         Fix a possible segfault when the window-size is made smaller.
14357         Calculate jitter before performing the clock wait. Ideally
14358         the clock implementation should calculate jitter but we need
14359         API breakage for that.
14360
14361         * gst/gstsystemclock.c: (gst_system_clock_init):
14362         Docs review.
14363         
14364         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14365         Remove leftover else
14366
14367         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14368         (gst_systemclock_suite):
14369         Added check to test GST_CLOCK_DIFF.
14370
14371 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14372
14373         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14374         (gst_type_find_helper_get_range):
14375           If we are provided with the size, we should implement
14376           GstTypeFind::get_length, so that typefind functions who
14377           want to can actually peek at the middle of a file.
14378
14379 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14380
14381         * docs/manual/advanced-dataaccess.xml:
14382           Add some very very basic error checking.
14383
14384         * docs/pwg/appendix-checklist.xml:
14385           Some updates to the list of things to check when writing an element.
14386
14387 2006-03-08  Wim Taymans  <wim@fluendo.com>
14388
14389         * docs/design/part-element-transform.txt:
14390         Added some docs about the design of tranform elements.
14391
14392         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14393         (gst_base_src_loop), (gst_base_src_change_state):
14394         Mark buffers with the DISCONT flag.
14395
14396 2006-03-08  Michael Smith  <msmith@fluendo.com>
14397
14398         * gst/gstregistry.h:
14399         * gst/gstregistryxml.c: (gst_registry_save),
14400         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14401         (gst_registry_xml_save_pad_template),
14402         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14403         (gst_registry_xml_write_cache):
14404           Rewrite registry-saving to avoid race conditions and check for
14405           failed writes.
14406
14407 2006-03-08  Wim Taymans  <wim@fluendo.com>
14408
14409         * libs/gst/base/gstbasetransform.c:
14410         (gst_base_transform_transform_caps),
14411         (gst_base_transform_transform_size),
14412         (gst_base_transform_prepare_output_buffer),
14413         (gst_base_transform_get_unit_size),
14414         (gst_base_transform_buffer_alloc),
14415         (gst_base_transform_handle_buffer),
14416         (gst_base_transform_change_state):
14417         Cleanups, separate normal flow from errors, add sensible
14418         DEBUG lines.
14419         Don't try to renegotiate when allocating an output buffer.
14420         Also copy DISCONT buffer flag when copying a buffer.
14421         Reset the transform after we finish streaming, not during.
14422
14423 2006-03-08  Wim Taymans  <wim@fluendo.com>
14424
14425         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14426         Use last buffer timestamp in qos message.
14427
14428 2006-03-07  Wim Taymans  <wim@fluendo.com>
14429
14430         Patch by: Christophe Fergeau
14431
14432         * docs/pwg/advanced-tagging.xml:
14433         * docs/pwg/building-pads.xml:
14434           fixes #333416
14435
14436 2006-03-07  Wim Taymans  <wim@fluendo.com>
14437
14438         * docs/libs/gstreamer-libs-sections.txt:
14439         Added basesink new methods.
14440
14441         * gst/gstevent.c:
14442         * gst/gstevent.h:
14443         Docs updates. Flesh out the QoS docs.
14444
14445         * libs/gst/base/gstadapter.c:
14446         Small doc clarification about ownership and flushing.
14447
14448         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14449         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14450         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14451         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14452         * libs/gst/base/gstbasesink.h:
14453         API additions: 
14454         Added new methods to allow subclass to control max-lateness 
14455         and sync.
14456         Generate very basic QoS events based on last sync observation.
14457         Updated docs, fix typo, added some QoS blurb.
14458
14459         * libs/gst/base/gstbasesrc.c:
14460         Remove obsolete _get_state() calls from docs.
14461
14462 2006-03-07  Wim Taymans  <wim@fluendo.com>
14463
14464         * docs/libs/gstreamer-libs-sections.txt:
14465         * libs/gst/base/gstbasetransform.h:
14466         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14467         Fix docs for GstBaseSrc.
14468
14469 2006-03-07  Wim Taymans  <wim@fluendo.com>
14470
14471         * docs/gst/gstreamer-sections.txt:
14472         * gst/gstbuffer.h:
14473         * gst/gstvalue.c:
14474         * libs/gst/base/gstbasetransform.h:
14475         Small documentation fixes.
14476
14477 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14478
14479         * gst/gstvalue.c:
14480           Document thread-unsafety of gst_value_register_foo_func()
14481           when used at the same time as gst_value_foo() (#322628).
14482
14483 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14484
14485         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14486         (gst_push_src_check_get_range):
14487           Push sources don't support pull mode by default.
14488
14489 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14490
14491         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14492         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14493         (gst_base_src_default_check_get_range):
14494         * libs/gst/base/gstbasesrc.h:
14495           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14496           provide default implementation, and rename
14497           gst_base_src_check_get_range() to
14498           gst_base_src_pad_check_get_range() for clarity.
14499
14500 2006-03-06  Wim Taymans  <wim@fluendo.com>
14501
14502         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14503         Make property overridable.
14504
14505 2006-03-06  Wim Taymans  <wim@fluendo.com>
14506
14507         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14508         (gst_base_sink_init), (gst_base_sink_set_property),
14509         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14510         * libs/gst/base/gstbasesink.h:
14511         API addition: Make max-lateness a property.
14512
14513 2006-03-06  Wim Taymans  <wim@fluendo.com>
14514
14515         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14516         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14517         Don't ever draw a frame that is >10ms late.
14518
14519 2006-03-06  Michael Smith  <msmith@fluendo.com>
14520
14521         * gst/gstmessage.c: (_gst_message_copy):
14522           When copying a message, set the parent_refcount of the enclosed
14523           structure to point at the copy, not the original message.
14524
14525 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14526
14527         Patch by: Christophe Fergeau
14528
14529         * gst/gstutils.h:
14530           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14531           usable in c++ code (#333417)
14532
14533 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14534
14535         * gst/gstclock.h:
14536           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14537
14538 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14539
14540         * libs/gst/base/gstbasetransform.c:
14541         (gst_base_transform_transform_caps):
14542           Make sure caps are writable before passing them to
14543           gst_caps_append().
14544
14545 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14546
14547         * gst/gsterror.h:
14548           Fix some minor docs errors.
14549
14550 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14551
14552           Patch by: Ross Burton <ross at burtonini dot com>
14553
14554         * gst/gsterror.c: (_gst_resource_errors_init):
14555         * gst/gsterror.h:
14556           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14557
14558 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14559
14560         * gst/gst.c:
14561         Add a check and output a g_warning when GStreamer is built
14562         against GLib 2.6 but running against 2.8 or higher, and vice 
14563         versa. (Closes: #323542)
14564
14565 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14566
14567         * gst/parse/parse.l:
14568           Commit patch for parse_launch syntax from #331255. Removes 
14569           support for quoted strings and mimetypes when writing filtered 
14570           caps. See the bug report for more details - I'm pretty sure this
14571           obscure feature is not in use by _anyone_ anywhere.
14572
14573           With this simple change, the size of the gstreamer.so here 
14574           drops from 2193KB to 1565KB.
14575
14576 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14577
14578         * plugins/elements/gsttypefindelement.h:
14579         * plugins/elements/gsttypefindelement.c:
14580         (gst_type_find_element_src_event), (start_typefinding),
14581         (stop_typefinding), (gst_type_find_element_handle_event),
14582         (gst_type_find_element_chain),
14583         (gst_type_find_element_chain_do_typefinding):
14584           Use gst_type_find_helper_for_buffer() for chain-based
14585           typefinding.
14586
14587 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14588
14589         * plugins/elements/gsttypefindelement.c:
14590         (gst_type_find_element_class_init),
14591         (gst_type_find_element_set_property),
14592         (gst_type_find_element_get_property):
14593           Deprecate "maximum" property (not only was it only taken into
14594           account for typefinding in push-mode anyway, it also was never
14595           actually possible to set it in the first place because the
14596           property was registered with the numeric property ID for the
14597           "minimum" property). Register "maximum" property correctly,
14598           for the sake of future copy'n'pasters. Remove some cruft
14599           from property get/set functions.
14600
14601 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14602
14603         * plugins/elements/gsttypefindelement.c:
14604         (gst_type_find_element_activate):
14605           Use gst_type_find_helper_get_range() here, so we
14606           can honour the "minimum" property and also emit
14607           the signal with the correct probability of the found caps.
14608
14609 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
14610
14611         * docs/libs/gstreamer-libs-sections.txt:
14612         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14613         (helper_find_suggest), (gst_type_find_helper_get_range),
14614         (gst_type_find_helper):
14615         * libs/gst/base/gsttypefindhelper.h:
14616           New API: gst_type_find_helper_get_range() (#333042).
14617
14618 2006-03-02  Michael Smith  <msmith@fluendo.com>
14619
14620         * gst/gstregistryxml.c: (load_feature):
14621           Asserting on a failure to read part of the registry is Not Cool.
14622           Just log a warning and return NULL (which is already handled)
14623
14624 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
14625
14626         * win32/common/libgstbase.def:
14627           added export of gst_type_find_helper_for_buffer
14628         * win32/common/libgstbase.def:
14629           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14630           gst_ghost_pad_get_target
14631
14632 2006-02-28  Wim Taymans  <wim@fluendo.com>
14633
14634         * docs/design/draft-klass.txt:
14635         We use Filter now.
14636         Added Connector to mark elements that are only used to
14637         allow pipeline connections.
14638         Moved Debug to extra feature since most of them are 
14639         functionally something else.
14640
14641 2006-02-28  Wim Taymans  <wim@fluendo.com>
14642
14643         * docs/design/draft-klass.txt:
14644         Some updates and clarifications.
14645
14646 2006-02-28  Wim Taymans  <wim@fluendo.com>
14647
14648         * docs/design/draft-klass.txt:
14649         Proposal for klass field values.
14650
14651         * docs/design/part-streams.txt:
14652         Start of a doc describing stream anatomy.
14653
14654 2006-02-28  Wim Taymans  <wim@fluendo.com>
14655
14656         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14657         Help the compiler a bit with type registration.
14658         Use existing forward cod path instead of duplicating it when 
14659         handling a message.
14660         
14661         * gst/gstbus.c: (gst_bus_get_type):
14662         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14663         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14664         * gst/gstclock.c: (gst_clock_get_type):
14665         * gst/gstelement.c: (gst_element_get_type),
14666         * gst/gstelementfactory.c: (gst_element_factory_get_type):
14667         * gst/gstindexfactory.c: (gst_index_factory_get_type):
14668         * gst/gstminiobject.c: (gst_mini_object_get_type):
14669         * gst/gstpad.c: (gst_pad_get_type):
14670         * gst/gstsegment.c: (gst_segment_get_type):
14671         * gst/gststructure.c: (gst_structure_get_type):
14672         * gst/gstsystemclock.c: (gst_system_clock_get_type):
14673         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14674         * gst/gstvalue.c:
14675         Help compiler with type registration.
14676
14677         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14678         Small doc update.
14679
14680 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14681
14682         * plugins/elements/gsttypefindelement.c:
14683         (gst_type_find_element_handle_event):
14684           When we get an EOS event and have not found a type yet
14685           (most likely because we had not yet accumulated
14686           TYPE_FIND_MIN_SIZE of data yet), try to determine the
14687           type given the data we have so far. Fixes typefinding
14688           for very short streams again, most notably quicktime
14689           redirections as used on Apple's trailer site (#331701).
14690
14691 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14692
14693         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14694         (gst_type_find_helper):
14695           Try typefinding factories with the highest rank first.
14696
14697 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14698
14699         * docs/libs/gstreamer-libs-docs.sgml:
14700         * docs/libs/gstreamer-libs-sections.txt:
14701         * libs/gst/base/gsttypefindhelper.c:
14702           Add section for typefind helper and add documentation
14703           for the old and the new function.
14704
14705 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14706
14707         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14708         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14709         (gst_type_find_helper_for_buffer):
14710         * libs/gst/base/gsttypefindhelper.h:
14711           New API: gst_type_find_helper_for_buffer() (#332723).
14712           
14713 2006-02-27  Michael Smith  <msmith@fluendo.com>
14714
14715         Patch by: Loïc Minier
14716
14717         * configure.ac:
14718         * docs/Makefile.am:
14719         * docs/slides/Makefile.am:
14720           prevent CVS directories getting disted.
14721
14722 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14723
14724         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14725           Use the REFCOUNTING category for caps refcounting.
14726           
14727 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14728
14729         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14730           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14731
14732 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14733
14734         * plugins/elements/gsttypefindelement.c:
14735         (gst_type_find_element_activate):
14736           Use gst_pad_check_pull_range() before _activate_pull()
14737           to avoid unnecessary open/close (see #331690).
14738
14739 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14740
14741         * gst/gstutils.c:
14742           Docs enhancement: make it crystal clear what the
14743           gst_pad_add_*_probe() callbacks should look like.
14744
14745 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14746
14747         * libs/gst/base/gstbasesrc.c:
14748           Document how applications can stop recording from
14749           live sources (see #330996).
14750
14751 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14752
14753         * tests/check/Makefile.am:
14754         * tests/check/libs/basesrc.c: (eos_event_counter),
14755         (basesrc_eos_events_pull), (basesrc_eos_events_push),
14756         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14757         (gst_basesrc_suite), (main):
14758           ... and add some tests for the base source EOS stuff.
14759
14760 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14761
14762         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14763           Test case originally showed the problem fixed below,
14764           but was then amended. Add checks back at the place
14765           where they used to be.
14766
14767 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14768
14769         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14770         (gst_base_src_init), (gst_base_src_loop),
14771         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14772         (gst_base_src_change_state):
14773         * libs/gst/base/gstbasesrc.h:
14774           Don't unconditionally send EOS when going from PAUSED to
14775           READY state, esp. make sure we don't send two EOS events
14776           in some cases (e.g. one when reaching EOS and one when
14777           going from PAUSED to READY). Also, we don't want to send
14778           EOS events when operating in pull mode. However, we do
14779           want to send an EOS event when shutting down a live
14780           source explicitly, for example (fixes #330996).
14781           
14782 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14783
14784         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14785           Update src->read_position after a seek when not using mmap.
14786           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14787
14788 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
14789
14790         * gst/Makefile.am:
14791         * gst/gstparse.h:
14792         * gst/gstutils.c:
14793         * gst/gstutils.h:
14794         Make things work with --disable-parse as they do with 
14795         --disable-load-save - the symbols involved disappear, but the
14796         header is still installed and GST_DISABLE_PARSE is included via
14797         gstconfig.h
14798
14799 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14800
14801         * libs/gst/base/gstbasetransform.c:
14802         (gst_base_transform_change_state): Fix a stupid bug. I was 
14803         sure I compiled that.
14804
14805 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14806
14807         * gst/gstpad.c: (gst_pad_set_blocked_async):
14808         * gst/gstutils.c: (gst_pad_add_data_probe),
14809         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14810         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14811         (gst_pad_remove_buffer_probe): Make those function act on the
14812         ghostpad target when it's a ghostpad. (Closes #331727)
14813
14814 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14815
14816         * libs/gst/base/gstbasetransform.c:
14817         (gst_base_transform_change_state): Make basetransform reusable.
14818         (Closes #331898)
14819
14820 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
14821
14822         * docs/random/release:
14823         Move the current documentation of how to do a release to the top
14824         of the file.
14825
14826         * gst/gstbin.c: (gst_bin_class_init),
14827         (gst_bin_handle_message_func):
14828         Allow multiple state-recalculation threads. (Closes #328873)
14829
14830 2006-02-19  Julien MOUTTE  <julien@moutte.net>
14831
14832         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14833         * gst/gstpad.c: (gst_pad_set_event_function),
14834         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14835         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14836         2 strings. You can't use the STR_NULL macro on that.
14837
14838 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
14839
14840         * gst/gstpad.c: (gst_pad_set_event_function),
14841         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14842         (gst_pad_set_getcaps_function)
14843         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14844           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14845           So now, we can use --gst-debug-level=5 on Windows
14846         * win32/common/libgstcontroller.def:
14847           Added export of gst_controller_init
14848         * win32/vs6/libgstcontroller.dsp:
14849           Fixed Release post build configuration
14850
14851 2006-02-17  Wim Taymans  <wim@fluendo.com>
14852
14853         * tests/check/gst/gstquery.c: (GST_START_TEST):
14854         Added another check.
14855
14856 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
14857
14858         * plugins/elements/gsttypefindelement.c: (find_peek):
14859           We can do peeks at non-zero offsets, as long as they
14860           fall within the buffer we have.
14861
14862 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
14863
14864         * tests/check/Makefile.am:
14865         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14866         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14867         (parse_suite), (main):
14868           Add testsuite for parse launch syntax
14869
14870 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
14871
14872         * plugins/elements/gsttypefindelement.c:
14873         (gst_type_find_element_chain):
14874           When typefinding is unsuccessful in the chain function, don't
14875           error out immediately. Only error out with NO_CAPS_FOUND if
14876           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14877           otherwise simply wait for more data so we can try typefinding
14878           again with more data later. Also, don't attempt to typefind
14879           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14880           this should improve typefinding from network sources where the
14881           size of the first buffer can be somewhat random.
14882
14883 2006-02-14  Wim Taymans  <wim@fluendo.com>
14884
14885         * docs/gst/gstreamer-sections.txt:
14886         * gst/gstpadtemplate.c:
14887         * gst/gstpadtemplate.h:
14888         Fix padtemplate docs, fixes #328805.
14889
14890 2006-02-14  Wim Taymans  <wim@fluendo.com>
14891
14892         * tools/gst-launch.c: (main):
14893         NO_PREROLL is not an ERROR so don't send confusing messages
14894         to the user.
14895
14896 2006-02-14  Wim Taymans  <wim@fluendo.com>
14897
14898         Patch by: Torsten Schoenfeld
14899
14900         * gst/gstregistry.c: (gst_registry_get_default),
14901         (_gst_registry_cleanup):
14902         Protect default registry with lock and ref/sink it.
14903         Fixes #324818
14904
14905 2006-02-14  Wim Taymans  <wim@fluendo.com>
14906
14907         * gst/gstbuffer.c:
14908         * gst/gstquery.c: (gst_query_list_add_format),
14909         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14910         (gst_query_parse_formats_nth):
14911         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14912         Docs fixes.
14913
14914 2006-02-14  Wim Taymans  <wim@fluendo.com>
14915
14916         * docs/gst/gstreamer-sections.txt:
14917         Reworked query docs.
14918
14919         * gst/gstquery.c: (gst_query_new_formats),
14920         (gst_query_list_add_format), (gst_query_set_formats),
14921         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14922         (gst_query_parse_formats_nth):
14923         * gst/gstquery.h:
14924         Flesh out formats query, added some new methods.
14925         Fix part of #324398.
14926
14927         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
14928         Added query creation tests.
14929
14930 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
14931
14932         * gst/gstpad.c: (fixate_value):
14933         Add a default fixation for fraction lists.
14934
14935 2006-02-13  Wim Taymans  <wim@fluendo.com>
14936
14937         * gst/gsttask.c: (gst_task_init), (gst_task_func),
14938         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
14939         (gst_task_join):
14940         * gst/gsttask.h:
14941         Detect and warn for obvious deadlocks. fixes #320340
14942         Fix error case where lock was not released.
14943
14944         * tests/check/Makefile.am:
14945         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
14946         (task_func), (gst_element_suite), (main):
14947         Add task check.
14948
14949 2006-02-13  Wim Taymans  <wim@fluendo.com>
14950
14951         * docs/gst/gstreamer-sections.txt:
14952         * gst/gstbus.c:
14953         Add new functions to docs.
14954
14955 2006-02-13  Wim Taymans  <wim@fluendo.com>
14956
14957         * docs/design/part-TODO.txt:
14958         Updated TODO list, basesrc supports seeking to non-bytes
14959         formats.
14960
14961         * docs/design/part-element-sink.txt:
14962         Update docs.
14963
14964         * gst/gstbin.c: (bin_replace_message),
14965         (gst_bin_handle_message_func):
14966         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
14967         * gst/gstevent.c: (gst_event_finalize):
14968         * gst/gstpad.c: (gst_pad_event_default_dispatch),
14969         (gst_pad_send_event):
14970         Use shiny new _TYPE_NAME macros.
14971
14972         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14973         Move debug statement up.
14974
14975         * gst/gstelement.c: (gst_element_set_locked_state):
14976         Add some debugging.
14977
14978 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
14979
14980         * docs/gst/gstreamer-sections.txt:
14981         * gst/gstmessage.h:
14982         * gst/gstquery.h:
14983           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
14984           macros (#330906). Also, document the already existing
14985           GST_QUERY_TYPE macro.
14986
14987 2006-02-13  Wim Taymans  <wim@fluendo.com>
14988
14989         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
14990         (event_probe), (GST_START_TEST):
14991         Only events up to the pipeline EOS are counted, there are
14992         some more when going to NULL currently which we don't care
14993         about for now.
14994
14995 2006-02-13  Wim Taymans  <wim@fluendo.com>
14996
14997         * gst/gstpad.c: (gst_pad_send_event):
14998         Correctly check flushing and emit probes. fixes #330125
14999
15000 2006-02-10  Andy Wingo  <wingo@pobox.com>
15001
15002         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15003         structure.
15004         (gst_bus_init): Cache the location of the private data in the
15005         instance structure.
15006         (gst_bus_enable_sync_message_emission) 
15007         (gst_bus_disable_sync_message_emission): Implement new public
15008         functions.
15009         (gst_bus_post): Emit the sync-message signal if the user asked for
15010         it. Fixes #330684.
15011
15012         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15013         location of the bus-private structure.
15014         (gst_bus_enable_sync_message_emission)
15015         (gst_bus_disable_sync_message_emission): API addition
15016
15017 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15018
15019         Patch by: Vincent Torri
15020
15021         * docs/pwg/building-boiler.xml:
15022         PWG patch from #326800
15023
15024 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15025
15026         * configure.ac:
15027         * docs/Makefile.am:
15028         * docs/design/Makefile.am:
15029           Dist design docs.
15030
15031 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15032
15033         * configure.ac:
15034           back to CVS
15035
15036 === release 0.10.3 ===
15037
15038 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15039
15040         * configure.ac:
15041           releasing 0.10.3, "Like a virgin"
15042
15043 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15044
15045         * configure.ac:
15046           2nd prerelease of 0.10.3
15047           Bump libtool versioning.
15048
15049 2006-02-07  Andy Wingo  <wingo@pobox.com>
15050
15051         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15052         update last_stop if we're in TIME format and the timestamp is
15053         valid.
15054
15055         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15056         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15057         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15058         If we get a new newsegment with a different format, adapt
15059         accordingly.
15060
15061         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15062         of 0. Not a problem, really.
15063
15064         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15065         warn if sync=true.
15066
15067 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15068
15069         * configure.ac:
15070           Prelease of 0.10.3
15071
15072 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15073
15074         * win32/vs7:
15075           project files updated to the default vs7 configuration
15076         * win32/common/libgstbase.def:
15077         * win32/common/libgstreamer.def:
15078           added new symbols,
15079           removed empty lines,
15080           sorted all exported symbols alphabetically
15081         * win32/common/dirent.c:
15082         * win32/common/dirent.h:
15083         * win32/common/gchar.h:
15084           use windows line end.
15085           
15086 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15087
15088         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15089           Send EOS event when stopping.
15090
15091 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15092
15093         * docs/README:
15094           Tell folks what to do if the plugin-foobar.xml file
15095           hasn't been generated for a newly-added plugin.
15096
15097 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15098
15099         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15100         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15101         (gst_collect_pads_start), (gst_collect_pads_stop),
15102         (gst_collect_pads_event): Collectpads now holds a reference
15103         to the GstPad that was added. Indeed we don't want to look
15104         at pads that might just go away with no warning...
15105
15106 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15107
15108         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15109         (gst_collect_pads_start), (gst_collect_pads_stop),
15110         (gst_collect_pads_event), (gst_collect_pads_chain):
15111         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15112         Mark Nauwelaerts's patch on bug #328491.
15113
15114 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15115
15116         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15117         (gst_utils_suite):
15118           Add some simple tests for gst_parse_bin_from_description() and
15119           gst_bin_find_unconnected_pad() (#329069).
15120
15121 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15122
15123         * tools/gst-launch.c: (event_loop), (main):
15124           Catch errors during preroll (#320084).
15125
15126 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15127
15128         * plugins/elements/gsttypefindelement.c:
15129         (gst_type_find_element_activate):
15130           Post TYPE_NOT_FOUND error message when typefinding
15131           is unsuccessful in the activate function as well.
15132
15133 2006-02-02  Wim Taymans  <wim@fluendo.com>
15134
15135         * docs/design/part-element-sink.txt:
15136         Updated doc.
15137
15138 2006-02-02  Wim Taymans  <wim@fluendo.com>
15139
15140         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15141         (gst_base_sink_render_object),
15142         (gst_base_sink_queue_object_unlocked):
15143         Only keep track of prerollable items when we are 
15144         prerolling.
15145         Before rendering after preroll, always check if we
15146         have queued items.
15147         Added some more debugging.
15148
15149 2006-02-02  Wim Taymans  <wim@fluendo.com>
15150
15151         * gst/gstelement.c: (gst_element_continue_state),
15152         (gst_element_set_state_func), (gst_element_change_state):
15153         Fixed #326576, been running this for quite some time with
15154         no regressions at all.
15155
15156 2006-02-02  Wim Taymans  <wim@fluendo.com>
15157
15158         * common/gst.supp:
15159         Added more suppressions
15160
15161 2006-02-02  Wim Taymans  <wim@fluendo.com>
15162
15163         * docs/design/part-element-sink.txt:
15164         Updated document.
15165
15166         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15167         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15168         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15169         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15170         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15171         (gst_base_sink_preroll_object),
15172         (gst_base_sink_queue_object_unlocked),
15173         (gst_base_sink_queue_object), (gst_base_sink_event),
15174         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15175         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15176         (gst_base_sink_get_position), (gst_base_sink_change_state):
15177         * libs/gst/base/gstbasesink.h:
15178         Totally refactored matching the design doc.
15179         Use two segments, one to clip incomming buffers and another to
15180         perform sync.
15181         Handle queueing correctly, bypass the queue when playing.
15182         Make EOS cancelable.
15183         Handle errors correctly when operating in pull based mode.
15184
15185         * tests/check/elements/fakesink.c: (GST_START_TEST),
15186         (fakesink_suite):
15187         Added new check for sinks.
15188
15189 2006-02-02  Wim Taymans  <wim@fluendo.com>
15190
15191         * gst/gstsegment.c: (gst_segment_clip):
15192         No reason to refuse to clip when start == -1
15193
15194 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15195
15196         * docs/README:
15197         * docs/manual/intro-basics.xml:
15198         * docs/manual/intro-preface.xml:
15199         * docs/manual/manual.xml:
15200         * docs/pwg/advanced-dparams.xml:
15201         * docs/pwg/intro-basics.xml:
15202         * docs/pwg/intro-preface.xml:
15203         * docs/pwg/pwg.xml:
15204           describe dparams (controller) for plugins
15205           unify docs a little more
15206
15207 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15208
15209         * docs/gst/gstreamer-sections.txt:
15210         * gst/gstutils.c: (element_find_unconnected_pad),
15211         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15212         * gst/gstutils.h:
15213           Add new API: gst_parse_bin_from_description() and
15214           gst_bin_find_unconnected_pad() (#329069).
15215
15216 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15217
15218         * docs/manual/README:
15219           uncover a nasty detail of the docs build
15220
15221 2006-01-31  Wim Taymans  <wim@fluendo.com>
15222
15223         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15224         Don't cache duration messages if we're not going to use or
15225         free them.
15226
15227 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15228
15229         * docs/manual/advanced-dparams.xml:
15230         * docs/pwg/advanced-dparams.xml:
15231           more dparam docs
15232         * gst/gstindex.c:
15233           fix docs
15234         * libs/gst/controller/lib.c: (gst_controller_init):
15235           init just once
15236
15237 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15238
15239         * gst/gstelement.c: (gst_element_message_full):
15240           also show file/line/func if no additional debug was given
15241
15242 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15243         
15244         * win32/vs7/grammar.vcproj:
15245           activate copy of autogenerated files for Release mode
15246
15247 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15248         
15249         * win32/common/libgstreamer.def:
15250           export gst_value_compare
15251
15252 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15253
15254         * plugins/elements/Makefile.am:
15255         * plugins/elements/gstelements.c:
15256         * plugins/elements/gstfdsink.c: (_do_init),
15257         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15258         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15259         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15260         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15261         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15262         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15263         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15264         * plugins/elements/gstfdsink.h:
15265         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15266
15267 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15268
15269         * docs/manual/advanced-dparams.xml:
15270           describe controller
15271         * docs/manual/advanced-position.xml:
15272         * docs/manual/basics-init.xml:
15273         * docs/manual/manual.xml:
15274         * docs/manual/titlepage.xml:
15275         * docs/pwg/pwg.xml:
15276         * docs/pwg/titlepage.xml:
15277           cleanup xml (more to come)
15278         * libs/gst/controller/gstcontroller.c:
15279           fix typo
15280
15281 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15282         
15283         * win32/vs6/grammar.dsp:
15284           add autogen of gstmarshal.c,h for Release mode
15285                 
15286 2006-01-30  Wim Taymans  <wim@fluendo.com>
15287
15288         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15289         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15290         (gst_base_sink_handle_object), (gst_base_sink_event),
15291         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15292         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15293         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15294         (gst_base_sink_deactivate), (gst_base_sink_activate),
15295         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15296         (gst_base_sink_query), (gst_base_sink_change_state):
15297         Basesink cleanups, remove some old code.
15298         Handle the case where a subclass can preroll in the render
15299         method (mostly audiosinks).
15300         Handle more events.
15301         Remove some locks around variables that are now protected
15302         with the PREROLL_LOCK (clock_id, flushing, ..).
15303         Optimize position query some more, do correct locking.
15304         Remove old code to push queue in state change, this is not
15305         needed anymore since preroll blocks on all prerollable items 
15306         now.
15307         Almost implemented as described in design doc.
15308
15309 2006-01-30  Wim Taymans  <wim@fluendo.com>
15310
15311         * tests/check/gst/gstbin.c: (GST_START_TEST):
15312         Wait for refcount to settle down before checking.
15313
15314 2006-01-30  Wim Taymans  <wim@fluendo.com>
15315
15316         * docs/design/part-element-sink.txt:
15317         Pseudo code overview of desired sink behaviour regarding
15318         preroll.
15319
15320 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15321         * win32/vs6/grammar.dsp:
15322           fix some bugs in Release mode for autogenerated files
15323                 
15324 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15325         * win32/common/libgstbase.def:
15326         * win32/common/libgstreamer.def:
15327           export some new symbols: gst_base_src_set_format,
15328           gst_iterator_next, gst_structure_set_valist
15329
15330 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15331
15332         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15333         Set pad functions unconditionally. Fixes #329105.
15334
15335 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15336         * win32/vs8:
15337           add vs8 project files created by Sergey Scobich
15338
15339 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15340
15341         * gst/gstutils.c: (gst_element_unlink_pads):
15342         Don't leak pad references.
15343
15344         * tests/check/elements/fakesink.c: (GST_START_TEST):
15345         * tests/check/generic/sinks.c: (GST_START_TEST):
15346         * tests/check/generic/states.c: (GST_START_TEST):
15347         * tests/check/gst/gstbin.c: (GST_START_TEST):
15348         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15349         * tests/check/gst/gstelement.c: (GST_START_TEST):
15350         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15351         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15352         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15353         Fix a bunch of leaks. Make generic/sinks.c
15354         use a bit less cpu by slowing the buffer rate
15355         between fakesrc and fakesink.
15356         
15357 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15358         * gst/gstcaps.c:
15359         * gst/gstelement.c: (gst_element_send_event):
15360         * gst/gstevent.c:
15361         * gst/gstinfo.c:
15362         * gst/gstiterator.c:
15363         * gst/gstiterator.h:
15364         * gst/gstpad.c: (gst_pad_send_event):
15365         * gst/gststructure.c:
15366         * gst/gsturi.c:
15367         * gst/gstutils.c:
15368         * gst/gstvalue.c:
15369         * libs/gst/base/gstadapter.c:
15370           doc fixes, to link to function, just write gst_cool_function(), don't
15371           prefix with '#'
15372
15373 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15374
15375         * plugins/elements/gsttee.c: (gst_tee_do_push),
15376         (gst_tee_handle_buffer):
15377         Always prefer an actual return value from a src
15378         pad in place of NOT_LINKED. This means we return
15379         WRONG_STATE when all src pads are WRONG_STATE
15380         instead of NOT_LINKED.
15381
15382         Lock when replacing the last message to prevent
15383         racing with the get_property method.
15384
15385         Add debug output
15386
15387 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15388
15389         * tests/check/Makefile.am:
15390         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15391         (main):
15392         Add a very simple check that should have caught the memleak I fixed
15393         last night (if not for the slice allocator hiding it)
15394
15395 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15396
15397         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15398         (gst_bin_remove_func), (gst_bin_handle_message_func),
15399         (bin_query_duration_fold), (bin_query_generic_fold):
15400         Clean up references to the clock provider when disposed or when
15401         handling a clock-lost message from it.
15402
15403         Unref sinks when performing a query via gst_iterator_fold, as the
15404         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15405
15406         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15407         (gst_clock_set_master):
15408         Drop our reference to the master clock, if any, when we are disposed.
15409
15410         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15411         Chain up in dispose. 
15412
15413 2006-01-26  Wim Taymans  <wim@fluendo.com>
15414
15415         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15416         Add some debugging.
15417
15418 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15419
15420         * plugins/elements/gsttee.c: (gst_tee_do_push),
15421         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15422         handles pad being NOT_LINKED or in WRONG_STATE.
15423
15424 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15425
15426         * win32/MANIFEST:
15427           more updating
15428
15429 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15430
15431         * win32/MANIFEST:
15432           remove obsolete entry
15433
15434 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15435
15436         * docs/gst/gstreamer-sections.txt:
15437         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15438         (gst_bin_iterate_sources), (gst_bin_send_event):
15439         * gst/gstbin.h:
15440         * gst/gstelement.c: (gst_element_send_event):
15441         * gst/gstevent.c:
15442         * gst/gstpad.c: (gst_pad_send_event):
15443           added code for downstream events, reviewed docs in gstevent.c
15444
15445 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15446
15447         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15448         We only query position using the clock in the playing state.
15449         Query peer in the other cases.
15450         * win32/common/config.h: Updates.
15451
15452 2006-01-24  Wim Taymans  <wim@fluendo.com>
15453
15454         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15455         A clock entry that is scheduled for the exact time of the
15456         clock is still in time.
15457
15458         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15459         (gst_base_sink_do_sync):
15460         Add some more debug info.
15461
15462 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15463
15464         * win32/vs7:
15465           Add new vs7 project files and solution.
15466
15467 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15468
15469         * win32/vs7:
15470           all files removed as they were out-dated.
15471
15472 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15473
15474         * docs/random/release:
15475           update notes
15476         * gst/gstbin.c: (gst_bin_init):
15477         * gst/gstbus.c: (gst_bus_new):
15478         * gst/gstbus.h:
15479         * gst/gstpipeline.c: (gst_pipeline_init):
15480           use gst_bus_new(), improve logging, fix docs
15481         * win32/common/config.h:
15482           update for cvs build
15483
15484 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15485
15486         * autogen.sh:
15487           up required version of automake to 1.7
15488
15489 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15490
15491         * win32/common/libgstreamer.def:
15492           export gst_buffer_is_metadata_writable
15493
15494 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15495
15496         * docs/gst/gstreamer-sections.txt:
15497         * gst/gstevent.h:
15498           Add gst_event_replace() (#327001)
15499
15500 2006-01-20  Wim Taymans  <wim@fluendo.com>
15501
15502         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15503         Make it actually compile too..
15504
15505 2006-01-20  Wim Taymans  <wim@fluendo.com>
15506
15507         * gst/gstcaps.c:
15508         Clarify behaviour of _is_equal() when passing NULL parameters.
15509
15510         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15511         (gst_pad_set_caps):
15512         Cleanups. Don't unref NULL caps.
15513         When setting the same caps, protect caps of the pad with
15514         proper lock.
15515         Use full functionality of _is_equal() when comparing caps.
15516
15517 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15518
15519         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15520         Don't loop infinitely if there are no buffers to present. Partially
15521         fixes #327197, but collectpads is just broken for reusing elements
15522         to do multiple encodes atm.
15523
15524 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15525
15526         * tools/gst-inspect.c: (print_element_features):
15527         * tools/gst-xmlinspect.c: (main):
15528         URL_HANDLER is not a plugin feature we can search for in
15529         the registry.
15530
15531 2006-01-19  Edward Hervey  <edward@fluendo.com>
15532
15533         * gst/gstelement.c: (gst_element_pads_activate): 
15534         When activating, do src pads first, then sink pads.
15535         When de-activating, do sink pads first, then src pads.
15536
15537 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15538
15539         * docs/gst/gstreamer-sections.txt:
15540         Add gst_index_add_associationv to the docs
15541
15542 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15543
15544         * gst/gstevent.c:
15545           Fix docs typo
15546
15547         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15548         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15549           Do some refactoring. Doesn't actually change functionality,
15550           but makes landing the DRAIN event easier later.
15551
15552 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15553
15554         * docs/pwg/advanced-scheduling.xml:
15555           Update from 0.9.x to 0.10 API and make example a bit
15556           clearer.
15557
15558 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15559
15560         * docs/gst/gstreamer-sections.txt:
15561         Add gst_buffer_(is|make)_metadata_writable methods.
15562
15563 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15564
15565         * docs/design/part-sparsestreams.txt:
15566         Update sparse streams doc, hopefully for greater clarity
15567
15568 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15569
15570         * docs/design/part-events.txt:
15571         Remove mention of FILLER events.
15572         Add DRAIN event.
15573
15574         * docs/design/part-sparsestreams.txt:
15575         Write some things about using NEWSEGMENT to keep sparse streams
15576         flowing.
15577
15578 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15579
15580         * gst/gstbin.c: (gst_bin_dispose):
15581           Guard gst_object_unref call against a NULL object (dispose
15582           can theoretically be called multiple times).
15583           
15584 2006-01-18  Wim Taymans  <wim@fluendo.com>
15585
15586         * gst/gstbin.c: (gst_bin_element_set_state):
15587         * gst/gstclock.c: (gst_clock_id_wait):
15588         Added some more debug info.
15589
15590         * libs/gst/base/gstadapter.c:
15591         Added more docs.
15592
15593         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15594         (gst_base_sink_do_sync), (gst_base_sink_chain):
15595         Added some comments.
15596
15597 2006-01-18  Wim Taymans  <wim@fluendo.com>
15598
15599         * tests/check/Makefile.am:
15600         * tests/check/elements/fakesink.c: (chain_async_buffer),
15601         (chain_async), (chain_async_return), (GST_START_TEST),
15602         (fakesink_suite), (main):
15603         Added fakesink test that checks prerolling and clipping
15604         behaviour.
15605
15606         * tests/check/gst/gstutils.c: (GST_START_TEST):
15607         Make check run faster so that buildbots don't timeout.
15608
15609 2006-01-18  Wim Taymans  <wim@fluendo.com>
15610
15611         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15612         (gst_base_sink_do_sync):
15613         Some cleanups.
15614         When the sink finishes blocking on the preroll buffer, it can
15615         immediatly render it instead of rendering when the next buffer
15616         arrives.
15617
15618 2006-01-18  Wim Taymans  <wim@fluendo.com>
15619
15620         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15621         (gst_base_sink_get_property), (gst_base_sink_do_sync),
15622         (gst_base_sink_chain):
15623         Small cleanups.
15624         GST_ELEMENT_CLOCK and sync are protected with LOCK.
15625         Don't store _last_stop if the buffer is dropped.
15626
15627 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15628
15629         * plugins/elements/gsttypefindelement.c:
15630         (gst_type_find_element_class_init):
15631           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15632           object method handler that sets the caps on the pad and we want
15633           that to happen before we emit the signal (fixes e.g. feeding a
15634           plain text file to decodebin).
15635
15636 2006-01-18  Christian Schaller  <Christian@fluendo.com>
15637
15638         * gst/gstplugin.c: Add MPL and Proprietary as license options
15639
15640 2006-01-18  Andy Wingo  <wingo@pobox.com>
15641
15642         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15643         symbol was exported before, it appears this was just an oversight.
15644         Fixes #168703.
15645         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15646
15647         * gst/gstindex.c (gst_index_add_associationv): Changed int in
15648         prototype to gint. OK since this prototype was not in the header.
15649
15650 2006-01-17  Andy Wingo  <wingo@pobox.com>
15651
15652         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15653         registry while we remove plugins.
15654
15655         * tools/gst-inspect.c (print_element_info): Don't unref the
15656         factory arg, that should be the responsibility of whatever code
15657         received the ref. Fixes a double-free when called from
15658         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15659         (main): Unref the factory if we have one.
15660         (print_element_list): No change -- relies on the
15661         plugin_feature_list_free to free the list of features.
15662
15663 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
15664
15665         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15666         (gst_buffer_make_metadata_writable):
15667         * gst/gstbuffer.h:
15668         * libs/gst/base/gstbasetransform.c:
15669         (gst_base_transform_prepare_output_buf):
15670         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15671         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15672           Replace gst_buffer_(make|is)_metadata_writable patch now
15673           that the release is out.
15674
15675 2006-01-17  Andy Wingo  <wingo@pobox.com>
15676
15677         * gst/gstregistry.c: Reflow design comment. Update so as to speak
15678         in the present tense without reference to versions.
15679
15680         * gst/gstregistry.c (gst_registry_add_plugin)
15681         (gst_registry_remove_plugin, gst_registry_remove_feature)
15682         (gst_registry_find_feature, gst_registry_get_feature_list)
15683         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15684         (gst_registry_lookup, gst_registry_scan_path)
15685         (_gst_registry_remove_cache_plugins)
15686         (gst_registry_get_feature_list_by_plugin): Add argument
15687         validation.
15688
15689 === release 0.10.2 ===
15690
15691 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
15692
15693         * configure.ac:
15694           releasing 0.10.2, "If man is five"
15695
15696 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15697
15698         * gst/gstbuffer.c:
15699         * gst/gstbuffer.h:
15700         * libs/gst/base/gstbasetransform.c:
15701         (gst_base_transform_prepare_output_buf):
15702         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15703         * tests/check/gst/gstbuffer.c: (gst_test_suite):
15704           Back out patch until after the release.
15705
15706 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15707
15708         * gst/gstminiobject.c:
15709           Spelling fix in docs.
15710         * ChangeLog - remove conflict indicator
15711
15712 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15713
15714         Reviewed By: Andy Wingo
15715
15716         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15717         (gst_buffer_make_metadata_writable):
15718         * gst/gstbuffer.h:
15719           Add gst_buffer_(is|make)_metadata_writable as analogues of
15720           gst_buffer_(is|make)_writable.
15721
15722         * libs/gst/base/gstbasetransform.c:
15723         (gst_base_transform_prepare_output_buf):
15724         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15725           Use name gst_buffer_(is|make)_metadata_writable functions.
15726
15727         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15728           Test gst_buffer_(is|make)_metadata_writable
15729         
15730           (Closes: #324162)
15731
15732 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15733
15734         * docs/manual/Makefile.am:
15735           don't do parallel make
15736         * configure.ac:
15737           AC_SUBST HOST_CPU
15738         * win32/common/config.h.in:
15739           add generations for HOST_CPU and GST_MAJORMINOR
15740         * win32/common/config.h:
15741           commit generated result
15742
15743 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
15744
15745         * docs/manual/appendix-integration.xml:
15746           Update GNOME integration section to use gst_init_get_option_group()
15747           instead of the old popt stuff (#322911). Also, GNOME applications
15748           should  now use gconf*sink and gconf*src instead of the old gconf
15749           helper lib we had.
15750
15751 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
15752
15753
15754         * docs/gst/gstreamer-docs.sgml:
15755         * docs/gst/gstreamer-sections.txt:
15756         * docs/libs/gstreamer-libs-sections.txt:
15757           add new API entries to the docs
15758         * libs/gst/controller/Makefile.am:
15759         * libs/gst/controller/gstcontroller.c:
15760         * libs/gst/controller/gstcontroller.h:
15761         * libs/gst/controller/gstcontrollerprivate.h:
15762         * libs/gst/controller/gsthelper.c:
15763         * libs/gst/controller/gstinterpolation.c:
15764           move private structs to private header
15765         * po/README:
15766           gstreamer-0.7 -> gstreamer-0.10
15767         * tests/check/libs/struct_i386.h:
15768           remove private structs
15769
15770 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15771
15772         * plugins/indexers/Makefile.am:
15773           Fixes as part of #317048
15774
15775 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15776
15777         * plugins/indexers/Makefile.am:
15778           fix #316086 - compilation when mmap is missing
15779
15780 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
15781
15782         * libs/gst/base/gstbasesink.c:
15783           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
15784           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15785         * win32/common/config.h:
15786           added some defines GST_MAJORMINOR and HOST_CPU
15787         * win32/common/libgstbase.def:
15788         * win32/common/libgstreamer.def:
15789           added some exported functions.
15790
15791 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15792
15793         * libs/gst/controller/gstcontroller.c:
15794         (gst_controlled_property_set_interpolation_mode),
15795         (gst_controlled_property_new):
15796         * libs/gst/controller/gstcontroller.h:
15797         * libs/gst/controller/gstinterpolation.c:
15798         (interpolate_none_get_string_value_array):
15799           make G_TYPE_STRING controlable
15800
15801 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15802
15803         * tools/README:
15804         * tools/gst-feedback.1.in:
15805         * tools/gst-inspect.1.in:
15806         * tools/gst-launch.1.in:
15807         * tools/gst-md5sum.1.in:
15808         * tools/gst-typefind.1.in:
15809         * tools/gst-xmlinspect.1.in:
15810         * tools/gst-xmllaunch.1.in:
15811           cleanup man-pages, remove reference to gst-register, document env-vars
15812
15813 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
15814
15815         * gst/gstbuffer.c: (gst_buffer_span):
15816           gst_buffer_span should copy the timestamp of the first buffer
15817           if they were both originally overlapping subbuffers of the 
15818           same parent, using the same logic as the 'slow copy' case.
15819
15820 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
15821
15822         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15823           Need to awaken ALL the pads when we pop a buffer, otherwise
15824           collectpads only works when there is 2 input streams.
15825
15826 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
15827
15828         * docs/random/ensonic/media-device-daemon.txt:
15829           more ideas (dbus)
15830         * gst/gstbuffer.c:
15831           fix doc example, add clarification
15832         * tools/gst-launch.1.in:
15833           add initial info about GST_PLUGIN_PATH, needs more work
15834
15835 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
15836
15837         * docs/manual/basics-bins.xml:
15838         * docs/manual/basics-elements.xml:
15839         * docs/manual/intro-basics.xml:
15840           Some more minor docs additions and updates.
15841
15842 2006-01-11  Wim Taymans  <wim@fluendo.com>
15843
15844         * docs/manual/basics-bins.xml:
15845         * docs/manual/basics-elements.xml:
15846         Some small fixes as pointed out by Ser-ver on IRC.
15847
15848 2006-01-10  Edward Hervey  <edward@fluendo.com>
15849
15850         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15851         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15852         the single-segment mode.
15853
15854 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
15855
15856         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15857
15858         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15859         (gst_base_src_perform_seek), (gst_base_src_send_event),
15860         (gst_base_src_set_property), (gst_base_src_get_property),
15861         (gst_base_src_loop), (gst_base_src_start),
15862         (gst_base_src_activate_push):
15863         * libs/gst/base/gstbasesrc.h:
15864           Name (private) union; makes Sun's Forte compiler happy (#324900).
15865
15866 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
15867
15868         * README:
15869           gst-register is gone.
15870
15871 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15872
15873         * gst/gstvalue.c: (_gst_value_initialize):
15874           make the G_TYPE_DATE instantiation work if debug is disabled
15875
15876 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
15877
15878         * gst/gstmessage.c: (gst_message_parse_tag),
15879         (gst_message_parse_error), (gst_message_parse_warning):
15880           Don't crash when return location for error/warning debug
15881           string is NULL; add fact that return locations can be
15882           NULL to docs where appropriate.
15883
15884 2006-01-05  Wim Taymans  <wim@fluendo.com>
15885
15886         * gst/gstplugin.c: (gst_plugin_load_file):
15887         Replace strdup by g_strdup.
15888
15889 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15890
15891         * docs/pwg/advanced-types.xml:
15892           fix doc borkage
15893
15894 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15895
15896         submitted by: Abel Cheung
15897
15898         * po/LINGUAS:
15899         * po/zh_TW.po:
15900           Added Chinese (traditional) translation
15901
15902 2006-01-04  Wim Taymans  <wim@fluendo.com>
15903
15904         * docs/manual/basics-pads.xml:
15905         * docs/plugins/Makefile.am:
15906         * docs/plugins/gstreamer-plugins-docs.sgml:
15907         * docs/plugins/gstreamer-plugins-sections.txt:
15908         * docs/pwg/advanced-clock.xml:
15909         * docs/pwg/advanced-scheduling.xml:
15910         * docs/pwg/advanced-types.xml:
15911         * plugins/elements/gstfdsink.c:
15912         * plugins/elements/gstfdsrc.c:
15913         * plugins/elements/gstfdsrc.h:
15914         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15915         * plugins/elements/gstidentity.h:
15916         * plugins/elements/gstqueue.h:
15917         * plugins/elements/gsttee.c:
15918         * plugins/elements/gsttee.h:
15919         * plugins/elements/gsttypefindelement.c:
15920         (gst_type_find_element_class_init):
15921         * plugins/elements/gsttypefindelement.h:
15922         Small updates to various docs.
15923         Added core plugins to docs.
15924
15925 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15926
15927         * common/gst.supp:
15928           add a suppression for liboil's uninitialized variable
15929
15930 2006-01-02  James Livingston  <jrl at ids dot org dot au>
15931
15932         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15933
15934         * gst/gstutils.h:
15935           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
15936           macro, so that gcc doesn't complain if the -Wmissing-prototypes
15937           compiler switch is being used (#325429).
15938
15939 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
15940
15941         * gst/gstbin.c: (gst_bin_query):
15942           Disable duration query caching in bins until it gets
15943           fixed (see #324807).
15944
15945 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
15946
15947         * tools/gst-inspect.c: (print_element_properties_info):
15948           Handle properties of POINTER and BOXED type.
15949
15950 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
15951
15952         * gst/gst.c: (init_post):
15953           Init tags stuff and some other things before loading
15954           any static plugins (there may be other static plugins
15955           than just the GStreamer ones, and they may want to
15956           register their own tags or formats or whatever, and
15957           preferably without segfaulting).
15958
15959         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
15960           Print at least a warning in the debug logs if we drop a
15961           query just because we don't know how to adjust the value
15962           in the particular format.
15963
15964 2005-12-24  David Schleef  <ds@schleef.org>
15965
15966         * tools/gstreamer-completion:
15967           Replacement for gst-complete written in sh and sed.  Only
15968           completes names of features, but that's 90% of what I want
15969           it for.  Properties are not available in registry.xml.  (Maybe
15970           they should be...)
15971
15972 === release 0.10.1 ===
15973
15974 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
15975
15976         * configure.ac:
15977           releasing 0.10.1, "Nollaig chridheil"
15978
15979 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
15980
15981         * docs/faq/cvs.xml:
15982           Add missing quote, should be make ERROR_CFLAGS="".
15983
15984 2005-12-20  Wim Taymans  <wim@fluendo.com>
15985
15986         * docs/design/part-trickmodes.txt:
15987         More documentation on trickmodes.
15988
15989 2005-12-20  Edward Hervey  <edward@fluendo.com>
15990
15991         * gst/gstcaps.c: (gst_static_caps_get_type):
15992         * gst/gstcaps.h:
15993           API addition: GST_TYPE_STATIC_CAPS
15994         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
15995         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
15996         * gst/gstpadtemplate.h:
15997           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
15998         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
15999         bindings.
16000
16001 2005-12-18  Wim Taymans  <wim@fluendo.com>
16002
16003         * libs/gst/base/gstadapter.c:
16004         * libs/gst/base/gstadapter.h:
16005         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16006         (gst_base_sink_get_position):
16007         * libs/gst/base/gstbasesink.h:
16008         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16009         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16010         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16011         (gst_base_src_send_event), (gst_base_src_update_length),
16012         (gst_base_src_get_range), (gst_base_src_loop),
16013         (gst_base_src_start):
16014         * libs/gst/base/gstbasesrc.h:
16015         * libs/gst/base/gstbasetransform.h:
16016         * libs/gst/base/gstcollectpads.h:
16017         * libs/gst/base/gstpushsrc.c:
16018         * libs/gst/base/gstpushsrc.h:
16019         * libs/gst/dataprotocol/dataprotocol.c:
16020         * libs/gst/dataprotocol/dataprotocol.h:
16021         * libs/gst/net/gstnetclientclock.h:
16022         * libs/gst/net/gstnettimeprovider.h:
16023         Documentation updates.
16024
16025 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16026
16027         * docs/manual/basics-helloworld.xml:
16028           Remove superfluous closing bracket in helloworld example.
16029
16030 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16031
16032         * tools/gst-launch.1.in:
16033           Update gst-launch man page; add a section with useful
16034           environment variables. Fixes #323882.
16035
16036 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16037
16038         * gst/gst.c:
16039         * gst/gst_private.h:
16040           change some char* into char[]
16041
16042 2005-12-16  Wim Taymans  <wim@fluendo.com>
16043
16044         * gst/gstregistryxml.c: (load_feature):
16045         Cleanups.
16046         Don't use g_object_unref on GstObjects so that we avoid
16047         leaks on unsafe glibs.
16048
16049 2005-12-16  Wim Taymans  <wim@fluendo.com>
16050
16051         * gst/gstbin.c: (gst_bin_recalc_state):
16052         Small doc updates.
16053
16054 2005-12-16  Wim Taymans  <wim@fluendo.com>
16055
16056         * common/check.mak:
16057         Added make forever target for check.
16058
16059 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16060
16061         * gst/gst.c: (init_post):
16062           make the registry cache file HOST_CPU-dependent
16063
16064 2005-12-16  Andy Wingo  <wingo@pobox.com>
16065
16066         * plugins/elements/gstbufferstore.c
16067         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16068         return value.
16069
16070         * tests/check/gst/gstobject.c
16071         (test_fake_object_name_threaded_unique): Pay attention to
16072         g_list_sort return value.
16073
16074 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16075
16076         * tools/gst-feedback-m.m:
16077           Update for 0.9/0.10 (fixes #323870).
16078
16079 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16080
16081         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16082           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16083           
16084         * tests/check/gst/gstminiobject.c: (my_foo_init),
16085         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16086         (test_value_collection), (gst_mini_object_suite):
16087           Add test to ensure refcounts end up as expected when passing
16088           GstMiniObjects through g_object_get() and g_object_set().
16089
16090 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16091
16092         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16093         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16094         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16095         of collectpads. This version removes a lot of races without
16096         touching API/ABI. Yay !
16097
16098 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16099
16100         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16101           Don't allow activation of a srcpad in pull_range if it has no
16102           getrange function.
16103           Change some debug statements to be a little clearer
16104
16105         * plugins/elements/gsttypefindelement.c:
16106         (gst_type_find_handle_src_query):
16107           Check that we have a peer before executing queries thereupon.
16108
16109         * tests/examples/metadata/read-metadata.c: (message_loop):
16110           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16111           immediately return us any available message with 0 timeout.
16112
16113 2005-12-12  Michael Smith  <msmith@fluendo.com>
16114
16115         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16116           Don't unref factories after calling them.
16117         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16118         * plugins/elements/gsttypefindelement.c:
16119         (gst_type_find_element_chain):
16120           Free lists of factories after using them. Fixing typefinding memory
16121           leaks.
16122
16123 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16124
16125         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16126         (gst_plugin_feature_load):
16127           more meaningful debug output
16128         * configure.ac:
16129         * tests/Makefile.am:
16130         * tests/old/examples/Makefile.am:
16131           make make distcheck happy again
16132
16133 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16134
16135         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16136           Catch the special case where we are operating chain-based,
16137           but the downstream peer pad has no chain function. Emit a
16138           custom error message in this case instead of letting the
16139           core generate one implying that this is some sort of core
16140           bug. It's not, it just means that whatever got plugged
16141           into the pipeline downstream when we announced the type
16142           can only operate pull-based, while our source can only
16143           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16144           Error string has not been marked for translation yet, as
16145           it probably needs some more work first.
16146
16147         (gst_type_find_element_get_best_possibility):
16148           Add helper function to find the best of all available
16149           found possibilities that qualify given the min. threshold.
16150
16151         (gst_type_find_element_handle_event):
16152           Fix the case where we get an EOS while still in TYPEFIND
16153           mode (we want to chose the best of all possible types,
16154           not just the first type that happens to be in our unsorted
16155           list of possible types).
16156
16157         (gst_type_find_element_chain):
16158           Make sure we return GST_FLOW_ERROR when we errored out
16159           in stop_typefinding(); also, don't just find the best of
16160           all found type entries and then use the last examined
16161           type entry, but actually use the best entry.
16162
16163 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16164
16165         * tests/examples/typefind/typefind.c: (type_found):
16166         * tests/examples/xml/runxml.c: (xml_loaded):
16167           More gcc4 fixes and a mem leak fix.
16168
16169 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16170
16171         * tests/examples/xml/createxml.c: (object_saved):
16172           gcc 4 fixes
16173
16174 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16175
16176         * tests/Makefile.am:
16177           enable the examples even more
16178
16179 2005-12-12  Andy Wingo  <wingo@pobox.com>
16180
16181         * libs/gst/net/gstnettimeprovider.c
16182         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16183         (gst_net_time_provider_set_property)
16184         (gst_net_time_provider_get_property):
16185         API addition: Export "active" as a GObject property.
16186         (gst_net_time_provider_thread): Only respond to time queries if
16187         the time provider is active.
16188
16189         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16190         NetTimeProvider, preserving binary compat.
16191
16192 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16193
16194         * tests/examples/controller/audio-example.c: (main):
16195         * tests/examples/launch/Makefile.am:
16196           convert comments again
16197
16198 2005-12-12  Wim Taymans  <wim@fluendo.com>
16199
16200         * libs/gst/base/gstpushsrc.c:
16201         Fix typo.
16202
16203 2005-12-12  Wim Taymans  <wim@fluendo.com>
16204
16205         * docs/libs/gstreamer-libs-sections.txt:
16206         Added new symbol to docs.
16207
16208         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16209         (gst_base_src_init), (gst_base_src_set_format),
16210         (gst_base_src_default_query), (gst_base_src_query),
16211         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16212         (gst_base_src_perform_seek), (gst_base_src_send_event),
16213         (gst_base_src_default_event), (gst_base_src_event_handler),
16214         (gst_base_src_set_property), (gst_base_src_get_property),
16215         (gst_base_src_wait), (gst_base_src_do_sync),
16216         (gst_base_src_update_length), (gst_base_src_get_range),
16217         (gst_base_src_check_get_range), (gst_base_src_loop),
16218         (gst_base_src_default_negotiate), (gst_base_src_start),
16219         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16220         (gst_base_src_change_state):
16221         * libs/gst/base/gstbasesrc.h:
16222         Implement seeking to other formats than _BYTES.
16223         Implement more seeking methods correctly.
16224         Doc updates.
16225         Added query vmethod.
16226         Added do_seek vmethod to make life easier for subclasses
16227         when seeking.
16228         API addition: gst_base_src_set_format()
16229
16230 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16231
16232         * tests/examples/Makefile.am:
16233           added that too
16234
16235 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16236
16237         * configure.ac:
16238         * docs/random/ensonic/media-device-daemon.txt:
16239         * tests/examples/controller/.cvsignore:
16240         * tests/examples/controller/Makefile.am:
16241         * tests/examples/controller/audio-example.c: (main):
16242         * tests/examples/helloworld/.cvsignore:
16243         * tests/examples/helloworld/Makefile.am:
16244         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16245         * tests/examples/launch/.cvsignore:
16246         * tests/examples/launch/Makefile.am:
16247         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16248         * tests/examples/metadata/.cvsignore:
16249         * tests/examples/metadata/Makefile.am:
16250         * tests/examples/metadata/read-metadata.c: (message_loop),
16251         (make_pipeline), (print_tag), (main):
16252         * tests/examples/queue/.cvsignore:
16253         * tests/examples/queue/Makefile.am:
16254         * tests/examples/queue/queue.c: (event_loop), (main):
16255         * tests/examples/typefind/.cvsignore:
16256         * tests/examples/typefind/Makefile.am:
16257         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16258         (main):
16259         * tests/examples/xml/.cvsignore:
16260         * tests/examples/xml/Makefile.am:
16261         * tests/examples/xml/createxml.c: (object_saved), (main):
16262         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16263         * tests/old/examples/Makefile.am:
16264         * tests/old/examples/TODO:
16265         * tests/old/examples/controller/.cvsignore:
16266         * tests/old/examples/controller/Makefile.am:
16267         * tests/old/examples/controller/audio-example.c:
16268         * tests/old/examples/helloworld/.cvsignore:
16269         * tests/old/examples/helloworld/Makefile.am:
16270         * tests/old/examples/helloworld/helloworld.c:
16271         * tests/old/examples/launch/.cvsignore:
16272         * tests/old/examples/launch/Makefile.am:
16273         * tests/old/examples/launch/mp3parselaunch.c:
16274         * tests/old/examples/launch/mp3play:
16275         * tests/old/examples/manual/Makefile.am:
16276         * tests/old/examples/metadata/Makefile.am:
16277         * tests/old/examples/metadata/read-metadata.c:
16278         * tests/old/examples/queue/.cvsignore:
16279         * tests/old/examples/queue/Makefile.am:
16280         * tests/old/examples/queue/queue.c:
16281         * tests/old/examples/typefind/.cvsignore:
16282         * tests/old/examples/typefind/Makefile.am:
16283         * tests/old/examples/typefind/typefind.c:
16284         * tests/old/examples/xml/.cvsignore:
16285         * tests/old/examples/xml/Makefile.am:
16286         * tests/old/examples/xml/createxml.c:
16287         * tests/old/examples/xml/runxml.c:
16288           applied some simple fixing to some examples
16289           re-enabled the working examples
16290
16291 2005-12-12  Wim Taymans  <wim@fluendo.com>
16292
16293         * gst/gstsegment.c: (gst_segment_init),
16294         (gst_segment_set_last_stop), (gst_segment_set_seek),
16295         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16296         (gst_segment_to_running_time):
16297         Added more documentation.
16298         Make sure the last_pos value is updated properly.
16299         Make sure to_stream_time and to_running_time don't
16300         operate on wrong values.
16301
16302         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16303         Update check.
16304
16305 2005-12-12  Michael Smith  <msmith@fluendo.com>
16306
16307         * plugins/elements/gsttypefindelement.c: (free_entry),
16308         (gst_type_find_element_chain):
16309           Now that we're not leaking factories, make sure we keep references
16310           to them while we need them.
16311
16312 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16313
16314         * tests/check/gst/struct_i386.h:
16315           ifdef out the XML structs
16316
16317 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16318
16319         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16320           floor is not needed, F is always positive; this obviates the
16321           need for adding -lm when building without libxml
16322
16323 2005-12-12  Wim Taymans  <wim@fluendo.com>
16324
16325         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16326         Take current playback rate into account when reporting
16327         the position.
16328
16329 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16330
16331         * docs/manual/mime-world.fig:
16332           Let's try this again, this time with a file that is
16333           actually in XFig format.
16334
16335 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16336
16337         * docs/manual/mime-world.fig:
16338           Add audioconvert element to diagram so that it
16339           matches the text and the code (fixes #319526).
16340
16341 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16342
16343         * docs/pwg/building-chainfn.xml:
16344         * docs/pwg/building-pads.xml:
16345         * docs/pwg/building-state.xml:
16346         * docs/pwg/other-source.xml:
16347           Update state change stuff for 0.10 (fixes #322969).
16348
16349 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16350
16351         * docs/manual/advanced-dataaccess.xml:
16352         * docs/manual/appendix-checklist.xml:
16353         * docs/manual/appendix-programs.xml:
16354         * docs/manual/basics-pads.xml:
16355         * docs/manual/highlevel-components.xml:
16356         * docs/manual/manual.xml:
16357           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16358           add converters in front of pipelines; remove curly
16359           brackets for threads stuff, they no longer exist; use
16360           GST_TYPE_FRACTION for framerates; update some pieces of
16361           code to 0.10, but there's plenty more to do.
16362
16363         * docs/manual/appendix-porting.xml:
16364           Expand on asynchroneous state changes; s/0.9/0.10/;
16365           mention disappearance of gst_init_get_popt_table()
16366           (fixes #322916).
16367
16368 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16369
16370         * docs/faq/using.xml:
16371           Spider no longer exists, and neither does gst-launch-ext.
16372           Update examples to use decodebin and playbin and put
16373           converters in front of sinks (fixes #323726).
16374
16375 2005-12-09  Michael Smith  <msmith@fluendo.com>
16376
16377         * plugins/elements/gsttypefindelement.c: (find_peek),
16378         (gst_type_find_element_chain):
16379           Fix leaking element factories in typefinding.
16380           Fix problem where we forgot about a probable type on non-seekable
16381           files, and thus later mis-typefound it.
16382
16383 2005-12-09  Michael Smith  <msmith@fluendo.com>
16384
16385         * common/m4/gst-makecontext.m4:
16386         * common/m4/gst-mcsc.m4:
16387         * configure.ac:
16388         * win32/common/config.h:
16389         * win32/common/config.h.in:
16390           Remove makecontext stuff; not used in 0.10 and causes problems on
16391           HPUX according to bug #322441
16392
16393 2005-12-07  Wim Taymans  <wim@fluendo.com>
16394
16395         * tests/check/Makefile.am:
16396         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16397         (main):
16398         * tests/check/libs/struct_i386.h:
16399         Added ABI check for libs
16400
16401 2005-12-07  Wim Taymans  <wim@fluendo.com>
16402
16403         * tests/check/Makefile.am:
16404         And add the struct_i386.h to dist.
16405
16406 2005-12-07  Wim Taymans  <wim@fluendo.com>
16407
16408         * tests/check/Makefile.am:
16409         * tests/check/gst/.cvsignore:
16410         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16411         (main):
16412         * tests/check/gst/struct_i386.h:
16413         Added check for ABI compatibility.
16414
16415 2005-12-07  Wim Taymans  <wim@fluendo.com>
16416
16417         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16418         (gst_fake_src_get_times), (gst_fake_src_create):
16419         Fix broken sync option, fixes #323259
16420
16421 2005-12-07  Wim Taymans  <wim@fluendo.com>
16422
16423         * gst/gstbuffer.c:
16424         Small docs update.
16425
16426         * gst/gstcaps.c: (gst_caps_is_equal):
16427         Don't assert on NULL <--> X. Fixes #323260
16428
16429         * gst/gstminiobject.c: (gst_mini_object_replace):
16430         If we're doing atomic operations, we might just as well use
16431         the proper way to get an atomic pointer.
16432
16433         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16434         Clean up debugging.
16435
16436 2005-12-07  Michael Smith  <msmith@fluendo.com>
16437
16438         * gst/parse/grammar.y:
16439           Remove handling of { } for threads.
16440
16441 2005-12-06  David Schleef  <ds@schleef.org>
16442
16443         * libs/gst/base/gstbasetransform.c: speling fix.
16444
16445 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16446
16447         * docs/libs/tmpl/gstdataprotocol.sgml:
16448         * docs/random/omega/testing/gstobject.c:
16449         * gst/gst.c:
16450         * gst/gstclock.c:
16451         * gst/gstelement.c:
16452         * gst/gstelementfactory.c:
16453         * gst/gsterror.c:
16454         * gst/gstevent.c:
16455         * gst/gstghostpad.c:
16456         * gst/gstinfo.c:
16457         * gst/gstpadtemplate.c:
16458         * gst/gstregistryxml.c:
16459         * gst/gsttaglist.c:
16460         * gst/gsttagsetter.c:
16461         * gst/gsttypefind.c:
16462         * gst/gstvalue.c:
16463         * libs/gst/base/gstbasesrc.c:
16464         * libs/gst/net/gstnetclientclock.c:
16465         * libs/gst/net/gstnettimeprovider.c:
16466         * plugins/elements/gstfakesrc.c:
16467         * plugins/elements/gstfdsrc.c:
16468         * plugins/elements/gstfilesrc.c:
16469         * plugins/elements/gstidentity.c:
16470         * plugins/elements/gstqueue.c:
16471         * plugins/elements/gsttypefindelement.c:
16472         * plugins/indexers/gstfileindex.c:
16473         * plugins/indexers/gstmemindex.c:
16474         * tests/check/gst/gsttag.c:
16475         * tests/old/examples/cutter/cutter.c:
16476         * tests/old/examples/mixer/mixer.c:
16477         * tests/old/examples/xml/runxml.c: (main):
16478         * tests/old/testsuite/caps/normalisation.c:
16479         * tests/old/testsuite/debug/global.c:
16480         * tests/old/testsuite/parse/parse1.c:
16481         * tools/gst-xmlinspect.c:
16482         * win32/common/dirent.c:
16483           expand tabs
16484
16485 === release 0.10.0 ===
16486
16487 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16488
16489         * configure.ac:
16490           releasing 0.10.0, "Maroilles"
16491
16492 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16493
16494         submitted by: Funda Wang <fundawang@linux.net.cn>
16495
16496         * po/LINGUAS:
16497         * po/zh_CN.po:
16498           added Chinese (Traditional) translation
16499
16500 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16501
16502         * docs/gst/gstreamer-sections.txt:
16503         * docs/libs/tmpl/gstdataprotocol.sgml:
16504         * docs/random/thomasvs/TODO:
16505         * gst/gstutils.c:
16506         * gst/gstutils.h:
16507           fix docs
16508
16509 2005-12-05  Andy Wingo  <wingo@pobox.com>
16510
16511         patch by: Wim Taymans <wim@fluendo.com>
16512
16513         * libs/gst/base/gstbasetransform.c
16514         (gst_base_transform_prepare_output_buf)
16515         (gst_base_transform_buffer_alloc):
16516         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16517         alloc_buffer_and_set_caps.
16518
16519         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16520         set_caps on the source pad.
16521         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16522         alloc_buffer used to do. Fixes #322874.
16523
16524         * docs/gst/gstreamer-sections.txt: 
16525         * docs/design/part-negotiation.txt: 
16526         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16527         changes.
16528
16529 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16530
16531         patch by: Sebastien Moutte
16532
16533         * win32/MANIFEST:
16534         * win32/common/config.h.in:
16535         * win32/vs6/libgstcontroller.dsp:
16536           win32 build fixes
16537
16538 2005-12-05  Wim Taymans  <wim@fluendo.com>
16539
16540         * gst/gstcaps.c: (gst_caps_is_equal):
16541         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16542         (gst_fake_src_create):
16543         Back out previous code changes, leave doc updates, file bugs 
16544         instead. 
16545
16546 2005-12-05  Wim Taymans  <wim@fluendo.com>
16547
16548         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16549         (gst_fake_src_get_times), (gst_fake_src_create):
16550         * plugins/elements/gstfakesrc.h:
16551         Fix broken sync code.
16552
16553 2005-12-05  Wim Taymans  <wim@fluendo.com>
16554
16555         * gst/gstcaps.c: (gst_caps_is_equal):
16556         Comparing NULL against !NULL yields different caps, not a
16557         failure.
16558
16559 2005-12-05  Wim Taymans  <wim@fluendo.com>
16560
16561         * gst/gstpipeline.c:
16562         Fix small typo in docs.
16563
16564 2005-12-05  Andy Wingo  <wingo@pobox.com>
16565
16566         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16567
16568         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16569         registries/plugins with a MAJORMINOR one.
16570         (plugin_desc): Rename library from gstcoreleements to
16571         staticelements. Fixes #323222.
16572
16573 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16574
16575         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16576           Change debug category to 'collectpads' from 'collect_pads'
16577           (fixes #323250).
16578
16579 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16580
16581         patch by: Sebastien Moutte
16582
16583         * libs/gst/controller/gstinterpolation.c:
16584           use convert function for uint64/double
16585         * win32/vs6/libgstcontroller.dsp:
16586           link to GLib
16587
16588 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16589
16590         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16591         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16592         * gst/gstutils.h:
16593         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16594           add tests that seem to show that the guint64/gdouble conversions
16595           are correct.
16596
16597 2005-12-02  Wim Taymans  <wim@fluendo.com>
16598
16599         * gst/gstregistry.c: (gst_registry_add_path):
16600         * gst/gstregistry.h:
16601         * gst/gstregistryxml.c:
16602         Fix docs again.
16603
16604 2005-12-02  Wim Taymans  <wim@fluendo.com>
16605
16606         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16607         (gst_util_uint64_scale_int):
16608         Small cleanup.
16609
16610         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16611         Add debug log line.
16612
16613         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16614         Add FIXME.
16615
16616 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16617
16618         * win32/MANIFEST:
16619         * win32/common/config.h:
16620         * win32/vs6/gstreamer.dsw:
16621         * win32/vs6/libgstcoreelements.dsp:
16622         * win32/vs6/libgstelements.dsp:
16623           renamed core elements plugin
16624
16625 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16626
16627         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16628         (get_candidates):
16629           do piece-wise major/minor comparison so 0.9 < 0.10
16630           also allow .exe extensions for tools
16631
16632 2005-12-02  Michael Smith  <msmith@fluendo.com>
16633
16634         * gst/gst.c:
16635           Escape a % to make gtkdoc happier; bug 322958.
16636
16637 === release 0.9.7 ===
16638
16639 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16640
16641         * configure.ac:
16642           releasing 0.9.7, "My Dog Has No Nose"
16643
16644 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16645
16646         * common/gst-xmlinspect.py:
16647         * configure.ac:
16648         * docs/libs/tmpl/gstdataprotocol.sgml:
16649         * docs/random/release:
16650         * po/af.po:
16651         * po/az.po:
16652         * po/bg.po:
16653         * po/ca.po:
16654         * po/cs.po:
16655         * po/de.po:
16656         * po/en_GB.po:
16657         * po/fr.po:
16658         * po/it.po:
16659         * po/nb.po:
16660         * po/nl.po:
16661         * po/ru.po:
16662         * po/sq.po:
16663         * po/sr.po:
16664         * po/sv.po:
16665         * po/tr.po:
16666         * po/uk.po:
16667         * po/vi.po:
16668         * win32/common/config.h:
16669         * win32/common/config.h.in:
16670         * win32/vs6/gst_inspect.dsp:
16671         * win32/vs6/gst_launch.dsp:
16672         * win32/vs6/libgstbase.dsp:
16673         * win32/vs6/libgstelements.dsp:
16674         * win32/vs6/libgstreamer.dsp:
16675         * win32/vs7/GStreamer.vcproj:
16676         * win32/vs7/gst-inspect.vcproj:
16677         * win32/vs7/gst-launch.vcproj:
16678         * win32/vs7/libgstbase.vcproj:
16679           bump GST_MAJORMINOR to 0.10
16680           reset libtool version
16681
16682 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16683
16684         * po/LINGUAS:
16685         * po/bg.po:
16686           Added Bulgarian translation by (Alexander Shopov)
16687
16688 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16689
16690         * tests/check/gst/gstplugin.c:
16691           fix test
16692
16693 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16694
16695         * common/gst-xmlinspect.py:
16696         * common/gtk-doc-plugins.mak:
16697         * configure.ac:
16698         * docs/Makefile.am:
16699         * docs/gst/Makefile.am:
16700         * docs/gst/gstreamer-docs.sgml:
16701         * docs/gst/gstreamer-sections.txt:
16702         * docs/gst/gstreamer.types:
16703         * docs/gst/gstreamer.types.in:
16704         * docs/plugins/Makefile.am:
16705         * docs/plugins/gstreamer-plugins-docs.sgml:
16706         * docs/plugins/gstreamer-plugins-sections.txt:
16707         * docs/plugins/gstreamer-plugins.types:
16708         * docs/plugins/inspect.stamp:
16709         * docs/plugins/inspect/plugin-coreelements.xml:
16710         * docs/plugins/inspect/plugin-coreindexers.xml:
16711         * docs/plugins/scanobj-build.stamp:
16712         * gstreamer.spec.in:
16713         * plugins/elements/Makefile.am:
16714         * plugins/elements/gstelements.c:
16715         * plugins/elements/gstfakesink.c:
16716         * plugins/elements/gstfakesrc.c:
16717         * plugins/elements/gstfilesink.c:
16718         * plugins/elements/gstfilesrc.c:
16719         * plugins/elements/gstqueue.c:
16720         * plugins/indexers/Makefile.am:
16721         * plugins/indexers/gstindexers.c:
16722           document core plugins in a separate document just like all the
16723           others
16724           rename these plugins to something starting with core
16725
16726 2005-12-01  Andy Wingo  <wingo@pobox.com>
16727
16728         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16729         padding here before, but it missed the commit.
16730
16731 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16732
16733         * libs/gst/controller/gstinterpolation.c:
16734           whitespace prices have crashed, we should feel free to use some now
16735           use gst_guint64_to_gdouble
16736
16737 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16738
16739         * libs/gst/controller/gstcontroller.c:
16740         * libs/gst/controller/gsthelper.c:
16741         * libs/gst/controller/gstinterpolation.c:
16742         * libs/gst/controller/lib.c:
16743           wrap config.h include
16744
16745 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16746
16747         * docs/gst/gstreamer-sections.txt:
16748           update docs
16749
16750 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16751
16752         * plugins/elements/gstelements.c:
16753         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16754         (gst_fd_sink__class_init), (gst_fd_sink__init),
16755         (gst_fd_sink__chain), (gst_fd_sink__set_property),
16756         (gst_fd_sink__get_property):
16757         * plugins/elements/gstfdsink.h:
16758         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16759         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16760         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16761         (gst_fd_src_unlock), (gst_fd_src_set_property),
16762         (gst_fd_src_get_property), (gst_fd_src_create),
16763         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16764         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16765         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16766         (gst_fd_src_uri_handler_init):
16767         * plugins/elements/gstfdsrc.h:
16768         * plugins/elements/gstqueue.c: (gst_queue_get_type):
16769           more anal cleanup
16770
16771 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16772
16773         * docs/gst/Makefile.am:
16774         * docs/gst/gstreamer.types.in:
16775         * gst/Makefile.am:
16776           fix the docs build
16777
16778 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16779
16780         * configure.ac:
16781         * gst/Makefile.am:
16782         * gst/gst.c:
16783         * gst/gstplugin.h:
16784         * gst/gstregistry.h:
16785         * tests/benchmarks/complexity.c:
16786         * tests/benchmarks/mass-elements.c:
16787         * tests/check/Makefile.am:
16788         * tools/Makefile.am:
16789         * tools/gst-inspect.c:
16790         * tools/gst-xmlinspect.c:
16791           various fixes to make
16792           --disable-nls --disable-registry --disable-loadsave
16793           --disable-parse --disable-gst-debug
16794           work and get the core .so down to 360444 bytes after stripping
16795
16796 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16797
16798         * Makefile.am:
16799         * configure.ac:
16800           descend into tests
16801         * docs/random/thomasvs/TODO:
16802         * tests/Makefile.am:
16803         * tests/README:
16804           add a README
16805
16806 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16807
16808         * win32/GStreamer.vcproj:
16809         * win32/MANIFEST:
16810         * win32/Makefile:
16811         * win32/Makefile.inspect:
16812         * win32/Makefile.launch:
16813         * win32/Makefile.register:
16814         * win32/README.txt:
16815         * win32/gst-inspect.vcproj:
16816         * win32/gst-launch.vcproj:
16817         * win32/gst-register.vcproj:
16818         * win32/gstelements.vcproj:
16819         * win32/gstgetbits.def:
16820         * win32/gstgetbits.vcproj:
16821         * win32/gstreamer-dbg.def:
16822         * win32/gstreamer.def:
16823         * win32/libgstbase.def:
16824         * win32/libgstbase.vcproj:
16825         * win32/link_oldruntime.c:
16826         * win32/mman.c:
16827         * win32/mman.h:
16828         * win32/mman.inl:
16829         * win32/msvc71.sln:
16830           move even more stuff, win32/ is nice and clean now
16831
16832 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16833
16834         * libs/gst/control/.cvsignore:
16835         * win32/MANIFEST:
16836         * win32/config.h:
16837         * win32/dirent.c:
16838         * win32/dirent.h:
16839         * win32/gstbytestream.def:
16840         * win32/gstbytestream.vcproj:
16841         * win32/gstconfig.h:
16842         * win32/gstenumtypes.c:
16843         * win32/gstenumtypes.h:
16844         * win32/gstoptimalscheduler.vcproj:
16845         * win32/gstversion.h:
16846         * win32/gtchar.h:
16847         * win32/testsuite/bins.vcproj:
16848         * win32/testsuite/bytestream.vcproj:
16849         * win32/testsuite/caps.vcproj:
16850         * win32/testsuite/cleanup.vcproj:
16851         * win32/testsuite/clock.vcproj:
16852         * win32/testsuite/debug.vcproj:
16853         * win32/testsuite/dlopen.vcproj:
16854         * win32/testsuite/dynparams.vcproj:
16855         * win32/testsuite/elements.vcproj:
16856         * win32/testsuite/ghostpads.vcproj:
16857         * win32/testsuite/indexers.vcproj:
16858         * win32/testsuite/negotiation.vcproj:
16859         * win32/testsuite/parse.vcproj:
16860         * win32/testsuite/plugin.vcproj:
16861         * win32/testsuite/refcounting.vcproj:
16862         * win32/testsuite/schedulers.vcproj:
16863         * win32/testsuite/states.vcproj:
16864         * win32/testsuite/tags.vcproj:
16865         * win32/testsuite/threads.vcproj:
16866           remove old win32 stuff that isn't maintained and should be
16867           reorganized
16868
16869 2005-11-30  Andy Wingo  <wingo@pobox.com>
16870
16871         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16872         loading the gst.interfaces python module bork.
16873
16874         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16875         available since GLib 2.2. Fixes #318031.
16876
16877 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16878
16879         * Makefile.am:
16880         * check/.cvsignore:
16881         * check/Makefile.am:
16882         * check/elements/.cvsignore:
16883         * check/elements/fakesrc.c:
16884         * check/elements/fdsrc.c:
16885         * check/elements/identity.c:
16886         * check/generic/.cvsignore:
16887         * check/generic/states.c:
16888         * check/gst-libs/.cvsignore:
16889         * check/gst-libs/controller.c:
16890         * check/gst-libs/gdp.c:
16891         * check/gst/.cvsignore:
16892         * check/gst/capslist.h:
16893         * check/gst/gst.c:
16894         * check/gst/gstbin.c:
16895         * check/gst/gstbuffer.c:
16896         * check/gst/gstbus.c:
16897         * check/gst/gstcaps.c:
16898         * check/gst/gstelement.c:
16899         * check/gst/gstevent.c:
16900         * check/gst/gstghostpad.c:
16901         * check/gst/gstiterator.c:
16902         * check/gst/gstmessage.c:
16903         * check/gst/gstminiobject.c:
16904         * check/gst/gstobject.c:
16905         * check/gst/gstpad.c:
16906         * check/gst/gstpipeline.c:
16907         * check/gst/gstplugin.c:
16908         * check/gst/gstsegment.c:
16909         * check/gst/gststructure.c:
16910         * check/gst/gstsystemclock.c:
16911         * check/gst/gsttag.c:
16912         * check/gst/gstutils.c:
16913         * check/gst/gstvalue.c:
16914         * check/net/.cvsignore:
16915         * check/net/gstnetclientclock.c:
16916         * check/net/gstnettimeprovider.c:
16917         * check/pipelines/.cvsignore:
16918         * check/pipelines/cleanup.c:
16919         * check/pipelines/simple_launch_lines.c:
16920         * check/pipelines/stress.c:
16921         * check/states/.cvsignore:
16922         * check/states/sinks.c:
16923         * configure.ac:
16924         * examples/Makefile.am:
16925         * examples/appreader/.cvsignore:
16926         * examples/appreader/Makefile.am:
16927         * examples/appreader/appreader.c:
16928         * examples/controller/.cvsignore:
16929         * examples/controller/Makefile.am:
16930         * examples/controller/audio-example.c:
16931         * examples/cutter/.cvsignore:
16932         * examples/cutter/Makefile.am:
16933         * examples/cutter/cutter.c:
16934         * examples/cutter/cutter.h:
16935         * examples/events/Makefile.am:
16936         * examples/events/seek.c:
16937         * examples/helloworld/.cvsignore:
16938         * examples/helloworld/Makefile.am:
16939         * examples/helloworld/helloworld.c:
16940         * examples/helloworld2/.cvsignore:
16941         * examples/helloworld2/Makefile.am:
16942         * examples/helloworld2/helloworld2.c:
16943         * examples/launch/.cvsignore:
16944         * examples/launch/Makefile.am:
16945         * examples/launch/mp3parselaunch.c:
16946         * examples/launch/mp3play:
16947         * examples/manual/.cvsignore:
16948         * examples/manual/Makefile.am:
16949         * examples/manual/extract.pl:
16950         * examples/metadata/Makefile.am:
16951         * examples/metadata/read-metadata.c:
16952         * examples/mixer/.cvsignore:
16953         * examples/mixer/Makefile.am:
16954         * examples/mixer/mixer.c:
16955         * examples/mixer/mixer.h:
16956         * examples/pingpong/.cvsignore:
16957         * examples/pingpong/Makefile.am:
16958         * examples/pingpong/pingpong.c:
16959         * examples/plugins/.cvsignore:
16960         * examples/plugins/Makefile.am:
16961         * examples/plugins/example.c:
16962         * examples/plugins/example.h:
16963         * examples/pwg/.cvsignore:
16964         * examples/pwg/Makefile.am:
16965         * examples/pwg/extract.pl:
16966         * examples/queue/.cvsignore:
16967         * examples/queue/Makefile.am:
16968         * examples/queue/queue.c:
16969         * examples/queue2/.cvsignore:
16970         * examples/queue2/Makefile.am:
16971         * examples/queue2/queue2.c:
16972         * examples/queue3/.cvsignore:
16973         * examples/queue3/Makefile.am:
16974         * examples/queue3/queue3.c:
16975         * examples/queue4/.cvsignore:
16976         * examples/queue4/Makefile.am:
16977         * examples/queue4/queue4.c:
16978         * examples/retag/.cvsignore:
16979         * examples/retag/Makefile.am:
16980         * examples/retag/retag.c:
16981         * examples/retag/transcode.c:
16982         * examples/thread/.cvsignore:
16983         * examples/thread/Makefile.am:
16984         * examples/thread/thread.c:
16985         * examples/typefind/.cvsignore:
16986         * examples/typefind/Makefile.am:
16987         * examples/typefind/typefind.c:
16988         * examples/xml/.cvsignore:
16989         * examples/xml/Makefile.am:
16990         * examples/xml/createxml.c:
16991         * examples/xml/runxml.c:
16992         * tests/Makefile.am:
16993         * tests/check/Makefile.am:
16994         * testsuite/.cvsignore:
16995         * testsuite/Makefile.am:
16996         * testsuite/Rules:
16997         * testsuite/caps/.cvsignore:
16998         * testsuite/caps/Makefile.am:
16999         * testsuite/caps/app_fixate.c:
17000         * testsuite/caps/audioscale.c:
17001         * testsuite/caps/caps.c:
17002         * testsuite/caps/caps.h:
17003         * testsuite/caps/caps_strings:
17004         * testsuite/caps/compatibility.c:
17005         * testsuite/caps/deserialize.c:
17006         * testsuite/caps/enumcaps.c:
17007         * testsuite/caps/eratosthenes.c:
17008         * testsuite/caps/filtercaps.c:
17009         * testsuite/caps/fixed.c:
17010         * testsuite/caps/fraction-convert.c:
17011         * testsuite/caps/fraction-multiply-and-zero.c:
17012         * testsuite/caps/intersect2.c:
17013         * testsuite/caps/intersection.c:
17014         * testsuite/caps/normalisation.c:
17015         * testsuite/caps/random.c:
17016         * testsuite/caps/renegotiate.c:
17017         * testsuite/caps/sets.c:
17018         * testsuite/caps/simplify.c:
17019         * testsuite/caps/string-conversions.c:
17020         * testsuite/caps/structure.c:
17021         * testsuite/caps/subtract.c:
17022         * testsuite/caps/union.c:
17023         * testsuite/debug/.cvsignore:
17024         * testsuite/debug/Makefile.am:
17025         * testsuite/debug/category.c:
17026         * testsuite/debug/commandline.c:
17027         * testsuite/debug/global.c:
17028         * testsuite/debug/output.c:
17029         * testsuite/debug/printf_extension.c:
17030         * testsuite/dlopen/.cvsignore:
17031         * testsuite/dlopen/Makefile.am:
17032         * testsuite/dlopen/dlopen_gst.c:
17033         * testsuite/dlopen/loadgst.c:
17034         * testsuite/elements/.cvsignore:
17035         * testsuite/elements/Makefile.am:
17036         * testsuite/elements/gst-inspect-check.in:
17037         * testsuite/elements/struct_i386.h:
17038         * testsuite/elements/struct_size.c:
17039         * testsuite/indexers/.cvsignore:
17040         * testsuite/indexers/Makefile.am:
17041         * testsuite/indexers/cache1.c:
17042         * testsuite/indexers/indexdump.c:
17043         * testsuite/parse/.cvsignore:
17044         * testsuite/parse/Makefile.am:
17045         * testsuite/parse/parse1.c:
17046         * testsuite/parse/parse2.c:
17047         * testsuite/plugin/.cvsignore:
17048         * testsuite/plugin/Makefile.am:
17049         * testsuite/plugin/README:
17050         * testsuite/plugin/dynamic.c:
17051         * testsuite/plugin/linked.c:
17052         * testsuite/plugin/loading.c:
17053         * testsuite/plugin/registry.c:
17054         * testsuite/plugin/static.c:
17055         * testsuite/plugin/static2.c:
17056         * testsuite/plugin/testplugin.c:
17057         * testsuite/plugin/testplugin2.c:
17058         * testsuite/plugin/testplugin2_s.c:
17059         * testsuite/plugin/testplugin_s.c:
17060         * testsuite/refcounting/.cvsignore:
17061         * testsuite/refcounting/Makefile.am:
17062         * testsuite/refcounting/bin.c:
17063         * testsuite/refcounting/element.c:
17064         * testsuite/refcounting/element_pad.c:
17065         * testsuite/refcounting/mainloop.c:
17066         * testsuite/refcounting/mem.c:
17067         * testsuite/refcounting/mem.h:
17068         * testsuite/refcounting/object.c:
17069         * testsuite/refcounting/pad.c:
17070         * testsuite/refcounting/sched.c:
17071         * testsuite/refcounting/thread.c:
17072         * testsuite/states/.cvsignore:
17073         * testsuite/states/Makefile.am:
17074         * testsuite/states/bin.c:
17075         * testsuite/states/locked.c:
17076         * testsuite/states/parent.c:
17077         * testsuite/threads/.cvsignore:
17078         * testsuite/threads/159566.c:
17079         * testsuite/threads/159852.c:
17080         * testsuite/threads/Makefile.am:
17081         * testsuite/threads/queue.c:
17082         * testsuite/threads/signals.c:
17083         * testsuite/threads/staticrec.c:
17084         * testsuite/threads/thread.c:
17085         * testsuite/threads/threadb.c:
17086         * testsuite/threads/threadc.c:
17087         * testsuite/threads/threadd.c:
17088         * testsuite/threads/threade.c:
17089         * testsuite/threads/threadf.c:
17090         * testsuite/threads/threadg.c:
17091         * testsuite/threads/threadh.c:
17092         * testsuite/threads/threadi.c:
17093           move all of these under tests
17094
17095 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17096
17097         * configure.ac:
17098         * tests/Makefile.am:
17099           fix distcheck
17100
17101 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17102
17103         * docs/gst/gstreamer-sections.txt:
17104         * tests/sched/.cvsignore:
17105         * tests/sched/Makefile.am:
17106         * tests/sched/cases/(fs-fs).xml:
17107         * tests/sched/cases/(fs-i-fs).xml:
17108         * tests/sched/cases/(fs-i-i-fs).xml:
17109         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17110         * tests/sched/dynamic-pipeline.c:
17111         * tests/sched/interrupt1.c:
17112         * tests/sched/interrupt2.c:
17113         * tests/sched/interrupt3.c:
17114         * tests/sched/runtestcases:
17115         * tests/sched/runxml.c:
17116         * tests/sched/sched-stress.c:
17117         * tests/sched/sort.c:
17118         * tests/sched/testcases:
17119         * tests/sched/testcases1.tc:
17120         * tests/seeking/.cvsignore:
17121         * tests/seeking/Makefile.am:
17122         * tests/seeking/seeking1.c:
17123         * tests/threadstate/.cvsignore:
17124         * tests/threadstate/Makefile.am:
17125         * tests/threadstate/test1.c:
17126         * tests/threadstate/test2.c:
17127         * tests/threadstate/threadstate1.c:
17128         * tests/threadstate/threadstate2.c:
17129         * tests/threadstate/threadstate3.c:
17130         * tests/threadstate/threadstate4.c:
17131         * tests/threadstate/threadstate5.c:
17132           remove obsolete tests
17133         * configure.ac:
17134         * tests/bench-complexity.scm:
17135         * tests/bench-mass_elements.scm:
17136         * tests/complexity.c:
17137         * tests/complexity.gnuplot:
17138         * tests/instantiate/.cvsignore:
17139         * tests/instantiate/Makefile.am:
17140         * tests/instantiate/caps.c:
17141         * tests/mass_elements.c:
17142         * tests/network-clock-utils.scm:
17143         * tests/network-clock.scm:
17144         * tests/plot-data:
17145         First pass at cleaning up tests/ dir before moving the rest
17146         Combined with CVS surgery
17147
17148 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17149
17150         * po/POTFILES.in:
17151           queue has moved, update
17152
17153 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17154
17155         * docs/gst/gstreamer-sections.txt:
17156           remove double entries from the docs
17157         * gst/gst_private.h:
17158         * gst/gstinfo.c: (_gst_debug_init):
17159           remove the THREAD debug category
17160         * gst/Makefile.am:
17161         * gst/gstqueue.c:
17162         * gst/gstqueue.h:
17163         * docs/gst/gstreamer.types:
17164         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17165         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17166           completely move queue and fix up debugging categories
17167
17168 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17169
17170         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17171           make initialization portable, using LL is not
17172
17173 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17174
17175         * win32/common/gstconfig.h:
17176           add large padding
17177
17178 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17179
17180         * win32/common/libgstreamer.def:
17181           rename symbols; sort base section
17182
17183 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17184
17185         * gst/gstclock.c: (do_linear_regression):
17186           remove crack non-portable handrolled DEBUG macro
17187
17188 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17189
17190         * docs/random/release:
17191           update notes
17192         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17193         (gst_object_flags_get_type), (register_gst_bin_flags),
17194         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17195         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17196         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17197         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17198         (gst_caps_flags_get_type), (register_gst_clock_return),
17199         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17200         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17201         (gst_clock_flags_get_type), (register_gst_state),
17202         (gst_state_get_type), (register_gst_state_change_return),
17203         (gst_state_change_return_get_type), (register_gst_state_change),
17204         (gst_state_change_get_type), (register_gst_element_flags),
17205         (gst_element_flags_get_type), (register_gst_core_error),
17206         (gst_core_error_get_type), (register_gst_library_error),
17207         (gst_library_error_get_type), (register_gst_resource_error),
17208         (gst_resource_error_get_type), (register_gst_stream_error),
17209         (gst_stream_error_get_type), (register_gst_event_type_flags),
17210         (gst_event_type_flags_get_type), (register_gst_event_type),
17211         (gst_event_type_get_type), (register_gst_seek_type),
17212         (gst_seek_type_get_type), (register_gst_seek_flags),
17213         (gst_seek_flags_get_type), (register_gst_format),
17214         (gst_format_get_type), (register_gst_index_certainty),
17215         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17216         (gst_index_entry_type_get_type),
17217         (register_gst_index_lookup_method),
17218         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17219         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17220         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17221         (gst_index_flags_get_type), (register_gst_debug_level),
17222         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17223         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17224         (gst_iterator_result_get_type), (register_gst_iterator_item),
17225         (gst_iterator_item_get_type), (register_gst_message_type),
17226         (gst_message_type_get_type), (register_gst_mini_object_flags),
17227         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17228         (gst_pad_link_return_get_type), (register_gst_flow_return),
17229         (gst_flow_return_get_type), (register_gst_activate_mode),
17230         (gst_activate_mode_get_type), (register_gst_pad_direction),
17231         (gst_pad_direction_get_type), (register_gst_pad_flags),
17232         (gst_pad_flags_get_type), (register_gst_pad_presence),
17233         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17234         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17235         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17236         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17237         (gst_plugin_flags_get_type), (register_gst_rank),
17238         (gst_rank_get_type), (register_gst_query_type),
17239         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17240         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17241         (gst_tag_flag_get_type), (register_gst_task_state),
17242         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17243         (gst_alloc_trace_flags_get_type),
17244         (register_gst_type_find_probability),
17245         (gst_type_find_probability_get_type), (register_gst_uri_type),
17246         (gst_uri_type_get_type), (register_gst_parse_error),
17247         (gst_parse_error_get_type):
17248         * win32/common/gstenumtypes.h:
17249         * win32/common/gstversion.h:
17250           update visual studio generated files
17251
17252 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17253
17254         * win32/vs6/libgstbase.dsp:
17255         * win32/vs6/libgstelements.dsp:
17256           update project files for new locations
17257
17258 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17259
17260         * Makefile.am:
17261           remove some files
17262         * README:
17263           reinstate and update
17264         * DEVEL:
17265         * REQUIREMENTS:
17266           removed
17267         * LICENSE:
17268         * docs/random/LICENSE:
17269           moved to random
17270
17271 2005-11-30  Edward Hervey  <edward@fluendo.com>
17272
17273         * gst/gsttypefind.c: (gst_type_find_register):
17274         * gst/gsttypefind.h:
17275         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17276         (gst_type_find_factory_dispose):
17277         * gst/gsttypefindfactory.h:
17278         Fix memory leak in GstTypeFindFactory.
17279
17280 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17281
17282         * gst/gst.c:
17283         * plugins/elements/Makefile.am:
17284         * plugins/elements/gstelements.c:
17285         * plugins/elements/gstqueue.c:
17286           move queue from core to the elements plugin
17287
17288 2005-11-29  Andy Wingo  <wingo@pobox.com>
17289
17290         * libs/gst/base/gstbasetransform.h: 
17291         * libs/gst/base/gstbasesrc.h: 
17292         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17293
17294         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17295         of pointers by which to pad very extensible base classes (like the
17296         ones in libs/gst/base).
17297
17298 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17299
17300         * docs/gst/gstreamer-docs.sgml:
17301         * docs/gst/gstreamer-sections.txt:
17302         * docs/libs/gstreamer-libs-docs.sgml:
17303         * docs/libs/gstreamer-libs-sections.txt:
17304           moving documentation from core to lib
17305
17306 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17307
17308         * check/Makefile.am:
17309         * configure.ac:
17310         * docs/gst/Makefile.am:
17311         * gst/Makefile.am:
17312         * gst/base/.cvsignore:
17313         * gst/base/Makefile.am:
17314         * gst/base/README:
17315         * gst/base/gstadapter.c:
17316         * gst/base/gstadapter.h:
17317         * gst/base/gstbasesink.c:
17318         * gst/base/gstbasesink.h:
17319         * gst/base/gstbasesrc.c:
17320         * gst/base/gstbasesrc.h:
17321         * gst/base/gstbasetransform.c:
17322         * gst/base/gstbasetransform.h:
17323         * gst/base/gstcollectpads.c:
17324         * gst/base/gstcollectpads.h:
17325         * gst/base/gstpushsrc.c:
17326         * gst/base/gstpushsrc.h:
17327         * gst/base/gsttypefindhelper.c:
17328         * gst/base/gsttypefindhelper.h:
17329         * gst/check/Makefile.am:
17330         * gst/check/gstcheck.c:
17331         * gst/check/gstcheck.h:
17332         * gst/net/Makefile.am:
17333         * gst/net/gstnet.h:
17334         * gst/net/gstnetclientclock.c:
17335         * gst/net/gstnetclientclock.h:
17336         * gst/net/gstnettimepacket.c:
17337         * gst/net/gstnettimepacket.h:
17338         * gst/net/gstnettimeprovider.c:
17339         * gst/net/gstnettimeprovider.h:
17340         * libs/gst/Makefile.am:
17341         * libs/gst/base/Makefile.am:
17342         * libs/gst/base/gstbasetransform.c:
17343         * libs/gst/check/Makefile.am:
17344         * plugins/elements/Makefile.am:
17345         * po/POTFILES.in:
17346           CVS surgery + support to move base, check, and net out of gst
17347           and into libs/gst
17348
17349 2005-11-29  Andy Wingo  <wingo@pobox.com>
17350
17351         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17352
17353         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17354         padding.
17355
17356         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17357
17358         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17359
17360         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17361
17362         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17363         padding; reduces object size by about 30%. We don't expect
17364         anything else to go into gstobject.
17365
17366         * gst/gstminiobject.h (struct _GstMiniObject)
17367         (struct _GstMiniObjectClass): Only one pointer of padding; the
17368         payload is only a pointer and two ints anyway. For the class there
17369         are only two methods as well.
17370         
17371         * gst/gstelement.h (struct _GstElementClass): Removed
17372         the state_changed signal callback, it is not used.
17373
17374 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17375
17376         * docs/gst/gstreamer.types:
17377           fix includes, though they are a little dinky
17378
17379 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17380
17381         * check/Makefile.am:
17382           look in the right place for elements, a lot more chance of
17383           success
17384         * gst/Makefile.am:
17385           remove indexers and elements subdirs
17386         * plugins/Makefile.am:
17387           make indexers conditional
17388
17389 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17390
17391         * Makefile.am:
17392         * configure.ac:
17393         * plugins/elements/Makefile.am:
17394         * plugins/elements/gstcapsfilter.c:
17395         * plugins/elements/gstfilesink.c:
17396         * plugins/elements/gstfilesrc.c:
17397         * plugins/elements/gstidentity.c:
17398         * plugins/indexers/Makefile.am:
17399           do CVS surgery and related build fixery to move elements
17400           and indexers in a new gstreamer/plugins directory, out of the
17401           gst/ directory
17402
17403 2005-11-29  Andy Wingo  <wingo@pobox.com>
17404
17405         * check/Makefile.am:
17406         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17407         * pkgconfig/gstreamer-net.pc.in:
17408         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17409         #322257.
17410
17411 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17412
17413         * tools/Makefile.am:
17414         * tools/gst-complete.1.in:
17415         * tools/gst-complete.c:
17416         * tools/gst-compprep.1.in:
17417         * tools/gst-compprep.c:
17418           removing -compprep and -complete
17419
17420 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17421
17422         * gst/gstevent.c: (gst_event_new_new_segment),
17423         (gst_event_parse_new_segment):
17424         * gst/gstevent.h:
17425           fix #320529 - clean up new_segment API and structure.
17426           Let's hope everyone was using the methods, and not the structure.
17427
17428 2005-11-29  Edward Hervey  <edward@fluendo.com>
17429
17430         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17431         (gst_base_sink_event), (gst_base_sink_do_sync),
17432         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17433         Properly handle non GST_FORMAT_TIME segment
17434         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17435         Properly handle non GST_FORMAT_TIME segment
17436         * gst/gstsegment.c:
17437         This function is valid if the accumulator is 0 and the format
17438         is different from the requested format.
17439         
17440 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17441
17442         * docs/gst/gstreamer-sections.txt:
17443         Add gst_query_new_seeking and gst_query_parse_seeking to the
17444         docs.
17445
17446 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17447
17448         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17449           Treat a pad alloc with new caps the same as if we were not
17450           negotiated, in order to allow a changing upstream output
17451           to produce a new format of data.
17452
17453 2005-11-29  Edward Hervey  <edward@fluendo.com>
17454
17455         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17456         (gst_base_transform_event), (gst_base_transform_eventfunc):
17457         The event virtual method is now properly implemented, with a default
17458         handler
17459         Sub classes should call the parent_class event method. They should
17460         return FALSE if they had a problem handling the given event, or don't
17461         want GstBaseTransform to send that even downstream
17462         * gst/elements/gstidentity.c: (gst_identity_class_init),
17463         (gst_identity_init), (gst_identity_event),
17464         (gst_identity_transform_ip), (gst_identity_set_property),
17465         (gst_identity_get_property):
17466         * gst/elements/gstidentity.h:
17467         Added the single-segment boolean property.
17468         If set to TRUE, it will output a single segment of data, starting from
17469         0, will eat up all incoming newsegment, and modify the timestamp of the
17470         buffers accordingly
17471
17472 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17473
17474         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17475           Don't ref NULL target pad (#322751). Improve docs.
17476
17477 2005-11-29  Michael Smith  <msmith@fluendo.com>
17478
17479         * gst/gstregistryxml.c: (load_plugin):
17480           Don't crash if we failed to load a feature from a plugin. 
17481
17482 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17483
17484         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17485         (GST_START_TEST):
17486           use more check API and less GLib API
17487
17488 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17489
17490         * Makefile.am:
17491           don't run checks if we don't have check
17492         * common/check.mak:
17493           remove the registry when running make torture
17494         * docs/gst/gstreamer-sections.txt:
17495           remove second multiply
17496         * gst/gstqueue.c: (gst_queue_loop):
17497           fix a compile warning when disabling debug
17498
17499 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17500
17501         * gst/gstinfo.h:
17502         Hey! Let's print the pad name if the pointer != NULL instead
17503         of when it == NULL :-)
17504
17505 2005-11-28  Wim Taymans  <wim@fluendo.com>
17506
17507         * check/gst/gstutils.c: (GST_START_TEST):
17508         Updated check, add some scaling accuracy checking code.
17509
17510         * gst/gstutils.c: (gst_util_div128_64),
17511         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17512         (gst_util_uint64_scale_int):
17513         Fix 6 times faster division code. Optimize for common 
17514         1/1 and less common X/1 cases.
17515
17516 2005-11-28  Wim Taymans  <wim@fluendo.com>
17517
17518         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17519         More checks.
17520
17521         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17522         (do_linear_regression), (gst_clock_add_observation):
17523         Cleanups.
17524         Release lock when the clock cannot be slaved.
17525         Catch the case where the regression returned an invalid denominator.
17526
17527         * gst/gstutils.c: (gst_util_div128_64_iterate),
17528         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17529         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17530         Add protentially more performant non-iterative 128/64 divide function
17531         that unfortunatly does not work yet.
17532         Shortcut the trivial 0/X = 0 case.
17533         Remove the warnings on overflow.
17534
17535 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17536
17537         * gst/gstplugin.c: (gst_plugin_register_func):
17538           everything causing a plugin not to load should be at least a WARNING
17539
17540 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17541
17542         * docs/random/ensonic/dparams.txt:
17543           some TODOs for the next dev cycle
17544         * libs/gst/controller/gstcontroller.c:
17545         (gst_controlled_property_set_interpolation_mode),
17546         (gst_controlled_property_new):
17547         * libs/gst/controller/gstcontroller.h:
17548           use base type to assign acccessor functions
17549
17550 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17551
17552         * check/Makefile.am:
17553         Oops, that should have been top_srcdir
17554
17555 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17556
17557         * check/Makefile.am:
17558         * check/elements/fdsrc.c: (GST_START_TEST):
17559         Use a cmdline define to specify the location of a file to use for
17560         testing, to avoid breaking distcheck.
17561
17562 2005-11-28  Andy Wingo  <wingo@pobox.com>
17563
17564         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17565
17566 2005-11-28  Edward Hervey  <edward@fluendo.com>
17567
17568         * tools/gst-launch.c: (main):
17569         Clarify the output strings, makes it easier to translate.
17570         Fixes #322626
17571
17572 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17573
17574         * gst/Makefile.am:
17575           don't try and build net if we don't even have <sys/socket.h>
17576
17577 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17578
17579         * check/Makefile.am:
17580         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17581         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17582           Add tests for fdsrc seekability
17583
17584         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17585         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17586         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17587         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17588         * gst/elements/gstfdsrc.h:
17589           fdsrc should not be a 'live' source.
17590           Implement seeking on seekable fd's.
17591
17592         * gst/gstquery.c: (gst_query_new_seeking),
17593         (gst_query_parse_seeking):
17594         * gst/gstquery.h:
17595           Implement SEEKING query functions: 
17596             *_new_seeking and *_parse_seeking
17597
17598 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17599
17600         * gst/gstelement.c: (gst_element_dispose):
17601           don't loop forever
17602
17603         * gst/gstiterator.c:
17604         * gst/gststructure.c:
17605           doc fixes
17606
17607         * libs/gst/controller/gstcontroller.c:
17608         (gst_controlled_property_set_interpolation_mode):
17609         * libs/gst/controller/gstcontroller.h:
17610         * libs/gst/controller/gstinterpolation.c:
17611         (interpolate_none_get_enum_value_array):
17612           support controlling enums
17613
17614 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17615
17616         * gst/gstvalue.c:
17617           Improve documentation for gst_value_union().
17618
17619         * gst/gstvalue.h:
17620           Change return value for union, intersect and subtract functions
17621           from gint to gboolean.
17622
17623 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17624
17625         * gst/gstvalue.c: (gst_value_serialize_any_list),
17626         (gst_value_transform_any_list_string),
17627         (gst_value_deserialize_list), (gst_value_deserialize_array),
17628         (gst_value_set_int_range), (gst_value_deserialize_int_range),
17629         (gst_value_set_double_range), (gst_value_deserialize_double_range),
17630         (gst_value_set_fraction_range_full),
17631         (gst_value_deserialize_fraction_range),
17632         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17633         (gst_value_deserialize_boolean),
17634         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17635         (gst_value_serialize_float), (gst_value_deserialize_float),
17636         (gst_string_wrap), (gst_value_deserialize_string),
17637         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17638         (gst_value_union_int_range_int_range),
17639         (gst_value_intersect_int_range_int_range),
17640         (gst_value_intersect_double_range_double_range),
17641         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17642         (gst_value_subtract_int_range_int_range),
17643         (gst_value_subtract_double_double_range),
17644         (gst_value_subtract_double_range_double_range),
17645         (gst_value_deserialize_fraction):
17646         * gst/gstvalue.h:
17647           Use gint, gdouble and gchar in our API instead of int, double and
17648           char (and make usage in gstvalue.c more consistent).
17649
17650 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17651
17652         * check/Makefile.am:
17653         * libs/gst/controller/Makefile.am:
17654         * libs/gst/dataprotocol/Makefile.am:
17655           fix up Makefile.am and remove GST_ENABLE_NEW
17656
17657 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17658
17659         * configure.ac:
17660         * gst/Makefile.am:
17661         * gst/base/Makefile.am:
17662         * gst/check/Makefile.am:
17663         * gst/elements/Makefile.am:
17664         * gst/net/Makefile.am:
17665           update LDFLAGS use some more
17666
17667 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17668
17669         * common/m4/gst-doc.m4:
17670           Fixes #312589
17671
17672 2005-11-26  Edward Hervey  <edward@fluendo.com>
17673
17674         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17675         This shouldn't issue a g_warning since it returns NULL if it
17676         couldn't find the plugin, and all functions using this behave
17677         properly on a NULL return. Switching to a GST_WARNING.
17678
17679 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
17680
17681         * gst/gstbin.c: (gst_bin_handle_message_func):
17682         Don't leak clock messages.
17683
17684 2005-11-25  Wim Taymans  <wim@fluendo.com>
17685
17686         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17687         (gst_util_uint64_scale_int):
17688         Optimisations, remove unneeded vars.
17689
17690 2005-11-25  Wim Taymans  <wim@fluendo.com>
17691
17692         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17693         Added more checks for the high precision uint64 cases.
17694
17695         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17696         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17697         Implement high precision (guint64 * guint64) / guint64.
17698
17699 2005-11-24  Wim Taymans  <wim@fluendo.com>
17700
17701         * gst/base/gstbasesrc.c: (gst_base_src_query):
17702         Fix wrong percentage query.
17703
17704         * gst/gstutils.c: (gst_util_uint64_scale),
17705         (gst_util_uint64_scale_int):
17706         Add some more common cases that can be handled 
17707         efficiently to _scale.
17708
17709 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17710
17711         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17712         (gst_mini_object_suite):
17713           don't use check calls from threads; check probably isn't
17714           threadsafe and using a lock to make it threadsafe would
17715           defeat the purpose of this check
17716         * gst/check/gstcheck.c:
17717         * gst/check/gstcheck.h:
17718           use GST_DEBUG some more
17719
17720 2005-11-24  Wim Taymans  <wim@fluendo.com>
17721
17722         * gst/gstutils.c: (gst_util_uint64_scale),
17723         (gst_util_uint64_scale_int):
17724         Chain trivial case to _scale_int.
17725
17726 2005-11-24  Wim Taymans  <wim@fluendo.com>
17727
17728         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17729         Added test for scaling.
17730
17731         * gst/gstclock.h:
17732         Small doc fix.
17733
17734         * gst/gstutils.c: (gst_util_uint64_scale_int):
17735         Implemented high precision scaling code.
17736
17737 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
17738
17739         * gst/gstinfo.h:
17740           do not crash on pad==NULL
17741
17742 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17743
17744         Patch by: Stefan Kost
17745
17746         * common/gtk-doc.mak:
17747         * docs/gst/Makefile.am:
17748         * docs/libs/Makefile.am:
17749           Fix distcheck issues for the libraries docs build
17750           Closes #319599.
17751
17752 2005-11-24  Michael Smith <msmith@fluendo.com>
17753
17754         * docs/manual/basics-helloworld.xml:
17755           Fix bug #315027: memory leak in example code in docs.
17756
17757 2005-11-24  Michael Smith <msmith@fluendo.com>
17758
17759         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17760           Unlock the PREROLL_LOCK in a failure case.
17761
17762 2005-11-24  Wim Taymans  <wim@fluendo.com>
17763
17764         * docs/gst/gstreamer-sections.txt:
17765         * gst/base/gstadapter.h:
17766         * gst/base/gstbasesink.h:
17767         * gst/base/gstbasesrc.h:
17768         * gst/base/gstbasetransform.h:
17769         * gst/base/gstpushsrc.h:
17770         * gst/elements/gstfakesink.h:
17771         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17772         * gst/elements/gstfakesrc.h:
17773         * gst/elements/gstfilesink.h:
17774         * gst/elements/gstfilesrc.h:
17775         * gst/gst.c:
17776         * gst/gstbin.c:
17777         * gst/gstbuffer.c: (_gst_buffer_copy):
17778         * gst/gstbus.h:
17779         * gst/gstcaps.c:
17780         * gst/gstchildproxy.c:
17781         * gst/gstclock.c:
17782         * gst/gstelement.c:
17783         * gst/gstelementfactory.c:
17784         * gst/gstelementfactory.h:
17785         * gst/gstevent.c:
17786         * gst/gstghostpad.h:
17787         * gst/gstindex.h:
17788         * gst/gstinterface.h:
17789         * gst/gstminiobject.c:
17790         * gst/gstminiobject.h:
17791         * gst/gstpad.c:
17792         * gst/gstpad.h:
17793         * gst/gstpadtemplate.h:
17794         * gst/gstpipeline.h:
17795         * gst/gstpluginfeature.h:
17796         * gst/gstquery.h:
17797         * gst/gstqueue.h:
17798         * gst/gsttaglist.c:
17799         * gst/gsttaglist.h:
17800         * gst/gsttagsetter.c:
17801         * gst/gsttagsetter.h:
17802         * gst/gsttrace.c:
17803         * gst/gsttrace.h:
17804         * gst/gsttypefind.h:
17805         * gst/gsturi.h:
17806         * gst/gstvalue.c:
17807         * gst/net/gstnetclientclock.c:
17808         * gst/net/gstnetclientclock.h:
17809         * gst/net/gstnettimepacket.c:
17810         * gst/net/gstnettimeprovider.c:
17811         * gst/net/gstnettimeprovider.h:
17812         Doc fixes.
17813
17814 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17815
17816         * configure.ac: back to HEAD
17817
17818 === release 0.9.6 ===
17819
17820 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
17821
17822         * configure.ac:
17823           releasing 0.9.6, "Always On Time"
17824
17825 2005-11-23  Wim Taymans  <wim@fluendo.com>
17826
17827         * docs/gst/gstreamer-sections.txt:
17828         * gst/glib-compat.c:
17829         * gst/gsttagsetter.c:
17830         * gst/gstvalue.c:
17831         * gst/net/gstnetclientclock.c:
17832         * gst/net/gstnettimepacket.h:
17833         Doc updates.
17834
17835 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17836
17837         * docs/faq/using.xml:
17838         * docs/libs/tmpl/gstcontrol.sgml:
17839         * docs/manual/advanced-dparams.xml:
17840         * docs/manual/appendix-checklist.xml:
17841         * docs/manual/basics-elements.xml:
17842         * docs/pwg/other-source.xml:
17843         * docs/random/moving-plugins:
17844         * gst/gstpad.c:
17845         * tools/gst-launch.1.in:
17846           remove mentions of sinesrc
17847
17848 2005-11-23  Michael Smith <msmith@fluendo.com>
17849
17850         * docs/gst/gstreamer-sections.txt:
17851           Update for new API and API changes.
17852         * gst/gstobject.h:
17853           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17854         * gst/gstvalue.c:
17855           Documentation typo fix.
17856         * gst/net/gstnettimepacket.c:
17857           Documentation fixes for arguments.
17858
17859 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
17860
17861         * gst/gststructure.c: (gst_structure_get_fraction),
17862         (gst_structure_parse_value),
17863         (gst_structure_fixate_field_nearest_fraction):
17864         * gst/gststructure.h:
17865         * gst/gstutils.c: (gst_util_uint64_scale_int):
17866         * gst/gstutils.h:
17867         * scripts/update-funcnames:
17868         API Changes. 
17869         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17870         Make gst_structure_fixate_field_nearest_fraction take a numerator
17871         and denominator argument instead of a GValue
17872         add gst_structure_get_fraction helper function.
17873
17874 2005-11-23  Wim Taymans  <wim@fluendo.com>
17875
17876         * docs/design/part-TODO.txt:
17877         Update TODO.
17878
17879         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17880         * gst/net/gstnetclientclock.h:
17881         Use parent fields for timeout and window_size.
17882
17883 2005-11-23  Andy Wingo  <wingo@pobox.com>
17884
17885         * check/net/gstnetclientclock.c (test_functioning): Adjust to
17886         rate_num/rate_denom change.
17887
17888         * gst/net/gstnetclientclock.c
17889         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17890         OBJECT_LOCK. Don't call add_observation with the lock.
17891
17892         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17893         fraction.
17894         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17895         rate fraction.
17896         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17897         deal with rate as a fraction whose numerator and denominator are
17898         GstClockTime values.
17899         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
17900         master; the other fields are protected by the SLAVE_LOCK.
17901         (do_linear_regression): Note that this must be called with the
17902         SLAVE_LOCK.
17903         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
17904         OBJECT_LOCK. Call set_calibration instead of touching the
17905         variables directly.
17906         (gst_clock_set_property, gst_clock_get_property): Protect
17907         master/slave parameters with the SLAVE_LOCK.
17908
17909         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
17910         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
17911         note that all of the instance variables that add_observation and
17912         the set_master functions use are protected by that lock and not
17913         the OBJECT_LOCK.
17914         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
17915
17916         * gst/gstclock.c (gst_clock_add_observation): No longer requires
17917         the caller to take the object lock.
17918
17919 2005-11-23  Wim Taymans  <wim@fluendo.com>
17920
17921         * gst/gsterror.c: (_gst_core_errors_init):
17922         * gst/gsterror.h:
17923         Add error for clock stuff.
17924
17925         * gst/gstpipeline.c: (gst_pipeline_change_state),
17926         (gst_pipeline_set_clock):
17927         Post clock error when clock cannot be used in a pipeline.
17928
17929 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
17930
17931         * docs/gst/gstreamer-sections.txt:
17932           make two symbols from gstinfo private for the docs
17933         * gst/base/gstcollectpads.h:
17934         * gst/gstutils.c:
17935           fix doc typos, update docs
17936
17937 2005-11-22  Wim Taymans  <wim@fluendo.com>
17938
17939         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17940         (gst_base_sink_wait), (gst_base_sink_do_sync),
17941         (gst_base_sink_handle_event):
17942         * gst/base/gstbasesink.h:
17943         No need to store the clock, the parent element class already
17944         has it.
17945
17946         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
17947         Updates for clock_set returning a gboolean
17948
17949         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
17950         (gst_clock_id_wait_async), (gst_clock_class_init),
17951         (gst_clock_init), (gst_clock_finalize),
17952         (gst_clock_get_internal_time), (gst_clock_get_time),
17953         (gst_clock_slave_callback), (gst_clock_set_master),
17954         (gst_clock_get_master), (do_linear_regression),
17955         (gst_clock_add_observation), (gst_clock_set_property),
17956         (gst_clock_get_property):
17957         * gst/gstclock.h:
17958         Implement master/slave. When setting a clock as a slave, a
17959         periodic timeout is scheduled to sample master and slave times.
17960         Then the slave clock is recalibrated to match offset and rate
17961         of the master clock.
17962         Update logging a bit.
17963         Add flag so that a clock can state that is cannot be slaved to
17964         another clock.
17965
17966         * gst/gstelement.c: (gst_element_set_clock):
17967         * gst/gstelement.h:
17968         The set clock returns a gboolean for when an element cannot
17969         deal with the selected clock in the pipeline. 
17970
17971         * gst/gstpipeline.c: (gst_pipeline_change_state),
17972         (gst_pipeline_set_clock):
17973         * gst/gstpipeline.h:
17974         Handle the case where the selected clock cannot be set on
17975         the pipeline.
17976
17977         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
17978         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
17979         (gst_net_client_clock_set_property),
17980         (gst_net_client_clock_get_property),
17981         (gst_net_client_clock_observe_times):
17982         * gst/net/gstnetclientclock.h:
17983         Use regression code in GstClock parent, remove duplicated
17984         functionality.
17985
17986 2005-11-22  Michael Smith <msmith@fluendo.com>
17987
17988         * gst/gstutils.c: (gst_util_clock_time_scale):
17989         * gst/gstutils.h:
17990         * docs/gst/gstreamer-sections.txt:
17991           Rename method to have extra underscore.
17992
17993 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17994
17995         * gst/elements/Makefile.am:
17996         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
17997         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
17998         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
17999         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18000         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18001         * gst/elements/gstfakesrc.h:
18002         * gst/gstqueue.c: (queue_leaky_get_type):
18003           correctly fix GEnumValues so that nick is the short lowercase
18004           dashed tag
18005         * tools/gst-inspect.c: (print_element_properties_info):
18006           also show the nick, since it's useful to use from parse_launch
18007           syntax
18008           Fixes #322139
18009
18010 2005-11-22  Michael Smith <msmith@fluendo.com>
18011
18012         * gst/gstutils.c: (gst_util_clocktime_scale):
18013         * gst/gstutils.h:
18014         * docs/gst/gstreamer-sections.txt:
18015           Add util method for scaling a clocktime by a fraction. Useful 
18016           implementation is left as an exercise for the reader.
18017
18018 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18019
18020         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18021         If needed, allocate storage in the destination value during
18022         collection.
18023
18024 2005-11-22  Edward Hervey  <edward@fluendo.com>
18025
18026         * docs/gst/gstreamer-sections.txt:
18027         * gst/Makefile.am:
18028         * gst/gst.h:
18029         * gst/gsturitype.c:
18030         * gst/gsturitype.h:
18031         * gst/gstutils.c: (gst_util_set_object_arg):
18032         * tools/gst-compprep.c: (main):
18033         * tools/gst-inspect.c: (print_element_properties_info):
18034         Removed GstURI, closes bug #321061
18035
18036 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18037
18038         * check/gst/gststructure.c: (GST_START_TEST):
18039         * gst/gststructure.c: (gst_structure_parse_value):
18040           Oops, broke automatic string type parsing.
18041           Add a test to catch it in future.
18042
18043 2005-11-22  Andy Wingo  <wingo@pobox.com>
18044
18045         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18046         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18047         Actually rename the function implementations. Grr.
18048
18049 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18050
18051         * check/gst/capslist.h:
18052           Comment test cases
18053         * check/gst/gststructure.c: (GST_START_TEST),
18054         (gst_structure_suite):
18055           Test automatic value type detection in gst_structure_from_string.
18056         * gst/gststructure.c: (gst_structure_parse_value):
18057           Add fraction as a type we try and guess automatically in
18058           caps/structure strings.
18059
18060 2005-11-22  Andy Wingo  <wingo@pobox.com>
18061
18062         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18063
18064         * gst/gsttagsetter.h:
18065         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18066         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18067         (gst_tag_setter_add_tag_valist)
18068         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18069         _add_values, _add_valist, and _add_valist_values. Since this is an
18070         interface the function suffixes should be more explicit so
18071         language binding don't end up with element.add_valist ->
18072         gst_tag_setter_add_valist, for example. Fixes #322069.
18073
18074 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18075
18076         * check/gst/gstcaps.c: (GST_START_TEST):
18077           Extend caps string tests to check that a caps to string
18078           conversion is reversible and produces the same caps.
18079
18080         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18081           Output "fraction" as the generic type fraction range, so caps
18082           serialisation and deserialisation works.
18083         * check/gst/capslist.h:
18084         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18085           Support 'MIN' and 'MAX' for deserialising fractions.
18086
18087 2005-11-22  Andy Wingo  <wingo@pobox.com>
18088
18089         * gst/gstevent.h (gst_event_new_new_segment)
18090         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18091         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18092         Renamed from *_newsegment, *_buffersize, *_notarget.
18093
18094         * scripts/update-funcnames: New script, performs the changes
18095         listed above.
18096
18097 2005-11-22  Wim Taymans  <wim@fluendo.com>
18098
18099         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18100         Make sure the GstFlowReturn is returned.
18101
18102         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18103         (gst_bus_add_signal_watch):
18104         * gst/gstbus.h:
18105         add gst_bus_add_signal_watch_full.
18106
18107         * gst/gstplugin.c: (gst_plugin_load_file):
18108         Small style cleanup.
18109
18110 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18111
18112         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18113           Block the fakesrc srcpad when we send an event, to avoid
18114           contention on the stream_lock causing random test failures.
18115
18116 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18117
18118         * check/gst/gstvalue.c: (GST_START_TEST):
18119         * gst/gstvalue.c: (gst_value_fraction_subtract):
18120           Fix subtraction.
18121
18122 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18123
18124         * gst/gst.h:
18125           include "gstchildproxy.h"
18126         * gst/gstchildproxy.h:
18127         * libs/gst/controller/gstcontroller.h:
18128           use G_GNUC_NULL_TERMINATED
18129
18130 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18131
18132         * check/gst/capslist.h:
18133         * check/gst/gstcaps.c: (GST_START_TEST):
18134         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18135         * gst/gststructure.c: (gst_structure_parse_range),
18136         (gst_structure_fixate_field_nearest_fraction):
18137         * gst/gststructure.h:
18138         * gst/gstvalue.c: (gst_value_init_fraction_range),
18139         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18140         (gst_value_collect_fraction_range),
18141         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18142         (gst_value_set_fraction_range_full),
18143         (gst_value_get_fraction_range_min),
18144         (gst_value_get_fraction_range_max),
18145         (gst_value_serialize_fraction_range),
18146         (gst_value_transform_fraction_range_string),
18147         (gst_value_compare_fraction_range),
18148         (gst_value_deserialize_fraction_range),
18149         (gst_value_intersect_fraction_fraction_range),
18150         (gst_value_intersect_fraction_range_fraction_range),
18151         (gst_value_subtract_fraction_fraction_range),
18152         (gst_value_subtract_fraction_range_fraction),
18153         (gst_value_subtract_fraction_range_fraction_range),
18154         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18155         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18156         (gst_value_transform_string_fraction), (_gst_value_initialize):
18157         * gst/gstvalue.h:
18158           Implement fraction ranges and extend GstFraction to support
18159           arithmetic subtraction, as well as deserialization from integer
18160           strings such as "100"
18161           Add a testsuite as for int and double range set operations
18162
18163 2005-11-21  Andy Wingo  <wingo@pobox.com>
18164
18165         * gst/gsttaglist.h: 
18166         * gst/gstcaps.h: 
18167         * gst/gststructure.h: Add glib-compat.h.
18168
18169 2005-11-21  Wim Taymans  <wim@fluendo.com>
18170
18171         * gst/gstbin.c: (gst_bin_change_state_func):
18172         Fix for #321595
18173
18174 2005-11-21  Wim Taymans  <wim@fluendo.com>
18175
18176         * gst/gstsegment.h:
18177         And add a nice define too.
18178
18179 2005-11-21  Wim Taymans  <wim@fluendo.com>
18180
18181         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18182         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18183         (gst_segment_set_duration), (gst_segment_set_last_stop),
18184         (gst_segment_set_seek), (gst_segment_set_newsegment),
18185         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18186         (gst_segment_clip):
18187         * gst/gstsegment.h:
18188         Make binding friendly.
18189
18190 2005-11-21  Andy Wingo  <wingo@pobox.com>
18191
18192         * gst/gsttagsetter.h: 
18193         * gst/gsttaglist.h: 
18194         * gst/gststructure.h: 
18195         * gst/gstcaps.h: 
18196         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18197         #319940.
18198
18199         * gst/gsterror.c (_gst_core_errors_init):
18200         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18201         category.
18202
18203         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18204         (noinst_HEADERS): noinst the -private.
18205
18206 2005-11-21  Michael Smith <msmith@fluendo.com>
18207
18208         * gst/gstplugin.h:
18209         * gst/gstregistry.h:
18210           Remove unimplemented declarations for which we can see no sensible
18211           use.
18212
18213 2005-11-21  Andy Wingo  <wingo@pobox.com>
18214
18215         * gst/gst.h: Include glib-compat.h.
18216
18217         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18218
18219         * gst/glib-compat.c: Include the public and the private header.
18220
18221         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18222
18223         * gst/gstvalue.c: 
18224         * gst/gstpad.c: 
18225         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18226
18227         * check/gst/gstevent.c (create_custom_events): Check that
18228         FLUSH_STOP is serialized.
18229
18230         * check/elements/identity.c (event_func): 
18231         * check/elements/fakesrc.c (event_func): No stream lock, the core
18232         takes it.
18233
18234         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18235         stream lock taking, yay.
18236
18237         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18238         ensure that core takes the stream lock.
18239
18240         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18241         lock name change.
18242
18243         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18244         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18245         it already. For the flush start we do take it though so we get the
18246         right preroll state change messages.
18247
18248         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18249         the stream lock here, the core does it for us.
18250
18251         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18252         GST_STREAM_GET_LOCK.
18253         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18254         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18255         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18256         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18257         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18258         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18259
18260         * gst/gstpad.c: Update for stream lock name change.
18261
18262         * gst/base/gstbasesink.c: Update for preroll lock name change.
18263
18264 2005-11-21  Wim Taymans  <wim@fluendo.com>
18265
18266         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18267         (gst_clock_get_master):
18268         * gst/gstclock.h:
18269         * gst/gstsystemclock.c: (gst_system_clock_init):
18270         Convert Clock flags to object flags.
18271         Added methods to manage master/slave clocks.
18272
18273 2005-11-21  Wim Taymans  <wim@fluendo.com>
18274
18275         * check/gst/gstsegment.c: (GST_START_TEST):
18276         * docs/design/part-TODO.txt:
18277         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18278         (gst_base_sink_event), (gst_base_sink_do_sync),
18279         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18280         (gst_base_sink_query), (gst_base_sink_change_state):
18281         * gst/base/gstbasesink.h:
18282         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18283         (gst_base_src_default_newsegment),
18284         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18285         (gst_base_src_get_range), (gst_base_src_loop),
18286         (gst_base_src_change_state):
18287         * gst/base/gstbasesrc.h:
18288         * gst/base/gstbasetransform.c:
18289         (gst_base_transform_prepare_output_buf),
18290         (gst_base_transform_event), (gst_base_transform_change_state):
18291         * gst/base/gstbasetransform.h:
18292         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18293         (gst_collect_pads_event):
18294         * gst/base/gstcollectpads.h:
18295         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18296         (gst_fake_src_create):
18297         * gst/elements/gstfakesrc.h:
18298         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18299         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18300         (gst_segment_set_last_stop), (gst_segment_set_seek),
18301         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18302         (gst_segment_to_running_time), (gst_segment_clip):
18303         * gst/gstsegment.h:
18304         More segment updates, replace code in plugins with segment
18305         helper functions.
18306
18307 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18308
18309         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18310         Don't ignore sscanf results
18311
18312 2005-11-21  Andy Wingo  <wingo@pobox.com>
18313
18314         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18315
18316         * *.h:
18317         * *.c: Ran scripts/update-macros. Oh yes.
18318
18319         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18320         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18321         GST_GET_LOCK, etc.
18322
18323         * scripts/update-macros: New script. Run it on your files to
18324         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18325         well.
18326
18327 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18328
18329         * docs/gst/Makefile.am:
18330         * docs/gst/gstreamer-docs.sgml:
18331         * docs/gst/gstreamer-sections.txt:
18332         * docs/gst/gstreamer.types:
18333         * gst/gstinfo.h:
18334           more docs fixes, add new api to the docs
18335
18336 2005-11-21  Andy Wingo  <wingo@pobox.com>
18337
18338         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18339         state_broadcast call.
18340
18341         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18342
18343 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18344
18345         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18346         function calls for arrays.
18347
18348 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18349
18350         * docs/random/ensonic/media-device-daemon.txt:
18351           wild idea, can this be done?
18352         * docs/gst/gstreamer-sections.txt:
18353         * gst/gsterror.h:
18354         * gst/gstfilter.c:
18355         * gst/gstfilter.h:
18356         * gst/gstplugin.h:
18357         * gst/gstpluginfeature.c:
18358         * gst/gsttrace.c:
18359         * gst/gstvalue.c:
18360         * gst/gstvalue.h:
18361           doc fixes and additions
18362
18363 2005-11-21  Andy Wingo  <wingo@pobox.com>
18364
18365         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18366         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18367         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18368         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18369         private to the basesrc implementation.
18370
18371         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18372         behalf of event function if necessary. It should no longer be
18373         necessary to take the stream lock in pad's event functions. Fixes
18374         #320299.
18375
18376 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18377         * docs/gst/gstreamer-sections.txt:
18378         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18379         (gst_structure_fixate_field_nearest_double),
18380         (gst_structure_fixate_field_boolean):
18381         * gst/gststructure.h:
18382         * win32/common/libgstreamer.def:
18383         * win32/gstreamer.def:
18384
18385         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18386         (#322027)
18387
18388 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18389
18390         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18391         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18392         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18393         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18394         (gst_fdsrc_uri_handler_init):
18395         * gst/elements/gstfdsrc.h:
18396           Port fd:// URI handler from 0.8 to fdsrc
18397
18398 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18399
18400         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18401         (gst_value_serialize_fourcc):
18402         * gst/gstvalue.h:
18403           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18404           consistent with our other format defines (#320324).
18405
18406 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18407
18408         * gst/gstvalue.c: (gst_value_is_fixed):
18409           Revert previous commit. Value lists are by definition
18410           not fixed, as they are a list of possible values.
18411
18412 2005-11-21  Andy Wingo  <wingo@pobox.com>
18413
18414         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18415         during the stable series if we need it. Fixes #319178.
18416
18417         * gst/gstevent.c (gst_event_new_filler): Removed.
18418
18419         * check/gst/gstevent.c: Update comment about filler events.
18420
18421 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18422
18423         * gst/gstvalue.c: (gst_value_is_fixed):
18424           Should handle both value arrays and value lists.
18425
18426 2005-11-21  Andy Wingo  <wingo@pobox.com>
18427
18428         patch by: Alessandro Dessina <alessandro nnva org>
18429
18430         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18431         functions to access arrays. Fixes #321962.
18432
18433 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18434
18435         * docs/gst/gstreamer.types:
18436           gst_collectpads_get_type => gst_collect_pads_get_type.
18437           
18438         * gst/base/gstbasetransform.c:
18439           Remove unused SIGNAL_HANDOFF enum.
18440
18441 2005-11-21  Andy Wingo  <wingo@pobox.com>
18442
18443         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18444         the event type (upstream, downstream, serialized). Renamed
18445         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18446         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18447         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18448
18449         * gst/gstevent.c: Update for new CUSTOM event names.
18450
18451         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18452
18453         * gst/gstevent.h:
18454         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18455         bug #319392.
18456
18457 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18458
18459         * docs/gst/gstreamer-sections.txt:
18460         * win32/common/libgstbase.def:
18461         * win32/libgstbase.def:
18462         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18463         (gst_collect_pads_class_init), (gst_collect_pads_init),
18464         (gst_collect_pads_finalize), (gst_collect_pads_new),
18465         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18466         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18467         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18468         (gst_collect_pads_start), (gst_collect_pads_stop),
18469         (gst_collect_pads_peek), (gst_collect_pads_pop),
18470         (gst_collect_pads_available), (gst_collect_pads_read),
18471         (gst_collect_pads_flush), (gst_collect_pads_event),
18472         (gst_collect_pads_chain):
18473         * gst/base/gstcollectpads.h:
18474           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18475           unimplemented functions as unimplemented. Add padding to
18476           GstCollectData. (#320766, #320423)
18477
18478 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18479
18480         * gst/gstmessage.c:
18481           Improve docs for DURATION message (usage of duration parameter)
18482           (#320113)
18483
18484 2005-11-20  Wim Taymans  <wim@fluendo.com>
18485
18486         * check/Makefile.am:
18487         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18488         (main):
18489         * gst/Makefile.am:
18490         * gst/gst.h:
18491         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18492         (gst_segment_set_seek), (gst_segment_set_newsegment),
18493         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18494         (gst_segment_clip):
18495         * gst/gstsegment.h:
18496         Added segment helper structure and methods. Not fully implemented
18497         yet.
18498         Added segment check.
18499
18500 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18501
18502         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18503           Add a deserialisation test for fractions
18504         * examples/metadata/read-metadata.c: (message_loop),
18505         (make_pipeline), (main):
18506           Fix up metadata reading sample.
18507         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18508           Debug format fix
18509         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18510           Don't try and fixate empty caps
18511         * gst/gst_private.h:
18512           Wrap in G_BEGIN_DECLS/G_END_DECLS
18513         * gst/gstvalue.c: (gst_value_collect_fraction),
18514         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18515         (gst_value_transform_string_fraction),
18516         (gst_value_compare_fraction):
18517           Add some extra guards to ensure that we don't end up 
18518           with an invalid denominator of 0 in a gstfraction and
18519           that fractions always get reduced.
18520
18521 2005-11-20  Wim Taymans  <wim@fluendo.com>
18522
18523         * docs/gst/gstreamer-sections.txt:
18524         * gst/gstbuffer.h:
18525         * gst/gstelement.c:
18526         * gst/gstformat.c:
18527         * gst/gstformat.h:
18528         * gst/gstindex.h:
18529         * gst/gstquery.c:
18530         * gst/gstquery.h:
18531         * gst/gstvalue.c:
18532         Doc fixes.
18533
18534 2005-11-20  Wim Taymans  <wim@fluendo.com>
18535
18536         * docs/design/part-TODO.txt:
18537         * gst/gstcaps.h:
18538         Make a proper enum of the flag.
18539
18540 2005-11-19  Wim Taymans  <wim@fluendo.com>
18541
18542         * docs/design/part-TODO.txt:
18543         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18544         (gst_format_to_quark), (gst_format_register):
18545         * gst/gstformat.h:
18546         * gst/gstquery.c: (_gst_query_initialize),
18547         (gst_query_type_get_name), (gst_query_type_to_quark),
18548         (gst_query_type_register):
18549         * gst/gstquery.h:
18550         Add type to quark and type to string conversions.
18551
18552 2005-11-19  Andy Wingo  <wingo@pobox.com>
18553
18554         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18555         #320097.
18556
18557 2005-11-19  Wim Taymans  <wim@fluendo.com>
18558
18559         * docs/design/part-TODO.txt:
18560         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18561         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18562         (gst_bin_handle_message_func):
18563         * gst/gstbin.h:
18564         Make message handling overridable.
18565
18566 2005-11-19  Andy Wingo  <wingo@pobox.com>
18567
18568         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18569
18570         * gst/gstclock.h:
18571         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18572         be a GstClockTime.
18573         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18574         is a GstClockTime. Fixes #321710.
18575
18576         * gst/gstclock.h (GstClock): Remove offset property. Add
18577         internal_calibration and external_calibration. Fix padding. Pad
18578         also by GstClockTime so we don't run into problems.
18579
18580         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18581         (gst_clock_get_rate_offset): Remove.
18582         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18583
18584         * gst/gstutils.h:
18585         * gst/gstutils.c (g_static_rec_cond_wait)
18586         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18587
18588         * gst/gstbin.c: Remove terrible continue_state prototype.
18589
18590         * gst/gstelement.h (gst_element_continue_state): Make public.
18591
18592         * gst/gstelement.h:
18593         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18594         by continue_state. Fixes #319389.
18595
18596         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18597         Really fixes #168438. However I don't see anywhere where the
18598         filter function is called... stupid GStreamer...
18599         
18600         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18601         don't have a dispose function, so it won't get called when the
18602         object is unreffed, but oh well!
18603
18604         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18605         allows a destroy function to be set so user_data can be freed.
18606         Fixes #168438.
18607         (gst_index_set_filter): Call gst_index_set_filter_full.
18608
18609         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18610
18611         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18612         string should produce an error, given the lack of a way to
18613         represent NULL strings. Fixes #165650.
18614         
18615         * gst/gstvalue.h: 
18616         * gst/gstvalue.c (gst_value_array_append_value) 
18617         (gst_value_array_prepend_value, gst_value_array_get_size) 
18618         (gst_value_array_get_value): New API, copied from
18619         gst_value_list_*, only operates on arrays.
18620         (gst_value_list_append_value, gst_value_list_prepend_value) 
18621         (gst_value_list_concat, gst_value_list_get_size) 
18622         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18623
18624         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18625         init_list, because it works on both.
18626         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18627         (gst_value_copy_list_or_array): Renamed from copy_list.
18628         (gst_value_free_list_or_array): Renamed from free_list.
18629         (gst_value_collect_list_or_array): Renamed from collect_list.
18630         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18631         (gst_value_list_or_array_peek_pointer): Renamed from
18632         list_peek_pointer.
18633         (_gst_value_array_value_table, _gst_value_list_value_table):
18634         Update value table functions.
18635         (gst_value_compare_list_or_array): Renamed from compare_list.
18636
18637         * gsttaglist.h: Whoops, foreach function returns void. Also fix
18638         some constness.
18639
18640         * gst/gsttaglist.c:
18641         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18642         GstTagList*. Fixes #143472.
18643
18644         * gst/gststructure.h: Clarify what the foreach/map functions can
18645         or can't do to their arguments.
18646
18647 2005-11-18  Wim Taymans  <wim@fluendo.com>
18648
18649         * gst/gstclock.c: (gst_clock_set_calibration),
18650         (gst_clock_get_calibration):
18651         Doc and API fixes.
18652         Calibration can be set with internal time equal to current
18653         internal time too.
18654
18655 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18656
18657         * gst/gsterror.c:
18658         * gst/gsterror.h:
18659           document
18660
18661 2005-11-18  Andy Wingo  <wingo@pobox.com>
18662
18663         * configure.ac: 
18664         * pkgconfig/gstreamer-net.pc.in:
18665         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18666         * pkgconfig/Makefile.am: Add net pkgconfig files.
18667
18668 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
18669
18670         * gst/gstcaps.c:
18671         * gst/gstghostpad.c:
18672         * gst/gsttrace.c:
18673         * gst/gstvalue.c:
18674         * gst/gstvalue.h:
18675           docs fixes
18676
18677 2005-11-18  Andy Wingo  <wingo@pobox.com>
18678
18679         * gst/net/gstnetclientclock.c: Turn off debugging.
18680
18681         * check/net/gstnetclientclock.c (test_functioning): Assert that the
18682         times connverge somewhat. Can't make a real test.
18683
18684         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18685         integer arithmetic. Return the minimum of the domain, which can be
18686         set as "internal" for gst_clock_set_calibration.
18687         (gst_net_client_clock_observe_times): Call _set_calibration.
18688         (gst_net_client_clock_new): Call _set_calibration instead of
18689         rate_offset.
18690
18691         * check/net/gstnetclientclock.c (test_functioning): Use the right
18692         adjustment api.
18693
18694         * gst/gstclock.h:
18695         * gst/gstclock.c (gst_clock_get_calibration) 
18696         (gst_clock_set_calibration): New functions, obsolete the ones I
18697         added yesterday. Doh. Precision issues mean we have to extrapolate
18698         from a point in the more recent past than 1970.
18699         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18700         obsolete.
18701         (gst_clock_adjust_unlocked): Use the right calibration data.
18702
18703 2005-11-18  Edward Hervey  <edward@fluendo.com>
18704
18705         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
18706         Also reset the ->current_* values in READY->PAUSED
18707
18708 2005-11-18  Andy Wingo  <wingo@pobox.com>
18709
18710         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18711         Whoops, check the right fd. Also add some debugging.
18712         (gst_net_client_clock_observe_times): Adjust for int64 offset.
18713         (do_linear_regression): Add a crapload of debugging. Subtract off
18714         the minimum values from the input series to discard unneeded bits.
18715         Use only int arithmetic. There is still double arithmetic when
18716         calculating the intercept that needs fixing. Return boolean to
18717         indicate success; FALSE would mean the domain or range is too
18718         great. Still needs fixes.
18719
18720 2005-11-18  Wim Taymans  <wim@fluendo.com>
18721
18722         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18723         For the current position in stream time, we need to subtract
18724         accumulated time.
18725         
18726         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18727         Release lock before calling the callback function of async
18728         entries.
18729
18730 2005-11-18  Andy Wingo  <wingo@pobox.com>
18731
18732         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18733         Port goes all the way to MAXUINT16.
18734
18735         * gst/net/gstnettimeprovider.c: Make the port range the same as
18736         for the kernel: 0 assigns, otherwise ports are less than
18737         MAXUINT16.
18738
18739         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18740         port change.
18741
18742         * check/net/gstnetclientclock.c (test_functioning): Add the start
18743         of another test. 
18744
18745 2005-11-18  Wim Taymans  <wim@fluendo.com>
18746
18747         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18748         (gst_bin_remove_func), (bin_bus_handler):
18749         * gst/gstbin.h:
18750         Removing a clock provider from a bin, triggers a clock lost message
18751         so that a new clock will be selected.
18752         Adding a clock to a bin triggers a clock provider message.
18753         Make sure we reselect a clock when we received a clock lost message.
18754         Keep a reference to the element that provided the clock.
18755
18756 2005-11-18  Andy Wingo  <wingo@pobox.com>
18757
18758         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18759         the clock initially so it produces values around the base time.
18760         (gst_net_client_clock_class_init): Typo fix.
18761         (gst_net_client_clock_thread): Add note on when the socket gets
18762         closed.
18763
18764 2005-11-17  Wim Taymans  <wim@fluendo.com>
18765
18766         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18767         Free remote and local time arrays.
18768
18769 2005-11-17  Wim Taymans  <wim@fluendo.com>
18770
18771         * gst/net/gstnetclientclock.c: (do_linear_regression),
18772         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18773         Fix compilation, uninitialized vars and a forgotten continue.
18774
18775 2005-11-17  Andy Wingo  <wingo@pobox.com>
18776
18777         * check/Makefile.am (check_PROGRAMS): 
18778         * check/net/gstnetclientclock.c: Add a most minimal test for the
18779         net client clock. More to come later.
18780
18781         * gst/net/gstnet.h: 
18782         * gst/net/Makefile.am: Add netclientclock.
18783
18784         * gst/net/gstnetclientclock.h:
18785         * gst/net/gstnetclientclock.c: New files, implement an untested
18786         GstClock that takes its time from a network time provider.
18787         Implements the algorithm in network-clock.scm.
18788
18789         * tests/network-clock.scm (*window-size*): Rename from
18790         *queue-length*.
18791         * tests/network-clock.scm (network-time): 
18792         * tests/network-clock-utils.scm (q-push): Update callers.
18793
18794 2005-11-17  Wim Taymans  <wim@fluendo.com>
18795
18796         * gst/gstbin.c: (gst_bin_provide_clock_func),
18797         (gst_bin_sort_iterator_new):
18798         And unref the child too..
18799
18800 2005-11-17  Wim Taymans  <wim@fluendo.com>
18801
18802         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18803         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18804         Refactor the sort iterator so it can be used while holding the
18805         LOCK too.
18806         Make clock selection select a clock closest to the source.
18807
18808 2005-11-17  Michael Smith <msmith@fluendo.com>
18809
18810         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18811         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18812         * gst/gstclock.h:
18813           Anonymous structs are a gcc (and some other compilers) extension, so
18814           don't use them. Since this is only for ABI-compatibility, and our
18815           API/ABI freeze is over in a few days, this whole thing will only
18816           last a few days, so don't bother trying to think up a meaningful
18817           name for the struct.
18818
18819 2005-11-17  Andy Wingo  <wingo@pobox.com>
18820
18821         * gst/gstclock.h (GstClock): Add rate and offset properties,
18822         preserving ABI stability. Add rate/offset accessors. Will file bug
18823         for the freeze break.
18824
18825         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18826         and offset, trying to keep precision and avoiding
18827         underflow/overflow.
18828         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18829         functions. Make gst_clock_set_time_adjust obsolete.
18830         (gst_clock_set_time_adjust): Note that this function is obsolete.
18831         Will file bug soon.
18832
18833         * gst/base/gstbasetransform.h: Make the ABI-stability hack
18834         greppable by using GST_PADDING-1+1.
18835
18836 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
18837
18838         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18839
18840         * gst/gstmessage.c: (gst_message_parse_clock_lost):
18841           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18842
18843         * gst/gstpadtemplate.h:
18844         * gst/gstpluginfeature.h:
18845           Don't use c++ style comments in headers (#321638).
18846
18847 2005-11-16  Andy Wingo  <wingo@pobox.com>
18848
18849         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18850         buffer.
18851
18852         * check/net/gstnettimeprovider.c: Check to see that the time
18853         provider actually provides times. Works, yo!
18854
18855 2005-11-16  Wim Taymans  <wim@fluendo.com>
18856
18857         * check/Makefile.am:
18858         Enable more tests.
18859
18860         * check/elements/fakesrc.c: (GST_START_TEST):
18861         Set element to NULL before disposing it.
18862
18863 2005-11-16  Andy Wingo  <wingo@pobox.com>
18864
18865         * gst/net/Makefile.am:
18866         * gst/net/gstnet.h:
18867         * gst/net/gstnettimeprovider.c: 
18868         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18869         provider, include it from gstnet.h, and add it to the build.
18870
18871         * gst/net/gstnettimepacket.h: 
18872         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18873         sending and receiving.
18874
18875 2005-11-16  Wim Taymans  <wim@fluendo.com>
18876
18877         * check/Makefile.am:
18878         Enable valgrind check.
18879
18880         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18881         (gst_fake_src_alloc_buffer):
18882         Fix memleak.
18883
18884 2005-11-16  Wim Taymans  <wim@fluendo.com>
18885
18886         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18887         Call parent finalize too.
18888
18889 2005-11-16  Wim Taymans  <wim@fluendo.com>
18890
18891         * check/Makefile.am:
18892         Enable valgrind check that should work fine now.
18893
18894         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18895         * gst/gstqueue.c: (gst_queue_init):
18896         Fix memleaks in pad allocation.
18897
18898 2005-11-16  Andy Wingo  <wingo@pobox.com>
18899
18900         * gst/net/Makefile.am:
18901         * gst/net/gstnet.h: New part of core to hold network elements and
18902         objects. Put in core because it exposes API that applications want
18903         to use. The library is named libgstnet-tempname right now because
18904         of the existing libgstnet in gst-plugins-base. Solution is
18905         probably to rename the one in plugins-base; will file a bug for
18906         the freeze break.
18907
18908         * gst/net/gstnettimeprovider.c: 
18909         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
18910         get_time call over the network.
18911
18912         * configure.ac: 
18913         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
18914
18915         * check/Makefile.am:
18916         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
18917         get additions shortly.
18918
18919 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18920
18921         * gst/gstpad.c: (gst_pad_new_from_static_template):
18922         * gst/gstpad.h:
18923           add gst_pad_new_from_static_template functions
18924         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
18925         (gst_check_setup_sink_pad):
18926         * gst/elements/gsttee.c: (gst_tee_init):
18927           and use them
18928
18929 2005-11-16  Wim Taymans  <wim@fluendo.com>
18930
18931         * gst/gstpad.c: (gst_pad_pause_task):
18932         Removed warning, it's not really an error either.
18933
18934 2005-11-16  Wim Taymans  <wim@fluendo.com>
18935
18936         * gst/base/gstbasetransform.c:
18937         (gst_base_transform_prepare_output_buf),
18938         (gst_base_transform_event):
18939         Check if the caps are NULL, this can happen if the element
18940         is shutting down and the pad caps are set to NULL.
18941
18942 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18943
18944         * gst/elements/gsttee.c: (gst_tee_init):
18945           fix pad template leak in tee
18946
18947 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18948
18949         * gst/glib-compat.c: (g_value_dup_gst_object):
18950         * gst/glib-compat.h:
18951         * gst/gstpad.c: (gst_pad_set_property):
18952           use gst_object_ref when setting the pad template; this will
18953           trigger the pad template leaks on GLib 2.6 and the slaves
18954
18955 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18956
18957         * gst/glib-compat.c: (gst_flags_get_first_value):
18958         * gst/glib-compat.h:
18959         * gst/gstregistryxml.c:
18960           remove functions copied from GLib 2.6
18961
18962 2005-11-16  Michael Smith <msmith@fluendo.com>
18963
18964         * gst/Makefile.am:
18965           Don't link against VALGRIND_LIBS. That was always the wrong thing to
18966           do, but only breaks with newer valgrind versions. We're not a
18967           valgrind tool, we have no link-time dependencies on libcoregrind.
18968
18969 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18970
18971         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18972           some debug changes
18973         * gst/gstmessage.h:
18974           typo fixes
18975
18976 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18977
18978         * gst/base/gstbasesrc.c: (gst_base_src_init):
18979         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18980         * gst/gstqueue.c: (gst_queue_init):
18981         * gst/gstregistryxml.c: (load_feature):
18982           Revert all these unrefs, they don't even pass make check !
18983
18984 2005-11-15  Johan Dahlin  <johan@gnome.org>
18985
18986         * gst/base/gstbasesrc.c: (gst_base_src_init):
18987         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18988         * gst/gstqueue.c: (gst_queue_init): 
18989         Free pad templates, fixes a couple of leaks.
18990
18991 2005-11-15  Daniel Fischer  <dan at f3c dot com>
18992
18993         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18994
18995         * gst/gstpad.c: (gst_pad_get_property):
18996           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
18997           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
18998           (#321452)
18999
19000 2005-11-15  Wim Taymans  <wim@fluendo.com>
19001
19002         * gst/gstevent.c:
19003         Small doc update.
19004
19005 2005-11-15  Andy Wingo  <wingo@pobox.com>
19006
19007         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19008
19009         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19010         using GST_CLOCK_TIME_NONE to disable base time management.
19011         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19012         time if it was NONE before.
19013         (gst_pipeline_change_state): Only munge the base time if
19014         stream_time != GST_CLOCK_TIME_NONE.
19015
19016         * check/gst/gstpipeline.c (test_base_time): Punt around the
19017         problem of the probe not being called, because that's not the
19018         issue I'm looking at. Add a check that setting stream_time to NONE
19019         disables base time management.
19020         
19021 2005-11-15  Wim Taymans  <wim@fluendo.com>
19022
19023         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19024         segment_stop == -1 at startup.
19025
19026         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19027         (gst_base_transform_change_state):
19028         Init segment values at start.
19029
19030 2005-11-15  Wim Taymans  <wim@fluendo.com>
19031
19032         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19033         0 segment values are 0 in any format.
19034
19035         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19036         * gst/base/gstbasetransform.h:
19037         Parse newsegment correctly in basetransform
19038
19039         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19040         Sync to clock using updated segment values.
19041
19042 2005-11-15  Andy Wingo  <wingo@pobox.com>
19043
19044         * check/gst/gstpipeline.c (test_base_time): Add check that the
19045         base time and stream time are reset correctly.
19046
19047 2005-11-15  Wim Taymans  <wim@fluendo.com>
19048
19049         * docs/design/part-TODO.txt:
19050         Some more TODO items.
19051
19052 2005-11-15  Andy Wingo  <wingo@pobox.com>
19053
19054         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19055         error if the user selected "no clock" as the clocking method.
19056
19057         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19058         timestamps with live capture.
19059
19060         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19061         is 0 but we are a live source, timestamp the buffers using the
19062         element's clock.
19063
19064 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19065
19066         * docs/gst/gstreamer-sections.txt:
19067         * gst/gsterror.c:
19068         * gst/gstghostpad.c:
19069         * gst/gstobject.h:
19070         * gst/gstxml.c:
19071           more section docs
19072
19073 2005-11-14  Wim Taymans  <wim@fluendo.com>
19074
19075         * common/gst.supp:
19076           add suppressions from Wim's Debian machine
19077
19078 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19079
19080         * common/gst.supp:
19081           add suppressions from Andy's AMD64 Ubuntu machine
19082
19083 2005-11-14  Andy Wingo  <wingo@pobox.com>
19084
19085         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19086         STATE_LOCK not necessary. Fixes #311489.
19087
19088         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19089         #305291.
19090
19091         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19092         this function is not implemented.
19093
19094 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19095
19096         * gst/base/gstbasetransform.c:
19097         (gst_base_transform_prepare_output_buf):
19098         Ref the source pad caps while we need them.
19099         Fixes (#321386)
19100
19101 2005-11-11  Wim Taymans  <wim@fluendo.com>
19102
19103         * docs/gst/gstreamer-sections.txt:
19104         Added some docs for GstCollectData.
19105
19106         * gst/base/gstadapter.c:
19107         Some small code example fix.
19108
19109         * gst/base/gstcollectpads.c:
19110         * gst/base/gstcollectpads.h:
19111         Document some more.
19112
19113 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19114
19115         * configure.ac: back to HEAD
19116
19117 === release 0.9.5 ===
19118
19119 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19120
19121         * configure.ac:
19122           releasing 0.9.5, "Bike Lunch Day"
19123
19124 2005-11-11  Wim Taymans  <wim@fluendo.com>
19125
19126         * gst/gstbuffer.c: (_gst_buffer_copy):
19127         Copy more flags.
19128
19129         * gst/gstcaps.c: (gst_caps_is_equal):
19130         Fix some docs.
19131         Make _is_equal fast in the trivial cases.
19132
19133         * gst/gstminiobject.c:
19134         * gst/gstminiobject.h:
19135         More docs. Spifify .h file.
19136
19137         * gst/gstutils.c:
19138         Small doc update.
19139
19140 2005-11-11  Wim Taymans  <wim@fluendo.com>
19141
19142         * gst/base/gstbasetransform.c:
19143         (gst_base_transform_prepare_output_buf),
19144         (gst_base_transform_handle_buffer):
19145         Small cleanups.
19146         If we're processing a buffer and need to allocate an output
19147         buffer, we cannot accept a format change. If we did get a 
19148         format change, we have to alloc a buffer ourselves of the 
19149         right size.
19150
19151 2005-11-11  Wim Taymans  <wim@fluendo.com>
19152
19153         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19154         While checking the flag for reentrancy in the gstcaps function
19155         is nice to detect recursive invocations, it also makes it 
19156         impossible to call getcaps from multiple threads, which must be
19157         possible. So, checking for recursive calls has to go.
19158
19159 2005-11-11  Michael Smith <msmith@fluendo.com>
19160
19161         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19162           Don't sync on buffers that fall partially outside our current
19163           segment. Prevents an assertion failure/abort playing some files.
19164
19165 2005-11-10  Andy Wingo  <wingo@pobox.com>
19166
19167         * check/gst/gstbin.c (test_message_state_changed_children): Style
19168         fix..
19169
19170         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19171         gst_bus_poll with the signal watch. Ensures that poll and a signal
19172         watch see the same messages.
19173
19174         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19175         a poll and a watch at the same time get the same messages.
19176
19177 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19178
19179         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19180         * gst/gstcaps.c: (gst_caps_intersect):
19181           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19182           and it's not needed.
19183
19184 2005-11-10  Wim Taymans  <wim@fluendo.com>
19185
19186         * docs/design/part-TODO.txt:
19187         Updated todo.
19188
19189 2005-11-10  Wim Taymans  <wim@fluendo.com>
19190
19191         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19192         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19193         (gst_base_src_do_sync), (gst_base_src_get_range):
19194         Implement clock sync in base class.
19195
19196 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19197
19198         patch by: Tim-Philipp Müller <tim at centricular dot net>
19199
19200         * gst/gststructure.c: (gst_structure_parse_field),
19201         (gst_structure_from_string):
19202           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19203           so that gst_parse_launch() can deal with spaces in filtered link
19204           caps (fixes #164479)
19205         * check/gst/capslist.h:
19206         * check/gst/gststructure.c: (GST_START_TEST):
19207           add unit tests for this change
19208
19209 2005-11-10  Wim Taymans  <wim@fluendo.com>
19210
19211         * docs/gst/gstreamer-sections.txt:
19212         * gst/gstelement.c:
19213         * gst/gstelement.h:
19214         Fix docs, move some STATE macros to private.
19215
19216 2005-11-10  Wim Taymans  <wim@fluendo.com>
19217
19218         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19219         Added check for bug #317341
19220
19221         * gst/gstbuffer.c:
19222         * gst/gstbuffer.h:
19223         Some more spiffifying.
19224
19225         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19226         Call peer linkfunction if we are a source pad. Totally fixes
19227         #317341
19228
19229         * gst/gstpad.c:
19230         Update docs, source pads should call the peer linkfunction
19231         so they can atomically perform the pad link.
19232
19233 2005-11-09  Wim Taymans  <wim@fluendo.com>
19234
19235         * gst/gstbuffer.c:
19236         * gst/gstbuffer.h:
19237         Uber-spiffy-spiffify some more.
19238
19239 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19240
19241         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19242         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19243         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19244         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19245         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19246         * gst/gstpad.c: (gst_pad_init):
19247           Use GST_DEBUG_FUNCPTR() more extensively.
19248
19249 2005-11-09  Wim Taymans  <wim@fluendo.com>
19250
19251         * gst/gstobject.c: (gst_object_class_init):
19252         * gst/gstobject.h:
19253         Documentation fixes.
19254
19255 2005-11-09  Edward Hervey  <edward@fluendo.com>
19256
19257         * gst/gsttypefindfactory.c:
19258         Fix docs.
19259         
19260 2005-11-09  Edward Hervey  <edward@fluendo.com>
19261
19262         * gst/base/gsttypefindhelper.c:
19263         * gst/gsttypefind.c:
19264         * gst/gsttypefind.h:
19265         Fix docs.
19266
19267 2005-11-09  Wim Taymans  <wim@fluendo.com>
19268
19269         * gst/gstiterator.c:
19270         Fix revision data.
19271
19272         * gst/gsttask.c:
19273         * gst/gsttask.h:
19274         Fix docs.
19275
19276 2005-11-09  Wim Taymans  <wim@fluendo.com>
19277
19278         * gst/gstevent.h:
19279         * gst/gsturi.h:
19280         Fix docs.
19281
19282 2005-11-09  Wim Taymans  <wim@fluendo.com>
19283
19284         * docs/gst/gstreamer-sections.txt:
19285         Moved the message async delivery private lock and cond
19286         to the private section.
19287
19288         * gst/gstmessage.c:
19289         * gst/gstmessage.h:
19290         Fixed docs.
19291
19292 2005-11-09  Edward Hervey  <edward@fluendo.com>
19293
19294         * docs/gst/gstreamer-sections.txt:
19295         * gst/gsturi.c:
19296         * gst/gsturi.h:
19297         Document GstURIHandler
19298
19299 2005-11-09  Wim Taymans  <wim@fluendo.com>
19300
19301         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19302         (gst_iterator_find_custom):
19303         * gst/gstiterator.h:
19304         Fix iterator docs.
19305
19306 2005-11-09  Wim Taymans  <wim@fluendo.com>
19307
19308         * gst/gstbin.h:
19309         Document another field.
19310
19311         * gst/gststructure.c:
19312         * gst/gststructure.h:
19313         Document.
19314
19315 2005-11-09  Wim Taymans  <wim@fluendo.com>
19316
19317         * gst/gstbin.h:
19318         Documented structs.
19319
19320 2005-11-09  Wim Taymans  <wim@fluendo.com>
19321
19322         * docs/gst/gstreamer-sections.txt:
19323         Added some new macros.
19324
19325         * gst/gstclock.c:
19326         * gst/gstclock.h:
19327         * gst/gstobject.h:
19328         Docs updates.
19329
19330 2005-11-09  Wim Taymans  <wim@fluendo.com>
19331
19332         * docs/design/part-TODO.txt:
19333         Some more items for the TODO
19334
19335         * gst/gstcaps.c:
19336         * gst/gstcaps.h:
19337         Document GstCaps.
19338
19339 2005-11-09  Andy Wingo  <wingo@pobox.com>
19340
19341         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19342         to work on something else now tho...
19343
19344         * gst/base/gstadapter.c: More adapter docs.
19345
19346         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19347         (gst_file_sink_stop): New functions, replace the state change
19348         handler.
19349         (gst_file_sink_class_init): Hook up the start and stop functions.
19350         (gst_file_sink_base_init): Don't set the state change handler any
19351         more. It was a bit ugly too, being set from here...
19352         (gst_file_sink_get_property, gst_file_sink_set_property):
19353         Cleanups...
19354         (gst_file_sink_set_location): More robust check that doesn't call
19355         GST_STATE. Ugggggg.
19356
19357 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19358
19359         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19360           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19361
19362 2005-11-08  Wim Taymans  <wim@fluendo.com>
19363
19364         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19365         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19366         (gst_base_sink_chain), (gst_base_sink_change_state):
19367         * gst/base/gstbasesink.h:
19368         * gst/base/gstbasesrc.h:
19369         * gst/gstelement.h:
19370         * gst/gstevent.h:
19371         Avoid excessive typechecking in macros.
19372
19373         * gst/gstminiobject.c: (gst_mini_object_get_type),
19374         (gst_mini_object_init), (gst_mini_object_new),
19375         (gst_mini_object_free):
19376         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19377         (gst_object_finalize):
19378         Remove cruft code, optimize alloc_trace.
19379
19380 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19381
19382         * docs/faq/gst-uninstalled:
19383           fix up PS1 for systems that try to reset it
19384
19385 2005-11-07  Wim Taymans  <wim@fluendo.com>
19386
19387         * gst/base/gstbasesrc.c: (gst_base_src_init),
19388         (gst_base_src_get_range):
19389         Set the segment_end to -1 initially. Fixed typefind.
19390
19391 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19392
19393         * gst/base/gstadapter.c:
19394           Debug category should be 'adapter', not 'GstAdapter'.
19395           
19396         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19397         (gst_collectpads_class_init), (gst_collectpads_init),
19398         (gst_collectpads_peek), (gst_collectpads_pop),
19399         (gst_collectpads_event), (gst_collectpads_chain):
19400           Add debug category and some debugging output. Use boilerplate
19401           macros. Remove some extraneous words from docs.
19402
19403 2005-11-05  Andy Wingo  <wingo@pobox.com>
19404
19405         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19406         macro.
19407
19408 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19409
19410         * docs/gst/gstreamer-sections.txt:
19411         * gst/gstcaps.h:
19412         * gst/gstinfo.c:
19413         * gst/gstminiobject.h:
19414         * gst/gstobject.h:
19415         * gst/gstutils.h:
19416           more docs added
19417
19418 2005-11-04  Wim Taymans  <wim@fluendo.com>
19419
19420         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19421         Small update to stop at the configured segment_end
19422         position.
19423
19424 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19425
19426         * gst/gstregistry.c:
19427         * gst/gstregistry.h:
19428           added missing docs
19429
19430 2005-11-04  Edward Hervey  <edward@fluendo.com>
19431
19432         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19433         Check if we are doing a segment seek and have arrived at the
19434         end of that segment.
19435
19436 2005-11-04  Wim Taymans  <wim@fluendo.com>
19437
19438         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19439         Don't leak a mutex unlock in case of an error.
19440
19441         * gst/gstbus.h:
19442         Doc fixes.
19443
19444 2005-11-04  Wim Taymans  <wim@fluendo.com>
19445
19446         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19447         (gst_bus_post):
19448         Get the context to wake up only once.
19449
19450 2005-11-03  Wim Taymans  <wim@fluendo.com>
19451
19452         * check/states/sinks.c: (GST_START_TEST):
19453         Uncomment fixed check.
19454
19455         * docs/design/part-TODO.txt:
19456         Updated TODO.
19457
19458         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19459         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19460         (gst_base_sink_get_position):
19461         If we are going to PLAYING, post the right pending state
19462         when we post the intermediate paused message.
19463
19464         * gst/gstelement.c: (gst_element_continue_state),
19465         (gst_element_set_state_func), (gst_element_change_state):
19466         Don't post state changes that were between the same state
19467         and were not ASYNC.
19468
19469 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19470
19471         * docs/gst/gstreamer-sections.txt:
19472         * gst/gstcaps.h:
19473         * gst/gstinfo.c:
19474         * gst/gstminiobject.h:
19475         * gst/gstobject.h:
19476         * gst/gstutils.h:
19477           more docs and doc style fixes
19478
19479 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19480
19481         * docs/gst/gstreamer-sections.txt:
19482         * gst/gstelement.c:
19483         * gst/gstminiobject.c:
19484         doc fixes
19485
19486 2005-11-03  Andy Wingo  <wingo@pobox.com>
19487
19488         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19489         state-changed messages actually have the right order and the right
19490         values.
19491
19492 2005-11-03  Wim Taymans  <wim@fluendo.com>
19493
19494         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19495         Added some more checks. Specifically the case where NO_PREROLL
19496         elements are in the pipeline.
19497
19498         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19499         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19500         (gst_base_sink_get_position):
19501         Post READY->PAUSED state change messages too.
19502         Fix bug where VOID was posted as pending state...
19503
19504         * gst/gstbin.c: (gst_bin_recalc_state):
19505         use _element_continue_state() to continue the state change.
19506
19507         * gst/gstelement.c: (gst_element_continue_state),
19508         (gst_element_commit_state), (gst_element_set_state_func),
19509         (gst_element_change_state), (gst_element_change_state_func):
19510         Lots of state change cleanups, assign the STATE_RETURN in
19511         a new continue_state() function that also propagates the
19512         last return value from a state change to the app.
19513         Update some debug statements with proper category.
19514
19515 2005-11-03  Wim Taymans  <wim@fluendo.com>
19516
19517         * docs/design/part-events.txt:
19518         * docs/design/part-gstpipeline.txt:
19519         * docs/design/part-messages.txt:
19520         * docs/design/part-overview.txt:
19521         * docs/design/part-seeking.txt:
19522         * docs/design/part-states.txt:
19523         * docs/design/part-trickmodes.txt:
19524         * docs/manual/advanced-position.xml:
19525         Small docs updates.
19526
19527         * gst/gstobject.h:
19528         People think !! is ugly, this looks better.
19529
19530         * gst/gstpad.c: (gst_pad_set_blocked_async):
19531         Remove !! since it's fixed elsewhere now.
19532
19533 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19534
19535         * gst/gstminiobject.h:
19536         * gst/gstobject.h:
19537           Add !! to _FLAG_IS_SET macros to make the result boolean.
19538
19539 2005-11-03  Edward Hervey  <edward@fluendo.com>
19540
19541         * gst/gstpad.c: (gst_pad_set_blocked_async):
19542         comparing a flag and a gboolean rarely returns coherent results...
19543         Added two characters (!!) to make that work correctly.
19544         
19545 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19546
19547         * gst/gstbus.c: (gst_bus_class_init):
19548           Fix some typos.
19549           
19550         * gst/gstqueue.c: (gst_queue_loop):
19551           Don't assume a miniobject that isn't a buffer is an
19552           event (it could be that there is a refcounting
19553           problem somewhere and the pointer is stale and
19554           refers to an already destroyed miniobject).
19555
19556 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19557
19558         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19559
19560 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19561
19562         * docs/manual/advanced-position.xml:
19563           Update seek example and explanations to current 0.9 API.
19564
19565         * gst/elements/gsttypefindelement.c:
19566         (gst_type_find_element_activate):
19567           Remove FIXME comment now that the found caps
19568           are unreffed.
19569
19570 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19571
19572         * gst/gstregistryxml.c: (load_feature):
19573           Add another GST_STR_NULL instance
19574
19575 2005-11-02  Edward Hervey  <edward@fluendo.com>
19576
19577         * gst/gstpad.c: (handle_pad_block):
19578         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19579         
19580 2005-11-02  Wim Taymans  <wim@fluendo.com>
19581
19582         * gst/gstbin.c:
19583         Fix typo in docs.
19584
19585         * gst/gstelement.c: (gst_element_commit_state):
19586         Remove unused value.
19587
19588         * gst/gstiterator.c:
19589         Mention that the returned element is reffed in the docs.
19590
19591 2005-11-02  Wim Taymans  <wim@fluendo.com>
19592
19593         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19594         (gst_pad_push), (gst_pad_push_event):
19595         Unlock blocked pads when they are flushed.
19596
19597 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19598
19599         * docs/README:
19600         * docs/gst/gstreamer-sections.txt:
19601         * gst/gstbin.c:
19602           doc updates
19603         * gst/gstregistry.c: (gst_registry_scan_path_level):
19604           fix for a nasty little missed situation where an installed plug-in
19605           which was in the cache did not get overridden by an uninstalled one
19606           which was earlier in the plugin path because the newly created plugin
19607           for the uninstalled one (not in the registry) didn't get its
19608           ->registered set to TRUE
19609
19610 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19611
19612         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19613         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19614         (gst_collectpads_is_active), (gst_collectpads_collect),
19615         (gst_collectpads_collect_range), (gst_collectpads_start),
19616         (gst_collectpads_stop), (gst_collectpads_peek),
19617         (gst_collectpads_pop), (gst_collectpads_available),
19618         (gst_collectpads_read), (gst_collectpads_flush):
19619           Guard public API with assertions.
19620         
19621         * gst/gstpad.c:
19622           Fix docs for gst_pad_set_link_function().
19623
19624 2005-11-02  Johan Dahlin  <johan@gnome.org>
19625
19626         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
19627         Unref found_caps after we used it.
19628
19629 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19630
19631         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19632           Don't try to ref NULL.
19633
19634 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19635
19636         * win32/common/config.h.in:
19637           provide a GST_FUNCTION that just gives a string for now
19638
19639 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19640
19641         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19642         (gst_object_flags_get_type), (register_gst_bin_flags),
19643         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19644         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19645         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19646         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19647         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19648         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19649         (gst_clock_flags_get_type), (register_gst_state),
19650         (gst_state_get_type), (register_gst_state_change_return),
19651         (gst_state_change_return_get_type), (register_gst_state_change),
19652         (gst_state_change_get_type), (register_gst_element_flags),
19653         (gst_element_flags_get_type), (register_gst_core_error),
19654         (gst_core_error_get_type), (register_gst_library_error),
19655         (gst_library_error_get_type), (register_gst_resource_error),
19656         (gst_resource_error_get_type), (register_gst_stream_error),
19657         (gst_stream_error_get_type), (register_gst_event_type),
19658         (gst_event_type_get_type), (register_gst_seek_type),
19659         (gst_seek_type_get_type), (register_gst_seek_flags),
19660         (gst_seek_flags_get_type), (register_gst_format),
19661         (gst_format_get_type), (register_gst_index_certainty),
19662         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19663         (gst_index_entry_type_get_type),
19664         (register_gst_index_lookup_method),
19665         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19666         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19667         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19668         (gst_index_flags_get_type), (register_gst_debug_level),
19669         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19670         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19671         (gst_iterator_result_get_type), (register_gst_iterator_item),
19672         (gst_iterator_item_get_type), (register_gst_message_type),
19673         (gst_message_type_get_type), (register_gst_mini_object_flags),
19674         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19675         (gst_pad_link_return_get_type), (register_gst_flow_return),
19676         (gst_flow_return_get_type), (register_gst_activate_mode),
19677         (gst_activate_mode_get_type), (register_gst_pad_direction),
19678         (gst_pad_direction_get_type), (register_gst_pad_flags),
19679         (gst_pad_flags_get_type), (register_gst_pad_presence),
19680         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19681         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19682         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19683         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19684         (gst_plugin_flags_get_type), (register_gst_rank),
19685         (gst_rank_get_type), (register_gst_query_type),
19686         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19687         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19688         (gst_tag_flag_get_type), (register_gst_task_state),
19689         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19690         (gst_alloc_trace_flags_get_type),
19691         (register_gst_type_find_probability),
19692         (gst_type_find_probability_get_type), (register_gst_uri_type),
19693         (gst_uri_type_get_type), (register_gst_parse_error),
19694         (gst_parse_error_get_type):
19695         * win32/common/gstversion.h:
19696           update win32 copies
19697
19698 2005-11-01  Luca Ognibene  <luogni@tin.it>
19699
19700         * gst/gst.c:
19701           fix docs. popt is dead, long live GOption.
19702
19703 2005-10-31  Wim Taymans  <wim@fluendo.com>
19704
19705         * gst/gstbuffer.h:
19706         Small doc fix.
19707
19708 2005-10-31  Andy Wingo  <wingo@pobox.com>
19709
19710         * Boo!
19711
19712         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19713
19714         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19715         need to serialize property notifications on GLib 2.8. GLib 2.6 has
19716         the possibility of deadlocks here if code calling notify() or
19717         set() has a lock that can be taken in another notify handler (ABBA
19718         with class lock and e.g. python GIL state lock).
19719
19720 2005-10-28  Julien MOUTTE  <julien@moutte.net>
19721
19722         * gst/gstbus.c: Doc updates.
19723
19724 2005-10-28  Wim Taymans  <wim@fluendo.com>
19725
19726         * docs/design/part-TODO.txt:
19727         * gst/gstiterator.c:
19728         * gst/gstsystemclock.c:
19729         * gst/gstsystemclock.h:
19730         Doc updates.
19731
19732 2005-10-28  Edward Hervey  <edward@fluendo.com>
19733
19734         * docs/gst/gstreamer-docs.sgml:
19735         * docs/gst/gstreamer-sections.txt:
19736         the GstURIType documentation page is private, it only defines GstURIType
19737         which should be defined in the GstURIHandler page
19738         
19739 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19740
19741         * gst/gstbin.c: (gst_bin_class_init):
19742         * gst/gstbin.h:
19743         * gst/gstutils.c:
19744         Documentation updates.
19745
19746 2005-10-28  Wim Taymans  <wim@fluendo.com>
19747
19748         * docs/gst/gstreamer-sections.txt:
19749         * gst/gstclock.c:
19750         * gst/gstclock.h:
19751         Documented the clocks.
19752
19753 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
19754
19755         * docs/gst/gstreamer-sections.txt:
19756           move some macros to private sections
19757         * gst/gstminiobject.c:
19758         * gst/gstminiobject.h:
19759           add descriptions provided by ds and some more
19760         * gst/gstpad.h:
19761           mark macro as to be removed
19762
19763 2005-10-28  Wim Taymans  <wim@fluendo.com>
19764
19765         * docs/design/part-TODO.txt:
19766         Add an item to TODO.
19767
19768         * gst/gstiterator.c: (gst_iterator_fold),
19769         (gst_iterator_find_custom):
19770         * gst/gstiterator.h:
19771         Add iterator docs.
19772
19773 2005-10-28  Wim Taymans  <wim@fluendo.com>
19774
19775         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19776         (gst_base_transform_init):
19777         Don't leak class.
19778
19779         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19780         An EOS event marks the queue as completely filled.
19781
19782 2005-10-27  Wim Taymans  <wim@fluendo.com>
19783
19784         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19785         (gst_base_sink_do_sync), (gst_base_sink_get_position):
19786         Some more debugging.
19787
19788         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19789         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19790         (gst_base_transform_event), (gst_base_transform_getrange),
19791         (gst_base_transform_chain):
19792         * gst/base/gstbasetransform.h:
19793         Fix debugging,
19794         Protect transform and concurrent buffer alloc with a new lock.
19795         Try not to break ABI/API.
19796
19797 2005-10-27  Wim Taymans  <wim@fluendo.com>
19798
19799         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19800         (gst_base_src_init), (gst_base_src_query),
19801         (gst_base_src_default_newsegment),
19802         (gst_base_src_configure_segment), (gst_base_src_do_seek),
19803         (gst_base_src_send_event), (gst_base_src_event_handler),
19804         (gst_base_src_pad_get_range), (gst_base_src_loop),
19805         (gst_base_src_unlock), (gst_base_src_default_negotiate),
19806         (gst_base_src_start), (gst_base_src_deactivate),
19807         (gst_base_src_activate_push), (gst_base_src_change_state):
19808         Move some stuff around and cleanup things.
19809
19810 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
19811
19812         * gst/base/gstbasesrc.c: (gst_base_src_query):
19813           Add missing break statements.
19814
19815 2005-10-27  Wim Taymans  <wim@fluendo.com>
19816
19817         * check/gst/gstbin.c: (GST_START_TEST):
19818         An extra refcount is taken in basesrc.
19819
19820         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19821         (gst_base_src_get_range), (gst_base_src_pad_get_range),
19822         (gst_base_src_loop):
19823         Small cleanups, check for flushing after being unlocked from the 
19824         LIVE_LOCK. take refcounts correctly (not yet everywhere).
19825         Don't send out EOS when going to READY.
19826
19827 2005-10-27  Wim Taymans  <wim@fluendo.com>
19828
19829         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19830         (gst_base_sink_get_position):
19831         Some more debug.
19832
19833         * gst/gstbin.c: (message_check), (bin_replace_message),
19834         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19835         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19836         (bin_query_duration_init), (bin_query_duration_fold),
19837         (bin_query_duration_done), (bin_query_generic_fold),
19838         (gst_bin_query):
19839         * tools/gst-launch.c: (main):
19840         Remove old option.
19841
19842 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
19843
19844         * examples/controller/audio-example.c: (main):
19845         * examples/queue/queue.c: (event_loop):
19846         * gst/base/gstbasetransform.h:
19847         * gst/gstelement.c: (gst_element_send_event):
19848         * gst/gstevent.h:
19849         * gst/gstpad.c: (gst_pad_send_event):
19850           fixing examples
19851           fixing docs typos
19852           changing log priority in error situations
19853
19854 2005-10-25  Wim Taymans  <wim@fluendo.com>
19855
19856         * gst/gstbin.c: (message_check), (bin_replace_message),
19857         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19858         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19859         (bin_query_duration_init), (bin_query_duration_fold),
19860         (bin_query_duration_done), (bin_query_generic_fold),
19861         (gst_bin_query):
19862         Some doc and debug updates.
19863         Cache previously requested query DURATION for speed. invalidate
19864         cached duration if element posts a DURATION message.
19865
19866 2005-10-25  Wim Taymans  <wim@fluendo.com>
19867
19868         * docs/design/part-TODO.txt:
19869         Update TODO.
19870
19871         * gst/gstbin.c: (message_check), (bin_replace_message),
19872         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19873         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19874         (bin_query_duration_init), (bin_query_duration_fold),
19875         (bin_query_duration_done), (bin_query_generic_fold),
19876         (gst_bin_query):
19877         Handle SEGMENT_START/DONE messages correctly.
19878         More evolved query algorithm that handles duration queries
19879         correctly.
19880
19881         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19882         (gst_element_get_state_func), (gst_element_abort_state),
19883         (gst_element_commit_state), (gst_element_lost_state):
19884         Some more debugging.
19885
19886         * gst/gstmessage.h:
19887         Added doc.
19888
19889 2005-10-25  Wim Taymans  <wim@fluendo.com>
19890
19891         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19892         Don't use invalid stream_time.
19893
19894         * gst/gstevent.c: (gst_event_new_newsegment):
19895         stream_time in newsegment cannot be undefined.
19896
19897 2005-10-24  Wim Taymans  <wim@fluendo.com>
19898
19899         * gst/gstbus.c:
19900         Doc fix.
19901
19902         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19903         (gst_queue_loop):
19904         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
19905
19906 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
19907
19908         * docs/libs/tmpl/gstdparam.sgml:
19909         * docs/libs/tmpl/gstdplinint.sgml:
19910         * docs/libs/tmpl/gstdpman.sgml:
19911         * docs/libs/tmpl/gstdpsmooth.sgml:
19912         * docs/libs/tmpl/gstunitconvert.sgml:
19913           these are obsolete
19914
19915 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19916
19917         * configure.ac:
19918           back to HEAD
19919
19920 === release 0.9.4 ===
19921
19922 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19923
19924         * configure.ac:
19925           releasing 0.9.4, "Tyrannosaurus Rex"
19926
19927 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
19928
19929         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19930         (gst_file_sink_get_current_offset):
19931           Use fseeko() and ftello() if available. When falling back on
19932           lseek() to get the current offset, fflush() first to make sure
19933           everything is up-to-date and we get the right offset.
19934
19935 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19936
19937         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19938         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19939         * gst/gsterror.c: (_gst_stream_errors_init):
19940         * gst/gsterror.h:
19941         * gst/gstqueue.c: (gst_queue_loop):
19942         * po/POTFILES.in:
19943           remove prematurely added error category and clean up the instances
19944
19945 2005-10-21  Wim Taymans  <wim@fluendo.com>
19946
19947         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19948         (gst_base_sink_get_position), (gst_base_sink_query),
19949         (gst_base_sink_change_state):
19950         Simply set the right flag when going to playing, that's all
19951         we need to do instead of calling a function inside the object
19952         lock (that could take the lock as well and deadlock)
19953
19954 2005-10-21  Wim Taymans  <wim@fluendo.com>
19955
19956         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
19957         (gst_base_src_loop):
19958         Don't warn, the peer element knows what to do best when
19959         the seek failed, it might try something else.
19960
19961 2005-10-21  Wim Taymans  <wim@fluendo.com>
19962
19963         * gst/base/gstbasesrc.c: (gst_base_src_init),
19964         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19965         Fix seeking.
19966
19967 2005-10-21  Wim Taymans  <wim@fluendo.com>
19968
19969         * docs/design/part-segments.txt:
19970         More docs.
19971
19972         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
19973         Correctly set caps, even on the subbufer.
19974
19975 2005-10-21  Wim Taymans  <wim@fluendo.com>
19976
19977         * docs/gst/gstreamer-docs.sgml:
19978         * docs/gst/gstreamer-sections.txt:
19979         * gst/gstelement.h:
19980         * gst/gstevent.c:
19981         * gst/gstevent.h:
19982         * gst/gstmessage.h:
19983         * gst/gstpad.h:
19984         * gst/gstparse.h:
19985         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
19986         * gst/gsttask.h:
19987         * gst/gstutils.c:
19988         * gst/gstutils.h:
19989         And 2% more doc coverage.
19990
19991 2005-10-21  Andy Wingo  <wingo@pobox.com>
19992
19993         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
19994         position reporting.
19995
19996 2005-10-20  Wim Taymans  <wim@fluendo.com>
19997
19998         * gst/gsterror.c: (gst_error_get_message):
19999         * gst/gstparse.h:
20000         * gst/gstquery.h:
20001         * gst/gststructure.c:
20002         * gst/gsttrace.c:
20003         * gst/gstutils.c:
20004         More docs.
20005
20006 2005-10-20  Wim Taymans  <wim@fluendo.com>
20007
20008         * gst/gstbuffer.h:
20009         * gst/gstpad.c:
20010         * gst/gstparse.c:
20011         Another 1% more coverage.
20012
20013 2005-10-20  Wim Taymans  <wim@fluendo.com>
20014
20015         * docs/gst/gstreamer-sections.txt:
20016         * gst/gstelement.c: (gst_element_get_state_func),
20017         (gst_element_abort_state), (gst_element_commit_state),
20018         (gst_element_lost_state):
20019         * gst/gstevent.h:
20020         * gst/gstquery.c: (gst_query_set_position),
20021         (gst_query_parse_position), (gst_query_set_duration),
20022         (gst_query_parse_duration), (gst_query_new_convert):
20023         * gst/gstutils.c:
20024         Yay! 1% more docs coverage.
20025
20026 2005-10-20  Wim Taymans  <wim@fluendo.com>
20027
20028         * gst/gstpad.h:
20029         * gst/gstquery.c: (gst_query_set_position),
20030         (gst_query_parse_position), (gst_query_set_duration),
20031         (gst_query_parse_duration), (gst_query_new_convert):
20032         * gst/gstquery.h:
20033         * gst/gstutils.c: (gst_element_query_convert):
20034         * gst/gstutils.h:
20035         Docs and consistency fixes.
20036
20037 2005-10-20  Wim Taymans  <wim@fluendo.com>
20038
20039         * gst/gsttask.c:
20040         * gst/gsttask.h:
20041         More docs.
20042
20043 2005-10-20  Wim Taymans  <wim@fluendo.com>
20044
20045         * gst/gstbin.c: (message_check), (bin_replace_message),
20046         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20047         (update_degree), (gst_bin_sort_iterator_next),
20048         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20049         Reworked the message handling a bit, cache the messages instead of
20050         only the senders. alows us to do more in the future.
20051
20052 2005-10-20  Wim Taymans  <wim@fluendo.com>
20053
20054         * docs/design/part-TODO.txt:
20055         Update TODO
20056
20057         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20058         (gst_base_sink_query):
20059         Don't use clock time to report position when in EOS.
20060
20061 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20062
20063         * tools/gst-inspect.c: (print_interfaces),
20064         (print_element_properties_info), (print_element_info):
20065           Fix interface output with gst-inspect -a; don't print
20066           newlines after double/float properties.
20067
20068 2005-10-20  Wim Taymans  <wim@fluendo.com>
20069
20070         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20071         (gst_base_sink_query):
20072         Speed up current position calculation.
20073
20074         * gst/base/gstbasesrc.c: (gst_base_src_query),
20075         (gst_base_src_default_newsegment):
20076         Correctly set stream position in newsegment.
20077
20078         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20079         (update_degree), (gst_bin_sort_iterator_next),
20080         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20081         * gst/gstmessage.c: (gst_message_new_custom):
20082         Clean up debugging info
20083
20084         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20085         (gst_queue_loop), (gst_queue_handle_src_query):
20086         Pause task faster.
20087
20088 2005-10-19  Wim Taymans  <wim@fluendo.com>
20089
20090         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20091         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20092         Fix query handling again.
20093
20094 2005-10-19  Wim Taymans  <wim@fluendo.com>
20095
20096         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20097         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20098         * gst/base/gstbasesrc.c: (gst_base_src_query):
20099         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20100         * gst/elements/gsttypefindelement.c:
20101         (gst_type_find_handle_src_query), (find_element_get_length),
20102         (gst_type_find_element_activate):
20103         API change fix.
20104
20105         * gst/gstquery.c: (gst_query_new_position),
20106         (gst_query_set_position), (gst_query_parse_position),
20107         (gst_query_new_duration), (gst_query_set_duration),
20108         (gst_query_parse_duration), (gst_query_set_segment),
20109         (gst_query_parse_segment):
20110         * gst/gstquery.h:
20111         Bundling query position/duration is not a good idea since duration
20112         does not change much and we don't want to recalculate it for every
20113         position query, so they are separated again..
20114         Base value in segment query is not needed.
20115
20116         * gst/gstqueue.c: (gst_queue_handle_src_query):
20117         * gst/gstutils.c: (gst_element_query_position),
20118         (gst_element_query_duration), (gst_pad_query_position),
20119         (gst_pad_query_duration):
20120         * gst/gstutils.h:
20121         Updates for query API change.
20122         Added some docs here and there.
20123
20124 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20125
20126         * check/gst/gstbin.c: (GST_START_TEST):
20127         * check/gst/gstghostpad.c: (GST_START_TEST):
20128         * check/pipelines/cleanup.c: (GST_START_TEST):
20129           wait on thread to die so we can check refcount correctly
20130
20131 2005-10-18  Wim Taymans  <wim@fluendo.com>
20132
20133         * check/pipelines/stress.c: (GST_START_TEST):
20134         Make check a little more time consuming.
20135
20136 2005-10-18  Wim Taymans  <wim@fluendo.com>
20137
20138         * check/Makefile.am:
20139         * check/pipelines/stress.c: (GST_START_TEST),
20140         (simple_launch_lines_suite), (main):
20141         Small state change torture test.
20142
20143         * docs/design/part-states.txt:
20144         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20145         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20146         (gst_base_sink_change_state):
20147         Never take state lock from streaming thread, clean up ugly
20148         hacks. Unfortunatly core does not yet support nice ways to
20149         async commit state.
20150         
20151         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20152         (bin_bus_handler):
20153         Start state recalc if a STATE_DIRTY message is posted, but only
20154         on the toplevel bin.
20155
20156         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20157         (gst_element_get_state_func), (gst_element_abort_state),
20158         (gst_element_commit_state), (gst_element_lost_state),
20159         (gst_element_set_state_func), (gst_element_change_state):
20160         * gst/gstelement.h:
20161         State variables are now protected with the LOCK, the state
20162         lock is only used to serialize _set_state().
20163
20164 2005-10-18  Wim Taymans  <wim@fluendo.com>
20165
20166         * check/gst/gstbin.c: (GST_START_TEST):
20167         * check/gst/gstmessage.c: (GST_START_TEST):
20168         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20169         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20170         (bin_bus_handler):
20171         * gst/gstelement.c: (gst_element_abort_state),
20172         (gst_element_commit_state), (gst_element_lost_state):
20173         * gst/gstmessage.c: (gst_message_new_state_changed),
20174         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20175         (gst_message_new_segment_done), (gst_message_new_duration),
20176         (gst_message_parse_state_changed),
20177         (gst_message_parse_segment_start),
20178         (gst_message_parse_segment_done), (gst_message_parse_duration):
20179         * gst/gstmessage.h:
20180         * tools/gst-launch.c: (event_loop):
20181         Seriously, this is better than a previous commit as we only need
20182         to notify the fact that an element changed state in a streaming
20183         thread, marking the state of the parents dirty, hence the 
20184         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20185         message.
20186
20187 2005-10-18  Wim Taymans  <wim@fluendo.com>
20188
20189         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20190         (gst_bin_recalc_func):
20191         * gst/gstelement.c: (gst_element_set_clock),
20192         (gst_element_abort_state), (gst_element_lost_state):
20193         Cleanups, prepare for state change fixes.
20194
20195 2005-10-18  Wim Taymans  <wim@fluendo.com>
20196
20197         * gst/gstbin.h:
20198         * gst/gstelement.c: (gst_element_class_init),
20199         (gst_element_set_state), (gst_element_set_state_func):
20200         * gst/gstelement.h:
20201         Pending ABI changes.
20202         GThreadPool in GstBinClass to monitor async state changes.
20203         state_cookie in GstElement to detect concurrent gst/set state.
20204         set_state is now virtual too in case a very complicated element
20205         has to be constructed.
20206
20207 2005-10-18  Wim Taymans  <wim@fluendo.com>
20208
20209         * check/gst/gstbin.c: (GST_START_TEST):
20210         * check/gst/gstmessage.c: (GST_START_TEST):
20211         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20212         * gst/gstbin.c: (bin_bus_handler):
20213         * gst/gstelement.c: (gst_element_commit_state),
20214         (gst_element_lost_state):
20215         * gst/gstmessage.c: (gst_message_new_state_changed),
20216         (gst_message_new_segment_start), (gst_message_new_segment_done),
20217         (gst_message_new_duration), (gst_message_parse_state_changed),
20218         (gst_message_parse_segment_start),
20219         (gst_message_parse_segment_done), (gst_message_parse_duration):
20220         * gst/gstmessage.h:
20221         * tools/gst-launch.c: (event_loop):
20222         Make messages future proof.
20223         state-change gets a flag if it was a message comming from the
20224         streaming thread.
20225         segment-start/stop can also be specified in other formats.
20226         A message to notify an app that a pipeline changed playback 
20227         duration.
20228         Also fix a GstMessage leak in -launch
20229
20230 2005-10-18  Andy Wingo  <wingo@pobox.com>
20231
20232         * gst/gstelement.c (gst_element_dispose): More helpful message.
20233
20234 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20235
20236         reviewed by: <delete if not using a buddy>
20237
20238         * common/gtk-doc.mak:
20239
20240 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20241
20242         * gst/gstregistry.c: (gst_registry_scan_path_level):
20243           unref a plug-in we get that was already initialized
20244
20245 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20246
20247         * docs/gst/gstreamer-sections.txt:
20248         * docs/libs/gstreamer-libs-sections.txt:
20249         * gst/gstelement.h:
20250           add new api entries
20251           hide internal macro
20252
20253 2005-10-17  Andy Wingo  <wingo@pobox.com>
20254
20255         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20256         cleanup.
20257
20258         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20259
20260         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20261
20262         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20263         (gst_element_get_state_func): Better debug message.
20264         (gst_element_commit_state): s/INFO/DEBUG/.
20265         (gst_element_lost_state, gst_element_change_state): 
20266
20267         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20268         (gst_message_new_custom): s/INFO/LOG/.
20269
20270 2005-10-17  Michael Smith <msmith@fluendo.com>
20271
20272         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20273           Check if end time is valid using end time, not start time.
20274
20275 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20276
20277         * check/gst-libs/controller.c: (GST_START_TEST),
20278         (gst_controller_suite):
20279         * libs/gst/controller/gstcontroller.c:
20280         (gst_controlled_property_set_interpolation_mode):
20281         * libs/gst/controller/gstcontroller.h:
20282         * libs/gst/controller/gstinterpolation.c:
20283         * testsuite/controller/.cvsignore:
20284         * testsuite/controller/Makefile.am:
20285         * testsuite/controller/interpolator.c:
20286           merge controller testsuites
20287           fix broken tests
20288           remove mem-chunk from docs
20289
20290 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20291
20292         * gst/gstmemchunk.c:
20293         * gst/gstmemchunk.h:
20294         * gst/gsttrashstack.c:
20295         * gst/gsttrashstack.h:
20296           out.  get out.  you're fired.  to the Attic !
20297
20298 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20299
20300         * gst/gstcaps.c: (gst_caps_intersect):
20301           fix signedness issues in a (hopefully) correct way
20302         * gst/gstelement.c: (gst_element_pads_activate):
20303           some debugging
20304         * gst/gstobject.c: (gst_object_set_parent):
20305           some debugging
20306
20307 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20308
20309         * gst/gstvalue.h: Fix prototypes.
20310
20311 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20312
20313         * docs/gst/gstreamer-sections.txt:
20314         * gst/gst.c: (gst_version_string):
20315         * gst/gst.h:
20316         * gst/gstversion.h.in:
20317         * win32/common/libgstreamer.def:
20318           add gst_version_string ()
20319
20320 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20321
20322         * configure.ac:
20323           clean up further
20324         * gst/gst.c: (init_post):
20325         * win32/common/config.h.in:
20326           it's PLUGINDIR now
20327         * gst/gstcaps.c: (gst_caps_intersect):
20328           use gint64, the range could be bigger than a guint
20329
20330 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20331
20332         * gst/gstclock.h:
20333           document potential problem in 2038
20334
20335 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20336
20337         * gst/gstcaps.c: (gst_caps_intersect):
20338           Fix guint j diving under 0
20339
20340 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20341
20342         * configure.ac:
20343         * win32/common/config.h:
20344         * win32/common/config.h.in:
20345           check for process.h, declares getpid() on Windows
20346         * gst/gstinfo.c:
20347           include process.h if we have it
20348         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20349         * gst/gstmemchunk.h:
20350           fix signedness issues
20351         * win32/common/libgstreamer.def:
20352           fix get_type's
20353
20354 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20355
20356         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20357         fix. Because of unsigned ints, caps intersection was going nuts and
20358         trying to access structures with G_MAXUINT index. That fixes
20359         videotestsrc ! ffmpegcolorspace ! fakesink
20360         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20361         consistency.
20362
20363 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20364
20365         * configure.ac:
20366           use the gettext macro
20367         * gst/elements/gstelements.c:
20368         * gst/gst.c:
20369         * gst/indexers/gstindexers.c:
20370           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20371         * win32/common/config.h:
20372           updated config.h
20373         * win32/common/config.h.in:
20374           add the template to generate config.h
20375         * win32/common/gstenumtypes.c:
20376         * win32/common/gstversion.h:
20377           updated copies
20378
20379 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20380
20381         * gst/gst.c: (gst_version):
20382         * gst/gstversion.h.in:
20383           add the nano
20384
20385 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20386
20387         * gst/gstevent.h:
20388           Oops, add missing closing bracket.
20389
20390 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20391
20392         * configure.ac:
20393           use common m4's for argument checking
20394
20395 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20396
20397         * docs/gst/gstreamer-sections.txt:
20398         * gst/gstevent.h:
20399           Add GST_EVENT_TYPE_NAME() macro.
20400
20401 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20402
20403         * gst/gstinfo.c:
20404         * gst/gstpluginfeature.c:
20405         * gst/gsttask.c:
20406           privatize more symbols
20407
20408 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20409
20410         * configure.ac:
20411           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20412           everything that uses GStreamer API should have the includes
20413
20414 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20415
20416         * docs/gst/gstreamer-sections.txt:
20417         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20418         * gst/gstvalue.h:
20419           give each value a _get_type, removes the DATA exports
20420
20421 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20422
20423         * gst/gst.c:
20424         * gst/gst.h:
20425           remove _gst_registry_auto_load, not used anymore
20426         * gst/gstbin.c: (gst_bin_get_type):
20427         * gst/gstbin.h:
20428         * gst/gstelement.c: (gst_element_get_type):
20429         * gst/gstelement.h:
20430         * gst/gstobject.c: (gst_object_get_type):
20431         * gst/gstobject.h:
20432         * gst/gstpad.c: (gst_pad_get_type):
20433         * gst/gstpad.h:
20434           make _get_type functions similar, fixes data export from library
20435
20436 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20437
20438         * configure.ac:
20439           correctly make conditionals
20440         * gst/elements/Makefile.am:
20441         * gst/elements/gstelements.c:
20442           fix typo causing fdsrc not to build
20443
20444 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20445
20446         * testsuite/Makefile.am:
20447         * testsuite/bytestream/.cvsignore:
20448         * testsuite/bytestream/Makefile.am:
20449         * testsuite/bytestream/filepadsink.c:
20450         * testsuite/bytestream/gstbstest.c:
20451         * testsuite/bytestream/test1.c:
20452         * testsuite/bytestream/testfile1:
20453         * testsuite/caps/normalisation.c:
20454         * testsuite/caps/random.c: (main):
20455         * testsuite/cleanup/.cvsignore:
20456         * testsuite/cleanup/Makefile.am:
20457         * testsuite/cleanup/cleanup1.c:
20458         * testsuite/cleanup/cleanup2.c:
20459         * testsuite/cleanup/cleanup3.c:
20460         * testsuite/cleanup/cleanup4.c:
20461         * testsuite/cleanup/cleanup5.c:
20462         * testsuite/controller/interpolator.c:
20463         * testsuite/debug/printf_extension.c: (main):
20464         * testsuite/elements/tee.c:
20465         * testsuite/negotiation/.cvsignore:
20466         * testsuite/negotiation/Makefile.am:
20467         * testsuite/negotiation/pad_link.c:
20468         * testsuite/pad/Makefile.am:
20469         * testsuite/pad/chainnopull.c:
20470         * testsuite/pad/getnopush.c:
20471         * testsuite/pad/link.c:
20472         * testsuite/refcounting/sched.c: (create_pipeline):
20473         * testsuite/registry/Makefile.am:
20474         * testsuite/registry/gst-print-formats.c:
20475         * testsuite/schedulers/.cvsignore:
20476         * testsuite/schedulers/142183-2.c:
20477         * testsuite/schedulers/142183.c:
20478         * testsuite/schedulers/143777-2.c:
20479         * testsuite/schedulers/143777.c:
20480         * testsuite/schedulers/147713.c:
20481         * testsuite/schedulers/147819.c:
20482         * testsuite/schedulers/147894-2.c:
20483         * testsuite/schedulers/147894.c:
20484         * testsuite/schedulers/Makefile.am:
20485         * testsuite/schedulers/group_link.c:
20486         * testsuite/schedulers/queue_link.c:
20487         * testsuite/schedulers/relink.c:
20488         * testsuite/schedulers/unlink.c:
20489         * testsuite/schedulers/unref.c:
20490         * testsuite/schedulers/useless_iteration.c:
20491         * testsuite/states/bin.c:
20492           clean out/remove some stuff from the testsuite directories
20493
20494 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20495
20496         * configure.ac:
20497           check for some headers
20498         * gst/elements/Makefile.am:
20499         * gst/elements/gstelements.c:
20500           don't compile fdsrc without sys/socket.h
20501         * gst/indexers/Makefile.am:
20502         * gst/indexers/gstindexers.c: (plugin_init):
20503           don't compile fileindex without mmap
20504
20505 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20506
20507         * configure.ac:
20508           reorganize
20509           clean up
20510           document more
20511           remove cruft
20512         * check/Makefile.am:
20513         * docs/gst/Makefile.am:
20514         * examples/helloworld/Makefile.am:
20515         * gst/Makefile.am:
20516         * gst/base/Makefile.am:
20517         * gst/check/Makefile.am:
20518         * gst/elements/Makefile.am:
20519         * gst/indexers/Makefile.am:
20520         * gst/parse/Makefile.am:
20521         * libs/gst/controller/Makefile.am:
20522         * libs/gst/dataprotocol/Makefile.am:
20523         * examples/helloworld/helloworld.c: (event_loop):
20524           compile fixes, though it's not being compiled currently
20525
20526 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20527
20528         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20529           Add some simple tests for the new taglist date API.
20530
20531 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20532
20533         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20534         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20535           Beautify 'last-message' output: print 'none' for buffer timestamps
20536           and durations if none is set; improve alignment with next messages.
20537
20538 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20539
20540         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20541         * gst/gstpluginfeature.h:
20542         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20543         * gst/gstregistry.h:
20544         * docs/gst/gstreamer-sections.txt:
20545           Add new API to check plugin feature version requirements.
20546
20547         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20548           Some basic tests for the above.         
20549
20550 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20551
20552         * gst/gststructure.c: (gst_structure_to_string):
20553           guard against NULL printf - happens when for example
20554           a message structure with GstClock gets serialized
20555
20556 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20557
20558         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20559           Fix presumable copy'n'pasto.
20560
20561 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20562
20563         * gst/elements/gstfakesrc.h:
20564         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20565         * gst/elements/gsttypefindelement.c:
20566           fix some signedness
20567         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20568           I wonder if this could actually write +2GB files before
20569
20570 2005-10-13  Andy Wingo  <wingo@pobox.com>
20571
20572         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20573         Fix Timmeke Waymans bug.
20574         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20575         string of the proper length to gst_caps_from_string. There's a
20576         potential for, before this fix, that this could cause someone
20577         connecting over the network to cause a segfault if the payload is
20578         not NUL-terminated.
20579
20580 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20581
20582         * docs/design/draft-push-pull.txt:
20583         * docs/design/part-overview.txt:
20584         * docs/random/TODO-pre-0.9:
20585         * docs/random/old/ChangeLog.gstreamer:
20586         * gst/base/gstpushsrc.c:
20587         * gst/gstclock.c:
20588           fixed typos
20589
20590 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20591
20592         * gst/glib-compat.c: (gst_flags_get_first_value):
20593         * gst/glib-compat.h:
20594         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20595         (gst_value_compare_double), (gst_value_serialize_flags):
20596           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20597           infinite loop
20598
20599 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20600
20601         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20602         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20603           fix up debugging
20604         * tools/gst-launch.c: (event_loop):
20605           print out clock nicely
20606
20607 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20608
20609         * docs/gst/gstreamer-sections.txt:
20610         * gst/gsttaglist.h:
20611         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20612         (gst_tag_list_get_date_index):
20613           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20614           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20615
20616 2005-10-13  Julien MOUTTE  <julien@moutte.net>
20617
20618         * gst/base/gstcollectpads.c: (gst_collectpads_event),
20619         (gst_collectpads_chain):
20620         * gst/base/gstcollectpads.h: Handle newsegment and store informations
20621         in CollectData.
20622
20623 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20624
20625         * docs/gst/gstreamer-sections.txt:
20626         * gst/gst.c:
20627         * gst/gsterror.h:
20628         * tools/gst-inspect.c: (main):
20629         * tools/gst-launch.c: (main):
20630         * tools/gst-run.c: (main):
20631         * tools/gst-xmlinspect.c: (main):
20632           fix GOption context leaks
20633           doc fixes
20634
20635 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20636
20637         * gst/gstbus.c:
20638           use HAVE_UNISTD_H
20639         * win32/common/config.h:
20640           update config
20641         * win32/vs6/grammar.dsp:
20642         * win32/vs6/libgstelements.dsp:
20643         * win32/vs6/libgstreamer.dsp:
20644           update vs6 files
20645
20646 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20647
20648         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20649         * gst/base/gstbasesrc.c: (gst_base_src_query):
20650           fix more guint64<->gdouble conversions
20651
20652 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20653
20654         * Makefile.am:
20655           add win32-update target
20656         * win32/common/gstconfig.h:
20657         * win32/common/gstenumtypes.c:
20658         * win32/common/gstenumtypes.h:
20659         * win32/common/gstversion.h:
20660           add files that visual studio can't generate
20661
20662 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20663
20664         * Makefile.am:
20665           add a win32-update target
20666         * configure.ac:
20667
20668 2005-10-12  Wim Taymans  <wim@fluendo.com>
20669
20670         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20671         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20672         * gst/gstelement.c: (gst_element_commit_state),
20673         (gst_element_set_state):
20674         Protect flags with proper lock.
20675         unref provided cached clock in dispose.
20676
20677 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20678
20679         * gst/gst.c:
20680         * gst/gstminiobject.h:
20681         * gst/gstpad.h:
20682         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20683           removed unused flags from miniobject
20684           doc fixes
20685
20686 2005-10-12  Wim Taymans  <wim@fluendo.com>
20687
20688         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20689         (gst_file_sink_event), (gst_file_sink_render):
20690         Flush before seeking.
20691
20692 2005-10-12  Andy Wingo  <wingo@pobox.com>
20693
20694         * gst/gst.c (gst_init_check): Ignore unknown options, as has
20695         always been the case.
20696
20697 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20698
20699         * check/gst/gstbin.c: (GST_START_TEST):
20700         * docs/gst/gstreamer-sections.txt:
20701         * gst/base/gstbasesink.c: (gst_base_sink_init):
20702         * gst/base/gstbasesrc.c: (gst_base_src_init),
20703         (gst_base_src_get_range), (gst_base_src_check_get_range),
20704         (gst_base_src_start), (gst_base_src_stop):
20705         * gst/base/gstbasesrc.h:
20706         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20707         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20708         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20709         (bin_bus_handler):
20710         * gst/gstbin.h:
20711         * gst/gstbuffer.h:
20712         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20713         * gst/gstbus.h:
20714         * gst/gstelement.c: (gst_element_is_locked_state),
20715         (gst_element_set_locked_state), (gst_element_commit_state),
20716         (gst_element_set_state):
20717         * gst/gstelement.h:
20718         * gst/gstindex.c: (gst_index_init):
20719         * gst/gstindex.h:
20720         * gst/gstminiobject.h:
20721         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20722         (gst_object_set_parent):
20723         * gst/gstobject.h:
20724         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20725         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20726         * gst/gstpad.h:
20727         * gst/gstpadtemplate.h:
20728         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20729         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20730         * gst/gstpipeline.h:
20731         * gst/indexers/gstfileindex.c: (gst_file_index_load),
20732         (gst_file_index_commit):
20733         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20734         * testsuite/pad/link.c: (gst_test_src_init),
20735         (gst_test_filter_init), (gst_test_sink_init):
20736         * testsuite/states/locked.c: (main):
20737           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20738           moved bitshift from macro to enum definition
20739
20740 2005-10-12  Wim Taymans  <wim@fluendo.com>
20741
20742         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20743         * gst/elements/gstfilesink.c: (gst_file_sink_event),
20744         (gst_file_sink_render):
20745         Some more debugging info.
20746
20747 2005-10-12  Wim Taymans  <wim@fluendo.com>
20748
20749         * docs/design/part-states.txt:
20750         * tools/gst-launch.c: (main):
20751         Some doc updates.
20752         Revert non-intentional change.
20753
20754 2005-10-12  Wim Taymans  <wim@fluendo.com>
20755
20756         * check/gst/gstbin.c: (GST_START_TEST):
20757         * check/gst/gstelement.c: (GST_START_TEST):
20758         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20759         * check/gst/gstghostpad.c: (GST_START_TEST):
20760         * check/gst/gstpipeline.c: (GST_START_TEST):
20761         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20762         * check/states/sinks.c: (GST_START_TEST):
20763         * gst/elements/gsttypefindelement.c: (stop_typefinding):
20764         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20765         (gst_bin_remove_func), (gst_bin_get_state_func),
20766         (gst_bin_recalc_state), (gst_bin_change_state_func),
20767         (bin_bus_handler):
20768         * gst/gstelement.c: (gst_element_get_state_func),
20769         (gst_element_get_state), (gst_element_abort_state),
20770         (gst_element_commit_state), (gst_element_set_state),
20771         (gst_element_change_state), (gst_element_change_state_func):
20772         * gst/gstelement.h:
20773         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20774         (gst_pipeline_provide_clock_func):
20775         * gst/gstutils.c: (gst_element_link_pads_filtered):
20776         * tools/gst-launch.c: (main):
20777         * tools/gst-typefind.c: (main):
20778         Use GstClockTime in _get_state() instead of GTimeVal.
20779         Remove old code in gstutils.c
20780
20781 2005-10-12  Andy Wingo  <wingo@pobox.com>
20782
20783         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20784         removed.
20785
20786         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20787         there is no task. Shouldn't affect any code, as nothing in our
20788         plugins checks this return value.
20789         (gst_pad_stop_task): Also take the stream lock if the pad has no
20790         task. Docs updated.
20791
20792 2005-10-12  Wim Taymans  <wim@fluendo.com>
20793
20794         * gst/gstpad.c: (pre_activate), (post_activate),
20795         (gst_pad_activate_pull), (gst_pad_activate_push):
20796         Cleanup activation code. Reset old state if
20797         activation failed.
20798
20799 2005-10-12  Wim Taymans  <wim@fluendo.com>
20800
20801         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20802         (gst_base_sink_change_state):
20803         No need to prerol after receiving EOS.
20804
20805         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20806         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20807         * gst/elements/gstidentity.c: (gst_identity_event):
20808         Print events more verbosely.
20809
20810 2005-10-12  Wim Taymans  <wim@fluendo.com>
20811
20812         * check/Makefile.am:
20813         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20814         * check/states/sinks2.c:
20815         Moved sinks2 testcode in sinks check.
20816
20817         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20818         (gst_bin_remove_func), (gst_bin_recalc_state),
20819         (gst_bin_change_state_func), (bin_bus_handler):
20820         Fix potential race condition when _get_state() iterated over an
20821         ASYNC element right before it posted a state completion.
20822
20823         * gst/gstclock.h:
20824         Do proper cast here.
20825
20826         * gst/gstevent.c: (gst_event_new_newsegment),
20827         (gst_event_parse_newsegment):
20828         A playback rate of 0.0 is not allowed.
20829
20830 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20831
20832         * win32/common/config.h:
20833         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20834         (_trewinddir), (_ttelldir), (_tseekdir):
20835         * win32/common/dirent.h:
20836         * win32/common/gtchar.h:
20837         * win32/common/libgstbase.def:
20838         * win32/common/libgstreamer.def:
20839         * win32/vs6/grammar.dsp:
20840         * win32/vs6/gst_inspect.dsp:
20841         * win32/vs6/gst_launch.dsp:
20842         * win32/vs6/gstreamer.dsw:
20843         * win32/vs6/libgstbase.dsp:
20844         * win32/vs6/libgstelements.dsp:
20845         * win32/vs6/libgstreamer.dsp:
20846           Visual Studio 6 project files, and a new common directory.
20847           Phear.
20848
20849 2005-10-11  Wim Taymans  <wim@fluendo.com>
20850
20851         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20852         (gst_base_sink_do_sync), (gst_base_sink_query),
20853         (gst_base_sink_change_state):
20854         * gst/base/gstbasesink.h:
20855         Correctly parse newsegment info.
20856
20857 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20858
20859         * gst/gst.c: (init_post):
20860           split plugin paths correctly
20861
20862 2005-10-11  Wim Taymans  <wim@fluendo.com>
20863
20864         * check/gst/gstevent.c: (GST_START_TEST):
20865         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20866         (gst_base_sink_change_state):
20867         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20868         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20869         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20870         * gst/gstevent.c: (gst_event_new_newsegment),
20871         (gst_event_parse_newsegment):
20872         * gst/gstevent.h:
20873         Added extra flag to newsegment for future API freeze.
20874         Updated check and base elements.
20875
20876 2005-10-11  Julien MOUTTE  <julien@moutte.net>
20877
20878         * gst/base/gstcollectpads.c: (gst_collectpads_init),
20879         (gst_collectpads_add_pad), (gst_collectpads_pop),
20880         (gst_collectpads_event), (gst_collectpads_chain):
20881         * gst/base/gstcollectpads.h: Handle EOS correctly.
20882
20883 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20884
20885         * tools/gst-launch.c: (main):
20886           more null protecting
20887
20888 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20889
20890         * gst/gst-i18n-lib.h:
20891           check for ENABLE_NLS, not GETTEXT_PACKAGE
20892         * gst/gstregistry.c: (gst_registry_add_plugin),
20893         (gst_registry_scan_path_level),
20894         (_gst_registry_remove_cache_plugins):
20895           protect possibly NULL strings
20896         * gst/parse/types.h:
20897           config.h already included before
20898         * tools/gst-inspect.c: (main):
20899           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
20900           check for ENABLE_NLS, not GETTEXT_PACKAGE
20901         * tools/gst-launch.c: (main):
20902           check for ENABLE_NLS, not GETTEXT_PACKAGE
20903
20904 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20905
20906         * configure.ac:
20907           if we don't have glib, fail before testing 2.8
20908         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
20909           fix a leak, should fix plugins-base testsuite
20910
20911 2005-10-11  Andy Wingo  <wingo@pobox.com>
20912
20913         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
20914         take the mode we're going to as an arg. Go head and set the mode
20915         and flushing flags now, so that if the activate function starts a
20916         thread all the flags will be in the right state.
20917         (post_activate): Renamed also. Just handle making sure streaming
20918         finishes for the deactivation case, and setting the deactivated
20919         mode.
20920         (gst_pad_set_active): Complain loudly if deactivation fails.
20921         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
20922         (gst_pad_activate_push): Adapt to pre/post_activate changes,
20923         remove the terrible hack.
20924
20925 2005-10-11  Wim Taymans  <wim@fluendo.com>
20926
20927         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20928         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
20929         (gst_bin_recalc_state), (gst_bin_change_state_func),
20930         (gst_bin_dispose), (bin_bus_handler):
20931         * gst/gstbin.h:
20932         Prepare to make current EOS message queue more generic.
20933         Fix some typos.
20934
20935         * gst/gstevent.c: (gst_event_new_newsegment),
20936         (gst_event_parse_newsegment):
20937         * gst/gstevent.h:
20938         Rename base to stream_time.
20939
20940         * gst/gstmessage.h:
20941         Fix typo in docs.
20942
20943 2005-10-11  Wim Taymans  <wim@fluendo.com>
20944
20945         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20946         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
20947         (gst_bin_change_state_func), (bin_bus_handler):
20948         * gst/gstbin.h:
20949         Work on proper clock selection.
20950
20951 2005-10-11  Edward Hervey  <edward@fluendo.com>
20952
20953         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
20954         * libs/gst/controller/gstcontroller.h:
20955         Added GList* version of _remove_properties() in order to be able to wrap
20956         it in bindings.
20957
20958 2005-10-11  Wim Taymans  <wim@fluendo.com>
20959
20960         * docs/design/part-states.txt:
20961         Some more docs.
20962
20963         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
20964         (gst_bin_change_state_func), (bin_bus_handler):
20965         Doc updates. Don't distribute the same clock over and over again.
20966
20967         * gst/gstclock.c:
20968         * gst/gstclock.h:
20969         Doc updates.
20970
20971         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
20972         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
20973         (gst_pad_send_event):
20974         * gst/gstpad.h:
20975         Make probe emission threadsafe again.
20976         Register quarks and move _get_name() from utils.
20977         Doc updates.
20978
20979         * gst/gstpipeline.c: (gst_pipeline_class_init),
20980         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20981         Only redistribute the clock of it changed.
20982
20983         * gst/gstsystemclock.h:
20984         Doc updates. 
20985
20986         * gst/gstutils.c:
20987         * gst/gstutils.h:
20988         Moved the _flow_get_name() to GstPad.
20989
20990 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20991
20992         * check/gst-libs/gdp.c: (GST_START_TEST):
20993         * check/gst/gstcaps.c: (GST_START_TEST):
20994         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
20995         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
20996         (gst_dp_packet_from_caps):
20997           fix more valgrind warnings before turning up the heat
20998
20999 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21000
21001         * gst/parse/grammar.y:
21002           some cleanup before the hacking
21003
21004 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21005
21006         * gst/base/gstbasesrc.c: (gst_base_src_query):
21007           use conversions
21008         * gst/gstutils.c: (gst_guint64_to_gdouble),
21009         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21010         * gst/gstutils.h:
21011           externalize, basesrc uses it
21012           obviously the implementation needs testing
21013
21014 2005-10-10  Wim Taymans  <wim@fluendo.com>
21015
21016         * tests/sched/Makefile.am:
21017         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21018         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21019
21020 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21021
21022         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21023           apparently converting from guint64 to double is not implemented
21024           on MSVC
21025
21026 2005-10-10  Wim Taymans  <wim@fluendo.com>
21027
21028         * check/Makefile.am:
21029         * check/generic/states.c: (GST_START_TEST):
21030         * check/gst/gstbin.c: (GST_START_TEST):
21031         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21032         * check/states/sinks.c: (GST_START_TEST):
21033         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21034         (main):
21035         Check fixes, use API as stated in design docs, remove hacks.
21036
21037         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21038         (gst_base_sink_change_state):
21039         Catch stopping our task while we're shutting down.
21040
21041         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21042         (gst_bin_remove_func), (gst_bin_get_state_func),
21043         (gst_bin_recalc_state), (gst_bin_change_state_func),
21044         (bin_bus_handler):
21045         * gst/gstbin.h:
21046         * gst/gstelement.c: (gst_element_init),
21047         (gst_element_get_state_func), (gst_element_abort_state),
21048         (gst_element_commit_state), (gst_element_lost_state),
21049         (gst_element_set_state), (gst_element_change_state),
21050         (gst_element_change_state_func):
21051         * gst/gstelement.h:
21052         New state change algorithm (see #318116)
21053
21054         * gst/gstpipeline.c: (gst_pipeline_class_init),
21055         (gst_pipeline_init), (gst_pipeline_set_property),
21056         (gst_pipeline_get_property), (do_pipeline_seek),
21057         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21058         * gst/gstpipeline.h:
21059         Remove crude state change hacks.
21060
21061         * gst/gstutils.h:
21062         Remove crude hacks.
21063
21064         * tools/gst-launch.c: (main):
21065         Fixes for state change. Needs some more work to fully use the
21066         new stuff.
21067
21068 2005-10-10  Andy Wingo  <wingo@pobox.com>
21069
21070         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21071
21072         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21073         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21074         issue.
21075
21076 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21077
21078         * gst/gstiterator.c: (gst_iterator_new):
21079           Fix my previous commit: GTypes passed to gst_iterator_new()
21080           can be fundamental types.
21081
21082 2005-10-10  Wim Taymans  <wim@fluendo.com>
21083
21084         * gst/gstelement.c: (gst_element_iterate_pad_list),
21085         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21086         (gst_element_iterate_sink_pads):
21087         Use src/sink pads lists for the respective iterators instead
21088         of filtering.
21089
21090 2005-10-10  Andy Wingo  <wingo@pobox.com>
21091
21092         Merged in popt removal + GOption addition patch from Ronald, bug
21093         #169772.
21094
21095         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21096         GstElement macros around, remove popt-related symbols, add goption
21097         stuff.
21098
21099         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21100         
21101         * docs/gst/Makefile.am:
21102         * docs/libs/Makefile.am: No POPT_CFLAGS.
21103         
21104         * examples/manual/Makefile.am:
21105         * docs/manual/basics-init.xml: Doc updates with an example.
21106         
21107         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21108         (gst_init), (parse_one_option), (parse_goption_arg):
21109         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21110         bit of hand merging and debugging to get the GOption stuff working
21111         tho.
21112         
21113         * tests/Makefile.am:
21114         * tools/Makefile.am:
21115         * tools/gst-inspect.c: (main):
21116         * tools/gst-launch.c: (main):
21117         * tools/gst-run.c: (main):
21118         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21119
21120 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21121
21122         * gst/gstiterator.c: (gst_iterator_new):
21123           Add assertions to make sure passed GType is likely to really
21124           be a GType (as the compiler won't catch it if the size and
21125           GType arguments get mixed up, see #318447).
21126
21127 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21128
21129         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21130
21131         * gst/gstbin.c: (gst_bin_iterate_sorted):
21132           Pass GType and size arguments to gst_iterator_new() in the right
21133           order (maybe we should make _new() take the GType as first argument
21134           just like _new_list()?) (#318447).
21135           
21136
21137 2005-10-10  Wim Taymans  <wim@fluendo.com>
21138
21139         * gst/gstelement.c: (gst_element_finalize):
21140         And free the GStaticRecMutex too
21141
21142 2005-10-10  Andy Wingo  <wingo@pobox.com>
21143
21144         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21145         Allocate and free the mutex properly.
21146
21147         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21148         New macros.
21149         (GstElement): The state_lock is now recursive. Rebuild your
21150         plugins, suckers. Old macros adapted.
21151
21152         * docs/gst/gstreamer-sections.txt: Doc updates.
21153
21154         * gst/gstutils.h:
21155         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21156         (g_static_rec_cond_wait): Ported from state changes patch, while
21157         we wait on bug #317802 to be solved in a well-distributed GLib.
21158
21159         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21160         gst_element_change_state, variable name changes.
21161         (gst_element_change_state): Split out of gst_element_set_state in
21162         preparation for the state change merge. Doesn't pay attention to
21163         the 'transition' argument.
21164         (gst_element_set_state): Updates, hopefully purely cosmetic.
21165         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21166         state change patch.
21167         (gst_element_get_state_func): Renamed from get_state, cosmetic
21168         changes.
21169
21170 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21171
21172         * gst/elements/gstelements.c:
21173         * win32/GStreamer.vcproj:
21174         * win32/config.h:
21175         * win32/dirent.c: (_tseekdir):
21176         * win32/gst-inspect.vcproj:
21177         * win32/gst-launch.vcproj:
21178         * win32/gstconfig.h:
21179         * win32/gstelements.vcproj:
21180         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21181         * win32/gstreamer.def:
21182         * win32/msvc71.sln:
21183           updates for the win32 build (patch from Sebastien Moutte)
21184
21185 2005-10-10  Andy Wingo  <wingo@pobox.com>
21186
21187         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21188         gst_bin_get_state, cleaned up (but no logic changes).
21189         (bin_element_is_sink): Comment updates.
21190         (sink_iterator_filter): Remove needless cast.
21191         (gst_bin_iterate_sinks): Doc update.
21192         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21193         cleaned up (but no logic changes).
21194
21195         * check/states/sinks.c (test_src_sink): Cleanups from the state
21196         change patch.
21197         (test_livesrc_sink): Sync on the state.
21198
21199         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21200         the state change patch.
21201
21202         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21203         change patch.
21204
21205         * check/gst/gstbin.c: Merge in some style fixes and additional
21206         checks from Wim's state change patch.
21207
21208 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21209
21210         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21211         (gst_type_find_helper):
21212           Check whether we have the requested data already in our list of
21213           cached buffers before pulling a new buffer; also make the buffer
21214           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21215
21216 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21217
21218         * gst/gstcaps.c:
21219         * gst/gstevent.c:
21220           doc updates
21221         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21222           don't use long long, it's not portable.  Replacing with
21223           gint64 seems to work; let's hope no skeletons fall out of the closet.
21224
21225 2005-10-10  Andy Wingo  <wingo@pobox.com>
21226
21227         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21228
21229 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21230
21231         * docs/gst/gstreamer-sections.txt:
21232         * gst/gstevent.c:
21233         * gst/gstevent.h:
21234         * gst/gstinfo.c:
21235         * gst/gstinfo.h:
21236         * gst/gstmessage.c: (gst_message_parse_state_changed):
21237         * gst/gstpad.c:
21238         * gst/gstpad.h:
21239           more docs, fix compilation
21240
21241 2005-10-09  Philippe Khalaf <burger@speedy.org>
21242         * gst/gstmessage.c:
21243           Fixed a few forgotten variables on previous commit
21244
21245 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21246
21247         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21248           Fix evil typefind crasher: getrange() might return a short
21249           buffer at the end of a file, but gst_type_find_peek() must
21250           either return the full data as requested or NULL, but
21251           never a short buffer.
21252
21253 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21254
21255         * gst/gstmessage.c: (gst_message_new_state_changed),
21256         (gst_message_parse_state_changed):
21257         * gst/gstmessage.h:
21258           don't use "new", it's a C++ keyword
21259
21260 2005-10-08  Wim Taymans  <wim@fluendo.com>
21261
21262         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21263         * gst/gstelement.c: (gst_element_post_message):
21264         * gst/gstpipeline.c: (gst_pipeline_change_state):
21265         Small docs and debug updates.
21266
21267 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21268
21269         * docs/gst/gstreamer-sections.txt:
21270         * gst/gstelementfactory.c:
21271         * gst/gstevent.c:
21272         * gst/gsttaglist.c:
21273           more docs
21274
21275 2005-10-08  Wim Taymans  <wim@fluendo.com>
21276
21277         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21278         (gst_bin_dispose), (bin_bus_handler):
21279         Fix typos, add comments.
21280         Clear EOS list when going to PAUSED from any direction and do it
21281         in a threadsafe way.
21282         Get base time in a threadsafe way too.
21283         Fix confusing debug in the change_state function.
21284         Various other small cleanups.
21285         
21286         * gst/gstelement.c: (gst_element_post_message):
21287         Fix very verbose bus posting code.
21288
21289         * gst/gstpipeline.c: (gst_pipeline_class_init),
21290         (gst_pipeline_set_property), (gst_pipeline_get_property),
21291         (gst_pipeline_change_state):
21292         Small ARG_ -> PROP_ cleanup
21293
21294 2005-10-08  Wim Taymans  <wim@fluendo.com>
21295
21296         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21297         Do a less CPU demanding EOS check because we can.
21298
21299 2005-10-08  Wim Taymans  <wim@fluendo.com>
21300
21301         * libs/gst/dataprotocol/dataprotocol.c:
21302         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21303         (gst_dp_packet_from_event):
21304         * libs/gst/dataprotocol/dataprotocol.h:
21305         * libs/gst/dataprotocol/dp-private.h:
21306         It's about time we bump the version number.
21307         Since event types don't fit in the guint8 anymore describing
21308         the payload type, make payload type 16 bits wide.
21309
21310 2005-10-08  Wim Taymans  <wim@fluendo.com>
21311
21312         * docs/design/part-TODO.txt:
21313         * docs/design/part-clocks.txt:
21314         * docs/design/part-events.txt:
21315         * docs/design/part-gstbin.txt:
21316         * docs/design/part-gstelement.txt:
21317         * docs/design/part-gstpipeline.txt:
21318         * docs/design/part-live-source.txt:
21319         * docs/design/part-messages.txt:
21320         * docs/design/part-overview.txt:
21321         * docs/design/part-states.txt:
21322         Many doc updates.
21323
21324 2005-10-08  Wim Taymans  <wim@fluendo.com>
21325
21326         * gst/gstevent.c:
21327         * gst/gstevent.h:
21328         Fix event quark registration.
21329         Add some space between events so we can insert them in the
21330         right groups.
21331
21332 2005-10-08  Wim Taymans  <wim@fluendo.com>
21333
21334         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21335         (gst_base_sink_handle_buffer):
21336         Better log message.
21337
21338         * gst/gstbus.h:
21339         * gst/gstelement.h:
21340         More docs.
21341
21342         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21343         (gst_queue_set_property), (gst_queue_get_property):
21344         * gst/gstqueue.h:
21345         Remove old unused properties.
21346
21347 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21348         * docs/gst/gstreamer-sections.txt:
21349         * gst/gstmessage.c:
21350         * gst/gstmessage.h:
21351         * gst/gstminiobject.c:
21352         * gst/gstminiobject.h:
21353         * gst/gstobject.h:
21354         * gst/gstpad.h:
21355         * gst/gstutils.h:
21356           lots of new docs and doc fixes
21357
21358 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21359
21360         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21361         * gst/gstplugin.h:
21362         * gst/gstregistry.c: (gst_registry_lookup_locked),
21363         (gst_registry_scan_path_level):
21364         * gst/gstregistryxml.c: (load_plugin):
21365           Only ever load one plugin for a given plugin basename.
21366           This ensures correct overriding of GST_PLUGIN_PATH over
21367           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21368           system installed plugins.
21369
21370 2005-10-08  Wim Taymans  <wim@fluendo.com>
21371
21372         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21373         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21374         Prepare for doing QOS.
21375
21376 2005-10-08  Wim Taymans  <wim@fluendo.com>
21377
21378         * check/gst/gstbin.c: (GST_START_TEST):
21379         * check/pipelines/cleanup.c: (GST_START_TEST):
21380         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21381         Allow new clock message too.
21382
21383 2005-10-08  Wim Taymans  <wim@fluendo.com>
21384
21385         * gst/gstmessage.c: (gst_message_new_error),
21386         (gst_message_new_warning), (gst_message_new_tag),
21387         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21388         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21389         (gst_message_new_segment_start), (gst_message_new_segment_done),
21390         (gst_message_parse_state_changed),
21391         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21392         (gst_message_parse_new_clock):
21393         * gst/gstmessage.h:
21394         Also carry the clock in question.
21395
21396 2005-10-08  Wim Taymans  <wim@fluendo.com>
21397
21398         * gst/gstmessage.c: (gst_message_new_custom),
21399         (gst_message_new_eos), (gst_message_new_error),
21400         (gst_message_new_warning), (gst_message_new_tag),
21401         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21402         (gst_message_new_new_clock), (gst_message_new_segment_start),
21403         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21404         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21405         * gst/gstmessage.h:
21406         Clean up.
21407         Added clock related messages.
21408
21409         * gst/gstpipeline.c: (gst_pipeline_change_state):
21410         Post message when the clock changed.
21411
21412         * tools/gst-launch.c: (event_loop):
21413         Print new clock.
21414
21415 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21416
21417         * tools/gst-inspect.c: (print_element_properties_info):
21418           Can't pass NULL strings to g_print() on windows.
21419
21420 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21421
21422         * docs/Makefile.am:
21423         * docs/gst/Makefile.am:
21424         * docs/gst/gstreamer-docs.sgml:
21425         * docs/gst/running.xml:
21426         * docs/version.entities.in:
21427           add a chapter on running GStreamer.
21428           document GST_DEBUG and GST_PLUGIN* env vars
21429
21430 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21431
21432         * Makefile.am:
21433           remove include dir
21434         * configure.ac:
21435           remove PLUGINS_BUILDDIR stuff
21436         * gst/gst.c: (init_post):
21437           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21438         * idiottest.mak:
21439           remove, it was condescending and not needed
21440
21441 2005-10-08  Wim Taymans  <wim@fluendo.com>
21442
21443         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21444         (gst_base_sink_handle_object), (gst_base_sink_event),
21445         (gst_base_sink_wait), (gst_base_sink_handle_event),
21446         (gst_base_sink_change_state):
21447         * gst/base/gstbasesink.h:
21448         Repost EOS message while going to PLAYING if still EOS.
21449         Make sure that when receiving a FLUSH_START we don't attempt
21450         to sync on the clock anymore.
21451
21452 2005-10-08  Wim Taymans  <wim@fluendo.com>
21453
21454         * tools/gst-launch.c: (event_loop):
21455         Better message printout.
21456
21457 2005-10-08  Wim Taymans  <wim@fluendo.com>
21458
21459         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21460         (gst_bin_child_proxy_get_children_count):
21461         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21462         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21463         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21464         (gst_child_proxy_set_valist):
21465         * gst/parse/grammar.y:
21466         Make ChildProxy threadsafe and fix mem leaks.
21467
21468 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21469
21470         * gst/gst.c: (init_post):
21471           debug the GST_PLUGIN_ env vars
21472
21473 2005-10-08  Wim Taymans  <wim@fluendo.com>
21474
21475         * check/gst/gstbin.c: (GST_START_TEST):
21476         * check/gst/gstmessage.c: (GST_START_TEST):
21477         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21478         * gst/gstelement.c: (gst_element_commit_state),
21479         (gst_element_lost_state):
21480         * gst/gstmessage.c: (gst_message_new_state_changed),
21481         (gst_message_parse_state_changed):
21482         * gst/gstmessage.h:
21483         * tools/gst-launch.c: (event_loop):
21484         Added extra field to STATE_CHANGE message with the pending
21485         state, which will be different from the new state soon.
21486
21487 2005-10-08  Wim Taymans  <wim@fluendo.com>
21488
21489         * gst/gstbus.c: (gst_bus_pop):
21490         * gst/gstclock.c:
21491         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21492         Small cleanups and doc updates.
21493
21494 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21495
21496         * gst/gst.c: (init_pre):
21497         * gst/gstbin.c: (gst_bin_add_func):
21498           log distributing clocks and base time
21499         * gst/gstregistry.c: (gst_registry_add_plugin),
21500         (gst_registry_scan_path_level), (gst_registry_scan_path):
21501           clean up the debugging output a little
21502         * gst/gstutils.c: (gst_element_state_get_name):
21503           warn about a memleak (I've actually seen this be used, though
21504           it was probably a bug)
21505
21506 2005-10-07  Wim Taymans  <wim@fluendo.com>
21507
21508         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21509         (gst_base_src_init), (gst_base_src_default_newsegment),
21510         (gst_base_src_newsegment), (gst_base_src_do_seek),
21511         (gst_base_src_loop), (gst_base_src_start):
21512         * gst/base/gstbasesrc.h:
21513         Make the newsegment event customizable by subclasses.
21514
21515 2005-10-07  Wim Taymans  <wim@fluendo.com>
21516
21517         * gst/gstevent.c: (gst_event_new_buffersize),
21518         (gst_event_parse_buffersize):
21519         * gst/gstevent.h:
21520         New event for future idea.
21521
21522 2005-10-07  Andy Wingo  <wingo@pobox.com>
21523
21524         * gst/gstelement.c (gst_element_post_message): Doc update.
21525
21526         * docs/gst/gstreamer-sections.txt: Update.
21527
21528         * gst/gstmessage.c (gst_message_new_application): Made into a
21529         function like honest API calls.
21530         (gst_message_new_element): New message type.
21531
21532         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21533
21534         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21535         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21536         times.
21537
21538         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21539         NO_PREROLL from gst_element_change_state to fall through.
21540
21541 2005-10-07  Wim Taymans  <wim@fluendo.com>
21542
21543         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21544         (gst_ghost_pad_do_activate_push):
21545         Activating a ghostpad with no internal pad in push mode
21546         is ok.
21547
21548 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21549
21550         * gst/gstobject.h:
21551           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21552           Fixes compilation on Windows.
21553
21554 2005-10-07  Michael Smith <msmith@fluendo.com>
21555
21556         * tools/gst-inspect.c:
21557           Print out feature and plugin count at the end when printing out
21558           all features.
21559
21560 2005-10-04  Michael Smith <msmith@fluendo.com>
21561
21562         * gst/gsterror.c: (_gst_stream_errors_init):
21563           Add another error string used in a few existing plugins.
21564
21565         * gst/gstplugin.c:
21566         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21567         * tools/gst-inspect.c: (print_element_info):
21568           When a feature disappears from a plugin (and the feature exists in
21569           the cached registry file), things went horribly wrong. This isn't a
21570           complete fix, we should actually be removing the 'missing' features
21571           from the features list when we load the actual plugin. That's not
21572           yet implemented. 
21573
21574 2005-10-04  Johan Dahlin  <johan@gnome.org>
21575
21576         * check/gst/gstiterator.c: (GST_START_TEST):
21577         * gst/gstbin.c: (gst_bin_iterate_elements),
21578         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21579         * gst/gstelement.c: (gst_element_iterate_pads):
21580         * gst/gstformat.c: (gst_format_iterate_definitions):
21581         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21582         (gst_iterator_new_list), (gst_iterator_filter):
21583         * gst/gstiterator.h:
21584         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21585         Add a GType to GstIterator, update callsites and tests.
21586
21587 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21588
21589         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21590           give events a chance to be handled by event probes when the pad
21591           is not linked
21592
21593 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21594
21595         * gst/gstevent.c: (gst_event_type_get_name),
21596         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21597         * gst/gstevent.h:
21598           add string representations for event types
21599
21600 2005-10-06  Wim Taymans  <wim@fluendo.com>
21601
21602         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21603         Don't use NULL pointers.
21604
21605 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21606
21607         * gst/gst_private.h:
21608         * gst/gstbus.c:
21609         * gst/gstelement.c:
21610         * gst/gstinfo.c:
21611         * gst/gstpluginfeature.c:
21612           widen the debug category in output to fit the biggest one we have
21613           add a bus category and use it
21614           play with the colors
21615           fix up some categories
21616
21617 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21618
21619         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21620           add push activation of sink ghost pads.
21621           Andye, please verify
21622
21623 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21624
21625         * gst/gstutils.c: (gst_element_link_pads):
21626           fix a bug in the case where neither element has a pad
21627         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21628           add a test for that case
21629
21630 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21631
21632         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21633           emit have-data before checking for peers.  This allows
21634           for probe handlers to connect elements.  This helps autopluggers.
21635         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21636         (gst_pad_suite):
21637           add six checks, linked/unlinked with no/true/false probe
21638
21639 2005-10-04  Wim Taymans  <wim@fluendo.com>
21640
21641         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21642         (gst_fake_sink_event), (gst_fake_sink_preroll),
21643         (gst_fake_sink_render), (gst_fake_sink_change_state):
21644         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21645         (gst_fake_src_get_property), (gst_fake_src_create),
21646         (gst_fake_src_stop):
21647         * gst/elements/gstidentity.c: (gst_identity_stop):
21648         Protect last_message with lock.
21649
21650 2005-10-04  Edward Hervey  <edward@fluendo.com>
21651
21652         * gst/gstformat.h: 
21653         Added precision in the comments for GST_FORMAT_DEFAULT
21654
21655 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
21656
21657         * tools/gst-launch.c: (main):
21658           Don't try to run erroneous pipelines.
21659
21660 2005-10-04  Julien MOUTTE  <julien@moutte.net>
21661
21662         * gst/gstbus.c: We don't need this header.
21663
21664 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21665
21666         * configure.ac:
21667           back to development
21668
21669 === release 0.9.3 ===
21670
21671 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21672
21673         * README:
21674         * configure.ac:
21675           Releasing 0.9.3, "Unregistered"
21676
21677 2005-10-03  Andy Wingo  <wingo@pobox.com>
21678
21679         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21680         whereby calling a pad's activatepush() function can start a thread
21681         that starts to push or pull before the pad gets the FLUSHING flag
21682         unset. Hack around it by holding the stream lock until the flag is
21683         set. Need to replace this with a proper solution. Together with
21684         the ghost pad fixes, this fixes mp3 playing/tagreading.
21685
21686         * docs/design/part-gstghostpad.txt: Add a note about activation of
21687         proxy pads outside of ghost pads.
21688
21689         * gst/gstghostpad.c: Implement the ghost pad activation design.
21690
21691 2005-10-02  Andy Wingo  <wingo@pobox.com>
21692
21693         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21694         It is volatile, after all.
21695
21696         * docs/design/part-gstghostpad.txt: Flesh out activation with
21697         ghost pads.
21698
21699         * gst/base/gstbasesrc.c (gst_base_src_init): Use
21700         GST_DEBUG_FUNCPTR.
21701
21702 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
21703
21704         * configure.ac:
21705           Fix (unused) AM_CONDITIONAL tests.
21706
21707 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
21708
21709         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21710
21711         * gst/gstutils.c: (gst_pad_query_convert):
21712           Add assertion that makes sure src_val is >=0, just like
21713           gst_query_new_convert() has. (#315895)
21714
21715 2005-09-30  Edward Hervey  <edward@fluendo.com>
21716
21717         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21718         Let's not iterate pads we're not interested in, it avoids getting 
21719         sky-high refcounts on sinkpad.
21720
21721 2005-09-30  Wim Taymans  <wim@fluendo.com>
21722
21723         * gst/gstelement.c: (gst_element_set_state),
21724         (gst_element_change_state):
21725         Small tweak, element in ASYNC remains ASYNC.
21726
21727 2005-09-30  Wim Taymans  <wim@fluendo.com>
21728
21729         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21730         Only error is an error.
21731
21732         * gst/gstbin.c: (gst_bin_change_state):
21733         Better debugging.
21734
21735         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21736         Also call pad_block in pad alloc.
21737
21738         * gst/gstutils.c: (gst_flow_get_name):
21739         Better debugging.
21740
21741 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21742
21743         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21744         (gst_base_src_get_range):
21745           Fix documentation typos. Add some more debug info.
21746
21747 2005-09-29  David Schleef  <ds@schleef.org>
21748
21749         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21750           more end-user friendly.
21751         * tools/gst-inspect.c: (main): Check if command-line argument is
21752           a file and attempt to load that file as a plugin.
21753
21754 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21755
21756         * check/gst/gstbin.c:
21757         * check/states/sinks.c:
21758           fix tests for the new warning
21759         * check/gst/gstpipeline.c:
21760           add a test for pipeline and bus interaction
21761         * gst/gstelement.c:
21762           elements should be NULL if they get disposed; add a warning if not
21763
21764 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21765
21766         * gst/gstobject.c:
21767           for 2.6 refcounting, make debug log more correct by printing
21768           the actual refcounts at the time of swap (Wim)
21769
21770 2005-09-29  Andy Wingo  <wingo@pobox.com>
21771
21772         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21773         removes signal watches previously added via
21774         gst_bus_add_signal_watch.
21775         (gst_bus_add_signal_watch): Don't return the source id, just store
21776         it on the bus if there wasn't an id already.
21777
21778         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21779         add_signal_watch and remove_signal_watch.
21780
21781 2005-09-29  Edward Hervey  <edward@fluendo.com>
21782
21783         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
21784         Better if we actually iterate the list :)
21785
21786 2005-09-29  Wim Taymans  <wim@fluendo.com>
21787
21788         * check/gst/gstbin.c: (GST_START_TEST):
21789         Change for new bus API.
21790
21791         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21792         (send_messages), (GST_START_TEST), (gstbus_suite):
21793         Change for new bus signal API.
21794
21795         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21796         (gst_bus_source_prepare), (gst_bus_source_check),
21797         (gst_bus_create_watch), (gst_bus_add_watch_full),
21798         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21799         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21800         * gst/gstbus.h:
21801         Remove support for multiple GSources operating on different
21802         message types as it is too complex and unneeded when using
21803         signals.
21804         Added support for receiving signals from the bus.
21805
21806 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21807
21808         * docs/libs/tmpl/gstdataprotocol.sgml:
21809         * docs/manual/advanced-dataaccess.xml:
21810         * gst/elements/gstcapsfilter.c:
21811         * gst/gstutils.c:
21812           rename filter-caps to caps property
21813
21814 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21815
21816         * gst/gstvalue.c: (gst_value_deserialize_fraction):
21817           More robust fraction string parsing.
21818
21819         * docs/pwg/appendix-porting.xml:
21820           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21821
21822 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21823
21824         * gst/gstcaps.c: (gst_caps_do_simplify):
21825           Thou shalt not free a structure and then continue using it
21826           in the next loop iteration.
21827
21828         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21829         (gst_caps_suite):
21830           Add test case for caps simplification.
21831
21832 2005-09-29  Wim Taymans  <wim@fluendo.com>
21833
21834         * check/gst/gstbin.c: (GST_START_TEST):
21835         Oops.
21836
21837 2005-09-29  Wim Taymans  <wim@fluendo.com>
21838
21839         * check/gst/gstbin.c: (GST_START_TEST):
21840         Add bus to bin.
21841
21842         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21843         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21844         (find_element), (gst_bin_sort_iterator_next),
21845         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21846         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21847         (gst_bin_change_state), (gst_bin_dispose):
21848         A bin does not have a bus, it gets the bus from the parent.
21849
21850         * gst/gstelement.c: (gst_element_requires_clock),
21851         (gst_element_provides_clock), (gst_element_is_indexable),
21852         (gst_element_is_locked_state), (gst_element_change_state),
21853         (gst_element_set_bus_func):
21854         Small cleanups.
21855
21856         * gst/gstpipeline.c: (gst_pipeline_class_init),
21857         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21858         The pipeline provides a bus.
21859
21860 2005-09-28  Johan Dahlin  <johan@gnome.org>
21861
21862         * gst/gstmessage.c (gst_message_parse_state_changed): Use
21863         gst_structure_get_enum instead of gst_structure_get_int
21864
21865         * gst/gststructure.c (gst_structure_get_enum): Impl.
21866
21867         * gst/gststructure.h (gst_structure_get_enum): Add
21868
21869         * docs/gst/gstreamer-sections.txt: Ditto
21870
21871         * gst/gstmessage.c (gst_message_new_state_changed): Use
21872         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21873         which does introspection.
21874         Reviewed by Christian Schaller
21875
21876 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21877
21878         * gst/gstinfo.c: (gst_debug_log_default):
21879           don't do dummy g_strdup()s
21880         * libs/gst/controller/gstcontroller.c:
21881         (on_object_controlled_property_changed),
21882         (gst_controlled_property_new), (gst_controller_new_valist),
21883         (gst_controller_new_list),
21884         (gst_controller_remove_properties_valist), (gst_controller_set),
21885         (gst_controller_get), (gst_controller_sync_values),
21886         (gst_controller_get_value_array), (_gst_controller_class_init),
21887         (gst_controller_get_type):
21888         * libs/gst/controller/gstcontroller.h:
21889         * libs/gst/controller/gstinterpolation.c:
21890         (gst_controlled_property_find_timed_value_node):
21891           convert // to /**/ comments
21892
21893 2005-09-28  Wim Taymans  <wim@fluendo.com>
21894
21895         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21896         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21897         (gst_bus_sync_signal_handler):
21898         * gst/gstbus.h:
21899         Added async-message and sync-message signals to the bus.
21900         Added helper BusFunc to emit signals for all posted messages.
21901
21902         * gst/gstmessage.c: (gst_message_type_get_name),
21903         (gst_message_type_to_quark), (gst_message_get_type):
21904         * gst/gstmessage.h:
21905         Register quarks for message names.
21906
21907 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21908
21909         * docs/libs/gstreamer-libs-sections.txt:
21910         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
21911         (gst_controller_new_list):
21912         * libs/gst/controller/gstcontroller.h:
21913           added another constructor for language bindings
21914
21915 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21916
21917         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21918           add another check
21919         * gst/gstbus.c:
21920           add some doc
21921         * gst/gstinfo.c: (_gst_debug_init):
21922           slightly more readable color for refcount debugging
21923
21924 2005-09-28  Wim Taymans  <wim@fluendo.com>
21925
21926         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21927         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21928         (find_element), (gst_bin_sort_iterator_next),
21929         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21930         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21931         (gst_bin_change_state), (gst_bin_dispose):
21932         Small doc fixes. get_clock -> provide_clock.
21933
21934         * gst/gstelement.c: (gst_element_class_init),
21935         (gst_element_provides_clock), (gst_element_provide_clock),
21936         (gst_element_get_clock), (gst_element_commit_state),
21937         (gst_element_lost_state):
21938         * gst/gstelement.h:
21939         Make get/set_clock() symetric. Add provide_clock vmethod since
21940         that is actually what this function does.
21941
21942         * gst/gstpipeline.c: (gst_pipeline_class_init),
21943         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
21944         (gst_pipeline_get_clock):
21945         get_clock -> provide_clock.
21946
21947 2005-09-28  Andy Wingo  <wingo@pobox.com>
21948
21949         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
21950         lieu of real docs...
21951
21952         * gst/elements/gstfdsrc.c: Cleaned up a bit.
21953
21954 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
21955
21956         * gst/elements/gstcapsfilter.c:
21957         * gst/elements/gstfakesink.c:
21958         * gst/elements/gstfakesrc.c:
21959         * gst/elements/gstfdsink.c:
21960         * gst/elements/gstfdsrc.c:
21961         * gst/elements/gstfilesink.c:
21962         * gst/elements/gstfilesrc.c:
21963         * gst/elements/gstidentity.c:
21964         * gst/elements/gsttee.c:
21965         * gst/elements/gsttypefindelement.c:
21966           Make element details static.
21967
21968 2005-09-28  Wim Taymans  <wim@fluendo.com>
21969
21970         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21971         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21972         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21973         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21974         (gst_bin_change_state), (gst_bin_dispose):
21975         Some documentation updates.
21976         Clean up dispose handlers.
21977
21978         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
21979         * gst/gstpad.c: (gst_pad_dispose):
21980         Clean up dispose handler.
21981
21982         * gst/gstpipeline.c: (gst_pipeline_change_state):
21983         Removed spurious UNLOCK.
21984
21985 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
21986
21987         * docs/gst/gstreamer-sections.txt:
21988         * gst/base/gstbasesrc.h:
21989         * gst/gstelement.h:
21990         * gst/gstevent.h:
21991         * gst/gstobject.h:
21992         * gst/gstpad.h:
21993         * gst/gstpipeline.c:
21994         * gst/gstpipeline.h:
21995         * gst/gstutils.h:
21996         * gst/gstxml.h:
21997           added two new functions to the docs
21998                 documents all undocumented GstXXXFlags
21999                 completed some incomplete docs 
22000
22001 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22002
22003         * gst/gstbin.c: (gst_bin_dispose):
22004         * gst/gstelement.c: (gst_element_dispose):
22005           remove now useless and leaky resurrection code in dispose
22006         * gst/base/gstbasesrc.c: (gst_base_src_init):
22007         * gst/gstelementfactory.c: (gst_element_factory_create):
22008         * gst/gstobject.c: (gst_object_set_parent):
22009           add some debugging
22010
22011 2005-09-27  Wim Taymans  <wim@fluendo.com>
22012
22013         * docs/design/part-TODO.txt:
22014         Update TODO.
22015
22016         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22017         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22018         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22019         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22020         (gst_bin_change_state):
22021         * gst/gstelement.h:
22022         Remove element variable, we keep element info in the iterator now.
22023
22024 2005-09-27  Andy Wingo  <wingo@pobox.com>
22025
22026         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22027         values.
22028
22029 2005-09-27  Wim Taymans  <wim@fluendo.com>
22030
22031         * check/gst/gstbin.c: (GST_START_TEST):
22032         Enable check that works now.
22033
22034         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22035         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22036         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22037         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22038         (gst_bin_change_state):
22039         * gst/gstbin.h:
22040         Redid the state change algorithm using a topological sort algo.
22041         Handles all cases correctly.
22042         Exposed iterator for state change order.
22043
22044         * gst/gstelement.h:
22045         Temp storage for state changes. Need to get rid of this soon.
22046
22047 2005-09-27  Wim Taymans  <wim@fluendo.com>
22048
22049         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22050         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22051         (link_fold_func), (gst_pad_proxy_setcaps):
22052         Leak fixes, the fold functions need to unref the passed object and
22053         _get_parent_*() returns ref to parent.
22054
22055 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22056
22057         * check/gst/gstbuffer.c: (test_make_writable):
22058           Plug leak in test case and fix 'make check-valgrind'
22059
22060 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22061
22062         * gst/gstbuffer.c: (gst_subbuffer_init):
22063           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22064           works correctly in all circumstances (we could have just copied
22065           the parent buffer's readonly flag, but conceptually it seems
22066           cleaner to mark all subbuffers as read-only). (based on patch
22067           by Alessandro Decina, #314710).
22068         
22069         * check/gst/gstbuffer.c: (create_read_only_buffer),
22070         (test_make_writable), (test_subbuffer_make_writable),
22071         (gst_test_suite):
22072           Add some tests for gst_buffer_make_writable().
22073
22074 2005-09-27  Wim Taymans  <wim@fluendo.com>
22075
22076         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22077         use gst_object_has_ancestor().
22078
22079         * gst/gstobject.c: (gst_object_has_ancestor):
22080         * gst/gstobject.h:
22081         gst_object_has_ancestor() copied from gstbin.c as it is a
22082         useful function.
22083
22084         * tests/instantiate/create.c: (create_all_elements):
22085         * tests/lat.c: (handoff_src), (handoff_sink):
22086         * tests/sched/runxml.c: (main):
22087         * tests/seeking/seeking1.c: (main):
22088         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22089         (main):
22090         Fix compilation of some tests.
22091
22092 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22093
22094         * gst/gsterror.h:
22095           Remove comment. GST_TYPE_G_ERROR is here to stay,
22096           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22097           (#316961, #300610).
22098
22099 2005-09-26  Wim Taymans  <wim@fluendo.com>
22100
22101         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22102         Added check that shows error in state change order.
22103
22104 2005-09-26  Wim Taymans  <wim@fluendo.com>
22105
22106         * gst/gstbin.c: (gst_bin_change_state):
22107         Make state change function use 3 queues again, we were
22108         adding elements in the wrong order.
22109
22110         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22111         Some debug info,
22112
22113         * gst/gstpad.c: (gst_pad_dispose):
22114         Added some debug info first.
22115
22116 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22117
22118         * docs/design/draft-push-pull.txt:
22119         * docs/design/part-events.txt:
22120         * docs/design/part-overview.txt:
22121         * docs/design/part-scheduling.txt:
22122           Replace all _pull_region() with _pull_range()
22123           
22124 2005-09-26  Andy Wingo  <wingo@pobox.com>
22125
22126         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22127
22128         * check/gst-libs/controller.c: Update for controller api change.
22129
22130         * configure.ac: 
22131         * tests/Makefile.am:
22132         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22133         over by GLib bug 118439.
22134         
22135         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22136         routines to a function.
22137
22138         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22139
22140         * libs/gst/controller/gsthelper.c:
22141         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22142         (gst_object_sync_values): Renamed from sink_values. Ugh.
22143
22144         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22145
22146         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22147         Renamed from controller_key, as it is exported.
22148
22149         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22150
22151 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22152
22153         * gst/Makefile.am:
22154         * gst/gst.h:
22155         * gst/gstpad.h:
22156         * gst/gstpadtemplate.h:
22157         * gst/gstquery.c:
22158         * gst/gstquery.h:
22159         * gst/gstqueryutils.c:
22160         * gst/gstqueryutils.h:
22161           remove queryutils headers after moving the two used functions
22162           to gstquery.  also fixes build problem for gstsiddec
22163
22164 2005-09-26  Michael Smith <msmith@fluendo.com>
22165
22166         * tools/gst-launch.1.in:
22167         Correct documentation in manpage of debug syntax
22168
22169 2005-09-26  Wim Taymans  <wim@fluendo.com>
22170
22171         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22172         (gst_base_src_is_seekable), (gst_base_src_change_state):
22173         Some more debugging info.
22174
22175 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22176
22177         * docs/gst/gstreamer-sections.txt:
22178         * gst/base/gstbasetransform.h:
22179         * gst/gstindex.h:
22180           added more docs
22181
22182 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22183
22184         * docs/gst/.cvsignore:
22185         * docs/gst/tmpl/.cvsignore:
22186         * docs/gst/tmpl/gstpipeline.sgml:
22187         * docs/gst/tmpl/gstplugin.sgml:
22188         * gst/gstpipeline.c:
22189         * gst/gstplugin.c:
22190         * gst/gstplugin.h:
22191           inlined the last two docs files
22192           removed the tmpl directory from cvs (no more conflicts here!)
22193
22194 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22195
22196         * docs/gst/gstreamer-sections.txt:
22197         * docs/gst/tmpl/.cvsignore:
22198         * docs/gst/tmpl/gstpad.sgml:
22199         * docs/gst/tmpl/gstpadtemplate.sgml:
22200         * gst/Makefile.am:
22201         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22202         (gst_pad_finalize), (gst_pad_set_pad_template):
22203         * gst/gstpad.h:
22204         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22205         (gst_pad_template_class_init), (gst_pad_template_init),
22206         (gst_pad_template_dispose), (name_is_valid),
22207         (gst_static_pad_template_get), (gst_pad_template_new),
22208         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22209         (gst_pad_template_pad_created):
22210         * gst/gstpadtemplate.h:
22211           inlined two more docs
22212           factored gstpadtemplate out of gstpad
22213
22214 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22215
22216         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22217         (test_children_state_change_order_semi_sink):
22218           Fix test case: we can't rely on a fixed state change order when
22219           going from READY => PAUSED because the sink might commit its 
22220           new state first when the first buffer created by the source 
22221           reaches the sink before the source has finished its change state.
22222           (Test case still fails at times, see #316856, comment 5 onwards)
22223
22224 2005-09-24  Wim Taymans  <wim@fluendo.com>
22225
22226         * docs/design/part-events.txt:
22227         * docs/design/part-gstbus.txt:
22228         * docs/design/part-gstpipeline.txt:
22229         * docs/design/part-messages.txt:
22230         * docs/design/part-overview.txt:
22231         * docs/design/part-segments.txt:
22232         * gst/gstbin.c:
22233         * gst/gstbuffer.c:
22234         * gst/gstclock.c:
22235         * gst/gstelement.c:
22236         * gst/gstevent.c:
22237         * gst/gstfilter.c:
22238         * gst/gstiterator.c:
22239         Various documentation updates.
22240
22241 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22242
22243         * gst/gstclock.h:
22244           Well, that's embarassing.  Luckily we weren't using
22245           GST_CLOCK_DIFF anywhere.
22246
22247 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22248
22249         * common/gtk-doc.mak:
22250           don't fail on building XML, FC4 slave shows a bunch of doc
22251           missing bits that I don't get
22252         * gst/gstpad.c:
22253         * gst/gstpipeline.c:
22254         * gst/gststructure.c:
22255           some doc updates
22256
22257 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22258
22259         * docs/design/part-gstbin.txt:
22260         * docs/design/part-gstbus.txt:
22261         * gst/gstbus.c:
22262           Add blurb about how the bus goes into flushing mode and
22263           drops all messages when its bin goes from READY into NULL 
22264           state.
22265
22266 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22267
22268         * docs/gst/gstreamer-sections.txt:
22269         * gst/gststructure.c: (gst_structure_get_clock_time):
22270         * gst/gststructure.h:
22271           add a method to get a GstClockTime out of a structure
22272
22273 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22274
22275         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22276         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22277           Added test to check state change order in bins (can still be made
22278           to fail here under heavy disk load; bails out with 'Push on pad
22279           fakesink:sink0, but it was not activated in push mode').
22280
22281         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22282           Fix state change order when there is only a semi sink (#316856)
22283
22284         * gst/gstbus.c: (gst_bus_class_init):
22285           Use _class_peek_parent(), not _class_ref(); fix docs to say
22286           'default main context' instead of 'mainloop' where that is
22287           what's meant.
22288
22289         * gst/gstelement.c: (gst_element_commit_state),
22290         (gst_element_set_state):
22291           Fix typos in debug messages
22292
22293 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22294
22295         * docs/README:
22296         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22297         * gst/gstpluginfeature.c:
22298         * gst/gstutils.c:
22299           various doc updates
22300         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22301           change an assert into an error until it gets fixed properly
22302
22303 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22304
22305         * docs/gst/gstreamer-sections.txt:
22306         * docs/gst/tmpl/.cvsignore:
22307         * docs/gst/tmpl/gstelement.sgml:
22308         * docs/gst/tmpl/gstinfo.sgml:
22309         * docs/gst/tmpl/gstobject.sgml:
22310         * gst/gstelement.c:
22311         * gst/gstelement.h:
22312         * gst/gstinfo.c:
22313         * gst/gstinfo.h:
22314         * gst/gstobject.c: (gst_object_class_init):
22315         * gst/gstobject.h:
22316           inlined 3 more biiiig doc files and added some missing docs on the fly
22317
22318 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22319
22320         * check/gst/.cvsignore:
22321         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22322         * gst/gstregistryxml.c: (load_plugin),
22323         (gst_registry_xml_save_plugin):
22324           put back source in registry.  add checks for find_plugin.
22325         * testsuite/states/bin.c: (assert_state), (empty_bin),
22326         (test_adding_one_element), (main):
22327         * testsuite/states/locked.c: (main):
22328           some compile/run fixes
22329
22330 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22331
22332         * check/gst/gstvalue.c: (GST_START_TEST):
22333           fix leaks in the test itself
22334
22335 2005-09-22  Wim Taymans  <wim@fluendo.com>
22336
22337         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22338         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22339         (gst_base_sink_query):
22340         Prepare for more accurate position reporting and query
22341         handling.
22342
22343         * gst/gstelement.c: (gst_element_send_event),
22344         (gst_element_set_state):
22345         Add some comment.
22346
22347 2005-09-22  Wim Taymans  <wim@fluendo.com>
22348
22349         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22350         (gst_query_parse_segment):
22351         * gst/gstquery.h:
22352         More documentation.
22353         Add segment query for future use.
22354
22355 2005-09-22  Wim Taymans  <wim@fluendo.com>
22356
22357         * gst/gstbin.c: (gst_bin_add_func):
22358         Some more debug info.
22359
22360         * gst/gstelement.c: (gst_element_send_event):
22361         Simplify send_event
22362
22363         * gst/gstelement.h:
22364         Don't know how flags got broken.
22365
22366         * gst/gstquery.h:
22367         Added new query.
22368
22369 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22370
22371         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22372           Add simplistic test suite for GST_TYPE_DATE serialisation and
22373           deserialisation.
22374
22375 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22376
22377         * docs/gst/gstreamer-sections.txt:
22378         * gst/gststructure.c: (gst_structure_set_valist),
22379         (gst_structure_get_date):
22380         * gst/gststructure.h:
22381         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22382         (gst_date_copy), (gst_value_compare_date),
22383         (gst_value_serialize_date), (gst_value_deserialize_date),
22384         (gst_value_transform_date_string),
22385         (gst_value_transform_string_date), (_gst_value_initialize):
22386         * gst/gstvalue.h:
22387           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22388           bunch of utility functions along with a hack that checks that
22389           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22390           is required. Part of the grand scheme in #170777.
22391
22392 2005-09-22  Andy Wingo  <wingo@pobox.com>
22393
22394         * gst/gstconfig.h.in: Psych out gtk-doc.
22395
22396         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22397
22398         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22399
22400         * tools/gst-inspect.c (print_element_list): Plug some
22401         inconsequential leaks.
22402
22403         * gst/gstregistry.c (gst_registry_get_default): Doc.
22404
22405         * check/gst/gstplugin.c: 
22406         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22407         * gst/gstelementfactory.c (gst_element_factory_create): 
22408         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22409         refcount changes.
22410
22411         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22412         (gst_plugin_feature_load): Doc, don't eat refs.
22413
22414         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22415         (gst_plugin_list_free): Doc.
22416         (gst_plugin_load_file): Doc updates.
22417
22418         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22419         accessors returning refcounted objects, return a ref.
22420
22421         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22422         accessor for caps. IDEMPOTENCE. Oh yes.
22423
22424 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22425
22426         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22427
22428         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22429         (_gst_debug_register_funcptr):
22430           Add mutex to serialise access to the hash table with
22431           the function pointer => function name string mapping;
22432           make that hash table static scope (#316809).
22433
22434         * gst/registries/.cvsignore:
22435           Remove left-over file.
22436
22437 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22438
22439         * docs/pwg/appendix-porting.xml:
22440           And something about newsegment events and caps-on-buffers to
22441           the porting guide (feel free to improve).
22442
22443 2005-09-21  Andy Wingo  <wingo@pobox.com>
22444
22445         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22446         data and event probes on the same pad.
22447         (test_buffer_probe_once): Test that removing probes from within
22448         the probe functions works.
22449
22450 2005-09-21  Andy Wingo  <wingo@pobox.com>
22451
22452         * check/gst/gstutils.c: New file.
22453         (test_buffer_probe_n_times): A simple buffer probe test. More to
22454         come, foolios.
22455
22456         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22457         have-data::buffer, not have-data.
22458         (gst_pad_add_event_probe): Likewise for have-data::event.
22459         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22460         peer' isn't quite right yet though.
22461         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22462         (gst_pad_remove_data_probe): Change to take the guint handler_id
22463         as their arg, not the function+data, which is more glib-like.
22464
22465         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22466         the signal emission to indicate if the data is a buffer or an
22467         event.
22468         (gst_pad_get_type): Initialize buffer and event quarks.
22469         (gst_pad_class_init): have-data is now a detailed signal, yes it
22470         is.
22471
22472 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22473
22474         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22475         * gst/gstutils.c: (gst_util_set_value_from_string),
22476         (gst_util_set_object_arg):
22477           Don't put functional code in g_return_if_fail() or
22478           g_return_val_if_fail() statements, otherwise things will 
22479           break when G_DISABLE_CHECKS is defined during compilation.
22480
22481 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22482
22483         * docs/gst/tmpl/.cvsignore:
22484         * docs/gst/tmpl/gstvalue.sgml:
22485         * gst/gstvalue.c:
22486         * gst/gstvalue.h:
22487           inlied another one and added  some obvious docs
22488
22489 2005-09-21  Wim Taymans  <wim@fluendo.com>
22490
22491         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22492         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22493         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22494         (gst_fdsrc_get_property), (gst_fdsrc_create):
22495         * gst/elements/gstfdsrc.h:
22496         Properly implement fdsrc. Removed signal and timeout,
22497         better implemented somewhere else.
22498
22499 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22500
22501         * docs/gst/tmpl/.cvsignore:
22502         * docs/gst/tmpl/gstimplementsinterface.sgml:
22503         * gst/gstinterface.c:
22504           inlined more docs
22505
22506 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22507
22508         * docs/gst/gstreamer-sections.txt:
22509         * docs/gst/tmpl/.cvsignore:
22510         * docs/gst/tmpl/gstenumtypes.sgml:
22511           remove obsolete doc file
22512
22513 2005-09-21  David Schleef  <ds@schleef.org>
22514
22515         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22516         little beer, fix a little leak.
22517
22518 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22519
22520         * docs/gst/gstreamer-docs.sgml:
22521         * docs/gst/gstreamer-sections.txt:
22522         * docs/gst/tmpl/.cvsignore:
22523         * gst/Makefile.am:
22524         * gst/gst.h:
22525         * gst/gstbin.c:
22526         * gst/gstelement.h:
22527         * gst/gstindex.c: (gst_index_class_init):
22528         * gst/gstindex.h:
22529         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22530         (gst_index_factory_class_init), (gst_index_factory_init),
22531         (gst_index_factory_finalize), (gst_index_factory_new),
22532         (gst_index_factory_destroy), (gst_index_factory_find),
22533         (gst_index_factory_create), (gst_index_factory_make):
22534         * gst/gstindexfactory.h:
22535         * gst/gstpluginfeature.c:
22536         * gst/gstpluginfeature.h:
22537         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22538           more docs inlined, splitted gstindex.{c,h}
22539
22540 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22541
22542         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22543           fix a leak
22544
22545 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22546
22547         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22548           Set sync to FALSE by default.
22549
22550 2005-09-20  Wim Taymans  <wim@fluendo.com>
22551
22552         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22553         (gst_base_sink_init):
22554         Make sync property settable from subclass.
22555
22556         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22557         (gst_fake_sink_change_state):
22558         Set sync to FALSE by default.
22559
22560 2005-09-20  Wim Taymans  <wim@fluendo.com>
22561
22562         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22563         * tools/gst-launch.c: (main):
22564         The timeout handler should have lower priority than the source
22565         so we don't timeout before popping a message with 0 timeout.
22566         Dump error messages after failed state change.
22567
22568 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22569
22570         * tools/gst-inspect.c: (print_element_properties_info):
22571           Fix two typos.
22572
22573 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22574
22575         * check/gst/gstevent.c:
22576         * gst/elements/gstfakesink.c:
22577         * gst/elements/gstfakesink.h:
22578           remove the sync property from fakesink.
22579           has the side effect of setting sync TRUE
22580           for fakesink, which is a change.  Anyone who knows how
22581           to fix this nicely in a GObject-y way, feel free.
22582
22583 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22584
22585         * docs/gst/gstreamer-docs.sgml:
22586           remove probe refsection
22587
22588 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22589
22590         * check/Makefile.am:
22591           disable valgrinding the controller test again
22592         * docs/gst/gstreamer-sections.txt:
22593           update for api-changes
22594
22595 2005-09-20  Wim Taymans  <wim@fluendo.com>
22596
22597         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22598         (gst_base_sink_set_property), (gst_base_sink_get_property),
22599         (gst_base_sink_do_sync):
22600         * gst/base/gstbasesink.h:
22601         Added sync property to basesink to disable clock sync.
22602
22603 2005-09-20  Andy Wingo  <wingo@pobox.com>
22604
22605         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22606         eating the caller's refcount.
22607
22608         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
22609         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22610         refcount.
22611
22612         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22613         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22614         of GLib 2.8 public, so we can know which refcount to check in
22615         tests.
22616
22617         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22618         (gst_object_init): Only set the gst refcount if we're going ahead
22619         with the refcount hack.
22620
22621 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22622
22623         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22624         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22625           more leaks plumbed, added more debug-logging
22626         * gst/gstmacros.h:
22627           whitespace fix
22628
22629 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22630
22631         * gst/gstmessage.c:
22632           remove include of gstmemchunk.h
22633
22634 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22635
22636         * gst/gstclock.c: (_gst_clock_id_free):
22637           Commit from the Political Party For More Atomic CVS Commits,
22638           so that people don't waste too much of their day fishing
22639           out obvious leaks out of massive commits.
22640           Oh, and fix a pretty damn obvious leak in the memchunk
22641           removal code.
22642
22643 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22644
22645         * check/Makefile.am:
22646         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22647           plug mem-leak, re-add to valgrindable tests
22648
22649 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22650
22651         * gst/gstplugin.h:
22652           unbreak the build for those who have chronic arthritis
22653           and typing "make check" is just too taxing on the hands
22654
22655 2005-09-20  Andy Wingo  <wingo@pobox.com>
22656
22657         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22658         really want it out, you should fix plugins at the same time.
22659
22660 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
22661
22662         * configure.ac:
22663         * docs/gst/gstreamer-sections.txt:
22664         * gst/gstobject.c:
22665           added missing symbols to api docs
22666           disable ref-count hack if we have glib >= 2.8
22667
22668 2005-09-19  David Schleef  <ds@schleef.org>
22669
22670         * docs/gst/Makefile.am: Ignore a few more internal headers
22671         * docs/gst/gstreamer-docs.sgml: Remove old sections
22672         * docs/gst/gstreamer-sections.txt: Remove old sections
22673         * docs/gst/tmpl/gstobject.sgml: update
22674         * docs/gst/tmpl/gstplugin.sgml: update
22675         * docs/gst/tmpl/gstpluginfeature.sgml: update
22676         * docs/random/ds/0.9-suggested-changes: update.
22677         * gst/Makefile.am: remove memchunk and trashstack, since they're
22678           not used.
22679         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22680         * gst/gst.h: don't include some headers
22681         * gst/gstchildproxy.c: add gstmarshal.h
22682         * gst/gstclock.c: Don't use memchunks
22683         * gst/gstminiobject.c: Add some docs
22684         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22685         * gst/gstobject.h: same
22686         * gst/gstplugin.c: include gstmacros.h
22687         * gst/gstplugin.h: don't include gstmacros.h, since it's private
22688         * gst/gstquery.c: don't use memchunks
22689         * gst/gstregistry.c: rename gst_registry_deinit()
22690         * gst/gstregistry.h: same
22691
22692 2005-09-19  David Schleef  <ds@schleef.org>
22693
22694         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22695         * docs/libs/gstreamer-libs-sections.txt:
22696         * docs/libs/tmpl/gstgetbits.sgml:
22697         * docs/libs/tmpl/gstputbits.sgml:
22698
22699 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
22700
22701         * win32/gstenumtypes.c:
22702         * win32/gstenumtypes.h:
22703           Update.
22704
22705 2005-09-19  Wim Taymans  <wim@fluendo.com>
22706
22707         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22708         Automatically PAUSE and RESUME a pipeline when a flushing seek
22709         is performed.
22710
22711 2005-09-19  Andy Wingo  <wingo@pobox.com>
22712
22713         * gst/gstregistry.h: Spacing fixen.
22714
22715 2005-09-19  Wim Taymans  <wim@fluendo.com>
22716
22717         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22718         Handle state change failure more correctly.
22719
22720 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22721
22722         * check/Makefile.am:
22723         * check/pipelines/cleanup.c: (run_pipeline):
22724         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22725         (GST_START_TEST):
22726           enable cleanup again after fixing the leak
22727         * docs/README:
22728           some more info on docs
22729
22730 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22731
22732         * check/Makefile.am:
22733           re-enable tests now that leaks are plugged
22734         * check/gst/gst.c:
22735         * check/gst/gstbin.c:
22736         * check/gst/gstpipeline.c:
22737           add some more tests while fixing leaks
22738         * common/check.mak:
22739           make sure binaries are uptodate when valgrinding/gdbing
22740         * gst/gst.c:
22741         * gst/gstelementfactory.c:
22742           remove a ref too many, and add a FIXME for when we get
22743           round to disposing of classes
22744         * gst/gstplugin.c:
22745           fix the refcounting when loading a plugin from a file and
22746           the code pretends that the pointer is the same even though
22747           of course it can change
22748         * gst/gstpluginfeature.c:
22749           unref plugins marked cached (a bit confusing as a name)
22750           as the docs state should be done
22751           various doc additions to explain refcounting
22752         * gst/gstregistry.c:
22753         * gst/gstregistryxml.c:
22754           debugging
22755
22756 2005-09-19  Wim Taymans  <wim@fluendo.com>
22757
22758         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22759         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22760         (send_messages), (GST_START_TEST), (gstbus_suite):
22761         * check/gst/gstpipeline.c: (GST_START_TEST):
22762         * check/pipelines/cleanup.c: (run_pipeline):
22763         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22764         (GST_START_TEST):
22765         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22766         (gst_bus_source_check), (gst_bus_source_dispatch),
22767         (gst_bus_create_watch), (gst_bus_add_watch_full),
22768         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22769         * gst/gstbus.h:
22770         * tools/gst-launch.c: (event_loop):
22771         * tools/gst-md5sum.c: (event_loop):
22772         GstBusHandler -> GstBusFunc, return value has the same meaning as
22773         any other GSource (FALSE == remove source).
22774         _add_watch() and _add_watch_full() now take a MessageType mask to
22775         only handle specific types of messages.
22776         _poll() returns the GstMessage instead of the message type to avoid
22777         race conditions.
22778         _have_pending() takes a MessageType mask now too.
22779         Added testsuite for multiple bus watches.
22780         Fix testsuites and applications for new bus API.
22781
22782 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22783
22784         * check/Makefile.am:
22785           mark a bunch of the tests as to fix until we fix them
22786
22787 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22788
22789         * common/check.mak:
22790           use GST_PLUGIN settings for valgrind tests as well, so we're
22791           valgrinding the correct thing
22792         * gst/gst.c: (init_post):
22793           plug another leak
22794
22795 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22796
22797         * gst/gst.c: (init_post), (gst_deinit):
22798         * gst/gstelementfactory.c: (gst_element_factory_class_init),
22799         (gst_element_factory_finalize), (gst_element_factory_cleanup):
22800         * gst/gstindex.c: (gst_index_factory_class_init),
22801         (gst_index_factory_finalize):
22802         * gst/gstobject.c: (gst_object_dispose):
22803         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22804         (gst_plugin_load_file), (gst_plugin_desc_free):
22805         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22806         (gst_plugin_feature_finalize):
22807         * gst/gstregistry.c: (gst_registry_class_init),
22808         (gst_registry_init), (gst_registry_finalize),
22809         (gst_registry_get_default), (gst_registry_deinit):
22810         * gst/gstregistry.h:
22811         * gst/gstregistryxml.c: (load_feature), (load_plugin):
22812           various cleanups and memleak plugging.  make valgrind is happy now.
22813
22814 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22815
22816         * common/check.mak:
22817           add a check-valgrind target
22818
22819 2005-09-18  David Schleef  <ds@schleef.org>
22820
22821         * tools/gst-inspect.c: Revert the GOption code.
22822
22823 2005-09-17  David Schleef  <ds@schleef.org>
22824
22825         * check/Makefile.am: Fix environment variables.
22826         * check/gst/gstplugin.c: Fix for API changes.
22827         * tools/gst-inspect.c: Fix for API changes.
22828         * tools/gst-xmlinspect.c: Fix for API changes.
22829         * gst/gstelementfactory.c:
22830         * gst/gstplugin.c:
22831         * gst/gstplugin.h:
22832         * gst/gstpluginfeature.c:
22833         * gst/gstpluginfeature.h:
22834         * gst/gstregistry.c:
22835         * gst/gstregistry.h:
22836         * gst/gstregistryxml.c:
22837         * gst/gsttypefind.c:
22838         * gst/gsttypefindfactory.c:
22839         * gst/indexers/gstfileindex.c:
22840         * gst/indexers/gstmemindex.c:
22841         * gst/schedulers/Makefile.am:
22842           Change registry to keep track of both plugins and features,
22843           removing the feature tracking from plugins themselves.
22844
22845 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22846
22847         * check/Makefile.am:
22848         * tools/gst-register.1.in:
22849           remove gst-register
22850
22851 2005-09-15  David Schleef  <ds@schleef.org>
22852
22853         * check/gst/gstplugin.c:
22854         * gst/gstelementfactory.c:
22855         * gst/gstplugin.c:
22856         * gst/gstpluginfeature.c:
22857         * gst/gstregistry.c:
22858           Getting tired of debugging.  Disabled all the unreffing of
22859           plugins and features, which fixes the segfaults, but of
22860           course leaks like crazy.  At least playbin works.
22861
22862 2005-09-15  David Schleef  <ds@schleef.org>
22863
22864         * check/gst/gstplugin.c: (register_check_elements),
22865         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22866         More testing
22867         * gst/elements/gsttypefindelement.c: Fix refcounting.
22868         * gst/gsttypefind.c:
22869         * gst/gsttypefindfactory.c:
22870         * gst/gsttypefindfactory.h:
22871
22872 2005-09-15  David Schleef  <ds@schleef.org>
22873
22874         * gst/gstindex.c: get refcounting correct.
22875         * gst/gstregistry.c: Handle the case where a feature/plugin is
22876           not found.
22877
22878 2005-09-15  David Schleef  <ds@schleef.org>
22879
22880         * check/Makefile.am:
22881         * check/gst/gstplugin.c: Add test
22882         * gst/gstplugin.c: Fix problems noticed by testsuite
22883         * gst/gstplugin.h:
22884         * gst/gstregistry.c: 
22885         * gst/gstregistry.h:
22886
22887 2005-09-15  David Schleef  <ds@schleef.org>
22888
22889         * gst/gstplugin.c: Implement semi-decent recounting and locking
22890           in plugins and plugin features.
22891         * gst/gstplugin.h:
22892         * gst/gstpluginfeature.c:
22893         * gst/gstpluginfeature.h:
22894         * gst/gstregistry.c:
22895
22896 2005-09-15  Michael Smith <msmith@fluendo.com>
22897
22898         * gst/gstregistry.c: (gst_registry_get_feature_list):
22899           Implement this. Makes oggdemux work; decodebin still broken.
22900
22901 2005-09-14  David Schleef  <ds@schleef.org>
22902
22903         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
22904           #316076)
22905         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
22906         * gst/check/Makefile.am:
22907         * libs/gst/controller/Makefile.am:
22908         * libs/gst/dataprotocol/Makefile.am:
22909
22910 2005-09-14  David Schleef  <ds@schleef.org>
22911
22912         * configure.ac: Remove getbits library.  Nothing uses it, and
22913           it should be in something like liboil if someone did want
22914           to use it.
22915         * libs/gst/Makefile.am:
22916         * libs/gst/getbits/Makefile.am:
22917         * libs/gst/getbits/gbtest.c:
22918         * libs/gst/getbits/getbits.c:
22919         * libs/gst/getbits/getbits.h:
22920         * libs/gst/getbits/gstgetbits_generic.c:
22921         * libs/gst/getbits/gstgetbits_i386.s:
22922         * libs/gst/getbits/gstgetbits_inl.h:
22923
22924 2005-09-14  David Schleef  <ds@schleef.org>
22925
22926         * gst/Makefile.am: Dist glib-compat.h
22927
22928 2005-09-14  David Schleef  <ds@schleef.org>
22929
22930         * configure.ac: Remove gst/registries, since it's no longer used.
22931         * gst/registries/Makefile.am:
22932         * gst/registries/gstlibxmlregistry.c:
22933         * gst/registries/gstlibxmlregistry.h:
22934         * gst/registries/gstxmlregistry.c:
22935         * gst/registries/gstxmlregistry.h:
22936         * gst/registries/registrytest.c:
22937
22938 2005-09-14  David Schleef  <ds@schleef.org>
22939
22940         * gst/glib-compat.h:
22941         * gst/gstregistryxml.c:
22942           Convergence is near.  Seriously.
22943
22944 2005-09-14  David Schleef  <ds@schleef.org>
22945
22946         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22947         * gst/glib-compat.h:
22948           Attempt #4 to appease the buildbots.
22949
22950 2005-09-14  David Schleef  <ds@schleef.org>
22951
22952         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22953           Attempt #3.
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 #2.
22959
22960 2005-09-14  David Schleef  <ds@schleef.org>
22961
22962         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
22963           the new functions.
22964
22965 2005-09-14  David Schleef  <ds@schleef.org>
22966
22967         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22968         * gst/glib-compat.h: Add some functions that are in newer versions
22969           of glib than we care to require.
22970         * gst/gstregistryxml.c: Use them.
22971
22972 2005-09-14  David Schleef  <ds@schleef.org>
22973
22974         * po/POTFILES.in: remove gst-register.c
22975
22976 2005-09-14  David Schleef  <ds@schleef.org>
22977
22978         * docs/gst/gstreamer-docs.sgml:
22979         * docs/gst/gstreamer-sections.txt:
22980         * docs/gst/gstreamer.types:
22981         * docs/gst/tmpl/gstelement.sgml:
22982         * docs/gst/tmpl/gstplugin.sgml:
22983         * docs/gst/tmpl/gstpluginfeature.sgml:
22984           Documentation updates for registry changes.
22985
22986 2005-09-14  David Schleef  <ds@schleef.org>
22987
22988         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
22989           because we don't require glib-2.8.
22990
22991 2005-09-14  David Schleef  <ds@schleef.org>
22992
22993         * gst/gstregistryxml.c: Added.  Essentially moved out of the
22994           registries directory.
22995
22996 2005-09-14  David Schleef  <ds@schleef.org>
22997
22998         * check/Makefile.am:
22999         * check/generic/states.c:
23000         * gst/Makefile.am:
23001         * gst/gst.c:
23002         * gst/gst.h:
23003         * gst/gst_private.h:
23004         * gst/gstelementfactory.c:
23005         * gst/gstindex.c:
23006         * gst/gstinfo.c:
23007         * gst/gstplugin.c:
23008         * gst/gstplugin.h:
23009         * gst/gstpluginfeature.c:
23010         * gst/gstpluginfeature.h:
23011         * gst/gstregistry.c:
23012         * gst/gstregistry.h:
23013         * gst/gstregistrypool.c: remove
23014         * gst/gstregistrypool.h: remove
23015         * gst/gsttypefind.c:
23016         * gst/gsttypefindfactory.c:
23017         * gst/gsturi.c:
23018         * tools/Makefile.am:
23019         * tools/gst-compprep.c:
23020         * tools/gst-inspect.c:
23021         * tools/gst-register.c: remove
23022         * tools/gst-xmlinspect.c:
23023           Registry rewrite.  Changes registry from being a file created
23024           by a tool into a simple cache file created automatically by 
23025           libgstreamer.  Removed gst-register (because it's no longer
23026           needed).  Remove registry pools, because we only have one
23027           registry implementation (XML).  Fix up other subsystems as
23028           necessary.
23029
23030 2005-09-13  Michael Smith <msmith@fluendo.com>
23031
23032         * gst/gstconfig.h.in:
23033           Don't Use windows linking attributes for MinGW. Fixes #316157
23034
23035 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23036
23037         * gst/gstutils.c: (set_state_async_thread_func),
23038         (gst_element_set_state_async):
23039           Apparently people think it's better if this function doesn't
23040           try to set the state to whatever state was asked for on the first
23041           call to this function for any object.  Seriously.
23042
23043 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23044
23045         * check/gst/gstpipeline.c: (GST_START_TEST):
23046         * docs/gst/gstreamer-sections.txt:
23047         * gst/gstutils.c: (set_state_async_thread_func),
23048         (gst_element_set_state_async):
23049         * gst/gstutils.h:
23050           add a "gst_element_set_state_async" method that
23051           sets the state and starts a thread to make sure the state
23052           change completes as best as it can
23053
23054 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23055
23056         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23057           codify design+behaviour in testsuite after discussion
23058
23059 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23060
23061         * docs/gst/tmpl/gstelement.sgml:
23062         * docs/manual/appendix-quotes.xml:
23063           add a quote
23064         * gst/gstelement.c: (gst_element_set_state):
23065           add some debug
23066
23067 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23068
23069         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23070         (gst_base_transform_prepare_output_buf),
23071         (gst_base_transform_handle_buffer):
23072         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23073         (gst_capsfilter_prepare_buf):
23074           Remove the requirement for sub-classes to call the parent
23075           implementation of prepare_output_buffer with a wrapper function.
23076           
23077         * gst/gsttaglist.h:
23078         * gst/gsttagsetter.h:
23079           Fix #define wrapper
23080
23081 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23082
23083         * docs/gst/gstreamer-sections.txt:
23084           more doc cleanups
23085
23086 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23087
23088         * docs/gst/gstreamer-sections.txt:
23089         * docs/gst/tmpl/gstelement.sgml:
23090         * docs/gst/tmpl/gstplugin.sgml:
23091         * gst/gstminiobject.c:
23092         * gst/gstvalue.h:
23093           docs now stop throwing warnings
23094
23095 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23096
23097         * docs/gst/gstreamer-sections.txt:
23098         * docs/gst/gstreamer.types:
23099         * docs/gst/tmpl/gstpad.sgml:
23100         * docs/gst/tmpl/gsttypes.sgml:
23101         * gst/base/gstadapter.h:
23102         * gst/base/gstbasesink.h:
23103         * gst/base/gstbasesrc.h:
23104         * gst/gstbin.h:
23105         * gst/gstbuffer.h:
23106         * gst/gstbus.h:
23107         * gst/gstcaps.h:
23108         * gst/gstclock.h:
23109         * gst/gstelement.h:
23110         * gst/gstevent.h:
23111         * gst/gstmessage.h:
23112         * gst/gstpad.h:
23113         * gst/gststructure.c:
23114         * gst/registries/gstlibxmlregistry.h:
23115           various documentation fixes
23116
23117 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23118
23119         * docs/gst/gstreamer-sections.txt:
23120         * docs/gst/tmpl/gstvalue.sgml:
23121           rearrange gstvalue section
23122         * gst/gstutils.c: (gst_element_state_get_name):
23123           NONE -> VOID
23124         * gst/gstvalue.c: (_gst_value_initialize):
23125         * gst/gstvalue.h:
23126           doc updates
23127
23128 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23129
23130         * check/gst-libs/controller.c:
23131           Header include fix.
23132         * gst/base/gstbasetransform.c:
23133         (gst_base_transform_default_prepare_buf),
23134         (gst_base_transform_handle_buffer):
23135         * gst/base/gstbasetransform.h:
23136           Some more basetransform changes and fixes to enable sub-classes
23137           that modify buffer metadata only.
23138         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23139         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23140         (gst_capsfilter_prepare_buf):
23141           If the output pad has fixed allowed caps and input buffers 
23142           don't have any, set the fixed caps on outgoing buffers.
23143
23144 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23145         * check/elements/identity.c: (GST_START_TEST):
23146           Make the error a little clearer when the test fails because
23147           identity made a copy of the buffer.
23148         * docs/gst/gstreamer-sections.txt:
23149           New symbols in gstbasetransform.h
23150         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23151         (gst_base_transform_init), (gst_base_transform_transform_size),
23152         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23153         (gst_base_transform_default_prepare_buf),
23154         (gst_base_transform_get_unit_size),
23155         (gst_base_transform_buffer_alloc),
23156         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23157         (gst_base_transform_change_state),
23158         (gst_base_transform_set_passthrough),
23159         (gst_base_transform_set_in_place),
23160         (gst_base_transform_is_in_place):
23161         * gst/base/gstbasetransform.h:
23162           Change BaseTransform to separate in_place operate from same_caps
23163           output. in_place implies that the element can perform the transform
23164           on incoming buffers in-place, even if the caps on the output are
23165           different.
23166           Sub-class elements can now implement special buffer allocation
23167           methods for outgoing buffers if they wish to.
23168           Big documentation addition.
23169         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23170         * gst/elements/gstelements.c:
23171           Changes for basetransform modifications.
23172         * gst/elements/Makefile.am:
23173         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23174           Compile fix. Extra debug output.
23175
23176 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23177
23178         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23179         (gst_pad_suite):
23180           add tests for valid pad naming
23181         * gst/check/gstcheck.c: (gst_check_log_message_func),
23182         (gst_check_log_critical_func):
23183           add ASSERT_WARNING
23184           remove printing of code, it is fragile when the code contains
23185           % and the line number is enough info
23186         * gst/check/gstcheck.h:
23187         * gst/gstpad.c: (gst_pad_template_new):
23188           fix memleaks
23189
23190 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23191
23192         * configure.ac:
23193           say what CHECK flags we use
23194         * docs/libs/gstreamer-libs.types:
23195         * libs/gst/controller/Makefile.am:
23196         * libs/gst/controller/gst-controller.c:
23197         * libs/gst/controller/gst-controller.h:
23198         * libs/gst/controller/gst-helper.c:
23199         * libs/gst/controller/gst-interpolation.c:
23200         * libs/gst/controller/gstcontroller.c:
23201         * libs/gst/controller/gsthelper.c:
23202         * libs/gst/controller/gstinterpolation.c:
23203         * tools/gst-inspect.c: (print_plugin_info):
23204           we don't use dashes in header names
23205
23206 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23207
23208         * check/Makefile.am:
23209         * check/gst/.cvsignore:
23210         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23211         (gst_pipeline_suite), (main):
23212           adding a test for pipelines and state changes
23213         * gst/gstutils.c: (get_state_func):
23214           add some debugging
23215         * gstreamer.spec.in:
23216           fix up spec file
23217
23218 2005-09-08  Michael Smith <msmith@fluendo.com>
23219
23220         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23221         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23222         (gst_file_src_is_seekable), (gst_file_src_get_size),
23223         (gst_file_src_start):
23224         * gst/elements/gstfilesrc.h:
23225           Various fixes for unseekable, unmmapable, and non-normal files, so
23226           that fallback to read() rather than mmap() works.
23227         * gst/gstevent.c: (gst_event_new_newsegment):
23228           Allow newsegment events with segment_start == segment_end, as will
23229           correctly happen if you use filesrc on a zero-size file, for
23230           example.
23231
23232 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23233
23234         * gst/gstplugin.c: (gst_plugin_load_file):
23235           Call g_module_close when we don't load the module
23236
23237         * gst/registries/gstlibxmlregistry.c:
23238         (gst_xml_registry_get_property):
23239           Port leak fix from 0.8
23240
23241 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23242
23243         * docs/gst/gstreamer-docs.sgml:
23244         * docs/gst/tmpl/.cvsignore:
23245         * docs/gst/tmpl/gsttrace.sgml:
23246         * docs/gst/tmpl/gsttrashstack.sgml:
23247         * gst/Makefile.am:
23248         * gst/gst.h:
23249         * gst/gstelement.h:
23250         * gst/gstevent.h:
23251         * gst/gstmessage.c:
23252         * gst/gstmessage.h:
23253         * gst/gsttag.c:
23254         * gst/gsttag.h:
23255         * gst/gsttaginterface.c:
23256         * gst/gsttaginterface.h:
23257         * gst/gsttaglist.c:
23258         * gst/gsttaglist.h:
23259         * gst/gsttagsetter.c:
23260         * gst/gsttagsetter.h:
23261         * gst/gsttrace.c:
23262         * gst/gsttrace.h:
23263         * gst/gsttrashstack.c:
23264           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23265           inlined docs for gsttrace, gsttrashstack
23266
23267 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23268
23269         * gst/Makefile.am:
23270         * gst/elements/gstbufferstore.h:
23271         * gst/elements/gsttypefindelement.c:
23272         * gst/elements/gsttypefindelement.h:
23273         * gst/gst.h:
23274         * gst/gsttypefind.c:
23275         * gst/gsttypefind.h:
23276         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23277         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23278         (gst_type_find_factory_dispose),
23279         (gst_type_find_factory_unload_thyself),
23280         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23281         (gst_type_find_factory_get_caps),
23282         (gst_type_find_factory_get_extensions),
23283         (gst_type_find_factory_call_function):
23284         * gst/gsttypefindfactory.h:
23285         * gst/registries/gstlibxmlregistry.c:
23286         * gst/registries/gstxmlregistry.c:
23287           splitted gsttypefind into gsttypefind, gsttypefindfactory
23288
23289 2005-09-07  Andy Wingo  <wingo@pobox.com>
23290
23291         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23292         condition whereby the pad's task function is entered before the
23293         pad_mode variable was set.
23294
23295 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23296
23297         * gst/gstpad.c: (gst_pad_alloc_buffer):
23298           Catch misbehaving pad_alloc functions that don't
23299           set up caps and do it for them.
23300
23301 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23302
23303         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23304           test for pipe!=NULL
23305         * docs/gst/tmpl/.cvsignore:
23306         * docs/gst/tmpl/gstmemchunk.sgml:
23307         * docs/gst/tmpl/gstparse.sgml:
23308         * docs/gst/tmpl/gsttaglist.sgml:
23309         * docs/gst/tmpl/gsttagsetter.sgml:
23310         * docs/gst/tmpl/gsttypefind.sgml:
23311         * docs/gst/tmpl/gsttypefindfactory.sgml:
23312         * gst/gstmemchunk.c:
23313         * gst/gstparse.c:
23314         * gst/gsttag.c:
23315         * gst/gsttaginterface.c:
23316         * gst/gsttypefind.c:
23317         * gst/gsttypefind.h:
23318           inlined more docs
23319
23320 === release 0.9.2 ===
23321
23322 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23323
23324         * NEWS:
23325         * RELEASE:
23326         * configure.ac:
23327           releasing 0.9.2, "South"
23328
23329 2005-09-05  Andy Wingo  <wingo@pobox.com>
23330
23331         * gst/registries/gstxmlregistry.h:
23332         * gst/registries/gstxmlregistry.c: Um... resurrect...
23333         
23334         * gst/registries/gstxmlregistry.h:
23335         * gst/registries/gstxmlregistry.c: and update to newer API.
23336         Incidentally they should be a bit faster now that they don't have
23337         to parse the caps.
23338         
23339 2005-09-05  Andy Wingo  <wingo@pobox.com>
23340
23341         * gst/registries/gstxmlregistry.h:
23342         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23343         replaced by the libxml registry a while back
23344
23345 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23346
23347         * docs/gst/tmpl/gstplugin.sgml:
23348         * gst/elements/gstelements.c:
23349         * gst/gst.c:
23350         * gst/gstplugin.c: (gst_plugin_register_func),
23351         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23352         (gst_plugin_get_source):
23353         * gst/gstplugin.h:
23354         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23355         (gst_xml_registry_save_plugin):
23356         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23357         (gst_xml_registry_save_plugin):
23358         * tools/gst-inspect.c: (print_plugin_info):
23359           add a "source" plugin description field, to represent the source
23360           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23361           will set it to PACKAGE, which is automake's idea of the name of
23362           the source project.
23363
23364 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23365
23366         * Makefile.am:
23367         * autogen.sh:
23368         * configure.ac:
23369         * docs/Makefile.am:
23370         * docs/faq/Makefile.am:
23371         * docs/gst/tmpl/gstelement.sgml:
23372         * docs/gst/tmpl/gsttypes.sgml:
23373         * docs/htmlinstall.mak:
23374         * docs/manual/Makefile.am:
23375         * docs/pwg/Makefile.am:
23376           reorganize doc build a little
23377           split out docbook and gtk-doc stuff
23378           have two separate --enable's and enable them through autogen
23379           but disable by default in configure (to be similar to other
23380           projects)
23381         * gstreamer.spec.in:
23382           clean up docs install
23383         * po/af.po:
23384         * po/az.po:
23385         * po/ca.po:
23386         * po/cs.po:
23387         * po/de.po:
23388         * po/en_GB.po:
23389         * po/fr.po:
23390         * po/it.po:
23391         * po/nb.po:
23392         * po/nl.po:
23393         * po/ru.po:
23394         * po/sq.po:
23395         * po/sr.po:
23396         * po/sv.po:
23397         * po/tr.po:
23398         * po/uk.po:
23399         * po/vi.po:
23400           translation updates
23401
23402 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23403
23404         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23405           Add comment.
23406           
23407         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23408         (gst_fake_sink_change_state):
23409           Make state change function thread-safe.
23410           
23411         * gst/gstpad.c: (gst_pad_alloc_buffer):
23412           Set offset on generic buffer allocated by fallback.
23413
23414 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23415
23416         * docs/gst/gstreamer-sections.txt:
23417         * docs/gst/tmpl/gstelement.sgml:
23418         * gst/gstpad.c:
23419         * libs/gst/controller/gst-controller.c:
23420         (gst_controlled_property_set_interpolation_mode),
23421         (gst_controlled_property_new),
23422         (gst_controller_find_controlled_property):
23423          run the wingo-magic script against the docs
23424
23425 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23426
23427         * docs/gst/gstreamer-docs.sgml:
23428         * docs/gst/gstreamer-sections.txt:
23429         * docs/gst/tmpl/.cvsignore:
23430         * docs/gst/tmpl/gstelementdetails.sgml:
23431         * docs/gst/tmpl/gstelementfactory.sgml:
23432         * gst/gst.c:
23433         * gst/gstbus.c:
23434         * gst/gstelementfactory.c:
23435         * gst/gstelementfactory.h:
23436           merged elementdetails docs into elementfactory docs
23437           inlined both
23438
23439 2005-09-02  Andy Wingo  <wingo@pobox.com>
23440
23441         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23442         consider this enum an enum and not a flags.
23443
23444 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23445
23446         * docs/gst/gstreamer-docs.sgml:
23447         * docs/gst/tmpl/.cvsignore:
23448         * docs/gst/tmpl/gstghostpad.sgml:
23449         * docs/gst/tmpl/gstiterator.sgml:
23450         * docs/gst/tmpl/gstmacros.sgml:
23451         * docs/gst/tmpl/gstrealpad.sgml:
23452         * docs/gst/tmpl/gstregistry.sgml:
23453         * docs/gst/tmpl/gstregistrypool.sgml:
23454         * docs/gst/tmpl/gststructure.sgml:
23455         * docs/gst/tmpl/gstsystemclock.sgml:
23456         * docs/gst/tmpl/gsttrace.sgml:
23457         * gst/gstghostpad.c:
23458         * gst/gstmacros.h:
23459         * gst/gstmemchunk.c:
23460         * gst/gstmemchunk.h:
23461         * gst/gstqueue.c:
23462         * gst/gstregistry.c:
23463         * gst/gstregistrypool.c:
23464         * gst/gststructure.c:
23465         * gst/gstsystemclock.c:
23466           more docs inlined
23467
23468 2005-09-02  Andy Wingo  <wingo@pobox.com>
23469
23470         * gst/gstelement.h (GstState): Renamed from GstElementState,
23471         changed to be a normal enum instead of flags.
23472         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23473         munged to be GST_STATE_CHANGE_*.
23474         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23475         work with the new state representation.
23476         (GstStateChange): New enumeration of possible state transitions.
23477         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23478         (GstElementClass::change_state): Pass the GstStateChange along as
23479         an argument. Helps language bindings, so they don't have to use
23480         tricky lock-needing macros like GST_STATE_CHANGE ().
23481
23482         * scripts/update-states (file): New script. Run it on a file to
23483         update it for state naming and API changes. Updates files in
23484         place.
23485
23486         * All files updated for the new API.
23487
23488 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23489
23490         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23491         * gst/gstutils.c: (gst_util_set_value_from_string),
23492         (gst_util_set_object_arg):
23493           fix a bunch of unchecked return values
23494         * tools/gst-complete.c: (main):
23495         * gstreamer.spec.in:
23496           clean up a little
23497
23498 2005-09-01  Wim Taymans  <wim@fluendo.com>
23499
23500         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23501         (gst_base_sink_event), (gst_base_sink_do_sync),
23502         (gst_base_sink_handle_event):
23503         * gst/base/gstbasesink.h:
23504         Handle newsegments more correctly.
23505
23506         * gst/gstbus.c:
23507         Fix docs.
23508
23509         * gst/gstevent.c: (gst_event_new_newsegment):
23510         A newsegment cannot have a start_time of -1
23511
23512 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23513
23514         * win32/gstenumtypes.c:
23515         * win32/gstenumtypes.h:
23516           Update
23517
23518 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23519
23520         * libs/gst/controller/gst-controller.c:
23521         (gst_controlled_property_set_interpolation_mode),
23522         (gst_controlled_property_new):
23523          fixed boolean again
23524
23525 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23526
23527         * docs/faq/gst-uninstalled:
23528           add -good
23529         * gst/gstevent.c:
23530         * gst/gstevent.h:
23531           remove wrong docs
23532         * gst/gstutils.c: (gst_element_link_filtered):
23533         * gst/gstutils.h:
23534           add gst_element_link_filtered
23535
23536 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23537
23538         * docs/gst/gstreamer-docs.sgml:
23539         * docs/gst/gstreamer-sections.txt:
23540         * docs/gst/tmpl/.cvsignore:
23541         * docs/gst/tmpl/gsterror.sgml:
23542         * docs/gst/tmpl/gstfilter.sgml:
23543         * docs/gst/tmpl/gsturihandler.sgml:
23544         * docs/gst/tmpl/gsturitype.sgml:
23545         * docs/gst/tmpl/gstutils.sgml:
23546         * docs/gst/tmpl/gstxml.sgml:
23547         * gst/gsterror.c:
23548         * gst/gsterror.h:
23549         * gst/gstfilter.c:
23550         * gst/gsturi.c:
23551         * gst/gsturitype.c:
23552         * gst/gstutils.c:
23553         * gst/gstxml.c:
23554           inlined more docs, fixed double id-ref
23555
23556 2005-08-31  Wim Taymans  <wim@fluendo.com>
23557
23558         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23559         (gst_base_transform_handle_buffer):
23560         Passthrough elements don't need the caps as they don't care.
23561
23562 2005-08-31  Wim Taymans  <wim@fluendo.com>
23563
23564         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23565         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23566         Don't leak refcounts on buffers.
23567
23568 2005-08-31  Wim Taymans  <wim@fluendo.com>
23569
23570         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23571         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23572         (gst_base_transform_chain), (gst_base_transform_change_state):
23573         * gst/base/gstbasetransform.h:
23574         Handle the case where we are not negotiated more gracefully.
23575
23576 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23577
23578         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23579         (gst_file_src_map_region):
23580           Set READONLY flag on mmap'ed buffers, otherwise
23581           gst_buffer_make_writable() won't work properly (#314708).
23582
23583 2005-08-31  Wim Taymans  <wim@fluendo.com>
23584
23585         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23586         passthrough elements can even do inplace on non writable
23587         buffers (as they don't touch them).
23588
23589 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23590
23591         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23592         (gst_test_mono_source_set_property),
23593         (gst_test_mono_source_class_init), (GST_START_TEST),
23594         (gst_controller_suite):
23595           more tests (hehe I have the most)
23596         * gst/gstbus.c:
23597           describe popping messages whenusing mulltiple sources
23598         * libs/gst/controller/gst-controller.c:
23599         (gst_controlled_property_set_interpolation_mode),
23600         (gst_controlled_property_new):
23601         * libs/gst/controller/gst-controller.h:
23602         * libs/gst/controller/gst-interpolation.c:
23603           implement boolean properties
23604
23605 2005-08-31  Wim Taymans  <wim@fluendo.com>
23606
23607         * gst/gstminiobject.c: (gst_mini_object_ref):
23608         Cannot assert that the refcount has to be positive
23609         since a disposed object can be resurrected.
23610
23611 2005-08-31  Wim Taymans  <wim@fluendo.com>
23612
23613         * gst/gstpad.c: (gst_pad_init):
23614         Revert change, need to first fix badly behaving 
23615         apps.
23616
23617 2005-08-30  Wim Taymans  <wim@fluendo.com>
23618
23619         * check/elements/fakesrc.c: (setup_fakesrc):
23620         * check/elements/identity.c: (setup_identity):
23621         Activate pads before using them.
23622
23623 2005-08-30  Wim Taymans  <wim@fluendo.com>
23624
23625         * gst/base/gstadapter.c: (gst_adapter_flush):
23626         Flushing out 0 bytes is ok for this function.
23627
23628         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23629         no newsegment gives a warning and sets the start/stop to 
23630         invalid.
23631
23632         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23633         (gst_base_transform_set_passthrough):
23634         Some debug info.
23635
23636         * gst/gstminiobject.c: (gst_mini_object_ref):
23637         Check refcount here too.
23638
23639         * gst/gstpad.c: (gst_pad_init):
23640         Pads are initially flushing and refusing data.
23641
23642         * gst/gstutils.c: (gst_element_link_pads_filtered):
23643         When adding a capsfilter element make sure it has the
23644         same state as the parent bin.
23645
23646 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23647
23648         * docs/gst/tmpl/.cvsignore:
23649         * docs/gst/tmpl/gstformat.sgml:
23650         * docs/gst/tmpl/gstversion.sgml:
23651         * gst/gstbus.h:
23652         * gst/gstformat.c:
23653         * gst/gstformat.h:
23654         * gst/gstversion.h.in:
23655           more docs and two more inlined
23656
23657 2005-08-30  Wim Taymans  <wim@fluendo.com>
23658
23659         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23660         Don't sync to clock.
23661
23662 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23663
23664         * docs/gst/gstreamer-sections.txt:
23665           ultral33t func10ns deserve to appear in the docs actually
23666         * docs/gst/tmpl/.cvsignore:
23667         * docs/gst/tmpl/gstcompat.sgml:
23668         * docs/gst/tmpl/gstconfig.sgml:
23669         * gst/check/gstcheck.c:
23670         * gst/gstcompat.h:
23671         * gst/gstconfig.h.in:
23672           inlined more docs
23673
23674 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23675
23676         * docs/gst/tmpl/.cvsignore:
23677         * docs/gst/tmpl/gstquery.sgml:
23678         * docs/gst/tmpl/gstutils.sgml:
23679         * gst/gstquery.c:
23680         * gst/gstquery.h:
23681           inlined and extended docs
23682
23683 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23684
23685         * check/gst-libs/controller.c: (GST_START_TEST),
23686         (gst_controller_suite):
23687           more tests
23688         * docs/gst/tmpl/gstutils.sgml:
23689         * docs/libs/gstreamer-libs-sections.txt:
23690         * docs/libs/tmpl/gstdataprotocol.sgml:
23691           include path fixes
23692         * examples/controller/audio-example.c: (main):
23693           controller example works now
23694         * gst/gstclock.h:
23695           doc fixes
23696         * tools/gst-inspect.c: (print_element_properties_info):
23697           show param spec flags
23698
23699 2005-08-29  Andy Wingo  <wingo@pobox.com>
23700
23701         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23702
23703 2005-08-28  Andy Wingo  <wingo@pobox.com>
23704
23705         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23706         as having two arguments instead of just one. Allows superclasses
23707         to access information on subclasses -- see the terrible for() loop
23708         in gtype.c:g_type_create_instance for the reason why. All callers
23709         changed.
23710
23711 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23712
23713         * docs/design/part-messages.txt:
23714           update info
23715         * docs/gst/tmpl/.cvsignore:
23716         * docs/gst/tmpl/gstcaps.sgml:
23717         * docs/gst/tmpl/gstclock.sgml:
23718         * gst/gstbus.c:
23719         * gst/gstcaps.c:
23720         * gst/gstcaps.h:
23721         * gst/gstclock.c:
23722         * gst/gstclock.h:
23723         * gst/gstmessage.c:
23724           added descriptions for bus and message
23725           inline caps and clock docs
23726
23727 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23728
23729         * gst/gstmessage.c:
23730         * gst/gstmessage.h:
23731           doc fixes
23732
23733 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23734
23735         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23736           fix div-by-zero
23737
23738 2005-08-26  Andy Wingo  <wingo@pobox.com>
23739
23740         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23741         element_set_state's return val.
23742         (test_2_elements): Add test that's been disabled for months.
23743
23744         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23745         can-activate-pull properties.
23746
23747         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23748         can-activate-pull properties. Implement is_seekable so fakesrc can
23749         operate in pull mode.
23750
23751         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23752         properties.
23753         (gst_base_sink_activate, gst_base_sink_activate_pull)
23754         (gst_base_sink_activate_push): Make activation mode choosing work.
23755         Cleanups.
23756         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23757         is right. Make pull mode work. Post an eos before pausing in pull
23758         mode.
23759         (gst_base_sink_change_state): Pay attention to the core's
23760         change_state() return val.
23761         
23762         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23763         has-getrange properties. Cleanups.
23764         
23765         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23766         has_getrange and replace with can_activate_pull and
23767         can_activate_push.
23768
23769         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23770         locking comments. Remove has_loop, has_chain and replace with
23771         can_activate_pull and can_activate_push.
23772
23773 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
23774
23775         * configure.ac:
23776         * examples/Makefile.am:
23777         * examples/metadata/Makefile.am:
23778         * examples/metadata/read-metadata.c: (message_loop),
23779         (have_pad_handler), (make_pipeline), (print_tag), (main):
23780           Add metadata reading example that loops over a list of filenames,
23781           dumping any tags found.
23782
23783         * gst/gstbus.c: (gst_bus_dispose):
23784         * gst/gstelement.c: (gst_element_dispose):
23785           Release a few potentially-held references in dispose.
23786
23787 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23788
23789         * docs/gst/tmpl/gstminiobject.sgml:
23790           do *not* add tmpl/*.sgml files to CVS!
23791
23792 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23793
23794         * libs/gst/bytestream/.cvsignore:
23795         * libs/gst/bytestream/Makefile.am:
23796         * libs/gst/bytestream/adapter.c:
23797         * libs/gst/bytestream/adapter.h:
23798         * libs/gst/bytestream/bytestream.c:
23799         * libs/gst/bytestream/bytestream.h:
23800         * libs/gst/bytestream/filepad.c:
23801         * libs/gst/bytestream/filepad.h:
23802           removing obsolete files
23803
23804 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23805
23806         * docs/gst/gstreamer-docs.sgml:
23807         * docs/libs/gstreamer-libs-docs.sgml:
23808           disabed additional index entries again, as this makes docs-gen just
23809           slow and they aren't useful yet
23810         * docs/libs/gstreamer-libs-sections.txt:
23811           little -section.txt cleanup for libs
23812
23813 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
23814
23815         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23816         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23817           fix up some debugging
23818         (gst_base_transform_get_unit_size),
23819         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23820         (gst_base_transform_handle_buffer):
23821         * gst/base/gstbasetransform.h:
23822           handle and store timed NEWSEGMENT events so that subclasses that
23823           calculate time by counting samples have a segment_start time they
23824           need to add to their timestamps - see audioresample
23825
23826 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23827
23828         * gst/gstbin.h:
23829           removed ';' from the end of macro defs
23830         * docs/gst/gstreamer-docs.sgml:
23831         * docs/gst/gstreamer-sections.txt:
23832         * docs/gst/tmpl/.cvsignore:
23833         * gst/gstbus.h:
23834         * gst/gstelement.c: (gst_element_class_init),
23835         (gst_element_set_state), (activate_pads),
23836         (gst_element_save_thyself):
23837         * gst/gstevent.c: (gst_event_new_newsegment):
23838         * gst/gstevent.h:
23839         * gst/gstiterator.c:
23840         * gst/gstiterator.h:
23841         * gst/gstpad.c:
23842         * gst/gstprobe.h:
23843         * gst/gstutils.c: (gst_pad_query_convert):
23844         * gst/gstutils.h:
23845           fixed parameter name mismatches between source, header and docs
23846           added some more docs, resolved the last batch of unused elements in
23847           docs (now someone needs to doc them)
23848
23849 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23850
23851         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23852         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23853           don't walk through the plugins backwards.  Where is all this
23854           reversed logic coming from ?
23855
23856 2005-08-25  Wim Taymans  <wim@fluendo.com>
23857
23858         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23859         (gst_base_transform_transform_size),
23860         (gst_base_transform_configure_caps),
23861         (gst_base_transform_get_unit_size),
23862         (gst_base_transform_buffer_alloc),
23863         (gst_base_transform_change_state):
23864         * gst/base/gstbasetransform.h:
23865         Cache caps unit_size.
23866         Make sure we cannot negotiate up and downstream at the
23867         same time.
23868
23869 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23870
23871         * gst/gst.c: (init_pre), (init_post):
23872           register the installed plugin path after the env var
23873         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23874         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23875           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23876           directories, so the tests can prefer uninstalled over installed
23877
23878 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23879
23880         * gst/base/gstbasetransform.h:
23881           comment
23882         * gst/gstpad.c:
23883           add to docs
23884
23885 2005-08-25  Wim Taymans  <wim@fluendo.com>
23886
23887         * gst/gstbin.c: (bin_bus_handler):
23888         Be a bit more conservative about the posted message.
23889         
23890         * gst/gstbus.c: (gst_bus_post):
23891         Some cleanups, warn wrong return values.
23892
23893 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
23894
23895         * check/gst/gstbin.c: (GST_START_TEST):
23896         * gst/gstbin.c: (bin_bus_handler):
23897         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23898         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23899         (gst_message_new_warning), (gst_message_new_tag),
23900         (gst_message_new_state_changed), (gst_message_new_segment_start),
23901         (gst_message_new_segment_done), (gst_message_new_custom):
23902         * gst/gstmessage.h:
23903         * tools/gst-launch.c: (event_loop):
23904         * tools/gst-md5sum.c: (event_loop):
23905           Revert unpopular change for GST_MESSAGE_SRC to GObject.
23906
23907 2005-08-25  Wim Taymans  <wim@fluendo.com>
23908
23909         * check/generic/states.c: (GST_START_TEST):
23910         Cleanup can be done at the end.
23911
23912         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
23913         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23914         (gst_task_get_state), (gst_task_start), (gst_task_pause):
23915         Oh boy.. Thanks for finding this, Thomas. 
23916
23917 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23918
23919         * docs/gst/gstreamer.types:
23920           added missing types
23921
23922 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23923
23924         * docs/gst/gstreamer-docs.sgml:
23925         * docs/gst/gstreamer-sections.txt:
23926         * docs/gst/tmpl/.cvsignore:
23927         * gst/gstbin.c:
23928         * gst/gstiterator.c:
23929         * gst/gstutils.c:
23930         * gst/registries/gstxmlregistry.h:
23931           added missing classes and symbols (123 more to go)
23932           removed removed symbols from section file
23933           fixed many doc-comments
23934
23935 2005-08-24  Wim Taymans  <wim@fluendo.com>
23936
23937         * check/generic/states.c: (GST_START_TEST):
23938         Make sure all tasks are stopped.
23939
23940         * check/gst/gstbin.c: (GST_START_TEST):
23941         Unref after usage for proper valgrinding.
23942
23943         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
23944         Really wait for the task to stop before destroying the
23945         mutex.
23946
23947         * gst/gstqueue.c: (gst_queue_sink_activate_push),
23948         (gst_queue_src_activate_push):
23949         Small cleanups. Don't stop the task when we did not start
23950         it.
23951
23952         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
23953         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23954         (gst_task_get_state), (gst_task_start), (gst_task_pause),
23955         (gst_task_join):
23956         * gst/gsttask.h:
23957         Protect the stream lock with the object lock.
23958         Disallow setting the stream lock when running.
23959         Add cleanup_all to wait for the threadpool to finish.
23960         Remove code to autoallocate a mutex if none was provided.
23961         Add _join() to wait for a task to stop.
23962         Protect the thread pool with a global lock.
23963
23964 2005-08-24  Wim Taymans  <wim@fluendo.com>
23965
23966         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23967         (gst_base_sink_get_times), (gst_base_sink_do_sync),
23968         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
23969         * gst/base/gstbasesink.h:
23970         Handle newsegment events correctly.
23971         Drop buffers out of the segment range.
23972
23973 2005-08-22  Andy Wingo  <wingo@pobox.com>
23974
23975         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
23976         macro, implements an interface and gstimplementsinterface for a
23977         new type.
23978
23979 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23980
23981         * check/Makefile.am:
23982         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
23983           add a test that does a bunch of state changes on elements
23984           needs some fixing for valgrind
23985         * check/states/sinks.c: (gst_object_suite):
23986           whitespace
23987         * gst/gstcaps.h:
23988           add prototype for gst_caps_is_equal_fixed
23989         * gst/gstplugin.c:
23990         * gst/gstregistrypool.c:
23991           doc fixes
23992
23993 2005-08-24  Andy Wingo  <wingo@pobox.com>
23994
23995         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
23996         convert a negative value. Doesn't make much sense. Mostly this is
23997         here to force callers to ensure -1 maps to -1.
23998
23999 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24000
24001         * docs/pwg/advanced-types.xml:
24002           Well done to Michael for catching my deliberate introduction
24003           of this spelling mistake. 
24004         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24005         * gst/gstelement.h:
24006           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24007           unlink pads before removing the element from the bin.
24008
24009 2005-08-24  Andy Wingo  <wingo@pobox.com>
24010
24011         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24012         the same thing as GST_DEBUG=*:4.
24013         (parse_debug_level, parse_debug_category): New helper parsers.
24014
24015 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24016
24017         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24018         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24019         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24020         (gst_base_transform_buffer_alloc),
24021         (gst_base_transform_handle_buffer):
24022           use gboolean return values and pointers to size so we can use the
24023           full GST_BUFFER_SIZE range (guint) for buffer sizes
24024           use GstPadDirection for transform_caps
24025         * gst/base/gstbasetransform.h:
24026           rename get_size to get_unit_size since that's what it is
24027         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24028           use GstPadDirection for transform_caps
24029         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24030         * gst/gstutils.h:
24031           cleanup and debugging
24032
24033 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24034
24035         * gst/gstelement.c: (gst_element_class_init),
24036         (gst_element_set_state), (activate_pads),
24037         (gst_element_save_thyself):
24038         * tools/gst-compprep.c: (main):
24039         * tools/gst-inspect.c: (print_element_properties_info):
24040         * tools/gst-xmlinspect.c: (print_element_properties):
24041           Fixed long standing mem-leak
24042
24043 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24044
24045         * check/gst/gstbin.c: (GST_START_TEST):
24046         * gst/gstbin.c: (bin_bus_handler):
24047         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24048         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24049         (gst_message_new_warning), (gst_message_new_tag),
24050         (gst_message_new_state_changed), (gst_message_new_segment_start),
24051         (gst_message_new_segment_done), (gst_message_new_custom):
24052         * gst/gstmessage.h:
24053         * tools/gst-launch.c: (event_loop):
24054         * tools/gst-md5sum.c: (event_loop):
24055           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24056           that applications can sensibly post custom messages with references
24057           to their own objects.
24058
24059 2005-08-24  Andy Wingo  <wingo@pobox.com>
24060
24061         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24062         already.
24063
24064 2005-08-24  Wim Taymans  <wim@fluendo.com>
24065
24066         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24067         (gst_base_transform_transform_caps),
24068         (gst_base_transform_transform_size),
24069         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24070         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24071         (gst_base_transform_handle_buffer):
24072         * gst/base/gstbasetransform.h:
24073         Many fixes and new features added by Thomas. Can now also do
24074         transforms with variable sizes and a custom fixate_caps function.
24075
24076 2005-08-24  Wim Taymans  <wim@fluendo.com>
24077
24078         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24079         Some debugging.
24080
24081         * gst/gstclock.h:
24082         Cast to ClockTime before formatting to time.
24083
24084         * gst/gstutils.h:
24085         Cleanups.
24086
24087 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24088
24089         * check/gst-libs/controller.c: (GST_START_TEST),
24090         (gst_controller_suite):
24091         * docs/gst/tmpl/gstcaps.sgml:
24092         * docs/gst/tmpl/gstghostpad.sgml:
24093         * docs/gst/tmpl/gstquery.sgml:
24094         * docs/gst/tmpl/gstutils.sgml:
24095         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24096         (gst_object_sink_values), (gst_object_get_value_arrays),
24097         (gst_object_get_value_array):
24098           gracefully handle helper method calls to objects that are not beeing
24099           controlled, added test case for that          
24100
24101 2005-08-23  Wim Taymans  <wim@fluendo.com>
24102
24103         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24104         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24105         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24106         (gst_event_parse_qos), (gst_event_new_seek),
24107         (gst_event_parse_seek):
24108         * gst/gstevent.h:
24109         Some more debugging output and doc cleanups.
24110
24111         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24112         Fix possible deadlock.
24113
24114 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24115
24116         * docs/gst/gstreamer-docs.sgml:
24117         * docs/gst/gstreamer-sections.txt:
24118         * docs/gst/gstreamer.types:
24119         * docs/gst/tmpl/.cvsignore:
24120         * gst/gstbin.h:
24121         * gst/gstbus.c:
24122         * gst/gstelement.c:
24123         * gst/gstevent.h:
24124           added 100 symbols from gstreamer-unused.txt to the right sections
24125           fixed more broken comments
24126           added GstBus to docs
24127
24128 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24129
24130         * docs/gst/gstreamer-sections.txt:
24131         * docs/gst/tmpl/.cvsignore:
24132         * docs/gst/tmpl/gstbin.sgml:
24133         * docs/gst/tmpl/gstbuffer.sgml:
24134         * gst/base/gstbasesrc.c:
24135         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24136         * gst/gstbuffer.c:
24137         * gst/gstbuffer.h:
24138         * tools/gst-launch.1.in:
24139           inlined more doc comments, added missing comments and fixed comments
24140           fixed typos
24141
24142 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24143
24144         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24145           some debugging
24146         * gst/gstcaps.h:
24147           whitespace fixes
24148         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24149           more debugging
24150         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24151         * gst/gststructure.h:
24152           add a fixate function for booleans; add a FIXME that these func
24153           names should probably be gst_structure_fixate_*
24154
24155 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24156
24157         * docs/gst/gstreamer-docs.sgml:
24158         * docs/gst/gstreamer-sections.txt:
24159         * gst/Makefile.am:
24160         * gst/gstbin.c: (gst_bin_get_type),
24161         (gst_bin_child_proxy_get_child_by_index),
24162         (gst_bin_child_proxy_get_children_count),
24163         (gst_bin_child_proxy_init):
24164         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24165         (gst_child_proxy_get_child_by_index),
24166         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24167         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24168         (gst_child_proxy_get), (gst_child_proxy_set_property),
24169         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24170         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24171         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24172         * gst/gstchildproxy.h:
24173         * gst/parse/grammar.y:
24174         * tools/gst-inspect.c: (print_interfaces),
24175         (print_element_properties_info), (print_element_info):
24176           ported gstchildproxy over from 0.8
24177           ported gst-inspect fixes and enhancements over from 0.8
24178
24179 2005-08-22  Wim Taymans  <wim@fluendo.com>
24180
24181         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24182         (gst_base_transform_handle_buffer):
24183         Also call the transform function if we have ANY caps.
24184
24185         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24186         Fix debug info.
24187
24188 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24189
24190         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24191           Don't pretend to handle seek events if the source is not seekable
24192
24193 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24194
24195         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24196           Remove extra parameter to debug output
24197
24198         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24199         (gst_base_src_do_seek), (gst_base_src_activate_push):
24200           Fix seek event handling.
24201
24202         * gst/gstpipeline.c: (gst_pipeline_change_state):
24203         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24204         (gst_queue_src_activate_push):
24205           Don't start the src pad task on FLUSH_STOP if the pad
24206           isn't linked.
24207           Debug changes.
24208
24209 2005-08-22  Wim Taymans  <wim@fluendo.com>
24210
24211         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24212         Added check for gst_static_caps_get() refcounting.
24213
24214 2005-08-22  Wim Taymans  <wim@fluendo.com>
24215
24216         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24217         Make _static_caps_get() refcounting sane.
24218         
24219         * gst/gstelement.c: (gst_element_set_state):
24220         Add g_return_val_if_fail() to protect against segfaults.
24221
24222 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24223
24224         * docs/gst/tmpl/gstevent.sgml:
24225         * gst/gstevent.c:
24226         * gst/gstevent.h:
24227           inlined remaining docs, added missing doc comments
24228
24229 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24230
24231         * check/gst/gstbin.c: (GST_START_TEST):
24232           since we don't know when preroll is done, use refcount range
24233           check for the sink
24234         * gst/check/gstcheck.h:
24235           add macro for checking refcount range
24236
24237 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24238
24239         * check/Makefile.am:
24240           clean up environment for when registry gets built versus
24241           when actual tests are run; valgrind seems to not report
24242           leaks if GST_PLUGIN_PATH is set to some specific values
24243         * check/gst/gstbin.c: (GST_START_TEST):
24244           add more refcounting checks; maybe this exposes a
24245           preroll lock bug ?
24246         * common/check.mak:
24247         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24248         * gst/check/gstcheck.h:
24249         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24250         (gst_bin_change_state):
24251         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24252           add/fix debugging/whitespace
24253
24254 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24255
24256         * check/gst/gstevent.c: (event_probe), (test_event),
24257         (GST_START_TEST):
24258          Er, don't call gst_bin_watch_for_state_change you idiot.
24259
24260 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24261
24262         * check/Makefile.am:
24263           Use CHECK_CFLAGS and CHECK_LIBS
24264         * check/gst/gstevent.c: (event_probe), (test_event),
24265         (GST_START_TEST):
24266           Don't leak events.
24267         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24268         (gst_base_src_start), (gst_base_src_stop),
24269         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24270         (gst_base_src_change_state):
24271           Sprinkle gst_base_src_stop liberally around error paths to fix
24272           problems reusing a source after failed state changes.
24273         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24274         (helper_find_suggest), (gst_type_find_helper):
24275           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24276         * gst/gstevent.h:
24277         * docs/gst/tmpl/gstevent.sgml:
24278           Migrate part of the docs from the SGML file. Wait for ensonic to
24279           tell me how I did it wrong ;)
24280         * tools/gst-typefind.c: (main):
24281           Extra robustness to state changes between files.
24282
24283 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24284
24285         * check/Makefile.am:
24286           don't valgrind the controller test - it's leaking - Stefan, HELP
24287         * gst/check/gstcheck.c: (gst_check_message_error),
24288         (gst_check_chain_func), (gst_check_setup_element),
24289         (gst_check_teardown_element), (gst_check_setup_src_pad),
24290         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24291         (gst_check_teardown_sink_pad):
24292         * gst/check/gstcheck.h:
24293           add a bunch of methods to set up elements, and src and sink pads
24294         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24295         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24296         (GST_START_TEST):
24297           use them
24298         * gst/gstmessage.c:
24299         * gst/gsttag.h:
24300           whitespace/doc fixes
24301
24302 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24303
24304         * gst/gstelement.h:
24305           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24306           be handled by the application and not always printed as well
24307
24308 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24309
24310         * check/Makefile.am:
24311           set GST_TOOLS_DIR
24312         * gst/check/gstcheck.c: (gst_check_message_error):
24313         * gst/check/gstcheck.h:
24314           add a fail_unless_equals_int
24315           add fail_unless for error messages
24316
24317 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24318
24319         * check/Makefile.am:
24320         * check/gst.supp:
24321         * common/Makefile.am:
24322         * common/check.mak:
24323         * common/gst.supp:
24324           factor out some of the common stuff so we can use it
24325
24326 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24327
24328         * check/Makefile.am:
24329         * check/gst/gstiterator.c: (GST_START_TEST):
24330         * check/gst/gstsystemclock.c: (GST_START_TEST),
24331         (gst_systemclock_suite):
24332         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24333         * gst/gstclock.c:
24334           valgrind more tests
24335
24336 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24337
24338         * check/elements/.cvsignore:
24339         * check/elements/gstfakesrc.c:
24340           rename to name of element
24341         * check/elements/identity.c: (chain_func), (event_func),
24342         (setup_identity), (cleanup_identity), (GST_START_TEST),
24343         (identity_suite), (main):
24344           add a test for identity
24345         * check/Makefile.am:
24346         * pkgconfig/Makefile.am:
24347         * pkgconfig/gstreamer-check.pc.in:
24348         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24349         * gst/check:
24350         * gst/Makefile.am:
24351         * configure.ac:
24352           move the check stuff to a library that gets installed
24353         * check/gst-libs/controller.c: (GST_START_TEST):
24354         * check/gst-libs/gdp.c:
24355         * check/gst/gst.c: (GST_START_TEST):
24356         * check/gst/gstbin.c:
24357         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24358         * check/gst/gstbus.c:
24359         * check/gst/gstcaps.c: (GST_START_TEST):
24360         * check/gst/gstelement.c:
24361         * check/gst/gstghostpad.c:
24362         * check/gst/gstiterator.c:
24363         * check/gst/gstmessage.c:
24364         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24365         * check/gst/gstobject.c:
24366         * check/gst/gstpad.c: (GST_START_TEST):
24367         * check/gst/gststructure.c: (GST_START_TEST):
24368         * check/gst/gstsystemclock.c: (GST_START_TEST),
24369         (gst_systemclock_suite):
24370         * check/gst/gsttag.c: (gst_tag_suite):
24371         * check/gst/gstvalue.c:
24372         * check/pipelines/cleanup.c:
24373         * check/pipelines/simple_launch_lines.c:
24374         * check/states/sinks.c:
24375           change include statement
24376
24377         * docs/gst/gstreamer-sections.txt:
24378         * docs/gst/tmpl/gstpad.sgml:
24379           document more pad stuff
24380         * gst/gstminiobject.c: (gst_mini_object_ref),
24381         (gst_mini_object_unref):
24382           debug refcounting
24383
24384 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24385
24386         * docs/gst/tmpl/gst.sgml:
24387         * gst/gst.c:
24388           eliminate another tmpl file, fix spelling in the long-description
24389
24390 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24391
24392         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24393         (test_event), (timediff), (gstevents_suite):
24394           Should fix build on 64-bit arch's
24395
24396 2005-08-18  Andy Wingo  <wingo@pobox.com>
24397
24398         Make sure that when a pipeline goes to PLAYING, that data has
24399         actually hit the sink.
24400
24401         * check/states/sinks.c (test_sink): A sink that doesn't get any
24402         data shouldn't return SUCCESS for going to either PLAYING or
24403         PAUSED. Test also the return values on the way back down.
24404
24405         * gst/gstelement.c (gst_element_set_state): When changing the
24406         state of an element currently changing state asynchronously, go to
24407         lost-state after commiting the pending state. Makes future calls
24408         to get_state continue to return ASYNC.
24409
24410         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24411         ASYNC when going to PLAYING if we still don't have preroll, as can
24412         happen with live sources.
24413
24414 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24415
24416         * docs/pwg/advanced-types.xml:
24417           Hack long paragraph into 2 chunks as a workaround for buggy
24418           jadetex version in sid and breezy that loops infinitely and
24419           eats all RAM.
24420
24421 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24422
24423         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24424         (test_event), (timediff), (gstevents_suite):
24425           Provide more error margin in clock measurements to allow for 
24426           g_get_current_time inaccuracies.
24427
24428 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24429
24430         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24431         (test_event), (timediff), (gstevents_suite):
24432            Fix error message output so I might be able to tell why the
24433            test works here but fails on the build farm.
24434
24435 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24436
24437         * check/Makefile.am:
24438         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24439         (test_event), (timediff), (gstevents_suite), (main):
24440           I wrote a test!
24441
24442         * docs/design/part-seeking.txt:
24443           Spelling correction
24444
24445         * docs/gst/tmpl/gstevent.sgml:
24446         * docs/gst/tmpl/gstfakesrc.sgml:
24447           Docs updates.
24448
24449         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24450           Treat a buffer-without-newsegment the same as a receiving 
24451           a newsegment not in time format, and disable syncing to the clock
24452           with a warning.
24453
24454         * gst/gstbus.c: (gst_bus_set_sync_handler):
24455           Assert if anyone tries to replace the existing sync_handler for bus, 
24456           as only the owner should be setting it.
24457
24458         * gst/gstevent.h:
24459           Have a fixed set of custom event enums with events identified by
24460           their structure name (as in 0.8), rather than a free-for-all
24461           allowing collisions between enum values from different plugins.
24462
24463         * gst/gstpad.c: (gst_pad_class_init):
24464           Docs change.
24465           
24466         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24467           Handle out-of-band downstream events from the sending thread.
24468
24469 2005-08-17  Andy Wingo  <wingo@pobox.com>
24470
24471         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24472         play-timeout==0 to mean no timeout at all. In that case, don't
24473         bother with a get_state or a warning, just return directly, even
24474         if it's ASYNC.
24475
24476         * gst/base/gstbasetransform.c: Debug changes.
24477
24478         * gst/gstutils.h:
24479         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24480         ensure bins post state change messages. A bit of a hack but I can't
24481         think of a way to avoid it.
24482
24483         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24484
24485 2005-08-16  Andy Wingo  <wingo@pobox.com>
24486
24487         * gst/base/gstadapter.h:
24488         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24489         peek() but you own the data. Not terribly efficient atm.
24490
24491 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24492
24493         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24494         (gst_element_found_tags):
24495         * gst/gstutils.h:
24496           Add two utility functions for tag handling.
24497
24498 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24499
24500         * docs/manual/advanced-dataaccess.xml:
24501         * docs/manual/basics-helloworld.xml:
24502           Fix docs to use _bin_add() before _link(), which fixes the examples
24503           with recent core versions (reported by Madhan Raj M
24504           <raj_madan@rediffmail.com>, #313199).
24505
24506 2005-08-16  Wim Taymans  <wim@fluendo.com>
24507
24508         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24509         Added subtract checks.
24510
24511         * docs/design/part-events.txt:
24512         Some more docs about newsegment
24513
24514         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24515         Fix FIXME
24516
24517         * gst/gstcaps.c: (gst_caps_to_string):
24518         Add comments, cleanups.
24519         
24520         * gst/gstelement.c: (gst_element_save_thyself):
24521         cleanups
24522         
24523         * gst/gstvalue.c: (gst_value_collect_int_range),
24524         (gst_string_unwrap), (gst_value_union_int_int_range),
24525         (gst_value_union_int_range_int_range),
24526         (gst_value_intersect_int_int_range),
24527         (gst_value_intersect_int_range_int_range),
24528         (gst_value_intersect_double_double_range),
24529         (gst_value_intersect_double_range_double_range),
24530         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24531         (gst_value_subtract_int_range_int),
24532         (gst_value_subtract_double_range_double),
24533         (gst_value_subtract_double_range_double_range),
24534         (gst_value_subtract_from_list), (gst_value_subtract_list),
24535         (gst_value_can_compare), (gst_value_compare_fraction):
24536         Cleanups, add comments, remove unneeded asserts.
24537
24538 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24539
24540         * tools/gst-launch.c: (event_loop):
24541           don't convert NULL structures to strings
24542
24543 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24544
24545         * docs/gst/gstreamer-sections.txt:
24546           made some defines private
24547         * docs/gst/tmpl/gstconfig.sgml:
24548         * docs/gst/tmpl/gstqueue.sgml:
24549         * docs/gst/tmpl/gsttaglist.sgml:
24550         * docs/gst/tmpl/gsttypes.sgml:
24551         * docs/gst/tmpl/gstutils.sgml:
24552         * docs/pwg/appendix-porting.xml:
24553         * gst/base/gstbasesink.h:
24554         * gst/base/gstbasesrc.c:
24555         * gst/base/gstbasesrc.h:
24556         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24557         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24558         * gst/gstelement.c: (gst_element_class_init):
24559         * gst/gstpad.c: (gst_pad_class_init):
24560         * gst/gstqueue.c: (gst_queue_class_init):
24561         * gst/gstxml.c: (gst_xml_class_init):
24562           documented all undocumented signal inline
24563         * libs/gst/controller/gst-controller.h:
24564           added padding
24565
24566 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24567
24568         * docs/pwg/appendix-porting.xml:
24569           Document _set_link_function -> _set_setcaps_function.
24570
24571 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24572
24573         * check/Makefile.am:
24574           add a .check target for running the check
24575         * check/gst-libs/controller.c: (GST_START_TEST):
24576           cosmetic fixups
24577         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24578           complete checks for gstbuffer; would be nice if I could get the
24579           gcov stuff to work so I can see if I actually completed gstbuffer.c
24580         * check/gstcheck.h:
24581           add ASSERT_BUFFER_REFCOUNT
24582
24583 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24584
24585         * docs/gst/gstreamer-sections.txt:
24586         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24587         * gst/gsttag.h:
24588           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24589           spew out a warning if a tag that is already registered
24590           is re-registered, unless it is re-registered with a 
24591           different type (#308438).
24592
24593 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24594
24595         * docs/pwg/appendix-porting.xml:
24596         * docs/pwg/building-state.xml:
24597           Add some paragraphs about state changes in 0.9 to the PWG
24598           and the porting guide, in particular about the new meaning
24599           of GST_STATE_PAUSED and how to write state change functions
24600           with concurrent access by multiple threads in mind.
24601
24602 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24603
24604         * docs/gst/gstreamer-docs.sgml:
24605         * docs/libs/gstreamer-libs-docs.sgml:
24606           added deprecation and since indexes
24607         * libs/gst/controller/gst-controller.c:
24608         * libs/gst/controller/gst-helper.c:
24609           added since tags
24610
24611
24612 2005-08-11  Wim Taymans  <wim@fluendo.com>
24613
24614         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24615         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24616         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24617         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24618         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24619         (gst_ghost_pad_set_target):
24620         Actually implement (re)setting the target on a ghostpad
24621         as described in the docs.
24622
24623 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24624
24625         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24626           Check whether GST_DEBUG_NO_COLOR environment variable is
24627           set and disable coloured debug output if that is the case.
24628
24629 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24630
24631         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24632         (gst_type_find_helper):
24633           The memory returned by gst_type_find_peek() needs to
24634           stay valid until the end of a typefind function, and
24635           typefind functions may keep results from different 
24636           offsets around, so we can't just unref the buffer from
24637           the previous _peek(), but have to save all buffers 
24638           returned by _peek() until typefinding is done and only
24639           free them then.
24640
24641 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
24642
24643         * docs/gst/gstreamer-sections.txt:
24644         * gst/gstutils.h:
24645           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24646
24647 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24648
24649         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24650           Fix a pretty good memleak.
24651
24652 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24653
24654         * gst/gstiterator.h:
24655           Fix wrong include and 'make distcheck'.
24656
24657 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24658
24659         * gst/gstbin.c: (bin_bus_handler):
24660           Use gst_element_post_message() instead.
24661
24662 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24663
24664         * gst/base/gstadapter.h:
24665         * gst/base/gstbasesink.h:
24666         * gst/base/gstbasesrc.h:
24667         * gst/base/gstbasetransform.h:
24668         * gst/base/gstcollectpads.h:
24669         * gst/base/gstpushsrc.h:
24670         * gst/gstiterator.h:
24671           Add padding to our base elements' class and instance structs and
24672           to GstIterator (you will need to rebuild all plugins and apps!)
24673
24674 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24675
24676         * gst/gstbin.c: (bin_bus_handler):
24677           Make default message forwarding from child->bus to bin->bus
24678           threadsafe and make it not emit warnings if the parent has no bus.
24679
24680 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24681
24682         * gst/gstelement.c: (activate_pads):
24683           On paused->ready, set pad->caps to NULL, as is the documented
24684           behaviour in this state change. Fixes playback of series of
24685           media files when visualization is enabled in Totem.
24686
24687 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24688
24689         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24690           Allow NULL as filter-caps (which means "any").
24691
24692 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24693
24694         * docs/libs/gstreamer-libs-sections.txt:
24695         * libs/gst/controller/gst-controller.c:
24696         * libs/gst/controller/gst-controller.h:
24697         * libs/gst/controller/gst-helper.c:
24698           adding more entries to the docs and fix small doc-bugs
24699
24700 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24701
24702         * docs/gst/gstreamer-docs.sgml:
24703         * docs/gst/gstreamer-sections.txt:
24704         * docs/gst/gstreamer.types:
24705         * docs/gst/tmpl/gstbasesink.sgml:
24706         * docs/gst/tmpl/gstbasesrc.sgml:
24707         * docs/gst/tmpl/gstbasetransform.sgml:
24708         * docs/gst/tmpl/gstfakesrc.sgml:
24709         * gst/base/gstcollectpads.c:
24710         * gst/base/gstcollectpads.h:
24711         * libs/gst/controller/gst-controller.c:
24712         * libs/gst/controller/gst-controller.h:
24713         * libs/gst/controller/gst-helper.c:
24714         * libs/gst/controller/gst-interpolation.c:
24715         * libs/gst/controller/lib.c:
24716           added long/short desc for controller docs
24717           added collectpads base class docs
24718           added correct includes to base-class docs
24719
24720 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24721
24722         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24723         (gst_test_mono_source_set_property),
24724         (gst_test_mono_source_class_init), (GST_START_TEST),
24725         (gst_controller_suite):
24726         * docs/gst/gstreamer-docs.sgml:
24727         * docs/gst/gstreamer-sections.txt:
24728         * docs/gst/gstreamer.types:
24729         * docs/libs/gstreamer-libs-docs.sgml:
24730         * docs/libs/gstreamer-libs-sections.txt:
24731         * gst/base/gstadapter.c:
24732         * libs/gst/controller/gst-controller.c:
24733         (gst_controlled_property_new), (gst_controlled_property_free),
24734         (gst_controller_new_valist),
24735         (gst_controller_remove_properties_valist),
24736         (gst_controller_sink_values), (_gst_controller_finalize):
24737         * libs/gst/controller/gst-controller.h:
24738         * libs/gst/controller/gst-helper.c:
24739         (gst_object_control_properties), (gst_object_uncontrol_properties),
24740         (gst_object_get_controller), (gst_object_set_controller),
24741         (gst_object_sink_values), (gst_object_get_value_arrays),
24742         (gst_object_get_value_array):
24743           more tests (and fixes) for the controller
24744           more docs for the controller
24745           integrated companies docs for the adapter 
24746
24747 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24748
24749         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24750         (GST_START_TEST), (fakesrc_suite):
24751           add tests for sizetype
24752
24753 2005-08-04  Andy Wingo  <wingo@pobox.com>
24754
24755         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24756         fixes buffer_alloc proxying among other things.
24757
24758         * gst/base/gstbasetransform.c:
24759         * gst/base/gstbasetransform.h:
24760         Revert patch to gstbasetransform from 7-28 removing
24761         delay_configure.
24762
24763         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24764         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24765         Semantics changed, should return not the size of the output buffer
24766         but the byte size of a buffer with a given caps.
24767
24768         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24769         debug object.
24770         (gst_base_transform_configure_caps): Don't set out_size here: (in,
24771         out) are not the pad caps until setcaps finishes.
24772         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24773         not-in-place case as well. Deal with changing from in-place to
24774         not-in-place within calling pad_alloc_buffer. Still a bit
24775         concerned about the overhead here...
24776
24777 2005-08-03  Andy Wingo  <wingo@pobox.com>
24778
24779         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24780         fixating is an error.
24781
24782 2005-08-04  Edward Hervey  <edward@fluendo.com>
24783
24784         * gst/base/gstadapter.h: 
24785         Added gst_adapter_get_type() to the header
24786
24787 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24788
24789         * check/Makefile.am:
24790         * check/gst-libs/controller.c:
24791         * libs/gst/controller/gst-controller.c:
24792         (gst_controller_new_valist):
24793           added check test suite for the controller
24794         * gst/base/gstpushsrc.c:
24795           fixed a doc typo
24796
24797 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24798
24799         * docs/gst/Makefile.am:
24800         * docs/gst/gstreamer-docs.sgml:
24801         * docs/gst/gstreamer-sections.txt:
24802         * docs/gst/gstreamer.types:
24803         * docs/gst/tmpl/gstfakesrc.sgml:
24804         * gst/base/README:
24805         * gst/base/gstbasesink.c:
24806         * gst/base/gstbasesink.h:
24807         * gst/base/gstbasesrc.c:
24808         * gst/base/gstbasesrc.h:
24809         * gst/base/gstbasetransform.c:
24810         * gst/base/gstpushsrc.c:
24811         * gst/base/gstpushsrc.h:
24812           add short/long description docs to base classes
24813           add pushsrc to the docs
24814           remove consolidated doc fragments
24815
24816 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24817
24818         * configure.ac:
24819         * docs/libs/Makefile.am:
24820         * docs/libs/gstreamer-libs-docs.sgml:
24821         * docs/libs/gstreamer-libs-sections.txt:
24822         * docs/libs/gstreamer-libs.types:
24823         * examples/Makefile.am:
24824         * examples/controller/.cvsignore:
24825         * examples/controller/Makefile.am:
24826         * examples/controller/audio-example.c: (main):
24827         * libs/gst/Makefile.am:
24828         * libs/gst/controller/.cvsignore:
24829         * libs/gst/controller/Makefile.am:
24830         * libs/gst/controller/gst-controller.c:
24831         (on_object_controlled_property_changed), (gst_timed_value_compare),
24832         (gst_timed_value_find),
24833         (gst_controlled_property_set_interpolation_mode),
24834         (gst_controlled_property_new), (gst_controlled_property_free),
24835         (gst_controller_find_controlled_property),
24836         (gst_controller_new_valist), (gst_controller_new),
24837         (gst_controller_remove_properties_valist),
24838         (gst_controller_remove_properties), (gst_controller_set),
24839         (gst_controller_set_from_list), (gst_controller_unset),
24840         (gst_controller_get), (gst_controller_get_all),
24841         (gst_controller_sink_values), (gst_controller_get_value_arrays),
24842         (gst_controller_get_value_array),
24843         (gst_controller_set_interpolation_mode),
24844         (_gst_controller_finalize), (_gst_controller_init),
24845         (_gst_controller_class_init), (gst_controller_get_type):
24846         * libs/gst/controller/gst-controller.h:
24847         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24848         (g_object_uncontrol_properties), (g_object_get_controller),
24849         (g_object_set_controller), (g_object_sink_values),
24850         (g_object_get_value_arrays), (g_object_get_value_array):
24851         * libs/gst/controller/gst-interpolation.c:
24852         (gst_controlled_property_find_timed_value_node),
24853         (interpolate_none_get), (interpolate_trigger_get),
24854         (interpolate_trigger_get_value_array):
24855         * libs/gst/controller/lib.c: (gst_controller_init):
24856         * pkgconfig/Makefile.am:
24857         * pkgconfig/gstreamer-control-uninstalled.pc.in:
24858         * pkgconfig/gstreamer-control.pc.in:
24859         * testsuite/Makefile.am:
24860         * testsuite/controller/.cvsignore:
24861         * testsuite/controller/Makefile.am:
24862         * testsuite/controller/interpolator.c: (main):
24863           added controller code
24864           removed dparam pc files
24865
24866 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24867         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24868         (gst_collectpads_stop):
24869           Broadcast the condition when shutting down, to make sure we wake all
24870           threads up. Shut down pads on finalize, for safety.
24871
24872 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24873         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24874         (gst_base_transform_handle_buffer),
24875         (gst_base_transform_change_state):
24876           Handle PAUSED->READY->PAUSED transition after negotiation
24877           occurred already.
24878         * gst/gstmessage.c: (gst_message_init):
24879           Extra piece of debug for new messages.
24880
24881 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
24882
24883         * configure.ac:
24884         * docs/gst/tmpl/gstbasesrc.sgml:
24885         * docs/gst/tmpl/gstelement.sgml:
24886         * docs/gst/tmpl/gstevent.sgml:
24887         * docs/gst/tmpl/gstfakesrc.sgml:
24888         * docs/gst/tmpl/gstformat.sgml:
24889         * docs/gst/tmpl/gstghostpad.sgml:
24890         * docs/gst/tmpl/gstpad.sgml:
24891         * docs/gst/tmpl/gstquery.sgml:
24892         * docs/gst/tmpl/gststructure.sgml:
24893         * docs/gst/tmpl/gsttaglist.sgml:
24894         * docs/gst/tmpl/gstvalue.sgml:
24895         * docs/libs/gstreamer-libs-docs.sgml:
24896         * docs/libs/gstreamer-libs-sections.txt:
24897         * docs/libs/gstreamer-libs.types:
24898         * libs/gst/Makefile.am:
24899         * libs/gst/control/.cvsignore:
24900         * libs/gst/control/Makefile.am:
24901         * libs/gst/control/control.c:
24902         * libs/gst/control/control.h:
24903         * libs/gst/control/dparam.c:
24904         * libs/gst/control/dparam.h:
24905         * libs/gst/control/dparam_smooth.c:
24906         * libs/gst/control/dparam_smooth.h:
24907         * libs/gst/control/dparamcommon.h:
24908         * libs/gst/control/dparammanager.c:
24909         * libs/gst/control/dparammanager.h:
24910         * libs/gst/control/dplinearinterp.c:
24911         * libs/gst/control/dplinearinterp.h:
24912         * libs/gst/control/unitconvert.c:
24913         * libs/gst/control/unitconvert.h:
24914         * testsuite/Makefile.am:
24915         * testsuite/dynparams/.cvsignore:
24916         * testsuite/dynparams/Makefile.am:
24917         * testsuite/dynparams/dparamstest.c:
24918         * tools/Makefile.am:
24919         * tools/gst-inspect.c: (print_element_info), (main):
24920         * tools/gst-xmlinspect.c: (print_element_info), (main):
24921           deactivate and remove dparams (libgstcontrol)
24922
24923 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24924
24925         * gst/elements/gsttypefindelement.c:
24926         (gst_type_find_element_have_type), (gst_type_find_element_init),
24927         (stop_typefinding), (gst_type_find_element_handle_event),
24928         (gst_type_find_element_chain), (gst_type_find_element_getrange):
24929         * gst/elements/gsttypefindelement.h:
24930           Set caps on all outgoing buffers, not just the first one.
24931
24932 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24933
24934         * gst/elements/gsttypefindelement.c:
24935         (gst_type_find_element_have_type),
24936         (gst_type_find_element_check_set_buffer_caps),
24937         (gst_type_find_element_init), (stop_typefinding),
24938         (gst_type_find_element_handle_event),
24939         (gst_type_find_element_chain), (gst_type_find_element_getrange):
24940         * gst/elements/gsttypefindelement.h:
24941           Set caps on first outgoing buffer when we've found the type.
24942
24943 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24944
24945         * docs/gst/gstreamer-docs.sgml:
24946         * docs/gst/gstreamer-sections.txt:
24947         * docs/gst/tmpl/gstscheduler.sgml:
24948         * docs/gst/tmpl/gstschedulerfactory.sgml:
24949           Remove some old cruft from docs.
24950
24951 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
24952
24953         * gst/gstpad.h:
24954           Fix inline docs for GstPadLinkReturn.
24955           
24956         * gst/gststructure.c: (gst_structure_has_name):
24957         * gst/gststructure.h:
24958         * docs/gst/gstreamer-sections.txt:
24959           New API: gst_structure_has_name().
24960
24961 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
24962
24963         * configure.ac:
24964           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
24965           and _LARGEFILE_SOURCE in config.h as required. Do not 
24966           export those flags in our .pc files any longer (#142209).
24967
24968           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
24969
24970         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
24971         (gst_file_sink_do_seek), (gst_file_sink_event),
24972         (gst_file_sink_get_current_offset), (gst_file_sink_render):
24973           Redo seek/tell calls with large file support in mind; add some
24974           debugging messages; add log message that tells us when large
24975           file support is unavailable or not enabled for some reason.
24976
24977         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
24978           Add log message that tells us when large file support 
24979           is unavailable or not enabled for some reason.
24980
24981 2005-07-29  Wim Taymans  <wim@fluendo.com>
24982
24983         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
24984         Added test for removing an element with ghostpad from a bin.
24985         Fixed test as current implementation does the right thing.
24986
24987         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
24988         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
24989         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
24990         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
24991         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
24992         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
24993         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
24994         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24995         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
24996         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
24997         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
24998         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
24999         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25000         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25001         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25002         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25003         * gst/gstghostpad.h:
25004         Clean up ghostpads, remove properties for internal stuff.
25005         Make threadsafe.
25006         Fix refcounting.
25007         Prepare for switching targets, not all use cases work yet.
25008
25009 2005-07-29  Wim Taymans  <wim@fluendo.com>
25010
25011         * docs/design/part-gstghostpad.txt:
25012         Small update.
25013
25014         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25015         (gst_bin_remove_func):
25016         Unlinking pads while holding the bin LOCK is not a good
25017         idea.
25018
25019         * gst/gstpad.c: (gst_pad_class_init),
25020         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25021         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25022         No prob setting template after creating the pad.
25023
25024 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25025
25026         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25027         (gst_bus_peek), (gst_bus_source_dispatch),
25028         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25029         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25030           gst_bus_poll may be called from other threads. Handle
25031           this nicely by not making poll_data disappear off the
25032           stack once gst_bus_poll returns.
25033           gst_bus_peek now increments the refcount on the returned
25034           message.
25035
25036 2005-07-29  Wim Taymans  <wim@fluendo.com>
25037
25038         * docs/design/part-gstghostpad.txt:
25039         Overview of current GhostPad datastructures and use
25040         cases for changing the target.
25041
25042 2005-07-28  Wim Taymans  <wim@fluendo.com>
25043
25044         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25045         Added checks for hierarchy consistency whan adding linked
25046         elements to bins.
25047
25048         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25049         Added check to test element scheduling without bin/pipeline.
25050
25051         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25052         First add elements to bin, then link.
25053         
25054         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25055         (gst_bin_remove_func):
25056         Unlink pads from elements added/removed from bin to maintain
25057         hierarchy consistency.
25058
25059 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25060
25061         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25062         (gst_base_transform_handle_buffer):
25063         * gst/base/gstbasetransform.h:
25064           Remove broken delay_configure (fixes renegotiation of software
25065           scaling pipelines); remove some leftover printf()s.
25066
25067 2005-07-28  Wim Taymans  <wim@fluendo.com>
25068
25069         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25070         Added some more tests for wrong hierarchy
25071
25072         * docs/design/part-overview.txt:
25073         Some updates.
25074
25075         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25076         Cleanups.
25077
25078         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25079         (gst_element_dispose):
25080         Some more cleanups.
25081
25082         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25083         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25084         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25085         (gst_pad_set_caps), (gst_pad_send_event):
25086         Check for correct hierarchy when linking pads. Moving to
25087         strict requirement for ghostpads when linking elements in
25088         different bins.
25089
25090         * gst/gstpad.h:
25091         Clean ups. Added WRONG_HIERARCHY return value.
25092
25093 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25094
25095         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25096           Better debug if no transform is possible.
25097
25098 2005-07-27  Wim Taymans  <wim@fluendo.com>
25099
25100         * docs/random/wtay/network-transp:
25101         Some old doc I had.
25102
25103 2005-07-27  Wim Taymans  <wim@fluendo.com>
25104
25105         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25106         (gst_dp_event_from_packet):
25107         Fix serialization of seek events.
25108
25109 2005-07-27  Wim Taymans  <wim@fluendo.com>
25110
25111         * check/gst-libs/gdp.c: (GST_START_TEST):
25112         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25113         Fix compilation and fix event serialization.
25114
25115 2005-07-27  Wim Taymans  <wim@fluendo.com>
25116
25117         * CHANGES-0.9:
25118         * docs/design/part-TODO.txt:
25119         * docs/design/part-events.txt:
25120         Some docs updates
25121
25122         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25123         (gst_base_sink_event), (gst_base_sink_do_sync),
25124         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25125         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25126         (gst_base_src_do_seek), (gst_base_src_event_handler),
25127         (gst_base_src_loop):
25128         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25129         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25130         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25131         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25132         (gst_base_transform_set_passthrough),
25133         (gst_base_transform_is_passthrough):
25134         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25135         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25136         Event updates.
25137
25138         * gst/gstbuffer.h:
25139         Use faster casts.
25140
25141         * gst/gstelement.c: (gst_element_seek):
25142         * gst/gstelement.h:
25143         Update gst_element_seek.
25144
25145         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25146         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25147         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25148         (gst_event_new_eos), (gst_event_new_newsegment),
25149         (gst_event_parse_newsegment), (gst_event_new_tag),
25150         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25151         (gst_event_parse_qos), (gst_event_new_seek),
25152         (gst_event_parse_seek), (gst_event_new_navigation):
25153         * gst/gstevent.h:
25154         Make GstEvent use GstStructure. Add parsing code, make sure the
25155         API is sufficiently generic.
25156         Mark possible directions of events and serialization.
25157
25158         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25159         (_gst_message_copy), (gst_message_new_segment_start),
25160         (gst_message_new_segment_done), (gst_message_new_custom),
25161         (gst_message_parse_segment_start),
25162         (gst_message_parse_segment_done):
25163         Small cleanups.
25164
25165         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25166         (gst_pad_set_caps), (gst_pad_send_event):
25167         Update for new events. 
25168         Catch events sent in wrong directions.
25169
25170         * gst/gstqueue.c: (gst_queue_link_src),
25171         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25172         (gst_queue_handle_src_query):
25173         Event updates.
25174
25175         * gst/gsttag.c:
25176         * gst/gsttag.h:
25177         Remove event code from this file.
25178
25179         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25180         (gst_dp_event_from_packet):
25181         Event updates.
25182
25183 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25184
25185         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25186         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25187         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25188           Make debugging actually useful.
25189
25190 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25191
25192         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25193         (gst_pad_fixate_caps):
25194           Implement default fixation once again, so that gst_pad_fixate()
25195           actually does anything at all. This probably needs to be some
25196           sort of a last resort, and use profile-based fixation first, but
25197           since that doesn't exist yet, this is the best we have. Fixes
25198           visualization in Totem.
25199
25200 2005-07-22  Wim Taymans  <wim@fluendo.com>
25201
25202         * docs/design/part-events.txt:
25203         Small update.
25204
25205         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25206         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25207         (gst_base_sink_activate_pull):
25208         Some more comments.
25209
25210         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25211         (gst_fake_src_create):
25212         Fix handoff marshall.
25213
25214         * gst/elements/gstidentity.c: (gst_identity_class_init),
25215         (gst_identity_transform_ip):
25216         We're a real inplace element.
25217
25218         * gst/gstbus.c: (gst_bus_post):
25219         Added some comments.
25220
25221         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25222         * tests/muxing/case1.c: (main):
25223         * tests/sched/dynamic-pipeline.c: (main):
25224         * tests/sched/interrupt1.c: (main):
25225         * tests/sched/interrupt2.c: (main):
25226         * tests/sched/interrupt3.c: (main):
25227         * tests/sched/runxml.c: (main):
25228         * tests/sched/sched-stress.c: (main):
25229         * tests/seeking/seeking1.c: (event_received), (main):
25230         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25231         (main):
25232         * tests/threadstate/threadstate3.c: (main):
25233         * tests/threadstate/threadstate4.c: (main):
25234         * tests/threadstate/threadstate5.c: (main):
25235         Fix the tests.
25236
25237 2005-07-21  Wim Taymans  <wim@fluendo.com>
25238
25239         * docs/design/part-seeking.txt:
25240         Some small additions.
25241
25242         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25243         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25244         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25245         * gst/base/gstbasesink.h:
25246         discont values are gint64, handle the math correctly.
25247
25248         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25249         Make the basesrc report error if the source pad is not linked.
25250
25251         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25252         (gst_queue_loop), (gst_queue_handle_src_query),
25253         (gst_queue_src_activate_push):
25254         Make queue collect data even if the srcpad is not linked.
25255         Start pushing out data as soon as it is linked.
25256
25257         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25258         * gst/gstutils.h:
25259         Added gst_flow_get_name() to ease error reporting.
25260
25261 2005-07-20  Wim Taymans  <wim@fluendo.com>
25262
25263         * gst/gstmessage.c: (gst_message_new_segment_start),
25264         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25265         (gst_message_parse_segment_done):
25266         * gst/gstmessage.h:
25267         Added a bunch of messages for advanced seeking.
25268
25269         * gst/parse/grammar.y:
25270         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25271         (gst_dpman_state_changed):
25272         Fix some new-pad -> pad-added signals
25273
25274 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25275
25276         * docs/manual/appendix-porting.xml:
25277         * docs/pwg/appendix-porting.xml:
25278           Document new-pad/state-change signal renames and the FixedList
25279           type rename.
25280
25281 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25282
25283         * docs/manual/advanced-autoplugging.xml:
25284         * docs/manual/basics-helloworld.xml:
25285         * docs/manual/basics-pads.xml:
25286         * docs/random/ds/0.9-suggested-changes:
25287         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25288         * gst/gstelement.h:
25289         * gst/gstevent.h:
25290         * gst/gstformat.h:
25291         * gst/gstquery.h:
25292         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25293         (gst_structure_parse_array), (gst_structure_parse_value):
25294         * gst/gstvalue.c: (gst_type_is_fixed),
25295         (gst_value_list_prepend_value), (gst_value_list_append_value),
25296         (gst_value_list_get_size), (gst_value_list_get_value),
25297         (gst_value_transform_array_string), (gst_value_serialize_array),
25298         (gst_value_deserialize_array), (gst_value_intersect_array),
25299         (gst_value_is_fixed), (_gst_value_initialize):
25300         * gst/gstvalue.h:
25301           GstElement::new-pad -> pad-added, GstElement::state-change ->
25302           state-changed, GstValueFixedList -> GstValueArray, add format and
25303           flags as their own arguments in gst_element_seek() (should improve
25304           "bindeability"), remove function generators since they don't work
25305           under a whole bunch of compilers (they were deprecated already
25306           anyway).
25307
25308 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25309
25310         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25311         (_gst_debug_register_funcptr):
25312         * gst/gstinfo.h:
25313           Fix illegal cast on some platforms (#309253).
25314
25315 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25316
25317         * gst/gstmessage.c: (gst_message_new_custom):
25318         * gst/gstmessage.h:
25319           Add _new_custom, make _new_application a macro to _new_custom.
25320
25321 2005-07-20  Wim Taymans  <wim@fluendo.com>
25322
25323         * gst/base/gstbasesrc.c: (gst_base_src_init),
25324         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25325         * gst/base/gstbasesrc.h:
25326         Add a gboolean to decide when to push out a discont.
25327
25328         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25329         (gst_queue_loop), (gst_queue_handle_src_query),
25330         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25331         (gst_queue_set_property), (gst_queue_get_property):
25332         Some cleanups.
25333
25334         * tests/threadstate/threadstate1.c: (main):
25335         Make a thread test compile and run... very silly..
25336
25337
25338 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25339
25340         * docs/manual/appendix-porting.xml:
25341           Mention removal of libgstgconf-0.9.la and existence of gconf
25342           elements.
25343
25344 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25345
25346         * docs/pwg/advanced-clock.xml:
25347         * docs/pwg/appendix-porting.xml:
25348         * docs/pwg/intro-preface.xml:
25349         * docs/pwg/other-base.xml:
25350         * docs/pwg/other-manager.xml:
25351         * docs/pwg/other-nton.xml:
25352         * docs/pwg/other-ntoone.xml:
25353         * docs/pwg/other-oneton.xml:
25354         * docs/pwg/pwg.xml:
25355           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25356           demuxer), remove n-to-n (was never written), fix some code examples
25357           and links and update the porting section to include all this.
25358
25359 2005-07-19  Wim Taymans  <wim@fluendo.com>
25360
25361         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25362         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25363         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25364         (gst_queue_src_activate_push), (gst_queue_change_state),
25365         (gst_queue_get_property):
25366         * gst/gstqueue.h:
25367         Propagate GstFlowReturn more intelligently upstream and output
25368         an ERROR/EOS when streaming stopped due to fatal error.
25369
25370 2005-07-19  Wim Taymans  <wim@fluendo.com>
25371
25372         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25373         Don't block forever for the state change to complete, the
25374         pipeline already did with a sensible timeout.
25375
25376 2005-07-19  Wim Taymans  <wim@fluendo.com>
25377
25378         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25379         Make sure we never call the create function is we
25380         got deactivated.
25381
25382 2005-07-19  Andy Wingo  <wingo@pobox.com>
25383
25384         * gst/parse/parse.l: Attempt to solve bug #172815.
25385
25386 2005-07-19  Wim Taymans  <wim@fluendo.com>
25387
25388         * docs/design/part-clocks.txt:
25389         * docs/design/part-events.txt:
25390         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25391         Small docs updates.
25392         Only update the seeking values when we are not
25393         busy streaming.
25394
25395 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25396
25397         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25398           Oops, ignore the result of gst_pad_push_event here.
25399
25400 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25401
25402         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25403         (gst_base_src_activate_push):
25404           Send discont event from the loop function, as pads
25405           aren't activated yet in the activate_push handler.
25406
25407         * gst/gstbin.c: (bin_bus_handler):
25408           Don't leak element name.
25409
25410 2005-07-18  Andy Wingo  <wingo@pobox.com>
25411
25412         * configure.ac: Use AS_LIBTOOL_TAGS.
25413
25414 2005-07-18  Wim Taymans  <wim@fluendo.com>
25415
25416         * docs/gst/gstreamer.types:
25417         Remove deleted types.
25418
25419 2005-07-18  Wim Taymans  <wim@fluendo.com>
25420
25421         * check/elements/gstfakesrc.c: (GST_START_TEST):
25422         * configure.ac:
25423         * gst/Makefile.am:
25424         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25425         (init_popt_callback):
25426         * gst/gst.h:
25427         * gst/gst_private.h:
25428         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25429         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25430         * gst/gstbin.h:
25431         * gst/gstbus.h:
25432         * gst/gstconfig.h.in:
25433         * gst/gstelement.c: (gst_element_class_init),
25434         (gst_element_set_base_time), (gst_element_get_base_time),
25435         (iterator_fold_with_resync), (gst_element_change_state),
25436         (gst_element_dispose), (gst_element_get_bus):
25437         * gst/gstelement.h:
25438         * gst/gstelementfactory.h:
25439         * gst/gsterror.c: (_gst_core_errors_init):
25440         * gst/gsterror.h:
25441         * gst/gstevent.h:
25442         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25443         * gst/gstindex.c:
25444         * gst/gstinfo.c: (_gst_debug_init):
25445         * gst/gstmessage.c: (_gst_message_copy):
25446         * gst/gstmessage.h:
25447         * gst/gstminiobject.h:
25448         * gst/gstobject.c:
25449         * gst/gstobject.h:
25450         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25451         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25452         * gst/gstpad.h:
25453         * gst/gstparse.h:
25454         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25455         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25456         (gst_pipeline_get_last_stream_time):
25457         * gst/gstpipeline.h:
25458         * gst/gstpluginfeature.h:
25459         * gst/gstquery.h:
25460         * gst/gstscheduler.c:
25461         * gst/gstscheduler.h:
25462         * gst/gststructure.h:
25463         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25464         (gst_task_finalize), (gst_task_func), (gst_task_create),
25465         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25466         (gst_task_stop), (gst_task_pause):
25467         * gst/gsttask.h:
25468         * gst/gsttypefind.h:
25469         * gst/gsttypes.h:
25470         * gst/registries/gstlibxmlregistry.c: (load_feature),
25471         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25472         * gst/registries/gstxmlregistry.c:
25473         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25474         * gst/schedulers/threadscheduler.c:
25475         * libs/gst/control/dparammanager.h:
25476         * tools/gst-inspect.c: (print_element_list),
25477         (print_plugin_features), (print_element_features):
25478         * tools/gst-xmlinspect.c: (print_element_list),
25479         (print_plugin_info), (main):
25480         Removed plugable schedulers.
25481         Removed Scheduler/Manager from elements.
25482         Removed gsttypes.h, rearranged includes.
25483         Removed dependency pad<->element, element<>pipeline, and
25484         various others,  fix includes.
25485         implement gst_pad_get_parent() with gst_object_get_parent()
25486         Make GstTask sefcontained.
25487         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25488         timeout.
25489         Fix endless loop in iterator_fold_with_resync.
25490
25491
25492 2005-07-18  Wim Taymans  <wim@fluendo.com>
25493
25494         * gst/Makefile.am:
25495         * gst/gstarch.h:
25496         Remove old file.
25497
25498 2005-07-18  Wim Taymans  <wim@fluendo.com>
25499
25500         * gst/Makefile.am:
25501         No more cothreads.h
25502
25503 2005-07-18  Wim Taymans  <wim@fluendo.com>
25504
25505         * gst/cothreads.c:
25506         * gst/cothreads.h:
25507         Let's remove these.
25508
25509 2005-07-18  Wim Taymans  <wim@fluendo.com>
25510
25511         * docs/design/part-dynamic.txt:
25512         * docs/design/part-events.txt:
25513         * docs/design/part-seeking.txt:
25514         Some more docs in the works.
25515
25516         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25517         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25518         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25519         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25520         (gst_base_transform_handle_buffer),
25521         (gst_base_transform_sink_activate_push),
25522         (gst_base_transform_src_activate_pull),
25523         (gst_base_transform_set_passthrough),
25524         (gst_base_transform_is_passthrough):
25525         Refcounting fixes.
25526
25527         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25528         Cleanups.
25529
25530         * gst/gstevent.c: (gst_event_finalize):
25531         Set SRC to NULL.
25532
25533         * gst/gstutils.c: (gst_element_unlink),
25534         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25535         (gst_pad_proxy_setcaps):
25536         * gst/gstutils.h:
25537         Add _get_parent_element() to get a pads parent as an element.
25538
25539 2005-07-18  Wim Taymans  <wim@fluendo.com>
25540
25541         * check/gst/gstbin.c: (GST_START_TEST):
25542         Remove bogus test.
25543
25544 2005-07-18  Wim Taymans  <wim@fluendo.com>
25545
25546         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25547         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25548         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25549         (gst_base_sink_event), (gst_base_sink_do_sync),
25550         (gst_base_sink_chain), (gst_base_sink_loop),
25551         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25552         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25553         Refcounting fixes.
25554         Fix logic for returning ASYNC when not prerolled.
25555
25556 2005-07-18  Wim Taymans  <wim@fluendo.com>
25557
25558         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25559         Fix nasty refcount bug.
25560
25561 2005-07-16 Philippe Khalaf <burger@speedy.org>
25562
25563         * gst/elements/gstfdsrc.c:
25564         * gst/elements/gstfdsrc.h:
25565         * gst/elements/gstelements.c:
25566         * gst/elements/Makefile.am:
25567         Ported fdsrc to 0.9.
25568
25569 2005-07-16  Wim Taymans  <wim@fluendo.com>
25570
25571         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25572         (gst_base_sink_do_sync):
25573         Fix compile error.
25574
25575 2005-07-16  Wim Taymans  <wim@fluendo.com>
25576
25577         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25578         (gst_base_sink_event), (gst_base_sink_get_times),
25579         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25580         * gst/base/gstbasesink.h:
25581         Store and use discont values when syncing buffers as described
25582         in design docs.
25583         
25584         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25585         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25586         (gst_base_src_activate_push):
25587         Push discont event when starting.
25588
25589         * gst/elements/gstidentity.c: (gst_identity_transform):
25590         Small cleanups.
25591
25592         * gst/gstbin.c: (gst_bin_change_state):
25593         Small cleanups in base_time  distribution.
25594
25595         * gst/gstelement.c: (gst_element_set_base_time),
25596         (gst_element_get_base_time), (gst_element_change_state):
25597         * gst/gstelement.h:
25598         Added methods for the base_time of the element.
25599         Some MT fixes.
25600
25601         * gst/gstpipeline.c: (gst_pipeline_send_event),
25602         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25603         (gst_pipeline_get_last_stream_time):
25604         * gst/gstpipeline.h:
25605         MT fixes.
25606         Handle seeking as described in design doc, remove stream_time
25607         hack.
25608         Cleanups clock and stream_time selection code. Added accessors
25609         for the stream_time.
25610         
25611
25612 2005-07-16  Andy Wingo  <wingo@pobox.com>
25613
25614         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25615         (#305291).
25616
25617 2005-07-16  Wim Taymans  <wim@fluendo.com>
25618
25619         * check/gst/gstbin.c: (GST_START_TEST):
25620         Make elements silent as the deep_notify refs the
25621         parent, which might make the test fail.
25622
25623         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25624         Don't hold the lock for too long.
25625
25626 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
25627
25628         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25629           Don't unref the caps we passed to gst_caps_make_writable() after
25630           passing them. gst_caps_make_writable() will do that for us.
25631
25632 2005-07-15  Andy Wingo  <wingo@pobox.com>
25633
25634         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25635         (#157311).
25636
25637         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25638         own marshalling function for the handoff signal. Properly type the
25639         buffer as a buffer. Fixes some warnings. Should do a more general
25640         solution.
25641         (gst_identity_class_init): Plug into the right marshaller.
25642
25643 2005-07-15  Wim Taymans  <wim@fluendo.com>
25644
25645         * docs/design/part-TODO.txt:
25646         * docs/design/part-clocks.txt:
25647         * docs/design/part-element-sink.txt:
25648         * docs/design/part-events.txt:
25649         * docs/design/part-gstpipeline.txt:
25650         Updated docs, mostly DISCONT related.
25651
25652 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
25653
25654         * docs/pwg/building-pads.xml:
25655           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25656
25657 2005-07-15  Andy Wingo  <wingo@pobox.com>
25658
25659         * tools/gst-typefind.c: Update, add copyright block.
25660
25661         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25662         Normalize and truncate caps before fixation.
25663
25664         * gst/gstcaps.h:
25665         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25666         discards all but the first structure from its argument.
25667
25668 2005-07-15  Wim Taymans  <wim@fluendo.com>
25669
25670         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25671         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25672         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25673         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25674         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25675         (gst_base_transform_chain), (gst_base_transform_change_state),
25676         (gst_base_transform_set_passthrough),
25677         (gst_base_transform_is_passthrough):
25678         * gst/base/gstbasetransform.h:
25679         Make passthrough work using the bufferpools.
25680         Changed API a bit, subclasses have to write into a buffer
25681         provided by the base class.
25682         More debug info in nego functions.
25683         
25684         * gst/elements/gstidentity.c: (gst_identity_init),
25685         (gst_identity_transform):
25686         Port to new base class.
25687
25688 2005-07-15  Wim Taymans  <wim@fluendo.com>
25689
25690         * gst/gstmessage.c: (gst_message_new_state_changed):
25691         * tools/gst-launch.c: (event_loop), (main):
25692         Totally dump messages in -launch with the -m option.
25693         Fix message name for State messages,
25694
25695 2005-07-14  Wim Taymans  <wim@fluendo.com>
25696
25697         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25698         Post error messages on errors.
25699
25700 2005-07-14  Wim Taymans  <wim@fluendo.com>
25701
25702         * gst/gstcaps.c: (gst_caps_do_simplify):
25703         Remove debug info.
25704
25705         * gst/gsterror.h:
25706         Define error for stream stopped.
25707
25708         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25709         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25710         Do proper return values.
25711
25712         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25713         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25714         (gst_pad_get_range):
25715         Better return values.
25716
25717         * gst/gstpad.h:
25718         Reorganise return values, add macro to check for fatal errors.
25719
25720         * gst/gstqueue.c: (gst_queue_chain):
25721         Return proper GstFlowReturn values,
25722
25723 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
25724
25725         * docs/gst/gstreamer-sections.txt:
25726         * docs/gst/gstreamer.types:
25727         * docs/gst/tmpl/gst.sgml:
25728         * docs/gst/tmpl/gstbasesink.sgml:
25729         * docs/gst/tmpl/gstbasesrc.sgml:
25730         * docs/gst/tmpl/gstbasetransform.sgml:
25731         * docs/gst/tmpl/gstbin.sgml:
25732         * docs/gst/tmpl/gstbuffer.sgml:
25733         * docs/gst/tmpl/gstcaps.sgml:
25734         * docs/gst/tmpl/gstclock.sgml:
25735         * docs/gst/tmpl/gstcompat.sgml:
25736         * docs/gst/tmpl/gstconfig.sgml:
25737         * docs/gst/tmpl/gstelement.sgml:
25738         * docs/gst/tmpl/gstelementdetails.sgml:
25739         * docs/gst/tmpl/gstelementfactory.sgml:
25740         * docs/gst/tmpl/gstenumtypes.sgml:
25741         * docs/gst/tmpl/gsterror.sgml:
25742         * docs/gst/tmpl/gstevent.sgml:
25743         * docs/gst/tmpl/gstfakesink.sgml:
25744         * docs/gst/tmpl/gstfakesrc.sgml:
25745         * docs/gst/tmpl/gstfilesink.sgml:
25746         * docs/gst/tmpl/gstfilesrc.sgml:
25747         * docs/gst/tmpl/gstfilter.sgml:
25748         * docs/gst/tmpl/gstformat.sgml:
25749         * docs/gst/tmpl/gstghostpad.sgml:
25750         * docs/gst/tmpl/gstimplementsinterface.sgml:
25751         * docs/gst/tmpl/gstindex.sgml:
25752         * docs/gst/tmpl/gstindexfactory.sgml:
25753         * docs/gst/tmpl/gstinfo.sgml:
25754         * docs/gst/tmpl/gstiterator.sgml:
25755         * docs/gst/tmpl/gstmacros.sgml:
25756         * docs/gst/tmpl/gstmemchunk.sgml:
25757         * docs/gst/tmpl/gstminiobject.sgml:
25758         * docs/gst/tmpl/gstobject.sgml:
25759         * docs/gst/tmpl/gstpad.sgml:
25760         * docs/gst/tmpl/gstpadtemplate.sgml:
25761         * docs/gst/tmpl/gstparse.sgml:
25762         * docs/gst/tmpl/gstpipeline.sgml:
25763         * docs/gst/tmpl/gstplugin.sgml:
25764         * docs/gst/tmpl/gstpluginfeature.sgml:
25765         * docs/gst/tmpl/gstquery.sgml:
25766         * docs/gst/tmpl/gstqueue.sgml:
25767         * docs/gst/tmpl/gstregistry.sgml:
25768         * docs/gst/tmpl/gstregistrypool.sgml:
25769         * docs/gst/tmpl/gstscheduler.sgml:
25770         * docs/gst/tmpl/gstschedulerfactory.sgml:
25771         * docs/gst/tmpl/gststructure.sgml:
25772         * docs/gst/tmpl/gstsystemclock.sgml:
25773         * docs/gst/tmpl/gsttaglist.sgml:
25774         * docs/gst/tmpl/gsttagsetter.sgml:
25775         * docs/gst/tmpl/gsttrace.sgml:
25776         * docs/gst/tmpl/gsttrashstack.sgml:
25777         * docs/gst/tmpl/gsttypefind.sgml:
25778         * docs/gst/tmpl/gsttypefindfactory.sgml:
25779         * docs/gst/tmpl/gsttypes.sgml:
25780         * docs/gst/tmpl/gsturihandler.sgml:
25781         * docs/gst/tmpl/gsturitype.sgml:
25782         * docs/gst/tmpl/gstutils.sgml:
25783         * docs/gst/tmpl/gstvalue.sgml:
25784         * docs/gst/tmpl/gstversion.sgml:
25785         * docs/gst/tmpl/gstxml.sgml:
25786         * docs/libs/tmpl/gstcontrol.sgml:
25787         * docs/libs/tmpl/gstdataprotocol.sgml:
25788         * docs/libs/tmpl/gstdparam.sgml:
25789         * docs/libs/tmpl/gstdplinint.sgml:
25790         * docs/libs/tmpl/gstdpman.sgml:
25791         * docs/libs/tmpl/gstdpsmooth.sgml:
25792         * docs/libs/tmpl/gstgetbits.sgml:
25793         * docs/libs/tmpl/gstunitconvert.sgml:
25794         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25795         (gst_push_src_base_init), (gst_push_src_class_init),
25796         (gst_push_src_init), (gst_push_src_create):
25797         * gst/base/gstpushsrc.h:
25798         * gst/elements/gstelements.c:
25799         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25800         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25801         (gst_fake_sink_init), (gst_fake_sink_set_property),
25802         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25803         (gst_fake_sink_event), (gst_fake_sink_preroll),
25804         (gst_fake_sink_render), (gst_fake_sink_change_state):
25805         * gst/elements/gstfakesink.h:
25806         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25807         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25808         (gst_fake_src_base_init), (gst_fake_src_class_init),
25809         (gst_fake_src_init), (gst_fake_src_event_handler),
25810         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25811         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25812         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25813         (gst_fake_src_create_buffer), (gst_fake_src_create),
25814         (gst_fake_src_start), (gst_fake_src_stop):
25815         * gst/elements/gstfakesrc.h:
25816         * gst/elements/gstfilesink.c: (_do_init),
25817         (gst_file_sink_base_init), (gst_file_sink_class_init),
25818         (gst_file_sink_init), (gst_file_sink_dispose),
25819         (gst_file_sink_set_location), (gst_file_sink_set_property),
25820         (gst_file_sink_get_property), (gst_file_sink_open_file),
25821         (gst_file_sink_close_file), (gst_file_sink_query),
25822         (gst_file_sink_event), (gst_file_sink_render),
25823         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25824         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25825         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25826         * gst/elements/gstfilesink.h:
25827         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25828         (gst_file_src_class_init), (gst_file_src_init),
25829         (gst_file_src_finalize), (gst_file_src_set_location),
25830         (gst_file_src_set_property), (gst_file_src_get_property),
25831         (gst_file_src_map_region), (gst_file_src_map_small_region),
25832         (gst_file_src_create_mmap), (gst_file_src_create_read),
25833         (gst_file_src_create), (gst_file_src_is_seekable),
25834         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25835         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25836         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25837         (gst_file_src_uri_handler_init):
25838         * gst/elements/gstfilesrc.h:
25839           more autistic cleanliness in functions/names/defines
25840
25841 2005-07-13  Andy Wingo  <wingo@pobox.com>
25842
25843         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25844         source couldn't negotiate.
25845
25846         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25847         connections again.
25848
25849         * gst/gstutils.h:
25850         * gst/gstutils.c (gst_element_link_pads_filtered): New old
25851         function. I am channeling Hades. Put your boots on suckers!!!
25852
25853 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25854
25855         * testsuite/caps/Makefile.am:
25856         * testsuite/caps/value_compare.c:
25857         * testsuite/caps/value_intersect.c:
25858         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25859           move two testsuite apps over to the check dir
25860
25861 2005-07-12  Wim Taymans  <wim@fluendo.com>
25862
25863         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25864         Added more debug info in the negotiate process.
25865
25866         * gst/gstmessage.h:
25867         Prepare for segment playback.
25868
25869         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25870         Better debugging.
25871
25872         * gst/gstutils.c:
25873         Some more docs.
25874
25875         * tools/gst-launch.c: (main):
25876         NULL pipeline on errors.
25877
25878 2005-07-12  Andy Wingo  <wingo@pobox.com>
25879
25880         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25881         not it comes from a malloc region. Make sure our copy gets freed.
25882
25883 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25884
25885         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25886         * check/gst/gstmessage.c: (GST_START_TEST):
25887         * check/gst/gststructure.c: (GST_START_TEST),
25888         (gst_structure_suite), (main):
25889           more testing
25890         * gst/gstelement.c: (gst_element_message_full):
25891           clean up GError and debug string now that they get copied
25892         * gst/gstmessage.c: (gst_message_new_error),
25893         (gst_message_new_warning), (gst_message_parse_error),
25894         (gst_message_parse_warning):
25895           use GST_TYPE_G_ERROR for structure_new, and take copies of
25896           arguments, so that we don't mess up refcounting
25897
25898 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25899
25900         * check/Makefile.am:
25901           add per-test valgrind targets
25902         * check/gst-libs/gdp.c: (GST_START_TEST),
25903         (gst_data_protocol_suite), (main):
25904           clean up
25905
25906 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25907
25908         * check/Makefile.am:
25909           instate more valgrindable tests
25910         * check/elements/gstfakesrc.c: (chain_func), (event_func),
25911         (GST_START_TEST), (fakesrc_suite):
25912         * check/gst/gstpad.c: (GST_START_TEST):
25913         * check/gst/gststructure.c: (GST_START_TEST):
25914           fix test leaks
25915         * docs/gst/tmpl/gstminiobject.sgml:
25916         * gst/gstpad.c: (gst_pad_finalize):
25917           fix the static mutex leak
25918
25919 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25920
25921         * check/Makefile.am:
25922           add two more tests for valgrinding
25923         * check/gst/gstvalue.c: (GST_START_TEST):
25924           test refcount of deserialized buffer, found a leak
25925         * docs/gst/gstreamer-docs.sgml:
25926         * docs/gst/gstreamer-sections.txt:
25927         * docs/gst/gstreamer.types:
25928         * docs/gst/tmpl/gstminiobject.sgml:
25929           add miniobject to docs
25930         * gst/gstminiobject.c:
25931           add some docs
25932         * gst/gstvalue.c: (gst_value_deserialize_buffer),
25933         (gst_string_unwrap):
25934           fix a hard-to-find invalid write for one of the tests
25935           fix a leak for deserialized buffers
25936
25937 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25938
25939         * docs/pwg/advanced-events.xml:
25940         * docs/pwg/advanced-request.xml:
25941         * docs/pwg/advanced-scheduling.xml:
25942         * docs/pwg/appendix-porting.xml:
25943         * docs/pwg/building-boiler.xml:
25944         * docs/pwg/intro-preface.xml:
25945         * docs/pwg/other-ntoone.xml:
25946           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
25947           of example code and explanation for pad activation, loop() and
25948           getrange() functions and a bit more. Remove old comments pointing
25949           to loop-functions.
25950         * examples/pwg/Makefile.am:
25951           Add loop/getrange examples.
25952
25953 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25954
25955         * configure.ac:
25956           check for valgrind binary + some fixes
25957         * check/gst.supp:
25958           valgrind suppressions for the tests
25959         * check/Makefile.am:
25960           add a valgrind: target that valgrinds the unit tests
25961         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
25962         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25963         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25964         * check/gst/gstghostpad.c:
25965           added some cleanup
25966         * check/gst/gstdata.c:
25967           removed
25968         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
25969         (thread_unref), (gst_mini_object_suite), (main):
25970           added
25971         * gst/gst.c: (gst_deinit):
25972         * gst/gst.h:
25973           add a method to clean up.
25974         * gst/gstsystemclock.c: (gst_system_clock_dispose),
25975         (gst_system_clock_obtain):
25976           allow for disposing the system clock.
25977         * tools/gst-launch.c: (main):
25978           deinit
25979
25980 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25981
25982         * docs/gst/tmpl/gstbasesrc.sgml:
25983         * docs/gst/tmpl/gstfakesrc.sgml:
25984         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25985         (gst_base_src_init), (gst_base_src_set_property),
25986         (gst_base_src_get_property), (gst_base_src_get_range),
25987         (gst_base_src_start):
25988         * gst/base/gstbasesrc.h:
25989           add num-buffers property
25990         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25991         (gst_fakesrc_init), (gst_fakesrc_set_property),
25992         (gst_fakesrc_get_property), (gst_fakesrc_create),
25993         (gst_fakesrc_start):
25994           remove num-buffers property
25995
25996 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
25997
25998         * docs/gst/gstreamer-sections.txt:
25999         * docs/gst/tmpl/gstbasesink.sgml:
26000         * docs/gst/tmpl/gstbasesrc.sgml:
26001         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26002         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26003         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26004         (gst_base_sink_set_property), (gst_base_sink_get_property),
26005         (gst_base_sink_handle_object), (gst_base_sink_event),
26006         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26007         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26008         (gst_base_sink_loop), (gst_base_sink_deactivate),
26009         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26010         (gst_base_sink_change_state):
26011         * gst/base/gstbasesink.h:
26012         * gst/base/gstbasesrc.h:
26013         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26014         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26015         (gst_filesink_init):
26016           more macro splitting
26017
26018 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26019
26020         * gst/gstelement.c: (gst_element_get_bus):
26021           add debug
26022         * tools/gst-launch.c: (check_intr), (event_loop):
26023           fix bus leaks
26024
26025 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26026
26027         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26028           fix a caps leak
26029
26030 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26031
26032         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26033         (gst_base_src_finalize):
26034           add finalize method and clean up properly
26035         * gst/gstpipeline.c: (gst_pipeline_dispose):
26036           add debug
26037
26038 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26039
26040         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26041         (gst_bin_suite):
26042           add more things to check
26043         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26044         * gst/gstelement.c:
26045           more debug
26046
26047 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26048
26049         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26050         (GST_START_TEST), (fakesrc_suite):
26051         * check/gst-libs/gdp.c: (GST_START_TEST):
26052         * check/gst/gst.c: (GST_START_TEST):
26053         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26054         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26055         * check/gst/gstbus.c: (GST_START_TEST):
26056         * check/gst/gstcaps.c: (GST_START_TEST):
26057         * check/gst/gstdata.c: (GST_START_TEST):
26058         * check/gst/gstelement.c: (GST_START_TEST):
26059         * check/gst/gstghostpad.c: (GST_START_TEST):
26060         * check/gst/gstiterator.c: (GST_START_TEST):
26061         * check/gst/gstmessage.c: (GST_START_TEST):
26062         * check/gst/gstobject.c: (GST_START_TEST):
26063         * check/gst/gstpad.c: (GST_START_TEST):
26064         * check/gst/gststructure.c: (GST_START_TEST):
26065         * check/gst/gstsystemclock.c: (GST_START_TEST),
26066         (gst_systemclock_suite):
26067         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26068         * check/gst/gstvalue.c: (GST_START_TEST):
26069         * check/pipelines/cleanup.c: (GST_START_TEST):
26070         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26071         * check/states/sinks.c: (GST_START_TEST):
26072         * check/gstcheck.c: (gst_check_init):
26073         * check/gstcheck.h:
26074           add debugging category
26075           use GST_START_TEST now, so we add a debug line
26076
26077 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26078
26079         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26080           add test for state change message on a bin
26081         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26082           add another test
26083         * gst/gstbin.c: (gst_bin_init):
26084         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26085         * gst/gstelement.c: (gst_element_post_message),
26086         (gst_element_set_state):
26087         * gst/gstelementfactory.c: (gst_element_factory_create):
26088         * gst/gstmessage.c: (gst_message_new):
26089         * gst/gstscheduler.c:
26090           various debugging additions and cleanups
26091
26092 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26093
26094         * check/Makefile.am:
26095         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26096         (main):
26097           adding tests for elements
26098         * gst/gstelement.c: (gst_element_dispose):
26099
26100 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26101
26102         * gst/registries/gstlibxmlregistry.c: (load_feature):
26103           plug more leaks.  A simple gst_init() now is leakfree, yay.
26104
26105 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26106
26107         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26108         (gst_xml_registry_load):
26109           plug another memleak
26110
26111 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26112
26113         * configure.ac:
26114           use GST_SET_ERROR_CFLAGS
26115         * docs/faq/cvs.xml:
26116           change to ERROR_CFLAGS
26117
26118 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26119
26120         * configure.ac:
26121           make GST_ERROR_CFLAGS overridable and re-enable Werror
26122         * docs/faq/cvs.xml:
26123           add a note about error CFLAGS
26124         * docs/gst/tmpl/gstfakesrc.sgml:
26125         * gst/elements/gstfakesrc.c:
26126           comment out some unused code
26127         * gst/gst.c: (split_and_iterate):
26128         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26129         (load_feature):
26130           plug some memleaks
26131
26132 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26133
26134         * common/Makefile.am:
26135         * common/gtk-doc.mak:
26136         * docs/gst/Makefile.am:
26137           factor out gtk-doc.mak
26138
26139 2005-07-07  Wim Taymans  <wim@fluendo.com>
26140
26141         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26142         (gst_thread_scheduler_dispose):
26143         Unlock the STREAM_LOCK completely.
26144
26145 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26146
26147         * check/Makefile.am:
26148         * check/elements/.cvsignore:
26149         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26150         (START_TEST), (fakesrc_suite), (main):
26151         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26152         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26153         (gst_fakesrc_create), (gst_fakesrc_start):
26154         * gst/elements/gstfakesrc.h:
26155           adding a first element test
26156
26157 2005-07-07  Andy Wingo  <wingo@pobox.com>
26158
26159         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26160         debug message.
26161
26162 2005-07-07  Wim Taymans  <wim@fluendo.com>
26163
26164         * gst/gstquery.c:
26165         * gst/gstquery.h:
26166         Remove old types
26167
26168 2005-07-07  Wim Taymans  <wim@fluendo.com>
26169
26170         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26171         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26172         Allow subclasses to implement their own negotiation.
26173
26174 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26175
26176         * docs/design/part-gstbin.txt:
26177         * docs/design/part-gstpipeline.txt:
26178           Update design notes to reflect the movement of
26179           responsibility for bus handling from GstPipeline to
26180           GstBin
26181
26182 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26183
26184         * configure.ac:
26185           Remove unnecessary queue2/3/4 examples.
26186
26187 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26188
26189         * examples/Makefile.am:
26190         * examples/helloworld/helloworld.c: (event_loop), (main):
26191         * examples/queue/queue.c: (event_loop), (main):
26192         * examples/queue2/queue2.c: (main):
26193           Update a couple of the examples to work again.
26194
26195         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26196         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26197          Spelling corrections and extra debug.
26198         
26199         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26200         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26201         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26202         * gst/gstbin.h:
26203         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26204         (gst_pipeline_change_state):
26205         * gst/gstpipeline.h:
26206           Move the bus handler for children to the GstBin, and create a
26207           separate bus for receiving messages from children to the one the
26208           bus sends 'upwards' on.
26209
26210 2005-07-06  Wim Taymans  <wim@fluendo.com>
26211
26212         * gst/base/README:
26213         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26214         (gst_base_sink_handle_object), (gst_base_sink_loop),
26215         (gst_base_sink_change_state):
26216         * gst/base/gstbasesink.h:
26217         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26218         (gst_base_src_init), (gst_base_src_setcaps),
26219         (gst_base_src_getcaps), (gst_base_src_loop),
26220         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26221         (gst_base_src_start), (gst_base_src_change_state):
26222         * gst/base/gstbasesrc.h:
26223         Make basesrc negotiate.
26224         Handle the case where preroll fails in basesink.
26225         Update README.
26226
26227 2005-07-06  Wim Taymans  <wim@fluendo.com>
26228
26229         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26230         Implement the fixate function.
26231         Clean up acceptcaps.
26232
26233 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26234
26235         * docs/pwg/building-filterfactory.xml:
26236         * docs/pwg/pwg.xml:
26237           Remove never-written filter-factory chapter; I'll add the various
26238           base classes to part 4 ("other element types") later on.
26239
26240 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26241
26242         * docs/pwg/advanced-negotiation.xml:
26243         * docs/pwg/building-boiler.xml:
26244         * docs/pwg/building-pads.xml:
26245         * docs/pwg/pwg.xml:
26246         * examples/pwg/Makefile.am:
26247           Add a chapter on caps negotiation, simplify the original code
26248           samples a bit w.r.t. caps negotiation, add link to the advanced
26249           section. Add a bunch of examples showing different use cases of
26250           different types of caps negotiation. Upstream renegotiation isn't
26251           fully documented yet since nobody knows how that works.
26252
26253 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26254
26255         * check/gst/gstpad.c:
26256         * check/gstcheck.c:
26257         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26258           if pad has no parent, return NULL as list of internal links
26259
26260 2005-07-05  Andy Wingo  <wingo@pobox.com>
26261
26262         * gst/elements/gstfilesrc.c:
26263         * gst/elements/gstfakesrc.c: 
26264         * gst/base/gstpushsrc.c:
26265         * gst/base/gstbasesrc.h: 
26266         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26267         
26268 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26269
26270         * Makefile.am:
26271           better report generation target (lcov needs a patch)
26272
26273 2005-07-05  Andy Wingo  <wingo@pobox.com>
26274
26275         * gst/elements, testsuite: Null if we got it...
26276
26277 2005-07-05  Wim Taymans  <wim@fluendo.com>
26278
26279         * configure.ac:
26280         * libs/gst/dataprotocol/Makefile.am:
26281         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26282         * libs/gst/dataprotocol/dataprotocol.h:
26283         * pkgconfig/Makefile.am:
26284         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26285         * pkgconfig/gstreamer-dataprotocol.pc.in:
26286         Ported dataprotol to 0.9. 
26287         Added pkgconfig files.
26288
26289 2005-07-05  Andy Wingo  <wingo@pobox.com>
26290
26291         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26292         Default to returning TRUE for the case when tranform_caps returns
26293         a fixed caps, like for identity or volume.
26294
26295         * check/gst/gstbus.c (pound_bus_with_messages): 
26296         * check/gst/gstmessage.c (START_TEST): 
26297         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26298         message API change.
26299
26300         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26301         logic weaks here: always run transform_caps, trying passthrough
26302         operation only if the original caps intersects with the transform.
26303
26304         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26305         source and sink caps.
26306
26307         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26308         Intersect the peer caps with the pad template before going into
26309         transform_caps.
26310         (gst_base_transform_transform_caps): More debugging.
26311
26312         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26313         src argument.
26314
26315 2005-07-04  Edward Hervey  <edward@fluendo.com>
26316
26317         * gst/gstutils.c:
26318         * gst/gstutils.h:
26319         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26320         in bindings.
26321
26322 2005-07-04  Andy Wingo  <wingo@pobox.com>
26323
26324         * check/gst/gstpad.c: Only set explicit caps on pads.
26325
26326 2005-07-01  Andy Wingo  <wingo@pobox.com>
26327
26328         * tests/network-clock.scm: Commentary update.
26329
26330         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26331         Didn't really make sense, not implementable with basetransform,
26332         etc.
26333         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26334         attempt at implementing the sync property, needs an unlock method.
26335
26336         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26337         New func, by default returns the same caps (the identity
26338         transformation).
26339         (gst_base_transform_getcaps): Uses transform_caps to return
26340         something sensible.
26341         (gst_base_transform_setcaps): Complicated logic to get caps on
26342         both pads, even if they are different, and to call set_caps once
26343         for every time both pads get their caps set.
26344         (gst_base_transform_handle_buffer): Give the ref to the transform
26345         function. Allows in-place modification of the buffer.
26346
26347         * gst/base/gstbasetransform.h (transform_caps): New class method.
26348         Given caps on one side, what can I do on the other.
26349         (set_caps): Take two caps, one for each side of the element.
26350
26351         * gst/gstpad.h:
26352         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26353         caps in place. This is safe because we can check the mutability of
26354         the caps, and a good idea because fixate functions are just called
26355         as a matter of last resort. (Not actually implemented.)
26356         (gst_pad_set_caps): If the caps we're setting is actually the same
26357         as the existing pad caps, just update the pointer without calling
26358         setcaps. Assert that caps is either NULL or fixed, as per the
26359         docs.
26360
26361         * gst/gstghostpad.c: Update for fixate changes.
26362
26363 2005-07-02  Andy Wingo  <wingo@pobox.com>
26364
26365         * gst/gstcaps.c:
26366         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26367         two refcounts makes it immutable, which is enough. Doc more.
26368
26369 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26370
26371         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26372           Put the mini_object into GValue as a mini_object,
26373           not a gpointer, since that's how we declared
26374           the signal.
26375
26376 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26377
26378         * examples/pwg/Makefile.am:
26379           Fix buildbot again.
26380
26381 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26382
26383         * docs/pwg/building-testapp.xml:
26384           Add extra check.
26385         * examples/pwg/Makefile.am:
26386           Fix buildbot.
26387
26388 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26389
26390         * configure.ac:
26391         * examples/Makefile.am:
26392         * examples/pwg/Makefile.am:
26393         * examples/pwg/extract.pl:
26394           Enable building the PWG examples.
26395         * docs/pwg/advanced-interfaces.xml:
26396           Add URI interface stub.
26397         * docs/pwg/advanced-types.xml:
26398         * docs/pwg/other-autoplugger.xml:
26399         * docs/pwg/appendix-porting.xml:
26400         * docs/pwg/pwg.xml:
26401           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26402         * docs/pwg/building-boiler.xml:
26403         * docs/pwg/building-chainfn.xml:
26404         * docs/pwg/building-pads.xml:
26405         * docs/pwg/building-props.xml:
26406         * docs/pwg/building-state.xml:
26407         * docs/pwg/building-testapp.xml:
26408           Update the building-*.xml parts for 0.9 changes. All examples
26409           code blocks compile in examples/pwg/*.
26410
26411 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26412
26413         * docs/manual/advanced-autoplugging.xml:
26414         * docs/manual/appendix-checklist.xml:
26415         * docs/manual/appendix-integration.xml:
26416         * docs/manual/highlevel-components.xml:
26417           Fix playbin/decodebin examples, update docs a bit, mention bus
26418           instead of signals in various places, mention kmplayer and
26419           kaffeine since they have a working GStreamer backend in the KDE
26420           section.
26421
26422 2005-06-30  Wim Taymans  <wim@fluendo.com>
26423
26424         * CHANGES-0.9:
26425         * docs/design/draft-ghostpads.txt:
26426         * docs/design/draft-push-pull.txt:
26427         * docs/design/draft-query.txt:
26428         * docs/design/part-TODO.txt:
26429         * docs/design/part-query.txt:
26430         Added CHANGES-0.9 doc, updated status of other docs.
26431         
26432         * gst/gstquery.h:
26433         Remove "hmm" macro
26434
26435 2005-06-30  Wim Taymans  <wim@fluendo.com>
26436
26437         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26438         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26439         (gst_base_sink_change_state):
26440         * gst/base/gstbasesink.h:
26441         Some tweaks, only EOS and a buffer complete a preroll.
26442
26443 2005-06-30  Andy Wingo  <wingo@pobox.com>
26444
26445         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26446         activate_push down to the internal pad as well.
26447
26448 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26449
26450         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26451
26452         * gst/gsttaginterface.c:
26453           Some documentation fixes (#307394 and #307397).
26454
26455 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26456
26457         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26458
26459         * gst/gstvalue.c: (gst_value_intersect_list):
26460           Fix memleak (#309125).
26461
26462 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26463
26464         * docs/manual/advanced-dataaccess.xml:
26465           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26466         * docs/manual/basics-pads.xml:
26467           Add reference for filtered caps to above chapter.
26468
26469 2005-06-30  Wim Taymans  <wim@fluendo.com>
26470
26471         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26472         (gst_bin_change_state):
26473         Probes are gone.
26474         Lame attempt at making the state change function a bit
26475         more readable.
26476
26477 2005-06-30  Wim Taymans  <wim@fluendo.com>
26478
26479         * docs/design/part-clocks.txt:
26480         * docs/design/part-element-sink.txt:
26481         * docs/design/part-events.txt:
26482         * docs/design/part-preroll.txt:
26483         * docs/design/part-states.txt:
26484         Some more tweeks and additions to the docs.
26485
26486 2005-06-30  Wim Taymans  <wim@fluendo.com>
26487
26488         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26489         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26490         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26491         (gst_pad_check_pull_range), (gst_pad_get_range),
26492         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26493         * gst/gstpad.h:
26494         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26495         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26496         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26497         (gst_pad_remove_buffer_probe):
26498         Removed atomic operations, use existing LOCK.
26499         Move exception handling out of main code path.
26500
26501 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26502
26503         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26504         (silly_return_true_function), (gst_pad_class_init),
26505         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26506         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26507         (gst_pad_send_event):
26508           Fix accumulator, add default value by using _emitv() instead
26509           of _emit() for signal emission.
26510
26511 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26512
26513         * docs/manual/advanced-dataaccess.xml:
26514         * examples/manual/Makefile.am:
26515           Add probe example.
26516         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26517           Make work (??).
26518
26519 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26520
26521         * gst/elements/gstfilesink.c: (gst_filesink_render):
26522           Simplify code so that we don't have to handle short
26523           writes and return GST_FLOW_ERROR if an error occured.
26524
26525 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26526
26527         * docs/gst/gstreamer-docs.sgml:
26528           Remove probes more.
26529
26530 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26531
26532         * docs/gst/gstreamer-sections.txt:
26533         * docs/gst/tmpl/gstpad.sgml:
26534         * docs/gst/tmpl/gstprobe.sgml:
26535         * gst/Makefile.am:
26536         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26537         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26538         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26539         (gst_pad_push_event), (gst_pad_send_event):
26540         * gst/gstpad.h:
26541         * gst/gstutils.c: (gst_pad_add_data_probe),
26542         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26543         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26544         (gst_pad_remove_buffer_probe):
26545         * gst/gstutils.h:
26546           Remove old probes, add new g-signal-based probes and some utility
26547           functions.
26548
26549 2005-06-29  Edward Hervey  <edward@fluendo.com>
26550
26551         * gst/gstelementfactory.c:
26552         * gst/gstutils.h:
26553         * gst/gstutils.c:
26554         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26555         the definition to the header file.
26556
26557 2005-06-29  Andy Wingo  <wingo@pobox.com>
26558
26559         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26560         plugins from the source directory.
26561
26562 2005-06-29  Wim Taymans  <wim@fluendo.com>
26563
26564         * docs/gst/tmpl/gstbuffer.sgml:
26565         * docs/gst/tmpl/gstclock.sgml:
26566         Some fixings for blantently wrong text.
26567
26568 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26569
26570         * check/Makefile.am:
26571         * gst/gst.c: (add_path_func), (init_pre):
26572         * gst/gstregistry.c: (gst_registry_add_path):
26573           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26574           only scan the GST_PLUGIN_PATH locations, and not add
26575           system locations
26576
26577 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26578
26579         * docs/gst/gstreamer-sections.txt:
26580         * docs/gst/tmpl/gstbasesrc.sgml:
26581         * gst/gstelement.c:
26582         * gst/gstelement.h:
26583         * gst/gstevent.c:
26584         * gst/gstutils.c:
26585           doc fixes
26586
26587 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26588
26589         * docs/manual/advanced-autoplugging.xml:
26590           Fix autoplugging example.
26591
26592 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26593
26594         * docs/manual/advanced-autoplugging.xml:
26595         * docs/manual/mime-world.fig:
26596           Try to get autoplugging working, fix type detection. Fix text
26597           in hello-world image.
26598
26599 2005-06-29  Wim Taymans  <wim@fluendo.com>
26600
26601         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26602         (gst_base_sink_change_state):
26603         Small debug line.
26604
26605         * gst/gstclock.h:
26606         map SIGNAL and BROADCAST to the right function.
26607
26608         * gst/gstobject.h:
26609         Remove redundant braces.
26610
26611         * gst/gstpad.c: (gst_pad_set_caps):
26612         Don't call setcaps function when reseting caps to NULL.
26613
26614         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26615         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26616         (gst_system_clock_id_unschedule):
26617         Use BROADCAST as this is what we do.
26618
26619 2005-06-29  Wim Taymans  <wim@fluendo.com>
26620
26621         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26622         We are actually prerolling before commiting the state
26623         change. 
26624
26625 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26626
26627         * docs/manual/advanced-clocks.xml:
26628         * docs/manual/advanced-interfaces.xml:
26629         * docs/manual/advanced-metadata.xml:
26630         * docs/manual/advanced-position.xml:
26631         * docs/manual/advanced-schedulers.xml:
26632         * docs/manual/advanced-threads.xml:
26633         * docs/manual/appendix-porting.xml:
26634         * docs/manual/basics-bins.xml:
26635         * docs/manual/basics-bus.xml:
26636         * docs/manual/basics-elements.xml:
26637         * docs/manual/basics-helloworld.xml:
26638         * docs/manual/basics-pads.xml:
26639         * docs/manual/highlevel-components.xml:
26640         * docs/manual/manual.xml:
26641         * docs/manual/thread.fig:
26642           Update (until threads/scheduling) Application Development Manual;
26643           remove GstThread, add GstBus, add simple porting checklist, add
26644           documentation for tag writing, clocks, make all examples until this
26645           part compile and run.
26646         * examples/manual/Makefile.am:
26647           Update from changes to Application Development Manual; add bus
26648           example, remove thread example.
26649
26650 2005-06-28  Wim Taymans  <wim@fluendo.com>
26651
26652         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26653         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26654         (gst_bus_source_dispatch):
26655         Add debugging messages.
26656         Make internal methods static.
26657         Handle the case where the bus is flushed in the handler.
26658         
26659         * gst/gstelement.c: (gst_element_get_bus):
26660         Fix refcount in _get_bus();
26661
26662         * gst/gstpipeline.c: (gst_pipeline_change_state),
26663         (gst_pipeline_get_clock_func):
26664         Clock refcounting fixes.
26665         Handle the case where preroll timed out more gracefully.
26666         
26667         * gst/gstsystemclock.c: (gst_system_clock_dispose):
26668         Clean up the internal thread in dispose. This is needed
26669         for subclasses that actually get disposed.
26670         
26671         * gst/schedulers/threadscheduler.c:
26672         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26673         (gst_thread_scheduler_dispose):
26674         Free thread pool in dispose.
26675
26676 2005-06-28  Andy Wingo  <wingo@pobox.com>
26677
26678         * tests/network-clock-utils.scm (debug, print-event): New utils.
26679
26680         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26681         (*packet-loss*): Unified loss probability.
26682         (network-time): Report out-of-band events.
26683
26684         * tests/plot-data: Add support for out-of-band events. Hack it
26685         into this script instead of passing it down the pipe; should fix
26686         this later.
26687
26688 2005-06-28  Wim Taymans  <wim@fluendo.com>
26689
26690         * docs/gst/gstreamer.types:
26691         * docs/gst/tmpl/gstbasesrc.sgml:
26692         * docs/gst/tmpl/gstpad.sgml:
26693         Docs fixes.
26694
26695 2005-06-28  Wim Taymans  <wim@fluendo.com>
26696
26697         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26698         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26699         (gst_proxy_pad_do_fixatecaps):
26700         Correctly proxy the check_pull_range function.
26701
26702 2005-06-28  Andy Wingo  <wingo@pobox.com>
26703
26704         * tests/network-clock.scm: Removed need for slib.
26705         
26706 2005-06-28  Wim Taymans  <wim@fluendo.com>
26707
26708         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26709         (gst_basesink_preroll_queue_flush):
26710         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26711         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26712         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26713         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26714         (gst_proxy_pad_set_property):
26715         * gst/gstpad.c:
26716         * gst/gstpad.h:
26717         * gst/gstqueue.c: (gst_queue_init):
26718         The deprecated pad loop function is removed now.
26719
26720 2005-06-28  Andy Wingo  <wingo@pobox.com>
26721
26722         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26723         New parameters, simulate network packet loss.
26724
26725         * tests/network-clock-utils.scm: Initialize the RNG.
26726
26727 2005-06-28  Wim Taymans  <wim@fluendo.com>
26728
26729         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26730         (gst_basesink_event), (gst_basesink_deactivate):
26731         Flushing the preroll queue always needs to unlock the waiters.
26732
26733 2005-06-28  Edward Hervey  <edward@fluendo.com>
26734
26735         * gst/gstpipeline.c: (gst_pipeline_send_event): 
26736         Wheen a seek was successful on a pipeline, set the stream_time to the
26737         seek offset in order to have a synchronized stream_time.
26738
26739 2005-06-28  Wim Taymans  <wim@fluendo.com>
26740
26741         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26742         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26743         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26744         (gst_proxy_pad_do_fixatecaps):
26745         Call wrapper function instead of just calling the function
26746         pointers. This takes care of any locking and whatmore.
26747
26748 2005-06-28  Wim Taymans  <wim@fluendo.com>
26749
26750         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26751         (gst_pad_pull_range):
26752         * gst/gstpad.h:
26753         CONNECTED -> LINKED.
26754
26755 2005-06-28  Andy Wingo  <wingo@pobox.com>
26756
26757         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26758         source-munging commit!!!
26759
26760         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
26761         (gst_object_sink): Take gpointer arguments, not GstObject --
26762         avoids casts. Like GLib.
26763
26764         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26765         activate.
26766
26767 2005-06-27  Andy Wingo  <wingo@pobox.com>
26768
26769         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26770         remaining buffer.
26771
26772         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26773         returns a sorted copy of the trace list.
26774         (gst_alloc_trace_print_live): New API, only prints traces with
26775         live objects. Sort the list.
26776         (gst_alloc_trace_print_all): Sort the list.
26777         (gst_alloc_trace_print): Align columns.
26778
26779         * gst/elements/gstttypefindelement.c:
26780         * gst/elements/gsttee.c:
26781         * gst/base/gstbasesrc.c:
26782         * gst/base/gstbasesink.c:
26783         * gst/base/gstbasetransform.c:
26784         * gst/gstqueue.c: Adapt for pad activation changes.
26785
26786         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26787         sched.
26788         (gst_pipeline_dispose): Drop ref on sched.
26789
26790         * gst/gstpad.c (gst_pad_init): Set the default activate func.
26791         (gst_pad_activate_default): Push mode by default.
26792         (pre_activate_switch, post_activate_switch): New stubs, things to
26793         do before and after switching activation modes on pads.
26794         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26795         the pad's activate function to choose which mode to activate.
26796         Shortcut on deactivation and call the right function directly.
26797         (gst_pad_activate_pull): New API, (de)activates a pad in pull
26798         mode.
26799         (gst_pad_activate_push): New API, same for push mode.
26800         (gst_pad_set_activate_function) 
26801         (gst_pad_set_activatepull_function) 
26802         (gst_pad_set_activatepush_function): Setters for new API.
26803
26804         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26805         Trace all miniobjects.
26806         (gst_mini_object_make_writable): Unref the arg if we copy, like
26807         gst_caps_make_writable.
26808
26809         * gst/gstmessage.c (_gst_message_initialize): No trace init.
26810
26811         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
26812         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26813         Adapt for new pad API.
26814
26815         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26816
26817         * gst/gstelement.h:
26818         * gst/gstelement.c (gst_element_iterate_src_pads) 
26819         (gst_element_iterate_sink_pads): New API functions.
26820         
26821         * gst/gstelement.c (iterator_fold_with_resync): New utility,
26822         should fold into gstiterator.c in some form.
26823         (gst_element_pads_activate): Simplified via use of fold and
26824         delegation of decisions to gstpad->activate.
26825
26826         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26827         help in debugging.
26828
26829         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26830         class once in init, like gstmessage. Didn't run into this issue
26831         but it seems correct. Don't initialize a trace, gstminiobject does
26832         that.
26833
26834         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26835         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26836         to the bus.
26837         (assert_live_count): New util function, uses alloc traces to check
26838         cleanup.
26839
26840         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26841         To be modified when unlink drops the internal pad.
26842
26843 2005-06-27  Wim Taymans  <wim@fluendo.com>
26844
26845         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26846         (gst_bin_change_state):
26847         Cleanup the get_state() function a little, make sure it
26848         iterates the same set of elements.
26849         Added stub iterate_state_order().
26850
26851 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
26852
26853         * docs/gst/gstreamer-docs.sgml:
26854         * docs/gst/gstreamer-sections.txt:
26855         * docs/gst/gstreamer.types:
26856         * docs/gst/tmpl/gstbasesink.sgml:
26857         * docs/gst/tmpl/gstbasesrc.sgml:
26858         * docs/gst/tmpl/gstbasetransform.sgml:
26859         * docs/gst/tmpl/gstelement.sgml:
26860         * docs/gst/tmpl/gstiterator.sgml:
26861         * gst/base/gstbasesrc.c:
26862         * gst/base/gstbasesrc.h:
26863         * gst/base/gstbasetransform.h:
26864         * gst/gstelement.c:
26865         * gst/gstiterator.h:
26866           adding basetransform and iterator docs
26867
26868 2005-06-27  Andy Wingo  <wingo@pobox.com>
26869
26870         * docs/design/part-activation.txt: Notes on how activation should
26871         work -- not quite implemented yet.
26872
26873 2005-06-25  Wim Taymans  <wim@fluendo.com>
26874
26875         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26876         At least get the chain function correct, needs more
26877         fixing.
26878
26879 2005-06-25  Wim Taymans  <wim@fluendo.com>
26880
26881         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26882         (gst_basesink_handle_object), (gst_basesink_event),
26883         (gst_basesink_do_sync), (gst_basesink_handle_event),
26884         (gst_basesink_change_state):
26885         * gst/gsttask.h:
26886         Right, two problems here: ghostpads don't take locks and
26887         glib _rec_mutex_lock_full() with depth==0 still locks.
26888         Catch illegal locking and g_warn them.
26889
26890 2005-06-25  Wim Taymans  <wim@fluendo.com>
26891
26892         * check/states/sinks.c: (START_TEST), (gst_object_suite):
26893         Have to check for completion now...
26894
26895 2005-06-25  Wim Taymans  <wim@fluendo.com>
26896
26897         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26898         (gst_basesink_handle_object), (gst_basesink_event),
26899         (gst_basesink_do_sync), (gst_basesink_handle_event),
26900         (gst_basesink_change_state):
26901         * gst/gstpad.h:
26902         Unlock STREAM_LOCK whatever the recursion was.
26903
26904 2005-06-25  Wim Taymans  <wim@fluendo.com>
26905
26906         * gst/base/gstbasesink.c: (gst_basesink_set_property),
26907         (gst_basesink_preroll_queue_empty),
26908         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
26909         (gst_basesink_event), (gst_basesink_do_sync),
26910         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
26911         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
26912         (gst_basesink_change_state):
26913         Reworked the base sink, handle event and buffer serialisation
26914         correctly and removed possible deadlock.
26915         Handle EOS correctly.
26916
26917 2005-06-25  Wim Taymans  <wim@fluendo.com>
26918
26919         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
26920         (gst_pipeline_change_state):
26921         * tools/gst-launch.c: (check_intr), (event_loop), (main):
26922         Allow elements to post EOS in the state change function.
26923         Fix up -launch, make it exit the poll loop when the
26924         pipeline actually changed state.
26925         Fix up warning parsing in -launch.
26926
26927 2005-06-25  Wim Taymans  <wim@fluendo.com>
26928
26929         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
26930         (gst_tee_sink_activate):
26931         Core takes STREAM_LOCK for us now.
26932
26933 2005-06-25  Wim Taymans  <wim@fluendo.com>
26934
26935         * gst/gstelement.c: (gst_element_get_state_func),
26936         (gst_element_set_state):
26937         * gst/gstelement.h:
26938         * gst/gstmessage.c: (gst_message_parse_error),
26939         (gst_message_parse_warning):
26940         Keep track of current target state while performing a state
26941         change so that subclasses can do something interesting.
26942         Fix parsing of warning/error messages when GError is NULL.
26943
26944 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26945
26946         * docs/gst/Makefile.am:
26947         * docs/gst/gstreamer-docs.sgml:
26948         * docs/gst/gstreamer-sections.txt:
26949         * docs/gst/gstreamer.types:
26950         * docs/gst/tmpl/gstbasesink.sgml:
26951         * docs/gst/tmpl/gstbasesrc.sgml:
26952         * docs/gst/tmpl/gstbin.sgml:
26953         * docs/gst/tmpl/gstcompat.sgml:
26954         * docs/gst/tmpl/gstfakesink.sgml:
26955         * docs/gst/tmpl/gstfakesrc.sgml:
26956         * docs/gst/tmpl/gstfilesink.sgml:
26957         * docs/gst/tmpl/gstfilesrc.sgml:
26958         * docs/gst/tmpl/gstindex.sgml:
26959         * docs/manual/appendix-quotes.xml:
26960         * gst/base/gstbasesrc.h:
26961         * gst/elements/gstfakesrc.h:
26962         * gst/gstmessage.h:
26963           start pulling in base classes and elements in our docs
26964
26965 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
26966
26967         * docs/gst/Makefile.am:
26968         * docs/libs/Makefile.am:
26969           fixed make distcheck with gtk-doc 1.3
26970
26971 2005-06-23  Wim Taymans  <wim@fluendo.com>
26972
26973         * gst/gstelement.c: (gst_element_get_state_func),
26974         (gst_element_set_state), (gst_element_change_state):
26975         When the state did not change, also report NO_PREROLL
26976         when it matters.
26977
26978 2005-06-23  Wim Taymans  <wim@fluendo.com>
26979
26980         * gst/gstpad.c: (gst_pad_event_default):
26981         * gst/gstqueue.c: (gst_queue_loop):
26982         No unsafe task pausing please.
26983
26984 2005-06-23  Wim Taymans  <wim@fluendo.com>
26985
26986         * gst/schedulers/threadscheduler.c:
26987         (gst_thread_scheduler_task_start),
26988         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
26989         Ref the task before pushing it on the threadpool. This
26990         makes sure that we have a ref when the threadfunction is
26991         actually called.
26992
26993 2005-06-23  Andy Wingo  <wingo@pobox.com>
26994
26995         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
26996         offset is greater than the file's size.
26997
26998         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
26999         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27000         * gst/gstobject.c (gst_object_class_init): Make the class lock
27001         recursive. Wim won't let me drop deep_notify. Decodebin works
27002         again, whoopdy doo.
27003
27004         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27005         internal pad, and hacks accordingly. Doesn't do it on the target
27006         pad because we change its caps. Probably catches all cases of
27007         interest tho.
27008         (gst_ghost_pad_set_property): Connect to notify::caps as
27009         appropritate.
27010
27011         * tests/network-clock.scm (plot-simulation): Pipe data to the
27012         elite python skript.
27013
27014         * tests/network-clock-utils.scm (define-parameter): New macro,
27015         defines a parameter that can be set via the command line.
27016         (set-parameter!, parse-parameter-arguments): Command line args
27017         parser.
27018
27019         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27020         stdin.
27021
27022 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27023
27024         * gst/elements/gsttypefindelement.c:
27025         (gst_type_find_element_handle_event):
27026           Don't restart typefinding on a discont.
27027         * gst/gstelement.c: (gst_element_set_state):
27028           Debug spelling fix.
27029         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27030           Allow changing mode of an active pad.
27031           Debug output fixes.
27032         * gst/registries/gstlibxmlregistry.c: (load_feature):
27033           Don't cast a static pad template to a normal pad template.
27034
27035 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27036
27037         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27038         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27039           remove gst_strtoll completely, since it didn't actually do
27040           anything more than what g_ascii_strtoull already does.
27041           check for range errors when deserializing
27042           do a cast for the unsigned cases; but further fixing needs
27043           a decision on what the interpretation of "(int)" and
27044           deserialization should be for values that fall outside the
27045           type's boundaries (ie, refuse, or interpret as casting)
27046
27047 2005-06-23  Wim Taymans  <wim@fluendo.com>
27048
27049         * check/Makefile.am:
27050         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27051         * docs/design/part-live-source.txt:
27052         * docs/design/part-states.txt:
27053         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27054         (gst_basesrc_set_live), (gst_basesrc_is_live),
27055         (gst_basesrc_get_range), (gst_basesrc_activate),
27056         (gst_basesrc_change_state):
27057         * gst/base/gstbasesrc.h:
27058         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27059         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27060         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27061         * gst/gstelement.c: (gst_element_get_state_func),
27062         (gst_element_set_state):
27063         * gst/gstelement.h:
27064         * gst/gsttypes.h:
27065         * tools/gst-launch.c: (event_loop), (main):
27066         Added support for live sources and other elements that
27067         cannot do preroll.
27068         Updated design docs, added live-source design doc.
27069         Implemented live source functionality in basesrc
27070         Fix error condition in _bin_get_state()
27071         Implement live source handling in -launch.
27072         Added check for live sources.
27073         Fixed case in GstBin where elements were changed state
27074         multiple times.
27075
27076
27077 2005-06-23  Andy Wingo  <wingo@pobox.com>
27078
27079         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27080         borken refcounting.
27081
27082         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27083         gst_caps_replace takes care of this for us.
27084
27085         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27086         gst_pad_set_caps on the target, not just its setcaps() function.
27087
27088         * tests/network-clock.scm: 
27089         * tests/network-clock-utils.scm: A network clock simulator.
27090         Something of an algorithmic testbed before doing something in C.
27091
27092 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27093
27094         * check/Makefile.am:
27095         * check/gst/capslist.h:
27096           copy over from 0.8, and add two with bitmasks specified with
27097           (int) 0xFF...
27098         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27099           add test to parse everything from capslist.h
27100         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27101         (main):
27102           add test for structure deserialization
27103         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27104           add tests for deserialization of strings to int types
27105         * gst/gststructure.c: (gst_structure_nth_field_name):
27106         * gst/gststructure.h:
27107           add a way to get the name of a field referenced by index
27108         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27109           instead of checking if the resulting long long lies between
27110           min and max, we check if the long long would fit into
27111           a number of bytes for the final type.
27112           This fixes cases where a string represents 2^32 - 1, which
27113           when cast to int would be the (valid) -1, but is bigger than
27114           G_MAXINT
27115
27116 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27117
27118         * gst/parse/grammar.y:
27119           add a log line for type deserialization
27120
27121 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27122
27123         * check/gst/gstvalue.c: (START_TEST):
27124         * gst/gstvalue.c: (gst_value_deserialize):
27125           return long long, not int, so gint64 deserialization actually
27126           works.  Is there any flag that makes the compiler check this ?
27127           Fixes #308559
27128
27129 2005-06-22  Wim Taymans  <wim@fluendo.com>
27130
27131         * gst/gstbuffer.h:
27132         Added convenience macros for setting buffers in GValue.
27133
27134 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27135
27136         * check/gst/.cvsignore:
27137         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27138           add a test deserializing int64, and comment part out because
27139           it fails, yay !
27140
27141 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27142
27143         * check/Makefile.am:
27144         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27145         * testsuite/Makefile.am:
27146         * testsuite/caps/Makefile.am:
27147         * testsuite/caps/value_serialize.c:
27148         * testsuite/test_gst_init.c:
27149           move a value_serialize test over
27150
27151 2005-06-20  Wim Taymans  <wim@fluendo.com>
27152
27153         * gst/gstpad.c:
27154         Small doc updates.
27155         
27156         * gst/gstvalue.c: (gst_value_compare_buffer),
27157         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27158         (gst_value_compare_flags), (gst_value_serialize_flags),
27159         (gst_value_deserialize_flags), (_gst_value_initialize):
27160         Fix serialisation of buffers, they are not boxed types anymore
27161
27162 2005-06-20  Wim Taymans  <wim@fluendo.com>
27163
27164         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27165         Testcase to show error in buffer-on-caps serialisation.
27166
27167 2005-06-20  Andy Wingo  <wingo@pobox.com>
27168
27169         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27170         will be adding to later.
27171
27172         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27173         if its socks fill with rocks.
27174         (gst_system_clock_obtain): Set the name on object construction.
27175         Avoid double-checked locking.
27176
27177 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27178
27179         * gst/gsturi.c: (gst_element_make_from_uri):
27180           Fix potential endless loop.
27181
27182 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27183
27184         * check/Makefile.am:
27185           add gsttag
27186         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27187         (main):
27188           move over from testsuite dir and clean up
27189         * configure.ac:
27190         * gst/gsttag.c:
27191         * testsuite/Makefile.am:
27192         * testsuite/tags/.cvsignore:
27193         * testsuite/tags/Makefile.am:
27194         * testsuite/tags/merge.c:
27195           remove testsuite/tags
27196
27197 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27198
27199         * docs/gst/gstreamer-sections.txt:
27200         * docs/gst/tmpl/gstenumtypes.sgml:
27201         * win32/gstenumtypes.c:
27202           clean up documentation build a little
27203
27204 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27205
27206         * check/gstcheck.h:
27207           add macros for checking refcounts on objects and caps
27208         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27209           add some more unit tests
27210         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27211         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27212           fix leaked refcounts (I hope :)) so unittest works
27213         * gst/gstpad.h:
27214           whitespace removal
27215
27216 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27217
27218         * configure.ac: back to HEAD
27219
27220 === release 0.9.1 ===
27221
27222 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27223
27224         * NEWS:
27225         * RELEASE:
27226           updated
27227
27228 2005-06-17  Andy Wingo  <wingo@pobox.com>
27229
27230         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27231         assert; it's always possible that the pad gets deactivated in
27232         between the checks in gstpad.c and the implementation. Rely on
27233         finish_preroll() to return a FLUSHING or similar instead of on the
27234         assert.
27235         
27236         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27237         clock and post an EOS message if we come out of finish_preroll in
27238         the playing state.
27239
27240 2005-06-16  David Schleef  <ds@schleef.org>
27241
27242         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27243         (gst_capsfilter_set_property): Allow NULL as possible value
27244         for filter_caps property, indicating GST_CAPS_ANY.
27245
27246 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27247
27248         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27249           fix debug output
27250         * gst/schedulers/Makefile.am:
27251           use libgst prefix
27252         * gstreamer.spec.in:
27253           fix spec for it
27254
27255 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27256
27257         * gstreamer.spec.in:
27258           clean up
27259
27260 2005-06-08  Andy Wingo  <wingo@pobox.com>
27261
27262         * gst/gstutils.c: RPAD fixes all around.
27263         (gst_element_link_pads): Refcounting fixes.
27264
27265         * tools/gst-inspect.c:
27266         * tools/gst-xmlinspect.c:
27267         * parse/grammar.y:
27268         * gst/base/gsttypefindhelper.c:
27269         * gst/base/gstbasesink.c:
27270         * gst/gstqueue.c: RPAD fixes.
27271
27272         * gst/gstghostpad.h:
27273         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27274         pads. The tricky thing is they provide both source and sink
27275         interfaces, since they proxy the internal pad for the external
27276         pad, and vice versa. Implement with lower-level ProxyPad objects,
27277         with the interior proxy pad as a child of the exterior ghost pad.
27278         Should write a doc on this.
27279         
27280         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27281         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27282         gst_object API.
27283         
27284         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27285         pads are real pads. No ghost pads in this file. Not documenting
27286         the myriad s/RPAD/PAD/ and REALIZE fixes.
27287         (gst_pad_class_init): Add properties for "direction" and
27288         "template". Both are construct-only, so they can't change during
27289         the life of the pad. Fixes properly deriving from GstPad.
27290         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27291         derived objects, just set properties when creating the objects via
27292         g_object_new.
27293         (gst_pad_get_parent): Implement as a function, return NULL if the
27294         parent is not an element.
27295         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27296         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27297         
27298         * gst/gstobject.c (gst_object_class_init): Make name a construct
27299         property. Don't set it in the object init.
27300
27301         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27302         with UNKNOWN direction.
27303         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27304         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27305         (gst_element_remove_pad): Remove ghost-pad special cases.
27306         (gst_element_pads_activate): Remove rpad cruft.
27307
27308         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27309         catch the pad's-parent-not-an-element case.
27310
27311         * gst/gst.h: Include gstghostpad.h.
27312
27313         * gst/gst.c (init_post): No more real, ghost pads.
27314
27315         * gst/Makefile.am: Add gstghostpad.[ch].
27316
27317         * check/Makefile.am:
27318         * check/gst/gstbin.c:
27319         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27320         into a bin creates ghost pads, and that the refcounts are right.
27321         Partly moved from gstbin.c.
27322
27323 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27324
27325         * check/gst-libs/.cvsignore:
27326         * check/gst/.cvsignore:
27327         * check/pipelines/.cvsignore:
27328           ignore more
27329         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27330         (START_TEST), (cleanup_suite), (main):
27331           add some tests related to cleanup after running pipelines
27332
27333 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27334
27335         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27336           add a testsuite for GstBuffer
27337
27338 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27339
27340         * gst/gstminiobject.h:
27341           add defines for accessing the refcount
27342
27343 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27344
27345         * Makefile.am: added support for html unit test coverage reports
27346
27347 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27348
27349         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27350           Free existing caps if the capsfilter changes. Add a FIXME about
27351           setting those caps on the pads.
27352
27353         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27354           Before adding a ghost pad to a parent bin, check that there isn't
27355           already one for the element on the bin. Prevents infinite recursion
27356           when using decodebin in parse pipelines. Andy says he'll rewrite the
27357           way this works anyway, so ignore the hack.
27358
27359 2005-06-02  Andy Wingo  <wingo@pobox.com>
27360
27361         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27362         file size, pass it on to the type find helper.
27363
27364         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27365         segment_start and segment_end properly according to the seek
27366         method. Segment_end is still a bit flaky because offset can be
27367         negative for CUR and END cases, but it takes -1 as an "unset"
27368         value.
27369
27370 2005-06-02  Wim Taymans  <wim@fluendo.com>
27371
27372         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27373         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27374         (gst_basesink_activate):
27375         * gst/base/gstbasesink.h:
27376         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27377         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27378         (gst_pad_query), (gst_pad_start_task):
27379         * gst/gstpad.h:
27380         * gst/gstqueue.c: (gst_queue_bufferalloc),
27381         (gst_queue_handle_sink_event), (gst_queue_chain):
27382         Bufferalloc: return GstFlowReturn to more accuratly report
27383         why allocation failed.
27384
27385 2005-06-02  Wim Taymans  <wim@fluendo.com>
27386
27387         * gst/gstpipeline.c: (gst_pipeline_send_event):
27388         Take snapshot of state without blocking.
27389
27390 2005-06-02  Wim Taymans  <wim@fluendo.com>
27391
27392         * docs/design/part-TODO.txt:
27393         * docs/design/part-caps.txt:
27394         * docs/design/part-clocks.txt:
27395         * docs/design/part-negotiation.txt:
27396         * docs/design/part-preroll.txt:
27397         Small doc updates 
27398
27399 2005-05-30  Wim Taymans  <wim@fluendo.com>
27400
27401         * gst/elements/gstidentity.c: (gst_identity_event),
27402         (gst_identity_transform), (gst_identity_get_property):
27403         Protect last_message property as it is accessed from
27404         multiple threads.
27405
27406 2005-05-30  Wim Taymans  <wim@fluendo.com>
27407
27408         * gst/gstelement.c: (gst_element_init),
27409         (gst_element_pads_activate), (gst_element_change_state):
27410         Slicker pad activation code.
27411
27412 2005-05-30  Wim Taymans  <wim@fluendo.com>
27413
27414         * gst/Makefile.am:
27415         * gst/gstelement.h:
27416         * gst/gstelementfactory.h:
27417         * gst/gsttypes.h:
27418         Move elementfactory methods to separate .h file.
27419
27420 2005-05-30  Wim Taymans  <wim@fluendo.com>
27421
27422         * docs/design/part-overview.txt:
27423         * gst/gstsystemclock.h:
27424         Small typo fixes, doc updates.
27425
27426 2005-05-30  Wim Taymans  <wim@fluendo.com>
27427
27428         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27429         (init_popt_callback):
27430         Remove cpu-opt flag.
27431
27432 2005-05-30  Wim Taymans  <wim@fluendo.com>
27433
27434         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27435         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27436         * gst/gstbuffer.h:
27437         Avoid typechecking in places where not needed.
27438         Added accessor for malloc_data.
27439
27440 2005-05-30  Wim Taymans  <wim@fluendo.com>
27441
27442         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27443         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27444         (gst_pad_configure_sink), (gst_pad_configure_src),
27445         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27446         (gst_pad_start_task):
27447         Propagate errors from _set_caps() in configure_src/sink
27448         functions instead of returning TRUE.
27449         FLUSH events can travel up and downstream
27450
27451
27452 2005-05-30  Wim Taymans  <wim@fluendo.com>
27453
27454         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27455         (gst_basesink_activate):
27456         Handle EOS in preroll.
27457
27458 2005-05-30  Wim Taymans  <wim@fluendo.com>
27459
27460         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27461         (gst_queue_loop), (gst_queue_handle_src_event):
27462         Remove old pieces of code
27463         Flushing the queue in an upstream event is a very bad idea.
27464
27465 2005-05-26  Andy Wingo  <wingo@pobox.com>
27466
27467         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27468         gst_value_set_mini_object so as to add a ref on the object (which
27469         will be removed when the value is unset).
27470
27471         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27472         arg type in ::handoff.
27473
27474         * gst/gstelement.c (gst_element_change_state): Also deactivate
27475         pads in READY->NULL, just in case the element didn't make it to
27476         PAUSED. Wingo tested, Wim approved.
27477
27478 2005-05-26  Wim Taymans  <wim@fluendo.com>
27479
27480         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27481         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27482         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27483         A flushing pad cannot be used to alloc_buffer from.
27484
27485 2005-05-26  Wim Taymans  <wim@fluendo.com>
27486
27487         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27488         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27489         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27490         (gst_bus_create_watch), (gst_bus_add_watch_full):
27491         * gst/gstbus.h:
27492         Implement a real GSource and use g_main_context_wakeup() to
27493         signal new messages instead of the socketpair.
27494
27495 2005-05-25  Wim Taymans  <wim@fluendo.com>
27496
27497         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27498         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27499         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27500         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27501         (gst_pad_send_event), (gst_pad_start_task):
27502         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27503         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27504         (gst_queue_sink_activate), (gst_queue_src_activate),
27505         (gst_queue_change_state):
27506         * gst/gstqueue.h:
27507         Fix state changes for non sinks. We now change sinks, then elements
27508         with unconnected srcpads, then the rest.
27509         More efficient queue unlocking in flush and state changes.
27510         Set the pad activate mode even if it does not have an activate
27511         function.
27512
27513 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27514
27515         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27516           Don't go in pull mode for non-seekable sources.
27517         * gst/elements/gsttypefindelement.h:
27518         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27519         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27520         (free_entry), (stop_typefinding),
27521         (gst_type_find_element_handle_event), (find_peek),
27522         (gst_type_find_element_chain), (do_pull_typefind),
27523         (gst_type_find_element_change_state):
27524           Allow typefinding (w/o seeking) in push-mode, simplified version
27525           of what was in 0.8.
27526         * gst/gstutils.c: (gst_buffer_join):
27527         * gst/gstutils.h:
27528           gst_buffer_join() from 0.8.
27529
27530 2005-05-25  Wim Taymans  <wim@fluendo.com>
27531
27532         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27533         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27534         (gst_pad_send_event), (gst_pad_start_task):
27535         Disable attempt at mode switching until it is figured out.
27536
27537 2005-05-25  Wim Taymans  <wim@fluendo.com>
27538
27539         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27540         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27541         (gst_basesink_finish_preroll), (gst_basesink_chain),
27542         (gst_basesink_loop), (gst_basesink_activate),
27543         (gst_basesink_change_state):
27544         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27545         (gst_basesrc_get_range), (gst_basesrc_loop),
27546         (gst_basesrc_activate):
27547         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27548         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27549         (gst_real_pad_init), (gst_real_pad_set_property),
27550         (gst_real_pad_get_property), (gst_pad_set_active),
27551         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27552         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27553         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27554         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27555         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27556         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27557         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27558         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27559         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27560         (gst_pad_stop_task):
27561         * gst/gstpad.h:
27562         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27563         (gst_queue_loop), (gst_queue_src_activate):
27564         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27565         (gst_task_get_state):
27566         * gst/gsttask.h:
27567         * gst/schedulers/threadscheduler.c:
27568         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27569         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27570         in task function.
27571         Remove ACTIVE pad flag, use FLUSHING everywhere
27572         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27573         functions.
27574         Add locks around IS_FLUSHING when reading.
27575         Take STREAM lock in chain(), get_range() functions so plugins
27576         don't need to take it anymore.
27577         
27578
27579
27580 2005-05-25  Wim Taymans  <wim@fluendo.com>
27581
27582         * tools/gst-launch.c: (event_loop):
27583         Unref message after using its contents instead of
27584         before.
27585
27586 2005-05-24  Wim Taymans  <wim@fluendo.com>
27587
27588         * docs/design/draft-ghostpads.txt:
27589         * docs/design/draft-push-pull.txt:
27590         * docs/design/draft-query.txt:
27591         * docs/design/part-overview.txt:
27592         Docs updates, added general overview doc.
27593
27594 2005-05-21  David Schleef  <ds@schleef.org>
27595
27596         * docs/gst/tmpl/old/GstBin.sgml:
27597         * docs/gst/tmpl/old/GstBuffer.sgml:
27598         * docs/gst/tmpl/old/GstCaps.sgml:
27599         * docs/gst/tmpl/old/GstClock.sgml:
27600         * docs/gst/tmpl/old/GstCompat.sgml:
27601         * docs/gst/tmpl/old/GstData.sgml:
27602         * docs/gst/tmpl/old/GstElement.sgml:
27603         * docs/gst/tmpl/old/GstEvent.sgml:
27604         * docs/gst/tmpl/old/GstIndex.sgml:
27605         * docs/gst/tmpl/old/GstStructure.sgml:
27606         * docs/gst/tmpl/old/GstTag.sgml:
27607         * docs/gst/tmpl/old/cothreads.sgml:
27608         * docs/gst/tmpl/old/cothreads_compat.sgml:
27609         * docs/gst/tmpl/old/gettext.sgml:
27610         * docs/gst/tmpl/old/gobject2gtk.sgml:
27611         * docs/gst/tmpl/old/grammar.tab.sgml:
27612         * docs/gst/tmpl/old/gst-i18n-app.sgml:
27613         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27614         * docs/gst/tmpl/old/gst_private.sgml:
27615         * docs/gst/tmpl/old/gstaggregator.sgml:
27616         * docs/gst/tmpl/old/gstarch.sgml:
27617         * docs/gst/tmpl/old/gstatomic_impl.sgml:
27618         * docs/gst/tmpl/old/gstbufferstore.sgml:
27619         * docs/gst/tmpl/old/gstdata_private.sgml:
27620         * docs/gst/tmpl/old/gstdisksink.sgml:
27621         * docs/gst/tmpl/old/gstdisksrc.sgml:
27622         * docs/gst/tmpl/old/gstelementfactory.sgml:
27623         * docs/gst/tmpl/old/gstextratypes.sgml:
27624         * docs/gst/tmpl/old/gstfakesink.sgml:
27625         * docs/gst/tmpl/old/gstfakesrc.sgml:
27626         * docs/gst/tmpl/old/gstfdsink.sgml:
27627         * docs/gst/tmpl/old/gstfdsrc.sgml:
27628         * docs/gst/tmpl/old/gstfilesink.sgml:
27629         * docs/gst/tmpl/old/gstfilesrc.sgml:
27630         * docs/gst/tmpl/old/gsthttpsrc.sgml:
27631         * docs/gst/tmpl/old/gstidentity.sgml:
27632         * docs/gst/tmpl/old/gstindexfactory.sgml:
27633         * docs/gst/tmpl/old/gstmarshal.sgml:
27634         * docs/gst/tmpl/old/gstmd5sink.sgml:
27635         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27636         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27637         * docs/gst/tmpl/old/gstpadtemplate.sgml:
27638         * docs/gst/tmpl/old/gstpipefilter.sgml:
27639         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27640         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27641         * docs/gst/tmpl/old/gstshaper.sgml:
27642         * docs/gst/tmpl/old/gstspider.sgml:
27643         * docs/gst/tmpl/old/gstspideridentity.sgml:
27644         * docs/gst/tmpl/old/gststatistics.sgml:
27645         * docs/gst/tmpl/old/gsttee.sgml:
27646         * docs/gst/tmpl/old/gsttimecache.sgml:
27647         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27648         * docs/gst/tmpl/old/gstxmlregistry.sgml:
27649         * docs/gst/tmpl/old/gthread-cothreads.sgml:
27650         * docs/gst/tmpl/old/types.sgml:
27651           I didn't intend to add these or check them in.
27652
27653 2005-05-19  David Schleef  <ds@schleef.org>
27654
27655         * configure.ac: Use -no-common everywhere.  In a sane world, it
27656           would be the default in libtool, because without it, you can't
27657           build DLLs on Windows.
27658         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27659         * docs/gst/gstreamer-sections.txt:
27660         * docs/gst/tmpl/gstcpu.sgml:
27661         * docs/gst/tmpl/gstdata.sgml:
27662         * docs/gst/tmpl/gstthread.sgml:
27663
27664 2005-05-19  David Schleef  <ds@schleef.org>
27665
27666         * gst/gstminiobject.c: (gst_value_set_mini_object),
27667         (gst_value_take_mini_object), (gst_value_get_mini_object):
27668         * gst/gstminiobject.h: Add GValue set/get functions.
27669
27670 2005-05-19  Wim Taymans  <wim@fluendo.com>
27671
27672         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27673         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27674         (gst_subbuffer_init), (gst_buffer_is_span_fast):
27675         * gst/gstbuffer.h:
27676         * gst/gstbus.c: (gst_bus_post):
27677         * gst/gstelement.c: (gst_element_get_random_pad):
27678         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27679         Make subbufer unref the parent in finalize.
27680         some more debugging info.
27681
27682
27683 2005-05-19  Wim Taymans  <wim@fluendo.com>
27684
27685         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27686         (gst_basesink_init), (gst_basesink_finalize),
27687         (gst_basesink_activate), (gst_basesink_change_state):
27688         Don't free preroll queue too early.
27689
27690 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27691
27692         * gst/Makefile.am:
27693         * gst/ROADMAP:
27694           Hi, I'm outdated. Please shoot me.
27695
27696 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27697
27698         * gst/gstpipeline.c: (gst_pipeline_send_event):
27699           Do not access variables after they have been deleted.
27700
27701 2005-05-19  Wim Taymans  <wim@fluendo.com>
27702
27703         * tools/gst-inspect.c: (print_plugin_features):
27704         A plugin feature does unfortunatly not use the
27705         object name yet...
27706
27707 2005-05-18  Wim Taymans  <wim@fluendo.com>
27708
27709         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27710         Port _span() functions to new subbuffers.
27711
27712 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27713
27714         * gst/gstbin.c: (gst_bin_add_func):
27715           Fix clock settery in bins when adding kids after the clock has
27716           been selected.
27717
27718 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27719
27720         * gst/elements/gstidentity.c: (gst_identity_class_init):
27721           Workaround until signals support GstMiniObject.
27722
27723 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
27724
27725         * gst/gstbuffer.c:
27726         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27727
27728 2005-05-18  Wim Taymans  <wim@fluendo.com>
27729
27730         * gst/base/Makefile.am:
27731         * gst/base/gstadapter.c: (gst_adapter_base_init),
27732         (gst_adapter_class_init), (gst_adapter_init),
27733         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27734         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27735         (gst_adapter_flush), (gst_adapter_available),
27736         (gst_adapter_available_fast):
27737         * gst/base/gstadapter.h:
27738         Ported and added adapter to the base classes.
27739
27740 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
27741
27742         * gst/gst.c:
27743         * gst/gstmessage.c:
27744           Make sure the class is reffed/unreffed once before threads can be
27745           used.  Fixes #304551.
27746
27747 2005-05-17  Wim Taymans  <wim@fluendo.com>
27748
27749         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27750         (gst_basesink_chain_unlocked), (gst_basesink_activate):
27751         * gst/gstminiobject.c: (gst_mini_object_get_type),
27752         (gst_mini_object_free):
27753         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27754         (gst_pad_push), (gst_pad_push_event):
27755         * gst/gstqueue.c: (gst_queue_change_state):
27756         Don't queue buffers in basesink when we are flushing.
27757         Unref buffer when flushing in basesink.
27758         Flush queue when going to READY
27759         Unref buffer when _push() returns an error.
27760         Don't free MiniObject instance when refcount is incremented
27761         in _finalize() so that we can recover objects.
27762
27763 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27764
27765         * docs/manual/advanced-schedulers.xml:
27766         * docs/manual/appendix-checklist.xml:
27767         * docs/pwg/advanced-clock.xml:
27768         * docs/pwg/advanced-interfaces.xml:
27769         * docs/pwg/advanced-request.xml:
27770         * docs/pwg/advanced-types.xml:
27771         * docs/pwg/intro-preface.xml:
27772         * examples/plugins/example.c: (gst_example_get_type),
27773         (gst_example_class_init), (gst_example_chain),
27774         (gst_example_set_property), (gst_example_get_property),
27775         (gst_example_change_state), (plugin_init):
27776         * examples/plugins/example.h:
27777           small doc fixes
27778
27779 2005-05-17  Wim Taymans  <wim@fluendo.com>
27780
27781         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27782         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27783         * gst/gstqueue.c: (gst_queue_change_state):
27784         Clear queue when going to READY.
27785         Remove IN_SETCAPS flag too.
27786
27787 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
27788
27789         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27790           Remove implicit cast from gboolean to GstElementStateReturn;
27791           make sure we still return failure in paused => ready case if
27792           the parent class fails to change state and our own stop 
27793           vfunc succeeds.
27794
27795 2005-05-17  Wim Taymans  <wim@fluendo.com>
27796
27797         * tools/gst-launch.c: (event_loop):
27798         Message was unreffed too soon.
27799
27800 2005-05-16  Andy Wingo  <wingo@pobox.com>
27801
27802         * gst/gstbin.c (sink_iterator_filter): Err... um...
27803
27804         * check/gst/gstbin.c (test_ghost_pads): New test for the
27805         ghosting-if-elements-not-in-same-bin behavior.
27806
27807 2005-05-16  David Schleef  <ds@schleef.org>
27808
27809         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27810         accessing refcount directly.
27811
27812 2005-05-15  David Schleef  <ds@schleef.org>
27813
27814         * check/Makefile.am: remove GstData checks
27815         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27816         * gst/Makefile.am: add miniobject, remove data
27817         * gst/gst.h: add miniobject, remove data
27818         * gst/gstdata.c: remove
27819         * gst/gstdata.h: remove
27820         * gst/gstdata_private.h: remove
27821         * gst/gsttypes.h: remove GstEvent and GstMessage
27822         * gst/gstelement.c: (gst_element_post_message): fix for API changes
27823         * gst/gstmarshal.list: change BOXED -> OBJECT
27824
27825         Implement GstMiniObject.
27826         * gst/gstminiobject.c:
27827         * gst/gstminiobject.h:
27828
27829         Modify to be subclasses of GstMiniObject.
27830         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27831         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27832         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27833         (gst_subbuffer_get_type), (gst_subbuffer_init),
27834         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27835         (gst_buffer_span):
27836         * gst/gstbuffer.h:
27837         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27838         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27839         (_gst_event_copy), (gst_event_new):
27840         * gst/gstevent.h:
27841         * gst/gstmessage.c: (_gst_message_initialize),
27842         (gst_message_get_type), (gst_message_class_init),
27843         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27844         (gst_message_new), (gst_message_new_error),
27845         (gst_message_new_warning), (gst_message_new_tag),
27846         (gst_message_new_state_changed), (gst_message_new_application):
27847         * gst/gstmessage.h:
27848         * gst/gstprobe.c: (gst_probe_perform),
27849         (gst_probe_dispatcher_dispatch):
27850         * gst/gstprobe.h:
27851         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27852         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27853         (_gst_query_copy), (gst_query_new):
27854
27855         Update elements for GstData -> GstMiniObject changes
27856         * gst/gstquery.h:
27857         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27858         (gst_queue_chain), (gst_queue_loop):
27859         * gst/elements/gstbufferstore.c:
27860         (gst_buffer_store_add_buffer_func),
27861         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27862         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27863         (gst_fakesink_render):
27864         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27865         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27866         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27867         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27868         (gst_filesrc_create_read):
27869         * gst/elements/gstidentity.c: (gst_identity_class_init):
27870         * gst/elements/gsttypefindelement.c:
27871         (gst_type_find_element_src_event), (free_entry_buffers),
27872         (gst_type_find_element_handle_event):
27873         * libs/gst/dataprotocol/dataprotocol.c:
27874         (gst_dp_header_from_buffer):
27875         * libs/gst/dataprotocol/dataprotocol.h:
27876         * libs/gst/dataprotocol/dp-private.h:
27877
27878 2005-05-15  David Schleef  <ds@schleef.org>
27879
27880         * gst/elements/gstelements.c: Don't include headers that were
27881         just removed.
27882
27883 2005-05-15  David Schleef  <ds@schleef.org>
27884
27885         * gst/elements/Makefile.am: Remove some elements that don't
27886         need to be in the core (or even exist at all).
27887         * gst/elements/gstaggregator.c:
27888         * gst/elements/gstaggregator.h:
27889         * gst/elements/gstmd5sink.c:
27890         * gst/elements/gstmd5sink.h:
27891         * gst/elements/gstmultifilesrc.c:
27892         * gst/elements/gstmultifilesrc.h:
27893         * gst/elements/gstpipefilter.c:
27894         * gst/elements/gstpipefilter.h:
27895         * gst/elements/gstshaper.c:
27896         * gst/elements/gstshaper.h:
27897         * gst/elements/gststatistics.c:
27898         * gst/elements/gststatistics.h:
27899         * po/POTFILES.in: Remove above files.
27900
27901 2005-05-14  Andy Wingo  <wingo@pobox.com>
27902
27903         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
27904         so as to get the refs right.
27905         (sink_iterator_filter): New function, wraps bin_element_is_sink,
27906         unreffing objects that don't pass the filter.
27907
27908         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
27909         gst_element_set_bus.
27910         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
27911         normal cases, this will destroy the bus.
27912
27913         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
27914         object.
27915
27916         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
27917         has no sinks.
27918
27919 2005-05-13  Andy Wingo  <wingo@pobox.com>
27920
27921         * gst/gstutils.c (gst_element_link_pads): Instead of calling
27922         gst_pad_link, call pad_link_maybe_ghosting,
27923         (pad_link_maybe_ghosting): Links pads, making sure that the
27924         elements being linked are in the same bin.
27925         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
27926         Helpers for pad_link_maybe_ghosting.
27927
27928 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
27929
27930         * configure.ac:
27931           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
27932
27933 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
27934
27935         * docs/design/part-element-source.txt:
27936           Mention GstPushSrc
27937
27938 2005-05-12  Wim Taymans  <wim@fluendo.com>
27939
27940         * gst/base/gstbasesink.c: (gst_basesink_init),
27941         (gst_basesink_activate):
27942         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
27943         (gst_basesrc_is_seekable):
27944         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
27945         (bin_element_is_sink), (gst_bin_change_state):
27946         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27947         * gst/gstelement.h:
27948         Identify sinks by their flag to avoid overly complicated
27949         checks (fow now).
27950         Do state changes even for elements not reachable from the
27951         sinks.
27952         BaseSink is a sink now :)
27953         Some more debugging info in the basesrc.
27954
27955
27956 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27957
27958         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
27959           Implement _query on a bin, similar to _send_event.
27960
27961 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
27962
27963         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
27964           Discont event offset format should be GST_FORMAT_BYTES,
27965           not GST_FORMAT_TIME.
27966
27967 2005-05-12  Wim Taymans  <wim@fluendo.com>
27968
27969         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
27970         Same fix as Ronald's but without the signal. 
27971
27972 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27973
27974         * gst/gstutils.c: (gst_element_query_position):
27975           No, an element is not a pad.
27976
27977 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27978
27979         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
27980         (gst_bin_get_state):
27981           If a child is removed from a bin while we remove the child from
27982           the bin and while we're retrieving its state, signal this to the
27983           get_state function so we abort the wait (instead of waiting for
27984           a timeout) and can immediately re-iterate over all other elements.
27985
27986 2005-05-12  Wim Taymans  <wim@fluendo.com>
27987
27988         * gst/base/Makefile.am:
27989         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
27990         (gst_basesrc_start):
27991         * gst/base/gstbasesrc.h:
27992         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
27993         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
27994         (gst_pushsrc_init), (gst_pushsrc_create):
27995         * gst/base/gstpushsrc.h:
27996         Added is_seekable to BaseSrc
27997         Added simple PushSrc.
27998
27999 2005-05-11  Wim Taymans  <wim@fluendo.com>
28000
28001         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28002         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28003         (gst_element_link_pads), (gst_element_query_position),
28004         (gst_element_query_convert), (intersect_caps_func),
28005         (gst_pad_query_position), (gst_pad_query_convert):
28006         Fix refcounting in utils function.
28007         No point in trying to activate a pad when it's added, it could
28008         be added from the state change function and then we deadlock, the
28009         element has to decide what to do.
28010
28011 2005-05-10  Andy Wingo  <wingo@pobox.com>
28012
28013         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28014         *all* the arguments.
28015
28016         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28017         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28018         lock (according to the docs -- if this is wrong change the docs).
28019
28020         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28021         flush messages in the NULL state.
28022
28023         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28024         message immediately and return.
28025         (gst_bus_set_flushing): New function. If a bus is flushing, it
28026         flushes out any queued messages and immediately unrefs new
28027         messages. This is so when an element goes to NULL, all of the
28028         unhandled messages coming from it can be freed, and their
28029         references to the element dropped. In other words: message source
28030         ref considered harmful :P
28031
28032         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28033         we're finished with it.
28034
28035         * gst/gstmessage.c (gst_message_new_state_changed): 
28036
28037 2005-05-10  Wim Taymans  <wim@fluendo.com>
28038
28039         * gst/gstvalue.c: (gst_value_compare_flags),
28040         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28041         (_gst_value_initialize):
28042         Added flags serialize/deserialize/compare code.
28043
28044 2005-05-09  Andy Wingo  <wingo@pobox.com>
28045
28046         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28047         Intersect the peer's caps with our caps.
28048
28049 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28050
28051         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28052         * gst/elements/gsttypefindelement.c: (find_peek):
28053           Handle negative offsets better. Fixes decodebin.
28054
28055 2005-05-09  Wim Taymans  <wim@fluendo.com>
28056
28057         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28058         (gst_base_transform_event):
28059         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28060         Implement accept_caps.
28061         Fix silly lock/unlock mismatch in base class.
28062
28063 2005-05-09  Wim Taymans  <wim@fluendo.com>
28064
28065         * docs/design/draft-push-pull.txt:
28066         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28067         * gst/elements/gstfilesink.c: (gst_filesink_init),
28068         (gst_filesink_query):
28069         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28070         (gst_type_find_handle_src_query), (find_element_get_length):
28071         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28072         * gst/gstelement.h:
28073         * gst/gstmessage.c:
28074         * gst/gstmessage.h:
28075         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28076         (gst_real_pad_get_caps_unlocked),
28077         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28078         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28079         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28080         (gst_real_pad_dispose), (gst_real_pad_finalize),
28081         (gst_pad_load_and_link), (gst_pad_save_thyself),
28082         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28083         (gst_pad_check_pull_range), (gst_pad_pull_range),
28084         (gst_pad_template_get_type), (gst_pad_template_class_init),
28085         (gst_pad_template_init), (gst_pad_template_dispose),
28086         (name_is_valid), (gst_static_pad_template_get),
28087         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28088         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28089         (gst_pad_get_element_private), (gst_pad_start_task),
28090         (gst_pad_pause_task), (gst_pad_stop_task),
28091         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28092         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28093         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28094         (gst_ghost_pad_new):
28095         * gst/gstpad.h:
28096         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28097         (gst_query_new_position), (gst_query_set_position),
28098         (gst_query_parse_position), (gst_query_new_convert),
28099         (gst_query_set_convert), (gst_query_parse_convert):
28100         * gst/gstquery.h:
28101         * gst/gstqueryutils.c:
28102         * gst/gstqueryutils.h:
28103         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28104         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28105         (gst_queue_handle_src_query):
28106         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28107         (gst_element_query_position), (gst_element_query_convert),
28108         (intersect_caps_func), (gst_pad_query_position),
28109         (gst_pad_query_convert):
28110         * gst/gstutils.h:
28111         * tools/gst-inspect.c: (print_pad_info):
28112         * tools/gst-xmlinspect.c: (print_element_info):
28113         Remove old query functions. Ported old code.
28114         Added position/convert helper functions to gstutils.
28115         Reordered gstpad.c code, grouping relevant things.
28116         Remove gst_message_new(), always need to speficy a specific
28117         message.
28118
28119
28120 2005-05-09  Andy Wingo  <wingo@pobox.com>
28121
28122         * gst/gstiterator.h: Add some includes.
28123
28124         * gst/gstqueryutils.h: Include more headers.
28125
28126         * gst/gstpad.h:
28127         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28128         some uses of gst_pad_query.
28129
28130         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28131         NULL out parameters.
28132         (gst_query_new_position): New proc, allocates a new position
28133         query.
28134
28135         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28136         gstqueryutils.c to the build.
28137
28138         * gst/gststructure.c (gst_structure_set_valist): Implement with
28139         the generic G_VALUE_COLLECT.
28140         
28141 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28142
28143         * gst/Makefile.am: (gst_headers):
28144         Added gstqueryutils.h to the list of headers to install, that was
28145         a 'nachty' move wingo :)
28146
28147 2005-05-06  Andy Wingo  <wingo@pobox.com>
28148
28149         * gst/gstquery.h
28150         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28151         GstData, init a memchunk.
28152         (standard_definitions): Add a few query types, deprecate a few.
28153         (gst_query_get_type): New proc.
28154         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28155         implementation.
28156         (gst_query_new_application, gst_query_get_structure): New public
28157         procs.
28158
28159         * docs/design/draft-query.txt: Removed LINKS from the query types,
28160         because all the rest can be dispatched to other pads -- seemed
28161         ugly to have a query that couldn't be dispatched. internal_links
28162         is fine as a pad method.
28163
28164         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28165         in gstpad.c, but maintain binary compatibility for the moment.
28166         Will fix before 0.9 is out.
28167
28168         * gst/gstqueryutils.c: 
28169         * gst/gstqueryutils.h: New files, implement 3 methods for each
28170         query type: parse_query, parse_response, and set. Probably need an
28171         allocator as well.
28172
28173         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28174
28175         * gst/elements/gstfilesink.c (gst_filesink_query2):
28176         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28177         query_types, and formats methods.
28178
28179         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28180         (gst_pad_set_query2_function): New functions.
28181         (gst_real_pad_init): Set query2_default as the default query2
28182         function. Basically just dispatches to internally linked pads.
28183
28184         Needs review!
28185         
28186         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28187         without using the atomic operations. Only one thread can possibly
28188         be accessing the data at this point. Changed so as to avoid
28189         gst_atomic operations.
28190
28191 2005-05-06  Wim Taymans  <wim@fluendo.com>
28192
28193         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28194         Also set caps if we use the fallback buffer alloc.
28195
28196 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28197
28198         * docs/gst/Makefile.am:
28199         * docs/gst/gstreamer-docs.sgml:
28200         * docs/gst/gstreamer-sections.txt:
28201         * docs/gst/tmpl/gstatomic.sgml:
28202         * docs/gst/tmpl/gstmemchunk.sgml:
28203         * testsuite/elements/struct_i386.h:
28204         * win32/GStreamer.vcproj:
28205         * win32/Makefile:
28206           Purge GstAtomic stuff from docs and win32 makefiles as well
28207
28208 2005-05-06  Wim Taymans  <wim@fluendo.com>
28209
28210         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28211         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28212         * gst/gstpad.c: (gst_pad_peer_get_caps):
28213         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28214         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28215         (gst_queue_src_activate), (gst_queue_change_state):
28216         * gst/gstqueue.h:
28217         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28218         (intersect_caps_func):
28219         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28220         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28221         Some fixes for the peer_get_caps() change.
28222
28223 2005-05-06  Wim Taymans  <wim@fluendo.com>
28224
28225         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28226         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28227         (gst_basesink_activate):
28228         Actually do something with error codes returned from the push
28229         functions.
28230
28231 2005-05-06  Wim Taymans  <wim@fluendo.com>
28232
28233         * docs/design/part-element-sink.txt:
28234         * docs/design/part-element-source.txt:
28235         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28236         (gst_basesink_event), (gst_basesink_activate):
28237         * gst/base/gstbasesink.h:
28238         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28239         (gst_basesrc_activate):
28240         * gst/base/gstbasesrc.h:
28241         * gst/gstelement.c: (gst_element_pads_activate):
28242         Some more documentation.
28243         Fixed scheduling decision in _pads_activate().
28244
28245 2005-05-05  Andy Wingo  <wingo@pobox.com>
28246
28247         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28248         the test suite.
28249
28250 2005-05-05  Wim Taymans  <wim@fluendo.com>
28251
28252         * gst/base/Makefile.am:
28253         * gst/base/gstbasesink.h:
28254         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28255         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28256         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28257         (gst_collectpads_class_init), (gst_collectpads_init),
28258         (gst_collectpads_finalize), (gst_collectpads_new),
28259         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28260         (find_pad), (gst_collectpads_remove_pad),
28261         (gst_collectpads_is_active), (gst_collectpads_collect),
28262         (gst_collectpads_collect_range), (gst_collectpads_start),
28263         (gst_collectpads_stop), (gst_collectpads_peek),
28264         (gst_collectpads_pop), (gst_collectpads_available),
28265         (gst_collectpads_read), (gst_collectpads_flush),
28266         (gst_collectpads_chain):
28267         * gst/base/gstcollectpads.h:
28268         * gst/elements/Makefile.am:
28269         * gst/elements/gstelements.c:
28270         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28271         (gst_fakesink_get_times), (gst_fakesink_event),
28272         (gst_fakesink_preroll), (gst_fakesink_render):
28273         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28274         (gst_filesink_init), (gst_filesink_set_location),
28275         (gst_filesink_open_file), (gst_filesink_close_file),
28276         (gst_filesink_pad_query), (gst_filesink_event),
28277         (gst_filesink_render), (gst_filesink_change_state):
28278         * gst/elements/gstfilesink.h:
28279         Added object to help in making collect pad based elements.
28280         Ported filesink.
28281         Make event function in sink baseclass return gboolean.
28282
28283 2005-05-05  Wim Taymans  <wim@fluendo.com>
28284
28285         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28286         (gst_bin_get_by_name):
28287         * gst/gstbuffer.h:
28288         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28289         (gst_clock_finalize):
28290         * gst/gstdata.c: (gst_data_replace):
28291         * gst/gstdata.h:
28292         * gst/gstelement.c: (gst_element_request_pad),
28293         (gst_element_pads_activate):
28294         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28295         (gst_object_unref):
28296         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28297         (gst_pad_set_checkgetrange_function),
28298         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28299         (gst_pad_check_pull_range), (gst_pad_pull_range),
28300         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28301         (gst_pad_pause_task), (gst_pad_stop_task):
28302         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28303         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28304         Fix name lookup in GstBin.
28305         Added _data_replace() function and _buffer_replace()
28306         Use finalize method to clean up clock.
28307         Fix refcounting on request pads.
28308         Fix pad schedule mode error.
28309         Some more object refcounting debug info,
28310
28311
28312 2005-05-04  Andy Wingo <wingo@pobox.com>
28313
28314         * check/Makefile.am:
28315         * docs/gst/tmpl/gstatomic.sgml:
28316         * docs/gst/tmpl/gstplugin.sgml:
28317         * gst/base/gstbasesink.c: (gst_basesink_activate):
28318         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28319         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28320         (gst_basesrc_query), (gst_basesrc_set_property),
28321         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28322         (gst_basesrc_activate):
28323         * gst/base/gstbasesrc.h:
28324         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28325         (gst_base_transform_src_activate):
28326         * gst/elements/gstelements.c:
28327         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28328         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28329         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28330         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28331         (gst_type_find_element_checkgetrange),
28332         (gst_type_find_element_activate):
28333         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28334         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28335         (gst_caps_load_thyself):
28336         * gst/gstelement.c: (gst_element_pads_activate),
28337         (gst_element_save_thyself), (gst_element_restore_thyself):
28338         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28339         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28340         * gst/gstpad.h:
28341         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28342         (gst_xml_parse_file), (gst_xml_parse_memory),
28343         (gst_xml_get_element), (gst_xml_make_element):
28344         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28345         (_file_index_id_save_xml), (gst_file_index_commit):
28346         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28347         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28348         (load_paths):
28349         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28350         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28351         * tools/gst-complete.c: (main):
28352         * tools/gst-compprep.c: (main):
28353         * tools/gst-inspect.c: (print_element_properties_info):
28354         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28355         * tools/gst-xmlinspect.c: (print_element_properties):
28356         GCC 4 fixen.
28357         
28358 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28359
28360         * gst/gstplugin.c: (gst_plugin_check_module),
28361         (gst_plugin_check_file), (gst_plugin_load_file):
28362             apply patch from #172526 to make register work on MacOSX
28363
28364 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28365
28366         * docs/gst/tmpl/gstconfig.sgml:
28367         * gst/gstconfig.h.in:
28368           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28369         * testsuite/debug/printf_extension.c: (main):
28370           Do not use GST_PTR_FORMAT on pointers to types with
28371           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28372         * testsuite/elements/property.h:
28373           use correct printf format
28374
28375 2005-05-02  Wim Taymans  <wim@fluendo.com>
28376
28377         * docs/design/draft-push-pull.txt:
28378         * docs/design/draft-query.txt:
28379         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28380         (gst_basesrc_start):
28381         Added draft for new query API.
28382         Added draft for better selecting scheduling methods.
28383         Make basesrc ignore length if the subclass does not support
28384         it.
28385
28386 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28387
28388         * gst/Makefile.am:
28389           possible fixes for automake-1.5 - _LIBADD is reserved
28390
28391 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28392
28393         * docs/faq/Makefile.am:
28394         * docs/manual/Makefile.am:
28395         * docs/manuals.mak:
28396         * docs/pwg/Makefile.am:
28397         * gst/Makefile.am:
28398           possible fixes for automake-1.5
28399
28400 2005-04-28  Wim Taymans  <wim@fluendo.com>
28401
28402         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28403         (gst_basesink_pad_getcaps), (gst_basesink_init),
28404         (gst_basesink_do_sync):
28405         * gst/gstclock.c: (gst_clock_entry_new):
28406         * gst/gstevent.c: (gst_event_discont_get_value):
28407         * gst/gstpipeline.c: (pipeline_bus_handler),
28408         (gst_pipeline_change_state):
28409         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28410         Better debugging of clocking info.
28411         Allow NULL values when getting discont values.
28412
28413 2005-04-27  Wim Taymans  <wim@fluendo.com>
28414
28415         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28416         * check/gst/gstpad.c: (gst_pad_suite):
28417         Increase timeout for checks.
28418
28419 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28420
28421         * check/Makefile.am:
28422           fix the broken rule for cleanup.  Apparently this rule is
28423           only needed on FC2, so maybe this warrants further autotool
28424           inspection.
28425
28426 2005-04-26  Wim Taymans  <wim@fluendo.com>
28427
28428         * gst/gsttrashstack.h:
28429         Ooohh. a nasty one! After having a failed pop() from the stack,
28430         it's possible that the stack is empty. In that case, don't
28431         follow the NULL pointer.
28432
28433 2005-04-25  Wim Taymans  <wim@fluendo.com>
28434
28435         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28436         (gst_pad_set_checkgetrange_function),
28437         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28438         (gst_pad_check_pull_range), (gst_pad_pull_range),
28439         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28440         (gst_pad_pause_task), (gst_pad_stop_task):
28441         * gst/gstplugin.c: (gst_plugin_load):
28442         * gst/gstplugin.h:
28443         Remove gst_library_load as it does more harm than good with
28444         the new g_module flags.
28445         Revert bogus caps template check in pad linking, pad caps
28446         are important when linking not the template, which is more
28447         general than the current caps.
28448
28449 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28450
28451         * gst/autoplug/.cvsignore:
28452         * gst/autoplug/Makefile.am:
28453         * gst/autoplug/gstsearchfuncs.c:
28454         * gst/autoplug/gstsearchfuncs.h:
28455         * gst/autoplug/gstspider.c:
28456         * gst/autoplug/gstspider.h:
28457         * gst/autoplug/gstspideridentity.c:
28458         * gst/autoplug/gstspideridentity.h:
28459         * gst/autoplug/spidertest.c:
28460           Die, spider, die.
28461
28462 2005-04-25  Wim Taymans  <wim@fluendo.com>
28463
28464         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28465         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28466         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28467         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28468         * gst/gstpad.h:
28469         Added stubs for unimplemented functions. 
28470
28471 2005-04-24  David Schleef  <ds@schleef.org>
28472
28473         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28474         please fix.
28475
28476 2005-04-24  David Schleef  <ds@schleef.org>
28477
28478         Convert everything from GstAtomicInt to g_atomic_int_*, and
28479         remove gstatomic.
28480         * gst/Makefile.am:
28481         * gst/gstatomic.c:
28482         * gst/gstatomic.h:
28483         * gst/gstatomic_impl.h:
28484         * gst/gstbuffer.c:
28485         * gst/gstcaps.c:
28486         * gst/gstcaps.h:
28487         * gst/gstclock.c:
28488         * gst/gstclock.h:
28489         * gst/gstdata.c:
28490         * gst/gstdata.h:
28491         * gst/gstdata_private.h:
28492         * gst/gstevent.c:
28493         * gst/gstinfo.c:
28494         * gst/gstinfo.h:
28495         * gst/gstmessage.c:
28496         * gst/gstobject.c:
28497         * gst/gstobject.h:
28498         * gst/gststructure.c:
28499         * gst/gststructure.h:
28500         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28501         * gst/gstutils.h:
28502
28503 2005-04-24  David Schleef  <ds@schleef.org>
28504
28505         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28506         make the regressions tests work.  Remove some code that is no
28507         longer true.
28508         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28509         Disable warning for pads without templates.
28510
28511 2005-04-24  David Schleef  <ds@schleef.org>
28512
28513         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28514         functions that handle filtered links.
28515         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28516         removed functions.
28517         * gst/gstutils.c: Fix/remove utility functions that handle
28518         filtered caps.
28519         * gst/gstutils.h:
28520         * gst/gstvalue.c: Add serialization/deserialization of caps
28521         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28522         requires fixing so that the filter caps notation creates
28523         a capsfilter element and sets the filter_caps property.  I
28524         think everyone probably wants to keep the shorthand notation.
28525         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28526         * docs/gst/tmpl/gstpad.sgml:
28527
28528         * gst/elements/gstelements.c: Register capsfilter element.
28529         * gst/Makefile.am: fix spacing
28530         * docs/random/ds/0.9-suggested-changes: random
28531
28532 2005-04-23  David Schleef  <ds@schleef.org>
28533
28534         * gst/elements/Makefile.am:
28535         * gst/elements/gstcapsfilter.c: New element that acts like an
28536         identity, but filters caps.  Will eventually replace filtered
28537         caps in pad linking.
28538         * gst/gstutils.c: (gst_element_create_all_pads): New function
28539         to create all the ALWAYS pads that are registered with an
28540         element class.  This functionality should eventually be
28541         merged in with GstElement initialization.
28542         * gst/gstutils.h:
28543         * testsuite/trigger/README: part of trigger test code that should
28544         have been checked in a long time ago.
28545
28546 2005-04-23  David Schleef  <ds@schleef.org>
28547
28548         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28549         needed with new versions of libtool (nobody will confirm this),
28550         and hard to carry around.
28551         * gst/autoplug/Makefile.am:
28552         * gst/base/Makefile.am:
28553         * gst/elements/Makefile.am:
28554         * gst/indexers/Makefile.am:
28555         * gst/schedulers/Makefile.am:
28556         * libs/gst/bytestream/Makefile.am:
28557         * libs/gst/control/Makefile.am:
28558         * libs/gst/dataprotocol/Makefile.am:
28559         * libs/gst/getbits/Makefile.am:
28560
28561 2005-04-21  Wim Taymans  <wim@fluendo.com>
28562
28563         * docs/design/draft-push-pull.txt:
28564         * docs/design/part-MT-refcounting.txt:
28565         * docs/design/part-TODO.txt:
28566         * docs/design/part-caps.txt:
28567         * docs/design/part-events.txt:
28568         * docs/design/part-gstbus.txt:
28569         * docs/design/part-gstpipeline.txt:
28570         * docs/design/part-messages.txt:
28571         * docs/design/part-push-pull.txt:
28572         * docs/design/part-query.txt:
28573         Some more docs.
28574
28575 2005-04-21  Wim Taymans  <wim@fluendo.com>
28576
28577         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28578         (gst_message_new), (gst_message_new_error),
28579         (gst_message_new_warning), (gst_message_new_tag),
28580         (gst_message_new_state_changed), (gst_message_new_application),
28581         (gst_message_get_structure):
28582         * gst/gstmessage.h:
28583         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28584         (gst_structure_copy_conditional):
28585         Use parent refcount in GstMessage to ensure GstStructure
28586         consistency.
28587         Cleaned up headers a bit.
28588         
28589
28590 2005-04-20  Wim Taymans  <wim@fluendo.com>
28591
28592         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28593         (gst_basesink_pad_getcaps), (gst_basesink_init),
28594         (gst_basesink_chain_unlocked):
28595         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28596         (gst_type_find_helper):
28597         * gst/elements/gsttypefindelement.c:
28598         (gst_type_find_element_have_type), (gst_type_find_element_init),
28599         (stop_typefinding), (gst_type_find_element_handle_event),
28600         (find_suggest), (gst_type_find_element_chain),
28601         (gst_type_find_element_checkgetrange),
28602         (gst_type_find_element_getrange), (do_typefind),
28603         (gst_type_find_element_activate):
28604         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28605         (gst_buffer_default_free), (gst_buffer_default_copy),
28606         (gst_buffer_set_caps):
28607         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28608         (gst_caps_replace):
28609         * gst/gstmessage.c: (gst_message_new),
28610         (gst_message_new_state_changed):
28611         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28612         (gst_pad_set_checkgetrange_function),
28613         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28614         (gst_pad_set_caps), (gst_pad_check_pull_range),
28615         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28616         * gst/gstpad.h:
28617         * gst/gsttypefind.c: (gst_type_find_register):
28618         Make gst_caps_replace() work like other _replace() functions.
28619         Use _caps_replace() where possible.
28620         Make sure _message_new() initialises its field.
28621         Add gst_static_pad_template_get_caps()
28622
28623
28624 2005-04-18  Andy Wingo  <wingo@pobox.com>
28625
28626         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28627         on the peer, not the pad. I think that was a typo. Pass an extra
28628         arg to see if random access is possible. Activate the pads as
28629         PULL_RANGE if possible.
28630
28631         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28632
28633         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
28634         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28635         to PROP_....
28636
28637 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28638
28639         * docs/faq/using.xml:
28640           Add note on gstreamer-properties (#154996).
28641
28642 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28643
28644         * docs/random/bbb/optional-properties:
28645           Some analysis on optional properties.
28646
28647 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28648
28649         * docs/gst/tmpl/gstelementfactory.sgml:
28650         * gst/gstelement.h:
28651         * gst/gstelementfactory.c: (gst_element_factory_init),
28652         (gst_element_factory_cleanup), (gst_element_register),
28653         (__gst_element_factory_add_static_pad_template),
28654         (gst_element_factory_get_static_pad_templates),
28655         (gst_element_factory_can_src_caps),
28656         (gst_element_factory_can_sink_caps):
28657         * gst/registries/Makefile.am:
28658         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28659         (gst_xml_registry_class_init), (gst_xml_registry_init),
28660         (gst_xml_registry_new), (gst_xml_registry_set_property),
28661         (gst_xml_registry_get_property), (get_time), (make_dir),
28662         (gst_xml_registry_get_perms_func),
28663         (plugin_times_older_than_recurse), (plugin_times_older_than),
28664         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28665         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28666         (add_to_char_array), (read_string), (read_uint), (read_enum),
28667         (load_pad_template), (load_feature), (load_plugin), (load_paths),
28668         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28669         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28670         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28671         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28672         (gst_xml_registry_rebuild):
28673         * gst/registries/gstlibxmlregistry.h:
28674         * tools/gst-compprep.c: (main):
28675         * tools/gst-inspect.c: (print_pad_templates_info):
28676         * tools/gst-xmlinspect.c: (print_element_info):
28677           Use libxml2 for registry parsing, use staticpadtemplates in
28678           elementfactories. Makes gst_init() +/- 10x faster.
28679
28680 2005-04-12  Wim Taymans  <wim@fluendo.com>
28681
28682         * gst/base/Makefile.am:
28683         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28684         (gst_basesink_pad_getcaps), (gst_basesink_init),
28685         (gst_basesink_event), (gst_basesink_change_state):
28686         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28687         (gst_basesrc_init), (gst_basesrc_query),
28688         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28689         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28690         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28691         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28692         (gst_basesrc_stop), (gst_basesrc_activate),
28693         (gst_basesrc_change_state):
28694         * gst/base/gsttypefindhelper.c: (helper_find_peek),
28695         (helper_find_suggest), (gst_type_find_helper):
28696         * gst/base/gsttypefindhelper.h:
28697         * gst/elements/Makefile.am:
28698         * gst/elements/gstelements.c:
28699         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28700         (gst_fakesink_get_times), (gst_fakesink_event),
28701         (gst_fakesink_preroll), (gst_fakesink_render):
28702         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28703         (gst_fakesrc_init), (gst_fakesrc_event_handler),
28704         (gst_fakesrc_get_property), (gst_fakesrc_create),
28705         (gst_fakesrc_start), (gst_fakesrc_stop):
28706         * gst/elements/gstfakesrc.h:
28707         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28708         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28709         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28710         (gst_filesrc_create_read), (gst_filesrc_create),
28711         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28712         (gst_filesrc_start):
28713         * gst/elements/gsttypefindelement.c:
28714         (gst_type_find_element_have_type), (gst_type_find_element_init),
28715         (start_typefinding), (stop_typefinding), (push_buffer_store),
28716         (gst_type_find_element_handle_event),
28717         (gst_type_find_element_chain),
28718         (gst_type_find_element_checkgetrange),
28719         (gst_type_find_element_getrange), (do_typefind),
28720         (gst_type_find_element_activate),
28721         (gst_type_find_element_change_state):
28722         * gst/elements/gsttypefindelement.h:
28723         * gst/gstpipeline.c: (pipeline_bus_handler):
28724         Added typefind helper.
28725         Small preroll fix in the base sink.
28726         Disable typefind code in basesrc.
28727         Crude port of typefindelement.
28728         Fakesrc cleanups.
28729
28730
28731 2005-04-11  Wim Taymans  <wim@fluendo.com>
28732
28733         * check/gst/gstbus.c: (gstbus_suite):
28734         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28735         * check/gstcheck.h:
28736           Fix up the timeout so that the test does not fail.
28737
28738 2005-04-06  Wim Taymans  <wim@fluendo.com>
28739
28740         * gst/base/README:
28741         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28742         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28743         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28744         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28745         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28746         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28747         (gst_basesrc_stop), (gst_basesrc_activate),
28748         (gst_basesrc_change_state), (basesrc_find_peek),
28749         (basesrc_find_suggest), (gst_basesrc_type_find):
28750         * gst/base/gstbasesrc.h:
28751         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28752         (gst_filesrc_class_init), (gst_filesrc_init),
28753         (gst_filesrc_finalize), (gst_filesrc_set_location),
28754         (gst_filesrc_set_property), (gst_filesrc_get_property),
28755         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28756         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28757         (gst_filesrc_create_read), (gst_filesrc_create),
28758         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28759         * gst/elements/gstfilesrc.h:
28760         * gst/gstelement.c: (gst_element_get_state_func),
28761         (gst_element_lost_state), (gst_element_pads_activate):
28762         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28763         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28764         (gst_pad_pull_range):
28765         * gst/gstpad.h:
28766         More work on the generic source base class, implement seeking,
28767         query.
28768         Make filesrc extend the base source class.
28769         Added gst_pad_set_checkgetrange_function to GstPad.
28770
28771 2005-04-06  Andy Wingo  <wingo@pobox.com>
28772
28773         * pkgconfig/gstreamer-base.pc.in:
28774         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28775
28776         * pkgconfig/Makefile.am:
28777         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28778
28779 2005-04-04  Wim Taymans  <wim@fluendo.com>
28780
28781         * gst/base/Makefile.am:
28782         * gst/base/README:
28783         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28784         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28785         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28786         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28787         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28788         (gst_basesrc_base_init), (gst_basesrc_class_init),
28789         (gst_basesrc_init), (gst_basesrc_get_formats),
28790         (gst_basesrc_get_query_types), (gst_basesrc_query),
28791         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28792         (gst_basesrc_set_property), (gst_basesrc_get_property),
28793         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28794         (gst_basesrc_loop), (gst_basesrc_activate),
28795         (gst_basesrc_change_state):
28796         * gst/base/gstbasesrc.h:
28797         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28798         (gst_fakesrc_class_init), (gst_fakesrc_init),
28799         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28800         (gst_fakesrc_get_property), (gst_fakesrc_create):
28801         * gst/elements/gstfakesrc.h:
28802         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28803         (gst_filesrc_open_file), (gst_filesrc_loop),
28804         (gst_filesrc_activate), (filesrc_find_peek),
28805         (gst_filesrc_type_find):
28806         Made base source class, make fakesrc extend it.
28807         Add comments to basesink class.
28808         Some filesrc cleanup.
28809
28810 2005-03-31  David Schleef  <ds@schleef.org>
28811
28812         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28813         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28814         expected to link against libgstreamer.
28815         * gst/base/Makefile.am: link against libgstreamer
28816         * gst/elements/Makefile.am: same
28817
28818 2005-03-31  Andy Wingo  <wingo@pobox.com>
28819
28820         * tests/instantiate/Makefile.am:
28821         * tests/instantiate/caps.c: Add test to test speed of caps copy
28822         and free.
28823
28824         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28825         GMemChunk to be fair.
28826
28827         * gst/gsttrashstack.h: Remove warning about using the fallback
28828         trash stack implementation, it's still faster than malloc.
28829
28830 2005-03-30  Andy Wingo  <wingo@pobox.com>
28831
28832         * tests/complexity.c: Add a copyright.
28833
28834 2005-03-31  Wim Taymans  <wim@fluendo.com>
28835
28836         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28837         (gst_base_transform_class_init), (gst_base_transform_init),
28838         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28839         (gst_base_transform_get_property),
28840         (gst_base_transform_sink_activate),
28841         (gst_base_transform_src_activate),
28842         (gst_base_transform_change_state):
28843         * gst/base/gstbasetransform.h:
28844         * gst/elements/gstidentity.c: (gst_identity_class_init),
28845         (gst_identity_event), (gst_identity_check_perfect),
28846         (gst_identity_transform), (gst_identity_start),
28847         (gst_identity_stop):
28848         Added start/stop methods to transform base class so subclasses 
28849         don't need to deal with state changes even.
28850
28851 2005-03-31  Wim Taymans  <wim@fluendo.com>
28852
28853         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28854         (gst_event_new_discontinuous), (gst_event_discont_get_value):
28855         * gst/gstevent.h:
28856         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28857         (gst_pad_pull_range):
28858         Added rate to the discont event to prepare for variable speed
28859         and reverse playback.
28860
28861 2005-03-29  David Schleef  <ds@schleef.org>
28862
28863         * configure.ac:
28864         * testsuite/trigger/Makefile.am:
28865         * testsuite/trigger/trigger.c: A little example program to show
28866         how trigger-based elements can work.
28867
28868 2005-03-29  Wim Taymans  <wim@fluendo.com>
28869
28870         * gst/base/Makefile.am:
28871         * gst/base/README:
28872         * gst/base/gstbasesink.c: (gst_basesink_get_type),
28873         (gst_basesink_base_init), (gst_basesink_class_init),
28874         (gst_basesink_pad_getcaps), (gst_basesink_init),
28875         (gst_basesink_activate), (gst_basesink_change_state):
28876         * gst/base/gstbasesink.h:
28877         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28878         (gst_base_transform_base_init), (gst_base_transform_finalize),
28879         (gst_base_transform_class_init), (gst_base_transform_init),
28880         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28881         (gst_base_transform_event), (gst_base_transform_getrange),
28882         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28883         (gst_base_transform_set_property),
28884         (gst_base_transform_get_property),
28885         (gst_base_transform_sink_activate),
28886         (gst_base_transform_src_activate),
28887         (gst_base_transform_change_state):
28888         * gst/base/gstbasetransform.h:
28889         * gst/elements/gstidentity.c: (gst_identity_finalize),
28890         (gst_identity_class_init), (gst_identity_init),
28891         (gst_identity_event), (gst_identity_check_perfect),
28892         (gst_identity_transform), (gst_identity_set_property),
28893         (gst_identity_get_property), (gst_identity_change_state):
28894         * gst/elements/gstidentity.h:
28895         * gst/gstelement.c: (gst_element_get_state_func),
28896         (gst_element_lost_state), (gst_element_pads_activate):
28897         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28898         (gst_pad_check_pull_range), (gst_pad_pull_range):
28899         * gst/gstpad.h:
28900         Simplify pad activation.
28901         Added function to check if pull_range can be performed.
28902         Error out when pulling inactive or flushing pads.
28903         Removed const from refcounted types as it does not make sense.
28904         Simplify pad templates in basesink
28905         Added base class for simple 1-to-1 transforms.
28906         Make identity subclass the base transform.
28907
28908 2005-03-29  Andy Wingo  <wingo@pobox.com>
28909
28910         * docs/libs/gstreamer-libs-overrides.txt: 
28911         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
28912         really don't understand what's going on, but like whatever. I want
28913         green buildbot!
28914
28915         * docs/gst/Makefile.am:
28916         * docs/libs/Makefile.am: Dist the overrides files.
28917
28918         * check/Makefile.am (clean-local): Remove .libs directories.
28919
28920         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
28921         elements to EXTRA_DIST, so po/ files are happy.
28922
28923         * po/POTFILES.in: Er, remove it here.
28924
28925         * po/POTFILES: Remove gstspider.c.
28926
28927         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
28928
28929         * docs/libs/gstreamer-libs-docs.sgml: 
28930         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
28931         bytestream.
28932
28933         * tests/complexity.c (main): Set the length of the preroll queue
28934         on the sinks to prevent a lockup.
28935
28936         * libs/gst/dataprotocol/Makefile.am: 
28937         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
28938         the same as the one in check/gst-libs/gdp.c.
28939
28940         * po/, docs/gst/: Commit automatic changes to docs and po files.
28941
28942         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
28943         the versioned libgstbase.
28944
28945         * check/Makefile.am: Depend on an unversioned gst-register, seems
28946         to make autoconf happier.
28947
28948         * gst/base/Makefile.am: Make libgstbase a versioned lib.
28949
28950 2005-03-28  Wim Taymans  <wim@fluendo.com>
28951
28952         * configure.ac:
28953         * docs/design/part-gstelement.txt:
28954         * docs/design/part-negotiation.txt:
28955         * docs/design/part-preroll.txt:
28956         * docs/design/part-scheduling.txt:
28957         * docs/design/part-states.txt:
28958         * gst/Makefile.am:
28959         * gst/base/Makefile.am:
28960         * gst/base/README:
28961         * gst/base/gstbasesink.c: (gst_basesink_get_template),
28962         (gst_basesink_base_init), (gst_basesink_class_init),
28963         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28964         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28965         (gst_basesink_set_pad_functions),
28966         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
28967         (gst_basesink_set_property), (gst_basesink_get_property),
28968         (gst_base_sink_get_template), (gst_base_sink_get_caps),
28969         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
28970         (gst_basesink_preroll_queue_push),
28971         (gst_basesink_preroll_queue_empty),
28972         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
28973         (gst_basesink_event), (gst_basesink_get_times),
28974         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
28975         (gst_basesink_chain_unlocked), (gst_basesink_chain),
28976         (gst_basesink_loop), (gst_basesink_activate),
28977         (gst_basesink_change_state):
28978         * gst/base/gstbasesink.h:
28979         * gst/elements/Makefile.am:
28980         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
28981         (gst_fakesink_class_init), (gst_fakesink_init),
28982         (gst_fakesink_set_property), (gst_fakesink_get_property),
28983         (gst_fakesink_get_times), (gst_fakesink_event),
28984         (gst_fakesink_preroll), (gst_fakesink_render),
28985         (gst_fakesink_change_state):
28986         * gst/elements/gstfakesink.h:
28987         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
28988         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
28989         * gst/gstelement.c: (gst_element_add_pad),
28990         (gst_element_get_state_func), (gst_element_abort_state),
28991         (gst_element_commit_state), (gst_element_lost_state),
28992         (gst_element_set_state), (gst_element_pads_activate):
28993         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
28994         * gst/gstpipeline.c: (gst_pipeline_send_event),
28995         (gst_pipeline_change_state):
28996         Added state change code.
28997         Added/updated docs.
28998         Added sink base class, make fakesink extend the base class.
28999         Small cleanups in GstPipeline.
29000
29001 2005-03-26  David Schleef  <ds@schleef.org>
29002
29003         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29004         is broken and should be implemented in a different library.
29005         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29006         * gst/gst.h: remove gstcpu.h
29007         * gst/gstcpu.c: remove
29008         * gst/gstcpu.h: remove
29009         * gst/Makefile.am.future: Remove this file.  It's ancient.
29010
29011 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29012
29013         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29014         (gst_bin_send_event):
29015           Add default event/set_manager handlers. The set_manager handler
29016           takes care that the manager is distributed over kids that were
29017           already in the bin before the manager was set. The event handler
29018           is a utility virtual function that sends the event over all sinks,
29019           so that gst_element_send_event (bin, event); has the expected
29020           behaviour.
29021         * gst/gstpad.c: (gst_pad_event_default):
29022           Re-install default event handling for discontinuities, so that
29023           seeking works without requiring hacks in applications or extra
29024           code in sinks.
29025         * gst/gstpipeline.c: (gst_pipeline_class_init),
29026         (gst_pipeline_send_event):
29027           Half hack, half utility: set a pipeline to PAUSED for seek events,
29028           since that is the only way we can guarantee a/v sync. Means that
29029           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29030           and it "just works".
29031
29032 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29033
29034         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29035           Lock/unlock mismatch.
29036
29037 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29038
29039         * docs/faq/gst-uninstalled:
29040           add gst-plugins-base
29041         * docs/gst/Makefile.am:
29042           don't error out until docs are fixed
29043         * docs/gst/gstreamer.types:
29044           remove thread
29045
29046 2005-03-22  Wim Taymans  <wim@fluendo.com>
29047
29048         * check/Makefile.am:
29049         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29050         * gst/gststructure.c: (gst_structure_set_valist),
29051         (gst_structure_copy_conditional):
29052         Activated more tests.
29053         Added message test.
29054         Added G_TYPE_POINTER to GstStructure.
29055         
29056
29057 2005-03-22  Wim Taymans  <wim@fluendo.com>
29058
29059         * docs/design/part-TODO.txt:
29060         * docs/design/part-events.txt:
29061         * docs/design/part-gstbin.txt:
29062         * docs/design/part-gstbus.txt:
29063         * docs/design/part-gstpipeline.txt:
29064         * docs/design/part-messages.txt:
29065         * gst/gstbus.c:
29066         * gst/gstmessage.c:
29067         Docs updates
29068
29069 2005-03-21  Wim Taymans  <wim@fluendo.com>
29070
29071         * gst/gstbus.c: (gst_bus_post):
29072         Fix copy-and-paste error.
29073
29074 2005-03-21  Wim Taymans  <wim@fluendo.com>
29075
29076         * check/Makefile.am:
29077         * gst/Makefile.am:
29078         * gst/elements/Makefile.am:
29079         * gst/elements/gstelements.c:
29080         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29081         (gst_fakesink_event), (gst_fakesink_chain):
29082         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29083         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29084         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29085         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29086         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29087         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29088         (gst_fakesrc_loop), (gst_fakesrc_activate),
29089         (gst_fakesrc_change_state):
29090         * gst/elements/gstfakesrc.h:
29091         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29092         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29093         (gst_filesrc_open_file), (gst_filesrc_loop),
29094         (gst_filesrc_activate), (gst_filesrc_change_state),
29095         (filesrc_find_peek), (filesrc_find_suggest),
29096         (gst_filesrc_type_find):
29097         * gst/elements/gstidentity.c: (gst_identity_finalize),
29098         (gst_identity_class_init), (gst_identity_init),
29099         (gst_identity_proxy_getcaps), (identity_queue_push),
29100         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29101         (gst_identity_getrange), (gst_identity_chain),
29102         (gst_identity_sink_loop), (gst_identity_src_loop),
29103         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29104         (gst_identity_set_property), (gst_identity_get_property),
29105         (gst_identity_change_state):
29106         * gst/elements/gstidentity.h:
29107         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29108         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29109         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29110         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29111         (gst_tee_sink_activate):
29112         * gst/elements/gsttee.h:
29113         * gst/gst.c: (gst_register_core_elements), (init_post):
29114         * gst/gst.h:
29115         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29116         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29117         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29118         (gst_bin_change_state):
29119         * gst/gstbin.h:
29120         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29121         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29122         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29123         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29124         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29125         (bus_watch_callback), (bus_watch_destroy),
29126         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29127         (poll_timeout), (gst_bus_poll):
29128         * gst/gstbus.h:
29129         * gst/gstcaps.h:
29130         * gst/gstdata.h:
29131         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29132         (gst_element_post_message), (gst_element_message_full),
29133         (gst_element_get_state_func), (gst_element_get_state),
29134         (gst_element_abort_state), (gst_element_commit_state),
29135         (gst_element_lost_state), (gst_element_set_state),
29136         (gst_element_pads_activate), (gst_element_change_state),
29137         (gst_element_dispose), (gst_element_set_manager_func),
29138         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29139         (gst_element_set_manager), (gst_element_get_manager),
29140         (gst_element_set_bus), (gst_element_get_bus),
29141         (gst_element_set_scheduler), (gst_element_get_scheduler):
29142         * gst/gstelement.h:
29143         * gst/gstevent.c: (gst_event_new_segment_seek),
29144         (gst_event_new_flush):
29145         * gst/gstevent.h:
29146         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29147         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29148         (gst_message_new_eos), (gst_message_new_error),
29149         (gst_message_new_warning), (gst_message_new_tag),
29150         (gst_message_new_state_changed), (gst_message_new_application),
29151         (gst_message_get_structure), (gst_message_parse_tag),
29152         (gst_message_parse_state_changed), (gst_message_parse_error),
29153         (gst_message_parse_warning):
29154         * gst/gstmessage.h:
29155         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29156         (gst_real_pad_set_property), (gst_pad_set_active),
29157         (gst_pad_is_active), (gst_pad_set_blocked_async),
29158         (gst_pad_set_blocked), (gst_pad_is_blocked),
29159         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29160         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29161         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29162         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29163         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29164         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29165         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29166         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29167         (gst_pad_set_caps), (gst_pad_configure_sink),
29168         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29169         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29170         (gst_real_pad_dispose), (gst_real_pad_finalize),
29171         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29172         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29173         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29174         * gst/gstpad.h:
29175         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29176         (pipeline_bus_handler), (gst_pipeline_change_state),
29177         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29178         * gst/gstpipeline.h:
29179         * gst/gstprobe.h:
29180         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29181         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29182         (gst_queue_link_src), (gst_queue_bufferalloc),
29183         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29184         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29185         (gst_queue_loop), (gst_queue_handle_src_event),
29186         (gst_queue_handle_src_query), (gst_queue_src_activate),
29187         (gst_queue_change_state):
29188         * gst/gstqueue.h:
29189         * gst/gstscheduler.c: (gst_scheduler_init),
29190         (gst_scheduler_dispose), (gst_scheduler_create_task),
29191         (gst_scheduler_factory_create):
29192         * gst/gstscheduler.h:
29193         * gst/gststructure.c: (gst_structure_get_type),
29194         (gst_structure_copy_conditional):
29195         * gst/gststructure.h:
29196         * gst/gsttaginterface.h:
29197         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29198         (gst_task_init), (gst_task_dispose), (gst_task_create),
29199         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29200         (gst_task_pause):
29201         * gst/gsttask.h:
29202         * gst/gstthread.c:
29203         * gst/gstthread.h:
29204         * gst/gsttypes.h:
29205         * gst/schedulers/Makefile.am:
29206         * gst/schedulers/cothreads_compat.h:
29207         * gst/schedulers/entryscheduler.c:
29208         * gst/schedulers/faircothreads.c:
29209         * gst/schedulers/faircothreads.h:
29210         * gst/schedulers/fairscheduler.c:
29211         * gst/schedulers/gstbasicscheduler.c:
29212         * gst/schedulers/gstoptimalscheduler.c:
29213         * gst/schedulers/gthread-cothreads.h:
29214         * gst/schedulers/threadscheduler.c:
29215         (gst_thread_scheduler_task_get_type),
29216         (gst_thread_scheduler_task_class_init),
29217         (gst_thread_scheduler_task_init),
29218         (gst_thread_scheduler_task_start),
29219         (gst_thread_scheduler_task_stop),
29220         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29221         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29222         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29223         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29224         (plugin_init):
29225         * libs/gst/Makefile.am:
29226         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29227         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29228         (gst_file_pad_parent_set):
29229         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29230         (gst_dp_event_from_packet):
29231         * tests/complexity.c: (main):
29232         * tests/mass_elements.c: (main):
29233         * testsuite/states/locked.c: (message_received), (main):
29234         * testsuite/states/parent.c: (main):
29235         * tools/gst-inspect.c: (print_element_flag_info),
29236         (print_implementation_info), (print_pad_info):
29237         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29238         (main):
29239         * tools/gst-md5sum.c: (event_loop), (main):
29240         * tools/gst-typefind.c: (main):
29241         * tools/gst-xmlinspect.c: (print_element_info):
29242         Next big merge.
29243         Added GstBus for mainloop integration.
29244         Added GstMessage for sending notifications on the bus.
29245         Added GstTask as an abstraction for pipeline entry points.
29246         Removed GstThread.
29247         Removed Schedulers.
29248         Simplified GstQueue for multithreaded core.
29249         Made _link threadsafe, removed old capsnego.
29250         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29251         Added pad blocking functions.
29252         Reworked scheduling functions in GstPad to prepare for
29253         scheduling updates soon.
29254         Moved events out of data stream.
29255         Simplified GstEvent types.
29256         Added return values to push/pull.
29257         Removed clocking from GstElement.
29258         Added prototypes for state change function for next merge.
29259         Removed iterate from bins and state change management.
29260         Fixed some elements, disabled others for now.
29261         Fixed -inspect and -launch.
29262         Added check for GstBus.
29263
29264 2005-03-10  Wim Taymans  <wim@fluendo.com>
29265
29266         * docs/design/part-MT-refcounting.txt:
29267         * docs/design/part-clocks.txt:
29268         * docs/design/part-gstelement.txt:
29269         * docs/design/part-gstobject.txt:
29270         * docs/design/part-standards.txt:
29271         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29272         (gst_bin_remove_func), (gst_bin_remove):
29273         * gst/gstbin.h:
29274         * gst/gstbuffer.c:
29275         * gst/gstcaps.h:
29276         * testsuite/clock/clock1.c: (main):
29277         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29278         (main):
29279         * testsuite/dlopen/loadgst.c: (do_test):
29280         * testsuite/refcounting/bin.c: (add_remove_test1),
29281         (add_remove_test2), (main):
29282         * testsuite/refcounting/element.c: (main):
29283         * testsuite/refcounting/element_pad.c: (main):
29284         * testsuite/refcounting/pad.c: (main):
29285         * tools/gst-launch.c: (sigint_handler_sighandler):
29286         * tools/gst-typefind.c: (main):
29287         Doc updates.
29288         Added doc about clock.
29289         removed gst_bin_iterate_recurse_up(), marked methods
29290         for removal.
29291         Fix more testsuites.
29292
29293 2005-03-09  Wim Taymans  <wim@fluendo.com>
29294
29295         * gst/gstpad.c: (gst_pad_get_direction),
29296         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29297         (gst_pad_collect_valist):
29298         * testsuite/bins/interface.c: (main):
29299         * testsuite/caps/audioscale.c: (test_caps):
29300         * testsuite/caps/caps.c: (test1), (test2), (test3):
29301         * testsuite/caps/deserialize.c: (main):
29302         * testsuite/caps/enumcaps.c: (main):
29303         * testsuite/caps/filtercaps.c: (main):
29304         * testsuite/caps/intersect2.c: (main):
29305         * testsuite/caps/random.c: (main):
29306         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29307         * testsuite/caps/sets.c: (check_caps):
29308         * testsuite/caps/simplify.c: (check_caps), (main):
29309         * testsuite/caps/subtract.c: (check_caps):
29310         Fix _pad_get_direction wrt ghostpads.
29311         Fix caps testsuite.
29312
29313 2005-03-09  Wim Taymans  <wim@fluendo.com>
29314
29315         * check/Makefile.am:
29316         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29317         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29318         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29319         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29320         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29321         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29322         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29323         (bin_element_is_sink), (gst_bin_iterate_sinks),
29324         (gst_bin_iterate_all_by_interface):
29325         * gst/gstbin.h:
29326         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29327         (gst_element_change_state), (gst_element_dispose),
29328         (gst_element_finalize), (gst_element_set_loop_function):
29329         * gst/gstelement.h:
29330         * gst/gstiterator.c: (find_custom_fold_func):
29331         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29332         (gst_pad_collectv), (gst_pad_collect_valist),
29333         (gst_pad_template_new):
29334         * gst/gstpipeline.c: (gst_pipeline_class_init),
29335         (gst_pipeline_dispose), (gst_pipeline_set_property),
29336         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29337         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29338         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29339         * gst/gstutils.h:
29340         * gst/schedulers/entryscheduler.c:
29341         * gst/schedulers/gstbasicscheduler.c:
29342         (gst_basic_scheduler_cothreaded_chain),
29343         (gst_basic_scheduler_chain_add_element):
29344         * testsuite/bins/interface.c: (main):
29345         Added GstBin test.
29346         Added GstSystemClock test.
29347         Implemented clock distribution code in GstBin.
29348         Implemented iterate sinks method for future use.
29349         Rearranged gstelement.h
29350         Fix GstIterator comparison bug.
29351         Moved some code to GstPipeline, mostly clocking related.
29352
29353 2005-03-09  Wim Taymans  <wim@fluendo.com>
29354
29355         * configure.ac:
29356         * gst/gst_private.h:
29357         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29358         (gst_bin_remove_func), (gst_bin_remove),
29359         (gst_bin_get_by_name_recurse_up):
29360         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29361         (gst_clock_id_compare_func), (gst_clock_id_wait),
29362         (gst_clock_id_wait_async), (gst_clock_init),
29363         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29364         * gst/gstelement.h:
29365         * gst/gstinfo.c: (_gst_debug_init):
29366         * gst/gstobject.h:
29367         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29368         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29369         * gst/gstpad.h:
29370         Bump version number, we're now 0.9.0
29371         Add future debugging category.
29372         Fix NULL _unref() in _get_by_name_recurse_up
29373         Rearrange gstpad.h.
29374         Update some docs.
29375
29376 2005-03-08  Wim Taymans  <wim@fluendo.com>
29377
29378         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29379         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29380         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29381         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29382         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29383         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29384         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29385         * gst/elements/gstidentity.c: (gst_identity_class_init):
29386         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29387         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29388         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29389         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29390         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29391         (gst_tee_link):
29392         * gst/gstelement.c: (gst_element_class_init),
29393         (gst_element_base_class_init), (gst_element_init),
29394         (gst_element_get_random_pad), (gst_element_wait_state_change),
29395         (gst_element_change_state), (gst_element_dispose),
29396         (gst_element_finalize), (gst_element_set_loop_function):
29397         * gst/gstelement.h:
29398         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29399         * gst/gstthread.c: (gst_thread_class_init),
29400         (gst_thread_release_children_locks), (gst_thread_change_state):
29401         * gst/schedulers/gstbasicscheduler.c:
29402         (gst_basic_scheduler_loopfunc_wrapper),
29403         (gst_basic_scheduler_chain_wrapper),
29404         (gst_basic_scheduler_src_wrapper),
29405         (gst_basic_scheduler_remove_element):
29406         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29407         Remove threadsafe properties. Fix elements because GObject
29408         complains when installing a property before declaring a
29409         set/get_property handler.
29410         Rearrange gstelement.h file, use STATE macros for state locks.
29411         Free mutexes in the finalize method instead of dispose.
29412
29413 2005-03-08  Wim Taymans  <wim@fluendo.com>
29414
29415         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29416         * gst/gstthread.c: (gst_thread_release_children_locks):
29417         Added parentage check.
29418         Fix build og GstThread again.
29419
29420 2005-03-08  Wim Taymans  <wim@fluendo.com>
29421
29422         * docs/design/part-MT-refcounting.txt:
29423         * docs/design/part-conventions.txt:
29424         * docs/design/part-gstobject.txt:
29425         * docs/design/part-relations.txt:
29426         * docs/design/part-standards.txt:
29427         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29428         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29429         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29430         (gst_bin_iterate_all_by_interface):
29431         * gst/gstbuffer.h:
29432         * gst/gstclock.h:
29433         * gst/gstelement.c: (gst_element_class_init),
29434         (gst_element_change_state), (gst_element_set_loop_function):
29435         * gst/gstelement.h:
29436         * gst/gstiterator.c:
29437         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29438         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29439         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29440         (gst_object_set_parent), (gst_object_unparent),
29441         (gst_object_check_uniqueness):
29442         * gst/gstobject.h:
29443         Docs updates, clean up some headers.
29444
29445 2005-03-07  Wim Taymans  <wim@fluendo.com>
29446
29447         * check/.cvsignore:
29448         * check/Makefile.am:
29449         * check/gst-libs/.cvsignore:
29450         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29451         * check/gst/.cvsignore:
29452         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29453         (START_TEST), (gstbus_suite), (main):
29454         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29455         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29456         (gst_data_suite), (main):
29457         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29458         (add_fold_func), (gstiterator_suite), (main):
29459         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29460         (thread_name_object), (thread_name_object_default),
29461         (gst_object_name_compare), (gst_object_suite), (main):
29462         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29463         (gst_pad_suite), (main):
29464         * check/gstcheck.c: (gst_check_log_message_func),
29465         (gst_check_log_critical_func), (gst_check_init):
29466         * check/gstcheck.h:
29467         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29468         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29469         Added checks.
29470
29471 2005-03-07  Wim Taymans  <wim@fluendo.com>
29472
29473         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29474         (gst_list_iterator_next), (gst_list_iterator_resync),
29475         (gst_list_iterator_free), (gst_iterator_new_list),
29476         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29477         (gst_iterator_free), (gst_iterator_push), (filter_next),
29478         (filter_resync), (filter_uninit), (filter_free),
29479         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29480         (gst_iterator_foreach), (find_custom_fold_func),
29481         (gst_iterator_find_custom):
29482         * gst/gstiterator.h:
29483         Added missing files.
29484
29485 2005-03-07  Wim Taymans  <wim@fluendo.com>
29486
29487         * Makefile.am:
29488         * configure.ac:
29489         * docs/design/part-MT-refcounting.txt:
29490         * docs/design/part-conventions.txt:
29491         * docs/design/part-gstobject.txt:
29492         * docs/design/part-relations.txt:
29493         * examples/mixer/mixer.c: (main):
29494         * examples/thread/thread.c: (eos), (main):
29495         * gst/Makefile.am:
29496         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29497         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29498         (gst_spider_plug_from_srcpad):
29499         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29500         (gst_spider_identity_change_state),
29501         (gst_spider_identity_sink_loop_type_finding):
29502         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29503         * gst/elements/gstidentity.c: (gst_identity_init):
29504         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29505         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29506         * gst/elements/gsttypefindelement.c: (free_entry):
29507         * gst/gst.c:
29508         * gst/gst.h:
29509         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29510         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29511         (gst_bin_set_index), (gst_bin_set_element_sched),
29512         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29513         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29514         (gst_bin_iterate_elements), (iterate_child_recurse),
29515         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29516         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29517         (compare_interface), (gst_bin_get_by_interface),
29518         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29519         * gst/gstbin.h:
29520         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29521         (gst_buffer_default_free), (gst_buffer_default_copy),
29522         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29523         (gst_buffer_create_sub):
29524         * gst/gstbuffer.h:
29525         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29526         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29527         (gst_caps_unref), (gst_static_caps_get),
29528         (gst_caps_remove_and_get_structure), (gst_caps_append),
29529         (gst_caps_append_structure), (gst_caps_remove_structure),
29530         (gst_caps_copy_nth), (gst_caps_set_simple),
29531         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29532         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29533         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29534         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29535         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29536         (gst_caps_structure_figure_out_union),
29537         (gst_caps_switch_structures), (gst_caps_do_simplify),
29538         (gst_caps_replace), (gst_caps_from_string),
29539         (gst_caps_copy_conditional):
29540         * gst/gstcaps.h:
29541         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29542         (_gst_clock_id_free), (gst_clock_id_unref),
29543         (gst_clock_id_compare_func), (gst_clock_id_wait),
29544         (gst_clock_id_wait_async), (gst_clock_class_init),
29545         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29546         (gst_clock_get_time), (gst_clock_set_time_adjust),
29547         (gst_clock_set_property), (gst_clock_get_property):
29548         * gst/gstclock.h:
29549         * gst/gstcompat.h:
29550         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29551         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29552         * gst/gstdata.h:
29553         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29554         (gst_element_requires_clock), (gst_element_provides_clock),
29555         (gst_element_set_clock), (gst_element_clock_wait),
29556         (gst_element_wait), (gst_element_set_time_delay),
29557         (gst_element_is_indexable), (gst_element_add_pad),
29558         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29559         (pad_compare_name), (gst_element_get_static_pad),
29560         (gst_element_request_pad), (gst_element_get_request_pad),
29561         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29562         (gst_element_class_get_pad_template_list),
29563         (gst_element_class_get_pad_template), (gst_element_error_func),
29564         (gst_element_get_random_pad), (gst_element_get_event_masks),
29565         (gst_element_send_event), (gst_element_seek),
29566         (gst_element_get_query_types), (gst_element_query),
29567         (gst_element_get_formats), (gst_element_convert),
29568         (gst_element_is_locked_state), (gst_element_set_locked_state),
29569         (gst_element_sync_state_with_parent), (gst_element_change_state),
29570         (gst_element_finalize), (gst_element_yield),
29571         (gst_element_interrupt), (gst_element_set_scheduler),
29572         (gst_element_get_scheduler), (gst_element_set_loop_function):
29573         * gst/gstelement.h:
29574         * gst/gstevent.h:
29575         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29576         (gst_format_get_by_nick), (gst_format_get_details),
29577         (gst_format_iterate_definitions):
29578         * gst/gstformat.h:
29579         * gst/gstindex.c: (gst_index_gtype_resolver):
29580         * gst/gstinfo.c:
29581         * gst/gstinfo.h:
29582         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29583         (gst_mem_chunk_free):
29584         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29585         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29586         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29587         (gst_object_dispatch_properties_changed),
29588         (gst_object_set_name_default), (gst_object_set_name),
29589         (gst_object_get_name), (gst_object_set_name_prefix),
29590         (gst_object_get_name_prefix), (gst_object_set_parent),
29591         (gst_object_get_parent), (gst_object_unparent),
29592         (gst_object_check_uniqueness), (gst_object_save_thyself),
29593         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29594         (gst_object_set_property), (gst_object_get_property),
29595         (gst_object_get_path_string):
29596         * gst/gstobject.h:
29597         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29598         (gst_real_pad_init), (gst_real_pad_get_property),
29599         (gst_pad_custom_new), (gst_pad_get_direction),
29600         (gst_pad_set_active), (gst_pad_is_active),
29601         (gst_pad_set_event_function), (gst_pad_is_linked),
29602         (gst_pad_link_free), (gst_pad_link_intersect),
29603         (gst_pad_link_fixate), (gst_pad_set_caps),
29604         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29605         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29606         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29607         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29608         (gst_pad_get_caps), (gst_pad_peer_get_caps),
29609         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29610         (gst_pad_realize), (gst_pad_get_allowed_caps),
29611         (gst_real_pad_dispose), (gst_real_pad_finalize),
29612         (gst_pad_collectv), (gst_pad_collect_valist),
29613         (gst_pad_template_dispose), (gst_pad_template_new),
29614         (gst_pad_get_internal_links):
29615         * gst/gstpad.h:
29616         * gst/gstpipeline.c: (gst_pipeline_dispose),
29617         (gst_pipeline_change_state):
29618         * gst/gstpipeline.h:
29619         * gst/gstplugin.c:
29620         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29621         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29622         * gst/gstpluginfeature.h:
29623         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29624         * gst/gstquery.c: (_gst_query_type_initialize),
29625         (gst_query_type_register), (gst_query_type_get_by_nick),
29626         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29627         * gst/gstquery.h:
29628         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29629         * gst/gstscheduler.c: (gst_scheduler_add_element),
29630         (gst_scheduler_factory_create):
29631         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29632         (gst_structure_free), (gst_structure_set_name),
29633         (gst_structure_id_set_value), (gst_structure_set_value),
29634         (gst_structure_set_valist), (gst_structure_remove_field),
29635         (gst_structure_remove_fields),
29636         (gst_structure_remove_fields_valist),
29637         (gst_structure_remove_all_fields), (gst_structure_foreach),
29638         (gst_structure_map_in_place),
29639         (gst_caps_structure_fixate_field_nearest_int),
29640         (gst_caps_structure_fixate_field_nearest_double):
29641         * gst/gststructure.h:
29642         * gst/gstsystemclock.c: (gst_system_clock_class_init),
29643         (gst_system_clock_init), (gst_system_clock_dispose),
29644         (gst_system_clock_async_thread),
29645         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29646         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29647         * gst/gstsystemclock.h:
29648         * gst/gsttag.c: (gst_tag_list_add_value_internal),
29649         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29650         * gst/gsttaginterface.c:
29651         * gst/gstthread.c: (gst_thread_dispose),
29652         (gst_thread_release_children_locks), (gst_thread_change_state),
29653         (gst_thread_main_loop):
29654         * gst/gsttrashstack.h:
29655         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29656         * gst/gsttypes.h:
29657         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29658         (gst_element_request_pad), (gst_element_get_pad_from_template),
29659         (gst_element_request_compatible_pad),
29660         (gst_element_get_compatible_pad_filtered),
29661         (gst_element_get_compatible_pad), (gst_element_state_get_name),
29662         (gst_element_link_pads_filtered), (gst_element_link_filtered),
29663         (gst_element_link_many), (gst_element_link),
29664         (gst_element_link_pads), (gst_element_unlink_pads),
29665         (gst_element_unlink_many), (gst_element_unlink),
29666         (gst_pad_can_link_filtered), (gst_pad_can_link),
29667         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29668         (gst_object_default_error), (gst_bin_add_many),
29669         (gst_bin_remove_many), (gst_element_populate_std_props),
29670         (gst_element_class_install_std_props), (gst_buffer_merge),
29671         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29672         (link_fold_func), (gst_pad_proxy_setcaps):
29673         * gst/gstutils.h:
29674         * gst/gstvalue.c: (gst_value_deserialize_string):
29675         * gst/parse/grammar.y:
29676         * gst/schedulers/gstbasicscheduler.c:
29677         (gst_basic_scheduler_cothreaded_chain),
29678         (gst_basic_scheduler_chain_recursive_add),
29679         (gst_basic_scheduler_pad_link):
29680         * gst/schedulers/gstoptimalscheduler.c:
29681         (get_group_schedule_function),
29682         (gst_opt_scheduler_state_transition),
29683         (gst_opt_scheduler_add_element), (element_get_reachables_func):
29684         * libs/gst/bytestream/bytestream.c:
29685         * libs/gst/dataprotocol/dataprotocol.c:
29686         (gst_dp_header_from_buffer):
29687         * po/nb.po:
29688         * po/ru.po:
29689         * tests/threadstate/threadstate2.c: (eos):
29690         * tools/gst-compprep.c: (main):
29691         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29692         (print_pad_info), (print_children_info):
29693         * tools/gst-launch.c: (idle_func), (main):
29694         * tools/gst-md5sum.c: (idle_func), (main):
29695         * tools/gst-xmlinspect.c: (print_element_info):
29696         First THREADED backport attempt, focusing on adding locks and
29697         making sure the API is threadsafe. Needs more work. More docs
29698         follow this week.
29699
29700 2005-02-24  Andy Wingo  <wingo@pobox.com>
29701
29702         * tests/bench-complexity.scm:
29703         * tests/complexity.gnuplot: New files, good for running complexity
29704         benchmarks.
29705
29706         * tests/Makefile.am:
29707         * tests/complexity.c: New test, sets up N elements, at each level
29708         teeing into M streams per element. Eeeenteresting.
29709
29710         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29711         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29712         running bench-mass_elements.scm.
29713
29714         * tests/bench-mass_elements.scm: New script, runs mass_elements
29715         for various numbers of identities, outputting the results to a
29716         file. Requires guile 1.6. Just for testing.
29717
29718 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29719
29720         * gst/schedulers/fairscheduler.c:
29721           compile with debug disabled
29722
29723 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29724
29725         * configure.ac:
29726           hunting season on 0.9 is now OPEN