plugins/elements/gstfdsrc.c: Added Since doc.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
4         Added Since doc.
5
6 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
7
8         Patch by: joel larsson <tilljoel at gmail dot com>
9
10         * docs/plugins/gstreamer-plugins.args:
11         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
12         (gst_fd_src_init), (gst_fd_src_update_fd),
13         (gst_fd_src_set_property), (gst_fd_src_get_property),
14         (gst_fd_src_create):
15         * plugins/elements/gstfdsrc.h:
16         Add timeout property like udpsrc. Fixes #538628.
17         Add some more docs and example pipelines.
18
19 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
20
21         * docs/libs/gstreamer-libs-sections.txt:
22         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
23         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
24         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
25         (gst_base_sink_do_sync):
26         * libs/gst/base/gstbasesink.h:
27         * win32/common/libgstbase.def:
28         Add method to allow sinks to specify additional delay between the sync
29         times and the actual rendering of the data.
30         API: gst_base_sink_set_render_delay()
31         API: gst_base_sink_get_render_delay()
32
33 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
34
35         * configure.ac:
36         Bump version number back to dev -> 0.10.20.1
37
38 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
39
40         * docs/gst/gstreamer-sections.txt:
41         * gst/gsttaglist.c: (_gst_tag_initialize):
42         * gst/gsttaglist.h:
43         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
44         Fixes bug #538568.
45
46 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
47
48         * libs/gst/controller/gstcontroller.c:
49           Revert one change, that make ret value possible uninitialized.
50
51 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
52
53         * libs/gst/controller/gstcontroller.c:
54           Use freeze/thaw notify to sync notify emission a bit (its also more
55           efficient). Move debug output to LOG (is called a lot in a loop).
56           Always unset g_values if the have been initialized.
57
58 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
59
60         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
61         (gst_base_sink_wait_eos), (gst_base_sink_event):
62         If we have not seen a buffer before EOS, use the segment values to
63         report the current position instead of invalid positions.
64
65 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
66
67         * docs/plugins/tmpl/.cvsignore:
68         * tests/check/gst/.cvsignore:
69           Ignore more.
70
71 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
72
73         * libs/gst/controller/gstinterpolation.c:
74         * libs/gst/controller/gstinterpolationcontrolsource.c:
75         * tests/check/libs/controller.c:
76           Rewrite handling of default values. Fix overflow with unsigned types
77           in linear interpolation. Remove now obsolete _first_value() function.
78           Add more tests. Fixes #538201.
79
80 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
81
82         * libs/gst/base/gstbasetransform.c:
83         (gst_base_transform_class_init), (gst_base_transform_init),
84         (gst_base_transform_transform_caps),
85         (gst_base_transform_prepare_output_buffer):
86         Add debug info.
87         When a buffer is writable, its metadata is also writable so we don't
88         need to subbuffer (which then makes the buffer not-writable anymore).
89
90 === release 0.10.20 ===
91
92 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
93
94         * configure.ac:
95           releasing 0.10.20, "You Crazy Diamond"
96
97 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
98
99         * configure.ac:
100         0.10.19.3 pre-release
101
102 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
103
104         * configure.ac:
105         * gst/gstpreset.c:
106         Rename DATADIR to GST_DATADIR to avoid build problems
107         on win32. Patch By: David Schleef <ds@schleef.org>
108         Fixes: #536857
109
110 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
111
112         * configure.ac:
113         Explicitely link with -ldl if dladdr() is found there. Before it was
114         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
115         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
116
117 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
118
119         * gst/gsterror.c: (_gst_stream_errors_init):
120           Fix typo (spotted by Fabricio Godoy, #536723).
121
122 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
123
124         * configure.ac:
125         0.10.19.2 pre-release
126
127 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
128
129         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
130         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
131         Add some debug.
132         Make sure we don't generate invalid QoS messages.
133
134 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
135
136         * gst/gstevent.c: (gst_event_new_qos):
137         Add some assert and docs for invalid input to the qos function.
138
139 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
140
141         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
142         (gst_base_sink_get_position):
143         The reported position must always be smaller than the last seen
144         timestamps (or timestamp + duration for reverse).
145
146 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
147
148         Patch by: Rob Bradford <rob at robster dot org dot uk>
149
150         * gst/gstregistry.c: (gst_registry_scan_path_level):
151         Don't recurse into .debug directories as some distros install
152         the debugging symbols next to the plugins in .debug directories
153         and dlopen() crashes on them sometimes. Fixes bug #508070.
154
155         Add FIXME for 0.11 to not recurse into directories at all because
156         it's very inconsistent to the behaviour of other PATH environment
157         variables.
158
159 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
160
161         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
162         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
163         Fix position query range checks in reverse playback.
164
165 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
166
167         * gst/gstelement.c:
168         * gst/gstelement.h:
169         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
170         clear of the reference to the resulting pad must be released later
171         or not, resulting in possible leaks. Fixes bug #533865.
172
173 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
174
175         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
176
177         * gst/gstelementfactory.c:
178         Small doc fix. Fixes #535285.
179
180 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
181
182         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
183
184         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
185         (gst_base_src_get_range), (gst_base_src_pad_get_range),
186         (gst_base_src_loop), (gst_base_src_set_flushing),
187         (gst_base_src_change_state):
188         Make sending an EOS event to the basesrc non-blocking even if the
189         implementation does blocking waits in the create function. This is done
190         by unlocking the create function when EOS is sent.
191         Fixes #535218.
192
193 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
194
195         * tools/gst-inspect.c: (print_element_properties_info):
196         If possible print the element type of GValueArray properties.
197
198 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
199
200         * gst/gstiterator.c:
201         Remove an unused field from the private GstListIterator struct.
202
203 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
204
205         * libs/gst/controller/gstcontroller.c:
206           Add parameter guards.
207
208 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
209
210         * tests/check/gst/gstpipeline.c:
211           Revert test change and add comment why it should not work.
212
213 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
214
215         * tests/check/gst/gstpipeline.c:
216           Extending the test a little to verify that we also get the NULL state-
217           change message.
218
219 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
220
221         * gst/gstpreset.c: (gst_preset_default_get_meta),
222           (gst_preset_get_preset_names), (gst_preset_get_property_names),
223           (gst_preset_load_preset), (gst_preset_save_preset),
224           (gst_preset_rename_preset), (gst_preset_delete_preset),
225           (gst_preset_set_meta):
226           Add Since: markers to docs blurbs.
227
228         * win32/common/libgstreamer.def:
229           Add recently-added API.
230
231 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
232
233         Patch by: Stefan Kost  <ensonic@users.sf.net>
234
235         * configure.ac:
236         Add DATADIR for storing presets.
237
238         * docs/gst/gstreamer-docs.sgml:
239         * docs/gst/gstreamer-sections.txt:
240         * docs/gst/gstreamer.types.in:
241         Add GstPreset to docs.
242
243         * gst/Makefile.am:
244         * gst/gst.h:
245         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
246         (preset_open_and_parse_header), (preset_parse_version),
247         (preset_merge), (preset_get_keyfile),
248         (gst_preset_default_get_preset_names),
249         (gst_preset_default_get_property_names),
250         (gst_preset_default_load_preset),
251         (gst_preset_default_save_presets_file),
252         (gst_preset_default_save_preset),
253         (gst_preset_default_rename_preset),
254         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
255         (gst_preset_default_get_meta), (gst_preset_default_randomize),
256         (gst_preset_default_reset), (gst_preset_get_preset_names),
257         (gst_preset_get_property_names), (gst_preset_load_preset),
258         (gst_preset_save_preset), (gst_preset_rename_preset),
259         (gst_preset_delete_preset), (gst_preset_set_meta),
260         (gst_preset_get_meta), (gst_preset_class_init),
261         (gst_preset_base_init), (gst_preset_get_type):
262         * gst/gstpreset.h:
263         Add GstPreset to core. Fixes #396779
264
265         * tests/check/Makefile.am:
266         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
267         (gst_preset_test_set_property), (gst_preset_test_class_init),
268         (gst_preset_test_base_init), (gst_preset_test_get_type),
269         (gst_preset_test_plugin_init), (GST_START_TEST),
270         (remove_preset_file), (test_setup), (test_teardown),
271         (gst_preset_suite):
272         Add GstPreset unit tests.
273
274 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
275
276         * gst/gstpad.c: (gst_pad_event_default_dispatch):
277         The default event function on a sinkpad should return TRUE when
278         there are no internal links but should collect the return values from
279         the internal links otherwise.
280
281 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
282
283         * plugins/elements/gsttypefindelement.c:
284         (gst_type_find_element_src_event),
285         (gst_type_find_element_handle_event):
286         Use faster and safer _pad_push_event().
287
288 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
289
290         * docs/gst/gstreamer-sections.txt:
291         * gst/gstutils.c: (element_find_unlinked_pad),
292           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
293         * gst/gstutils.h:
294           API: add gst_bin_find_unlinked_pad()
295           API: deprecate gst_bin_find_unconnected_pad() (#401456)
296
297 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
298
299         * gst/gstclock.c:
300         * gst/gstclock.h:
301         * gst/gsttask.c:
302         * gst/gsttask.h:
303         Fixed a bunch of typos.
304
305 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
306
307         * gst/gstpad.h:
308         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
309           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
310           (gst_parse_bin_from_description_full):
311         * gst/gstutils.h:
312           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
313
314 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
315
316         * docs/pwg/advanced-tagging.xml:
317           Small docs update, can't be bothered to rewrite the nonsensical
318           examples right now.
319
320 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
321
322         * gst/gstevent.h:
323           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
324
325 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
326
327         * gst/parse/grammar.y:
328           Remove unneeded casts.
329
330 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
331
332         * gst/parse/grammar.y:
333         * tests/check/pipelines/parse-launch.c:
334           Get all missing elements from a parse launch string if possible
335           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
336
337 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
338
339         * tests/check/Makefile.am:
340         * tests/check/pipelines/parse-launch.c:
341           Add some unit tests for the new gst_parse_launch*_full() API.
342           (Exposes a previously-existing memory leak in the error code
343           path, so adding to VALGRIND_TO_FIX for now).
344
345 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
346
347         * docs/gst/gstreamer-sections.txt:
348         * gst/gst.c: (init_post):
349         * gst/gst_private.h: (_GstParseContext):
350         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
351           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
352           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
353           (gst_parse_launch_full):
354         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
355           (GstParseFlags), (GstParseContext):
356         * gst/gstutils.c: (gst_parse_bin_from_description),
357           (gst_parse_bin_from_description_full):
358         * gst/gstutils.h:
359         * gst/parse/grammar.y:
360         * gst/parse/types.h:
361         * win32/common/libgstreamer.def:
362           Add new gst_parse_*_full API (#528178):
363           API: gst_parse_launch_full()
364           API: gst_parse_launchv_full()
365           API: gst_parse_bin_from_description_full()
366           API: gst_parse_context_new()
367           API: gst_parse_context_free()
368           API: gst_parse_context_get_missing_elements()
369
370 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
371
372         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
373
374         * docs/faq/gst-uninstalled:
375           Also support ffmpeg in gst-uninstalled.
376
377 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
378
379         * configure.ac:
380         After discussion on IRC use the binary registry as default
381         but allow to disable it with --disable-binary-registry.
382
383         * win32/common/libgstreamer.def:
384         Add the two new symbols for the binary registry.
385
386 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
387
388         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
389         * gst/gstutils.c: (gst_parse_bin_from_description):
390         * gst/parse/grammar.y: (graph):
391           More guards against bad input; typo fix; some minor clean-ups.
392
393 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
394
395         Patch by: Sjoerd Simons <sjoerd at luon dot net>
396
397         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
398         If nothing else can be used, use the last buffer's start time as
399         the segment's last stop. Fixes bug #534258.
400
401 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
402
403         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
404           Move size sanity check to the right place: downstream may return
405           a buffer with a smaller size if the buffer caps are different than
406           the requested ones, as may happen when doing reverse negotiation.
407
408 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
409
410         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
411         (gst_file_sink_render):
412         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
413         (gst_file_src_start):
414         Small cleanups. Add note adbout g_fopen() on windows and why we don't
415         use it yet.
416
417 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
418
419         * gst/gstpad.c: (gst_pad_load_and_link):
420         * gst/gstutils.c: (gst_element_link_pads),
421         (gst_element_unlink_pads):
422         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
423         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
424         (gst_check_teardown_sink_pad),
425         (gst_check_element_push_buffer_list):
426         * tests/check/elements/fakesink.c: (GST_START_TEST):
427         * tests/check/elements/filesink.c:
428         * tests/check/elements/filesrc.c: (GST_START_TEST):
429         * tests/check/elements/multiqueue.c: (setup_multiqueue),
430         (mq_sinkpad_to_srcpad):
431         * tests/check/elements/tee.c: (GST_START_TEST):
432         * tests/check/generic/sinks.c: (GST_START_TEST):
433         * tests/check/gst/gstbin.c: (GST_START_TEST):
434         * tests/check/gst/gstevent.c: (GST_START_TEST):
435         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
436         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
437         * tests/check/gst/gstquery.c: (GST_START_TEST):
438         * tests/check/gst/gstutils.c: (GST_START_TEST):
439         * tests/check/libs/basesrc.c: (GST_START_TEST):
440         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
441         (gst_parse_test_element_change_state):
442         Don't use gst_element_get_pad().
443
444 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
445
446         * docs/Makefile.am:
447         Fix installing plugin documentation when gtk-doc is disabled.
448
449 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
450
451         * docs/manual/advanced-autoplugging.xml:
452         * docs/manual/basics-helloworld.xml:
453         * docs/manual/basics-pads.xml:
454         * docs/manual/highlevel-components.xml:
455         Avoid using a bad function in the example code.
456
457 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
458
459         * gst/gstclock.c: (gst_clock_set_calibration):
460         Fix debug of the new clock rate.
461
462 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
463
464         * win32/common/libgstbase.def:
465         Add gst_base_sink_wait_clock() to the exported symbols.
466
467 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
468
469         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
470
471         * libs/gst/base/gstbasetransform.c:
472         (gst_base_transform_sink_event):
473         Unref events that the GstBaseTransform::event vfunc didn't want to
474         have forwarded by the base class. Closes a leak in identity.
475         Fixes bug #446763.
476
477 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
478
479         * docs/libs/gstreamer-libs-sections.txt:
480         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
481         * libs/gst/base/gstbasesink.h:
482         Expose a method that was previously used internally to synchronize
483         against the clock because it can be useful for subclasses too.
484         API: GstBaseSink::gst_base_sink_wait_clock()
485
486 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
487
488         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
489           Add sanity check to make sure we don't get smaller buffers
490           than requested (and fallback to normal buffer alloc if we do).
491
492 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
493
494         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
495         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
496         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
497         Refactor adjusting the running_time with latency and offset into a
498         separate method.
499         When doing clipping, we still want to use the subclass get_times method,
500         just in case the DURATION or TIMESTAMP are not set.
501
502 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
503
504         * docs/gst/gstreamer-sections.txt:
505         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
506         * gst/gsttypefind.h:
507         * win32/common/libgstreamer.def:
508           API: add gst_type_find_suggest_simple(), #533740.
509
510 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
511
512         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
513           Use right error code when typefinding fails, so we can use
514           the default (translated) error messages.
515
516 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
517
518         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
519         (gst_base_src_start):
520         When the subclass did not set caps on outgoing buffers, configure the
521         caps we negotiated on the source pad.
522         When the typefind helper does not find caps, error out properly instead
523         of doing things with NULL caps.
524
525 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
526
527         * gst/gsttypefind.h:
528           Tabs to spaces, oh yes!
529
530 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
531
532         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
533           Add David's and Benjamin's tests for array intersection to the
534           unit test suite (#147931).
535
536 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
537
538         * gst/gstevent.c:
539           Document that gst_event_new_tag() and gst_event_new_navigation()
540           take ownership of the taglist/structure passed to them. (#533635).
541
542 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
543
544         * docs/Makefile.am:
545         Don't descend into the plugins dir if plugin docs building
546         is disabled.
547
548         * docs/README:
549         Add a note about the new type:GTypeName syntax for the plugin
550         documentation .types file.
551
552 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
553
554         * gst/gstmessage.c: (gst_message_new_error),
555         (gst_message_new_warning), (gst_message_new_info):
556         * gst/gstmessage.h:
557         Mark the debug string parameters as const. Fixes bug #533490.
558
559 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
560
561         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
562         Sort buffer cache list by end offsets. This makes sure that we don't
563         stop to search for a cached buffer that contains the requested data
564         too early.
565         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
566         more efficient. Fixes bug #459862.
567
568 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
569
570         * gst/gstinfo.c:
571           Explain why we copy the list.
572
573         * gst/gstpipeline.c:
574           Improve docs.
575
576         * gst/gstutils.c:
577           Add one debug-log statement to help tracing probelms with linking pads.
578
579 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
580
581         * tests/check/gst/gstinfo.c:
582         Add a test for removing the default log handler. Seems to fail under
583         windows.
584
585 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
586
587         * gst/gstpad.c: (gst_pad_peer_accept_caps):
588         Release pad lock before calling out to avoid a possible deadlock.
589
590 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
591
592         * gst/parse/grammar.y:
593         Remove unneeded value unset.
594
595         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
596         Add unit test for de/serialization of caps.
597
598 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
599
600         * plugins/elements/gstfakesink.c:
601         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
602         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
603         (gst_fake_src_class_init):
604         Use custom marshalers that take GstMiniObject as first parameter.
605         Using OBJECT as parameter while a GstMiniObject is given will lead
606         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
607
608 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
609
610         * plugins/elements/gsttypefindelement.c:
611         (gst_type_find_element_handle_event),
612         (gst_type_find_element_send_cached_events),
613         (gst_type_find_element_change_state):
614         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
615         immediately.
616
617 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
618
619         * plugins/elements/gsttypefindelement.c:
620         (gst_type_find_handle_src_query), (stop_typefinding),
621         (gst_type_find_element_handle_event),
622         (gst_type_find_element_send_cached_events),
623         (gst_type_find_element_change_state):
624         Forward FLUSH_START events immediately and clean up instead of
625         caching them.
626
627 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
628
629         Patch by: Sjoerd Simons <sjoerd at luon dot net>
630
631         * libs/gst/base/gstbasetransform.c:
632         (gst_base_transform_buffer_alloc):
633         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
634         fall back to default negotiation in the chain function if the caps
635         are different from what was requested. Fixes bug #526768.
636
637 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
638
639         * gst/gstsegment.c:
640         * tests/check/gst/gstsegment.c:
641           No, let's not use g_slice_{dup|copy} here, since they only exist
642           since GLib 2.14 and we still depend only on >= 2.12. Also add
643           unit test for gst_segment_copy().
644
645 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
646
647         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
648           Try to fix 'dereferencing type-punned pointer will break strict
649           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
650           changed the default GType typedef from gulong to gsize at some point,
651           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
652           g_once_* functions all take a gsize * though, so work around the type
653           mismatch for C++ by doing everything in gsize and casting to GType
654           later.
655
656 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
657
658         * plugins/elements/gstmultiqueue.c:
659         Add documentation for the signals to push our core plugin docs
660         coverage back up to 100%.
661
662 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
663
664         * gst/gstinfo.h (GST_FUNCTION):
665           Reverted GST_FUNCTION to the old version as we don't want the
666           full signature in C++ code. Also added support for MSVC.
667
668 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
669
670         * gst/gstutils.h:
671         Intern the type name string, similar to what G_DEFINE_TYPE does.
672
673 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
674
675         * gst/gstutils.h:
676         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
677
678 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
679
680         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
681
682         * libs/gst/base/gstbasetransform.c:
683         (gst_base_transform_buffer_alloc):
684         Don't passthrough buffer allocation too easily if the caps change.
685         This breaks when working in passthrough mode and upstream changes
686         it's caps. Fixes bug #526768.
687
688 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
689
690         * gst/gstinfo.c (gst_debug_log_valist):
691           Improved the __FILE__ part of debug output for MSVC.
692
693 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
694
695         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
696           Declaration after statement fix for compilers like MSVC.
697
698 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
699
700         * win32/common/config.h.in:
701           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
702           use the real thing than having "???" unconditionally.
703
704 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
705
706         * gst/gstinfo.h (GST_FUNCTION):
707           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
708
709 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
710
711         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
712         Small code cleanup.
713
714         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
715         (gst_base_sink_set_flushing):
716         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
717         Fix some comments.
718
719 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
720
721         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
722         (gst_fake_src_init), (gst_fake_src_set_property),
723         (gst_fake_src_get_property), (gst_fake_src_start):
724         * plugins/elements/gstfakesrc.h:
725         Added format property to control the format of the newsegment events.
726         API: GstFakeSrc:format
727
728 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
729
730         * win32/common/libgstreamer.def:
731         Add gst_pad_has_name() to the exported symbols.
732
733 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
734
735         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
736         * libs/gst/base/gstbasetransform.c:
737         (gst_base_transform_prepare_output_buffer):
738         Don't allow negative sizes when allocating new buffers.
739         Fixes bug #461253.
740
741 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
742
743         Patch by: Sjoerd Simons <sjoerd at luon net>
744
745         * gst/gstbus.c: (gst_bus_source_dispatch):
746           Don't print a warning if the queue is empty when we try to pop
747           here. That could happen if another thread or callback set the
748           bus to flushing between the source's check/prepare and the
749           dispatch being called (#531538).
750
751 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
752
753         * plugins/elements/gstmultiqueue.c:
754           Small docs fix.
755         
756 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
757
758         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
759         Add unit test for deserializing uint64s and check some really large
760         numbers in the int64 test.
761
762 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
763
764         * tools/gst-inspect.c: (n_print), (print_hierarchy),
765         (print_interfaces), (print_element_properties_info),
766         (print_signal_info):
767         Use "%s" as format string instead of printing strings directly.
768
769 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
770
771         * gst/gstclock.c: (gst_clock_set_calibration):
772         Make some checks actually useful.
773
774         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
775         Remove some unused code. Unsigned integers tend to be >= 0.
776
777 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
778
779         * gst/gstminiobject.c: (gst_value_get_mini_object):
780           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
781           function was not in the unscheduled 0.10.19 release.
782
783 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
784
785         * gst/gstregistry.c: (gst_registry_scan_path_level):
786           Only print one log message per non-plugin file.
787
788 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
789
790         * gst/gstinfo.c: (gst_debug_log_default):
791           Fix alignment of debug log columns on 64-bit.
792
793 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
794
795         * docs/libs/Makefile.am:
796         * docs/libs/gstreamer-libs-sections.txt:
797           Ignore private controller headers for docs.
798
799 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
800
801         * libs/gst/controller/gstcontrollerprivate.h:
802         * libs/gst/controller/gsthelper.c:
803         * libs/gst/controller/gstinterpolation.c:
804         * libs/gst/controller/gstinterpolationcontrolsource.c:
805         (gst_interpolation_control_source_set_interpolation_mode):
806         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
807         * libs/gst/controller/lib.c:
808         Move some private declarations into private headers.
809
810 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
811
812         * gst/gstdebugutils.c: (debug_dump_element_pad):
813         Remove some code that is unused after Stefan's refactoring and uses
814         uninitialized variables now, resulting in a compiler warning.
815
816 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
817
818         * gst/gstregistry.c: (gst_registry_scan_path_level):
819           Run g_str_has_suffix() only on the file name, not the
820           entire file path.
821
822 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
823
824         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
825           Since we're not called only from the chain function any longer,
826           we can't assume that there's always data in the queue, so move
827           the is_full check to the beginning of the loop (otherwise we'd
828           hit the assert when changing the limit properties while the
829           queue is empty or not running yet).
830           Also, only set a discont if items were actually removed from
831           the queue.
832
833         * tests/check/elements/queue.c: (test_leaky_downstream):
834           Test case for the above.
835
836 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
837
838         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
839
840         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
841         (gst_queue_chain), (queue_capacity_change),
842         (gst_queue_set_property):
843         When changing thr max capacity of a leaky queue, immediatly drop buffers
844         instead of waiting for a push on the sinkpad. Fixes #530637.
845
846 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
847
848         * gst/gstdebugutils.c:
849           Refactor code and fix handling of ghostpads and their proxypads.
850
851 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
852
853         * docs/gst/gstreamer-sections.txt:
854         * gst/gstevent.c: (gst_event_has_name):
855         * gst/gstevent.h:
856         * tests/check/gst/gstevent.c: (GST_START_TEST):
857         Add method to conveniently check the name of a custom event with
858         gst_event_has_name().
859         Reformat the event docs so that related methods are put together instead
860         of the default alphabetical sort.
861         Update unit test with new method.
862         API: GstEvent::gst_event_has_name()
863
864 2008-04-28  Michael Smith <msmith@songbirdnest.com>
865
866         * libs/gst/check/Makefile.am:
867           Don't add an explicit link to libgstreamer-0.10.la; it's already
868           included in GST_OBJ_LIBS.
869
870 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
871
872         * gst/gst.c:
873         Register GstClock type from a type-safe context. Fixes bug #530317.
874
875 2008-04-25  Michael Smith <msmith@songbirdnest.com>
876
877         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
878         * tools/gst-run.c:
879           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
880
881 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
882
883         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
884         (gst_bin_dispose):
885         Use the GLib stuff to create a private structure.
886         Add some locking around some dispose methods to make them a little
887         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
888
889 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
890
891         * libs/gst/base/gstbasesink.h:
892         * libs/gst/base/gstbasesrc.h:
893         * libs/gst/base/gstbasetransform.h:
894         * libs/gst/base/gstcollectpads.h:
895           Fix doc typos and unify caps a bit.
896
897 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
898
899         * tools/gst-launch.1.in:
900           Forgot to also add the envvar docs here.
901
902 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
903
904         * gst/gst.c: (init_post), (gst_deinit):
905         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
906           (test_concurrent_create), (gst_pipeline_suite):
907           Ref some more classes in gst_init() to work around thread-safety
908           issues in pre-2.16 GLibs, and add basic unit test.
909
910 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
911
912         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
913         (gst_base_sink_send_event):
914         Rearrange the latency query code. We always want to do the upstream
915         query, even if we are not live so that the upstream elements can get the
916         latency results too. If we fail doing the query and we are live, we
917         return TRUE afterwards.
918
919 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
920
921         patch by: Jason Zhao <e3423c@motorola.com>
922
923         * docs/gst/running.xml:
924         * gst/gst.c:
925           Enable/disable scan_and_update_registry() based on commandline switch
926           or environment variable. Fixes #520468.
927           
928         * ChangeLog:
929           Fix typo in my previous commit.
930
931 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
932
933         * gst/gstregistrybinary.c:
934           Add a warning if we hit unhandled factories when saving.
935           More debug logging detail, but move to LOG category.
936
937 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
938
939         * gst/gstregistry.c:
940           Tell the *truth* when improving the documentation.
941
942 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
943
944         * gst/gstelementfactory.c: (gst_element_factory_make):
945         Unref the factory after it was used the last time, not before.
946
947         * gst/gstindexfactory.c: (gst_index_factory_make):
948         Improve debugging a bit and don't leak a ref to the index factory with
949         each call.
950
951 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
952
953         * gst/gstregistry.c:
954           Improve the documentation.
955
956 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
957
958         * gst/gstsegment.c:
959           The glib macro seems to be borked. Use g_slice_copy directly and cast
960           in the hope that this fixes the warning on 64bit.
961
962 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
963
964         * gst/gstsegment.c:
965           Document the new function. Use g_slice_dup() (no need for
966           gst_segment_init()).    
967
968 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
969
970         * docs/gst/gstreamer-sections.txt:
971           Move GParamSepc macros to standart section.
972   
973         * gst/gstbin.c:
974           Dn't document _get_type - its in private section in docs anyway and
975           this doc-blob was incomplete.
976
977         * gst/gstclock.h:
978           Fix wrong symbol names in docs.
979
980         * gst/gstmacros.h:
981           Add once doc sentence.
982
983         * tests/check/gst/.cvsignore:
984           Ignore more.
985
986 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
987
988         * docs/gst/Makefile.am:
989           And remove those libs here.
990
991 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
992
993         * docs/libs/Makefile.am:
994           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
995
996 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
997
998         Patch by: Olivier Crete <tester at tester dot ca>
999
1000         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1001         Add the min-threshold to the min latency if possible. Fixes #529148.
1002
1003 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1004
1005         * docs/gst/gstreamer.types.in:
1006           Stupid editor, I removed that line as it should go in yet.
1007
1008 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1009
1010         * docs/gst/gstreamer.types.in:
1011         * docs/libs/gstreamer-libs.types:
1012           Remove library types fro core docs and have them in libs docs.
1013           Reformat and cleanup. Add comment for miniobject types.
1014
1015 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1016
1017         * gst/gsturi.c: (gst_uri_get_protocol):
1018           Fix leak: g_strdown operates on the string in place, while
1019           g_ascii_strdown() returns a newly-allocated string.
1020
1021 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1022
1023         * tools/gst-inspect.c: (print_uri_handler_info),
1024         (print_element_info):
1025         Print the URI protocols and the URI type supported by the element.
1026
1027 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1028
1029         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1030         Use g_value_take_string() instead of the deprecated
1031         g_value_set_string_take_ownership().
1032
1033 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1034
1035         * gst/gstregistrybinary.c: (_gst_crc32):
1036         Return the old CRC instead of 0 if we give a NULL buffer
1037         or a buffer with a length of 0.
1038
1039 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1040
1041         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1042         (gst_uri_get_protocol), (gst_uri_has_protocol),
1043         (gst_uri_construct), (gst_uri_handler_set_uri):
1044         A valid URI scheme can also include '+', '-' and '.' additional
1045         to alphanumeric characters as per RFC 3986 Section 3.1.
1046
1047         Handle URI schemes case insensitive in all places and convert
1048         to lower-case when constructing an URI or setting an URI with
1049         the GstURIHandler interface. Fixes bug #528868.
1050         All elements can still assume (as before) that they will
1051         get passed URIs with a lower-case URI scheme by the GstURIHandler
1052         interface.
1053
1054 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1055
1056         * gst/gstcaps.c: (gst_static_caps_get):
1057         * gst/gstclock.c: (gst_clock_entry_new):
1058           Don't use g_atomic_set_int where it's not needed.
1059
1060 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1061
1062         * gst/gstvalue.c: (gst_value_deserialize_caps):
1063         * gst/parse/grammar.y:
1064         Fix 2 caps leaks.
1065
1066 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1067
1068         * gst/gstutils.c: (gst_atomic_int_set):
1069         Use g_atomic_int_set() here too instead of assignment +
1070         g_atomic_int_get().
1071
1072 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1073         
1074         * gst/gstutils.c:
1075         * gst/gstutils.h:
1076         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1077         now that we depend on new enough GLib.
1078
1079         * gst/gstcaps.c: (gst_static_caps_get):
1080         * gst/gstclock.c: (gst_clock_entry_new):
1081         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1082         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1083         (gst_debug_category_set_threshold):
1084         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1085         (gst_base_sink_set_qos_enabled):
1086         * libs/gst/net/gstnettimeprovider.c:
1087         (gst_net_time_provider_set_property):
1088         Use g_atomic_int_set() instead of gst_atomic_int_set().
1089
1090 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1091
1092         * gst/gstquery.c:
1093           Also use G_GINT64_CONSTANT for the queries.
1094
1095 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1096
1097         * gst/gstmessage.c:
1098           Use G_GINT64_CONSTANT in varargs function.
1099
1100 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1101
1102         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1103         Initialize the registry magic with zeroes.
1104
1105 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1106
1107         * gst/gstregistrybinary.c: (_gst_crc32),
1108         (gst_registry_binary_write),
1109         (gst_registry_binary_initialize_magic),
1110         (gst_registry_binary_write_cache),
1111         (gst_registry_binary_check_magic),
1112         (gst_registry_binary_read_cache):
1113         * gst/gstregistrybinary.h:
1114         Add crc32 checksum to the binary registry file and check this before
1115         accepting a registry file.
1116
1117         Also free the data list when writing to the registry file fails.
1118
1119 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1120
1121         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1122         (gst_registry_binary_load_feature),
1123         (gst_registry_binary_load_plugin):
1124         If an element supports the Uri interface, returns a valid pointer
1125         to the supported URI protocols but this pointer contains nothing
1126         don't try to save that as it will corrupt the registry.
1127
1128         Don't unref the plugin if we added it to the registry already but
1129         fail to load a feature as gst_registry_add_plugin() takes ownership
1130         of the plugin.
1131
1132         Improve debugging a bit.
1133
1134 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1135
1136         * gst/gsttaglist.h:
1137           Clarify some tag item docs after discussion on irc.
1138
1139 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1140
1141         * docs/gst/gstreamer-docs.sgml:
1142           Remove commented out plugins (they have their own docs). Update
1143           comments.
1144
1145 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1146
1147         * docs/gst/gstreamer-docs.sgml:
1148         * docs/gst/gstreamer-sections.txt:
1149         * gst/gstparamspecs.c:
1150         * gst/gstparamspecs.h:
1151           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1152           docs to own section.
1153
1154         * gst/gstvalue.c:
1155           This now only documents GValue.
1156           
1157         * docs/libs/gstreamer-libs-sections.txt:
1158         * libs/gst/controller/gstcontroller.h:
1159           Remove GST_PARAM_CONTROLLABLE.
1160
1161 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1162
1163         * docs/README:
1164           Correct file path. Tell about how to use -overrides.txt.
1165         * docs/design/draft-tagreading.txt:
1166           Small design update.
1167
1168 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1169
1170         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1171         (gst_registry_binary_load_plugin):
1172         Fix a typo in a debug message and revert change from yesterday as
1173         gst_registry_add_plugin() will only fail if something is really wrong
1174         already and we can't survive it anyway.
1175
1176 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1177
1178         * gst/gst.c: (init_post), (gst_deinit):
1179           Pre-register GstGError GType from a thread-safe context
1180           (fixes #527967); unref enum type classes in deinit.
1181
1182 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1183
1184         Patch by: Rene Stadler <mail at renestadler de>
1185
1186         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1187           Merging an empty list with another list in KEEP_ALL mode should
1188           yield an empty list as result and not the second list (#512578).
1189
1190         * tests/check/gst/gsttagsetter.c:
1191           Add unit test for tag merge modes and the aforementioned bug.
1192
1193 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1194
1195         Patch by: Rene Stadler <mail at renestadler de>
1196
1197         * gst/gsttaglist.h:
1198           Fix description to match the order in the table (#512577).
1199   
1200 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1201
1202         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1203
1204         * libs/gst/net/gstnettimepacket.h:
1205         * docs/libs/gstreamer-libs-sections.txt:
1206           Define socklen_t as int if it's not defined yet. Fixes compilation
1207           with MSVC6 and other versions where socklen_t is not defined in
1208           the windows headers (#518022).
1209
1210 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1211
1212         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1213         If gst_registry_add_plugin() fails our reference to the plugin is
1214         invalid so don't try to use it anymore and instead error out.
1215
1216 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1217
1218         * tools/gst-xmlinspect.c: (print_element_info), (main):
1219           De-cruft a bit. If no argument is specified, print all elements in
1220           XML syntax rather than a freestyle list of elements like gst-inspect.
1221           Also, don't print XML header chunk unless we actually have something
1222           to print (ie. don't print it before an error message); print error
1223           message to stderr not stdout. Remove support for printing plugin
1224           info (it would just output something freestyle along the lines of
1225           gst-inspect so far), which fixes #514507. Also add license header.
1226
1227 2008-04-11  Julien Moutte  <julien@fluendo.com>
1228
1229         Mac OS X love...
1230         * configure.ac: Merge platform specific defines, introduce a new
1231         define on OS X to remember that forking when updating registry is
1232         unsafe.
1233         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1234         module.
1235         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1236         is defined.
1237         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1238         condition that leads to absolutely no plugins being registered on
1239         OS X.
1240
1241 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1242
1243         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1244
1245         * gst/gstutils.c: (gst_pad_add_data_probe),
1246           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1247           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1248           (gst_pad_add_buffer_probe_full):
1249         * gst/gstutils.h:
1250         * docs/gst/gstreamer-sections.txt:
1251         * win32/common/libgstreamer.def:
1252           Add gst_pad_add_*_probe_full() functions with a notify callback that
1253           lets the caller free the data it passes to the probe functions. This
1254           is useful for bindings such as gst-python or gstreamermm (#526814).
1255           API: gst_pad_add_data_probe_full
1256           API: gst_pad_add_buffer_probe_full
1257           API: gst_pad_add_event_probe_full
1258
1259         * tests/check/gst/gstutils.c:
1260           Add minimal unit test to make sure freeing the data actually works
1261           as expected.
1262
1263         * tests/benchmarks/.cvsignore:
1264           Random cvsignore addendum.
1265
1266 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1267
1268         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1269           (GST_DEBUG_BIN_TO_DOT_FILE):
1270           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1271           to it in the docs (since these are macros the types of the arguments
1272           won't be shown in the docs otherwise).
1273
1274 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1275
1276         * gst/gstpad.c:
1277           Do not abort on out of memory for pad_alloc_buffer.
1278
1279 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1280
1281         * libs/gst/check/gstcheck.c:
1282           Remove blank line between symbol name ad parameters to fix gtkdoc
1283           warning.
1284
1285 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1286
1287         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1288
1289         * docs/gst/gstreamer-sections.txt:
1290         * gst/gstsegment.c:
1291         * gst/gstsegment.h:
1292         * win32/common/libgstreamer.def:
1293           Expose gst_segment_copy() to make things easier for the c++ bindings.
1294           Fixes #518932.
1295           API: gst_segment_copy()
1296
1297 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1298
1299         * gst/gst.c: (gst_init_get_option_group), (init_post):
1300           Fix const position; ref GType classes for enum types to work
1301           around thread-safety issues in GLib versions < 2.16.
1302
1303 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1304
1305         * docs/design/part-buffering.txt:
1306         Fix some typos and set the estimated total for push mode to -1.
1307
1308         * gst/gstquery.c: (gst_query_new_buffering):
1309         Set buffering-left to 0 as we're not buffering by default.
1310
1311         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1312         Implement BUFFERING query.
1313
1314 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1315
1316         Based on patch by: Milosz Derezynski <internalerror gmail com>
1317
1318         * gst/gsterror.c: (_gst_stream_errors_init):
1319         * gst/gsterror.h:
1320           Add two new error codes for encrypted content. Fixes #524659.
1321           API: GST_STREAM_ERROR_DECRYPT
1322           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1323
1324 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1325
1326         * gst/gstquery.h:
1327           Fix typo.
1328
1329         * win32/common/libgstreamer.def:
1330           Add new functions.
1331
1332 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1333
1334         * plugins/elements/gstidentity.c: (gst_identity_event),
1335         (gst_identity_start):
1336         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1337         event after processing some data. Fixes bug #526042.
1338
1339 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1340
1341         * docs/gst/gstreamer-sections.txt:
1342         * gst/gstquery.c: (gst_query_parse_latency),
1343         (gst_query_set_buffering_percent),
1344         (gst_query_parse_buffering_percent),
1345         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1346         * gst/gstquery.h:
1347         Rename _avail -> _range
1348         API: gst_query_set_buffering_range
1349         API: gst_query_parse_buffering_range
1350
1351 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1352
1353         * docs/design/part-buffering.txt:
1354         * gst/gstquark.c:
1355         * gst/gstquark.h:
1356         * gst/gstquery.c: (gst_query_parse_latency),
1357         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1358         (gst_query_parse_buffering_percent):
1359         * gst/gstquery.h:
1360         Add busy field and quark for the buffering query so that the app can
1361         only use the query to see if buffering is in progress.
1362
1363 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1364
1365         * docs/gst/gstreamer-sections.txt:
1366         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1367         (gst_message_parse_buffering_stats):
1368         * gst/gstmessage.h:
1369         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1370         (gst_query_parse_latency), (gst_query_new_buffering),
1371         (gst_query_set_buffering_percent),
1372         (gst_query_parse_buffering_percent),
1373         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1374         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1375         * gst/gstquery.h:
1376         Reorder the message docs and headers for clarity.
1377         Add aditional buffering stats API for messages.
1378         Add buffering query.
1379         Convert some leftover queries to use GstQuark.
1380         API: gst_message_set_buffering_stats
1381         API: gst_message_parse_buffering_stats
1382         API: GST_QUERY_BUFFERING
1383         API: GstBufferingMode
1384         API: gst_query_new_buffering
1385         API: gst_query_set_buffering_percent
1386         API: gst_query_parse_buffering_percent
1387         API: gst_query_set_buffering_stats
1388         API: gst_query_parse_buffering_stats
1389
1390 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1391
1392         * gst/gstmessage.c: (gst_message_new_error),
1393         (gst_message_new_warning), (gst_message_new_info),
1394         (gst_message_new_buffering), (gst_message_new_state_changed),
1395         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1396         (gst_message_new_new_clock), (gst_message_new_segment_start),
1397         (gst_message_new_segment_done), (gst_message_new_duration),
1398         (gst_message_new_async_start), (gst_message_parse_buffering),
1399         (gst_message_parse_state_changed),
1400         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1401         (gst_message_parse_new_clock), (gst_message_parse_error),
1402         (gst_message_parse_warning), (gst_message_parse_info),
1403         (gst_message_parse_segment_start),
1404         (gst_message_parse_segment_done), (gst_message_parse_duration),
1405         (gst_message_parse_async_start):
1406         Use GstQuark for messages.
1407
1408 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1409
1410         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1411         * gst/gstquark.h:
1412         Add some more quarks needed for messages and queries.
1413
1414 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1415
1416         * docs/design/part-buffering.txt:
1417         Remove the "none" buffering mode, STREAM is a good default.
1418         Move estimated-time to the avail query, that's when it will be needed.
1419         Other small typo fixes and updates.
1420
1421 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1422
1423         * gst/gstindex.c: (gst_index_resolver_get_type):
1424           Don't put descriptions into the nick field of a GEnumValue: it's not
1425           meant for that and some language bindings rely on the nick field to
1426           construct constants and the like. Fixes #526705.
1427
1428 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1429
1430         * NEWS:
1431         * RELEASE:
1432         * gstreamer.doap:
1433           Merge other changes from 0.10.19 release branch.
1434
1435 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1436
1437         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1438
1439         * configure.ac:
1440         Actually build dlls when cross-compiling with mingw32.
1441         Fixes bug #526247.
1442
1443 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1444
1445         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1446
1447         * gst/gstpoll.c:
1448         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1449
1450 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1451
1452         * docs/design/draft-latency.txt:
1453         Fix typo.
1454
1455         * docs/design/part-buffering.txt:
1456         Update design docs with more buffering ideas.
1457
1458 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1459
1460         * configure.ac:
1461           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1462
1463 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1464
1465         * configure.ac:
1466           Revert part that belongs to the preset patch.
1467
1468 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1469
1470         * configure.ac:
1471           Add qoutes to the define. Fixes # 525961.
1472
1473 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1474
1475         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1476         (gst_file_index_load), (gst_file_index_add_id),
1477         (gst_file_index_get_assoc_entry):
1478         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1479         (gst_mem_index_free_id), (gst_mem_index_add_id),
1480         (gst_mem_index_index_format):
1481         Use GSlice when possible.
1482
1483 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1484
1485         * libs/gst/controller/gstinterpolationcontrolsource.c:
1486         (gst_control_point_free),
1487         (gst_interpolation_control_source_set_internal):
1488         Use GSlice for allocating the control points.
1489
1490 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1491
1492         * plugins/elements/gsttypefindelement.c:
1493         (gst_type_find_element_class_init),
1494         (gst_type_find_element_set_property),
1495         (gst_type_find_element_get_property),
1496         (gst_type_find_element_activate):
1497         * plugins/elements/gsttypefindelement.h:
1498         Cleanup properties.
1499         Fix pad leak when peer query fails.
1500         We can still typefind when the peer returns -1.
1501         Add property to force caps and bypass typefinding. This will be used in
1502         uridecodebin.
1503         API::force-caps
1504
1505 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1506
1507         * configure.ac:
1508         Require GLib 2.12.
1509
1510         * gst/glib-compat-private.h:
1511         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1512         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1513         Unconditionally use GSlice for allocation.
1514
1515         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1516         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1517         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1518         (gst_structure_free):
1519         Use GSlice for allocation.
1520
1521 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1522
1523         * gst/parse/Makefile.am:
1524         * gst/parse/grammar.tab.pre.c:
1525         * gst/parse/grammar.tab.pre.h:
1526         * gst/parse/lex._gst_parse_yy.pre.c:
1527         Require a new enough flex and bison and remove the parser hacks to use
1528         a pre-regenerated version.
1529
1530 2008-04-01  Julien Moutte  <julien@fluendo.com>
1531
1532         patch by: Jason Zhao <E3423C@motorola.com>
1533
1534         * configure.ac: Add a configure switch to disable option parsing
1535         in gst_init.
1536         Fixes #522882.
1537
1538 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1539
1540         * configure.ac:
1541         * gst/gstregistry.c:
1542           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1543           and handle this case.
1544
1545         * gst/gst.c:
1546           Add a comment here describing, why we stat each plugin and not try to
1547           be smart.
1548
1549 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1550
1551         * libs/gst/base/gstbasetransform.c:
1552         (gst_base_transform_prepare_output_buffer):
1553         Also unset the GAP flag on buffers if we're working inplace but
1554         the element is not GAP-aware.
1555
1556         Mark a comment as FIXME 0.11.
1557
1558 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1559
1560         * gst/gst.c:
1561           Fix type in log message and add one to ease seeing how long registry
1562           cache verification takes.
1563
1564         * gst/gstregistry.c:
1565           Only test plugin filenames against G_MODULE_SUFFIX.
1566
1567 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1568
1569         * gst/gstdebugutils.c:
1570           Improve handling ghost/proxy pads.
1571
1572 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1573
1574         * docs/gst/gstreamer-sections.txt:
1575         * gst/gstpad.c:
1576         * gst/gstpad.h:
1577           Expose macro to docs and fix link to it.
1578
1579 2008-03-27  Michael Smith <msmith@fluendo.com>
1580
1581         * libs/gst/dataprotocol/dataprotocol.c:
1582         (gst_dp_packet_from_event_1_0):
1583           When calculating GDP body CRC, use the correct pointer. 
1584           Fixes part of #522401.
1585
1586 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1587
1588         Patch by: Mark Nauwelaerts <manauw at skynet be>
1589
1590         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1591         (gst_identity_init), (gst_identity_prepare_output_buffer):
1592         Identity is not always a passthrough element, it can modify the buffer
1593         timestamps when it has a datarate and operates in single-segment mode.
1594         We therefore make it an in_place filter with a custom buffer prepare
1595         function that conditionally makes the input buffer metadata writable
1596         when needed.  Fixes #523985.
1597
1598 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1599
1600         Patch by: Mark Nauwelaerts <manauw at skynet be>
1601
1602         * gst/gstclock.h:
1603         * libs/gst/base/gstbasesrc.h:
1604         * libs/gst/base/gstbasetransform.c:
1605         * libs/gst/check/gstcheck.c:
1606         Small documentation fixes. Fixes #523978.
1607
1608 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1609
1610         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1611         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1612         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1613
1614 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1615
1616         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1617         (single_queue_underrun_cb):
1618         When trying to make room in the queue, bump the max allowed buffers
1619         bigger than the current amount of buffers in the queue. this fixes some
1620         nasty deadlocks in multiqueue when dynamically changing the limits of
1621         the queue.
1622
1623 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1624
1625         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1626
1627         * gst/gstcaps.c: (gst_caps_set_simple),
1628         (gst_caps_set_simple_valist), (gst_caps_intersect):
1629         * gst/gstcaps.h:
1630         Constify the field gchar * params in set_simple and friends.
1631         Fixes #522326.
1632
1633 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1634
1635         * gst/gstvalue.c: (gst_value_transform_object_string):
1636         Transform a GstObject to a more meaningfull string that includes the
1637         object type in addition to its name.
1638
1639 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1640
1641         * ChangeLog:
1642           ChangeLog surgery to add bugnumber to commit.
1643
1644 2008-03-23  Rene Stadler  <mail@renestadler.de>
1645
1646         * libs/gst/base/gstbasetransform.c:
1647         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1648
1649 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1650
1651         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1652         Rename constant everywhere and don't forget one occurence.
1653
1654 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1655
1656         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1657         Align memory to the pointer size even if the architecture allows
1658         unaligned memory access. Unaligned memory access usually comes with
1659         performance penality.
1660
1661 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1662
1663         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1664         (gst_registry_binary_check_magic),
1665         (gst_registry_binary_load_pad_template),
1666         (gst_registry_binary_load_feature),
1667         (gst_registry_binary_load_plugin):
1668         Align memory to the pointer size instead of always 32 bit. Fixes
1669         unaligned memory accesses on ia64 and friends.
1670
1671         * gst/gstregistrybinary.h:
1672         Bump binary registry format version for this as it changes the
1673         format on those architectures that don't have unaligned access
1674         and 64 bit pointers.
1675
1676 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1677
1678         * docs/pwg/advanced-dparams.xml:
1679         * docs/pwg/building-props.xml:
1680         * docs/pwg/other-source.xml:
1681         * gst/glib-compat.h:
1682         * gst/gstbin.c: (gst_bin_class_init):
1683         * gst/gstclock.c: (gst_clock_class_init):
1684         * gst/gstindex.c: (gst_index_class_init):
1685         * gst/gstobject.c: (gst_object_class_init):
1686         * gst/gstpad.c: (gst_pad_class_init):
1687         * gst/gstpipeline.c: (gst_pipeline_class_init):
1688         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1689         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1690         * libs/gst/base/gstbasetransform.c:
1691         (gst_base_transform_class_init):
1692         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1693         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1694         (_gst_check_fault_handler_sighandler),
1695         (_gst_check_fault_handler_setup), (gst_check_init):
1696         * libs/gst/controller/gstcontroller.c:
1697         (_gst_controller_class_init):
1698         * libs/gst/controller/gstlfocontrolsource.c:
1699         (gst_lfo_control_source_class_init):
1700         * libs/gst/net/gstnetclientclock.c:
1701         (gst_net_client_clock_class_init):
1702         * libs/gst/net/gstnettimeprovider.c:
1703         (gst_net_time_provider_class_init):
1704         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1705         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1706         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1707         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1708         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1709         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1710         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1711         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1712         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1713         * plugins/elements/gstqueue.c: (gst_queue_class_init):
1714         * plugins/elements/gsttee.c: (gst_tee_class_init):
1715         * plugins/elements/gsttypefindelement.c:
1716         (gst_type_find_element_class_init):
1717         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1718         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1719         use it everywhere for GParamSpecs that use static strings (i.e. all).
1720         This gives us less memory usage, fewer allocations and thus less
1721         memory defragmentation. Fixes bug #523806.
1722
1723 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1724
1725         * gst/gstminiobject.c: (gst_value_dup_mini_object),
1726         (gst_param_spec_mini_object):
1727         * gst/gstminiobject.h:
1728         * win32/common/libgstreamer.def:
1729         * docs/gst/gstreamer-sections.txt:
1730         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1731         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1732         GstParamSpecMiniObject into a public header for this.
1733
1734         This make GstMiniObject a bit more consistent with GObject and makes
1735         it possible to extend the param specs.
1736
1737         gst_value_dup_mini_object is mainly useful for set_property methods.
1738
1739         Fixes bug #523798.
1740
1741         * tools/gst-inspect.c: (print_element_properties_info):
1742         Print something useful for GstMiniObject properties and not just
1743         "unknown type".
1744
1745 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1746
1747         * docs/gst/gstreamer-sections.txt:
1748         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1749         (gst_registry_binary_check_magic):
1750         * gst/gstregistrybinary.h:
1751         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1752         and add it to the (private part) of the docs to fix the build.
1753
1754 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1755
1756         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1757         (gst_registry_binary_check_magic),
1758         (gst_registry_binary_read_cache):
1759         * gst/gstregistrybinary.h:
1760         Don't use GST_MAJORMINOR for the binary registry version. Instead
1761         hardcode a value that must be changed whenever the format changes
1762         in an incompatible way.
1763         Also don't GST_ERROR when there is a version mismatch, just
1764         regenerate the registry silently.
1765
1766 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
1767
1768         * configure.ac:
1769         Back to development - 0.10.18.1
1770
1771 === release 0.10.18 ===
1772
1773 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
1774
1775         * configure.ac:
1776           releasing 0.10.18, "So far away"
1777
1778 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
1779
1780         * configure.ac:
1781         * win32/common/config.h:
1782         0.10.17.4 pre-release
1783
1784 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1785
1786         Patch by: Ole André Vadla Ravnås
1787             <ole dot andre dot ravnas at tandberg dot com>
1788
1789         * docs/gst/gstreamer-sections.txt:
1790         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1791         (gst_poll_update_winsock_event_mask),
1792         (gst_poll_prepare_winsock_active_sets),
1793         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1794         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1795         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1796         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1797         (gst_poll_check_ctrl_commands), (gst_poll_wait):
1798         * gst/gstpoll.h:
1799         * win32/common/libgstreamer.def:
1800         Add new function gst_poll_fd_ignored() for improved Windows
1801         compatibility.
1802         Various minor fixes and cleanups. See #520808.
1803
1804 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
1805
1806         * gst/gstindex.c: (gst_index_entry_free):
1807         * gst/gstindex.h:
1808           Don't free key strings which we don't own. Fixes crash in
1809           gst_index_entry_free() (#522741).
1810
1811         * tests/check/Makefile.am:
1812         * tests/check/gst/.cvsignore:
1813         * tests/check/gst/gstindex.c: (test_index_entries),
1814           (gst_index_suite), (gst_index):
1815           Add unit test for the above.
1816
1817 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
1818
1819         * win32/common/libgstreamer.def:
1820         Remove symbols that were removed recently. Fixes bug #521740.
1821
1822 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
1823
1824         * configure.ac:
1825         * win32/common/config.h:
1826         0.10.17.3 pre-release
1827
1828 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1829
1830         Patch by: Ole André Vadla Ravnås
1831             <ole dot andre dot ravnas at tandberg dot com>
1832
1833         * docs/gst/gstreamer-sections.txt:
1834         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1835         (gst_poll_update_winsock_event_mask), (gst_poll_new),
1836         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1837         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1838         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1839         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1840         (gst_poll_fd_can_write), (gst_poll_wait),
1841         (gst_poll_set_controllable), (gst_poll_restart),
1842         (gst_poll_set_flushing):
1843         * gst/gstpoll.h:
1844         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1845         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1846         (gst_net_time_provider_new):
1847         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1848         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1849         * tests/benchmarks/gstpollstress.c: (main):
1850         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1851         Remove GstPollMode from the API, it does not make sense to let the
1852         application control this.
1853         Add support for Win32.
1854         Fix the testsuite. Fixes #520671.
1855
1856 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
1857
1858         Patch by: Ole André Vadla Ravnås
1859             <ole dot andre dot ravnas at tandberg dot com>
1860
1861         * gst/gstregistrybinary.c:
1862         Include io.h for write() and close() when building with MSVC. Fixes
1863         bug #520877.
1864
1865 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
1866
1867         * configure.ac:
1868         * gst/gst_private.h:
1869         * gst/gstconfig.h.in:
1870         * gst/gstregistry.h:
1871         * gst/gstregistrybinary.c:
1872         * win32/common/gstconfig.h:
1873           Move registry backend API to private headers where we can. Add
1874           fixme-0.11 comments for the others. Add stubs for the xml backend when
1875           using the binary to ensure they functions exists (they should not be
1876           used though). Fixes #520756.
1877
1878 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
1879
1880         * configure.ac:
1881         * win32/common/config.h:
1882         0.10.17.2 prelease
1883
1884 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1885
1886         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1887         (gst_registry_binary_read_cache):
1888         * gst/gstregistryxml.c: (gst_registry_save):
1889         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1890         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1891         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1892         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1893         Switch to using portabl gsize/gssize instead of size_t/ssize_t
1894         Fixes #520152
1895
1896 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1897
1898         * gst/gstminiobject.c:
1899         Import gst_private.h before any other header that might include other
1900         glib headers. This fixes the build on windows using native compilers.
1901
1902 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1903
1904         * win32/common/gstconfig.h:
1905           Add here too, just for completeness.
1906
1907 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1908
1909         * configure.ac:
1910         * gst/gstconfig.h.in:
1911         * gst/gstregistry.h:
1912           Fix broken use of config.h-defined preprocessor directive in a public
1913           header file. Add a corresponding define to gstconfig.h, since we can't
1914           really remove those function declarations from the header file now
1915           (or can we? and why are they there in the first place?).
1916
1917 2008-03-03  Andy Wingo  <wingo@pobox.com>
1918
1919         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1920         the new warning.
1921
1922         * gst/gststructure.c (gst_structure_from_string): Warn if
1923         structure_from_string didn't consume the whole string, but the
1924         caller did not provide an end pointer.
1925
1926 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
1927
1928         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1929
1930         * gst/gstregistryxml.c: (read_string), (load_feature):
1931           Strings allocated by libxml2 should be freed with xmlFree(), not
1932           with g_free(). Fixes issues on windows in certain contexts (#519698).
1933
1934 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
1935
1936         * gst/gstinterface.c: (gst_element_implements_interface):
1937           Don't crash if the element supports the interface queried, but does
1938           not implement GstImplementsInterface. Fixes #519584.
1939
1940         * tests/check/Makefile.am:
1941         * tests/check/gst/.cvsignore:
1942         * tests/check/gst/gstinterface.c:
1943           Add unit test for the above.
1944
1945 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1946
1947         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1948         Small doc update.
1949
1950 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1951
1952         * gst/gstsegment.c: (gst_segment_set_seek),
1953         (gst_segment_to_stream_time):
1954         Improve some comment.
1955         Update variables where it makes more sense.
1956
1957 2008-02-29  Rene Stadler  <mail@renestadler.de>
1958
1959         * gst/gsturi.c: (gst_uri_handler_get_protocols):
1960         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
1961         URIHandlers implemented using language bindings.
1962
1963 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1964
1965         * gst/gstelementfactory.h:
1966         * tests/check/elements/fakesink.c:
1967         * tests/check/elements/fakesrc.c: (setup_fakesrc):
1968         * tests/check/elements/fdsrc.c: (setup_fdsrc):
1969         * tests/check/elements/filesink.c: (setup_filesink):
1970         * tests/check/elements/filesrc.c: (setup_filesrc):
1971         * tests/check/elements/identity.c: (setup_identity):
1972         * tests/check/elements/tee.c:
1973         * tests/check/generic/sinks.c:
1974         * tests/check/generic/states.c: (setup), (teardown):
1975         * tests/check/gst/gst.c:
1976         * tests/check/gst/gstabi.c:
1977         * tests/check/gst/gstbin.c:
1978         * tests/check/gst/gstbus.c: (pull_messages):
1979         * tests/check/gst/gstcaps.c:
1980         * tests/check/gst/gstelement.c:
1981         * tests/check/gst/gstevent.c:
1982         * tests/check/gst/gstghostpad.c:
1983         * tests/check/gst/gstiterator.c:
1984         * tests/check/gst/gstmessage.c:
1985         * tests/check/gst/gstminiobject.c: (my_foo_init):
1986         * tests/check/gst/gstobject.c: (thread_name_object),
1987         (gst_object_suite):
1988         * tests/check/gst/gstpad.c:
1989         * tests/check/gst/gstplugin.c:
1990         * tests/check/gst/gstpoll.c:
1991         * tests/check/gst/gstquery.c:
1992         * tests/check/gst/gstsegment.c:
1993         * tests/check/gst/gststructure.c:
1994         * tests/check/gst/gstsystemclock.c:
1995         * tests/check/gst/gsttask.c:
1996         * tests/check/gst/gstutils.c:
1997         * tests/check/gst/gstvalue.c:
1998         * tests/check/gst/struct_hppa.h:
1999         * tests/check/gst/struct_i386.h:
2000         * tests/check/gst/struct_ppc32.h:
2001         * tests/check/gst/struct_ppc64.h:
2002         * tests/check/gst/struct_x86_64.h:
2003         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2004         * tests/check/libs/basesrc.c:
2005         * tests/check/libs/controller.c: (GST_START_TEST):
2006         * tests/check/libs/gdp.c:
2007         * tests/check/libs/gstnetclientclock.c:
2008         * tests/check/libs/gstnettimeprovider.c:
2009         * tests/check/libs/libsabi.c:
2010         * tests/check/libs/struct_hppa.h:
2011         * tests/check/libs/struct_i386.h:
2012         * tests/check/libs/struct_ppc32.h:
2013         * tests/check/libs/struct_ppc64.h:
2014         * tests/check/libs/struct_x86_64.h:
2015         * tests/check/pipelines/cleanup.c:
2016         * tests/check/pipelines/simple-launch-lines.c:
2017         * tests/check/pipelines/stress.c:
2018         And correct even more valid sparse warnings.
2019
2020         * win32/common/libgstreamer.def:
2021         Add gst_poll_fd_init to the list of symbols.
2022
2023 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2024
2025         * gst/gstconfig.h.in:
2026         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2027         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2028         (gst_check_log_critical_func), (gst_check_drop_buffers),
2029         (gst_check_element_push_buffer_list):
2030         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2031         (gst_controller_get_type):
2032         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2033         (gst_object_get_controller), (gst_object_get_control_source):
2034         * libs/gst/controller/gstinterpolationcontrolsource.c:
2035         (gst_interpolation_control_source_new):
2036         * libs/gst/controller/gstlfocontrolsource.c:
2037         (gst_lfo_control_source_new):
2038         * libs/gst/dataprotocol/dataprotocol.c:
2039         (gst_dp_event_from_packet_0_2):
2040         * plugins/elements/gstfdsrc.c:
2041         * plugins/elements/gstmultiqueue.c:
2042         * plugins/elements/gsttee.c:
2043         * plugins/elements/gsttypefindelement.c:
2044         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2045         (gst_file_index_add_association):
2046         * plugins/indexers/gstmemindex.c:
2047         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2048         * tests/check/elements/queue.c: (setup_queue):
2049         * tests/check/gst/gstpipeline.c:
2050         * tests/check/libs/collectpads.c: (setup), (teardown),
2051         (gst_collect_pads_suite):
2052         * tests/examples/adapter/adapter_test.c:
2053         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2054         * tests/examples/xml/createxml.c:
2055         * tests/examples/xml/runxml.c:
2056         * tools/gst-inspect.c:
2057         * tools/gst-run.c:
2058         Correct all relevant warnings found by the sparse semantic code
2059         analyzer. This include marking several symbols static, using
2060         NULL instead of 0 for pointers, not using variable sized arrays
2061         on the stack, moving variable declarations to the beginning of
2062         a block and using "foo (void)" instead of "foo ()" for declarations.
2063
2064 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2065
2066         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2067         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2068         Don't reset GstPollFDs, this is not necessary at all.
2069
2070         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2071         (delayed_restart), (delayed_control):
2072         Use GST_POLL_FD_INIT.
2073
2074 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2075
2076         * gst/gstpoll.c: (gst_poll_fd_init):
2077         * gst/gstpoll.h:
2078         Added Since tags.
2079
2080         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2081         Use some more init macros.
2082
2083 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2084
2085         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2086         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2087         Use init macros and functions.
2088
2089 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2090
2091         * docs/gst/gstreamer-sections.txt:
2092         * gst/gstpoll.c: (gst_poll_fd_init):
2093         * gst/gstpoll.h:
2094         Add INIT macro and _init method for initializing the GstPollFD.
2095
2096 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2097
2098         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2099         (gst_fd_sink_update_fd):
2100         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2101         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2102         (delayed_restart), (delayed_control):
2103         Initialize some uninitialized variables as spotted by valgrind.
2104
2105 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2106
2107         * tests/benchmarks/Makefile.am:
2108         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2109         (main):
2110         Add poll stress test.
2111
2112 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2113
2114         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2115
2116         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2117         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2118         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2119         * plugins/elements/gstfdsink.h:
2120         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2121         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2122         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2123         (gst_fd_src_uri_set_uri):
2124         * plugins/elements/gstfdsrc.h:
2125         Port to GstPoll. See #505417.
2126
2127 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2128
2129         * win32/common/libgstreamer.def:
2130         Add new gst_poll_ symbols to win32 defs.
2131
2132 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2133
2134         * docs/libs/gstreamer-libs-sections.txt:
2135         * libs/gst/net/gstnetclientclock.c:
2136         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2137         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2138         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2139         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2140         * libs/gst/net/gstnetclientclock.h:
2141         * libs/gst/net/gstnettimeprovider.c:
2142         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2143         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2144         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2145         (gst_net_time_provider_new):
2146         * libs/gst/net/gstnettimeprovider.h:
2147         Use a private stuct to not break ABI.
2148
2149 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2150
2151         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2152
2153         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2154         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2155         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2156         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2157         * libs/gst/net/gstnetclientclock.h:
2158         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2159         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2160         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2161         (gst_net_time_provider_new):
2162         * libs/gst/net/gstnettimeprovider.h:
2163         Massive code removal and cleanups because of GstPoll.
2164         Fixes #505417.
2165
2166 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2167
2168         * configure.ac:
2169         Add checks for poll, ppoll and pselect.
2170
2171         * docs/gst/gstreamer-docs.sgml:
2172         * docs/gst/gstreamer-sections.txt:
2173         Add docs for GstPoll.
2174
2175         * gst/Makefile.am:
2176         * gst/gst.h:
2177         * gst/gstpoll.c: (find_index), (selectable_fds),
2178         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2179         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2180         (gst_poll_set_mode), (gst_poll_get_mode),
2181         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2182         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2183         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2184         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2185         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2186         (gst_poll_fd_can_write), (gst_poll_wait),
2187         (gst_poll_set_controllable), (gst_poll_restart),
2188         (gst_poll_set_flushing):
2189         * gst/gstpoll.h:
2190         Add generic poll abstraction. We ideally don't want to have this in core
2191         here but in glib intead...
2192         This code will be used in various network elements and ultimately for
2193         the nanosecond precision monotonic clock (that's why it's here in core).
2194         It'll allow us to implement cancelable socket operations for windows too.
2195
2196         * tests/check/Makefile.am:
2197         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2198         (delayed_stop), (delayed_restart), (delayed_flush),
2199         (delayed_control), (gst_poll_suite):
2200         Add GstPoll unit test.
2201
2202 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2203
2204         * gst/gstfilter.c:
2205           Improve documentation of gst_filter_run(). Fixes #518627.
2206
2207 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2208
2209         * docs/README:
2210           Add a few lines about the new 'check-inspected-versions' target.
2211
2212 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2213
2214         * tests/check/gst/gstevent.c:
2215           Add qos to the event test. Rename tcase/tsuite; is not only about
2216           custom events.
2217
2218 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2219
2220         * plugins/elements/gstqueue.c:
2221           Ensure that buffer metadata is writeable, before modifying. Spotted by
2222           Mike.
2223
2224 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2225
2226         * plugins/elements/gstqueue.c:
2227         * plugins/elements/gstqueue.h:
2228           When dropping buffers in leaky modes, mark next buffers we sent as
2229           DISCONT.
2230
2231 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2232
2233         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2234           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2235
2236 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2237
2238         * plugins/elements/Makefile.am:
2239         * plugins/elements/gstbufferstore.c:
2240         * plugins/elements/gstbufferstore.h:
2241         * plugins/elements/gsttypefindelement.h:
2242           Remove GstBufferStore, no idea why we were still building it.
2243           It's not used anywhere and superseded by GstAdapter.
2244
2245         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2246           (gst_file_src_create_mmap):
2247         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2248           Printf format fixes for 64-bit integers.
2249
2250 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2251
2252         * configure.ac:
2253         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2254         We're not in 0.8 times anymore.
2255
2256 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2257
2258         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2259         (gst_check_element_push_buffer_list):
2260         * libs/gst/check/gstcheck.h:
2261         Make the declaration in the header for
2262         gst_check_element_push_buffer_list match the implementation.
2263
2264         Fix up spelling, grammar and wording of the documentation in a few
2265         places, and add the Since keyword to new API functions.
2266         Use g_list_delete_link instead of g_list_remove in
2267         gst_check_drop_buffers, since it's immeasurably more efficient.
2268
2269         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2270         Use new gst_check_drop_buffers function where appropriate.
2271
2272         * win32/common/libgstbase.def:
2273         * win32/common/libgstreamer.def:
2274         Add new symbols gst_collect_pads_take_buffer, 
2275         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2276         exports
2277
2278         Changelog surgery to add API keyword to new gst_check API.
2279
2280 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2281
2282         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2283         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2284         Update pre-generated flex files with flex 2.3.34.
2285
2286 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2287
2288         * gst/gstminiobject.c:
2289           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2290           friendly to subclasses and not require them to know all internals
2291           of their parent class.
2292
2293 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2294
2295         * docs/libs/gstreamer-libs-sections.txt:
2296         * libs/gst/base/gstcollectpads.c:
2297         * libs/gst/base/gstcollectpads.h:
2298           Add sub-buffer functions to collectpads. Fixes #516187.
2299           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2300
2301 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2302
2303         * gst/gstbuffer.c:
2304           Copy selected buffer-flags when creating subbuffers.
2305           Fixes #516395.
2306
2307 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2308
2309         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2310         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2311         * gst/gstmessage.c: (gst_message_class_init),
2312         (gst_message_finalize):
2313         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2314         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2315         (gst_mmap_buffer_finalize):
2316         Properly chain up finalize functions to the parent class.
2317
2318 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2319
2320         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2321
2322         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2323         (gst_index_set_resolver_full):
2324         * gst/gstindex.h:
2325         Add new function with option to dispose of user_data in resolver.
2326         Actually call the dispose function when finalizing the object and not
2327         just when changing the resolver/filter.
2328         API: GstIndex::gst_index_set_resolver_full()
2329
2330         * docs/gst/gstreamer-sections.txt:
2331         Add new function to docs. Fixes #515469.
2332
2333 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2334
2335         * gst/gstindex.c: (gst_index_finalize):
2336         Chain up finalize to the parent class. Fixes leaking the GstObject
2337         name and other things.
2338
2339 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2340
2341         * configure.ac:
2342         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2343         pre-releases or releases.
2344
2345         * docs/faq/gst-uninstalled:
2346         Add gst-plugins-gl
2347
2348         * docs/random/release:
2349         Change one of the steps - we only upload core & base to Gnome FTP
2350
2351 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2352
2353         * gst/gstconfig.h.in:
2354           Add 'id' for example.
2355
2356         * gst/gstpad.c:
2357         * gst/gstutils.c:
2358         * plugins/elements/gstfdsink.c:
2359           Link to signals. Doc and comment fixes.
2360
2361 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2362
2363         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2364         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2365           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2366           unused and unimplemented; finally, it is plugin features, not
2367           plugins, that have ranks.
2368           
2369 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2370
2371         * gst/gstpluginfeature.h:
2372           Clarify GstRank range docs.
2373
2374 2008-02-05  David Schleef  <ds@schleef.org>
2375
2376         * gst/gst.c: Add a separate gst_deinitialized that prevents
2377           gst_init() from being called after gst_deinit().  Fixes #509559
2378
2379 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2380
2381         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2382         (gst_bin_class_init):
2383         * gst/gstelement.c: (gst_element_base_class_init),
2384         (gst_element_class_add_pad_template):
2385         * gst/gstpadtemplate.c: (gst_pad_template_init):
2386         * gst/gstpipeline.c: (gst_pipeline_get_type),
2387         (gst_pipeline_base_init), (gst_pipeline_class_init):
2388         * libs/gst/base/gstbasesink.c:
2389         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2390         (gst_base_src_base_init), (gst_base_src_class_init):
2391         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2392         (gst_capsfilter_class_init):
2393         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2394         (gst_fake_sink_class_init):
2395         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2396         (gst_fake_src_class_init):
2397         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2398         (gst_fd_sink_class_init):
2399         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2400         (gst_fd_src_class_init):
2401         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2402         (gst_file_sink_class_init):
2403         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2404         (gst_file_src_class_init):
2405         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2406         (gst_identity_class_init):
2407         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2408         (gst_multi_queue_class_init):
2409         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2410         (gst_queue_class_init):
2411         * plugins/elements/gsttee.c: (gst_tee_base_init),
2412         (gst_tee_class_init):
2413         * plugins/elements/gsttypefindelement.c:
2414         (gst_type_find_element_base_init),
2415         (gst_type_find_element_class_init):
2416         * tests/check/gst/gstelement.c: (gst_element_suite):
2417         Revert previous changes to the behaviour of GstPadTemplates, etc
2418         and the possiblity to call them in class_init as it breaks too
2419         many elements. Reopens bug #491501.
2420
2421         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2422         several places.
2423
2424 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2425
2426         * tools/gst-launch.c:
2427         Dump one graph per pipeline state-change and state change name
2428         (if GST_DEBUG_DUMP_DOT_DIR is set).
2429
2430 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2431
2432         * gst/gstpad.c:
2433         * tests/check/gst/gstpad.c:
2434         Be sure that we have a new copy of the caps and not
2435         reffed caps from a template
2436
2437 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2438
2439         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2440         * gst/gstpipeline.c: (gst_pipeline_get_type),
2441         (gst_pipeline_class_init):
2442         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2443         (gst_base_sink_class_init):
2444         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2445         (gst_base_src_class_init):
2446         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2447         (gst_base_transform_class_init):
2448         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2449         (gst_collect_pads_class_init):
2450         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2451         * libs/gst/net/gstnettimeprovider.c:
2452         (gst_net_time_provider_base_init),
2453         (gst_net_time_provider_class_init):
2454         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2455         (gst_capsfilter_class_init):
2456         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2457         (gst_fake_sink_class_init):
2458         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2459         (gst_fake_src_class_init):
2460         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2461         (gst_fd_sink_class_init):
2462         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2463         (gst_fd_src_class_init):
2464         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2465         (gst_file_sink_class_init):
2466         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2467         (gst_file_src_class_init):
2468         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2469         (gst_identity_class_init):
2470         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2471         (gst_multi_queue_class_init):
2472         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2473         (gst_queue_class_init):
2474         * plugins/elements/gsttee.c: (gst_tee_base_init),
2475         (gst_tee_class_init):
2476         * plugins/elements/gsttypefindelement.c:
2477         (gst_type_find_element_base_init),
2478         (gst_type_find_element_class_init):
2479         Don't use base_init where not absolutely necessary. For example it's
2480         not necessary anymore for adding pad templates or setting element
2481         details.
2482
2483         Leave empty base_init functions in several places as GST_BOILERPLATE
2484         still defines and uses them.
2485
2486 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2487
2488         * gst/gstelement.c: (gst_element_base_class_init),
2489         (gst_element_class_add_pad_template):
2490         * gst/gstpadtemplate.c:
2491         Make it possible (and recommended) to set element details and add
2492         pad templates in the class_init functions by copying the details/pad
2493         templates in GstElement's base_init.
2494
2495         Also make it possible to replace existing pad templates by adding
2496         a new one with the same name. This was done in a hackish fashion
2497         in same elements before already.
2498
2499         Don't reference pad templates that are added a second time. A
2500         new pad template has a refcount of one and is not floating anymore
2501         and to be owned by the element's class. Make this more explicit by
2502         mentioning it in the docs of gst_element_class_add_pad_template().
2503
2504         These changes are backwards compatible. Fixes bug #491501.
2505
2506         * tests/check/gst/gstelement.c:
2507         Add unit test for setting element details, adding pad templates and
2508         replacing them in a subclass.
2509
2510 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2511
2512         * tools/gst-inspect.c: (print_interfaces),
2513         (print_element_properties_info), (print_pad_info),
2514         (print_signal_info), (print_element_info):
2515         Fix a few memory leaks.
2516
2517 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2518
2519         * docs/libs/gstreamer-libs-sections.txt:
2520         * libs/gst/check/gstcheck.c:
2521         * libs/gst/check/gstcheck.h:
2522         Add more functions for unit testing: gst_check_drop_buffers,
2523         gst_check_caps_equal, gst_check_element_push_buffer_list,
2524         gst_check_element_push_buffer
2525         API: gst_check_drop_buffers
2526         API: gst_check_caps_equal
2527         API: gst_check_element_push_buffer_list
2528         API: gst_check_element_push_buffer
2529
2530 2008-02-01  Julien Moutte  <julien@fluendo.com>
2531
2532         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2533         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2534         (gst_index_finalize), (gst_index_entry_free),
2535         (gst_index_add_association): Fix memory leaks.
2536         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2537         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2538         (gst_mem_index_free_format), (gst_mem_index_free_id),
2539         (gst_mem_index_finalize): Fix memory leaks.
2540         * win32/common/config.h: Updated to CVS HEAD.
2541
2542 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2543
2544         * docs/README:
2545           Some more details about how the plugin docs works.
2546
2547         * docs/plugins/gstreamer-plugins-sections.txt:
2548           Whitespace cleanup.
2549
2550 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2551
2552         * gst/parse/grammar.tab.pre.c:
2553         * gst/parse/grammar.tab.pre.h:
2554         * gst/parse/grammar.y:
2555         * gst/parse/lex._gst_parse_yy.pre.c:
2556           Add delayed set-property. This allows to set properties on dynamicaly
2557           created objects (pads in videomxer). Fixes #509391.
2558
2559 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2560
2561         * gst/gstutils.c:
2562         Check if caps are not NULL (fix bug #510194)
2563
2564 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2565
2566         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2567         (gst_base_sink_get_position_paused):
2568         Add fixme regarding EOS in pull mode.
2569         Fix position reporting in PAUSED for negative rates.
2570
2571 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2572
2573         * gst/gstminiobject.c: (gst_mini_object_replace):
2574         When replacing a miniobject, do a quick equality check first so that we
2575         can avoid a ref/unref pair.
2576
2577 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2578
2579         * docs/design/part-synchronisation.txt:
2580         Update some docs.
2581
2582         * docs/plugins/Makefile.am:
2583         * docs/plugins/gstreamer-plugins-docs.sgml:
2584         * docs/plugins/gstreamer-plugins-sections.txt:
2585         * plugins/elements/gstmultiqueue.c:
2586         Add multiqueue to the docs.
2587
2588 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2589
2590         * configure.ac:
2591           Back to CVS
2592
2593 === release 0.10.17 ===
2594
2595 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2596
2597         * configure.ac:
2598           releasing 0.10.17, "Due Negligence"
2599
2600 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2601
2602         * gst/gstutils.c:
2603         Revert caps != NULL check temporarily for 0.10.17 release.
2604
2605 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2606
2607         * gst/gstutils.c:
2608         Check if caps are not NULL (fix bug #510194)
2609
2610 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2611
2612         * gst/gstutils.c:
2613         Fix compilation on systems that have posix timers but no
2614         monotonic clock.
2615         Fixes: #512715
2616         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2617         dot net>
2618
2619 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2620
2621         * tools/gst-inspect.c:
2622         Revert previous commit in preparation for an impromptu 0.10.17 release
2623
2624 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2625
2626         * tools/gst-inspect.c: (print_interfaces),
2627         (print_element_properties_info), (print_pad_info),
2628         (print_signal_info), (print_element_info):
2629         Fix a few memory leaks.
2630
2631 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2632
2633         * configure.ac:
2634         Back to CVS
2635
2636 === release 0.10.16 ===
2637
2638 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2639
2640         * configure.ac:
2641           releasing 0.10.16, "Special Dispensation"
2642
2643 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2644
2645         * configure.ac:
2646           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2647           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2648           not fail when trying to crosscompile on OpenEmbedded (#511750).
2649
2650 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2651
2652         * docs/manuals.mak:
2653         Use $(MAKE) instead of make to fix the build if GNU make is
2654         called different. Fixes bug #510747.
2655
2656 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2657
2658         * gst/gstplugin.c: (_gst_plugin_initialize):
2659           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2660           again, which I broke two commits ago when changing the API
2661           of gst_plugin_register_static(): the g_list_foreach() in
2662           _gst_plugin_register_static still assumed the old function
2663           signature and would therefore fail (re-fixes #510187).
2664
2665         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2666           (_gst_plugin_register_static), (gst_plugin_register_static):
2667           Revert the (technically correct) change to call g_thread_init() from
2668           the pre-main() constructor. This will break programs which call
2669           g_thread_init() without an if (!g_thread_supported()) guard in their
2670           main function. We could just blame it on GLib or the application, but
2671           it's probably best to just avoid this altogether and simply not use
2672           any GLib functions here and use plain old malloc() with a simple
2673           array to store the plugins to register later when gst_init() is
2674           finally called (re-fixes #510187).
2675
2676         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2677           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2678           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2679           (GST_START_TEST), (gst_plugin_suite):
2680           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2681           works.
2682
2683 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2684
2685         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2686           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2687           This makes gtk-doc complain, but results in slightly better
2688           compiler errors. The old _gst_plugin_register_static() is
2689           still guarded, so there'll be a compiler warning about that
2690           instead. Fixes #510187 too.
2691
2692 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2693
2694         * gst/gst.c: (init_post):
2695         * gst/gstplugin.c: (_gst_plugin_register_static),
2696           (gst_plugin_register_static), (_gst_plugin_initialize):
2697         * gst/gstplugin.h: (GstPluginFilter):
2698           Change API of gst_plugin_register_static() to not take
2699           a GstPluginDesc, but rather just take all the arguments
2700           in a GstPluginDesc directly. This is more intuitive and
2701           avoids certain mistakes when porting code from
2702           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2703           Fixes #510187.
2704
2705         * tests/check/gst/gstplugin.c:
2706           Fix up for changed API.
2707
2708 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2709
2710         * docs/faq/legal.xml:
2711           Update FAQ, Totem actually has an exception these days.
2712
2713 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
2714
2715         * win32/common/libgstreamer.def:
2716         Add new API declarations
2717
2718 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2719
2720         * gst/gstminiobject.c:
2721           Spelling fixes for the API docs.
2722
2723 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2724
2725         * libs/gst/base/gstbasetransform.c:
2726           Fix long property description for QoS.
2727
2728 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
2729
2730         * gst/gst.c:
2731         _gst_trace_on is already provided by gsttrace.h, no need to declare
2732         it ourselves.
2733
2734         * docs/libs/gstreamer-libs-sections.txt:
2735         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2736         and remove strange tcase_add_test which is outputting a warning.
2737
2738         * libs/gst/check/gstcheck.c:
2739         * libs/gst/check/gstcheck.h:
2740         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2741         and define them in gstcheck.c instead of having every .c file whcih
2742         includes gstcheck.h be defining its own copy and relying on symbol
2743         interposing to marry them all, which doesn't work on Solaris.
2744
2745         * tests/check/elements/identity.c: (GST_START_TEST):
2746         Don't define 'buffers' locally, it comes from libgstcheck.
2747
2748         * tests/check/generic/sinks.c: (send_buffer):
2749         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2750
2751         * tests/check/gst/gststructure.c: (GST_START_TEST):
2752         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2753         * tests/check/gst/gstutils.c: (GST_START_TEST):
2754         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2755         Add a bunch of casts to make various constants fit the types
2756         they're being assigned to.
2757
2758 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
2759
2760         * gst/gstchildproxy.c:
2761           Improve docs and add some ideas for making this more general-purpose.
2762
2763 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
2764
2765         * gst/gst_private.h: (GST_CAT_TYPES):
2766           Add GST_CAT_TYPES, for consistency, and so that the other
2767           debug categories don't make fun of it. Spotted by Saur on IRC.
2768
2769 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2770
2771         * gst/parse/Makefile.am:
2772           Move types.h from EXTRA_DIST to noinst_HEADERS.
2773
2774 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2775
2776         * autogen.sh:
2777           Add -Wno-portability to the automake parameters to stop warnings
2778           about GNU make extensions being used. We require GNU make in almost
2779           every Makefile anyway.
2780
2781         * configure.ac:
2782           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2783           at the same time is required for per target flags.
2784
2785 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2786
2787         * gst/gstmacros.h:
2788           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2789           __GNUC__ is defined before using it.
2790
2791 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2792
2793         * docs/gst/gstreamer-sections.txt:
2794         * gst/gst.c: (init_post):
2795         * gst/gstplugin.c: (_gst_plugin_register_static),
2796           (gst_plugin_register_static), (_gst_plugin_initialize),
2797           (gst_plugin_register_func):
2798         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2799           API: add gst_plugin_register_static() and deprecate
2800           GST_PLUGIN_DEFINE_STATIC, since it's not portable
2801           (#498924).
2802           Also, in _gst_plugin_register_static(), make sure to call
2803           g_thread_init() before calling GLib functions such as
2804           g_list_append() if we're not initialised yet, since that
2805           may lead to random crashes with older GSlice/GLib versions.
2806
2807         * tests/check/gst/gstplugin.c:
2808           Adapt unit test to above changes.
2809
2810 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2811
2812         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2813         * gst/gstcaps.c: (gst_caps_to_string):
2814         * gst/gststructure.c: (GST_ASCII_IS_STRING),
2815           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2816           Yet another gratuitous GString micro-optimisation: add a (private)
2817           function that serialises a structure appending to an existing
2818           GString, so that when we serialise caps we don't need to alloc+free
2819           a throwaway GString for each structure (each of which also entailing
2820           multiple reallocs on the way); also use g_string_sized_new() in
2821           various places with an approximate string length to avoid reallocs
2822           within GString. See #500143.
2823
2824 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2825
2826         * gst/gststructure.c: (gst_structure_id_set_value):
2827           Always check UTF-8 conformance of structure strings and not only
2828           if the debugging system is enabled; reasoning: the behaviour of
2829           the actual code shouldn't really change depending on whether the
2830           debugging system is enabled or not (#508291).
2831
2832 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
2833
2834         * Makefile.am:
2835           Remove old coverage target in favour of "make lcov".
2836
2837 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2838
2839         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2840         (gst_base_src_loop):
2841         The start segment for reverse playback goes from start to last_stop.
2842
2843 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2844
2845         Patch by: Peter Kjellerstedt <pkj axis com>
2846
2847         * gst/gstclock.h:
2848         Cast the results from the timeval/spec_to_time macros to what the
2849         docs say it casts to, a GstClockTime. fixes #508175.
2850
2851 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2852
2853         * gst/gstbuffer.c:
2854         Update some comments.
2855
2856         * tools/gst-inspect.c: (print_element_properties_info):
2857         Improve printing of flags.
2858
2859 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
2860
2861         * libs/gst/base/gstbasetransform.c:
2862           (gst_base_transform_transform_size):
2863           Print element name with g_warning() if there's a problem
2864           with the unit size.
2865
2866 2008-01-07  David Schleef  <ds@schleef.org>
2867
2868         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2869
2870         * libs/gst/controller/gstcontroller.h:
2871         * libs/gst/controller/gstcontrolsource.h:
2872         * libs/gst/controller/gstinterpolationcontrolsource.h:
2873         * libs/gst/controller/gstlfocontrolsource.h:
2874         * libs/gst/dataprotocol/dataprotocol.h:
2875           Fix empty prototypes.  Fixes bug #507957.
2876
2877 2008-01-07  David Schleef  <ds@schleef.org>
2878
2879         * docs/faq/dependencies.xml: Fix typo.
2880
2881 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2882
2883         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2884         (gst_base_src_loop):
2885         Don't update the last_stop position in do_seek, that's the position we
2886         did a seek to.
2887         Read backwards when we have a negative rate.
2888
2889         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2890         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2891         (filesrc_suite):
2892         Add check for reverse reading.
2893
2894 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
2895
2896         Patch by: Alexis Ballier <aballier at gentoo org>
2897
2898         * tests/check/gst/gstabi.c:
2899         * tests/check/gst/struct_ppc64.h:
2900         * tests/check/libs/libsabi.c:
2901         * tests/check/libs/struct_ppc64.h:
2902           Decide which header to include based on the userland ABI target
2903           and not the kernel/cpu. Fix up structure sizes of ppc64 header
2904           for 64-bit userland (#503590).  Might need something similar for
2905           x86 too.
2906
2907 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2908
2909         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2910           Log the reason why fopen fails in addition to the fact that it failed.
2911           
2912 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
2913
2914         * gst/parse/parse.l:
2915         Use "%option never-interactive" to prevent useless calls to isatty()
2916         on every input when parsing. Also use "%option noinput" to not define
2917         the static input/yyinput functions which we don't use anyway. This
2918         removes a compiler warning with gcc 4.3 and saves some bytes in the
2919         library.
2920         
2921         * gst/parse/lex._gst_parse_yy.pre.c:
2922         Regenerated for the above change.
2923
2924 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2925
2926         * gst/gstpad.c: (fixate_value):
2927         Don't crash when trying to fixate and empty list.
2928         Fixes #506643.
2929
2930 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
2931
2932         * docs/faq/gst-uninstalled:
2933         Clarify the comments to make the usage of this script and what it
2934         does easier to understand.
2935
2936 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2937
2938         * tools/gst-plot-timeline.py:
2939         Add more options to gst-plot-timeline
2940
2941 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2942
2943         * docs/design/part-synchronisation.txt:
2944         Some more info on how the stream_time in GstBaseSink is done.
2945
2946 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
2947
2948         * tests/check/generic/sinks.c: (gst_sinks_suite):
2949           Put back the tcase_set_timeout(), apparently it's needed after
2950           all; fix it up in a way that makes things work with valgrind too.
2951
2952 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2953
2954         * gst/gstdebugutils.c:
2955           Add warning when failed to open file for writing.
2956
2957 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2958
2959         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
2960
2961         * gst/gstvalue.c: (gst_value_is_fixed):
2962           Optimisation: bail out of the loop as early as possible (#500143).
2963
2964 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2965
2966         * gst/gstcaps.c: (gst_caps_to_string):
2967         * gst/gstinfo.c: (gst_debug_construct_term_color):
2968         * gst/gstparse.c: (gst_parse_launchv):
2969         * gst/gstutils.c: (gst_util_dump_mem):
2970         * gst/gstvalue.c: (gst_value_serialize_any_list),
2971           (gst_value_transform_any_list_string):
2972           Bunch of gratuitous nano-optimisations.
2973
2974 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2975
2976         * tests/check/generic/sinks.c: (async_done_func),
2977           (async_done_eos_func):
2978           Fix leak in unit test (bus sync handler must unref the message
2979           if it returns GST_BUS_DROP). Don't fiddle with the default test
2980           timeout, this is smaller than the current preconfigured value
2981           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
2982           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
2983
2984 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2985
2986         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2987
2988         * configure.ac:
2989         Check for stdio_ext.h for the filesink changes.
2990
2991         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
2992         (gst_file_sink_class_init), (gst_file_sink_init),
2993         (gst_file_sink_dispose), (gst_file_sink_set_property),
2994         (gst_file_sink_get_property), (gst_file_sink_open_file),
2995         (gst_file_sink_close_file):
2996         * plugins/elements/gstfilesink.h:
2997         Add two properties to control the buffering mode and size.
2998         API: GstFileSink::buffer-mode
2999         API: GstFileSink::buffer-size
3000         Fixes #500150.
3001
3002 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3003
3004         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3005         Add some more docs to explain why a FIXME was wrongly added. 
3006
3007 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3008
3009         * gst/gstobject.c:
3010           Fix typo in the gst_object_{ref,unref} documentation.
3011
3012 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3013
3014         * tests/check/libs/controller.c:
3015         * tests/check/libs/typefindhelper.c:
3016         * tests/check/pipelines/parse-launch.c:
3017           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3018           going to be deprecated (see #498924).
3019
3020 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3021
3022         * gst/gsttypefind.c: (gst_type_find_register):
3023           Make gst_type_find_register work for static typefind functions,
3024           ie. allow passing plugin == NULL (prerequisite for #498924).
3025
3026         * gst/gstelementfactory.c: (gst_element_register):
3027           Small docs addition.
3028
3029 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3030
3031         * gst/gstpad.c: (gst_pad_dispose):
3032         Really unlink the peer pad instead of setting the peer pointer to NULL
3033         when we dispose the pad.
3034         This correctly calls the unlink functions and makes sure that the peer
3035         does not have a handle to invalid memory. See #504671.
3036
3037         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3038         Add testsuite for above case.
3039
3040 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3041
3042         Patch by: Peter Kjellerstedt <pkj axis com>
3043
3044         * libs/gst/check/gstcheck.h:
3045           Fix detection of the check version we're compiling against (would
3046           otherwise break if check goes v0.10.0); correctly report the
3047           name of the failed test again in case of failure, instead of
3048           just 'tf' (fixes #504499).
3049
3050 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3051
3052         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3053         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3054         (gst_base_src_loop), (gst_base_src_set_flushing),
3055         (gst_base_src_change_state):
3056         Allow sending EOS to the source to make it send out an EOS event from
3057         the streaming thread.
3058         Update docs and deprecate the old NULL/READY shutdown method.
3059
3060         * tests/check/libs/basesrc.c: (GST_START_TEST),
3061         (gst_basesrc_suite):
3062         Add unit test for controlled shutdown.
3063
3064 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3065
3066         * docs/design/part-synchronisation.txt:
3067         Small updates.
3068
3069         * gst/gstsegment.c: (gst_segment_set_seek),
3070         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3071         (gst_segment_to_running_time):
3072         The seek format can be different from the segment format when the start
3073         and stop values are not to be updated, when we only do a rate change for
3074         example.
3075
3076         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3077         (gst_segment_suite):
3078         Add a testcase for the rate-only seeks, checking that the format is
3079         correctly ignored when start and stop are not updated.
3080
3081 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3082
3083         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3084
3085         * win32/vs8/grammar.vcproj:
3086         * win32/vs8/libgstcontroller.vcproj:
3087         * win32/vs8/libgstreamer.vcproj:
3088         Fix compilation with VS8 and include some missing files.
3089
3090 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3091
3092         * gst/gsttaglist.c:
3093           Small docs addition: mention that the strings returned by
3094           gst_tag_list_get_string*() are in UTF-8 encoding.
3095
3096 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3097
3098         * Makefile.am:
3099           The check-exports stuff moved to common/win32.mak, so include that.
3100
3101 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3102
3103         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3104         (gst_base_src_perform_seek), (gst_base_src_get_range),
3105         (gst_base_src_set_playing), (gst_base_src_change_state):
3106         Make _wait_playing() not check any variables so that we can call this
3107         function from subclasses. Move the checks elsewhere similar to
3108         _wait_preroll() in basesink.
3109         Add some debugging.
3110         Only signal the LIVE cond when we are going back to PLAYING.
3111
3112 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3113
3114         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3115           Use g_remove() and g_rename(). Check result of g_rename(), and
3116           don't leak the open file descriptor if we error out when writing.
3117
3118         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3119           Must check the return value of close() after writing out the new
3120           registry file.  Sometimes write problems such as out-of-diskspace
3121           are only reported when the file is closed and not already during
3122           the write.  This may have caused partial/broken registry files in
3123           some rare circumstances. Should fix #503675.
3124
3125 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3126
3127         * docs/gst/.cvsignore:
3128         * docs/libs/.cvsignore:
3129         * docs/plugins/.cvsignore:
3130         Ignore files generated by new common/* modifications
3131
3132 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3133
3134         * win32/common/libgstbase.def:
3135           Yes, you can also have a <TAB> if you want.
3136
3137 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3138
3139         * win32/common/libgstbase.def:
3140           Add new basetransform API to win export file.
3141
3142 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3143
3144         * tests/check/gst/gstbin.c:
3145           Adjust the test to the refcount change two days ago.
3146
3147 2007-12-14  David Schleef  <ds@schleef.org>
3148
3149         * docs/faq/getting.xml: Fix typo.
3150
3151 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3152
3153         * docs/libs/gstreamer-libs-sections.txt:
3154         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3155           (gst_base_transform_prepare_output_buffer),
3156           (gst_base_transform_set_gap_aware):
3157         * libs/gst/base/gstbasetransform.h:
3158           API: Add gst_base_transform_set_gap_aware() to control whether
3159           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3160           get buffers with this flag at all. Fixes #503231.
3161
3162 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3163
3164         * libs/gst/base/gstbasesink.c:
3165         * libs/gst/base/gstbasesrc.c:
3166         * libs/gst/base/gstbasetransform.c:
3167           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3168           thread. Correct log message in gstbasesrc.c.
3169
3170 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3171
3172         * gst/gstutils.c: (element_find_unconnected_pad):
3173           Fix possible compiler warning (#503417).
3174
3175 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3176
3177         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3178           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3179
3180 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3181
3182         * tools/gst-inspect.c: (print_element_properties_info):
3183           Add support for GstFraction properties.
3184
3185 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3186
3187         * Makefile.am:
3188           Add check-exports target and run it as part of 'make check'
3189           (see #499140 and #493983).
3190
3191         * gst/gst_private.h:
3192         * gst/gstelementfactory.h:
3193         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3194         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3195           (_priv_gst_in_valgrind):
3196         * gst/gstinfo.h: (GstLogFunction):
3197         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3198           (gst_type_find_register):
3199         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3200           (gst_type_find_factory_get_type):
3201         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3202           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3203           (gst_controller_new_valist), (gst_controller_new_list),
3204           (_gst_controller_dispose), (_gst_controller_class_init):
3205         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3206         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3207           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3208           (gst_object_get_controller), (gst_object_set_controller),
3209           (gst_object_suggest_next_sync), (gst_object_sync_values),
3210           (gst_object_set_control_source), (gst_object_get_control_source),
3211           (gst_object_get_value_arrays), (gst_object_get_value_array),
3212           (gst_object_get_control_rate), (gst_object_set_control_rate):
3213         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3214         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3215           Make some functions that should be static static; rename some
3216           private symbols so that they don't get exported; add some FIXME
3217           comments so we can move accidentally exported functions into
3218           our private section in 0.11.
3219
3220         * win32/common/libgstreamer.def:
3221           Add gst_utils_get_timestamp().
3222
3223 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3224
3225         * gst/gstvalue.c:
3226         * gst/gstvalue.h:
3227           Add more missing "Since:" tags to docs.
3228
3229 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3230
3231         * gst/gstutils.c:
3232           Add mising "Since:" to docs.
3233
3234 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3235
3236         * gst/gstplugin.c:
3237           Include "glib-compat-private.h" to fix the build on system with
3238           glib < 2.10. Fixes #503131.
3239
3240 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3241
3242         * gst/gstutils.c:
3243         * gst/gstutils.h:
3244           Actually its not PURE as it gets the time from elsewhere.
3245
3246 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3247
3248         * docs/gst/gstreamer-sections.txt:
3249         * gst/gstclock.h:
3250         * gst/gstdebugutils.c:
3251         * gst/gstinfo.c:
3252         * gst/gstutils.c:
3253         * gst/gstutils.h:
3254         * libs/gst/base/gstbasesink.c:
3255         * tools/gst-launch.c:
3256           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3257           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3258           Thanks Tim for spotting.
3259           API: gst_util_get_timestamp
3260
3261 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3262
3263         * configure.ac:
3264           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3265
3266 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3267
3268         * gst/gststructure.c: (gst_structure_validate_name),
3269           (gst_structure_new_valist), (gst_structure_parse_value),
3270           (gst_structure_from_string):
3271           Don't crash in _from_string() if the structure name is not valid
3272           (fixes #501560).  Allow structure names to start with a number
3273           again (this apparently broke the ubuntu codec installer).
3274
3275         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3276           (GST_START_TEST):
3277           Add unit test for the crash; update unit tests for new behaviour.
3278
3279 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3280
3281         * gst/gstutils.c:
3282         Clarify gst_element_get_compatible_pad() documentation.
3283         Fixes #500919.
3284
3285 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3286
3287         * tests/check/Makefile.am:
3288           Don't forget to dist {gst,libs}/struct_hppa.h.
3289
3290 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3291
3292         * libs/gst/base/gstbasesink.c:
3293           Use new API to get elapsed time.
3294
3295 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3296
3297         * gst/gstdebugutils.c:
3298         * gst/gstinfo.c:
3299           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3300
3301         * tools/gst-launch.c:
3302           Use new API to get elapsed time.
3303
3304 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3305
3306         * docs/gst/gstreamer-sections.txt:
3307         * gst/gstclock.h:
3308         * gst/gstdebugutils.c:
3309         * gst/gstinfo.c:
3310           Rename new API + ChangeLog surgery to remove old name from last entry..
3311
3312 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3313
3314         * docs/gst/gstreamer-sections.txt:
3315         * gst/gstclock.h:
3316         * gst/gstdebugutils.c:
3317         * gst/gstinfo.c:
3318           Now hide the different clock stuff behind a macro.
3319
3320 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3321
3322         * configure.ac:
3323         * gst/gstdebugutils.c:
3324         * gst/gstinfo.c:
3325           Apply the posix-timer check from #361155. Conditionally use the posix
3326           timer for logging. This gives better timestamp precission, less
3327           overhead and no ntp jitter.
3328
3329 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3330
3331         * gst/gstminiobject.c: (gst_mini_object_get_type),
3332         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3333         (gst_mini_object_finalize), (gst_mini_object_copy),
3334         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3335         (gst_mini_object_replace), (param_mini_object_validate),
3336         (gst_param_spec_mini_object_get_type):
3337         Some cleanup and checking against invalid function parameters.
3338
3339 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3340
3341         * docs/gst/gstreamer-sections.txt:
3342         * gst/gstclock.h:
3343         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3344         (gst_systemclock_suite):
3345         Start merging in the easy bits of #361155, the monotonic clock patch.
3346         This one adds a few handy macros with docs and a testsuite.
3347
3348 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3349
3350         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3351         Be a bit smarter when seeking, like, don't try to do a seek when it's
3352         not needed. This avoids errors when the file is not seekable.
3353         Fixes #499771.
3354
3355 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3356
3357         * docs/gst/gstreamer-docs.sgml:
3358         * docs/gst/gstreamer-sections.txt:
3359         * docs/gst/gstreamer.types.in:
3360         * gst/Makefile.am:
3361         * gst/gst.h:
3362         * gst/gstpreset.c:
3363         * gst/gstpreset.h:
3364         * plugins/elements/gstqueue.c:
3365           Due to popular request remove preset interface again. :-(.
3366
3367 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3368
3369         * tools/gst-inspect.c:
3370           Print 'default value' for enums and flags too.
3371
3372 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3373
3374         * docs/random/ensonic/profiling.txt:
3375           More ideas.
3376
3377         * gst/gstbin.c:
3378           Fix typo and give better log output.
3379
3380         * gst/gstdebugutils.c:
3381         * gst/gstdebugutils.h:
3382           More ideas, make graphs a bit smaller and fix param name in macro.
3383
3384 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3385
3386         * gst/gstpreset.c:
3387           Try harder to use the return value from fgets().
3388
3389 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3390
3391         * gst/gstpreset.c:
3392           For theses two fgets we handle the error below.
3393
3394 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3395
3396         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3397         Only send upstream events upstream. Fixes #498746.
3398
3399 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3400
3401         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3402
3403         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3404         (gst_identity_init), (gst_identity_transform_ip),
3405         (gst_identity_set_property), (gst_identity_get_property):
3406         * plugins/elements/gstidentity.h:
3407         Add property to disable handoff signal emission. Fixes #498694.
3408         API: GstIdentity::signal-handoffs
3409
3410 2007-11-21  Julien Moutte  <julien@fluendo.com>
3411
3412         * docs/faq/gst-uninstalled: Yet another missing library for the
3413         uninstalled script (fft)
3414
3415 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3416
3417         * docs/faq/developing.xml:
3418         Add a question about how to submit new translations.
3419
3420         * docs/random/release:
3421         Update the contact email address for the Translation Project
3422
3423         * plugins/elements/gstfdsrc.c:
3424         The parent_class for fdsrc is pushsrc, not GstElement.
3425
3426 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3427
3428         * gst/gstpreset.c:
3429           Plug a leak and fix saving.
3430
3431 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3432
3433         * docs/gst/gstreamer-sections.txt:
3434         Add new gst_preset__get_property_names() function to the docs
3435         to fix the build.
3436
3437 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3438
3439         * gst/gstpreset.c:
3440         * gst/gstpreset.h:
3441           Change _get_preset_names API to return a strv with copies. Add
3442           _get_property_names to allow implementations to filter and provide
3443           good default implementation.
3444
3445 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3446
3447         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3448         script (sdp).
3449
3450 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3451
3452         * gst/gstpreset.c:
3453           More cleanups, docs, and TODOs from comments that now slowly come in.
3454
3455 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3456
3457         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3458         search path.
3459
3460 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3461
3462         * gst/gstpreset.c:
3463           Fix bogus warning and make the property type specific code more
3464           similar.
3465
3466 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3467
3468         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3469         it build on OS X.
3470
3471 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3472
3473         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3474         (gst_bin_add_func), (gst_bin_remove_func),
3475         (gst_bin_change_state_func), (gst_bin_continue_func):
3476         Change email, cleanups add some more debug and comments.
3477         Also set bus and clock on new elements when the pipeline was in error.
3478
3479 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3480
3481         * gst/gstbin.c:
3482         * gst/gstdebugutils.c:
3483           Fix build with --disable-gst-debug. Fixes #497859.
3484           Spotted by Sameer Naik.
3485
3486 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3487
3488         * gst/gstevent.c:
3489           Little documentation improvment.
3490
3491         * gst/gstpreset.c:
3492           More TODO cleanups. Remove c++ comments.
3493
3494         * libs/gst/controller/gstcontroller.c:
3495           Add TODO and use quark from static string.
3496
3497         * tests/check/gst/gstmessage.c:
3498         * tests/check/gst/gststructure.c:
3499           Use quark from static string.
3500
3501 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3502
3503         * gst/gstpreset.c:
3504           Add some comments and TODOs.
3505
3506         * gst/gstpreset.h:
3507           Add padding for future changes.
3508
3509         * plugins/elements/gstqueue.c:
3510           Implement the iface.    
3511
3512 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3513
3514         * docs/gst/gstreamer-docs.sgml:
3515         * docs/gst/gstreamer-sections.txt:
3516         * docs/gst/gstreamer.types.in:
3517         * gst/Makefile.am:
3518         * gst/gst.h:
3519         * gst/gstpreset.c:
3520         * gst/gstpreset.h:
3521           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3522
3523 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3524
3525         * configure.ac:
3526
3527         Back to CVS
3528
3529 === release 0.10.15 ===
3530
3531 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3532
3533         * configure.ac:
3534           releasing 0.10.15, "October"
3535
3536 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3537
3538         * win32/vs6/libgstreamer.dsp:
3539         Convert line endings back to DOS.
3540
3541 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3542
3543         * docs/design/draft-tagreading.txt:
3544         * docs/random/ensonic/profiling.txt:
3545         Update fast tagreading draft and performance profiling ideas.
3546
3547 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3548
3549         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3550         Don't hold the object lock when unreffing a buffer because it could
3551         cause a deadlock when the finalize function wants to grab the object
3552         lock too. Fixes #495133.
3553
3554 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3555
3556         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3557         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3558         Also accumulate time correctly when doing reverse playback. Fixes
3559         #488201,
3560         When converting to running and stream time, use default values for
3561         start/stop/time/accum when comparing different formats. Fixes #494245.
3562
3563         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3564         Do running/stream time in TIME format.
3565
3566         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3567         (gst_segment_suite):
3568         2 new unit tests for segment accumulation.
3569
3570 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3571
3572         * gst/gst.c: (init_pre):
3573         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3574           (_gst_debug_bin_to_dot_file):
3575           Move getenv() back into gst_init, so everyone can live happily
3576           ever after. Make sure the symbol isn't exported though.
3577
3578 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3579
3580         Patch by: Sebastien Moutte  <sebastien moutte net>
3581
3582         * win32/common/gstenumtypes.c:
3583         * win32/common/gstenumtypes.h:
3584           Update enum types.
3585
3586         * win32/vs6/libgstreamer.dsp:
3587           Update vs6 project files (#494343).
3588
3589 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3590
3591         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3592         (gst_base_src_perform_seek), (gst_base_src_default_event),
3593         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3594         (gst_base_src_activate_pull):
3595         Unify flushing code, remove some old unlock code that is no longer used.
3596         Take the streaming lock when seeking to avoid races. Fixes #492729.
3597         Added some more comments.
3598
3599 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3600
3601         * gst/gst.c: (_gst_disable_segtrap):
3602           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3603           we can use gst_segtrap_is_enabled() there now that we have that API.
3604           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3605           to do the getenv here (and export the variable).
3606
3607         * gst/gstdebugutils.c: (debug_dump_element),
3608           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3609           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3610
3611         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3612           (gst_debug_log_default):
3613           Rename _gst_info_start_time to priv_gst_info_start_time so it
3614           doesn't get exported (was never in any header).
3615
3616         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3617           (gst_plugin_loading_mutex):
3618           Make static mutex gst_plugin_loading_mutex really static (was never
3619           in any header), and use gst_segtrap_is_enabled() instead of
3620           _gst_disable_segtrap.
3621
3622         * gst/gsttrace.c: (_gst_trace_default):
3623           Make local _gst_trace_default static (was never in any header).
3624
3625 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3626
3627         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3628
3629         * win32/common/libgstbase.def:
3630         * win32/common/libgstcontroller.def:
3631         * win32/common/libgstdataprotocol.def:
3632         * win32/common/libgstnet.def:
3633         * win32/common/libgstreamer.def:
3634           Add more missing symbols, remove some duplicates, and sort
3635           as the 'sort' command sorts it (partially fixes #493983).
3636
3637 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3638
3639         * gst/gstelement.c: (gst_element_set_state_func):
3640         Only change the state cookie if a different state was set on the
3641         element. See #492729.
3642
3643 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3644
3645         * gst/gstvalue.c:
3646           Remove unused and uninitialised type variables that were still
3647           exported for some reason (they were never in any header files
3648           though).
3649
3650 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3651
3652         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3653         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3654         (gst_base_sink_event), (gst_base_sink_get_position_last),
3655         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3656         (gst_base_sink_change_state):
3657         Don't try to report a 0 position when we don't know, return -1 and FALSE
3658         instead. This mostly happens when we are prerolling.
3659         Make sure we can report the right position before we post the ASYNC_DONE
3660         message so that a message handler can query position without races.
3661
3662         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3663         (async_done_handoff), (async_done_func), (send_buffer),
3664         (async_done_eos_func), (gst_sinks_suite):
3665         Add two tests for the above.
3666
3667 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3668
3669         * MAINTAINERS:
3670         Update with new email address.
3671
3672         * docs/design/part-TODO.txt:
3673         Add some more info about future pad-block and negotiation changes.
3674
3675         * docs/design/part-buffering.txt:
3676         Add some ideas about buffering reporting.
3677
3678 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
3679
3680         * tests/check/gst/gstobject.c:
3681         Disable silly racy test that always fails on this combination of CPU
3682         and kernel.
3683
3684 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3685
3686         Patch by: Murray Cumming  <murrayc@murrayc.com>
3687
3688         * gst/gstobject.c:
3689           Corrected the registration of the parent-set and parent-unset
3690           signals: The parameter is a GstObject, not a GObject (#493134).
3691
3692 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3693
3694         * gst/gst_private.h:
3695         * gst/gstbuffer.h:
3696         * gst/gstevent.h:
3697         * gst/gstformat.h:
3698         * gst/gstmessage.h:
3699         * gst/gstplugin.h:
3700         * gst/gstquery.h:
3701         * gst/gsttaglist.h:
3702         * gst/gstvalue.h:
3703           Move declaration of private _gst_foo_initialize() functions into
3704           our private header file where they should have been all along.
3705
3706 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3707
3708         * docs/plugins/gstreamer-plugins-sections.txt:
3709         * gst/gstdebugutils.h:
3710         * gst/gstxml.h:
3711         * plugins/elements/gstqueue.c:
3712           gtk-doc fixes; trailing-comma-in-enum fix.
3713
3714 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3715
3716         * gst/gst.c: (gst_deinit):
3717           Clean up on deinit (not the external ones though, doesn't seem to be
3718           needed for some reason).
3719
3720 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3721
3722         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3723           Remove __declspec(dllimport) for MSVC that was copied over into core
3724           from a plugin, obviously without ever having been tested (note the
3725           single underscore in _declspec in the initial commit), and that doesn't
3726           really make sense.  See #492077.
3727
3728 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3729
3730         * gst/gst.c: (init_post):
3731         * gst/gstevent.c: (_gst_event_initialize):
3732         * gst/gstquery.c: (_gst_query_initialize):
3733         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3734           g_type_class_ref() other types as well, see #349410 and #64764.
3735
3736         * gst/gstbuffer.c: (_gst_buffer_initialize):
3737         * gst/gstmessage.c: (_gst_message_initialize):
3738           Simplify existing g_type_class_ref().
3739
3740 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3741
3742         * gst/gstformat.c: (_gst_format_initialize):
3743           g_type_class_ref() our GstFormat type to make sure we avoid the
3744           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3745           bug #64764. Should fix intermittent tee unit test failures (#474823).
3746
3747 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3748
3749         * tests/check/elements/tee.c: (test_num_buffers):
3750           Simplify, simplify, simplify - or not.  Rewrite unit test
3751           not to use gst_parse_launch(); allow N sub-streams. Increasing
3752           the number of sub-streams seems to reproduce #474823 more easily.
3753
3754 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3755
3756         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3757
3758         * gst/gsttrace.c:
3759         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3760         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3761         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3762           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3763           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3764           so use _pipe() directly (#492077).
3765
3766         * win32/common/dirent.c: (_treaddir):
3767           Add a couple of casts to make it build without warnings with MSVC.
3768
3769         * win32/common/libgstreamer.def:
3770           Add some more symbols that need to be exported.
3771
3772 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3773
3774         * tests/examples/metadata/read-metadata.c: (message_loop):
3775           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3776           arriving in a second or third tag message are added to
3777           the tag list as well.
3778
3779 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
3780
3781         * libs/gst/base/gstbasesrc.c:
3782           Its "Since:" and not "@Since:". And remove an superflous cast.
3783
3784 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
3785
3786         * docs/libs/gstreamer-libs-sections.txt:
3787         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3788         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3789         (gst_base_sink_get_property), (gst_base_sink_render_object),
3790         (gst_base_sink_preroll_object),
3791         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3792         (gst_base_sink_change_state):
3793         * libs/gst/base/gstbasesink.h:
3794         Add a new last-buffer property that contains the last buffer used in
3795         basesink for preroll or rendering. useful for making snapshots.
3796         API: gst_base_sink_get_last_buffer()
3797         API: GstBaseSink::last-buffer
3798
3799 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3800
3801         * docs/gst/running.xml:
3802         * gst/gst.c:
3803         * gst/gstdebugutils.c:
3804         * gst/gstdebugutils.h:
3805         * tools/gst-launch.c:
3806           Improve bin graph dumping, by using the envvar to specify a path.
3807           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3808
3809 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
3810
3811         * plugins/elements/gsttypefindelement.c:
3812           (gst_type_find_element_handle_event),
3813           (gst_type_find_element_activate):
3814           Post special error message if we can't determine the type of a stream
3815           because it's empty.
3816
3817 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3818
3819         * docs/gst/running.xml:
3820         * gst/gstdebugutils.c:
3821           Document new env-var. Add one log-line after dumpng a graph.
3822
3823 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
3824
3825         * configure.ac:
3826           Ugly hack to put the (recently removed and non-portable, apparently)
3827           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3828           GNU ld, because without that 'make check' fails miserably on my debian
3829           stable box.  Someone with more knowledge of linker intricacies and
3830           portability issues than me fix this properly please.
3831
3832 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
3833
3834         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3835         Reset last seen position after flushing so that we don't report the old
3836         position anymore.
3837
3838 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3839
3840         * gst/gstelementfactory.c: (gst_element_register):
3841         * gst/gsturi.h:
3842         Patch from Alessandro Decina adding get_type_full and
3843         get_protocols_full private vfuncs to the URIHandler interface
3844         to allow bindings to support creating URI handlers. 
3845         Partially fixes: #339279
3846         API: GstURIHandlerInterface::get_type_full
3847         API: GstURIHandlerInterface::get_protocols_full
3848
3849 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3850
3851         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3852         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3853         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3854         Make it so that pads are considered linked until a buffer is pushed
3855         and discovered otherwise. This avoids problems with decodebin2 hanging
3856         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3857         case.
3858
3859         Make sure we lock the multiqueue when updating the max-size properties.
3860         
3861         Fix a crash on Solaris in a debug statement in get_request_pad that
3862         passes a NULL string to GST_DEBUG. 
3863
3864         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3865         (run_output_order_test):
3866         Fix the test to allow the first buffer on not-linked pads to come out
3867         of sequence while multiqueue discovers that they are not-linked.
3868
3869 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3870
3871         * configure.ac:
3872         * libs/gst/check/Makefile.am:
3873         Use a custom export symbol regex for libgstcheck, as it needs
3874         to export symbols that don't match the standard GStreamer gst_*
3875         pattern, and  --export-dynamic is not portable (only works on 
3876         GNU ld)
3877
3878         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3879         (gst_check_setup_sink_pad):
3880         Make sure to pass a message parameter to the fail_* macros.
3881
3882         * tests/check/gst/gstinfo.c: (GST_START_TEST):
3883         Fix some compiler warnings.
3884
3885 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
3886
3887         * tests/check/gst/gststructure.c: (test_to_string):
3888           Disable test that checks that white spaces are not allowed
3889           in structure names or field names, since we need to
3890           support that for now for backwards compatibility reasons.
3891
3892 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3893
3894         * docs/gst/gstreamer-sections.txt:
3895         * gst/gsttaglist.c:
3896         * gst/gsttaglist.h:
3897           API: add GST_TAG_ARTIST_SORTNAME
3898           API: add GST_TAG_ALBUM_SORTNAME
3899           API: add GST_TAG_TITLE_SORTNAME
3900           Add tag variants for sorting (#414539).
3901
3902 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3903
3904         * gst/gststructure.c:
3905           Also allow white space for names so we don't break
3906           backwards compatibility.
3907
3908 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
3909
3910         * docs/design/part-TODO.txt:
3911         * docs/design/part-segments.txt:
3912         * docs/design/part-streams.txt:
3913         Small updates.
3914
3915 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3916
3917         * docs/gst/gstreamer-sections.txt:
3918          Fixed documentation from my previous commit (added new API add
3919          gst_value_set_structure(), add gst_value_get_structure() and
3920          GST_VALUE_HOLDS_STRUCTURE).
3921
3922 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
3923
3924         * gst/gstdebugutils.c:
3925           Reflow code to fix uninitialized variable warning.
3926
3927 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3928
3929         * gst/gstcaps.c: (gst_caps_to_string),
3930         (gst_caps_from_string_inplace):
3931         * gst/gststructure.c: (gst_structure_get_abbrs),
3932         (gst_structure_to_string), (gst_structure_from_string):
3933         * gst/gstvalue.c: (gst_value_set_structure),
3934         (gst_value_get_structure), (gst_value_serialize_structure),
3935         (gst_value_deserialize_structure), (_gst_value_initialize):
3936         * gst/gstvalue.h:
3937         * tests/check/gst/gststructure.c: (GST_START_TEST),
3938         (gst_structure_suite):
3939         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3940          Added GstStructure to gst_value_table and its related functions.
3941          Changed gst_structure_to_string to print ';' in the end.
3942          Changed gst_caps_to_string to not print ';' beteween its
3943          fields (structures) anymore and remove the lastes ';' from latest
3944          structure. Now it is possible to have nested structures.
3945          In addition, backward compatibilty is assured by accepting '\0' as
3946          end delimiter. Fixes: #487969.
3947          API: add gst_value_set_structure()
3948          API: add gst_value_get_structure()
3949          API: add GST_VALUE_HOLDS_STRUCTURE
3950
3951 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
3952
3953         * gst/gstbus.c:
3954           When no GSource callback has been set up, tell developer
3955           to use a function that actually exists.
3956
3957 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
3958
3959         * docs/gst/gstreamer-sections.txt:
3960         * gst/Makefile.am:
3961         * gst/gst.c:
3962         * gst/gst.h:
3963         * gst/gstdebugutils.c:
3964         * gst/gstdebugutils.h:
3965         * gst/gstinfo.c:
3966         * gst/gstinfo.h:
3967         * tools/gst-launch.c:
3968           Allow dumping pipelines as dot graphs. Fixes #456573.
3969
3970 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3971
3972         * gst/gststructure.c:
3973           Allow '+' as well, it can be part of media or mime types
3974           such as image/svg+xml.
3975
3976 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3977
3978         * docs/gst/gstreamer-sections.txt:
3979         * gst/gstbus.c:
3980         * gst/gstbus.h:
3981           API: add gst_bus_pop_filtered
3982           API: add gst_bus_timed_pop_filtered
3983           Two new functions for waiting for specific message types on the
3984           bus for a specified amount of time without iterating any main
3985           loops or main contexts.
3986
3987         * tests/check/gst/gstbus.c:
3988           Some tests for the new functions.
3989
3990 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3991
3992         * docs/libs/gstreamer-libs-sections.txt:
3993           Make gtk-doc ignore stuff it should ignore.
3994
3995 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3996
3997         * libs/gst/check/gstcheck.c:
3998         * libs/gst/check/gstcheck.h:
3999           Allow runtime selection of unit tests to run via the GST_CHECKS
4000           environment variable (test case function names, comma-separated).
4001
4002 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4003
4004         * gst/gststructure.c:
4005         * tests/check/gst/gststructure.c:
4006           Revert serialisation change and constrain structure-names after
4007           consensus on irc. Update api documentation to reflect the change.
4008
4009 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4010
4011         * gst/gststructure.c:
4012           Improve serialization and fix tests.
4013
4014         * tests/check/gst/gststructure.c:
4015           Add another test that covers why I actually did the previous structure
4016           change.
4017
4018 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4019
4020         * tools/gst-inspect.c: (print_element_info):
4021         Don't crash when inspecting an element.
4022
4023 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4024
4025         * tests/check/gst/gststructure.c:
4026           Add unit test for escaping of structure name when serialising
4027           and deserialising to/from strings.
4028
4029 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4030
4031         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4032         (gst_single_queue_new):
4033         * plugins/elements/gstqueue.c: (gst_queue_init),
4034         (gst_queue_push_one):
4035         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4036         upstream is tricked into thinking it can suggest a format downstream
4037         while downstream does not support that format. The real problem is that
4038         core calls acceptcaps when pushing a buffer with new caps, for which we
4039         do a little workaround by setting the caps on the srcpad ourselves
4040         before pushing the buffer (until this is figured out). Fixes #486758.
4041
4042 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4043
4044         * gst/gststructure.c:
4045         * gst/gstvalue.c:
4046           Add some more comments and debug output. Quote structure name to fix
4047           deserialisation of some strings.
4048
4049 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4050
4051         * gst/gstbuffer.h:
4052           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4053           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4054
4055 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4056
4057         * tools/gst-inspect.c:
4058           Save approx. 400 1 byte allocs when printing. Use API to acces element
4059           details.
4060
4061         * tools/gst-run.c:
4062           Avoid a strdup.
4063
4064         * tools/gst-xmlinspect.c:
4065           Use API to acces element details.
4066
4067 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4068
4069         * gst/gstinfo.c:
4070           Fix some spelling errors.
4071
4072 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4073
4074         * gst/gstbin.c: (bin_handle_async_done):
4075         Correctly set the next state if all of our async children commited their
4076         state. This makes sure we can actually cancel the state change in
4077         progress. Fixes a regression in Rhythmbox when seeking.
4078
4079 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4080
4081         * gst/gstbin.c:
4082           Don't shadow local variable.
4083
4084         * gst/gstinfo.c:
4085           Don't shadow global function name.
4086
4087 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4088
4089         * gst/gstelementfactory.c:
4090         * gst/gstpluginfeature.c:
4091         * gst/gstpluginfeature.h:
4092         * gst/gstregistrybinary.c:
4093         * gst/gstregistryxml.c:
4094         * gst/gsttypefind.c:
4095           Use already-interned string for the private GstPluginFeature
4096           plugin_name field.
4097
4098 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4099
4100         * docs/libs/gstreamer-libs-sections.txt:
4101           Add new API to docs; fixes the build.
4102
4103 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4104         
4105         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4106
4107         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4108         (gst_base_sink_event):
4109         * libs/gst/base/gstbasesink.h:
4110         Add function to wait for EOS, subclasses can use this to correctly wait
4111         for devices to drain before performing the EOS logic. Fixes #485343.
4112         API: gst_base_sink_wait_eos()
4113
4114 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4115
4116         * gst/gstplugin.h:
4117           Cast description string constants in GST_PLUGIN_DEFINE macros
4118           to a (gchar*) to make C++ code using these macros compile
4119           without warning with g++-4.2 (see #462737).  Even if slightly
4120           ugly, this seems preferable to putting the description strings
4121           into the GLib quark table or making the structure member a
4122           const gchar * and doing casts in core code that allocs and
4123           frees these strings, or requiring a cast in the C++ code.
4124
4125 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4126
4127         * gst/gstinfo.h:
4128           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4129           to print the entire class/function signature into the log
4130           file for C++ code.  This only affects C++ code, for C code
4131           everything remains the same.
4132
4133 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4134
4135         * gst/gstbin.c: (remove_from_queue):
4136         Work around a problem with pipelines containing (semi)loops until a
4137         proper, more complicated solution is ready. See #475455.
4138
4139 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4140
4141         * gst/gstplugin.c:
4142         * gst/gstplugin.h:
4143         * gst/gstregistrybinary.c:
4144         * gst/gstregistryxml.c:
4145           Put more strings into the GLib quark table. No need to keep
4146           a hundred-something copies of identical version strings,
4147           license strings, package name strings and package origin
4148           strings around. 
4149
4150 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4151
4152         * docs/manual/advanced-dataaccess.xml:
4153           Don't imply that it's okay to unconditionally change
4154           buffer data or buffer metadata in a pad probe callback,
4155           and a bunch of other comments. Fixes #430031.
4156
4157 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4158
4159         * win32/common/gstenumtypes.c:
4160         * win32/common/gstenumtypes.h:
4161         * win32/common/gstversion.h:
4162           Update generated files.
4163
4164 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4165
4166         * docs/manual/advanced-autoplugging.xml:
4167           Prefix section with broken code with a warning (see #342432).
4168
4169 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4170
4171         * docs/manual/appendix-integration.xml:
4172         * docs/manual/basics-init.xml:
4173           Call g_thread_init() before g_option_context_new() to
4174           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4175
4176 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4177
4178         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4179         (gst_base_sink_queue_object_unlocked),
4180         (gst_base_sink_queue_object), (gst_base_sink_event),
4181         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4182         When we received EOS and are waiting for when to post the EOS message,
4183         our state is prerolled and we should not return ASYNC.
4184         Reorganize some code paths to implement this behavior.
4185
4186         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4187         (gst_sinks_suite):
4188         Add unit test to verify above EOS fix.
4189
4190 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4191
4192         * plugins/elements/gsttypefindelement.c:
4193         (gst_type_find_element_have_type), (gst_type_find_element_init),
4194         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4195         Move detecting the input caps of the sinkpad to the setcaps function.
4196         This allows us to update the output caps when we receive new input caps
4197         instead of always using the first detected caps.
4198
4199 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4200
4201         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4202         (gst_base_sink_get_position):
4203         Don't try to preroll non-async elements after a flush.
4204         Subtract latency form clock times when reporting position.
4205
4206 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4207
4208         * gst/gstpad.c: (gst_pad_pause_task):
4209         * gst/gstutils.c:
4210         Small comment and documentation update.
4211
4212 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4213
4214         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4215         (gst_base_src_set_live), (gst_base_src_is_live),
4216         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4217         (gst_base_src_default_event), (gst_base_src_wait),
4218         (gst_base_src_do_sync), (gst_base_src_get_range),
4219         (gst_base_src_pad_get_range), (gst_base_src_loop),
4220         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4221         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4222         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4223         (gst_base_src_change_state):
4224         Rework the locking of basesrc in a similar fashion to basesink. We
4225         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4226         us to handle live sources and semi live ones much better.
4227         Simplify flushing.
4228         Fix unlocking when seeking, shutting down and pausing in live sources.
4229
4230 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4231
4232         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4233         Fix compilation again.
4234
4235 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4236
4237         * gst/gstelement.c:
4238           Use meaningful categories for the logs to clean the default one.
4239
4240 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4241
4242         * tests/check/pipelines/cleanup.c:
4243           Print message name and not just number.
4244
4245 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4246
4247         * docs/design/draft-tagreading.txt:
4248           Add some more thoughts.
4249
4250 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4251
4252         * tests/check/pipelines/simple-launch-lines.c:
4253           Print message name and not just number.
4254
4255 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4256
4257         * libs/gst/base/gsttypefindhelper.c:
4258           Speedup typefinding. This is work in progress (see #459862).
4259
4260 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4261
4262         * gst/gstplugin.c:
4263           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4264           Spotted by Josep Torra Valles <josep@fluendo.com>.
4265
4266 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4267
4268         * gst/gstclock.h:
4269           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4270           field has moved to GstObject.
4271
4272 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4273
4274         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4275         (gst_base_src_get_range), (gst_base_src_change_state):
4276         Call unlock for live sources so that they can't get stuck in _create and
4277         produce a buffer before they are set back to PLAYING.
4278
4279 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4280
4281         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4282         (gst_queue_locked_dequeue):
4283         Comment the segment-related code... in the PROPER function.
4284         See #482147 and my commit from yesterday.
4285
4286 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4287
4288         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4289         Also initialize the counter that calculates the first timestamp on a
4290         buffer correctly for non-live sources.
4291
4292 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4293
4294         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4295         Disable code that's breaking the current-time-level reporting.
4296         See #482147
4297
4298 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4299
4300         * docs/gst/gstreamer-sections.txt:
4301         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4302         as they shouldn't show up. Fixes the docs build.
4303
4304 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4305         
4306         * gst/gstinfo.h:
4307         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4308         Define M_PI which is used in files which are including gstinfo.h. 
4309         VS6 includes doesn't define it.
4310         * win32/common/libgstbase.def:
4311         * win32/common/libgstcontroller.def:
4312         * win32/common/libgstreamer.def:
4313         Add new exported functions and variables.
4314         * win32/vs6/libgstcontroller.dsp:
4315         * win32/vs6/libgstreamer.dsp:
4316         Update the list of files to build.
4317         
4318 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4319
4320         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4321
4322         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4323         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4324         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4325         Improve debugging. Fixes #480858.
4326
4327 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4328
4329         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4330
4331         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4332         First patch of code cleanups, use the macros and right arguments in the
4333         macros to signal and lock the queue. See #480858.
4334
4335 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4336
4337         * gst/gstbus.c: (poll_func):
4338         Improve debugging when dealing with _poll().
4339
4340 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4341
4342         * gst/gstregistryxml.c:
4343           Fix memory leak I introduced a few days ago.
4344
4345 2007-09-26  Michael Smith <msmith@fluendo.com>
4346
4347         * gst/gstbuffer.c: (gst_buffer_finalize):
4348           Make it once again possible to free GstBuffers in the default
4349           build.
4350           The poisoning scribbles on parts of the miniobject we need in
4351           order to free it.
4352           Fixes #480341
4353
4354 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4355
4356         * docs/gst/gstreamer-sections.txt:
4357         * gst/gsttaglist.c:
4358         * gst/gsttaglist.h:
4359         API: add GST_TAG_COMPOSER, fixes #459809.
4360
4361 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4362
4363         * gst/gstplugin.c:
4364         * gst/gstplugin.h:
4365         Add the 3-clause BSD license and the MIT/X11 license to the license
4366         list. Fixes #479784.
4367
4368 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4369
4370         * docs/faq/getting.xml:
4371           Add Q+A about different GStreamer versions (#364056).
4372
4373 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4374
4375         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4376         (gst_base_sink_event), (gst_base_sink_change_state):
4377         Return correct gboolean from query function.
4378
4379 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4380
4381         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4382         (gst_base_sink_event), (gst_base_sink_query),
4383         (gst_base_sink_change_state):
4384         Simplify latency query.
4385         When not synchronizing, we can report latency without querying the peer
4386         element.
4387
4388 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4389
4390         * gst/gstobject.h:
4391         * gst/gstvalue.c:
4392         Fix small typos in the docs.
4393
4394 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4395
4396         * docs/design/draft-latency.txt:
4397         * docs/design/draft-push-pull.txt:
4398         * docs/design/draft-tagreading.txt:
4399         * docs/design/part-MT-refcounting.txt:
4400         * docs/design/part-activation.txt:
4401         * docs/design/part-block.txt:
4402         * docs/design/part-element-source.txt:
4403         * docs/design/part-events.txt:
4404         * docs/design/part-gstbin.txt:
4405         * docs/design/part-gstelement.txt:
4406         * docs/design/part-gstobject.txt:
4407         * docs/design/part-gstpipeline.txt:
4408         * docs/design/part-messages.txt:
4409         * docs/design/part-preroll.txt:
4410         * docs/design/part-push-pull.txt:
4411         * docs/design/part-qos.txt:
4412         * docs/design/part-query.txt:
4413         * docs/design/part-scheduling.txt:
4414         * docs/design/part-seeking.txt:
4415         * docs/design/part-segments.txt:
4416         * docs/design/part-states.txt:
4417         Documentation updates and typo fixes.
4418
4419 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4420
4421         * plugins/elements/gstfakesink.c:
4422           Add some debug text to error message to indicate that
4423           we errored out on request.
4424
4425         * tools/gst-launch.c:
4426           When the state change to PLAYING fails, check for an
4427           error message on the bus and print it.
4428
4429 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4430
4431         translated by: Jorge González González <aloriel@gmail.com>
4432
4433         * po/LINGUAS:
4434         * po/es.po:
4435           Added Spanish translation.
4436
4437 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4438
4439         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4440         Fix printf arguments.
4441
4442 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4443
4444         * tests/check/generic/states.c:
4445           Improved state change unit test.
4446
4447 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4448
4449         * gst/gstbin.h:
4450           Move priv to the right place.
4451
4452         * gst/gstsystemclock.c:
4453           Add FIXME: and improve log.
4454
4455         * tests/check/Makefile.am:
4456         * tests/examples/manual/Makefile.am:
4457           Work with all types of registries.
4458
4459 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4460
4461         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4462         Don't unref the event after pushing it. Fixes #478401.
4463
4464 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4465
4466         * .cvsignore:
4467         * tests/examples/manual/.cvsignore:
4468           Ignore registries in any format.
4469
4470 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4471
4472         * gst/glib-compat-private.h:
4473           Add compatibility macro for g_intern_string() for
4474           GLib-2.8 (any reason we can't just bump the
4475           requirement to at least 2.10?)
4476
4477         * gst/gstpadtemplate.h:
4478         * gst/gstelementfactory.c:
4479         * gst/gstregistryxml.c:
4480         * gst/gstregistrybinary.c:
4481           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4482           up the internal code accordingly.  This shouldn't be a problem, since
4483           there is no reason external code could ever assume the string in such
4484           a structure is dynamically allocated unless it did that itself;  the
4485           use of g_strdup() is private to element factories.  The new code also
4486           saves some memory by putting pad template name strings into the GLib
4487           quark table instead of allocating them dynamically.
4488           Declaring this field constant fixes warnings with g++-4.2 when using
4489           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4490
4491 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4492
4493         * gst/gstelementfactory.c:
4494           Release static caps. Fixes #475723.
4495
4496 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4497
4498         * gst/gstinfo.c:
4499         * gst/gstinfo.h:
4500           Make some internal API take const gchar * instead of just
4501           gchar * to avoid compiler warnings with g++-4.2.2 when
4502           passing string constants (partially fixes #478092).
4503
4504 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4505
4506         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4507         A latency query fails when one of the sinks fail.
4508
4509         * gst/gstelement.c: (gst_element_set_base_time):
4510         Improve debugging.
4511
4512 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4513
4514         * gst/gstbin.c: (gst_bin_continue_func):
4515         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4516         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4517         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4518
4519         Fix minor compilation warnings shown with Forte.
4520
4521 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4522
4523         * plugins/elements/gstqueue.c: (apply_buffer),
4524         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4525         Measure queue level based on the diff between head and tail timestamps
4526         even when pushing the first buffer.
4527
4528 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4529
4530         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4531         (gst_base_sink_event), (gst_base_sink_change_state):
4532         Sinks that don't preroll can always be queried for the latency.
4533         Don't post ASYNC start when we are not async.
4534
4535 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4536
4537         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4538         (gst_queue_handle_sink_event), (gst_queue_chain),
4539         (gst_queue_push_one), (gst_queue_handle_src_query),
4540         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4541         * plugins/elements/gstqueue.h:
4542         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4543         push more buffers but allow pushing of EOS and NEWSEGMENT.
4544         Add some more debug info here and there. Fixes #476514.
4545
4546 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4547
4548         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4549         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4550         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4551         (gst_base_sink_set_flushing), (gst_base_sink_query),
4552         (gst_base_sink_change_state):
4553         Latency query is allowed after we are prerolled. Introduce a new flag
4554         for this and stop abusing other variables.
4555
4556 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4557
4558         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4559         Push OOB events downstream when we get them in send_event. This allows
4560         the application to insert events in the pipeline.
4561         Add some more comments.
4562
4563 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4564
4565         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4566         (do_bin_latency), (gst_bin_change_state_func):
4567         * gst/gstpipeline.c: (gst_pipeline_change_state):
4568         Move latency query from GstPipeline to GstBin so that we can also
4569         use it when async-handling is enabled on bins.
4570
4571 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4572
4573         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4574         (gst_base_src_do_sync), (gst_base_src_change_state):
4575         Update docs.
4576         Clean up the timestamping and syncing code for pseudo live sources.
4577
4578 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4579
4580         Patch by: Steve Fink  <sphink gmail com>
4581
4582         * docs/manual/appendix-checklist.xml:
4583           Mention less -R switch in the section about debug output (#474055).
4584
4585 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4586
4587         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4588         Queue can latency to the pipeline up to the configured max size in time.
4589         Report this fact in the latency query.
4590
4591 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4592
4593         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4594
4595         * libs/gst/controller/gstinterpolation.c:
4596         * libs/gst/controller/gstlfocontrolsource.c:
4597         Use gst_guint64_to_gdouble() when converting from a uint64 or
4598         GstClockTime to double to fix the build on win32. Fixes #474371.
4599
4600 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4601
4602         * gst/gstbuffer.c: (gst_buffer_finalize):
4603         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4604         When finalizing a buffer the complete struct is filled with 0xff,
4605         thus making a use of the buffer after the final unref impossible.
4606
4607 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4608
4609         * tests/check/libs/controller.c: (GST_START_TEST):
4610         Use fail_unless_equals_int(a, b) instead of
4611         fail_unless_equals (a == b) to get better output on failures.
4612
4613 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4614
4615         * tests/check/gst/gsturi.c:
4616           Also check for the other file URI variant on win32.
4617
4618 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4619
4620         * gst/gsturi.c: (gst_uri_get_location):
4621           If there's no hostname, we want to return 'c:/foo/bar.txt'
4622           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4623
4624         * tests/check/gst/gsturi.c:
4625           Unit test for the above and a few more things.
4626
4627 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4628
4629         * docs/design/part-live-source.txt:
4630         Add docs on how live sources should timestamp.
4631
4632         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4633         Add some more debug info.
4634         For subclasses that are live and like to sync, add aditional startup
4635         latency to sync time and timestamps so that we timstamp according to the
4636         design doc.
4637
4638 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4639
4640         * gst/gstbuffer.c:
4641           Also do a g_type_class_ref() for the subbuffer type in
4642           the init function.
4643
4644 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4645
4646         * docs/gst/gstreamer-sections.txt:
4647         * gst/gstpad.c: (gst_pad_peer_query):
4648         * gst/gstpad.h:
4649         Add function to perform a query on the peer of a pad.
4650         API: gst_pad_peer_query()
4651
4652 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4653
4654         * tests/check/gst/gstsystemclock.c:
4655           Cleanup the test a little (use gst-logging and not g_message). Improve
4656           test to check if a wait reached the target.
4657
4658 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4659
4660         * docs/libs/gstreamer-libs-sections.txt:
4661           Add new API to docs and fix the build.
4662
4663 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
4664
4665         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4666         (gst_base_src_init), (gst_base_src_set_do_timestamp),
4667         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4668         (gst_base_src_get_property), (gst_base_src_do_sync):
4669         * libs/gst/base/gstbasesrc.h:
4670         Add property to make the basesrc timestamp buffers based on the current
4671         running time.
4672         API: GstBaseSrc::do-timestamp
4673         API: gst_base_src_set_do_timestamp()
4674         API: gst_base_src_get_do_timestamp()
4675
4676 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
4677
4678         * docs/random/release:
4679           Really make sure translations are up-to-date before
4680           a release (#465010).
4681
4682 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
4683
4684         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4685         Always destroy the timer, also in error cases.
4686
4687 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4688
4689         * docs/manual/highlevel-xml.xml:
4690         Fix XML example code. Fixes #472714.
4691
4692 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4693
4694         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4695         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4696         (gst_base_sink_query):
4697         Protect eos and have_preroll with the OBJECT lock so we don't need to
4698         take the PREROLL lock when querying the latency. Fixes #473846.
4699
4700 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
4701
4702         * gst/gstelement.c:
4703           Give some log-messages a category.
4704
4705 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
4706
4707         * gst/gststructure.c:
4708         (gst_structure_fixate_field_nearest_fraction):
4709         Fix fraction list fixation code. Take the fraction with the smallest
4710         difference with the target instead of the first one in the list.
4711
4712         * tests/check/gst/gststructure.c: (GST_START_TEST),
4713         (gst_structure_suite):
4714         Added test to verify correct fraction list fixation behaviour.
4715
4716 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
4717
4718         * win32/common/libgstreamer.def:
4719           Export gst_bus_add_signal_watch too.
4720
4721 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
4722
4723         * docs/libs/gstreamer-libs-sections.txt:
4724         Add new methods to docs.
4725
4726         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4727         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4728         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4729         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4730         * libs/gst/base/gstbasesink.h:
4731         Add ts-offset property to fine-tune the synchronisation.
4732         API: GstBaseSink::ts-offset property
4733         API: gst_base_sink_set_ts_offset()
4734         API: gst_base_sink_get_ts_offset()
4735
4736 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
4737
4738         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4739         (gst_base_sink_init), (gst_base_sink_set_sync),
4740         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4741         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4742         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4743         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4744         (gst_base_sink_get_property), (gst_base_sink_change_state):
4745         * libs/gst/base/gstbasesink.h:
4746         Add async property to instruct the sink never to inform the parent about
4747         ASYNC state changes, update docs.
4748         Check argument with g_return_* for the public functions.
4749         API: GstBaseSink::async property
4750         API: gst_base_sink_set_async_enabled()
4751         API: gst_base_sink_is_async_enabled()
4752
4753 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
4754
4755         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4756         Improve debugging.
4757
4758         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4759         (gst_base_src_default_query), (gst_base_src_wait),
4760         (gst_base_src_do_sync), (gst_base_src_change_state):
4761         Rearrange some code so that we can add support for measuring the 
4762         startup latency.
4763
4764 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
4765
4766         * docs/random/ensonic/dynlink.txt:
4767           More thoughs on this.
4768
4769         * plugins/elements/gstcapsfilter.c:
4770           Add bugzilla ticket number to FIXME comment.
4771
4772 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
4773
4774         * docs/design/part-TODO.txt:
4775         * docs/design/part-block.txt:
4776         Update some docs.
4777
4778 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4779
4780         * gst/Makefile.am:
4781           Revert patch which uses $(gst_headers) instead of $^ because it
4782           breaks make dist.
4783
4784 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4785
4786         * tests/check/gst/gstbin.c: (GST_START_TEST):
4787           Fix leaks in the new unit test.
4788
4789 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
4790
4791         * gst/gst.c:
4792           Don't use GST_INFO before the debug system is actually initialised
4793           (shouldn't do any harm, but won't print anything either, so we can
4794           just as well remove it).
4795
4796         * gst/gstinfo.h:
4797           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4798           compilers that don't support variadic macros (such as MSVC), should
4799           check for debug_level <= __gst_debug_min as well, since that's the
4800           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4801           inline helper functions. Should improve performance a bit, but also
4802           makes sure uses of GST_INFO et.al are ignored if the debugging
4803           system isn't initialised yet (instead of printing an assertion
4804           failure).
4805
4806 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
4807
4808         patch by: David Nečas <yeti@physics.muni.cz>
4809
4810         * gst/Makefile.am:
4811           Replace some non portable makefile constructs.
4812
4813 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
4814
4815         * common/gtk-doc-plugins.mak:
4816           Grrrrr. Don't remove the types file on make clean.
4817
4818 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
4819
4820         * tools/gst-launch.1.in:
4821         Add colorspace to example pipeline. Fixes #458274.
4822
4823 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
4824
4825         * docs/random/release:
4826           The release manager should run 'make download-po' before making a
4827           release to make sure translations are up-to-date.
4828
4829         * po/LINGUAS:
4830         * po/be.po:
4831         * po/pl.po:
4832         * po/rw.po:
4833           Add some new translations.
4834
4835 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
4836
4837         * tools/gst-launch.c: (event_loop), (main):
4838         Don´t try to do any state management when a live pipeline posts
4839         buffering messages.
4840         Also make the buffering string translatable.
4841
4842 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4843
4844         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4845         (bin_handle_async_start), (gst_bin_handle_message_func):
4846         Improve debugging.
4847         When adding elements, insert messages into the bus of the newly added
4848         element and make sure the element is the source of the message. This
4849         allows the parent bin to intercept the message and do the
4850         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4851         messages to the app (which is not allowed).
4852         Update some docs.
4853
4854         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4855         Fix testsuite so that is does not work around messages that should not
4856         have been posted in the first place.
4857
4858 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4859
4860         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4861         (update_degree), (gst_bin_sort_iterator_next):
4862         Fix annoying bug in the sorted iterator where a sink that is not really
4863         a sink (when it has downstream links) screwed up the iterator.
4864
4865         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4866         Unit test to verify the fix.
4867
4868 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4869
4870         * gst/gstmessage.h:
4871         Add some more docs for the messages.
4872
4873         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4874         (gst_base_sink_query):
4875         Add some more debugging.
4876
4877         * tools/gst-launch.c: (event_loop):
4878         When interrupting, don't try to set pipeline to PAUSED twice.
4879
4880 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4881
4882         
4883         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4884         (bin_handle_async_start), (gst_bin_handle_message_func):
4885         Move ASYNC_START message posting to where it belongs, similar to
4886         async_done. 
4887         Don't post ASYNC_START when we are in error. 
4888         Post ASYNC_START when we added an async element to a bin.
4889
4890 2007-08-14  Julien MOUTTE  <julien@moutte.net>
4891
4892         * gst/gstindex.c: (gst_index_add_association): Fix index entry
4893         generation from vargs. Fixes #466595.
4894
4895 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4896
4897         * gst/gstbin.c: (gst_bin_element_set_state):
4898         Always change the state of a NO_PREROLL element even if it has ASYNC
4899         elements inside (in case of a bin).
4900
4901         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4902         Unit test for this case.
4903
4904 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
4905
4906         * libs/gst/check/gstbufferstraw.c:
4907         * libs/gst/check/gstcheck.h:
4908         * libs/gst/controller/gstcontroller.c:
4909         * libs/gst/controller/gstcontrolsource.h:
4910         * libs/gst/controller/gstlfocontrolsource.h:
4911         * plugins/elements/gstcapsfilter.h:
4912         * plugins/elements/gstfdsink.h:
4913         * plugins/elements/gstfdsrc.h:
4914           Add more missing docs.
4915
4916 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4917
4918         * gst/gststructure.c:
4919         Add Since tag to docs.
4920
4921 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4922
4923         * docs/gst/gstreamer-sections.txt:
4924         * gst/gststructure.c: (gst_structure_get_uint):
4925         * gst/gststructure.h:
4926         Add function to get uint from a structure.
4927         API: gst_structure_get_uint()
4928
4929 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4930
4931         * gst/gstcaps.c: (gst_caps_set_simple_valist),
4932         (gst_caps_intersect):
4933         Fix proper check for simple caps.
4934
4935 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
4936
4937         * docs/gst/Makefile.am:
4938         * docs/libs/Makefile.am:
4939           Remove cruft and do some cleanups.
4940
4941         * docs/gst/gstreamer-docs.sgml:
4942         * docs/libs/gstreamer-libs-docs.sgml:
4943           Prepare for comming gtkdoc features (rebase against online docs).
4944
4945 2007-08-10  Michael Smith <msmith@fluendo.com>
4946
4947         * docs/gst/gstreamer-sections.txt:
4948           Add gst_registry_add_path to docs.
4949
4950 2007-08-10  Michael Smith <msmith@fluendo.com>
4951
4952         * gst/gstregistry.h:
4953           Add gst_registry_add_path, which was missing from this header.
4954
4955 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
4956
4957         * libs/gst/controller/gstlfocontrolsource.c:
4958           Printf format fix.
4959
4960 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
4961
4962         * libs/gst/base/gstbasesink.c:
4963           Don't send an async_start message during downwards state change if 
4964           target state is less than READY
4965
4966 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4967
4968         translated by: Gabor Kelemen <kelemeng@gnome.hu>
4969
4970         * po/LINGUAS:
4971         * po/hu.po:
4972           Added Hungarian translation.
4973
4974 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4975
4976         * po/fi.po:
4977         * po/it.po:
4978         * po/nl.po:
4979         * po/sv.po:
4980         * po/uk.po:
4981           Updated translations.
4982
4983 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
4984
4985         * libs/gst/controller/Makefile.am:
4986         Dist gstlfocontrolsourceprivate.h
4987
4988 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
4989
4990         * docs/libs/gstreamer-libs.types:
4991         Don't register the enum type gst_lfo_waveform_get_type() in the
4992         .types file - only GObject derived types belong.
4993
4994 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
4995
4996         Patch by: <arenevier at fdn dot fr>
4997
4998         * gst/gstbuffer.h:
4999         Remove comma from last element in enum to avoid compile errors when
5000         using -pendantic. Fixes #464366.
5001
5002 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5003
5004         * docs/design/part-TODO.txt:
5005         Add some more TODO items
5006
5007         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5008         Improve debugging.
5009
5010         * gst/gstcaps.c: (gst_caps_intersect):
5011         Optimize trivial intersection case between identical caps pointers.
5012
5013         * gst/gstelement.c: (gst_element_continue_state),
5014         (gst_element_set_state_func):
5015         * gst/gstpad.c:
5016         Fix spelling and grammar mistakes.
5017
5018 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5019
5020         * po/POTFILES.in:
5021         * po/POTFILES.skip:
5022           Update POTFILES. Fixes #461599.
5023
5024 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5025
5026         * gst/gst.c:
5027         Fix confusing typo in debug output.
5028
5029 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5030
5031         reviewed by: Stefan Kost <ensonic@users.sf.net>
5032
5033         * libs/gst/controller/Makefile.am:
5034         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5035         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5036         (gst_lfo_control_source_new),
5037         (gst_lfo_control_source_set_waveform),
5038         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5039         (gst_lfo_control_source_finalize),
5040         (gst_lfo_control_source_dispose),
5041         (gst_lfo_control_source_set_property),
5042         (gst_lfo_control_source_get_property),
5043         (gst_lfo_control_source_class_init):
5044         * libs/gst/controller/gstlfocontrolsource.h:
5045         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5046         API: Add GstLFOControlSource, a control source that gives values
5047         for specific timestamps based on several periodic waveforms.
5048         Fixes #459717.
5049
5050         * tests/check/libs/controller.c: (GST_START_TEST),
5051         (gst_controller_suite):
5052         * docs/libs/gstreamer-libs-docs.sgml:
5053         * docs/libs/gstreamer-libs-sections.txt:
5054         * docs/libs/gstreamer-libs.types:
5055         Add documentation and unit tests for GstLFOControlSource.
5056
5057 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5058
5059         * configure.ac:
5060         Back to CVS
5061
5062 === release 0.10.14 ===
5063
5064 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5065
5066         * configure.ac:
5067           releasing 0.10.14, "Breathing Vacuum"
5068
5069 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5070
5071         * gst/gstelement.c: (gst_element_class_set_details_simple):
5072         * gst/gstelement.h:
5073           Make strings passed to gst_element_class_set_details_simple()
5074           constant, as they should be (#462752).
5075
5076 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5077
5078         * gst/gstbin.c: (gst_bin_change_state_func),
5079         (bin_handle_async_done), (gst_bin_handle_message_func):
5080         Don't forget about the fact that some element went ASYNC even after a
5081         resync. This makes us post the ASYNC_DONE message correctly.
5082         Fixes #462558.
5083
5084 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5085
5086         * gst/gstregistry.c: (gst_registry_add_feature):
5087         When replacing an existing feature in the registry, make sure to
5088         continue holding a reference until we've replaced the name string
5089         within our feature hash table. Make sure to use g_hash_table_replace
5090         instead of g_hash_table_insert to ensure the new name string is used
5091         as a key instead of the old one that we're about to free.
5092         Fixes: #462085
5093
5094 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5095
5096         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5097         (gst_plugin_feature_set_name):
5098         Revert patch from #459466 until after the release and we can work
5099         out exactly what the problem is (if any).
5100
5101 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5102
5103         * docs/gst/gstreamer-sections.txt:
5104         * gst/gsttaglist.c:
5105         * gst/gsttaglist.h:
5106           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5107
5108 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5109
5110         * docs/libs/Makefile.am:
5111         Include our build-prefix libs and includes before the generic ones to
5112         avoid linking against the installed libs when we want the build-tree
5113         ones.
5114
5115 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5116
5117         Patch by: Steve Fink  <sphink gmail com>
5118
5119         * docs/pwg/building-testapp.xml:
5120           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5121           if people try to build or install the example from the plugin
5122           template against a GStreamer from package using the configure
5123           defaults.
5124
5125 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5126
5127         Patch by: Steve Fink  <sphink gmail com>
5128
5129         * tools/gst-inspect.1.in:
5130           Document --print-all and --print-plugin-auto-install-info command
5131           line options in man page.
5132
5133 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5134
5135         * docs/gst/gstreamer-sections.txt:
5136         Add docs for new api function.
5137
5138 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5139
5140         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5141         * gst/gstelementfactory.h:
5142         API: gst_element_factory_has_interface()
5143         Added method to check if an element factory implements a named
5144         interface.
5145
5146 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5147
5148         * configure.ac:
5149         * docs/gst/gstreamer.types.in:
5150           Another conditional doc check.
5151
5152         * gst/gstmessage.c:
5153         * gst/gstparamspecs.h:
5154         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5155         * gst/gstvalue.c:
5156         * gst/gstxml.h:
5157           API-doc fixes.
5158
5159 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5160
5161         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5162         (gst_registry_binary_load_feature),
5163         (gst_registry_binary_load_plugin),
5164         (gst_registry_binary_read_cache):
5165           Print error just once and with additional info.
5166
5167 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5168
5169         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5170         (helper_find_suggest), (helper_find_get_length),
5171         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5172         (gst_type_find_helper_for_buffer):
5173           Cleanup the typefindhelper code and add private doc comments.
5174
5175 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5176
5177         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5178         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5179         Fix capsfilter for cases where the caps set on capsfilter will provide
5180         additional information.
5181         Fixes #449197
5182
5183 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5184
5185         * gst/gsttypefindfactory.c:
5186           Fix docs that recommened wrong function to use.
5187
5188 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5189
5190         * tools/gst-inspect.c: (print_plugin_features):
5191           Also give media-type for typefinders in element output.
5192
5193 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5194
5195         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5196         (gst_registry_remove_features_for_plugin_unlocked),
5197         (gst_registry_add_feature), (gst_registry_remove_feature),
5198         (gst_registry_lookup_feature_locked):
5199         * gst/gstregistry.h:
5200           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5201           Fixes #459501.
5202
5203 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5204
5205         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5206         (gst_plugin_feature_set_name):
5207           Avoid double memory usage for pluginfeature names. Fixes #459466.
5208
5209 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5210
5211         * gst/gstpad.h:
5212           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5213           driving the pipeline may need to explicitly check for NOT_LINKED as
5214           well, since IS_FATAL doesn't cover that.
5215
5216 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5217
5218         * docs/pwg/advanced-types.xml:
5219           Fix typo and duplicate entry in video formats list.
5220
5221 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5222
5223         * libs/gst/controller/gstinterpolation.c:
5224         Also round to the nearest int when using cubic interpolation.
5225
5226 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5227
5228         * libs/gst/controller/gstinterpolation.c:
5229         When linearly interpolating integer types, round to the nearest int
5230         by adding 0.5. Don't do it for float/double types.
5231         Fixes the failing controller test on my machine, which is somehow
5232         rounding differently than on the buildbots.
5233
5234 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5235
5236         * tools/gst-plot-timeline.py:
5237           Better log parsing (categories can have -). Adjust text vs. lines, so
5238           that they span the same y-range.        
5239
5240 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5241
5242         * docs/random/ensonic/audiobaseclasses.txt:
5243         * docs/random/ensonic/dynlink.txt:
5244         * docs/random/ensonic/profiling.txt:
5245           Save my thoughts.
5246
5247         * docs/random/moving-plugins:
5248           Add note to use g_assert type macros.
5249
5250 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5251
5252         * configure.ac:
5253         * libs/gst/check/Makefile.am:
5254           Add libm check as we use in for plugins.
5255
5256 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5257
5258         * gst/gstbin.c: (gst_bin_continue_func):
5259         Check that the state_cookie hasn't changed since the continue_func
5260         was scheduled. Avoids problems where the state changes back to
5261         something it shouldn't be because it was changed in the meantime.
5262
5263 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5264
5265         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5266         (gst_registry_binary_save_string),
5267         (gst_registry_binary_save_pad_template),
5268         (gst_registry_binary_save_feature),
5269         (gst_registry_binary_save_plugin),
5270         (gst_registry_binary_load_feature),
5271         (gst_registry_binary_load_plugin),
5272         (gst_registry_binary_read_cache):
5273           Fix memory leak. Be less verbose in the log.
5274
5275 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5276
5277         * tests/check/elements/.cvsignore:
5278         Add file to cvsignore as commanded.
5279
5280 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5281
5282         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5283         (mq_dummypad_event), (run_output_order_test):
5284         Use a GStaticMutex to protect all cases where libcheck
5285         fail_if/fail_unless macros might be called from multiple threads
5286         simultaneously to avoid errors like:
5287           "check_pack.c:107: :-1081725400:Bad message type arg"
5288
5289 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5290
5291         * tests/check/pipelines/stress.c: (GST_START_TEST):
5292         Make sure we set the pipeline back to the NULL state before
5293         dropping our final reference.
5294
5295 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5296
5297         * tests/check/elements/tee.c: (GST_START_TEST):
5298         Make the tee stress-test a little less stressful so it doesn't just
5299         time out on slow-machines, and remove a small race when it's starting 
5300         up by adding a get_state() call.
5301
5302 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5303
5304         * gst/gst.c:
5305           Avoid reading registry twice on startup. Fixes #457322.
5306
5307 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5308
5309         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5310         * pkgconfig/gstreamer-check.pc.in:
5311         Substitute the CFLAGS for libcheck into our .pc file too so that
5312         dependent modules will pick it up properly if libcheck is installed
5313         into some other prefix.
5314
5315 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5316
5317         * configure.ac:
5318         Revert the pkg-config check for libcheck, since it pulls in the
5319         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5320         a proper solution, either from the check project, or something else.
5321
5322 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5323
5324         * configure.ac:
5325           Use pkg-config to locate check.
5326
5327 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5328
5329         * gst/gsttaglist.c:
5330           Fix doc syntax.
5331
5332         * gst/gstutils.c:
5333         * gst/gstutils.h:
5334           Add deprecation guards.
5335
5336         * libs/gst/base/gstcollectpads.h:
5337           Don't document object (this is implicitly private).
5338
5339 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5340
5341         * gst/gststructure.c: (gst_structure_parse_value):
5342           When deserialising foo=bar without a type cast, check if it's a
5343           boolean before falling back to a string type, otherwise things like
5344           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5345           because the filtercaps end up having a signed=(string)true field,
5346           which causes problems later when intersection caps.
5347
5348         * tests/check/gst/gststructure.c: (GST_START_TEST):
5349           Add a unit test for this.
5350
5351 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5352
5353         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5354
5355         * libs/gst/controller/Makefile.am:
5356         * libs/gst/controller/gstcontroller.c:
5357         (gst_controlled_property_add_interpolation_control_source),
5358         (gst_controlled_property_new), (gst_controlled_property_free),
5359         (gst_controller_find_controlled_property),
5360         (gst_controller_new_valist), (gst_controller_new_list),
5361         (gst_controller_new), (gst_controller_remove_properties_valist),
5362         (gst_controller_remove_properties_list),
5363         (gst_controller_remove_properties),
5364         (gst_controller_set_property_disabled),
5365         (gst_controller_set_disabled), (gst_controller_set_control_source),
5366         (gst_controller_get_control_source), (gst_controller_get),
5367         (gst_controller_sync_values), (gst_controller_get_value_array),
5368         (_gst_controller_dispose), (gst_controller_get_type),
5369         (gst_controlled_property_set_interpolation_mode),
5370         (gst_controller_set), (gst_controller_set_from_list),
5371         (gst_controller_unset), (gst_controller_unset_all),
5372         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5373         * libs/gst/controller/gstcontroller.h:
5374         * libs/gst/controller/gstcontrollerprivate.h:
5375         * libs/gst/controller/gstcontrolsource.c:
5376         (gst_control_source_class_init), (gst_control_source_init),
5377         (gst_control_source_get_value),
5378         (gst_control_source_get_value_array), (gst_control_source_bind):
5379         * libs/gst/controller/gstcontrolsource.h:
5380         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5381         (gst_object_get_control_source):
5382         * libs/gst/controller/gstinterpolation.c:
5383         (gst_interpolation_control_source_find_control_point_node),
5384         (gst_interpolation_control_source_get_first_value),
5385         (_interpolate_none_get), (interpolate_none_get),
5386         (interpolate_none_get_boolean_value_array),
5387         (interpolate_none_get_enum_value_array),
5388         (interpolate_none_get_string_value_array),
5389         (_interpolate_trigger_get), (interpolate_trigger_get),
5390         (interpolate_trigger_get_boolean_value_array),
5391         (interpolate_trigger_get_enum_value_array),
5392         (interpolate_trigger_get_string_value_array):
5393         * libs/gst/controller/gstinterpolationcontrolsource.c:
5394         (gst_control_point_free), (gst_interpolation_control_source_reset),
5395         (gst_interpolation_control_source_new),
5396         (gst_interpolation_control_source_set_interpolation_mode),
5397         (gst_interpolation_control_source_bind),
5398         (gst_control_point_compare), (gst_control_point_find),
5399         (gst_interpolation_control_source_set_internal),
5400         (gst_interpolation_control_source_set),
5401         (gst_interpolation_control_source_set_from_list),
5402         (gst_interpolation_control_source_unset),
5403         (gst_interpolation_control_source_unset_all),
5404         (gst_interpolation_control_source_get_all),
5405         (gst_interpolation_control_source_get_count),
5406         (gst_interpolation_control_source_init),
5407         (gst_interpolation_control_source_finalize),
5408         (gst_interpolation_control_source_dispose),
5409         (gst_interpolation_control_source_class_init):
5410         * libs/gst/controller/gstinterpolationcontrolsource.h:
5411         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5412         API: Refactor GstController into the core controller which can take
5413         a GstControlSource for providing actual values for timestamps.
5414         Implement a interpolation control source and use this for backward
5415         compatibility, deprecate a bunch of functions that are now handled
5416         by GstControlSource or GstInterpolationControlSource.
5417         Make it possible to disable the controller completely or only for
5418         specific properties. Fixes #450711.
5419         * docs/libs/gstreamer-libs-docs.sgml:
5420         * docs/libs/gstreamer-libs-sections.txt:
5421         * docs/libs/gstreamer-libs.types:
5422         Add new functions and classes to the docs.
5423         * tests/check/libs/controller.c: (GST_START_TEST),
5424         (gst_controller_suite):
5425         * tests/examples/controller/audio-example.c: (main):
5426         Port unit test and example to the new API and add some new
5427         unit tests.
5428
5429 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5430
5431         Patch by: Mark Nauwelaerts <manauw at skynet be>
5432
5433         * plugins/elements/gstmultiqueue.c:
5434         (gst_multi_queue_get_internal_links), (apply_buffer),
5435         (single_queue_overrun_cb), (gst_single_queue_new):
5436         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5437         the pipeline layout can be tracked correctly. Fixes #453732.
5438
5439 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5440
5441         * docs/gst/Makefile.am:
5442         * docs/libs/Makefile.am:
5443         * docs/plugins/Makefile.am:
5444           Simplify --extra-dir as gtkdoc scans recursively.
5445
5446 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5447
5448         * tools/gst-launch.c: (main):
5449         When we got an error, there is no point in waiting for preroll when
5450         shutting down.
5451
5452 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5453
5454         * plugins/elements/gsttee.c: (gst_tee_base_init),
5455         (gst_tee_request_new_pad), (gst_tee_release_pad),
5456         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5457         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5458         (gst_tee_chain):
5459         Be a lot smarter when deciding what srcpad to use for proxying
5460         the buffer_alloc. Also handle pad added/removed when doing so.
5461         Fixes #357959.
5462         Keep track of what pads we already pushed on in case we have pads
5463         added/removed while pushing. Fixes #374639 
5464
5465         * tests/check/Makefile.am:
5466         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5467         (tee_suite):
5468         Added unit test for pad resync.
5469
5470 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5471
5472         * po/nl.po:
5473         * po/sv.po:
5474           Updated translations.
5475
5476 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5477
5478         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5479
5480         * po/LINGUAS:
5481         * po/fi.po:
5482           Added new Finnish translation.
5483
5484 2007-06-28  Wim Taymans  <wim@fluendo.com>
5485
5486         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5487         (single_queue_overrun_cb):
5488         When figuring out when a queue is filled, use our internal time estimate
5489         based on segments, just like check_full does.
5490
5491 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5492
5493         * gst/gstminiobject.c: (gst_mini_object_get_type):
5494           Remove 3 do-nothing methods.
5495
5496 2007-06-27  Wim Taymans  <wim@fluendo.com>
5497
5498         Patch by: Tim Angus <tim at ngus dot net>
5499
5500         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5501         (gst_capsfilter_set_property):
5502         Take a reference instead of a copy when setting "caps".
5503         Fix documentation to clarify this behaviour. Fixes #449414.
5504
5505 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5506
5507         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5508         * gst/gstplugin.c: (gst_plugin_init):
5509         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5510         * gst/gstquery.c: (gst_query_get_type):
5511         * gst/gstregistry.c: (gst_registry_init):
5512         * gst/gsturi.c: (gst_uri_handler_base_init):
5513           Remove empty instance_init() functions to save relocs and lessen the
5514           noise. Remove some of the function prototypes that are doubled by
5515           G_DEFINE_TYPE.
5516           
5517 2007-06-27  Wim Taymans  <wim@fluendo.com>
5518
5519         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5520
5521         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5522         Add peer and direction in the XML serialisation of ghostpads.
5523         Fixes #449226.
5524
5525 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5526
5527         * configure.ac:
5528           Preserve useful information, thanks Tim.
5529
5530 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5531
5532         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5533         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5534         (gst_single_queue_push_one), (gst_multi_queue_loop),
5535         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5536         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5537         (compute_high_id), (gst_single_queue_new):
5538         * plugins/elements/gstmultiqueue.h:
5539         Take the multiqueue lock when updating the fill level so we don't get
5540         confused. 
5541
5542         After applying a buffer or event on the src pad segment, make sure to
5543         call gst_data_queue_limits_changed() to get the data queue to unblock
5544         and check the filled state again.
5545         
5546         Rework the not-linked pad handling so the logic is that not-linked 
5547         pads can push as fast as they like, but only so they never get 
5548         ahead of any linked pads.
5549
5550         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5551         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5552         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5553
5554         Add a test to check that not-linked pads always stay behind
5555         linked pads.
5556
5557         Fixes: #430682
5558
5559 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5560
5561         * docs/random/release:
5562           Some updates to the release procedure.
5563
5564 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5565
5566         * gst/gstelementfactory.c: (__gst_element_details_clear):
5567           Microoptimization that saves stunning 80 bytes.
5568
5569 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5570
5571         * docs/plugins/gstreamer-plugins.args:
5572         * docs/plugins/inspect/plugin-coreelements.xml:
5573         * docs/plugins/inspect/plugin-coreindexers.xml:
5574           Update docs with caps info.
5575
5576 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5577
5578         * po/it.po:
5579           Updated Italian translation.
5580
5581 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5582
5583         * ChangeLog:
5584         * po/vi.po:
5585           Update Vietnamese translations.
5586
5587 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5588
5589         * libs/gst/base/gstbasesink.c:
5590           Remove unused signal enum.
5591
5592 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5593
5594         * docs/gst/gstreamer-sections.txt:
5595         * gst/gstelement.c:
5596         * gst/gstutils.c: (gst_type_register_static_full):
5597         Beef up and include the docs for gst_type_register_static_full and
5598         gst_element_class_set_details_simple and add the API keyword
5599         in the ChangeLog.
5600
5601 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5602
5603         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5604         (update_time_level), (gst_single_queue_push_one),
5605         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5606         (single_queue_overrun_cb), (single_queue_underrun_cb),
5607         (single_queue_check_full):
5608         Fix setting max-* properties after adding queues.
5609         Use IS_FILLED for checking visible items.
5610         Signal overrun if multiple queues overrun.
5611         Add extra debug output.
5612         Patch by: Wim Taymans <wim@fluendo.com>
5613
5614 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5615
5616         * gst/gstelement.c: (gst_element_class_set_details_simple):
5617         * gst/gstelement.h:
5618         * gst/gstutils.c: (gst_type_register_static_full):
5619         * gst/gstutils.h:
5620         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5621         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5622         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5623         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5624         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5625         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5626         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5627         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5628         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5629         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5630         (apply_buffer), (gst_queue_chain):
5631         * plugins/elements/gsttee.c: (gst_tee_base_init):
5632         * plugins/elements/gsttypefindelement.c:
5633         (gst_type_find_element_base_init),
5634         (gst_type_find_element_class_init):
5635           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5636           API: add gst_type_register_static_full
5637           API: add gst_element_class_set_details_simple
5638
5639 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5640
5641         * docs/pwg/advanced-types.xml:
5642           Fix typo in iana.org URI.
5643
5644 2007-06-19  Andy Wingo  <wingo@pobox.com>
5645
5646         * tests/check/pipelines/simple-launch-lines.c
5647         (test_state_change_returns): Enable pull-mode tests now that
5648         basesink has been fixed.
5649
5650         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5651         Changed from gst_base_sink_is_prerolled, reversing the sense of
5652         the return value. Returns FALSE also if the sink is in pull mode,
5653         in which case it needs no preroll.
5654         (gst_base_sink_query, gst_base_sink_change_state): Update for
5655         needs_preroll change.
5656         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5657         chaining up, in which we return SUCCESS directly if we activated
5658         in pull mode instead of ASYNC. Involves countering an async_start
5659         message sent before chaining up; not sure if this is correct, in
5660         an ideal world we only send async-start when activating in push
5661         mode.
5662
5663         * tests/check/pipelines/simple-launch-lines.c
5664         (test_state_change_returns): New test, partially disabled until
5665         basesink is fixed.
5666
5667 2007-06-19  Wim Taymans  <wim@fluendo.com>
5668
5669         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5670         (gst_multi_queue_sink_event):
5671         Fix event leak.
5672
5673 2007-06-19  Wim Taymans  <wim@fluendo.com>
5674
5675         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5676         (gst_bin_change_state_func), (bin_push_state_continue),
5677         (bin_handle_async_start), (bin_handle_async_done),
5678         (gst_bin_handle_message_func):
5679         Move the common code for posting state-change messages into
5680         one function.
5681         Broadcast the state signal after we posted the messages.
5682         Mark the bin as busy when it's doing a state-change.
5683         Make sure async-start/done messages don't interfere with the bin's
5684         state when it's busy.
5685         After the state change, let the bin check which elements completed the
5686         state change while it was busy so that it can update its state.
5687
5688 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
5689
5690         * docs/random/release:
5691         Add a note about updating the doap file to the release checklist
5692
5693 2007-06-18  Wim Taymans  <wim@fluendo.com>
5694
5695         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5696         (gst_single_queue_push_one), (gst_multi_queue_chain),
5697         (gst_multi_queue_sink_event):
5698         Make sure we don't reference the buffer/event after we have given away
5699         ownership in the queue.
5700
5701 2007-06-18  Wim Taymans  <wim@fluendo.com>
5702
5703         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5704         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5705         Update queue state _after_ adding the item in the queue because else we
5706         could end up being full without the element added yet.
5707
5708 2007-06-18  Wim Taymans  <wim@fluendo.com>
5709
5710         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5711         (gst_bin_remove_func), (gst_bin_get_state_func),
5712         (gst_bin_element_set_state), (gst_bin_continue_func),
5713         (bin_push_state_continue), (bin_handle_async_start),
5714         (bin_handle_async_done), (gst_bin_handle_message_func):
5715         * gst/gstbin.h:
5716         Immediatly commit the toplevel bin state when receiving an async-done
5717         message. This enables us to avoid spawning a thread to commit the state
5718         in some common cases and it also avoids some races.
5719         Avoid spawning a state thread when adding/removing async elements to a
5720         toplevel bin. Instead we immediatly update the bin state.
5721         Get rid of iterating all the children when getting the state in the bin
5722         because it is now always up-to-date.
5723         Fix bug where locked elements would always return _SUCCESS even it they
5724         returned NO_PREROLL before being locked.
5725         Fix the order of the state_change, async-start/done messages that was
5726         sometimes incorrect.
5727         Mark the state_dirty field as deprecated, we don't need it anymore as we
5728         are always up-to-date.
5729
5730         * gst/gstelement.c: (gst_element_get_state_func),
5731         (gst_element_continue_state):
5732         Small debug inprovements.
5733         Return the previous element state return when nothing is pending instead
5734         of blindly returning SUCCESS.
5735
5736         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5737         (gst_sinks_suite):
5738         Add a whole bunch of new testcases.
5739
5740 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5741
5742         * po/uk.po:
5743         * po/vi.po:
5744           Update translations.
5745
5746 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
5747
5748         * gst/gstpad.c:
5749         Fix typo in the docs.
5750
5751 2007-06-15  Wim Taymans  <wim@fluendo.com>
5752
5753         * docs/libs/gstreamer-libs-sections.txt:
5754         Add docs for new methods.
5755
5756 2007-06-15  Wim Taymans  <wim@fluendo.com>
5757
5758         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5759         (gst_multi_queue_item_new):
5760         Don't use GSlice because we don't depend on >= 2.10 yet.
5761
5762 2007-06-15  Wim Taymans  <wim@fluendo.com>
5763
5764         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5765         (update_time_level), (apply_segment), (apply_buffer),
5766         (gst_single_queue_push_one), (gst_multi_queue_item_new),
5767         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5768         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5769         (single_queue_underrun_cb), (single_queue_check_full):
5770         Remove debug printf.
5771
5772 2007-06-15  Wim Taymans  <wim@fluendo.com>
5773
5774         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5775         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5776         (gst_data_queue_set_flushing), (gst_data_queue_push),
5777         (gst_data_queue_pop), (gst_data_queue_drop_head),
5778         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5779         * libs/gst/base/gstdataqueue.h:
5780         Various cleanups.
5781         Added methods to get the current levels and to inform the queue that the
5782         'full' limits changed.
5783
5784         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5785         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5786         (gst_single_queue_flush), (update_time_level), (apply_segment),
5787         (apply_buffer), (gst_single_queue_push_one),
5788         (gst_multi_queue_item_steal_object),
5789         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5790         (gst_multi_queue_loop), (gst_multi_queue_chain),
5791         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5792         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5793         (gst_multi_queue_src_query), (single_queue_overrun_cb),
5794         (single_queue_underrun_cb), (single_queue_check_full),
5795         (gst_single_queue_new):
5796         Keep track of time in the queue by measuring the difference between
5797         running_time on input and output. This gives more accurate results and
5798         can compensate for segments correctly.
5799         Make a queue by default only 5 buffers deep. We will now increase the
5800         buffer size depending on the filledness of the other queues.
5801         Factor out commong flush code.
5802         Make sure we don't add additional refcounts to buffers when we can avoid
5803         it.
5804         Propagate GstFlowReturn differently.
5805         Use GSlice for intermediate GstMultiQueueItems.
5806         Keep track of EOS.
5807         Resize queues on over and underruns based on filled level of other
5808         queues.
5809         When checking if the queue is filled, prefer to measure in time if we
5810         can and fall back to bytes when no time is known.
5811
5812         * plugins/elements/gstqueue.c:
5813         Fix return value.
5814
5815 2007-06-15  Wim Taymans  <wim@fluendo.com>
5816
5817         * libs/gst/base/gstbasetransform.c:
5818         (gst_base_transform_sink_event):
5819         Work around the brokenness of the event vmethod in basetransform. Prefer
5820         to return TRUE when the subclass returned FALSE (meaning don't forward
5821         the event). 
5822
5823         * libs/gst/base/gstbasetransform.h:
5824         Clarify the docs.
5825
5826 2007-06-15  Wim Taymans  <wim@fluendo.com>
5827
5828         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5829         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5830         (gst_base_src_default_query), (gst_base_src_get_range),
5831         (gst_base_src_start):
5832         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5833         Improve debugging.
5834
5835 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5836
5837         * docs/pwg/advanced-types.xml:
5838           Added more formats to caps table.
5839
5840 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5841
5842         * tools/gst-launch.c: (main):
5843           Remove crufy code. GOption does not need this workaround.
5844
5845 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5846
5847         * libs/gst/controller/gstcontroller.c:
5848         (gst_controlled_property_set_interpolation_mode):
5849           Fix wrong getter for enums in controller.
5850
5851 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5852
5853         * libs/gst/check/gstcheck.c: (gst_check_init):
5854           Intercept criticals and warnings in the Gst-Phonon log domain, so
5855           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5856           well.
5857         
5858 2007-06-14  Edward Hervey  <edward@fluendo.com>
5859
5860         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5861         Since this file doesn't include "gst.h" it will not go through the
5862         macros that disable GST_LOG if debugging was disabled.
5863
5864 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5865
5866         * libs/gst/check/Makefile.am:
5867         * libs/gst/check/gstcheck.h:
5868         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5869         * pkgconfig/gstreamer-check.pc.in:
5870           Ugly 'fix' for the controller unit test on the p5 bot: in
5871           fail_unless_equals_float() check whether the values are 'almost
5872           equal' by allowing a small absolute error, which should be good
5873           enough for our use cases (normal numbers and values close to 0).
5874           Proper fixage left to floating point arithmetic aficionados.
5875
5876 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5877
5878         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5879         (gst_base_sink_render_object), (gst_base_sink_get_position):
5880           Add two breaks thats where missing.
5881
5882 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5883
5884         * docs/libs/gstreamer-libs-sections.txt:
5885         * libs/gst/check/gstcheck.h:
5886           API: add fail_unless_equals_float() and assert_equals_float().
5887           Add documentation for some of the macros.
5888
5889         * tests/check/libs/controller.c: (GST_START_TEST):
5890           Use newly-added asserts.
5891
5892 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5893
5894         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5895           Show the caps change in the log to help spotting the case of not
5896           exactly matching caps.
5897
5898 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5899
5900         * docs/pwg/building-boiler.xml:
5901           Fix typos, spotted by Thijs Vermeir (#447190).
5902
5903 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5904
5905         * docs/plugins/tmpl/.cvsignore:
5906         Ignore file to keep the buildbots happy
5907
5908 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5909
5910         * docs/plugins/Makefile.am:
5911         * docs/plugins/gstreamer-plugins-docs.sgml:
5912         * docs/plugins/gstreamer-plugins-sections.txt:
5913         Pull fdsink into the docs too.
5914
5915 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
5916
5917         * libs/gst/controller/gstinterpolation.c:
5918         Actually use the new functions with min/max checks for the trigger and
5919         none interpolation modes for get() and get_value_array() instead of
5920         just the latter.
5921
5922 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
5923
5924         * libs/gst/controller/gstcontroller.c:
5925         (gst_controlled_property_free):
5926         Unset the minimum and maximum GValues when freeing the corresponding
5927         GstControllerProperty struct.
5928
5929 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
5930
5931         * libs/gst/controller/gstcontroller.c:
5932         (gst_controlled_property_new):
5933         * libs/gst/controller/gstcontrollerprivate.h:
5934         * libs/gst/controller/gstinterpolation.c:
5935         (gst_controlled_property_find_control_point_node),
5936         (interpolate_none_get), (interpolate_none_get_enum_value_array),
5937         (interpolate_none_get_string_value_array),
5938         (interpolate_trigger_get),
5939         (interpolate_trigger_get_enum_value_array),
5940         (interpolate_trigger_get_string_value_array):
5941         Protect against values larger or smaller than the minimum or maximum
5942         allowed value for the property when using values that can be compared.
5943
5944         Optimize trigger interpolator a bit by taking the last requested value
5945         into account instead of always looping through the complete list.
5946
5947         Fix coding style a bit, everywhere else we use "return foo" instead
5948         of "return (foo)".
5949         
5950         * tests/check/libs/controller.c: (GST_START_TEST),
5951         (gst_controller_suite):
5952         Add unit test for the protection against too large or too small
5953         values.
5954
5955 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
5956
5957         * docs/random/slomo/controller.txt:
5958         Add some thoughts about the future of the controller.
5959
5960 2007-06-08  Wim Taymans  <wim@fluendo.com>
5961
5962         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5963         Don't overflow in retimestamping code.
5964
5965 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
5966
5967         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
5968         Use gst_util_guint64_to_gdouble for conversions.
5969         * win32/common/libgstreamer.def:
5970         Add new exported functions.
5971
5972 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
5973
5974         * gst/gstutils.c:
5975           Small docs addition.
5976
5977 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5978
5979         * README:
5980           Remove that test line again.
5981
5982 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5983
5984         * README:
5985           Test commit mail sending.
5986
5987 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5988
5989         * configure.ac:
5990           Fix typo and test commit mail sending.
5991
5992 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5993
5994         * tests/examples/controller/audio-example.c:
5995           Improve comment and test commit mail sending.
5996
5997 2007-06-07  Wim Taymans  <wim@fluendo.com>
5998
5999         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6000         (gst_bin_remove_func), (gst_bin_element_set_state),
6001         (bin_handle_async_start), (bin_handle_async_done),
6002         (gst_bin_handle_message_func):
6003         Add helper function to find messages.
6004         Generate the async-done messages together with the state change
6005         messages.
6006         Small cleanups in handling toplevel bins.
6007
6008 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6009
6010         * libs/gst/base/gstdataqueue.c:
6011         * libs/gst/base/gstdataqueue.h:
6012         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6013         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6014         (gst_multi_queue_sink_event):
6015         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6016           Fix multiqueue leaking buffers and events when downstream or the
6017           queue are flushing. Make refcounting assumptions explicit and
6018           document them (shouldn't break existing code that uses it other than
6019           maybe leak miniobjects, but that already happens anyway). Add unit
6020           test for the most common flushing case. Fixes #423700.
6021           
6022 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6023
6024         * libs/gst/controller/gstcontroller.c:
6025         Clarify docs: The get_all, get_value_array(s) functions
6026         don't modify the GObject properties.
6027
6028 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6029
6030         * libs/gst/controller/gstcontroller.c:
6031         (gst_controlled_property_set_interpolation_mode),
6032         (gst_controlled_property_prepend_default),
6033         (gst_controlled_property_new), (gst_controller_set_unlocked),
6034         (gst_controller_set), (gst_controller_set_from_list),
6035         (gst_controller_unset), (gst_controller_unset_all):
6036         * libs/gst/controller/gstcontrollerprivate.h:
6037         * libs/gst/controller/gstinterpolation.c:
6038         Factor out the 'set' logic into gst_controller_set_unlocked for the
6039         gst_controller_set and gst_controller_set_from_list functions.
6040
6041         To make life of the interpolators easier always add a control point
6042         at timestamp zero with the default value.
6043
6044         In the linear interpolator make things more obvious by better variable
6045         naming (slope).
6046
6047         Implement cubic interpolation mode (by using a natural cubic spline)
6048         and map the quadratic interpolation mode to this too (as quadratic
6049         doesn't make much sense, see discussion on the list).
6050
6051         * tests/check/libs/controller.c: (GST_START_TEST),
6052         (gst_controller_suite):
6053         Add unit test for the cubic interpolation mode and check everywhere
6054         if the interpolation mode could be set as expected.
6055
6056 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6057
6058         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6059           Don't use GLib-2.10 functions, we still depend on
6060           GLib-how-old-is-it-again-2.8.
6061
6062 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6063
6064         * docs/gst/gstreamer-sections.txt:
6065         * gst/Makefile.am:
6066         * gst/gst.c:
6067         * gst/gst.h:
6068         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6069         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6070         (_gst_param_fraction_values_cmp),
6071         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6072         * gst/gstparamspecs.h:
6073         * gst/gstvalue.c:
6074         * tests/check/Makefile.am:
6075         * tests/check/gst/.cvsignore:
6076         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6077         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6078         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6079         (GST_START_TEST), (gst_param_spec_suite):
6080           API: add GstParamSpecFraction, so elements can have fraction
6081           properties without lots of painful string parsing (#444648).
6082
6083 2007-06-05  Wim Taymans  <wim@fluendo.com>
6084
6085         * gst/gstobject.c: (gst_object_class_init):
6086         Fix signal signature.
6087
6088         * gst/gstsegment.c:
6089         Add small clarification in the api docs.
6090
6091         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6092         States are protected with object lock.
6093
6094 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6095
6096         * AUTHORS:
6097         I should probably be listed as an author by now.
6098
6099         * docs/random/release:
6100         Update the release doc
6101
6102 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6103
6104         * gst/gstvalue.c:
6105           Make docs for gst_value_compare() mention return enums that
6106           actually exist.
6107
6108 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6109
6110         * configure.ac:
6111           Back to CVS
6112
6113 === release 0.10.13 ===
6114
6115 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6116
6117         * configure.ac:
6118           releasing 0.10.13, "With or without you"
6119
6120 2007-05-25  Wim Taymans  <wim@fluendo.com>
6121
6122         * gst/gstbin.c: (bin_handle_async_done):
6123         Make sure that the child bin stops after completing the async state
6124         change so that the parent can continue the state change to PLAYING.
6125         Fixes #441159.
6126
6127 2007-05-25  Wim Taymans  <wim@fluendo.com>
6128
6129         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6130         (unref_data), (gst_collect_pads_remove_pad),
6131         (gst_collect_pads_check_pads):
6132         Use additional refcounting to avoid crashes when dynamically adding and
6133         removing pads. Fixes #420206.
6134
6135 2007-05-24  Wim Taymans  <wim@fluendo.com>
6136
6137         * tools/gst-launch.c: (event_loop):
6138         When buffering goes from a two digit to a single digit number, make sure
6139         to remove the old second digit by writing a blank over it.
6140
6141 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6142
6143         * libs/gst/base/gstdataqueue.c:
6144           Eliminate tabs and trailing comma in enum list; fix some typos.
6145
6146 2007-05-24  Wim Taymans  <wim@fluendo.com>
6147
6148         * tests/check/gst/gstbin.c: (GST_START_TEST):
6149         Allow refcount of 3 and 4 because some state thread might still be busy
6150         with it.
6151
6152 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6153
6154         * plugins/elements/Makefile.am:
6155         * plugins/elements/gstmultiqueue.h:
6156         * plugins/elements/gstqueue.h:
6157           These are not installed headers, no need for padding.
6158
6159 2007-05-24  Wim Taymans  <wim@fluendo.com>
6160
6161         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6162         (gst_bin_continue_func):
6163         Enable latency for next release.
6164         Restore STATE_LOCK around recalc_state that was left out during the
6165         rewrite and could result in racy behaviour when _get_state and
6166         recalc_state are run concurrently. See #440463.
6167
6168 2007-05-23  Wim Taymans  <wim@fluendo.com>
6169
6170         * tests/check/gst/gstsystemclock.c: (store_callback),
6171         (GST_START_TEST):
6172         Improve test_async_order to also work when both timers are already
6173         expired when we get scheduled to check it.
6174
6175 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6176
6177         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6178         (gst_bin_set_property), (gst_bin_get_property),
6179         (gst_bin_remove_func), (gst_bin_handle_message_func):
6180         * gst/gstbin.h:
6181           'private' is a c++ keyword, let's not use that in header files,
6182           otherwise c++ compilers will throw a tantrum.
6183
6184 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6185
6186         * plugins/elements/gstelements.c:
6187         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6188         (gst_file_sink_get_current_offset):
6189         * plugins/indexers/gstindexers.c: (plugin_init):
6190           Use #ifdef for HAVE_XYZ for consistency.
6191
6192         * tests/check/Makefile.am:
6193         * tests/check/elements/.cvsignore:
6194         * tests/check/elements/filesink.c: (setup_filesink),
6195         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6196           Add some unit tests for filesink.
6197
6198 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6199
6200         Patch by: Mark Nauwelaerts <manauw at skynet be>
6201
6202         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6203         (gst_file_sink_query), (gst_file_sink_do_seek),
6204         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6205         * plugins/elements/gstfilesink.h:
6206           Fix position reporting; rename data_written member to current_pos to
6207           reflect its real meaning (fixes #412648).
6208
6209 2007-05-22  Edward Hervey  <edward@fluendo.com>
6210
6211         * docs/gst/gstreamer-sections.txt:
6212         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6213         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6214         (gst_bin_remove_func), (gst_bin_handle_message_func):
6215         * gst/gstbin.h:
6216         Add a property for bins that handle the state change of their childs.
6217         Fixes #435880
6218
6219 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6220
6221         * libs/gst/controller/gstinterpolation.c:
6222         Use an array of the correct type when using _get_value_array with
6223         linear interpolation.
6224
6225 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6226
6227         * gst/gstelement.c (gst_element_requires_clock,
6228           gst_element_provides_clock, gst_element_request_pad,
6229           gst_element_class_set_details, gst_element_class_set_details_simple,
6230           gst_element_default_send_event, gst_element_abort_state,
6231           gst_element_continue_state, gst_element_set_state,
6232           gst_element_set_state_func, iterator_activate_fold_with_resync):
6233         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6234           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6235           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6236           gst_pad_get_range, gst_pad_pull_range):
6237         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6238           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6239           GstPadActivateModeFunction, GstPadChainFunction,
6240           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6241           GstPadFixateCapsFunction, GstPadTemplate):
6242         * gst/gstpipeline.c (gst_pipeline_change_state,
6243           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6244           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6245           gst_pipeline_get_delay):
6246           Whitespace and docs fixes.
6247
6248 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6249
6250         * libs/gst/controller/gstinterpolation.c:
6251         (interpolate_trigger_get_enum_value_array),
6252         (interpolate_trigger_get_string_value_array):
6253         Add support for retrieving value arrays when using the trigger
6254         interpolation mode. 
6255
6256 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6257
6258         * libs/gst/controller/gstcontroller.c:
6259         (gst_controller_get_value_array):
6260         * libs/gst/controller/gstcontroller.h:
6261         Clarify the docs of gst_controller_get_value_array(): The array where
6262         the values should be written to must be allocated as there seems to be
6263         no way to get the size of a random GType. This doesn't change any
6264         behaviour. Also fix some typos all over the place and remove an unused,
6265         commented function that is not necessary as g_object_set() could be
6266         used instead.
6267         * tests/check/libs/controller.c: (GST_START_TEST),
6268         (gst_controller_suite):
6269         Add unit test for gst_controller_get_value_array().
6270
6271 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6272
6273         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6274
6275         Disable part of the gst_buffer_try_new_and_alloc test, because
6276         it can happily succeed on 64-bit systems where there's more address
6277         space available.
6278
6279 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6280
6281         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6282         Add unit test for the improved caps checking from bug #421543.
6283
6284 2007-05-21  Wim Taymans  <wim@fluendo.com>
6285
6286         * docs/design/part-synchronisation.txt:
6287         Small addition.
6288
6289         * gst/gstbin.c: (gst_bin_query):
6290         * plugins/elements/gstqueue.c: (apply_segment):
6291         Improve debugging.
6292
6293         * gst/gstmessage.h:
6294         Improve docs.
6295
6296 2007-05-21  Wim Taymans  <wim@fluendo.com>
6297
6298         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6299         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6300         (gst_pad_configure_src):
6301         Added simple version of improved caps checking. It was previously
6302         assumed that a setcaps function would check the validity of the caps but
6303         people prefer us to check caps against the template automatically. 
6304         Fixes #421543.
6305
6306 2007-05-21  Wim Taymans  <wim@fluendo.com>
6307
6308         * libs/gst/base/gstbasetransform.h:
6309         Fix macro for locking/unlocking the transform lock.
6310
6311 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6312
6313         * docs/plugins/tmpl/.cvsignore:
6314           Ignore more.
6315
6316 2007-05-18  Edward Hervey  <edward@fluendo.com>
6317
6318         * plugins/elements/gstqueue.c: (gst_queue_loop):
6319         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6320         for the subtle art of warning a potentially blocking thread that it
6321         should check the source pad return value, and relay the information
6322         upstream.
6323
6324 2007-05-18  Edward Hervey  <edward@fluendo.com>
6325
6326         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6327         Release the queue lock !
6328
6329 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6330
6331         * docs/libs/gstreamer-libs-sections.txt:
6332         Add the two new controller functions to the appropiate places.
6333
6334 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6335
6336         reviewed by: Stefan Kost <ensonic@users.sf.net>
6337
6338         * libs/gst/controller/gstcontroller.c:
6339         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6340         (_gst_controller_get_property), (_gst_controller_set_property),
6341         (_gst_controller_init), (_gst_controller_class_init):
6342         * libs/gst/controller/gstcontroller.h:
6343         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6344         (gst_object_get_control_rate), (gst_object_set_control_rate):
6345         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6346         Add API that provides sync suggestion timestamps for elements that
6347         call gst_object_sync_values() from which those elements can subdivide
6348         their processing loop to get the best results for the controlled
6349         properties. For now it just suggests last_sync + control_rate as
6350         new timestamp but this will be improved in the future.
6351
6352         While doing that change the control-rate property to a GstClockTime
6353         from guint and change it's meaning from samples to nanoseconds as
6354         the GstController doesn't know anything about sampling rate. Strictly
6355         speaking this breaks ABI but as the control-rate property didn't do
6356         anything in the past and as such couldn't be used this should be no
6357         problem.        
6358
6359 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6360
6361         reviewed by: Stefan Kost <ensonic@users.sf.net>
6362
6363         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6364         (gst_controller_unset_all):
6365         * libs/gst/controller/gstcontrollerprivate.h:
6366         * libs/gst/controller/gstinterpolation.c:
6367         (gst_controlled_property_find_control_point_node):
6368         Save last synced value from the list to continue searching from there
6369         in future syncs. This speeds everything up a bit.
6370         
6371 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6372
6373         reviewed by: Stefan Kost <ensonic@users.sf.net>
6374
6375         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6376         (gst_control_point_find), (gst_controlled_property_new),
6377         (gst_control_point_free), (gst_controlled_property_free),
6378         (gst_controller_set), (gst_controller_set_from_list),
6379         (gst_controller_unset), (gst_controller_unset_all),
6380         (gst_controller_sync_values):
6381         * libs/gst/controller/gstcontroller.h:
6382         * libs/gst/controller/gstcontrollerprivate.h:
6383         * libs/gst/controller/gstinterpolation.c:
6384         (gst_controlled_property_find_control_point_node),
6385         (interpolate_none_get), (interpolate_trigger_get):
6386         Add a new private GstControlPoint struct which "inherits" from
6387         GstTimedValue to allow different interpolators to store internal
6388         values next to each control point. From the outside everything is
6389         still a GstControlPoint so we don't loose binary compatibility.
6390         Also fixup all the GValue handling to not leak GValues or list nodes.
6391         * tests/check/libs/controller.c: (GST_START_TEST):
6392         Free the list nodes and GValues in the controller_misc test.
6393
6394 2007-05-17  Edward Hervey  <edward@fluendo.com>
6395
6396         * gst/gstsegment.c:
6397         Small doc fix.
6398
6399 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6400
6401         * gst/gstplugin.c: (gst_plugin_load_file):
6402           If we fail to load a plugin because of unresolved symbols or missing
6403           libraries and spew a warning to stderr, we may just as well mention
6404           which plugin it was that failed to load.
6405
6406 2007-05-13  David Schleef  <ds@schleef.org>
6407
6408         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6409           handles the case when ENABLE_GTK_DOC is false, and installs
6410           the prebuilt documentation.  So gtk-doc subdirs are 
6411           unconditionally enabled.  Fixes: #349099.
6412
6413 2007-05-13  David Schleef  <ds@schleef.org>
6414
6415         * gst/gstutils.h: Reword some documentation.
6416
6417 2007-05-12  David Schleef  <ds@schleef.org>
6418
6419         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6420           do anything with the passed "module" parameter, so remove it.
6421           Allows removal of additional vestigal code.
6422
6423 2007-05-12  David Schleef  <ds@schleef.org>
6424
6425         * gst/gstplugin.c:
6426           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6427           Switch to using g_stat() because it's more portable.
6428
6429 2007-05-12  David Schleef  <ds@schleef.org>
6430
6431         * gst/gst.c:
6432           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6433           parsing for embedded systems.
6434         * gst/gstelementfactory.c:
6435           Allow gst_element_register() to be called with plugin==NULL.
6436           Did nobody notice that static elements were broken?
6437
6438 2007-05-12  Wim Taymans  <wim@fluendo.com>
6439
6440         * tools/gst-launch.c: (event_loop):
6441         Give more interesting info when buffering starts and stops.
6442         Fix case where buffering starts but we fail to update the buffering flag
6443         because the target state is not PLAYING.
6444
6445 2007-05-12  Wim Taymans  <wim@fluendo.com>
6446
6447         * plugins/elements/gstqueue.c: (gst_queue_init),
6448         (gst_queue_finalize), (update_time_level), (apply_segment),
6449         (apply_buffer), (gst_queue_locked_flush),
6450         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6451         (gst_queue_handle_sink_event), (gst_queue_chain),
6452         (gst_queue_push_one), (gst_queue_loop):
6453         * plugins/elements/gstqueue.h:
6454         Refactor an cleanup queue a bit.
6455         Do better time level calculations that also work when the srcpad is not
6456         yet running.
6457         Remove some unneeded debug lines.
6458
6459         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6460         Added testcase for time level measurement.
6461         Try to make some stuff more racefree.
6462
6463 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6464
6465         * gst/gsturi.c: (gst_element_make_from_uri):
6466           Don't leak plugin feature.
6467
6468         * tests/check/Makefile.am:
6469         * tests/check/gst/.cvsignore:
6470         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6471           Add brain-dead unit test.
6472
6473 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6474
6475         Patch by: Jeroen Wouters <woutersj at gmail com>
6476
6477         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6478           Treat protocol strings in a case-insensitive way (#437563).
6479
6480 2007-05-11  Michael Smith <msmith@fluendo.com>
6481
6482         * gst/gstplugin.c: (gst_plugin_load_file):
6483         * gst/gstregistry.c: (gst_registry_scan_path_level):
6484           Don't print a g_warning for any failure to load a shared object.
6485           Instead, push this down into gstplugin.c, and warn _only_ if we
6486           failed to open the module (i.e. failure to link).
6487           Avoids warnings on normal, working, non-plugin .so files.
6488
6489 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6490
6491         * gst/gstplugin.c (gst_plugin_load_file):
6492         * gst/gstregistry.c (GST_CAT_DEFAULT,
6493           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6494           Print a g_warning if there was an error when loading a plugins during
6495           registry scan. The shuld help beginners starting with gst-plugin
6496           template.
6497
6498 2007-05-10  Wim Taymans  <wim@fluendo.com>
6499
6500         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6501         (update_time_level), (gst_queue_locked_flush),
6502         (gst_queue_handle_sink_event), (gst_queue_chain),
6503         (gst_queue_push_one), (gst_queue_loop):
6504         * plugins/elements/gstqueue.h:
6505         Be smarter when calculating the current amount of data in the queue by
6506         measuring the difference between start and end timestamps (in running
6507         time) inside the queue. Fixes #432876.
6508         API: GstQueue::pushing to notify elements that we are pushing data again
6509         since the running signal is rather broken for this purpose.
6510
6511 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6512
6513         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6514           gst_queue_base_init, gst_queue_init):
6515           use GST_BOILERPLATE
6516
6517 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6518
6519         * win32/common/libgstreamer.def:
6520         Add new exported functions.
6521         * win32/vs6/grammar.dsp:
6522         Use grammar pre-generated files.
6523
6524 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6525
6526         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6527
6528         * gst/Makefile.am:
6529         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6530         * gst/gstparse.h:
6531         * gst/gstutils.c: (gst_parse_bin_from_description):
6532         * gst/gstutils.h:
6533           Maintain API and ABI when --disable-parse is used. Now that
6534           we have an appropriate error code, we can just return NULL and the
6535           appropriate error when gst_parse_launch() is used despite it having
6536           been disabled (#342564).
6537
6538         * tests/check/Makefile.am:
6539         * tests/check/pipelines/.cvsignore:
6540         * tests/check/pipelines/parse-disabled.c:
6541           Make sure these functions exist and return NULL plus a GError when
6542           --disable-parse is used.
6543
6544 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6545
6546         * tests/benchmarks/complexity.c: (main):
6547         * tests/benchmarks/mass-elements.c: (main):
6548           Set a good example and don't leak messages.
6549
6550 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6551
6552         * docs/gst/Makefile.am:
6553         * docs/libs/Makefile.am:
6554           Correct fixxrefs options.
6555
6556         * docs/plugins/Makefile.am:
6557         * docs/plugins/gstreamer-plugins-docs.sgml:
6558         * docs/plugins/gstreamer-plugins-sections.txt:
6559         * plugins/elements/Makefile.am:
6560         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6561         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6562           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6563           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6564           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6565           _GstCapsFilterClass, trans_class):
6566         * plugins/elements/gstelements.c (name, rank, type, _elements):
6567         * plugins/elements/gstidentity.c
6568           (gst_identity_check_imperfect_timestamp,
6569           gst_identity_check_imperfect_offset):
6570           Document capsfilter and add doc-blurb to identity.
6571
6572 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6573
6574         * libs/gst/controller/gstcontroller.c:
6575         (gst_controlled_property_set_interpolation_mode):
6576         * libs/gst/controller/gstinterpolation.c:
6577           Don't crash if someone tries to set an interpolation mode that
6578           is invalid or that isn't supported yet. Fixes #422295.
6579
6580         * tests/check/libs/controller.c: (GST_START_TEST),
6581         (gst_controller_suite):
6582           Add a test case for the above.
6583
6584 2007-05-03  Edward Hervey  <edward@fluendo.com>
6585
6586         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6587         Properly set the last_stop position on GstSegment. This will only happen
6588         if there is a buffer to push out.
6589
6590 2007-05-03  Wim Taymans  <wim@fluendo.com>
6591
6592         * libs/gst/base/gstbasetransform.c:
6593         (gst_base_transform_buffer_alloc):
6594         always_in_place does not mean that the sink and source caps are the
6595         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6596
6597 2007-05-03  Wim Taymans  <wim@fluendo.com>
6598
6599         * docs/libs/gstreamer-libs-sections.txt:
6600         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6601         (gst_base_src_default_query), (gst_base_src_get_range):
6602         * libs/gst/base/gstbasesrc.h:
6603         API: gst_base_src_query_latency(). Added method so that subclasses can
6604         easily get the latency values of the base source class.
6605
6606 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6607
6608         * tools/gst-inspect.c (print_implementation_info):
6609         Remove 0.8 cruft.
6610
6611 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6612
6613         * tools/Makefile.am:
6614         * tools/gst-launch.1.in:
6615           Don't create a customised man page based on the host architecture,
6616           describe the default registry path generically. That way the man
6617           page is the same for all architectures and packagers have one
6618           multilib issue less to deal with. Fixes #434926.
6619
6620 2007-05-02  Wim Taymans  <wim@fluendo.com>
6621
6622         * gst/gstpad.c:
6623         Fix documentation as spotted by rg on IRC. 
6624
6625 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6626
6627         * gst/gstutils.c:
6628           Improve docs for gst_element_{link,unlink}.
6629
6630 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6631
6632         * docs/design/part-events.txt:
6633         * docs/design/part-overview.txt:
6634         * gst/gstevent.c:
6635         * gst/gsturi.c:
6636         * gst/gsturi.h:
6637         * libs/gst/base/gstbasesink.c:
6638           Typo fixes; minor docs addition.
6639
6640 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6641
6642         * docs/gst/gstreamer-sections.txt:
6643         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6644         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6645         * gst/gsturi.h:
6646         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6647         or src that supports a given URI protocol exists.
6648
6649 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6650
6651         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6652         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6653         Set the location to NULL if "file://" is set as URI. Otherwise
6654         some random previous URI would still be set if "file://" is
6655         set on an already used filesink/filesrc.
6656
6657 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6658
6659         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6660         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6661         Special case the "file://" URI as as this is used by some
6662         applications to test with gst_element_make_from_uri if there's
6663         an element that supports the URI protocol.
6664         Also move the g_path_is_absolute() check for the location part
6665         of the URI to also check this for "file://localhost/bla" URIs.
6666
6667 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
6668
6669         * docs/gst/gstreamer-sections.txt:
6670         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6671         * gst/gstbuffer.h:
6672         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6673         (gst_buffer_suite):
6674           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6675
6676 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
6677
6678         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6679         (gst_registry_binary_load_pad_template),
6680         (gst_registry_binary_load_plugin),
6681         (gst_registry_binary_read_cache):
6682         * gst/gstregistrybinary.h:
6683           Implement no-mmap alternative for registry reading. Do code cleanups.
6684           Add more comments about avoiding strdups for all text data. Comments
6685           welcome.
6686
6687 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6688
6689         * gst/gstregistrybinary.h (GstBinaryPluginElement,
6690           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6691           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6692           Comment structs and reformat to fix the build (that stuff should go
6693           into a priv. header).
6694
6695 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6696
6697         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6698         (gst_registry_binary_load_feature):
6699         * gst/gstregistrybinary.h:
6700           Refactor so that we can implement multiple features. Add support for
6701           TypeFindFactory features.
6702
6703 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
6704
6705         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6706
6707         * configure.ac:
6708           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6709
6710 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
6711
6712         * gst/gstbin.c: (gst_bin_element_set_state),
6713         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6714         (bin_handle_async_done), (gst_bin_handle_message_func):
6715           Fix build with --gst-disable-gst-debug
6716
6717 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
6718
6719         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6720           Make sure streaming has finished before calling the ::stop() vfunc,
6721           since that vfunc might clear state which is being used in the
6722           streaming thread. This fixes a race that caused crashes in
6723           audioresample when shutting down a pipeline (#420106).
6724
6725 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6726
6727         * docs/gst/gstreamer-sections.txt:
6728           That was one byte missing.
6729
6730 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6731
6732         * configure.ac:
6733         * docs/gst/gstreamer-sections.txt:
6734         * gst/Makefile.am:
6735         * gst/gstconfig.h.in:
6736         * gst/gstobject.c: (gst_object_class_init),
6737         (gst_signal_object_class_init):
6738         * gst/gstobject.h:
6739           2nd attempt to have a xml-less build as a joined effort of #413123
6740           and #421480.
6741
6742 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6743
6744         * docs/design/draft-tagreading.txt:
6745           Added open issues/thoughts to draft.
6746
6747 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6748
6749         * gst/parse/grammar.tab.pre.c:
6750         * gst/parse/grammar.tab.pre.h:
6751         * gst/parse/lex._gst_parse_yy.pre.c:
6752         Update the prebuild parser sources.
6753
6754 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6755
6756         * gst/parse/Makefile.am:
6757         And now fix the building of the flex sources. Now everything should
6758         work as expected.
6759
6760 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6761
6762         * gst/parse/Makefile.am:
6763         Now hopefully fix the build failures by setting proper rule
6764         dependencies and moving instead of copying.
6765
6766 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6767
6768         * tests/benchmarks/complexity.gnuplot:
6769         * tests/benchmarks/complexity.scm:
6770         * tests/benchmarks/mass-elements.gnuplot:
6771         * tests/benchmarks/mass-elements.scm:
6772           Total licensification.
6773
6774 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6775
6776         * gst/parse/Makefile.am:
6777           Fix the build by correcting the rule that gave wrong files to flex.
6778
6779 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6780
6781         * tests/benchmarks/complexity.c:
6782         * tests/benchmarks/mass-elements.c:
6783           Change licence to LGPL as granted by Benjamin and Andy.
6784
6785 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6786
6787         * gst/parse/Makefile.am:
6788         Add correct grammar.tab.h dependency if compiling without new enough
6789         flex. Fixes #431150.
6790
6791 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6792
6793         * gst/parse/Makefile.am:
6794         Fix typo and use outdated sources if the flex/bison sources are newer
6795         than the pregenerated ones but flex is too old. Print a warning in
6796         that case. This should fix the build on the build bot.
6797
6798 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6799
6800         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6801         * gst/parse/Makefile.am:
6802         * gst/parse/grammar.y:
6803         * gst/parse/parse.l:
6804         Make the parser reentrant and recursively callable. This requires flex
6805         >= 2.5.31, for older versions pregenerated sources are used as we
6806         can't bump the build dependency. Finally fixes #349180.
6807
6808         * gst/gstparse.c: (gst_parse_launch):
6809         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6810         now anyway.
6811
6812         * docs/gst/Makefile.am:
6813         * docs/gst/Makefile.am:
6814         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6815         (__gst_parse_strfree), (__gst_parse_link_new),
6816         (__gst_parse_link_free), (__gst_parse_chain_new),
6817         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6818         (gst_parse_element_set), (gst_parse_free_link),
6819         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6820         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6821         (_gst_parse_launch):
6822         * gst/parse/grammar.tab.pre.h:
6823         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6824         (yy_get_previous_state), (yy_try_NUL_trans), (input),
6825         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6826         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6827         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6828         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6829         (_gst_parse_yypop_buffer_state),
6830         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6831         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6832         (yy_fatal_error), (_gst_parse_yyget_extra),
6833         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6834         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6835         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6836         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6837         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6838         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6839         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6840         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6841         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6842         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6843         (_gst_parse_yyfree):
6844         If the installed flex version is too old use pre-generated parser
6845         sources. These pre-generated parser sources are always updated when
6846         the actual flex/bison sources change but require everybody who wants
6847         to change something in the parser to have flex >= 2.5.31 installed.
6848
6849 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
6850
6851         * common/m4/gst-gettext.m4:
6852         * gst/gst-i18n-lib.h:
6853           Make --disable-nls to work
6854
6855 2007-04-17  Wim Taymans  <wim@fluendo.com>
6856
6857         * gst/gstconfig.h.in:
6858         Revert previous change that broke the build.
6859
6860 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
6861
6862         * configure.ac:
6863         * gst/Makefile.am:
6864         * gst/gstconfig.h.in:
6865           Drop libxml2 dependency when building with 
6866           --enable-binary-registry --disable-loadsave
6867
6868 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
6869
6870         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6871         (gst_registry_binary_read_cache):
6872         * gst/gstregistrybinary.h:
6873           Remove unnecessary <sys/mman.h> include which broke the win32 build
6874           with MingW; move includes from header file to .c file, even if the
6875           header file isn't installed; use g_strerror() where UTF-8 strings
6876           are expected, such as in GST_DEBUG messages.
6877
6878 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6879
6880         * docs/libs/gstreamer-libs-sections.txt:
6881         Remove bogus addition for API I didn't end up keeping.
6882
6883         * libs/gst/base/gstbasesrc.h:
6884         Mention Since: 0.10.13 in the documentation.
6885
6886         Add the API keyword to the previous ChangeLog entry.
6887
6888 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6889
6890         * docs/libs/gstreamer-libs-sections.txt:
6891         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6892         (gst_base_src_default_prepare_seek_segment),
6893         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6894         * libs/gst/base/gstbasesrc.h:
6895         Allow basesrc derived classes to execute seeks in other formats
6896         by providing a prepare_seek_segment vmethod. Sub-classes can choose
6897         to prepare the GstSegment in any format that their perform_seek method
6898         will be able to understand. The default implementation provides the
6899         old behaviour of attempting to convert the seek offsets to the 
6900         configured native format.
6901
6902         API: basesrc::prepare_seek_segment vmethod.
6903
6904 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6905
6906         * gst/gstelement.c: (gst_element_get_state_func):
6907         Don't output the same debug statement twice.
6908
6909         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6910         (gst_adapter_peek), (gst_adapter_take_buffer):
6911         Optimise the case where we have buffers at the head of the queue that
6912         can be joined quickly (because they're contiguous sub-buffers) by
6913         merging them together rather than copying data out into new memory.
6914
6915         * gst/parse/grammar.y:
6916         * tests/check/pipelines/parse-launch.c:
6917         Fix a leak in an error path for parse_launch, and add a check 
6918         for it to the testsuite.
6919
6920 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6921
6922         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6923           Don't deadlock when releasing a pad - gst_pad_set_active may try
6924           and take the multiqueue lock too.
6925
6926 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6927
6928         * gst/gsterror.c: (_gst_core_errors_init):
6929         * gst/gsterror.h:
6930           API: add GST_CORE_ERROR_DISABLED (#392804).
6931
6932 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6933
6934         * docs/faq/gst-uninstalled:
6935           don't get empty paths on the PATH variables
6936         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6937           Don't format for the uncommon terminal width of 84 characters.
6938
6939 2007-04-06  Wim Taymans  <wim@fluendo.com>
6940
6941         * gst/gstpipeline.c: (reset_stream_time),
6942         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6943         Only try to select a different pipeline clock when we went back to
6944         PAUSED and not when we merely got flushed.
6945
6946 2007-04-05  Michael Smith  <msmith@fluendo.com>
6947
6948         * tools/gst-launch.1.in:
6949           fractions are better supported in gstreamer than ractions, so
6950           suggest using those.
6951
6952 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6953
6954         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
6955
6956         * po/LINGUAS:
6957         * po/da.po:
6958           Added Danish translation.
6959
6960 2007-04-05  Wim Taymans  <wim@fluendo.com>
6961
6962         * libs/gst/base/gstbasesink.c:
6963         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
6964         Fix leak caused when refusing newsegment after EOS.
6965
6966         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6967         (gst_fake_sink_init), (gst_fake_sink_set_property),
6968         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
6969         (gst_fake_sink_render), (gst_fake_sink_change_state):
6970         * plugins/elements/gstfakesink.h:
6971         Add num-buffers property to make the element generate EOS after a
6972         configurable amount of buffers.
6973         API: fakesink::num-buffers property.
6974
6975         * tests/check/elements/fakesink.c: (GST_START_TEST),
6976         (fakesink_suite):
6977         Fix GstBus leak in test.
6978         Test for fakesink num-buffers.
6979
6980 2007-04-05  Wim Taymans  <wim@fluendo.com>
6981
6982         * libs/gst/base/gstbasesink.c:
6983         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6984         (gst_base_sink_change_state):
6985         Don't accept anything after an EOS, return UNEXPECTED instead.
6986
6987         * tests/check/elements/fakesink.c: (GST_START_TEST),
6988         (fakesink_suite):
6989         Unit test for new EOS behaviour.
6990
6991 2007-04-05  Wim Taymans  <wim@fluendo.com>
6992
6993         * gst/gstelement.c: (gst_element_get_request_pad):
6994         Make padtemplates also work when they don't contain %s or %d.
6995
6996 2007-04-05  Wim Taymans  <wim@fluendo.com>
6997
6998         * docs/gst/gstreamer-sections.txt:
6999         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7000         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7001         * gst/gstclock.h:
7002         Improve _adjust_unlocked() so that it overflows less.
7003         Add gst_clock_unadjust_unlocked to convert from external time to
7004         internal time based on calibration.
7005         Add some more debug.
7006         API: GstClock::gst_clock_unadjust_unlocked()
7007
7008 2007-04-03  Wim Taymans  <wim@fluendo.com>
7009
7010         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7011
7012         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7013         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7014         when releasing sink pad. Fixes #425400.
7015
7016 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7017
7018         * docs/random/ensonic/dynlink.txt:
7019           More work on proposal for new core api.
7020
7021         * docs/libs/gstreamer-libs-sections.txt:
7022         * libs/gst/base/gstbasetransform.h:
7023           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7024           
7025         * libs/gst/controller/gstcontroller.c:
7026         (on_object_controlled_property_changed),
7027         (gst_controller_sync_values),
7028         (gst_controller_set_interpolation_mode):
7029         * libs/gst/controller/gstcontroller.h:
7030           Less verbose logging add docs for unimplemented parts and correctly
7031           return when using unavailable parts.
7032
7033 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7034
7035         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7036         Move all the debug to the CLOCK category, and associate it with
7037         the clock object.
7038
7039 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7040
7041         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7042         Make take_buffer a bit quicker by removing redundant checks
7043         caused by calling gst_adapter_take.
7044
7045 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7046
7047         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7048           Don't leak GCond.
7049
7050         * tests/check/Makefile.am:
7051         * tests/check/elements/.cvsignore:
7052         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7053         (GST_START_TEST), (multiqueue_suite):
7054           Add some dead simple unit tests for the 'multiqueue' element
7055           (some bits don't work yet and are disabled for now).
7056
7057 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7058
7059         * gst/gstelement.c: (gst_element_get_request_pad),
7060         (gst_element_class_get_request_pad_template):
7061           Make gst_element_get_request_pad() create request pads only for
7062           request pad templates and not for, say, sometimes pad templates.
7063
7064 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7065
7066         * docs/design/draft-klass.txt:
7067           Add example that needs more thinking.
7068         
7069         * docs/design/draft-missing-plugins.txt:
7070           More thoughts about wrapper plugins.
7071         
7072         * docs/random/ensonic/embedded.txt:
7073         * docs/random/ensonic/profiling.txt:
7074           More design work.
7075
7076 2007-03-25  Wim Taymans  <wim@fluendo.com>
7077
7078         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7079         (gst_base_src_loop):
7080         Only push the segment events in the PLAYING state for live sources.
7081
7082 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7083
7084         * gst/gstpipeline.c: (gst_pipeline_change_state):
7085         Modify the clock distribution path in PAUSED->PLAYING so that we 
7086         never attempt to choose a new clock unless we're actually leaving
7087         the PAUSED state for the first time. This prevents choosing a
7088         different clock when the state_change gets called for a 2nd time due
7089         to some element doing an async state change.
7090
7091 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7092
7093         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7094         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7095         (gst_pad_chain_unchecked), (gst_pad_push):
7096         Revert last commit. This needs some more thoughts.
7097
7098 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7099
7100         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7101         (gst_pad_chain_unchecked), (gst_pad_push):
7102         Check in set_caps if the caps are compatible with the pad and remove
7103         two functions that are redundant now. Fixes #421543.
7104
7105 2007-03-22  Wim Taymans  <wim@fluendo.com>
7106
7107         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7108         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7109         Unref some more to make valgrind happy.
7110
7111 2007-03-22  Wim Taymans  <wim@fluendo.com>
7112
7113         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7114         (gst_system_clock_id_wait_jitter),
7115         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7116         Fix anoying regression that survived a few releases. When adding an
7117         async entry while blocking on a sync entry, the sync entry will unblock
7118         but still be busy, so it should continue to wait instead of returning
7119         _BUSY to the app.
7120         Add some comments here and there.
7121
7122         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7123         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7124         Add testcase for this.
7125
7126 2007-03-22  Wim Taymans  <wim@fluendo.com>
7127
7128         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7129         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7130         WRONG_STATE and can silently pause the task. All other cases should
7131         error out.
7132
7133 2007-03-22  Wim Taymans  <wim@fluendo.com>
7134
7135         Patch by: Ville Syrjala <syrjala at sci dot fi>
7136
7137         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7138         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7139         Improve debugging.
7140
7141 2007-03-21  Michael Smith  <msmith@fluendo.com>
7142
7143         * docs/pwg/advanced-types.xml:
7144           Fix some errors in the typefinding docs pointed out on irc.
7145
7146 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7147
7148         * libs/gst/base/gstbasesrc.c:
7149         Clarify FIXME comment in the face of having added unlock_stop()
7150
7151 2007-03-21  Wim Taymans  <wim@fluendo.com>
7152
7153         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7154         Prepare for release where we warn against possible app breakage in the
7155         case of live pipelines along with an env var to enable/disable live
7156         preroll mode (GST_COMPAT=[no-]live-preroll).
7157
7158 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7159
7160         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7161         So we should use correct constants for checking for None offset.
7162
7163 2007-03-20  Wim Taymans  <wim@fluendo.com>
7164
7165         * docs/design/part-block.txt:
7166         Mention the fact that the newly switched element should be set to at
7167         least PAUSED.
7168
7169 2007-03-20  Wim Taymans  <wim@fluendo.com>
7170
7171         * gst/gst.c:
7172         Fix compilation with registry disabled as spotted by Saur.
7173
7174 2007-03-20  Wim Taymans  <wim@fluendo.com>
7175
7176         Patch by: Olivier Crete <tester at tester dot ca>
7177
7178         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7179         Look at the pending state too when syncing the element state to the
7180         parent. Fixes #420133.
7181
7182 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7183
7184         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7185         (gst_base_sink_change_state):
7186         * libs/gst/base/gstbasesink.h:
7187         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7188         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7189         (gst_base_src_deactivate):
7190         * libs/gst/base/gstbasesrc.h:
7191         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7192         for sub-classes to correctly clear any state they set trying to
7193         unlock, such as clearing out unlock commands from a command fd.
7194         API: basesrc::unlock_stop
7195         API: basesink::unlock_stop
7196
7197         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7198         (gst_fd_sink_render), (gst_fd_sink_unlock),
7199         (gst_fd_sink_unlock_stop):
7200         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7201         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7202         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7203
7204         Implement unlock_stop in fdsrc and fdsink.
7205         Implement seeking in fdsrc when a seekable fd is passed, as in
7206         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7207
7208 2007-03-19  Wim Taymans  <wim@fluendo.com>
7209
7210         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7211
7212         * gst/gstelement.c: (gst_element_class_init):
7213         Fix pad-added and pad-removed signal signatures so that the pad type is
7214         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7215
7216 2007-03-19  Wim Taymans  <wim@fluendo.com>
7217
7218         * docs/gst/gstreamer-sections.txt:
7219         Add new element field and method.
7220
7221         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7222         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7223         (gst_bin_recalc_state), (gst_bin_get_state_func),
7224         (gst_bin_element_set_state), (gst_bin_change_state_func),
7225         (gst_bin_continue_func), (bin_bus_handler),
7226         (bin_push_state_continue), (bin_handle_async_start),
7227         (bin_handle_async_done), (gst_bin_handle_message_func):
7228         Make async state changes a bit smarter by using new ASYNC_START and
7229         ASYNC_DONE messages. This reduces the number of times we run the state
7230         recalculation thread.
7231         Don't change state of element with a pending ASYNC_START message.
7232         Deprecate STATE_DIRTY messages.
7233         
7234         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7235         (gst_element_get_state_func), (gst_element_continue_state),
7236         (gst_element_lost_state), (gst_element_set_state_func),
7237         (gst_element_change_state):
7238         * gst/gstelement.h:
7239         Keep the state that was last set by the app in a new element field.
7240         Don't allow state changes when handling an element event.
7241         Post ASYNC_START and ASYNC_DONE messages.
7242         Change lost_state so that we go to PAUSED and wait for the parent to set
7243         us to PLAYING again (so latency calculation can be performed)
7244         Export gst_element_change_state() method so that subclasses can use it.
7245         API: gst_element_change_state()
7246         API: GST_STATE_TARGET
7247
7248         * gst/gstpipeline.c: (gst_pipeline_class_init),
7249         (reset_stream_time), (gst_pipeline_change_state),
7250         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7251         Using the new ASYNC_START message we can reset the base_time when
7252         needed. This can then be used to implement base_time redistribution in
7253         flushing seeks so that we can remove the explicit seek handling.
7254         Perform latency query and configuration when going to PLAYING.
7255
7256         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7257         (gst_base_sink_query), (gst_base_sink_change_state):
7258         Post new ASYNC_START/ASYNC_DONE messages.
7259
7260         * tests/check/generic/sinks.c: (GST_START_TEST):
7261         Fix test because the bin will not set the async element to PLAYING right
7262         away.
7263
7264         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7265         Make the message check a little stronger.
7266         Handle ASYNC messages.
7267
7268         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7269         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7270         Expect ASYNC_DONE messages.
7271
7272 2007-03-19  Wim Taymans  <wim@fluendo.com>
7273
7274         * docs/gst/gstreamer-sections.txt:
7275         * gst/gstmessage.c: (gst_message_new_async_start),
7276         (gst_message_new_async_done), (gst_message_parse_info),
7277         (gst_message_parse_async_start):
7278         * gst/gstmessage.h:
7279         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7280         support.
7281
7282 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7283
7284         * tools/gst-inspect.c:
7285         (print_plugin_automatic_install_info_codecs):
7286           Now that we don't check for the 'Codec' keyword any longer in the
7287           klass, we shouldn't spew a warning if the klass isn't a decoder or
7288           encoder (since it might be a Source/Network, for example).
7289
7290 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7291
7292         * tools/gst-inspect.c:
7293         (print_plugin_automatic_install_info_codecs):
7294           Don't require decoder/demuxer/depayloader elements or
7295           encoder/muxer/paylader elements to have 'Codec' as part of their
7296           factory class string when introspecting a plugin's capabilities.
7297           draft-klass.txt mentions that it might be removed in future, and
7298           flump3dec doesn't have it as part of its class string, so chances
7299           are others might also not have it.
7300
7301 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7302
7303         * po/af.po:
7304         * po/az.po:
7305         * po/bg.po:
7306         * po/ca.po:
7307         * po/cs.po:
7308         * po/de.po:
7309         * po/en_GB.po:
7310         * po/fr.po:
7311         * po/it.po:
7312         * po/nb.po:
7313         * po/nl.po:
7314         * po/ru.po:
7315         * po/sq.po:
7316         * po/sr.po:
7317         * po/sv.po:
7318         * po/tr.po:
7319         * po/uk.po:
7320         * po/vi.po:
7321         * po/zh_CN.po:
7322         * po/zh_TW.po:
7323           Update translations from translation project
7324
7325 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7326
7327         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7328         (gst_child_proxy_set_property):
7329           Invert precondition check to be alike the ones in the mimiced gobject
7330           api.
7331
7332 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7333
7334         * docs/design/draft-tagreading.txt:
7335         * docs/random/ensonic/audiobaseclasses.txt:
7336           Do some Architect work.
7337
7338         * gst/gstobject.c: (gst_object_set_name):
7339           Add a WARNING.
7340
7341         * gst/gstpad.c:
7342           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7343
7344 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7345
7346         * gst/gstsystemclock.c: (gst_system_clock_init),
7347         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7348         Defer starting the async system clock thread until the first async
7349         wait is scheduled. Fixes #414986.
7350
7351 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7352
7353         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7354         (gst_single_queue_free):
7355           Fix small leak (free GstSingleQueue structure too, not only contents).
7356
7357 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7358
7359         * gst/gstbin.c:(gst_bin_add):
7360         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7361         * win32/common/libgstbase.def:
7362         * win32/common/libgstreamer.def:
7363         Add new exported functions.
7364
7365 2007-03-09  Wim Taymans  <wim@fluendo.com>
7366
7367         * docs/plugins/gstreamer-plugins-sections.txt:
7368         Fix GstTee docs.
7369
7370 2007-03-09  Wim Taymans  <wim@fluendo.com>
7371
7372         * docs/gst/gstreamer-sections.txt:
7373         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7374         * gst/gstbuffer.h:
7375         Add metadata copy functions. Fixes #393099.
7376         API: gst_buffer_copy_metadata()
7377
7378         * gst/gstutils.c: (gst_buffer_stamp):
7379         * libs/gst/base/gstbasetransform.c:
7380         (gst_base_transform_prepare_output_buffer):
7381         Use new metadata copy functions.
7382
7383 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7384
7385         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7386         (gst_identity_init), (gst_identity_check_perfect),
7387         (gst_identity_check_imperfect_timestamp),
7388         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7389         (gst_identity_set_property), (gst_identity_get_property):
7390         * plugins/elements/gstidentity.h:
7391         Separate out check-imperfect-timestamp and check-imperfect-offset.
7392         Put back check-perfect as it was to keep compatibility.
7393
7394 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7395
7396         * gst/gstelement.c: (gst_element_dispose):
7397         There's no need to warn if VOID_PENDING is not NONE here, as
7398         long as the state is NULL it's ok, and that's checked immediately
7399         above.
7400
7401 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7402
7403         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7404         Fix check for perfect stream to ignore buffers with -1 
7405         offsets/offset ends when checking data contiguity.
7406
7407 2007-03-08  Wim Taymans  <wim@fluendo.com>
7408
7409         * tools/gst-launch.c: (event_loop):
7410         Print INFO messages.
7411
7412 2007-03-08  Wim Taymans  <wim@fluendo.com>
7413
7414         * libs/gst/base/gstbasetransform.c:
7415         (gst_base_transform_sink_eventfunc),
7416         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7417         (gst_base_transform_activate):
7418         * libs/gst/base/gstbasetransform.h:
7419         Add support for dropping buffers with custom GstFlowReturn.
7420         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7421         buffers or dropped buffers.
7422
7423         * docs/libs/gstreamer-libs-sections.txt:
7424         docs for new custom return code.
7425
7426         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7427         Use drop support in base class to implement drop-probability.
7428
7429 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7430
7431         * gst/gst.c: (load_plugin_func):
7432         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7433         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7434         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7435           Remove newlines at end of debug log strings.
7436
7437 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7438
7439         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7440         Only post bus message at max, once per buffer received.
7441
7442 2007-03-07  Wim Taymans  <wim@fluendo.com>
7443
7444         * docs/design/Makefile.am:
7445         * docs/design/part-synchronisation.txt:
7446         Add doc about synchronisation
7447
7448         * docs/design/draft-latency.txt:
7449         * docs/design/part-TODO.txt:
7450         * docs/design/part-clocks.txt:
7451         * docs/design/part-events.txt:
7452         * docs/design/part-gstbus.txt:
7453         * docs/design/part-gstpipeline.txt:
7454         * docs/design/part-live-source.txt:
7455         * docs/design/part-messages.txt:
7456         * docs/design/part-overview.txt:
7457         * docs/design/part-streams.txt:
7458         * docs/design/part-trickmodes.txt:
7459         Documentation updates.
7460
7461 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7462
7463         * gstreamer.doap:
7464         Update the doap file.
7465
7466 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7467
7468         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7469         Rename non-perfect to imperfect for Mike and for the sanctity of the
7470         language.
7471         Also make sure bus message gets emitted for data-incontiguities.
7472
7473 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7474
7475         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7476         (gst_identity_start):
7477         * plugins/elements/gstidentity.h:
7478         Emit bus message if check-perfect is true and we encounter a
7479         non-perfect stream between 2 consecutive buffers.
7480         Fixes #415394.
7481
7482 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7483
7484         * configure.ac:
7485         Back to CVS
7486
7487 === release 0.10.12 ===
7488
7489 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7490
7491         * configure.ac:
7492           releasing 0.10.12, "Inevitable Demise"
7493
7494 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7495
7496         * configure.ac:
7497          Version 0.10.11.2 (0.10.12 pre-release)
7498          Bump libtool versioning.
7499
7500 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7501
7502         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7503           Log flow-names and not numbers.
7504
7505 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7506
7507         * configure.ac:
7508           Convert to new AG_GST style.
7509
7510 2007-02-28  Wim Taymans  <wim@fluendo.com>
7511
7512         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7513         Don't unref query twice.
7514
7515 2007-02-28  Wim Taymans  <wim@fluendo.com>
7516
7517         * gst/gstvalue.c: (gst_value_transform_object_string),
7518         (_gst_value_initialize):
7519         Implement GstObject -> string transform so we print object names
7520         when serializing GValues containing GstObjects.
7521
7522 2007-02-28  Wim Taymans  <wim@fluendo.com>
7523
7524         * docs/gst/gstreamer-sections.txt:
7525         Add new stuff to docs.
7526
7527 2007-02-28  Wim Taymans  <wim@fluendo.com>
7528
7529         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7530         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7531         (gst_base_sink_change_state):
7532         Improve latency query code.
7533         Don't leak latency events.
7534
7535         * tests/check/gst/gstbin.c: (GST_START_TEST):
7536         Improve debugging.
7537
7538 2007-02-28  Wim Taymans  <wim@fluendo.com>
7539
7540         * gst/gstelement.c: (gst_element_message_full),
7541         (gst_element_get_state_func):
7542         * gst/gstelement.h:
7543         Improve docs a little. Added Since: for new macro.
7544
7545         * gst/gstobject.c: (gst_object_sink):
7546         * gst/gstpipeline.c: (gst_pipeline_change_state),
7547         (gst_pipeline_set_new_stream_time):
7548         * gst/gstpipeline.h:
7549         Improve debugging and docs.
7550
7551         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7552         Improve debugging.
7553
7554 2007-02-28  Wim Taymans  <wim@fluendo.com>
7555
7556         * gst/gstelement.c: (gst_element_message_full),
7557         (gst_element_set_locked_state), (gst_element_get_state_func),
7558         (gst_element_change_state):
7559         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7560         Documentation updates.
7561         Small code cleanups.
7562
7563         * gst/gstmessage.c: (gst_message_new_info),
7564         (gst_message_parse_info):
7565         * gst/gstmessage.h:
7566         API: gst_message_new_info()
7567         API: gst_message_parse_info()
7568         Add INFO message create and parse code.
7569
7570 2007-02-28  Wim Taymans  <wim@fluendo.com>
7571
7572         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7573         (bin_query_latency_done):
7574         Also report the live parameter of a latency query.
7575
7576 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7577
7578         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7579           Copy the current generic/states example from -base and adapt so
7580           we can use the exact same code everywhere.
7581           Check a STATES_IGNORE_ELEMENTS env var which can be used
7582           to ignore certain element factories for this test, which is
7583           what is being done in -base
7584         * tests/check/Makefile.am:
7585           Mention this environment variable.
7586
7587 2007-02-27  Wim Taymans  <wim@fluendo.com>
7588
7589         * docs/gst/gstreamer-sections.txt:
7590         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7591         (gst_bus_timed_pop), (gst_bus_pop):
7592         * gst/gstbus.h:
7593         API: gst_bus_timed_pop()
7594         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7595         message to arrive on the bus.
7596
7597         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7598         (gst_bus_suite):
7599         Two unit tests for new _timed_pop() function.
7600
7601 2007-02-23  Wim Taymans  <wim@fluendo.com>
7602
7603         * gst/gstpipeline.c: (gst_pipeline_change_state),
7604         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7605         Don't ref a NULL clock in _provide_clock_func().
7606         Don't allow an INVALID delay.
7607         Don't try to calculate base_time with an invalid start_time.
7608         Also distribute and notify a NULL clock when it was selected.
7609
7610         * tools/gst-launch.c: (event_loop):
7611         Don't crash when a NULL clock was selected in the pipeline.
7612
7613 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7614
7615         * docs/design/Makefile.am:
7616         * docs/design/draft-missing-plugins.txt:
7617         * docs/random/draft-missing-plugins.txt:
7618           Some small updates: update plugin system identifier prefix
7619           ('gstreamer.net' to 'gstreamer'), mention our new install
7620           API in libgstbaseutils rather than libgimme-codec, add
7621           reference to the online docs.
7622
7623 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7624
7625         * win32/common/config.h:
7626           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7627           use moap cl ci to only check in what is mentioned in the ChangeLog.
7628
7629 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7630
7631         * docs/gst/gstreamer-sections.txt:
7632         * gst/gstelement.h:
7633           Fix up documentation to link to the correct GstGError section.
7634           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7635
7636 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7637
7638         * tools/gst-launch.c: (event_loop):
7639           Make sure that we actually show the important message part of a
7640           warning message.
7641           No need to check if the gerror is not NULL to free; first of all
7642           g_free accepts NULL; and second the default error handler would
7643           segfault if gerror was NULL.
7644
7645 2007-02-21  Wim Taymans  <wim@fluendo.com>
7646
7647         * docs/gst/gstreamer-sections.txt:
7648         Removed docs as well.
7649
7650 2007-02-21  Wim Taymans  <wim@fluendo.com>
7651
7652         * gst/gstmessage.c: (gst_message_parse_duration):
7653         * gst/gstmessage.h:
7654         Remove new messages for release.
7655
7656 2007-02-20  Wim Taymans  <wim@fluendo.com>
7657
7658         * docs/design/part-gstghostpad.txt:
7659         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7660         (gst_ghost_pad_new_full):
7661         Make the ghostpad a parent of the internal pad again for better backward
7662         compatibility. Don't write code that relies on this however.
7663
7664         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7665         (gst_pad_link_check_hierarchy):
7666         Require that parents should be GstElements in the hierarchy check.
7667
7668 2007-02-20  Wim Taymans  <wim@fluendo.com>
7669
7670         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7671         (gst_bin_change_state_func), (bin_query_min_max_init),
7672         (bin_query_latency_fold), (bin_query_latency_done),
7673         (gst_bin_query):
7674         Improve debug info.
7675         Implement latency query.
7676
7677 2007-02-20  Wim Taymans  <wim@fluendo.com>
7678
7679         * docs/design/part-gstghostpad.txt:
7680         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7681         (gst_ghost_pad_internal_do_activate_push),
7682         (gst_ghost_pad_internal_do_activate_pull),
7683         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7684         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7685         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7686         Do not set the internal pad as a parent anymore so we can avoid
7687         hierarchy linking errors when the ghostpad has no parent yet. This also
7688         fixes failed activation because of unlinked internal pads, which in
7689         turn fixes the impossible case where you have to activate a pad before
7690         you can add it to a running element.
7691         Also fix the docs.
7692
7693         * gst/gstpad.c: (pre_activate), (post_activate),
7694         (gst_pad_set_active), (gst_pad_activate_pull),
7695         (gst_pad_activate_push), (gst_pad_check_pull_range):
7696         Add some more debug info.
7697         Mark activation mode in pre_activate so that we don't try to activate in
7698         endless loops. Fixes #385084.
7699
7700 2007-02-19  Wim Taymans  <wim@fluendo.com>
7701
7702         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7703         (gst_base_transform_check_get_range):
7704         Implement a checkgetrange function instead of relying on the default
7705         core behaviour that assumes we can operate in pull mode if we have a
7706         getrange function. First step at fixing #385084.
7707
7708 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
7709
7710         * gst/gstchildproxy.h:
7711         * libs/gst/base/gstbasesink.h:
7712         * libs/gst/base/gstbasesrc.h:
7713         * libs/gst/base/gstbasetransform.h:
7714         More docs coverage and some ChangeLog surgery (add missing names)
7715
7716 2007-02-15  Wim Taymans  <wim@fluendo.com>
7717
7718         * docs/design/part-TODO.txt:
7719         * docs/design/part-activation.txt:
7720         * docs/design/part-block.txt:
7721         * docs/design/part-buffering.txt:
7722         * docs/design/part-clocks.txt:
7723         * docs/design/part-element-source.txt:
7724         * docs/design/part-events.txt:
7725         * docs/design/part-gstbin.txt:
7726         * docs/design/part-gstbus.txt:
7727         * docs/design/part-gstpipeline.txt:
7728         * docs/design/part-live-source.txt:
7729         * docs/design/part-messages.txt:
7730         * docs/design/part-overview.txt:
7731         * docs/design/part-qos.txt:
7732         * docs/design/part-query.txt:
7733         * docs/design/part-states.txt:
7734         * docs/design/part-trickmodes.txt:
7735         Some doc updates. Start renaming from stream_time to running_time where
7736         it was used wrongly.
7737
7738 2007-02-15  Wim Taymans  <wim@fluendo.com>
7739
7740         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7741         Answer LATENCY query.
7742
7743 2007-02-15  Wim Taymans  <wim@fluendo.com>
7744
7745         * tests/check/gst/gstevent.c: (event_probe), (test_event),
7746         (GST_START_TEST):
7747         Improve debugging.
7748
7749 2007-02-15  Wim Taymans  <wim@fluendo.com>
7750
7751         * gst/gstpad.c: (gst_pad_get_internal_links_default),
7752         (gst_pad_dispatcher):
7753         Improve debugging of default pad dispatcher and query functions.
7754
7755 2007-02-15  Wim Taymans  <wim@fluendo.com>
7756
7757         * docs/gst/gstreamer-sections.txt:
7758         Remove old unused method.
7759
7760 2007-02-13  Wim Taymans  <wim@fluendo.com>
7761
7762         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7763         Fix check
7764
7765 2007-02-13  Wim Taymans  <wim@fluendo.com>
7766
7767         * docs/design/part-seeking.txt:
7768         Some small update.
7769
7770         * gst/gstsegment.c: (gst_segment_set_seek):
7771         Revert old bogus change that should make seeking work again.
7772
7773 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7774
7775         * docs/random/ensonic/dynlink.txt:
7776         * docs/random/ensonic/interfaces.txt:
7777         * docs/random/ensonic/receipies.txt:
7778           Possible dynamic reconnection api, plus some type fixes the other two
7779           docs.
7780
7781 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
7782
7783         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7784         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7785         Also check for an absolute path following file:// in the filesrc
7786         element. Remove redundant check and call g_path_is_absolute() on the
7787         unescaped location.
7788
7789 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7790
7791         * docs/design/draft-klass.txt:
7792           Add existing category analysis.
7793           
7794         * gst/gstcaps.c:
7795           Fix doc example, framerate is a fraction.
7796
7797 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7798
7799         * configure.ac:
7800         * docs/gst/Makefile.am:
7801         * docs/gst/gstreamer-sections.txt:
7802         * docs/libs/Makefile.am:
7803           Erm, forgot a bunch of --extra-dir.
7804
7805 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7806
7807         * configure.ac:
7808         * docs/gst/Makefile.am:
7809         * docs/libs/Makefile.am:
7810         * docs/plugins/Makefile.am:
7811           Add crossreferences to glib/gobject docs.
7812
7813 2007-02-12  Wim Taymans  <wim@fluendo.com>
7814
7815         * docs/design/draft-latency.txt:
7816         Small update.
7817
7818         * docs/libs/gstreamer-libs-sections.txt:
7819         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7820         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7821         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7822         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7823         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7824         (gst_base_sink_get_position), (gst_base_sink_query),
7825         (gst_base_sink_change_state):
7826         * libs/gst/base/gstbasesink.h:
7827         API: gst_base_sink_query_latency() to let subclasses query the upstream
7828         latency.
7829         API: gst_base_sink_get_latency() to let subclasses query the configured
7830         latency in the sink.
7831         Implement query and set latency.
7832         Update some docs.
7833         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7834         don't continue preroll when we are flushing. Fixes #405284.
7835
7836         * tests/check/pipelines/stress.c: (change_state_timeout),
7837         (quit_timeout), (GST_START_TEST), (stress_suite):
7838         Test for #405284.
7839
7840 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
7841
7842         Patch by: René Stadler <mail at renestadler de>
7843
7844         * docs/gst/gstreamer-sections.txt:
7845         * gst/gsttaglist.c: (_gst_tag_initialize):
7846         * gst/gsttaglist.h:
7847           API: add GST_TAG_REFERENCE_LEVEL (#403597).
7848
7849 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
7850
7851         * docs/libs/Makefile.am:
7852           Fix path to core docs.
7853
7854         * gst/gstbin.c: (gst_bin_get_by_interface),
7855         (gst_bin_iterate_all_by_interface):
7856           Refix docs by also renaming 'interface' to 'iface' in implementation.
7857
7858         * docs/gst/gstreamer-sections.txt:
7859         * gst/gstcaps.c:
7860         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7861         * gst/gstchildproxy.h:
7862         * gst/gstelementfactory.c:
7863         * gst/gstpadtemplate.h:
7864         * libs/gst/controller/gstcontroller.c:
7865         (gst_controlled_property_new):
7866           Document more.
7867
7868 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
7869
7870         * gst/gstbin.h:(gst_bin_get_by_interface),
7871         (gst_bin_iterate_all_by_interface):
7872         Replace interface parameter name by iface as interface is 
7873         a reserved keyword in Visual Studio for C++ projects so it removes
7874         a build error for application developpers using VS.
7875         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7876         Fix a bug on Windows in uri format check. Now the prefix checked
7877         is file:// and next we check if the path after file:// is absolute.
7878         * win32/common/libgstbase.def:
7879         * win32/common/libgstdataprotocol.def:
7880         * win32/common/libgstgstreamer.def:
7881         Add new exported functions.
7882
7883 2007-02-09  Andy Wingo  <wingo@pobox.com>
7884
7885         * tests/check/pipelines/simple-launch-lines.c
7886         (simple_launch_lines_suite, test_tee): Disable tee test until I
7887         have time to fix it :-(
7888
7889         * tests/check/Makefile.am (noinst_HEADERS): 
7890         * tests/check/libs/libsabi.c: 
7891         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7892         * tests/check/gst/gstabi.c: 
7893         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7894
7895         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7896         tests for push and pull tee behavior.
7897
7898         * plugins/elements/gsttee.h: 
7899         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7900         mark as deprecated as well as unimplemented. It was a crack idea.
7901         Add support for tee operating in pull mode, off by default.
7902
7903         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7904         normal-case logs down to LOG, raise errors to WARNING.
7905         (gst_registry_xml_read_cache): Don't log before calling a function
7906         that logs.
7907
7908         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7909         exit (registry finalize).
7910         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7911         DEBUG log when we emit signals that people don't even have the
7912         chance to connect to.
7913         (gst_registry_scan_path_level): Less logging in the normal case.
7914
7915 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7916
7917         Patch by: Michal Benes <michal dot benes at itonis dot tv>
7918
7919         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7920         Correctly generate EOS for non-seekable files. We don't have a total
7921         length for them and would get an unexpected end of file if we only
7922         special-cased for regular files. (Fixes: #404569)
7923
7924 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7925
7926         * tests/check/elements/filesrc.c: (GST_START_TEST),
7927         (filesrc_suite):
7928         Add unit test for the GstURIHandler interface in filesrc. This also
7929         tests the newly added file://localhost/foo/bar support.
7930
7931 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
7932
7933         * gst/gstelementfactory.h:
7934           The klass string is not a hierarchy. Add reference to the design doc
7935           for more information and common types.
7936
7937 2007-02-02  Wim Taymans  <wim@fluendo.com>
7938
7939         * gst/gstquery.c: (gst_query_new_latency):
7940         Remove old structure field.
7941
7942 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
7943
7944         * tools/gst-launch.1.in:
7945           Give example for network streaming (#351998)
7946
7947 2007-02-02  Wim Taymans  <wim@fluendo.com>
7948
7949         * docs/gst/gstreamer-sections.txt:
7950         Add docs for new methods.
7951
7952         * gst/gstevent.c: (gst_event_new_latency),
7953         (gst_event_parse_latency):
7954         * gst/gstevent.h:
7955         Add new LATENCY event to configure latency in a pipeline.
7956         API: gst_event_new_latency
7957         API: gst_event_parse_latency
7958
7959         * gst/gstmessage.c: (gst_message_new_buffering),
7960         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
7961         (gst_message_new_latency), (gst_message_parse_buffering),
7962         (gst_message_parse_lost_preroll):
7963         * gst/gstmessage.h:
7964         Added messages used in draft-latency.
7965         API: gst_message_new_lost_preroll
7966         API: gst_message_parse_lost_preroll
7967         API: gst_message_new_prerolled
7968         API: gst_message_new_latency
7969
7970         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
7971         (gst_query_parse_latency):
7972         * gst/gstquery.h:
7973         Implemented new latency query as in design doc.
7974         API: gst_query_new_latency
7975         API: gst_query_set_latency
7976         API: gst_query_parse_latency
7977
7978 2007-02-02  Wim Taymans  <wim@fluendo.com>
7979
7980         * docs/design/draft-latency.txt:
7981         Slight redesign to allow for dynamic latency adjustments.
7982
7983         * docs/design/part-negotiation.txt:
7984         Fix some typos.
7985
7986 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
7987
7988         reviewed by: Wim Taymans <wim@fluendo.com>
7989
7990         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7991         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7992         Allow file://localhost/foo/bar URLs and correctly fail for every other
7993         hostname that one sets. This was gnomevfssrc is linked for those if
7994         installed as it can handle it (#403172)
7995
7996 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
7997
7998         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7999
8000         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8001         (unref_data), (gst_collect_pads_add_pad_full):
8002         * libs/gst/base/gstcollectpads.h:
8003         Don't put the previously added destroy notify in the GstCollectData
8004         struct as all it's padding is already used and we don't want to break
8005         ABI. Instead put in the pad's GObject data for now. This should be
8006         cleaned up for 0.11 (#402393).
8007
8008 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8009
8010         reviewed by: Wim Taymans <wim@fluendo.com>
8011
8012         * docs/libs/gstreamer-libs-sections.txt:
8013         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8014         (unref_data), (gst_collect_pads_add_pad),
8015         (gst_collect_pads_add_pad_full):
8016         * libs/gst/base/gstcollectpads.h:
8017         API: Add function to specify a destroy notification for custom
8018         GstCollectData when adding new pads in GstCollectPads (#402393).
8019
8020 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8021
8022         * po/sv.po:
8023           Update Swedish translation (#378255).
8024
8025 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8026
8027         * docs/design/draft-klass.txt:
8028           Fix the previous change, this is a list of categories and not a hierarchy.
8029
8030 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8031
8032         * docs/design/draft-klass.txt:
8033           Add info about how to get a list of used classes.
8034
8035 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8036
8037         * plugins/elements/gsttypefindelement.c:
8038         (gst_type_find_element_chain_do_typefinding),
8039         (gst_type_find_element_change_state):
8040           Don't leak found caps in chain function (no idea why that never
8041           showed up as a leak anywhere).
8042
8043 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8044
8045         * gst/gstplugin.h:
8046           Fix and expand GstPluginDesc API docs.
8047
8048 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8049
8050         * gst/gstcaps.c:
8051         * gst/gstelementfactory.c:
8052         * gst/gstpadtemplate.h:
8053           api doc fixes
8054
8055         * libs/gst/controller/gstcontroller.c:
8056         (gst_controlled_property_new):
8057         * tests/examples/controller/audio-example.c:
8058           comment fixes
8059
8060 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8061
8062         * configure.ac:
8063           comment about refining the xml deps
8064
8065         * docs/manuals.mak:
8066           comments about moving away from jade for docs
8067         
8068         * gst/gst.c:
8069           recommit the ifdefs to use the binary registry
8070         
8071         * gst/gstbin.c: (gst_bin_change_state_func):
8072           this break is obsolete
8073
8074         * gst/gstelementfactory.h:
8075           better GST_ELEMENT_DETAILS docs, add comment about translation
8076
8077         * gst/gstinfo.h:
8078           remove eol slash
8079
8080         * gst/gstobject.c: (gst_signal_object_get_type):
8081           add G_UNLIKELY as usual
8082
8083         * gst/gstpad.c: (gst_pad_event_default):
8084           add fall trhu comment
8085
8086         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8087         (gst_registry_binary_initialize_magic),
8088         (gst_registry_binary_save_string),
8089         (gst_registry_binary_save_pad_template),
8090         (gst_registry_binary_save_feature),
8091         (gst_registry_binary_save_plugin),
8092         (gst_registry_binary_write_cache),
8093         (gst_registry_binary_check_magic),
8094         (gst_registry_binary_load_pad_template),
8095         (gst_registry_binary_load_feature),
8096         (gst_registry_binary_load_plugin),
8097         (gst_registry_binary_read_cache):
8098           comment typo and formatting
8099
8100         * gst/gstutils.c: (gst_element_state_get_name),
8101         (gst_element_state_change_return_get_name):
8102           remove obsolete breaks
8103
8104         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8105           add FIXME 0.11 and remove cpp comment
8106
8107 2007-01-29  Edward Hervey  <edward@fluendo.com>
8108
8109         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8110         Fix print statement in an even more portable way.
8111
8112 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8113
8114         * docs/gst/gstreamer-sections.txt:
8115         * gst/gstutils.h:
8116           API: add GST_ROUND_DOWN_* macros (#401781).
8117
8118 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8119
8120         * docs/gst/gstreamer.types.in:
8121         * gst/gstregistry.c: (gst_registry_class_init):
8122           Document registry signals and make gtk-doc pick them up (#401381).
8123
8124 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8125
8126         * docs/pwg/building-testapp.xml:
8127           Add some audioconverts and audioresample to the pipeline, and some
8128           more comments and error handling.
8129
8130 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8131
8132         * docs/manual/manual.xml:
8133         * docs/pwg/pwg.xml:
8134           Fix typo (#400987).
8135
8136 2007-01-26  Wim Taymans  <wim@fluendo.com>
8137
8138         * gst/gstcaps.c: (gst_static_caps_get):
8139         Init caps flags too.
8140
8141 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8142
8143         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8144
8145         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8146         If not using mmap'ed files try to seek to the end instead of the
8147         start to determine whether we can seek at all. This fixes the case
8148         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8149         seeks for everything afterwards fail. Fixes #400656
8150
8151 2007-01-25  Wim Taymans  <wim@fluendo.com>
8152
8153         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8154         Add some refcount debugging.
8155         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8156         in multiple streaming threads.
8157
8158 2007-01-25  Wim Taymans  <wim@fluendo.com>
8159
8160         Patch by: David Schleef <ds at schleef dot org>
8161
8162         * docs/libs/gstreamer-libs-sections.txt:
8163         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8164         * libs/gst/base/gstadapter.h:
8165         API: gst_adapter_copy() that can reduce the amount of memcpy when
8166         getting data from the adapter. Fixes #388201.
8167
8168 2007-01-25  Edward Hervey  <edward@fluendo.com>
8169
8170         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8171         In print statements, "%x" is for guint. Fixes build on macosx.
8172
8173 2007-01-24  Edward Hervey  <edward@fluendo.com>
8174
8175         * plugins/elements/gstmultiqueue.c:
8176         (gst_multi_queue_loop):
8177         Small fix.
8178         (single_queue_overrun_cb), (single_queue_underrun_cb),
8179         (single_queue_check_full), (gst_single_queue_new):
8180         Implement single queue growth system.
8181         This uses the extra-size properties, and will grow single queues by
8182         that much if one goes full whereas there are others empty. This is
8183         called extra-mode in the code.
8184         When a single queue's levels go back below the initial max-size
8185         limits, it is no longer in extra-mode. This is to ensure we don't
8186         consume too much memory.
8187         Fixes #399875
8188
8189 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8190
8191         * gst/gst.c: (gst_init_get_option_group):
8192           Make warning about late g_thread_init() calls a bit more explicit,
8193           so that it's more obvious to application developers what they need
8194           to do if a user files a bug against their application.
8195
8196 2007-01-22  Edward Hervey  <edward@fluendo.com>
8197
8198         * plugins/elements/gstmultiqueue.c:
8199         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8200         Remove previous hack of unsetting the flushing flag for the source pad
8201         instead of activating it. Instead, fix the source pad activate function
8202         so that it no longer depends on having a parent set or not.
8203
8204 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8205
8206         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8207
8208         * docs/manual/basics-bus.xml:
8209           Fix example code, gst_element_unref() doesn't exist any longer.
8210
8211 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8212
8213         Patch by: Mark Nauwelaerts <manauw at skynet be>
8214
8215         * gst/gstpad.c:
8216           Fix two docs typoes (#399094).
8217
8218 2007-01-19  Edward Hervey  <edward@fluendo.com>
8219
8220         * docs/faq/gst-uninstalled:
8221         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8222         depending on libgstbaseutils can work in uninstalled environment.
8223
8224 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8225
8226         * gst/gsttaglist.h:
8227         * gst/gsttagsetter.c:
8228         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8229         statement for new tag.
8230
8231 2007-01-17  Edward Hervey  <edward@fluendo.com>
8232
8233         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8234         When dynamically creating single queues, activate sinkpad before adding
8235         it.
8236         We should be doing the same thing for the source pad, but we can't
8237         since it would call a method which needs the parent to be set in order
8238         to work propertly. Instead of activating the source pad, we just unset
8239         the flushing flag, which is the minimal requirement for adding a pad
8240         to an element in a state greater than READY.
8241
8242 2007-01-17  Edward Hervey  <edward@fluendo.com>
8243
8244         * docs/faq/gst-uninstalled:
8245         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8246         Mac OS X.
8247
8248 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8249
8250         * tests/check/gst/gstabi.c:
8251         * tests/check/gst/struct_hppa.h:
8252         * tests/check/libs/libsabi.c:
8253         * tests/check/libs/struct_hppa.h:
8254           Add ABI structs for HPPA (see #393796).
8255
8256 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8257
8258         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8259           Actually write ABI structs to the file specified in the GST_ABI
8260           environment variable, as the message we print claims we would.
8261
8262 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8263
8264         * tests/check/gst/gsttask.c:
8265           Fix header comment.
8266
8267 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8268
8269         * gst/gsttaglist.c: (_gst_tag_initialize):
8270           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8271           previous two entries.
8272
8273 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8274
8275         * docs/gst/gstreamer-sections.txt:
8276         * gst/gsttaglist.c: (_gst_tag_initialize):
8277         * gst/gsttaglist.h:
8278           Add tag support for beat-per-minute.
8279
8280 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8281
8282         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8283         (gst_registry_binary_initialize_magic),
8284         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8285         (gst_registry_binary_save_pad_template),
8286         (gst_registry_binary_save_feature),
8287         (gst_registry_binary_save_plugin),
8288         (gst_registry_binary_write_cache),
8289         (gst_registry_binary_check_magic),
8290         (gst_registry_binary_load_pad_template),
8291         (gst_registry_binary_load_feature),
8292         (gst_registry_binary_load_plugin),
8293         (gst_registry_binary_read_cache):
8294         * gst/gstregistrybinary.h:
8295           Use glib types, cleanup comments, impement interfaces and uri-types.
8296
8297 2007-01-13  Andy Wingo  <wingo@pobox.com>
8298
8299         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8300         getrange() to return buffers with other caps, while we fix
8301         demuxers and typefind, or otherwise change part-negotiation.txt.
8302
8303 2007-01-12  Andy Wingo  <wingo@pobox.com>
8304
8305         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8306         Factor start/stop into this private function instead of partially
8307         in activate functions and partially in the change_state function.
8308         Fixes setup before the element has changed from READY->PAUSED, as
8309         is the case in pull-mode pipelines.
8310         (gst_base_transform_sink_activate_push)
8311         (gst_base_transform_src_activate_pull): Refactor to use
8312         gst_base_transform_activate().
8313         (gst_base_transform_change_state): Removed, not needed any more.
8314
8315         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8316         Truncate before fixating.
8317         
8318         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8319         Don't set_caps() if the result of fixating is ANY, as it's not
8320         supported, and not necessary in the case of a link with no
8321         template caps on either side. Fixes tests/check/libs/basesrc in
8322         some pull-mode tests.
8323
8324         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8325         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8326         (gst_base_transform_src_activate_pull): 
8327         Track the activation mode.
8328         (gst_base_transform_setcaps): In pull mode, when activating the
8329         src pad, after activating the sink pad, activate the sink pad's
8330         peer, as discussed in part-negotiation.txt.
8331
8332         * libs/gst/base/gstbasesrc.h: 
8333         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8334         vmethod, as in basesink.
8335
8336         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8337
8338         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8339         mode, first proxy the setcaps to the peer pad.
8340         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8341         new fixate vmethod.
8342         (gst_base_sink_default_activate_pull): Rename from
8343         gst_base_sink_activate_pull.
8344         (gst_base_sink_negotiate_pull): New function, performs negotiation
8345         in pull mode before calling ::activate_pull().
8346         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8347         vmethod instead of the default implementation. I have no idea how
8348         this worked before. Negotiate before calling activate_pull.
8349
8350         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8351         sink pads in pull mode. In addition to being correct, fixes
8352         filesrc ! decodebin ! identity ! fakesink.
8353         (gst_pad_get_range, gst_pad_pull_range): Don't call
8354         gst_pad_set_caps() if the caps changes; instead error out with
8355         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8356
8357 2007-01-12  Andy Wingo  <wingo@pobox.com>
8358
8359         * docs/design/part-negotiation.txt: Update with more policy.
8360
8361 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8362
8363         * libs/gst/check/gstbufferstraw.h:
8364         * libs/gst/check/gstcheck.h:
8365           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8366           belongs.
8367
8368 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8369
8370         * tests/check/Makefile.am:
8371         * tests/check/gst/.cvsignore:
8372         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8373         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8374         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8375         (GST_START_TEST), (gst_tag_setter_suite):
8376           Add minimal unit test for beforementioned GstTagSetter bug.
8377
8378 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8379
8380         Patch by: René Stadler <mail at renestadler dot de>
8381
8382         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8383           gst_tag_list_merge() returns a new list, so it's not the best idea
8384           to ingore its return value. Effectively meant that tags could only
8385           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8386           Also add function guard to require a non-NULL taglist as input (has
8387           always been so due to gst_tag_list_copy(), just making it explicit).
8388
8389 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8390
8391         * docs/random/draft-missing-plugins.txt:
8392           Some additions: mention new API that is supposed to be used at the
8393           various stages; short blob about new gst-inspect introspection
8394           option; mention potential future problem with plugins that have
8395           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8396
8397 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8398
8399         * tools/gst-inspect.c:
8400         (print_plugin_automatic_install_info_codecs),
8401         (print_plugin_automatic_install_info_protocols),
8402         (print_plugin_automatic_install_info), (main):
8403         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8404         introspect plugin files and get machine-parsable output that corresponds
8405         to the last bit of the missing-plugin installer string (small gotcha:
8406         doesn't take into account ranks).
8407
8408 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8409
8410         * configure.ac:
8411         * docs/gst/gstreamer-sections.txt:
8412         * gst/Makefile.am:
8413         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8414         (gst_registry_lookup_locked):
8415         * gst/gstregistry.h:
8416         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8417         (gst_registry_binary_initialize_magic),
8418         (gst_registry_binary_save_string),
8419         (gst_registry_binary_save_pad_template),
8420         (gst_registry_binary_save_feature),
8421         (gst_registry_binary_save_plugin),
8422         (gst_registry_binary_write_cache),
8423         (gst_registry_binary_check_magic),
8424         (gst_registry_binary_load_pad_template),
8425         (gst_registry_binary_load_feature),
8426         (gst_registry_binary_load_plugin),
8427         (gst_registry_binary_read_cache):
8428         * gst/gstregistrybinary.h:
8429         * gst/gstregistryxml.c: (load_feature),
8430         (gst_registry_xml_read_cache):
8431           commit binary registry (disabled by default, see #359653)
8432
8433 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8434
8435         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8436           Fix 'make check' too.
8437
8438 2007-01-10  Andy Wingo  <wingo@pobox.com>
8439
8440         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8441         notes.
8442         
8443         * docs/design/part-negotiation.txt: Update with, um, one way that
8444         pull-mode negotiation might work?
8445
8446         * gst/gstpad.h: 
8447         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8448         that the pad must be a src pad; makes sense to call it the other
8449         way in pull mode, and the logic is symmetric anyway.
8450
8451 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8452
8453         * plugins/elements/gstfilesink.c:
8454           Include <stdio.h> for fseeko().
8455
8456 2007-01-10  Wim Taymans  <wim@fluendo.com>
8457
8458         * gst/gstevent.c:
8459         * gst/gstevent.h:
8460         Reserve LATENCY event.
8461
8462 2007-01-09  Wim Taymans  <wim@fluendo.com>
8463
8464         * docs/design/draft-latency.txt:
8465         Updates.
8466
8467 2007-01-09  Wim Taymans  <wim@fluendo.com>
8468
8469         * docs/design/draft-latency.txt:
8470         Updates.
8471
8472         * gst/gstelement.h:
8473         * gst/gststructure.c:
8474         * gst/gsttrace.c:
8475         Small typo fixes.
8476
8477 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8478
8479         * tests/check/.cvsignore:
8480           Ignore test-registry.xml as well.
8481
8482 2007-01-09  Wim Taymans  <wim@fluendo.com>
8483
8484         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8485         unref data at the end when we are done with the pad.
8486
8487 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8488
8489         * docs/gst/gstreamer-sections.txt:
8490         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8491         (init_post), (gst_deinit), (gst_update_registry):
8492         * gst/gst.h:
8493           API: add gst_update_registry() (#391296).
8494
8495         * tests/check/Makefile.am:
8496         * tests/check/gst/gstregistry.c:
8497         * tests/check/gst/.cvsignore:
8498           Simple unit test for the above.
8499
8500 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8501
8502         * gst/gstregistry.c: (gst_registry_scan_path_level):
8503           Plugin extension on HP-UX is .sl, add that to the list of approved
8504           plugin extensions (see #393796).
8505
8506         * tests/check/gst/gstpad.c: (GST_START_TEST):
8507           ulong => gulong. Fixes compilation with HP-UX compiler.
8508
8509         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8510           Fix compilation if valgrind headers are not available.
8511
8512 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8513
8514         * win32/common/libgstreamer.def: 
8515           Add new exported function.
8516         * win32/vs6/libgstbase.dsp: 
8517           Add gstdataqueue.c to the build.
8518         * win32/vs6/libgstcoreelements.dsp:
8519           Add gstmultiqueue.c to the build.
8520         
8521 2007-01-06  Andy Wingo  <wingo@pobox.com>
8522
8523         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8524         activate_pull(), providing for a way to specialize the process of
8525         spawning a thread to pull on the sink pad. There is a default
8526         implementation.
8527
8528         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8529         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8530         (gst_base_sink_init): Renamed pad activation functions (inserting
8531         "_pad" in their names). Refactor to use the new activate_pull
8532         vmethod, as appropriate.
8533         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8534         default activate_pull function to start a task pulling from the
8535         sink pad, as before.
8536
8537         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8538         on the pads if necessary, as in push()/chain(). Update docs.
8539         Shouldn't affect existing pull() usage as it is currently only
8540         being used on buffers without caps.
8541
8542 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8543
8544         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8545         (init_pre):
8546           Call g_thread_init() first thing in gst_init() / gst_check_init().
8547           When initialisation is done via gst_init_get_option_group() and
8548           GOption parsing, issue a warning if the GLib thread system has not
8549           been initialised yet by the time gst_init_get_option_group() is
8550           called, as it's quite likely other GLib functions such as
8551           g_option_context_new() have been called already then, and
8552           g_thread_init() must be called before any other GLib function. The
8553           application in question must be fixed in that case, since memory
8554           corruption might happen otherwise.
8555           We issue the warning because even if the GLib folks decide to work
8556           around the problem on their end in future, this is still an issue
8557           with all GLib versions >= 2.10.0, so we should warn until we depend
8558           on a GLib version we know to be safe.
8559           Update documentation as well.
8560           Closes bug #391278.
8561
8562 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8563
8564         * tools/gst-inspect.c: (main):
8565         * tools/gst-launch.c: (main):
8566         * tools/gst-typefind.c: (main):
8567         * tools/gst-xmlinspect.c: (main):
8568           Call g_thread_init() really really early, before any other GLib
8569           function (see #342564 and recent discussion on gtk-devel-list).
8570
8571 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8572
8573         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8574
8575         * gst/gst_private.h:
8576         * gst/gstconfig.h.in:
8577         * gst/gstinfo.h:
8578           On win32, all the __declspec stuff for symbol exporting is
8579           apparently only needed with MSVC, but doesn't work with MingW.
8580           Fixes compilation with MingW and #391909.
8581
8582 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8583
8584         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8585           Change some GST_ERROR_OBJECT that aren't really errors to
8586           GST_WARNING_OBJECT in order to reduce terminal spam.
8587
8588 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8589
8590         * tests/check/Makefile.am:
8591           disable test again, as there seem to be still race problems
8592
8593 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8594
8595         * tests/check/Makefile.am:
8596         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8597         (GST_START_TEST), (queue_suite):
8598           enable queue test again, add tests for the leaky behaviour
8599
8600 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8601
8602         * configure.ac:
8603         * tests/examples/Makefile.am:
8604           Compile adapter test/example only if the required headers are
8605           available (fixes #391915).
8606
8607 2007-01-01  David Schleef  <ds@schleef.org>
8608
8609         * gst/gstplugin.c:
8610           Restore the previous signal handler for SIGSEGV instead of
8611           setting to default, since we may have stolen it away from
8612           someone.  (i.e., Mono)
8613
8614 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8615
8616         * docs/random/draft-missing-plugins.txt:
8617           Some small additions and clarifications.
8618
8619 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8620
8621         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8622           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8623           since that can lead to random memory corruptions and crashes
8624           (may or may not be related to #383244, #386711, and #386711).
8625
8626 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8627
8628         * tests/check/.cvsignore:
8629         * tests/check/Makefile.am:
8630           sync .cvsignome and CLEANFILES
8631
8632 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8633
8634         * tests/check/Makefile.am:
8635           fix distcheck
8636
8637 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8638
8639         * docs/design/part-states.txt:
8640           two tiny additional comments
8641         
8642         * gst/gststructure.c:
8643           doc fixing
8644
8645         * tests/check/Makefile.am:
8646         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8647         (GST_START_TEST):
8648           disable test for now, unless it gets fixed
8649
8650 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8651
8652         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8653         (GST_START_TEST):
8654           fix race in underrun test
8655
8656 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8657
8658         * tests/check/elements/.cvsignore:
8659           ignore more
8660
8661         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8662         (GST_START_TEST):
8663           try to narrow test failure
8664
8665 2006-12-21  David Schleef  <ds@schleef.org>
8666
8667         * plugins/elements/gstfakesrc.c:
8668           Use g_random_int_range(), since it produces better random
8669           numbers in a range than almost-correct floating point code.
8670
8671 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8672
8673         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8674         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8675         (gst_check_teardown_sink_pad):
8676           do not automatically (de)activate pads
8677
8678         * tests/check/Makefile.am:
8679         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8680         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8681           add new, yet simple tests for queue
8682
8683         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8684         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8685         * tests/check/elements/filesrc.c: (cleanup_filesrc),
8686         (GST_START_TEST):
8687         * tests/check/elements/identity.c: (cleanup_identity):
8688           consistent pad (de)activation
8689
8690 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
8691
8692         Patch by: Sebastian Dröge  <slomo ubuntu com>
8693
8694         * libs/gst/base/gstcollectpads.c:
8695           Fix two doc typos (#387866).
8696
8697 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8698
8699         * docs/manual/advanced-dparams.xml:
8700           Fix typo (g_object_control_properties() doesn't exist).
8701
8702 2006-12-19  Edward Hervey  <edward@fluendo.com>
8703
8704         * gst/gstsegment.c: (gst_segment_set_seek):
8705         Fine tune the cases where the segment start/stop values are really
8706         updated.
8707         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8708         Add tests for the return values of gst_segment_set_seek().
8709
8710 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8711
8712         * gst/gst.c:
8713           Docs typo fix.
8714
8715         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8716         (gst_queue_init):
8717           Fix incorrect documentation and flesh it out a bit more.
8718           Set default values for the max properties on the GParamSpec as well,
8719           so it shows up correctly in gst-inspect.
8720
8721 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
8722
8723         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8724           Correct docs of queue, add more detail and crosslink it more.
8725
8726 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8727
8728         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8729           Print additional debug info when the stream isn't perfectly
8730           timestamped; don't try to use invalid durations.
8731
8732 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8733
8734         * docs/design/Makefile.am:
8735           Dist new design docs.
8736
8737 2006-12-16  Wim Taymans  <wim@fluendo.com>
8738
8739         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8740
8741         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8742         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8743         (gst_collect_pads_stop), (gst_collect_pads_event),
8744         (gst_collect_pads_chain):
8745         * libs/gst/base/gstcollectpads.h:
8746         Add refcounting to the collectpads data so we can track when it's safe
8747         to free the data. Fixes #383382.
8748
8749 2006-12-15  Wim Taymans  <wim@fluendo.com>
8750
8751         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8752         (gst_collect_pads_remove_pad):
8753         Automatically activate/deactivate pads when they are added to a
8754         started/stoped collectpads.
8755
8756 2006-12-15  Wim Taymans  <wim@fluendo.com>
8757
8758         * gst/gstelement.c: (gst_element_add_pad):
8759         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8760         * gst/gstpad.c: (gst_pad_init):
8761         Set pads to FLUSHING when they are created. Check, warn and fix when a
8762         demuxer adds an inactive pad to itself when running. Fixes #339326.
8763
8764 2006-12-15  Wim Taymans  <wim@fluendo.com>
8765
8766         * gst/gstelement.c: (gst_element_class_init),
8767         (gst_element_default_send_event), (gst_element_send_event),
8768         (gst_element_default_query), (gst_element_query):
8769         Expose default element send_event and query handling as vmethods that
8770         subclasses can chain up to.
8771
8772 2006-12-15  Wim Taymans  <wim@fluendo.com>
8773
8774         * gst/gstelement.c: (gst_element_set_state_func):
8775         Small documentation fixes.
8776
8777 2006-12-15  Wim Taymans  <wim@fluendo.com>
8778
8779         * docs/design/draft-latency.txt:
8780         Checked in draft for handling latency in pipelines.
8781
8782 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8783
8784         * Makefile.am:
8785         * gstreamer.doap:
8786         * gstreamer.spec.in:
8787           adding .doap file
8788
8789 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
8790
8791         * gst/gst.c: (init_pre), (init_post):
8792           init_pre() and init_post() might be called via our GOptionGroup or
8793           from gst_init(), and we should skip both of them if we've already
8794           been initialised, otherwise we will init some things twice or add
8795           two default log functions.
8796
8797 2006-12-13  Edward Hervey  <edward@fluendo.com>
8798
8799         * docs/manual/basics-bus.xml:
8800         No, gst_main_loop does not exist. Its g_main_loop.
8801         Discovered by somebody who abused the copy-paste technique of coding :)
8802
8803 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
8804
8805         * gst/gstghostpad.c:
8806           Log ghostpad debug stuff to the GST_PADS category as well rather
8807           than just to the default category.
8808
8809 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
8810
8811         * configure.ac:
8812         * gst/gst.c: (init_pre):
8813           Add some basic system details such as OS and architecture
8814           to the debug output if possible, courtesy of uname().
8815
8816 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
8817
8818         * docs/gst/running.xml:
8819           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8820           environment variables.
8821
8822 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8823
8824         * tests/check/gst/gstbin.c: (GST_START_TEST):
8825         It is acceptable to have a refcount of 2 or 3 at this point in the
8826         test, because the pipeline might be just posting its state_change
8827         message. The next line then waits for that message to appear using
8828         bus_poll, so that should be fine too.
8829
8830 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8831
8832         * gst/gst.c: (ensure_current_registry_forking):
8833         Ignore EINTR when reading from the child registry pipe.
8834         Explicitly ignore the return value from close, since it makes no
8835         difference.
8836
8837         * gst/gstminiobject.c: (gst_mini_object_ref),
8838         (gst_mini_object_unref):
8839         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8840
8841         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8842         When removing cached plugins, remove their features too, so they're
8843         not visible after they've disappeared.
8844
8845         * gst/gstutils.c: (prepare_link_maybe_ghosting):
8846         In the unlikely case that we are linking pads with no parents, don't
8847         crash trying to get the non-existent parent bin.
8848
8849         * gst/parse/grammar.y:
8850         Output debug in the PIPELINE category
8851
8852 2005-03-08  Wim Taymans  <wim@fluendo.com>
8853
8854         Patch by: René Stadler <mail at renestadler dot de>
8855
8856         * gst/gstclock.c: (gst_clock_new_periodic_id):
8857         Reject invalid clock times for interval of periodic ids.
8858         Fixes ##383506.
8859
8860 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8861
8862         * gst/gstelementfactory.c: (gst_element_factory_create):
8863         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8864         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8865         * tools/gst-inspect.c: (print_element_info):
8866         Fix refcounting of gst_plugin_feature_load to match the docs. 
8867         Fixes: #380129
8868
8869 2006-12-07  Wim Taymans  <wim@fluendo.com>
8870
8871         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8872         (gst_base_sink_get_position):
8873         Improve debugging of events.
8874
8875 2006-12-07  Wim Taymans  <wim@fluendo.com>
8876
8877         Patch by: René Stadler <mail at renestadler dot de>
8878
8879         * gst/gstclock.c: (gst_clock_id_wait):
8880         Make period ids add the interval to the origial requested time instead
8881         of the possibly updated time which can be wrong when there are multiple
8882         waiters for the same id. Fixes #382592.
8883
8884         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8885         (gst_system_clock_id_wait_jitter_unlocked),
8886         (gst_system_clock_id_wait_jitter):
8887         Fix restart in the async notify thread when an async entry is added to
8888         the front of the list. Fixes #381492. 
8889
8890         * tests/check/gst/gstsystemclock.c: (store_callback),
8891         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8892         Added test for multiple async waits.
8893         Added test for async wait order.
8894
8895 2006-12-07  Wim Taymans  <wim@fluendo.com>
8896
8897         * gst/gstbin.c: (gst_bin_query):
8898         Add some more docs about the POSITION query.
8899
8900 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8901
8902         * configure.ac:
8903         Bump version nano - back to CVS.
8904
8905 === release 0.10.11 ===
8906
8907 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
8908
8909         * configure.ac:
8910           releasing 0.10.11, "Love never runs on time"
8911
8912 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
8913
8914         * win32/common/libgstbase.def:
8915         * win32/common/libgstreamer.def:
8916         * win32/vs8/libgstbase.vcproj:
8917         * win32/vs8/libgstcoreelements.vcproj:
8918         * win32/vs8/libgstreamer.vcproj:
8919         Fix compilation on win32 under VS8
8920         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8921         Partially fixes #381175
8922
8923 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8924
8925         * gst/gstvalue.c: (gst_value_compare_fraction):
8926         If someone is foolish enough to compare 2 fractions with denominator =
8927         0, return UNORDERED rather than aborting.
8928
8929 2006-11-28  Edward Hervey  <edward@fluendo.com>
8930
8931         * libs/gst/base/Makefile.am:
8932         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8933         (gst_data_queue_base_init), (gst_data_queue_class_init),
8934         (gst_data_queue_init), (gst_data_queue_new),
8935         (gst_data_queue_cleanup), (gst_data_queue_finalize),
8936         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8937         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8938         (gst_data_queue_is_empty), (gst_data_queue_is_full),
8939         (gst_data_queue_set_flushing), (gst_data_queue_push),
8940         (gst_data_queue_pop), (gst_data_queue_drop_head),
8941         (gst_data_queue_set_property), (gst_data_queue_get_property):
8942         * libs/gst/base/gstdataqueue.h:
8943         New GstDataQueue object for threadsafe queueing. Most useful for
8944         elements that need some queueing functionnality.
8945         * docs/libs/gstreamer-libs-docs.sgml:
8946         * docs/libs/gstreamer-libs-sections.txt:
8947         Insert documentation for GstDataQueue
8948         * plugins/elements/Makefile.am:
8949         * plugins/elements/gstelements.c:
8950         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
8951         (gst_multi_queue_class_init), (gst_multi_queue_init),
8952         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8953         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
8954         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
8955         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8956         (gst_multi_queue_loop), (gst_multi_queue_chain),
8957         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8958         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
8959         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
8960         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
8961         (wake_up_next_non_linked), (compute_next_non_linked),
8962         (single_queue_overrun_cb), (single_queue_underrun_cb),
8963         (single_queue_check_full), (gst_single_queue_new):
8964         * plugins/elements/gstmultiqueue.h:
8965         New multiqueue element, using GstDataQueue. Used for queuing multiple
8966         streams.
8967         Closes #344639 and #347785
8968
8969 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
8970
8971         * docs/pwg/advanced-types.xml:
8972           add more missing type details
8973
8974         * tools/gst-run.c: (main):
8975           remove unused variable
8976
8977 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
8978
8979         * docs/libs/Makefile.am:
8980         * docs/libs/gstreamer-libs.types:
8981           add types of base classes to enable gobject specific stuff in the docs
8982
8983         * docs/random/ensonic/embedded.txt:
8984           more ideas about isolating platform specific things
8985
8986 2006-11-20  Wim Taymans  <wim@fluendo.com>
8987
8988         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
8989
8990         * libs/gst/check/gstcheck.h:
8991         Fix compilation and running against 0.9.4. Fixes #377332.
8992
8993 2006-11-20  Wim Taymans  <wim@fluendo.com>
8994
8995         * gst/gstsegment.c: (gst_segment_set_seek),
8996         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8997         (gst_segment_to_running_time):
8998         Fix boundary checking in to_running_time() and to_stream_time().
8999         Fixes #377183.
9000
9001         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9002         stream and running time can now be calculated for the complete
9003         clipped segment.
9004
9005 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9006
9007         * gst/gstpad.c: (gst_pad_push_event):
9008           Can't access event structure after giving away ownership of
9009           the event.
9010
9011 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9012
9013         * docs/random/ensonic/embedded.txt:
9014         * docs/random/ensonic/profiling.txt:
9015         * docs/random/ensonic/receipies.txt:
9016           more thinking
9017
9018 2006-11-13  Wim Taymans  <wim@fluendo.com>
9019
9020         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9021
9022         * gst/gstpad.c:
9023         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9024
9025 2006-11-13  Wim Taymans  <wim@fluendo.com>
9026
9027         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9028
9029         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9030         Store new length in segment duration so we don't keep on calling the
9031         potentially expensize get_size() call. Fixes #370865.
9032
9033 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9034
9035         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9036
9037         * win32/common/libgstreamer.def:
9038           Add two missing symbols (#366492).
9039
9040 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9041
9042         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9043         (gst_adapter_take_buffer):
9044         Fix format string to use all its arguments.
9045         Remove useless >= check on a guint
9046
9047 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9048
9049         * tests/examples/adapter/.cvsignore:
9050         Ignore build file as commanded by the build-bot
9051
9052 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9053
9054         * tests/examples/adapter/Makefile.am:
9055         * tests/examples/adapter/adapter_test.c: (run_test_take),
9056         (run_test_take_buffer), (run_tests), (main):
9057
9058         Add new files from the previous commit
9059
9060 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9061
9062         * Makefile.am:
9063         * configure.ac:
9064         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9065         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9066         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9067         * libs/gst/base/gstadapter.h:
9068         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9069         (GST_START_TEST), (gst_adapter_suite):
9070         * tests/examples/Makefile.am:
9071         Do some optimisation work in GstAdapter to avoid copies in more cases.
9072         It could still do slightly better by merging buffers when
9073         gst_buffer_is_span_fast is true, but is already faster. 
9074
9075         Also, avoid traversing a single-linked list to append each incoming 
9076         buffer inside the adapter.
9077
9078         Add simple test app that times the adapter behaviour in different
9079         situations, and extend the unit test to check that bytes enter and
9080         exit the adapter in their original order.
9081
9082 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9083
9084         * docs/random/draft-missing-plugins.txt:
9085           Update: use element message instead of adding a new message
9086           type to the core; don't provide GStreamer API to initiate the
9087           plugin download, just provide API to compose the strings needed
9088           and let an external libgimmestuff handle the rest.
9089
9090 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9091
9092         * tools/gst-inspect.c: (print_element_properties_info):
9093         Print a string instead of 'unknown type' for GValueArray properties
9094
9095 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9096
9097         * docs/random/draft-missing-plugins.txt:
9098         More small fixes.
9099
9100 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9101
9102         * tests/examples/typefind/typefind.c: (type_found), (main):
9103           Make typefind element example work again (#371894); add a
9104           license header.
9105
9106 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9107
9108         * docs/random/draft-missing-plugins.txt:
9109           Commit initial draft about how to deal with missing plugins,
9110           needs work (API too).
9111
9112 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9113
9114         * docs/pwg/advanced-types.xml:
9115           documents the new caps elements (see #363118)
9116
9117 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9118
9119         * gst/gstplugin.c: (gst_plugin_load_file):
9120         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9121         (gst_file_src_map_region), (gst_file_src_start):
9122         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9123         (gst_file_index_commit):
9124           Use g_strerror() instead of strerror() - we want UTF-8.
9125
9126 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9127
9128         Patch by: Peter Kjellerstedt <pkj at axis com>
9129
9130         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9131           Another printf fix (#371493).
9132
9133 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9134
9135         * tests/check/gst/gsttag.c:
9136           relicence (okay with author=company)
9137
9138 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9139
9140         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9141         (gst_pad_push_event):
9142           Enhance debug and improve docs
9143         
9144         * gst/gsturi.c:
9145           Fix docs
9146
9147 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9148
9149         * docs/random/ensonic/distributed.txt:
9150         * docs/random/ensonic/profiling.txt:
9151           more ideas
9152
9153 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9154
9155         * docs/gst/gstreamer-sections.txt:
9156           add new API and fix the build
9157           
9158         * gst/gstbin.c: (gst_bin_recalc_state):
9159         * gst/gstelement.c: (gst_element_message_full),
9160         (gst_element_get_state_func), (gst_element_set_state_func):
9161           use new API and improve logging
9162         
9163         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9164         * gst/gstutils.h:
9165           API: add function to get StateChangereturn names to improve logs 
9166
9167 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9168
9169         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9170           I'm considering shooting the next person to put strerror stuff
9171           in the translateable part of the message.
9172
9173 2006-11-03  Wim Taymans  <wim@fluendo.com>
9174
9175         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9176         Get the type and printf conversion specifiers right.
9177
9178 2006-11-03  Wim Taymans  <wim@fluendo.com>
9179
9180         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9181
9182         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9183         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9184         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9185         Some small cleanups. Improve debugging.
9186         * gst/gstpad.h:
9187         Signal all waiting threads with a broadcast instead of just one.
9188         Fixes #369942.
9189
9190 2006-11-03  Wim Taymans  <wim@fluendo.com>
9191
9192         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9193         (gst_fd_src_create):
9194         Add some debugging. 
9195         Only update fd when it's different from the old.
9196
9197 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9198
9199         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9200           Printf fixes for PPC/OSX, take two (#369366).
9201
9202 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9203
9204         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9205
9206         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9207         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9208         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9209           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9210           don't cast to long long for portability reasons, but use
9211           GLib's types instead.
9212
9213 2006-10-30  Michael Smith  <msmith@fluendo.com>
9214
9215         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9216           Get the arguments to lseek() the right way around.
9217           Fixes 367677.
9218
9219 2006-10-30  Wim Taymans  <wim@fluendo.com>
9220
9221         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9222
9223         * gst/gstinfo.h:
9224         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9225
9226 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9227
9228         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9229
9230         * docs/design/part-MT-refcounting.txt:
9231         * docs/random/wtay/capsnego2-docs:
9232         * gst/gstclock.c:
9233         * gst/gstxml.c:
9234           Typo fixes (#366212).
9235
9236 2006-10-28  Wim Taymans  <wim@fluendo.com>
9237
9238         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9239
9240         * gst/gst.c:
9241         * win32/common/libgstbase.def:
9242         * win32/common/libgstreamer.def:
9243         * win32/vs8/libgstbase.vcproj:
9244         * win32/vs8/libgstcontroller.vcproj:
9245         Add needed entries in .def files.
9246         Use HAVE_UNISTD_H.
9247         Rearrange def files in vs8 solutions. Fixes #366286.
9248
9249 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9250
9251         * win32/common/gstconfig.h:
9252           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9253           hand-made win32 gstconfig.h. Fixes #366321.
9254
9255 2006-10-27  Wim Taymans  <wim@fluendo.com>
9256
9257         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9258         (gst_ghost_pad_new_full):
9259         Make acceptcaps return TRUE when we don't have a target, just like
9260         setcaps does.
9261
9262 2006-10-27  Wim Taymans  <wim@fluendo.com>
9263
9264         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9265         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9266
9267 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9268
9269         * gst/gststructure.c: (gst_structure_id_set_value):
9270           If someone tries to set a non-UTF8 string field on a structure,
9271           don't just print a warning, but also ignore the request and do
9272           not change/add that field to the structure.
9273
9274         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9275           Test for the above.
9276
9277 2006-10-25  David Schleef  <ds@schleef.org>
9278
9279         * gst/gstinfo.c:
9280           g_hash_table_insert() needs a cast to a non-const pointer duh.
9281
9282 2006-10-25  David Schleef  <ds@schleef.org>
9283
9284         * gst/gstinfo.c:
9285         * gst/gstinfo.h:
9286           Change name parameter of _gst_debug_register_funcptr to const
9287           to reflect the constness of its use in the function as well
9288           as to quiet a gcc warning.
9289
9290 2006-10-25  Edward Hervey  <edward@fluendo.com>
9291
9292         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9293         Don't push the buffer if it's empty.
9294         Closes #363095
9295
9296 2006-10-24  Wim Taymans  <wim@fluendo.com>
9297
9298         * gst/gstevent.h:
9299         Add small comment.
9300
9301         * libs/gst/base/gstbasetransform.c:
9302         (gst_base_transform_sink_eventfunc):
9303         Debug segment values *after* updating them as this is more
9304         interesting.
9305
9306 2006-10-23  Wim Taymans  <wim@fluendo.com>
9307
9308         * docs/design/part-events.txt:
9309         Update some docs.
9310
9311         * docs/design/part-block.txt:
9312         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9313         (gst_pad_push_event):
9314         Revert BLOCKING patch, it tries to be smart without really having a
9315         clear idea what or how. So, now we discard all FLUSHING events again on
9316         a blocking pad. Should fix gnonlin again.
9317
9318 2006-10-23  Wim Taymans  <wim@fluendo.com>
9319
9320         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9321
9322         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9323         (gst_base_src_start), (gst_base_src_activate_push):
9324         Make sure size is always initialized. Fixes #364388.
9325
9326 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9327
9328         * docs/random/ensonic/distributed.txt:
9329           add some ideas about doing distributed processing
9330
9331         * docs/random/ensonic/profiling.txt:
9332           get_rusage look promising
9333
9334 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9335
9336         * docs/manual/basics-helloworld.xml:
9337           Add a cast in example to fix compile warning
9338
9339 2006-10-18  Wim Taymans  <wim@fluendo.com>
9340
9341         * gst/gstsegment.c: (gst_segment_set_last_stop),
9342         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9343         Relax arg checking again, -1 is allowed.
9344
9345 2006-10-18  Wim Taymans  <wim@fluendo.com>
9346
9347         * gst/gstsegment.c: (gst_segment_set_last_stop),
9348         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9349         _set_last_stop() must be with a value != -1
9350         A _TYPE_SET to -1 means seek to 0.
9351         Calc last_stop correctly for negative rates.
9352         Make sure we work with positive durations when updating a segment.
9353
9354 2006-10-18  Wim Taymans  <wim@fluendo.com>
9355
9356         * docs/design/part-live-source.txt:
9357         * gst/gstclock.h:
9358         Small docs fixes.
9359
9360 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9361
9362         * gst/gstbuffer.h:
9363           Add an explicit cast to GstBuffer** to keep old code that added an
9364           explicit cast to GstMiniObject** for gst_mini_object_replace()
9365           compiling without warning.
9366
9367 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9368
9369         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9370           check for validity of dates
9371
9372 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9373
9374         * docs/gst/gstreamer-sections.txt:
9375           Forgot this one, makes gtk-doc shut up.
9376
9377 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9378
9379         Patch by: Peter Kjellerstedt <pkj at axis com>
9380
9381         * gst/gstobject.h:
9382           Don't define xmlNodePtr to gpointer if the core was built with
9383           --disable-loadsave and --disable-registry, this will break
9384           applications that want to use libxml2 but are buildling against a
9385           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9386           instead so we don't have to mess with the libxml2 namespace
9387           (#361675).
9388
9389 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9390
9391         * gst/gstbuffer.h:
9392           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9393           type-punned pointer warnings.
9394
9395 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9396
9397         * gst/gstelement.h:
9398           Add casts to the correct return type to state <=> state transition
9399           macros.
9400
9401 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9402
9403         * docs/design/part-live-source.txt:
9404           describe howto handle latency
9405         
9406         * docs/random/ensonic/profiling.txt:
9407           more ideas
9408
9409         * tools/gst-plot-timeline.py:
9410           fix log parsing for solaris, remove unused function
9411
9412 2006-10-16  Wim Taymans  <wim@fluendo.com>
9413
9414         * docs/design/part-trickmodes.txt:
9415         * gst/gstevent.c:
9416         Update some docs regarding reverse playback.
9417
9418 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9419
9420         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9421
9422         * win32/vs8/grammar.vcproj:
9423           Error out with a warning if glib-genmarshal.exe is not in path,
9424           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9425
9426 2006-10-13  Wim Taymans  <wim@fluendo.com>
9427
9428         * gst/gstsegment.c: (gst_segment_set_seek):
9429         When seeking to stop -1, set last_stop (current position) to the
9430         duration of the segment.
9431
9432 2006-10-13  Wim Taymans  <wim@fluendo.com>
9433
9434         * gst/gstelement.h:
9435         Clarify _NO_PREROLL a bit more.
9436
9437         * gst/gstevent.c:
9438         Fix docs.
9439
9440         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9441         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9442         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9443         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9444         due to wrong locking order. Fixes #361769.
9445         Remove some redundant/misplaced checks in pad_block.
9446
9447         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9448         For negative rates, count backwards from the duration.
9449
9450 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9451
9452         * gst/gsterror.c: (_gst_library_errors_init):
9453           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9454           up with something better).
9455
9456 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9457
9458         * win32/vs6/libgstreamer.dsp:
9459         * win32/vs7/libgstreamer.vcproj:
9460         * win32/vs8/libgstreamer.vcproj:
9461           Don't reference glib-compat.c which is currently not used and not
9462           disted; add gstquark.c which was recently added. Fixes #361730.
9463
9464 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9465
9466         * win32/common/libgstbase.def:
9467         * win32/common/libgstcontroller.def:
9468         * win32/common/libgstreamer.def:
9469           Add gst_caps_merge() and a bunch of other recently-added functions.
9470           Fixes #361732.
9471
9472 2006-10-11  Wim Taymans  <wim@fluendo.com>
9473
9474         * docs/plugins/gstreamer-plugins.args:
9475         * docs/plugins/inspect/plugin-coreelements.xml:
9476         * docs/plugins/inspect/plugin-coreindexers.xml:
9477         Update element args.
9478
9479         * gst/gstsystemclock.c:
9480         Small comment update.
9481
9482         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9483         (gst_tee_request_new_pad), (gst_tee_release_pad),
9484         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9485         (gst_tee_sink_activate_pull):
9486         * plugins/elements/gsttee.h:
9487         Some tee loving:
9488         Add default property defines.
9489         Implement release pad function.
9490         Give properties better blubs etc.
9491         Activate pads before adding them to a running tee.
9492         Do simple buffer_alloc on the first requested pad.
9493         Post error when activation fails.
9494
9495 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9496
9497         * gst/gst.c: (ensure_current_registry_forking):
9498           Check return value of write() to make compiler happy.
9499
9500 2006-10-11  Wim Taymans  <wim@fluendo.com>
9501
9502         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9503
9504         * plugins/elements/gstqueue.c: (gst_queue_chain):
9505         Recheck queue filledness after signalling the overrun when we're about
9506         to leak downstream because we released the lock when emitting the signal
9507         and the queue could be empty again. Fixes #352345.
9508
9509 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9510
9511         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9512           Fix refcounting here too, just like we did for _new_valist() a few
9513           days ago (#357180) (thanks to René Stadler). Also remove all those
9514           'Since: 0.9' from the gtk-doc blobs.
9515
9516         * tests/check/libs/controller.c: (controller_refcount_new_list),
9517         (gst_controller_suite):
9518           Unit test for the above.
9519
9520 2006-10-10  Wim Taymans  <wim@fluendo.com>
9521
9522         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9523
9524         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9525         (gst_pad_save_thyself):
9526         Update some docs.
9527         Write pad direction in XML output. Fixes #345496.
9528
9529 2006-10-10  Wim Taymans  <wim@fluendo.com>
9530
9531         Patch by: René Stadler <mail at renestadler dot de>
9532
9533         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9534         (gst_controller_new_list), (_gst_controller_dispose),
9535         (_gst_controller_finalize), (_gst_controller_class_init):
9536         Take ref to controlled object so that it cannot disappear. 
9537         Fixes #357432.
9538
9539 2006-10-10  Wim Taymans  <wim@fluendo.com>
9540
9541         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9542         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9543         (gst_check_teardown_sink_pad):
9544         Activate/deactivate pads in setup/teardown respectively.
9545
9546 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9547
9548         Patch by: Josep Torra Valles <josep@fluendo.com>
9549
9550         * gst/Makefile.am:
9551         Cast values when making gstenumtypes.h.  This pacifies Forte
9552         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9553         in the enumeration.
9554
9555 2006-10-09  Wim Taymans  <wim@fluendo.com>
9556
9557         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9558         Rename some more @cur to @start to fix docs. 
9559
9560         * gst/gstsegment.c: (gst_segment_set_seek):
9561         Fix typo.
9562         time and start must always stay in sync as defined in design doc.
9563
9564         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9565         Rename param to fix docs.
9566
9567         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9568         Check that start and time are in sync.
9569
9570         * tests/check/pipelines/parse-launch.c:
9571         (gst_parse_test_element_change_state):
9572         Activate pad before adding to the element.
9573
9574 2006-10-09  Wim Taymans  <wim@fluendo.com>
9575
9576         * docs/design/part-qos.txt:
9577         Fix typo.
9578
9579         * gst/gstevent.c:
9580         * gst/gstevent.h:
9581         Update seek event docs regarding negative rates.
9582         Rename @cur to @start. 
9583
9584         * gst/gstsegment.c: (gst_segment_set_seek):
9585         * gst/gstsegment.h:
9586         Update set_seek docs regarding negative rates.
9587         Correctly update last_stop to @stop when dealing with negative
9588         rates.
9589         Rename @cur to @start. 
9590
9591         * tests/check/gst/gstpad.c: (GST_START_TEST):
9592         Activate pads before trying to use them.
9593
9594         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9595         (gst_segment_suite):
9596         Add simple check for segments and negative rates.
9597
9598 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9599
9600         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9601         * gst/gsttaglist.h:
9602         * docs/gst/gstreamer-sections.txt:
9603           API: add gst_tag_list_is_empty() (#360467).
9604
9605         * tests/check/gst/gsttag.c: (GST_START_TEST):
9606           And a test case.
9607
9608 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9609
9610         * gst/gstmessage.h:
9611         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9612         a value that doesn't fit on enumeration.
9613
9614 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9615
9616         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9617         Remove local debugging system and use Gstreamer's instead.
9618
9619 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9620
9621         Patch by: Josep Torra Valles <josep@fluendo.com>
9622
9623         * common/m4/gst-error.m4:
9624         Disable warning of statement not reached on Forte.
9625         * gst/gstmessage.h:
9626         Fix warning on Forte (value doesn't fit on enumeration).
9627         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9628         Fix warning on Forte (value doesn't fit on enumeration).
9629         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9630         DEBUG macro says it takes minimum of 2 args and so Forte
9631         complains about the use with just 1 arg.
9632         * plugins/elements/gstfdsink.c:
9633         * plugins/elements/gstfdsrc.c:
9634         * plugins/elements/gstfilesink.c:
9635         * plugins/elements/gstfilesrc.c:
9636         Use correct return type for the uri handler implementations.
9637
9638         All these fix warnings in Forte.  Fixes bug #360860.
9639
9640 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9641
9642         * gst/gstelement.h:
9643           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9644           format string, so don't use G_GNUC_PRINTF for those versions.
9645
9646 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9647
9648         * gst/gsttaglist.c: (gst_is_tag_list):
9649         * gst/gsttaglist.h:
9650           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9651
9652         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9653           Small test for the above.
9654
9655 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9656
9657         * gst/gsttaglist.h:
9658           Less tabs, more spaces.
9659
9660 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
9661
9662         * gst/gstinfo.h:
9663           Those two function declarations do actually belong there, revert
9664           commit from yesterday that turned them intro macros.
9665
9666 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9667
9668         Patch by: Josep Torra Valles <josep@fluendo.com>
9669
9670         * gst/gst.c: (gst_init_get_option_group):
9671         Fix empty declaration and type mismatch.
9672         * gst/gstbin.c: (gst_bin_change_state_func):
9673         Fix type mismatch.
9674         * gst/gstelement.c: (gst_element_continue_state),
9675         (gst_element_set_state_func), (gst_element_change_state),
9676         (gst_element_change_state_func):
9677         Fix type mismatches.
9678         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9679         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9680         Cast as appropriate.
9681         * gst/gstobject.c: (gst_class_signal_connect):
9682         Cast as appropriate.  The function pointer parameter really
9683         has the wrong type but would break API if we change it.
9684         * gst/gstquery.c:
9685         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9686         order of including string.h.
9687         * gst/gstutils.c: (gst_element_state_get_name):
9688         Remove unreachable line.
9689         * gst/gstxml.c: (gst_xml_parse_doc):
9690         Fix type mismatch.
9691         All these caught by Forte.
9692
9693 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9694
9695         Patch by: Josep Torra Valles <josep@fluendo.com>
9696
9697         * common/m4/gst-error.m4:
9698         Fixed bug #360151.
9699         We need to disable warnings on Forte for empty declarations
9700         due to gst-indent adding ;s to lines that just use macros
9701         where the macro actually doesn't need a ; at end to end
9702         statement.
9703
9704 2006-10-06  Wim Taymans  <wim@fluendo.com>
9705
9706         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9707         (gst_file_sink_close_file), (gst_file_sink_event),
9708         (gst_file_sink_render):
9709         Add some FIXME for the NEWSEGMENT handling.
9710
9711 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9712
9713         * gst/parse/grammar.y:
9714         Remove static function gst_parse_element_lock as all it does
9715         is return.  Looks like cruft from 0.8.
9716
9717 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9718
9719         Patch by: Josep Torra Valles <josep@fluendo.com>
9720
9721         * common/m4/gst-error.m4:
9722         * configure.ac:
9723         * libs/gst/net/Makefile.am:
9724         Fix a compilation issue with Forte on Solaris.  inet_aton is in
9725         libresolv.
9726
9727 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9728
9729         * gst/gstpad.c: (pre_activate):
9730         * gst/gstregistry.c: (gst_registry_scan_path_level):
9731         * gst/gstregistryxml.c: (load_plugin):
9732         * libs/gst/controller/gstcontroller.c:
9733         (gst_controlled_property_set_interpolation_mode):
9734         * libs/gst/dataprotocol/dataprotocol.c:
9735         (gst_dp_packet_from_event_1_0):
9736         * libs/gst/net/gstnetclientclock.c:
9737         (gst_net_client_clock_observe_times):
9738         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9739           Printf fixes.
9740
9741 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9742
9743         * configure.ac:
9744         * docs/gst/gstreamer-sections.txt:
9745         * gst/gstconfig.h.in:
9746         * gst/gstelement.h:
9747         * gst/gstinfo.h:
9748           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9749           whether we can use G_GNUC_PRINTF in other header files and at
9750           least check the printf format/arguments of debug messages and
9751           GST_ELEMENT_ERROR messages when the printf extension is not
9752           being used.
9753           Replace more tabs with spaces in gstinfo.h and remove two spurious
9754           function declarations in GST_DISABLE_DEBUG part with macros.
9755
9756 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
9757
9758         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9759           More docs for the sync-message signal (mention that it is not
9760           emitted by default); log message structures of messages posted on
9761           the bus as well.
9762
9763 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
9764
9765         * gst/gst.c: (ensure_current_registry_forking):
9766         Use a pipe pair to receive status results from the forked child, and
9767         ignore the result from waitpid. Fixes #355499
9768
9769 2006-10-02  Wim Taymans  <wim@fluendo.com>
9770
9771         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9772         (gst_ghost_pad_suite):
9773         Fix leak in check.
9774
9775 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9776
9777         * gst/gstpad.c:
9778           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9779
9780 2006-10-02  Edward Hervey  <edward@fluendo.com>
9781
9782         * docs/design/part-block.txt:
9783         Further explain the use of flushing on blocked pads.
9784         * docs/gst/gstreamer-sections.txt:
9785         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9786         (gst_pad_push_event):
9787         * gst/gstpad.h:
9788         Added new GstPadFlag : GST_PAD_BLOCKING.
9789         Adds the notion of pads really blocking, which enables to properly
9790         handle FLUSH_START/FLUSH_STOP events on blocked pads.
9791         Fixes #358999
9792         API: gst_pad_is_blocking()
9793         API: GST_PAD_IS_BLOCKING() macro
9794         API: GST_PAD_BLOCKING GstPadFlag
9795         
9796 2006-10-02  Wim Taymans  <wim@fluendo.com>
9797
9798         Patch by: mrcgran <mrc.gran at gmail dot com>
9799
9800         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9801         Filter the proxied caps against the padtemplate if we have one.
9802
9803         * gst/gstquery.c: (gst_query_new_segment):
9804         Add include for gstinfo.h so that compilation with
9805         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9806
9807 2006-10-02  Wim Taymans  <wim@fluendo.com>
9808
9809         Patch by: Alessandro Decina  <alessandro at nnva org>
9810
9811         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9812         (gst_file_sink_set_location), (gst_file_sink_open_file),
9813         (gst_file_sink_close_file), (gst_file_sink_event),
9814         (gst_file_sink_render):
9815         Set file to NULL when closing filesink so that we can set a new filename
9816         in READY. Fixes #358613.
9817
9818 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9819
9820         Patch by: Alessandro Decina  <alessandro at nnva org>
9821
9822         * gst/gstevent.c: (_gst_event_copy):
9823           Fix gst_mini_object_make_writable() and gst_event_copy() for events
9824           with event structures by setting the parent refcount address of the
9825           copied structure to the address of the refcount member of the newly
9826           copied event rather than the address of the refcount member of the
9827           original event. Fixes #358737.
9828
9829         * tests/check/gst/gstevent.c: (GST_START_TEST):
9830           Unit test for the above.
9831
9832 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
9833
9834         * docs/design/Makefile.am:
9835           Dist some more files.
9836
9837 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9838
9839         * tests/check/libs/controller.c: (GST_START_TEST),
9840         (gst_controller_suite):
9841           Add test for the previous fix; add some more tests
9842           for correct refcounting behaviour; fix a few leaks
9843           in test cases; call gst_controller_init() at start
9844           of all tests.
9845
9846 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9847
9848         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9849         (gst_controller_set_from_list):
9850           Don't g_return_val_if_fail() on timed values with invalid timestamps
9851           inside a critical section without unlocking the mutex. Spotted by
9852           René Stadler. (#357617)
9853           Also, fix up refcounting properly: when returning an existing
9854           controller, we should increase the reference only once and not
9855           once per property and when trying to control a property again
9856           we should also increase the refcount.
9857
9858 2006-09-29  Wim Taymans  <wim@fluendo.com>
9859
9860         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9861         * libs/gst/net/gstnettimeprovider.c:
9862         (gst_net_time_provider_thread):
9863         Stop reading commands when EOF as well.
9864
9865         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9866         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9867         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9868         Unify description of the dump property.
9869
9870 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9871
9872         * tests/examples/manual/.cvsignore:
9873         OK, so it's actually cvsignore that needs changing. Stop laughing.
9874
9875 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9876
9877         * tests/examples/manual/Makefile.am:
9878         Gah, declare vars *before* using them
9879
9880 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9881
9882         * gst/gst.c: (init_pre), (scan_and_update_registry),
9883         (ensure_current_registry_nonforking),
9884         (ensure_current_registry_forking), (ensure_current_registry),
9885         (init_post), (gst_debug_help), (gst_deinit):
9886         * gst/gst_private.h:
9887         * gst/gstregistry.c: (gst_registry_finalize),
9888         (gst_registry_remove_features_for_plugin_unlocked),
9889         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9890         (gst_registry_scan_path),
9891         (_priv_gst_registry_remove_cache_plugins),
9892         (_priv_gst_registry_cleanup):
9893         * gst/gstregistry.h:
9894         Re-commit the registry changes, along with an extra fix:
9895           When a cached plugin is encountered at a different file path,
9896           update the stored path in the registry cache so that the parent
9897           process knows where it actually is now when it re-reads the registry
9898           cache. Fixes the thing that broke distcheck with the previous commit.
9899
9900         * tests/check/Makefile.am:
9901         Clean up files named 'core' too when running make clean.
9902
9903         * tests/examples/manual/Makefile.am:
9904         Set up a registry path for running these tests, and clean it properly
9905         for distcheck.
9906
9907 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9908
9909         * configure.ac:
9910         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9911         want gmodule-no-export-2.0.pc instead so that we don't drag in
9912         --export-dynamic on every project that links to GStreamer.
9913
9914         Also, make our export regex only match the start of symbols, rather 
9915         than any symbol that contains '_gst' somewhere.
9916
9917         * libs/gst/check/Makefile.am:
9918         The libgstcheck we build does however need export-dynamic, as it
9919         produces some symbols that don't match our _gst... style regex.
9920         Fixes: #318031
9921
9922 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9923
9924         * gst/gst.c: (init_pre), (scan_and_update_registry),
9925         (ensure_current_registry_nonforking),
9926         (ensure_current_registry_forking), (ensure_current_registry),
9927         (init_post), (gst_debug_help), (gst_deinit):
9928         * gst/gst_private.h:
9929         * gst/gstregistry.c: (gst_registry_finalize),
9930         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9931         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9932         (_gst_registry_cleanup):
9933         * gst/gstregistry.h:
9934           Revert previous change until I figure out why it breaks distcheck.
9935
9936 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9937
9938         * gst/gst.c: (init_pre), (scan_and_update_registry),
9939         (ensure_current_registry_nonforking),
9940         (ensure_current_registry_forking), (ensure_current_registry),
9941         (init_post), (gst_debug_help), (gst_deinit):
9942
9943           Make init_pre and init_post take the full complement of GOptionFunc
9944           args so they can return useful GErrors. Make the registry updating
9945           functions do so.
9946
9947           Call _priv_gst_registry_remove_cache_plugins after scanning files to
9948           ensure that the registry we're about to write out doesn't contain
9949           stale information about old-deleted plugin files.
9950
9951           Make _priv_gst_registry_remove_cache_plugins return a boolean so
9952           that deletion of plugin files is considered a registry change.
9953
9954         * gst/gst_private.h:
9955         * gst/gstregistry.c: (gst_registry_finalize),
9956         (gst_registry_remove_features_for_plugin_unlocked),
9957         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9958         (gst_registry_scan_path),
9959         (_priv_gst_registry_remove_cache_plugins),
9960         (_priv_gst_registry_cleanup):
9961         * gst/gstregistry.h:
9962         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
9963         by adding _priv prefix, so that they won't appear in the global
9964         symbol table. They still do atm though because of #318031. Move the
9965         prototypes to gst_private.h
9966
9967         When removing a plugin, remove all features for that plugin too. 
9968         Fixes #340878.
9969
9970 2006-09-27  Wim Taymans  <wim@fluendo.com>
9971
9972         * docs/random/moving-plugins:
9973         Make it clear that the "compiled-in descriptions" really mean
9974         the element details.
9975
9976         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9977         (gst_base_sink_wait_preroll):
9978         Update docs.
9979
9980         * docs/libs/gstreamer-libs-sections.txt:
9981         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9982         (gst_base_src_get_range), (gst_base_src_activate_push):
9983         * libs/gst/base/gstbasesrc.h:
9984         Added function to block while waiting for PLAYING, this function
9985         is used by live sources that block on the clock.
9986         API: gst_base_src_wait_playing()
9987
9988 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9989
9990         Patch by: Peter Kjellerstedt <pkj at axis com>
9991
9992         * Makefile.am:
9993           gst-element-check.m4 is generated and should therefore be
9994           copied from the build dir rather than the source dir (#357593).
9995           'make distcheck' hasn't noticed this because we were disting
9996           the file as well, so stop doing that.
9997
9998 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9999
10000         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10001           Add some tests for gst_caps_intersect().
10002
10003         * tools/gst-launch.c: (event_loop):
10004           Print all buffering percentages we get, even the 100% one.
10005
10006 2006-09-26  Wim Taymans  <wim@fluendo.com>
10007
10008         * tools/gst-inspect.c: (print_element_properties_info),
10009         (print_signal_info):
10010         Fix printing of flags to match the look of enums.
10011
10012 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10013
10014         * gst/gstelementfactory.c:
10015           Fix typo in docs blurb.
10016
10017 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10018
10019         * gst/gsturi.c: (search_by_entry):
10020           Don't assert/crash here if a uri handler doesn't return any
10021           supported protocols. The list of protocols could be generated
10022           dynamically at runtime or at plugin registration, and an error
10023           in the underlying library shouldn't be fatal (#353301).
10024
10025 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10026
10027         * gst/gstinfo.c:
10028           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10029           (spotted by Peter Kjellerstedt).
10030
10031 2006-09-23  Wim Taymans  <wim@fluendo.com>
10032
10033         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10034
10035         * libs/gst/base/gstbasesrc.c:
10036         (gst_base_src_default_check_get_range), (gst_base_src_start),
10037         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10038         (gst_base_src_change_state):
10039         Match _start/_stop calls in the activate functions. Remove redundant
10040         _stop call from the state change function. Fixes #356910.
10041         Turn failure DEBUG into ERROR. 
10042
10043 2006-09-22  Wim Taymans  <wim@fluendo.com>
10044
10045         * docs/design/part-buffering.txt:
10046         * gst/gstmessage.c: (gst_message_new_buffering),
10047         (gst_message_parse_buffering):
10048         Update docs about buffering.
10049
10050         * docs/design/part-trickmodes.txt:
10051         Fix typo.
10052
10053 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10054
10055         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10056         (gst_controller_new_list):
10057           Ref instances when returning them again (fixes #357180)
10058
10059 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10060
10061         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10062           Don't forget to release proxy lock when there's an error.
10063
10064 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10065
10066         * gst/gstcaps.h:
10067           Add extra initialisers for Caps things, to fix some plugin warnings
10068           when using -Wextra
10069
10070 2006-09-18  Wim Taymans  <wim@fluendo.com>
10071
10072         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10073           Also set template on the internal pad so that a getcaps from the 
10074           target pad returns the template caps.
10075
10076 2006-09-18  Wim Taymans  <wim@fluendo.com>
10077
10078         * gst/gstelement.c: (gst_element_post_message),
10079         (gst_element_dispose):
10080         Use _DEBUG_OBJECT some more.
10081
10082         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10083         Avoid typechecks.
10084
10085         * tools/gst-launch.c: (main):
10086         If the toplevel element is not a GstPipeline, it must be put in a
10087         pipeline so that a bus and clock is selected.
10088
10089 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10090
10091         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10092           JITTER, RATE, and LATENCY query should be handled by the
10093           default case and not by the CONVERT query code.
10094
10095 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10096
10097         * gst/gstformat.c: (gst_format_register):
10098           Fix locking order (must take lock before using n_values).
10099
10100         * gst/gstvalue.c: (gst_value_serialize_enum),
10101         (gst_value_deserialize_enum_iter_cmp),
10102         (gst_value_deserialize_enum):
10103           Fix serialisation/deserialisation of custom registered GstFormats.
10104
10105         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10106           Unit test for custom format serialisation/deserialisation.
10107
10108 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10109
10110         * docs/pwg/building-boiler.xml:
10111         * plugins/elements/gstcapsfilter.c:
10112         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10113         section.
10114
10115 2006-09-16  Edward Hervey  <edward@fluendo.com>
10116
10117         * libs/gst/base/gstbasetransform.c:
10118         (gst_base_transform_buffer_alloc):
10119         Check if requested caps are the same as the sinks caps IF
10120         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10121         is FALSE.
10122         This fixes the renegotiation issues stated in #352827.
10123
10124 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10125
10126         * configure.ac:
10127         * docs/manual/advanced-autoplugging.xml:
10128         * tests/examples/Makefile.am:
10129         * tests/examples/manual/.cvsignore:
10130         * tests/examples/manual/Makefile.am:
10131         * tests/examples/manual/extract.pl:
10132           Extract the manual examples again like we used to do.
10133           Fix one of them.
10134
10135 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10136
10137         * win32/common/config.h:
10138           update for version
10139
10140 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10141
10142         * gst/gsterror.c:
10143           Documents how to receive errors.
10144
10145 2006-09-15  Wim Taymans  <wim@fluendo.com>
10146
10147         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10148         (event_loop), (main):
10149         Added some comments here and there.
10150         Post an application message when an interrupt is caught instead of doing
10151         an uncontrolled state change.
10152         Clean up the event loop.
10153         Handle buffering messages, pause/resume the pipeline.
10154         Make shutdown because of an interrupt more reliable.
10155
10156 2006-09-15  Wim Taymans  <wim@fluendo.com>
10157
10158         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10159         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10160         (gst_base_sink_preroll_object):
10161         Make sure that our internal state is correct when we commit our state
10162         asynchronously. This solves a race where a state change to PLAYING
10163         could cause the sink to remain blocked in preroll in some situations.
10164
10165 2006-09-15  Wim Taymans  <wim@fluendo.com>
10166
10167         * tools/gst-inspect.c: (print_element_properties_info),
10168         (print_signal_info):
10169         List flags as hex so it's easier to deal with.
10170
10171 2006-09-15  Wim Taymans  <wim@fluendo.com>
10172
10173         * docs/libs/gstreamer-libs-sections.txt:
10174         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10175         (gst_base_sink_do_sync):
10176         * libs/gst/base/gstbasesink.h:
10177         Expose logic to wait for preroll so that subclasses such as audiosink
10178         can also use this method.
10179         API: gst_base_sink_wait_preroll()
10180
10181 2006-09-15  Wim Taymans  <wim@fluendo.com>
10182
10183         * gst/gstobject.c: (gst_object_set_parent):
10184         * gst/gstpipeline.c: (do_pipeline_seek):
10185         Small cleanups in docs and code.
10186
10187         * gst/gstsegment.c: (gst_segment_clip):
10188         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10189         if stop == start and start is in the segment, no clipping should be
10190         done. Also add a test for this.
10191
10192 2006-09-15  Wim Taymans  <wim@fluendo.com>
10193
10194         * docs/design/part-buffering.txt:
10195         * docs/gst/gstreamer-sections.txt:
10196         * gst/gstmessage.c: (gst_message_new_buffering),
10197         (gst_message_parse_buffering):
10198         * gst/gstmessage.h:
10199         Added methods to create and parse BUFFERING messages.
10200         Added preliminary docs about buffering.
10201         API: gst_message_new_buffering
10202         API: gst_message_parse_buffering
10203
10204 2006-09-06  Wim Taymans  <wim@fluendo.com>
10205
10206         * gst/gstbin.c:
10207         Update documentation.
10208
10209         * gst/gstelement.c: (gst_element_class_init),
10210         (gst_element_release_request_pad), (gst_element_set_clock),
10211         (gst_element_get_index), (gst_element_add_pad),
10212         (gst_element_remove_pad), (gst_element_get_random_pad),
10213         (gst_element_send_event), (gst_element_get_query_types),
10214         (gst_element_query), (gst_element_post_message),
10215         (gst_element_message_full), (gst_element_continue_state),
10216         (gst_element_lost_state), (gst_element_save_thyself),
10217         (gst_element_restore_thyself):
10218         Documentation updates.
10219         Rename last bit of the new-pad -> pad-added signal rename.
10220         Fix the case where an element query would only work if the source
10221         pad was linked.
10222         Avoid some useless type checking in message handling.
10223
10224         * gst/gstevent.c:
10225         * gst/gstevent.h:
10226         * gst/gstutils.c:
10227         Documentation updates.
10228
10229 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10230
10231         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10232           add an INFO line for when we actually update the fd
10233
10234 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10235
10236         * configure.ac:
10237           back to TRUNK
10238
10239 === release 0.10.10 ===
10240
10241 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10242
10243         * configure.ac:
10244           releasing 0.10.10, "Pais"
10245
10246 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10247
10248         * docs/manual/advanced-position.xml:
10249           Fix typo in sample code.
10250
10251 2006-09-05  Wim Taymans  <wim@fluendo.com>
10252
10253         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10254         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10255         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10256         * libs/gst/net/gstnetclientclock.h:
10257         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10258         * libs/gst/net/gstnettimepacket.h:
10259         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10260         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10261         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10262         * libs/gst/net/gstnettimeprovider.h:
10263         Make stuff compile on windows. Fixes #345295.
10264
10265 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10266
10267         * gst/gst.c: (ensure_current_registry_forking):
10268           Print better details when child was terminated by signal.
10269
10270 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10271
10272         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10273           Print a warning rather than g_assert() if a plugin feature
10274           is a URI handler but returns no protocols (#353976).
10275
10276 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10277
10278         * docs/random/moving-plugins:
10279         Fix two typos.         
10280
10281 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10282
10283         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10284           Fix locking order, handle NULL function values properly.
10285
10286         * gst/gstinfo.h:
10287           Fix docs.
10288
10289         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10290           Initialise variable before using it and fix debug statement to
10291           print the address of the function rather than the address of the
10292           variable on the stack holding the address of the function.
10293
10294 2006-09-01  Wim Taymans  <wim@fluendo.com>
10295
10296         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10297         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10298         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10299         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10300         (gst_ghost_pad_parent_unset),
10301         (gst_ghost_pad_internal_do_activate_push),
10302         (gst_ghost_pad_internal_do_activate_pull),
10303         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10304         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10305         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10306         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10307         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10308         (gst_ghost_pad_new_no_target_from_template),
10309         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10310         More cleanups.
10311         Avoid needless typechecking in macros.
10312         Since the internal pad is always present and never changes, there is
10313         no need to locking or ref when retrieving it.
10314         Improve debugging a bit.
10315         Handle link errors when setting the target. Fixes #341029.
10316
10317 2006-09-01  Wim Taymans  <wim@fluendo.com>
10318
10319         * docs/libs/gstreamer-libs-sections.txt:
10320         * docs/plugins/gstreamer-plugins-sections.txt:
10321         Fix docs some more.
10322
10323         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10324         (gst_collect_pads_event):
10325         * libs/gst/base/gstcollectpads.h:
10326         Documentation updates.
10327         Free queued buffer when removing a pad.
10328
10329 2006-08-31  Michael Smith  <msmith@fluendo.com>
10330
10331         * gst/gstutils.c: (gst_element_link_pads),
10332         (gst_element_link_pads_filtered):
10333           Ensure that we set a capsfilter to NULL if we failed to link it
10334           when doing filtered linking, to avoid criticals.
10335
10336           No need to check for unreffing srcpad, which is explicly NULLed
10337           above (a trivial code cleanup).
10338
10339 2006-08-31  Wim Taymans  <wim@fluendo.com>
10340
10341         * docs/design/part-gstghostpad.txt:
10342         Update ascii art in documentation.
10343
10344         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10345         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10346         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10347         (gst_ghost_pad_internal_do_activate_push),
10348         (gst_ghost_pad_internal_do_activate_pull),
10349         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10350         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10351         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10352         (gst_ghost_pad_set_target):
10353         Small cleanups and leak fixes.
10354         Remove some checks now that the internal pad is never NULL.
10355         Fix the case where linking pads without a target would create nasty
10356         criticals. Fixes #341029.
10357         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10358         value of _set_target().
10359
10360         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10361         (gst_ghost_pad_suite):
10362         Some more tests for creating and linking untargeted ghostpads.
10363
10364 2006-08-31  Edward Hervey  <edward@fluendo.com>
10365
10366         * docs/gst/gstreamer-sections.txt:
10367         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10368         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10369         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10370         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10371         (gst_ghost_pad_new_from_template),
10372         (gst_ghost_pad_new_no_target_from_template):
10373         * gst/gstghostpad.h:
10374         Refactored *_new() functions.
10375         Templates are now used as a g_object_new() parameter.
10376         Use template in _do_getcaps() if we don't have a target.
10377         Small documentation cleanups.
10378         Added two new constructors:
10379         gst_ghost_pad_new_from_template()
10380         gst_ghost_pad_new_no_target_from_template()
10381         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10382         (gst_ghost_pad_suite):
10383         Added tests for new ghostpad instanciation functions.
10384
10385         API additions: gst_ghost_pad_new_from_template,
10386         gst_ghost_pad_new_no_target_from_template
10387
10388 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10389
10390         * docs/random/ensonic/profiling.txt:
10391           Ideas about qos profiling.
10392
10393 2006-08-29  Wim Taymans  <wim@fluendo.com>
10394
10395         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10396         Code cleanups.
10397         Fix memleak.
10398
10399 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10400
10401         * gst/gstxml.c:
10402           Improve and detypofy docs.
10403
10404         * tests/check/Makefile.am:
10405         * tests/check/gst/.cvsignore:
10406         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10407           Add a basic test suite for GstXML.
10408
10409 2006-08-29  Wim Taymans  <wim@fluendo.com>
10410
10411         * gst/gstelement.c: (activate_pads), (clear_caps),
10412         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10413         Clear the pad caps when the element shut down all of the pads and
10414         is not streaming data that could modify the caps. 
10415         Fixes #352958.
10416
10417 2006-08-28  Michael Smith  <msmith@fluendo.com>
10418
10419         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10420           Revert previous change; I misunderstood single-segment mode.
10421
10422 2006-08-28  Michael Smith  <msmith@fluendo.com>
10423
10424         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10425           Unset DISCONT on buffers when using single-segment mode.
10426
10427 2006-08-28  Wim Taymans  <wim@fluendo.com>
10428
10429         * gst/gstcaps.c: (gst_caps_merge_structure):
10430         * gst/gstcaps.h:
10431         Fix docs and indentation again.
10432
10433         * tests/check/gst/gstquery.c: (GST_START_TEST):
10434         Fix leak in tests and add some more tests.
10435
10436 2006-08-28  Edward Hervey  <edward@fluendo.com>
10437
10438         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10439         Inform GstSegment of the last stop position in order for the current
10440         segment to have a proper duration if it doesn't have a specific stop
10441         position from which a duration could be calculated.
10442         This bug was noticeable when a non-flushing, non-update new segment was
10443         followed by another segment (all buffers from the new segment were being
10444         dropped).
10445
10446 2006-08-28  Wim Taymans  <wim@fluendo.com>
10447
10448         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10449         Small comment update.
10450
10451         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10452         (gst_identity_transform_ip):
10453         Drop-probability is broken, mention this in the code with a 
10454         FIXME and also in the property description.
10455         Make silent also be silent about the drop messages.
10456
10457 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10458
10459         * docs/manual/appendix-win32.xml:
10460           Remove mention of popt, we don't depend on that any
10461           longer (#353136). Add some comments pointing out that
10462           this section is slightly outdated.
10463
10464 2006-08-28  Wim Taymans  <wim@fluendo.com>
10465
10466         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10467
10468         * gst/gstquery.c: (gst_query_new_segment):
10469         * tests/check/gst/gstquery.c: (GST_START_TEST):
10470         Initialize variables when creating a new segment query.
10471         Fixes #353121.
10472
10473 2006-08-28  Wim Taymans  <wim@fluendo.com>
10474
10475         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10476
10477         * gst/gstelement.c: (gst_element_get_bus):
10478         * tests/check/gst/gstelement.c: (GST_START_TEST):
10479         Check for NULL before _reffing the bus. Fixes #353122.
10480
10481 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10482
10483         * docs/manual/basics-bus.xml:
10484           Docs update: fix wrong callback return value explanation; add
10485           some lines about the implicit relationship between main loop
10486           and main context; remove duplicate main loop variable declaration.
10487
10488 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10489
10490         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10491           Don't leak caps in unit test; add a few more simple
10492           checks. 
10493
10494 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10495
10496         * docs/gst/gstreamer-sections.txt:
10497         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10498         (gst_caps_structure_is_subset), (gst_caps_merge),
10499         (gst_caps_merge_structure):
10500         * gst/gstcaps.h:
10501         * libs/gst/base/gstbasetransform.c:
10502         (gst_base_transform_transform_caps):
10503         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10504           implement caps merging (fixes #352580)
10505
10506 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10507
10508         * tools/Makefile.am:
10509         * tools/gst-plot-timeline.py:
10510           add debug-log plotting developer tool (#340674)
10511
10512 2006-08-23  Wim Taymans  <wim@fluendo.com>
10513
10514         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10515         (gst_pad_stop_task):
10516         Improve debugging for task functions.
10517
10518         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10519         (gst_task_start), (gst_task_pause), (gst_task_join):
10520         Make sure that the task function started and finished after a 
10521         join(). 
10522         Don't try to push the task function on the threadpool multiple
10523         times.
10524         Improve the g_warning message with some useful suggestions
10525         about how to fix the problem. 
10526
10527 2006-08-23  Wim Taymans  <wim@fluendo.com>
10528
10529         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10530         Handle RESYNC correctly in _proxy_getcaps.
10531
10532 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10533
10534         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10535         (gst_xml_parse_memory), (gst_xml_get_element):
10536           Chain up to parent class in dispose function and also
10537           unref the elements in the toplevel_elements GList.
10538           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10539           Always return a reference in gst_xml_get_element() rather
10540           than only sometimes.
10541
10542         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10543           Don't leak GstXml object.
10544
10545 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10546
10547         * docs/gst/gstreamer-sections.txt:
10548         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10549         (gst_caps_merge):
10550         * gst/gstcaps.h:
10551         * libs/gst/base/gstbasetransform.c:
10552         (gst_base_transform_transform_caps):
10553           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10554           in a better way
10555
10556 2006-08-21  Edward Hervey  <edward@fluendo.com>
10557
10558         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10559         Implement GObject::dispose virtual method in GstXML so we can free the
10560         top_elements GList.
10561
10562 2006-08-21  Wim Taymans  <wim@fluendo.com>
10563
10564         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10565         (gst_buffer_create_sub):
10566         Copy duration/offset_end/caps when creating a subbuffer of the
10567         complete parent.
10568         Make the subbuffer read-only when we make the metadata writable for
10569         now. Fixes #351768.
10570
10571         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10572         Added check for metadata copy when creating subbuffers.
10573
10574 2006-08-21  Edward Hervey  <edward@fluendo.com>
10575
10576         * libs/gst/base/gstbasetransform.c:
10577         (gst_base_transform_buffer_alloc):
10578         Only call downstream buffer_alloc if transform element is passthrough
10579         or always_in_place. Closes #350449.
10580
10581 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10582
10583         * ChangeLog:
10584           ChangeLog surgery to add comments to previous changes
10585
10586 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10587
10588         * gst/gst.c:
10589           Add comments
10590
10591         * gst/gstpad.c: (gst_pad_set_active):
10592           Be more verbose in the log
10593
10594         * libs/gst/base/gstbasetransform.c:
10595         (gst_base_transform_transform_caps):
10596           Simplify caps to get rid of duplicates, fixes #345444
10597
10598 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10599
10600         * gst/gstvalue.c:
10601         * gst/gstvalue.h:
10602           Use these optimizations only internally.
10603
10604 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10605
10606         * gst/gstvalue.c: (gst_value_compare_list),
10607         (gst_value_compare_fraction_range),
10608         (gst_value_intersect_fraction_fraction_range),
10609         (gst_value_intersect_fraction_range_fraction_range),
10610         (gst_value_subtract_fraction_fraction_range),
10611         (gst_value_subtract_fraction_range_fraction_range),
10612         (gst_value_get_compare_func), (gst_value_compare),
10613         (gst_value_compare_with_func):
10614         * gst/gstvalue.h:
10615           Saves the expensive lookup of the compare function in many cases
10616          (#345444)
10617
10618 2006-08-18  Edward Hervey  <edward@fluendo.com>
10619
10620         * tests/check/gst/gstinfo.c: (gst_info_suite):
10621         Disable test that require gstdebug if it wasn't built in core.
10622
10623 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10624
10625         * docs/random/ensonic/logging.txt:
10626           update ideas
10627           
10628         * gst/gstinfo.c: (gst_debug_log_default):
10629           reorder fields, save some columns, add optional color codes for log
10630           levels
10631
10632 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10633
10634         * docs/random/ensonic/logging.txt:
10635           add ideas about making the logs a bit more useful
10636
10637 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10638
10639         * docs/pwg/advanced-events.xml:
10640         * docs/pwg/titlepage.xml:
10641           Update for 0.10 API (#340627). Add myself
10642           to authors list.
10643
10644 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10645
10646         * docs/libs/gstreamer-libs-docs.sgml:
10647         * docs/libs/gstreamer-libs-sections.txt:
10648         * libs/gst/check/gstbufferstraw.c:
10649           Make gstcheck stuff show up in docs (still needs to
10650           be documented properly though).
10651
10652 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10653
10654         * docs/gst/gstreamer-sections.txt:
10655         * gst/Makefile.am:
10656         * gst/gst.c: (init_post):
10657         * gst/gst_private.h:
10658         * gst/gstquark.c: (_priv_gst_quarks_initialize):
10659         * gst/gstquark.h:
10660         * gst/gstquery.c: (gst_query_new_position),
10661         (gst_query_set_position), (gst_query_parse_position),
10662         (gst_query_new_duration), (gst_query_set_duration),
10663         (gst_query_parse_duration), (gst_query_new_convert),
10664         (gst_query_set_convert), (gst_query_parse_convert),
10665         (gst_query_new_segment), (gst_query_set_segment),
10666         (gst_query_parse_segment), (gst_query_new_seeking),
10667         (gst_query_set_seeking), (gst_query_parse_seeking):
10668         Add internal helpers for pre-registering quarks from static strings
10669         and using the quark values directly instead of looking them up when
10670         creating and parsing queries. Can be used for event construction too.
10671         Closes #350432.
10672
10673 2006-08-16  Wim Taymans  <wim@fluendo.com>
10674
10675         * gst/gstbin.c:
10676         Fix bogus docs.
10677
10678 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10679
10680         * gst/gstutils.c: (gst_util_set_value_from_string):
10681           Fix memleak (#351502).
10682
10683         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10684           Add unit test for most of gst_util_set_value_from_string()
10685           (not that one would want to encourage use of this function).
10686
10687 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10688
10689         * libs/gst/check/gstcheck.h:
10690           Use const gchar * variables in fail_unless_equals_string
10691           macro to avoid compiler warnings (and don't use tabs for
10692           indenting).
10693
10694 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10695
10696         * tools/gst-launch.c: (print_tag):
10697           More space on the left for the tag names, to cater
10698           for the 'extended comment' tag (not touching the
10699           string for the first line since it's translated).
10700
10701 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10702
10703         * libs/gst/check/gstcheck.h:
10704           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10705           print something when they fail.
10706
10707 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10708
10709         * docs/gst/gstreamer-sections.txt:
10710         * gst/gsttaglist.c: (_gst_tag_initialize):
10711         * gst/gsttaglist.h:
10712           API: add GST_TAG_EXTENDED_COMMENT (#350935).
10713           Also change merge function for GST_TAG_COMMENT to
10714           use_first.
10715
10716 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10717
10718         * gst/gstinfo.c: (gst_debug_print_object):
10719           Make GST_PTR_FORMAT print messages as well.
10720
10721         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10722         (GST_START_TEST), (gst_info_suite):
10723           More tests.
10724
10725 2006-08-14  Edward Hervey  <edward@fluendo.com>
10726
10727         * gst/gstelementfactory.c: (gst_element_register):
10728         If the GstElementClass doesn't have a GstElementDetails with all fields
10729         filled up correctly (longname, description AND author), then error out
10730         nicely instead of crashing.
10731
10732 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10733
10734         * gst/gststructure.c:
10735           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10736
10737         * gst/gstvalue.h:
10738           Expand on the difference between arrays and lists as we use them.
10739           
10740 2006-08-14  Wim Taymans  <wim@fluendo.com>
10741
10742         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10743         If the parent state change function failed, don't assume we can safely
10744         stop the source, this will be done when the pads are deactivated.
10745
10746 2006-08-14  Wim Taymans  <wim@fluendo.com>
10747
10748         * gst/gstbuffer.c:
10749         * gst/gsttask.c: (gst_task_join):
10750         Small doc updates.
10751
10752         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10753         (gst_pad_stop_task):
10754         When pad (de)activation failed for some reason, restore the old
10755         activation mode and set the pad to flushing instead of assuming the
10756         pad is deactivated.
10757         If the _task_join() failed, reinstall the task on the pad so that it can
10758         be stopped later and return an error.
10759
10760 2006-08-11  Andy Wingo  <wingo@pobox.com>
10761
10762         * configure.ac:
10763         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10764         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10765         is only for users of API that don't want to see deprecated
10766         functions in the headers; people that want to compile out
10767         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10768         CFLAGS. Fixes the build of multifdsink, or will soon..
10769
10770 2006-08-11  Wim Taymans  <wim@fluendo.com>
10771
10772         * docs/gst/gstreamer-sections.txt:
10773         Add GstClockClass vmethod docs.
10774
10775         * gst/gstcaps.h:
10776         Mark #endif with comment for associated #if
10777
10778         * gst/gstclock.c: (gst_clock_id_wait):
10779         * gst/gstclock.h:
10780         Add vmethod wait_jitter to avoid an unneeded _get_time() for
10781         most clock implementations.
10782         Document vmethods.
10783         Flesh out docs about resolution methods.
10784         API: GstClockClass::wait_jitter
10785
10786         * gst/gstsystemclock.c: (gst_system_clock_class_init),
10787         (gst_system_clock_async_thread),
10788         (gst_system_clock_id_wait_jitter_unlocked),
10789         (gst_system_clock_id_wait_jitter):
10790         Use base class wait_jitter variant for improved performance
10791         due to less clock polling.
10792
10793 2006-08-11  Edward Hervey  <edward@fluendo.com>
10794
10795         * gst/gst.c: (gst_init_check), (init_post):
10796         Set gst as being initialized before scanning/updating the registry,
10797         since there might be my python plugin loader that calls gst_init() and
10798         we don't want to loop back in.
10799         Closes #350879
10800
10801 2006-08-11  Wim Taymans  <wim@fluendo.com>
10802
10803         * docs/design/part-qos.txt:
10804         Bring docs in line with the code. Mostly the sign of the jitter was
10805         wrong in the docs. Fixes #349943.
10806
10807         * gst/gstclock.c:
10808         Fix the docs for the jitter.
10809
10810         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10811         (gst_event_parse_tag), (gst_event_new_buffer_size),
10812         (gst_event_parse_buffer_size), (gst_event_parse_qos),
10813         (gst_event_new_seek), (gst_event_parse_seek),
10814         (gst_event_new_navigation):
10815         Make sure the GstStructure has no parent when creating custom
10816         events.
10817         Add some more argument checking so that we avoid 0.0 rates.
10818         Flesh out the docs for the QoS event some more.
10819
10820 2006-08-11  Wim Taymans  <wim@fluendo.com>
10821
10822         * docs/gst/gstreamer-sections.txt:
10823         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10824         (ensure_current_registry_forking), (ensure_current_registry),
10825         (parse_one_option), (parse_goption_arg), (gst_deinit),
10826         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10827         * gst/gst.h:
10828         Doc updates.
10829         Added API and command line option to disable registry forking in
10830         addition to the environment variable.
10831         Constify some static arrays.
10832         Added some more debug.
10833         Don't deinit twice.
10834         API: gst_registry_fork_is_enabled()
10835         API: gst_registry_fork_set_enabled()
10836         API: --gst-disable-registry-fork command line option
10837         Fixes #348918.
10838
10839 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
10840
10841         * gst/gst.c: (gst_init):
10842           Fix typo in error message.
10843
10844 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10845
10846         * libs/gst/controller/gstcontroller.h:
10847           fix ABI size-correction
10848
10849         * tests/check/libs/gdp.c: (gst_dp_suite):
10850           make tests that use deprecated API conditional
10851
10852 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10853
10854         * docs/libs/gstreamer-libs-sections.txt:
10855         * libs/gst/controller/gstcontroller.c:
10856         (_gst_controller_get_property), (_gst_controller_set_property),
10857         (_gst_controller_init), (_gst_controller_class_init):
10858         * libs/gst/controller/gstcontroller.h:
10859         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10860         (gst_object_set_control_rate):
10861           API: add gst_object_{s,g}et_control_rate(), add private data section,
10862           fix docs
10863
10864         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10865         * libs/gst/dataprotocol/dataprotocol.h:
10866           add deprecation guards to make gtk-doc happy and allow disabling cruft
10867
10868 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
10869
10870         * tests/check/Makefile.am:
10871         * tests/check/gst/.cvsignore:
10872           Let's enable the new unit test as well.
10873
10874 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
10875
10876         * configure.ac:
10877         * docs/gst/gstreamer-sections.txt:
10878         * gst/gstconfig.h.in:
10879         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10880         (_gst_info_printf_extension_ptr),
10881         (_gst_info_printf_extension_segment):
10882           API: add GST_SEGMENT_FORMAT, which is a printf extension we
10883           register that lets us easily dump GstSegments into debug
10884           logs (#350419).
10885
10886         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10887         (info_segment_format_printf_extension), (gst_info_suite):
10888           Add simple unit test that logs a bunch of different segments (not
10889           valgrinded at the moment because of leaks in
10890           gst_debug_add_log_function).
10891
10892 2006-08-09  Edward Hervey  <edward@fluendo.com>
10893
10894         * libs/gst/base/gstbasetransform.c:
10895         (gst_base_transform_buffer_alloc):
10896         Even if we can't figure out the proper format to request downstream,
10897         call buffer_alloc() downstream with the input parameters without setting
10898         the caps on the srcpad. This will force negotiation in the chain
10899         function.
10900         Closes #350449
10901
10902 2006-08-08  Edward Hervey  <edward@fluendo.com>
10903
10904         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10905         Unlinking from a pad without a target is now a perfectly valid case
10906         which should NOT raise an assertion.
10907         This case would happen if a linked ghostpad its target set to NULL after
10908         it was previously linked.
10909
10910 2006-08-08  Edward Hervey  <edward@fluendo.com>
10911
10912         * tests/check/libs/gdp.c:
10913         Also comment out the test (see below).
10914
10915 2006-08-08  Edward Hervey  <edward@fluendo.com>
10916
10917         * tests/check/libs/gdp.c: (gst_dp_suite):
10918         Use the architecture information from config.h and not gcc macros
10919         in order to properly disable a test that fails on PPC64.
10920
10921 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
10922
10923         * gst/gstelement.c: (gst_element_remove_pad):
10924           Don't crash printing the warning if the pad has no parent.
10925
10926 2006-08-02  Wim Taymans  <wim@fluendo.com>
10927
10928         * libs/gst/dataprotocol/dataprotocol.c:
10929         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10930         (gst_dp_crc), (gst_dp_header_payload_length),
10931         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10932         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10933         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10934         (gst_dp_event_from_packet), (gst_dp_validate_header),
10935         (gst_dp_validate_payload):
10936         Make debug category static
10937         Constify the crc table.
10938         Do some more arg checking in public functions.
10939         Fix some docs and do some small cleanups.
10940
10941         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10942         Add some more checks to see if GDP deals with bogus input.
10943
10944 2006-07-31  Wim Taymans  <wim@fluendo.com>
10945
10946         * gst/gstvalue.c: (gst_value_compare_list):
10947         Fix GstValueList comparison code. Fixes #347293.
10948
10949         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10950         Check to test GstValueList comparison.
10951
10952 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
10953
10954         * gst/gstelementfactory.c: (gst_element_factory_create):
10955         Remove unnecessary ref/unref pair
10956
10957         * gst/parse/grammar.y:
10958         Make sure to free the parse buffer on all code paths.
10959         Move a g_free up to the error handler where it's easier to see.
10960
10961         * tests/check/gst/gstevent.c: (test_event):
10962         Extending timeout for downstream travelling events to 10 seconds to
10963         hopefully avoid intermittent failure on the buildbots.
10964
10965         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
10966         Don't manually set the state of the src element - it will happen as a
10967         natural consequence of the pipeline changing state, and that way it
10968         will do it in the right order too.
10969
10970 2006-07-31  Wim Taymans  <wim@fluendo.com>
10971
10972         * libs/gst/base/gstbasetransform.c:
10973         (gst_base_transform_buffer_alloc):
10974         Use OBJECT_LOCK and refcounting to get the pad caps in the
10975         buffer_alloc function because the caps could change while we are
10976         busy with them. Fixes #349105
10977
10978 2006-07-31  Wim Taymans  <wim@fluendo.com>
10979
10980         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
10981         Protect _PAD_CAPS with OBJECT_LOCK.
10982
10983 2006-07-31  Wim Taymans  <wim@fluendo.com>
10984
10985         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10986         (gst_pad_get_property), (gst_pad_activate_pull),
10987         (gst_pad_activate_push), (gst_pad_set_blocked_async),
10988         (gst_pad_set_activate_function),
10989         (gst_pad_set_activatepull_function),
10990         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
10991         (gst_pad_set_getrange_function),
10992         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
10993         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10994         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
10995         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
10996         (gst_pad_set_acceptcaps_function),
10997         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10998         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
10999         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11000         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11001         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11002         (gst_pad_configure_sink), (gst_pad_configure_src),
11003         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11004         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11005         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11006         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11007         (gst_pad_send_event):
11008         Use _DEBUG_OBJECT when it makes sense.
11009         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11010         Small cleanups and code reflows.
11011         Avoid caps refcounting in _accept_caps.
11012         Refactor alloc_buffer so that the code performed on the peer is in a
11013         separate function. Also if the pad does not implement a buffer alloc
11014         function, we should still check if the pad is flushing before falling
11015         back to the default allocator.
11016
11017 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11018
11019         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11020         Make all uses of identity and fakesink have silent=true to avoid
11021         serialising every passing data structure, which is breaking tests
11022         on FC4 for some unknown reason.
11023
11024 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11025
11026         * gst/parse/Makefile.am:
11027         * gst/parse/grammar.y:
11028         * gst/parse/parse.l:
11029           Reverted previous patch as it required to bump the flex dependency to
11030           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11031
11032 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11033
11034         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11035
11036         * gst/parse/Makefile.am:
11037         * gst/parse/grammar.y:
11038         * gst/parse/parse.l:
11039           push & pop the state of the lexer for reentrant use case
11040           Fixes #349180
11041
11042 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11043
11044         * libs/gst/base/gstbasesrc.h:
11045           Note in the docs that the ::newsegment vfunc is not actually used by
11046           GstBaseSrc.
11047
11048 2006-07-28  Wim Taymans  <wim@fluendo.com>
11049
11050         * libs/gst/base/gstcollectpads.c:
11051         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11052         (gst_collect_pads_clear), (gst_collect_pads_flush),
11053         (gst_collect_pads_event), (gst_collect_pads_chain):
11054         When flushing a pad, also clear the queued buffer so that we don't
11055         accidentally use it when we shouldn't.
11056         Fix leaks by inreffing incomming buffer.
11057         Flush out queued buffers in case of errors.
11058         Fixes #347452.
11059
11060 2006-07-28  Wim Taymans  <wim@fluendo.com>
11061
11062         * docs/random/phonon-gst:
11063         Random notes about a Phonon backend.
11064
11065 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11066
11067         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11068         Extra debug output
11069         * tests/check/libs/gdp.c: (gst_dp_suite):
11070         Take a whack at fixing the ppc compile using a different define to
11071         disable the broken test.
11072
11073         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11074         Remove excess g_print()
11075
11076 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11077
11078         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11079         Oops, meant to uncomment this line too to dampen the noise a bit.
11080
11081 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11082
11083         * gst/parse/grammar.y:
11084         * gst/parse/parse.l:
11085         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11086         (GST_START_TEST), (parse_suite):
11087         Fix some of the leaks exposed by extending the parse-launch testsuite,
11088         and move the 3 I can't figure out into a separate test that won't run
11089         the pipelines unless the appropriate line is uncommented.
11090
11091 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11092
11093         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11094           Requesting 0 bytes before the end of the file should result in
11095           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11096           unit test.
11097
11098 2006-07-27  Wim Taymans  <wim@fluendo.com>
11099
11100         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11101         Fix useless assert, a uint is always positive.
11102
11103         * gst/gststructure.c: (gst_structure_nth_field_name),
11104         (gst_structure_foreach), (gst_structure_map_in_place):
11105         Check input arguments for public functions to avoid obvious crashes.
11106
11107         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11108         * plugins/elements/gstfakesink.h:
11109         Do less useless typechecking.
11110
11111 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11112
11113         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11114           Do not use mmap() by default since there are a number of error
11115           conditions that we would like to handle in a non-fatal way that
11116           will result in a SIGBUS if we use mmap(). Examples: external
11117           devices (USB harddrive, portable music player) being unplugged
11118           while in use; file on mounted CD/DVD that can't be read because
11119           the medium is partly damaged. Fixes #348455 and #348475.
11120
11121 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11122
11123         * gst/gstquery.h:
11124         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11125         rates are a gdouble
11126
11127 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11128
11129         * gst/gstregistry.c:
11130           Move big documentation comment into class section header, so that it
11131           appears in the API docs.
11132
11133 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11134
11135         * docs/gst/gstreamer-sections.txt:
11136         Oops. Commit the docs additions too for new API.
11137         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11138
11139 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11140
11141         * gst/gststructure.c: (gst_structure_id_set),
11142         (gst_structure_id_set_valist):
11143         * gst/gststructure.h:
11144         Add API for setting values into structures without performing
11145         a quark lookup, if the appropriate quark is already known.
11146
11147         API: gst_structure_id_set
11148         API: gst_structure_id_set_valist
11149
11150         * gst/parse/grammar.y:
11151         * gst/parse/parse.l:
11152         Remove some dead code shown by the coverage information.
11153         Don't throw a critical g_warning when encountering a syntax error,
11154         just warn and let the normal error path handle it.
11155
11156         * plugins/elements/gstelements.c:
11157         Bump the rank of filesink up to PRIMARY so that it is preferred over
11158         gnomevfssink for file:// sink uri's
11159
11160         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11161         (GST_START_TEST), (run_delayed_test),
11162         (gst_parse_test_element_base_init),
11163         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11164         (gst_parse_test_element_change_state),
11165         (gst_register_parse_element), (parse_suite):
11166         Beef up the tests for parse syntax to check that more error cases
11167         fail as they are supposed to. Increases the test coverage a bit.
11168
11169 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11170
11171         * docs/manual/basics-elements.xml:
11172           Fix gst_element_link() example.
11173
11174         * gst/gstutils.c:
11175           Mention in API docs that one should usually gst_bin_add()
11176           elements to a bin or pipeline before doing the linking.
11177           
11178 2006-07-26  Wim Taymans  <wim@fluendo.com>
11179
11180         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11181         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11182         Avoid function call for known types by keeping the buffer and
11183         subbuffer GType global.
11184
11185         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11186         Random silly optimisations in read() path.
11187
11188 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11189
11190         * tools/gst-launch.c: (main):
11191           If the top-level of the parse is a normal bin, it doesn't do the
11192           right logic to run as a top-level element, so place it inside a
11193           pipeline.
11194
11195 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11196
11197         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11198           Remove superfluous g_object_notify() calls, GObject does
11199           that for us automatically.
11200
11201 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11202
11203         * gst/gstinfo.h:
11204           on Win32, use dllspec to export the debug category symbols
11205
11206 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11207
11208         * gst/gsttaglist.c: (_gst_tag_initialize):
11209           Allow more than one GST_TAG_IMAGE per taglist.
11210
11211 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11212
11213         * gst/gstminiobject.c:
11214           update docs
11215         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11216         (gst_fd_src_create):
11217           log recurring events at LOG level
11218           add more debug for when the fd gets set
11219
11220 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11221
11222         * gst/gstparse.c: (gst_parse_launch):
11223           Also remove reentrance checks if flex is MT safe (#348179)
11224          Fix my empty ChangeLog entry below
11225
11226 2006-07-21  Andy Wingo  <wingo@pobox.com>
11227
11228         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11229
11230         * libs/gst/check/Makefile.am
11231         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11232         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11233         * libs/gst/check/gstbufferstraw.h:
11234         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11235         functions, thus proving I am still a GStreamer haxor. OK I wrote
11236         them a long time ago, but anyways.
11237
11238 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11239
11240         * configure.ac:
11241         * gst/gstparse.c: (gst_parse_launch):
11242           Check for flex version and omit mutex if we have a MT save flex
11243           (fixes #348179)
11244
11245 2006-07-21  Wim Taymans  <wim@fluendo.com>
11246
11247         * gst/gstparse.c: (gst_parse_launch):
11248         Protect recursive calls to _parse with a recursive mutex
11249         and busy flag.
11250
11251 2006-07-21  Wim Taymans  <wim@fluendo.com>
11252
11253         * tests/check/gst/gstpad.c: (GST_START_TEST):
11254         Fix leak in test.
11255
11256 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11257
11258         * gst/gstparse.c: (gst_parse_launch):
11259           Do not hang on recursive usage of gst_parse_launch()
11260
11261 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11262
11263         * gst/gsttaglist.c:
11264           Add some more docs, comments and FIXME 0.11s here and there
11265           and also fix some typos.
11266
11267 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11268
11269         * gst/gstsegment.h:
11270           Convert tabs to spaces for better readability. 
11271
11272 2006-07-20  Edward Hervey  <edward@fluendo.com>
11273
11274         * tests/check/libs/gdp.c: (gst_dp_suite):
11275         the test_buffer test fails at line 140 on ppc64 at the following
11276         check:
11277         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11278                 GST_BUFFER_FLAG_IN_CAPS),
11279                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11280         See bug #348114 for more details.
11281
11282 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11283
11284         * docs/pwg/advanced-scheduling.xml:
11285         * gst/gstpad.c:
11286           Fix typos (#348000).
11287
11288 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11289
11290         * docs/pwg/intro-basics.xml:
11291           Fix wrong links (#347927).
11292
11293 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11294
11295         * gst/gstregistry.h:
11296         * gst/gstregistryxml.c: (load_feature),
11297         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11298         * win32/common/config.h:
11299           make --disable-index work (#342564)
11300
11301 2006-07-18  Wim Taymans  <wim@fluendo.com>
11302
11303         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11304
11305         * gst/Makefile.am:
11306         * gst/gsttrace.h:
11307         The attached patch adds two missing defines to gsttrace.h when tracing
11308         is disabled.  It also corrects one existing define.
11309         Fixes #347756.
11310
11311 2006-07-17  Wim Taymans  <wim@fluendo.com>
11312
11313         * docs/gst/gstreamer-sections.txt:
11314         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11315         * gst/gst.h:
11316         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11317         Add two functions to check and change the SIGSEGV behaviour
11318         when loading plugins.
11319         Don't mess with the SIGSEGV handler when we were told not to.
11320         Fixes #347794.
11321         API: gst_segtrap_is_enabled
11322         API: gst_segtrap_set_enabled
11323
11324 2006-07-14  Wim Taymans  <wim@fluendo.com>
11325
11326         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11327         * tests/check/elements/filesrc.c: (GST_START_TEST):
11328         Revert fix for regression in #347408 after release.
11329
11330 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11331
11332         Patch by: Antoine Tremblay <hexa00 at gmail com>
11333
11334         * gst/gstutils.c: (gst_element_unlink):
11335           Free iterator when done (#347311).
11336
11337         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11338           And add a test case for this.
11339
11340 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11341
11342         * configure.ac:
11343         Bump nano back to CVS
11344
11345 === release 0.10.9 ===
11346
11347 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11348
11349         * configure.ac:
11350           releasing 0.10.9, "On the road again"
11351
11352 2006-07-13  Wim Taymans  <wim@fluendo.com>
11353
11354         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11355         * tests/check/elements/filesrc.c: (GST_START_TEST):
11356         Revert pull-0 fix for release. Disable check. Fixes #347408.
11357
11358 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11359
11360         * libs/gst/dataprotocol/dataprotocol.c:
11361         (gst_dp_event_from_packet_1_0):
11362           Fixes #347337: failure to deserialize event packets with
11363           empty payload (only event type)
11364
11365 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11366
11367         * gst/Makefile.am:
11368           do not install a .c file in the header directory
11369
11370 2006-07-13  Edward Hervey  <edward@fluendo.com>
11371
11372         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11373         GhostPad no longer implicitely use the padtemplates of the targets.
11374         Fixes #347384
11375
11376 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11377
11378         * gst/gstvalue.c: (gst_value_compare_list),
11379         (gst_value_compare_array), (_gst_value_initialize):
11380         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11381         Make GstValueArray comparison be order dependent as designed.
11382         Add checks for value lists and value array comparisons.
11383         Fixes #347221
11384
11385 2006-07-11  Edward Hervey  <edward@fluendo.com>
11386
11387         * gst/gstbin.c: (activate_pads),
11388         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11389         (gst_bin_change_state_func):
11390         (de)activate src pads before calling state_change on the childs.
11391         This is to avoid the case where a src ghostpad is blocked (holding the
11392         stream lock), which would block the deactivation of the ghostpad's
11393         target pad.
11394         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11395         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11396         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11397         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11398         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11399         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11400         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11401         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11402         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11403         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11404         (gst_ghost_pad_class_init),
11405         (gst_ghost_pad_internal_do_activate_push),
11406         (gst_ghost_pad_internal_do_activate_pull),
11407         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11408         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11409         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11410         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11411         GhostPads now create their internal GstProxyPad at creation (and not
11412         when they're linked, as it was being done previously).
11413         The internal and target pads are linked straight away.
11414         The data will also travel through the other pad in order to make
11415         pad blocking and probes non-hackish (the probe/block now really happens
11416         on the GhostPad and not on the target).
11417         * gst/gstpad.c: (gst_pad_set_blocked_async),
11418         (gst_pad_link_prepare), (gst_pad_push_event):
11419         Remove previous ghostpad cruft.
11420         * gst/gstutils.c: (gst_pad_add_data_probe),
11421         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11422         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11423         (gst_pad_remove_buffer_probe):
11424         Remove previous ghost pad cruft.
11425         Added more detailed debug statements.
11426         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11427         Fix the testsuite for refcounting changes.
11428         The comments about who has references were correct, but the refcount
11429         being checked wasn't the same (!?!).
11430
11431         Fixes #341029
11432
11433 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11434
11435         * docs/gst/gstreamer-sections.txt:
11436         * gst/gstconfig.h.in:
11437         More docs for configuration options, add docs to gtk-doc.
11438
11439 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11440
11441         * gst/Makefile.am:
11442         * gst/gstconfig.h.in:
11443         * win32/common/config.h:
11444         Fix build when disabling tracing (fixes #344016). Also start to document
11445         the defines that disable the sub-systems.
11446
11447 2006-07-10  Edward Hervey  <edward@fluendo.com>
11448
11449         * gst/gst.c: (ensure_current_registry_forking):
11450         let's make valgrind happy...
11451
11452 2006-07-09  Wim Taymans  <wim@fluendo.com>
11453
11454         * gst/gstelement.c: (activate_pads),
11455         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11456         Better pad activation code: Reset the collect value too on resync.
11457         Add some comments.
11458
11459 2006-07-09  Wim Taymans  <wim@fluendo.com>
11460
11461         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11462         (gst_pad_activate_push):
11463         Use some more macros where it makes sense.
11464         Allow pad mode switching instead of asserting. When a pad
11465         is activated in one mode and we activate it in another, 
11466         deactivate it first before activating it in a different mode.
11467         Fixes #329198.
11468
11469 2006-07-08  Andy Wingo  <wingo@pobox.com>
11470
11471         * tools/gst-launch.c (main): Handle err == NULL.
11472
11473         * gst/gst.c (init_post, ensure_current_registry)
11474         (ensure_current_registry_forking)
11475         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11476         factoring out the registry scanning into separate functions. Don't
11477         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11478         Better environment var name/interface suggestions accepted.
11479
11480 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11481
11482         * gst/gstobject.c: (gst_object_set_name_default),
11483         (gst_object_set_name):
11484           Random micro-optimisation: don't use a hash table
11485           with strings as keys and the usual strdup/strcmp
11486           involved, but rather just use the GQuark of the
11487           type name as key, since it needs to be looked up
11488           anyway to get the type name string.
11489
11490         * tests/check/gst/gstobject.c: (GST_START_TEST):
11491           Fix various leaks.
11492
11493 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11494
11495         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11496         (gst_bin_iterate_all_by_interface):
11497           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11498           GTypes are gulongs and thus the top 4 bytes might be cut
11499           off on some platforms when doing GPOINTER_TO_INT, leading
11500           to invalid GTypes and bad things happening (see RH bug #179654).
11501           Also add a check to make sure the type passed in is really
11502           an interface type.
11503
11504 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11505
11506         * .cvsignore:
11507           Ignore more.
11508
11509 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11510
11511         * Makefile.am:
11512         * configure.ac:
11513         * gst-element-check.m4:
11514         * gst-element-check.m4.in:
11515           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11516           instead of the unversioned gst-inspect (#324176, #168659).
11517
11518 2006-07-06  Wim Taymans  <wim@fluendo.com>
11519
11520         * gst/gstmessage.h:
11521         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11522         warnings.
11523
11524 2006-07-06  Wim Taymans  <wim@fluendo.com>
11525
11526         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11527         (gst_base_src_wait), (gst_base_src_update_length),
11528         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11529         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11530         (gst_base_src_loop), (gst_base_src_start),
11531         (gst_base_src_activate_pull):
11532         Update docs.
11533         blocksize == 0 now means the default blocksize when working in push
11534         based mode.
11535         Remove some pointless asserts in _wait function.
11536         Fix offset/length calculations and EOS handling. We can now pull 0
11537         bytes as well, which is allowed.
11538         use _check_get_range() to decide if we can operate in _pull based
11539         mode.
11540         Fix refcounting leak when check_get_range function was not 
11541         implemented.
11542         API GstBaseSrc::blocksize range can be 0 too now (default)
11543
11544         * tests/check/elements/filesrc.c: (GST_START_TEST),
11545         (filesrc_suite):
11546         Added check to test _get_range() behaviour.
11547
11548 2006-07-06  Wim Taymans  <wim@fluendo.com>
11549
11550         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11551         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11552         (gst_pad_pull_range):
11553         * gst/gstpad.h:
11554         Lots of comments and docs added to the pad functions.
11555         Flesh out the expected behaviour of the get_range() functions.
11556
11557 2006-07-06  Wim Taymans  <wim@fluendo.com>
11558
11559         * gst/gstbus.h:
11560         * gst/gstclock.h:
11561         * gst/gstevent.h:
11562         * gst/gstiterator.h:
11563         * gst/gstpad.h:
11564         * gst/gstplugin.h:
11565         * gst/gsttask.h:
11566         Remove comma at end of enumerator list. 
11567
11568 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11569
11570         * win32/common/libgstbase.def:
11571         * win32/common/libgstdataprotocol.def:
11572         * win32/common/libsgtreamer.def:
11573         Add new exported functions.
11574
11575 2006-07-05  Wim Taymans  <wim@fluendo.com>
11576
11577         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11578         Add some more docs here and there.
11579
11580 2006-07-05  Wim Taymans  <wim@fluendo.com>
11581
11582         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11583         (gst_base_sink_loop), (gst_base_sink_get_position):
11584         When operating in pull mode update the offset so that we
11585         read sequentially.
11586
11587 2006-07-05  Wim Taymans  <wim@fluendo.com>
11588
11589         * gst/gstregistryxml.c: (read_string):
11590         Avoid strdup. (will happen in libxml, but hey!)
11591
11592         * gst/gsturi.c:
11593         Add some more docs.
11594
11595 2006-07-05  Wim Taymans  <wim@fluendo.com>
11596
11597         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11598         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11599         (gst_buffer_suite):
11600         No point in checking if the size of the subbuffer > 0, the
11601         code handles it correclty as demonstrated by unit test.
11602         Also add a unit test for the zero sized _new_and_alloc and
11603         _copy. Fixes #346663.
11604
11605 2006-07-05  Wim Taymans  <wim@fluendo.com>
11606
11607         * libs/gst/base/gstbasetransform.c:
11608         (gst_base_transform_prepare_output_buffer),
11609         (gst_base_transform_buffer_alloc),
11610         (gst_base_transform_handle_buffer):
11611         Make sure the buffer we pass to transform_ip has a refcount of
11612         1 and thus is writable. Fixes #343196
11613
11614 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11615
11616         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11617         (gst_file_src_init), (gst_file_src_set_property),
11618         (gst_file_src_get_property), (gst_file_src_map_region):
11619         * plugins/elements/gstfilesrc.h:
11620         Add "sequential" property, off by default, to use madvise and hint
11621         to the kernel that sequential access is desired.
11622         Touch all retrieved pages by default to ensure they are pulled
11623         into memory. (Closes #345720)
11624
11625 2006-07-03  Wim Taymans  <wim@fluendo.com>
11626
11627         * docs/design/part-block.txt:
11628         * docs/design/part-dynamic.txt:
11629         Small docs updates.
11630
11631 2006-07-03  Wim Taymans  <wim@fluendo.com>
11632
11633         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11634         (gst_caps_unref), (gst_static_caps_get),
11635         (gst_caps_append_structure):
11636         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11637         Use GSlice when the glib we build against is >= 2.10
11638
11639 2006-07-03  Wim Taymans  <wim@fluendo.com>
11640
11641         * gst/gstelement.c: (gst_element_pads_activate):
11642         Small cleanup in pad activation code.
11643
11644 2006-07-03  Wim Taymans  <wim@fluendo.com>
11645
11646         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11647
11648         * gst/gst-i18n-app.h:
11649         * gst/gst-i18n-lib.h:
11650         * tools/gst-inspect.c: (print_signal_info):
11651         The attached patch will make the inclusion of gettext.h unconditional in
11652         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11653         libintl.h in tools/gst-inspect.c.
11654         This allows use of --disable-nls again and fixes #344642.
11655
11656 2006-07-03  Edward Hervey  <edward@fluendo.com>
11657
11658         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11659         Implement pad blocking on events according to part-block.txt.
11660         More comments on behaviour.
11661         * tests/check/gst/gstevent.c: (test_event):
11662         Send event to peer pad of blocked pad (else it will block).
11663
11664 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11665
11666         * libs/gst/check/gstcheck.c: (gst_check_message_error),
11667         (gst_check_run_suite):
11668           if we get the wrong message, give us the types as string
11669         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11670           Fix a translatable
11671         * tests/check/elements/filesrc.c: (GST_START_TEST):
11672           add a test for trying to open a non-existing file
11673
11674 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11675
11676         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11677           add a test for adding self
11678
11679 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11680
11681         * libs/gst/check/gstcheck.h:
11682           add some assert_ as alias for fail_unless_*
11683         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11684           increase test coverage
11685
11686 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11687
11688         * Makefile.am:
11689           include lcov.mak for lcov coverage generation
11690         * tools/Makefile.am:
11691           add to CLEANFILES
11692
11693 2006-07-02  Edward Hervey  <edward@fluendo.com>
11694
11695         * tests/check/elements/.cvsignore:
11696         moaping
11697
11698 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11699
11700         * configure.ac:
11701           don't set CFLAGS and friends for gcov, done from GST_GCOV now
11702         * tests/check/Makefile.am:
11703           clean up gcov files
11704
11705 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11706
11707         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11708           remove gst_caps_simplify; it was not declared and not used
11709           and deprecated in 0.8
11710
11711 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11712
11713         * docs/faq/gst-uninstalled:
11714           don't put empty paths on PYTHONPATH
11715         * docs/gst/gstreamer-sections.txt:
11716           remove some symbols that are not there
11717
11718 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11719
11720         * gst/gstcaps.c: (gst_caps_compare_structures):
11721           whitespace fixes
11722         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11723         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11724           add more tests
11725
11726 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11727
11728         * libs/gst/dataprotocol/Makefile.am:
11729           build dataprotocol test by linking to the lib, instead of
11730           compiling the source, so we get coverage
11731         * tests/check/Makefile.am:
11732         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11733         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11734           add a test for filesrc
11735
11736 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11737
11738         * tests/check/gst/gststructure.c: (GST_START_TEST),
11739         (gst_structure_suite):
11740           Push coverage from 59.04% to 70.00%
11741
11742 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11743
11744         * tests/check/Makefile.am:
11745           gst-inspect every element; this makes sure that we also get
11746           coverage on element's get/set functions
11747
11748 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11749
11750         * configure.ac:
11751           set CFLAGS and friends to -O0 if gcov is being used
11752           add GCOV LIBS
11753         * gst/Makefile.am:
11754         * libs/gst/base/Makefile.am:
11755         * libs/gst/check/Makefile.am:
11756         * libs/gst/controller/Makefile.am:
11757         * libs/gst/dataprotocol/Makefile.am:
11758         * libs/gst/net/Makefile.am:
11759         * plugins/elements/Makefile.am:
11760         * plugins/indexers/Makefile.am:
11761           add makefile rules to generate gcov data and clean up
11762         * tests/check/Makefile.am:
11763           add a coverage target that generates an html overview
11764           of coverage data
11765
11766 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11767
11768         * tests/check/elements/fakesink.c:
11769         * tests/check/elements/fakesrc.c:
11770         * tests/check/elements/fdsrc.c:
11771         * tests/check/elements/identity.c:
11772         * tests/check/generic/sinks.c: (gst_sinks_suite):
11773         * tests/check/generic/states.c:
11774         * tests/check/gst/gst.c:
11775         * tests/check/gst/gstabi.c:
11776         * tests/check/gst/gstbin.c:
11777         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11778         * tests/check/gst/gstbus.c: (gst_bus_suite):
11779         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11780         * tests/check/gst/gstelement.c:
11781         * tests/check/gst/gstevent.c: (gst_event_suite):
11782         * tests/check/gst/gstghostpad.c:
11783         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11784         * tests/check/gst/gstmessage.c: (gst_message_suite):
11785         * tests/check/gst/gstminiobject.c:
11786         * tests/check/gst/gstobject.c:
11787         * tests/check/gst/gstpad.c:
11788         * tests/check/gst/gstpipeline.c:
11789         * tests/check/gst/gstplugin.c:
11790         * tests/check/gst/gstquery.c: (gst_query_suite):
11791         * tests/check/gst/gstsegment.c: (gst_segment_suite):
11792         * tests/check/gst/gststructure.c:
11793         * tests/check/gst/gstsystemclock.c:
11794         * tests/check/gst/gsttag.c:
11795         * tests/check/gst/gsttask.c: (gst_task_suite):
11796         * tests/check/gst/gstutils.c:
11797         * tests/check/gst/gstvalue.c:
11798         * tests/check/libs/adapter.c:
11799         * tests/check/libs/basesrc.c:
11800         * tests/check/libs/collectpads.c:
11801         * tests/check/libs/controller.c:
11802         * tests/check/libs/gdp.c: (gst_dp_suite):
11803         * tests/check/libs/gstnetclientclock.c:
11804         * tests/check/libs/gstnettimeprovider.c:
11805         * tests/check/libs/libsabi.c: (libsabi_suite):
11806         * tests/check/libs/typefindhelper.c:
11807         * tests/check/pipelines/cleanup.c:
11808         * tests/check/pipelines/parse-launch.c:
11809         * tests/check/pipelines/simple-launch-lines.c:
11810         * tests/check/pipelines/stress.c: (stress_suite):
11811           use the new macro
11812
11813 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11814
11815         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11816         * libs/gst/check/gstcheck.h:
11817           create a macro and function so that the simple unit test
11818           case can be just one macro to create main()
11819
11820 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
11821
11822         * gst/gstbin.c: (gst_bin_restore_thyself):
11823         * gst/gstxml.c: (gst_xml_make_element):
11824           Fix deserialisation from XML. Set parent manually
11825           instead of using gst_bin_add(), since gst_bin_add()
11826           will unlink all pads of the element being added.
11827           Fixes #341667.
11828
11829 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
11830
11831         Patch by: Peter Kjellerstedt <pkj at axis com>
11832
11833         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11834           Fix missing g_strdup() and double free when using the
11835           --gst-plugin-load command line option (#346097).
11836
11837 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11838
11839         * gst/gstinfo.c:
11840           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11841
11842         * libs/gst/net/gstnetclientclock.c:
11843         * libs/gst/net/gstnettimeprovider.c:
11844           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11845
11846 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11847
11848         * docs/manual/advanced-dataaccess.xml:
11849           Fix buffer probe example compilation in
11850           ADM (#345708).
11851         
11852 2006-06-22  Edward Hervey  <edward@fluendo.com>
11853
11854         * gst/gstelement.c: (gst_element_pads_activate):
11855         We need to deactivate src pads first and then sink pads.
11856         The reason is the src pads might be blocking while holding the streaming
11857         lock, so we need to deactivate them first so that deactivating the sink
11858         pads doesn't block (since it will require the streaming lock).
11859
11860 2006-06-22  Wim Taymans  <wim@fluendo.com>
11861
11862         * libs/gst/base/gstbasetransform.c:
11863         (gst_base_transform_buffer_alloc):
11864         Forgot to remove two unneeded unrefs.
11865         Simplify a check _is_equal allready checks the obvious case.
11866
11867 2006-06-22  Wim Taymans  <wim@fluendo.com>
11868
11869         * docs/design/part-block.txt:
11870         Some docs about what pad_block should do.
11871
11872 2006-06-22  Wim Taymans  <wim@fluendo.com>
11873
11874         * gst/gstcaps.c: (gst_caps_replace):
11875         Fix crasher when passed NULL. Doc clarification.
11876         Optimize for the trivial case.
11877
11878         * gst/gstpipeline.c: (gst_pipeline_change_state):
11879         Small cleanups.
11880
11881         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11882         Small documentation cleanup.
11883
11884         * libs/gst/base/gstbasetransform.c:
11885         (gst_base_transform_buffer_alloc):
11886         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11887         is what we need and it avoids a whole lot of redundant 
11888         refcount operations.
11889
11890 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
11891
11892         Patch by: Philip Jägenstedt  <philip at lysator liu se>
11893
11894         * docs/manual/advanced-dataaccess.xml:
11895           Fix 'Embedding static elements' section to use
11896           GST_PLUGIN_DEFINE_STATIC (#345607).
11897
11898 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11899
11900         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11901           Attempt to 'fix' spuriously failing test case: it seems like the
11902           timeout of half a second is simply too small when the system is under
11903           load otherwise, and the timeout doesn't really seem to serve any
11904           particular purpose here. Give the pipeline a few seconds to preroll
11905           first, and then give it another half a second to go from PAUSED to
11906           PLAYING and marshal the message into the main thread.
11907
11908 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11909
11910         * tools/gst-feedback-m.m:
11911           Don't only use unversioned tools, try versioned tools as well
11912           (#345086).
11913
11914 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11915
11916         * gst/gstbus.c: (gst_bus_class_init):
11917           Fix some typos, make docs more explicit.
11918
11919 2006-06-20  Wim Taymans  <wim@fluendo.com>
11920
11921         * tests/check/gst/gstghostpad.c: (block_callback),
11922         (GST_START_TEST), (gst_ghost_pad_suite):
11923         Added some more ghostpad tests, mainly blocking
11924         and probes.
11925
11926 2006-06-16  Wim Taymans  <wim@fluendo.com>
11927
11928         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11929         (gst_file_sink_close_file), (gst_file_sink_do_seek),
11930         (gst_file_sink_event), (gst_file_sink_render):
11931         * plugins/elements/gstfilesink.h:
11932         Check if we can seek in the file instead of assuming
11933         we always can. Post an error when we are asked to seek in a
11934         non-seekable file (like a fifo). Fixes #343312.
11935         Some cleanups.
11936
11937 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11938
11939         * tools/gst-launch.1.in:
11940           Un-garble (fourcc) bit in filtered caps section.
11941
11942 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11943
11944         * docs/manual/advanced-autoplugging.xml:
11945         * docs/manual/basics-helloworld.xml:
11946         * docs/manual/highlevel-components.xml:
11947           Don't leak bus reference in sample code.
11948
11949 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
11950
11951         * autogen.sh:
11952           Add default for new --enable-plugin-docs switch.
11953
11954         * configure.ac:
11955           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
11956           Fixes #344039.
11957
11958         * docs/Makefile.am:
11959           Use new ENABLE_PLUGIN_DOCS conditional.
11960
11961 2006-06-14  Wim Taymans  <wim@fluendo.com>
11962
11963         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
11964         Make it clear with a FIXME and a real define what the #if 0
11965         previously disabled.
11966
11967 2006-06-14  Wim Taymans  <wim@fluendo.com>
11968
11969         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11970         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11971         * libs/gst/base/gstbasetransform.c:
11972         (gst_base_transform_sink_eventfunc):
11973         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11974         Don't randomly and silently reset a segment when the format 
11975         changes as this is a bug somewhere upstream. Fixes #330379.
11976
11977 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
11978
11979         Patch by: Wouter Paesen  <wouter at kangaroot net>
11980
11981         * libs/gst/controller/gstcontroller.c:
11982         (gst_controlled_property_new):
11983           Fix controlling of float properties (#344849).
11984
11985         * tests/check/libs/controller.c:
11986         (gst_test_mono_source_get_property),
11987         (gst_test_mono_source_set_property),
11988         (gst_test_mono_source_class_init), (GST_START_TEST):
11989           While we're at it, add some float stuff to unit test.
11990
11991 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11992
11993         * docs/README:
11994         * docs/images/gdp-header.svg:
11995           add a gdp image
11996         * docs/libs/Makefile.am:
11997         * docs/libs/gdp-header.png:
11998         * libs/gst/dataprotocol/dataprotocol.c:
11999           add it to the API docs
12000         * docs/manual/intro-motivation.xml:
12001           fix typo
12002
12003 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12004
12005         * gst/gst.c: (scan_and_update_registry), (init_post):
12006           If the fork()'ed child process can't write the updated registry cache
12007           file to disk for some reason, make it exit with a failure exit code,
12008           so that the parent can then re-scan the plugins itself and update the
12009           registry structures in memory and work with that (rather than failing
12010           when creating elements because seemingly no plugins are available).
12011           Refactor registry scanning code into separate function for this and
12012           also separate fork() and non-fork() code paths. Fixes #344748.
12013
12014 2006-06-13  Wim Taymans  <wim@fluendo.com>
12015
12016         * docs/manual/advanced-dataaccess.xml:
12017         Fix wrong PluginDesc. Fixes #344755.
12018
12019 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12020
12021         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12022           Fix silly bug that prevented us from creating
12023           ~/.gstreamer-0.10 and writing the registry in one
12024           go (the first call to g_mkstemp() would overwrite the
12025           placeholder in the template string, so the second call
12026           to g_mkstemp() after creating the missing directory
12027           would then error out with 'invalid argument').
12028
12029 2006-06-13  Edward Hervey  <edward@fluendo.com>
12030
12031         * gst/gst.c: (init_post):
12032         Free string.
12033
12034 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12035
12036         * gst/glib-compat-private.h:
12037         * gst/glib-compat.c:
12038         * gst/glib-compat.h:
12039         * gst/gstvalue.c: (gst_value_serialize_flags):
12040           remove GLib 2.6 compatibility code
12041
12042 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12043
12044         * gst/parse/Makefile.am:
12045           Fix build with 'make -j N' even more (#340016).
12046
12047 2006-06-12  Wim Taymans  <wim@fluendo.com>
12048
12049         * docs/gst/gstreamer-sections.txt:
12050         Fix docs.
12051
12052 2006-06-12  Wim Taymans  <wim@fluendo.com>
12053
12054         * gst/gstsegment.c: (gst_segment_set_duration),
12055         (gst_segment_set_last_stop), (gst_segment_set_seek),
12056         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12057         (gst_segment_to_running_time), (gst_segment_clip):
12058         Use G_UNLIKELY to help the compiler a bit.
12059
12060 2006-06-12  Wim Taymans  <wim@fluendo.com>
12061
12062         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12063
12064         * gst/gstevent.c: (gst_event_get_type):
12065         * gst/gstmessage.c:
12066         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12067         (gst_pad_push):
12068         constify quark registration strings. Fixes #344115
12069         Avoid unneeded type checking is _pad_push() by internally
12070         calling gst_pad_chain_unchecked().
12071
12072 2006-06-12  Wim Taymans  <wim@fluendo.com>
12073
12074         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12075         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12076         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12077         (gst_buffer_is_span_fast), (gst_buffer_span):
12078         Init _type for consistency.
12079         Use _FLAGS macro to avoid type check.
12080         Avoid unneeded type checks in subbufer code.
12081
12082 2006-06-12  Wim Taymans  <wim@fluendo.com>
12083
12084         * gst/gst.c: (gst_debug_help):
12085         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12086         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12087         (gst_plugin_feature_list_free):
12088         * gst/gstregistry.c: (gst_registry_add_plugin),
12089         (gst_registry_add_feature), (gst_registry_plugin_filter),
12090         (gst_registry_feature_filter), (gst_registry_find_plugin),
12091         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12092         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12093         * gst/gstregistryxml.c: (load_feature),
12094         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12095         * gst/gstminiobject.c: (gst_mini_object_unref),
12096         (gst_mini_object_replace), (gst_value_mini_object_free),
12097         (gst_value_mini_object_copy):
12098         Use _CAST macros to avoid unneeded type checking.
12099         Added some more G_UNLIKELY.
12100
12101 2006-06-12  Wim Taymans  <wim@fluendo.com>
12102
12103         * gst/gstbuffer.h:
12104         Avoid unneeded type checking.
12105         API: GST_BUFFER_IS_DISCONT
12106
12107         * gst/gstminiobject.h:
12108         Avoid type check in flag accessor.
12109
12110         * gst/gstelementfactory.h:
12111         * gst/gstplugin.h:
12112         * gst/gstpluginfeature.h:
12113         Add _CAST macros.
12114         API: GST_ELEMENT_FACTORY_CAST
12115         API: GST_PLUGIN_CAST
12116         API: GST_PLUGIN_FEATURE_CAST
12117
12118 2006-06-12  Wim Taymans  <wim@fluendo.com>
12119
12120         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12121         (gst_object_unref):
12122         Add G_UNLIKELY in type registration.
12123         Avoid type check in _ref/_unref since that is also
12124         done in glib.
12125
12126 2006-06-12  Wim Taymans  <wim@fluendo.com>
12127
12128         * gst/gsterror.c: (gst_g_error_get_type):
12129         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12130         (gst_static_pad_template_get_type):
12131         * gst/gsttaglist.c: (gst_tag_list_get_type):
12132         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12133         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12134         * gst/gsturi.c: (gst_uri_handler_get_type):
12135         * gst/gstvalue.c: (gst_date_get_type):
12136         * gst/gstxml.c: (gst_xml_get_type):
12137         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12138         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12139         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12140         Add G_UNLIKELY in type registration.
12141
12142 2006-06-12  Wim Taymans  <wim@fluendo.com>
12143
12144         * tools/gst-inspect.c: (print_signal_info):
12145         Properly print enum values.
12146
12147 2006-06-12  Wim Taymans  <wim@fluendo.com>
12148
12149         * gst/gstinfo.c: (gst_debug_set_active),
12150         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12151         * gst/gstinfo.h:
12152         Add some G_[UN]LIKELY.
12153         Maintain __gst_debug_min to avoid formatting the arguments of
12154         debug messages that will be dropped anyway to avoid a lot of 
12155         overhead from the debugging system.
12156
12157 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12158
12159         * po/POTFILES.in:
12160         * po/POTFILES.skip:
12161           add missing files containing translatable strings, tell intltool about
12162           one exception
12163
12164 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12165
12166         * tests/check/libs/.cvsignore:
12167         add test-binary to ignore list
12168
12169 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12170
12171         * docs/libs/gstreamer-libs-docs.sgml:
12172         reorder (put dp into a chapter) and indent
12173
12174 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12175
12176         * configure.ac:
12177           back to HEAD
12178
12179 === release 0.10.8 ===
12180
12181 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12182
12183         * configure.ac:
12184           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12185
12186 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12187
12188         * gst/gst.c: (init_post):
12189           move pid declaration to declaration block
12190
12191 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12192
12193         * gst/gst.c: (init_post):
12194           use _exit() instead of exit() in our forked child; this ensures
12195           that none of the registered exit handlers from whatever is using
12196           GStreamer get executed.  This fixes gnome-mixer-applet failing
12197           to load, because ORBit would shut down.
12198           Spotted by: Edward Hervey  <edward@fluendo.com>
12199           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12200           Fixes #344474
12201
12202 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12203
12204         * configure.ac:
12205           back to TRUNK
12206
12207 === release 0.10.7 ===
12208
12209 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12210
12211         * configure.ac:
12212           releasing 0.10.7, "Soepeke, ik zie ou"
12213
12214 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12215
12216         * configure.ac:
12217         * po/af.po:
12218         * po/az.po:
12219         * po/bg.po:
12220         * po/ca.po:
12221         * po/cs.po:
12222         * po/de.po:
12223         * po/en_GB.po:
12224         * po/fr.po:
12225         * po/it.po:
12226         * po/nb.po:
12227         * po/nl.po:
12228         * po/ru.po:
12229         * po/sq.po:
12230         * po/sr.po:
12231         * po/sv.po:
12232         * po/tr.po:
12233         * po/uk.po:
12234         * po/vi.po:
12235         * po/zh_CN.po:
12236         * po/zh_TW.po:
12237         * win32/common/config.h:
12238           0.10.6.2 prerelease
12239
12240 2006-06-07  Wim Taymans  <wim@fluendo.com>
12241
12242         * gst/gstindex.c: (gst_index_gtype_resolver):
12243         * tools/gst-xmlinspect.c: (print_plugin_info):
12244         Fix leak spotted by coverity checker. Fixes #343827
12245         Fix another other leak found by paolo borelli.
12246
12247 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12248
12249         * libs/gst/dataprotocol/dataprotocol.c:
12250         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12251         (gst_dp_version_get_type), (gst_dp_init),
12252         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12253         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12254         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12255         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12256         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12257         (gst_dp_packetizer_free):
12258         * libs/gst/dataprotocol/dataprotocol.h:
12259           API: add a GstDPPacketizer object, and create/free functions
12260           API: add GstDPVersion enum
12261           Add 1.0 event function that uses the string serialization
12262           Serialize more useful buffer flags
12263           Fixes #343988
12264
12265 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12266
12267         * tests/check/Makefile.am:
12268         * tests/check/gst/gstabi.c:
12269         * tests/check/gst/struct_ppc64.h:
12270         * tests/check/libs/libsabi.c:
12271         * tests/check/libs/struct_ppc64.h:
12272           add ppc64 structure sizes
12273
12274 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12275
12276         * tests/check/Makefile.am:
12277         * tests/check/gst/gstabi.c:
12278         * tests/check/gst/struct_x86_64.h:
12279         * tests/check/libs/libsabi.c:
12280         * tests/check/libs/struct_x86_64.h:
12281           generate and add structure size lists for x86_64
12282
12283 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12284
12285         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12286         * libs/gst/check/gstcheck.h:
12287           factor out the method from tests that checks size of structures,
12288           and add code to generate the header containing these sizes
12289         * tests/check/gst/gstabi.c: (GST_START_TEST):
12290         * tests/check/gst/struct_i386.h:
12291         * tests/check/libs/libsabi.c: (GST_START_TEST):
12292         * tests/check/libs/struct_i386.h:
12293           use it
12294
12295 2006-06-06  Michael Smith  <msmith@fluendo.com>
12296
12297         * gst/gstsegment.h:
12298           Don't use c++-style comments, fixes #343929
12299
12300 2006-06-05  Edward Hervey  <edward@fluendo.com>
12301
12302         * gst/gst.c:
12303         plugin_paths is not used if we build without registry support.
12304
12305         * gst/gstsegment.c: (gst_segment_copy): 
12306         _copy() was always returning NULL...
12307
12308 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12309
12310         * libs/gst/dataprotocol/dataprotocol.c:
12311         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12312         (gst_dp_packet_from_event):
12313           factor out CRC code
12314
12315 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12316
12317         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12318           make sure we unset caps
12319
12320 2006-06-02  Michael Smith  <msmith@fluendo.com>
12321
12322         * libs/gst/check/gstcheck.c: (gst_check_init),
12323         (gst_check_chain_func):
12324         * libs/gst/check/gstcheck.h:
12325           Add a cond/mutex to the check support lib, signal this whenever we
12326           add to the buffers list. This will allow tests to not busy-wait on
12327           the buffer-list.
12328
12329 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12330
12331         * libs/gst/dataprotocol/dataprotocol.c:
12332         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12333         (gst_dp_packet_from_event):
12334           factor out some common header init code
12335
12336 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12337
12338         * docs/libs/gstreamer-libs-sections.txt:
12339         * docs/libs/tmpl/gstdataprotocol.sgml:
12340         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12341         * libs/gst/dataprotocol/dataprotocol.h:
12342           API: make gst_dp_crc() public
12343
12344 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12345
12346         * plugins/indexers/gstindexers.c: (plugin_init):
12347         conditionally register fileindexer (fixes #343598)
12348
12349 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12350
12351         * gst/gsttagsetter.h:
12352         Can't cast ifaces to a class
12353
12354         * libs/gst/net/gstnetclientclock.h:
12355         * libs/gst/net/gstnettimeprovider.h:
12356         * plugins/elements/gstfakesink.h:
12357         * plugins/elements/gstfakesrc.h:
12358         * plugins/elements/gstfdsink.h:
12359         * plugins/elements/gstfdsrc.h:
12360         * plugins/elements/gstfilesink.h:
12361         * plugins/elements/gstfilesrc.h:
12362         * plugins/elements/gstidentity.h:
12363         * plugins/elements/gstqueue.h:
12364         * plugins/elements/gsttee.h:
12365         * plugins/indexers/gstfileindex.c:
12366         * plugins/indexers/gstmemindex.c:
12367         * tests/old/examples/plugins/example.h:
12368         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12369
12370 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12371
12372         * libs/gst/dataprotocol/dataprotocol.c:
12373         (gst_dp_header_from_buffer):
12374           make sure we zero the whole ABI-compatible area
12375
12376 2006-06-01  Wim Taymans  <wim@fluendo.com>
12377
12378         Patch by: Alessandro Decina <alessandro at nnva dot org>
12379
12380         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12381         Make sure the EOS flag is cleared from pads after a flush
12382         or stop. Fixes #343538.
12383
12384         * tests/check/libs/collectpads.c: (GST_START_TEST),
12385         (gst_collect_pads_suite):
12386         Added test for collectpads reusage after EOS.
12387
12388 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12389
12390         * gst/gst.c:
12391          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12392         * win32/common/libgstbase.def:
12393          export gst_collect_pads_set_flushing
12394         * win32/common/libgstreamer.def:
12395          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12396          gst_value_fraction_multiply
12397         * win32/vs6/gst_inspect.dsp:
12398          add a link to intl.lib
12399
12400 2006-05-30  Wim Taymans  <wim@fluendo.com>
12401
12402         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12403         (gst_collect_pads_chain):
12404         Handle the case where a pad is removed from the collection
12405         that could cause the other pads to become collectable.
12406
12407 2006-05-30  Wim Taymans  <wim@fluendo.com>
12408
12409         * gst/gstelement.c:
12410         Clarify the use of _release_request_pad() and
12411         _get_request_pad() a bit better.
12412
12413         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12414         (gst_adapter_take_buffer):
12415         Fix some doc and comment typos.
12416
12417 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12418
12419         * docs/gst/gstreamer-sections.txt:
12420         * docs/libs/gstreamer-libs-sections.txt:
12421           add declared symbols
12422
12423 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12424
12425         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12426         Add debug that can be enabled using a #define at the top of the file,
12427         for dumping stats about how late/early we were when waking up from
12428         waiting on the clock.
12429
12430 2006-05-30  Wim Taymans  <wim@fluendo.com>
12431
12432         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12433         When rebuilding the pad list, don't leak the previous list.
12434
12435 2006-05-30  Wim Taymans  <wim@fluendo.com>
12436
12437         Patch by: Lutz Mueller <lutz at topfrose dot de>
12438
12439         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12440         (gst_base_src_get_query_types), (gst_base_src_update_length):
12441         Publish supported query types.
12442         Update last_stop field in get_range mode so the position
12443         query works. Fixes #342321.
12444
12445 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12446
12447         * docs/gst/gstreamer-sections.txt:
12448         * gst/gsttaglist.c: (_gst_tag_initialize):
12449         * gst/gsttaglist.h:
12450           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12451
12452 2006-05-30  Wim Taymans  <wim@fluendo.com>
12453
12454         Patch by: Alessandro Decina <alessandro at nnva dot org>
12455
12456         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12457         Unlock mutex when removing an unknown pad.
12458         Fixes #343334.
12459
12460         * tests/check/Makefile.am:
12461         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12462         (push_event), (setup), (teardown), (GST_START_TEST),
12463         (gst_collect_pads_suite), (main):
12464         Added collecpads check, disabled for now as check crashes for
12465         some reason.
12466
12467 2006-05-29  Wim Taymans  <wim@fluendo.com>
12468
12469         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12470         Don't leak pads lists.
12471
12472 2006-05-29  Wim Taymans  <wim@fluendo.com>
12473
12474         * docs/libs/gstreamer-libs-sections.txt:
12475         * libs/gst/base/gstcollectpads.c:
12476         (gst_collect_pads_set_flushing_unlocked),
12477         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12478         (gst_collect_pads_stop):
12479         * libs/gst/base/gstcollectpads.h:
12480         API: gst_collect_pads_set_flushing()
12481         Added api to set the pads to flushing, useful for seeking
12482         code in elements using collectpads.
12483         Clear segment when receiving a flush.
12484
12485 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12486
12487         * gst/gst.c: (add_path_func), (init_post):
12488           Don't scan registry paths passed via --gst-plugin-path immediately
12489           (will crash, because absolutely nothing is set up and no types are
12490           registered etc.); do this later in init_post(). Fixes #343057.
12491
12492 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12493
12494         * gst/gst.c: (init_post):
12495           if we have fork, fork while reading/rebuilding the registry
12496           so the parent doesn't take the hit of having all plugins loaded
12497           in memory.  Fixes #342777.
12498         * configure.ac:
12499           Check if we have fork()
12500         * win32/common/config.h.in:
12501           no fork() on win32
12502
12503 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12504
12505         * plugins/elements/gstelements.c:
12506         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12507         (gst_file_src_init), (gst_file_src_set_property),
12508         (gst_file_src_get_property), (gst_file_src_start):
12509         * plugins/elements/gstfilesrc.h:
12510           API: GstFileSrc::use-mmap
12511
12512         Add a use-mmap property to enable easier testing of all code paths.
12513         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12514         in the absence of gnomevfssrc. (Closes #340501)
12515
12516 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12517
12518         * tools/gst-inspect.c:
12519         Add missing include, removes warning of ngettext not being defined on
12520         some arches.
12521
12522 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12523
12524         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12525         Handle NULL input and output pointers silently as a failed conversion,
12526         rather than g_warnings.
12527
12528 2006-05-25  Wim Taymans  <wim@fluendo.com>
12529
12530         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12531         Initialize variable before using. Fixes #342820.
12532
12533 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12534
12535         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12536           Fix off-by-one bug that would only allow peeks of N-1 bytes
12537           from the start even if the buffer to typefind on contains
12538           in fact N bytes of data (makes vorbis typefinding from a
12539           vorbis identification header buffer work).
12540
12541         * tests/check/Makefile.am:
12542         * tests/check/libs/.cvsignore:
12543         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12544         (gst_typefindhelper_suite), (main), (foobar_typefind),
12545         (plugin_init):
12546           Add very basic unit test for gst_type_find_helper_for_buffer()
12547           that checks for the problem fixed above.
12548
12549 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12550
12551         * tools/gst-inspect.c: (print_interfaces),
12552         (print_element_properties_info), (print_element_list), (main):
12553           add more translatable strings
12554
12555 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12556
12557         Patch by: Julien Moutte  <julien at moutte net>
12558
12559         * docs/gst/gstreamer-sections.txt:
12560           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12561           
12562         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12563         (gst_fake_sink_preroll):
12564         * plugins/elements/gstfakesink.h:
12565           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12566
12567 2006-05-23  Wim Taymans  <wim@fluendo.com>
12568
12569         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12570         * gst/gstpad.h:
12571         Added _CUSTOM error and success GstFlowReturn that can be
12572         used be elements internally. 
12573         Added macro to check for SUCCESS flowreturns.
12574         API: GST_FLOW_CUSTOM_SUCCESS
12575         API: GST_FLOW_CUSTOM_ERROR
12576         API: GST_FLOW_IS_SUCCESS
12577
12578         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12579         Added check for GstFlowReturn sanity.
12580
12581 2006-05-23  Wim Taymans  <wim@fluendo.com>
12582
12583         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12584
12585         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12586         (gst_collect_pads_event):
12587         clear/reset segment info in FLUSH_STOP.
12588         Fixes #336929.
12589
12590 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12591
12592         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12593         (gst_collect_pads_check_collected):
12594         Flush queued buffer on _stop(), fixes playing again (#342454)
12595
12596 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12597
12598         * tests/check/gst/gststructure.c: (GST_START_TEST),
12599         (gst_structure_suite):
12600           add a test for a complete structure
12601
12602 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12603
12604         * docs/faq/developing.xml:
12605         * docs/faq/faq.xml:
12606         * docs/faq/troubleshooting.xml:
12607         * docs/faq/using.xml:
12608           Some minor FAQ updates that won't change the fact that
12609           our FAQ is badly structured, full of information hardly
12610           anyone new to GStreamer needs to know and lacking lots
12611           of information people constantly ask for.
12612           
12613 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12614
12615         * gst/gstpad.c: (gst_pad_set_caps):
12616           Short-circuit gst_pad_set_caps if setting the existing
12617           caps pointer again, and avoid printing debug and 
12618           reffing/unreffing the caps.
12619
12620         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12621           There's actually no need to set the caps before pushing -
12622           the acceptcaps method will handle it anyway.
12623
12624 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12625
12626         * docs/gst/gstreamer-sections.txt:
12627         * win32/common/libgstreamer.def:
12628         * gst/gstutils.c: (gst_element_seek_simple):
12629         * gst/gstutils.h:
12630           API: add gst_element_seek_simple() (#342238).
12631
12632 2006-05-18  Edward Hervey  <edward@fluendo.com>
12633
12634         * gst/gsttypefind.c: (gst_type_find_get_type):
12635         * gst/gsttypefind.h:
12636         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12637         registered for GstTypeFind pointers. This allows wrapping the structure
12638         in bindings (i.e. gst-python).
12639
12640 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12641
12642         * gst/gsttagsetter.c:
12643           Docs additions and fixes (see #339918).
12644
12645 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12646
12647         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12648         The caps intersection algorithm can produce multiple copies of the
12649         caps. Until that is fixed, we need to simplify the result to be
12650         sure whether the allowed caps are fixed or not.
12651
12652         * plugins/elements/gstqueue.c: (gst_queue_init),
12653         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12654         (gst_queue_push_one):
12655         Proxied buffer alloc should not set the caps on the source pad.
12656         When pushing buffers, we always accept the caps change that triggers.
12657         This prevents negotiation errors caused by caps changing mid-stream 
12658         and then being refused on our source pad (because upstream is now
12659         refusing those caps).
12660
12661 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12662
12663         * tests/examples/helloworld/helloworld.c: (main):
12664           Must plug audioconvert and audioresample between decoder
12665           and audio sink.
12666
12667 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
12668
12669         * gst/gstregistryxml.c: (read_string), (load_pad_template),
12670         (load_feature), (load_plugin):
12671         Allow empty strings for some of the plugin fields so we don't 
12672         drop valid plugin entries that were written out correctly
12673         (Fixes #341479)
12674
12675 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
12676         
12677         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12678           Use g_remove and g_rename instead of remove and rename that don't 
12679           handle utf8 characters. rename was failing for users who had specific
12680           characters in their name then the registry was built at each 
12681           gstreamer init.
12682         * win32/vs6/gst_inspect.dsp:
12683         * win32/vs6/gst_launch.dsp:
12684         * win32/vs6/libgstbase.dsp:
12685         * win32/vs6/libgstcoreelements.dsp:
12686         * win32/vs6/libgstreamer.dsp:
12687           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
12688           build of libgstreamer and clean unused libraries in projects link 
12689           settings.
12690
12691 2006-05-17  Edward Hervey  <edward@fluendo.com>
12692
12693         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12694         The queue is not responsible for pushing an EOS when receiving a fatal
12695         flow error. It's up to the real element driving the pipeline to do that.
12696
12697 2006-05-16  Edward Hervey  <edward@fluendo.com>
12698
12699         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12700         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12701         buffer returned a fatal error. It should just send an EOS and stop
12702         its task.
12703         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12704         when pushing buffers on the queue and will be able to handle the event.
12705
12706 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
12707
12708         * docs/manual/basics-bins.xml:
12709         * docs/manual/basics-init.xml:
12710           Fix typos and minor errors in sample code (#341856).
12711
12712 2006-05-16  Wim Taymans  <wim@fluendo.com>
12713
12714         * docs/design/part-qos.txt:
12715         Fix indexes in formulas to make more sense.
12716
12717 2006-05-15  Wim Taymans  <wim@fluendo.com>
12718
12719         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12720         Don't report POSITION based on clock time if sync is
12721         disabled in a sink.
12722
12723 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
12724
12725         * gst/gstobject.h:
12726           Add cast to make compiler happy - refcount variable was a gint
12727           in GstObject but is a guint in GObject and g_atomic_int_get()
12728           wants a gint *.
12729
12730 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12731
12732         * gst/parse/Makefile.am:
12733           chain commands using &&, which also makes parallel make work
12734
12735 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
12736
12737         * docs/gst/gstreamer-sections.txt:
12738         * gst/gstevent.c:
12739         * gst/gstevent.h:
12740         * gst/gstmessage.h:
12741           Minor docs fixes.
12742
12743 === release 0.10.6 ===
12744
12745 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
12746
12747         * configure.ac:
12748           releasing 0.10.6, "Take the cannoli"
12749
12750 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
12751
12752         * tools/gst-launch.c: (print_tag):
12753           Fix use of uninitialized variable in the hypothetical
12754           case that some broken plugin creates a GST_TAG_IMAGE
12755           tag containing a NULL buffer (#341667).
12756
12757 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
12758
12759         * tools/gst-launch.c: (print_tag):
12760           Print something more intelligible for image tags when
12761           using the -t switch (#341556).
12762
12763 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12764
12765         * Makefile.am:
12766           updates for win32
12767         * configure.ac:
12768           define GST_MAJORMINOR so we have it available in win32/common/config.h
12769           Possibly remove it from our Makefile.am files later
12770         * win32/common/config.h:
12771         * win32/common/config.h.in:
12772           added GST_MAJORMINOR
12773         * win32/common/gstenumtypes.c: (register_gst_resource_error):
12774         * win32/common/gstversion.h:
12775           updated
12776
12777 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
12778
12779         * win32/MANIFEST:
12780           Update win32 files listing.
12781         * win32/common/gstversion.h:
12782           Add GST_MAJORMINOR definition.
12783         * win32/common/libgstreamer.def:
12784           Add new exported functions.
12785           
12786 2006-05-12  Michael Smith  <msmith@fluendo.com>
12787
12788         * gst/gstplugin.c: (gst_plugin_load_file):
12789           If an so file has no plugin entry point, unload the module.
12790
12791 2006-05-11  Wim Taymans  <wim@fluendo.com>
12792
12793         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12794         (gst_queue_set_property):
12795         Don't forget to signal the _chain or _loop function 
12796         when the queue size or thresholds change since that might
12797         cause them to make progres again.
12798
12799 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
12800
12801         * gst/gstclock.c: (gst_clock_class_init):
12802         * gst/gstindex.c: (gst_index_class_init):
12803         * gst/gstobject.c: (gst_object_class_init):
12804         * gst/gstpad.c: (gst_pad_class_init):
12805         * gst/gstpipeline.c: (gst_pipeline_class_init):
12806         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12807         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12808         * libs/gst/base/gstbasetransform.c:
12809         (gst_base_transform_class_init):
12810         * libs/gst/net/gstnetclientclock.c:
12811         (gst_net_client_clock_class_init):
12812         * libs/gst/net/gstnettimeprovider.c:
12813         (gst_net_time_provider_class_init):
12814         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12815         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12816         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12817         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12818         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12819         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12820         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12821         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12822         * plugins/elements/gsttee.c: (gst_tee_class_init):
12823         * tests/old/examples/plugins/example.c: (gst_example_class_init):
12824         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12825           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12826
12827 2006-05-11  Wim Taymans  <wim@fluendo.com>
12828
12829         * gst/gstbuffer.c: (_gst_buffer_initialize):
12830         Register subbufer along with the buffer type so that
12831         it does not accidentally gets registered from N
12832         different streaming threads in a non threadsafe way.
12833
12834 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12835
12836         * gst/gstbuffer.h:
12837         * gst/gstevent.h:
12838         * gst/gstmessage.h:
12839           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12840           gst_event_ref() and gst_message_ref() functions again
12841           (ugly hack, please do fix if there's a better way besides
12842           overrides.txt, which doesn't seem to work).
12843
12844 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12845
12846         * libs/gst/check/gstcheck.h:
12847           add an assert for setting state to avoid lots of repetitive code
12848           in the future
12849
12850 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12851
12852         * gst/gstvalue.c: (gst_value_serialize_flags):
12853           fix a leak if no flags are set
12854         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12855           fix leak in tests
12856
12857 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12858
12859         * docs/manual/basics-pads.xml:
12860           Expand a bit on caps and filtered links and update
12861           examples that were still using the no longer existing
12862           gst_pad_link_filtered() (#338206).
12863
12864 2006-05-10  Wim Taymans  <wim@fluendo.com>
12865
12866         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12867         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12868         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12869         (gst_collect_pads_stop):
12870         * libs/gst/base/gstcollectpads.h:
12871         No need to call _stop in _finalize.
12872         Iterate the main pad list in _finalize.
12873         Added some more debug.
12874         Free lists and data in the right order.
12875         Also free data whem doing _remove_pad when stopped for
12876         backward compatibility protect ::started with PAD_LOCK as
12877         well.
12878
12879 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12880
12881         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12882         (gst_structure_parse_value):
12883           add some comments
12884           rename a method so that it actually says what it does better
12885
12886 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12887
12888         * gst/gstevent.c: (_gst_event_initialize):
12889         * gst/gstformat.c: (_gst_format_initialize):
12890           make sure some essential types used by events are registered
12891           as part of gst_init()
12892         * gst/gstvalue.c: (gst_value_serialize_flags):
12893           if no flags are set, serialize them to a value that represents NONE
12894           so that deserializing them works
12895         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12896           add tests for serialization and deserialization of flags
12897
12898 2006-05-10  Wim Taymans  <wim@fluendo.com>
12899
12900         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12901         (gst_collect_pads_collect_range), (gst_collect_pads_available),
12902         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12903         (gst_collect_pads_event), (gst_collect_pads_chain):
12904         Update docs.
12905         Better debug info.
12906         Catch and return errors from the collect function
12907         Refuse data on eos pads.
12908
12909 2006-05-10  Edward Hervey  <edward@fluendo.com>
12910
12911         * gst/gstinterface.h:
12912         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12913         GInterface type checking.
12914         They were previously using non-defined macros.
12915
12916 2006-05-09  Wim Taymans  <wim@fluendo.com>
12917
12918         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12919         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12920         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12921         (gst_collect_pads_start), (gst_collect_pads_stop),
12922         (gst_collect_pads_peek), (gst_collect_pads_pop),
12923         (gst_collect_pads_available), (gst_collect_pads_read),
12924         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12925         (gst_collect_pads_is_collected), (gst_collect_pads_event),
12926         (gst_collect_pads_chain):
12927         * libs/gst/base/gstcollectpads.h:
12928         Clean up the mess that is collectpads, add comments and
12929         FIXMEs where needed.
12930         Maintain a separate pad list so we can add pads while
12931         collecting the other ones. For this we need a new separate 
12932         lock (see comics).
12933         Fix memory leak in finalize.
12934         Refactor some weird code to set/unset pad flushing flags, mark
12935         with comments.
12936         Don't crash in _available, _read, _flush when we're EOS.
12937
12938         * tests/check/libs/.cvsignore:
12939         Ignore adapter check binary.
12940
12941 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12942
12943         * gst/gstindex.c: (gst_index_resolver_get_type):
12944         * plugins/elements/gstfakesink.c:
12945         (gst_fake_sink_state_error_get_type):
12946         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12947         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
12948         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
12949           Const-ify GEnumValue arrays.
12950
12951 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12952
12953         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12954           Add test case for flags + gst_buffer_make_metadata_writable().
12955
12956 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12957
12958         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
12959           gst_buffer_make_metadata_writable() should maintain the
12960           buffer flags (those that make sense at least) (see #340859).
12961
12962 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12963
12964         * tools/gst-inspect.c:
12965         * tools/gst-launch.c:
12966         * tools/gst-typefind.c:
12967         * tools/gst-xmlinspect.c:
12968         * tools/tools.h:
12969           Fix up includes: need to include stdlib.h in tools.h for exit().
12970
12971 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12972
12973         * gst/gsttaglist.c: (_gst_tag_initialize):
12974         * gst/gsttaglist.h:
12975           API: add GST_TAG_IMAGE tag (#340721).
12976
12977 2006-05-08  Wim Taymans  <wim@fluendo.com>
12978
12979         * gst/gstquery.c:
12980         Added some docs for the segment query.
12981
12982 2006-05-08  Wim Taymans  <wim@fluendo.com>
12983
12984         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12985         (gst_base_src_loop), (gst_base_src_change_state):
12986         Always push non-flushing serialized events in the streaming 
12987         thread.
12988
12989 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12990
12991         * gst/gsterror.c: (_gst_stream_errors_init):
12992           Add a missing error string.
12993
12994 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
12995
12996         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
12997         Add applied_rate to the debug
12998
12999         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13000         Copy applied_rate into the outgoing NEWSEGMENT event
13001
13002 2006-05-08  Wim Taymans  <wim@fluendo.com>
13003
13004         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13005
13006         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13007         (gst_base_sink_change_state):
13008         call ::unlock before taking the PREROLL_LOCK so we can safely
13009         handle elements that lock in ::render.
13010         Fixes #340174.
13011
13012 2006-05-08  Edward Hervey  <edward@fluendo.com>
13013
13014         * autogen.sh: (CONFIGURE_DEF_OPT): 
13015         Darwin's libtoolize is in fact called glibtoolize.
13016         Adding glibtoolize to the list of accepted names for libtoolize.
13017
13018 2006-05-08  Wim Taymans  <wim@fluendo.com>
13019
13020         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13021         Unify error handling, don't post an error message
13022         when a push() returns EOS but perform our normal EOS
13023         handling code. Fixes #340772.
13024
13025 2006-05-08  Wim Taymans  <wim@fluendo.com>
13026
13027         * docs/design/part-overview.txt:
13028         Make upsteam/downstream concepts more clear.
13029         Give an example of serialized/non-serialized events.
13030
13031         * docs/design/part-events.txt:
13032         * docs/design/part-streams.txt:
13033         Mention applied_rate.
13034
13035         * docs/design/part-trickmodes.txt:
13036         Mention applied rate, flesh out some more use cases.
13037
13038         * gst/gstevent.c: (gst_event_new_new_segment),
13039         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13040         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13041         (gst_event_parse_tag), (gst_event_new_buffer_size),
13042         (gst_event_parse_buffer_size), (gst_event_new_qos),
13043         (gst_event_parse_qos), (gst_event_parse_seek),
13044         (gst_event_new_navigation):
13045         * gst/gstevent.h:
13046         Add applied_rate field to NEWSEGMENT event.
13047         API: gst_event_new_new_segment_full()
13048         API: gst_event_parse_new_segment_full()
13049
13050         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13051         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13052         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13053         * gst/gstsegment.h:
13054         Add applied_rate to GstSegment structure.
13055         Make calculation of stream_time and running_time more correct
13056         wrt rate/applied_rate.
13057         Add some more docs.
13058         API: GstSegment::applied_rate field
13059         API: gst_segment_set_newsegment_full();
13060
13061         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13062         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13063         * libs/gst/base/gstbasetransform.c:
13064         (gst_base_transform_sink_eventfunc),
13065         (gst_base_transform_handle_buffer):
13066         Parse and use applied_rate in the GstSegment field.
13067
13068         * tests/check/gst/gstevent.c: (GST_START_TEST):
13069         Add check for applied_rate field.
13070
13071         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13072         (gstsegments_suite):
13073         Add more checks for various GstSegment operations.
13074
13075 2006-05-08  Wim Taymans  <wim@fluendo.com>
13076
13077         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13078         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13079         (gst_base_sink_get_position), (gst_base_sink_change_state):
13080         Store the sync time of the buffer end position separatly in a
13081         new variable eos_rtime so we can properly sync the EOS event.
13082         Fixes #340697.
13083         Fix the docs for gst_base_sink_set_qos_enabled().
13084         Don't set segment start to invalid value when we receive a 
13085         non TIME newsegment.
13086         get closer to handling position reporting for negative rates 
13087         correctly.
13088
13089 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13090
13091         * gst/gstcaps.c:
13092         Docs about how to print caps for debug purposes.
13093
13094         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13095         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13096
13097 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13098
13099         * gst/gstelement.c:
13100           use full enum names and preprend a '%' in docs strings to make recent 
13101           gtk-doc turn that into a link
13102
13103 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13104
13105         * docs/manual/basics-bins.xml:
13106         * docs/manual/basics-bus.xml:
13107         * docs/manual/basics-pads.xml:
13108           Some typo fixes, some additions, some clarifications. 
13109
13110 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13111
13112         * tools/gst-inspect.c: (main):
13113         * tools/gst-launch.c: (main):
13114         * tools/gst-run.c: (main):
13115         * tools/gst-typefind.c: (main):
13116         * tools/gst-xmlinspect.c: (main):
13117           Use the string passed to g_option_context_new() for
13118           what it's intended for - the program name is already
13119           printed elsewhere.
13120
13121 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13122
13123         * tools/Makefile.am:
13124         * tools/gst-inspect.c: (main):
13125         * tools/gst-launch.c: (main):
13126         * tools/gst-xmlinspect.c: (main):
13127         * tools/tools.h:
13128           Add back --version command line option (#340460).
13129
13130         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13131           Add --version option and use GOption for argument parsing; refactor a
13132           bit; accept directories as arguments and recurse into them; lastly,
13133           print a decent error message when things go wrong.
13134
13135 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13136
13137         * docs/manual/basics-bins.xml:
13138         Don't mention GstThread (#340611)
13139         * docs/manual/basics-elements.xml:
13140         Update link to GObject tutorial (#340607)
13141         
13142 2006-05-05  Wim Taymans  <wim@fluendo.com>
13143
13144         * gst/gstbuffer.h:
13145         * gst/gstminiobject.c:
13146         Add note about refcounting and miniobject/buffer writeability
13147         to docs. Fixes #340604
13148
13149         * gst/gstelementfactory.h:
13150         Added some explanation about @klass.
13151
13152 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13153
13154         * docs/manual/intro-motivation.xml:
13155         * docs/manual/manual.xml:
13156         Avoid CORBA & Bonobo references (#340598)
13157
13158 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13159
13160         * docs/manual/basics-bus.xml:
13161         * docs/manual/basics-pads.xml:
13162         Fix up some inaccuracies and omissions (#340609)
13163         
13164 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13165
13166         * gst/gstghostpad.c:
13167           Small typo in docs (#340625)
13168
13169 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13170
13171         * gst/parse/Makefile.am:
13172           Make 'make -j' proof (see #340698).
13173
13174 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13175
13176         * configure.ac:
13177           Require GLib-2.8 here as well.
13178
13179 2006-05-05  Wim Taymans  <wim@fluendo.com>
13180
13181         * gst/glib-compat.c:
13182         * gst/gst.c: (init_pre):
13183         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13184         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13185         (gst_object_dispatch_properties_changed):
13186         * gst/gstobject.h:
13187         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13188         * gst/gststructure.c: (gst_structure_set_valist):
13189         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13190         Remove pre glib2.8 compatibility, fixes #340508
13191
13192 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13193
13194         * gst/gsttaglist.h:
13195           Mention type of tags in doc blurbs.
13196
13197 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13198
13199         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13200         (gst_pad_configure_src), (gst_pad_push):
13201         Restore acceptcaps checking behaviour now that good plugins have
13202         been released.
13203
13204 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13205
13206         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13207
13208         * gst/gst.c:
13209         * gst/gstbus.c:
13210         * gst/gstclock.c:
13211         * gst/gstevent.c:
13212         * gst/gstformat.c:
13213         * gst/gstmessage.c:
13214         * gst/gstparse.c:
13215         * gst/gstquery.c:
13216         * gst/gstutils.c:
13217         * gst/parse/Makefile.am:
13218         * libs/gst/base/gstadapter.c:
13219         * libs/gst/base/gstbasesrc.c:
13220         * libs/gst/base/gstpushsrc.c:
13221         * libs/gst/base/gsttypefindhelper.c:
13222         * plugins/elements/gstfakesrc.c:
13223         * plugins/elements/gstidentity.c:
13224           Make sure gstprivate.h and/or config.h are
13225           always included first, otherwise some of our
13226           defines (like _FILE_OFFSET_BITS) might be
13227           redefined in the system headers. Fixes build
13228           on opensolaris (#340016).
13229
13230 2006-05-04  Wim Taymans  <wim@fluendo.com>
13231
13232         * docs/libs/gstreamer-libs-sections.txt:
13233         API: addition: gst_adapter_take_buffer()
13234         
13235         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13236         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13237         (gst_adapter_available_fast):
13238         * libs/gst/base/gstadapter.h:
13239         Prepare for optimizing the hell out of this hugely inefficient
13240         piece of code. 
13241         Added gst_adapter_take_buffer() so we can at least start thinking
13242         about subbuffering and merging.
13243         Added some comments.
13244
13245         * tests/check/Makefile.am:
13246         * tests/check/libs/adapter.c: (GST_START_TEST),
13247         (gst_adapter_suite), (main):
13248         Added GstAdapter check.
13249
13250 2006-05-04  Wim Taymans  <wim@fluendo.com>
13251
13252         * docs/design/part-overview.txt:
13253         Fix some typos, add blurb about buffer flags.
13254
13255 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13256
13257         * docs/libs/gstreamer-libs-sections.txt:
13258           make sure GstBaseTransformClass shows up in the docs
13259         * libs/gst/base/gstbasetransform.c:
13260         * libs/gst/base/gstbasetransform.h:
13261           move docs so gtk-doc picks it up now
13262
13263 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13264
13265         * docs/libs/gstreamer-libs-sections.txt:
13266           add missing symbols to docs
13267
13268 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13269
13270         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13271           back out the newsegment handling change, see #340060 for ongoing
13272           discussion
13273
13274 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13275
13276         * tools/gst-run.c: (get_candidates), (main):
13277           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13278           work); fix typo in error message. Fixes #340079.
13279
13280 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13281
13282         * common/Makefile.am:
13283         * docs/Makefile.am:
13284         * docs/faq/Makefile.am:
13285         * docs/gst/Makefile.am:
13286         * docs/libs/Makefile.am:
13287         * docs/manual/Makefile.am:
13288         * docs/plugins/Makefile.am:
13289         * docs/pwg/Makefile.am:
13290         * docs/slides/Makefile.am:
13291         * docs/upload.mak:
13292         * common/upload.mak:
13293           move upload.mak to common
13294
13295 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13296
13297         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13298           add more asserts on refcounts
13299           do more cleanup at end of tests
13300           fix test leaks showing in FC5
13301
13302 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13303
13304         * plugins/elements/gsttypefindelement.c:
13305         (gst_type_find_element_handle_event):
13306         reverted wrong change and reflowed code to avoid others falling into
13307         this trap
13308
13309 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13310
13311         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13312           fix changelog entry about last collectpads change,
13313           add notes about proper fix
13314
13315 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13316
13317         * gst/gst.c:
13318         * gst/gstregistry.c: (gst_registry_scan_path_level),
13319         (gst_registry_scan_path):
13320         * gst/gstregistry.h:
13321           only write out registry if it has changed, fixes #338339
13322
13323 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13324
13325         * gst/gstbin.c:
13326         * gst/gstpipeline.c:
13327         * plugins/elements/gstcapsfilter.c:
13328         * plugins/elements/gstfakesink.c:
13329         * plugins/elements/gstfakesrc.c:
13330         * plugins/elements/gstfdsink.c:
13331         * plugins/elements/gstfdsrc.c:
13332         * plugins/elements/gstfilesink.c:
13333         * plugins/elements/gstfilesrc.c:
13334         * plugins/elements/gstidentity.c:
13335         * plugins/elements/gstqueue.c:
13336         * plugins/elements/gsttee.c:
13337         * plugins/elements/gsttypefindelement.c:
13338         (gst_type_find_element_handle_event):
13339           make GstElementDetails const
13340
13341 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13342
13343         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13344         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13345         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13346           more detailed debug and formatting cleanup,
13347           forward newsegments to src-pad (so that e.g. adder not eats them)
13348
13349 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13350
13351         * gst/gstutils.c: (gst_element_link_pads):
13352           cleanup double code
13353
13354 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13355
13356         * libs/gst/controller/gstcontroller.c:
13357         (gst_controller_sync_values):
13358           some little tuning
13359         * tests/check/libs/controller.c: (GST_START_TEST),
13360         (gst_controller_suite):
13361           a new test for live value handling
13362
13363 2006-04-28  Wim Taymans  <wim@fluendo.com>
13364
13365         * gst/gstutils.c: (push_and_ref):
13366         Added some more docs.
13367         Fix refcount issue whith gst_element_found_tags() helper 
13368         function. Fixes #338335
13369
13370         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13371         Added testsuite for gst_element_found_tags().
13372
13373 2006-04-28  Michael Smith  <msmith@fluendo.com>
13374
13375         * gst/gstvalue.c: (gst_value_serialize_flags):
13376           Avoid NULL dereference when trying to serialize flags containing
13377           invalid values.
13378
13379 2006-04-28  Michael Smith  <msmith@fluendo.com>
13380
13381         * plugins/elements/gsttypefindelement.c:
13382         (gst_type_find_element_handle_event):
13383           If we get EOS before any data is accumulated, don't use
13384           uninitialised local variables.
13385
13386 2006-04-28  Michael Smith  <msmith@fluendo.com>
13387
13388         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13389         (gst_dp_event_from_packet):
13390           Fixes in reading/writing events over GDP (not currently used?) - 
13391           dereferencing NULL events for unknown/invalid event types, memory
13392           leak, and change g_warning to GST_WARNING.
13393
13394 2006-04-28  Wim Taymans  <wim@fluendo.com>
13395
13396         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13397         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13398         (gst_base_sink_get_position), (gst_base_sink_change_state):
13399         When frame dropping is enabled, we should not ignore frames
13400         without a duration.
13401         Update some documentation.
13402
13403 2006-04-28  Wim Taymans  <wim@fluendo.com>
13404
13405         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13406         (gst_base_src_send_event), (gst_base_src_change_state):
13407         Documentation updates.
13408
13409 2006-04-28  Wim Taymans  <wim@fluendo.com>
13410
13411         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13412         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13413         handle EAGAIN, EINTR and short writes correctly. Also clean
13414         up some error cases, avoid a deadlock on bad file descriptors and
13415         use GST_DEBUG_OBJECT.
13416         Fixes #339843
13417
13418 2006-04-28  Wim Taymans  <wim@fluendo.com>
13419
13420         * gst/gstvalue.c: (gst_value_serialize_buffer),
13421         (gst_value_deserialize_buffer):
13422         Don't try to serialize a GValue with a NULL buffer. 
13423         Fixes #339821.
13424
13425         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13426         Added check for serialisation of NULL buffers.
13427
13428 2006-04-28  Wim Taymans  <wim@fluendo.com>
13429
13430         * gst/gstminiobject.c: (gst_value_take_mini_object):
13431         Taking a NULL miniobject is valid, fix the case where
13432         we try to unref the NULL miniobject.
13433
13434 2006-04-28  Wim Taymans  <wim@fluendo.com>
13435
13436         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13437
13438         * gst/gstbin.c: (gst_bin_handle_message_func):
13439         Update docs.
13440         Don't leak bin refcount when a state recalc is
13441         in progress and we delay another one #339808.
13442
13443 2006-04-28  Wim Taymans  <wim@fluendo.com>
13444
13445         * docs/design/part-TODO.txt:
13446         Mention QoS as an ongoing work item.
13447
13448         * docs/design/part-buffering.txt:
13449         New doc about buffering that needs to be fleshed out
13450         at some point.
13451
13452         * docs/design/part-qos.txt:
13453         More QoS policy for decoders/demuxers/transforms
13454
13455         * docs/design/part-trickmodes.txt:
13456         Small update.
13457
13458 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13459
13460         * configure.ac:
13461           back to HEAD
13462
13463 === release 0.10.5 ===
13464
13465 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13466
13467         * configure.ac:
13468           releasing 0.10.5, "Fogo"
13469
13470 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13471
13472         patch by: Wim Taymans
13473
13474         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13475         (gst_pad_configure_src), (gst_pad_push):
13476         * gst/gstpipeline.c: (gst_pipeline_init):
13477           Fix internal data flow errors.  Fixes #338711.
13478
13479 2006-04-12  Wim Taymans  <wim@fluendo.com>
13480
13481         * tests/check/gst/gstelement.c: (GST_START_TEST):
13482         Don't leak the factory.
13483
13484 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13485
13486         * configure.ac:
13487         * win32/common/config.h:
13488           prerelease
13489
13490 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13491
13492         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13493         (gst_controller_unset_all):
13494           Free allocated GstTimedValues when freeing list nodes.
13495           Should fix leaks 'make check-valgrind' complains about.
13496
13497         * win32/common/libgstcontroller.def:
13498           Add gst_controller_unset_all.
13499
13500 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13501
13502         * docs/libs/gstreamer-libs-sections.txt:
13503         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13504         (gst_controller_unset_all):
13505         * libs/gst/controller/gstcontroller.h:
13506         API: Added new method gst_controller_unset_all()
13507         fixed gst_controller_unset()
13508         * tests/check/libs/controller.c: (GST_START_TEST),
13509         (gst_controller_suite):
13510         Added two testcases for new and fixed method
13511
13512 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13513
13514         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13515           MSG_DONTWAIT is not defined on Cygwin, so work
13516           around that (fixes #317048).
13517           
13518 2006-04-11  Wim Taymans  <wim@fluendo.com>
13519
13520         * gst/gstelementfactory.c: (gst_element_register),
13521         (gst_element_factory_create), (gst_element_factory_make):
13522         Some cleanups.
13523         Fixed a FIXME.
13524         Updated docs (Fixes #131079)
13525
13526         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13527         Small cleanups.
13528
13529         * tests/check/gst/gstelement.c: (GST_START_TEST),
13530         (gst_element_suite):
13531         Added testcase for elementfactory class field.
13532
13533 2006-04-10  Wim Taymans  <wim@fluendo.com>
13534
13535         * gst/gstsegment.c:
13536         Added some more docs.
13537
13538         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13539         (gst_base_sink_reset_qos):
13540         Calculate more accurate rate values.
13541
13542 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13543
13544         * gst/gst_private.h:
13545           add a new #ifdef to use __declspec(dllimport) only for
13546           other modules and not for gstreamer core
13547         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13548           use gst_guint64_to_gdouble for conversion
13549         * win32/common/libgstreamer.def:
13550           add new exported functions
13551         * win32/vs6/gst_inspect.dsp:
13552         * win32/vs6/gst_launch.dsp:
13553         * win32/vs6/libgstbase.dsp:
13554         * win32/vs6/libgstcontroller.dsp:
13555         * win32/vs6/libgstcoreelements.dsp:
13556         * win32/vs6/libgstdataprotocol.dsp:
13557         * win32/vs6/libgstnet.dsp:
13558           update project files
13559
13560 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13561
13562         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13563         * gst/gstclock.c: (gst_clock_class_init):
13564         * gst/gstelement.c: (gst_element_class_init):
13565         * gst/gstindex.c: (gst_index_class_init):
13566         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13567         * gst/gstobject.c: (gst_object_class_init),
13568         (gst_signal_object_class_init):
13569         * gst/gstpad.c: (gst_pad_class_init):
13570         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13571         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13572         * gst/gstregistry.c: (gst_registry_class_init):
13573         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13574         * gst/gsttask.c: (gst_task_class_init):
13575         * gst/gstxml.c: (gst_xml_class_init):
13576         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13577         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13578         (gst_base_src_loop):
13579         * libs/gst/controller/gstcontroller.c:/
13580         (_gst_controller_class_init):
13581         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13582         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13583         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13584         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13585         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13586         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13587
13588 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13589
13590         * gst/gstpad.c: (gst_pad_link):
13591           Must set peer pads before calling the link function, otherwise
13592           a task started from a link function might get a flow-not-linked
13593           result when trying to push because the other thread where the
13594           linking happens hasn't had a chance to set the peers yet. This
13595           might happen for example when a queue gets linked to a downstream
13596           element, as queue starts a streaming task when its source pad
13597           gets linked. Happens in real life when playing back flac/musepack
13598           files in playbin (#332390).
13599           
13600 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13601
13602         * gst/gstindex.h:
13603         * gst/gstxml.h:
13604         * libs/gst/base/gstadapter.h:
13605         * libs/gst/base/gstbasesink.h:
13606         * libs/gst/base/gstbasesrc.h:
13607         * libs/gst/base/gstbasetransform.h:
13608         * libs/gst/base/gstcollectpads.h:
13609         * libs/gst/base/gstpushsrc.h:
13610         Fix broken GObject macros
13611
13612 2006-04-07  Wim Taymans  <wim@fluendo.com>
13613
13614         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13615         Initialize start and stop times, thanks valgrind.
13616
13617 2006-04-07  Wim Taymans  <wim@fluendo.com>
13618
13619         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13620         Be a bit nicer to badly behaving upstream elements that expect
13621         us to deal with non TIME segments and timestamps (such as fakesrc
13622         in the testsuite).
13623
13624 2006-04-07  Wim Taymans  <wim@fluendo.com>
13625
13626         * gst/gstbus.c:
13627         Small documentation clarification about the signal watch.
13628
13629         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13630         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13631         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13632         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13633         (gst_base_sink_get_position_last),
13634         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13635         Convert and store timestamps in stream time and running time, the
13636         raw timestamps are not useful, also document this better.
13637         Use different window sizes for good and bad QoS observations so
13638         we react to badness a little quicker.
13639         Keep track of the amount of rendered and dropped buffers.
13640         Send QoS timestamps in running time.
13641
13642         * libs/gst/base/gstbasetransform.c:
13643         (gst_base_transform_sink_eventfunc),
13644         (gst_base_transform_handle_buffer):
13645         Compare QoS timestamps against running time.
13646
13647 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13648
13649         * gst/gstpad.c:
13650           Typo fixes in docs.
13651
13652 2006-04-06  Michael Smith  <msmith@fluendo.com>
13653
13654         * gst/gstpad.c: (gst_pad_set_property):
13655           Use g_value_get_object() instead of g_value_dup_gst_object(),
13656           to avoid double-reffing the pad template (which we then sink,
13657           so this worked previously if (and only if) the pad template
13658           was floating.
13659
13660         * gst/gstpadtemplate.c: (gst_pad_template_init),
13661         (gst_pad_template_pad_created):
13662           Never return floating references to pad templates, create
13663           them as initially-sunken.
13664
13665           Document an extra function (and make this stop sinking our
13666           pad template, since that is now guaranteed to do nothing,
13667           since we created it sunken).
13668
13669         * gst/gstghostpad.c:
13670           Fix docs typo.
13671
13672 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13673
13674         * gst/gstinfo.c: (__gst_in_valgrind):
13675           Add some newlines.
13676
13677         * plugins/elements/gsttypefindelement.c:
13678         (gst_type_find_element_chain):
13679           Don't leak buffer caps.
13680
13681 2006-04-06  Michael Smith  <msmith@fluendo.com>
13682
13683         * gst/parse/grammar.y:
13684           Fix a leak in parse-launch for any source-or-sink named element 
13685           references used.
13686
13687         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13688           Unref the pipeline if it exists after we've failed parsing.
13689
13690 2006-04-05  Michael Smith  <msmith@fluendo.com>
13691
13692         * gst/gstpipeline.c: (gst_pipeline_init):
13693           When we create a pipeline bus, initially create it in flushing mode.
13694           Fixes leaks in at least one test, and makes a new pipeline work the
13695           same as one that has gone to READY and then back to NULL.
13696
13697         * gst/gstelement.c:
13698           Typo fix in docs.
13699
13700 2006-04-05  Michael Smith  <msmith@fluendo.com>
13701
13702         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13703           Unref a pad we reffed.
13704         * tests/check/gst/gstutils.c: (GST_START_TEST):
13705           Unref bins
13706
13707 2006-04-05  Michael Smith  <msmith@fluendo.com>
13708
13709         * gst/gstquery.c: (gst_query_set_formats),
13710         (gst_query_set_formatsv):
13711           Fix leaking GValues in queries, as shown by valgrind/testsuite.
13712
13713 2006-04-05  Michael Smith  <msmith@fluendo.com>
13714
13715         * tests/check/generic/sinks.c: (GST_START_TEST):
13716           Fix a variety of memleaks in sinks check, which are only sometimes 
13717           shown by running the tests under valgrind (weird?).
13718
13719 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
13720
13721         * docs/version.entities.in:
13722           Fix the substituted entity name after thomas' changes on the
13723           weekend.
13724
13725 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13726
13727         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13728         VALGRIND_PRINTF
13729         
13730 2006-04-05  Andy Wingo  <wingo@pobox.com>
13731
13732         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13733
13734         * libs/gst/base/gstbasetransform.c
13735         (gst_base_transform_sink_eventfunc): When resetting our segment on
13736         FLUSH_STOP, also update the flag saying we haven't seen a
13737         newsegment.
13738
13739 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13740
13741         Patch by: Paolo Borelli  <pborelli at katamail dot com>
13742
13743         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13744         (gst_plugin_check_license):
13745           minor clean-ups: G_DEFINE_TYPE already takes care of the
13746           parent_class stuff, no need to do it twice. Mark array of
13747           license strings as constant. (#337103)
13748           
13749 2006-04-04  Michael Smith  <msmith@fluendo.com>
13750
13751         * tools/gst-inspect.c: (print_element_list):
13752           Free the right plugin list; fixes a memory leak.
13753
13754 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13755
13756         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
13757
13758         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13759           Don't error out on empty buffers (#336945).
13760           
13761 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
13762
13763         * docs/libs/gstreamer-libs-sections.txt:
13764         * gst/gsttaglist.c:
13765         * libs/gst/base/gstbasesink.c:
13766         * libs/gst/base/gstbasesink.h:
13767         * libs/gst/base/gstbasesrc.c:
13768         * libs/gst/base/gstbasesrc.h:
13769           Documentation updates. Make BaseSink and BaseSrc docs contain the
13770           class structure so that people can actually see the prototypes for
13771           virtual functions they're supposed to be overriding.
13772
13773 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13774
13775         * plugins/elements/gsttypefindelement.c:
13776         (gst_type_find_element_chain):
13777           More debug info; when skipping typefinding, send cached
13778           events in all cases.
13779
13780 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13781
13782         * configure.ac:
13783           use new AS_VERSION and AS_NANO macros
13784         * gst/gst-i18n-lib.h:
13785         * gst/gst.c:
13786         * gst/gsterror.c:
13787         * gst/gstversion.h.in:
13788         * win32/common/config.h:
13789         * win32/common/config.h.in:
13790           update accordingly
13791
13792 2006-03-31  Michael Smith  <msmith@fluendo.com>
13793
13794         * plugins/elements/gsttypefindelement.c:
13795         (gst_type_find_element_chain):
13796           Do not typefind content if the buffers already have caps.
13797           Neccesary for icydemux (#333657), and the right thing to do anyway.
13798
13799 2006-03-30  Wim Taymans  <wim@fluendo.com>
13800
13801         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13802         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13803         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13804         (gst_base_sink_record_qos_observation),
13805         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13806         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13807         (gst_base_sink_change_state):
13808         More QoS measurements as described in the design doc.
13809         Get rid of ringbuffer with observations, running average is
13810         more simple and equally good.
13811         Calculates valid proportion now.
13812         Added beginning of flood measurement.
13813
13814 2006-03-29  Wim Taymans  <wim@fluendo.com>
13815
13816         * docs/design/part-qos.txt:
13817         * gst/gstclock.c:
13818         Small documentation updates and additions.
13819
13820 2006-03-29  Wim Taymans  <wim@fluendo.com>
13821
13822         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13823         (gst_base_src_send_event), (gst_base_src_loop),
13824         (gst_base_src_change_state):
13825         Perform the EOS logic when we reach the segment stop position.
13826         Fix compilation on gcc4.1
13827
13828 2006-03-29  Wim Taymans  <wim@fluendo.com>
13829
13830         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13831
13832         * plugins/elements/gstqueue.c: (gst_queue_init),
13833         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13834         (gst_queue_set_property):
13835         * plugins/elements/gstqueue.h:
13836         In queue, when EOS is received, if minimum threshold > max_size -
13837         current_level, there is chance that queue blocks forever in conditional
13838         item del wait. This is because the queue is not emptied completely due
13839         to minimum threshold.  Here is another approach. Instead of setting
13840         cur_levels to max in EOS, just zero all minimum threshold levels. This
13841         should make sure that queue gives out all data. When going to READY
13842         (stop) state, just reset the original minimum threshold levels.
13843         Fixes #336336.
13844
13845 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
13846
13847         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13848         (gst_type_find_element_handle_event),
13849         (gst_type_find_element_send_cached_events),
13850         (gst_type_find_element_change_state):
13851         * plugins/elements/gsttypefindelement.h:
13852           When typefinding is done in push mode, we should cache
13853           events we receive during typefinding instead of just
13854           dropping them (e.g. newsegment, custom events from
13855           dvdreadsrc etc.) and then send them out once we've
13856           determined the type of the stream (and decodebin
13857           has had a chance to plug in a decoder/demuxer).
13858           
13859 2006-03-27  Wim Taymans  <wim@fluendo.com>
13860
13861         * docs/design/part-qos.txt:
13862         First QoS ideas.
13863
13864 2006-03-27  Wim Taymans  <wim@fluendo.com>
13865
13866         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13867
13868         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13869         (gst_base_src_send_event), (gst_base_src_change_state):
13870         Handle element seek correctly when we are streaming.
13871         Fixes #326998.
13872
13873 2006-03-24  Michael Smith  <msmith@fluendo.com>
13874
13875         * docs/faq/gst-uninstalled:
13876           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13877           allow you to correctly run intalled applications built against old 
13878           core, using plugins that require updated core (e.g. running
13879           installed totem against a full uninstalled gstreamer stack)
13880
13881 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13882
13883         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13884         more debug details
13885
13886 2006-03-24  Wim Taymans  <wim@fluendo.com>
13887
13888         * docs/gst/gstreamer-sections.txt:
13889         Rearrange the order of the methods so that related methods
13890         are grouped together in sections.
13891
13892 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13893
13894         * gst/gstelement.c:
13895           Little clarification in the docs
13896
13897 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13898
13899         * docs/README:
13900         formatting fix
13901         * plugins/elements/gstidentity.c:
13902         * plugins/elements/gstqueue.c:
13903         * plugins/elements/gsttee.c:
13904         * plugins/elements/gsttypefindelement.c:
13905         GST_ELEMENT_DETAILS formatting
13906
13907 2006-03-24  Wim Taymans  <wim@fluendo.com>
13908
13909         * libs/gst/base/gstbasesink.h:
13910         Only add fields, not insert or we break ABI.
13911
13912 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13913
13914         * win32/common/libgstbase.def:
13915         * win32/common/libgstreamer.def:
13916           Update, add recently added functions.
13917
13918 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13919
13920         * docs/gst/gstreamer-sections.txt:
13921         * gst/gstutils.c: (gst_pad_query_peer_position),
13922         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13923         * gst/gstutils.h:
13924           API: add some new utility functions:
13925            - gst_pad_query_peer_position()
13926            - gst_pad_query_peer_duration()
13927            - gst_pad_query_peer_convert()
13928           
13929 2006-03-23  Wim Taymans  <wim@fluendo.com>
13930
13931         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13932         (gst_base_sink_init), (gst_base_sink_finalize),
13933         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13934         (gst_base_sink_set_property), (gst_base_sink_get_property),
13935         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13936         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13937         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13938         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13939         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13940         (gst_base_sink_preroll_object), (gst_base_sink_event),
13941         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13942         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13943         (gst_base_sink_query), (gst_base_sink_change_state):
13944         Decouple max-lateness and the fact that QoS messages are generated
13945         with a new property (qos).
13946         added API: GstBaseSink::async_play()
13947         Add vmethod so subclasses can be notified of ASYNC playing
13948         state changes.
13949         Collect timestamp start and stop to report better current
13950         position in EOS/PLAYING/PAUSED/READY/NULL.
13951         Refactor QoS/frame dropping and other measurements.
13952         API: GstBaseSrc::qos
13953         Fixes #326311
13954
13955         * libs/gst/base/gstbasesink.h:
13956         Added Private struct.
13957         API: gst_base_sink_set_qos_enabled()
13958         API: gst_base_sink_is_qos_enabled()
13959
13960 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13961
13962         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13963           If compiling against GLib-2.8 or newer, try to read the
13964           registry file using GMappedFile first before falling back
13965           to fopen() + fread() (#332151).
13966
13967 2006-03-22  Wim Taymans  <wim@fluendo.com>
13968
13969         * gst/gstinfo.c: (gst_debug_set_active),
13970         (gst_debug_category_set_threshold):
13971         Disable debugging unless explicitly activated.
13972         Fixes #335480.
13973
13974 2006-03-22  Wim Taymans  <wim@fluendo.com>
13975
13976         * gst/gstelement.c: (gst_element_set_locked_state),
13977         (gst_element_dispose):
13978         Cleanup the error case.
13979
13980         * gst/gstobject.c: (gst_object_dispose):
13981         print a critical when some object was disposed with
13982         a parent, also revive the object since it might
13983         crash the parent.
13984
13985 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
13986
13987         * tools/gst-launch.1.in:
13988           Fix another typo.
13989
13990 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13991
13992         * configure.ac:
13993         * tests/check/Makefile.am:
13994           disable some tests when we don't have a registry
13995         * tests/check/gst/gstutils.c: (gst_utils_suite):
13996           don't build the part that needs parsing
13997
13998 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13999
14000         * gst/Makefile.am
14001         * tests/examples/Makefile.am:
14002           fix --disable-parse build
14003
14004 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14005
14006         * tools/gst-feedback.1.in:
14007           Fix typo: s/feeback/feedback/ (#133494).
14008
14009 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14010
14011         * tools/Makefile.am:
14012         * tools/gst-launch.1.in:
14013           Add FILES section and correct entry about GST_REGISTRY_PATH
14014           environment variable (#133495; #133494).
14015
14016 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14017
14018         * tools/Makefile.am:
14019         * tools/gst-md5sum.1.in:
14020         * tools/gst-md5sum.c:
14021           Remove gst-md5sum and man page (the md5sink element
14022           required was removed ages ago)
14023
14024 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14025
14026         * gst/gststructure.c: (gst_structure_id_set_value):
14027           Make sure that string fields in structures/taglists
14028           contain valid UTF-8 - we don't want to pass rubbish to
14029           applications because of a buggy plugin (cp. #334167).
14030
14031 2006-03-21  Edward Hervey  <edward@fluendo.com>
14032
14033         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14034         (gst_bin_handle_message_func):
14035         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14036         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14037         (gst_element_set_bus_func):
14038         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14039         * gst/gstminiobject.c: (gst_value_set_mini_object),
14040         (gst_value_take_mini_object):
14041         * gst/gstpad.c: (gst_pad_set_pad_template):
14042         * gst/gstpipeline.c: (gst_pipeline_dispose),
14043         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14044         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14045         (gst_collect_pads_chain):
14046         * libs/gst/net/gstnettimeprovider.c:
14047         (gst_net_time_provider_set_property):
14048         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14049         It's in fact all issues with gst_*object_replace().
14050
14051 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14052
14053         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14054         
14055         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14056         * pkgconfig/gstreamer-check.pc.in:
14057           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14058
14059 2006-03-21  Edward Hervey  <edward@fluendo.com>
14060
14061         * gst/gstbuffer.h:
14062         * gst/gstevent.h:
14063         * gst/gstmessage.h:
14064         gst_[buffer|event|message]_ref() macros are replaced by a static
14065         inline functions because gcc-4.1 will about if the return value
14066         isn't used.
14067         * tests/check/gst/gstevent.c: (event_probe):
14068         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14069
14070 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14071
14072         * gst/gstutils.h:
14073         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14074         the type' case. (Closes: #335195 for now). In the future, when we
14075         depend on GLib 2.10, we could also intern the type name using
14076         g_intern_static_string()
14077
14078 2006-03-20  Wim Taymans  <wim@fluendo.com>
14079
14080         * gst/gstbin.c: (gst_bin_handle_message_func),
14081         (bin_query_max_init), (bin_query_position_fold),
14082         (bin_query_position_done), (gst_bin_query):
14083         Position query should also take max of all streams.
14084
14085 2006-03-20  Wim Taymans  <wim@fluendo.com>
14086
14087         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14088         (gst_fake_src_finalize):
14089         Fix leaks in fakesrc.
14090
14091         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14092         Fix leaks in the testcase.
14093
14094 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14095
14096         * gst/gst_private.h:
14097           add win32 specific import decoration(__declspec(dllimport)) 
14098           for all extern GstDebugCategory * variables
14099         * win32/common/libgstbase.def:
14100         * win32/common/libgstcontroller.def:
14101         * win32/common/libgstreamer.def:
14102           Add some exports, remove empty lines
14103         * win32/common/libgstdataprotocol.def:
14104         * win32/common/libgstdataprotocol.dsp:
14105         * win32/common/libgstnet.def:
14106         * win32/common/libgstnet.dsp:
14107           new project files and exportation files added
14108         
14109 2006-03-19  Wim Taymans  <wim@fluendo.com>
14110
14111         * tests/check/libs/basesrc.c: (eos_event_counter):
14112         Use proper return value for probe.
14113
14114 2006-03-17  Wim Taymans  <wim@fluendo.com>
14115
14116         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14117         (gst_pad_push):
14118         Don't leak buffers, caps and pads on negotiation errors.
14119
14120 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14121
14122         * docs/faq/cvs.xml:
14123         * docs/faq/dependencies.xml:
14124         * docs/faq/developing.xml:
14125         * docs/faq/faq.xml:
14126         * docs/faq/general.xml:
14127         * docs/faq/getting.xml:
14128         * docs/faq/legal.xml:
14129         * docs/faq/troubleshooting.xml:
14130         * docs/faq/using.xml:
14131         Faq review and update.
14132
14133 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14134
14135         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14136         (gst_pad_push):
14137         Don't pound the cpu to pieces by checking get_caps when accept_caps
14138         is called with the same caps as the pad already has.
14139         Use GST_DEBUG_OBJECT when outputting caps change information.
14140
14141 2006-03-15  Wim Taymans  <wim@fluendo.com>
14142
14143         * gst/gstclock.c: (gst_clock_class_init):
14144         Fix docs.
14145
14146 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14147
14148         * gst/gstbuffer.h:
14149         Documentation fix.
14150
14151         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14152         (gst_pad_accept_caps), (gst_pad_configure_sink),
14153         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14154         Make the default acceptcaps behaviour be to check the requested 
14155         caps against the gst_pad_get_caps output. 
14156
14157         Ensure that gst_pad_accept_caps is used to check caps when a pad
14158         doesn't have a setcaps function, so that pads automatically refuse 
14159         caps that they don't allow in their pad template. (Fixes #332986)
14160
14161         When a buffer with attached caps is pushed, ensure that the source 
14162         pad receives those caps even if the element didn't call
14163         gst_pad_set_caps first.
14164
14165 2006-03-15  Wim Taymans  <wim@fluendo.com>
14166
14167         * libs/gst/base/gstadapter.c:
14168         Add some docs.
14169
14170 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14171
14172         * win32/common/libgstbase.def:
14173         * win32/common/libgstcontroller.def:
14174         * win32/common/libgstreamer.def:
14175           Add a whole bunch of missing functions (#334434).
14176
14177 2006-03-14  Wim Taymans  <wim@fluendo.com>
14178
14179         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14180         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14181         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14182         Better debug info when we receive a segment event.
14183         Reorganize a bit so we can pass the get_times() results around.
14184         Use the segment format when calculating the running time.
14185         Don't do QoS is sync is disabled or we have no clock or the
14186         element does not want us to sync to the clock.
14187         Don't drop buffers if QoS is disabled for now.
14188
14189 2006-03-14  Wim Taymans  <wim@fluendo.com>
14190
14191         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14192         Marked the stats property as unimplemented so people don't get
14193         wild ideas.
14194         Add debug message when regression goes wrong.
14195         Added some more docs.
14196
14197 2006-03-14  Wim Taymans  <wim@fluendo.com>
14198
14199         * gst/gstsegment.c: (gst_segment_to_stream_time):
14200         Return correct return type in case of errors.
14201
14202 2006-03-14  Wim Taymans  <wim@fluendo.com>
14203
14204         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14205           Don't segfault on invalid formats.
14206
14207 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14208
14209         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14210           Can't use gst_segment_to_running_time() when the segment
14211           is not in GST_TIME_FORMAT (like with filesink, for example).
14212           Stops flac encoding pipelines from spewing critical warnings
14213           at EOS (#331248).
14214           
14215 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14216
14217         * gst/gstpipeline.c: (gst_pipeline_class_init):
14218           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14219
14220         * plugins/elements/gsttypefindelement.c:
14221         (gst_type_find_element_handle_event):
14222           Don't try to typefind empty streams.
14223
14224 2006-03-14  Wim Taymans  <wim@fluendo.com>
14225
14226         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14227         (gst_base_sink_do_qos):
14228         Separate QoS calculation.
14229         Only drop buffers when lateness is bigger than the 
14230         duration of the buffer.
14231
14232 2006-03-13  Wim Taymans  <wim@fluendo.com>
14233
14234         * gst/gstpipeline.c: (gst_pipeline_set_property),
14235         (gst_pipeline_get_property), (do_pipeline_seek),
14236         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14237         (gst_pipeline_get_delay):
14238         Don't deadlock when reading properties.
14239
14240 2006-03-13  Wim Taymans  <wim@fluendo.com>
14241
14242         * libs/gst/base/gstbasetransform.c:
14243         (gst_base_transform_class_init), (gst_base_transform_init),
14244         (gst_base_transform_sink_event),
14245         (gst_base_transform_sink_eventfunc),
14246         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14247         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14248         (gst_base_transform_set_property),
14249         (gst_base_transform_get_property),
14250         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14251         (gst_base_transform_set_qos_enabled),
14252         (gst_base_transform_is_qos_enabled):
14253         * libs/gst/base/gstbasetransform.h:
14254         Make basetransform virtual method for src events too.
14255         Handle QOS in basetransform.
14256         API: gst_base_transform_update_qos()
14257         API: gst_base_transform_set_qos_enabled()
14258         API: gst_base_transform_is_qos_enabled()
14259
14260 2006-03-13  Wim Taymans  <wim@fluendo.com>
14261
14262         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14263         (gst_base_sink_do_sync):
14264         Small cleanups.
14265         Use QOS debug category.
14266
14267 2006-03-13  Wim Taymans  <wim@fluendo.com>
14268
14269         * plugins/elements/gstqueue.c:
14270         Very small doc update.
14271
14272 2006-03-13  Wim Taymans  <wim@fluendo.com>
14273
14274         * gst/gst_private.h:
14275         * gst/gstinfo.c: (_gst_debug_init):
14276         Added QOS debug category
14277
14278 2006-03-13  Wim Taymans  <wim@fluendo.com>
14279
14280         * docs/gst/gstreamer-sections.txt:
14281         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14282         * gst/gstbin.h:
14283         * gst/gstbus.c: (gst_bus_class_init):
14284         * gst/gstbus.h:
14285         * gst/gstclock.c:
14286         * gst/gstelement.c: (gst_element_set_locked_state):
14287         * gst/gstsegment.c:
14288         Documentation updates.
14289
14290         * gst/gstpipeline.c: (gst_pipeline_get_type),
14291         (gst_pipeline_class_init), (gst_pipeline_init),
14292         (gst_pipeline_dispose), (gst_pipeline_set_property),
14293         (gst_pipeline_get_property), (do_pipeline_seek),
14294         (gst_pipeline_send_event), (gst_pipeline_change_state),
14295         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14296         (gst_pipeline_get_delay):
14297         * gst/gstpipeline.h:
14298         Added methods for setting the delay.
14299         API: gst_pipeline_set_delay()
14300         API: gst_pipeline_get_delay()
14301         Add pipeline debug category
14302         Various cleanups.
14303         Updated docs.
14304         Don't reset stream time when seek failed.
14305
14306 2006-03-13  Wim Taymans  <wim@fluendo.com>
14307
14308         * docs/design/draft-klass.txt:
14309         * docs/design/part-clocks.txt:
14310         * docs/design/part-events.txt:
14311         * docs/design/part-gstbin.txt:
14312         * docs/design/part-gstpipeline.txt:
14313         * docs/design/part-messages.txt:
14314         * docs/design/part-negotiation.txt:
14315         * docs/design/part-overview.txt:
14316         * docs/design/part-preroll.txt:
14317         * docs/design/part-seeking.txt:
14318         * docs/design/part-states.txt:
14319         * docs/design/part-streams.txt:
14320         Documentation updates.
14321
14322 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14323
14324         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14325         us to leak strings...
14326
14327 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14328
14329         * libs/gst/net/gstnettimeprovider.c:
14330           fix docs
14331         * win32/common/config.h:
14332           update
14333
14334 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14335
14336         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14337
14338         * configure.ac:
14339           Don't check for libgnomeui (leftover from old examples
14340           that aren't built or disted any longer) (#334303).
14341           
14342 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14343
14344         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14345         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14346           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14347           there's no space left on the device.
14348
14349 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14350
14351         * gst/gstclock.h:
14352           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14353           to cast the input to GstClockTime before comparing with
14354           another GstClockTime value.
14355
14356 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14357
14358         * configure.ac:
14359           back to trunk
14360
14361 === release 0.10.4 ===
14362
14363 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14364
14365         * configure.ac:
14366           releasing 0.10.4, "Light"
14367
14368 2006-03-10  Michael Smith  <msmith@fluendo.com>
14369
14370         * libs/gst/dataprotocol/dataprotocol.c:
14371           Fix docs for dataprocotol to not get the return types completely
14372           wrong for a few functions.
14373
14374 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14375
14376         * docs/gst/gstreamer-sections.txt:
14377         * gst/gstpipeline.c: (gst_pipeline_class_init),
14378         (gst_pipeline_init), (gst_pipeline_set_property),
14379         (gst_pipeline_get_property), (gst_pipeline_change_state),
14380         (gst_pipeline_set_auto_flush_bus),
14381         (gst_pipeline_get_auto_flush_bus):
14382         * gst/gstpipeline.h:
14383           Add new API: gst_pipeline_set_auto_flush_bus() and
14384           gst_pipeline_get_auto_flush_bus() to disable automatic
14385           flushing of the pipeline's GstBus when going from READY
14386           to NULL state (#332045).
14387
14388 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14389
14390         * docs/gst/gstreamer-sections.txt:
14391         * gst/gsturi.c: (gst_uri_has_protocol):
14392         * gst/gsturi.h:
14393            Add new API: gst_uri_has_protocol() (#333779).
14394
14395 2006-03-09  Wim Taymans  <wim@fluendo.com>
14396
14397         * gst/gstclock.c: (gst_clock_entry_new),
14398         (gst_clock_id_compare_func), (gst_clock_id_wait),
14399         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14400         (gst_clock_init), (gst_clock_get_internal_time),
14401         (gst_clock_set_master), (do_linear_regression),
14402         (gst_clock_add_observation), (gst_clock_set_property):
14403         * gst/gstclock.h:
14404         Review docs.
14405         Small cleanups.
14406         Fix a possible segfault when the window-size is made smaller.
14407         Calculate jitter before performing the clock wait. Ideally
14408         the clock implementation should calculate jitter but we need
14409         API breakage for that.
14410
14411         * gst/gstsystemclock.c: (gst_system_clock_init):
14412         Docs review.
14413         
14414         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14415         Remove leftover else
14416
14417         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14418         (gst_systemclock_suite):
14419         Added check to test GST_CLOCK_DIFF.
14420
14421 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14422
14423         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14424         (gst_type_find_helper_get_range):
14425           If we are provided with the size, we should implement
14426           GstTypeFind::get_length, so that typefind functions who
14427           want to can actually peek at the middle of a file.
14428
14429 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14430
14431         * docs/manual/advanced-dataaccess.xml:
14432           Add some very very basic error checking.
14433
14434         * docs/pwg/appendix-checklist.xml:
14435           Some updates to the list of things to check when writing an element.
14436
14437 2006-03-08  Wim Taymans  <wim@fluendo.com>
14438
14439         * docs/design/part-element-transform.txt:
14440         Added some docs about the design of tranform elements.
14441
14442         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14443         (gst_base_src_loop), (gst_base_src_change_state):
14444         Mark buffers with the DISCONT flag.
14445
14446 2006-03-08  Michael Smith  <msmith@fluendo.com>
14447
14448         * gst/gstregistry.h:
14449         * gst/gstregistryxml.c: (gst_registry_save),
14450         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14451         (gst_registry_xml_save_pad_template),
14452         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14453         (gst_registry_xml_write_cache):
14454           Rewrite registry-saving to avoid race conditions and check for
14455           failed writes.
14456
14457 2006-03-08  Wim Taymans  <wim@fluendo.com>
14458
14459         * libs/gst/base/gstbasetransform.c:
14460         (gst_base_transform_transform_caps),
14461         (gst_base_transform_transform_size),
14462         (gst_base_transform_prepare_output_buffer),
14463         (gst_base_transform_get_unit_size),
14464         (gst_base_transform_buffer_alloc),
14465         (gst_base_transform_handle_buffer),
14466         (gst_base_transform_change_state):
14467         Cleanups, separate normal flow from errors, add sensible
14468         DEBUG lines.
14469         Don't try to renegotiate when allocating an output buffer.
14470         Also copy DISCONT buffer flag when copying a buffer.
14471         Reset the transform after we finish streaming, not during.
14472
14473 2006-03-08  Wim Taymans  <wim@fluendo.com>
14474
14475         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14476         Use last buffer timestamp in qos message.
14477
14478 2006-03-07  Wim Taymans  <wim@fluendo.com>
14479
14480         Patch by: Christophe Fergeau
14481
14482         * docs/pwg/advanced-tagging.xml:
14483         * docs/pwg/building-pads.xml:
14484           fixes #333416
14485
14486 2006-03-07  Wim Taymans  <wim@fluendo.com>
14487
14488         * docs/libs/gstreamer-libs-sections.txt:
14489         Added basesink new methods.
14490
14491         * gst/gstevent.c:
14492         * gst/gstevent.h:
14493         Docs updates. Flesh out the QoS docs.
14494
14495         * libs/gst/base/gstadapter.c:
14496         Small doc clarification about ownership and flushing.
14497
14498         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14499         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14500         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14501         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14502         * libs/gst/base/gstbasesink.h:
14503         API additions: 
14504         Added new methods to allow subclass to control max-lateness 
14505         and sync.
14506         Generate very basic QoS events based on last sync observation.
14507         Updated docs, fix typo, added some QoS blurb.
14508
14509         * libs/gst/base/gstbasesrc.c:
14510         Remove obsolete _get_state() calls from docs.
14511
14512 2006-03-07  Wim Taymans  <wim@fluendo.com>
14513
14514         * docs/libs/gstreamer-libs-sections.txt:
14515         * libs/gst/base/gstbasetransform.h:
14516         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14517         Fix docs for GstBaseSrc.
14518
14519 2006-03-07  Wim Taymans  <wim@fluendo.com>
14520
14521         * docs/gst/gstreamer-sections.txt:
14522         * gst/gstbuffer.h:
14523         * gst/gstvalue.c:
14524         * libs/gst/base/gstbasetransform.h:
14525         Small documentation fixes.
14526
14527 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14528
14529         * gst/gstvalue.c:
14530           Document thread-unsafety of gst_value_register_foo_func()
14531           when used at the same time as gst_value_foo() (#322628).
14532
14533 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14534
14535         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14536         (gst_push_src_check_get_range):
14537           Push sources don't support pull mode by default.
14538
14539 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14540
14541         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14542         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14543         (gst_base_src_default_check_get_range):
14544         * libs/gst/base/gstbasesrc.h:
14545           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14546           provide default implementation, and rename
14547           gst_base_src_check_get_range() to
14548           gst_base_src_pad_check_get_range() for clarity.
14549
14550 2006-03-06  Wim Taymans  <wim@fluendo.com>
14551
14552         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14553         Make property overridable.
14554
14555 2006-03-06  Wim Taymans  <wim@fluendo.com>
14556
14557         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14558         (gst_base_sink_init), (gst_base_sink_set_property),
14559         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14560         * libs/gst/base/gstbasesink.h:
14561         API addition: Make max-lateness a property.
14562
14563 2006-03-06  Wim Taymans  <wim@fluendo.com>
14564
14565         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14566         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14567         Don't ever draw a frame that is >10ms late.
14568
14569 2006-03-06  Michael Smith  <msmith@fluendo.com>
14570
14571         * gst/gstmessage.c: (_gst_message_copy):
14572           When copying a message, set the parent_refcount of the enclosed
14573           structure to point at the copy, not the original message.
14574
14575 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14576
14577         Patch by: Christophe Fergeau
14578
14579         * gst/gstutils.h:
14580           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14581           usable in c++ code (#333417)
14582
14583 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14584
14585         * gst/gstclock.h:
14586           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14587
14588 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14589
14590         * libs/gst/base/gstbasetransform.c:
14591         (gst_base_transform_transform_caps):
14592           Make sure caps are writable before passing them to
14593           gst_caps_append().
14594
14595 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14596
14597         * gst/gsterror.h:
14598           Fix some minor docs errors.
14599
14600 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14601
14602           Patch by: Ross Burton <ross at burtonini dot com>
14603
14604         * gst/gsterror.c: (_gst_resource_errors_init):
14605         * gst/gsterror.h:
14606           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14607
14608 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14609
14610         * gst/gst.c:
14611         Add a check and output a g_warning when GStreamer is built
14612         against GLib 2.6 but running against 2.8 or higher, and vice 
14613         versa. (Closes: #323542)
14614
14615 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14616
14617         * gst/parse/parse.l:
14618           Commit patch for parse_launch syntax from #331255. Removes 
14619           support for quoted strings and mimetypes when writing filtered 
14620           caps. See the bug report for more details - I'm pretty sure this
14621           obscure feature is not in use by _anyone_ anywhere.
14622
14623           With this simple change, the size of the gstreamer.so here 
14624           drops from 2193KB to 1565KB.
14625
14626 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14627
14628         * plugins/elements/gsttypefindelement.h:
14629         * plugins/elements/gsttypefindelement.c:
14630         (gst_type_find_element_src_event), (start_typefinding),
14631         (stop_typefinding), (gst_type_find_element_handle_event),
14632         (gst_type_find_element_chain),
14633         (gst_type_find_element_chain_do_typefinding):
14634           Use gst_type_find_helper_for_buffer() for chain-based
14635           typefinding.
14636
14637 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14638
14639         * plugins/elements/gsttypefindelement.c:
14640         (gst_type_find_element_class_init),
14641         (gst_type_find_element_set_property),
14642         (gst_type_find_element_get_property):
14643           Deprecate "maximum" property (not only was it only taken into
14644           account for typefinding in push-mode anyway, it also was never
14645           actually possible to set it in the first place because the
14646           property was registered with the numeric property ID for the
14647           "minimum" property). Register "maximum" property correctly,
14648           for the sake of future copy'n'pasters. Remove some cruft
14649           from property get/set functions.
14650
14651 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14652
14653         * plugins/elements/gsttypefindelement.c:
14654         (gst_type_find_element_activate):
14655           Use gst_type_find_helper_get_range() here, so we
14656           can honour the "minimum" property and also emit
14657           the signal with the correct probability of the found caps.
14658
14659 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
14660
14661         * docs/libs/gstreamer-libs-sections.txt:
14662         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14663         (helper_find_suggest), (gst_type_find_helper_get_range),
14664         (gst_type_find_helper):
14665         * libs/gst/base/gsttypefindhelper.h:
14666           New API: gst_type_find_helper_get_range() (#333042).
14667
14668 2006-03-02  Michael Smith  <msmith@fluendo.com>
14669
14670         * gst/gstregistryxml.c: (load_feature):
14671           Asserting on a failure to read part of the registry is Not Cool.
14672           Just log a warning and return NULL (which is already handled)
14673
14674 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
14675
14676         * win32/common/libgstbase.def:
14677           added export of gst_type_find_helper_for_buffer
14678         * win32/common/libgstbase.def:
14679           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14680           gst_ghost_pad_get_target
14681
14682 2006-02-28  Wim Taymans  <wim@fluendo.com>
14683
14684         * docs/design/draft-klass.txt:
14685         We use Filter now.
14686         Added Connector to mark elements that are only used to
14687         allow pipeline connections.
14688         Moved Debug to extra feature since most of them are 
14689         functionally something else.
14690
14691 2006-02-28  Wim Taymans  <wim@fluendo.com>
14692
14693         * docs/design/draft-klass.txt:
14694         Some updates and clarifications.
14695
14696 2006-02-28  Wim Taymans  <wim@fluendo.com>
14697
14698         * docs/design/draft-klass.txt:
14699         Proposal for klass field values.
14700
14701         * docs/design/part-streams.txt:
14702         Start of a doc describing stream anatomy.
14703
14704 2006-02-28  Wim Taymans  <wim@fluendo.com>
14705
14706         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14707         Help the compiler a bit with type registration.
14708         Use existing forward cod path instead of duplicating it when 
14709         handling a message.
14710         
14711         * gst/gstbus.c: (gst_bus_get_type):
14712         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14713         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14714         * gst/gstclock.c: (gst_clock_get_type):
14715         * gst/gstelement.c: (gst_element_get_type),
14716         * gst/gstelementfactory.c: (gst_element_factory_get_type):
14717         * gst/gstindexfactory.c: (gst_index_factory_get_type):
14718         * gst/gstminiobject.c: (gst_mini_object_get_type):
14719         * gst/gstpad.c: (gst_pad_get_type):
14720         * gst/gstsegment.c: (gst_segment_get_type):
14721         * gst/gststructure.c: (gst_structure_get_type):
14722         * gst/gstsystemclock.c: (gst_system_clock_get_type):
14723         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14724         * gst/gstvalue.c:
14725         Help compiler with type registration.
14726
14727         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14728         Small doc update.
14729
14730 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14731
14732         * plugins/elements/gsttypefindelement.c:
14733         (gst_type_find_element_handle_event):
14734           When we get an EOS event and have not found a type yet
14735           (most likely because we had not yet accumulated
14736           TYPE_FIND_MIN_SIZE of data yet), try to determine the
14737           type given the data we have so far. Fixes typefinding
14738           for very short streams again, most notably quicktime
14739           redirections as used on Apple's trailer site (#331701).
14740
14741 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14742
14743         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14744         (gst_type_find_helper):
14745           Try typefinding factories with the highest rank first.
14746
14747 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14748
14749         * docs/libs/gstreamer-libs-docs.sgml:
14750         * docs/libs/gstreamer-libs-sections.txt:
14751         * libs/gst/base/gsttypefindhelper.c:
14752           Add section for typefind helper and add documentation
14753           for the old and the new function.
14754
14755 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14756
14757         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14758         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14759         (gst_type_find_helper_for_buffer):
14760         * libs/gst/base/gsttypefindhelper.h:
14761           New API: gst_type_find_helper_for_buffer() (#332723).
14762           
14763 2006-02-27  Michael Smith  <msmith@fluendo.com>
14764
14765         Patch by: Loïc Minier
14766
14767         * configure.ac:
14768         * docs/Makefile.am:
14769         * docs/slides/Makefile.am:
14770           prevent CVS directories getting disted.
14771
14772 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14773
14774         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14775           Use the REFCOUNTING category for caps refcounting.
14776           
14777 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14778
14779         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14780           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14781
14782 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14783
14784         * plugins/elements/gsttypefindelement.c:
14785         (gst_type_find_element_activate):
14786           Use gst_pad_check_pull_range() before _activate_pull()
14787           to avoid unnecessary open/close (see #331690).
14788
14789 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14790
14791         * gst/gstutils.c:
14792           Docs enhancement: make it crystal clear what the
14793           gst_pad_add_*_probe() callbacks should look like.
14794
14795 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14796
14797         * libs/gst/base/gstbasesrc.c:
14798           Document how applications can stop recording from
14799           live sources (see #330996).
14800
14801 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14802
14803         * tests/check/Makefile.am:
14804         * tests/check/libs/basesrc.c: (eos_event_counter),
14805         (basesrc_eos_events_pull), (basesrc_eos_events_push),
14806         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14807         (gst_basesrc_suite), (main):
14808           ... and add some tests for the base source EOS stuff.
14809
14810 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14811
14812         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14813           Test case originally showed the problem fixed below,
14814           but was then amended. Add checks back at the place
14815           where they used to be.
14816
14817 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14818
14819         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14820         (gst_base_src_init), (gst_base_src_loop),
14821         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14822         (gst_base_src_change_state):
14823         * libs/gst/base/gstbasesrc.h:
14824           Don't unconditionally send EOS when going from PAUSED to
14825           READY state, esp. make sure we don't send two EOS events
14826           in some cases (e.g. one when reaching EOS and one when
14827           going from PAUSED to READY). Also, we don't want to send
14828           EOS events when operating in pull mode. However, we do
14829           want to send an EOS event when shutting down a live
14830           source explicitly, for example (fixes #330996).
14831           
14832 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14833
14834         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14835           Update src->read_position after a seek when not using mmap.
14836           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14837
14838 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
14839
14840         * gst/Makefile.am:
14841         * gst/gstparse.h:
14842         * gst/gstutils.c:
14843         * gst/gstutils.h:
14844         Make things work with --disable-parse as they do with 
14845         --disable-load-save - the symbols involved disappear, but the
14846         header is still installed and GST_DISABLE_PARSE is included via
14847         gstconfig.h
14848
14849 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14850
14851         * libs/gst/base/gstbasetransform.c:
14852         (gst_base_transform_change_state): Fix a stupid bug. I was 
14853         sure I compiled that.
14854
14855 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14856
14857         * gst/gstpad.c: (gst_pad_set_blocked_async):
14858         * gst/gstutils.c: (gst_pad_add_data_probe),
14859         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14860         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14861         (gst_pad_remove_buffer_probe): Make those function act on the
14862         ghostpad target when it's a ghostpad. (Closes #331727)
14863
14864 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14865
14866         * libs/gst/base/gstbasetransform.c:
14867         (gst_base_transform_change_state): Make basetransform reusable.
14868         (Closes #331898)
14869
14870 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
14871
14872         * docs/random/release:
14873         Move the current documentation of how to do a release to the top
14874         of the file.
14875
14876         * gst/gstbin.c: (gst_bin_class_init),
14877         (gst_bin_handle_message_func):
14878         Allow multiple state-recalculation threads. (Closes #328873)
14879
14880 2006-02-19  Julien MOUTTE  <julien@moutte.net>
14881
14882         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14883         * gst/gstpad.c: (gst_pad_set_event_function),
14884         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14885         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14886         2 strings. You can't use the STR_NULL macro on that.
14887
14888 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
14889
14890         * gst/gstpad.c: (gst_pad_set_event_function),
14891         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14892         (gst_pad_set_getcaps_function)
14893         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14894           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14895           So now, we can use --gst-debug-level=5 on Windows
14896         * win32/common/libgstcontroller.def:
14897           Added export of gst_controller_init
14898         * win32/vs6/libgstcontroller.dsp:
14899           Fixed Release post build configuration
14900
14901 2006-02-17  Wim Taymans  <wim@fluendo.com>
14902
14903         * tests/check/gst/gstquery.c: (GST_START_TEST):
14904         Added another check.
14905
14906 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
14907
14908         * plugins/elements/gsttypefindelement.c: (find_peek):
14909           We can do peeks at non-zero offsets, as long as they
14910           fall within the buffer we have.
14911
14912 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
14913
14914         * tests/check/Makefile.am:
14915         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14916         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14917         (parse_suite), (main):
14918           Add testsuite for parse launch syntax
14919
14920 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
14921
14922         * plugins/elements/gsttypefindelement.c:
14923         (gst_type_find_element_chain):
14924           When typefinding is unsuccessful in the chain function, don't
14925           error out immediately. Only error out with NO_CAPS_FOUND if
14926           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14927           otherwise simply wait for more data so we can try typefinding
14928           again with more data later. Also, don't attempt to typefind
14929           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14930           this should improve typefinding from network sources where the
14931           size of the first buffer can be somewhat random.
14932
14933 2006-02-14  Wim Taymans  <wim@fluendo.com>
14934
14935         * docs/gst/gstreamer-sections.txt:
14936         * gst/gstpadtemplate.c:
14937         * gst/gstpadtemplate.h:
14938         Fix padtemplate docs, fixes #328805.
14939
14940 2006-02-14  Wim Taymans  <wim@fluendo.com>
14941
14942         * tools/gst-launch.c: (main):
14943         NO_PREROLL is not an ERROR so don't send confusing messages
14944         to the user.
14945
14946 2006-02-14  Wim Taymans  <wim@fluendo.com>
14947
14948         Patch by: Torsten Schoenfeld
14949
14950         * gst/gstregistry.c: (gst_registry_get_default),
14951         (_gst_registry_cleanup):
14952         Protect default registry with lock and ref/sink it.
14953         Fixes #324818
14954
14955 2006-02-14  Wim Taymans  <wim@fluendo.com>
14956
14957         * gst/gstbuffer.c:
14958         * gst/gstquery.c: (gst_query_list_add_format),
14959         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14960         (gst_query_parse_formats_nth):
14961         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14962         Docs fixes.
14963
14964 2006-02-14  Wim Taymans  <wim@fluendo.com>
14965
14966         * docs/gst/gstreamer-sections.txt:
14967         Reworked query docs.
14968
14969         * gst/gstquery.c: (gst_query_new_formats),
14970         (gst_query_list_add_format), (gst_query_set_formats),
14971         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14972         (gst_query_parse_formats_nth):
14973         * gst/gstquery.h:
14974         Flesh out formats query, added some new methods.
14975         Fix part of #324398.
14976
14977         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
14978         Added query creation tests.
14979
14980 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
14981
14982         * gst/gstpad.c: (fixate_value):
14983         Add a default fixation for fraction lists.
14984
14985 2006-02-13  Wim Taymans  <wim@fluendo.com>
14986
14987         * gst/gsttask.c: (gst_task_init), (gst_task_func),
14988         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
14989         (gst_task_join):
14990         * gst/gsttask.h:
14991         Detect and warn for obvious deadlocks. fixes #320340
14992         Fix error case where lock was not released.
14993
14994         * tests/check/Makefile.am:
14995         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
14996         (task_func), (gst_element_suite), (main):
14997         Add task check.
14998
14999 2006-02-13  Wim Taymans  <wim@fluendo.com>
15000
15001         * docs/gst/gstreamer-sections.txt:
15002         * gst/gstbus.c:
15003         Add new functions to docs.
15004
15005 2006-02-13  Wim Taymans  <wim@fluendo.com>
15006
15007         * docs/design/part-TODO.txt:
15008         Updated TODO list, basesrc supports seeking to non-bytes
15009         formats.
15010
15011         * docs/design/part-element-sink.txt:
15012         Update docs.
15013
15014         * gst/gstbin.c: (bin_replace_message),
15015         (gst_bin_handle_message_func):
15016         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15017         * gst/gstevent.c: (gst_event_finalize):
15018         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15019         (gst_pad_send_event):
15020         Use shiny new _TYPE_NAME macros.
15021
15022         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15023         Move debug statement up.
15024
15025         * gst/gstelement.c: (gst_element_set_locked_state):
15026         Add some debugging.
15027
15028 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15029
15030         * docs/gst/gstreamer-sections.txt:
15031         * gst/gstmessage.h:
15032         * gst/gstquery.h:
15033           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15034           macros (#330906). Also, document the already existing
15035           GST_QUERY_TYPE macro.
15036
15037 2006-02-13  Wim Taymans  <wim@fluendo.com>
15038
15039         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15040         (event_probe), (GST_START_TEST):
15041         Only events up to the pipeline EOS are counted, there are
15042         some more when going to NULL currently which we don't care
15043         about for now.
15044
15045 2006-02-13  Wim Taymans  <wim@fluendo.com>
15046
15047         * gst/gstpad.c: (gst_pad_send_event):
15048         Correctly check flushing and emit probes. fixes #330125
15049
15050 2006-02-10  Andy Wingo  <wingo@pobox.com>
15051
15052         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15053         structure.
15054         (gst_bus_init): Cache the location of the private data in the
15055         instance structure.
15056         (gst_bus_enable_sync_message_emission) 
15057         (gst_bus_disable_sync_message_emission): Implement new public
15058         functions.
15059         (gst_bus_post): Emit the sync-message signal if the user asked for
15060         it. Fixes #330684.
15061
15062         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15063         location of the bus-private structure.
15064         (gst_bus_enable_sync_message_emission)
15065         (gst_bus_disable_sync_message_emission): API addition
15066
15067 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15068
15069         Patch by: Vincent Torri
15070
15071         * docs/pwg/building-boiler.xml:
15072         PWG patch from #326800
15073
15074 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15075
15076         * configure.ac:
15077         * docs/Makefile.am:
15078         * docs/design/Makefile.am:
15079           Dist design docs.
15080
15081 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15082
15083         * configure.ac:
15084           back to CVS
15085
15086 === release 0.10.3 ===
15087
15088 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15089
15090         * configure.ac:
15091           releasing 0.10.3, "Like a virgin"
15092
15093 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15094
15095         * configure.ac:
15096           2nd prerelease of 0.10.3
15097           Bump libtool versioning.
15098
15099 2006-02-07  Andy Wingo  <wingo@pobox.com>
15100
15101         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15102         update last_stop if we're in TIME format and the timestamp is
15103         valid.
15104
15105         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15106         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15107         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15108         If we get a new newsegment with a different format, adapt
15109         accordingly.
15110
15111         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15112         of 0. Not a problem, really.
15113
15114         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15115         warn if sync=true.
15116
15117 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15118
15119         * configure.ac:
15120           Prelease of 0.10.3
15121
15122 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15123
15124         * win32/vs7:
15125           project files updated to the default vs7 configuration
15126         * win32/common/libgstbase.def:
15127         * win32/common/libgstreamer.def:
15128           added new symbols,
15129           removed empty lines,
15130           sorted all exported symbols alphabetically
15131         * win32/common/dirent.c:
15132         * win32/common/dirent.h:
15133         * win32/common/gchar.h:
15134           use windows line end.
15135           
15136 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15137
15138         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15139           Send EOS event when stopping.
15140
15141 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15142
15143         * docs/README:
15144           Tell folks what to do if the plugin-foobar.xml file
15145           hasn't been generated for a newly-added plugin.
15146
15147 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15148
15149         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15150         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15151         (gst_collect_pads_start), (gst_collect_pads_stop),
15152         (gst_collect_pads_event): Collectpads now holds a reference
15153         to the GstPad that was added. Indeed we don't want to look
15154         at pads that might just go away with no warning...
15155
15156 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15157
15158         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15159         (gst_collect_pads_start), (gst_collect_pads_stop),
15160         (gst_collect_pads_event), (gst_collect_pads_chain):
15161         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15162         Mark Nauwelaerts's patch on bug #328491.
15163
15164 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15165
15166         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15167         (gst_utils_suite):
15168           Add some simple tests for gst_parse_bin_from_description() and
15169           gst_bin_find_unconnected_pad() (#329069).
15170
15171 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15172
15173         * tools/gst-launch.c: (event_loop), (main):
15174           Catch errors during preroll (#320084).
15175
15176 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15177
15178         * plugins/elements/gsttypefindelement.c:
15179         (gst_type_find_element_activate):
15180           Post TYPE_NOT_FOUND error message when typefinding
15181           is unsuccessful in the activate function as well.
15182
15183 2006-02-02  Wim Taymans  <wim@fluendo.com>
15184
15185         * docs/design/part-element-sink.txt:
15186         Updated doc.
15187
15188 2006-02-02  Wim Taymans  <wim@fluendo.com>
15189
15190         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15191         (gst_base_sink_render_object),
15192         (gst_base_sink_queue_object_unlocked):
15193         Only keep track of prerollable items when we are 
15194         prerolling.
15195         Before rendering after preroll, always check if we
15196         have queued items.
15197         Added some more debugging.
15198
15199 2006-02-02  Wim Taymans  <wim@fluendo.com>
15200
15201         * gst/gstelement.c: (gst_element_continue_state),
15202         (gst_element_set_state_func), (gst_element_change_state):
15203         Fixed #326576, been running this for quite some time with
15204         no regressions at all.
15205
15206 2006-02-02  Wim Taymans  <wim@fluendo.com>
15207
15208         * common/gst.supp:
15209         Added more suppressions
15210
15211 2006-02-02  Wim Taymans  <wim@fluendo.com>
15212
15213         * docs/design/part-element-sink.txt:
15214         Updated document.
15215
15216         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15217         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15218         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15219         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15220         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15221         (gst_base_sink_preroll_object),
15222         (gst_base_sink_queue_object_unlocked),
15223         (gst_base_sink_queue_object), (gst_base_sink_event),
15224         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15225         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15226         (gst_base_sink_get_position), (gst_base_sink_change_state):
15227         * libs/gst/base/gstbasesink.h:
15228         Totally refactored matching the design doc.
15229         Use two segments, one to clip incomming buffers and another to
15230         perform sync.
15231         Handle queueing correctly, bypass the queue when playing.
15232         Make EOS cancelable.
15233         Handle errors correctly when operating in pull based mode.
15234
15235         * tests/check/elements/fakesink.c: (GST_START_TEST),
15236         (fakesink_suite):
15237         Added new check for sinks.
15238
15239 2006-02-02  Wim Taymans  <wim@fluendo.com>
15240
15241         * gst/gstsegment.c: (gst_segment_clip):
15242         No reason to refuse to clip when start == -1
15243
15244 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15245
15246         * docs/README:
15247         * docs/manual/intro-basics.xml:
15248         * docs/manual/intro-preface.xml:
15249         * docs/manual/manual.xml:
15250         * docs/pwg/advanced-dparams.xml:
15251         * docs/pwg/intro-basics.xml:
15252         * docs/pwg/intro-preface.xml:
15253         * docs/pwg/pwg.xml:
15254           describe dparams (controller) for plugins
15255           unify docs a little more
15256
15257 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15258
15259         * docs/gst/gstreamer-sections.txt:
15260         * gst/gstutils.c: (element_find_unconnected_pad),
15261         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15262         * gst/gstutils.h:
15263           Add new API: gst_parse_bin_from_description() and
15264           gst_bin_find_unconnected_pad() (#329069).
15265
15266 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15267
15268         * docs/manual/README:
15269           uncover a nasty detail of the docs build
15270
15271 2006-01-31  Wim Taymans  <wim@fluendo.com>
15272
15273         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15274         Don't cache duration messages if we're not going to use or
15275         free them.
15276
15277 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15278
15279         * docs/manual/advanced-dparams.xml:
15280         * docs/pwg/advanced-dparams.xml:
15281           more dparam docs
15282         * gst/gstindex.c:
15283           fix docs
15284         * libs/gst/controller/lib.c: (gst_controller_init):
15285           init just once
15286
15287 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15288
15289         * gst/gstelement.c: (gst_element_message_full):
15290           also show file/line/func if no additional debug was given
15291
15292 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15293         
15294         * win32/vs7/grammar.vcproj:
15295           activate copy of autogenerated files for Release mode
15296
15297 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15298         
15299         * win32/common/libgstreamer.def:
15300           export gst_value_compare
15301
15302 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15303
15304         * plugins/elements/Makefile.am:
15305         * plugins/elements/gstelements.c:
15306         * plugins/elements/gstfdsink.c: (_do_init),
15307         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15308         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15309         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15310         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15311         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15312         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15313         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15314         * plugins/elements/gstfdsink.h:
15315         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15316
15317 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15318
15319         * docs/manual/advanced-dparams.xml:
15320           describe controller
15321         * docs/manual/advanced-position.xml:
15322         * docs/manual/basics-init.xml:
15323         * docs/manual/manual.xml:
15324         * docs/manual/titlepage.xml:
15325         * docs/pwg/pwg.xml:
15326         * docs/pwg/titlepage.xml:
15327           cleanup xml (more to come)
15328         * libs/gst/controller/gstcontroller.c:
15329           fix typo
15330
15331 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15332         
15333         * win32/vs6/grammar.dsp:
15334           add autogen of gstmarshal.c,h for Release mode
15335                 
15336 2006-01-30  Wim Taymans  <wim@fluendo.com>
15337
15338         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15339         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15340         (gst_base_sink_handle_object), (gst_base_sink_event),
15341         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15342         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15343         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15344         (gst_base_sink_deactivate), (gst_base_sink_activate),
15345         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15346         (gst_base_sink_query), (gst_base_sink_change_state):
15347         Basesink cleanups, remove some old code.
15348         Handle the case where a subclass can preroll in the render
15349         method (mostly audiosinks).
15350         Handle more events.
15351         Remove some locks around variables that are now protected
15352         with the PREROLL_LOCK (clock_id, flushing, ..).
15353         Optimize position query some more, do correct locking.
15354         Remove old code to push queue in state change, this is not
15355         needed anymore since preroll blocks on all prerollable items 
15356         now.
15357         Almost implemented as described in design doc.
15358
15359 2006-01-30  Wim Taymans  <wim@fluendo.com>
15360
15361         * tests/check/gst/gstbin.c: (GST_START_TEST):
15362         Wait for refcount to settle down before checking.
15363
15364 2006-01-30  Wim Taymans  <wim@fluendo.com>
15365
15366         * docs/design/part-element-sink.txt:
15367         Pseudo code overview of desired sink behaviour regarding
15368         preroll.
15369
15370 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15371         * win32/vs6/grammar.dsp:
15372           fix some bugs in Release mode for autogenerated files
15373                 
15374 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15375         * win32/common/libgstbase.def:
15376         * win32/common/libgstreamer.def:
15377           export some new symbols: gst_base_src_set_format,
15378           gst_iterator_next, gst_structure_set_valist
15379
15380 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15381
15382         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15383         Set pad functions unconditionally. Fixes #329105.
15384
15385 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15386         * win32/vs8:
15387           add vs8 project files created by Sergey Scobich
15388
15389 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15390
15391         * gst/gstutils.c: (gst_element_unlink_pads):
15392         Don't leak pad references.
15393
15394         * tests/check/elements/fakesink.c: (GST_START_TEST):
15395         * tests/check/generic/sinks.c: (GST_START_TEST):
15396         * tests/check/generic/states.c: (GST_START_TEST):
15397         * tests/check/gst/gstbin.c: (GST_START_TEST):
15398         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15399         * tests/check/gst/gstelement.c: (GST_START_TEST):
15400         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15401         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15402         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15403         Fix a bunch of leaks. Make generic/sinks.c
15404         use a bit less cpu by slowing the buffer rate
15405         between fakesrc and fakesink.
15406         
15407 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15408         * gst/gstcaps.c:
15409         * gst/gstelement.c: (gst_element_send_event):
15410         * gst/gstevent.c:
15411         * gst/gstinfo.c:
15412         * gst/gstiterator.c:
15413         * gst/gstiterator.h:
15414         * gst/gstpad.c: (gst_pad_send_event):
15415         * gst/gststructure.c:
15416         * gst/gsturi.c:
15417         * gst/gstutils.c:
15418         * gst/gstvalue.c:
15419         * libs/gst/base/gstadapter.c:
15420           doc fixes, to link to function, just write gst_cool_function(), don't
15421           prefix with '#'
15422
15423 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15424
15425         * plugins/elements/gsttee.c: (gst_tee_do_push),
15426         (gst_tee_handle_buffer):
15427         Always prefer an actual return value from a src
15428         pad in place of NOT_LINKED. This means we return
15429         WRONG_STATE when all src pads are WRONG_STATE
15430         instead of NOT_LINKED.
15431
15432         Lock when replacing the last message to prevent
15433         racing with the get_property method.
15434
15435         Add debug output
15436
15437 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15438
15439         * tests/check/Makefile.am:
15440         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15441         (main):
15442         Add a very simple check that should have caught the memleak I fixed
15443         last night (if not for the slice allocator hiding it)
15444
15445 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15446
15447         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15448         (gst_bin_remove_func), (gst_bin_handle_message_func),
15449         (bin_query_duration_fold), (bin_query_generic_fold):
15450         Clean up references to the clock provider when disposed or when
15451         handling a clock-lost message from it.
15452
15453         Unref sinks when performing a query via gst_iterator_fold, as the
15454         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15455
15456         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15457         (gst_clock_set_master):
15458         Drop our reference to the master clock, if any, when we are disposed.
15459
15460         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15461         Chain up in dispose. 
15462
15463 2006-01-26  Wim Taymans  <wim@fluendo.com>
15464
15465         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15466         Add some debugging.
15467
15468 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15469
15470         * plugins/elements/gsttee.c: (gst_tee_do_push),
15471         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15472         handles pad being NOT_LINKED or in WRONG_STATE.
15473
15474 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15475
15476         * win32/MANIFEST:
15477           more updating
15478
15479 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15480
15481         * win32/MANIFEST:
15482           remove obsolete entry
15483
15484 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15485
15486         * docs/gst/gstreamer-sections.txt:
15487         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15488         (gst_bin_iterate_sources), (gst_bin_send_event):
15489         * gst/gstbin.h:
15490         * gst/gstelement.c: (gst_element_send_event):
15491         * gst/gstevent.c:
15492         * gst/gstpad.c: (gst_pad_send_event):
15493           added code for downstream events, reviewed docs in gstevent.c
15494
15495 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15496
15497         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15498         We only query position using the clock in the playing state.
15499         Query peer in the other cases.
15500         * win32/common/config.h: Updates.
15501
15502 2006-01-24  Wim Taymans  <wim@fluendo.com>
15503
15504         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15505         A clock entry that is scheduled for the exact time of the
15506         clock is still in time.
15507
15508         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15509         (gst_base_sink_do_sync):
15510         Add some more debug info.
15511
15512 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15513
15514         * win32/vs7:
15515           Add new vs7 project files and solution.
15516
15517 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15518
15519         * win32/vs7:
15520           all files removed as they were out-dated.
15521
15522 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15523
15524         * docs/random/release:
15525           update notes
15526         * gst/gstbin.c: (gst_bin_init):
15527         * gst/gstbus.c: (gst_bus_new):
15528         * gst/gstbus.h:
15529         * gst/gstpipeline.c: (gst_pipeline_init):
15530           use gst_bus_new(), improve logging, fix docs
15531         * win32/common/config.h:
15532           update for cvs build
15533
15534 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15535
15536         * autogen.sh:
15537           up required version of automake to 1.7
15538
15539 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15540
15541         * win32/common/libgstreamer.def:
15542           export gst_buffer_is_metadata_writable
15543
15544 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15545
15546         * docs/gst/gstreamer-sections.txt:
15547         * gst/gstevent.h:
15548           Add gst_event_replace() (#327001)
15549
15550 2006-01-20  Wim Taymans  <wim@fluendo.com>
15551
15552         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15553         Make it actually compile too..
15554
15555 2006-01-20  Wim Taymans  <wim@fluendo.com>
15556
15557         * gst/gstcaps.c:
15558         Clarify behaviour of _is_equal() when passing NULL parameters.
15559
15560         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15561         (gst_pad_set_caps):
15562         Cleanups. Don't unref NULL caps.
15563         When setting the same caps, protect caps of the pad with
15564         proper lock.
15565         Use full functionality of _is_equal() when comparing caps.
15566
15567 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15568
15569         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15570         Don't loop infinitely if there are no buffers to present. Partially
15571         fixes #327197, but collectpads is just broken for reusing elements
15572         to do multiple encodes atm.
15573
15574 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15575
15576         * tools/gst-inspect.c: (print_element_features):
15577         * tools/gst-xmlinspect.c: (main):
15578         URL_HANDLER is not a plugin feature we can search for in
15579         the registry.
15580
15581 2006-01-19  Edward Hervey  <edward@fluendo.com>
15582
15583         * gst/gstelement.c: (gst_element_pads_activate): 
15584         When activating, do src pads first, then sink pads.
15585         When de-activating, do sink pads first, then src pads.
15586
15587 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15588
15589         * docs/gst/gstreamer-sections.txt:
15590         Add gst_index_add_associationv to the docs
15591
15592 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15593
15594         * gst/gstevent.c:
15595           Fix docs typo
15596
15597         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15598         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15599           Do some refactoring. Doesn't actually change functionality,
15600           but makes landing the DRAIN event easier later.
15601
15602 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15603
15604         * docs/pwg/advanced-scheduling.xml:
15605           Update from 0.9.x to 0.10 API and make example a bit
15606           clearer.
15607
15608 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15609
15610         * docs/gst/gstreamer-sections.txt:
15611         Add gst_buffer_(is|make)_metadata_writable methods.
15612
15613 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15614
15615         * docs/design/part-sparsestreams.txt:
15616         Update sparse streams doc, hopefully for greater clarity
15617
15618 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15619
15620         * docs/design/part-events.txt:
15621         Remove mention of FILLER events.
15622         Add DRAIN event.
15623
15624         * docs/design/part-sparsestreams.txt:
15625         Write some things about using NEWSEGMENT to keep sparse streams
15626         flowing.
15627
15628 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15629
15630         * gst/gstbin.c: (gst_bin_dispose):
15631           Guard gst_object_unref call against a NULL object (dispose
15632           can theoretically be called multiple times).
15633           
15634 2006-01-18  Wim Taymans  <wim@fluendo.com>
15635
15636         * gst/gstbin.c: (gst_bin_element_set_state):
15637         * gst/gstclock.c: (gst_clock_id_wait):
15638         Added some more debug info.
15639
15640         * libs/gst/base/gstadapter.c:
15641         Added more docs.
15642
15643         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15644         (gst_base_sink_do_sync), (gst_base_sink_chain):
15645         Added some comments.
15646
15647 2006-01-18  Wim Taymans  <wim@fluendo.com>
15648
15649         * tests/check/Makefile.am:
15650         * tests/check/elements/fakesink.c: (chain_async_buffer),
15651         (chain_async), (chain_async_return), (GST_START_TEST),
15652         (fakesink_suite), (main):
15653         Added fakesink test that checks prerolling and clipping
15654         behaviour.
15655
15656         * tests/check/gst/gstutils.c: (GST_START_TEST):
15657         Make check run faster so that buildbots don't timeout.
15658
15659 2006-01-18  Wim Taymans  <wim@fluendo.com>
15660
15661         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15662         (gst_base_sink_do_sync):
15663         Some cleanups.
15664         When the sink finishes blocking on the preroll buffer, it can
15665         immediatly render it instead of rendering when the next buffer
15666         arrives.
15667
15668 2006-01-18  Wim Taymans  <wim@fluendo.com>
15669
15670         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15671         (gst_base_sink_get_property), (gst_base_sink_do_sync),
15672         (gst_base_sink_chain):
15673         Small cleanups.
15674         GST_ELEMENT_CLOCK and sync are protected with LOCK.
15675         Don't store _last_stop if the buffer is dropped.
15676
15677 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15678
15679         * plugins/elements/gsttypefindelement.c:
15680         (gst_type_find_element_class_init):
15681           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15682           object method handler that sets the caps on the pad and we want
15683           that to happen before we emit the signal (fixes e.g. feeding a
15684           plain text file to decodebin).
15685
15686 2006-01-18  Christian Schaller  <Christian@fluendo.com>
15687
15688         * gst/gstplugin.c: Add MPL and Proprietary as license options
15689
15690 2006-01-18  Andy Wingo  <wingo@pobox.com>
15691
15692         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15693         symbol was exported before, it appears this was just an oversight.
15694         Fixes #168703.
15695         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15696
15697         * gst/gstindex.c (gst_index_add_associationv): Changed int in
15698         prototype to gint. OK since this prototype was not in the header.
15699
15700 2006-01-17  Andy Wingo  <wingo@pobox.com>
15701
15702         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15703         registry while we remove plugins.
15704
15705         * tools/gst-inspect.c (print_element_info): Don't unref the
15706         factory arg, that should be the responsibility of whatever code
15707         received the ref. Fixes a double-free when called from
15708         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15709         (main): Unref the factory if we have one.
15710         (print_element_list): No change -- relies on the
15711         plugin_feature_list_free to free the list of features.
15712
15713 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
15714
15715         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15716         (gst_buffer_make_metadata_writable):
15717         * gst/gstbuffer.h:
15718         * libs/gst/base/gstbasetransform.c:
15719         (gst_base_transform_prepare_output_buf):
15720         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15721         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15722           Replace gst_buffer_(make|is)_metadata_writable patch now
15723           that the release is out.
15724
15725 2006-01-17  Andy Wingo  <wingo@pobox.com>
15726
15727         * gst/gstregistry.c: Reflow design comment. Update so as to speak
15728         in the present tense without reference to versions.
15729
15730         * gst/gstregistry.c (gst_registry_add_plugin)
15731         (gst_registry_remove_plugin, gst_registry_remove_feature)
15732         (gst_registry_find_feature, gst_registry_get_feature_list)
15733         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15734         (gst_registry_lookup, gst_registry_scan_path)
15735         (_gst_registry_remove_cache_plugins)
15736         (gst_registry_get_feature_list_by_plugin): Add argument
15737         validation.
15738
15739 === release 0.10.2 ===
15740
15741 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
15742
15743         * configure.ac:
15744           releasing 0.10.2, "If man is five"
15745
15746 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15747
15748         * gst/gstbuffer.c:
15749         * gst/gstbuffer.h:
15750         * libs/gst/base/gstbasetransform.c:
15751         (gst_base_transform_prepare_output_buf):
15752         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15753         * tests/check/gst/gstbuffer.c: (gst_test_suite):
15754           Back out patch until after the release.
15755
15756 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15757
15758         * gst/gstminiobject.c:
15759           Spelling fix in docs.
15760         * ChangeLog - remove conflict indicator
15761
15762 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15763
15764         Reviewed By: Andy Wingo
15765
15766         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15767         (gst_buffer_make_metadata_writable):
15768         * gst/gstbuffer.h:
15769           Add gst_buffer_(is|make)_metadata_writable as analogues of
15770           gst_buffer_(is|make)_writable.
15771
15772         * libs/gst/base/gstbasetransform.c:
15773         (gst_base_transform_prepare_output_buf):
15774         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15775           Use name gst_buffer_(is|make)_metadata_writable functions.
15776
15777         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15778           Test gst_buffer_(is|make)_metadata_writable
15779         
15780           (Closes: #324162)
15781
15782 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15783
15784         * docs/manual/Makefile.am:
15785           don't do parallel make
15786         * configure.ac:
15787           AC_SUBST HOST_CPU
15788         * win32/common/config.h.in:
15789           add generations for HOST_CPU and GST_MAJORMINOR
15790         * win32/common/config.h:
15791           commit generated result
15792
15793 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
15794
15795         * docs/manual/appendix-integration.xml:
15796           Update GNOME integration section to use gst_init_get_option_group()
15797           instead of the old popt stuff (#322911). Also, GNOME applications
15798           should  now use gconf*sink and gconf*src instead of the old gconf
15799           helper lib we had.
15800
15801 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
15802
15803
15804         * docs/gst/gstreamer-docs.sgml:
15805         * docs/gst/gstreamer-sections.txt:
15806         * docs/libs/gstreamer-libs-sections.txt:
15807           add new API entries to the docs
15808         * libs/gst/controller/Makefile.am:
15809         * libs/gst/controller/gstcontroller.c:
15810         * libs/gst/controller/gstcontroller.h:
15811         * libs/gst/controller/gstcontrollerprivate.h:
15812         * libs/gst/controller/gsthelper.c:
15813         * libs/gst/controller/gstinterpolation.c:
15814           move private structs to private header
15815         * po/README:
15816           gstreamer-0.7 -> gstreamer-0.10
15817         * tests/check/libs/struct_i386.h:
15818           remove private structs
15819
15820 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15821
15822         * plugins/indexers/Makefile.am:
15823           Fixes as part of #317048
15824
15825 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15826
15827         * plugins/indexers/Makefile.am:
15828           fix #316086 - compilation when mmap is missing
15829
15830 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
15831
15832         * libs/gst/base/gstbasesink.c:
15833           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
15834           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15835         * win32/common/config.h:
15836           added some defines GST_MAJORMINOR and HOST_CPU
15837         * win32/common/libgstbase.def:
15838         * win32/common/libgstreamer.def:
15839           added some exported functions.
15840
15841 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15842
15843         * libs/gst/controller/gstcontroller.c:
15844         (gst_controlled_property_set_interpolation_mode),
15845         (gst_controlled_property_new):
15846         * libs/gst/controller/gstcontroller.h:
15847         * libs/gst/controller/gstinterpolation.c:
15848         (interpolate_none_get_string_value_array):
15849           make G_TYPE_STRING controlable
15850
15851 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15852
15853         * tools/README:
15854         * tools/gst-feedback.1.in:
15855         * tools/gst-inspect.1.in:
15856         * tools/gst-launch.1.in:
15857         * tools/gst-md5sum.1.in:
15858         * tools/gst-typefind.1.in:
15859         * tools/gst-xmlinspect.1.in:
15860         * tools/gst-xmllaunch.1.in:
15861           cleanup man-pages, remove reference to gst-register, document env-vars
15862
15863 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
15864
15865         * gst/gstbuffer.c: (gst_buffer_span):
15866           gst_buffer_span should copy the timestamp of the first buffer
15867           if they were both originally overlapping subbuffers of the 
15868           same parent, using the same logic as the 'slow copy' case.
15869
15870 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
15871
15872         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15873           Need to awaken ALL the pads when we pop a buffer, otherwise
15874           collectpads only works when there is 2 input streams.
15875
15876 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
15877
15878         * docs/random/ensonic/media-device-daemon.txt:
15879           more ideas (dbus)
15880         * gst/gstbuffer.c:
15881           fix doc example, add clarification
15882         * tools/gst-launch.1.in:
15883           add initial info about GST_PLUGIN_PATH, needs more work
15884
15885 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
15886
15887         * docs/manual/basics-bins.xml:
15888         * docs/manual/basics-elements.xml:
15889         * docs/manual/intro-basics.xml:
15890           Some more minor docs additions and updates.
15891
15892 2006-01-11  Wim Taymans  <wim@fluendo.com>
15893
15894         * docs/manual/basics-bins.xml:
15895         * docs/manual/basics-elements.xml:
15896         Some small fixes as pointed out by Ser-ver on IRC.
15897
15898 2006-01-10  Edward Hervey  <edward@fluendo.com>
15899
15900         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15901         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15902         the single-segment mode.
15903
15904 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
15905
15906         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15907
15908         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15909         (gst_base_src_perform_seek), (gst_base_src_send_event),
15910         (gst_base_src_set_property), (gst_base_src_get_property),
15911         (gst_base_src_loop), (gst_base_src_start),
15912         (gst_base_src_activate_push):
15913         * libs/gst/base/gstbasesrc.h:
15914           Name (private) union; makes Sun's Forte compiler happy (#324900).
15915
15916 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
15917
15918         * README:
15919           gst-register is gone.
15920
15921 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15922
15923         * gst/gstvalue.c: (_gst_value_initialize):
15924           make the G_TYPE_DATE instantiation work if debug is disabled
15925
15926 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
15927
15928         * gst/gstmessage.c: (gst_message_parse_tag),
15929         (gst_message_parse_error), (gst_message_parse_warning):
15930           Don't crash when return location for error/warning debug
15931           string is NULL; add fact that return locations can be
15932           NULL to docs where appropriate.
15933
15934 2006-01-05  Wim Taymans  <wim@fluendo.com>
15935
15936         * gst/gstplugin.c: (gst_plugin_load_file):
15937         Replace strdup by g_strdup.
15938
15939 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15940
15941         * docs/pwg/advanced-types.xml:
15942           fix doc borkage
15943
15944 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15945
15946         submitted by: Abel Cheung
15947
15948         * po/LINGUAS:
15949         * po/zh_TW.po:
15950           Added Chinese (traditional) translation
15951
15952 2006-01-04  Wim Taymans  <wim@fluendo.com>
15953
15954         * docs/manual/basics-pads.xml:
15955         * docs/plugins/Makefile.am:
15956         * docs/plugins/gstreamer-plugins-docs.sgml:
15957         * docs/plugins/gstreamer-plugins-sections.txt:
15958         * docs/pwg/advanced-clock.xml:
15959         * docs/pwg/advanced-scheduling.xml:
15960         * docs/pwg/advanced-types.xml:
15961         * plugins/elements/gstfdsink.c:
15962         * plugins/elements/gstfdsrc.c:
15963         * plugins/elements/gstfdsrc.h:
15964         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15965         * plugins/elements/gstidentity.h:
15966         * plugins/elements/gstqueue.h:
15967         * plugins/elements/gsttee.c:
15968         * plugins/elements/gsttee.h:
15969         * plugins/elements/gsttypefindelement.c:
15970         (gst_type_find_element_class_init):
15971         * plugins/elements/gsttypefindelement.h:
15972         Small updates to various docs.
15973         Added core plugins to docs.
15974
15975 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15976
15977         * common/gst.supp:
15978           add a suppression for liboil's uninitialized variable
15979
15980 2006-01-02  James Livingston  <jrl at ids dot org dot au>
15981
15982         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15983
15984         * gst/gstutils.h:
15985           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
15986           macro, so that gcc doesn't complain if the -Wmissing-prototypes
15987           compiler switch is being used (#325429).
15988
15989 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
15990
15991         * gst/gstbin.c: (gst_bin_query):
15992           Disable duration query caching in bins until it gets
15993           fixed (see #324807).
15994
15995 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
15996
15997         * tools/gst-inspect.c: (print_element_properties_info):
15998           Handle properties of POINTER and BOXED type.
15999
16000 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16001
16002         * gst/gst.c: (init_post):
16003           Init tags stuff and some other things before loading
16004           any static plugins (there may be other static plugins
16005           than just the GStreamer ones, and they may want to
16006           register their own tags or formats or whatever, and
16007           preferably without segfaulting).
16008
16009         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16010           Print at least a warning in the debug logs if we drop a
16011           query just because we don't know how to adjust the value
16012           in the particular format.
16013
16014 2005-12-24  David Schleef  <ds@schleef.org>
16015
16016         * tools/gstreamer-completion:
16017           Replacement for gst-complete written in sh and sed.  Only
16018           completes names of features, but that's 90% of what I want
16019           it for.  Properties are not available in registry.xml.  (Maybe
16020           they should be...)
16021
16022 === release 0.10.1 ===
16023
16024 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16025
16026         * configure.ac:
16027           releasing 0.10.1, "Nollaig chridheil"
16028
16029 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16030
16031         * docs/faq/cvs.xml:
16032           Add missing quote, should be make ERROR_CFLAGS="".
16033
16034 2005-12-20  Wim Taymans  <wim@fluendo.com>
16035
16036         * docs/design/part-trickmodes.txt:
16037         More documentation on trickmodes.
16038
16039 2005-12-20  Edward Hervey  <edward@fluendo.com>
16040
16041         * gst/gstcaps.c: (gst_static_caps_get_type):
16042         * gst/gstcaps.h:
16043           API addition: GST_TYPE_STATIC_CAPS
16044         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16045         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16046         * gst/gstpadtemplate.h:
16047           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16048         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16049         bindings.
16050
16051 2005-12-18  Wim Taymans  <wim@fluendo.com>
16052
16053         * libs/gst/base/gstadapter.c:
16054         * libs/gst/base/gstadapter.h:
16055         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16056         (gst_base_sink_get_position):
16057         * libs/gst/base/gstbasesink.h:
16058         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16059         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16060         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16061         (gst_base_src_send_event), (gst_base_src_update_length),
16062         (gst_base_src_get_range), (gst_base_src_loop),
16063         (gst_base_src_start):
16064         * libs/gst/base/gstbasesrc.h:
16065         * libs/gst/base/gstbasetransform.h:
16066         * libs/gst/base/gstcollectpads.h:
16067         * libs/gst/base/gstpushsrc.c:
16068         * libs/gst/base/gstpushsrc.h:
16069         * libs/gst/dataprotocol/dataprotocol.c:
16070         * libs/gst/dataprotocol/dataprotocol.h:
16071         * libs/gst/net/gstnetclientclock.h:
16072         * libs/gst/net/gstnettimeprovider.h:
16073         Documentation updates.
16074
16075 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16076
16077         * docs/manual/basics-helloworld.xml:
16078           Remove superfluous closing bracket in helloworld example.
16079
16080 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16081
16082         * tools/gst-launch.1.in:
16083           Update gst-launch man page; add a section with useful
16084           environment variables. Fixes #323882.
16085
16086 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16087
16088         * gst/gst.c:
16089         * gst/gst_private.h:
16090           change some char* into char[]
16091
16092 2005-12-16  Wim Taymans  <wim@fluendo.com>
16093
16094         * gst/gstregistryxml.c: (load_feature):
16095         Cleanups.
16096         Don't use g_object_unref on GstObjects so that we avoid
16097         leaks on unsafe glibs.
16098
16099 2005-12-16  Wim Taymans  <wim@fluendo.com>
16100
16101         * gst/gstbin.c: (gst_bin_recalc_state):
16102         Small doc updates.
16103
16104 2005-12-16  Wim Taymans  <wim@fluendo.com>
16105
16106         * common/check.mak:
16107         Added make forever target for check.
16108
16109 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16110
16111         * gst/gst.c: (init_post):
16112           make the registry cache file HOST_CPU-dependent
16113
16114 2005-12-16  Andy Wingo  <wingo@pobox.com>
16115
16116         * plugins/elements/gstbufferstore.c
16117         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16118         return value.
16119
16120         * tests/check/gst/gstobject.c
16121         (test_fake_object_name_threaded_unique): Pay attention to
16122         g_list_sort return value.
16123
16124 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16125
16126         * tools/gst-feedback-m.m:
16127           Update for 0.9/0.10 (fixes #323870).
16128
16129 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16130
16131         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16132           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16133           
16134         * tests/check/gst/gstminiobject.c: (my_foo_init),
16135         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16136         (test_value_collection), (gst_mini_object_suite):
16137           Add test to ensure refcounts end up as expected when passing
16138           GstMiniObjects through g_object_get() and g_object_set().
16139
16140 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16141
16142         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16143         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16144         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16145         of collectpads. This version removes a lot of races without
16146         touching API/ABI. Yay !
16147
16148 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16149
16150         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16151           Don't allow activation of a srcpad in pull_range if it has no
16152           getrange function.
16153           Change some debug statements to be a little clearer
16154
16155         * plugins/elements/gsttypefindelement.c:
16156         (gst_type_find_handle_src_query):
16157           Check that we have a peer before executing queries thereupon.
16158
16159         * tests/examples/metadata/read-metadata.c: (message_loop):
16160           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16161           immediately return us any available message with 0 timeout.
16162
16163 2005-12-12  Michael Smith  <msmith@fluendo.com>
16164
16165         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16166           Don't unref factories after calling them.
16167         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16168         * plugins/elements/gsttypefindelement.c:
16169         (gst_type_find_element_chain):
16170           Free lists of factories after using them. Fixing typefinding memory
16171           leaks.
16172
16173 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16174
16175         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16176         (gst_plugin_feature_load):
16177           more meaningful debug output
16178         * configure.ac:
16179         * tests/Makefile.am:
16180         * tests/old/examples/Makefile.am:
16181           make make distcheck happy again
16182
16183 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16184
16185         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16186           Catch the special case where we are operating chain-based,
16187           but the downstream peer pad has no chain function. Emit a
16188           custom error message in this case instead of letting the
16189           core generate one implying that this is some sort of core
16190           bug. It's not, it just means that whatever got plugged
16191           into the pipeline downstream when we announced the type
16192           can only operate pull-based, while our source can only
16193           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16194           Error string has not been marked for translation yet, as
16195           it probably needs some more work first.
16196
16197         (gst_type_find_element_get_best_possibility):
16198           Add helper function to find the best of all available
16199           found possibilities that qualify given the min. threshold.
16200
16201         (gst_type_find_element_handle_event):
16202           Fix the case where we get an EOS while still in TYPEFIND
16203           mode (we want to chose the best of all possible types,
16204           not just the first type that happens to be in our unsorted
16205           list of possible types).
16206
16207         (gst_type_find_element_chain):
16208           Make sure we return GST_FLOW_ERROR when we errored out
16209           in stop_typefinding(); also, don't just find the best of
16210           all found type entries and then use the last examined
16211           type entry, but actually use the best entry.
16212
16213 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16214
16215         * tests/examples/typefind/typefind.c: (type_found):
16216         * tests/examples/xml/runxml.c: (xml_loaded):
16217           More gcc4 fixes and a mem leak fix.
16218
16219 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16220
16221         * tests/examples/xml/createxml.c: (object_saved):
16222           gcc 4 fixes
16223
16224 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16225
16226         * tests/Makefile.am:
16227           enable the examples even more
16228
16229 2005-12-12  Andy Wingo  <wingo@pobox.com>
16230
16231         * libs/gst/net/gstnettimeprovider.c
16232         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16233         (gst_net_time_provider_set_property)
16234         (gst_net_time_provider_get_property):
16235         API addition: Export "active" as a GObject property.
16236         (gst_net_time_provider_thread): Only respond to time queries if
16237         the time provider is active.
16238
16239         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16240         NetTimeProvider, preserving binary compat.
16241
16242 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16243
16244         * tests/examples/controller/audio-example.c: (main):
16245         * tests/examples/launch/Makefile.am:
16246           convert comments again
16247
16248 2005-12-12  Wim Taymans  <wim@fluendo.com>
16249
16250         * libs/gst/base/gstpushsrc.c:
16251         Fix typo.
16252
16253 2005-12-12  Wim Taymans  <wim@fluendo.com>
16254
16255         * docs/libs/gstreamer-libs-sections.txt:
16256         Added new symbol to docs.
16257
16258         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16259         (gst_base_src_init), (gst_base_src_set_format),
16260         (gst_base_src_default_query), (gst_base_src_query),
16261         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16262         (gst_base_src_perform_seek), (gst_base_src_send_event),
16263         (gst_base_src_default_event), (gst_base_src_event_handler),
16264         (gst_base_src_set_property), (gst_base_src_get_property),
16265         (gst_base_src_wait), (gst_base_src_do_sync),
16266         (gst_base_src_update_length), (gst_base_src_get_range),
16267         (gst_base_src_check_get_range), (gst_base_src_loop),
16268         (gst_base_src_default_negotiate), (gst_base_src_start),
16269         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16270         (gst_base_src_change_state):
16271         * libs/gst/base/gstbasesrc.h:
16272         Implement seeking to other formats than _BYTES.
16273         Implement more seeking methods correctly.
16274         Doc updates.
16275         Added query vmethod.
16276         Added do_seek vmethod to make life easier for subclasses
16277         when seeking.
16278         API addition: gst_base_src_set_format()
16279
16280 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16281
16282         * tests/examples/Makefile.am:
16283           added that too
16284
16285 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16286
16287         * configure.ac:
16288         * docs/random/ensonic/media-device-daemon.txt:
16289         * tests/examples/controller/.cvsignore:
16290         * tests/examples/controller/Makefile.am:
16291         * tests/examples/controller/audio-example.c: (main):
16292         * tests/examples/helloworld/.cvsignore:
16293         * tests/examples/helloworld/Makefile.am:
16294         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16295         * tests/examples/launch/.cvsignore:
16296         * tests/examples/launch/Makefile.am:
16297         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16298         * tests/examples/metadata/.cvsignore:
16299         * tests/examples/metadata/Makefile.am:
16300         * tests/examples/metadata/read-metadata.c: (message_loop),
16301         (make_pipeline), (print_tag), (main):
16302         * tests/examples/queue/.cvsignore:
16303         * tests/examples/queue/Makefile.am:
16304         * tests/examples/queue/queue.c: (event_loop), (main):
16305         * tests/examples/typefind/.cvsignore:
16306         * tests/examples/typefind/Makefile.am:
16307         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16308         (main):
16309         * tests/examples/xml/.cvsignore:
16310         * tests/examples/xml/Makefile.am:
16311         * tests/examples/xml/createxml.c: (object_saved), (main):
16312         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16313         * tests/old/examples/Makefile.am:
16314         * tests/old/examples/TODO:
16315         * tests/old/examples/controller/.cvsignore:
16316         * tests/old/examples/controller/Makefile.am:
16317         * tests/old/examples/controller/audio-example.c:
16318         * tests/old/examples/helloworld/.cvsignore:
16319         * tests/old/examples/helloworld/Makefile.am:
16320         * tests/old/examples/helloworld/helloworld.c:
16321         * tests/old/examples/launch/.cvsignore:
16322         * tests/old/examples/launch/Makefile.am:
16323         * tests/old/examples/launch/mp3parselaunch.c:
16324         * tests/old/examples/launch/mp3play:
16325         * tests/old/examples/manual/Makefile.am:
16326         * tests/old/examples/metadata/Makefile.am:
16327         * tests/old/examples/metadata/read-metadata.c:
16328         * tests/old/examples/queue/.cvsignore:
16329         * tests/old/examples/queue/Makefile.am:
16330         * tests/old/examples/queue/queue.c:
16331         * tests/old/examples/typefind/.cvsignore:
16332         * tests/old/examples/typefind/Makefile.am:
16333         * tests/old/examples/typefind/typefind.c:
16334         * tests/old/examples/xml/.cvsignore:
16335         * tests/old/examples/xml/Makefile.am:
16336         * tests/old/examples/xml/createxml.c:
16337         * tests/old/examples/xml/runxml.c:
16338           applied some simple fixing to some examples
16339           re-enabled the working examples
16340
16341 2005-12-12  Wim Taymans  <wim@fluendo.com>
16342
16343         * gst/gstsegment.c: (gst_segment_init),
16344         (gst_segment_set_last_stop), (gst_segment_set_seek),
16345         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16346         (gst_segment_to_running_time):
16347         Added more documentation.
16348         Make sure the last_pos value is updated properly.
16349         Make sure to_stream_time and to_running_time don't
16350         operate on wrong values.
16351
16352         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16353         Update check.
16354
16355 2005-12-12  Michael Smith  <msmith@fluendo.com>
16356
16357         * plugins/elements/gsttypefindelement.c: (free_entry),
16358         (gst_type_find_element_chain):
16359           Now that we're not leaking factories, make sure we keep references
16360           to them while we need them.
16361
16362 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16363
16364         * tests/check/gst/struct_i386.h:
16365           ifdef out the XML structs
16366
16367 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16368
16369         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16370           floor is not needed, F is always positive; this obviates the
16371           need for adding -lm when building without libxml
16372
16373 2005-12-12  Wim Taymans  <wim@fluendo.com>
16374
16375         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16376         Take current playback rate into account when reporting
16377         the position.
16378
16379 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16380
16381         * docs/manual/mime-world.fig:
16382           Let's try this again, this time with a file that is
16383           actually in XFig format.
16384
16385 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16386
16387         * docs/manual/mime-world.fig:
16388           Add audioconvert element to diagram so that it
16389           matches the text and the code (fixes #319526).
16390
16391 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16392
16393         * docs/pwg/building-chainfn.xml:
16394         * docs/pwg/building-pads.xml:
16395         * docs/pwg/building-state.xml:
16396         * docs/pwg/other-source.xml:
16397           Update state change stuff for 0.10 (fixes #322969).
16398
16399 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16400
16401         * docs/manual/advanced-dataaccess.xml:
16402         * docs/manual/appendix-checklist.xml:
16403         * docs/manual/appendix-programs.xml:
16404         * docs/manual/basics-pads.xml:
16405         * docs/manual/highlevel-components.xml:
16406         * docs/manual/manual.xml:
16407           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16408           add converters in front of pipelines; remove curly
16409           brackets for threads stuff, they no longer exist; use
16410           GST_TYPE_FRACTION for framerates; update some pieces of
16411           code to 0.10, but there's plenty more to do.
16412
16413         * docs/manual/appendix-porting.xml:
16414           Expand on asynchroneous state changes; s/0.9/0.10/;
16415           mention disappearance of gst_init_get_popt_table()
16416           (fixes #322916).
16417
16418 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16419
16420         * docs/faq/using.xml:
16421           Spider no longer exists, and neither does gst-launch-ext.
16422           Update examples to use decodebin and playbin and put
16423           converters in front of sinks (fixes #323726).
16424
16425 2005-12-09  Michael Smith  <msmith@fluendo.com>
16426
16427         * plugins/elements/gsttypefindelement.c: (find_peek),
16428         (gst_type_find_element_chain):
16429           Fix leaking element factories in typefinding.
16430           Fix problem where we forgot about a probable type on non-seekable
16431           files, and thus later mis-typefound it.
16432
16433 2005-12-09  Michael Smith  <msmith@fluendo.com>
16434
16435         * common/m4/gst-makecontext.m4:
16436         * common/m4/gst-mcsc.m4:
16437         * configure.ac:
16438         * win32/common/config.h:
16439         * win32/common/config.h.in:
16440           Remove makecontext stuff; not used in 0.10 and causes problems on
16441           HPUX according to bug #322441
16442
16443 2005-12-07  Wim Taymans  <wim@fluendo.com>
16444
16445         * tests/check/Makefile.am:
16446         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16447         (main):
16448         * tests/check/libs/struct_i386.h:
16449         Added ABI check for libs
16450
16451 2005-12-07  Wim Taymans  <wim@fluendo.com>
16452
16453         * tests/check/Makefile.am:
16454         And add the struct_i386.h to dist.
16455
16456 2005-12-07  Wim Taymans  <wim@fluendo.com>
16457
16458         * tests/check/Makefile.am:
16459         * tests/check/gst/.cvsignore:
16460         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16461         (main):
16462         * tests/check/gst/struct_i386.h:
16463         Added check for ABI compatibility.
16464
16465 2005-12-07  Wim Taymans  <wim@fluendo.com>
16466
16467         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16468         (gst_fake_src_get_times), (gst_fake_src_create):
16469         Fix broken sync option, fixes #323259
16470
16471 2005-12-07  Wim Taymans  <wim@fluendo.com>
16472
16473         * gst/gstbuffer.c:
16474         Small docs update.
16475
16476         * gst/gstcaps.c: (gst_caps_is_equal):
16477         Don't assert on NULL <--> X. Fixes #323260
16478
16479         * gst/gstminiobject.c: (gst_mini_object_replace):
16480         If we're doing atomic operations, we might just as well use
16481         the proper way to get an atomic pointer.
16482
16483         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16484         Clean up debugging.
16485
16486 2005-12-07  Michael Smith  <msmith@fluendo.com>
16487
16488         * gst/parse/grammar.y:
16489           Remove handling of { } for threads.
16490
16491 2005-12-06  David Schleef  <ds@schleef.org>
16492
16493         * libs/gst/base/gstbasetransform.c: speling fix.
16494
16495 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16496
16497         * docs/libs/tmpl/gstdataprotocol.sgml:
16498         * docs/random/omega/testing/gstobject.c:
16499         * gst/gst.c:
16500         * gst/gstclock.c:
16501         * gst/gstelement.c:
16502         * gst/gstelementfactory.c:
16503         * gst/gsterror.c:
16504         * gst/gstevent.c:
16505         * gst/gstghostpad.c:
16506         * gst/gstinfo.c:
16507         * gst/gstpadtemplate.c:
16508         * gst/gstregistryxml.c:
16509         * gst/gsttaglist.c:
16510         * gst/gsttagsetter.c:
16511         * gst/gsttypefind.c:
16512         * gst/gstvalue.c:
16513         * libs/gst/base/gstbasesrc.c:
16514         * libs/gst/net/gstnetclientclock.c:
16515         * libs/gst/net/gstnettimeprovider.c:
16516         * plugins/elements/gstfakesrc.c:
16517         * plugins/elements/gstfdsrc.c:
16518         * plugins/elements/gstfilesrc.c:
16519         * plugins/elements/gstidentity.c:
16520         * plugins/elements/gstqueue.c:
16521         * plugins/elements/gsttypefindelement.c:
16522         * plugins/indexers/gstfileindex.c:
16523         * plugins/indexers/gstmemindex.c:
16524         * tests/check/gst/gsttag.c:
16525         * tests/old/examples/cutter/cutter.c:
16526         * tests/old/examples/mixer/mixer.c:
16527         * tests/old/examples/xml/runxml.c: (main):
16528         * tests/old/testsuite/caps/normalisation.c:
16529         * tests/old/testsuite/debug/global.c:
16530         * tests/old/testsuite/parse/parse1.c:
16531         * tools/gst-xmlinspect.c:
16532         * win32/common/dirent.c:
16533           expand tabs
16534
16535 === release 0.10.0 ===
16536
16537 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16538
16539         * configure.ac:
16540           releasing 0.10.0, "Maroilles"
16541
16542 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16543
16544         submitted by: Funda Wang <fundawang@linux.net.cn>
16545
16546         * po/LINGUAS:
16547         * po/zh_CN.po:
16548           added Chinese (Traditional) translation
16549
16550 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16551
16552         * docs/gst/gstreamer-sections.txt:
16553         * docs/libs/tmpl/gstdataprotocol.sgml:
16554         * docs/random/thomasvs/TODO:
16555         * gst/gstutils.c:
16556         * gst/gstutils.h:
16557           fix docs
16558
16559 2005-12-05  Andy Wingo  <wingo@pobox.com>
16560
16561         patch by: Wim Taymans <wim@fluendo.com>
16562
16563         * libs/gst/base/gstbasetransform.c
16564         (gst_base_transform_prepare_output_buf)
16565         (gst_base_transform_buffer_alloc):
16566         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16567         alloc_buffer_and_set_caps.
16568
16569         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16570         set_caps on the source pad.
16571         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16572         alloc_buffer used to do. Fixes #322874.
16573
16574         * docs/gst/gstreamer-sections.txt: 
16575         * docs/design/part-negotiation.txt: 
16576         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16577         changes.
16578
16579 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16580
16581         patch by: Sebastien Moutte
16582
16583         * win32/MANIFEST:
16584         * win32/common/config.h.in:
16585         * win32/vs6/libgstcontroller.dsp:
16586           win32 build fixes
16587
16588 2005-12-05  Wim Taymans  <wim@fluendo.com>
16589
16590         * gst/gstcaps.c: (gst_caps_is_equal):
16591         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16592         (gst_fake_src_create):
16593         Back out previous code changes, leave doc updates, file bugs 
16594         instead. 
16595
16596 2005-12-05  Wim Taymans  <wim@fluendo.com>
16597
16598         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16599         (gst_fake_src_get_times), (gst_fake_src_create):
16600         * plugins/elements/gstfakesrc.h:
16601         Fix broken sync code.
16602
16603 2005-12-05  Wim Taymans  <wim@fluendo.com>
16604
16605         * gst/gstcaps.c: (gst_caps_is_equal):
16606         Comparing NULL against !NULL yields different caps, not a
16607         failure.
16608
16609 2005-12-05  Wim Taymans  <wim@fluendo.com>
16610
16611         * gst/gstpipeline.c:
16612         Fix small typo in docs.
16613
16614 2005-12-05  Andy Wingo  <wingo@pobox.com>
16615
16616         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16617
16618         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16619         registries/plugins with a MAJORMINOR one.
16620         (plugin_desc): Rename library from gstcoreleements to
16621         staticelements. Fixes #323222.
16622
16623 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16624
16625         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16626           Change debug category to 'collectpads' from 'collect_pads'
16627           (fixes #323250).
16628
16629 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16630
16631         patch by: Sebastien Moutte
16632
16633         * libs/gst/controller/gstinterpolation.c:
16634           use convert function for uint64/double
16635         * win32/vs6/libgstcontroller.dsp:
16636           link to GLib
16637
16638 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16639
16640         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16641         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16642         * gst/gstutils.h:
16643         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16644           add tests that seem to show that the guint64/gdouble conversions
16645           are correct.
16646
16647 2005-12-02  Wim Taymans  <wim@fluendo.com>
16648
16649         * gst/gstregistry.c: (gst_registry_add_path):
16650         * gst/gstregistry.h:
16651         * gst/gstregistryxml.c:
16652         Fix docs again.
16653
16654 2005-12-02  Wim Taymans  <wim@fluendo.com>
16655
16656         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16657         (gst_util_uint64_scale_int):
16658         Small cleanup.
16659
16660         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16661         Add debug log line.
16662
16663         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16664         Add FIXME.
16665
16666 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16667
16668         * win32/MANIFEST:
16669         * win32/common/config.h:
16670         * win32/vs6/gstreamer.dsw:
16671         * win32/vs6/libgstcoreelements.dsp:
16672         * win32/vs6/libgstelements.dsp:
16673           renamed core elements plugin
16674
16675 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16676
16677         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16678         (get_candidates):
16679           do piece-wise major/minor comparison so 0.9 < 0.10
16680           also allow .exe extensions for tools
16681
16682 2005-12-02  Michael Smith  <msmith@fluendo.com>
16683
16684         * gst/gst.c:
16685           Escape a % to make gtkdoc happier; bug 322958.
16686
16687 === release 0.9.7 ===
16688
16689 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16690
16691         * configure.ac:
16692           releasing 0.9.7, "My Dog Has No Nose"
16693
16694 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16695
16696         * common/gst-xmlinspect.py:
16697         * configure.ac:
16698         * docs/libs/tmpl/gstdataprotocol.sgml:
16699         * docs/random/release:
16700         * po/af.po:
16701         * po/az.po:
16702         * po/bg.po:
16703         * po/ca.po:
16704         * po/cs.po:
16705         * po/de.po:
16706         * po/en_GB.po:
16707         * po/fr.po:
16708         * po/it.po:
16709         * po/nb.po:
16710         * po/nl.po:
16711         * po/ru.po:
16712         * po/sq.po:
16713         * po/sr.po:
16714         * po/sv.po:
16715         * po/tr.po:
16716         * po/uk.po:
16717         * po/vi.po:
16718         * win32/common/config.h:
16719         * win32/common/config.h.in:
16720         * win32/vs6/gst_inspect.dsp:
16721         * win32/vs6/gst_launch.dsp:
16722         * win32/vs6/libgstbase.dsp:
16723         * win32/vs6/libgstelements.dsp:
16724         * win32/vs6/libgstreamer.dsp:
16725         * win32/vs7/GStreamer.vcproj:
16726         * win32/vs7/gst-inspect.vcproj:
16727         * win32/vs7/gst-launch.vcproj:
16728         * win32/vs7/libgstbase.vcproj:
16729           bump GST_MAJORMINOR to 0.10
16730           reset libtool version
16731
16732 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16733
16734         * po/LINGUAS:
16735         * po/bg.po:
16736           Added Bulgarian translation by (Alexander Shopov)
16737
16738 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16739
16740         * tests/check/gst/gstplugin.c:
16741           fix test
16742
16743 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16744
16745         * common/gst-xmlinspect.py:
16746         * common/gtk-doc-plugins.mak:
16747         * configure.ac:
16748         * docs/Makefile.am:
16749         * docs/gst/Makefile.am:
16750         * docs/gst/gstreamer-docs.sgml:
16751         * docs/gst/gstreamer-sections.txt:
16752         * docs/gst/gstreamer.types:
16753         * docs/gst/gstreamer.types.in:
16754         * docs/plugins/Makefile.am:
16755         * docs/plugins/gstreamer-plugins-docs.sgml:
16756         * docs/plugins/gstreamer-plugins-sections.txt:
16757         * docs/plugins/gstreamer-plugins.types:
16758         * docs/plugins/inspect.stamp:
16759         * docs/plugins/inspect/plugin-coreelements.xml:
16760         * docs/plugins/inspect/plugin-coreindexers.xml:
16761         * docs/plugins/scanobj-build.stamp:
16762         * gstreamer.spec.in:
16763         * plugins/elements/Makefile.am:
16764         * plugins/elements/gstelements.c:
16765         * plugins/elements/gstfakesink.c:
16766         * plugins/elements/gstfakesrc.c:
16767         * plugins/elements/gstfilesink.c:
16768         * plugins/elements/gstfilesrc.c:
16769         * plugins/elements/gstqueue.c:
16770         * plugins/indexers/Makefile.am:
16771         * plugins/indexers/gstindexers.c:
16772           document core plugins in a separate document just like all the
16773           others
16774           rename these plugins to something starting with core
16775
16776 2005-12-01  Andy Wingo  <wingo@pobox.com>
16777
16778         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16779         padding here before, but it missed the commit.
16780
16781 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16782
16783         * libs/gst/controller/gstinterpolation.c:
16784           whitespace prices have crashed, we should feel free to use some now
16785           use gst_guint64_to_gdouble
16786
16787 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16788
16789         * libs/gst/controller/gstcontroller.c:
16790         * libs/gst/controller/gsthelper.c:
16791         * libs/gst/controller/gstinterpolation.c:
16792         * libs/gst/controller/lib.c:
16793           wrap config.h include
16794
16795 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16796
16797         * docs/gst/gstreamer-sections.txt:
16798           update docs
16799
16800 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16801
16802         * plugins/elements/gstelements.c:
16803         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16804         (gst_fd_sink__class_init), (gst_fd_sink__init),
16805         (gst_fd_sink__chain), (gst_fd_sink__set_property),
16806         (gst_fd_sink__get_property):
16807         * plugins/elements/gstfdsink.h:
16808         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16809         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16810         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16811         (gst_fd_src_unlock), (gst_fd_src_set_property),
16812         (gst_fd_src_get_property), (gst_fd_src_create),
16813         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16814         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16815         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16816         (gst_fd_src_uri_handler_init):
16817         * plugins/elements/gstfdsrc.h:
16818         * plugins/elements/gstqueue.c: (gst_queue_get_type):
16819           more anal cleanup
16820
16821 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16822
16823         * docs/gst/Makefile.am:
16824         * docs/gst/gstreamer.types.in:
16825         * gst/Makefile.am:
16826           fix the docs build
16827
16828 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16829
16830         * configure.ac:
16831         * gst/Makefile.am:
16832         * gst/gst.c:
16833         * gst/gstplugin.h:
16834         * gst/gstregistry.h:
16835         * tests/benchmarks/complexity.c:
16836         * tests/benchmarks/mass-elements.c:
16837         * tests/check/Makefile.am:
16838         * tools/Makefile.am:
16839         * tools/gst-inspect.c:
16840         * tools/gst-xmlinspect.c:
16841           various fixes to make
16842           --disable-nls --disable-registry --disable-loadsave
16843           --disable-parse --disable-gst-debug
16844           work and get the core .so down to 360444 bytes after stripping
16845
16846 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16847
16848         * Makefile.am:
16849         * configure.ac:
16850           descend into tests
16851         * docs/random/thomasvs/TODO:
16852         * tests/Makefile.am:
16853         * tests/README:
16854           add a README
16855
16856 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16857
16858         * win32/GStreamer.vcproj:
16859         * win32/MANIFEST:
16860         * win32/Makefile:
16861         * win32/Makefile.inspect:
16862         * win32/Makefile.launch:
16863         * win32/Makefile.register:
16864         * win32/README.txt:
16865         * win32/gst-inspect.vcproj:
16866         * win32/gst-launch.vcproj:
16867         * win32/gst-register.vcproj:
16868         * win32/gstelements.vcproj:
16869         * win32/gstgetbits.def:
16870         * win32/gstgetbits.vcproj:
16871         * win32/gstreamer-dbg.def:
16872         * win32/gstreamer.def:
16873         * win32/libgstbase.def:
16874         * win32/libgstbase.vcproj:
16875         * win32/link_oldruntime.c:
16876         * win32/mman.c:
16877         * win32/mman.h:
16878         * win32/mman.inl:
16879         * win32/msvc71.sln:
16880           move even more stuff, win32/ is nice and clean now
16881
16882 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16883
16884         * libs/gst/control/.cvsignore:
16885         * win32/MANIFEST:
16886         * win32/config.h:
16887         * win32/dirent.c:
16888         * win32/dirent.h:
16889         * win32/gstbytestream.def:
16890         * win32/gstbytestream.vcproj:
16891         * win32/gstconfig.h:
16892         * win32/gstenumtypes.c:
16893         * win32/gstenumtypes.h:
16894         * win32/gstoptimalscheduler.vcproj:
16895         * win32/gstversion.h:
16896         * win32/gtchar.h:
16897         * win32/testsuite/bins.vcproj:
16898         * win32/testsuite/bytestream.vcproj:
16899         * win32/testsuite/caps.vcproj:
16900         * win32/testsuite/cleanup.vcproj:
16901         * win32/testsuite/clock.vcproj:
16902         * win32/testsuite/debug.vcproj:
16903         * win32/testsuite/dlopen.vcproj:
16904         * win32/testsuite/dynparams.vcproj:
16905         * win32/testsuite/elements.vcproj:
16906         * win32/testsuite/ghostpads.vcproj:
16907         * win32/testsuite/indexers.vcproj:
16908         * win32/testsuite/negotiation.vcproj:
16909         * win32/testsuite/parse.vcproj:
16910         * win32/testsuite/plugin.vcproj:
16911         * win32/testsuite/refcounting.vcproj:
16912         * win32/testsuite/schedulers.vcproj:
16913         * win32/testsuite/states.vcproj:
16914         * win32/testsuite/tags.vcproj:
16915         * win32/testsuite/threads.vcproj:
16916           remove old win32 stuff that isn't maintained and should be
16917           reorganized
16918
16919 2005-11-30  Andy Wingo  <wingo@pobox.com>
16920
16921         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16922         loading the gst.interfaces python module bork.
16923
16924         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16925         available since GLib 2.2. Fixes #318031.
16926
16927 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16928
16929         * Makefile.am:
16930         * check/.cvsignore:
16931         * check/Makefile.am:
16932         * check/elements/.cvsignore:
16933         * check/elements/fakesrc.c:
16934         * check/elements/fdsrc.c:
16935         * check/elements/identity.c:
16936         * check/generic/.cvsignore:
16937         * check/generic/states.c:
16938         * check/gst-libs/.cvsignore:
16939         * check/gst-libs/controller.c:
16940         * check/gst-libs/gdp.c:
16941         * check/gst/.cvsignore:
16942         * check/gst/capslist.h:
16943         * check/gst/gst.c:
16944         * check/gst/gstbin.c:
16945         * check/gst/gstbuffer.c:
16946         * check/gst/gstbus.c:
16947         * check/gst/gstcaps.c:
16948         * check/gst/gstelement.c:
16949         * check/gst/gstevent.c:
16950         * check/gst/gstghostpad.c:
16951         * check/gst/gstiterator.c:
16952         * check/gst/gstmessage.c:
16953         * check/gst/gstminiobject.c:
16954         * check/gst/gstobject.c:
16955         * check/gst/gstpad.c:
16956         * check/gst/gstpipeline.c:
16957         * check/gst/gstplugin.c:
16958         * check/gst/gstsegment.c:
16959         * check/gst/gststructure.c:
16960         * check/gst/gstsystemclock.c:
16961         * check/gst/gsttag.c:
16962         * check/gst/gstutils.c:
16963         * check/gst/gstvalue.c:
16964         * check/net/.cvsignore:
16965         * check/net/gstnetclientclock.c:
16966         * check/net/gstnettimeprovider.c:
16967         * check/pipelines/.cvsignore:
16968         * check/pipelines/cleanup.c:
16969         * check/pipelines/simple_launch_lines.c:
16970         * check/pipelines/stress.c:
16971         * check/states/.cvsignore:
16972         * check/states/sinks.c:
16973         * configure.ac:
16974         * examples/Makefile.am:
16975         * examples/appreader/.cvsignore:
16976         * examples/appreader/Makefile.am:
16977         * examples/appreader/appreader.c:
16978         * examples/controller/.cvsignore:
16979         * examples/controller/Makefile.am:
16980         * examples/controller/audio-example.c:
16981         * examples/cutter/.cvsignore:
16982         * examples/cutter/Makefile.am:
16983         * examples/cutter/cutter.c:
16984         * examples/cutter/cutter.h:
16985         * examples/events/Makefile.am:
16986         * examples/events/seek.c:
16987         * examples/helloworld/.cvsignore:
16988         * examples/helloworld/Makefile.am:
16989         * examples/helloworld/helloworld.c:
16990         * examples/helloworld2/.cvsignore:
16991         * examples/helloworld2/Makefile.am:
16992         * examples/helloworld2/helloworld2.c:
16993         * examples/launch/.cvsignore:
16994         * examples/launch/Makefile.am:
16995         * examples/launch/mp3parselaunch.c:
16996         * examples/launch/mp3play:
16997         * examples/manual/.cvsignore:
16998         * examples/manual/Makefile.am:
16999         * examples/manual/extract.pl:
17000         * examples/metadata/Makefile.am:
17001         * examples/metadata/read-metadata.c:
17002         * examples/mixer/.cvsignore:
17003         * examples/mixer/Makefile.am:
17004         * examples/mixer/mixer.c:
17005         * examples/mixer/mixer.h:
17006         * examples/pingpong/.cvsignore:
17007         * examples/pingpong/Makefile.am:
17008         * examples/pingpong/pingpong.c:
17009         * examples/plugins/.cvsignore:
17010         * examples/plugins/Makefile.am:
17011         * examples/plugins/example.c:
17012         * examples/plugins/example.h:
17013         * examples/pwg/.cvsignore:
17014         * examples/pwg/Makefile.am:
17015         * examples/pwg/extract.pl:
17016         * examples/queue/.cvsignore:
17017         * examples/queue/Makefile.am:
17018         * examples/queue/queue.c:
17019         * examples/queue2/.cvsignore:
17020         * examples/queue2/Makefile.am:
17021         * examples/queue2/queue2.c:
17022         * examples/queue3/.cvsignore:
17023         * examples/queue3/Makefile.am:
17024         * examples/queue3/queue3.c:
17025         * examples/queue4/.cvsignore:
17026         * examples/queue4/Makefile.am:
17027         * examples/queue4/queue4.c:
17028         * examples/retag/.cvsignore:
17029         * examples/retag/Makefile.am:
17030         * examples/retag/retag.c:
17031         * examples/retag/transcode.c:
17032         * examples/thread/.cvsignore:
17033         * examples/thread/Makefile.am:
17034         * examples/thread/thread.c:
17035         * examples/typefind/.cvsignore:
17036         * examples/typefind/Makefile.am:
17037         * examples/typefind/typefind.c:
17038         * examples/xml/.cvsignore:
17039         * examples/xml/Makefile.am:
17040         * examples/xml/createxml.c:
17041         * examples/xml/runxml.c:
17042         * tests/Makefile.am:
17043         * tests/check/Makefile.am:
17044         * testsuite/.cvsignore:
17045         * testsuite/Makefile.am:
17046         * testsuite/Rules:
17047         * testsuite/caps/.cvsignore:
17048         * testsuite/caps/Makefile.am:
17049         * testsuite/caps/app_fixate.c:
17050         * testsuite/caps/audioscale.c:
17051         * testsuite/caps/caps.c:
17052         * testsuite/caps/caps.h:
17053         * testsuite/caps/caps_strings:
17054         * testsuite/caps/compatibility.c:
17055         * testsuite/caps/deserialize.c:
17056         * testsuite/caps/enumcaps.c:
17057         * testsuite/caps/eratosthenes.c:
17058         * testsuite/caps/filtercaps.c:
17059         * testsuite/caps/fixed.c:
17060         * testsuite/caps/fraction-convert.c:
17061         * testsuite/caps/fraction-multiply-and-zero.c:
17062         * testsuite/caps/intersect2.c:
17063         * testsuite/caps/intersection.c:
17064         * testsuite/caps/normalisation.c:
17065         * testsuite/caps/random.c:
17066         * testsuite/caps/renegotiate.c:
17067         * testsuite/caps/sets.c:
17068         * testsuite/caps/simplify.c:
17069         * testsuite/caps/string-conversions.c:
17070         * testsuite/caps/structure.c:
17071         * testsuite/caps/subtract.c:
17072         * testsuite/caps/union.c:
17073         * testsuite/debug/.cvsignore:
17074         * testsuite/debug/Makefile.am:
17075         * testsuite/debug/category.c:
17076         * testsuite/debug/commandline.c:
17077         * testsuite/debug/global.c:
17078         * testsuite/debug/output.c:
17079         * testsuite/debug/printf_extension.c:
17080         * testsuite/dlopen/.cvsignore:
17081         * testsuite/dlopen/Makefile.am:
17082         * testsuite/dlopen/dlopen_gst.c:
17083         * testsuite/dlopen/loadgst.c:
17084         * testsuite/elements/.cvsignore:
17085         * testsuite/elements/Makefile.am:
17086         * testsuite/elements/gst-inspect-check.in:
17087         * testsuite/elements/struct_i386.h:
17088         * testsuite/elements/struct_size.c:
17089         * testsuite/indexers/.cvsignore:
17090         * testsuite/indexers/Makefile.am:
17091         * testsuite/indexers/cache1.c:
17092         * testsuite/indexers/indexdump.c:
17093         * testsuite/parse/.cvsignore:
17094         * testsuite/parse/Makefile.am:
17095         * testsuite/parse/parse1.c:
17096         * testsuite/parse/parse2.c:
17097         * testsuite/plugin/.cvsignore:
17098         * testsuite/plugin/Makefile.am:
17099         * testsuite/plugin/README:
17100         * testsuite/plugin/dynamic.c:
17101         * testsuite/plugin/linked.c:
17102         * testsuite/plugin/loading.c:
17103         * testsuite/plugin/registry.c:
17104         * testsuite/plugin/static.c:
17105         * testsuite/plugin/static2.c:
17106         * testsuite/plugin/testplugin.c:
17107         * testsuite/plugin/testplugin2.c:
17108         * testsuite/plugin/testplugin2_s.c:
17109         * testsuite/plugin/testplugin_s.c:
17110         * testsuite/refcounting/.cvsignore:
17111         * testsuite/refcounting/Makefile.am:
17112         * testsuite/refcounting/bin.c:
17113         * testsuite/refcounting/element.c:
17114         * testsuite/refcounting/element_pad.c:
17115         * testsuite/refcounting/mainloop.c:
17116         * testsuite/refcounting/mem.c:
17117         * testsuite/refcounting/mem.h:
17118         * testsuite/refcounting/object.c:
17119         * testsuite/refcounting/pad.c:
17120         * testsuite/refcounting/sched.c:
17121         * testsuite/refcounting/thread.c:
17122         * testsuite/states/.cvsignore:
17123         * testsuite/states/Makefile.am:
17124         * testsuite/states/bin.c:
17125         * testsuite/states/locked.c:
17126         * testsuite/states/parent.c:
17127         * testsuite/threads/.cvsignore:
17128         * testsuite/threads/159566.c:
17129         * testsuite/threads/159852.c:
17130         * testsuite/threads/Makefile.am:
17131         * testsuite/threads/queue.c:
17132         * testsuite/threads/signals.c:
17133         * testsuite/threads/staticrec.c:
17134         * testsuite/threads/thread.c:
17135         * testsuite/threads/threadb.c:
17136         * testsuite/threads/threadc.c:
17137         * testsuite/threads/threadd.c:
17138         * testsuite/threads/threade.c:
17139         * testsuite/threads/threadf.c:
17140         * testsuite/threads/threadg.c:
17141         * testsuite/threads/threadh.c:
17142         * testsuite/threads/threadi.c:
17143           move all of these under tests
17144
17145 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17146
17147         * configure.ac:
17148         * tests/Makefile.am:
17149           fix distcheck
17150
17151 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17152
17153         * docs/gst/gstreamer-sections.txt:
17154         * tests/sched/.cvsignore:
17155         * tests/sched/Makefile.am:
17156         * tests/sched/cases/(fs-fs).xml:
17157         * tests/sched/cases/(fs-i-fs).xml:
17158         * tests/sched/cases/(fs-i-i-fs).xml:
17159         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17160         * tests/sched/dynamic-pipeline.c:
17161         * tests/sched/interrupt1.c:
17162         * tests/sched/interrupt2.c:
17163         * tests/sched/interrupt3.c:
17164         * tests/sched/runtestcases:
17165         * tests/sched/runxml.c:
17166         * tests/sched/sched-stress.c:
17167         * tests/sched/sort.c:
17168         * tests/sched/testcases:
17169         * tests/sched/testcases1.tc:
17170         * tests/seeking/.cvsignore:
17171         * tests/seeking/Makefile.am:
17172         * tests/seeking/seeking1.c:
17173         * tests/threadstate/.cvsignore:
17174         * tests/threadstate/Makefile.am:
17175         * tests/threadstate/test1.c:
17176         * tests/threadstate/test2.c:
17177         * tests/threadstate/threadstate1.c:
17178         * tests/threadstate/threadstate2.c:
17179         * tests/threadstate/threadstate3.c:
17180         * tests/threadstate/threadstate4.c:
17181         * tests/threadstate/threadstate5.c:
17182           remove obsolete tests
17183         * configure.ac:
17184         * tests/bench-complexity.scm:
17185         * tests/bench-mass_elements.scm:
17186         * tests/complexity.c:
17187         * tests/complexity.gnuplot:
17188         * tests/instantiate/.cvsignore:
17189         * tests/instantiate/Makefile.am:
17190         * tests/instantiate/caps.c:
17191         * tests/mass_elements.c:
17192         * tests/network-clock-utils.scm:
17193         * tests/network-clock.scm:
17194         * tests/plot-data:
17195         First pass at cleaning up tests/ dir before moving the rest
17196         Combined with CVS surgery
17197
17198 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17199
17200         * po/POTFILES.in:
17201           queue has moved, update
17202
17203 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17204
17205         * docs/gst/gstreamer-sections.txt:
17206           remove double entries from the docs
17207         * gst/gst_private.h:
17208         * gst/gstinfo.c: (_gst_debug_init):
17209           remove the THREAD debug category
17210         * gst/Makefile.am:
17211         * gst/gstqueue.c:
17212         * gst/gstqueue.h:
17213         * docs/gst/gstreamer.types:
17214         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17215         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17216           completely move queue and fix up debugging categories
17217
17218 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17219
17220         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17221           make initialization portable, using LL is not
17222
17223 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17224
17225         * win32/common/gstconfig.h:
17226           add large padding
17227
17228 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17229
17230         * win32/common/libgstreamer.def:
17231           rename symbols; sort base section
17232
17233 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17234
17235         * gst/gstclock.c: (do_linear_regression):
17236           remove crack non-portable handrolled DEBUG macro
17237
17238 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17239
17240         * docs/random/release:
17241           update notes
17242         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17243         (gst_object_flags_get_type), (register_gst_bin_flags),
17244         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17245         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17246         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17247         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17248         (gst_caps_flags_get_type), (register_gst_clock_return),
17249         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17250         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17251         (gst_clock_flags_get_type), (register_gst_state),
17252         (gst_state_get_type), (register_gst_state_change_return),
17253         (gst_state_change_return_get_type), (register_gst_state_change),
17254         (gst_state_change_get_type), (register_gst_element_flags),
17255         (gst_element_flags_get_type), (register_gst_core_error),
17256         (gst_core_error_get_type), (register_gst_library_error),
17257         (gst_library_error_get_type), (register_gst_resource_error),
17258         (gst_resource_error_get_type), (register_gst_stream_error),
17259         (gst_stream_error_get_type), (register_gst_event_type_flags),
17260         (gst_event_type_flags_get_type), (register_gst_event_type),
17261         (gst_event_type_get_type), (register_gst_seek_type),
17262         (gst_seek_type_get_type), (register_gst_seek_flags),
17263         (gst_seek_flags_get_type), (register_gst_format),
17264         (gst_format_get_type), (register_gst_index_certainty),
17265         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17266         (gst_index_entry_type_get_type),
17267         (register_gst_index_lookup_method),
17268         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17269         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17270         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17271         (gst_index_flags_get_type), (register_gst_debug_level),
17272         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17273         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17274         (gst_iterator_result_get_type), (register_gst_iterator_item),
17275         (gst_iterator_item_get_type), (register_gst_message_type),
17276         (gst_message_type_get_type), (register_gst_mini_object_flags),
17277         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17278         (gst_pad_link_return_get_type), (register_gst_flow_return),
17279         (gst_flow_return_get_type), (register_gst_activate_mode),
17280         (gst_activate_mode_get_type), (register_gst_pad_direction),
17281         (gst_pad_direction_get_type), (register_gst_pad_flags),
17282         (gst_pad_flags_get_type), (register_gst_pad_presence),
17283         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17284         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17285         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17286         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17287         (gst_plugin_flags_get_type), (register_gst_rank),
17288         (gst_rank_get_type), (register_gst_query_type),
17289         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17290         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17291         (gst_tag_flag_get_type), (register_gst_task_state),
17292         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17293         (gst_alloc_trace_flags_get_type),
17294         (register_gst_type_find_probability),
17295         (gst_type_find_probability_get_type), (register_gst_uri_type),
17296         (gst_uri_type_get_type), (register_gst_parse_error),
17297         (gst_parse_error_get_type):
17298         * win32/common/gstenumtypes.h:
17299         * win32/common/gstversion.h:
17300           update visual studio generated files
17301
17302 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17303
17304         * win32/vs6/libgstbase.dsp:
17305         * win32/vs6/libgstelements.dsp:
17306           update project files for new locations
17307
17308 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17309
17310         * Makefile.am:
17311           remove some files
17312         * README:
17313           reinstate and update
17314         * DEVEL:
17315         * REQUIREMENTS:
17316           removed
17317         * LICENSE:
17318         * docs/random/LICENSE:
17319           moved to random
17320
17321 2005-11-30  Edward Hervey  <edward@fluendo.com>
17322
17323         * gst/gsttypefind.c: (gst_type_find_register):
17324         * gst/gsttypefind.h:
17325         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17326         (gst_type_find_factory_dispose):
17327         * gst/gsttypefindfactory.h:
17328         Fix memory leak in GstTypeFindFactory.
17329
17330 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17331
17332         * gst/gst.c:
17333         * plugins/elements/Makefile.am:
17334         * plugins/elements/gstelements.c:
17335         * plugins/elements/gstqueue.c:
17336           move queue from core to the elements plugin
17337
17338 2005-11-29  Andy Wingo  <wingo@pobox.com>
17339
17340         * libs/gst/base/gstbasetransform.h: 
17341         * libs/gst/base/gstbasesrc.h: 
17342         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17343
17344         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17345         of pointers by which to pad very extensible base classes (like the
17346         ones in libs/gst/base).
17347
17348 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17349
17350         * docs/gst/gstreamer-docs.sgml:
17351         * docs/gst/gstreamer-sections.txt:
17352         * docs/libs/gstreamer-libs-docs.sgml:
17353         * docs/libs/gstreamer-libs-sections.txt:
17354           moving documentation from core to lib
17355
17356 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17357
17358         * check/Makefile.am:
17359         * configure.ac:
17360         * docs/gst/Makefile.am:
17361         * gst/Makefile.am:
17362         * gst/base/.cvsignore:
17363         * gst/base/Makefile.am:
17364         * gst/base/README:
17365         * gst/base/gstadapter.c:
17366         * gst/base/gstadapter.h:
17367         * gst/base/gstbasesink.c:
17368         * gst/base/gstbasesink.h:
17369         * gst/base/gstbasesrc.c:
17370         * gst/base/gstbasesrc.h:
17371         * gst/base/gstbasetransform.c:
17372         * gst/base/gstbasetransform.h:
17373         * gst/base/gstcollectpads.c:
17374         * gst/base/gstcollectpads.h:
17375         * gst/base/gstpushsrc.c:
17376         * gst/base/gstpushsrc.h:
17377         * gst/base/gsttypefindhelper.c:
17378         * gst/base/gsttypefindhelper.h:
17379         * gst/check/Makefile.am:
17380         * gst/check/gstcheck.c:
17381         * gst/check/gstcheck.h:
17382         * gst/net/Makefile.am:
17383         * gst/net/gstnet.h:
17384         * gst/net/gstnetclientclock.c:
17385         * gst/net/gstnetclientclock.h:
17386         * gst/net/gstnettimepacket.c:
17387         * gst/net/gstnettimepacket.h:
17388         * gst/net/gstnettimeprovider.c:
17389         * gst/net/gstnettimeprovider.h:
17390         * libs/gst/Makefile.am:
17391         * libs/gst/base/Makefile.am:
17392         * libs/gst/base/gstbasetransform.c:
17393         * libs/gst/check/Makefile.am:
17394         * plugins/elements/Makefile.am:
17395         * po/POTFILES.in:
17396           CVS surgery + support to move base, check, and net out of gst
17397           and into libs/gst
17398
17399 2005-11-29  Andy Wingo  <wingo@pobox.com>
17400
17401         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17402
17403         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17404         padding.
17405
17406         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17407
17408         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17409
17410         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17411
17412         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17413         padding; reduces object size by about 30%. We don't expect
17414         anything else to go into gstobject.
17415
17416         * gst/gstminiobject.h (struct _GstMiniObject)
17417         (struct _GstMiniObjectClass): Only one pointer of padding; the
17418         payload is only a pointer and two ints anyway. For the class there
17419         are only two methods as well.
17420         
17421         * gst/gstelement.h (struct _GstElementClass): Removed
17422         the state_changed signal callback, it is not used.
17423
17424 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17425
17426         * docs/gst/gstreamer.types:
17427           fix includes, though they are a little dinky
17428
17429 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17430
17431         * check/Makefile.am:
17432           look in the right place for elements, a lot more chance of
17433           success
17434         * gst/Makefile.am:
17435           remove indexers and elements subdirs
17436         * plugins/Makefile.am:
17437           make indexers conditional
17438
17439 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17440
17441         * Makefile.am:
17442         * configure.ac:
17443         * plugins/elements/Makefile.am:
17444         * plugins/elements/gstcapsfilter.c:
17445         * plugins/elements/gstfilesink.c:
17446         * plugins/elements/gstfilesrc.c:
17447         * plugins/elements/gstidentity.c:
17448         * plugins/indexers/Makefile.am:
17449           do CVS surgery and related build fixery to move elements
17450           and indexers in a new gstreamer/plugins directory, out of the
17451           gst/ directory
17452
17453 2005-11-29  Andy Wingo  <wingo@pobox.com>
17454
17455         * check/Makefile.am:
17456         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17457         * pkgconfig/gstreamer-net.pc.in:
17458         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17459         #322257.
17460
17461 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17462
17463         * tools/Makefile.am:
17464         * tools/gst-complete.1.in:
17465         * tools/gst-complete.c:
17466         * tools/gst-compprep.1.in:
17467         * tools/gst-compprep.c:
17468           removing -compprep and -complete
17469
17470 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17471
17472         * gst/gstevent.c: (gst_event_new_new_segment),
17473         (gst_event_parse_new_segment):
17474         * gst/gstevent.h:
17475           fix #320529 - clean up new_segment API and structure.
17476           Let's hope everyone was using the methods, and not the structure.
17477
17478 2005-11-29  Edward Hervey  <edward@fluendo.com>
17479
17480         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17481         (gst_base_sink_event), (gst_base_sink_do_sync),
17482         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17483         Properly handle non GST_FORMAT_TIME segment
17484         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17485         Properly handle non GST_FORMAT_TIME segment
17486         * gst/gstsegment.c:
17487         This function is valid if the accumulator is 0 and the format
17488         is different from the requested format.
17489         
17490 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17491
17492         * docs/gst/gstreamer-sections.txt:
17493         Add gst_query_new_seeking and gst_query_parse_seeking to the
17494         docs.
17495
17496 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17497
17498         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17499           Treat a pad alloc with new caps the same as if we were not
17500           negotiated, in order to allow a changing upstream output
17501           to produce a new format of data.
17502
17503 2005-11-29  Edward Hervey  <edward@fluendo.com>
17504
17505         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17506         (gst_base_transform_event), (gst_base_transform_eventfunc):
17507         The event virtual method is now properly implemented, with a default
17508         handler
17509         Sub classes should call the parent_class event method. They should
17510         return FALSE if they had a problem handling the given event, or don't
17511         want GstBaseTransform to send that even downstream
17512         * gst/elements/gstidentity.c: (gst_identity_class_init),
17513         (gst_identity_init), (gst_identity_event),
17514         (gst_identity_transform_ip), (gst_identity_set_property),
17515         (gst_identity_get_property):
17516         * gst/elements/gstidentity.h:
17517         Added the single-segment boolean property.
17518         If set to TRUE, it will output a single segment of data, starting from
17519         0, will eat up all incoming newsegment, and modify the timestamp of the
17520         buffers accordingly
17521
17522 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17523
17524         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17525           Don't ref NULL target pad (#322751). Improve docs.
17526
17527 2005-11-29  Michael Smith  <msmith@fluendo.com>
17528
17529         * gst/gstregistryxml.c: (load_plugin):
17530           Don't crash if we failed to load a feature from a plugin. 
17531
17532 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17533
17534         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17535         (GST_START_TEST):
17536           use more check API and less GLib API
17537
17538 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17539
17540         * Makefile.am:
17541           don't run checks if we don't have check
17542         * common/check.mak:
17543           remove the registry when running make torture
17544         * docs/gst/gstreamer-sections.txt:
17545           remove second multiply
17546         * gst/gstqueue.c: (gst_queue_loop):
17547           fix a compile warning when disabling debug
17548
17549 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17550
17551         * gst/gstinfo.h:
17552         Hey! Let's print the pad name if the pointer != NULL instead
17553         of when it == NULL :-)
17554
17555 2005-11-28  Wim Taymans  <wim@fluendo.com>
17556
17557         * check/gst/gstutils.c: (GST_START_TEST):
17558         Updated check, add some scaling accuracy checking code.
17559
17560         * gst/gstutils.c: (gst_util_div128_64),
17561         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17562         (gst_util_uint64_scale_int):
17563         Fix 6 times faster division code. Optimize for common 
17564         1/1 and less common X/1 cases.
17565
17566 2005-11-28  Wim Taymans  <wim@fluendo.com>
17567
17568         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17569         More checks.
17570
17571         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17572         (do_linear_regression), (gst_clock_add_observation):
17573         Cleanups.
17574         Release lock when the clock cannot be slaved.
17575         Catch the case where the regression returned an invalid denominator.
17576
17577         * gst/gstutils.c: (gst_util_div128_64_iterate),
17578         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17579         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17580         Add protentially more performant non-iterative 128/64 divide function
17581         that unfortunatly does not work yet.
17582         Shortcut the trivial 0/X = 0 case.
17583         Remove the warnings on overflow.
17584
17585 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17586
17587         * gst/gstplugin.c: (gst_plugin_register_func):
17588           everything causing a plugin not to load should be at least a WARNING
17589
17590 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17591
17592         * docs/random/ensonic/dparams.txt:
17593           some TODOs for the next dev cycle
17594         * libs/gst/controller/gstcontroller.c:
17595         (gst_controlled_property_set_interpolation_mode),
17596         (gst_controlled_property_new):
17597         * libs/gst/controller/gstcontroller.h:
17598           use base type to assign acccessor functions
17599
17600 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17601
17602         * check/Makefile.am:
17603         Oops, that should have been top_srcdir
17604
17605 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17606
17607         * check/Makefile.am:
17608         * check/elements/fdsrc.c: (GST_START_TEST):
17609         Use a cmdline define to specify the location of a file to use for
17610         testing, to avoid breaking distcheck.
17611
17612 2005-11-28  Andy Wingo  <wingo@pobox.com>
17613
17614         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17615
17616 2005-11-28  Edward Hervey  <edward@fluendo.com>
17617
17618         * tools/gst-launch.c: (main):
17619         Clarify the output strings, makes it easier to translate.
17620         Fixes #322626
17621
17622 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17623
17624         * gst/Makefile.am:
17625           don't try and build net if we don't even have <sys/socket.h>
17626
17627 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17628
17629         * check/Makefile.am:
17630         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17631         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17632           Add tests for fdsrc seekability
17633
17634         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17635         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17636         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17637         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17638         * gst/elements/gstfdsrc.h:
17639           fdsrc should not be a 'live' source.
17640           Implement seeking on seekable fd's.
17641
17642         * gst/gstquery.c: (gst_query_new_seeking),
17643         (gst_query_parse_seeking):
17644         * gst/gstquery.h:
17645           Implement SEEKING query functions: 
17646             *_new_seeking and *_parse_seeking
17647
17648 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17649
17650         * gst/gstelement.c: (gst_element_dispose):
17651           don't loop forever
17652
17653         * gst/gstiterator.c:
17654         * gst/gststructure.c:
17655           doc fixes
17656
17657         * libs/gst/controller/gstcontroller.c:
17658         (gst_controlled_property_set_interpolation_mode):
17659         * libs/gst/controller/gstcontroller.h:
17660         * libs/gst/controller/gstinterpolation.c:
17661         (interpolate_none_get_enum_value_array):
17662           support controlling enums
17663
17664 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17665
17666         * gst/gstvalue.c:
17667           Improve documentation for gst_value_union().
17668
17669         * gst/gstvalue.h:
17670           Change return value for union, intersect and subtract functions
17671           from gint to gboolean.
17672
17673 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17674
17675         * gst/gstvalue.c: (gst_value_serialize_any_list),
17676         (gst_value_transform_any_list_string),
17677         (gst_value_deserialize_list), (gst_value_deserialize_array),
17678         (gst_value_set_int_range), (gst_value_deserialize_int_range),
17679         (gst_value_set_double_range), (gst_value_deserialize_double_range),
17680         (gst_value_set_fraction_range_full),
17681         (gst_value_deserialize_fraction_range),
17682         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17683         (gst_value_deserialize_boolean),
17684         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17685         (gst_value_serialize_float), (gst_value_deserialize_float),
17686         (gst_string_wrap), (gst_value_deserialize_string),
17687         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17688         (gst_value_union_int_range_int_range),
17689         (gst_value_intersect_int_range_int_range),
17690         (gst_value_intersect_double_range_double_range),
17691         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17692         (gst_value_subtract_int_range_int_range),
17693         (gst_value_subtract_double_double_range),
17694         (gst_value_subtract_double_range_double_range),
17695         (gst_value_deserialize_fraction):
17696         * gst/gstvalue.h:
17697           Use gint, gdouble and gchar in our API instead of int, double and
17698           char (and make usage in gstvalue.c more consistent).
17699
17700 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17701
17702         * check/Makefile.am:
17703         * libs/gst/controller/Makefile.am:
17704         * libs/gst/dataprotocol/Makefile.am:
17705           fix up Makefile.am and remove GST_ENABLE_NEW
17706
17707 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17708
17709         * configure.ac:
17710         * gst/Makefile.am:
17711         * gst/base/Makefile.am:
17712         * gst/check/Makefile.am:
17713         * gst/elements/Makefile.am:
17714         * gst/net/Makefile.am:
17715           update LDFLAGS use some more
17716
17717 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17718
17719         * common/m4/gst-doc.m4:
17720           Fixes #312589
17721
17722 2005-11-26  Edward Hervey  <edward@fluendo.com>
17723
17724         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17725         This shouldn't issue a g_warning since it returns NULL if it
17726         couldn't find the plugin, and all functions using this behave
17727         properly on a NULL return. Switching to a GST_WARNING.
17728
17729 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
17730
17731         * gst/gstbin.c: (gst_bin_handle_message_func):
17732         Don't leak clock messages.
17733
17734 2005-11-25  Wim Taymans  <wim@fluendo.com>
17735
17736         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17737         (gst_util_uint64_scale_int):
17738         Optimisations, remove unneeded vars.
17739
17740 2005-11-25  Wim Taymans  <wim@fluendo.com>
17741
17742         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17743         Added more checks for the high precision uint64 cases.
17744
17745         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17746         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17747         Implement high precision (guint64 * guint64) / guint64.
17748
17749 2005-11-24  Wim Taymans  <wim@fluendo.com>
17750
17751         * gst/base/gstbasesrc.c: (gst_base_src_query):
17752         Fix wrong percentage query.
17753
17754         * gst/gstutils.c: (gst_util_uint64_scale),
17755         (gst_util_uint64_scale_int):
17756         Add some more common cases that can be handled 
17757         efficiently to _scale.
17758
17759 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17760
17761         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17762         (gst_mini_object_suite):
17763           don't use check calls from threads; check probably isn't
17764           threadsafe and using a lock to make it threadsafe would
17765           defeat the purpose of this check
17766         * gst/check/gstcheck.c:
17767         * gst/check/gstcheck.h:
17768           use GST_DEBUG some more
17769
17770 2005-11-24  Wim Taymans  <wim@fluendo.com>
17771
17772         * gst/gstutils.c: (gst_util_uint64_scale),
17773         (gst_util_uint64_scale_int):
17774         Chain trivial case to _scale_int.
17775
17776 2005-11-24  Wim Taymans  <wim@fluendo.com>
17777
17778         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17779         Added test for scaling.
17780
17781         * gst/gstclock.h:
17782         Small doc fix.
17783
17784         * gst/gstutils.c: (gst_util_uint64_scale_int):
17785         Implemented high precision scaling code.
17786
17787 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
17788
17789         * gst/gstinfo.h:
17790           do not crash on pad==NULL
17791
17792 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17793
17794         Patch by: Stefan Kost
17795
17796         * common/gtk-doc.mak:
17797         * docs/gst/Makefile.am:
17798         * docs/libs/Makefile.am:
17799           Fix distcheck issues for the libraries docs build
17800           Closes #319599.
17801
17802 2005-11-24  Michael Smith <msmith@fluendo.com>
17803
17804         * docs/manual/basics-helloworld.xml:
17805           Fix bug #315027: memory leak in example code in docs.
17806
17807 2005-11-24  Michael Smith <msmith@fluendo.com>
17808
17809         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17810           Unlock the PREROLL_LOCK in a failure case.
17811
17812 2005-11-24  Wim Taymans  <wim@fluendo.com>
17813
17814         * docs/gst/gstreamer-sections.txt:
17815         * gst/base/gstadapter.h:
17816         * gst/base/gstbasesink.h:
17817         * gst/base/gstbasesrc.h:
17818         * gst/base/gstbasetransform.h:
17819         * gst/base/gstpushsrc.h:
17820         * gst/elements/gstfakesink.h:
17821         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17822         * gst/elements/gstfakesrc.h:
17823         * gst/elements/gstfilesink.h:
17824         * gst/elements/gstfilesrc.h:
17825         * gst/gst.c:
17826         * gst/gstbin.c:
17827         * gst/gstbuffer.c: (_gst_buffer_copy):
17828         * gst/gstbus.h:
17829         * gst/gstcaps.c:
17830         * gst/gstchildproxy.c:
17831         * gst/gstclock.c:
17832         * gst/gstelement.c:
17833         * gst/gstelementfactory.c:
17834         * gst/gstelementfactory.h:
17835         * gst/gstevent.c:
17836         * gst/gstghostpad.h:
17837         * gst/gstindex.h:
17838         * gst/gstinterface.h:
17839         * gst/gstminiobject.c:
17840         * gst/gstminiobject.h:
17841         * gst/gstpad.c:
17842         * gst/gstpad.h:
17843         * gst/gstpadtemplate.h:
17844         * gst/gstpipeline.h:
17845         * gst/gstpluginfeature.h:
17846         * gst/gstquery.h:
17847         * gst/gstqueue.h:
17848         * gst/gsttaglist.c:
17849         * gst/gsttaglist.h:
17850         * gst/gsttagsetter.c:
17851         * gst/gsttagsetter.h:
17852         * gst/gsttrace.c:
17853         * gst/gsttrace.h:
17854         * gst/gsttypefind.h:
17855         * gst/gsturi.h:
17856         * gst/gstvalue.c:
17857         * gst/net/gstnetclientclock.c:
17858         * gst/net/gstnetclientclock.h:
17859         * gst/net/gstnettimepacket.c:
17860         * gst/net/gstnettimeprovider.c:
17861         * gst/net/gstnettimeprovider.h:
17862         Doc fixes.
17863
17864 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17865
17866         * configure.ac: back to HEAD
17867
17868 === release 0.9.6 ===
17869
17870 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
17871
17872         * configure.ac:
17873           releasing 0.9.6, "Always On Time"
17874
17875 2005-11-23  Wim Taymans  <wim@fluendo.com>
17876
17877         * docs/gst/gstreamer-sections.txt:
17878         * gst/glib-compat.c:
17879         * gst/gsttagsetter.c:
17880         * gst/gstvalue.c:
17881         * gst/net/gstnetclientclock.c:
17882         * gst/net/gstnettimepacket.h:
17883         Doc updates.
17884
17885 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17886
17887         * docs/faq/using.xml:
17888         * docs/libs/tmpl/gstcontrol.sgml:
17889         * docs/manual/advanced-dparams.xml:
17890         * docs/manual/appendix-checklist.xml:
17891         * docs/manual/basics-elements.xml:
17892         * docs/pwg/other-source.xml:
17893         * docs/random/moving-plugins:
17894         * gst/gstpad.c:
17895         * tools/gst-launch.1.in:
17896           remove mentions of sinesrc
17897
17898 2005-11-23  Michael Smith <msmith@fluendo.com>
17899
17900         * docs/gst/gstreamer-sections.txt:
17901           Update for new API and API changes.
17902         * gst/gstobject.h:
17903           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17904         * gst/gstvalue.c:
17905           Documentation typo fix.
17906         * gst/net/gstnettimepacket.c:
17907           Documentation fixes for arguments.
17908
17909 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
17910
17911         * gst/gststructure.c: (gst_structure_get_fraction),
17912         (gst_structure_parse_value),
17913         (gst_structure_fixate_field_nearest_fraction):
17914         * gst/gststructure.h:
17915         * gst/gstutils.c: (gst_util_uint64_scale_int):
17916         * gst/gstutils.h:
17917         * scripts/update-funcnames:
17918         API Changes. 
17919         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17920         Make gst_structure_fixate_field_nearest_fraction take a numerator
17921         and denominator argument instead of a GValue
17922         add gst_structure_get_fraction helper function.
17923
17924 2005-11-23  Wim Taymans  <wim@fluendo.com>
17925
17926         * docs/design/part-TODO.txt:
17927         Update TODO.
17928
17929         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17930         * gst/net/gstnetclientclock.h:
17931         Use parent fields for timeout and window_size.
17932
17933 2005-11-23  Andy Wingo  <wingo@pobox.com>
17934
17935         * check/net/gstnetclientclock.c (test_functioning): Adjust to
17936         rate_num/rate_denom change.
17937
17938         * gst/net/gstnetclientclock.c
17939         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17940         OBJECT_LOCK. Don't call add_observation with the lock.
17941
17942         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17943         fraction.
17944         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17945         rate fraction.
17946         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17947         deal with rate as a fraction whose numerator and denominator are
17948         GstClockTime values.
17949         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
17950         master; the other fields are protected by the SLAVE_LOCK.
17951         (do_linear_regression): Note that this must be called with the
17952         SLAVE_LOCK.
17953         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
17954         OBJECT_LOCK. Call set_calibration instead of touching the
17955         variables directly.
17956         (gst_clock_set_property, gst_clock_get_property): Protect
17957         master/slave parameters with the SLAVE_LOCK.
17958
17959         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
17960         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
17961         note that all of the instance variables that add_observation and
17962         the set_master functions use are protected by that lock and not
17963         the OBJECT_LOCK.
17964         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
17965
17966         * gst/gstclock.c (gst_clock_add_observation): No longer requires
17967         the caller to take the object lock.
17968
17969 2005-11-23  Wim Taymans  <wim@fluendo.com>
17970
17971         * gst/gsterror.c: (_gst_core_errors_init):
17972         * gst/gsterror.h:
17973         Add error for clock stuff.
17974
17975         * gst/gstpipeline.c: (gst_pipeline_change_state),
17976         (gst_pipeline_set_clock):
17977         Post clock error when clock cannot be used in a pipeline.
17978
17979 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
17980
17981         * docs/gst/gstreamer-sections.txt:
17982           make two symbols from gstinfo private for the docs
17983         * gst/base/gstcollectpads.h:
17984         * gst/gstutils.c:
17985           fix doc typos, update docs
17986
17987 2005-11-22  Wim Taymans  <wim@fluendo.com>
17988
17989         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17990         (gst_base_sink_wait), (gst_base_sink_do_sync),
17991         (gst_base_sink_handle_event):
17992         * gst/base/gstbasesink.h:
17993         No need to store the clock, the parent element class already
17994         has it.
17995
17996         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
17997         Updates for clock_set returning a gboolean
17998
17999         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18000         (gst_clock_id_wait_async), (gst_clock_class_init),
18001         (gst_clock_init), (gst_clock_finalize),
18002         (gst_clock_get_internal_time), (gst_clock_get_time),
18003         (gst_clock_slave_callback), (gst_clock_set_master),
18004         (gst_clock_get_master), (do_linear_regression),
18005         (gst_clock_add_observation), (gst_clock_set_property),
18006         (gst_clock_get_property):
18007         * gst/gstclock.h:
18008         Implement master/slave. When setting a clock as a slave, a
18009         periodic timeout is scheduled to sample master and slave times.
18010         Then the slave clock is recalibrated to match offset and rate
18011         of the master clock.
18012         Update logging a bit.
18013         Add flag so that a clock can state that is cannot be slaved to
18014         another clock.
18015
18016         * gst/gstelement.c: (gst_element_set_clock):
18017         * gst/gstelement.h:
18018         The set clock returns a gboolean for when an element cannot
18019         deal with the selected clock in the pipeline. 
18020
18021         * gst/gstpipeline.c: (gst_pipeline_change_state),
18022         (gst_pipeline_set_clock):
18023         * gst/gstpipeline.h:
18024         Handle the case where the selected clock cannot be set on
18025         the pipeline.
18026
18027         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18028         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18029         (gst_net_client_clock_set_property),
18030         (gst_net_client_clock_get_property),
18031         (gst_net_client_clock_observe_times):
18032         * gst/net/gstnetclientclock.h:
18033         Use regression code in GstClock parent, remove duplicated
18034         functionality.
18035
18036 2005-11-22  Michael Smith <msmith@fluendo.com>
18037
18038         * gst/gstutils.c: (gst_util_clock_time_scale):
18039         * gst/gstutils.h:
18040         * docs/gst/gstreamer-sections.txt:
18041           Rename method to have extra underscore.
18042
18043 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18044
18045         * gst/elements/Makefile.am:
18046         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18047         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18048         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18049         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18050         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18051         * gst/elements/gstfakesrc.h:
18052         * gst/gstqueue.c: (queue_leaky_get_type):
18053           correctly fix GEnumValues so that nick is the short lowercase
18054           dashed tag
18055         * tools/gst-inspect.c: (print_element_properties_info):
18056           also show the nick, since it's useful to use from parse_launch
18057           syntax
18058           Fixes #322139
18059
18060 2005-11-22  Michael Smith <msmith@fluendo.com>
18061
18062         * gst/gstutils.c: (gst_util_clocktime_scale):
18063         * gst/gstutils.h:
18064         * docs/gst/gstreamer-sections.txt:
18065           Add util method for scaling a clocktime by a fraction. Useful 
18066           implementation is left as an exercise for the reader.
18067
18068 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18069
18070         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18071         If needed, allocate storage in the destination value during
18072         collection.
18073
18074 2005-11-22  Edward Hervey  <edward@fluendo.com>
18075
18076         * docs/gst/gstreamer-sections.txt:
18077         * gst/Makefile.am:
18078         * gst/gst.h:
18079         * gst/gsturitype.c:
18080         * gst/gsturitype.h:
18081         * gst/gstutils.c: (gst_util_set_object_arg):
18082         * tools/gst-compprep.c: (main):
18083         * tools/gst-inspect.c: (print_element_properties_info):
18084         Removed GstURI, closes bug #321061
18085
18086 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18087
18088         * check/gst/gststructure.c: (GST_START_TEST):
18089         * gst/gststructure.c: (gst_structure_parse_value):
18090           Oops, broke automatic string type parsing.
18091           Add a test to catch it in future.
18092
18093 2005-11-22  Andy Wingo  <wingo@pobox.com>
18094
18095         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18096         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18097         Actually rename the function implementations. Grr.
18098
18099 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18100
18101         * check/gst/capslist.h:
18102           Comment test cases
18103         * check/gst/gststructure.c: (GST_START_TEST),
18104         (gst_structure_suite):
18105           Test automatic value type detection in gst_structure_from_string.
18106         * gst/gststructure.c: (gst_structure_parse_value):
18107           Add fraction as a type we try and guess automatically in
18108           caps/structure strings.
18109
18110 2005-11-22  Andy Wingo  <wingo@pobox.com>
18111
18112         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18113
18114         * gst/gsttagsetter.h:
18115         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18116         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18117         (gst_tag_setter_add_tag_valist)
18118         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18119         _add_values, _add_valist, and _add_valist_values. Since this is an
18120         interface the function suffixes should be more explicit so
18121         language binding don't end up with element.add_valist ->
18122         gst_tag_setter_add_valist, for example. Fixes #322069.
18123
18124 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18125
18126         * check/gst/gstcaps.c: (GST_START_TEST):
18127           Extend caps string tests to check that a caps to string
18128           conversion is reversible and produces the same caps.
18129
18130         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18131           Output "fraction" as the generic type fraction range, so caps
18132           serialisation and deserialisation works.
18133         * check/gst/capslist.h:
18134         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18135           Support 'MIN' and 'MAX' for deserialising fractions.
18136
18137 2005-11-22  Andy Wingo  <wingo@pobox.com>
18138
18139         * gst/gstevent.h (gst_event_new_new_segment)
18140         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18141         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18142         Renamed from *_newsegment, *_buffersize, *_notarget.
18143
18144         * scripts/update-funcnames: New script, performs the changes
18145         listed above.
18146
18147 2005-11-22  Wim Taymans  <wim@fluendo.com>
18148
18149         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18150         Make sure the GstFlowReturn is returned.
18151
18152         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18153         (gst_bus_add_signal_watch):
18154         * gst/gstbus.h:
18155         add gst_bus_add_signal_watch_full.
18156
18157         * gst/gstplugin.c: (gst_plugin_load_file):
18158         Small style cleanup.
18159
18160 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18161
18162         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18163           Block the fakesrc srcpad when we send an event, to avoid
18164           contention on the stream_lock causing random test failures.
18165
18166 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18167
18168         * check/gst/gstvalue.c: (GST_START_TEST):
18169         * gst/gstvalue.c: (gst_value_fraction_subtract):
18170           Fix subtraction.
18171
18172 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18173
18174         * gst/gst.h:
18175           include "gstchildproxy.h"
18176         * gst/gstchildproxy.h:
18177         * libs/gst/controller/gstcontroller.h:
18178           use G_GNUC_NULL_TERMINATED
18179
18180 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18181
18182         * check/gst/capslist.h:
18183         * check/gst/gstcaps.c: (GST_START_TEST):
18184         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18185         * gst/gststructure.c: (gst_structure_parse_range),
18186         (gst_structure_fixate_field_nearest_fraction):
18187         * gst/gststructure.h:
18188         * gst/gstvalue.c: (gst_value_init_fraction_range),
18189         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18190         (gst_value_collect_fraction_range),
18191         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18192         (gst_value_set_fraction_range_full),
18193         (gst_value_get_fraction_range_min),
18194         (gst_value_get_fraction_range_max),
18195         (gst_value_serialize_fraction_range),
18196         (gst_value_transform_fraction_range_string),
18197         (gst_value_compare_fraction_range),
18198         (gst_value_deserialize_fraction_range),
18199         (gst_value_intersect_fraction_fraction_range),
18200         (gst_value_intersect_fraction_range_fraction_range),
18201         (gst_value_subtract_fraction_fraction_range),
18202         (gst_value_subtract_fraction_range_fraction),
18203         (gst_value_subtract_fraction_range_fraction_range),
18204         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18205         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18206         (gst_value_transform_string_fraction), (_gst_value_initialize):
18207         * gst/gstvalue.h:
18208           Implement fraction ranges and extend GstFraction to support
18209           arithmetic subtraction, as well as deserialization from integer
18210           strings such as "100"
18211           Add a testsuite as for int and double range set operations
18212
18213 2005-11-21  Andy Wingo  <wingo@pobox.com>
18214
18215         * gst/gsttaglist.h: 
18216         * gst/gstcaps.h: 
18217         * gst/gststructure.h: Add glib-compat.h.
18218
18219 2005-11-21  Wim Taymans  <wim@fluendo.com>
18220
18221         * gst/gstbin.c: (gst_bin_change_state_func):
18222         Fix for #321595
18223
18224 2005-11-21  Wim Taymans  <wim@fluendo.com>
18225
18226         * gst/gstsegment.h:
18227         And add a nice define too.
18228
18229 2005-11-21  Wim Taymans  <wim@fluendo.com>
18230
18231         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18232         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18233         (gst_segment_set_duration), (gst_segment_set_last_stop),
18234         (gst_segment_set_seek), (gst_segment_set_newsegment),
18235         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18236         (gst_segment_clip):
18237         * gst/gstsegment.h:
18238         Make binding friendly.
18239
18240 2005-11-21  Andy Wingo  <wingo@pobox.com>
18241
18242         * gst/gsttagsetter.h: 
18243         * gst/gsttaglist.h: 
18244         * gst/gststructure.h: 
18245         * gst/gstcaps.h: 
18246         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18247         #319940.
18248
18249         * gst/gsterror.c (_gst_core_errors_init):
18250         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18251         category.
18252
18253         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18254         (noinst_HEADERS): noinst the -private.
18255
18256 2005-11-21  Michael Smith <msmith@fluendo.com>
18257
18258         * gst/gstplugin.h:
18259         * gst/gstregistry.h:
18260           Remove unimplemented declarations for which we can see no sensible
18261           use.
18262
18263 2005-11-21  Andy Wingo  <wingo@pobox.com>
18264
18265         * gst/gst.h: Include glib-compat.h.
18266
18267         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18268
18269         * gst/glib-compat.c: Include the public and the private header.
18270
18271         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18272
18273         * gst/gstvalue.c: 
18274         * gst/gstpad.c: 
18275         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18276
18277         * check/gst/gstevent.c (create_custom_events): Check that
18278         FLUSH_STOP is serialized.
18279
18280         * check/elements/identity.c (event_func): 
18281         * check/elements/fakesrc.c (event_func): No stream lock, the core
18282         takes it.
18283
18284         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18285         stream lock taking, yay.
18286
18287         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18288         ensure that core takes the stream lock.
18289
18290         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18291         lock name change.
18292
18293         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18294         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18295         it already. For the flush start we do take it though so we get the
18296         right preroll state change messages.
18297
18298         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18299         the stream lock here, the core does it for us.
18300
18301         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18302         GST_STREAM_GET_LOCK.
18303         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18304         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18305         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18306         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18307         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18308         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18309
18310         * gst/gstpad.c: Update for stream lock name change.
18311
18312         * gst/base/gstbasesink.c: Update for preroll lock name change.
18313
18314 2005-11-21  Wim Taymans  <wim@fluendo.com>
18315
18316         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18317         (gst_clock_get_master):
18318         * gst/gstclock.h:
18319         * gst/gstsystemclock.c: (gst_system_clock_init):
18320         Convert Clock flags to object flags.
18321         Added methods to manage master/slave clocks.
18322
18323 2005-11-21  Wim Taymans  <wim@fluendo.com>
18324
18325         * check/gst/gstsegment.c: (GST_START_TEST):
18326         * docs/design/part-TODO.txt:
18327         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18328         (gst_base_sink_event), (gst_base_sink_do_sync),
18329         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18330         (gst_base_sink_query), (gst_base_sink_change_state):
18331         * gst/base/gstbasesink.h:
18332         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18333         (gst_base_src_default_newsegment),
18334         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18335         (gst_base_src_get_range), (gst_base_src_loop),
18336         (gst_base_src_change_state):
18337         * gst/base/gstbasesrc.h:
18338         * gst/base/gstbasetransform.c:
18339         (gst_base_transform_prepare_output_buf),
18340         (gst_base_transform_event), (gst_base_transform_change_state):
18341         * gst/base/gstbasetransform.h:
18342         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18343         (gst_collect_pads_event):
18344         * gst/base/gstcollectpads.h:
18345         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18346         (gst_fake_src_create):
18347         * gst/elements/gstfakesrc.h:
18348         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18349         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18350         (gst_segment_set_last_stop), (gst_segment_set_seek),
18351         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18352         (gst_segment_to_running_time), (gst_segment_clip):
18353         * gst/gstsegment.h:
18354         More segment updates, replace code in plugins with segment
18355         helper functions.
18356
18357 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18358
18359         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18360         Don't ignore sscanf results
18361
18362 2005-11-21  Andy Wingo  <wingo@pobox.com>
18363
18364         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18365
18366         * *.h:
18367         * *.c: Ran scripts/update-macros. Oh yes.
18368
18369         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18370         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18371         GST_GET_LOCK, etc.
18372
18373         * scripts/update-macros: New script. Run it on your files to
18374         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18375         well.
18376
18377 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18378
18379         * docs/gst/Makefile.am:
18380         * docs/gst/gstreamer-docs.sgml:
18381         * docs/gst/gstreamer-sections.txt:
18382         * docs/gst/gstreamer.types:
18383         * gst/gstinfo.h:
18384           more docs fixes, add new api to the docs
18385
18386 2005-11-21  Andy Wingo  <wingo@pobox.com>
18387
18388         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18389         state_broadcast call.
18390
18391         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18392
18393 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18394
18395         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18396         function calls for arrays.
18397
18398 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18399
18400         * docs/random/ensonic/media-device-daemon.txt:
18401           wild idea, can this be done?
18402         * docs/gst/gstreamer-sections.txt:
18403         * gst/gsterror.h:
18404         * gst/gstfilter.c:
18405         * gst/gstfilter.h:
18406         * gst/gstplugin.h:
18407         * gst/gstpluginfeature.c:
18408         * gst/gsttrace.c:
18409         * gst/gstvalue.c:
18410         * gst/gstvalue.h:
18411           doc fixes and additions
18412
18413 2005-11-21  Andy Wingo  <wingo@pobox.com>
18414
18415         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18416         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18417         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18418         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18419         private to the basesrc implementation.
18420
18421         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18422         behalf of event function if necessary. It should no longer be
18423         necessary to take the stream lock in pad's event functions. Fixes
18424         #320299.
18425
18426 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18427         * docs/gst/gstreamer-sections.txt:
18428         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18429         (gst_structure_fixate_field_nearest_double),
18430         (gst_structure_fixate_field_boolean):
18431         * gst/gststructure.h:
18432         * win32/common/libgstreamer.def:
18433         * win32/gstreamer.def:
18434
18435         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18436         (#322027)
18437
18438 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18439
18440         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18441         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18442         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18443         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18444         (gst_fdsrc_uri_handler_init):
18445         * gst/elements/gstfdsrc.h:
18446           Port fd:// URI handler from 0.8 to fdsrc
18447
18448 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18449
18450         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18451         (gst_value_serialize_fourcc):
18452         * gst/gstvalue.h:
18453           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18454           consistent with our other format defines (#320324).
18455
18456 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18457
18458         * gst/gstvalue.c: (gst_value_is_fixed):
18459           Revert previous commit. Value lists are by definition
18460           not fixed, as they are a list of possible values.
18461
18462 2005-11-21  Andy Wingo  <wingo@pobox.com>
18463
18464         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18465         during the stable series if we need it. Fixes #319178.
18466
18467         * gst/gstevent.c (gst_event_new_filler): Removed.
18468
18469         * check/gst/gstevent.c: Update comment about filler events.
18470
18471 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18472
18473         * gst/gstvalue.c: (gst_value_is_fixed):
18474           Should handle both value arrays and value lists.
18475
18476 2005-11-21  Andy Wingo  <wingo@pobox.com>
18477
18478         patch by: Alessandro Dessina <alessandro nnva org>
18479
18480         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18481         functions to access arrays. Fixes #321962.
18482
18483 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18484
18485         * docs/gst/gstreamer.types:
18486           gst_collectpads_get_type => gst_collect_pads_get_type.
18487           
18488         * gst/base/gstbasetransform.c:
18489           Remove unused SIGNAL_HANDOFF enum.
18490
18491 2005-11-21  Andy Wingo  <wingo@pobox.com>
18492
18493         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18494         the event type (upstream, downstream, serialized). Renamed
18495         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18496         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18497         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18498
18499         * gst/gstevent.c: Update for new CUSTOM event names.
18500
18501         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18502
18503         * gst/gstevent.h:
18504         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18505         bug #319392.
18506
18507 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18508
18509         * docs/gst/gstreamer-sections.txt:
18510         * win32/common/libgstbase.def:
18511         * win32/libgstbase.def:
18512         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18513         (gst_collect_pads_class_init), (gst_collect_pads_init),
18514         (gst_collect_pads_finalize), (gst_collect_pads_new),
18515         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18516         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18517         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18518         (gst_collect_pads_start), (gst_collect_pads_stop),
18519         (gst_collect_pads_peek), (gst_collect_pads_pop),
18520         (gst_collect_pads_available), (gst_collect_pads_read),
18521         (gst_collect_pads_flush), (gst_collect_pads_event),
18522         (gst_collect_pads_chain):
18523         * gst/base/gstcollectpads.h:
18524           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18525           unimplemented functions as unimplemented. Add padding to
18526           GstCollectData. (#320766, #320423)
18527
18528 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18529
18530         * gst/gstmessage.c:
18531           Improve docs for DURATION message (usage of duration parameter)
18532           (#320113)
18533
18534 2005-11-20  Wim Taymans  <wim@fluendo.com>
18535
18536         * check/Makefile.am:
18537         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18538         (main):
18539         * gst/Makefile.am:
18540         * gst/gst.h:
18541         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18542         (gst_segment_set_seek), (gst_segment_set_newsegment),
18543         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18544         (gst_segment_clip):
18545         * gst/gstsegment.h:
18546         Added segment helper structure and methods. Not fully implemented
18547         yet.
18548         Added segment check.
18549
18550 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18551
18552         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18553           Add a deserialisation test for fractions
18554         * examples/metadata/read-metadata.c: (message_loop),
18555         (make_pipeline), (main):
18556           Fix up metadata reading sample.
18557         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18558           Debug format fix
18559         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18560           Don't try and fixate empty caps
18561         * gst/gst_private.h:
18562           Wrap in G_BEGIN_DECLS/G_END_DECLS
18563         * gst/gstvalue.c: (gst_value_collect_fraction),
18564         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18565         (gst_value_transform_string_fraction),
18566         (gst_value_compare_fraction):
18567           Add some extra guards to ensure that we don't end up 
18568           with an invalid denominator of 0 in a gstfraction and
18569           that fractions always get reduced.
18570
18571 2005-11-20  Wim Taymans  <wim@fluendo.com>
18572
18573         * docs/gst/gstreamer-sections.txt:
18574         * gst/gstbuffer.h:
18575         * gst/gstelement.c:
18576         * gst/gstformat.c:
18577         * gst/gstformat.h:
18578         * gst/gstindex.h:
18579         * gst/gstquery.c:
18580         * gst/gstquery.h:
18581         * gst/gstvalue.c:
18582         Doc fixes.
18583
18584 2005-11-20  Wim Taymans  <wim@fluendo.com>
18585
18586         * docs/design/part-TODO.txt:
18587         * gst/gstcaps.h:
18588         Make a proper enum of the flag.
18589
18590 2005-11-19  Wim Taymans  <wim@fluendo.com>
18591
18592         * docs/design/part-TODO.txt:
18593         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18594         (gst_format_to_quark), (gst_format_register):
18595         * gst/gstformat.h:
18596         * gst/gstquery.c: (_gst_query_initialize),
18597         (gst_query_type_get_name), (gst_query_type_to_quark),
18598         (gst_query_type_register):
18599         * gst/gstquery.h:
18600         Add type to quark and type to string conversions.
18601
18602 2005-11-19  Andy Wingo  <wingo@pobox.com>
18603
18604         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18605         #320097.
18606
18607 2005-11-19  Wim Taymans  <wim@fluendo.com>
18608
18609         * docs/design/part-TODO.txt:
18610         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18611         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18612         (gst_bin_handle_message_func):
18613         * gst/gstbin.h:
18614         Make message handling overridable.
18615
18616 2005-11-19  Andy Wingo  <wingo@pobox.com>
18617
18618         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18619
18620         * gst/gstclock.h:
18621         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18622         be a GstClockTime.
18623         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18624         is a GstClockTime. Fixes #321710.
18625
18626         * gst/gstclock.h (GstClock): Remove offset property. Add
18627         internal_calibration and external_calibration. Fix padding. Pad
18628         also by GstClockTime so we don't run into problems.
18629
18630         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18631         (gst_clock_get_rate_offset): Remove.
18632         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18633
18634         * gst/gstutils.h:
18635         * gst/gstutils.c (g_static_rec_cond_wait)
18636         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18637
18638         * gst/gstbin.c: Remove terrible continue_state prototype.
18639
18640         * gst/gstelement.h (gst_element_continue_state): Make public.
18641
18642         * gst/gstelement.h:
18643         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18644         by continue_state. Fixes #319389.
18645
18646         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18647         Really fixes #168438. However I don't see anywhere where the
18648         filter function is called... stupid GStreamer...
18649         
18650         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18651         don't have a dispose function, so it won't get called when the
18652         object is unreffed, but oh well!
18653
18654         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18655         allows a destroy function to be set so user_data can be freed.
18656         Fixes #168438.
18657         (gst_index_set_filter): Call gst_index_set_filter_full.
18658
18659         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18660
18661         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18662         string should produce an error, given the lack of a way to
18663         represent NULL strings. Fixes #165650.
18664         
18665         * gst/gstvalue.h: 
18666         * gst/gstvalue.c (gst_value_array_append_value) 
18667         (gst_value_array_prepend_value, gst_value_array_get_size) 
18668         (gst_value_array_get_value): New API, copied from
18669         gst_value_list_*, only operates on arrays.
18670         (gst_value_list_append_value, gst_value_list_prepend_value) 
18671         (gst_value_list_concat, gst_value_list_get_size) 
18672         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18673
18674         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18675         init_list, because it works on both.
18676         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18677         (gst_value_copy_list_or_array): Renamed from copy_list.
18678         (gst_value_free_list_or_array): Renamed from free_list.
18679         (gst_value_collect_list_or_array): Renamed from collect_list.
18680         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18681         (gst_value_list_or_array_peek_pointer): Renamed from
18682         list_peek_pointer.
18683         (_gst_value_array_value_table, _gst_value_list_value_table):
18684         Update value table functions.
18685         (gst_value_compare_list_or_array): Renamed from compare_list.
18686
18687         * gsttaglist.h: Whoops, foreach function returns void. Also fix
18688         some constness.
18689
18690         * gst/gsttaglist.c:
18691         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18692         GstTagList*. Fixes #143472.
18693
18694         * gst/gststructure.h: Clarify what the foreach/map functions can
18695         or can't do to their arguments.
18696
18697 2005-11-18  Wim Taymans  <wim@fluendo.com>
18698
18699         * gst/gstclock.c: (gst_clock_set_calibration),
18700         (gst_clock_get_calibration):
18701         Doc and API fixes.
18702         Calibration can be set with internal time equal to current
18703         internal time too.
18704
18705 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18706
18707         * gst/gsterror.c:
18708         * gst/gsterror.h:
18709           document
18710
18711 2005-11-18  Andy Wingo  <wingo@pobox.com>
18712
18713         * configure.ac: 
18714         * pkgconfig/gstreamer-net.pc.in:
18715         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18716         * pkgconfig/Makefile.am: Add net pkgconfig files.
18717
18718 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
18719
18720         * gst/gstcaps.c:
18721         * gst/gstghostpad.c:
18722         * gst/gsttrace.c:
18723         * gst/gstvalue.c:
18724         * gst/gstvalue.h:
18725           docs fixes
18726
18727 2005-11-18  Andy Wingo  <wingo@pobox.com>
18728
18729         * gst/net/gstnetclientclock.c: Turn off debugging.
18730
18731         * check/net/gstnetclientclock.c (test_functioning): Assert that the
18732         times connverge somewhat. Can't make a real test.
18733
18734         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18735         integer arithmetic. Return the minimum of the domain, which can be
18736         set as "internal" for gst_clock_set_calibration.
18737         (gst_net_client_clock_observe_times): Call _set_calibration.
18738         (gst_net_client_clock_new): Call _set_calibration instead of
18739         rate_offset.
18740
18741         * check/net/gstnetclientclock.c (test_functioning): Use the right
18742         adjustment api.
18743
18744         * gst/gstclock.h:
18745         * gst/gstclock.c (gst_clock_get_calibration) 
18746         (gst_clock_set_calibration): New functions, obsolete the ones I
18747         added yesterday. Doh. Precision issues mean we have to extrapolate
18748         from a point in the more recent past than 1970.
18749         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18750         obsolete.
18751         (gst_clock_adjust_unlocked): Use the right calibration data.
18752
18753 2005-11-18  Edward Hervey  <edward@fluendo.com>
18754
18755         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
18756         Also reset the ->current_* values in READY->PAUSED
18757
18758 2005-11-18  Andy Wingo  <wingo@pobox.com>
18759
18760         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18761         Whoops, check the right fd. Also add some debugging.
18762         (gst_net_client_clock_observe_times): Adjust for int64 offset.
18763         (do_linear_regression): Add a crapload of debugging. Subtract off
18764         the minimum values from the input series to discard unneeded bits.
18765         Use only int arithmetic. There is still double arithmetic when
18766         calculating the intercept that needs fixing. Return boolean to
18767         indicate success; FALSE would mean the domain or range is too
18768         great. Still needs fixes.
18769
18770 2005-11-18  Wim Taymans  <wim@fluendo.com>
18771
18772         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18773         For the current position in stream time, we need to subtract
18774         accumulated time.
18775         
18776         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18777         Release lock before calling the callback function of async
18778         entries.
18779
18780 2005-11-18  Andy Wingo  <wingo@pobox.com>
18781
18782         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18783         Port goes all the way to MAXUINT16.
18784
18785         * gst/net/gstnettimeprovider.c: Make the port range the same as
18786         for the kernel: 0 assigns, otherwise ports are less than
18787         MAXUINT16.
18788
18789         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18790         port change.
18791
18792         * check/net/gstnetclientclock.c (test_functioning): Add the start
18793         of another test. 
18794
18795 2005-11-18  Wim Taymans  <wim@fluendo.com>
18796
18797         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18798         (gst_bin_remove_func), (bin_bus_handler):
18799         * gst/gstbin.h:
18800         Removing a clock provider from a bin, triggers a clock lost message
18801         so that a new clock will be selected.
18802         Adding a clock to a bin triggers a clock provider message.
18803         Make sure we reselect a clock when we received a clock lost message.
18804         Keep a reference to the element that provided the clock.
18805
18806 2005-11-18  Andy Wingo  <wingo@pobox.com>
18807
18808         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18809         the clock initially so it produces values around the base time.
18810         (gst_net_client_clock_class_init): Typo fix.
18811         (gst_net_client_clock_thread): Add note on when the socket gets
18812         closed.
18813
18814 2005-11-17  Wim Taymans  <wim@fluendo.com>
18815
18816         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18817         Free remote and local time arrays.
18818
18819 2005-11-17  Wim Taymans  <wim@fluendo.com>
18820
18821         * gst/net/gstnetclientclock.c: (do_linear_regression),
18822         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18823         Fix compilation, uninitialized vars and a forgotten continue.
18824
18825 2005-11-17  Andy Wingo  <wingo@pobox.com>
18826
18827         * check/Makefile.am (check_PROGRAMS): 
18828         * check/net/gstnetclientclock.c: Add a most minimal test for the
18829         net client clock. More to come later.
18830
18831         * gst/net/gstnet.h: 
18832         * gst/net/Makefile.am: Add netclientclock.
18833
18834         * gst/net/gstnetclientclock.h:
18835         * gst/net/gstnetclientclock.c: New files, implement an untested
18836         GstClock that takes its time from a network time provider.
18837         Implements the algorithm in network-clock.scm.
18838
18839         * tests/network-clock.scm (*window-size*): Rename from
18840         *queue-length*.
18841         * tests/network-clock.scm (network-time): 
18842         * tests/network-clock-utils.scm (q-push): Update callers.
18843
18844 2005-11-17  Wim Taymans  <wim@fluendo.com>
18845
18846         * gst/gstbin.c: (gst_bin_provide_clock_func),
18847         (gst_bin_sort_iterator_new):
18848         And unref the child too..
18849
18850 2005-11-17  Wim Taymans  <wim@fluendo.com>
18851
18852         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18853         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18854         Refactor the sort iterator so it can be used while holding the
18855         LOCK too.
18856         Make clock selection select a clock closest to the source.
18857
18858 2005-11-17  Michael Smith <msmith@fluendo.com>
18859
18860         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18861         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18862         * gst/gstclock.h:
18863           Anonymous structs are a gcc (and some other compilers) extension, so
18864           don't use them. Since this is only for ABI-compatibility, and our
18865           API/ABI freeze is over in a few days, this whole thing will only
18866           last a few days, so don't bother trying to think up a meaningful
18867           name for the struct.
18868
18869 2005-11-17  Andy Wingo  <wingo@pobox.com>
18870
18871         * gst/gstclock.h (GstClock): Add rate and offset properties,
18872         preserving ABI stability. Add rate/offset accessors. Will file bug
18873         for the freeze break.
18874
18875         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18876         and offset, trying to keep precision and avoiding
18877         underflow/overflow.
18878         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18879         functions. Make gst_clock_set_time_adjust obsolete.
18880         (gst_clock_set_time_adjust): Note that this function is obsolete.
18881         Will file bug soon.
18882
18883         * gst/base/gstbasetransform.h: Make the ABI-stability hack
18884         greppable by using GST_PADDING-1+1.
18885
18886 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
18887
18888         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18889
18890         * gst/gstmessage.c: (gst_message_parse_clock_lost):
18891           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18892
18893         * gst/gstpadtemplate.h:
18894         * gst/gstpluginfeature.h:
18895           Don't use c++ style comments in headers (#321638).
18896
18897 2005-11-16  Andy Wingo  <wingo@pobox.com>
18898
18899         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18900         buffer.
18901
18902         * check/net/gstnettimeprovider.c: Check to see that the time
18903         provider actually provides times. Works, yo!
18904
18905 2005-11-16  Wim Taymans  <wim@fluendo.com>
18906
18907         * check/Makefile.am:
18908         Enable more tests.
18909
18910         * check/elements/fakesrc.c: (GST_START_TEST):
18911         Set element to NULL before disposing it.
18912
18913 2005-11-16  Andy Wingo  <wingo@pobox.com>
18914
18915         * gst/net/Makefile.am:
18916         * gst/net/gstnet.h:
18917         * gst/net/gstnettimeprovider.c: 
18918         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18919         provider, include it from gstnet.h, and add it to the build.
18920
18921         * gst/net/gstnettimepacket.h: 
18922         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18923         sending and receiving.
18924
18925 2005-11-16  Wim Taymans  <wim@fluendo.com>
18926
18927         * check/Makefile.am:
18928         Enable valgrind check.
18929
18930         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18931         (gst_fake_src_alloc_buffer):
18932         Fix memleak.
18933
18934 2005-11-16  Wim Taymans  <wim@fluendo.com>
18935
18936         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18937         Call parent finalize too.
18938
18939 2005-11-16  Wim Taymans  <wim@fluendo.com>
18940
18941         * check/Makefile.am:
18942         Enable valgrind check that should work fine now.
18943
18944         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18945         * gst/gstqueue.c: (gst_queue_init):
18946         Fix memleaks in pad allocation.
18947
18948 2005-11-16  Andy Wingo  <wingo@pobox.com>
18949
18950         * gst/net/Makefile.am:
18951         * gst/net/gstnet.h: New part of core to hold network elements and
18952         objects. Put in core because it exposes API that applications want
18953         to use. The library is named libgstnet-tempname right now because
18954         of the existing libgstnet in gst-plugins-base. Solution is
18955         probably to rename the one in plugins-base; will file a bug for
18956         the freeze break.
18957
18958         * gst/net/gstnettimeprovider.c: 
18959         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
18960         get_time call over the network.
18961
18962         * configure.ac: 
18963         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
18964
18965         * check/Makefile.am:
18966         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
18967         get additions shortly.
18968
18969 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18970
18971         * gst/gstpad.c: (gst_pad_new_from_static_template):
18972         * gst/gstpad.h:
18973           add gst_pad_new_from_static_template functions
18974         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
18975         (gst_check_setup_sink_pad):
18976         * gst/elements/gsttee.c: (gst_tee_init):
18977           and use them
18978
18979 2005-11-16  Wim Taymans  <wim@fluendo.com>
18980
18981         * gst/gstpad.c: (gst_pad_pause_task):
18982         Removed warning, it's not really an error either.
18983
18984 2005-11-16  Wim Taymans  <wim@fluendo.com>
18985
18986         * gst/base/gstbasetransform.c:
18987         (gst_base_transform_prepare_output_buf),
18988         (gst_base_transform_event):
18989         Check if the caps are NULL, this can happen if the element
18990         is shutting down and the pad caps are set to NULL.
18991
18992 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18993
18994         * gst/elements/gsttee.c: (gst_tee_init):
18995           fix pad template leak in tee
18996
18997 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18998
18999         * gst/glib-compat.c: (g_value_dup_gst_object):
19000         * gst/glib-compat.h:
19001         * gst/gstpad.c: (gst_pad_set_property):
19002           use gst_object_ref when setting the pad template; this will
19003           trigger the pad template leaks on GLib 2.6 and the slaves
19004
19005 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19006
19007         * gst/glib-compat.c: (gst_flags_get_first_value):
19008         * gst/glib-compat.h:
19009         * gst/gstregistryxml.c:
19010           remove functions copied from GLib 2.6
19011
19012 2005-11-16  Michael Smith <msmith@fluendo.com>
19013
19014         * gst/Makefile.am:
19015           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19016           do, but only breaks with newer valgrind versions. We're not a
19017           valgrind tool, we have no link-time dependencies on libcoregrind.
19018
19019 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19020
19021         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19022           some debug changes
19023         * gst/gstmessage.h:
19024           typo fixes
19025
19026 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19027
19028         * gst/base/gstbasesrc.c: (gst_base_src_init):
19029         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19030         * gst/gstqueue.c: (gst_queue_init):
19031         * gst/gstregistryxml.c: (load_feature):
19032           Revert all these unrefs, they don't even pass make check !
19033
19034 2005-11-15  Johan Dahlin  <johan@gnome.org>
19035
19036         * gst/base/gstbasesrc.c: (gst_base_src_init):
19037         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19038         * gst/gstqueue.c: (gst_queue_init): 
19039         Free pad templates, fixes a couple of leaks.
19040
19041 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19042
19043         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19044
19045         * gst/gstpad.c: (gst_pad_get_property):
19046           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19047           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19048           (#321452)
19049
19050 2005-11-15  Wim Taymans  <wim@fluendo.com>
19051
19052         * gst/gstevent.c:
19053         Small doc update.
19054
19055 2005-11-15  Andy Wingo  <wingo@pobox.com>
19056
19057         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19058
19059         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19060         using GST_CLOCK_TIME_NONE to disable base time management.
19061         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19062         time if it was NONE before.
19063         (gst_pipeline_change_state): Only munge the base time if
19064         stream_time != GST_CLOCK_TIME_NONE.
19065
19066         * check/gst/gstpipeline.c (test_base_time): Punt around the
19067         problem of the probe not being called, because that's not the
19068         issue I'm looking at. Add a check that setting stream_time to NONE
19069         disables base time management.
19070         
19071 2005-11-15  Wim Taymans  <wim@fluendo.com>
19072
19073         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19074         segment_stop == -1 at startup.
19075
19076         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19077         (gst_base_transform_change_state):
19078         Init segment values at start.
19079
19080 2005-11-15  Wim Taymans  <wim@fluendo.com>
19081
19082         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19083         0 segment values are 0 in any format.
19084
19085         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19086         * gst/base/gstbasetransform.h:
19087         Parse newsegment correctly in basetransform
19088
19089         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19090         Sync to clock using updated segment values.
19091
19092 2005-11-15  Andy Wingo  <wingo@pobox.com>
19093
19094         * check/gst/gstpipeline.c (test_base_time): Add check that the
19095         base time and stream time are reset correctly.
19096
19097 2005-11-15  Wim Taymans  <wim@fluendo.com>
19098
19099         * docs/design/part-TODO.txt:
19100         Some more TODO items.
19101
19102 2005-11-15  Andy Wingo  <wingo@pobox.com>
19103
19104         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19105         error if the user selected "no clock" as the clocking method.
19106
19107         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19108         timestamps with live capture.
19109
19110         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19111         is 0 but we are a live source, timestamp the buffers using the
19112         element's clock.
19113
19114 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19115
19116         * docs/gst/gstreamer-sections.txt:
19117         * gst/gsterror.c:
19118         * gst/gstghostpad.c:
19119         * gst/gstobject.h:
19120         * gst/gstxml.c:
19121           more section docs
19122
19123 2005-11-14  Wim Taymans  <wim@fluendo.com>
19124
19125         * common/gst.supp:
19126           add suppressions from Wim's Debian machine
19127
19128 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19129
19130         * common/gst.supp:
19131           add suppressions from Andy's AMD64 Ubuntu machine
19132
19133 2005-11-14  Andy Wingo  <wingo@pobox.com>
19134
19135         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19136         STATE_LOCK not necessary. Fixes #311489.
19137
19138         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19139         #305291.
19140
19141         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19142         this function is not implemented.
19143
19144 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19145
19146         * gst/base/gstbasetransform.c:
19147         (gst_base_transform_prepare_output_buf):
19148         Ref the source pad caps while we need them.
19149         Fixes (#321386)
19150
19151 2005-11-11  Wim Taymans  <wim@fluendo.com>
19152
19153         * docs/gst/gstreamer-sections.txt:
19154         Added some docs for GstCollectData.
19155
19156         * gst/base/gstadapter.c:
19157         Some small code example fix.
19158
19159         * gst/base/gstcollectpads.c:
19160         * gst/base/gstcollectpads.h:
19161         Document some more.
19162
19163 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19164
19165         * configure.ac: back to HEAD
19166
19167 === release 0.9.5 ===
19168
19169 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19170
19171         * configure.ac:
19172           releasing 0.9.5, "Bike Lunch Day"
19173
19174 2005-11-11  Wim Taymans  <wim@fluendo.com>
19175
19176         * gst/gstbuffer.c: (_gst_buffer_copy):
19177         Copy more flags.
19178
19179         * gst/gstcaps.c: (gst_caps_is_equal):
19180         Fix some docs.
19181         Make _is_equal fast in the trivial cases.
19182
19183         * gst/gstminiobject.c:
19184         * gst/gstminiobject.h:
19185         More docs. Spifify .h file.
19186
19187         * gst/gstutils.c:
19188         Small doc update.
19189
19190 2005-11-11  Wim Taymans  <wim@fluendo.com>
19191
19192         * gst/base/gstbasetransform.c:
19193         (gst_base_transform_prepare_output_buf),
19194         (gst_base_transform_handle_buffer):
19195         Small cleanups.
19196         If we're processing a buffer and need to allocate an output
19197         buffer, we cannot accept a format change. If we did get a 
19198         format change, we have to alloc a buffer ourselves of the 
19199         right size.
19200
19201 2005-11-11  Wim Taymans  <wim@fluendo.com>
19202
19203         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19204         While checking the flag for reentrancy in the gstcaps function
19205         is nice to detect recursive invocations, it also makes it 
19206         impossible to call getcaps from multiple threads, which must be
19207         possible. So, checking for recursive calls has to go.
19208
19209 2005-11-11  Michael Smith <msmith@fluendo.com>
19210
19211         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19212           Don't sync on buffers that fall partially outside our current
19213           segment. Prevents an assertion failure/abort playing some files.
19214
19215 2005-11-10  Andy Wingo  <wingo@pobox.com>
19216
19217         * check/gst/gstbin.c (test_message_state_changed_children): Style
19218         fix..
19219
19220         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19221         gst_bus_poll with the signal watch. Ensures that poll and a signal
19222         watch see the same messages.
19223
19224         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19225         a poll and a watch at the same time get the same messages.
19226
19227 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19228
19229         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19230         * gst/gstcaps.c: (gst_caps_intersect):
19231           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19232           and it's not needed.
19233
19234 2005-11-10  Wim Taymans  <wim@fluendo.com>
19235
19236         * docs/design/part-TODO.txt:
19237         Updated todo.
19238
19239 2005-11-10  Wim Taymans  <wim@fluendo.com>
19240
19241         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19242         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19243         (gst_base_src_do_sync), (gst_base_src_get_range):
19244         Implement clock sync in base class.
19245
19246 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19247
19248         patch by: Tim-Philipp Müller <tim at centricular dot net>
19249
19250         * gst/gststructure.c: (gst_structure_parse_field),
19251         (gst_structure_from_string):
19252           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19253           so that gst_parse_launch() can deal with spaces in filtered link
19254           caps (fixes #164479)
19255         * check/gst/capslist.h:
19256         * check/gst/gststructure.c: (GST_START_TEST):
19257           add unit tests for this change
19258
19259 2005-11-10  Wim Taymans  <wim@fluendo.com>
19260
19261         * docs/gst/gstreamer-sections.txt:
19262         * gst/gstelement.c:
19263         * gst/gstelement.h:
19264         Fix docs, move some STATE macros to private.
19265
19266 2005-11-10  Wim Taymans  <wim@fluendo.com>
19267
19268         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19269         Added check for bug #317341
19270
19271         * gst/gstbuffer.c:
19272         * gst/gstbuffer.h:
19273         Some more spiffifying.
19274
19275         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19276         Call peer linkfunction if we are a source pad. Totally fixes
19277         #317341
19278
19279         * gst/gstpad.c:
19280         Update docs, source pads should call the peer linkfunction
19281         so they can atomically perform the pad link.
19282
19283 2005-11-09  Wim Taymans  <wim@fluendo.com>
19284
19285         * gst/gstbuffer.c:
19286         * gst/gstbuffer.h:
19287         Uber-spiffy-spiffify some more.
19288
19289 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19290
19291         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19292         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19293         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19294         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19295         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19296         * gst/gstpad.c: (gst_pad_init):
19297           Use GST_DEBUG_FUNCPTR() more extensively.
19298
19299 2005-11-09  Wim Taymans  <wim@fluendo.com>
19300
19301         * gst/gstobject.c: (gst_object_class_init):
19302         * gst/gstobject.h:
19303         Documentation fixes.
19304
19305 2005-11-09  Edward Hervey  <edward@fluendo.com>
19306
19307         * gst/gsttypefindfactory.c:
19308         Fix docs.
19309         
19310 2005-11-09  Edward Hervey  <edward@fluendo.com>
19311
19312         * gst/base/gsttypefindhelper.c:
19313         * gst/gsttypefind.c:
19314         * gst/gsttypefind.h:
19315         Fix docs.
19316
19317 2005-11-09  Wim Taymans  <wim@fluendo.com>
19318
19319         * gst/gstiterator.c:
19320         Fix revision data.
19321
19322         * gst/gsttask.c:
19323         * gst/gsttask.h:
19324         Fix docs.
19325
19326 2005-11-09  Wim Taymans  <wim@fluendo.com>
19327
19328         * gst/gstevent.h:
19329         * gst/gsturi.h:
19330         Fix docs.
19331
19332 2005-11-09  Wim Taymans  <wim@fluendo.com>
19333
19334         * docs/gst/gstreamer-sections.txt:
19335         Moved the message async delivery private lock and cond
19336         to the private section.
19337
19338         * gst/gstmessage.c:
19339         * gst/gstmessage.h:
19340         Fixed docs.
19341
19342 2005-11-09  Edward Hervey  <edward@fluendo.com>
19343
19344         * docs/gst/gstreamer-sections.txt:
19345         * gst/gsturi.c:
19346         * gst/gsturi.h:
19347         Document GstURIHandler
19348
19349 2005-11-09  Wim Taymans  <wim@fluendo.com>
19350
19351         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19352         (gst_iterator_find_custom):
19353         * gst/gstiterator.h:
19354         Fix iterator docs.
19355
19356 2005-11-09  Wim Taymans  <wim@fluendo.com>
19357
19358         * gst/gstbin.h:
19359         Document another field.
19360
19361         * gst/gststructure.c:
19362         * gst/gststructure.h:
19363         Document.
19364
19365 2005-11-09  Wim Taymans  <wim@fluendo.com>
19366
19367         * gst/gstbin.h:
19368         Documented structs.
19369
19370 2005-11-09  Wim Taymans  <wim@fluendo.com>
19371
19372         * docs/gst/gstreamer-sections.txt:
19373         Added some new macros.
19374
19375         * gst/gstclock.c:
19376         * gst/gstclock.h:
19377         * gst/gstobject.h:
19378         Docs updates.
19379
19380 2005-11-09  Wim Taymans  <wim@fluendo.com>
19381
19382         * docs/design/part-TODO.txt:
19383         Some more items for the TODO
19384
19385         * gst/gstcaps.c:
19386         * gst/gstcaps.h:
19387         Document GstCaps.
19388
19389 2005-11-09  Andy Wingo  <wingo@pobox.com>
19390
19391         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19392         to work on something else now tho...
19393
19394         * gst/base/gstadapter.c: More adapter docs.
19395
19396         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19397         (gst_file_sink_stop): New functions, replace the state change
19398         handler.
19399         (gst_file_sink_class_init): Hook up the start and stop functions.
19400         (gst_file_sink_base_init): Don't set the state change handler any
19401         more. It was a bit ugly too, being set from here...
19402         (gst_file_sink_get_property, gst_file_sink_set_property):
19403         Cleanups...
19404         (gst_file_sink_set_location): More robust check that doesn't call
19405         GST_STATE. Ugggggg.
19406
19407 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19408
19409         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19410           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19411
19412 2005-11-08  Wim Taymans  <wim@fluendo.com>
19413
19414         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19415         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19416         (gst_base_sink_chain), (gst_base_sink_change_state):
19417         * gst/base/gstbasesink.h:
19418         * gst/base/gstbasesrc.h:
19419         * gst/gstelement.h:
19420         * gst/gstevent.h:
19421         Avoid excessive typechecking in macros.
19422
19423         * gst/gstminiobject.c: (gst_mini_object_get_type),
19424         (gst_mini_object_init), (gst_mini_object_new),
19425         (gst_mini_object_free):
19426         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19427         (gst_object_finalize):
19428         Remove cruft code, optimize alloc_trace.
19429
19430 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19431
19432         * docs/faq/gst-uninstalled:
19433           fix up PS1 for systems that try to reset it
19434
19435 2005-11-07  Wim Taymans  <wim@fluendo.com>
19436
19437         * gst/base/gstbasesrc.c: (gst_base_src_init),
19438         (gst_base_src_get_range):
19439         Set the segment_end to -1 initially. Fixed typefind.
19440
19441 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19442
19443         * gst/base/gstadapter.c:
19444           Debug category should be 'adapter', not 'GstAdapter'.
19445           
19446         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19447         (gst_collectpads_class_init), (gst_collectpads_init),
19448         (gst_collectpads_peek), (gst_collectpads_pop),
19449         (gst_collectpads_event), (gst_collectpads_chain):
19450           Add debug category and some debugging output. Use boilerplate
19451           macros. Remove some extraneous words from docs.
19452
19453 2005-11-05  Andy Wingo  <wingo@pobox.com>
19454
19455         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19456         macro.
19457
19458 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19459
19460         * docs/gst/gstreamer-sections.txt:
19461         * gst/gstcaps.h:
19462         * gst/gstinfo.c:
19463         * gst/gstminiobject.h:
19464         * gst/gstobject.h:
19465         * gst/gstutils.h:
19466           more docs added
19467
19468 2005-11-04  Wim Taymans  <wim@fluendo.com>
19469
19470         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19471         Small update to stop at the configured segment_end
19472         position.
19473
19474 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19475
19476         * gst/gstregistry.c:
19477         * gst/gstregistry.h:
19478           added missing docs
19479
19480 2005-11-04  Edward Hervey  <edward@fluendo.com>
19481
19482         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19483         Check if we are doing a segment seek and have arrived at the
19484         end of that segment.
19485
19486 2005-11-04  Wim Taymans  <wim@fluendo.com>
19487
19488         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19489         Don't leak a mutex unlock in case of an error.
19490
19491         * gst/gstbus.h:
19492         Doc fixes.
19493
19494 2005-11-04  Wim Taymans  <wim@fluendo.com>
19495
19496         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19497         (gst_bus_post):
19498         Get the context to wake up only once.
19499
19500 2005-11-03  Wim Taymans  <wim@fluendo.com>
19501
19502         * check/states/sinks.c: (GST_START_TEST):
19503         Uncomment fixed check.
19504
19505         * docs/design/part-TODO.txt:
19506         Updated TODO.
19507
19508         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19509         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19510         (gst_base_sink_get_position):
19511         If we are going to PLAYING, post the right pending state
19512         when we post the intermediate paused message.
19513
19514         * gst/gstelement.c: (gst_element_continue_state),
19515         (gst_element_set_state_func), (gst_element_change_state):
19516         Don't post state changes that were between the same state
19517         and were not ASYNC.
19518
19519 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19520
19521         * docs/gst/gstreamer-sections.txt:
19522         * gst/gstcaps.h:
19523         * gst/gstinfo.c:
19524         * gst/gstminiobject.h:
19525         * gst/gstobject.h:
19526         * gst/gstutils.h:
19527           more docs and doc style fixes
19528
19529 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19530
19531         * docs/gst/gstreamer-sections.txt:
19532         * gst/gstelement.c:
19533         * gst/gstminiobject.c:
19534         doc fixes
19535
19536 2005-11-03  Andy Wingo  <wingo@pobox.com>
19537
19538         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19539         state-changed messages actually have the right order and the right
19540         values.
19541
19542 2005-11-03  Wim Taymans  <wim@fluendo.com>
19543
19544         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19545         Added some more checks. Specifically the case where NO_PREROLL
19546         elements are in the pipeline.
19547
19548         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19549         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19550         (gst_base_sink_get_position):
19551         Post READY->PAUSED state change messages too.
19552         Fix bug where VOID was posted as pending state...
19553
19554         * gst/gstbin.c: (gst_bin_recalc_state):
19555         use _element_continue_state() to continue the state change.
19556
19557         * gst/gstelement.c: (gst_element_continue_state),
19558         (gst_element_commit_state), (gst_element_set_state_func),
19559         (gst_element_change_state), (gst_element_change_state_func):
19560         Lots of state change cleanups, assign the STATE_RETURN in
19561         a new continue_state() function that also propagates the
19562         last return value from a state change to the app.
19563         Update some debug statements with proper category.
19564
19565 2005-11-03  Wim Taymans  <wim@fluendo.com>
19566
19567         * docs/design/part-events.txt:
19568         * docs/design/part-gstpipeline.txt:
19569         * docs/design/part-messages.txt:
19570         * docs/design/part-overview.txt:
19571         * docs/design/part-seeking.txt:
19572         * docs/design/part-states.txt:
19573         * docs/design/part-trickmodes.txt:
19574         * docs/manual/advanced-position.xml:
19575         Small docs updates.
19576
19577         * gst/gstobject.h:
19578         People think !! is ugly, this looks better.
19579
19580         * gst/gstpad.c: (gst_pad_set_blocked_async):
19581         Remove !! since it's fixed elsewhere now.
19582
19583 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19584
19585         * gst/gstminiobject.h:
19586         * gst/gstobject.h:
19587           Add !! to _FLAG_IS_SET macros to make the result boolean.
19588
19589 2005-11-03  Edward Hervey  <edward@fluendo.com>
19590
19591         * gst/gstpad.c: (gst_pad_set_blocked_async):
19592         comparing a flag and a gboolean rarely returns coherent results...
19593         Added two characters (!!) to make that work correctly.
19594         
19595 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19596
19597         * gst/gstbus.c: (gst_bus_class_init):
19598           Fix some typos.
19599           
19600         * gst/gstqueue.c: (gst_queue_loop):
19601           Don't assume a miniobject that isn't a buffer is an
19602           event (it could be that there is a refcounting
19603           problem somewhere and the pointer is stale and
19604           refers to an already destroyed miniobject).
19605
19606 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19607
19608         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19609
19610 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19611
19612         * docs/manual/advanced-position.xml:
19613           Update seek example and explanations to current 0.9 API.
19614
19615         * gst/elements/gsttypefindelement.c:
19616         (gst_type_find_element_activate):
19617           Remove FIXME comment now that the found caps
19618           are unreffed.
19619
19620 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19621
19622         * gst/gstregistryxml.c: (load_feature):
19623           Add another GST_STR_NULL instance
19624
19625 2005-11-02  Edward Hervey  <edward@fluendo.com>
19626
19627         * gst/gstpad.c: (handle_pad_block):
19628         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19629         
19630 2005-11-02  Wim Taymans  <wim@fluendo.com>
19631
19632         * gst/gstbin.c:
19633         Fix typo in docs.
19634
19635         * gst/gstelement.c: (gst_element_commit_state):
19636         Remove unused value.
19637
19638         * gst/gstiterator.c:
19639         Mention that the returned element is reffed in the docs.
19640
19641 2005-11-02  Wim Taymans  <wim@fluendo.com>
19642
19643         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19644         (gst_pad_push), (gst_pad_push_event):
19645         Unlock blocked pads when they are flushed.
19646
19647 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19648
19649         * docs/README:
19650         * docs/gst/gstreamer-sections.txt:
19651         * gst/gstbin.c:
19652           doc updates
19653         * gst/gstregistry.c: (gst_registry_scan_path_level):
19654           fix for a nasty little missed situation where an installed plug-in
19655           which was in the cache did not get overridden by an uninstalled one
19656           which was earlier in the plugin path because the newly created plugin
19657           for the uninstalled one (not in the registry) didn't get its
19658           ->registered set to TRUE
19659
19660 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19661
19662         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19663         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19664         (gst_collectpads_is_active), (gst_collectpads_collect),
19665         (gst_collectpads_collect_range), (gst_collectpads_start),
19666         (gst_collectpads_stop), (gst_collectpads_peek),
19667         (gst_collectpads_pop), (gst_collectpads_available),
19668         (gst_collectpads_read), (gst_collectpads_flush):
19669           Guard public API with assertions.
19670         
19671         * gst/gstpad.c:
19672           Fix docs for gst_pad_set_link_function().
19673
19674 2005-11-02  Johan Dahlin  <johan@gnome.org>
19675
19676         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
19677         Unref found_caps after we used it.
19678
19679 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19680
19681         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19682           Don't try to ref NULL.
19683
19684 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19685
19686         * win32/common/config.h.in:
19687           provide a GST_FUNCTION that just gives a string for now
19688
19689 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19690
19691         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19692         (gst_object_flags_get_type), (register_gst_bin_flags),
19693         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19694         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19695         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19696         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19697         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19698         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19699         (gst_clock_flags_get_type), (register_gst_state),
19700         (gst_state_get_type), (register_gst_state_change_return),
19701         (gst_state_change_return_get_type), (register_gst_state_change),
19702         (gst_state_change_get_type), (register_gst_element_flags),
19703         (gst_element_flags_get_type), (register_gst_core_error),
19704         (gst_core_error_get_type), (register_gst_library_error),
19705         (gst_library_error_get_type), (register_gst_resource_error),
19706         (gst_resource_error_get_type), (register_gst_stream_error),
19707         (gst_stream_error_get_type), (register_gst_event_type),
19708         (gst_event_type_get_type), (register_gst_seek_type),
19709         (gst_seek_type_get_type), (register_gst_seek_flags),
19710         (gst_seek_flags_get_type), (register_gst_format),
19711         (gst_format_get_type), (register_gst_index_certainty),
19712         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19713         (gst_index_entry_type_get_type),
19714         (register_gst_index_lookup_method),
19715         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19716         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19717         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19718         (gst_index_flags_get_type), (register_gst_debug_level),
19719         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19720         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19721         (gst_iterator_result_get_type), (register_gst_iterator_item),
19722         (gst_iterator_item_get_type), (register_gst_message_type),
19723         (gst_message_type_get_type), (register_gst_mini_object_flags),
19724         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19725         (gst_pad_link_return_get_type), (register_gst_flow_return),
19726         (gst_flow_return_get_type), (register_gst_activate_mode),
19727         (gst_activate_mode_get_type), (register_gst_pad_direction),
19728         (gst_pad_direction_get_type), (register_gst_pad_flags),
19729         (gst_pad_flags_get_type), (register_gst_pad_presence),
19730         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19731         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19732         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19733         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19734         (gst_plugin_flags_get_type), (register_gst_rank),
19735         (gst_rank_get_type), (register_gst_query_type),
19736         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19737         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19738         (gst_tag_flag_get_type), (register_gst_task_state),
19739         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19740         (gst_alloc_trace_flags_get_type),
19741         (register_gst_type_find_probability),
19742         (gst_type_find_probability_get_type), (register_gst_uri_type),
19743         (gst_uri_type_get_type), (register_gst_parse_error),
19744         (gst_parse_error_get_type):
19745         * win32/common/gstversion.h:
19746           update win32 copies
19747
19748 2005-11-01  Luca Ognibene  <luogni@tin.it>
19749
19750         * gst/gst.c:
19751           fix docs. popt is dead, long live GOption.
19752
19753 2005-10-31  Wim Taymans  <wim@fluendo.com>
19754
19755         * gst/gstbuffer.h:
19756         Small doc fix.
19757
19758 2005-10-31  Andy Wingo  <wingo@pobox.com>
19759
19760         * Boo!
19761
19762         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19763
19764         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19765         need to serialize property notifications on GLib 2.8. GLib 2.6 has
19766         the possibility of deadlocks here if code calling notify() or
19767         set() has a lock that can be taken in another notify handler (ABBA
19768         with class lock and e.g. python GIL state lock).
19769
19770 2005-10-28  Julien MOUTTE  <julien@moutte.net>
19771
19772         * gst/gstbus.c: Doc updates.
19773
19774 2005-10-28  Wim Taymans  <wim@fluendo.com>
19775
19776         * docs/design/part-TODO.txt:
19777         * gst/gstiterator.c:
19778         * gst/gstsystemclock.c:
19779         * gst/gstsystemclock.h:
19780         Doc updates.
19781
19782 2005-10-28  Edward Hervey  <edward@fluendo.com>
19783
19784         * docs/gst/gstreamer-docs.sgml:
19785         * docs/gst/gstreamer-sections.txt:
19786         the GstURIType documentation page is private, it only defines GstURIType
19787         which should be defined in the GstURIHandler page
19788         
19789 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19790
19791         * gst/gstbin.c: (gst_bin_class_init):
19792         * gst/gstbin.h:
19793         * gst/gstutils.c:
19794         Documentation updates.
19795
19796 2005-10-28  Wim Taymans  <wim@fluendo.com>
19797
19798         * docs/gst/gstreamer-sections.txt:
19799         * gst/gstclock.c:
19800         * gst/gstclock.h:
19801         Documented the clocks.
19802
19803 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
19804
19805         * docs/gst/gstreamer-sections.txt:
19806           move some macros to private sections
19807         * gst/gstminiobject.c:
19808         * gst/gstminiobject.h:
19809           add descriptions provided by ds and some more
19810         * gst/gstpad.h:
19811           mark macro as to be removed
19812
19813 2005-10-28  Wim Taymans  <wim@fluendo.com>
19814
19815         * docs/design/part-TODO.txt:
19816         Add an item to TODO.
19817
19818         * gst/gstiterator.c: (gst_iterator_fold),
19819         (gst_iterator_find_custom):
19820         * gst/gstiterator.h:
19821         Add iterator docs.
19822
19823 2005-10-28  Wim Taymans  <wim@fluendo.com>
19824
19825         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19826         (gst_base_transform_init):
19827         Don't leak class.
19828
19829         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19830         An EOS event marks the queue as completely filled.
19831
19832 2005-10-27  Wim Taymans  <wim@fluendo.com>
19833
19834         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19835         (gst_base_sink_do_sync), (gst_base_sink_get_position):
19836         Some more debugging.
19837
19838         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19839         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19840         (gst_base_transform_event), (gst_base_transform_getrange),
19841         (gst_base_transform_chain):
19842         * gst/base/gstbasetransform.h:
19843         Fix debugging,
19844         Protect transform and concurrent buffer alloc with a new lock.
19845         Try not to break ABI/API.
19846
19847 2005-10-27  Wim Taymans  <wim@fluendo.com>
19848
19849         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19850         (gst_base_src_init), (gst_base_src_query),
19851         (gst_base_src_default_newsegment),
19852         (gst_base_src_configure_segment), (gst_base_src_do_seek),
19853         (gst_base_src_send_event), (gst_base_src_event_handler),
19854         (gst_base_src_pad_get_range), (gst_base_src_loop),
19855         (gst_base_src_unlock), (gst_base_src_default_negotiate),
19856         (gst_base_src_start), (gst_base_src_deactivate),
19857         (gst_base_src_activate_push), (gst_base_src_change_state):
19858         Move some stuff around and cleanup things.
19859
19860 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
19861
19862         * gst/base/gstbasesrc.c: (gst_base_src_query):
19863           Add missing break statements.
19864
19865 2005-10-27  Wim Taymans  <wim@fluendo.com>
19866
19867         * check/gst/gstbin.c: (GST_START_TEST):
19868         An extra refcount is taken in basesrc.
19869
19870         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19871         (gst_base_src_get_range), (gst_base_src_pad_get_range),
19872         (gst_base_src_loop):
19873         Small cleanups, check for flushing after being unlocked from the 
19874         LIVE_LOCK. take refcounts correctly (not yet everywhere).
19875         Don't send out EOS when going to READY.
19876
19877 2005-10-27  Wim Taymans  <wim@fluendo.com>
19878
19879         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19880         (gst_base_sink_get_position):
19881         Some more debug.
19882
19883         * gst/gstbin.c: (message_check), (bin_replace_message),
19884         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19885         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19886         (bin_query_duration_init), (bin_query_duration_fold),
19887         (bin_query_duration_done), (bin_query_generic_fold),
19888         (gst_bin_query):
19889         * tools/gst-launch.c: (main):
19890         Remove old option.
19891
19892 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
19893
19894         * examples/controller/audio-example.c: (main):
19895         * examples/queue/queue.c: (event_loop):
19896         * gst/base/gstbasetransform.h:
19897         * gst/gstelement.c: (gst_element_send_event):
19898         * gst/gstevent.h:
19899         * gst/gstpad.c: (gst_pad_send_event):
19900           fixing examples
19901           fixing docs typos
19902           changing log priority in error situations
19903
19904 2005-10-25  Wim Taymans  <wim@fluendo.com>
19905
19906         * gst/gstbin.c: (message_check), (bin_replace_message),
19907         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19908         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19909         (bin_query_duration_init), (bin_query_duration_fold),
19910         (bin_query_duration_done), (bin_query_generic_fold),
19911         (gst_bin_query):
19912         Some doc and debug updates.
19913         Cache previously requested query DURATION for speed. invalidate
19914         cached duration if element posts a DURATION message.
19915
19916 2005-10-25  Wim Taymans  <wim@fluendo.com>
19917
19918         * docs/design/part-TODO.txt:
19919         Update TODO.
19920
19921         * gst/gstbin.c: (message_check), (bin_replace_message),
19922         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19923         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19924         (bin_query_duration_init), (bin_query_duration_fold),
19925         (bin_query_duration_done), (bin_query_generic_fold),
19926         (gst_bin_query):
19927         Handle SEGMENT_START/DONE messages correctly.
19928         More evolved query algorithm that handles duration queries
19929         correctly.
19930
19931         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19932         (gst_element_get_state_func), (gst_element_abort_state),
19933         (gst_element_commit_state), (gst_element_lost_state):
19934         Some more debugging.
19935
19936         * gst/gstmessage.h:
19937         Added doc.
19938
19939 2005-10-25  Wim Taymans  <wim@fluendo.com>
19940
19941         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19942         Don't use invalid stream_time.
19943
19944         * gst/gstevent.c: (gst_event_new_newsegment):
19945         stream_time in newsegment cannot be undefined.
19946
19947 2005-10-24  Wim Taymans  <wim@fluendo.com>
19948
19949         * gst/gstbus.c:
19950         Doc fix.
19951
19952         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19953         (gst_queue_loop):
19954         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
19955
19956 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
19957
19958         * docs/libs/tmpl/gstdparam.sgml:
19959         * docs/libs/tmpl/gstdplinint.sgml:
19960         * docs/libs/tmpl/gstdpman.sgml:
19961         * docs/libs/tmpl/gstdpsmooth.sgml:
19962         * docs/libs/tmpl/gstunitconvert.sgml:
19963           these are obsolete
19964
19965 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19966
19967         * configure.ac:
19968           back to HEAD
19969
19970 === release 0.9.4 ===
19971
19972 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19973
19974         * configure.ac:
19975           releasing 0.9.4, "Tyrannosaurus Rex"
19976
19977 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
19978
19979         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19980         (gst_file_sink_get_current_offset):
19981           Use fseeko() and ftello() if available. When falling back on
19982           lseek() to get the current offset, fflush() first to make sure
19983           everything is up-to-date and we get the right offset.
19984
19985 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19986
19987         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19988         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19989         * gst/gsterror.c: (_gst_stream_errors_init):
19990         * gst/gsterror.h:
19991         * gst/gstqueue.c: (gst_queue_loop):
19992         * po/POTFILES.in:
19993           remove prematurely added error category and clean up the instances
19994
19995 2005-10-21  Wim Taymans  <wim@fluendo.com>
19996
19997         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19998         (gst_base_sink_get_position), (gst_base_sink_query),
19999         (gst_base_sink_change_state):
20000         Simply set the right flag when going to playing, that's all
20001         we need to do instead of calling a function inside the object
20002         lock (that could take the lock as well and deadlock)
20003
20004 2005-10-21  Wim Taymans  <wim@fluendo.com>
20005
20006         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20007         (gst_base_src_loop):
20008         Don't warn, the peer element knows what to do best when
20009         the seek failed, it might try something else.
20010
20011 2005-10-21  Wim Taymans  <wim@fluendo.com>
20012
20013         * gst/base/gstbasesrc.c: (gst_base_src_init),
20014         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20015         Fix seeking.
20016
20017 2005-10-21  Wim Taymans  <wim@fluendo.com>
20018
20019         * docs/design/part-segments.txt:
20020         More docs.
20021
20022         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20023         Correctly set caps, even on the subbufer.
20024
20025 2005-10-21  Wim Taymans  <wim@fluendo.com>
20026
20027         * docs/gst/gstreamer-docs.sgml:
20028         * docs/gst/gstreamer-sections.txt:
20029         * gst/gstelement.h:
20030         * gst/gstevent.c:
20031         * gst/gstevent.h:
20032         * gst/gstmessage.h:
20033         * gst/gstpad.h:
20034         * gst/gstparse.h:
20035         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20036         * gst/gsttask.h:
20037         * gst/gstutils.c:
20038         * gst/gstutils.h:
20039         And 2% more doc coverage.
20040
20041 2005-10-21  Andy Wingo  <wingo@pobox.com>
20042
20043         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20044         position reporting.
20045
20046 2005-10-20  Wim Taymans  <wim@fluendo.com>
20047
20048         * gst/gsterror.c: (gst_error_get_message):
20049         * gst/gstparse.h:
20050         * gst/gstquery.h:
20051         * gst/gststructure.c:
20052         * gst/gsttrace.c:
20053         * gst/gstutils.c:
20054         More docs.
20055
20056 2005-10-20  Wim Taymans  <wim@fluendo.com>
20057
20058         * gst/gstbuffer.h:
20059         * gst/gstpad.c:
20060         * gst/gstparse.c:
20061         Another 1% more coverage.
20062
20063 2005-10-20  Wim Taymans  <wim@fluendo.com>
20064
20065         * docs/gst/gstreamer-sections.txt:
20066         * gst/gstelement.c: (gst_element_get_state_func),
20067         (gst_element_abort_state), (gst_element_commit_state),
20068         (gst_element_lost_state):
20069         * gst/gstevent.h:
20070         * gst/gstquery.c: (gst_query_set_position),
20071         (gst_query_parse_position), (gst_query_set_duration),
20072         (gst_query_parse_duration), (gst_query_new_convert):
20073         * gst/gstutils.c:
20074         Yay! 1% more docs coverage.
20075
20076 2005-10-20  Wim Taymans  <wim@fluendo.com>
20077
20078         * gst/gstpad.h:
20079         * gst/gstquery.c: (gst_query_set_position),
20080         (gst_query_parse_position), (gst_query_set_duration),
20081         (gst_query_parse_duration), (gst_query_new_convert):
20082         * gst/gstquery.h:
20083         * gst/gstutils.c: (gst_element_query_convert):
20084         * gst/gstutils.h:
20085         Docs and consistency fixes.
20086
20087 2005-10-20  Wim Taymans  <wim@fluendo.com>
20088
20089         * gst/gsttask.c:
20090         * gst/gsttask.h:
20091         More docs.
20092
20093 2005-10-20  Wim Taymans  <wim@fluendo.com>
20094
20095         * gst/gstbin.c: (message_check), (bin_replace_message),
20096         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20097         (update_degree), (gst_bin_sort_iterator_next),
20098         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20099         Reworked the message handling a bit, cache the messages instead of
20100         only the senders. alows us to do more in the future.
20101
20102 2005-10-20  Wim Taymans  <wim@fluendo.com>
20103
20104         * docs/design/part-TODO.txt:
20105         Update TODO
20106
20107         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20108         (gst_base_sink_query):
20109         Don't use clock time to report position when in EOS.
20110
20111 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20112
20113         * tools/gst-inspect.c: (print_interfaces),
20114         (print_element_properties_info), (print_element_info):
20115           Fix interface output with gst-inspect -a; don't print
20116           newlines after double/float properties.
20117
20118 2005-10-20  Wim Taymans  <wim@fluendo.com>
20119
20120         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20121         (gst_base_sink_query):
20122         Speed up current position calculation.
20123
20124         * gst/base/gstbasesrc.c: (gst_base_src_query),
20125         (gst_base_src_default_newsegment):
20126         Correctly set stream position in newsegment.
20127
20128         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20129         (update_degree), (gst_bin_sort_iterator_next),
20130         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20131         * gst/gstmessage.c: (gst_message_new_custom):
20132         Clean up debugging info
20133
20134         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20135         (gst_queue_loop), (gst_queue_handle_src_query):
20136         Pause task faster.
20137
20138 2005-10-19  Wim Taymans  <wim@fluendo.com>
20139
20140         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20141         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20142         Fix query handling again.
20143
20144 2005-10-19  Wim Taymans  <wim@fluendo.com>
20145
20146         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20147         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20148         * gst/base/gstbasesrc.c: (gst_base_src_query):
20149         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20150         * gst/elements/gsttypefindelement.c:
20151         (gst_type_find_handle_src_query), (find_element_get_length),
20152         (gst_type_find_element_activate):
20153         API change fix.
20154
20155         * gst/gstquery.c: (gst_query_new_position),
20156         (gst_query_set_position), (gst_query_parse_position),
20157         (gst_query_new_duration), (gst_query_set_duration),
20158         (gst_query_parse_duration), (gst_query_set_segment),
20159         (gst_query_parse_segment):
20160         * gst/gstquery.h:
20161         Bundling query position/duration is not a good idea since duration
20162         does not change much and we don't want to recalculate it for every
20163         position query, so they are separated again..
20164         Base value in segment query is not needed.
20165
20166         * gst/gstqueue.c: (gst_queue_handle_src_query):
20167         * gst/gstutils.c: (gst_element_query_position),
20168         (gst_element_query_duration), (gst_pad_query_position),
20169         (gst_pad_query_duration):
20170         * gst/gstutils.h:
20171         Updates for query API change.
20172         Added some docs here and there.
20173
20174 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20175
20176         * check/gst/gstbin.c: (GST_START_TEST):
20177         * check/gst/gstghostpad.c: (GST_START_TEST):
20178         * check/pipelines/cleanup.c: (GST_START_TEST):
20179           wait on thread to die so we can check refcount correctly
20180
20181 2005-10-18  Wim Taymans  <wim@fluendo.com>
20182
20183         * check/pipelines/stress.c: (GST_START_TEST):
20184         Make check a little more time consuming.
20185
20186 2005-10-18  Wim Taymans  <wim@fluendo.com>
20187
20188         * check/Makefile.am:
20189         * check/pipelines/stress.c: (GST_START_TEST),
20190         (simple_launch_lines_suite), (main):
20191         Small state change torture test.
20192
20193         * docs/design/part-states.txt:
20194         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20195         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20196         (gst_base_sink_change_state):
20197         Never take state lock from streaming thread, clean up ugly
20198         hacks. Unfortunatly core does not yet support nice ways to
20199         async commit state.
20200         
20201         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20202         (bin_bus_handler):
20203         Start state recalc if a STATE_DIRTY message is posted, but only
20204         on the toplevel bin.
20205
20206         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20207         (gst_element_get_state_func), (gst_element_abort_state),
20208         (gst_element_commit_state), (gst_element_lost_state),
20209         (gst_element_set_state_func), (gst_element_change_state):
20210         * gst/gstelement.h:
20211         State variables are now protected with the LOCK, the state
20212         lock is only used to serialize _set_state().
20213
20214 2005-10-18  Wim Taymans  <wim@fluendo.com>
20215
20216         * check/gst/gstbin.c: (GST_START_TEST):
20217         * check/gst/gstmessage.c: (GST_START_TEST):
20218         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20219         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20220         (bin_bus_handler):
20221         * gst/gstelement.c: (gst_element_abort_state),
20222         (gst_element_commit_state), (gst_element_lost_state):
20223         * gst/gstmessage.c: (gst_message_new_state_changed),
20224         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20225         (gst_message_new_segment_done), (gst_message_new_duration),
20226         (gst_message_parse_state_changed),
20227         (gst_message_parse_segment_start),
20228         (gst_message_parse_segment_done), (gst_message_parse_duration):
20229         * gst/gstmessage.h:
20230         * tools/gst-launch.c: (event_loop):
20231         Seriously, this is better than a previous commit as we only need
20232         to notify the fact that an element changed state in a streaming
20233         thread, marking the state of the parents dirty, hence the 
20234         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20235         message.
20236
20237 2005-10-18  Wim Taymans  <wim@fluendo.com>
20238
20239         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20240         (gst_bin_recalc_func):
20241         * gst/gstelement.c: (gst_element_set_clock),
20242         (gst_element_abort_state), (gst_element_lost_state):
20243         Cleanups, prepare for state change fixes.
20244
20245 2005-10-18  Wim Taymans  <wim@fluendo.com>
20246
20247         * gst/gstbin.h:
20248         * gst/gstelement.c: (gst_element_class_init),
20249         (gst_element_set_state), (gst_element_set_state_func):
20250         * gst/gstelement.h:
20251         Pending ABI changes.
20252         GThreadPool in GstBinClass to monitor async state changes.
20253         state_cookie in GstElement to detect concurrent gst/set state.
20254         set_state is now virtual too in case a very complicated element
20255         has to be constructed.
20256
20257 2005-10-18  Wim Taymans  <wim@fluendo.com>
20258
20259         * check/gst/gstbin.c: (GST_START_TEST):
20260         * check/gst/gstmessage.c: (GST_START_TEST):
20261         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20262         * gst/gstbin.c: (bin_bus_handler):
20263         * gst/gstelement.c: (gst_element_commit_state),
20264         (gst_element_lost_state):
20265         * gst/gstmessage.c: (gst_message_new_state_changed),
20266         (gst_message_new_segment_start), (gst_message_new_segment_done),
20267         (gst_message_new_duration), (gst_message_parse_state_changed),
20268         (gst_message_parse_segment_start),
20269         (gst_message_parse_segment_done), (gst_message_parse_duration):
20270         * gst/gstmessage.h:
20271         * tools/gst-launch.c: (event_loop):
20272         Make messages future proof.
20273         state-change gets a flag if it was a message comming from the
20274         streaming thread.
20275         segment-start/stop can also be specified in other formats.
20276         A message to notify an app that a pipeline changed playback 
20277         duration.
20278         Also fix a GstMessage leak in -launch
20279
20280 2005-10-18  Andy Wingo  <wingo@pobox.com>
20281
20282         * gst/gstelement.c (gst_element_dispose): More helpful message.
20283
20284 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20285
20286         reviewed by: <delete if not using a buddy>
20287
20288         * common/gtk-doc.mak:
20289
20290 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20291
20292         * gst/gstregistry.c: (gst_registry_scan_path_level):
20293           unref a plug-in we get that was already initialized
20294
20295 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20296
20297         * docs/gst/gstreamer-sections.txt:
20298         * docs/libs/gstreamer-libs-sections.txt:
20299         * gst/gstelement.h:
20300           add new api entries
20301           hide internal macro
20302
20303 2005-10-17  Andy Wingo  <wingo@pobox.com>
20304
20305         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20306         cleanup.
20307
20308         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20309
20310         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20311
20312         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20313         (gst_element_get_state_func): Better debug message.
20314         (gst_element_commit_state): s/INFO/DEBUG/.
20315         (gst_element_lost_state, gst_element_change_state): 
20316
20317         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20318         (gst_message_new_custom): s/INFO/LOG/.
20319
20320 2005-10-17  Michael Smith <msmith@fluendo.com>
20321
20322         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20323           Check if end time is valid using end time, not start time.
20324
20325 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20326
20327         * check/gst-libs/controller.c: (GST_START_TEST),
20328         (gst_controller_suite):
20329         * libs/gst/controller/gstcontroller.c:
20330         (gst_controlled_property_set_interpolation_mode):
20331         * libs/gst/controller/gstcontroller.h:
20332         * libs/gst/controller/gstinterpolation.c:
20333         * testsuite/controller/.cvsignore:
20334         * testsuite/controller/Makefile.am:
20335         * testsuite/controller/interpolator.c:
20336           merge controller testsuites
20337           fix broken tests
20338           remove mem-chunk from docs
20339
20340 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20341
20342         * gst/gstmemchunk.c:
20343         * gst/gstmemchunk.h:
20344         * gst/gsttrashstack.c:
20345         * gst/gsttrashstack.h:
20346           out.  get out.  you're fired.  to the Attic !
20347
20348 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20349
20350         * gst/gstcaps.c: (gst_caps_intersect):
20351           fix signedness issues in a (hopefully) correct way
20352         * gst/gstelement.c: (gst_element_pads_activate):
20353           some debugging
20354         * gst/gstobject.c: (gst_object_set_parent):
20355           some debugging
20356
20357 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20358
20359         * gst/gstvalue.h: Fix prototypes.
20360
20361 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20362
20363         * docs/gst/gstreamer-sections.txt:
20364         * gst/gst.c: (gst_version_string):
20365         * gst/gst.h:
20366         * gst/gstversion.h.in:
20367         * win32/common/libgstreamer.def:
20368           add gst_version_string ()
20369
20370 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20371
20372         * configure.ac:
20373           clean up further
20374         * gst/gst.c: (init_post):
20375         * win32/common/config.h.in:
20376           it's PLUGINDIR now
20377         * gst/gstcaps.c: (gst_caps_intersect):
20378           use gint64, the range could be bigger than a guint
20379
20380 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20381
20382         * gst/gstclock.h:
20383           document potential problem in 2038
20384
20385 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20386
20387         * gst/gstcaps.c: (gst_caps_intersect):
20388           Fix guint j diving under 0
20389
20390 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20391
20392         * configure.ac:
20393         * win32/common/config.h:
20394         * win32/common/config.h.in:
20395           check for process.h, declares getpid() on Windows
20396         * gst/gstinfo.c:
20397           include process.h if we have it
20398         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20399         * gst/gstmemchunk.h:
20400           fix signedness issues
20401         * win32/common/libgstreamer.def:
20402           fix get_type's
20403
20404 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20405
20406         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20407         fix. Because of unsigned ints, caps intersection was going nuts and
20408         trying to access structures with G_MAXUINT index. That fixes
20409         videotestsrc ! ffmpegcolorspace ! fakesink
20410         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20411         consistency.
20412
20413 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20414
20415         * configure.ac:
20416           use the gettext macro
20417         * gst/elements/gstelements.c:
20418         * gst/gst.c:
20419         * gst/indexers/gstindexers.c:
20420           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20421         * win32/common/config.h:
20422           updated config.h
20423         * win32/common/config.h.in:
20424           add the template to generate config.h
20425         * win32/common/gstenumtypes.c:
20426         * win32/common/gstversion.h:
20427           updated copies
20428
20429 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20430
20431         * gst/gst.c: (gst_version):
20432         * gst/gstversion.h.in:
20433           add the nano
20434
20435 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20436
20437         * gst/gstevent.h:
20438           Oops, add missing closing bracket.
20439
20440 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20441
20442         * configure.ac:
20443           use common m4's for argument checking
20444
20445 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20446
20447         * docs/gst/gstreamer-sections.txt:
20448         * gst/gstevent.h:
20449           Add GST_EVENT_TYPE_NAME() macro.
20450
20451 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20452
20453         * gst/gstinfo.c:
20454         * gst/gstpluginfeature.c:
20455         * gst/gsttask.c:
20456           privatize more symbols
20457
20458 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20459
20460         * configure.ac:
20461           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20462           everything that uses GStreamer API should have the includes
20463
20464 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20465
20466         * docs/gst/gstreamer-sections.txt:
20467         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20468         * gst/gstvalue.h:
20469           give each value a _get_type, removes the DATA exports
20470
20471 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20472
20473         * gst/gst.c:
20474         * gst/gst.h:
20475           remove _gst_registry_auto_load, not used anymore
20476         * gst/gstbin.c: (gst_bin_get_type):
20477         * gst/gstbin.h:
20478         * gst/gstelement.c: (gst_element_get_type):
20479         * gst/gstelement.h:
20480         * gst/gstobject.c: (gst_object_get_type):
20481         * gst/gstobject.h:
20482         * gst/gstpad.c: (gst_pad_get_type):
20483         * gst/gstpad.h:
20484           make _get_type functions similar, fixes data export from library
20485
20486 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20487
20488         * configure.ac:
20489           correctly make conditionals
20490         * gst/elements/Makefile.am:
20491         * gst/elements/gstelements.c:
20492           fix typo causing fdsrc not to build
20493
20494 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20495
20496         * testsuite/Makefile.am:
20497         * testsuite/bytestream/.cvsignore:
20498         * testsuite/bytestream/Makefile.am:
20499         * testsuite/bytestream/filepadsink.c:
20500         * testsuite/bytestream/gstbstest.c:
20501         * testsuite/bytestream/test1.c:
20502         * testsuite/bytestream/testfile1:
20503         * testsuite/caps/normalisation.c:
20504         * testsuite/caps/random.c: (main):
20505         * testsuite/cleanup/.cvsignore:
20506         * testsuite/cleanup/Makefile.am:
20507         * testsuite/cleanup/cleanup1.c:
20508         * testsuite/cleanup/cleanup2.c:
20509         * testsuite/cleanup/cleanup3.c:
20510         * testsuite/cleanup/cleanup4.c:
20511         * testsuite/cleanup/cleanup5.c:
20512         * testsuite/controller/interpolator.c:
20513         * testsuite/debug/printf_extension.c: (main):
20514         * testsuite/elements/tee.c:
20515         * testsuite/negotiation/.cvsignore:
20516         * testsuite/negotiation/Makefile.am:
20517         * testsuite/negotiation/pad_link.c:
20518         * testsuite/pad/Makefile.am:
20519         * testsuite/pad/chainnopull.c:
20520         * testsuite/pad/getnopush.c:
20521         * testsuite/pad/link.c:
20522         * testsuite/refcounting/sched.c: (create_pipeline):
20523         * testsuite/registry/Makefile.am:
20524         * testsuite/registry/gst-print-formats.c:
20525         * testsuite/schedulers/.cvsignore:
20526         * testsuite/schedulers/142183-2.c:
20527         * testsuite/schedulers/142183.c:
20528         * testsuite/schedulers/143777-2.c:
20529         * testsuite/schedulers/143777.c:
20530         * testsuite/schedulers/147713.c:
20531         * testsuite/schedulers/147819.c:
20532         * testsuite/schedulers/147894-2.c:
20533         * testsuite/schedulers/147894.c:
20534         * testsuite/schedulers/Makefile.am:
20535         * testsuite/schedulers/group_link.c:
20536         * testsuite/schedulers/queue_link.c:
20537         * testsuite/schedulers/relink.c:
20538         * testsuite/schedulers/unlink.c:
20539         * testsuite/schedulers/unref.c:
20540         * testsuite/schedulers/useless_iteration.c:
20541         * testsuite/states/bin.c:
20542           clean out/remove some stuff from the testsuite directories
20543
20544 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20545
20546         * configure.ac:
20547           check for some headers
20548         * gst/elements/Makefile.am:
20549         * gst/elements/gstelements.c:
20550           don't compile fdsrc without sys/socket.h
20551         * gst/indexers/Makefile.am:
20552         * gst/indexers/gstindexers.c: (plugin_init):
20553           don't compile fileindex without mmap
20554
20555 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20556
20557         * configure.ac:
20558           reorganize
20559           clean up
20560           document more
20561           remove cruft
20562         * check/Makefile.am:
20563         * docs/gst/Makefile.am:
20564         * examples/helloworld/Makefile.am:
20565         * gst/Makefile.am:
20566         * gst/base/Makefile.am:
20567         * gst/check/Makefile.am:
20568         * gst/elements/Makefile.am:
20569         * gst/indexers/Makefile.am:
20570         * gst/parse/Makefile.am:
20571         * libs/gst/controller/Makefile.am:
20572         * libs/gst/dataprotocol/Makefile.am:
20573         * examples/helloworld/helloworld.c: (event_loop):
20574           compile fixes, though it's not being compiled currently
20575
20576 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20577
20578         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20579           Add some simple tests for the new taglist date API.
20580
20581 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20582
20583         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20584         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20585           Beautify 'last-message' output: print 'none' for buffer timestamps
20586           and durations if none is set; improve alignment with next messages.
20587
20588 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20589
20590         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20591         * gst/gstpluginfeature.h:
20592         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20593         * gst/gstregistry.h:
20594         * docs/gst/gstreamer-sections.txt:
20595           Add new API to check plugin feature version requirements.
20596
20597         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20598           Some basic tests for the above.         
20599
20600 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20601
20602         * gst/gststructure.c: (gst_structure_to_string):
20603           guard against NULL printf - happens when for example
20604           a message structure with GstClock gets serialized
20605
20606 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20607
20608         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20609           Fix presumable copy'n'pasto.
20610
20611 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20612
20613         * gst/elements/gstfakesrc.h:
20614         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20615         * gst/elements/gsttypefindelement.c:
20616           fix some signedness
20617         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20618           I wonder if this could actually write +2GB files before
20619
20620 2005-10-13  Andy Wingo  <wingo@pobox.com>
20621
20622         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20623         Fix Timmeke Waymans bug.
20624         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20625         string of the proper length to gst_caps_from_string. There's a
20626         potential for, before this fix, that this could cause someone
20627         connecting over the network to cause a segfault if the payload is
20628         not NUL-terminated.
20629
20630 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20631
20632         * docs/design/draft-push-pull.txt:
20633         * docs/design/part-overview.txt:
20634         * docs/random/TODO-pre-0.9:
20635         * docs/random/old/ChangeLog.gstreamer:
20636         * gst/base/gstpushsrc.c:
20637         * gst/gstclock.c:
20638           fixed typos
20639
20640 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20641
20642         * gst/glib-compat.c: (gst_flags_get_first_value):
20643         * gst/glib-compat.h:
20644         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20645         (gst_value_compare_double), (gst_value_serialize_flags):
20646           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20647           infinite loop
20648
20649 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20650
20651         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20652         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20653           fix up debugging
20654         * tools/gst-launch.c: (event_loop):
20655           print out clock nicely
20656
20657 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20658
20659         * docs/gst/gstreamer-sections.txt:
20660         * gst/gsttaglist.h:
20661         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20662         (gst_tag_list_get_date_index):
20663           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20664           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20665
20666 2005-10-13  Julien MOUTTE  <julien@moutte.net>
20667
20668         * gst/base/gstcollectpads.c: (gst_collectpads_event),
20669         (gst_collectpads_chain):
20670         * gst/base/gstcollectpads.h: Handle newsegment and store informations
20671         in CollectData.
20672
20673 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20674
20675         * docs/gst/gstreamer-sections.txt:
20676         * gst/gst.c:
20677         * gst/gsterror.h:
20678         * tools/gst-inspect.c: (main):
20679         * tools/gst-launch.c: (main):
20680         * tools/gst-run.c: (main):
20681         * tools/gst-xmlinspect.c: (main):
20682           fix GOption context leaks
20683           doc fixes
20684
20685 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20686
20687         * gst/gstbus.c:
20688           use HAVE_UNISTD_H
20689         * win32/common/config.h:
20690           update config
20691         * win32/vs6/grammar.dsp:
20692         * win32/vs6/libgstelements.dsp:
20693         * win32/vs6/libgstreamer.dsp:
20694           update vs6 files
20695
20696 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20697
20698         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20699         * gst/base/gstbasesrc.c: (gst_base_src_query):
20700           fix more guint64<->gdouble conversions
20701
20702 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20703
20704         * Makefile.am:
20705           add win32-update target
20706         * win32/common/gstconfig.h:
20707         * win32/common/gstenumtypes.c:
20708         * win32/common/gstenumtypes.h:
20709         * win32/common/gstversion.h:
20710           add files that visual studio can't generate
20711
20712 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20713
20714         * Makefile.am:
20715           add a win32-update target
20716         * configure.ac:
20717
20718 2005-10-12  Wim Taymans  <wim@fluendo.com>
20719
20720         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20721         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20722         * gst/gstelement.c: (gst_element_commit_state),
20723         (gst_element_set_state):
20724         Protect flags with proper lock.
20725         unref provided cached clock in dispose.
20726
20727 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20728
20729         * gst/gst.c:
20730         * gst/gstminiobject.h:
20731         * gst/gstpad.h:
20732         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20733           removed unused flags from miniobject
20734           doc fixes
20735
20736 2005-10-12  Wim Taymans  <wim@fluendo.com>
20737
20738         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20739         (gst_file_sink_event), (gst_file_sink_render):
20740         Flush before seeking.
20741
20742 2005-10-12  Andy Wingo  <wingo@pobox.com>
20743
20744         * gst/gst.c (gst_init_check): Ignore unknown options, as has
20745         always been the case.
20746
20747 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20748
20749         * check/gst/gstbin.c: (GST_START_TEST):
20750         * docs/gst/gstreamer-sections.txt:
20751         * gst/base/gstbasesink.c: (gst_base_sink_init):
20752         * gst/base/gstbasesrc.c: (gst_base_src_init),
20753         (gst_base_src_get_range), (gst_base_src_check_get_range),
20754         (gst_base_src_start), (gst_base_src_stop):
20755         * gst/base/gstbasesrc.h:
20756         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20757         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20758         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20759         (bin_bus_handler):
20760         * gst/gstbin.h:
20761         * gst/gstbuffer.h:
20762         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20763         * gst/gstbus.h:
20764         * gst/gstelement.c: (gst_element_is_locked_state),
20765         (gst_element_set_locked_state), (gst_element_commit_state),
20766         (gst_element_set_state):
20767         * gst/gstelement.h:
20768         * gst/gstindex.c: (gst_index_init):
20769         * gst/gstindex.h:
20770         * gst/gstminiobject.h:
20771         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20772         (gst_object_set_parent):
20773         * gst/gstobject.h:
20774         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20775         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20776         * gst/gstpad.h:
20777         * gst/gstpadtemplate.h:
20778         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20779         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20780         * gst/gstpipeline.h:
20781         * gst/indexers/gstfileindex.c: (gst_file_index_load),
20782         (gst_file_index_commit):
20783         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20784         * testsuite/pad/link.c: (gst_test_src_init),
20785         (gst_test_filter_init), (gst_test_sink_init):
20786         * testsuite/states/locked.c: (main):
20787           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20788           moved bitshift from macro to enum definition
20789
20790 2005-10-12  Wim Taymans  <wim@fluendo.com>
20791
20792         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20793         * gst/elements/gstfilesink.c: (gst_file_sink_event),
20794         (gst_file_sink_render):
20795         Some more debugging info.
20796
20797 2005-10-12  Wim Taymans  <wim@fluendo.com>
20798
20799         * docs/design/part-states.txt:
20800         * tools/gst-launch.c: (main):
20801         Some doc updates.
20802         Revert non-intentional change.
20803
20804 2005-10-12  Wim Taymans  <wim@fluendo.com>
20805
20806         * check/gst/gstbin.c: (GST_START_TEST):
20807         * check/gst/gstelement.c: (GST_START_TEST):
20808         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20809         * check/gst/gstghostpad.c: (GST_START_TEST):
20810         * check/gst/gstpipeline.c: (GST_START_TEST):
20811         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20812         * check/states/sinks.c: (GST_START_TEST):
20813         * gst/elements/gsttypefindelement.c: (stop_typefinding):
20814         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20815         (gst_bin_remove_func), (gst_bin_get_state_func),
20816         (gst_bin_recalc_state), (gst_bin_change_state_func),
20817         (bin_bus_handler):
20818         * gst/gstelement.c: (gst_element_get_state_func),
20819         (gst_element_get_state), (gst_element_abort_state),
20820         (gst_element_commit_state), (gst_element_set_state),
20821         (gst_element_change_state), (gst_element_change_state_func):
20822         * gst/gstelement.h:
20823         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20824         (gst_pipeline_provide_clock_func):
20825         * gst/gstutils.c: (gst_element_link_pads_filtered):
20826         * tools/gst-launch.c: (main):
20827         * tools/gst-typefind.c: (main):
20828         Use GstClockTime in _get_state() instead of GTimeVal.
20829         Remove old code in gstutils.c
20830
20831 2005-10-12  Andy Wingo  <wingo@pobox.com>
20832
20833         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20834         removed.
20835
20836         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20837         there is no task. Shouldn't affect any code, as nothing in our
20838         plugins checks this return value.
20839         (gst_pad_stop_task): Also take the stream lock if the pad has no
20840         task. Docs updated.
20841
20842 2005-10-12  Wim Taymans  <wim@fluendo.com>
20843
20844         * gst/gstpad.c: (pre_activate), (post_activate),
20845         (gst_pad_activate_pull), (gst_pad_activate_push):
20846         Cleanup activation code. Reset old state if
20847         activation failed.
20848
20849 2005-10-12  Wim Taymans  <wim@fluendo.com>
20850
20851         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20852         (gst_base_sink_change_state):
20853         No need to prerol after receiving EOS.
20854
20855         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20856         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20857         * gst/elements/gstidentity.c: (gst_identity_event):
20858         Print events more verbosely.
20859
20860 2005-10-12  Wim Taymans  <wim@fluendo.com>
20861
20862         * check/Makefile.am:
20863         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20864         * check/states/sinks2.c:
20865         Moved sinks2 testcode in sinks check.
20866
20867         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20868         (gst_bin_remove_func), (gst_bin_recalc_state),
20869         (gst_bin_change_state_func), (bin_bus_handler):
20870         Fix potential race condition when _get_state() iterated over an
20871         ASYNC element right before it posted a state completion.
20872
20873         * gst/gstclock.h:
20874         Do proper cast here.
20875
20876         * gst/gstevent.c: (gst_event_new_newsegment),
20877         (gst_event_parse_newsegment):
20878         A playback rate of 0.0 is not allowed.
20879
20880 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20881
20882         * win32/common/config.h:
20883         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20884         (_trewinddir), (_ttelldir), (_tseekdir):
20885         * win32/common/dirent.h:
20886         * win32/common/gtchar.h:
20887         * win32/common/libgstbase.def:
20888         * win32/common/libgstreamer.def:
20889         * win32/vs6/grammar.dsp:
20890         * win32/vs6/gst_inspect.dsp:
20891         * win32/vs6/gst_launch.dsp:
20892         * win32/vs6/gstreamer.dsw:
20893         * win32/vs6/libgstbase.dsp:
20894         * win32/vs6/libgstelements.dsp:
20895         * win32/vs6/libgstreamer.dsp:
20896           Visual Studio 6 project files, and a new common directory.
20897           Phear.
20898
20899 2005-10-11  Wim Taymans  <wim@fluendo.com>
20900
20901         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20902         (gst_base_sink_do_sync), (gst_base_sink_query),
20903         (gst_base_sink_change_state):
20904         * gst/base/gstbasesink.h:
20905         Correctly parse newsegment info.
20906
20907 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20908
20909         * gst/gst.c: (init_post):
20910           split plugin paths correctly
20911
20912 2005-10-11  Wim Taymans  <wim@fluendo.com>
20913
20914         * check/gst/gstevent.c: (GST_START_TEST):
20915         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20916         (gst_base_sink_change_state):
20917         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20918         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20919         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20920         * gst/gstevent.c: (gst_event_new_newsegment),
20921         (gst_event_parse_newsegment):
20922         * gst/gstevent.h:
20923         Added extra flag to newsegment for future API freeze.
20924         Updated check and base elements.
20925
20926 2005-10-11  Julien MOUTTE  <julien@moutte.net>
20927
20928         * gst/base/gstcollectpads.c: (gst_collectpads_init),
20929         (gst_collectpads_add_pad), (gst_collectpads_pop),
20930         (gst_collectpads_event), (gst_collectpads_chain):
20931         * gst/base/gstcollectpads.h: Handle EOS correctly.
20932
20933 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20934
20935         * tools/gst-launch.c: (main):
20936           more null protecting
20937
20938 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20939
20940         * gst/gst-i18n-lib.h:
20941           check for ENABLE_NLS, not GETTEXT_PACKAGE
20942         * gst/gstregistry.c: (gst_registry_add_plugin),
20943         (gst_registry_scan_path_level),
20944         (_gst_registry_remove_cache_plugins):
20945           protect possibly NULL strings
20946         * gst/parse/types.h:
20947           config.h already included before
20948         * tools/gst-inspect.c: (main):
20949           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
20950           check for ENABLE_NLS, not GETTEXT_PACKAGE
20951         * tools/gst-launch.c: (main):
20952           check for ENABLE_NLS, not GETTEXT_PACKAGE
20953
20954 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20955
20956         * configure.ac:
20957           if we don't have glib, fail before testing 2.8
20958         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
20959           fix a leak, should fix plugins-base testsuite
20960
20961 2005-10-11  Andy Wingo  <wingo@pobox.com>
20962
20963         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
20964         take the mode we're going to as an arg. Go head and set the mode
20965         and flushing flags now, so that if the activate function starts a
20966         thread all the flags will be in the right state.
20967         (post_activate): Renamed also. Just handle making sure streaming
20968         finishes for the deactivation case, and setting the deactivated
20969         mode.
20970         (gst_pad_set_active): Complain loudly if deactivation fails.
20971         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
20972         (gst_pad_activate_push): Adapt to pre/post_activate changes,
20973         remove the terrible hack.
20974
20975 2005-10-11  Wim Taymans  <wim@fluendo.com>
20976
20977         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20978         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
20979         (gst_bin_recalc_state), (gst_bin_change_state_func),
20980         (gst_bin_dispose), (bin_bus_handler):
20981         * gst/gstbin.h:
20982         Prepare to make current EOS message queue more generic.
20983         Fix some typos.
20984
20985         * gst/gstevent.c: (gst_event_new_newsegment),
20986         (gst_event_parse_newsegment):
20987         * gst/gstevent.h:
20988         Rename base to stream_time.
20989
20990         * gst/gstmessage.h:
20991         Fix typo in docs.
20992
20993 2005-10-11  Wim Taymans  <wim@fluendo.com>
20994
20995         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20996         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
20997         (gst_bin_change_state_func), (bin_bus_handler):
20998         * gst/gstbin.h:
20999         Work on proper clock selection.
21000
21001 2005-10-11  Edward Hervey  <edward@fluendo.com>
21002
21003         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21004         * libs/gst/controller/gstcontroller.h:
21005         Added GList* version of _remove_properties() in order to be able to wrap
21006         it in bindings.
21007
21008 2005-10-11  Wim Taymans  <wim@fluendo.com>
21009
21010         * docs/design/part-states.txt:
21011         Some more docs.
21012
21013         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21014         (gst_bin_change_state_func), (bin_bus_handler):
21015         Doc updates. Don't distribute the same clock over and over again.
21016
21017         * gst/gstclock.c:
21018         * gst/gstclock.h:
21019         Doc updates.
21020
21021         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21022         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21023         (gst_pad_send_event):
21024         * gst/gstpad.h:
21025         Make probe emission threadsafe again.
21026         Register quarks and move _get_name() from utils.
21027         Doc updates.
21028
21029         * gst/gstpipeline.c: (gst_pipeline_class_init),
21030         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21031         Only redistribute the clock of it changed.
21032
21033         * gst/gstsystemclock.h:
21034         Doc updates. 
21035
21036         * gst/gstutils.c:
21037         * gst/gstutils.h:
21038         Moved the _flow_get_name() to GstPad.
21039
21040 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21041
21042         * check/gst-libs/gdp.c: (GST_START_TEST):
21043         * check/gst/gstcaps.c: (GST_START_TEST):
21044         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21045         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21046         (gst_dp_packet_from_caps):
21047           fix more valgrind warnings before turning up the heat
21048
21049 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21050
21051         * gst/parse/grammar.y:
21052           some cleanup before the hacking
21053
21054 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21055
21056         * gst/base/gstbasesrc.c: (gst_base_src_query):
21057           use conversions
21058         * gst/gstutils.c: (gst_guint64_to_gdouble),
21059         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21060         * gst/gstutils.h:
21061           externalize, basesrc uses it
21062           obviously the implementation needs testing
21063
21064 2005-10-10  Wim Taymans  <wim@fluendo.com>
21065
21066         * tests/sched/Makefile.am:
21067         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21068         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21069
21070 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21071
21072         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21073           apparently converting from guint64 to double is not implemented
21074           on MSVC
21075
21076 2005-10-10  Wim Taymans  <wim@fluendo.com>
21077
21078         * check/Makefile.am:
21079         * check/generic/states.c: (GST_START_TEST):
21080         * check/gst/gstbin.c: (GST_START_TEST):
21081         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21082         * check/states/sinks.c: (GST_START_TEST):
21083         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21084         (main):
21085         Check fixes, use API as stated in design docs, remove hacks.
21086
21087         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21088         (gst_base_sink_change_state):
21089         Catch stopping our task while we're shutting down.
21090
21091         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21092         (gst_bin_remove_func), (gst_bin_get_state_func),
21093         (gst_bin_recalc_state), (gst_bin_change_state_func),
21094         (bin_bus_handler):
21095         * gst/gstbin.h:
21096         * gst/gstelement.c: (gst_element_init),
21097         (gst_element_get_state_func), (gst_element_abort_state),
21098         (gst_element_commit_state), (gst_element_lost_state),
21099         (gst_element_set_state), (gst_element_change_state),
21100         (gst_element_change_state_func):
21101         * gst/gstelement.h:
21102         New state change algorithm (see #318116)
21103
21104         * gst/gstpipeline.c: (gst_pipeline_class_init),
21105         (gst_pipeline_init), (gst_pipeline_set_property),
21106         (gst_pipeline_get_property), (do_pipeline_seek),
21107         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21108         * gst/gstpipeline.h:
21109         Remove crude state change hacks.
21110
21111         * gst/gstutils.h:
21112         Remove crude hacks.
21113
21114         * tools/gst-launch.c: (main):
21115         Fixes for state change. Needs some more work to fully use the
21116         new stuff.
21117
21118 2005-10-10  Andy Wingo  <wingo@pobox.com>
21119
21120         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21121
21122         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21123         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21124         issue.
21125
21126 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21127
21128         * gst/gstiterator.c: (gst_iterator_new):
21129           Fix my previous commit: GTypes passed to gst_iterator_new()
21130           can be fundamental types.
21131
21132 2005-10-10  Wim Taymans  <wim@fluendo.com>
21133
21134         * gst/gstelement.c: (gst_element_iterate_pad_list),
21135         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21136         (gst_element_iterate_sink_pads):
21137         Use src/sink pads lists for the respective iterators instead
21138         of filtering.
21139
21140 2005-10-10  Andy Wingo  <wingo@pobox.com>
21141
21142         Merged in popt removal + GOption addition patch from Ronald, bug
21143         #169772.
21144
21145         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21146         GstElement macros around, remove popt-related symbols, add goption
21147         stuff.
21148
21149         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21150         
21151         * docs/gst/Makefile.am:
21152         * docs/libs/Makefile.am: No POPT_CFLAGS.
21153         
21154         * examples/manual/Makefile.am:
21155         * docs/manual/basics-init.xml: Doc updates with an example.
21156         
21157         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21158         (gst_init), (parse_one_option), (parse_goption_arg):
21159         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21160         bit of hand merging and debugging to get the GOption stuff working
21161         tho.
21162         
21163         * tests/Makefile.am:
21164         * tools/Makefile.am:
21165         * tools/gst-inspect.c: (main):
21166         * tools/gst-launch.c: (main):
21167         * tools/gst-run.c: (main):
21168         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21169
21170 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21171
21172         * gst/gstiterator.c: (gst_iterator_new):
21173           Add assertions to make sure passed GType is likely to really
21174           be a GType (as the compiler won't catch it if the size and
21175           GType arguments get mixed up, see #318447).
21176
21177 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21178
21179         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21180
21181         * gst/gstbin.c: (gst_bin_iterate_sorted):
21182           Pass GType and size arguments to gst_iterator_new() in the right
21183           order (maybe we should make _new() take the GType as first argument
21184           just like _new_list()?) (#318447).
21185           
21186
21187 2005-10-10  Wim Taymans  <wim@fluendo.com>
21188
21189         * gst/gstelement.c: (gst_element_finalize):
21190         And free the GStaticRecMutex too
21191
21192 2005-10-10  Andy Wingo  <wingo@pobox.com>
21193
21194         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21195         Allocate and free the mutex properly.
21196
21197         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21198         New macros.
21199         (GstElement): The state_lock is now recursive. Rebuild your
21200         plugins, suckers. Old macros adapted.
21201
21202         * docs/gst/gstreamer-sections.txt: Doc updates.
21203
21204         * gst/gstutils.h:
21205         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21206         (g_static_rec_cond_wait): Ported from state changes patch, while
21207         we wait on bug #317802 to be solved in a well-distributed GLib.
21208
21209         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21210         gst_element_change_state, variable name changes.
21211         (gst_element_change_state): Split out of gst_element_set_state in
21212         preparation for the state change merge. Doesn't pay attention to
21213         the 'transition' argument.
21214         (gst_element_set_state): Updates, hopefully purely cosmetic.
21215         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21216         state change patch.
21217         (gst_element_get_state_func): Renamed from get_state, cosmetic
21218         changes.
21219
21220 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21221
21222         * gst/elements/gstelements.c:
21223         * win32/GStreamer.vcproj:
21224         * win32/config.h:
21225         * win32/dirent.c: (_tseekdir):
21226         * win32/gst-inspect.vcproj:
21227         * win32/gst-launch.vcproj:
21228         * win32/gstconfig.h:
21229         * win32/gstelements.vcproj:
21230         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21231         * win32/gstreamer.def:
21232         * win32/msvc71.sln:
21233           updates for the win32 build (patch from Sebastien Moutte)
21234
21235 2005-10-10  Andy Wingo  <wingo@pobox.com>
21236
21237         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21238         gst_bin_get_state, cleaned up (but no logic changes).
21239         (bin_element_is_sink): Comment updates.
21240         (sink_iterator_filter): Remove needless cast.
21241         (gst_bin_iterate_sinks): Doc update.
21242         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21243         cleaned up (but no logic changes).
21244
21245         * check/states/sinks.c (test_src_sink): Cleanups from the state
21246         change patch.
21247         (test_livesrc_sink): Sync on the state.
21248
21249         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21250         the state change patch.
21251
21252         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21253         change patch.
21254
21255         * check/gst/gstbin.c: Merge in some style fixes and additional
21256         checks from Wim's state change patch.
21257
21258 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21259
21260         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21261         (gst_type_find_helper):
21262           Check whether we have the requested data already in our list of
21263           cached buffers before pulling a new buffer; also make the buffer
21264           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21265
21266 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21267
21268         * gst/gstcaps.c:
21269         * gst/gstevent.c:
21270           doc updates
21271         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21272           don't use long long, it's not portable.  Replacing with
21273           gint64 seems to work; let's hope no skeletons fall out of the closet.
21274
21275 2005-10-10  Andy Wingo  <wingo@pobox.com>
21276
21277         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21278
21279 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21280
21281         * docs/gst/gstreamer-sections.txt:
21282         * gst/gstevent.c:
21283         * gst/gstevent.h:
21284         * gst/gstinfo.c:
21285         * gst/gstinfo.h:
21286         * gst/gstmessage.c: (gst_message_parse_state_changed):
21287         * gst/gstpad.c:
21288         * gst/gstpad.h:
21289           more docs, fix compilation
21290
21291 2005-10-09  Philippe Khalaf <burger@speedy.org>
21292         * gst/gstmessage.c:
21293           Fixed a few forgotten variables on previous commit
21294
21295 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21296
21297         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21298           Fix evil typefind crasher: getrange() might return a short
21299           buffer at the end of a file, but gst_type_find_peek() must
21300           either return the full data as requested or NULL, but
21301           never a short buffer.
21302
21303 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21304
21305         * gst/gstmessage.c: (gst_message_new_state_changed),
21306         (gst_message_parse_state_changed):
21307         * gst/gstmessage.h:
21308           don't use "new", it's a C++ keyword
21309
21310 2005-10-08  Wim Taymans  <wim@fluendo.com>
21311
21312         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21313         * gst/gstelement.c: (gst_element_post_message):
21314         * gst/gstpipeline.c: (gst_pipeline_change_state):
21315         Small docs and debug updates.
21316
21317 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21318
21319         * docs/gst/gstreamer-sections.txt:
21320         * gst/gstelementfactory.c:
21321         * gst/gstevent.c:
21322         * gst/gsttaglist.c:
21323           more docs
21324
21325 2005-10-08  Wim Taymans  <wim@fluendo.com>
21326
21327         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21328         (gst_bin_dispose), (bin_bus_handler):
21329         Fix typos, add comments.
21330         Clear EOS list when going to PAUSED from any direction and do it
21331         in a threadsafe way.
21332         Get base time in a threadsafe way too.
21333         Fix confusing debug in the change_state function.
21334         Various other small cleanups.
21335         
21336         * gst/gstelement.c: (gst_element_post_message):
21337         Fix very verbose bus posting code.
21338
21339         * gst/gstpipeline.c: (gst_pipeline_class_init),
21340         (gst_pipeline_set_property), (gst_pipeline_get_property),
21341         (gst_pipeline_change_state):
21342         Small ARG_ -> PROP_ cleanup
21343
21344 2005-10-08  Wim Taymans  <wim@fluendo.com>
21345
21346         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21347         Do a less CPU demanding EOS check because we can.
21348
21349 2005-10-08  Wim Taymans  <wim@fluendo.com>
21350
21351         * libs/gst/dataprotocol/dataprotocol.c:
21352         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21353         (gst_dp_packet_from_event):
21354         * libs/gst/dataprotocol/dataprotocol.h:
21355         * libs/gst/dataprotocol/dp-private.h:
21356         It's about time we bump the version number.
21357         Since event types don't fit in the guint8 anymore describing
21358         the payload type, make payload type 16 bits wide.
21359
21360 2005-10-08  Wim Taymans  <wim@fluendo.com>
21361
21362         * docs/design/part-TODO.txt:
21363         * docs/design/part-clocks.txt:
21364         * docs/design/part-events.txt:
21365         * docs/design/part-gstbin.txt:
21366         * docs/design/part-gstelement.txt:
21367         * docs/design/part-gstpipeline.txt:
21368         * docs/design/part-live-source.txt:
21369         * docs/design/part-messages.txt:
21370         * docs/design/part-overview.txt:
21371         * docs/design/part-states.txt:
21372         Many doc updates.
21373
21374 2005-10-08  Wim Taymans  <wim@fluendo.com>
21375
21376         * gst/gstevent.c:
21377         * gst/gstevent.h:
21378         Fix event quark registration.
21379         Add some space between events so we can insert them in the
21380         right groups.
21381
21382 2005-10-08  Wim Taymans  <wim@fluendo.com>
21383
21384         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21385         (gst_base_sink_handle_buffer):
21386         Better log message.
21387
21388         * gst/gstbus.h:
21389         * gst/gstelement.h:
21390         More docs.
21391
21392         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21393         (gst_queue_set_property), (gst_queue_get_property):
21394         * gst/gstqueue.h:
21395         Remove old unused properties.
21396
21397 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21398         * docs/gst/gstreamer-sections.txt:
21399         * gst/gstmessage.c:
21400         * gst/gstmessage.h:
21401         * gst/gstminiobject.c:
21402         * gst/gstminiobject.h:
21403         * gst/gstobject.h:
21404         * gst/gstpad.h:
21405         * gst/gstutils.h:
21406           lots of new docs and doc fixes
21407
21408 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21409
21410         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21411         * gst/gstplugin.h:
21412         * gst/gstregistry.c: (gst_registry_lookup_locked),
21413         (gst_registry_scan_path_level):
21414         * gst/gstregistryxml.c: (load_plugin):
21415           Only ever load one plugin for a given plugin basename.
21416           This ensures correct overriding of GST_PLUGIN_PATH over
21417           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21418           system installed plugins.
21419
21420 2005-10-08  Wim Taymans  <wim@fluendo.com>
21421
21422         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21423         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21424         Prepare for doing QOS.
21425
21426 2005-10-08  Wim Taymans  <wim@fluendo.com>
21427
21428         * check/gst/gstbin.c: (GST_START_TEST):
21429         * check/pipelines/cleanup.c: (GST_START_TEST):
21430         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21431         Allow new clock message too.
21432
21433 2005-10-08  Wim Taymans  <wim@fluendo.com>
21434
21435         * gst/gstmessage.c: (gst_message_new_error),
21436         (gst_message_new_warning), (gst_message_new_tag),
21437         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21438         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21439         (gst_message_new_segment_start), (gst_message_new_segment_done),
21440         (gst_message_parse_state_changed),
21441         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21442         (gst_message_parse_new_clock):
21443         * gst/gstmessage.h:
21444         Also carry the clock in question.
21445
21446 2005-10-08  Wim Taymans  <wim@fluendo.com>
21447
21448         * gst/gstmessage.c: (gst_message_new_custom),
21449         (gst_message_new_eos), (gst_message_new_error),
21450         (gst_message_new_warning), (gst_message_new_tag),
21451         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21452         (gst_message_new_new_clock), (gst_message_new_segment_start),
21453         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21454         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21455         * gst/gstmessage.h:
21456         Clean up.
21457         Added clock related messages.
21458
21459         * gst/gstpipeline.c: (gst_pipeline_change_state):
21460         Post message when the clock changed.
21461
21462         * tools/gst-launch.c: (event_loop):
21463         Print new clock.
21464
21465 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21466
21467         * tools/gst-inspect.c: (print_element_properties_info):
21468           Can't pass NULL strings to g_print() on windows.
21469
21470 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21471
21472         * docs/Makefile.am:
21473         * docs/gst/Makefile.am:
21474         * docs/gst/gstreamer-docs.sgml:
21475         * docs/gst/running.xml:
21476         * docs/version.entities.in:
21477           add a chapter on running GStreamer.
21478           document GST_DEBUG and GST_PLUGIN* env vars
21479
21480 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21481
21482         * Makefile.am:
21483           remove include dir
21484         * configure.ac:
21485           remove PLUGINS_BUILDDIR stuff
21486         * gst/gst.c: (init_post):
21487           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21488         * idiottest.mak:
21489           remove, it was condescending and not needed
21490
21491 2005-10-08  Wim Taymans  <wim@fluendo.com>
21492
21493         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21494         (gst_base_sink_handle_object), (gst_base_sink_event),
21495         (gst_base_sink_wait), (gst_base_sink_handle_event),
21496         (gst_base_sink_change_state):
21497         * gst/base/gstbasesink.h:
21498         Repost EOS message while going to PLAYING if still EOS.
21499         Make sure that when receiving a FLUSH_START we don't attempt
21500         to sync on the clock anymore.
21501
21502 2005-10-08  Wim Taymans  <wim@fluendo.com>
21503
21504         * tools/gst-launch.c: (event_loop):
21505         Better message printout.
21506
21507 2005-10-08  Wim Taymans  <wim@fluendo.com>
21508
21509         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21510         (gst_bin_child_proxy_get_children_count):
21511         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21512         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21513         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21514         (gst_child_proxy_set_valist):
21515         * gst/parse/grammar.y:
21516         Make ChildProxy threadsafe and fix mem leaks.
21517
21518 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21519
21520         * gst/gst.c: (init_post):
21521           debug the GST_PLUGIN_ env vars
21522
21523 2005-10-08  Wim Taymans  <wim@fluendo.com>
21524
21525         * check/gst/gstbin.c: (GST_START_TEST):
21526         * check/gst/gstmessage.c: (GST_START_TEST):
21527         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21528         * gst/gstelement.c: (gst_element_commit_state),
21529         (gst_element_lost_state):
21530         * gst/gstmessage.c: (gst_message_new_state_changed),
21531         (gst_message_parse_state_changed):
21532         * gst/gstmessage.h:
21533         * tools/gst-launch.c: (event_loop):
21534         Added extra field to STATE_CHANGE message with the pending
21535         state, which will be different from the new state soon.
21536
21537 2005-10-08  Wim Taymans  <wim@fluendo.com>
21538
21539         * gst/gstbus.c: (gst_bus_pop):
21540         * gst/gstclock.c:
21541         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21542         Small cleanups and doc updates.
21543
21544 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21545
21546         * gst/gst.c: (init_pre):
21547         * gst/gstbin.c: (gst_bin_add_func):
21548           log distributing clocks and base time
21549         * gst/gstregistry.c: (gst_registry_add_plugin),
21550         (gst_registry_scan_path_level), (gst_registry_scan_path):
21551           clean up the debugging output a little
21552         * gst/gstutils.c: (gst_element_state_get_name):
21553           warn about a memleak (I've actually seen this be used, though
21554           it was probably a bug)
21555
21556 2005-10-07  Wim Taymans  <wim@fluendo.com>
21557
21558         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21559         (gst_base_src_init), (gst_base_src_default_newsegment),
21560         (gst_base_src_newsegment), (gst_base_src_do_seek),
21561         (gst_base_src_loop), (gst_base_src_start):
21562         * gst/base/gstbasesrc.h:
21563         Make the newsegment event customizable by subclasses.
21564
21565 2005-10-07  Wim Taymans  <wim@fluendo.com>
21566
21567         * gst/gstevent.c: (gst_event_new_buffersize),
21568         (gst_event_parse_buffersize):
21569         * gst/gstevent.h:
21570         New event for future idea.
21571
21572 2005-10-07  Andy Wingo  <wingo@pobox.com>
21573
21574         * gst/gstelement.c (gst_element_post_message): Doc update.
21575
21576         * docs/gst/gstreamer-sections.txt: Update.
21577
21578         * gst/gstmessage.c (gst_message_new_application): Made into a
21579         function like honest API calls.
21580         (gst_message_new_element): New message type.
21581
21582         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21583
21584         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21585         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21586         times.
21587
21588         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21589         NO_PREROLL from gst_element_change_state to fall through.
21590
21591 2005-10-07  Wim Taymans  <wim@fluendo.com>
21592
21593         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21594         (gst_ghost_pad_do_activate_push):
21595         Activating a ghostpad with no internal pad in push mode
21596         is ok.
21597
21598 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21599
21600         * gst/gstobject.h:
21601           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21602           Fixes compilation on Windows.
21603
21604 2005-10-07  Michael Smith <msmith@fluendo.com>
21605
21606         * tools/gst-inspect.c:
21607           Print out feature and plugin count at the end when printing out
21608           all features.
21609
21610 2005-10-04  Michael Smith <msmith@fluendo.com>
21611
21612         * gst/gsterror.c: (_gst_stream_errors_init):
21613           Add another error string used in a few existing plugins.
21614
21615         * gst/gstplugin.c:
21616         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21617         * tools/gst-inspect.c: (print_element_info):
21618           When a feature disappears from a plugin (and the feature exists in
21619           the cached registry file), things went horribly wrong. This isn't a
21620           complete fix, we should actually be removing the 'missing' features
21621           from the features list when we load the actual plugin. That's not
21622           yet implemented. 
21623
21624 2005-10-04  Johan Dahlin  <johan@gnome.org>
21625
21626         * check/gst/gstiterator.c: (GST_START_TEST):
21627         * gst/gstbin.c: (gst_bin_iterate_elements),
21628         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21629         * gst/gstelement.c: (gst_element_iterate_pads):
21630         * gst/gstformat.c: (gst_format_iterate_definitions):
21631         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21632         (gst_iterator_new_list), (gst_iterator_filter):
21633         * gst/gstiterator.h:
21634         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21635         Add a GType to GstIterator, update callsites and tests.
21636
21637 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21638
21639         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21640           give events a chance to be handled by event probes when the pad
21641           is not linked
21642
21643 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21644
21645         * gst/gstevent.c: (gst_event_type_get_name),
21646         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21647         * gst/gstevent.h:
21648           add string representations for event types
21649
21650 2005-10-06  Wim Taymans  <wim@fluendo.com>
21651
21652         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21653         Don't use NULL pointers.
21654
21655 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21656
21657         * gst/gst_private.h:
21658         * gst/gstbus.c:
21659         * gst/gstelement.c:
21660         * gst/gstinfo.c:
21661         * gst/gstpluginfeature.c:
21662           widen the debug category in output to fit the biggest one we have
21663           add a bus category and use it
21664           play with the colors
21665           fix up some categories
21666
21667 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21668
21669         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21670           add push activation of sink ghost pads.
21671           Andye, please verify
21672
21673 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21674
21675         * gst/gstutils.c: (gst_element_link_pads):
21676           fix a bug in the case where neither element has a pad
21677         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21678           add a test for that case
21679
21680 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21681
21682         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21683           emit have-data before checking for peers.  This allows
21684           for probe handlers to connect elements.  This helps autopluggers.
21685         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21686         (gst_pad_suite):
21687           add six checks, linked/unlinked with no/true/false probe
21688
21689 2005-10-04  Wim Taymans  <wim@fluendo.com>
21690
21691         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21692         (gst_fake_sink_event), (gst_fake_sink_preroll),
21693         (gst_fake_sink_render), (gst_fake_sink_change_state):
21694         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21695         (gst_fake_src_get_property), (gst_fake_src_create),
21696         (gst_fake_src_stop):
21697         * gst/elements/gstidentity.c: (gst_identity_stop):
21698         Protect last_message with lock.
21699
21700 2005-10-04  Edward Hervey  <edward@fluendo.com>
21701
21702         * gst/gstformat.h: 
21703         Added precision in the comments for GST_FORMAT_DEFAULT
21704
21705 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
21706
21707         * tools/gst-launch.c: (main):
21708           Don't try to run erroneous pipelines.
21709
21710 2005-10-04  Julien MOUTTE  <julien@moutte.net>
21711
21712         * gst/gstbus.c: We don't need this header.
21713
21714 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21715
21716         * configure.ac:
21717           back to development
21718
21719 === release 0.9.3 ===
21720
21721 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21722
21723         * README:
21724         * configure.ac:
21725           Releasing 0.9.3, "Unregistered"
21726
21727 2005-10-03  Andy Wingo  <wingo@pobox.com>
21728
21729         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21730         whereby calling a pad's activatepush() function can start a thread
21731         that starts to push or pull before the pad gets the FLUSHING flag
21732         unset. Hack around it by holding the stream lock until the flag is
21733         set. Need to replace this with a proper solution. Together with
21734         the ghost pad fixes, this fixes mp3 playing/tagreading.
21735
21736         * docs/design/part-gstghostpad.txt: Add a note about activation of
21737         proxy pads outside of ghost pads.
21738
21739         * gst/gstghostpad.c: Implement the ghost pad activation design.
21740
21741 2005-10-02  Andy Wingo  <wingo@pobox.com>
21742
21743         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21744         It is volatile, after all.
21745
21746         * docs/design/part-gstghostpad.txt: Flesh out activation with
21747         ghost pads.
21748
21749         * gst/base/gstbasesrc.c (gst_base_src_init): Use
21750         GST_DEBUG_FUNCPTR.
21751
21752 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
21753
21754         * configure.ac:
21755           Fix (unused) AM_CONDITIONAL tests.
21756
21757 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
21758
21759         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21760
21761         * gst/gstutils.c: (gst_pad_query_convert):
21762           Add assertion that makes sure src_val is >=0, just like
21763           gst_query_new_convert() has. (#315895)
21764
21765 2005-09-30  Edward Hervey  <edward@fluendo.com>
21766
21767         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21768         Let's not iterate pads we're not interested in, it avoids getting 
21769         sky-high refcounts on sinkpad.
21770
21771 2005-09-30  Wim Taymans  <wim@fluendo.com>
21772
21773         * gst/gstelement.c: (gst_element_set_state),
21774         (gst_element_change_state):
21775         Small tweak, element in ASYNC remains ASYNC.
21776
21777 2005-09-30  Wim Taymans  <wim@fluendo.com>
21778
21779         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21780         Only error is an error.
21781
21782         * gst/gstbin.c: (gst_bin_change_state):
21783         Better debugging.
21784
21785         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21786         Also call pad_block in pad alloc.
21787
21788         * gst/gstutils.c: (gst_flow_get_name):
21789         Better debugging.
21790
21791 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21792
21793         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21794         (gst_base_src_get_range):
21795           Fix documentation typos. Add some more debug info.
21796
21797 2005-09-29  David Schleef  <ds@schleef.org>
21798
21799         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21800           more end-user friendly.
21801         * tools/gst-inspect.c: (main): Check if command-line argument is
21802           a file and attempt to load that file as a plugin.
21803
21804 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21805
21806         * check/gst/gstbin.c:
21807         * check/states/sinks.c:
21808           fix tests for the new warning
21809         * check/gst/gstpipeline.c:
21810           add a test for pipeline and bus interaction
21811         * gst/gstelement.c:
21812           elements should be NULL if they get disposed; add a warning if not
21813
21814 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21815
21816         * gst/gstobject.c:
21817           for 2.6 refcounting, make debug log more correct by printing
21818           the actual refcounts at the time of swap (Wim)
21819
21820 2005-09-29  Andy Wingo  <wingo@pobox.com>
21821
21822         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21823         removes signal watches previously added via
21824         gst_bus_add_signal_watch.
21825         (gst_bus_add_signal_watch): Don't return the source id, just store
21826         it on the bus if there wasn't an id already.
21827
21828         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21829         add_signal_watch and remove_signal_watch.
21830
21831 2005-09-29  Edward Hervey  <edward@fluendo.com>
21832
21833         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
21834         Better if we actually iterate the list :)
21835
21836 2005-09-29  Wim Taymans  <wim@fluendo.com>
21837
21838         * check/gst/gstbin.c: (GST_START_TEST):
21839         Change for new bus API.
21840
21841         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21842         (send_messages), (GST_START_TEST), (gstbus_suite):
21843         Change for new bus signal API.
21844
21845         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21846         (gst_bus_source_prepare), (gst_bus_source_check),
21847         (gst_bus_create_watch), (gst_bus_add_watch_full),
21848         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21849         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21850         * gst/gstbus.h:
21851         Remove support for multiple GSources operating on different
21852         message types as it is too complex and unneeded when using
21853         signals.
21854         Added support for receiving signals from the bus.
21855
21856 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21857
21858         * docs/libs/tmpl/gstdataprotocol.sgml:
21859         * docs/manual/advanced-dataaccess.xml:
21860         * gst/elements/gstcapsfilter.c:
21861         * gst/gstutils.c:
21862           rename filter-caps to caps property
21863
21864 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21865
21866         * gst/gstvalue.c: (gst_value_deserialize_fraction):
21867           More robust fraction string parsing.
21868
21869         * docs/pwg/appendix-porting.xml:
21870           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21871
21872 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21873
21874         * gst/gstcaps.c: (gst_caps_do_simplify):
21875           Thou shalt not free a structure and then continue using it
21876           in the next loop iteration.
21877
21878         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21879         (gst_caps_suite):
21880           Add test case for caps simplification.
21881
21882 2005-09-29  Wim Taymans  <wim@fluendo.com>
21883
21884         * check/gst/gstbin.c: (GST_START_TEST):
21885         Oops.
21886
21887 2005-09-29  Wim Taymans  <wim@fluendo.com>
21888
21889         * check/gst/gstbin.c: (GST_START_TEST):
21890         Add bus to bin.
21891
21892         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21893         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21894         (find_element), (gst_bin_sort_iterator_next),
21895         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21896         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21897         (gst_bin_change_state), (gst_bin_dispose):
21898         A bin does not have a bus, it gets the bus from the parent.
21899
21900         * gst/gstelement.c: (gst_element_requires_clock),
21901         (gst_element_provides_clock), (gst_element_is_indexable),
21902         (gst_element_is_locked_state), (gst_element_change_state),
21903         (gst_element_set_bus_func):
21904         Small cleanups.
21905
21906         * gst/gstpipeline.c: (gst_pipeline_class_init),
21907         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21908         The pipeline provides a bus.
21909
21910 2005-09-28  Johan Dahlin  <johan@gnome.org>
21911
21912         * gst/gstmessage.c (gst_message_parse_state_changed): Use
21913         gst_structure_get_enum instead of gst_structure_get_int
21914
21915         * gst/gststructure.c (gst_structure_get_enum): Impl.
21916
21917         * gst/gststructure.h (gst_structure_get_enum): Add
21918
21919         * docs/gst/gstreamer-sections.txt: Ditto
21920
21921         * gst/gstmessage.c (gst_message_new_state_changed): Use
21922         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21923         which does introspection.
21924         Reviewed by Christian Schaller
21925
21926 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21927
21928         * gst/gstinfo.c: (gst_debug_log_default):
21929           don't do dummy g_strdup()s
21930         * libs/gst/controller/gstcontroller.c:
21931         (on_object_controlled_property_changed),
21932         (gst_controlled_property_new), (gst_controller_new_valist),
21933         (gst_controller_new_list),
21934         (gst_controller_remove_properties_valist), (gst_controller_set),
21935         (gst_controller_get), (gst_controller_sync_values),
21936         (gst_controller_get_value_array), (_gst_controller_class_init),
21937         (gst_controller_get_type):
21938         * libs/gst/controller/gstcontroller.h:
21939         * libs/gst/controller/gstinterpolation.c:
21940         (gst_controlled_property_find_timed_value_node):
21941           convert // to /**/ comments
21942
21943 2005-09-28  Wim Taymans  <wim@fluendo.com>
21944
21945         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21946         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21947         (gst_bus_sync_signal_handler):
21948         * gst/gstbus.h:
21949         Added async-message and sync-message signals to the bus.
21950         Added helper BusFunc to emit signals for all posted messages.
21951
21952         * gst/gstmessage.c: (gst_message_type_get_name),
21953         (gst_message_type_to_quark), (gst_message_get_type):
21954         * gst/gstmessage.h:
21955         Register quarks for message names.
21956
21957 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21958
21959         * docs/libs/gstreamer-libs-sections.txt:
21960         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
21961         (gst_controller_new_list):
21962         * libs/gst/controller/gstcontroller.h:
21963           added another constructor for language bindings
21964
21965 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21966
21967         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21968           add another check
21969         * gst/gstbus.c:
21970           add some doc
21971         * gst/gstinfo.c: (_gst_debug_init):
21972           slightly more readable color for refcount debugging
21973
21974 2005-09-28  Wim Taymans  <wim@fluendo.com>
21975
21976         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21977         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21978         (find_element), (gst_bin_sort_iterator_next),
21979         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21980         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21981         (gst_bin_change_state), (gst_bin_dispose):
21982         Small doc fixes. get_clock -> provide_clock.
21983
21984         * gst/gstelement.c: (gst_element_class_init),
21985         (gst_element_provides_clock), (gst_element_provide_clock),
21986         (gst_element_get_clock), (gst_element_commit_state),
21987         (gst_element_lost_state):
21988         * gst/gstelement.h:
21989         Make get/set_clock() symetric. Add provide_clock vmethod since
21990         that is actually what this function does.
21991
21992         * gst/gstpipeline.c: (gst_pipeline_class_init),
21993         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
21994         (gst_pipeline_get_clock):
21995         get_clock -> provide_clock.
21996
21997 2005-09-28  Andy Wingo  <wingo@pobox.com>
21998
21999         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22000         lieu of real docs...
22001
22002         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22003
22004 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22005
22006         * gst/elements/gstcapsfilter.c:
22007         * gst/elements/gstfakesink.c:
22008         * gst/elements/gstfakesrc.c:
22009         * gst/elements/gstfdsink.c:
22010         * gst/elements/gstfdsrc.c:
22011         * gst/elements/gstfilesink.c:
22012         * gst/elements/gstfilesrc.c:
22013         * gst/elements/gstidentity.c:
22014         * gst/elements/gsttee.c:
22015         * gst/elements/gsttypefindelement.c:
22016           Make element details static.
22017
22018 2005-09-28  Wim Taymans  <wim@fluendo.com>
22019
22020         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22021         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22022         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22023         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22024         (gst_bin_change_state), (gst_bin_dispose):
22025         Some documentation updates.
22026         Clean up dispose handlers.
22027
22028         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22029         * gst/gstpad.c: (gst_pad_dispose):
22030         Clean up dispose handler.
22031
22032         * gst/gstpipeline.c: (gst_pipeline_change_state):
22033         Removed spurious UNLOCK.
22034
22035 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22036
22037         * docs/gst/gstreamer-sections.txt:
22038         * gst/base/gstbasesrc.h:
22039         * gst/gstelement.h:
22040         * gst/gstevent.h:
22041         * gst/gstobject.h:
22042         * gst/gstpad.h:
22043         * gst/gstpipeline.c:
22044         * gst/gstpipeline.h:
22045         * gst/gstutils.h:
22046         * gst/gstxml.h:
22047           added two new functions to the docs
22048                 documents all undocumented GstXXXFlags
22049                 completed some incomplete docs 
22050
22051 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22052
22053         * gst/gstbin.c: (gst_bin_dispose):
22054         * gst/gstelement.c: (gst_element_dispose):
22055           remove now useless and leaky resurrection code in dispose
22056         * gst/base/gstbasesrc.c: (gst_base_src_init):
22057         * gst/gstelementfactory.c: (gst_element_factory_create):
22058         * gst/gstobject.c: (gst_object_set_parent):
22059           add some debugging
22060
22061 2005-09-27  Wim Taymans  <wim@fluendo.com>
22062
22063         * docs/design/part-TODO.txt:
22064         Update TODO.
22065
22066         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22067         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22068         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22069         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22070         (gst_bin_change_state):
22071         * gst/gstelement.h:
22072         Remove element variable, we keep element info in the iterator now.
22073
22074 2005-09-27  Andy Wingo  <wingo@pobox.com>
22075
22076         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22077         values.
22078
22079 2005-09-27  Wim Taymans  <wim@fluendo.com>
22080
22081         * check/gst/gstbin.c: (GST_START_TEST):
22082         Enable check that works now.
22083
22084         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22085         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22086         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22087         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22088         (gst_bin_change_state):
22089         * gst/gstbin.h:
22090         Redid the state change algorithm using a topological sort algo.
22091         Handles all cases correctly.
22092         Exposed iterator for state change order.
22093
22094         * gst/gstelement.h:
22095         Temp storage for state changes. Need to get rid of this soon.
22096
22097 2005-09-27  Wim Taymans  <wim@fluendo.com>
22098
22099         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22100         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22101         (link_fold_func), (gst_pad_proxy_setcaps):
22102         Leak fixes, the fold functions need to unref the passed object and
22103         _get_parent_*() returns ref to parent.
22104
22105 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22106
22107         * check/gst/gstbuffer.c: (test_make_writable):
22108           Plug leak in test case and fix 'make check-valgrind'
22109
22110 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22111
22112         * gst/gstbuffer.c: (gst_subbuffer_init):
22113           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22114           works correctly in all circumstances (we could have just copied
22115           the parent buffer's readonly flag, but conceptually it seems
22116           cleaner to mark all subbuffers as read-only). (based on patch
22117           by Alessandro Decina, #314710).
22118         
22119         * check/gst/gstbuffer.c: (create_read_only_buffer),
22120         (test_make_writable), (test_subbuffer_make_writable),
22121         (gst_test_suite):
22122           Add some tests for gst_buffer_make_writable().
22123
22124 2005-09-27  Wim Taymans  <wim@fluendo.com>
22125
22126         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22127         use gst_object_has_ancestor().
22128
22129         * gst/gstobject.c: (gst_object_has_ancestor):
22130         * gst/gstobject.h:
22131         gst_object_has_ancestor() copied from gstbin.c as it is a
22132         useful function.
22133
22134         * tests/instantiate/create.c: (create_all_elements):
22135         * tests/lat.c: (handoff_src), (handoff_sink):
22136         * tests/sched/runxml.c: (main):
22137         * tests/seeking/seeking1.c: (main):
22138         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22139         (main):
22140         Fix compilation of some tests.
22141
22142 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22143
22144         * gst/gsterror.h:
22145           Remove comment. GST_TYPE_G_ERROR is here to stay,
22146           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22147           (#316961, #300610).
22148
22149 2005-09-26  Wim Taymans  <wim@fluendo.com>
22150
22151         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22152         Added check that shows error in state change order.
22153
22154 2005-09-26  Wim Taymans  <wim@fluendo.com>
22155
22156         * gst/gstbin.c: (gst_bin_change_state):
22157         Make state change function use 3 queues again, we were
22158         adding elements in the wrong order.
22159
22160         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22161         Some debug info,
22162
22163         * gst/gstpad.c: (gst_pad_dispose):
22164         Added some debug info first.
22165
22166 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22167
22168         * docs/design/draft-push-pull.txt:
22169         * docs/design/part-events.txt:
22170         * docs/design/part-overview.txt:
22171         * docs/design/part-scheduling.txt:
22172           Replace all _pull_region() with _pull_range()
22173           
22174 2005-09-26  Andy Wingo  <wingo@pobox.com>
22175
22176         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22177
22178         * check/gst-libs/controller.c: Update for controller api change.
22179
22180         * configure.ac: 
22181         * tests/Makefile.am:
22182         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22183         over by GLib bug 118439.
22184         
22185         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22186         routines to a function.
22187
22188         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22189
22190         * libs/gst/controller/gsthelper.c:
22191         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22192         (gst_object_sync_values): Renamed from sink_values. Ugh.
22193
22194         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22195
22196         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22197         Renamed from controller_key, as it is exported.
22198
22199         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22200
22201 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22202
22203         * gst/Makefile.am:
22204         * gst/gst.h:
22205         * gst/gstpad.h:
22206         * gst/gstpadtemplate.h:
22207         * gst/gstquery.c:
22208         * gst/gstquery.h:
22209         * gst/gstqueryutils.c:
22210         * gst/gstqueryutils.h:
22211           remove queryutils headers after moving the two used functions
22212           to gstquery.  also fixes build problem for gstsiddec
22213
22214 2005-09-26  Michael Smith <msmith@fluendo.com>
22215
22216         * tools/gst-launch.1.in:
22217         Correct documentation in manpage of debug syntax
22218
22219 2005-09-26  Wim Taymans  <wim@fluendo.com>
22220
22221         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22222         (gst_base_src_is_seekable), (gst_base_src_change_state):
22223         Some more debugging info.
22224
22225 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22226
22227         * docs/gst/gstreamer-sections.txt:
22228         * gst/base/gstbasetransform.h:
22229         * gst/gstindex.h:
22230           added more docs
22231
22232 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22233
22234         * docs/gst/.cvsignore:
22235         * docs/gst/tmpl/.cvsignore:
22236         * docs/gst/tmpl/gstpipeline.sgml:
22237         * docs/gst/tmpl/gstplugin.sgml:
22238         * gst/gstpipeline.c:
22239         * gst/gstplugin.c:
22240         * gst/gstplugin.h:
22241           inlined the last two docs files
22242           removed the tmpl directory from cvs (no more conflicts here!)
22243
22244 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22245
22246         * docs/gst/gstreamer-sections.txt:
22247         * docs/gst/tmpl/.cvsignore:
22248         * docs/gst/tmpl/gstpad.sgml:
22249         * docs/gst/tmpl/gstpadtemplate.sgml:
22250         * gst/Makefile.am:
22251         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22252         (gst_pad_finalize), (gst_pad_set_pad_template):
22253         * gst/gstpad.h:
22254         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22255         (gst_pad_template_class_init), (gst_pad_template_init),
22256         (gst_pad_template_dispose), (name_is_valid),
22257         (gst_static_pad_template_get), (gst_pad_template_new),
22258         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22259         (gst_pad_template_pad_created):
22260         * gst/gstpadtemplate.h:
22261           inlined two more docs
22262           factored gstpadtemplate out of gstpad
22263
22264 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22265
22266         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22267         (test_children_state_change_order_semi_sink):
22268           Fix test case: we can't rely on a fixed state change order when
22269           going from READY => PAUSED because the sink might commit its 
22270           new state first when the first buffer created by the source 
22271           reaches the sink before the source has finished its change state.
22272           (Test case still fails at times, see #316856, comment 5 onwards)
22273
22274 2005-09-24  Wim Taymans  <wim@fluendo.com>
22275
22276         * docs/design/part-events.txt:
22277         * docs/design/part-gstbus.txt:
22278         * docs/design/part-gstpipeline.txt:
22279         * docs/design/part-messages.txt:
22280         * docs/design/part-overview.txt:
22281         * docs/design/part-segments.txt:
22282         * gst/gstbin.c:
22283         * gst/gstbuffer.c:
22284         * gst/gstclock.c:
22285         * gst/gstelement.c:
22286         * gst/gstevent.c:
22287         * gst/gstfilter.c:
22288         * gst/gstiterator.c:
22289         Various documentation updates.
22290
22291 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22292
22293         * gst/gstclock.h:
22294           Well, that's embarassing.  Luckily we weren't using
22295           GST_CLOCK_DIFF anywhere.
22296
22297 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22298
22299         * common/gtk-doc.mak:
22300           don't fail on building XML, FC4 slave shows a bunch of doc
22301           missing bits that I don't get
22302         * gst/gstpad.c:
22303         * gst/gstpipeline.c:
22304         * gst/gststructure.c:
22305           some doc updates
22306
22307 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22308
22309         * docs/design/part-gstbin.txt:
22310         * docs/design/part-gstbus.txt:
22311         * gst/gstbus.c:
22312           Add blurb about how the bus goes into flushing mode and
22313           drops all messages when its bin goes from READY into NULL 
22314           state.
22315
22316 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22317
22318         * docs/gst/gstreamer-sections.txt:
22319         * gst/gststructure.c: (gst_structure_get_clock_time):
22320         * gst/gststructure.h:
22321           add a method to get a GstClockTime out of a structure
22322
22323 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22324
22325         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22326         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22327           Added test to check state change order in bins (can still be made
22328           to fail here under heavy disk load; bails out with 'Push on pad
22329           fakesink:sink0, but it was not activated in push mode').
22330
22331         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22332           Fix state change order when there is only a semi sink (#316856)
22333
22334         * gst/gstbus.c: (gst_bus_class_init):
22335           Use _class_peek_parent(), not _class_ref(); fix docs to say
22336           'default main context' instead of 'mainloop' where that is
22337           what's meant.
22338
22339         * gst/gstelement.c: (gst_element_commit_state),
22340         (gst_element_set_state):
22341           Fix typos in debug messages
22342
22343 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22344
22345         * docs/README:
22346         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22347         * gst/gstpluginfeature.c:
22348         * gst/gstutils.c:
22349           various doc updates
22350         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22351           change an assert into an error until it gets fixed properly
22352
22353 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22354
22355         * docs/gst/gstreamer-sections.txt:
22356         * docs/gst/tmpl/.cvsignore:
22357         * docs/gst/tmpl/gstelement.sgml:
22358         * docs/gst/tmpl/gstinfo.sgml:
22359         * docs/gst/tmpl/gstobject.sgml:
22360         * gst/gstelement.c:
22361         * gst/gstelement.h:
22362         * gst/gstinfo.c:
22363         * gst/gstinfo.h:
22364         * gst/gstobject.c: (gst_object_class_init):
22365         * gst/gstobject.h:
22366           inlined 3 more biiiig doc files and added some missing docs on the fly
22367
22368 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22369
22370         * check/gst/.cvsignore:
22371         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22372         * gst/gstregistryxml.c: (load_plugin),
22373         (gst_registry_xml_save_plugin):
22374           put back source in registry.  add checks for find_plugin.
22375         * testsuite/states/bin.c: (assert_state), (empty_bin),
22376         (test_adding_one_element), (main):
22377         * testsuite/states/locked.c: (main):
22378           some compile/run fixes
22379
22380 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22381
22382         * check/gst/gstvalue.c: (GST_START_TEST):
22383           fix leaks in the test itself
22384
22385 2005-09-22  Wim Taymans  <wim@fluendo.com>
22386
22387         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22388         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22389         (gst_base_sink_query):
22390         Prepare for more accurate position reporting and query
22391         handling.
22392
22393         * gst/gstelement.c: (gst_element_send_event),
22394         (gst_element_set_state):
22395         Add some comment.
22396
22397 2005-09-22  Wim Taymans  <wim@fluendo.com>
22398
22399         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22400         (gst_query_parse_segment):
22401         * gst/gstquery.h:
22402         More documentation.
22403         Add segment query for future use.
22404
22405 2005-09-22  Wim Taymans  <wim@fluendo.com>
22406
22407         * gst/gstbin.c: (gst_bin_add_func):
22408         Some more debug info.
22409
22410         * gst/gstelement.c: (gst_element_send_event):
22411         Simplify send_event
22412
22413         * gst/gstelement.h:
22414         Don't know how flags got broken.
22415
22416         * gst/gstquery.h:
22417         Added new query.
22418
22419 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22420
22421         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22422           Add simplistic test suite for GST_TYPE_DATE serialisation and
22423           deserialisation.
22424
22425 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22426
22427         * docs/gst/gstreamer-sections.txt:
22428         * gst/gststructure.c: (gst_structure_set_valist),
22429         (gst_structure_get_date):
22430         * gst/gststructure.h:
22431         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22432         (gst_date_copy), (gst_value_compare_date),
22433         (gst_value_serialize_date), (gst_value_deserialize_date),
22434         (gst_value_transform_date_string),
22435         (gst_value_transform_string_date), (_gst_value_initialize):
22436         * gst/gstvalue.h:
22437           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22438           bunch of utility functions along with a hack that checks that
22439           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22440           is required. Part of the grand scheme in #170777.
22441
22442 2005-09-22  Andy Wingo  <wingo@pobox.com>
22443
22444         * gst/gstconfig.h.in: Psych out gtk-doc.
22445
22446         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22447
22448         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22449
22450         * tools/gst-inspect.c (print_element_list): Plug some
22451         inconsequential leaks.
22452
22453         * gst/gstregistry.c (gst_registry_get_default): Doc.
22454
22455         * check/gst/gstplugin.c: 
22456         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22457         * gst/gstelementfactory.c (gst_element_factory_create): 
22458         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22459         refcount changes.
22460
22461         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22462         (gst_plugin_feature_load): Doc, don't eat refs.
22463
22464         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22465         (gst_plugin_list_free): Doc.
22466         (gst_plugin_load_file): Doc updates.
22467
22468         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22469         accessors returning refcounted objects, return a ref.
22470
22471         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22472         accessor for caps. IDEMPOTENCE. Oh yes.
22473
22474 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22475
22476         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22477
22478         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22479         (_gst_debug_register_funcptr):
22480           Add mutex to serialise access to the hash table with
22481           the function pointer => function name string mapping;
22482           make that hash table static scope (#316809).
22483
22484         * gst/registries/.cvsignore:
22485           Remove left-over file.
22486
22487 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22488
22489         * docs/pwg/appendix-porting.xml:
22490           And something about newsegment events and caps-on-buffers to
22491           the porting guide (feel free to improve).
22492
22493 2005-09-21  Andy Wingo  <wingo@pobox.com>
22494
22495         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22496         data and event probes on the same pad.
22497         (test_buffer_probe_once): Test that removing probes from within
22498         the probe functions works.
22499
22500 2005-09-21  Andy Wingo  <wingo@pobox.com>
22501
22502         * check/gst/gstutils.c: New file.
22503         (test_buffer_probe_n_times): A simple buffer probe test. More to
22504         come, foolios.
22505
22506         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22507         have-data::buffer, not have-data.
22508         (gst_pad_add_event_probe): Likewise for have-data::event.
22509         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22510         peer' isn't quite right yet though.
22511         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22512         (gst_pad_remove_data_probe): Change to take the guint handler_id
22513         as their arg, not the function+data, which is more glib-like.
22514
22515         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22516         the signal emission to indicate if the data is a buffer or an
22517         event.
22518         (gst_pad_get_type): Initialize buffer and event quarks.
22519         (gst_pad_class_init): have-data is now a detailed signal, yes it
22520         is.
22521
22522 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22523
22524         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22525         * gst/gstutils.c: (gst_util_set_value_from_string),
22526         (gst_util_set_object_arg):
22527           Don't put functional code in g_return_if_fail() or
22528           g_return_val_if_fail() statements, otherwise things will 
22529           break when G_DISABLE_CHECKS is defined during compilation.
22530
22531 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22532
22533         * docs/gst/tmpl/.cvsignore:
22534         * docs/gst/tmpl/gstvalue.sgml:
22535         * gst/gstvalue.c:
22536         * gst/gstvalue.h:
22537           inlied another one and added  some obvious docs
22538
22539 2005-09-21  Wim Taymans  <wim@fluendo.com>
22540
22541         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22542         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22543         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22544         (gst_fdsrc_get_property), (gst_fdsrc_create):
22545         * gst/elements/gstfdsrc.h:
22546         Properly implement fdsrc. Removed signal and timeout,
22547         better implemented somewhere else.
22548
22549 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22550
22551         * docs/gst/tmpl/.cvsignore:
22552         * docs/gst/tmpl/gstimplementsinterface.sgml:
22553         * gst/gstinterface.c:
22554           inlined more docs
22555
22556 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22557
22558         * docs/gst/gstreamer-sections.txt:
22559         * docs/gst/tmpl/.cvsignore:
22560         * docs/gst/tmpl/gstenumtypes.sgml:
22561           remove obsolete doc file
22562
22563 2005-09-21  David Schleef  <ds@schleef.org>
22564
22565         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22566         little beer, fix a little leak.
22567
22568 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22569
22570         * docs/gst/gstreamer-docs.sgml:
22571         * docs/gst/gstreamer-sections.txt:
22572         * docs/gst/tmpl/.cvsignore:
22573         * gst/Makefile.am:
22574         * gst/gst.h:
22575         * gst/gstbin.c:
22576         * gst/gstelement.h:
22577         * gst/gstindex.c: (gst_index_class_init):
22578         * gst/gstindex.h:
22579         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22580         (gst_index_factory_class_init), (gst_index_factory_init),
22581         (gst_index_factory_finalize), (gst_index_factory_new),
22582         (gst_index_factory_destroy), (gst_index_factory_find),
22583         (gst_index_factory_create), (gst_index_factory_make):
22584         * gst/gstindexfactory.h:
22585         * gst/gstpluginfeature.c:
22586         * gst/gstpluginfeature.h:
22587         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22588           more docs inlined, splitted gstindex.{c,h}
22589
22590 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22591
22592         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22593           fix a leak
22594
22595 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22596
22597         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22598           Set sync to FALSE by default.
22599
22600 2005-09-20  Wim Taymans  <wim@fluendo.com>
22601
22602         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22603         (gst_base_sink_init):
22604         Make sync property settable from subclass.
22605
22606         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22607         (gst_fake_sink_change_state):
22608         Set sync to FALSE by default.
22609
22610 2005-09-20  Wim Taymans  <wim@fluendo.com>
22611
22612         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22613         * tools/gst-launch.c: (main):
22614         The timeout handler should have lower priority than the source
22615         so we don't timeout before popping a message with 0 timeout.
22616         Dump error messages after failed state change.
22617
22618 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22619
22620         * tools/gst-inspect.c: (print_element_properties_info):
22621           Fix two typos.
22622
22623 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22624
22625         * check/gst/gstevent.c:
22626         * gst/elements/gstfakesink.c:
22627         * gst/elements/gstfakesink.h:
22628           remove the sync property from fakesink.
22629           has the side effect of setting sync TRUE
22630           for fakesink, which is a change.  Anyone who knows how
22631           to fix this nicely in a GObject-y way, feel free.
22632
22633 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22634
22635         * docs/gst/gstreamer-docs.sgml:
22636           remove probe refsection
22637
22638 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22639
22640         * check/Makefile.am:
22641           disable valgrinding the controller test again
22642         * docs/gst/gstreamer-sections.txt:
22643           update for api-changes
22644
22645 2005-09-20  Wim Taymans  <wim@fluendo.com>
22646
22647         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22648         (gst_base_sink_set_property), (gst_base_sink_get_property),
22649         (gst_base_sink_do_sync):
22650         * gst/base/gstbasesink.h:
22651         Added sync property to basesink to disable clock sync.
22652
22653 2005-09-20  Andy Wingo  <wingo@pobox.com>
22654
22655         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22656         eating the caller's refcount.
22657
22658         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
22659         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22660         refcount.
22661
22662         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22663         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22664         of GLib 2.8 public, so we can know which refcount to check in
22665         tests.
22666
22667         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22668         (gst_object_init): Only set the gst refcount if we're going ahead
22669         with the refcount hack.
22670
22671 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22672
22673         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22674         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22675           more leaks plumbed, added more debug-logging
22676         * gst/gstmacros.h:
22677           whitespace fix
22678
22679 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22680
22681         * gst/gstmessage.c:
22682           remove include of gstmemchunk.h
22683
22684 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22685
22686         * gst/gstclock.c: (_gst_clock_id_free):
22687           Commit from the Political Party For More Atomic CVS Commits,
22688           so that people don't waste too much of their day fishing
22689           out obvious leaks out of massive commits.
22690           Oh, and fix a pretty damn obvious leak in the memchunk
22691           removal code.
22692
22693 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22694
22695         * check/Makefile.am:
22696         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22697           plug mem-leak, re-add to valgrindable tests
22698
22699 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22700
22701         * gst/gstplugin.h:
22702           unbreak the build for those who have chronic arthritis
22703           and typing "make check" is just too taxing on the hands
22704
22705 2005-09-20  Andy Wingo  <wingo@pobox.com>
22706
22707         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22708         really want it out, you should fix plugins at the same time.
22709
22710 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
22711
22712         * configure.ac:
22713         * docs/gst/gstreamer-sections.txt:
22714         * gst/gstobject.c:
22715           added missing symbols to api docs
22716           disable ref-count hack if we have glib >= 2.8
22717
22718 2005-09-19  David Schleef  <ds@schleef.org>
22719
22720         * docs/gst/Makefile.am: Ignore a few more internal headers
22721         * docs/gst/gstreamer-docs.sgml: Remove old sections
22722         * docs/gst/gstreamer-sections.txt: Remove old sections
22723         * docs/gst/tmpl/gstobject.sgml: update
22724         * docs/gst/tmpl/gstplugin.sgml: update
22725         * docs/gst/tmpl/gstpluginfeature.sgml: update
22726         * docs/random/ds/0.9-suggested-changes: update.
22727         * gst/Makefile.am: remove memchunk and trashstack, since they're
22728           not used.
22729         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22730         * gst/gst.h: don't include some headers
22731         * gst/gstchildproxy.c: add gstmarshal.h
22732         * gst/gstclock.c: Don't use memchunks
22733         * gst/gstminiobject.c: Add some docs
22734         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22735         * gst/gstobject.h: same
22736         * gst/gstplugin.c: include gstmacros.h
22737         * gst/gstplugin.h: don't include gstmacros.h, since it's private
22738         * gst/gstquery.c: don't use memchunks
22739         * gst/gstregistry.c: rename gst_registry_deinit()
22740         * gst/gstregistry.h: same
22741
22742 2005-09-19  David Schleef  <ds@schleef.org>
22743
22744         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22745         * docs/libs/gstreamer-libs-sections.txt:
22746         * docs/libs/tmpl/gstgetbits.sgml:
22747         * docs/libs/tmpl/gstputbits.sgml:
22748
22749 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
22750
22751         * win32/gstenumtypes.c:
22752         * win32/gstenumtypes.h:
22753           Update.
22754
22755 2005-09-19  Wim Taymans  <wim@fluendo.com>
22756
22757         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22758         Automatically PAUSE and RESUME a pipeline when a flushing seek
22759         is performed.
22760
22761 2005-09-19  Andy Wingo  <wingo@pobox.com>
22762
22763         * gst/gstregistry.h: Spacing fixen.
22764
22765 2005-09-19  Wim Taymans  <wim@fluendo.com>
22766
22767         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22768         Handle state change failure more correctly.
22769
22770 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22771
22772         * check/Makefile.am:
22773         * check/pipelines/cleanup.c: (run_pipeline):
22774         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22775         (GST_START_TEST):
22776           enable cleanup again after fixing the leak
22777         * docs/README:
22778           some more info on docs
22779
22780 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22781
22782         * check/Makefile.am:
22783           re-enable tests now that leaks are plugged
22784         * check/gst/gst.c:
22785         * check/gst/gstbin.c:
22786         * check/gst/gstpipeline.c:
22787           add some more tests while fixing leaks
22788         * common/check.mak:
22789           make sure binaries are uptodate when valgrinding/gdbing
22790         * gst/gst.c:
22791         * gst/gstelementfactory.c:
22792           remove a ref too many, and add a FIXME for when we get
22793           round to disposing of classes
22794         * gst/gstplugin.c:
22795           fix the refcounting when loading a plugin from a file and
22796           the code pretends that the pointer is the same even though
22797           of course it can change
22798         * gst/gstpluginfeature.c:
22799           unref plugins marked cached (a bit confusing as a name)
22800           as the docs state should be done
22801           various doc additions to explain refcounting
22802         * gst/gstregistry.c:
22803         * gst/gstregistryxml.c:
22804           debugging
22805
22806 2005-09-19  Wim Taymans  <wim@fluendo.com>
22807
22808         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22809         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22810         (send_messages), (GST_START_TEST), (gstbus_suite):
22811         * check/gst/gstpipeline.c: (GST_START_TEST):
22812         * check/pipelines/cleanup.c: (run_pipeline):
22813         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22814         (GST_START_TEST):
22815         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22816         (gst_bus_source_check), (gst_bus_source_dispatch),
22817         (gst_bus_create_watch), (gst_bus_add_watch_full),
22818         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22819         * gst/gstbus.h:
22820         * tools/gst-launch.c: (event_loop):
22821         * tools/gst-md5sum.c: (event_loop):
22822         GstBusHandler -> GstBusFunc, return value has the same meaning as
22823         any other GSource (FALSE == remove source).
22824         _add_watch() and _add_watch_full() now take a MessageType mask to
22825         only handle specific types of messages.
22826         _poll() returns the GstMessage instead of the message type to avoid
22827         race conditions.
22828         _have_pending() takes a MessageType mask now too.
22829         Added testsuite for multiple bus watches.
22830         Fix testsuites and applications for new bus API.
22831
22832 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22833
22834         * check/Makefile.am:
22835           mark a bunch of the tests as to fix until we fix them
22836
22837 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22838
22839         * common/check.mak:
22840           use GST_PLUGIN settings for valgrind tests as well, so we're
22841           valgrinding the correct thing
22842         * gst/gst.c: (init_post):
22843           plug another leak
22844
22845 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22846
22847         * gst/gst.c: (init_post), (gst_deinit):
22848         * gst/gstelementfactory.c: (gst_element_factory_class_init),
22849         (gst_element_factory_finalize), (gst_element_factory_cleanup):
22850         * gst/gstindex.c: (gst_index_factory_class_init),
22851         (gst_index_factory_finalize):
22852         * gst/gstobject.c: (gst_object_dispose):
22853         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22854         (gst_plugin_load_file), (gst_plugin_desc_free):
22855         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22856         (gst_plugin_feature_finalize):
22857         * gst/gstregistry.c: (gst_registry_class_init),
22858         (gst_registry_init), (gst_registry_finalize),
22859         (gst_registry_get_default), (gst_registry_deinit):
22860         * gst/gstregistry.h:
22861         * gst/gstregistryxml.c: (load_feature), (load_plugin):
22862           various cleanups and memleak plugging.  make valgrind is happy now.
22863
22864 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22865
22866         * common/check.mak:
22867           add a check-valgrind target
22868
22869 2005-09-18  David Schleef  <ds@schleef.org>
22870
22871         * tools/gst-inspect.c: Revert the GOption code.
22872
22873 2005-09-17  David Schleef  <ds@schleef.org>
22874
22875         * check/Makefile.am: Fix environment variables.
22876         * check/gst/gstplugin.c: Fix for API changes.
22877         * tools/gst-inspect.c: Fix for API changes.
22878         * tools/gst-xmlinspect.c: Fix for API changes.
22879         * gst/gstelementfactory.c:
22880         * gst/gstplugin.c:
22881         * gst/gstplugin.h:
22882         * gst/gstpluginfeature.c:
22883         * gst/gstpluginfeature.h:
22884         * gst/gstregistry.c:
22885         * gst/gstregistry.h:
22886         * gst/gstregistryxml.c:
22887         * gst/gsttypefind.c:
22888         * gst/gsttypefindfactory.c:
22889         * gst/indexers/gstfileindex.c:
22890         * gst/indexers/gstmemindex.c:
22891         * gst/schedulers/Makefile.am:
22892           Change registry to keep track of both plugins and features,
22893           removing the feature tracking from plugins themselves.
22894
22895 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22896
22897         * check/Makefile.am:
22898         * tools/gst-register.1.in:
22899           remove gst-register
22900
22901 2005-09-15  David Schleef  <ds@schleef.org>
22902
22903         * check/gst/gstplugin.c:
22904         * gst/gstelementfactory.c:
22905         * gst/gstplugin.c:
22906         * gst/gstpluginfeature.c:
22907         * gst/gstregistry.c:
22908           Getting tired of debugging.  Disabled all the unreffing of
22909           plugins and features, which fixes the segfaults, but of
22910           course leaks like crazy.  At least playbin works.
22911
22912 2005-09-15  David Schleef  <ds@schleef.org>
22913
22914         * check/gst/gstplugin.c: (register_check_elements),
22915         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22916         More testing
22917         * gst/elements/gsttypefindelement.c: Fix refcounting.
22918         * gst/gsttypefind.c:
22919         * gst/gsttypefindfactory.c:
22920         * gst/gsttypefindfactory.h:
22921
22922 2005-09-15  David Schleef  <ds@schleef.org>
22923
22924         * gst/gstindex.c: get refcounting correct.
22925         * gst/gstregistry.c: Handle the case where a feature/plugin is
22926           not found.
22927
22928 2005-09-15  David Schleef  <ds@schleef.org>
22929
22930         * check/Makefile.am:
22931         * check/gst/gstplugin.c: Add test
22932         * gst/gstplugin.c: Fix problems noticed by testsuite
22933         * gst/gstplugin.h:
22934         * gst/gstregistry.c: 
22935         * gst/gstregistry.h:
22936
22937 2005-09-15  David Schleef  <ds@schleef.org>
22938
22939         * gst/gstplugin.c: Implement semi-decent recounting and locking
22940           in plugins and plugin features.
22941         * gst/gstplugin.h:
22942         * gst/gstpluginfeature.c:
22943         * gst/gstpluginfeature.h:
22944         * gst/gstregistry.c:
22945
22946 2005-09-15  Michael Smith <msmith@fluendo.com>
22947
22948         * gst/gstregistry.c: (gst_registry_get_feature_list):
22949           Implement this. Makes oggdemux work; decodebin still broken.
22950
22951 2005-09-14  David Schleef  <ds@schleef.org>
22952
22953         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
22954           #316076)
22955         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
22956         * gst/check/Makefile.am:
22957         * libs/gst/controller/Makefile.am:
22958         * libs/gst/dataprotocol/Makefile.am:
22959
22960 2005-09-14  David Schleef  <ds@schleef.org>
22961
22962         * configure.ac: Remove getbits library.  Nothing uses it, and
22963           it should be in something like liboil if someone did want
22964           to use it.
22965         * libs/gst/Makefile.am:
22966         * libs/gst/getbits/Makefile.am:
22967         * libs/gst/getbits/gbtest.c:
22968         * libs/gst/getbits/getbits.c:
22969         * libs/gst/getbits/getbits.h:
22970         * libs/gst/getbits/gstgetbits_generic.c:
22971         * libs/gst/getbits/gstgetbits_i386.s:
22972         * libs/gst/getbits/gstgetbits_inl.h:
22973
22974 2005-09-14  David Schleef  <ds@schleef.org>
22975
22976         * gst/Makefile.am: Dist glib-compat.h
22977
22978 2005-09-14  David Schleef  <ds@schleef.org>
22979
22980         * configure.ac: Remove gst/registries, since it's no longer used.
22981         * gst/registries/Makefile.am:
22982         * gst/registries/gstlibxmlregistry.c:
22983         * gst/registries/gstlibxmlregistry.h:
22984         * gst/registries/gstxmlregistry.c:
22985         * gst/registries/gstxmlregistry.h:
22986         * gst/registries/registrytest.c:
22987
22988 2005-09-14  David Schleef  <ds@schleef.org>
22989
22990         * gst/glib-compat.h:
22991         * gst/gstregistryxml.c:
22992           Convergence is near.  Seriously.
22993
22994 2005-09-14  David Schleef  <ds@schleef.org>
22995
22996         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22997         * gst/glib-compat.h:
22998           Attempt #4 to appease the buildbots.
22999
23000 2005-09-14  David Schleef  <ds@schleef.org>
23001
23002         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23003           Attempt #3.
23004
23005 2005-09-14  David Schleef  <ds@schleef.org>
23006
23007         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23008         Attempt #2.
23009
23010 2005-09-14  David Schleef  <ds@schleef.org>
23011
23012         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23013           the new functions.
23014
23015 2005-09-14  David Schleef  <ds@schleef.org>
23016
23017         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23018         * gst/glib-compat.h: Add some functions that are in newer versions
23019           of glib than we care to require.
23020         * gst/gstregistryxml.c: Use them.
23021
23022 2005-09-14  David Schleef  <ds@schleef.org>
23023
23024         * po/POTFILES.in: remove gst-register.c
23025
23026 2005-09-14  David Schleef  <ds@schleef.org>
23027
23028         * docs/gst/gstreamer-docs.sgml:
23029         * docs/gst/gstreamer-sections.txt:
23030         * docs/gst/gstreamer.types:
23031         * docs/gst/tmpl/gstelement.sgml:
23032         * docs/gst/tmpl/gstplugin.sgml:
23033         * docs/gst/tmpl/gstpluginfeature.sgml:
23034           Documentation updates for registry changes.
23035
23036 2005-09-14  David Schleef  <ds@schleef.org>
23037
23038         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23039           because we don't require glib-2.8.
23040
23041 2005-09-14  David Schleef  <ds@schleef.org>
23042
23043         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23044           registries directory.
23045
23046 2005-09-14  David Schleef  <ds@schleef.org>
23047
23048         * check/Makefile.am:
23049         * check/generic/states.c:
23050         * gst/Makefile.am:
23051         * gst/gst.c:
23052         * gst/gst.h:
23053         * gst/gst_private.h:
23054         * gst/gstelementfactory.c:
23055         * gst/gstindex.c:
23056         * gst/gstinfo.c:
23057         * gst/gstplugin.c:
23058         * gst/gstplugin.h:
23059         * gst/gstpluginfeature.c:
23060         * gst/gstpluginfeature.h:
23061         * gst/gstregistry.c:
23062         * gst/gstregistry.h:
23063         * gst/gstregistrypool.c: remove
23064         * gst/gstregistrypool.h: remove
23065         * gst/gsttypefind.c:
23066         * gst/gsttypefindfactory.c:
23067         * gst/gsturi.c:
23068         * tools/Makefile.am:
23069         * tools/gst-compprep.c:
23070         * tools/gst-inspect.c:
23071         * tools/gst-register.c: remove
23072         * tools/gst-xmlinspect.c:
23073           Registry rewrite.  Changes registry from being a file created
23074           by a tool into a simple cache file created automatically by 
23075           libgstreamer.  Removed gst-register (because it's no longer
23076           needed).  Remove registry pools, because we only have one
23077           registry implementation (XML).  Fix up other subsystems as
23078           necessary.
23079
23080 2005-09-13  Michael Smith <msmith@fluendo.com>
23081
23082         * gst/gstconfig.h.in:
23083           Don't Use windows linking attributes for MinGW. Fixes #316157
23084
23085 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23086
23087         * gst/gstutils.c: (set_state_async_thread_func),
23088         (gst_element_set_state_async):
23089           Apparently people think it's better if this function doesn't
23090           try to set the state to whatever state was asked for on the first
23091           call to this function for any object.  Seriously.
23092
23093 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23094
23095         * check/gst/gstpipeline.c: (GST_START_TEST):
23096         * docs/gst/gstreamer-sections.txt:
23097         * gst/gstutils.c: (set_state_async_thread_func),
23098         (gst_element_set_state_async):
23099         * gst/gstutils.h:
23100           add a "gst_element_set_state_async" method that
23101           sets the state and starts a thread to make sure the state
23102           change completes as best as it can
23103
23104 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23105
23106         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23107           codify design+behaviour in testsuite after discussion
23108
23109 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23110
23111         * docs/gst/tmpl/gstelement.sgml:
23112         * docs/manual/appendix-quotes.xml:
23113           add a quote
23114         * gst/gstelement.c: (gst_element_set_state):
23115           add some debug
23116
23117 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23118
23119         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23120         (gst_base_transform_prepare_output_buf),
23121         (gst_base_transform_handle_buffer):
23122         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23123         (gst_capsfilter_prepare_buf):
23124           Remove the requirement for sub-classes to call the parent
23125           implementation of prepare_output_buffer with a wrapper function.
23126           
23127         * gst/gsttaglist.h:
23128         * gst/gsttagsetter.h:
23129           Fix #define wrapper
23130
23131 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23132
23133         * docs/gst/gstreamer-sections.txt:
23134           more doc cleanups
23135
23136 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23137
23138         * docs/gst/gstreamer-sections.txt:
23139         * docs/gst/tmpl/gstelement.sgml:
23140         * docs/gst/tmpl/gstplugin.sgml:
23141         * gst/gstminiobject.c:
23142         * gst/gstvalue.h:
23143           docs now stop throwing warnings
23144
23145 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23146
23147         * docs/gst/gstreamer-sections.txt:
23148         * docs/gst/gstreamer.types:
23149         * docs/gst/tmpl/gstpad.sgml:
23150         * docs/gst/tmpl/gsttypes.sgml:
23151         * gst/base/gstadapter.h:
23152         * gst/base/gstbasesink.h:
23153         * gst/base/gstbasesrc.h:
23154         * gst/gstbin.h:
23155         * gst/gstbuffer.h:
23156         * gst/gstbus.h:
23157         * gst/gstcaps.h:
23158         * gst/gstclock.h:
23159         * gst/gstelement.h:
23160         * gst/gstevent.h:
23161         * gst/gstmessage.h:
23162         * gst/gstpad.h:
23163         * gst/gststructure.c:
23164         * gst/registries/gstlibxmlregistry.h:
23165           various documentation fixes
23166
23167 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23168
23169         * docs/gst/gstreamer-sections.txt:
23170         * docs/gst/tmpl/gstvalue.sgml:
23171           rearrange gstvalue section
23172         * gst/gstutils.c: (gst_element_state_get_name):
23173           NONE -> VOID
23174         * gst/gstvalue.c: (_gst_value_initialize):
23175         * gst/gstvalue.h:
23176           doc updates
23177
23178 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23179
23180         * check/gst-libs/controller.c:
23181           Header include fix.
23182         * gst/base/gstbasetransform.c:
23183         (gst_base_transform_default_prepare_buf),
23184         (gst_base_transform_handle_buffer):
23185         * gst/base/gstbasetransform.h:
23186           Some more basetransform changes and fixes to enable sub-classes
23187           that modify buffer metadata only.
23188         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23189         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23190         (gst_capsfilter_prepare_buf):
23191           If the output pad has fixed allowed caps and input buffers 
23192           don't have any, set the fixed caps on outgoing buffers.
23193
23194 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23195         * check/elements/identity.c: (GST_START_TEST):
23196           Make the error a little clearer when the test fails because
23197           identity made a copy of the buffer.
23198         * docs/gst/gstreamer-sections.txt:
23199           New symbols in gstbasetransform.h
23200         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23201         (gst_base_transform_init), (gst_base_transform_transform_size),
23202         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23203         (gst_base_transform_default_prepare_buf),
23204         (gst_base_transform_get_unit_size),
23205         (gst_base_transform_buffer_alloc),
23206         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23207         (gst_base_transform_change_state),
23208         (gst_base_transform_set_passthrough),
23209         (gst_base_transform_set_in_place),
23210         (gst_base_transform_is_in_place):
23211         * gst/base/gstbasetransform.h:
23212           Change BaseTransform to separate in_place operate from same_caps
23213           output. in_place implies that the element can perform the transform
23214           on incoming buffers in-place, even if the caps on the output are
23215           different.
23216           Sub-class elements can now implement special buffer allocation
23217           methods for outgoing buffers if they wish to.
23218           Big documentation addition.
23219         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23220         * gst/elements/gstelements.c:
23221           Changes for basetransform modifications.
23222         * gst/elements/Makefile.am:
23223         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23224           Compile fix. Extra debug output.
23225
23226 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23227
23228         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23229         (gst_pad_suite):
23230           add tests for valid pad naming
23231         * gst/check/gstcheck.c: (gst_check_log_message_func),
23232         (gst_check_log_critical_func):
23233           add ASSERT_WARNING
23234           remove printing of code, it is fragile when the code contains
23235           % and the line number is enough info
23236         * gst/check/gstcheck.h:
23237         * gst/gstpad.c: (gst_pad_template_new):
23238           fix memleaks
23239
23240 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23241
23242         * configure.ac:
23243           say what CHECK flags we use
23244         * docs/libs/gstreamer-libs.types:
23245         * libs/gst/controller/Makefile.am:
23246         * libs/gst/controller/gst-controller.c:
23247         * libs/gst/controller/gst-controller.h:
23248         * libs/gst/controller/gst-helper.c:
23249         * libs/gst/controller/gst-interpolation.c:
23250         * libs/gst/controller/gstcontroller.c:
23251         * libs/gst/controller/gsthelper.c:
23252         * libs/gst/controller/gstinterpolation.c:
23253         * tools/gst-inspect.c: (print_plugin_info):
23254           we don't use dashes in header names
23255
23256 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23257
23258         * check/Makefile.am:
23259         * check/gst/.cvsignore:
23260         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23261         (gst_pipeline_suite), (main):
23262           adding a test for pipelines and state changes
23263         * gst/gstutils.c: (get_state_func):
23264           add some debugging
23265         * gstreamer.spec.in:
23266           fix up spec file
23267
23268 2005-09-08  Michael Smith <msmith@fluendo.com>
23269
23270         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23271         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23272         (gst_file_src_is_seekable), (gst_file_src_get_size),
23273         (gst_file_src_start):
23274         * gst/elements/gstfilesrc.h:
23275           Various fixes for unseekable, unmmapable, and non-normal files, so
23276           that fallback to read() rather than mmap() works.
23277         * gst/gstevent.c: (gst_event_new_newsegment):
23278           Allow newsegment events with segment_start == segment_end, as will
23279           correctly happen if you use filesrc on a zero-size file, for
23280           example.
23281
23282 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23283
23284         * gst/gstplugin.c: (gst_plugin_load_file):
23285           Call g_module_close when we don't load the module
23286
23287         * gst/registries/gstlibxmlregistry.c:
23288         (gst_xml_registry_get_property):
23289           Port leak fix from 0.8
23290
23291 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23292
23293         * docs/gst/gstreamer-docs.sgml:
23294         * docs/gst/tmpl/.cvsignore:
23295         * docs/gst/tmpl/gsttrace.sgml:
23296         * docs/gst/tmpl/gsttrashstack.sgml:
23297         * gst/Makefile.am:
23298         * gst/gst.h:
23299         * gst/gstelement.h:
23300         * gst/gstevent.h:
23301         * gst/gstmessage.c:
23302         * gst/gstmessage.h:
23303         * gst/gsttag.c:
23304         * gst/gsttag.h:
23305         * gst/gsttaginterface.c:
23306         * gst/gsttaginterface.h:
23307         * gst/gsttaglist.c:
23308         * gst/gsttaglist.h:
23309         * gst/gsttagsetter.c:
23310         * gst/gsttagsetter.h:
23311         * gst/gsttrace.c:
23312         * gst/gsttrace.h:
23313         * gst/gsttrashstack.c:
23314           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23315           inlined docs for gsttrace, gsttrashstack
23316
23317 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23318
23319         * gst/Makefile.am:
23320         * gst/elements/gstbufferstore.h:
23321         * gst/elements/gsttypefindelement.c:
23322         * gst/elements/gsttypefindelement.h:
23323         * gst/gst.h:
23324         * gst/gsttypefind.c:
23325         * gst/gsttypefind.h:
23326         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23327         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23328         (gst_type_find_factory_dispose),
23329         (gst_type_find_factory_unload_thyself),
23330         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23331         (gst_type_find_factory_get_caps),
23332         (gst_type_find_factory_get_extensions),
23333         (gst_type_find_factory_call_function):
23334         * gst/gsttypefindfactory.h:
23335         * gst/registries/gstlibxmlregistry.c:
23336         * gst/registries/gstxmlregistry.c:
23337           splitted gsttypefind into gsttypefind, gsttypefindfactory
23338
23339 2005-09-07  Andy Wingo  <wingo@pobox.com>
23340
23341         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23342         condition whereby the pad's task function is entered before the
23343         pad_mode variable was set.
23344
23345 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23346
23347         * gst/gstpad.c: (gst_pad_alloc_buffer):
23348           Catch misbehaving pad_alloc functions that don't
23349           set up caps and do it for them.
23350
23351 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23352
23353         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23354           test for pipe!=NULL
23355         * docs/gst/tmpl/.cvsignore:
23356         * docs/gst/tmpl/gstmemchunk.sgml:
23357         * docs/gst/tmpl/gstparse.sgml:
23358         * docs/gst/tmpl/gsttaglist.sgml:
23359         * docs/gst/tmpl/gsttagsetter.sgml:
23360         * docs/gst/tmpl/gsttypefind.sgml:
23361         * docs/gst/tmpl/gsttypefindfactory.sgml:
23362         * gst/gstmemchunk.c:
23363         * gst/gstparse.c:
23364         * gst/gsttag.c:
23365         * gst/gsttaginterface.c:
23366         * gst/gsttypefind.c:
23367         * gst/gsttypefind.h:
23368           inlined more docs
23369
23370 === release 0.9.2 ===
23371
23372 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23373
23374         * NEWS:
23375         * RELEASE:
23376         * configure.ac:
23377           releasing 0.9.2, "South"
23378
23379 2005-09-05  Andy Wingo  <wingo@pobox.com>
23380
23381         * gst/registries/gstxmlregistry.h:
23382         * gst/registries/gstxmlregistry.c: Um... resurrect...
23383         
23384         * gst/registries/gstxmlregistry.h:
23385         * gst/registries/gstxmlregistry.c: and update to newer API.
23386         Incidentally they should be a bit faster now that they don't have
23387         to parse the caps.
23388         
23389 2005-09-05  Andy Wingo  <wingo@pobox.com>
23390
23391         * gst/registries/gstxmlregistry.h:
23392         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23393         replaced by the libxml registry a while back
23394
23395 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23396
23397         * docs/gst/tmpl/gstplugin.sgml:
23398         * gst/elements/gstelements.c:
23399         * gst/gst.c:
23400         * gst/gstplugin.c: (gst_plugin_register_func),
23401         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23402         (gst_plugin_get_source):
23403         * gst/gstplugin.h:
23404         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23405         (gst_xml_registry_save_plugin):
23406         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23407         (gst_xml_registry_save_plugin):
23408         * tools/gst-inspect.c: (print_plugin_info):
23409           add a "source" plugin description field, to represent the source
23410           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23411           will set it to PACKAGE, which is automake's idea of the name of
23412           the source project.
23413
23414 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23415
23416         * Makefile.am:
23417         * autogen.sh:
23418         * configure.ac:
23419         * docs/Makefile.am:
23420         * docs/faq/Makefile.am:
23421         * docs/gst/tmpl/gstelement.sgml:
23422         * docs/gst/tmpl/gsttypes.sgml:
23423         * docs/htmlinstall.mak:
23424         * docs/manual/Makefile.am:
23425         * docs/pwg/Makefile.am:
23426           reorganize doc build a little
23427           split out docbook and gtk-doc stuff
23428           have two separate --enable's and enable them through autogen
23429           but disable by default in configure (to be similar to other
23430           projects)
23431         * gstreamer.spec.in:
23432           clean up docs install
23433         * po/af.po:
23434         * po/az.po:
23435         * po/ca.po:
23436         * po/cs.po:
23437         * po/de.po:
23438         * po/en_GB.po:
23439         * po/fr.po:
23440         * po/it.po:
23441         * po/nb.po:
23442         * po/nl.po:
23443         * po/ru.po:
23444         * po/sq.po:
23445         * po/sr.po:
23446         * po/sv.po:
23447         * po/tr.po:
23448         * po/uk.po:
23449         * po/vi.po:
23450           translation updates
23451
23452 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23453
23454         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23455           Add comment.
23456           
23457         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23458         (gst_fake_sink_change_state):
23459           Make state change function thread-safe.
23460           
23461         * gst/gstpad.c: (gst_pad_alloc_buffer):
23462           Set offset on generic buffer allocated by fallback.
23463
23464 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23465
23466         * docs/gst/gstreamer-sections.txt:
23467         * docs/gst/tmpl/gstelement.sgml:
23468         * gst/gstpad.c:
23469         * libs/gst/controller/gst-controller.c:
23470         (gst_controlled_property_set_interpolation_mode),
23471         (gst_controlled_property_new),
23472         (gst_controller_find_controlled_property):
23473          run the wingo-magic script against the docs
23474
23475 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23476
23477         * docs/gst/gstreamer-docs.sgml:
23478         * docs/gst/gstreamer-sections.txt:
23479         * docs/gst/tmpl/.cvsignore:
23480         * docs/gst/tmpl/gstelementdetails.sgml:
23481         * docs/gst/tmpl/gstelementfactory.sgml:
23482         * gst/gst.c:
23483         * gst/gstbus.c:
23484         * gst/gstelementfactory.c:
23485         * gst/gstelementfactory.h:
23486           merged elementdetails docs into elementfactory docs
23487           inlined both
23488
23489 2005-09-02  Andy Wingo  <wingo@pobox.com>
23490
23491         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23492         consider this enum an enum and not a flags.
23493
23494 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23495
23496         * docs/gst/gstreamer-docs.sgml:
23497         * docs/gst/tmpl/.cvsignore:
23498         * docs/gst/tmpl/gstghostpad.sgml:
23499         * docs/gst/tmpl/gstiterator.sgml:
23500         * docs/gst/tmpl/gstmacros.sgml:
23501         * docs/gst/tmpl/gstrealpad.sgml:
23502         * docs/gst/tmpl/gstregistry.sgml:
23503         * docs/gst/tmpl/gstregistrypool.sgml:
23504         * docs/gst/tmpl/gststructure.sgml:
23505         * docs/gst/tmpl/gstsystemclock.sgml:
23506         * docs/gst/tmpl/gsttrace.sgml:
23507         * gst/gstghostpad.c:
23508         * gst/gstmacros.h:
23509         * gst/gstmemchunk.c:
23510         * gst/gstmemchunk.h:
23511         * gst/gstqueue.c:
23512         * gst/gstregistry.c:
23513         * gst/gstregistrypool.c:
23514         * gst/gststructure.c:
23515         * gst/gstsystemclock.c:
23516           more docs inlined
23517
23518 2005-09-02  Andy Wingo  <wingo@pobox.com>
23519
23520         * gst/gstelement.h (GstState): Renamed from GstElementState,
23521         changed to be a normal enum instead of flags.
23522         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23523         munged to be GST_STATE_CHANGE_*.
23524         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23525         work with the new state representation.
23526         (GstStateChange): New enumeration of possible state transitions.
23527         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23528         (GstElementClass::change_state): Pass the GstStateChange along as
23529         an argument. Helps language bindings, so they don't have to use
23530         tricky lock-needing macros like GST_STATE_CHANGE ().
23531
23532         * scripts/update-states (file): New script. Run it on a file to
23533         update it for state naming and API changes. Updates files in
23534         place.
23535
23536         * All files updated for the new API.
23537
23538 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23539
23540         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23541         * gst/gstutils.c: (gst_util_set_value_from_string),
23542         (gst_util_set_object_arg):
23543           fix a bunch of unchecked return values
23544         * tools/gst-complete.c: (main):
23545         * gstreamer.spec.in:
23546           clean up a little
23547
23548 2005-09-01  Wim Taymans  <wim@fluendo.com>
23549
23550         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23551         (gst_base_sink_event), (gst_base_sink_do_sync),
23552         (gst_base_sink_handle_event):
23553         * gst/base/gstbasesink.h:
23554         Handle newsegments more correctly.
23555
23556         * gst/gstbus.c:
23557         Fix docs.
23558
23559         * gst/gstevent.c: (gst_event_new_newsegment):
23560         A newsegment cannot have a start_time of -1
23561
23562 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23563
23564         * win32/gstenumtypes.c:
23565         * win32/gstenumtypes.h:
23566           Update
23567
23568 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23569
23570         * libs/gst/controller/gst-controller.c:
23571         (gst_controlled_property_set_interpolation_mode),
23572         (gst_controlled_property_new):
23573          fixed boolean again
23574
23575 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23576
23577         * docs/faq/gst-uninstalled:
23578           add -good
23579         * gst/gstevent.c:
23580         * gst/gstevent.h:
23581           remove wrong docs
23582         * gst/gstutils.c: (gst_element_link_filtered):
23583         * gst/gstutils.h:
23584           add gst_element_link_filtered
23585
23586 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23587
23588         * docs/gst/gstreamer-docs.sgml:
23589         * docs/gst/gstreamer-sections.txt:
23590         * docs/gst/tmpl/.cvsignore:
23591         * docs/gst/tmpl/gsterror.sgml:
23592         * docs/gst/tmpl/gstfilter.sgml:
23593         * docs/gst/tmpl/gsturihandler.sgml:
23594         * docs/gst/tmpl/gsturitype.sgml:
23595         * docs/gst/tmpl/gstutils.sgml:
23596         * docs/gst/tmpl/gstxml.sgml:
23597         * gst/gsterror.c:
23598         * gst/gsterror.h:
23599         * gst/gstfilter.c:
23600         * gst/gsturi.c:
23601         * gst/gsturitype.c:
23602         * gst/gstutils.c:
23603         * gst/gstxml.c:
23604           inlined more docs, fixed double id-ref
23605
23606 2005-08-31  Wim Taymans  <wim@fluendo.com>
23607
23608         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23609         (gst_base_transform_handle_buffer):
23610         Passthrough elements don't need the caps as they don't care.
23611
23612 2005-08-31  Wim Taymans  <wim@fluendo.com>
23613
23614         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23615         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23616         Don't leak refcounts on buffers.
23617
23618 2005-08-31  Wim Taymans  <wim@fluendo.com>
23619
23620         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23621         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23622         (gst_base_transform_chain), (gst_base_transform_change_state):
23623         * gst/base/gstbasetransform.h:
23624         Handle the case where we are not negotiated more gracefully.
23625
23626 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23627
23628         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23629         (gst_file_src_map_region):
23630           Set READONLY flag on mmap'ed buffers, otherwise
23631           gst_buffer_make_writable() won't work properly (#314708).
23632
23633 2005-08-31  Wim Taymans  <wim@fluendo.com>
23634
23635         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23636         passthrough elements can even do inplace on non writable
23637         buffers (as they don't touch them).
23638
23639 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23640
23641         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23642         (gst_test_mono_source_set_property),
23643         (gst_test_mono_source_class_init), (GST_START_TEST),
23644         (gst_controller_suite):
23645           more tests (hehe I have the most)
23646         * gst/gstbus.c:
23647           describe popping messages whenusing mulltiple sources
23648         * libs/gst/controller/gst-controller.c:
23649         (gst_controlled_property_set_interpolation_mode),
23650         (gst_controlled_property_new):
23651         * libs/gst/controller/gst-controller.h:
23652         * libs/gst/controller/gst-interpolation.c:
23653           implement boolean properties
23654
23655 2005-08-31  Wim Taymans  <wim@fluendo.com>
23656
23657         * gst/gstminiobject.c: (gst_mini_object_ref):
23658         Cannot assert that the refcount has to be positive
23659         since a disposed object can be resurrected.
23660
23661 2005-08-31  Wim Taymans  <wim@fluendo.com>
23662
23663         * gst/gstpad.c: (gst_pad_init):
23664         Revert change, need to first fix badly behaving 
23665         apps.
23666
23667 2005-08-30  Wim Taymans  <wim@fluendo.com>
23668
23669         * check/elements/fakesrc.c: (setup_fakesrc):
23670         * check/elements/identity.c: (setup_identity):
23671         Activate pads before using them.
23672
23673 2005-08-30  Wim Taymans  <wim@fluendo.com>
23674
23675         * gst/base/gstadapter.c: (gst_adapter_flush):
23676         Flushing out 0 bytes is ok for this function.
23677
23678         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23679         no newsegment gives a warning and sets the start/stop to 
23680         invalid.
23681
23682         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23683         (gst_base_transform_set_passthrough):
23684         Some debug info.
23685
23686         * gst/gstminiobject.c: (gst_mini_object_ref):
23687         Check refcount here too.
23688
23689         * gst/gstpad.c: (gst_pad_init):
23690         Pads are initially flushing and refusing data.
23691
23692         * gst/gstutils.c: (gst_element_link_pads_filtered):
23693         When adding a capsfilter element make sure it has the
23694         same state as the parent bin.
23695
23696 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23697
23698         * docs/gst/tmpl/.cvsignore:
23699         * docs/gst/tmpl/gstformat.sgml:
23700         * docs/gst/tmpl/gstversion.sgml:
23701         * gst/gstbus.h:
23702         * gst/gstformat.c:
23703         * gst/gstformat.h:
23704         * gst/gstversion.h.in:
23705           more docs and two more inlined
23706
23707 2005-08-30  Wim Taymans  <wim@fluendo.com>
23708
23709         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23710         Don't sync to clock.
23711
23712 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23713
23714         * docs/gst/gstreamer-sections.txt:
23715           ultral33t func10ns deserve to appear in the docs actually
23716         * docs/gst/tmpl/.cvsignore:
23717         * docs/gst/tmpl/gstcompat.sgml:
23718         * docs/gst/tmpl/gstconfig.sgml:
23719         * gst/check/gstcheck.c:
23720         * gst/gstcompat.h:
23721         * gst/gstconfig.h.in:
23722           inlined more docs
23723
23724 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23725
23726         * docs/gst/tmpl/.cvsignore:
23727         * docs/gst/tmpl/gstquery.sgml:
23728         * docs/gst/tmpl/gstutils.sgml:
23729         * gst/gstquery.c:
23730         * gst/gstquery.h:
23731           inlined and extended docs
23732
23733 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23734
23735         * check/gst-libs/controller.c: (GST_START_TEST),
23736         (gst_controller_suite):
23737           more tests
23738         * docs/gst/tmpl/gstutils.sgml:
23739         * docs/libs/gstreamer-libs-sections.txt:
23740         * docs/libs/tmpl/gstdataprotocol.sgml:
23741           include path fixes
23742         * examples/controller/audio-example.c: (main):
23743           controller example works now
23744         * gst/gstclock.h:
23745           doc fixes
23746         * tools/gst-inspect.c: (print_element_properties_info):
23747           show param spec flags
23748
23749 2005-08-29  Andy Wingo  <wingo@pobox.com>
23750
23751         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23752
23753 2005-08-28  Andy Wingo  <wingo@pobox.com>
23754
23755         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23756         as having two arguments instead of just one. Allows superclasses
23757         to access information on subclasses -- see the terrible for() loop
23758         in gtype.c:g_type_create_instance for the reason why. All callers
23759         changed.
23760
23761 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23762
23763         * docs/design/part-messages.txt:
23764           update info
23765         * docs/gst/tmpl/.cvsignore:
23766         * docs/gst/tmpl/gstcaps.sgml:
23767         * docs/gst/tmpl/gstclock.sgml:
23768         * gst/gstbus.c:
23769         * gst/gstcaps.c:
23770         * gst/gstcaps.h:
23771         * gst/gstclock.c:
23772         * gst/gstclock.h:
23773         * gst/gstmessage.c:
23774           added descriptions for bus and message
23775           inline caps and clock docs
23776
23777 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23778
23779         * gst/gstmessage.c:
23780         * gst/gstmessage.h:
23781           doc fixes
23782
23783 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23784
23785         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23786           fix div-by-zero
23787
23788 2005-08-26  Andy Wingo  <wingo@pobox.com>
23789
23790         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23791         element_set_state's return val.
23792         (test_2_elements): Add test that's been disabled for months.
23793
23794         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23795         can-activate-pull properties.
23796
23797         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23798         can-activate-pull properties. Implement is_seekable so fakesrc can
23799         operate in pull mode.
23800
23801         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23802         properties.
23803         (gst_base_sink_activate, gst_base_sink_activate_pull)
23804         (gst_base_sink_activate_push): Make activation mode choosing work.
23805         Cleanups.
23806         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23807         is right. Make pull mode work. Post an eos before pausing in pull
23808         mode.
23809         (gst_base_sink_change_state): Pay attention to the core's
23810         change_state() return val.
23811         
23812         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23813         has-getrange properties. Cleanups.
23814         
23815         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23816         has_getrange and replace with can_activate_pull and
23817         can_activate_push.
23818
23819         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23820         locking comments. Remove has_loop, has_chain and replace with
23821         can_activate_pull and can_activate_push.
23822
23823 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
23824
23825         * configure.ac:
23826         * examples/Makefile.am:
23827         * examples/metadata/Makefile.am:
23828         * examples/metadata/read-metadata.c: (message_loop),
23829         (have_pad_handler), (make_pipeline), (print_tag), (main):
23830           Add metadata reading example that loops over a list of filenames,
23831           dumping any tags found.
23832
23833         * gst/gstbus.c: (gst_bus_dispose):
23834         * gst/gstelement.c: (gst_element_dispose):
23835           Release a few potentially-held references in dispose.
23836
23837 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23838
23839         * docs/gst/tmpl/gstminiobject.sgml:
23840           do *not* add tmpl/*.sgml files to CVS!
23841
23842 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23843
23844         * libs/gst/bytestream/.cvsignore:
23845         * libs/gst/bytestream/Makefile.am:
23846         * libs/gst/bytestream/adapter.c:
23847         * libs/gst/bytestream/adapter.h:
23848         * libs/gst/bytestream/bytestream.c:
23849         * libs/gst/bytestream/bytestream.h:
23850         * libs/gst/bytestream/filepad.c:
23851         * libs/gst/bytestream/filepad.h:
23852           removing obsolete files
23853
23854 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23855
23856         * docs/gst/gstreamer-docs.sgml:
23857         * docs/libs/gstreamer-libs-docs.sgml:
23858           disabed additional index entries again, as this makes docs-gen just
23859           slow and they aren't useful yet
23860         * docs/libs/gstreamer-libs-sections.txt:
23861           little -section.txt cleanup for libs
23862
23863 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
23864
23865         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23866         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23867           fix up some debugging
23868         (gst_base_transform_get_unit_size),
23869         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23870         (gst_base_transform_handle_buffer):
23871         * gst/base/gstbasetransform.h:
23872           handle and store timed NEWSEGMENT events so that subclasses that
23873           calculate time by counting samples have a segment_start time they
23874           need to add to their timestamps - see audioresample
23875
23876 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23877
23878         * gst/gstbin.h:
23879           removed ';' from the end of macro defs
23880         * docs/gst/gstreamer-docs.sgml:
23881         * docs/gst/gstreamer-sections.txt:
23882         * docs/gst/tmpl/.cvsignore:
23883         * gst/gstbus.h:
23884         * gst/gstelement.c: (gst_element_class_init),
23885         (gst_element_set_state), (activate_pads),
23886         (gst_element_save_thyself):
23887         * gst/gstevent.c: (gst_event_new_newsegment):
23888         * gst/gstevent.h:
23889         * gst/gstiterator.c:
23890         * gst/gstiterator.h:
23891         * gst/gstpad.c:
23892         * gst/gstprobe.h:
23893         * gst/gstutils.c: (gst_pad_query_convert):
23894         * gst/gstutils.h:
23895           fixed parameter name mismatches between source, header and docs
23896           added some more docs, resolved the last batch of unused elements in
23897           docs (now someone needs to doc them)
23898
23899 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23900
23901         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23902         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23903           don't walk through the plugins backwards.  Where is all this
23904           reversed logic coming from ?
23905
23906 2005-08-25  Wim Taymans  <wim@fluendo.com>
23907
23908         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23909         (gst_base_transform_transform_size),
23910         (gst_base_transform_configure_caps),
23911         (gst_base_transform_get_unit_size),
23912         (gst_base_transform_buffer_alloc),
23913         (gst_base_transform_change_state):
23914         * gst/base/gstbasetransform.h:
23915         Cache caps unit_size.
23916         Make sure we cannot negotiate up and downstream at the
23917         same time.
23918
23919 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23920
23921         * gst/gst.c: (init_pre), (init_post):
23922           register the installed plugin path after the env var
23923         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23924         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23925           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23926           directories, so the tests can prefer uninstalled over installed
23927
23928 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23929
23930         * gst/base/gstbasetransform.h:
23931           comment
23932         * gst/gstpad.c:
23933           add to docs
23934
23935 2005-08-25  Wim Taymans  <wim@fluendo.com>
23936
23937         * gst/gstbin.c: (bin_bus_handler):
23938         Be a bit more conservative about the posted message.
23939         
23940         * gst/gstbus.c: (gst_bus_post):
23941         Some cleanups, warn wrong return values.
23942
23943 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
23944
23945         * check/gst/gstbin.c: (GST_START_TEST):
23946         * gst/gstbin.c: (bin_bus_handler):
23947         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23948         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23949         (gst_message_new_warning), (gst_message_new_tag),
23950         (gst_message_new_state_changed), (gst_message_new_segment_start),
23951         (gst_message_new_segment_done), (gst_message_new_custom):
23952         * gst/gstmessage.h:
23953         * tools/gst-launch.c: (event_loop):
23954         * tools/gst-md5sum.c: (event_loop):
23955           Revert unpopular change for GST_MESSAGE_SRC to GObject.
23956
23957 2005-08-25  Wim Taymans  <wim@fluendo.com>
23958
23959         * check/generic/states.c: (GST_START_TEST):
23960         Cleanup can be done at the end.
23961
23962         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
23963         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23964         (gst_task_get_state), (gst_task_start), (gst_task_pause):
23965         Oh boy.. Thanks for finding this, Thomas. 
23966
23967 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23968
23969         * docs/gst/gstreamer.types:
23970           added missing types
23971
23972 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23973
23974         * docs/gst/gstreamer-docs.sgml:
23975         * docs/gst/gstreamer-sections.txt:
23976         * docs/gst/tmpl/.cvsignore:
23977         * gst/gstbin.c:
23978         * gst/gstiterator.c:
23979         * gst/gstutils.c:
23980         * gst/registries/gstxmlregistry.h:
23981           added missing classes and symbols (123 more to go)
23982           removed removed symbols from section file
23983           fixed many doc-comments
23984
23985 2005-08-24  Wim Taymans  <wim@fluendo.com>
23986
23987         * check/generic/states.c: (GST_START_TEST):
23988         Make sure all tasks are stopped.
23989
23990         * check/gst/gstbin.c: (GST_START_TEST):
23991         Unref after usage for proper valgrinding.
23992
23993         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
23994         Really wait for the task to stop before destroying the
23995         mutex.
23996
23997         * gst/gstqueue.c: (gst_queue_sink_activate_push),
23998         (gst_queue_src_activate_push):
23999         Small cleanups. Don't stop the task when we did not start
24000         it.
24001
24002         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24003         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24004         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24005         (gst_task_join):
24006         * gst/gsttask.h:
24007         Protect the stream lock with the object lock.
24008         Disallow setting the stream lock when running.
24009         Add cleanup_all to wait for the threadpool to finish.
24010         Remove code to autoallocate a mutex if none was provided.
24011         Add _join() to wait for a task to stop.
24012         Protect the thread pool with a global lock.
24013
24014 2005-08-24  Wim Taymans  <wim@fluendo.com>
24015
24016         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24017         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24018         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24019         * gst/base/gstbasesink.h:
24020         Handle newsegment events correctly.
24021         Drop buffers out of the segment range.
24022
24023 2005-08-22  Andy Wingo  <wingo@pobox.com>
24024
24025         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24026         macro, implements an interface and gstimplementsinterface for a
24027         new type.
24028
24029 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24030
24031         * check/Makefile.am:
24032         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24033           add a test that does a bunch of state changes on elements
24034           needs some fixing for valgrind
24035         * check/states/sinks.c: (gst_object_suite):
24036           whitespace
24037         * gst/gstcaps.h:
24038           add prototype for gst_caps_is_equal_fixed
24039         * gst/gstplugin.c:
24040         * gst/gstregistrypool.c:
24041           doc fixes
24042
24043 2005-08-24  Andy Wingo  <wingo@pobox.com>
24044
24045         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24046         convert a negative value. Doesn't make much sense. Mostly this is
24047         here to force callers to ensure -1 maps to -1.
24048
24049 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24050
24051         * docs/pwg/advanced-types.xml:
24052           Well done to Michael for catching my deliberate introduction
24053           of this spelling mistake. 
24054         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24055         * gst/gstelement.h:
24056           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24057           unlink pads before removing the element from the bin.
24058
24059 2005-08-24  Andy Wingo  <wingo@pobox.com>
24060
24061         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24062         the same thing as GST_DEBUG=*:4.
24063         (parse_debug_level, parse_debug_category): New helper parsers.
24064
24065 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24066
24067         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24068         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24069         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24070         (gst_base_transform_buffer_alloc),
24071         (gst_base_transform_handle_buffer):
24072           use gboolean return values and pointers to size so we can use the
24073           full GST_BUFFER_SIZE range (guint) for buffer sizes
24074           use GstPadDirection for transform_caps
24075         * gst/base/gstbasetransform.h:
24076           rename get_size to get_unit_size since that's what it is
24077         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24078           use GstPadDirection for transform_caps
24079         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24080         * gst/gstutils.h:
24081           cleanup and debugging
24082
24083 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24084
24085         * gst/gstelement.c: (gst_element_class_init),
24086         (gst_element_set_state), (activate_pads),
24087         (gst_element_save_thyself):
24088         * tools/gst-compprep.c: (main):
24089         * tools/gst-inspect.c: (print_element_properties_info):
24090         * tools/gst-xmlinspect.c: (print_element_properties):
24091           Fixed long standing mem-leak
24092
24093 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24094
24095         * check/gst/gstbin.c: (GST_START_TEST):
24096         * gst/gstbin.c: (bin_bus_handler):
24097         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24098         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24099         (gst_message_new_warning), (gst_message_new_tag),
24100         (gst_message_new_state_changed), (gst_message_new_segment_start),
24101         (gst_message_new_segment_done), (gst_message_new_custom):
24102         * gst/gstmessage.h:
24103         * tools/gst-launch.c: (event_loop):
24104         * tools/gst-md5sum.c: (event_loop):
24105           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24106           that applications can sensibly post custom messages with references
24107           to their own objects.
24108
24109 2005-08-24  Andy Wingo  <wingo@pobox.com>
24110
24111         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24112         already.
24113
24114 2005-08-24  Wim Taymans  <wim@fluendo.com>
24115
24116         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24117         (gst_base_transform_transform_caps),
24118         (gst_base_transform_transform_size),
24119         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24120         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24121         (gst_base_transform_handle_buffer):
24122         * gst/base/gstbasetransform.h:
24123         Many fixes and new features added by Thomas. Can now also do
24124         transforms with variable sizes and a custom fixate_caps function.
24125
24126 2005-08-24  Wim Taymans  <wim@fluendo.com>
24127
24128         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24129         Some debugging.
24130
24131         * gst/gstclock.h:
24132         Cast to ClockTime before formatting to time.
24133
24134         * gst/gstutils.h:
24135         Cleanups.
24136
24137 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24138
24139         * check/gst-libs/controller.c: (GST_START_TEST),
24140         (gst_controller_suite):
24141         * docs/gst/tmpl/gstcaps.sgml:
24142         * docs/gst/tmpl/gstghostpad.sgml:
24143         * docs/gst/tmpl/gstquery.sgml:
24144         * docs/gst/tmpl/gstutils.sgml:
24145         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24146         (gst_object_sink_values), (gst_object_get_value_arrays),
24147         (gst_object_get_value_array):
24148           gracefully handle helper method calls to objects that are not beeing
24149           controlled, added test case for that          
24150
24151 2005-08-23  Wim Taymans  <wim@fluendo.com>
24152
24153         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24154         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24155         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24156         (gst_event_parse_qos), (gst_event_new_seek),
24157         (gst_event_parse_seek):
24158         * gst/gstevent.h:
24159         Some more debugging output and doc cleanups.
24160
24161         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24162         Fix possible deadlock.
24163
24164 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24165
24166         * docs/gst/gstreamer-docs.sgml:
24167         * docs/gst/gstreamer-sections.txt:
24168         * docs/gst/gstreamer.types:
24169         * docs/gst/tmpl/.cvsignore:
24170         * gst/gstbin.h:
24171         * gst/gstbus.c:
24172         * gst/gstelement.c:
24173         * gst/gstevent.h:
24174           added 100 symbols from gstreamer-unused.txt to the right sections
24175           fixed more broken comments
24176           added GstBus to docs
24177
24178 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24179
24180         * docs/gst/gstreamer-sections.txt:
24181         * docs/gst/tmpl/.cvsignore:
24182         * docs/gst/tmpl/gstbin.sgml:
24183         * docs/gst/tmpl/gstbuffer.sgml:
24184         * gst/base/gstbasesrc.c:
24185         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24186         * gst/gstbuffer.c:
24187         * gst/gstbuffer.h:
24188         * tools/gst-launch.1.in:
24189           inlined more doc comments, added missing comments and fixed comments
24190           fixed typos
24191
24192 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24193
24194         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24195           some debugging
24196         * gst/gstcaps.h:
24197           whitespace fixes
24198         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24199           more debugging
24200         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24201         * gst/gststructure.h:
24202           add a fixate function for booleans; add a FIXME that these func
24203           names should probably be gst_structure_fixate_*
24204
24205 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24206
24207         * docs/gst/gstreamer-docs.sgml:
24208         * docs/gst/gstreamer-sections.txt:
24209         * gst/Makefile.am:
24210         * gst/gstbin.c: (gst_bin_get_type),
24211         (gst_bin_child_proxy_get_child_by_index),
24212         (gst_bin_child_proxy_get_children_count),
24213         (gst_bin_child_proxy_init):
24214         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24215         (gst_child_proxy_get_child_by_index),
24216         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24217         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24218         (gst_child_proxy_get), (gst_child_proxy_set_property),
24219         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24220         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24221         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24222         * gst/gstchildproxy.h:
24223         * gst/parse/grammar.y:
24224         * tools/gst-inspect.c: (print_interfaces),
24225         (print_element_properties_info), (print_element_info):
24226           ported gstchildproxy over from 0.8
24227           ported gst-inspect fixes and enhancements over from 0.8
24228
24229 2005-08-22  Wim Taymans  <wim@fluendo.com>
24230
24231         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24232         (gst_base_transform_handle_buffer):
24233         Also call the transform function if we have ANY caps.
24234
24235         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24236         Fix debug info.
24237
24238 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24239
24240         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24241           Don't pretend to handle seek events if the source is not seekable
24242
24243 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24244
24245         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24246           Remove extra parameter to debug output
24247
24248         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24249         (gst_base_src_do_seek), (gst_base_src_activate_push):
24250           Fix seek event handling.
24251
24252         * gst/gstpipeline.c: (gst_pipeline_change_state):
24253         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24254         (gst_queue_src_activate_push):
24255           Don't start the src pad task on FLUSH_STOP if the pad
24256           isn't linked.
24257           Debug changes.
24258
24259 2005-08-22  Wim Taymans  <wim@fluendo.com>
24260
24261         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24262         Added check for gst_static_caps_get() refcounting.
24263
24264 2005-08-22  Wim Taymans  <wim@fluendo.com>
24265
24266         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24267         Make _static_caps_get() refcounting sane.
24268         
24269         * gst/gstelement.c: (gst_element_set_state):
24270         Add g_return_val_if_fail() to protect against segfaults.
24271
24272 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24273
24274         * docs/gst/tmpl/gstevent.sgml:
24275         * gst/gstevent.c:
24276         * gst/gstevent.h:
24277           inlined remaining docs, added missing doc comments
24278
24279 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24280
24281         * check/gst/gstbin.c: (GST_START_TEST):
24282           since we don't know when preroll is done, use refcount range
24283           check for the sink
24284         * gst/check/gstcheck.h:
24285           add macro for checking refcount range
24286
24287 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24288
24289         * check/Makefile.am:
24290           clean up environment for when registry gets built versus
24291           when actual tests are run; valgrind seems to not report
24292           leaks if GST_PLUGIN_PATH is set to some specific values
24293         * check/gst/gstbin.c: (GST_START_TEST):
24294           add more refcounting checks; maybe this exposes a
24295           preroll lock bug ?
24296         * common/check.mak:
24297         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24298         * gst/check/gstcheck.h:
24299         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24300         (gst_bin_change_state):
24301         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24302           add/fix debugging/whitespace
24303
24304 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24305
24306         * check/gst/gstevent.c: (event_probe), (test_event),
24307         (GST_START_TEST):
24308          Er, don't call gst_bin_watch_for_state_change you idiot.
24309
24310 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24311
24312         * check/Makefile.am:
24313           Use CHECK_CFLAGS and CHECK_LIBS
24314         * check/gst/gstevent.c: (event_probe), (test_event),
24315         (GST_START_TEST):
24316           Don't leak events.
24317         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24318         (gst_base_src_start), (gst_base_src_stop),
24319         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24320         (gst_base_src_change_state):
24321           Sprinkle gst_base_src_stop liberally around error paths to fix
24322           problems reusing a source after failed state changes.
24323         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24324         (helper_find_suggest), (gst_type_find_helper):
24325           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24326         * gst/gstevent.h:
24327         * docs/gst/tmpl/gstevent.sgml:
24328           Migrate part of the docs from the SGML file. Wait for ensonic to
24329           tell me how I did it wrong ;)
24330         * tools/gst-typefind.c: (main):
24331           Extra robustness to state changes between files.
24332
24333 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24334
24335         * check/Makefile.am:
24336           don't valgrind the controller test - it's leaking - Stefan, HELP
24337         * gst/check/gstcheck.c: (gst_check_message_error),
24338         (gst_check_chain_func), (gst_check_setup_element),
24339         (gst_check_teardown_element), (gst_check_setup_src_pad),
24340         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24341         (gst_check_teardown_sink_pad):
24342         * gst/check/gstcheck.h:
24343           add a bunch of methods to set up elements, and src and sink pads
24344         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24345         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24346         (GST_START_TEST):
24347           use them
24348         * gst/gstmessage.c:
24349         * gst/gsttag.h:
24350           whitespace/doc fixes
24351
24352 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24353
24354         * gst/gstelement.h:
24355           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24356           be handled by the application and not always printed as well
24357
24358 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24359
24360         * check/Makefile.am:
24361           set GST_TOOLS_DIR
24362         * gst/check/gstcheck.c: (gst_check_message_error):
24363         * gst/check/gstcheck.h:
24364           add a fail_unless_equals_int
24365           add fail_unless for error messages
24366
24367 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24368
24369         * check/Makefile.am:
24370         * check/gst.supp:
24371         * common/Makefile.am:
24372         * common/check.mak:
24373         * common/gst.supp:
24374           factor out some of the common stuff so we can use it
24375
24376 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24377
24378         * check/Makefile.am:
24379         * check/gst/gstiterator.c: (GST_START_TEST):
24380         * check/gst/gstsystemclock.c: (GST_START_TEST),
24381         (gst_systemclock_suite):
24382         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24383         * gst/gstclock.c:
24384           valgrind more tests
24385
24386 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24387
24388         * check/elements/.cvsignore:
24389         * check/elements/gstfakesrc.c:
24390           rename to name of element
24391         * check/elements/identity.c: (chain_func), (event_func),
24392         (setup_identity), (cleanup_identity), (GST_START_TEST),
24393         (identity_suite), (main):
24394           add a test for identity
24395         * check/Makefile.am:
24396         * pkgconfig/Makefile.am:
24397         * pkgconfig/gstreamer-check.pc.in:
24398         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24399         * gst/check:
24400         * gst/Makefile.am:
24401         * configure.ac:
24402           move the check stuff to a library that gets installed
24403         * check/gst-libs/controller.c: (GST_START_TEST):
24404         * check/gst-libs/gdp.c:
24405         * check/gst/gst.c: (GST_START_TEST):
24406         * check/gst/gstbin.c:
24407         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24408         * check/gst/gstbus.c:
24409         * check/gst/gstcaps.c: (GST_START_TEST):
24410         * check/gst/gstelement.c:
24411         * check/gst/gstghostpad.c:
24412         * check/gst/gstiterator.c:
24413         * check/gst/gstmessage.c:
24414         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24415         * check/gst/gstobject.c:
24416         * check/gst/gstpad.c: (GST_START_TEST):
24417         * check/gst/gststructure.c: (GST_START_TEST):
24418         * check/gst/gstsystemclock.c: (GST_START_TEST),
24419         (gst_systemclock_suite):
24420         * check/gst/gsttag.c: (gst_tag_suite):
24421         * check/gst/gstvalue.c:
24422         * check/pipelines/cleanup.c:
24423         * check/pipelines/simple_launch_lines.c:
24424         * check/states/sinks.c:
24425           change include statement
24426
24427         * docs/gst/gstreamer-sections.txt:
24428         * docs/gst/tmpl/gstpad.sgml:
24429           document more pad stuff
24430         * gst/gstminiobject.c: (gst_mini_object_ref),
24431         (gst_mini_object_unref):
24432           debug refcounting
24433
24434 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24435
24436         * docs/gst/tmpl/gst.sgml:
24437         * gst/gst.c:
24438           eliminate another tmpl file, fix spelling in the long-description
24439
24440 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24441
24442         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24443         (test_event), (timediff), (gstevents_suite):
24444           Should fix build on 64-bit arch's
24445
24446 2005-08-18  Andy Wingo  <wingo@pobox.com>
24447
24448         Make sure that when a pipeline goes to PLAYING, that data has
24449         actually hit the sink.
24450
24451         * check/states/sinks.c (test_sink): A sink that doesn't get any
24452         data shouldn't return SUCCESS for going to either PLAYING or
24453         PAUSED. Test also the return values on the way back down.
24454
24455         * gst/gstelement.c (gst_element_set_state): When changing the
24456         state of an element currently changing state asynchronously, go to
24457         lost-state after commiting the pending state. Makes future calls
24458         to get_state continue to return ASYNC.
24459
24460         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24461         ASYNC when going to PLAYING if we still don't have preroll, as can
24462         happen with live sources.
24463
24464 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24465
24466         * docs/pwg/advanced-types.xml:
24467           Hack long paragraph into 2 chunks as a workaround for buggy
24468           jadetex version in sid and breezy that loops infinitely and
24469           eats all RAM.
24470
24471 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24472
24473         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24474         (test_event), (timediff), (gstevents_suite):
24475           Provide more error margin in clock measurements to allow for 
24476           g_get_current_time inaccuracies.
24477
24478 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24479
24480         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24481         (test_event), (timediff), (gstevents_suite):
24482            Fix error message output so I might be able to tell why the
24483            test works here but fails on the build farm.
24484
24485 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24486
24487         * check/Makefile.am:
24488         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24489         (test_event), (timediff), (gstevents_suite), (main):
24490           I wrote a test!
24491
24492         * docs/design/part-seeking.txt:
24493           Spelling correction
24494
24495         * docs/gst/tmpl/gstevent.sgml:
24496         * docs/gst/tmpl/gstfakesrc.sgml:
24497           Docs updates.
24498
24499         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24500           Treat a buffer-without-newsegment the same as a receiving 
24501           a newsegment not in time format, and disable syncing to the clock
24502           with a warning.
24503
24504         * gst/gstbus.c: (gst_bus_set_sync_handler):
24505           Assert if anyone tries to replace the existing sync_handler for bus, 
24506           as only the owner should be setting it.
24507
24508         * gst/gstevent.h:
24509           Have a fixed set of custom event enums with events identified by
24510           their structure name (as in 0.8), rather than a free-for-all
24511           allowing collisions between enum values from different plugins.
24512
24513         * gst/gstpad.c: (gst_pad_class_init):
24514           Docs change.
24515           
24516         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24517           Handle out-of-band downstream events from the sending thread.
24518
24519 2005-08-17  Andy Wingo  <wingo@pobox.com>
24520
24521         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24522         play-timeout==0 to mean no timeout at all. In that case, don't
24523         bother with a get_state or a warning, just return directly, even
24524         if it's ASYNC.
24525
24526         * gst/base/gstbasetransform.c: Debug changes.
24527
24528         * gst/gstutils.h:
24529         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24530         ensure bins post state change messages. A bit of a hack but I can't
24531         think of a way to avoid it.
24532
24533         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24534
24535 2005-08-16  Andy Wingo  <wingo@pobox.com>
24536
24537         * gst/base/gstadapter.h:
24538         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24539         peek() but you own the data. Not terribly efficient atm.
24540
24541 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24542
24543         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24544         (gst_element_found_tags):
24545         * gst/gstutils.h:
24546           Add two utility functions for tag handling.
24547
24548 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24549
24550         * docs/manual/advanced-dataaccess.xml:
24551         * docs/manual/basics-helloworld.xml:
24552           Fix docs to use _bin_add() before _link(), which fixes the examples
24553           with recent core versions (reported by Madhan Raj M
24554           <raj_madan@rediffmail.com>, #313199).
24555
24556 2005-08-16  Wim Taymans  <wim@fluendo.com>
24557
24558         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24559         Added subtract checks.
24560
24561         * docs/design/part-events.txt:
24562         Some more docs about newsegment
24563
24564         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24565         Fix FIXME
24566
24567         * gst/gstcaps.c: (gst_caps_to_string):
24568         Add comments, cleanups.
24569         
24570         * gst/gstelement.c: (gst_element_save_thyself):
24571         cleanups
24572         
24573         * gst/gstvalue.c: (gst_value_collect_int_range),
24574         (gst_string_unwrap), (gst_value_union_int_int_range),
24575         (gst_value_union_int_range_int_range),
24576         (gst_value_intersect_int_int_range),
24577         (gst_value_intersect_int_range_int_range),
24578         (gst_value_intersect_double_double_range),
24579         (gst_value_intersect_double_range_double_range),
24580         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24581         (gst_value_subtract_int_range_int),
24582         (gst_value_subtract_double_range_double),
24583         (gst_value_subtract_double_range_double_range),
24584         (gst_value_subtract_from_list), (gst_value_subtract_list),
24585         (gst_value_can_compare), (gst_value_compare_fraction):
24586         Cleanups, add comments, remove unneeded asserts.
24587
24588 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24589
24590         * tools/gst-launch.c: (event_loop):
24591           don't convert NULL structures to strings
24592
24593 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24594
24595         * docs/gst/gstreamer-sections.txt:
24596           made some defines private
24597         * docs/gst/tmpl/gstconfig.sgml:
24598         * docs/gst/tmpl/gstqueue.sgml:
24599         * docs/gst/tmpl/gsttaglist.sgml:
24600         * docs/gst/tmpl/gsttypes.sgml:
24601         * docs/gst/tmpl/gstutils.sgml:
24602         * docs/pwg/appendix-porting.xml:
24603         * gst/base/gstbasesink.h:
24604         * gst/base/gstbasesrc.c:
24605         * gst/base/gstbasesrc.h:
24606         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24607         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24608         * gst/gstelement.c: (gst_element_class_init):
24609         * gst/gstpad.c: (gst_pad_class_init):
24610         * gst/gstqueue.c: (gst_queue_class_init):
24611         * gst/gstxml.c: (gst_xml_class_init):
24612           documented all undocumented signal inline
24613         * libs/gst/controller/gst-controller.h:
24614           added padding
24615
24616 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24617
24618         * docs/pwg/appendix-porting.xml:
24619           Document _set_link_function -> _set_setcaps_function.
24620
24621 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24622
24623         * check/Makefile.am:
24624           add a .check target for running the check
24625         * check/gst-libs/controller.c: (GST_START_TEST):
24626           cosmetic fixups
24627         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24628           complete checks for gstbuffer; would be nice if I could get the
24629           gcov stuff to work so I can see if I actually completed gstbuffer.c
24630         * check/gstcheck.h:
24631           add ASSERT_BUFFER_REFCOUNT
24632
24633 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24634
24635         * docs/gst/gstreamer-sections.txt:
24636         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24637         * gst/gsttag.h:
24638           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24639           spew out a warning if a tag that is already registered
24640           is re-registered, unless it is re-registered with a 
24641           different type (#308438).
24642
24643 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24644
24645         * docs/pwg/appendix-porting.xml:
24646         * docs/pwg/building-state.xml:
24647           Add some paragraphs about state changes in 0.9 to the PWG
24648           and the porting guide, in particular about the new meaning
24649           of GST_STATE_PAUSED and how to write state change functions
24650           with concurrent access by multiple threads in mind.
24651
24652 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24653
24654         * docs/gst/gstreamer-docs.sgml:
24655         * docs/libs/gstreamer-libs-docs.sgml:
24656           added deprecation and since indexes
24657         * libs/gst/controller/gst-controller.c:
24658         * libs/gst/controller/gst-helper.c:
24659           added since tags
24660
24661
24662 2005-08-11  Wim Taymans  <wim@fluendo.com>
24663
24664         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24665         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24666         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24667         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24668         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24669         (gst_ghost_pad_set_target):
24670         Actually implement (re)setting the target on a ghostpad
24671         as described in the docs.
24672
24673 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24674
24675         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24676           Check whether GST_DEBUG_NO_COLOR environment variable is
24677           set and disable coloured debug output if that is the case.
24678
24679 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24680
24681         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24682         (gst_type_find_helper):
24683           The memory returned by gst_type_find_peek() needs to
24684           stay valid until the end of a typefind function, and
24685           typefind functions may keep results from different 
24686           offsets around, so we can't just unref the buffer from
24687           the previous _peek(), but have to save all buffers 
24688           returned by _peek() until typefinding is done and only
24689           free them then.
24690
24691 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
24692
24693         * docs/gst/gstreamer-sections.txt:
24694         * gst/gstutils.h:
24695           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24696
24697 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24698
24699         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24700           Fix a pretty good memleak.
24701
24702 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24703
24704         * gst/gstiterator.h:
24705           Fix wrong include and 'make distcheck'.
24706
24707 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24708
24709         * gst/gstbin.c: (bin_bus_handler):
24710           Use gst_element_post_message() instead.
24711
24712 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24713
24714         * gst/base/gstadapter.h:
24715         * gst/base/gstbasesink.h:
24716         * gst/base/gstbasesrc.h:
24717         * gst/base/gstbasetransform.h:
24718         * gst/base/gstcollectpads.h:
24719         * gst/base/gstpushsrc.h:
24720         * gst/gstiterator.h:
24721           Add padding to our base elements' class and instance structs and
24722           to GstIterator (you will need to rebuild all plugins and apps!)
24723
24724 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24725
24726         * gst/gstbin.c: (bin_bus_handler):
24727           Make default message forwarding from child->bus to bin->bus
24728           threadsafe and make it not emit warnings if the parent has no bus.
24729
24730 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24731
24732         * gst/gstelement.c: (activate_pads):
24733           On paused->ready, set pad->caps to NULL, as is the documented
24734           behaviour in this state change. Fixes playback of series of
24735           media files when visualization is enabled in Totem.
24736
24737 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24738
24739         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24740           Allow NULL as filter-caps (which means "any").
24741
24742 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24743
24744         * docs/libs/gstreamer-libs-sections.txt:
24745         * libs/gst/controller/gst-controller.c:
24746         * libs/gst/controller/gst-controller.h:
24747         * libs/gst/controller/gst-helper.c:
24748           adding more entries to the docs and fix small doc-bugs
24749
24750 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24751
24752         * docs/gst/gstreamer-docs.sgml:
24753         * docs/gst/gstreamer-sections.txt:
24754         * docs/gst/gstreamer.types:
24755         * docs/gst/tmpl/gstbasesink.sgml:
24756         * docs/gst/tmpl/gstbasesrc.sgml:
24757         * docs/gst/tmpl/gstbasetransform.sgml:
24758         * docs/gst/tmpl/gstfakesrc.sgml:
24759         * gst/base/gstcollectpads.c:
24760         * gst/base/gstcollectpads.h:
24761         * libs/gst/controller/gst-controller.c:
24762         * libs/gst/controller/gst-controller.h:
24763         * libs/gst/controller/gst-helper.c:
24764         * libs/gst/controller/gst-interpolation.c:
24765         * libs/gst/controller/lib.c:
24766           added long/short desc for controller docs
24767           added collectpads base class docs
24768           added correct includes to base-class docs
24769
24770 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24771
24772         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24773         (gst_test_mono_source_set_property),
24774         (gst_test_mono_source_class_init), (GST_START_TEST),
24775         (gst_controller_suite):
24776         * docs/gst/gstreamer-docs.sgml:
24777         * docs/gst/gstreamer-sections.txt:
24778         * docs/gst/gstreamer.types:
24779         * docs/libs/gstreamer-libs-docs.sgml:
24780         * docs/libs/gstreamer-libs-sections.txt:
24781         * gst/base/gstadapter.c:
24782         * libs/gst/controller/gst-controller.c:
24783         (gst_controlled_property_new), (gst_controlled_property_free),
24784         (gst_controller_new_valist),
24785         (gst_controller_remove_properties_valist),
24786         (gst_controller_sink_values), (_gst_controller_finalize):
24787         * libs/gst/controller/gst-controller.h:
24788         * libs/gst/controller/gst-helper.c:
24789         (gst_object_control_properties), (gst_object_uncontrol_properties),
24790         (gst_object_get_controller), (gst_object_set_controller),
24791         (gst_object_sink_values), (gst_object_get_value_arrays),
24792         (gst_object_get_value_array):
24793           more tests (and fixes) for the controller
24794           more docs for the controller
24795           integrated companies docs for the adapter 
24796
24797 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24798
24799         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24800         (GST_START_TEST), (fakesrc_suite):
24801           add tests for sizetype
24802
24803 2005-08-04  Andy Wingo  <wingo@pobox.com>
24804
24805         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24806         fixes buffer_alloc proxying among other things.
24807
24808         * gst/base/gstbasetransform.c:
24809         * gst/base/gstbasetransform.h:
24810         Revert patch to gstbasetransform from 7-28 removing
24811         delay_configure.
24812
24813         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24814         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24815         Semantics changed, should return not the size of the output buffer
24816         but the byte size of a buffer with a given caps.
24817
24818         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24819         debug object.
24820         (gst_base_transform_configure_caps): Don't set out_size here: (in,
24821         out) are not the pad caps until setcaps finishes.
24822         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24823         not-in-place case as well. Deal with changing from in-place to
24824         not-in-place within calling pad_alloc_buffer. Still a bit
24825         concerned about the overhead here...
24826
24827 2005-08-03  Andy Wingo  <wingo@pobox.com>
24828
24829         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24830         fixating is an error.
24831
24832 2005-08-04  Edward Hervey  <edward@fluendo.com>
24833
24834         * gst/base/gstadapter.h: 
24835         Added gst_adapter_get_type() to the header
24836
24837 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24838
24839         * check/Makefile.am:
24840         * check/gst-libs/controller.c:
24841         * libs/gst/controller/gst-controller.c:
24842         (gst_controller_new_valist):
24843           added check test suite for the controller
24844         * gst/base/gstpushsrc.c:
24845           fixed a doc typo
24846
24847 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24848
24849         * docs/gst/Makefile.am:
24850         * docs/gst/gstreamer-docs.sgml:
24851         * docs/gst/gstreamer-sections.txt:
24852         * docs/gst/gstreamer.types:
24853         * docs/gst/tmpl/gstfakesrc.sgml:
24854         * gst/base/README:
24855         * gst/base/gstbasesink.c:
24856         * gst/base/gstbasesink.h:
24857         * gst/base/gstbasesrc.c:
24858         * gst/base/gstbasesrc.h:
24859         * gst/base/gstbasetransform.c:
24860         * gst/base/gstpushsrc.c:
24861         * gst/base/gstpushsrc.h:
24862           add short/long description docs to base classes
24863           add pushsrc to the docs
24864           remove consolidated doc fragments
24865
24866 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24867
24868         * configure.ac:
24869         * docs/libs/Makefile.am:
24870         * docs/libs/gstreamer-libs-docs.sgml:
24871         * docs/libs/gstreamer-libs-sections.txt:
24872         * docs/libs/gstreamer-libs.types:
24873         * examples/Makefile.am:
24874         * examples/controller/.cvsignore:
24875         * examples/controller/Makefile.am:
24876         * examples/controller/audio-example.c: (main):
24877         * libs/gst/Makefile.am:
24878         * libs/gst/controller/.cvsignore:
24879         * libs/gst/controller/Makefile.am:
24880         * libs/gst/controller/gst-controller.c:
24881         (on_object_controlled_property_changed), (gst_timed_value_compare),
24882         (gst_timed_value_find),
24883         (gst_controlled_property_set_interpolation_mode),
24884         (gst_controlled_property_new), (gst_controlled_property_free),
24885         (gst_controller_find_controlled_property),
24886         (gst_controller_new_valist), (gst_controller_new),
24887         (gst_controller_remove_properties_valist),
24888         (gst_controller_remove_properties), (gst_controller_set),
24889         (gst_controller_set_from_list), (gst_controller_unset),
24890         (gst_controller_get), (gst_controller_get_all),
24891         (gst_controller_sink_values), (gst_controller_get_value_arrays),
24892         (gst_controller_get_value_array),
24893         (gst_controller_set_interpolation_mode),
24894         (_gst_controller_finalize), (_gst_controller_init),
24895         (_gst_controller_class_init), (gst_controller_get_type):
24896         * libs/gst/controller/gst-controller.h:
24897         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24898         (g_object_uncontrol_properties), (g_object_get_controller),
24899         (g_object_set_controller), (g_object_sink_values),
24900         (g_object_get_value_arrays), (g_object_get_value_array):
24901         * libs/gst/controller/gst-interpolation.c:
24902         (gst_controlled_property_find_timed_value_node),
24903         (interpolate_none_get), (interpolate_trigger_get),
24904         (interpolate_trigger_get_value_array):
24905         * libs/gst/controller/lib.c: (gst_controller_init):
24906         * pkgconfig/Makefile.am:
24907         * pkgconfig/gstreamer-control-uninstalled.pc.in:
24908         * pkgconfig/gstreamer-control.pc.in:
24909         * testsuite/Makefile.am:
24910         * testsuite/controller/.cvsignore:
24911         * testsuite/controller/Makefile.am:
24912         * testsuite/controller/interpolator.c: (main):
24913           added controller code
24914           removed dparam pc files
24915
24916 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24917         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24918         (gst_collectpads_stop):
24919           Broadcast the condition when shutting down, to make sure we wake all
24920           threads up. Shut down pads on finalize, for safety.
24921
24922 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24923         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24924         (gst_base_transform_handle_buffer),
24925         (gst_base_transform_change_state):
24926           Handle PAUSED->READY->PAUSED transition after negotiation
24927           occurred already.
24928         * gst/gstmessage.c: (gst_message_init):
24929           Extra piece of debug for new messages.
24930
24931 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
24932
24933         * configure.ac:
24934         * docs/gst/tmpl/gstbasesrc.sgml:
24935         * docs/gst/tmpl/gstelement.sgml:
24936         * docs/gst/tmpl/gstevent.sgml:
24937         * docs/gst/tmpl/gstfakesrc.sgml:
24938         * docs/gst/tmpl/gstformat.sgml:
24939         * docs/gst/tmpl/gstghostpad.sgml:
24940         * docs/gst/tmpl/gstpad.sgml:
24941         * docs/gst/tmpl/gstquery.sgml:
24942         * docs/gst/tmpl/gststructure.sgml:
24943         * docs/gst/tmpl/gsttaglist.sgml:
24944         * docs/gst/tmpl/gstvalue.sgml:
24945         * docs/libs/gstreamer-libs-docs.sgml:
24946         * docs/libs/gstreamer-libs-sections.txt:
24947         * docs/libs/gstreamer-libs.types:
24948         * libs/gst/Makefile.am:
24949         * libs/gst/control/.cvsignore:
24950         * libs/gst/control/Makefile.am:
24951         * libs/gst/control/control.c:
24952         * libs/gst/control/control.h:
24953         * libs/gst/control/dparam.c:
24954         * libs/gst/control/dparam.h:
24955         * libs/gst/control/dparam_smooth.c:
24956         * libs/gst/control/dparam_smooth.h:
24957         * libs/gst/control/dparamcommon.h:
24958         * libs/gst/control/dparammanager.c:
24959         * libs/gst/control/dparammanager.h:
24960         * libs/gst/control/dplinearinterp.c:
24961         * libs/gst/control/dplinearinterp.h:
24962         * libs/gst/control/unitconvert.c:
24963         * libs/gst/control/unitconvert.h:
24964         * testsuite/Makefile.am:
24965         * testsuite/dynparams/.cvsignore:
24966         * testsuite/dynparams/Makefile.am:
24967         * testsuite/dynparams/dparamstest.c:
24968         * tools/Makefile.am:
24969         * tools/gst-inspect.c: (print_element_info), (main):
24970         * tools/gst-xmlinspect.c: (print_element_info), (main):
24971           deactivate and remove dparams (libgstcontrol)
24972
24973 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24974
24975         * gst/elements/gsttypefindelement.c:
24976         (gst_type_find_element_have_type), (gst_type_find_element_init),
24977         (stop_typefinding), (gst_type_find_element_handle_event),
24978         (gst_type_find_element_chain), (gst_type_find_element_getrange):
24979         * gst/elements/gsttypefindelement.h:
24980           Set caps on all outgoing buffers, not just the first one.
24981
24982 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24983
24984         * gst/elements/gsttypefindelement.c:
24985         (gst_type_find_element_have_type),
24986         (gst_type_find_element_check_set_buffer_caps),
24987         (gst_type_find_element_init), (stop_typefinding),
24988         (gst_type_find_element_handle_event),
24989         (gst_type_find_element_chain), (gst_type_find_element_getrange):
24990         * gst/elements/gsttypefindelement.h:
24991           Set caps on first outgoing buffer when we've found the type.
24992
24993 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24994
24995         * docs/gst/gstreamer-docs.sgml:
24996         * docs/gst/gstreamer-sections.txt:
24997         * docs/gst/tmpl/gstscheduler.sgml:
24998         * docs/gst/tmpl/gstschedulerfactory.sgml:
24999           Remove some old cruft from docs.
25000
25001 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25002
25003         * gst/gstpad.h:
25004           Fix inline docs for GstPadLinkReturn.
25005           
25006         * gst/gststructure.c: (gst_structure_has_name):
25007         * gst/gststructure.h:
25008         * docs/gst/gstreamer-sections.txt:
25009           New API: gst_structure_has_name().
25010
25011 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25012
25013         * configure.ac:
25014           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25015           and _LARGEFILE_SOURCE in config.h as required. Do not 
25016           export those flags in our .pc files any longer (#142209).
25017
25018           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25019
25020         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25021         (gst_file_sink_do_seek), (gst_file_sink_event),
25022         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25023           Redo seek/tell calls with large file support in mind; add some
25024           debugging messages; add log message that tells us when large
25025           file support is unavailable or not enabled for some reason.
25026
25027         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25028           Add log message that tells us when large file support 
25029           is unavailable or not enabled for some reason.
25030
25031 2005-07-29  Wim Taymans  <wim@fluendo.com>
25032
25033         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25034         Added test for removing an element with ghostpad from a bin.
25035         Fixed test as current implementation does the right thing.
25036
25037         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25038         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25039         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25040         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25041         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25042         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25043         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25044         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25045         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25046         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25047         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25048         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25049         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25050         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25051         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25052         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25053         * gst/gstghostpad.h:
25054         Clean up ghostpads, remove properties for internal stuff.
25055         Make threadsafe.
25056         Fix refcounting.
25057         Prepare for switching targets, not all use cases work yet.
25058
25059 2005-07-29  Wim Taymans  <wim@fluendo.com>
25060
25061         * docs/design/part-gstghostpad.txt:
25062         Small update.
25063
25064         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25065         (gst_bin_remove_func):
25066         Unlinking pads while holding the bin LOCK is not a good
25067         idea.
25068
25069         * gst/gstpad.c: (gst_pad_class_init),
25070         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25071         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25072         No prob setting template after creating the pad.
25073
25074 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25075
25076         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25077         (gst_bus_peek), (gst_bus_source_dispatch),
25078         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25079         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25080           gst_bus_poll may be called from other threads. Handle
25081           this nicely by not making poll_data disappear off the
25082           stack once gst_bus_poll returns.
25083           gst_bus_peek now increments the refcount on the returned
25084           message.
25085
25086 2005-07-29  Wim Taymans  <wim@fluendo.com>
25087
25088         * docs/design/part-gstghostpad.txt:
25089         Overview of current GhostPad datastructures and use
25090         cases for changing the target.
25091
25092 2005-07-28  Wim Taymans  <wim@fluendo.com>
25093
25094         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25095         Added checks for hierarchy consistency whan adding linked
25096         elements to bins.
25097
25098         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25099         Added check to test element scheduling without bin/pipeline.
25100
25101         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25102         First add elements to bin, then link.
25103         
25104         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25105         (gst_bin_remove_func):
25106         Unlink pads from elements added/removed from bin to maintain
25107         hierarchy consistency.
25108
25109 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25110
25111         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25112         (gst_base_transform_handle_buffer):
25113         * gst/base/gstbasetransform.h:
25114           Remove broken delay_configure (fixes renegotiation of software
25115           scaling pipelines); remove some leftover printf()s.
25116
25117 2005-07-28  Wim Taymans  <wim@fluendo.com>
25118
25119         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25120         Added some more tests for wrong hierarchy
25121
25122         * docs/design/part-overview.txt:
25123         Some updates.
25124
25125         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25126         Cleanups.
25127
25128         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25129         (gst_element_dispose):
25130         Some more cleanups.
25131
25132         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25133         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25134         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25135         (gst_pad_set_caps), (gst_pad_send_event):
25136         Check for correct hierarchy when linking pads. Moving to
25137         strict requirement for ghostpads when linking elements in
25138         different bins.
25139
25140         * gst/gstpad.h:
25141         Clean ups. Added WRONG_HIERARCHY return value.
25142
25143 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25144
25145         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25146           Better debug if no transform is possible.
25147
25148 2005-07-27  Wim Taymans  <wim@fluendo.com>
25149
25150         * docs/random/wtay/network-transp:
25151         Some old doc I had.
25152
25153 2005-07-27  Wim Taymans  <wim@fluendo.com>
25154
25155         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25156         (gst_dp_event_from_packet):
25157         Fix serialization of seek events.
25158
25159 2005-07-27  Wim Taymans  <wim@fluendo.com>
25160
25161         * check/gst-libs/gdp.c: (GST_START_TEST):
25162         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25163         Fix compilation and fix event serialization.
25164
25165 2005-07-27  Wim Taymans  <wim@fluendo.com>
25166
25167         * CHANGES-0.9:
25168         * docs/design/part-TODO.txt:
25169         * docs/design/part-events.txt:
25170         Some docs updates
25171
25172         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25173         (gst_base_sink_event), (gst_base_sink_do_sync),
25174         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25175         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25176         (gst_base_src_do_seek), (gst_base_src_event_handler),
25177         (gst_base_src_loop):
25178         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25179         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25180         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25181         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25182         (gst_base_transform_set_passthrough),
25183         (gst_base_transform_is_passthrough):
25184         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25185         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25186         Event updates.
25187
25188         * gst/gstbuffer.h:
25189         Use faster casts.
25190
25191         * gst/gstelement.c: (gst_element_seek):
25192         * gst/gstelement.h:
25193         Update gst_element_seek.
25194
25195         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25196         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25197         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25198         (gst_event_new_eos), (gst_event_new_newsegment),
25199         (gst_event_parse_newsegment), (gst_event_new_tag),
25200         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25201         (gst_event_parse_qos), (gst_event_new_seek),
25202         (gst_event_parse_seek), (gst_event_new_navigation):
25203         * gst/gstevent.h:
25204         Make GstEvent use GstStructure. Add parsing code, make sure the
25205         API is sufficiently generic.
25206         Mark possible directions of events and serialization.
25207
25208         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25209         (_gst_message_copy), (gst_message_new_segment_start),
25210         (gst_message_new_segment_done), (gst_message_new_custom),
25211         (gst_message_parse_segment_start),
25212         (gst_message_parse_segment_done):
25213         Small cleanups.
25214
25215         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25216         (gst_pad_set_caps), (gst_pad_send_event):
25217         Update for new events. 
25218         Catch events sent in wrong directions.
25219
25220         * gst/gstqueue.c: (gst_queue_link_src),
25221         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25222         (gst_queue_handle_src_query):
25223         Event updates.
25224
25225         * gst/gsttag.c:
25226         * gst/gsttag.h:
25227         Remove event code from this file.
25228
25229         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25230         (gst_dp_event_from_packet):
25231         Event updates.
25232
25233 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25234
25235         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25236         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25237         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25238           Make debugging actually useful.
25239
25240 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25241
25242         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25243         (gst_pad_fixate_caps):
25244           Implement default fixation once again, so that gst_pad_fixate()
25245           actually does anything at all. This probably needs to be some
25246           sort of a last resort, and use profile-based fixation first, but
25247           since that doesn't exist yet, this is the best we have. Fixes
25248           visualization in Totem.
25249
25250 2005-07-22  Wim Taymans  <wim@fluendo.com>
25251
25252         * docs/design/part-events.txt:
25253         Small update.
25254
25255         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25256         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25257         (gst_base_sink_activate_pull):
25258         Some more comments.
25259
25260         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25261         (gst_fake_src_create):
25262         Fix handoff marshall.
25263
25264         * gst/elements/gstidentity.c: (gst_identity_class_init),
25265         (gst_identity_transform_ip):
25266         We're a real inplace element.
25267
25268         * gst/gstbus.c: (gst_bus_post):
25269         Added some comments.
25270
25271         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25272         * tests/muxing/case1.c: (main):
25273         * tests/sched/dynamic-pipeline.c: (main):
25274         * tests/sched/interrupt1.c: (main):
25275         * tests/sched/interrupt2.c: (main):
25276         * tests/sched/interrupt3.c: (main):
25277         * tests/sched/runxml.c: (main):
25278         * tests/sched/sched-stress.c: (main):
25279         * tests/seeking/seeking1.c: (event_received), (main):
25280         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25281         (main):
25282         * tests/threadstate/threadstate3.c: (main):
25283         * tests/threadstate/threadstate4.c: (main):
25284         * tests/threadstate/threadstate5.c: (main):
25285         Fix the tests.
25286
25287 2005-07-21  Wim Taymans  <wim@fluendo.com>
25288
25289         * docs/design/part-seeking.txt:
25290         Some small additions.
25291
25292         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25293         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25294         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25295         * gst/base/gstbasesink.h:
25296         discont values are gint64, handle the math correctly.
25297
25298         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25299         Make the basesrc report error if the source pad is not linked.
25300
25301         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25302         (gst_queue_loop), (gst_queue_handle_src_query),
25303         (gst_queue_src_activate_push):
25304         Make queue collect data even if the srcpad is not linked.
25305         Start pushing out data as soon as it is linked.
25306
25307         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25308         * gst/gstutils.h:
25309         Added gst_flow_get_name() to ease error reporting.
25310
25311 2005-07-20  Wim Taymans  <wim@fluendo.com>
25312
25313         * gst/gstmessage.c: (gst_message_new_segment_start),
25314         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25315         (gst_message_parse_segment_done):
25316         * gst/gstmessage.h:
25317         Added a bunch of messages for advanced seeking.
25318
25319         * gst/parse/grammar.y:
25320         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25321         (gst_dpman_state_changed):
25322         Fix some new-pad -> pad-added signals
25323
25324 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25325
25326         * docs/manual/appendix-porting.xml:
25327         * docs/pwg/appendix-porting.xml:
25328           Document new-pad/state-change signal renames and the FixedList
25329           type rename.
25330
25331 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25332
25333         * docs/manual/advanced-autoplugging.xml:
25334         * docs/manual/basics-helloworld.xml:
25335         * docs/manual/basics-pads.xml:
25336         * docs/random/ds/0.9-suggested-changes:
25337         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25338         * gst/gstelement.h:
25339         * gst/gstevent.h:
25340         * gst/gstformat.h:
25341         * gst/gstquery.h:
25342         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25343         (gst_structure_parse_array), (gst_structure_parse_value):
25344         * gst/gstvalue.c: (gst_type_is_fixed),
25345         (gst_value_list_prepend_value), (gst_value_list_append_value),
25346         (gst_value_list_get_size), (gst_value_list_get_value),
25347         (gst_value_transform_array_string), (gst_value_serialize_array),
25348         (gst_value_deserialize_array), (gst_value_intersect_array),
25349         (gst_value_is_fixed), (_gst_value_initialize):
25350         * gst/gstvalue.h:
25351           GstElement::new-pad -> pad-added, GstElement::state-change ->
25352           state-changed, GstValueFixedList -> GstValueArray, add format and
25353           flags as their own arguments in gst_element_seek() (should improve
25354           "bindeability"), remove function generators since they don't work
25355           under a whole bunch of compilers (they were deprecated already
25356           anyway).
25357
25358 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25359
25360         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25361         (_gst_debug_register_funcptr):
25362         * gst/gstinfo.h:
25363           Fix illegal cast on some platforms (#309253).
25364
25365 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25366
25367         * gst/gstmessage.c: (gst_message_new_custom):
25368         * gst/gstmessage.h:
25369           Add _new_custom, make _new_application a macro to _new_custom.
25370
25371 2005-07-20  Wim Taymans  <wim@fluendo.com>
25372
25373         * gst/base/gstbasesrc.c: (gst_base_src_init),
25374         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25375         * gst/base/gstbasesrc.h:
25376         Add a gboolean to decide when to push out a discont.
25377
25378         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25379         (gst_queue_loop), (gst_queue_handle_src_query),
25380         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25381         (gst_queue_set_property), (gst_queue_get_property):
25382         Some cleanups.
25383
25384         * tests/threadstate/threadstate1.c: (main):
25385         Make a thread test compile and run... very silly..
25386
25387
25388 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25389
25390         * docs/manual/appendix-porting.xml:
25391           Mention removal of libgstgconf-0.9.la and existence of gconf
25392           elements.
25393
25394 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25395
25396         * docs/pwg/advanced-clock.xml:
25397         * docs/pwg/appendix-porting.xml:
25398         * docs/pwg/intro-preface.xml:
25399         * docs/pwg/other-base.xml:
25400         * docs/pwg/other-manager.xml:
25401         * docs/pwg/other-nton.xml:
25402         * docs/pwg/other-ntoone.xml:
25403         * docs/pwg/other-oneton.xml:
25404         * docs/pwg/pwg.xml:
25405           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25406           demuxer), remove n-to-n (was never written), fix some code examples
25407           and links and update the porting section to include all this.
25408
25409 2005-07-19  Wim Taymans  <wim@fluendo.com>
25410
25411         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25412         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25413         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25414         (gst_queue_src_activate_push), (gst_queue_change_state),
25415         (gst_queue_get_property):
25416         * gst/gstqueue.h:
25417         Propagate GstFlowReturn more intelligently upstream and output
25418         an ERROR/EOS when streaming stopped due to fatal error.
25419
25420 2005-07-19  Wim Taymans  <wim@fluendo.com>
25421
25422         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25423         Don't block forever for the state change to complete, the
25424         pipeline already did with a sensible timeout.
25425
25426 2005-07-19  Wim Taymans  <wim@fluendo.com>
25427
25428         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25429         Make sure we never call the create function is we
25430         got deactivated.
25431
25432 2005-07-19  Andy Wingo  <wingo@pobox.com>
25433
25434         * gst/parse/parse.l: Attempt to solve bug #172815.
25435
25436 2005-07-19  Wim Taymans  <wim@fluendo.com>
25437
25438         * docs/design/part-clocks.txt:
25439         * docs/design/part-events.txt:
25440         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25441         Small docs updates.
25442         Only update the seeking values when we are not
25443         busy streaming.
25444
25445 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25446
25447         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25448           Oops, ignore the result of gst_pad_push_event here.
25449
25450 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25451
25452         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25453         (gst_base_src_activate_push):
25454           Send discont event from the loop function, as pads
25455           aren't activated yet in the activate_push handler.
25456
25457         * gst/gstbin.c: (bin_bus_handler):
25458           Don't leak element name.
25459
25460 2005-07-18  Andy Wingo  <wingo@pobox.com>
25461
25462         * configure.ac: Use AS_LIBTOOL_TAGS.
25463
25464 2005-07-18  Wim Taymans  <wim@fluendo.com>
25465
25466         * docs/gst/gstreamer.types:
25467         Remove deleted types.
25468
25469 2005-07-18  Wim Taymans  <wim@fluendo.com>
25470
25471         * check/elements/gstfakesrc.c: (GST_START_TEST):
25472         * configure.ac:
25473         * gst/Makefile.am:
25474         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25475         (init_popt_callback):
25476         * gst/gst.h:
25477         * gst/gst_private.h:
25478         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25479         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25480         * gst/gstbin.h:
25481         * gst/gstbus.h:
25482         * gst/gstconfig.h.in:
25483         * gst/gstelement.c: (gst_element_class_init),
25484         (gst_element_set_base_time), (gst_element_get_base_time),
25485         (iterator_fold_with_resync), (gst_element_change_state),
25486         (gst_element_dispose), (gst_element_get_bus):
25487         * gst/gstelement.h:
25488         * gst/gstelementfactory.h:
25489         * gst/gsterror.c: (_gst_core_errors_init):
25490         * gst/gsterror.h:
25491         * gst/gstevent.h:
25492         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25493         * gst/gstindex.c:
25494         * gst/gstinfo.c: (_gst_debug_init):
25495         * gst/gstmessage.c: (_gst_message_copy):
25496         * gst/gstmessage.h:
25497         * gst/gstminiobject.h:
25498         * gst/gstobject.c:
25499         * gst/gstobject.h:
25500         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25501         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25502         * gst/gstpad.h:
25503         * gst/gstparse.h:
25504         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25505         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25506         (gst_pipeline_get_last_stream_time):
25507         * gst/gstpipeline.h:
25508         * gst/gstpluginfeature.h:
25509         * gst/gstquery.h:
25510         * gst/gstscheduler.c:
25511         * gst/gstscheduler.h:
25512         * gst/gststructure.h:
25513         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25514         (gst_task_finalize), (gst_task_func), (gst_task_create),
25515         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25516         (gst_task_stop), (gst_task_pause):
25517         * gst/gsttask.h:
25518         * gst/gsttypefind.h:
25519         * gst/gsttypes.h:
25520         * gst/registries/gstlibxmlregistry.c: (load_feature),
25521         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25522         * gst/registries/gstxmlregistry.c:
25523         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25524         * gst/schedulers/threadscheduler.c:
25525         * libs/gst/control/dparammanager.h:
25526         * tools/gst-inspect.c: (print_element_list),
25527         (print_plugin_features), (print_element_features):
25528         * tools/gst-xmlinspect.c: (print_element_list),
25529         (print_plugin_info), (main):
25530         Removed plugable schedulers.
25531         Removed Scheduler/Manager from elements.
25532         Removed gsttypes.h, rearranged includes.
25533         Removed dependency pad<->element, element<>pipeline, and
25534         various others,  fix includes.
25535         implement gst_pad_get_parent() with gst_object_get_parent()
25536         Make GstTask sefcontained.
25537         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25538         timeout.
25539         Fix endless loop in iterator_fold_with_resync.
25540
25541
25542 2005-07-18  Wim Taymans  <wim@fluendo.com>
25543
25544         * gst/Makefile.am:
25545         * gst/gstarch.h:
25546         Remove old file.
25547
25548 2005-07-18  Wim Taymans  <wim@fluendo.com>
25549
25550         * gst/Makefile.am:
25551         No more cothreads.h
25552
25553 2005-07-18  Wim Taymans  <wim@fluendo.com>
25554
25555         * gst/cothreads.c:
25556         * gst/cothreads.h:
25557         Let's remove these.
25558
25559 2005-07-18  Wim Taymans  <wim@fluendo.com>
25560
25561         * docs/design/part-dynamic.txt:
25562         * docs/design/part-events.txt:
25563         * docs/design/part-seeking.txt:
25564         Some more docs in the works.
25565
25566         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25567         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25568         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25569         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25570         (gst_base_transform_handle_buffer),
25571         (gst_base_transform_sink_activate_push),
25572         (gst_base_transform_src_activate_pull),
25573         (gst_base_transform_set_passthrough),
25574         (gst_base_transform_is_passthrough):
25575         Refcounting fixes.
25576
25577         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25578         Cleanups.
25579
25580         * gst/gstevent.c: (gst_event_finalize):
25581         Set SRC to NULL.
25582
25583         * gst/gstutils.c: (gst_element_unlink),
25584         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25585         (gst_pad_proxy_setcaps):
25586         * gst/gstutils.h:
25587         Add _get_parent_element() to get a pads parent as an element.
25588
25589 2005-07-18  Wim Taymans  <wim@fluendo.com>
25590
25591         * check/gst/gstbin.c: (GST_START_TEST):
25592         Remove bogus test.
25593
25594 2005-07-18  Wim Taymans  <wim@fluendo.com>
25595
25596         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25597         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25598         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25599         (gst_base_sink_event), (gst_base_sink_do_sync),
25600         (gst_base_sink_chain), (gst_base_sink_loop),
25601         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25602         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25603         Refcounting fixes.
25604         Fix logic for returning ASYNC when not prerolled.
25605
25606 2005-07-18  Wim Taymans  <wim@fluendo.com>
25607
25608         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25609         Fix nasty refcount bug.
25610
25611 2005-07-16 Philippe Khalaf <burger@speedy.org>
25612
25613         * gst/elements/gstfdsrc.c:
25614         * gst/elements/gstfdsrc.h:
25615         * gst/elements/gstelements.c:
25616         * gst/elements/Makefile.am:
25617         Ported fdsrc to 0.9.
25618
25619 2005-07-16  Wim Taymans  <wim@fluendo.com>
25620
25621         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25622         (gst_base_sink_do_sync):
25623         Fix compile error.
25624
25625 2005-07-16  Wim Taymans  <wim@fluendo.com>
25626
25627         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25628         (gst_base_sink_event), (gst_base_sink_get_times),
25629         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25630         * gst/base/gstbasesink.h:
25631         Store and use discont values when syncing buffers as described
25632         in design docs.
25633         
25634         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25635         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25636         (gst_base_src_activate_push):
25637         Push discont event when starting.
25638
25639         * gst/elements/gstidentity.c: (gst_identity_transform):
25640         Small cleanups.
25641
25642         * gst/gstbin.c: (gst_bin_change_state):
25643         Small cleanups in base_time  distribution.
25644
25645         * gst/gstelement.c: (gst_element_set_base_time),
25646         (gst_element_get_base_time), (gst_element_change_state):
25647         * gst/gstelement.h:
25648         Added methods for the base_time of the element.
25649         Some MT fixes.
25650
25651         * gst/gstpipeline.c: (gst_pipeline_send_event),
25652         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25653         (gst_pipeline_get_last_stream_time):
25654         * gst/gstpipeline.h:
25655         MT fixes.
25656         Handle seeking as described in design doc, remove stream_time
25657         hack.
25658         Cleanups clock and stream_time selection code. Added accessors
25659         for the stream_time.
25660         
25661
25662 2005-07-16  Andy Wingo  <wingo@pobox.com>
25663
25664         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25665         (#305291).
25666
25667 2005-07-16  Wim Taymans  <wim@fluendo.com>
25668
25669         * check/gst/gstbin.c: (GST_START_TEST):
25670         Make elements silent as the deep_notify refs the
25671         parent, which might make the test fail.
25672
25673         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25674         Don't hold the lock for too long.
25675
25676 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
25677
25678         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25679           Don't unref the caps we passed to gst_caps_make_writable() after
25680           passing them. gst_caps_make_writable() will do that for us.
25681
25682 2005-07-15  Andy Wingo  <wingo@pobox.com>
25683
25684         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25685         (#157311).
25686
25687         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25688         own marshalling function for the handoff signal. Properly type the
25689         buffer as a buffer. Fixes some warnings. Should do a more general
25690         solution.
25691         (gst_identity_class_init): Plug into the right marshaller.
25692
25693 2005-07-15  Wim Taymans  <wim@fluendo.com>
25694
25695         * docs/design/part-TODO.txt:
25696         * docs/design/part-clocks.txt:
25697         * docs/design/part-element-sink.txt:
25698         * docs/design/part-events.txt:
25699         * docs/design/part-gstpipeline.txt:
25700         Updated docs, mostly DISCONT related.
25701
25702 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
25703
25704         * docs/pwg/building-pads.xml:
25705           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25706
25707 2005-07-15  Andy Wingo  <wingo@pobox.com>
25708
25709         * tools/gst-typefind.c: Update, add copyright block.
25710
25711         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25712         Normalize and truncate caps before fixation.
25713
25714         * gst/gstcaps.h:
25715         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25716         discards all but the first structure from its argument.
25717
25718 2005-07-15  Wim Taymans  <wim@fluendo.com>
25719
25720         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25721         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25722         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25723         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25724         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25725         (gst_base_transform_chain), (gst_base_transform_change_state),
25726         (gst_base_transform_set_passthrough),
25727         (gst_base_transform_is_passthrough):
25728         * gst/base/gstbasetransform.h:
25729         Make passthrough work using the bufferpools.
25730         Changed API a bit, subclasses have to write into a buffer
25731         provided by the base class.
25732         More debug info in nego functions.
25733         
25734         * gst/elements/gstidentity.c: (gst_identity_init),
25735         (gst_identity_transform):
25736         Port to new base class.
25737
25738 2005-07-15  Wim Taymans  <wim@fluendo.com>
25739
25740         * gst/gstmessage.c: (gst_message_new_state_changed):
25741         * tools/gst-launch.c: (event_loop), (main):
25742         Totally dump messages in -launch with the -m option.
25743         Fix message name for State messages,
25744
25745 2005-07-14  Wim Taymans  <wim@fluendo.com>
25746
25747         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25748         Post error messages on errors.
25749
25750 2005-07-14  Wim Taymans  <wim@fluendo.com>
25751
25752         * gst/gstcaps.c: (gst_caps_do_simplify):
25753         Remove debug info.
25754
25755         * gst/gsterror.h:
25756         Define error for stream stopped.
25757
25758         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25759         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25760         Do proper return values.
25761
25762         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25763         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25764         (gst_pad_get_range):
25765         Better return values.
25766
25767         * gst/gstpad.h:
25768         Reorganise return values, add macro to check for fatal errors.
25769
25770         * gst/gstqueue.c: (gst_queue_chain):
25771         Return proper GstFlowReturn values,
25772
25773 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
25774
25775         * docs/gst/gstreamer-sections.txt:
25776         * docs/gst/gstreamer.types:
25777         * docs/gst/tmpl/gst.sgml:
25778         * docs/gst/tmpl/gstbasesink.sgml:
25779         * docs/gst/tmpl/gstbasesrc.sgml:
25780         * docs/gst/tmpl/gstbasetransform.sgml:
25781         * docs/gst/tmpl/gstbin.sgml:
25782         * docs/gst/tmpl/gstbuffer.sgml:
25783         * docs/gst/tmpl/gstcaps.sgml:
25784         * docs/gst/tmpl/gstclock.sgml:
25785         * docs/gst/tmpl/gstcompat.sgml:
25786         * docs/gst/tmpl/gstconfig.sgml:
25787         * docs/gst/tmpl/gstelement.sgml:
25788         * docs/gst/tmpl/gstelementdetails.sgml:
25789         * docs/gst/tmpl/gstelementfactory.sgml:
25790         * docs/gst/tmpl/gstenumtypes.sgml:
25791         * docs/gst/tmpl/gsterror.sgml:
25792         * docs/gst/tmpl/gstevent.sgml:
25793         * docs/gst/tmpl/gstfakesink.sgml:
25794         * docs/gst/tmpl/gstfakesrc.sgml:
25795         * docs/gst/tmpl/gstfilesink.sgml:
25796         * docs/gst/tmpl/gstfilesrc.sgml:
25797         * docs/gst/tmpl/gstfilter.sgml:
25798         * docs/gst/tmpl/gstformat.sgml:
25799         * docs/gst/tmpl/gstghostpad.sgml:
25800         * docs/gst/tmpl/gstimplementsinterface.sgml:
25801         * docs/gst/tmpl/gstindex.sgml:
25802         * docs/gst/tmpl/gstindexfactory.sgml:
25803         * docs/gst/tmpl/gstinfo.sgml:
25804         * docs/gst/tmpl/gstiterator.sgml:
25805         * docs/gst/tmpl/gstmacros.sgml:
25806         * docs/gst/tmpl/gstmemchunk.sgml:
25807         * docs/gst/tmpl/gstminiobject.sgml:
25808         * docs/gst/tmpl/gstobject.sgml:
25809         * docs/gst/tmpl/gstpad.sgml:
25810         * docs/gst/tmpl/gstpadtemplate.sgml:
25811         * docs/gst/tmpl/gstparse.sgml:
25812         * docs/gst/tmpl/gstpipeline.sgml:
25813         * docs/gst/tmpl/gstplugin.sgml:
25814         * docs/gst/tmpl/gstpluginfeature.sgml:
25815         * docs/gst/tmpl/gstquery.sgml:
25816         * docs/gst/tmpl/gstqueue.sgml:
25817         * docs/gst/tmpl/gstregistry.sgml:
25818         * docs/gst/tmpl/gstregistrypool.sgml:
25819         * docs/gst/tmpl/gstscheduler.sgml:
25820         * docs/gst/tmpl/gstschedulerfactory.sgml:
25821         * docs/gst/tmpl/gststructure.sgml:
25822         * docs/gst/tmpl/gstsystemclock.sgml:
25823         * docs/gst/tmpl/gsttaglist.sgml:
25824         * docs/gst/tmpl/gsttagsetter.sgml:
25825         * docs/gst/tmpl/gsttrace.sgml:
25826         * docs/gst/tmpl/gsttrashstack.sgml:
25827         * docs/gst/tmpl/gsttypefind.sgml:
25828         * docs/gst/tmpl/gsttypefindfactory.sgml:
25829         * docs/gst/tmpl/gsttypes.sgml:
25830         * docs/gst/tmpl/gsturihandler.sgml:
25831         * docs/gst/tmpl/gsturitype.sgml:
25832         * docs/gst/tmpl/gstutils.sgml:
25833         * docs/gst/tmpl/gstvalue.sgml:
25834         * docs/gst/tmpl/gstversion.sgml:
25835         * docs/gst/tmpl/gstxml.sgml:
25836         * docs/libs/tmpl/gstcontrol.sgml:
25837         * docs/libs/tmpl/gstdataprotocol.sgml:
25838         * docs/libs/tmpl/gstdparam.sgml:
25839         * docs/libs/tmpl/gstdplinint.sgml:
25840         * docs/libs/tmpl/gstdpman.sgml:
25841         * docs/libs/tmpl/gstdpsmooth.sgml:
25842         * docs/libs/tmpl/gstgetbits.sgml:
25843         * docs/libs/tmpl/gstunitconvert.sgml:
25844         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25845         (gst_push_src_base_init), (gst_push_src_class_init),
25846         (gst_push_src_init), (gst_push_src_create):
25847         * gst/base/gstpushsrc.h:
25848         * gst/elements/gstelements.c:
25849         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25850         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25851         (gst_fake_sink_init), (gst_fake_sink_set_property),
25852         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25853         (gst_fake_sink_event), (gst_fake_sink_preroll),
25854         (gst_fake_sink_render), (gst_fake_sink_change_state):
25855         * gst/elements/gstfakesink.h:
25856         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25857         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25858         (gst_fake_src_base_init), (gst_fake_src_class_init),
25859         (gst_fake_src_init), (gst_fake_src_event_handler),
25860         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25861         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25862         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25863         (gst_fake_src_create_buffer), (gst_fake_src_create),
25864         (gst_fake_src_start), (gst_fake_src_stop):
25865         * gst/elements/gstfakesrc.h:
25866         * gst/elements/gstfilesink.c: (_do_init),
25867         (gst_file_sink_base_init), (gst_file_sink_class_init),
25868         (gst_file_sink_init), (gst_file_sink_dispose),
25869         (gst_file_sink_set_location), (gst_file_sink_set_property),
25870         (gst_file_sink_get_property), (gst_file_sink_open_file),
25871         (gst_file_sink_close_file), (gst_file_sink_query),
25872         (gst_file_sink_event), (gst_file_sink_render),
25873         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25874         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25875         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25876         * gst/elements/gstfilesink.h:
25877         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25878         (gst_file_src_class_init), (gst_file_src_init),
25879         (gst_file_src_finalize), (gst_file_src_set_location),
25880         (gst_file_src_set_property), (gst_file_src_get_property),
25881         (gst_file_src_map_region), (gst_file_src_map_small_region),
25882         (gst_file_src_create_mmap), (gst_file_src_create_read),
25883         (gst_file_src_create), (gst_file_src_is_seekable),
25884         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25885         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25886         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25887         (gst_file_src_uri_handler_init):
25888         * gst/elements/gstfilesrc.h:
25889           more autistic cleanliness in functions/names/defines
25890
25891 2005-07-13  Andy Wingo  <wingo@pobox.com>
25892
25893         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25894         source couldn't negotiate.
25895
25896         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25897         connections again.
25898
25899         * gst/gstutils.h:
25900         * gst/gstutils.c (gst_element_link_pads_filtered): New old
25901         function. I am channeling Hades. Put your boots on suckers!!!
25902
25903 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25904
25905         * testsuite/caps/Makefile.am:
25906         * testsuite/caps/value_compare.c:
25907         * testsuite/caps/value_intersect.c:
25908         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25909           move two testsuite apps over to the check dir
25910
25911 2005-07-12  Wim Taymans  <wim@fluendo.com>
25912
25913         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25914         Added more debug info in the negotiate process.
25915
25916         * gst/gstmessage.h:
25917         Prepare for segment playback.
25918
25919         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25920         Better debugging.
25921
25922         * gst/gstutils.c:
25923         Some more docs.
25924
25925         * tools/gst-launch.c: (main):
25926         NULL pipeline on errors.
25927
25928 2005-07-12  Andy Wingo  <wingo@pobox.com>
25929
25930         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25931         not it comes from a malloc region. Make sure our copy gets freed.
25932
25933 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25934
25935         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25936         * check/gst/gstmessage.c: (GST_START_TEST):
25937         * check/gst/gststructure.c: (GST_START_TEST),
25938         (gst_structure_suite), (main):
25939           more testing
25940         * gst/gstelement.c: (gst_element_message_full):
25941           clean up GError and debug string now that they get copied
25942         * gst/gstmessage.c: (gst_message_new_error),
25943         (gst_message_new_warning), (gst_message_parse_error),
25944         (gst_message_parse_warning):
25945           use GST_TYPE_G_ERROR for structure_new, and take copies of
25946           arguments, so that we don't mess up refcounting
25947
25948 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25949
25950         * check/Makefile.am:
25951           add per-test valgrind targets
25952         * check/gst-libs/gdp.c: (GST_START_TEST),
25953         (gst_data_protocol_suite), (main):
25954           clean up
25955
25956 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25957
25958         * check/Makefile.am:
25959           instate more valgrindable tests
25960         * check/elements/gstfakesrc.c: (chain_func), (event_func),
25961         (GST_START_TEST), (fakesrc_suite):
25962         * check/gst/gstpad.c: (GST_START_TEST):
25963         * check/gst/gststructure.c: (GST_START_TEST):
25964           fix test leaks
25965         * docs/gst/tmpl/gstminiobject.sgml:
25966         * gst/gstpad.c: (gst_pad_finalize):
25967           fix the static mutex leak
25968
25969 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25970
25971         * check/Makefile.am:
25972           add two more tests for valgrinding
25973         * check/gst/gstvalue.c: (GST_START_TEST):
25974           test refcount of deserialized buffer, found a leak
25975         * docs/gst/gstreamer-docs.sgml:
25976         * docs/gst/gstreamer-sections.txt:
25977         * docs/gst/gstreamer.types:
25978         * docs/gst/tmpl/gstminiobject.sgml:
25979           add miniobject to docs
25980         * gst/gstminiobject.c:
25981           add some docs
25982         * gst/gstvalue.c: (gst_value_deserialize_buffer),
25983         (gst_string_unwrap):
25984           fix a hard-to-find invalid write for one of the tests
25985           fix a leak for deserialized buffers
25986
25987 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25988
25989         * docs/pwg/advanced-events.xml:
25990         * docs/pwg/advanced-request.xml:
25991         * docs/pwg/advanced-scheduling.xml:
25992         * docs/pwg/appendix-porting.xml:
25993         * docs/pwg/building-boiler.xml:
25994         * docs/pwg/intro-preface.xml:
25995         * docs/pwg/other-ntoone.xml:
25996           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
25997           of example code and explanation for pad activation, loop() and
25998           getrange() functions and a bit more. Remove old comments pointing
25999           to loop-functions.
26000         * examples/pwg/Makefile.am:
26001           Add loop/getrange examples.
26002
26003 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26004
26005         * configure.ac:
26006           check for valgrind binary + some fixes
26007         * check/gst.supp:
26008           valgrind suppressions for the tests
26009         * check/Makefile.am:
26010           add a valgrind: target that valgrinds the unit tests
26011         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26012         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26013         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26014         * check/gst/gstghostpad.c:
26015           added some cleanup
26016         * check/gst/gstdata.c:
26017           removed
26018         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26019         (thread_unref), (gst_mini_object_suite), (main):
26020           added
26021         * gst/gst.c: (gst_deinit):
26022         * gst/gst.h:
26023           add a method to clean up.
26024         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26025         (gst_system_clock_obtain):
26026           allow for disposing the system clock.
26027         * tools/gst-launch.c: (main):
26028           deinit
26029
26030 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26031
26032         * docs/gst/tmpl/gstbasesrc.sgml:
26033         * docs/gst/tmpl/gstfakesrc.sgml:
26034         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26035         (gst_base_src_init), (gst_base_src_set_property),
26036         (gst_base_src_get_property), (gst_base_src_get_range),
26037         (gst_base_src_start):
26038         * gst/base/gstbasesrc.h:
26039           add num-buffers property
26040         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26041         (gst_fakesrc_init), (gst_fakesrc_set_property),
26042         (gst_fakesrc_get_property), (gst_fakesrc_create),
26043         (gst_fakesrc_start):
26044           remove num-buffers property
26045
26046 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26047
26048         * docs/gst/gstreamer-sections.txt:
26049         * docs/gst/tmpl/gstbasesink.sgml:
26050         * docs/gst/tmpl/gstbasesrc.sgml:
26051         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26052         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26053         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26054         (gst_base_sink_set_property), (gst_base_sink_get_property),
26055         (gst_base_sink_handle_object), (gst_base_sink_event),
26056         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26057         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26058         (gst_base_sink_loop), (gst_base_sink_deactivate),
26059         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26060         (gst_base_sink_change_state):
26061         * gst/base/gstbasesink.h:
26062         * gst/base/gstbasesrc.h:
26063         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26064         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26065         (gst_filesink_init):
26066           more macro splitting
26067
26068 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26069
26070         * gst/gstelement.c: (gst_element_get_bus):
26071           add debug
26072         * tools/gst-launch.c: (check_intr), (event_loop):
26073           fix bus leaks
26074
26075 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26076
26077         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26078           fix a caps leak
26079
26080 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26081
26082         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26083         (gst_base_src_finalize):
26084           add finalize method and clean up properly
26085         * gst/gstpipeline.c: (gst_pipeline_dispose):
26086           add debug
26087
26088 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26089
26090         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26091         (gst_bin_suite):
26092           add more things to check
26093         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26094         * gst/gstelement.c:
26095           more debug
26096
26097 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26098
26099         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26100         (GST_START_TEST), (fakesrc_suite):
26101         * check/gst-libs/gdp.c: (GST_START_TEST):
26102         * check/gst/gst.c: (GST_START_TEST):
26103         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26104         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26105         * check/gst/gstbus.c: (GST_START_TEST):
26106         * check/gst/gstcaps.c: (GST_START_TEST):
26107         * check/gst/gstdata.c: (GST_START_TEST):
26108         * check/gst/gstelement.c: (GST_START_TEST):
26109         * check/gst/gstghostpad.c: (GST_START_TEST):
26110         * check/gst/gstiterator.c: (GST_START_TEST):
26111         * check/gst/gstmessage.c: (GST_START_TEST):
26112         * check/gst/gstobject.c: (GST_START_TEST):
26113         * check/gst/gstpad.c: (GST_START_TEST):
26114         * check/gst/gststructure.c: (GST_START_TEST):
26115         * check/gst/gstsystemclock.c: (GST_START_TEST),
26116         (gst_systemclock_suite):
26117         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26118         * check/gst/gstvalue.c: (GST_START_TEST):
26119         * check/pipelines/cleanup.c: (GST_START_TEST):
26120         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26121         * check/states/sinks.c: (GST_START_TEST):
26122         * check/gstcheck.c: (gst_check_init):
26123         * check/gstcheck.h:
26124           add debugging category
26125           use GST_START_TEST now, so we add a debug line
26126
26127 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26128
26129         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26130           add test for state change message on a bin
26131         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26132           add another test
26133         * gst/gstbin.c: (gst_bin_init):
26134         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26135         * gst/gstelement.c: (gst_element_post_message),
26136         (gst_element_set_state):
26137         * gst/gstelementfactory.c: (gst_element_factory_create):
26138         * gst/gstmessage.c: (gst_message_new):
26139         * gst/gstscheduler.c:
26140           various debugging additions and cleanups
26141
26142 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26143
26144         * check/Makefile.am:
26145         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26146         (main):
26147           adding tests for elements
26148         * gst/gstelement.c: (gst_element_dispose):
26149
26150 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26151
26152         * gst/registries/gstlibxmlregistry.c: (load_feature):
26153           plug more leaks.  A simple gst_init() now is leakfree, yay.
26154
26155 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26156
26157         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26158         (gst_xml_registry_load):
26159           plug another memleak
26160
26161 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26162
26163         * configure.ac:
26164           use GST_SET_ERROR_CFLAGS
26165         * docs/faq/cvs.xml:
26166           change to ERROR_CFLAGS
26167
26168 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26169
26170         * configure.ac:
26171           make GST_ERROR_CFLAGS overridable and re-enable Werror
26172         * docs/faq/cvs.xml:
26173           add a note about error CFLAGS
26174         * docs/gst/tmpl/gstfakesrc.sgml:
26175         * gst/elements/gstfakesrc.c:
26176           comment out some unused code
26177         * gst/gst.c: (split_and_iterate):
26178         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26179         (load_feature):
26180           plug some memleaks
26181
26182 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26183
26184         * common/Makefile.am:
26185         * common/gtk-doc.mak:
26186         * docs/gst/Makefile.am:
26187           factor out gtk-doc.mak
26188
26189 2005-07-07  Wim Taymans  <wim@fluendo.com>
26190
26191         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26192         (gst_thread_scheduler_dispose):
26193         Unlock the STREAM_LOCK completely.
26194
26195 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26196
26197         * check/Makefile.am:
26198         * check/elements/.cvsignore:
26199         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26200         (START_TEST), (fakesrc_suite), (main):
26201         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26202         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26203         (gst_fakesrc_create), (gst_fakesrc_start):
26204         * gst/elements/gstfakesrc.h:
26205           adding a first element test
26206
26207 2005-07-07  Andy Wingo  <wingo@pobox.com>
26208
26209         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26210         debug message.
26211
26212 2005-07-07  Wim Taymans  <wim@fluendo.com>
26213
26214         * gst/gstquery.c:
26215         * gst/gstquery.h:
26216         Remove old types
26217
26218 2005-07-07  Wim Taymans  <wim@fluendo.com>
26219
26220         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26221         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26222         Allow subclasses to implement their own negotiation.
26223
26224 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26225
26226         * docs/design/part-gstbin.txt:
26227         * docs/design/part-gstpipeline.txt:
26228           Update design notes to reflect the movement of
26229           responsibility for bus handling from GstPipeline to
26230           GstBin
26231
26232 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26233
26234         * configure.ac:
26235           Remove unnecessary queue2/3/4 examples.
26236
26237 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26238
26239         * examples/Makefile.am:
26240         * examples/helloworld/helloworld.c: (event_loop), (main):
26241         * examples/queue/queue.c: (event_loop), (main):
26242         * examples/queue2/queue2.c: (main):
26243           Update a couple of the examples to work again.
26244
26245         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26246         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26247          Spelling corrections and extra debug.
26248         
26249         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26250         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26251         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26252         * gst/gstbin.h:
26253         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26254         (gst_pipeline_change_state):
26255         * gst/gstpipeline.h:
26256           Move the bus handler for children to the GstBin, and create a
26257           separate bus for receiving messages from children to the one the
26258           bus sends 'upwards' on.
26259
26260 2005-07-06  Wim Taymans  <wim@fluendo.com>
26261
26262         * gst/base/README:
26263         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26264         (gst_base_sink_handle_object), (gst_base_sink_loop),
26265         (gst_base_sink_change_state):
26266         * gst/base/gstbasesink.h:
26267         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26268         (gst_base_src_init), (gst_base_src_setcaps),
26269         (gst_base_src_getcaps), (gst_base_src_loop),
26270         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26271         (gst_base_src_start), (gst_base_src_change_state):
26272         * gst/base/gstbasesrc.h:
26273         Make basesrc negotiate.
26274         Handle the case where preroll fails in basesink.
26275         Update README.
26276
26277 2005-07-06  Wim Taymans  <wim@fluendo.com>
26278
26279         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26280         Implement the fixate function.
26281         Clean up acceptcaps.
26282
26283 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26284
26285         * docs/pwg/building-filterfactory.xml:
26286         * docs/pwg/pwg.xml:
26287           Remove never-written filter-factory chapter; I'll add the various
26288           base classes to part 4 ("other element types") later on.
26289
26290 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26291
26292         * docs/pwg/advanced-negotiation.xml:
26293         * docs/pwg/building-boiler.xml:
26294         * docs/pwg/building-pads.xml:
26295         * docs/pwg/pwg.xml:
26296         * examples/pwg/Makefile.am:
26297           Add a chapter on caps negotiation, simplify the original code
26298           samples a bit w.r.t. caps negotiation, add link to the advanced
26299           section. Add a bunch of examples showing different use cases of
26300           different types of caps negotiation. Upstream renegotiation isn't
26301           fully documented yet since nobody knows how that works.
26302
26303 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26304
26305         * check/gst/gstpad.c:
26306         * check/gstcheck.c:
26307         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26308           if pad has no parent, return NULL as list of internal links
26309
26310 2005-07-05  Andy Wingo  <wingo@pobox.com>
26311
26312         * gst/elements/gstfilesrc.c:
26313         * gst/elements/gstfakesrc.c: 
26314         * gst/base/gstpushsrc.c:
26315         * gst/base/gstbasesrc.h: 
26316         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26317         
26318 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26319
26320         * Makefile.am:
26321           better report generation target (lcov needs a patch)
26322
26323 2005-07-05  Andy Wingo  <wingo@pobox.com>
26324
26325         * gst/elements, testsuite: Null if we got it...
26326
26327 2005-07-05  Wim Taymans  <wim@fluendo.com>
26328
26329         * configure.ac:
26330         * libs/gst/dataprotocol/Makefile.am:
26331         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26332         * libs/gst/dataprotocol/dataprotocol.h:
26333         * pkgconfig/Makefile.am:
26334         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26335         * pkgconfig/gstreamer-dataprotocol.pc.in:
26336         Ported dataprotol to 0.9. 
26337         Added pkgconfig files.
26338
26339 2005-07-05  Andy Wingo  <wingo@pobox.com>
26340
26341         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26342         Default to returning TRUE for the case when tranform_caps returns
26343         a fixed caps, like for identity or volume.
26344
26345         * check/gst/gstbus.c (pound_bus_with_messages): 
26346         * check/gst/gstmessage.c (START_TEST): 
26347         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26348         message API change.
26349
26350         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26351         logic weaks here: always run transform_caps, trying passthrough
26352         operation only if the original caps intersects with the transform.
26353
26354         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26355         source and sink caps.
26356
26357         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26358         Intersect the peer caps with the pad template before going into
26359         transform_caps.
26360         (gst_base_transform_transform_caps): More debugging.
26361
26362         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26363         src argument.
26364
26365 2005-07-04  Edward Hervey  <edward@fluendo.com>
26366
26367         * gst/gstutils.c:
26368         * gst/gstutils.h:
26369         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26370         in bindings.
26371
26372 2005-07-04  Andy Wingo  <wingo@pobox.com>
26373
26374         * check/gst/gstpad.c: Only set explicit caps on pads.
26375
26376 2005-07-01  Andy Wingo  <wingo@pobox.com>
26377
26378         * tests/network-clock.scm: Commentary update.
26379
26380         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26381         Didn't really make sense, not implementable with basetransform,
26382         etc.
26383         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26384         attempt at implementing the sync property, needs an unlock method.
26385
26386         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26387         New func, by default returns the same caps (the identity
26388         transformation).
26389         (gst_base_transform_getcaps): Uses transform_caps to return
26390         something sensible.
26391         (gst_base_transform_setcaps): Complicated logic to get caps on
26392         both pads, even if they are different, and to call set_caps once
26393         for every time both pads get their caps set.
26394         (gst_base_transform_handle_buffer): Give the ref to the transform
26395         function. Allows in-place modification of the buffer.
26396
26397         * gst/base/gstbasetransform.h (transform_caps): New class method.
26398         Given caps on one side, what can I do on the other.
26399         (set_caps): Take two caps, one for each side of the element.
26400
26401         * gst/gstpad.h:
26402         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26403         caps in place. This is safe because we can check the mutability of
26404         the caps, and a good idea because fixate functions are just called
26405         as a matter of last resort. (Not actually implemented.)
26406         (gst_pad_set_caps): If the caps we're setting is actually the same
26407         as the existing pad caps, just update the pointer without calling
26408         setcaps. Assert that caps is either NULL or fixed, as per the
26409         docs.
26410
26411         * gst/gstghostpad.c: Update for fixate changes.
26412
26413 2005-07-02  Andy Wingo  <wingo@pobox.com>
26414
26415         * gst/gstcaps.c:
26416         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26417         two refcounts makes it immutable, which is enough. Doc more.
26418
26419 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26420
26421         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26422           Put the mini_object into GValue as a mini_object,
26423           not a gpointer, since that's how we declared
26424           the signal.
26425
26426 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26427
26428         * examples/pwg/Makefile.am:
26429           Fix buildbot again.
26430
26431 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26432
26433         * docs/pwg/building-testapp.xml:
26434           Add extra check.
26435         * examples/pwg/Makefile.am:
26436           Fix buildbot.
26437
26438 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26439
26440         * configure.ac:
26441         * examples/Makefile.am:
26442         * examples/pwg/Makefile.am:
26443         * examples/pwg/extract.pl:
26444           Enable building the PWG examples.
26445         * docs/pwg/advanced-interfaces.xml:
26446           Add URI interface stub.
26447         * docs/pwg/advanced-types.xml:
26448         * docs/pwg/other-autoplugger.xml:
26449         * docs/pwg/appendix-porting.xml:
26450         * docs/pwg/pwg.xml:
26451           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26452         * docs/pwg/building-boiler.xml:
26453         * docs/pwg/building-chainfn.xml:
26454         * docs/pwg/building-pads.xml:
26455         * docs/pwg/building-props.xml:
26456         * docs/pwg/building-state.xml:
26457         * docs/pwg/building-testapp.xml:
26458           Update the building-*.xml parts for 0.9 changes. All examples
26459           code blocks compile in examples/pwg/*.
26460
26461 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26462
26463         * docs/manual/advanced-autoplugging.xml:
26464         * docs/manual/appendix-checklist.xml:
26465         * docs/manual/appendix-integration.xml:
26466         * docs/manual/highlevel-components.xml:
26467           Fix playbin/decodebin examples, update docs a bit, mention bus
26468           instead of signals in various places, mention kmplayer and
26469           kaffeine since they have a working GStreamer backend in the KDE
26470           section.
26471
26472 2005-06-30  Wim Taymans  <wim@fluendo.com>
26473
26474         * CHANGES-0.9:
26475         * docs/design/draft-ghostpads.txt:
26476         * docs/design/draft-push-pull.txt:
26477         * docs/design/draft-query.txt:
26478         * docs/design/part-TODO.txt:
26479         * docs/design/part-query.txt:
26480         Added CHANGES-0.9 doc, updated status of other docs.
26481         
26482         * gst/gstquery.h:
26483         Remove "hmm" macro
26484
26485 2005-06-30  Wim Taymans  <wim@fluendo.com>
26486
26487         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26488         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26489         (gst_base_sink_change_state):
26490         * gst/base/gstbasesink.h:
26491         Some tweaks, only EOS and a buffer complete a preroll.
26492
26493 2005-06-30  Andy Wingo  <wingo@pobox.com>
26494
26495         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26496         activate_push down to the internal pad as well.
26497
26498 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26499
26500         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26501
26502         * gst/gsttaginterface.c:
26503           Some documentation fixes (#307394 and #307397).
26504
26505 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26506
26507         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26508
26509         * gst/gstvalue.c: (gst_value_intersect_list):
26510           Fix memleak (#309125).
26511
26512 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26513
26514         * docs/manual/advanced-dataaccess.xml:
26515           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26516         * docs/manual/basics-pads.xml:
26517           Add reference for filtered caps to above chapter.
26518
26519 2005-06-30  Wim Taymans  <wim@fluendo.com>
26520
26521         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26522         (gst_bin_change_state):
26523         Probes are gone.
26524         Lame attempt at making the state change function a bit
26525         more readable.
26526
26527 2005-06-30  Wim Taymans  <wim@fluendo.com>
26528
26529         * docs/design/part-clocks.txt:
26530         * docs/design/part-element-sink.txt:
26531         * docs/design/part-events.txt:
26532         * docs/design/part-preroll.txt:
26533         * docs/design/part-states.txt:
26534         Some more tweeks and additions to the docs.
26535
26536 2005-06-30  Wim Taymans  <wim@fluendo.com>
26537
26538         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26539         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26540         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26541         (gst_pad_check_pull_range), (gst_pad_get_range),
26542         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26543         * gst/gstpad.h:
26544         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26545         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26546         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26547         (gst_pad_remove_buffer_probe):
26548         Removed atomic operations, use existing LOCK.
26549         Move exception handling out of main code path.
26550
26551 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26552
26553         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26554         (silly_return_true_function), (gst_pad_class_init),
26555         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26556         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26557         (gst_pad_send_event):
26558           Fix accumulator, add default value by using _emitv() instead
26559           of _emit() for signal emission.
26560
26561 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26562
26563         * docs/manual/advanced-dataaccess.xml:
26564         * examples/manual/Makefile.am:
26565           Add probe example.
26566         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26567           Make work (??).
26568
26569 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26570
26571         * gst/elements/gstfilesink.c: (gst_filesink_render):
26572           Simplify code so that we don't have to handle short
26573           writes and return GST_FLOW_ERROR if an error occured.
26574
26575 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26576
26577         * docs/gst/gstreamer-docs.sgml:
26578           Remove probes more.
26579
26580 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26581
26582         * docs/gst/gstreamer-sections.txt:
26583         * docs/gst/tmpl/gstpad.sgml:
26584         * docs/gst/tmpl/gstprobe.sgml:
26585         * gst/Makefile.am:
26586         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26587         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26588         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26589         (gst_pad_push_event), (gst_pad_send_event):
26590         * gst/gstpad.h:
26591         * gst/gstutils.c: (gst_pad_add_data_probe),
26592         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26593         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26594         (gst_pad_remove_buffer_probe):
26595         * gst/gstutils.h:
26596           Remove old probes, add new g-signal-based probes and some utility
26597           functions.
26598
26599 2005-06-29  Edward Hervey  <edward@fluendo.com>
26600
26601         * gst/gstelementfactory.c:
26602         * gst/gstutils.h:
26603         * gst/gstutils.c:
26604         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26605         the definition to the header file.
26606
26607 2005-06-29  Andy Wingo  <wingo@pobox.com>
26608
26609         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26610         plugins from the source directory.
26611
26612 2005-06-29  Wim Taymans  <wim@fluendo.com>
26613
26614         * docs/gst/tmpl/gstbuffer.sgml:
26615         * docs/gst/tmpl/gstclock.sgml:
26616         Some fixings for blantently wrong text.
26617
26618 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26619
26620         * check/Makefile.am:
26621         * gst/gst.c: (add_path_func), (init_pre):
26622         * gst/gstregistry.c: (gst_registry_add_path):
26623           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26624           only scan the GST_PLUGIN_PATH locations, and not add
26625           system locations
26626
26627 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26628
26629         * docs/gst/gstreamer-sections.txt:
26630         * docs/gst/tmpl/gstbasesrc.sgml:
26631         * gst/gstelement.c:
26632         * gst/gstelement.h:
26633         * gst/gstevent.c:
26634         * gst/gstutils.c:
26635           doc fixes
26636
26637 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26638
26639         * docs/manual/advanced-autoplugging.xml:
26640           Fix autoplugging example.
26641
26642 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26643
26644         * docs/manual/advanced-autoplugging.xml:
26645         * docs/manual/mime-world.fig:
26646           Try to get autoplugging working, fix type detection. Fix text
26647           in hello-world image.
26648
26649 2005-06-29  Wim Taymans  <wim@fluendo.com>
26650
26651         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26652         (gst_base_sink_change_state):
26653         Small debug line.
26654
26655         * gst/gstclock.h:
26656         map SIGNAL and BROADCAST to the right function.
26657
26658         * gst/gstobject.h:
26659         Remove redundant braces.
26660
26661         * gst/gstpad.c: (gst_pad_set_caps):
26662         Don't call setcaps function when reseting caps to NULL.
26663
26664         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26665         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26666         (gst_system_clock_id_unschedule):
26667         Use BROADCAST as this is what we do.
26668
26669 2005-06-29  Wim Taymans  <wim@fluendo.com>
26670
26671         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26672         We are actually prerolling before commiting the state
26673         change. 
26674
26675 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26676
26677         * docs/manual/advanced-clocks.xml:
26678         * docs/manual/advanced-interfaces.xml:
26679         * docs/manual/advanced-metadata.xml:
26680         * docs/manual/advanced-position.xml:
26681         * docs/manual/advanced-schedulers.xml:
26682         * docs/manual/advanced-threads.xml:
26683         * docs/manual/appendix-porting.xml:
26684         * docs/manual/basics-bins.xml:
26685         * docs/manual/basics-bus.xml:
26686         * docs/manual/basics-elements.xml:
26687         * docs/manual/basics-helloworld.xml:
26688         * docs/manual/basics-pads.xml:
26689         * docs/manual/highlevel-components.xml:
26690         * docs/manual/manual.xml:
26691         * docs/manual/thread.fig:
26692           Update (until threads/scheduling) Application Development Manual;
26693           remove GstThread, add GstBus, add simple porting checklist, add
26694           documentation for tag writing, clocks, make all examples until this
26695           part compile and run.
26696         * examples/manual/Makefile.am:
26697           Update from changes to Application Development Manual; add bus
26698           example, remove thread example.
26699
26700 2005-06-28  Wim Taymans  <wim@fluendo.com>
26701
26702         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26703         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26704         (gst_bus_source_dispatch):
26705         Add debugging messages.
26706         Make internal methods static.
26707         Handle the case where the bus is flushed in the handler.
26708         
26709         * gst/gstelement.c: (gst_element_get_bus):
26710         Fix refcount in _get_bus();
26711
26712         * gst/gstpipeline.c: (gst_pipeline_change_state),
26713         (gst_pipeline_get_clock_func):
26714         Clock refcounting fixes.
26715         Handle the case where preroll timed out more gracefully.
26716         
26717         * gst/gstsystemclock.c: (gst_system_clock_dispose):
26718         Clean up the internal thread in dispose. This is needed
26719         for subclasses that actually get disposed.
26720         
26721         * gst/schedulers/threadscheduler.c:
26722         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26723         (gst_thread_scheduler_dispose):
26724         Free thread pool in dispose.
26725
26726 2005-06-28  Andy Wingo  <wingo@pobox.com>
26727
26728         * tests/network-clock-utils.scm (debug, print-event): New utils.
26729
26730         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26731         (*packet-loss*): Unified loss probability.
26732         (network-time): Report out-of-band events.
26733
26734         * tests/plot-data: Add support for out-of-band events. Hack it
26735         into this script instead of passing it down the pipe; should fix
26736         this later.
26737
26738 2005-06-28  Wim Taymans  <wim@fluendo.com>
26739
26740         * docs/gst/gstreamer.types:
26741         * docs/gst/tmpl/gstbasesrc.sgml:
26742         * docs/gst/tmpl/gstpad.sgml:
26743         Docs fixes.
26744
26745 2005-06-28  Wim Taymans  <wim@fluendo.com>
26746
26747         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26748         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26749         (gst_proxy_pad_do_fixatecaps):
26750         Correctly proxy the check_pull_range function.
26751
26752 2005-06-28  Andy Wingo  <wingo@pobox.com>
26753
26754         * tests/network-clock.scm: Removed need for slib.
26755         
26756 2005-06-28  Wim Taymans  <wim@fluendo.com>
26757
26758         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26759         (gst_basesink_preroll_queue_flush):
26760         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26761         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26762         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26763         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26764         (gst_proxy_pad_set_property):
26765         * gst/gstpad.c:
26766         * gst/gstpad.h:
26767         * gst/gstqueue.c: (gst_queue_init):
26768         The deprecated pad loop function is removed now.
26769
26770 2005-06-28  Andy Wingo  <wingo@pobox.com>
26771
26772         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26773         New parameters, simulate network packet loss.
26774
26775         * tests/network-clock-utils.scm: Initialize the RNG.
26776
26777 2005-06-28  Wim Taymans  <wim@fluendo.com>
26778
26779         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26780         (gst_basesink_event), (gst_basesink_deactivate):
26781         Flushing the preroll queue always needs to unlock the waiters.
26782
26783 2005-06-28  Edward Hervey  <edward@fluendo.com>
26784
26785         * gst/gstpipeline.c: (gst_pipeline_send_event): 
26786         Wheen a seek was successful on a pipeline, set the stream_time to the
26787         seek offset in order to have a synchronized stream_time.
26788
26789 2005-06-28  Wim Taymans  <wim@fluendo.com>
26790
26791         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26792         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26793         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26794         (gst_proxy_pad_do_fixatecaps):
26795         Call wrapper function instead of just calling the function
26796         pointers. This takes care of any locking and whatmore.
26797
26798 2005-06-28  Wim Taymans  <wim@fluendo.com>
26799
26800         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26801         (gst_pad_pull_range):
26802         * gst/gstpad.h:
26803         CONNECTED -> LINKED.
26804
26805 2005-06-28  Andy Wingo  <wingo@pobox.com>
26806
26807         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26808         source-munging commit!!!
26809
26810         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
26811         (gst_object_sink): Take gpointer arguments, not GstObject --
26812         avoids casts. Like GLib.
26813
26814         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26815         activate.
26816
26817 2005-06-27  Andy Wingo  <wingo@pobox.com>
26818
26819         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26820         remaining buffer.
26821
26822         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26823         returns a sorted copy of the trace list.
26824         (gst_alloc_trace_print_live): New API, only prints traces with
26825         live objects. Sort the list.
26826         (gst_alloc_trace_print_all): Sort the list.
26827         (gst_alloc_trace_print): Align columns.
26828
26829         * gst/elements/gstttypefindelement.c:
26830         * gst/elements/gsttee.c:
26831         * gst/base/gstbasesrc.c:
26832         * gst/base/gstbasesink.c:
26833         * gst/base/gstbasetransform.c:
26834         * gst/gstqueue.c: Adapt for pad activation changes.
26835
26836         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26837         sched.
26838         (gst_pipeline_dispose): Drop ref on sched.
26839
26840         * gst/gstpad.c (gst_pad_init): Set the default activate func.
26841         (gst_pad_activate_default): Push mode by default.
26842         (pre_activate_switch, post_activate_switch): New stubs, things to
26843         do before and after switching activation modes on pads.
26844         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26845         the pad's activate function to choose which mode to activate.
26846         Shortcut on deactivation and call the right function directly.
26847         (gst_pad_activate_pull): New API, (de)activates a pad in pull
26848         mode.
26849         (gst_pad_activate_push): New API, same for push mode.
26850         (gst_pad_set_activate_function) 
26851         (gst_pad_set_activatepull_function) 
26852         (gst_pad_set_activatepush_function): Setters for new API.
26853
26854         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26855         Trace all miniobjects.
26856         (gst_mini_object_make_writable): Unref the arg if we copy, like
26857         gst_caps_make_writable.
26858
26859         * gst/gstmessage.c (_gst_message_initialize): No trace init.
26860
26861         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
26862         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26863         Adapt for new pad API.
26864
26865         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26866
26867         * gst/gstelement.h:
26868         * gst/gstelement.c (gst_element_iterate_src_pads) 
26869         (gst_element_iterate_sink_pads): New API functions.
26870         
26871         * gst/gstelement.c (iterator_fold_with_resync): New utility,
26872         should fold into gstiterator.c in some form.
26873         (gst_element_pads_activate): Simplified via use of fold and
26874         delegation of decisions to gstpad->activate.
26875
26876         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26877         help in debugging.
26878
26879         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26880         class once in init, like gstmessage. Didn't run into this issue
26881         but it seems correct. Don't initialize a trace, gstminiobject does
26882         that.
26883
26884         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26885         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26886         to the bus.
26887         (assert_live_count): New util function, uses alloc traces to check
26888         cleanup.
26889
26890         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26891         To be modified when unlink drops the internal pad.
26892
26893 2005-06-27  Wim Taymans  <wim@fluendo.com>
26894
26895         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26896         (gst_bin_change_state):
26897         Cleanup the get_state() function a little, make sure it
26898         iterates the same set of elements.
26899         Added stub iterate_state_order().
26900
26901 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
26902
26903         * docs/gst/gstreamer-docs.sgml:
26904         * docs/gst/gstreamer-sections.txt:
26905         * docs/gst/gstreamer.types:
26906         * docs/gst/tmpl/gstbasesink.sgml:
26907         * docs/gst/tmpl/gstbasesrc.sgml:
26908         * docs/gst/tmpl/gstbasetransform.sgml:
26909         * docs/gst/tmpl/gstelement.sgml:
26910         * docs/gst/tmpl/gstiterator.sgml:
26911         * gst/base/gstbasesrc.c:
26912         * gst/base/gstbasesrc.h:
26913         * gst/base/gstbasetransform.h:
26914         * gst/gstelement.c:
26915         * gst/gstiterator.h:
26916           adding basetransform and iterator docs
26917
26918 2005-06-27  Andy Wingo  <wingo@pobox.com>
26919
26920         * docs/design/part-activation.txt: Notes on how activation should
26921         work -- not quite implemented yet.
26922
26923 2005-06-25  Wim Taymans  <wim@fluendo.com>
26924
26925         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26926         At least get the chain function correct, needs more
26927         fixing.
26928
26929 2005-06-25  Wim Taymans  <wim@fluendo.com>
26930
26931         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26932         (gst_basesink_handle_object), (gst_basesink_event),
26933         (gst_basesink_do_sync), (gst_basesink_handle_event),
26934         (gst_basesink_change_state):
26935         * gst/gsttask.h:
26936         Right, two problems here: ghostpads don't take locks and
26937         glib _rec_mutex_lock_full() with depth==0 still locks.
26938         Catch illegal locking and g_warn them.
26939
26940 2005-06-25  Wim Taymans  <wim@fluendo.com>
26941
26942         * check/states/sinks.c: (START_TEST), (gst_object_suite):
26943         Have to check for completion now...
26944
26945 2005-06-25  Wim Taymans  <wim@fluendo.com>
26946
26947         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26948         (gst_basesink_handle_object), (gst_basesink_event),
26949         (gst_basesink_do_sync), (gst_basesink_handle_event),
26950         (gst_basesink_change_state):
26951         * gst/gstpad.h:
26952         Unlock STREAM_LOCK whatever the recursion was.
26953
26954 2005-06-25  Wim Taymans  <wim@fluendo.com>
26955
26956         * gst/base/gstbasesink.c: (gst_basesink_set_property),
26957         (gst_basesink_preroll_queue_empty),
26958         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
26959         (gst_basesink_event), (gst_basesink_do_sync),
26960         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
26961         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
26962         (gst_basesink_change_state):
26963         Reworked the base sink, handle event and buffer serialisation
26964         correctly and removed possible deadlock.
26965         Handle EOS correctly.
26966
26967 2005-06-25  Wim Taymans  <wim@fluendo.com>
26968
26969         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
26970         (gst_pipeline_change_state):
26971         * tools/gst-launch.c: (check_intr), (event_loop), (main):
26972         Allow elements to post EOS in the state change function.
26973         Fix up -launch, make it exit the poll loop when the
26974         pipeline actually changed state.
26975         Fix up warning parsing in -launch.
26976
26977 2005-06-25  Wim Taymans  <wim@fluendo.com>
26978
26979         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
26980         (gst_tee_sink_activate):
26981         Core takes STREAM_LOCK for us now.
26982
26983 2005-06-25  Wim Taymans  <wim@fluendo.com>
26984
26985         * gst/gstelement.c: (gst_element_get_state_func),
26986         (gst_element_set_state):
26987         * gst/gstelement.h:
26988         * gst/gstmessage.c: (gst_message_parse_error),
26989         (gst_message_parse_warning):
26990         Keep track of current target state while performing a state
26991         change so that subclasses can do something interesting.
26992         Fix parsing of warning/error messages when GError is NULL.
26993
26994 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26995
26996         * docs/gst/Makefile.am:
26997         * docs/gst/gstreamer-docs.sgml:
26998         * docs/gst/gstreamer-sections.txt:
26999         * docs/gst/gstreamer.types:
27000         * docs/gst/tmpl/gstbasesink.sgml:
27001         * docs/gst/tmpl/gstbasesrc.sgml:
27002         * docs/gst/tmpl/gstbin.sgml:
27003         * docs/gst/tmpl/gstcompat.sgml:
27004         * docs/gst/tmpl/gstfakesink.sgml:
27005         * docs/gst/tmpl/gstfakesrc.sgml:
27006         * docs/gst/tmpl/gstfilesink.sgml:
27007         * docs/gst/tmpl/gstfilesrc.sgml:
27008         * docs/gst/tmpl/gstindex.sgml:
27009         * docs/manual/appendix-quotes.xml:
27010         * gst/base/gstbasesrc.h:
27011         * gst/elements/gstfakesrc.h:
27012         * gst/gstmessage.h:
27013           start pulling in base classes and elements in our docs
27014
27015 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27016
27017         * docs/gst/Makefile.am:
27018         * docs/libs/Makefile.am:
27019           fixed make distcheck with gtk-doc 1.3
27020
27021 2005-06-23  Wim Taymans  <wim@fluendo.com>
27022
27023         * gst/gstelement.c: (gst_element_get_state_func),
27024         (gst_element_set_state), (gst_element_change_state):
27025         When the state did not change, also report NO_PREROLL
27026         when it matters.
27027
27028 2005-06-23  Wim Taymans  <wim@fluendo.com>
27029
27030         * gst/gstpad.c: (gst_pad_event_default):
27031         * gst/gstqueue.c: (gst_queue_loop):
27032         No unsafe task pausing please.
27033
27034 2005-06-23  Wim Taymans  <wim@fluendo.com>
27035
27036         * gst/schedulers/threadscheduler.c:
27037         (gst_thread_scheduler_task_start),
27038         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27039         Ref the task before pushing it on the threadpool. This
27040         makes sure that we have a ref when the threadfunction is
27041         actually called.
27042
27043 2005-06-23  Andy Wingo  <wingo@pobox.com>
27044
27045         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27046         offset is greater than the file's size.
27047
27048         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27049         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27050         * gst/gstobject.c (gst_object_class_init): Make the class lock
27051         recursive. Wim won't let me drop deep_notify. Decodebin works
27052         again, whoopdy doo.
27053
27054         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27055         internal pad, and hacks accordingly. Doesn't do it on the target
27056         pad because we change its caps. Probably catches all cases of
27057         interest tho.
27058         (gst_ghost_pad_set_property): Connect to notify::caps as
27059         appropritate.
27060
27061         * tests/network-clock.scm (plot-simulation): Pipe data to the
27062         elite python skript.
27063
27064         * tests/network-clock-utils.scm (define-parameter): New macro,
27065         defines a parameter that can be set via the command line.
27066         (set-parameter!, parse-parameter-arguments): Command line args
27067         parser.
27068
27069         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27070         stdin.
27071
27072 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27073
27074         * gst/elements/gsttypefindelement.c:
27075         (gst_type_find_element_handle_event):
27076           Don't restart typefinding on a discont.
27077         * gst/gstelement.c: (gst_element_set_state):
27078           Debug spelling fix.
27079         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27080           Allow changing mode of an active pad.
27081           Debug output fixes.
27082         * gst/registries/gstlibxmlregistry.c: (load_feature):
27083           Don't cast a static pad template to a normal pad template.
27084
27085 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27086
27087         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27088         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27089           remove gst_strtoll completely, since it didn't actually do
27090           anything more than what g_ascii_strtoull already does.
27091           check for range errors when deserializing
27092           do a cast for the unsigned cases; but further fixing needs
27093           a decision on what the interpretation of "(int)" and
27094           deserialization should be for values that fall outside the
27095           type's boundaries (ie, refuse, or interpret as casting)
27096
27097 2005-06-23  Wim Taymans  <wim@fluendo.com>
27098
27099         * check/Makefile.am:
27100         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27101         * docs/design/part-live-source.txt:
27102         * docs/design/part-states.txt:
27103         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27104         (gst_basesrc_set_live), (gst_basesrc_is_live),
27105         (gst_basesrc_get_range), (gst_basesrc_activate),
27106         (gst_basesrc_change_state):
27107         * gst/base/gstbasesrc.h:
27108         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27109         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27110         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27111         * gst/gstelement.c: (gst_element_get_state_func),
27112         (gst_element_set_state):
27113         * gst/gstelement.h:
27114         * gst/gsttypes.h:
27115         * tools/gst-launch.c: (event_loop), (main):
27116         Added support for live sources and other elements that
27117         cannot do preroll.
27118         Updated design docs, added live-source design doc.
27119         Implemented live source functionality in basesrc
27120         Fix error condition in _bin_get_state()
27121         Implement live source handling in -launch.
27122         Added check for live sources.
27123         Fixed case in GstBin where elements were changed state
27124         multiple times.
27125
27126
27127 2005-06-23  Andy Wingo  <wingo@pobox.com>
27128
27129         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27130         borken refcounting.
27131
27132         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27133         gst_caps_replace takes care of this for us.
27134
27135         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27136         gst_pad_set_caps on the target, not just its setcaps() function.
27137
27138         * tests/network-clock.scm: 
27139         * tests/network-clock-utils.scm: A network clock simulator.
27140         Something of an algorithmic testbed before doing something in C.
27141
27142 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27143
27144         * check/Makefile.am:
27145         * check/gst/capslist.h:
27146           copy over from 0.8, and add two with bitmasks specified with
27147           (int) 0xFF...
27148         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27149           add test to parse everything from capslist.h
27150         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27151         (main):
27152           add test for structure deserialization
27153         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27154           add tests for deserialization of strings to int types
27155         * gst/gststructure.c: (gst_structure_nth_field_name):
27156         * gst/gststructure.h:
27157           add a way to get the name of a field referenced by index
27158         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27159           instead of checking if the resulting long long lies between
27160           min and max, we check if the long long would fit into
27161           a number of bytes for the final type.
27162           This fixes cases where a string represents 2^32 - 1, which
27163           when cast to int would be the (valid) -1, but is bigger than
27164           G_MAXINT
27165
27166 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27167
27168         * gst/parse/grammar.y:
27169           add a log line for type deserialization
27170
27171 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27172
27173         * check/gst/gstvalue.c: (START_TEST):
27174         * gst/gstvalue.c: (gst_value_deserialize):
27175           return long long, not int, so gint64 deserialization actually
27176           works.  Is there any flag that makes the compiler check this ?
27177           Fixes #308559
27178
27179 2005-06-22  Wim Taymans  <wim@fluendo.com>
27180
27181         * gst/gstbuffer.h:
27182         Added convenience macros for setting buffers in GValue.
27183
27184 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27185
27186         * check/gst/.cvsignore:
27187         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27188           add a test deserializing int64, and comment part out because
27189           it fails, yay !
27190
27191 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27192
27193         * check/Makefile.am:
27194         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27195         * testsuite/Makefile.am:
27196         * testsuite/caps/Makefile.am:
27197         * testsuite/caps/value_serialize.c:
27198         * testsuite/test_gst_init.c:
27199           move a value_serialize test over
27200
27201 2005-06-20  Wim Taymans  <wim@fluendo.com>
27202
27203         * gst/gstpad.c:
27204         Small doc updates.
27205         
27206         * gst/gstvalue.c: (gst_value_compare_buffer),
27207         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27208         (gst_value_compare_flags), (gst_value_serialize_flags),
27209         (gst_value_deserialize_flags), (_gst_value_initialize):
27210         Fix serialisation of buffers, they are not boxed types anymore
27211
27212 2005-06-20  Wim Taymans  <wim@fluendo.com>
27213
27214         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27215         Testcase to show error in buffer-on-caps serialisation.
27216
27217 2005-06-20  Andy Wingo  <wingo@pobox.com>
27218
27219         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27220         will be adding to later.
27221
27222         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27223         if its socks fill with rocks.
27224         (gst_system_clock_obtain): Set the name on object construction.
27225         Avoid double-checked locking.
27226
27227 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27228
27229         * gst/gsturi.c: (gst_element_make_from_uri):
27230           Fix potential endless loop.
27231
27232 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27233
27234         * check/Makefile.am:
27235           add gsttag
27236         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27237         (main):
27238           move over from testsuite dir and clean up
27239         * configure.ac:
27240         * gst/gsttag.c:
27241         * testsuite/Makefile.am:
27242         * testsuite/tags/.cvsignore:
27243         * testsuite/tags/Makefile.am:
27244         * testsuite/tags/merge.c:
27245           remove testsuite/tags
27246
27247 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27248
27249         * docs/gst/gstreamer-sections.txt:
27250         * docs/gst/tmpl/gstenumtypes.sgml:
27251         * win32/gstenumtypes.c:
27252           clean up documentation build a little
27253
27254 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27255
27256         * check/gstcheck.h:
27257           add macros for checking refcounts on objects and caps
27258         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27259           add some more unit tests
27260         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27261         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27262           fix leaked refcounts (I hope :)) so unittest works
27263         * gst/gstpad.h:
27264           whitespace removal
27265
27266 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27267
27268         * configure.ac: back to HEAD
27269
27270 === release 0.9.1 ===
27271
27272 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27273
27274         * NEWS:
27275         * RELEASE:
27276           updated
27277
27278 2005-06-17  Andy Wingo  <wingo@pobox.com>
27279
27280         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27281         assert; it's always possible that the pad gets deactivated in
27282         between the checks in gstpad.c and the implementation. Rely on
27283         finish_preroll() to return a FLUSHING or similar instead of on the
27284         assert.
27285         
27286         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27287         clock and post an EOS message if we come out of finish_preroll in
27288         the playing state.
27289
27290 2005-06-16  David Schleef  <ds@schleef.org>
27291
27292         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27293         (gst_capsfilter_set_property): Allow NULL as possible value
27294         for filter_caps property, indicating GST_CAPS_ANY.
27295
27296 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27297
27298         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27299           fix debug output
27300         * gst/schedulers/Makefile.am:
27301           use libgst prefix
27302         * gstreamer.spec.in:
27303           fix spec for it
27304
27305 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27306
27307         * gstreamer.spec.in:
27308           clean up
27309
27310 2005-06-08  Andy Wingo  <wingo@pobox.com>
27311
27312         * gst/gstutils.c: RPAD fixes all around.
27313         (gst_element_link_pads): Refcounting fixes.
27314
27315         * tools/gst-inspect.c:
27316         * tools/gst-xmlinspect.c:
27317         * parse/grammar.y:
27318         * gst/base/gsttypefindhelper.c:
27319         * gst/base/gstbasesink.c:
27320         * gst/gstqueue.c: RPAD fixes.
27321
27322         * gst/gstghostpad.h:
27323         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27324         pads. The tricky thing is they provide both source and sink
27325         interfaces, since they proxy the internal pad for the external
27326         pad, and vice versa. Implement with lower-level ProxyPad objects,
27327         with the interior proxy pad as a child of the exterior ghost pad.
27328         Should write a doc on this.
27329         
27330         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27331         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27332         gst_object API.
27333         
27334         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27335         pads are real pads. No ghost pads in this file. Not documenting
27336         the myriad s/RPAD/PAD/ and REALIZE fixes.
27337         (gst_pad_class_init): Add properties for "direction" and
27338         "template". Both are construct-only, so they can't change during
27339         the life of the pad. Fixes properly deriving from GstPad.
27340         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27341         derived objects, just set properties when creating the objects via
27342         g_object_new.
27343         (gst_pad_get_parent): Implement as a function, return NULL if the
27344         parent is not an element.
27345         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27346         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27347         
27348         * gst/gstobject.c (gst_object_class_init): Make name a construct
27349         property. Don't set it in the object init.
27350
27351         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27352         with UNKNOWN direction.
27353         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27354         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27355         (gst_element_remove_pad): Remove ghost-pad special cases.
27356         (gst_element_pads_activate): Remove rpad cruft.
27357
27358         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27359         catch the pad's-parent-not-an-element case.
27360
27361         * gst/gst.h: Include gstghostpad.h.
27362
27363         * gst/gst.c (init_post): No more real, ghost pads.
27364
27365         * gst/Makefile.am: Add gstghostpad.[ch].
27366
27367         * check/Makefile.am:
27368         * check/gst/gstbin.c:
27369         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27370         into a bin creates ghost pads, and that the refcounts are right.
27371         Partly moved from gstbin.c.
27372
27373 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27374
27375         * check/gst-libs/.cvsignore:
27376         * check/gst/.cvsignore:
27377         * check/pipelines/.cvsignore:
27378           ignore more
27379         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27380         (START_TEST), (cleanup_suite), (main):
27381           add some tests related to cleanup after running pipelines
27382
27383 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27384
27385         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27386           add a testsuite for GstBuffer
27387
27388 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27389
27390         * gst/gstminiobject.h:
27391           add defines for accessing the refcount
27392
27393 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27394
27395         * Makefile.am: added support for html unit test coverage reports
27396
27397 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27398
27399         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27400           Free existing caps if the capsfilter changes. Add a FIXME about
27401           setting those caps on the pads.
27402
27403         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27404           Before adding a ghost pad to a parent bin, check that there isn't
27405           already one for the element on the bin. Prevents infinite recursion
27406           when using decodebin in parse pipelines. Andy says he'll rewrite the
27407           way this works anyway, so ignore the hack.
27408
27409 2005-06-02  Andy Wingo  <wingo@pobox.com>
27410
27411         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27412         file size, pass it on to the type find helper.
27413
27414         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27415         segment_start and segment_end properly according to the seek
27416         method. Segment_end is still a bit flaky because offset can be
27417         negative for CUR and END cases, but it takes -1 as an "unset"
27418         value.
27419
27420 2005-06-02  Wim Taymans  <wim@fluendo.com>
27421
27422         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27423         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27424         (gst_basesink_activate):
27425         * gst/base/gstbasesink.h:
27426         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27427         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27428         (gst_pad_query), (gst_pad_start_task):
27429         * gst/gstpad.h:
27430         * gst/gstqueue.c: (gst_queue_bufferalloc),
27431         (gst_queue_handle_sink_event), (gst_queue_chain):
27432         Bufferalloc: return GstFlowReturn to more accuratly report
27433         why allocation failed.
27434
27435 2005-06-02  Wim Taymans  <wim@fluendo.com>
27436
27437         * gst/gstpipeline.c: (gst_pipeline_send_event):
27438         Take snapshot of state without blocking.
27439
27440 2005-06-02  Wim Taymans  <wim@fluendo.com>
27441
27442         * docs/design/part-TODO.txt:
27443         * docs/design/part-caps.txt:
27444         * docs/design/part-clocks.txt:
27445         * docs/design/part-negotiation.txt:
27446         * docs/design/part-preroll.txt:
27447         Small doc updates 
27448
27449 2005-05-30  Wim Taymans  <wim@fluendo.com>
27450
27451         * gst/elements/gstidentity.c: (gst_identity_event),
27452         (gst_identity_transform), (gst_identity_get_property):
27453         Protect last_message property as it is accessed from
27454         multiple threads.
27455
27456 2005-05-30  Wim Taymans  <wim@fluendo.com>
27457
27458         * gst/gstelement.c: (gst_element_init),
27459         (gst_element_pads_activate), (gst_element_change_state):
27460         Slicker pad activation code.
27461
27462 2005-05-30  Wim Taymans  <wim@fluendo.com>
27463
27464         * gst/Makefile.am:
27465         * gst/gstelement.h:
27466         * gst/gstelementfactory.h:
27467         * gst/gsttypes.h:
27468         Move elementfactory methods to separate .h file.
27469
27470 2005-05-30  Wim Taymans  <wim@fluendo.com>
27471
27472         * docs/design/part-overview.txt:
27473         * gst/gstsystemclock.h:
27474         Small typo fixes, doc updates.
27475
27476 2005-05-30  Wim Taymans  <wim@fluendo.com>
27477
27478         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27479         (init_popt_callback):
27480         Remove cpu-opt flag.
27481
27482 2005-05-30  Wim Taymans  <wim@fluendo.com>
27483
27484         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27485         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27486         * gst/gstbuffer.h:
27487         Avoid typechecking in places where not needed.
27488         Added accessor for malloc_data.
27489
27490 2005-05-30  Wim Taymans  <wim@fluendo.com>
27491
27492         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27493         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27494         (gst_pad_configure_sink), (gst_pad_configure_src),
27495         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27496         (gst_pad_start_task):
27497         Propagate errors from _set_caps() in configure_src/sink
27498         functions instead of returning TRUE.
27499         FLUSH events can travel up and downstream
27500
27501
27502 2005-05-30  Wim Taymans  <wim@fluendo.com>
27503
27504         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27505         (gst_basesink_activate):
27506         Handle EOS in preroll.
27507
27508 2005-05-30  Wim Taymans  <wim@fluendo.com>
27509
27510         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27511         (gst_queue_loop), (gst_queue_handle_src_event):
27512         Remove old pieces of code
27513         Flushing the queue in an upstream event is a very bad idea.
27514
27515 2005-05-26  Andy Wingo  <wingo@pobox.com>
27516
27517         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27518         gst_value_set_mini_object so as to add a ref on the object (which
27519         will be removed when the value is unset).
27520
27521         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27522         arg type in ::handoff.
27523
27524         * gst/gstelement.c (gst_element_change_state): Also deactivate
27525         pads in READY->NULL, just in case the element didn't make it to
27526         PAUSED. Wingo tested, Wim approved.
27527
27528 2005-05-26  Wim Taymans  <wim@fluendo.com>
27529
27530         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27531         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27532         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27533         A flushing pad cannot be used to alloc_buffer from.
27534
27535 2005-05-26  Wim Taymans  <wim@fluendo.com>
27536
27537         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27538         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27539         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27540         (gst_bus_create_watch), (gst_bus_add_watch_full):
27541         * gst/gstbus.h:
27542         Implement a real GSource and use g_main_context_wakeup() to
27543         signal new messages instead of the socketpair.
27544
27545 2005-05-25  Wim Taymans  <wim@fluendo.com>
27546
27547         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27548         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27549         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27550         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27551         (gst_pad_send_event), (gst_pad_start_task):
27552         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27553         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27554         (gst_queue_sink_activate), (gst_queue_src_activate),
27555         (gst_queue_change_state):
27556         * gst/gstqueue.h:
27557         Fix state changes for non sinks. We now change sinks, then elements
27558         with unconnected srcpads, then the rest.
27559         More efficient queue unlocking in flush and state changes.
27560         Set the pad activate mode even if it does not have an activate
27561         function.
27562
27563 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27564
27565         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27566           Don't go in pull mode for non-seekable sources.
27567         * gst/elements/gsttypefindelement.h:
27568         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27569         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27570         (free_entry), (stop_typefinding),
27571         (gst_type_find_element_handle_event), (find_peek),
27572         (gst_type_find_element_chain), (do_pull_typefind),
27573         (gst_type_find_element_change_state):
27574           Allow typefinding (w/o seeking) in push-mode, simplified version
27575           of what was in 0.8.
27576         * gst/gstutils.c: (gst_buffer_join):
27577         * gst/gstutils.h:
27578           gst_buffer_join() from 0.8.
27579
27580 2005-05-25  Wim Taymans  <wim@fluendo.com>
27581
27582         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27583         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27584         (gst_pad_send_event), (gst_pad_start_task):
27585         Disable attempt at mode switching until it is figured out.
27586
27587 2005-05-25  Wim Taymans  <wim@fluendo.com>
27588
27589         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27590         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27591         (gst_basesink_finish_preroll), (gst_basesink_chain),
27592         (gst_basesink_loop), (gst_basesink_activate),
27593         (gst_basesink_change_state):
27594         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27595         (gst_basesrc_get_range), (gst_basesrc_loop),
27596         (gst_basesrc_activate):
27597         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27598         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27599         (gst_real_pad_init), (gst_real_pad_set_property),
27600         (gst_real_pad_get_property), (gst_pad_set_active),
27601         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27602         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27603         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27604         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27605         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27606         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27607         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27608         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27609         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27610         (gst_pad_stop_task):
27611         * gst/gstpad.h:
27612         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27613         (gst_queue_loop), (gst_queue_src_activate):
27614         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27615         (gst_task_get_state):
27616         * gst/gsttask.h:
27617         * gst/schedulers/threadscheduler.c:
27618         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27619         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27620         in task function.
27621         Remove ACTIVE pad flag, use FLUSHING everywhere
27622         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27623         functions.
27624         Add locks around IS_FLUSHING when reading.
27625         Take STREAM lock in chain(), get_range() functions so plugins
27626         don't need to take it anymore.
27627         
27628
27629
27630 2005-05-25  Wim Taymans  <wim@fluendo.com>
27631
27632         * tools/gst-launch.c: (event_loop):
27633         Unref message after using its contents instead of
27634         before.
27635
27636 2005-05-24  Wim Taymans  <wim@fluendo.com>
27637
27638         * docs/design/draft-ghostpads.txt:
27639         * docs/design/draft-push-pull.txt:
27640         * docs/design/draft-query.txt:
27641         * docs/design/part-overview.txt:
27642         Docs updates, added general overview doc.
27643
27644 2005-05-21  David Schleef  <ds@schleef.org>
27645
27646         * docs/gst/tmpl/old/GstBin.sgml:
27647         * docs/gst/tmpl/old/GstBuffer.sgml:
27648         * docs/gst/tmpl/old/GstCaps.sgml:
27649         * docs/gst/tmpl/old/GstClock.sgml:
27650         * docs/gst/tmpl/old/GstCompat.sgml:
27651         * docs/gst/tmpl/old/GstData.sgml:
27652         * docs/gst/tmpl/old/GstElement.sgml:
27653         * docs/gst/tmpl/old/GstEvent.sgml:
27654         * docs/gst/tmpl/old/GstIndex.sgml:
27655         * docs/gst/tmpl/old/GstStructure.sgml:
27656         * docs/gst/tmpl/old/GstTag.sgml:
27657         * docs/gst/tmpl/old/cothreads.sgml:
27658         * docs/gst/tmpl/old/cothreads_compat.sgml:
27659         * docs/gst/tmpl/old/gettext.sgml:
27660         * docs/gst/tmpl/old/gobject2gtk.sgml:
27661         * docs/gst/tmpl/old/grammar.tab.sgml:
27662         * docs/gst/tmpl/old/gst-i18n-app.sgml:
27663         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27664         * docs/gst/tmpl/old/gst_private.sgml:
27665         * docs/gst/tmpl/old/gstaggregator.sgml:
27666         * docs/gst/tmpl/old/gstarch.sgml:
27667         * docs/gst/tmpl/old/gstatomic_impl.sgml:
27668         * docs/gst/tmpl/old/gstbufferstore.sgml:
27669         * docs/gst/tmpl/old/gstdata_private.sgml:
27670         * docs/gst/tmpl/old/gstdisksink.sgml:
27671         * docs/gst/tmpl/old/gstdisksrc.sgml:
27672         * docs/gst/tmpl/old/gstelementfactory.sgml:
27673         * docs/gst/tmpl/old/gstextratypes.sgml:
27674         * docs/gst/tmpl/old/gstfakesink.sgml:
27675         * docs/gst/tmpl/old/gstfakesrc.sgml:
27676         * docs/gst/tmpl/old/gstfdsink.sgml:
27677         * docs/gst/tmpl/old/gstfdsrc.sgml:
27678         * docs/gst/tmpl/old/gstfilesink.sgml:
27679         * docs/gst/tmpl/old/gstfilesrc.sgml:
27680         * docs/gst/tmpl/old/gsthttpsrc.sgml:
27681         * docs/gst/tmpl/old/gstidentity.sgml:
27682         * docs/gst/tmpl/old/gstindexfactory.sgml:
27683         * docs/gst/tmpl/old/gstmarshal.sgml:
27684         * docs/gst/tmpl/old/gstmd5sink.sgml:
27685         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27686         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27687         * docs/gst/tmpl/old/gstpadtemplate.sgml:
27688         * docs/gst/tmpl/old/gstpipefilter.sgml:
27689         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27690         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27691         * docs/gst/tmpl/old/gstshaper.sgml:
27692         * docs/gst/tmpl/old/gstspider.sgml:
27693         * docs/gst/tmpl/old/gstspideridentity.sgml:
27694         * docs/gst/tmpl/old/gststatistics.sgml:
27695         * docs/gst/tmpl/old/gsttee.sgml:
27696         * docs/gst/tmpl/old/gsttimecache.sgml:
27697         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27698         * docs/gst/tmpl/old/gstxmlregistry.sgml:
27699         * docs/gst/tmpl/old/gthread-cothreads.sgml:
27700         * docs/gst/tmpl/old/types.sgml:
27701           I didn't intend to add these or check them in.
27702
27703 2005-05-19  David Schleef  <ds@schleef.org>
27704
27705         * configure.ac: Use -no-common everywhere.  In a sane world, it
27706           would be the default in libtool, because without it, you can't
27707           build DLLs on Windows.
27708         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27709         * docs/gst/gstreamer-sections.txt:
27710         * docs/gst/tmpl/gstcpu.sgml:
27711         * docs/gst/tmpl/gstdata.sgml:
27712         * docs/gst/tmpl/gstthread.sgml:
27713
27714 2005-05-19  David Schleef  <ds@schleef.org>
27715
27716         * gst/gstminiobject.c: (gst_value_set_mini_object),
27717         (gst_value_take_mini_object), (gst_value_get_mini_object):
27718         * gst/gstminiobject.h: Add GValue set/get functions.
27719
27720 2005-05-19  Wim Taymans  <wim@fluendo.com>
27721
27722         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27723         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27724         (gst_subbuffer_init), (gst_buffer_is_span_fast):
27725         * gst/gstbuffer.h:
27726         * gst/gstbus.c: (gst_bus_post):
27727         * gst/gstelement.c: (gst_element_get_random_pad):
27728         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27729         Make subbufer unref the parent in finalize.
27730         some more debugging info.
27731
27732
27733 2005-05-19  Wim Taymans  <wim@fluendo.com>
27734
27735         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27736         (gst_basesink_init), (gst_basesink_finalize),
27737         (gst_basesink_activate), (gst_basesink_change_state):
27738         Don't free preroll queue too early.
27739
27740 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27741
27742         * gst/Makefile.am:
27743         * gst/ROADMAP:
27744           Hi, I'm outdated. Please shoot me.
27745
27746 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27747
27748         * gst/gstpipeline.c: (gst_pipeline_send_event):
27749           Do not access variables after they have been deleted.
27750
27751 2005-05-19  Wim Taymans  <wim@fluendo.com>
27752
27753         * tools/gst-inspect.c: (print_plugin_features):
27754         A plugin feature does unfortunatly not use the
27755         object name yet...
27756
27757 2005-05-18  Wim Taymans  <wim@fluendo.com>
27758
27759         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27760         Port _span() functions to new subbuffers.
27761
27762 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27763
27764         * gst/gstbin.c: (gst_bin_add_func):
27765           Fix clock settery in bins when adding kids after the clock has
27766           been selected.
27767
27768 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27769
27770         * gst/elements/gstidentity.c: (gst_identity_class_init):
27771           Workaround until signals support GstMiniObject.
27772
27773 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
27774
27775         * gst/gstbuffer.c:
27776         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27777
27778 2005-05-18  Wim Taymans  <wim@fluendo.com>
27779
27780         * gst/base/Makefile.am:
27781         * gst/base/gstadapter.c: (gst_adapter_base_init),
27782         (gst_adapter_class_init), (gst_adapter_init),
27783         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27784         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27785         (gst_adapter_flush), (gst_adapter_available),
27786         (gst_adapter_available_fast):
27787         * gst/base/gstadapter.h:
27788         Ported and added adapter to the base classes.
27789
27790 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
27791
27792         * gst/gst.c:
27793         * gst/gstmessage.c:
27794           Make sure the class is reffed/unreffed once before threads can be
27795           used.  Fixes #304551.
27796
27797 2005-05-17  Wim Taymans  <wim@fluendo.com>
27798
27799         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27800         (gst_basesink_chain_unlocked), (gst_basesink_activate):
27801         * gst/gstminiobject.c: (gst_mini_object_get_type),
27802         (gst_mini_object_free):
27803         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27804         (gst_pad_push), (gst_pad_push_event):
27805         * gst/gstqueue.c: (gst_queue_change_state):
27806         Don't queue buffers in basesink when we are flushing.
27807         Unref buffer when flushing in basesink.
27808         Flush queue when going to READY
27809         Unref buffer when _push() returns an error.
27810         Don't free MiniObject instance when refcount is incremented
27811         in _finalize() so that we can recover objects.
27812
27813 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27814
27815         * docs/manual/advanced-schedulers.xml:
27816         * docs/manual/appendix-checklist.xml:
27817         * docs/pwg/advanced-clock.xml:
27818         * docs/pwg/advanced-interfaces.xml:
27819         * docs/pwg/advanced-request.xml:
27820         * docs/pwg/advanced-types.xml:
27821         * docs/pwg/intro-preface.xml:
27822         * examples/plugins/example.c: (gst_example_get_type),
27823         (gst_example_class_init), (gst_example_chain),
27824         (gst_example_set_property), (gst_example_get_property),
27825         (gst_example_change_state), (plugin_init):
27826         * examples/plugins/example.h:
27827           small doc fixes
27828
27829 2005-05-17  Wim Taymans  <wim@fluendo.com>
27830
27831         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27832         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27833         * gst/gstqueue.c: (gst_queue_change_state):
27834         Clear queue when going to READY.
27835         Remove IN_SETCAPS flag too.
27836
27837 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
27838
27839         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27840           Remove implicit cast from gboolean to GstElementStateReturn;
27841           make sure we still return failure in paused => ready case if
27842           the parent class fails to change state and our own stop 
27843           vfunc succeeds.
27844
27845 2005-05-17  Wim Taymans  <wim@fluendo.com>
27846
27847         * tools/gst-launch.c: (event_loop):
27848         Message was unreffed too soon.
27849
27850 2005-05-16  Andy Wingo  <wingo@pobox.com>
27851
27852         * gst/gstbin.c (sink_iterator_filter): Err... um...
27853
27854         * check/gst/gstbin.c (test_ghost_pads): New test for the
27855         ghosting-if-elements-not-in-same-bin behavior.
27856
27857 2005-05-16  David Schleef  <ds@schleef.org>
27858
27859         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27860         accessing refcount directly.
27861
27862 2005-05-15  David Schleef  <ds@schleef.org>
27863
27864         * check/Makefile.am: remove GstData checks
27865         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27866         * gst/Makefile.am: add miniobject, remove data
27867         * gst/gst.h: add miniobject, remove data
27868         * gst/gstdata.c: remove
27869         * gst/gstdata.h: remove
27870         * gst/gstdata_private.h: remove
27871         * gst/gsttypes.h: remove GstEvent and GstMessage
27872         * gst/gstelement.c: (gst_element_post_message): fix for API changes
27873         * gst/gstmarshal.list: change BOXED -> OBJECT
27874
27875         Implement GstMiniObject.
27876         * gst/gstminiobject.c:
27877         * gst/gstminiobject.h:
27878
27879         Modify to be subclasses of GstMiniObject.
27880         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27881         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27882         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27883         (gst_subbuffer_get_type), (gst_subbuffer_init),
27884         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27885         (gst_buffer_span):
27886         * gst/gstbuffer.h:
27887         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27888         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27889         (_gst_event_copy), (gst_event_new):
27890         * gst/gstevent.h:
27891         * gst/gstmessage.c: (_gst_message_initialize),
27892         (gst_message_get_type), (gst_message_class_init),
27893         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27894         (gst_message_new), (gst_message_new_error),
27895         (gst_message_new_warning), (gst_message_new_tag),
27896         (gst_message_new_state_changed), (gst_message_new_application):
27897         * gst/gstmessage.h:
27898         * gst/gstprobe.c: (gst_probe_perform),
27899         (gst_probe_dispatcher_dispatch):
27900         * gst/gstprobe.h:
27901         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27902         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27903         (_gst_query_copy), (gst_query_new):
27904
27905         Update elements for GstData -> GstMiniObject changes
27906         * gst/gstquery.h:
27907         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27908         (gst_queue_chain), (gst_queue_loop):
27909         * gst/elements/gstbufferstore.c:
27910         (gst_buffer_store_add_buffer_func),
27911         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27912         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27913         (gst_fakesink_render):
27914         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27915         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27916         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27917         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27918         (gst_filesrc_create_read):
27919         * gst/elements/gstidentity.c: (gst_identity_class_init):
27920         * gst/elements/gsttypefindelement.c:
27921         (gst_type_find_element_src_event), (free_entry_buffers),
27922         (gst_type_find_element_handle_event):
27923         * libs/gst/dataprotocol/dataprotocol.c:
27924         (gst_dp_header_from_buffer):
27925         * libs/gst/dataprotocol/dataprotocol.h:
27926         * libs/gst/dataprotocol/dp-private.h:
27927
27928 2005-05-15  David Schleef  <ds@schleef.org>
27929
27930         * gst/elements/gstelements.c: Don't include headers that were
27931         just removed.
27932
27933 2005-05-15  David Schleef  <ds@schleef.org>
27934
27935         * gst/elements/Makefile.am: Remove some elements that don't
27936         need to be in the core (or even exist at all).
27937         * gst/elements/gstaggregator.c:
27938         * gst/elements/gstaggregator.h:
27939         * gst/elements/gstmd5sink.c:
27940         * gst/elements/gstmd5sink.h:
27941         * gst/elements/gstmultifilesrc.c:
27942         * gst/elements/gstmultifilesrc.h:
27943         * gst/elements/gstpipefilter.c:
27944         * gst/elements/gstpipefilter.h:
27945         * gst/elements/gstshaper.c:
27946         * gst/elements/gstshaper.h:
27947         * gst/elements/gststatistics.c:
27948         * gst/elements/gststatistics.h:
27949         * po/POTFILES.in: Remove above files.
27950
27951 2005-05-14  Andy Wingo  <wingo@pobox.com>
27952
27953         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
27954         so as to get the refs right.
27955         (sink_iterator_filter): New function, wraps bin_element_is_sink,
27956         unreffing objects that don't pass the filter.
27957
27958         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
27959         gst_element_set_bus.
27960         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
27961         normal cases, this will destroy the bus.
27962
27963         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
27964         object.
27965
27966         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
27967         has no sinks.
27968
27969 2005-05-13  Andy Wingo  <wingo@pobox.com>
27970
27971         * gst/gstutils.c (gst_element_link_pads): Instead of calling
27972         gst_pad_link, call pad_link_maybe_ghosting,
27973         (pad_link_maybe_ghosting): Links pads, making sure that the
27974         elements being linked are in the same bin.
27975         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
27976         Helpers for pad_link_maybe_ghosting.
27977
27978 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
27979
27980         * configure.ac:
27981           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
27982
27983 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
27984
27985         * docs/design/part-element-source.txt:
27986           Mention GstPushSrc
27987
27988 2005-05-12  Wim Taymans  <wim@fluendo.com>
27989
27990         * gst/base/gstbasesink.c: (gst_basesink_init),
27991         (gst_basesink_activate):
27992         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
27993         (gst_basesrc_is_seekable):
27994         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
27995         (bin_element_is_sink), (gst_bin_change_state):
27996         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27997         * gst/gstelement.h:
27998         Identify sinks by their flag to avoid overly complicated
27999         checks (fow now).
28000         Do state changes even for elements not reachable from the
28001         sinks.
28002         BaseSink is a sink now :)
28003         Some more debugging info in the basesrc.
28004
28005
28006 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28007
28008         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28009           Implement _query on a bin, similar to _send_event.
28010
28011 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28012
28013         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28014           Discont event offset format should be GST_FORMAT_BYTES,
28015           not GST_FORMAT_TIME.
28016
28017 2005-05-12  Wim Taymans  <wim@fluendo.com>
28018
28019         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28020         Same fix as Ronald's but without the signal. 
28021
28022 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28023
28024         * gst/gstutils.c: (gst_element_query_position):
28025           No, an element is not a pad.
28026
28027 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28028
28029         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28030         (gst_bin_get_state):
28031           If a child is removed from a bin while we remove the child from
28032           the bin and while we're retrieving its state, signal this to the
28033           get_state function so we abort the wait (instead of waiting for
28034           a timeout) and can immediately re-iterate over all other elements.
28035
28036 2005-05-12  Wim Taymans  <wim@fluendo.com>
28037
28038         * gst/base/Makefile.am:
28039         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28040         (gst_basesrc_start):
28041         * gst/base/gstbasesrc.h:
28042         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28043         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28044         (gst_pushsrc_init), (gst_pushsrc_create):
28045         * gst/base/gstpushsrc.h:
28046         Added is_seekable to BaseSrc
28047         Added simple PushSrc.
28048
28049 2005-05-11  Wim Taymans  <wim@fluendo.com>
28050
28051         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28052         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28053         (gst_element_link_pads), (gst_element_query_position),
28054         (gst_element_query_convert), (intersect_caps_func),
28055         (gst_pad_query_position), (gst_pad_query_convert):
28056         Fix refcounting in utils function.
28057         No point in trying to activate a pad when it's added, it could
28058         be added from the state change function and then we deadlock, the
28059         element has to decide what to do.
28060
28061 2005-05-10  Andy Wingo  <wingo@pobox.com>
28062
28063         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28064         *all* the arguments.
28065
28066         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28067         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28068         lock (according to the docs -- if this is wrong change the docs).
28069
28070         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28071         flush messages in the NULL state.
28072
28073         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28074         message immediately and return.
28075         (gst_bus_set_flushing): New function. If a bus is flushing, it
28076         flushes out any queued messages and immediately unrefs new
28077         messages. This is so when an element goes to NULL, all of the
28078         unhandled messages coming from it can be freed, and their
28079         references to the element dropped. In other words: message source
28080         ref considered harmful :P
28081
28082         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28083         we're finished with it.
28084
28085         * gst/gstmessage.c (gst_message_new_state_changed): 
28086
28087 2005-05-10  Wim Taymans  <wim@fluendo.com>
28088
28089         * gst/gstvalue.c: (gst_value_compare_flags),
28090         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28091         (_gst_value_initialize):
28092         Added flags serialize/deserialize/compare code.
28093
28094 2005-05-09  Andy Wingo  <wingo@pobox.com>
28095
28096         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28097         Intersect the peer's caps with our caps.
28098
28099 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28100
28101         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28102         * gst/elements/gsttypefindelement.c: (find_peek):
28103           Handle negative offsets better. Fixes decodebin.
28104
28105 2005-05-09  Wim Taymans  <wim@fluendo.com>
28106
28107         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28108         (gst_base_transform_event):
28109         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28110         Implement accept_caps.
28111         Fix silly lock/unlock mismatch in base class.
28112
28113 2005-05-09  Wim Taymans  <wim@fluendo.com>
28114
28115         * docs/design/draft-push-pull.txt:
28116         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28117         * gst/elements/gstfilesink.c: (gst_filesink_init),
28118         (gst_filesink_query):
28119         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28120         (gst_type_find_handle_src_query), (find_element_get_length):
28121         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28122         * gst/gstelement.h:
28123         * gst/gstmessage.c:
28124         * gst/gstmessage.h:
28125         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28126         (gst_real_pad_get_caps_unlocked),
28127         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28128         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28129         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28130         (gst_real_pad_dispose), (gst_real_pad_finalize),
28131         (gst_pad_load_and_link), (gst_pad_save_thyself),
28132         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28133         (gst_pad_check_pull_range), (gst_pad_pull_range),
28134         (gst_pad_template_get_type), (gst_pad_template_class_init),
28135         (gst_pad_template_init), (gst_pad_template_dispose),
28136         (name_is_valid), (gst_static_pad_template_get),
28137         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28138         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28139         (gst_pad_get_element_private), (gst_pad_start_task),
28140         (gst_pad_pause_task), (gst_pad_stop_task),
28141         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28142         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28143         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28144         (gst_ghost_pad_new):
28145         * gst/gstpad.h:
28146         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28147         (gst_query_new_position), (gst_query_set_position),
28148         (gst_query_parse_position), (gst_query_new_convert),
28149         (gst_query_set_convert), (gst_query_parse_convert):
28150         * gst/gstquery.h:
28151         * gst/gstqueryutils.c:
28152         * gst/gstqueryutils.h:
28153         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28154         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28155         (gst_queue_handle_src_query):
28156         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28157         (gst_element_query_position), (gst_element_query_convert),
28158         (intersect_caps_func), (gst_pad_query_position),
28159         (gst_pad_query_convert):
28160         * gst/gstutils.h:
28161         * tools/gst-inspect.c: (print_pad_info):
28162         * tools/gst-xmlinspect.c: (print_element_info):
28163         Remove old query functions. Ported old code.
28164         Added position/convert helper functions to gstutils.
28165         Reordered gstpad.c code, grouping relevant things.
28166         Remove gst_message_new(), always need to speficy a specific
28167         message.
28168
28169
28170 2005-05-09  Andy Wingo  <wingo@pobox.com>
28171
28172         * gst/gstiterator.h: Add some includes.
28173
28174         * gst/gstqueryutils.h: Include more headers.
28175
28176         * gst/gstpad.h:
28177         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28178         some uses of gst_pad_query.
28179
28180         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28181         NULL out parameters.
28182         (gst_query_new_position): New proc, allocates a new position
28183         query.
28184
28185         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28186         gstqueryutils.c to the build.
28187
28188         * gst/gststructure.c (gst_structure_set_valist): Implement with
28189         the generic G_VALUE_COLLECT.
28190         
28191 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28192
28193         * gst/Makefile.am: (gst_headers):
28194         Added gstqueryutils.h to the list of headers to install, that was
28195         a 'nachty' move wingo :)
28196
28197 2005-05-06  Andy Wingo  <wingo@pobox.com>
28198
28199         * gst/gstquery.h
28200         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28201         GstData, init a memchunk.
28202         (standard_definitions): Add a few query types, deprecate a few.
28203         (gst_query_get_type): New proc.
28204         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28205         implementation.
28206         (gst_query_new_application, gst_query_get_structure): New public
28207         procs.
28208
28209         * docs/design/draft-query.txt: Removed LINKS from the query types,
28210         because all the rest can be dispatched to other pads -- seemed
28211         ugly to have a query that couldn't be dispatched. internal_links
28212         is fine as a pad method.
28213
28214         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28215         in gstpad.c, but maintain binary compatibility for the moment.
28216         Will fix before 0.9 is out.
28217
28218         * gst/gstqueryutils.c: 
28219         * gst/gstqueryutils.h: New files, implement 3 methods for each
28220         query type: parse_query, parse_response, and set. Probably need an
28221         allocator as well.
28222
28223         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28224
28225         * gst/elements/gstfilesink.c (gst_filesink_query2):
28226         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28227         query_types, and formats methods.
28228
28229         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28230         (gst_pad_set_query2_function): New functions.
28231         (gst_real_pad_init): Set query2_default as the default query2
28232         function. Basically just dispatches to internally linked pads.
28233
28234         Needs review!
28235         
28236         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28237         without using the atomic operations. Only one thread can possibly
28238         be accessing the data at this point. Changed so as to avoid
28239         gst_atomic operations.
28240
28241 2005-05-06  Wim Taymans  <wim@fluendo.com>
28242
28243         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28244         Also set caps if we use the fallback buffer alloc.
28245
28246 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28247
28248         * docs/gst/Makefile.am:
28249         * docs/gst/gstreamer-docs.sgml:
28250         * docs/gst/gstreamer-sections.txt:
28251         * docs/gst/tmpl/gstatomic.sgml:
28252         * docs/gst/tmpl/gstmemchunk.sgml:
28253         * testsuite/elements/struct_i386.h:
28254         * win32/GStreamer.vcproj:
28255         * win32/Makefile:
28256           Purge GstAtomic stuff from docs and win32 makefiles as well
28257
28258 2005-05-06  Wim Taymans  <wim@fluendo.com>
28259
28260         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28261         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28262         * gst/gstpad.c: (gst_pad_peer_get_caps):
28263         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28264         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28265         (gst_queue_src_activate), (gst_queue_change_state):
28266         * gst/gstqueue.h:
28267         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28268         (intersect_caps_func):
28269         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28270         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28271         Some fixes for the peer_get_caps() change.
28272
28273 2005-05-06  Wim Taymans  <wim@fluendo.com>
28274
28275         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28276         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28277         (gst_basesink_activate):
28278         Actually do something with error codes returned from the push
28279         functions.
28280
28281 2005-05-06  Wim Taymans  <wim@fluendo.com>
28282
28283         * docs/design/part-element-sink.txt:
28284         * docs/design/part-element-source.txt:
28285         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28286         (gst_basesink_event), (gst_basesink_activate):
28287         * gst/base/gstbasesink.h:
28288         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28289         (gst_basesrc_activate):
28290         * gst/base/gstbasesrc.h:
28291         * gst/gstelement.c: (gst_element_pads_activate):
28292         Some more documentation.
28293         Fixed scheduling decision in _pads_activate().
28294
28295 2005-05-05  Andy Wingo  <wingo@pobox.com>
28296
28297         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28298         the test suite.
28299
28300 2005-05-05  Wim Taymans  <wim@fluendo.com>
28301
28302         * gst/base/Makefile.am:
28303         * gst/base/gstbasesink.h:
28304         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28305         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28306         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28307         (gst_collectpads_class_init), (gst_collectpads_init),
28308         (gst_collectpads_finalize), (gst_collectpads_new),
28309         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28310         (find_pad), (gst_collectpads_remove_pad),
28311         (gst_collectpads_is_active), (gst_collectpads_collect),
28312         (gst_collectpads_collect_range), (gst_collectpads_start),
28313         (gst_collectpads_stop), (gst_collectpads_peek),
28314         (gst_collectpads_pop), (gst_collectpads_available),
28315         (gst_collectpads_read), (gst_collectpads_flush),
28316         (gst_collectpads_chain):
28317         * gst/base/gstcollectpads.h:
28318         * gst/elements/Makefile.am:
28319         * gst/elements/gstelements.c:
28320         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28321         (gst_fakesink_get_times), (gst_fakesink_event),
28322         (gst_fakesink_preroll), (gst_fakesink_render):
28323         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28324         (gst_filesink_init), (gst_filesink_set_location),
28325         (gst_filesink_open_file), (gst_filesink_close_file),
28326         (gst_filesink_pad_query), (gst_filesink_event),
28327         (gst_filesink_render), (gst_filesink_change_state):
28328         * gst/elements/gstfilesink.h:
28329         Added object to help in making collect pad based elements.
28330         Ported filesink.
28331         Make event function in sink baseclass return gboolean.
28332
28333 2005-05-05  Wim Taymans  <wim@fluendo.com>
28334
28335         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28336         (gst_bin_get_by_name):
28337         * gst/gstbuffer.h:
28338         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28339         (gst_clock_finalize):
28340         * gst/gstdata.c: (gst_data_replace):
28341         * gst/gstdata.h:
28342         * gst/gstelement.c: (gst_element_request_pad),
28343         (gst_element_pads_activate):
28344         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28345         (gst_object_unref):
28346         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28347         (gst_pad_set_checkgetrange_function),
28348         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28349         (gst_pad_check_pull_range), (gst_pad_pull_range),
28350         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28351         (gst_pad_pause_task), (gst_pad_stop_task):
28352         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28353         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28354         Fix name lookup in GstBin.
28355         Added _data_replace() function and _buffer_replace()
28356         Use finalize method to clean up clock.
28357         Fix refcounting on request pads.
28358         Fix pad schedule mode error.
28359         Some more object refcounting debug info,
28360
28361
28362 2005-05-04  Andy Wingo <wingo@pobox.com>
28363
28364         * check/Makefile.am:
28365         * docs/gst/tmpl/gstatomic.sgml:
28366         * docs/gst/tmpl/gstplugin.sgml:
28367         * gst/base/gstbasesink.c: (gst_basesink_activate):
28368         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28369         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28370         (gst_basesrc_query), (gst_basesrc_set_property),
28371         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28372         (gst_basesrc_activate):
28373         * gst/base/gstbasesrc.h:
28374         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28375         (gst_base_transform_src_activate):
28376         * gst/elements/gstelements.c:
28377         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28378         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28379         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28380         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28381         (gst_type_find_element_checkgetrange),
28382         (gst_type_find_element_activate):
28383         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28384         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28385         (gst_caps_load_thyself):
28386         * gst/gstelement.c: (gst_element_pads_activate),
28387         (gst_element_save_thyself), (gst_element_restore_thyself):
28388         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28389         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28390         * gst/gstpad.h:
28391         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28392         (gst_xml_parse_file), (gst_xml_parse_memory),
28393         (gst_xml_get_element), (gst_xml_make_element):
28394         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28395         (_file_index_id_save_xml), (gst_file_index_commit):
28396         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28397         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28398         (load_paths):
28399         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28400         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28401         * tools/gst-complete.c: (main):
28402         * tools/gst-compprep.c: (main):
28403         * tools/gst-inspect.c: (print_element_properties_info):
28404         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28405         * tools/gst-xmlinspect.c: (print_element_properties):
28406         GCC 4 fixen.
28407         
28408 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28409
28410         * gst/gstplugin.c: (gst_plugin_check_module),
28411         (gst_plugin_check_file), (gst_plugin_load_file):
28412             apply patch from #172526 to make register work on MacOSX
28413
28414 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28415
28416         * docs/gst/tmpl/gstconfig.sgml:
28417         * gst/gstconfig.h.in:
28418           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28419         * testsuite/debug/printf_extension.c: (main):
28420           Do not use GST_PTR_FORMAT on pointers to types with
28421           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28422         * testsuite/elements/property.h:
28423           use correct printf format
28424
28425 2005-05-02  Wim Taymans  <wim@fluendo.com>
28426
28427         * docs/design/draft-push-pull.txt:
28428         * docs/design/draft-query.txt:
28429         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28430         (gst_basesrc_start):
28431         Added draft for new query API.
28432         Added draft for better selecting scheduling methods.
28433         Make basesrc ignore length if the subclass does not support
28434         it.
28435
28436 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28437
28438         * gst/Makefile.am:
28439           possible fixes for automake-1.5 - _LIBADD is reserved
28440
28441 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28442
28443         * docs/faq/Makefile.am:
28444         * docs/manual/Makefile.am:
28445         * docs/manuals.mak:
28446         * docs/pwg/Makefile.am:
28447         * gst/Makefile.am:
28448           possible fixes for automake-1.5
28449
28450 2005-04-28  Wim Taymans  <wim@fluendo.com>
28451
28452         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28453         (gst_basesink_pad_getcaps), (gst_basesink_init),
28454         (gst_basesink_do_sync):
28455         * gst/gstclock.c: (gst_clock_entry_new):
28456         * gst/gstevent.c: (gst_event_discont_get_value):
28457         * gst/gstpipeline.c: (pipeline_bus_handler),
28458         (gst_pipeline_change_state):
28459         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28460         Better debugging of clocking info.
28461         Allow NULL values when getting discont values.
28462
28463 2005-04-27  Wim Taymans  <wim@fluendo.com>
28464
28465         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28466         * check/gst/gstpad.c: (gst_pad_suite):
28467         Increase timeout for checks.
28468
28469 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28470
28471         * check/Makefile.am:
28472           fix the broken rule for cleanup.  Apparently this rule is
28473           only needed on FC2, so maybe this warrants further autotool
28474           inspection.
28475
28476 2005-04-26  Wim Taymans  <wim@fluendo.com>
28477
28478         * gst/gsttrashstack.h:
28479         Ooohh. a nasty one! After having a failed pop() from the stack,
28480         it's possible that the stack is empty. In that case, don't
28481         follow the NULL pointer.
28482
28483 2005-04-25  Wim Taymans  <wim@fluendo.com>
28484
28485         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28486         (gst_pad_set_checkgetrange_function),
28487         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28488         (gst_pad_check_pull_range), (gst_pad_pull_range),
28489         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28490         (gst_pad_pause_task), (gst_pad_stop_task):
28491         * gst/gstplugin.c: (gst_plugin_load):
28492         * gst/gstplugin.h:
28493         Remove gst_library_load as it does more harm than good with
28494         the new g_module flags.
28495         Revert bogus caps template check in pad linking, pad caps
28496         are important when linking not the template, which is more
28497         general than the current caps.
28498
28499 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28500
28501         * gst/autoplug/.cvsignore:
28502         * gst/autoplug/Makefile.am:
28503         * gst/autoplug/gstsearchfuncs.c:
28504         * gst/autoplug/gstsearchfuncs.h:
28505         * gst/autoplug/gstspider.c:
28506         * gst/autoplug/gstspider.h:
28507         * gst/autoplug/gstspideridentity.c:
28508         * gst/autoplug/gstspideridentity.h:
28509         * gst/autoplug/spidertest.c:
28510           Die, spider, die.
28511
28512 2005-04-25  Wim Taymans  <wim@fluendo.com>
28513
28514         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28515         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28516         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28517         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28518         * gst/gstpad.h:
28519         Added stubs for unimplemented functions. 
28520
28521 2005-04-24  David Schleef  <ds@schleef.org>
28522
28523         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28524         please fix.
28525
28526 2005-04-24  David Schleef  <ds@schleef.org>
28527
28528         Convert everything from GstAtomicInt to g_atomic_int_*, and
28529         remove gstatomic.
28530         * gst/Makefile.am:
28531         * gst/gstatomic.c:
28532         * gst/gstatomic.h:
28533         * gst/gstatomic_impl.h:
28534         * gst/gstbuffer.c:
28535         * gst/gstcaps.c:
28536         * gst/gstcaps.h:
28537         * gst/gstclock.c:
28538         * gst/gstclock.h:
28539         * gst/gstdata.c:
28540         * gst/gstdata.h:
28541         * gst/gstdata_private.h:
28542         * gst/gstevent.c:
28543         * gst/gstinfo.c:
28544         * gst/gstinfo.h:
28545         * gst/gstmessage.c:
28546         * gst/gstobject.c:
28547         * gst/gstobject.h:
28548         * gst/gststructure.c:
28549         * gst/gststructure.h:
28550         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28551         * gst/gstutils.h:
28552
28553 2005-04-24  David Schleef  <ds@schleef.org>
28554
28555         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28556         make the regressions tests work.  Remove some code that is no
28557         longer true.
28558         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28559         Disable warning for pads without templates.
28560
28561 2005-04-24  David Schleef  <ds@schleef.org>
28562
28563         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28564         functions that handle filtered links.
28565         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28566         removed functions.
28567         * gst/gstutils.c: Fix/remove utility functions that handle
28568         filtered caps.
28569         * gst/gstutils.h:
28570         * gst/gstvalue.c: Add serialization/deserialization of caps
28571         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28572         requires fixing so that the filter caps notation creates
28573         a capsfilter element and sets the filter_caps property.  I
28574         think everyone probably wants to keep the shorthand notation.
28575         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28576         * docs/gst/tmpl/gstpad.sgml:
28577
28578         * gst/elements/gstelements.c: Register capsfilter element.
28579         * gst/Makefile.am: fix spacing
28580         * docs/random/ds/0.9-suggested-changes: random
28581
28582 2005-04-23  David Schleef  <ds@schleef.org>
28583
28584         * gst/elements/Makefile.am:
28585         * gst/elements/gstcapsfilter.c: New element that acts like an
28586         identity, but filters caps.  Will eventually replace filtered
28587         caps in pad linking.
28588         * gst/gstutils.c: (gst_element_create_all_pads): New function
28589         to create all the ALWAYS pads that are registered with an
28590         element class.  This functionality should eventually be
28591         merged in with GstElement initialization.
28592         * gst/gstutils.h:
28593         * testsuite/trigger/README: part of trigger test code that should
28594         have been checked in a long time ago.
28595
28596 2005-04-23  David Schleef  <ds@schleef.org>
28597
28598         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28599         needed with new versions of libtool (nobody will confirm this),
28600         and hard to carry around.
28601         * gst/autoplug/Makefile.am:
28602         * gst/base/Makefile.am:
28603         * gst/elements/Makefile.am:
28604         * gst/indexers/Makefile.am:
28605         * gst/schedulers/Makefile.am:
28606         * libs/gst/bytestream/Makefile.am:
28607         * libs/gst/control/Makefile.am:
28608         * libs/gst/dataprotocol/Makefile.am:
28609         * libs/gst/getbits/Makefile.am:
28610
28611 2005-04-21  Wim Taymans  <wim@fluendo.com>
28612
28613         * docs/design/draft-push-pull.txt:
28614         * docs/design/part-MT-refcounting.txt:
28615         * docs/design/part-TODO.txt:
28616         * docs/design/part-caps.txt:
28617         * docs/design/part-events.txt:
28618         * docs/design/part-gstbus.txt:
28619         * docs/design/part-gstpipeline.txt:
28620         * docs/design/part-messages.txt:
28621         * docs/design/part-push-pull.txt:
28622         * docs/design/part-query.txt:
28623         Some more docs.
28624
28625 2005-04-21  Wim Taymans  <wim@fluendo.com>
28626
28627         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28628         (gst_message_new), (gst_message_new_error),
28629         (gst_message_new_warning), (gst_message_new_tag),
28630         (gst_message_new_state_changed), (gst_message_new_application),
28631         (gst_message_get_structure):
28632         * gst/gstmessage.h:
28633         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28634         (gst_structure_copy_conditional):
28635         Use parent refcount in GstMessage to ensure GstStructure
28636         consistency.
28637         Cleaned up headers a bit.
28638         
28639
28640 2005-04-20  Wim Taymans  <wim@fluendo.com>
28641
28642         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28643         (gst_basesink_pad_getcaps), (gst_basesink_init),
28644         (gst_basesink_chain_unlocked):
28645         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28646         (gst_type_find_helper):
28647         * gst/elements/gsttypefindelement.c:
28648         (gst_type_find_element_have_type), (gst_type_find_element_init),
28649         (stop_typefinding), (gst_type_find_element_handle_event),
28650         (find_suggest), (gst_type_find_element_chain),
28651         (gst_type_find_element_checkgetrange),
28652         (gst_type_find_element_getrange), (do_typefind),
28653         (gst_type_find_element_activate):
28654         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28655         (gst_buffer_default_free), (gst_buffer_default_copy),
28656         (gst_buffer_set_caps):
28657         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28658         (gst_caps_replace):
28659         * gst/gstmessage.c: (gst_message_new),
28660         (gst_message_new_state_changed):
28661         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28662         (gst_pad_set_checkgetrange_function),
28663         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28664         (gst_pad_set_caps), (gst_pad_check_pull_range),
28665         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28666         * gst/gstpad.h:
28667         * gst/gsttypefind.c: (gst_type_find_register):
28668         Make gst_caps_replace() work like other _replace() functions.
28669         Use _caps_replace() where possible.
28670         Make sure _message_new() initialises its field.
28671         Add gst_static_pad_template_get_caps()
28672
28673
28674 2005-04-18  Andy Wingo  <wingo@pobox.com>
28675
28676         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28677         on the peer, not the pad. I think that was a typo. Pass an extra
28678         arg to see if random access is possible. Activate the pads as
28679         PULL_RANGE if possible.
28680
28681         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28682
28683         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
28684         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28685         to PROP_....
28686
28687 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28688
28689         * docs/faq/using.xml:
28690           Add note on gstreamer-properties (#154996).
28691
28692 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28693
28694         * docs/random/bbb/optional-properties:
28695           Some analysis on optional properties.
28696
28697 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28698
28699         * docs/gst/tmpl/gstelementfactory.sgml:
28700         * gst/gstelement.h:
28701         * gst/gstelementfactory.c: (gst_element_factory_init),
28702         (gst_element_factory_cleanup), (gst_element_register),
28703         (__gst_element_factory_add_static_pad_template),
28704         (gst_element_factory_get_static_pad_templates),
28705         (gst_element_factory_can_src_caps),
28706         (gst_element_factory_can_sink_caps):
28707         * gst/registries/Makefile.am:
28708         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28709         (gst_xml_registry_class_init), (gst_xml_registry_init),
28710         (gst_xml_registry_new), (gst_xml_registry_set_property),
28711         (gst_xml_registry_get_property), (get_time), (make_dir),
28712         (gst_xml_registry_get_perms_func),
28713         (plugin_times_older_than_recurse), (plugin_times_older_than),
28714         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28715         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28716         (add_to_char_array), (read_string), (read_uint), (read_enum),
28717         (load_pad_template), (load_feature), (load_plugin), (load_paths),
28718         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28719         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28720         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28721         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28722         (gst_xml_registry_rebuild):
28723         * gst/registries/gstlibxmlregistry.h:
28724         * tools/gst-compprep.c: (main):
28725         * tools/gst-inspect.c: (print_pad_templates_info):
28726         * tools/gst-xmlinspect.c: (print_element_info):
28727           Use libxml2 for registry parsing, use staticpadtemplates in
28728           elementfactories. Makes gst_init() +/- 10x faster.
28729
28730 2005-04-12  Wim Taymans  <wim@fluendo.com>
28731
28732         * gst/base/Makefile.am:
28733         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28734         (gst_basesink_pad_getcaps), (gst_basesink_init),
28735         (gst_basesink_event), (gst_basesink_change_state):
28736         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28737         (gst_basesrc_init), (gst_basesrc_query),
28738         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28739         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28740         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28741         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28742         (gst_basesrc_stop), (gst_basesrc_activate),
28743         (gst_basesrc_change_state):
28744         * gst/base/gsttypefindhelper.c: (helper_find_peek),
28745         (helper_find_suggest), (gst_type_find_helper):
28746         * gst/base/gsttypefindhelper.h:
28747         * gst/elements/Makefile.am:
28748         * gst/elements/gstelements.c:
28749         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28750         (gst_fakesink_get_times), (gst_fakesink_event),
28751         (gst_fakesink_preroll), (gst_fakesink_render):
28752         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28753         (gst_fakesrc_init), (gst_fakesrc_event_handler),
28754         (gst_fakesrc_get_property), (gst_fakesrc_create),
28755         (gst_fakesrc_start), (gst_fakesrc_stop):
28756         * gst/elements/gstfakesrc.h:
28757         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28758         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28759         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28760         (gst_filesrc_create_read), (gst_filesrc_create),
28761         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28762         (gst_filesrc_start):
28763         * gst/elements/gsttypefindelement.c:
28764         (gst_type_find_element_have_type), (gst_type_find_element_init),
28765         (start_typefinding), (stop_typefinding), (push_buffer_store),
28766         (gst_type_find_element_handle_event),
28767         (gst_type_find_element_chain),
28768         (gst_type_find_element_checkgetrange),
28769         (gst_type_find_element_getrange), (do_typefind),
28770         (gst_type_find_element_activate),
28771         (gst_type_find_element_change_state):
28772         * gst/elements/gsttypefindelement.h:
28773         * gst/gstpipeline.c: (pipeline_bus_handler):
28774         Added typefind helper.
28775         Small preroll fix in the base sink.
28776         Disable typefind code in basesrc.
28777         Crude port of typefindelement.
28778         Fakesrc cleanups.
28779
28780
28781 2005-04-11  Wim Taymans  <wim@fluendo.com>
28782
28783         * check/gst/gstbus.c: (gstbus_suite):
28784         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28785         * check/gstcheck.h:
28786           Fix up the timeout so that the test does not fail.
28787
28788 2005-04-06  Wim Taymans  <wim@fluendo.com>
28789
28790         * gst/base/README:
28791         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28792         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28793         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28794         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28795         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28796         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28797         (gst_basesrc_stop), (gst_basesrc_activate),
28798         (gst_basesrc_change_state), (basesrc_find_peek),
28799         (basesrc_find_suggest), (gst_basesrc_type_find):
28800         * gst/base/gstbasesrc.h:
28801         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28802         (gst_filesrc_class_init), (gst_filesrc_init),
28803         (gst_filesrc_finalize), (gst_filesrc_set_location),
28804         (gst_filesrc_set_property), (gst_filesrc_get_property),
28805         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28806         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28807         (gst_filesrc_create_read), (gst_filesrc_create),
28808         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28809         * gst/elements/gstfilesrc.h:
28810         * gst/gstelement.c: (gst_element_get_state_func),
28811         (gst_element_lost_state), (gst_element_pads_activate):
28812         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28813         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28814         (gst_pad_pull_range):
28815         * gst/gstpad.h:
28816         More work on the generic source base class, implement seeking,
28817         query.
28818         Make filesrc extend the base source class.
28819         Added gst_pad_set_checkgetrange_function to GstPad.
28820
28821 2005-04-06  Andy Wingo  <wingo@pobox.com>
28822
28823         * pkgconfig/gstreamer-base.pc.in:
28824         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28825
28826         * pkgconfig/Makefile.am:
28827         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28828
28829 2005-04-04  Wim Taymans  <wim@fluendo.com>
28830
28831         * gst/base/Makefile.am:
28832         * gst/base/README:
28833         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28834         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28835         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28836         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28837         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28838         (gst_basesrc_base_init), (gst_basesrc_class_init),
28839         (gst_basesrc_init), (gst_basesrc_get_formats),
28840         (gst_basesrc_get_query_types), (gst_basesrc_query),
28841         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28842         (gst_basesrc_set_property), (gst_basesrc_get_property),
28843         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28844         (gst_basesrc_loop), (gst_basesrc_activate),
28845         (gst_basesrc_change_state):
28846         * gst/base/gstbasesrc.h:
28847         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28848         (gst_fakesrc_class_init), (gst_fakesrc_init),
28849         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28850         (gst_fakesrc_get_property), (gst_fakesrc_create):
28851         * gst/elements/gstfakesrc.h:
28852         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28853         (gst_filesrc_open_file), (gst_filesrc_loop),
28854         (gst_filesrc_activate), (filesrc_find_peek),
28855         (gst_filesrc_type_find):
28856         Made base source class, make fakesrc extend it.
28857         Add comments to basesink class.
28858         Some filesrc cleanup.
28859
28860 2005-03-31  David Schleef  <ds@schleef.org>
28861
28862         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28863         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28864         expected to link against libgstreamer.
28865         * gst/base/Makefile.am: link against libgstreamer
28866         * gst/elements/Makefile.am: same
28867
28868 2005-03-31  Andy Wingo  <wingo@pobox.com>
28869
28870         * tests/instantiate/Makefile.am:
28871         * tests/instantiate/caps.c: Add test to test speed of caps copy
28872         and free.
28873
28874         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28875         GMemChunk to be fair.
28876
28877         * gst/gsttrashstack.h: Remove warning about using the fallback
28878         trash stack implementation, it's still faster than malloc.
28879
28880 2005-03-30  Andy Wingo  <wingo@pobox.com>
28881
28882         * tests/complexity.c: Add a copyright.
28883
28884 2005-03-31  Wim Taymans  <wim@fluendo.com>
28885
28886         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28887         (gst_base_transform_class_init), (gst_base_transform_init),
28888         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28889         (gst_base_transform_get_property),
28890         (gst_base_transform_sink_activate),
28891         (gst_base_transform_src_activate),
28892         (gst_base_transform_change_state):
28893         * gst/base/gstbasetransform.h:
28894         * gst/elements/gstidentity.c: (gst_identity_class_init),
28895         (gst_identity_event), (gst_identity_check_perfect),
28896         (gst_identity_transform), (gst_identity_start),
28897         (gst_identity_stop):
28898         Added start/stop methods to transform base class so subclasses 
28899         don't need to deal with state changes even.
28900
28901 2005-03-31  Wim Taymans  <wim@fluendo.com>
28902
28903         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28904         (gst_event_new_discontinuous), (gst_event_discont_get_value):
28905         * gst/gstevent.h:
28906         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28907         (gst_pad_pull_range):
28908         Added rate to the discont event to prepare for variable speed
28909         and reverse playback.
28910
28911 2005-03-29  David Schleef  <ds@schleef.org>
28912
28913         * configure.ac:
28914         * testsuite/trigger/Makefile.am:
28915         * testsuite/trigger/trigger.c: A little example program to show
28916         how trigger-based elements can work.
28917
28918 2005-03-29  Wim Taymans  <wim@fluendo.com>
28919
28920         * gst/base/Makefile.am:
28921         * gst/base/README:
28922         * gst/base/gstbasesink.c: (gst_basesink_get_type),
28923         (gst_basesink_base_init), (gst_basesink_class_init),
28924         (gst_basesink_pad_getcaps), (gst_basesink_init),
28925         (gst_basesink_activate), (gst_basesink_change_state):
28926         * gst/base/gstbasesink.h:
28927         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28928         (gst_base_transform_base_init), (gst_base_transform_finalize),
28929         (gst_base_transform_class_init), (gst_base_transform_init),
28930         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28931         (gst_base_transform_event), (gst_base_transform_getrange),
28932         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28933         (gst_base_transform_set_property),
28934         (gst_base_transform_get_property),
28935         (gst_base_transform_sink_activate),
28936         (gst_base_transform_src_activate),
28937         (gst_base_transform_change_state):
28938         * gst/base/gstbasetransform.h:
28939         * gst/elements/gstidentity.c: (gst_identity_finalize),
28940         (gst_identity_class_init), (gst_identity_init),
28941         (gst_identity_event), (gst_identity_check_perfect),
28942         (gst_identity_transform), (gst_identity_set_property),
28943         (gst_identity_get_property), (gst_identity_change_state):
28944         * gst/elements/gstidentity.h:
28945         * gst/gstelement.c: (gst_element_get_state_func),
28946         (gst_element_lost_state), (gst_element_pads_activate):
28947         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28948         (gst_pad_check_pull_range), (gst_pad_pull_range):
28949         * gst/gstpad.h:
28950         Simplify pad activation.
28951         Added function to check if pull_range can be performed.
28952         Error out when pulling inactive or flushing pads.
28953         Removed const from refcounted types as it does not make sense.
28954         Simplify pad templates in basesink
28955         Added base class for simple 1-to-1 transforms.
28956         Make identity subclass the base transform.
28957
28958 2005-03-29  Andy Wingo  <wingo@pobox.com>
28959
28960         * docs/libs/gstreamer-libs-overrides.txt: 
28961         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
28962         really don't understand what's going on, but like whatever. I want
28963         green buildbot!
28964
28965         * docs/gst/Makefile.am:
28966         * docs/libs/Makefile.am: Dist the overrides files.
28967
28968         * check/Makefile.am (clean-local): Remove .libs directories.
28969
28970         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
28971         elements to EXTRA_DIST, so po/ files are happy.
28972
28973         * po/POTFILES.in: Er, remove it here.
28974
28975         * po/POTFILES: Remove gstspider.c.
28976
28977         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
28978
28979         * docs/libs/gstreamer-libs-docs.sgml: 
28980         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
28981         bytestream.
28982
28983         * tests/complexity.c (main): Set the length of the preroll queue
28984         on the sinks to prevent a lockup.
28985
28986         * libs/gst/dataprotocol/Makefile.am: 
28987         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
28988         the same as the one in check/gst-libs/gdp.c.
28989
28990         * po/, docs/gst/: Commit automatic changes to docs and po files.
28991
28992         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
28993         the versioned libgstbase.
28994
28995         * check/Makefile.am: Depend on an unversioned gst-register, seems
28996         to make autoconf happier.
28997
28998         * gst/base/Makefile.am: Make libgstbase a versioned lib.
28999
29000 2005-03-28  Wim Taymans  <wim@fluendo.com>
29001
29002         * configure.ac:
29003         * docs/design/part-gstelement.txt:
29004         * docs/design/part-negotiation.txt:
29005         * docs/design/part-preroll.txt:
29006         * docs/design/part-scheduling.txt:
29007         * docs/design/part-states.txt:
29008         * gst/Makefile.am:
29009         * gst/base/Makefile.am:
29010         * gst/base/README:
29011         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29012         (gst_basesink_base_init), (gst_basesink_class_init),
29013         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29014         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29015         (gst_basesink_set_pad_functions),
29016         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29017         (gst_basesink_set_property), (gst_basesink_get_property),
29018         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29019         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29020         (gst_basesink_preroll_queue_push),
29021         (gst_basesink_preroll_queue_empty),
29022         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29023         (gst_basesink_event), (gst_basesink_get_times),
29024         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29025         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29026         (gst_basesink_loop), (gst_basesink_activate),
29027         (gst_basesink_change_state):
29028         * gst/base/gstbasesink.h:
29029         * gst/elements/Makefile.am:
29030         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29031         (gst_fakesink_class_init), (gst_fakesink_init),
29032         (gst_fakesink_set_property), (gst_fakesink_get_property),
29033         (gst_fakesink_get_times), (gst_fakesink_event),
29034         (gst_fakesink_preroll), (gst_fakesink_render),
29035         (gst_fakesink_change_state):
29036         * gst/elements/gstfakesink.h:
29037         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29038         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29039         * gst/gstelement.c: (gst_element_add_pad),
29040         (gst_element_get_state_func), (gst_element_abort_state),
29041         (gst_element_commit_state), (gst_element_lost_state),
29042         (gst_element_set_state), (gst_element_pads_activate):
29043         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29044         * gst/gstpipeline.c: (gst_pipeline_send_event),
29045         (gst_pipeline_change_state):
29046         Added state change code.
29047         Added/updated docs.
29048         Added sink base class, make fakesink extend the base class.
29049         Small cleanups in GstPipeline.
29050
29051 2005-03-26  David Schleef  <ds@schleef.org>
29052
29053         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29054         is broken and should be implemented in a different library.
29055         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29056         * gst/gst.h: remove gstcpu.h
29057         * gst/gstcpu.c: remove
29058         * gst/gstcpu.h: remove
29059         * gst/Makefile.am.future: Remove this file.  It's ancient.
29060
29061 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29062
29063         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29064         (gst_bin_send_event):
29065           Add default event/set_manager handlers. The set_manager handler
29066           takes care that the manager is distributed over kids that were
29067           already in the bin before the manager was set. The event handler
29068           is a utility virtual function that sends the event over all sinks,
29069           so that gst_element_send_event (bin, event); has the expected
29070           behaviour.
29071         * gst/gstpad.c: (gst_pad_event_default):
29072           Re-install default event handling for discontinuities, so that
29073           seeking works without requiring hacks in applications or extra
29074           code in sinks.
29075         * gst/gstpipeline.c: (gst_pipeline_class_init),
29076         (gst_pipeline_send_event):
29077           Half hack, half utility: set a pipeline to PAUSED for seek events,
29078           since that is the only way we can guarantee a/v sync. Means that
29079           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29080           and it "just works".
29081
29082 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29083
29084         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29085           Lock/unlock mismatch.
29086
29087 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29088
29089         * docs/faq/gst-uninstalled:
29090           add gst-plugins-base
29091         * docs/gst/Makefile.am:
29092           don't error out until docs are fixed
29093         * docs/gst/gstreamer.types:
29094           remove thread
29095
29096 2005-03-22  Wim Taymans  <wim@fluendo.com>
29097
29098         * check/Makefile.am:
29099         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29100         * gst/gststructure.c: (gst_structure_set_valist),
29101         (gst_structure_copy_conditional):
29102         Activated more tests.
29103         Added message test.
29104         Added G_TYPE_POINTER to GstStructure.
29105         
29106
29107 2005-03-22  Wim Taymans  <wim@fluendo.com>
29108
29109         * docs/design/part-TODO.txt:
29110         * docs/design/part-events.txt:
29111         * docs/design/part-gstbin.txt:
29112         * docs/design/part-gstbus.txt:
29113         * docs/design/part-gstpipeline.txt:
29114         * docs/design/part-messages.txt:
29115         * gst/gstbus.c:
29116         * gst/gstmessage.c:
29117         Docs updates
29118
29119 2005-03-21  Wim Taymans  <wim@fluendo.com>
29120
29121         * gst/gstbus.c: (gst_bus_post):
29122         Fix copy-and-paste error.
29123
29124 2005-03-21  Wim Taymans  <wim@fluendo.com>
29125
29126         * check/Makefile.am:
29127         * gst/Makefile.am:
29128         * gst/elements/Makefile.am:
29129         * gst/elements/gstelements.c:
29130         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29131         (gst_fakesink_event), (gst_fakesink_chain):
29132         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29133         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29134         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29135         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29136         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29137         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29138         (gst_fakesrc_loop), (gst_fakesrc_activate),
29139         (gst_fakesrc_change_state):
29140         * gst/elements/gstfakesrc.h:
29141         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29142         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29143         (gst_filesrc_open_file), (gst_filesrc_loop),
29144         (gst_filesrc_activate), (gst_filesrc_change_state),
29145         (filesrc_find_peek), (filesrc_find_suggest),
29146         (gst_filesrc_type_find):
29147         * gst/elements/gstidentity.c: (gst_identity_finalize),
29148         (gst_identity_class_init), (gst_identity_init),
29149         (gst_identity_proxy_getcaps), (identity_queue_push),
29150         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29151         (gst_identity_getrange), (gst_identity_chain),
29152         (gst_identity_sink_loop), (gst_identity_src_loop),
29153         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29154         (gst_identity_set_property), (gst_identity_get_property),
29155         (gst_identity_change_state):
29156         * gst/elements/gstidentity.h:
29157         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29158         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29159         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29160         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29161         (gst_tee_sink_activate):
29162         * gst/elements/gsttee.h:
29163         * gst/gst.c: (gst_register_core_elements), (init_post):
29164         * gst/gst.h:
29165         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29166         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29167         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29168         (gst_bin_change_state):
29169         * gst/gstbin.h:
29170         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29171         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29172         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29173         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29174         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29175         (bus_watch_callback), (bus_watch_destroy),
29176         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29177         (poll_timeout), (gst_bus_poll):
29178         * gst/gstbus.h:
29179         * gst/gstcaps.h:
29180         * gst/gstdata.h:
29181         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29182         (gst_element_post_message), (gst_element_message_full),
29183         (gst_element_get_state_func), (gst_element_get_state),
29184         (gst_element_abort_state), (gst_element_commit_state),
29185         (gst_element_lost_state), (gst_element_set_state),
29186         (gst_element_pads_activate), (gst_element_change_state),
29187         (gst_element_dispose), (gst_element_set_manager_func),
29188         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29189         (gst_element_set_manager), (gst_element_get_manager),
29190         (gst_element_set_bus), (gst_element_get_bus),
29191         (gst_element_set_scheduler), (gst_element_get_scheduler):
29192         * gst/gstelement.h:
29193         * gst/gstevent.c: (gst_event_new_segment_seek),
29194         (gst_event_new_flush):
29195         * gst/gstevent.h:
29196         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29197         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29198         (gst_message_new_eos), (gst_message_new_error),
29199         (gst_message_new_warning), (gst_message_new_tag),
29200         (gst_message_new_state_changed), (gst_message_new_application),
29201         (gst_message_get_structure), (gst_message_parse_tag),
29202         (gst_message_parse_state_changed), (gst_message_parse_error),
29203         (gst_message_parse_warning):
29204         * gst/gstmessage.h:
29205         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29206         (gst_real_pad_set_property), (gst_pad_set_active),
29207         (gst_pad_is_active), (gst_pad_set_blocked_async),
29208         (gst_pad_set_blocked), (gst_pad_is_blocked),
29209         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29210         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29211         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29212         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29213         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29214         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29215         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29216         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29217         (gst_pad_set_caps), (gst_pad_configure_sink),
29218         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29219         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29220         (gst_real_pad_dispose), (gst_real_pad_finalize),
29221         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29222         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29223         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29224         * gst/gstpad.h:
29225         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29226         (pipeline_bus_handler), (gst_pipeline_change_state),
29227         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29228         * gst/gstpipeline.h:
29229         * gst/gstprobe.h:
29230         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29231         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29232         (gst_queue_link_src), (gst_queue_bufferalloc),
29233         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29234         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29235         (gst_queue_loop), (gst_queue_handle_src_event),
29236         (gst_queue_handle_src_query), (gst_queue_src_activate),
29237         (gst_queue_change_state):
29238         * gst/gstqueue.h:
29239         * gst/gstscheduler.c: (gst_scheduler_init),
29240         (gst_scheduler_dispose), (gst_scheduler_create_task),
29241         (gst_scheduler_factory_create):
29242         * gst/gstscheduler.h:
29243         * gst/gststructure.c: (gst_structure_get_type),
29244         (gst_structure_copy_conditional):
29245         * gst/gststructure.h:
29246         * gst/gsttaginterface.h:
29247         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29248         (gst_task_init), (gst_task_dispose), (gst_task_create),
29249         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29250         (gst_task_pause):
29251         * gst/gsttask.h:
29252         * gst/gstthread.c:
29253         * gst/gstthread.h:
29254         * gst/gsttypes.h:
29255         * gst/schedulers/Makefile.am:
29256         * gst/schedulers/cothreads_compat.h:
29257         * gst/schedulers/entryscheduler.c:
29258         * gst/schedulers/faircothreads.c:
29259         * gst/schedulers/faircothreads.h:
29260         * gst/schedulers/fairscheduler.c:
29261         * gst/schedulers/gstbasicscheduler.c:
29262         * gst/schedulers/gstoptimalscheduler.c:
29263         * gst/schedulers/gthread-cothreads.h:
29264         * gst/schedulers/threadscheduler.c:
29265         (gst_thread_scheduler_task_get_type),
29266         (gst_thread_scheduler_task_class_init),
29267         (gst_thread_scheduler_task_init),
29268         (gst_thread_scheduler_task_start),
29269         (gst_thread_scheduler_task_stop),
29270         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29271         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29272         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29273         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29274         (plugin_init):
29275         * libs/gst/Makefile.am:
29276         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29277         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29278         (gst_file_pad_parent_set):
29279         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29280         (gst_dp_event_from_packet):
29281         * tests/complexity.c: (main):
29282         * tests/mass_elements.c: (main):
29283         * testsuite/states/locked.c: (message_received), (main):
29284         * testsuite/states/parent.c: (main):
29285         * tools/gst-inspect.c: (print_element_flag_info),
29286         (print_implementation_info), (print_pad_info):
29287         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29288         (main):
29289         * tools/gst-md5sum.c: (event_loop), (main):
29290         * tools/gst-typefind.c: (main):
29291         * tools/gst-xmlinspect.c: (print_element_info):
29292         Next big merge.
29293         Added GstBus for mainloop integration.
29294         Added GstMessage for sending notifications on the bus.
29295         Added GstTask as an abstraction for pipeline entry points.
29296         Removed GstThread.
29297         Removed Schedulers.
29298         Simplified GstQueue for multithreaded core.
29299         Made _link threadsafe, removed old capsnego.
29300         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29301         Added pad blocking functions.
29302         Reworked scheduling functions in GstPad to prepare for
29303         scheduling updates soon.
29304         Moved events out of data stream.
29305         Simplified GstEvent types.
29306         Added return values to push/pull.
29307         Removed clocking from GstElement.
29308         Added prototypes for state change function for next merge.
29309         Removed iterate from bins and state change management.
29310         Fixed some elements, disabled others for now.
29311         Fixed -inspect and -launch.
29312         Added check for GstBus.
29313
29314 2005-03-10  Wim Taymans  <wim@fluendo.com>
29315
29316         * docs/design/part-MT-refcounting.txt:
29317         * docs/design/part-clocks.txt:
29318         * docs/design/part-gstelement.txt:
29319         * docs/design/part-gstobject.txt:
29320         * docs/design/part-standards.txt:
29321         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29322         (gst_bin_remove_func), (gst_bin_remove):
29323         * gst/gstbin.h:
29324         * gst/gstbuffer.c:
29325         * gst/gstcaps.h:
29326         * testsuite/clock/clock1.c: (main):
29327         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29328         (main):
29329         * testsuite/dlopen/loadgst.c: (do_test):
29330         * testsuite/refcounting/bin.c: (add_remove_test1),
29331         (add_remove_test2), (main):
29332         * testsuite/refcounting/element.c: (main):
29333         * testsuite/refcounting/element_pad.c: (main):
29334         * testsuite/refcounting/pad.c: (main):
29335         * tools/gst-launch.c: (sigint_handler_sighandler):
29336         * tools/gst-typefind.c: (main):
29337         Doc updates.
29338         Added doc about clock.
29339         removed gst_bin_iterate_recurse_up(), marked methods
29340         for removal.
29341         Fix more testsuites.
29342
29343 2005-03-09  Wim Taymans  <wim@fluendo.com>
29344
29345         * gst/gstpad.c: (gst_pad_get_direction),
29346         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29347         (gst_pad_collect_valist):
29348         * testsuite/bins/interface.c: (main):
29349         * testsuite/caps/audioscale.c: (test_caps):
29350         * testsuite/caps/caps.c: (test1), (test2), (test3):
29351         * testsuite/caps/deserialize.c: (main):
29352         * testsuite/caps/enumcaps.c: (main):
29353         * testsuite/caps/filtercaps.c: (main):
29354         * testsuite/caps/intersect2.c: (main):
29355         * testsuite/caps/random.c: (main):
29356         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29357         * testsuite/caps/sets.c: (check_caps):
29358         * testsuite/caps/simplify.c: (check_caps), (main):
29359         * testsuite/caps/subtract.c: (check_caps):
29360         Fix _pad_get_direction wrt ghostpads.
29361         Fix caps testsuite.
29362
29363 2005-03-09  Wim Taymans  <wim@fluendo.com>
29364
29365         * check/Makefile.am:
29366         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29367         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29368         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29369         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29370         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29371         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29372         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29373         (bin_element_is_sink), (gst_bin_iterate_sinks),
29374         (gst_bin_iterate_all_by_interface):
29375         * gst/gstbin.h:
29376         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29377         (gst_element_change_state), (gst_element_dispose),
29378         (gst_element_finalize), (gst_element_set_loop_function):
29379         * gst/gstelement.h:
29380         * gst/gstiterator.c: (find_custom_fold_func):
29381         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29382         (gst_pad_collectv), (gst_pad_collect_valist),
29383         (gst_pad_template_new):
29384         * gst/gstpipeline.c: (gst_pipeline_class_init),
29385         (gst_pipeline_dispose), (gst_pipeline_set_property),
29386         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29387         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29388         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29389         * gst/gstutils.h:
29390         * gst/schedulers/entryscheduler.c:
29391         * gst/schedulers/gstbasicscheduler.c:
29392         (gst_basic_scheduler_cothreaded_chain),
29393         (gst_basic_scheduler_chain_add_element):
29394         * testsuite/bins/interface.c: (main):
29395         Added GstBin test.
29396         Added GstSystemClock test.
29397         Implemented clock distribution code in GstBin.
29398         Implemented iterate sinks method for future use.
29399         Rearranged gstelement.h
29400         Fix GstIterator comparison bug.
29401         Moved some code to GstPipeline, mostly clocking related.
29402
29403 2005-03-09  Wim Taymans  <wim@fluendo.com>
29404
29405         * configure.ac:
29406         * gst/gst_private.h:
29407         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29408         (gst_bin_remove_func), (gst_bin_remove),
29409         (gst_bin_get_by_name_recurse_up):
29410         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29411         (gst_clock_id_compare_func), (gst_clock_id_wait),
29412         (gst_clock_id_wait_async), (gst_clock_init),
29413         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29414         * gst/gstelement.h:
29415         * gst/gstinfo.c: (_gst_debug_init):
29416         * gst/gstobject.h:
29417         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29418         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29419         * gst/gstpad.h:
29420         Bump version number, we're now 0.9.0
29421         Add future debugging category.
29422         Fix NULL _unref() in _get_by_name_recurse_up
29423         Rearrange gstpad.h.
29424         Update some docs.
29425
29426 2005-03-08  Wim Taymans  <wim@fluendo.com>
29427
29428         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29429         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29430         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29431         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29432         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29433         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29434         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29435         * gst/elements/gstidentity.c: (gst_identity_class_init):
29436         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29437         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29438         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29439         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29440         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29441         (gst_tee_link):
29442         * gst/gstelement.c: (gst_element_class_init),
29443         (gst_element_base_class_init), (gst_element_init),
29444         (gst_element_get_random_pad), (gst_element_wait_state_change),
29445         (gst_element_change_state), (gst_element_dispose),
29446         (gst_element_finalize), (gst_element_set_loop_function):
29447         * gst/gstelement.h:
29448         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29449         * gst/gstthread.c: (gst_thread_class_init),
29450         (gst_thread_release_children_locks), (gst_thread_change_state):
29451         * gst/schedulers/gstbasicscheduler.c:
29452         (gst_basic_scheduler_loopfunc_wrapper),
29453         (gst_basic_scheduler_chain_wrapper),
29454         (gst_basic_scheduler_src_wrapper),
29455         (gst_basic_scheduler_remove_element):
29456         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29457         Remove threadsafe properties. Fix elements because GObject
29458         complains when installing a property before declaring a
29459         set/get_property handler.
29460         Rearrange gstelement.h file, use STATE macros for state locks.
29461         Free mutexes in the finalize method instead of dispose.
29462
29463 2005-03-08  Wim Taymans  <wim@fluendo.com>
29464
29465         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29466         * gst/gstthread.c: (gst_thread_release_children_locks):
29467         Added parentage check.
29468         Fix build og GstThread again.
29469
29470 2005-03-08  Wim Taymans  <wim@fluendo.com>
29471
29472         * docs/design/part-MT-refcounting.txt:
29473         * docs/design/part-conventions.txt:
29474         * docs/design/part-gstobject.txt:
29475         * docs/design/part-relations.txt:
29476         * docs/design/part-standards.txt:
29477         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29478         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29479         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29480         (gst_bin_iterate_all_by_interface):
29481         * gst/gstbuffer.h:
29482         * gst/gstclock.h:
29483         * gst/gstelement.c: (gst_element_class_init),
29484         (gst_element_change_state), (gst_element_set_loop_function):
29485         * gst/gstelement.h:
29486         * gst/gstiterator.c:
29487         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29488         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29489         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29490         (gst_object_set_parent), (gst_object_unparent),
29491         (gst_object_check_uniqueness):
29492         * gst/gstobject.h:
29493         Docs updates, clean up some headers.
29494
29495 2005-03-07  Wim Taymans  <wim@fluendo.com>
29496
29497         * check/.cvsignore:
29498         * check/Makefile.am:
29499         * check/gst-libs/.cvsignore:
29500         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29501         * check/gst/.cvsignore:
29502         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29503         (START_TEST), (gstbus_suite), (main):
29504         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29505         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29506         (gst_data_suite), (main):
29507         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29508         (add_fold_func), (gstiterator_suite), (main):
29509         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29510         (thread_name_object), (thread_name_object_default),
29511         (gst_object_name_compare), (gst_object_suite), (main):
29512         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29513         (gst_pad_suite), (main):
29514         * check/gstcheck.c: (gst_check_log_message_func),
29515         (gst_check_log_critical_func), (gst_check_init):
29516         * check/gstcheck.h:
29517         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29518         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29519         Added checks.
29520
29521 2005-03-07  Wim Taymans  <wim@fluendo.com>
29522
29523         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29524         (gst_list_iterator_next), (gst_list_iterator_resync),
29525         (gst_list_iterator_free), (gst_iterator_new_list),
29526         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29527         (gst_iterator_free), (gst_iterator_push), (filter_next),
29528         (filter_resync), (filter_uninit), (filter_free),
29529         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29530         (gst_iterator_foreach), (find_custom_fold_func),
29531         (gst_iterator_find_custom):
29532         * gst/gstiterator.h:
29533         Added missing files.
29534
29535 2005-03-07  Wim Taymans  <wim@fluendo.com>
29536
29537         * Makefile.am:
29538         * configure.ac:
29539         * docs/design/part-MT-refcounting.txt:
29540         * docs/design/part-conventions.txt:
29541         * docs/design/part-gstobject.txt:
29542         * docs/design/part-relations.txt:
29543         * examples/mixer/mixer.c: (main):
29544         * examples/thread/thread.c: (eos), (main):
29545         * gst/Makefile.am:
29546         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29547         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29548         (gst_spider_plug_from_srcpad):
29549         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29550         (gst_spider_identity_change_state),
29551         (gst_spider_identity_sink_loop_type_finding):
29552         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29553         * gst/elements/gstidentity.c: (gst_identity_init):
29554         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29555         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29556         * gst/elements/gsttypefindelement.c: (free_entry):
29557         * gst/gst.c:
29558         * gst/gst.h:
29559         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29560         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29561         (gst_bin_set_index), (gst_bin_set_element_sched),
29562         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29563         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29564         (gst_bin_iterate_elements), (iterate_child_recurse),
29565         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29566         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29567         (compare_interface), (gst_bin_get_by_interface),
29568         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29569         * gst/gstbin.h:
29570         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29571         (gst_buffer_default_free), (gst_buffer_default_copy),
29572         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29573         (gst_buffer_create_sub):
29574         * gst/gstbuffer.h:
29575         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29576         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29577         (gst_caps_unref), (gst_static_caps_get),
29578         (gst_caps_remove_and_get_structure), (gst_caps_append),
29579         (gst_caps_append_structure), (gst_caps_remove_structure),
29580         (gst_caps_copy_nth), (gst_caps_set_simple),
29581         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29582         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29583         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29584         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29585         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29586         (gst_caps_structure_figure_out_union),
29587         (gst_caps_switch_structures), (gst_caps_do_simplify),
29588         (gst_caps_replace), (gst_caps_from_string),
29589         (gst_caps_copy_conditional):
29590         * gst/gstcaps.h:
29591         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29592         (_gst_clock_id_free), (gst_clock_id_unref),
29593         (gst_clock_id_compare_func), (gst_clock_id_wait),
29594         (gst_clock_id_wait_async), (gst_clock_class_init),
29595         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29596         (gst_clock_get_time), (gst_clock_set_time_adjust),
29597         (gst_clock_set_property), (gst_clock_get_property):
29598         * gst/gstclock.h:
29599         * gst/gstcompat.h:
29600         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29601         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29602         * gst/gstdata.h:
29603         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29604         (gst_element_requires_clock), (gst_element_provides_clock),
29605         (gst_element_set_clock), (gst_element_clock_wait),
29606         (gst_element_wait), (gst_element_set_time_delay),
29607         (gst_element_is_indexable), (gst_element_add_pad),
29608         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29609         (pad_compare_name), (gst_element_get_static_pad),
29610         (gst_element_request_pad), (gst_element_get_request_pad),
29611         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29612         (gst_element_class_get_pad_template_list),
29613         (gst_element_class_get_pad_template), (gst_element_error_func),
29614         (gst_element_get_random_pad), (gst_element_get_event_masks),
29615         (gst_element_send_event), (gst_element_seek),
29616         (gst_element_get_query_types), (gst_element_query),
29617         (gst_element_get_formats), (gst_element_convert),
29618         (gst_element_is_locked_state), (gst_element_set_locked_state),
29619         (gst_element_sync_state_with_parent), (gst_element_change_state),
29620         (gst_element_finalize), (gst_element_yield),
29621         (gst_element_interrupt), (gst_element_set_scheduler),
29622         (gst_element_get_scheduler), (gst_element_set_loop_function):
29623         * gst/gstelement.h:
29624         * gst/gstevent.h:
29625         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29626         (gst_format_get_by_nick), (gst_format_get_details),
29627         (gst_format_iterate_definitions):
29628         * gst/gstformat.h:
29629         * gst/gstindex.c: (gst_index_gtype_resolver):
29630         * gst/gstinfo.c:
29631         * gst/gstinfo.h:
29632         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29633         (gst_mem_chunk_free):
29634         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29635         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29636         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29637         (gst_object_dispatch_properties_changed),
29638         (gst_object_set_name_default), (gst_object_set_name),
29639         (gst_object_get_name), (gst_object_set_name_prefix),
29640         (gst_object_get_name_prefix), (gst_object_set_parent),
29641         (gst_object_get_parent), (gst_object_unparent),
29642         (gst_object_check_uniqueness), (gst_object_save_thyself),
29643         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29644         (gst_object_set_property), (gst_object_get_property),
29645         (gst_object_get_path_string):
29646         * gst/gstobject.h:
29647         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29648         (gst_real_pad_init), (gst_real_pad_get_property),
29649         (gst_pad_custom_new), (gst_pad_get_direction),
29650         (gst_pad_set_active), (gst_pad_is_active),
29651         (gst_pad_set_event_function), (gst_pad_is_linked),
29652         (gst_pad_link_free), (gst_pad_link_intersect),
29653         (gst_pad_link_fixate), (gst_pad_set_caps),
29654         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29655         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29656         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29657         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29658         (gst_pad_get_caps), (gst_pad_peer_get_caps),
29659         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29660         (gst_pad_realize), (gst_pad_get_allowed_caps),
29661         (gst_real_pad_dispose), (gst_real_pad_finalize),
29662         (gst_pad_collectv), (gst_pad_collect_valist),
29663         (gst_pad_template_dispose), (gst_pad_template_new),
29664         (gst_pad_get_internal_links):
29665         * gst/gstpad.h:
29666         * gst/gstpipeline.c: (gst_pipeline_dispose),
29667         (gst_pipeline_change_state):
29668         * gst/gstpipeline.h:
29669         * gst/gstplugin.c:
29670         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29671         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29672         * gst/gstpluginfeature.h:
29673         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29674         * gst/gstquery.c: (_gst_query_type_initialize),
29675         (gst_query_type_register), (gst_query_type_get_by_nick),
29676         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29677         * gst/gstquery.h:
29678         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29679         * gst/gstscheduler.c: (gst_scheduler_add_element),
29680         (gst_scheduler_factory_create):
29681         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29682         (gst_structure_free), (gst_structure_set_name),
29683         (gst_structure_id_set_value), (gst_structure_set_value),
29684         (gst_structure_set_valist), (gst_structure_remove_field),
29685         (gst_structure_remove_fields),
29686         (gst_structure_remove_fields_valist),
29687         (gst_structure_remove_all_fields), (gst_structure_foreach),
29688         (gst_structure_map_in_place),
29689         (gst_caps_structure_fixate_field_nearest_int),
29690         (gst_caps_structure_fixate_field_nearest_double):
29691         * gst/gststructure.h:
29692         * gst/gstsystemclock.c: (gst_system_clock_class_init),
29693         (gst_system_clock_init), (gst_system_clock_dispose),
29694         (gst_system_clock_async_thread),
29695         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29696         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29697         * gst/gstsystemclock.h:
29698         * gst/gsttag.c: (gst_tag_list_add_value_internal),
29699         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29700         * gst/gsttaginterface.c:
29701         * gst/gstthread.c: (gst_thread_dispose),
29702         (gst_thread_release_children_locks), (gst_thread_change_state),
29703         (gst_thread_main_loop):
29704         * gst/gsttrashstack.h:
29705         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29706         * gst/gsttypes.h:
29707         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29708         (gst_element_request_pad), (gst_element_get_pad_from_template),
29709         (gst_element_request_compatible_pad),
29710         (gst_element_get_compatible_pad_filtered),
29711         (gst_element_get_compatible_pad), (gst_element_state_get_name),
29712         (gst_element_link_pads_filtered), (gst_element_link_filtered),
29713         (gst_element_link_many), (gst_element_link),
29714         (gst_element_link_pads), (gst_element_unlink_pads),
29715         (gst_element_unlink_many), (gst_element_unlink),
29716         (gst_pad_can_link_filtered), (gst_pad_can_link),
29717         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29718         (gst_object_default_error), (gst_bin_add_many),
29719         (gst_bin_remove_many), (gst_element_populate_std_props),
29720         (gst_element_class_install_std_props), (gst_buffer_merge),
29721         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29722         (link_fold_func), (gst_pad_proxy_setcaps):
29723         * gst/gstutils.h:
29724         * gst/gstvalue.c: (gst_value_deserialize_string):
29725         * gst/parse/grammar.y:
29726         * gst/schedulers/gstbasicscheduler.c:
29727         (gst_basic_scheduler_cothreaded_chain),
29728         (gst_basic_scheduler_chain_recursive_add),
29729         (gst_basic_scheduler_pad_link):
29730         * gst/schedulers/gstoptimalscheduler.c:
29731         (get_group_schedule_function),
29732         (gst_opt_scheduler_state_transition),
29733         (gst_opt_scheduler_add_element), (element_get_reachables_func):
29734         * libs/gst/bytestream/bytestream.c:
29735         * libs/gst/dataprotocol/dataprotocol.c:
29736         (gst_dp_header_from_buffer):
29737         * po/nb.po:
29738         * po/ru.po:
29739         * tests/threadstate/threadstate2.c: (eos):
29740         * tools/gst-compprep.c: (main):
29741         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29742         (print_pad_info), (print_children_info):
29743         * tools/gst-launch.c: (idle_func), (main):
29744         * tools/gst-md5sum.c: (idle_func), (main):
29745         * tools/gst-xmlinspect.c: (print_element_info):
29746         First THREADED backport attempt, focusing on adding locks and
29747         making sure the API is threadsafe. Needs more work. More docs
29748         follow this week.
29749
29750 2005-02-24  Andy Wingo  <wingo@pobox.com>
29751
29752         * tests/bench-complexity.scm:
29753         * tests/complexity.gnuplot: New files, good for running complexity
29754         benchmarks.
29755
29756         * tests/Makefile.am:
29757         * tests/complexity.c: New test, sets up N elements, at each level
29758         teeing into M streams per element. Eeeenteresting.
29759
29760         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29761         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29762         running bench-mass_elements.scm.
29763
29764         * tests/bench-mass_elements.scm: New script, runs mass_elements
29765         for various numbers of identities, outputting the results to a
29766         file. Requires guile 1.6. Just for testing.
29767
29768 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29769
29770         * gst/schedulers/fairscheduler.c:
29771           compile with debug disabled
29772
29773 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29774
29775         * configure.ac:
29776           hunting season on 0.9 is now OPEN