configure.ac: Bump version number back to dev -> 0.10.20.1
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
2
3         * configure.ac:
4         Bump version number back to dev -> 0.10.20.1
5
6 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
7
8         * docs/gst/gstreamer-sections.txt:
9         * gst/gsttaglist.c: (_gst_tag_initialize):
10         * gst/gsttaglist.h:
11         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
12         Fixes bug #538568.
13
14 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
15
16         * libs/gst/controller/gstcontroller.c:
17           Revert one change, that make ret value possible uninitialized.
18
19 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
20
21         * libs/gst/controller/gstcontroller.c:
22           Use freeze/thaw notify to sync notify emission a bit (its also more
23           efficient). Move debug output to LOG (is called a lot in a loop).
24           Always unset g_values if the have been initialized.
25
26 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
27
28         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
29         (gst_base_sink_wait_eos), (gst_base_sink_event):
30         If we have not seen a buffer before EOS, use the segment values to
31         report the current position instead of invalid positions.
32
33 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
34
35         * docs/plugins/tmpl/.cvsignore:
36         * tests/check/gst/.cvsignore:
37           Ignore more.
38
39 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
40
41         * libs/gst/controller/gstinterpolation.c:
42         * libs/gst/controller/gstinterpolationcontrolsource.c:
43         * tests/check/libs/controller.c:
44           Rewrite handling of default values. Fix overflow with unsigned types
45           in linear interpolation. Remove now obsolete _first_value() function.
46           Add more tests. Fixes #538201.
47
48 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
49
50         * libs/gst/base/gstbasetransform.c:
51         (gst_base_transform_class_init), (gst_base_transform_init),
52         (gst_base_transform_transform_caps),
53         (gst_base_transform_prepare_output_buffer):
54         Add debug info.
55         When a buffer is writable, its metadata is also writable so we don't
56         need to subbuffer (which then makes the buffer not-writable anymore).
57
58 === release 0.10.20 ===
59
60 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
61
62         * configure.ac:
63           releasing 0.10.20, "You Crazy Diamond"
64
65 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
66
67         * configure.ac:
68         0.10.19.3 pre-release
69
70 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
71
72         * configure.ac:
73         * gst/gstpreset.c:
74         Rename DATADIR to GST_DATADIR to avoid build problems
75         on win32. Patch By: David Schleef <ds@schleef.org>
76         Fixes: #536857
77
78 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
79
80         * configure.ac:
81         Explicitely link with -ldl if dladdr() is found there. Before it was
82         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
83         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
84
85 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
86
87         * gst/gsterror.c: (_gst_stream_errors_init):
88           Fix typo (spotted by Fabricio Godoy, #536723).
89
90 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
91
92         * configure.ac:
93         0.10.19.2 pre-release
94
95 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
96
97         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
98         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
99         Add some debug.
100         Make sure we don't generate invalid QoS messages.
101
102 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
103
104         * gst/gstevent.c: (gst_event_new_qos):
105         Add some assert and docs for invalid input to the qos function.
106
107 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
108
109         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
110         (gst_base_sink_get_position):
111         The reported position must always be smaller than the last seen
112         timestamps (or timestamp + duration for reverse).
113
114 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
115
116         Patch by: Rob Bradford <rob at robster dot org dot uk>
117
118         * gst/gstregistry.c: (gst_registry_scan_path_level):
119         Don't recurse into .debug directories as some distros install
120         the debugging symbols next to the plugins in .debug directories
121         and dlopen() crashes on them sometimes. Fixes bug #508070.
122
123         Add FIXME for 0.11 to not recurse into directories at all because
124         it's very inconsistent to the behaviour of other PATH environment
125         variables.
126
127 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
128
129         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
130         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
131         Fix position query range checks in reverse playback.
132
133 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
134
135         * gst/gstelement.c:
136         * gst/gstelement.h:
137         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
138         clear of the reference to the resulting pad must be released later
139         or not, resulting in possible leaks. Fixes bug #533865.
140
141 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
142
143         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
144
145         * gst/gstelementfactory.c:
146         Small doc fix. Fixes #535285.
147
148 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
149
150         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
151
152         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
153         (gst_base_src_get_range), (gst_base_src_pad_get_range),
154         (gst_base_src_loop), (gst_base_src_set_flushing),
155         (gst_base_src_change_state):
156         Make sending an EOS event to the basesrc non-blocking even if the
157         implementation does blocking waits in the create function. This is done
158         by unlocking the create function when EOS is sent.
159         Fixes #535218.
160
161 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
162
163         * tools/gst-inspect.c: (print_element_properties_info):
164         If possible print the element type of GValueArray properties.
165
166 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
167
168         * gst/gstiterator.c:
169         Remove an unused field from the private GstListIterator struct.
170
171 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
172
173         * libs/gst/controller/gstcontroller.c:
174           Add parameter guards.
175
176 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
177
178         * tests/check/gst/gstpipeline.c:
179           Revert test change and add comment why it should not work.
180
181 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
182
183         * tests/check/gst/gstpipeline.c:
184           Extending the test a little to verify that we also get the NULL state-
185           change message.
186
187 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
188
189         * gst/gstpreset.c: (gst_preset_default_get_meta),
190           (gst_preset_get_preset_names), (gst_preset_get_property_names),
191           (gst_preset_load_preset), (gst_preset_save_preset),
192           (gst_preset_rename_preset), (gst_preset_delete_preset),
193           (gst_preset_set_meta):
194           Add Since: markers to docs blurbs.
195
196         * win32/common/libgstreamer.def:
197           Add recently-added API.
198
199 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
200
201         Patch by: Stefan Kost  <ensonic@users.sf.net>
202
203         * configure.ac:
204         Add DATADIR for storing presets.
205
206         * docs/gst/gstreamer-docs.sgml:
207         * docs/gst/gstreamer-sections.txt:
208         * docs/gst/gstreamer.types.in:
209         Add GstPreset to docs.
210
211         * gst/Makefile.am:
212         * gst/gst.h:
213         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
214         (preset_open_and_parse_header), (preset_parse_version),
215         (preset_merge), (preset_get_keyfile),
216         (gst_preset_default_get_preset_names),
217         (gst_preset_default_get_property_names),
218         (gst_preset_default_load_preset),
219         (gst_preset_default_save_presets_file),
220         (gst_preset_default_save_preset),
221         (gst_preset_default_rename_preset),
222         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
223         (gst_preset_default_get_meta), (gst_preset_default_randomize),
224         (gst_preset_default_reset), (gst_preset_get_preset_names),
225         (gst_preset_get_property_names), (gst_preset_load_preset),
226         (gst_preset_save_preset), (gst_preset_rename_preset),
227         (gst_preset_delete_preset), (gst_preset_set_meta),
228         (gst_preset_get_meta), (gst_preset_class_init),
229         (gst_preset_base_init), (gst_preset_get_type):
230         * gst/gstpreset.h:
231         Add GstPreset to core. Fixes #396779
232
233         * tests/check/Makefile.am:
234         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
235         (gst_preset_test_set_property), (gst_preset_test_class_init),
236         (gst_preset_test_base_init), (gst_preset_test_get_type),
237         (gst_preset_test_plugin_init), (GST_START_TEST),
238         (remove_preset_file), (test_setup), (test_teardown),
239         (gst_preset_suite):
240         Add GstPreset unit tests.
241
242 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
243
244         * gst/gstpad.c: (gst_pad_event_default_dispatch):
245         The default event function on a sinkpad should return TRUE when
246         there are no internal links but should collect the return values from
247         the internal links otherwise.
248
249 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
250
251         * plugins/elements/gsttypefindelement.c:
252         (gst_type_find_element_src_event),
253         (gst_type_find_element_handle_event):
254         Use faster and safer _pad_push_event().
255
256 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
257
258         * docs/gst/gstreamer-sections.txt:
259         * gst/gstutils.c: (element_find_unlinked_pad),
260           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
261         * gst/gstutils.h:
262           API: add gst_bin_find_unlinked_pad()
263           API: deprecate gst_bin_find_unconnected_pad() (#401456)
264
265 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
266
267         * gst/gstclock.c:
268         * gst/gstclock.h:
269         * gst/gsttask.c:
270         * gst/gsttask.h:
271         Fixed a bunch of typos.
272
273 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
274
275         * gst/gstpad.h:
276         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
277           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
278           (gst_parse_bin_from_description_full):
279         * gst/gstutils.h:
280           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
281
282 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
283
284         * docs/pwg/advanced-tagging.xml:
285           Small docs update, can't be bothered to rewrite the nonsensical
286           examples right now.
287
288 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
289
290         * gst/gstevent.h:
291           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
292
293 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
294
295         * gst/parse/grammar.y:
296           Remove unneeded casts.
297
298 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
299
300         * gst/parse/grammar.y:
301         * tests/check/pipelines/parse-launch.c:
302           Get all missing elements from a parse launch string if possible
303           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
304
305 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
306
307         * tests/check/Makefile.am:
308         * tests/check/pipelines/parse-launch.c:
309           Add some unit tests for the new gst_parse_launch*_full() API.
310           (Exposes a previously-existing memory leak in the error code
311           path, so adding to VALGRIND_TO_FIX for now).
312
313 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
314
315         * docs/gst/gstreamer-sections.txt:
316         * gst/gst.c: (init_post):
317         * gst/gst_private.h: (_GstParseContext):
318         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
319           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
320           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
321           (gst_parse_launch_full):
322         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
323           (GstParseFlags), (GstParseContext):
324         * gst/gstutils.c: (gst_parse_bin_from_description),
325           (gst_parse_bin_from_description_full):
326         * gst/gstutils.h:
327         * gst/parse/grammar.y:
328         * gst/parse/types.h:
329         * win32/common/libgstreamer.def:
330           Add new gst_parse_*_full API (#528178):
331           API: gst_parse_launch_full()
332           API: gst_parse_launchv_full()
333           API: gst_parse_bin_from_description_full()
334           API: gst_parse_context_new()
335           API: gst_parse_context_free()
336           API: gst_parse_context_get_missing_elements()
337
338 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
339
340         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
341
342         * docs/faq/gst-uninstalled:
343           Also support ffmpeg in gst-uninstalled.
344
345 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
346
347         * configure.ac:
348         After discussion on IRC use the binary registry as default
349         but allow to disable it with --disable-binary-registry.
350
351         * win32/common/libgstreamer.def:
352         Add the two new symbols for the binary registry.
353
354 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
355
356         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
357         * gst/gstutils.c: (gst_parse_bin_from_description):
358         * gst/parse/grammar.y: (graph):
359           More guards against bad input; typo fix; some minor clean-ups.
360
361 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
362
363         Patch by: Sjoerd Simons <sjoerd at luon dot net>
364
365         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
366         If nothing else can be used, use the last buffer's start time as
367         the segment's last stop. Fixes bug #534258.
368
369 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
370
371         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
372           Move size sanity check to the right place: downstream may return
373           a buffer with a smaller size if the buffer caps are different than
374           the requested ones, as may happen when doing reverse negotiation.
375
376 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
377
378         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
379         (gst_file_sink_render):
380         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
381         (gst_file_src_start):
382         Small cleanups. Add note adbout g_fopen() on windows and why we don't
383         use it yet.
384
385 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
386
387         * gst/gstpad.c: (gst_pad_load_and_link):
388         * gst/gstutils.c: (gst_element_link_pads),
389         (gst_element_unlink_pads):
390         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
391         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
392         (gst_check_teardown_sink_pad),
393         (gst_check_element_push_buffer_list):
394         * tests/check/elements/fakesink.c: (GST_START_TEST):
395         * tests/check/elements/filesink.c:
396         * tests/check/elements/filesrc.c: (GST_START_TEST):
397         * tests/check/elements/multiqueue.c: (setup_multiqueue),
398         (mq_sinkpad_to_srcpad):
399         * tests/check/elements/tee.c: (GST_START_TEST):
400         * tests/check/generic/sinks.c: (GST_START_TEST):
401         * tests/check/gst/gstbin.c: (GST_START_TEST):
402         * tests/check/gst/gstevent.c: (GST_START_TEST):
403         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
404         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
405         * tests/check/gst/gstquery.c: (GST_START_TEST):
406         * tests/check/gst/gstutils.c: (GST_START_TEST):
407         * tests/check/libs/basesrc.c: (GST_START_TEST):
408         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
409         (gst_parse_test_element_change_state):
410         Don't use gst_element_get_pad().
411
412 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
413
414         * docs/Makefile.am:
415         Fix installing plugin documentation when gtk-doc is disabled.
416
417 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
418
419         * docs/manual/advanced-autoplugging.xml:
420         * docs/manual/basics-helloworld.xml:
421         * docs/manual/basics-pads.xml:
422         * docs/manual/highlevel-components.xml:
423         Avoid using a bad function in the example code.
424
425 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
426
427         * gst/gstclock.c: (gst_clock_set_calibration):
428         Fix debug of the new clock rate.
429
430 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
431
432         * win32/common/libgstbase.def:
433         Add gst_base_sink_wait_clock() to the exported symbols.
434
435 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
436
437         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
438
439         * libs/gst/base/gstbasetransform.c:
440         (gst_base_transform_sink_event):
441         Unref events that the GstBaseTransform::event vfunc didn't want to
442         have forwarded by the base class. Closes a leak in identity.
443         Fixes bug #446763.
444
445 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
446
447         * docs/libs/gstreamer-libs-sections.txt:
448         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
449         * libs/gst/base/gstbasesink.h:
450         Expose a method that was previously used internally to synchronize
451         against the clock because it can be useful for subclasses too.
452         API: GstBaseSink::gst_base_sink_wait_clock()
453
454 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
455
456         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
457           Add sanity check to make sure we don't get smaller buffers
458           than requested (and fallback to normal buffer alloc if we do).
459
460 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
461
462         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
463         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
464         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
465         Refactor adjusting the running_time with latency and offset into a
466         separate method.
467         When doing clipping, we still want to use the subclass get_times method,
468         just in case the DURATION or TIMESTAMP are not set.
469
470 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
471
472         * docs/gst/gstreamer-sections.txt:
473         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
474         * gst/gsttypefind.h:
475         * win32/common/libgstreamer.def:
476           API: add gst_type_find_suggest_simple(), #533740.
477
478 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
479
480         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
481           Use right error code when typefinding fails, so we can use
482           the default (translated) error messages.
483
484 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
485
486         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
487         (gst_base_src_start):
488         When the subclass did not set caps on outgoing buffers, configure the
489         caps we negotiated on the source pad.
490         When the typefind helper does not find caps, error out properly instead
491         of doing things with NULL caps.
492
493 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
494
495         * gst/gsttypefind.h:
496           Tabs to spaces, oh yes!
497
498 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
499
500         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
501           Add David's and Benjamin's tests for array intersection to the
502           unit test suite (#147931).
503
504 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
505
506         * gst/gstevent.c:
507           Document that gst_event_new_tag() and gst_event_new_navigation()
508           take ownership of the taglist/structure passed to them. (#533635).
509
510 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
511
512         * docs/Makefile.am:
513         Don't descend into the plugins dir if plugin docs building
514         is disabled.
515
516         * docs/README:
517         Add a note about the new type:GTypeName syntax for the plugin
518         documentation .types file.
519
520 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
521
522         * gst/gstmessage.c: (gst_message_new_error),
523         (gst_message_new_warning), (gst_message_new_info):
524         * gst/gstmessage.h:
525         Mark the debug string parameters as const. Fixes bug #533490.
526
527 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
528
529         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
530         Sort buffer cache list by end offsets. This makes sure that we don't
531         stop to search for a cached buffer that contains the requested data
532         too early.
533         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
534         more efficient. Fixes bug #459862.
535
536 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
537
538         * gst/gstinfo.c:
539           Explain why we copy the list.
540
541         * gst/gstpipeline.c:
542           Improve docs.
543
544         * gst/gstutils.c:
545           Add one debug-log statement to help tracing probelms with linking pads.
546
547 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
548
549         * tests/check/gst/gstinfo.c:
550         Add a test for removing the default log handler. Seems to fail under
551         windows.
552
553 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
554
555         * gst/gstpad.c: (gst_pad_peer_accept_caps):
556         Release pad lock before calling out to avoid a possible deadlock.
557
558 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
559
560         * gst/parse/grammar.y:
561         Remove unneeded value unset.
562
563         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
564         Add unit test for de/serialization of caps.
565
566 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
567
568         * plugins/elements/gstfakesink.c:
569         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
570         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
571         (gst_fake_src_class_init):
572         Use custom marshalers that take GstMiniObject as first parameter.
573         Using OBJECT as parameter while a GstMiniObject is given will lead
574         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
575
576 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
577
578         * plugins/elements/gsttypefindelement.c:
579         (gst_type_find_element_handle_event),
580         (gst_type_find_element_send_cached_events),
581         (gst_type_find_element_change_state):
582         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
583         immediately.
584
585 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
586
587         * plugins/elements/gsttypefindelement.c:
588         (gst_type_find_handle_src_query), (stop_typefinding),
589         (gst_type_find_element_handle_event),
590         (gst_type_find_element_send_cached_events),
591         (gst_type_find_element_change_state):
592         Forward FLUSH_START events immediately and clean up instead of
593         caching them.
594
595 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
596
597         Patch by: Sjoerd Simons <sjoerd at luon dot net>
598
599         * libs/gst/base/gstbasetransform.c:
600         (gst_base_transform_buffer_alloc):
601         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
602         fall back to default negotiation in the chain function if the caps
603         are different from what was requested. Fixes bug #526768.
604
605 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
606
607         * gst/gstsegment.c:
608         * tests/check/gst/gstsegment.c:
609           No, let's not use g_slice_{dup|copy} here, since they only exist
610           since GLib 2.14 and we still depend only on >= 2.12. Also add
611           unit test for gst_segment_copy().
612
613 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
614
615         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
616           Try to fix 'dereferencing type-punned pointer will break strict
617           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
618           changed the default GType typedef from gulong to gsize at some point,
619           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
620           g_once_* functions all take a gsize * though, so work around the type
621           mismatch for C++ by doing everything in gsize and casting to GType
622           later.
623
624 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
625
626         * plugins/elements/gstmultiqueue.c:
627         Add documentation for the signals to push our core plugin docs
628         coverage back up to 100%.
629
630 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
631
632         * gst/gstinfo.h (GST_FUNCTION):
633           Reverted GST_FUNCTION to the old version as we don't want the
634           full signature in C++ code. Also added support for MSVC.
635
636 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
637
638         * gst/gstutils.h:
639         Intern the type name string, similar to what G_DEFINE_TYPE does.
640
641 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
642
643         * gst/gstutils.h:
644         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
645
646 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
647
648         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
649
650         * libs/gst/base/gstbasetransform.c:
651         (gst_base_transform_buffer_alloc):
652         Don't passthrough buffer allocation too easily if the caps change.
653         This breaks when working in passthrough mode and upstream changes
654         it's caps. Fixes bug #526768.
655
656 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
657
658         * gst/gstinfo.c (gst_debug_log_valist):
659           Improved the __FILE__ part of debug output for MSVC.
660
661 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
662
663         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
664           Declaration after statement fix for compilers like MSVC.
665
666 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
667
668         * win32/common/config.h.in:
669           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
670           use the real thing than having "???" unconditionally.
671
672 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
673
674         * gst/gstinfo.h (GST_FUNCTION):
675           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
676
677 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
678
679         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
680         Small code cleanup.
681
682         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
683         (gst_base_sink_set_flushing):
684         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
685         Fix some comments.
686
687 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
688
689         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
690         (gst_fake_src_init), (gst_fake_src_set_property),
691         (gst_fake_src_get_property), (gst_fake_src_start):
692         * plugins/elements/gstfakesrc.h:
693         Added format property to control the format of the newsegment events.
694         API: GstFakeSrc:format
695
696 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
697
698         * win32/common/libgstreamer.def:
699         Add gst_pad_has_name() to the exported symbols.
700
701 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
702
703         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
704         * libs/gst/base/gstbasetransform.c:
705         (gst_base_transform_prepare_output_buffer):
706         Don't allow negative sizes when allocating new buffers.
707         Fixes bug #461253.
708
709 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
710
711         Patch by: Sjoerd Simons <sjoerd at luon net>
712
713         * gst/gstbus.c: (gst_bus_source_dispatch):
714           Don't print a warning if the queue is empty when we try to pop
715           here. That could happen if another thread or callback set the
716           bus to flushing between the source's check/prepare and the
717           dispatch being called (#531538).
718
719 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
720
721         * plugins/elements/gstmultiqueue.c:
722           Small docs fix.
723         
724 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
725
726         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
727         Add unit test for deserializing uint64s and check some really large
728         numbers in the int64 test.
729
730 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
731
732         * tools/gst-inspect.c: (n_print), (print_hierarchy),
733         (print_interfaces), (print_element_properties_info),
734         (print_signal_info):
735         Use "%s" as format string instead of printing strings directly.
736
737 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
738
739         * gst/gstclock.c: (gst_clock_set_calibration):
740         Make some checks actually useful.
741
742         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
743         Remove some unused code. Unsigned integers tend to be >= 0.
744
745 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
746
747         * gst/gstminiobject.c: (gst_value_get_mini_object):
748           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
749           function was not in the unscheduled 0.10.19 release.
750
751 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
752
753         * gst/gstregistry.c: (gst_registry_scan_path_level):
754           Only print one log message per non-plugin file.
755
756 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
757
758         * gst/gstinfo.c: (gst_debug_log_default):
759           Fix alignment of debug log columns on 64-bit.
760
761 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
762
763         * docs/libs/Makefile.am:
764         * docs/libs/gstreamer-libs-sections.txt:
765           Ignore private controller headers for docs.
766
767 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
768
769         * libs/gst/controller/gstcontrollerprivate.h:
770         * libs/gst/controller/gsthelper.c:
771         * libs/gst/controller/gstinterpolation.c:
772         * libs/gst/controller/gstinterpolationcontrolsource.c:
773         (gst_interpolation_control_source_set_interpolation_mode):
774         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
775         * libs/gst/controller/lib.c:
776         Move some private declarations into private headers.
777
778 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
779
780         * gst/gstdebugutils.c: (debug_dump_element_pad):
781         Remove some code that is unused after Stefan's refactoring and uses
782         uninitialized variables now, resulting in a compiler warning.
783
784 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
785
786         * gst/gstregistry.c: (gst_registry_scan_path_level):
787           Run g_str_has_suffix() only on the file name, not the
788           entire file path.
789
790 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
791
792         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
793           Since we're not called only from the chain function any longer,
794           we can't assume that there's always data in the queue, so move
795           the is_full check to the beginning of the loop (otherwise we'd
796           hit the assert when changing the limit properties while the
797           queue is empty or not running yet).
798           Also, only set a discont if items were actually removed from
799           the queue.
800
801         * tests/check/elements/queue.c: (test_leaky_downstream):
802           Test case for the above.
803
804 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
805
806         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
807
808         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
809         (gst_queue_chain), (queue_capacity_change),
810         (gst_queue_set_property):
811         When changing thr max capacity of a leaky queue, immediatly drop buffers
812         instead of waiting for a push on the sinkpad. Fixes #530637.
813
814 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
815
816         * gst/gstdebugutils.c:
817           Refactor code and fix handling of ghostpads and their proxypads.
818
819 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
820
821         * docs/gst/gstreamer-sections.txt:
822         * gst/gstevent.c: (gst_event_has_name):
823         * gst/gstevent.h:
824         * tests/check/gst/gstevent.c: (GST_START_TEST):
825         Add method to conveniently check the name of a custom event with
826         gst_event_has_name().
827         Reformat the event docs so that related methods are put together instead
828         of the default alphabetical sort.
829         Update unit test with new method.
830         API: GstEvent::gst_event_has_name()
831
832 2008-04-28  Michael Smith <msmith@songbirdnest.com>
833
834         * libs/gst/check/Makefile.am:
835           Don't add an explicit link to libgstreamer-0.10.la; it's already
836           included in GST_OBJ_LIBS.
837
838 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
839
840         * gst/gst.c:
841         Register GstClock type from a type-safe context. Fixes bug #530317.
842
843 2008-04-25  Michael Smith <msmith@songbirdnest.com>
844
845         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
846         * tools/gst-run.c:
847           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
848
849 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
850
851         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
852         (gst_bin_dispose):
853         Use the GLib stuff to create a private structure.
854         Add some locking around some dispose methods to make them a little
855         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
856
857 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
858
859         * libs/gst/base/gstbasesink.h:
860         * libs/gst/base/gstbasesrc.h:
861         * libs/gst/base/gstbasetransform.h:
862         * libs/gst/base/gstcollectpads.h:
863           Fix doc typos and unify caps a bit.
864
865 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
866
867         * tools/gst-launch.1.in:
868           Forgot to also add the envvar docs here.
869
870 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
871
872         * gst/gst.c: (init_post), (gst_deinit):
873         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
874           (test_concurrent_create), (gst_pipeline_suite):
875           Ref some more classes in gst_init() to work around thread-safety
876           issues in pre-2.16 GLibs, and add basic unit test.
877
878 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
879
880         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
881         (gst_base_sink_send_event):
882         Rearrange the latency query code. We always want to do the upstream
883         query, even if we are not live so that the upstream elements can get the
884         latency results too. If we fail doing the query and we are live, we
885         return TRUE afterwards.
886
887 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
888
889         patch by: Jason Zhao <e3423c@motorola.com>
890
891         * docs/gst/running.xml:
892         * gst/gst.c:
893           Enable/disable scan_and_update_registry() based on commandline switch
894           or environment variable. Fixes #520468.
895           
896         * ChangeLog:
897           Fix typo in my previous commit.
898
899 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
900
901         * gst/gstregistrybinary.c:
902           Add a warning if we hit unhandled factories when saving.
903           More debug logging detail, but move to LOG category.
904
905 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
906
907         * gst/gstregistry.c:
908           Tell the *truth* when improving the documentation.
909
910 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
911
912         * gst/gstelementfactory.c: (gst_element_factory_make):
913         Unref the factory after it was used the last time, not before.
914
915         * gst/gstindexfactory.c: (gst_index_factory_make):
916         Improve debugging a bit and don't leak a ref to the index factory with
917         each call.
918
919 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
920
921         * gst/gstregistry.c:
922           Improve the documentation.
923
924 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
925
926         * gst/gstsegment.c:
927           The glib macro seems to be borked. Use g_slice_copy directly and cast
928           in the hope that this fixes the warning on 64bit.
929
930 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
931
932         * gst/gstsegment.c:
933           Document the new function. Use g_slice_dup() (no need for
934           gst_segment_init()).    
935
936 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
937
938         * docs/gst/gstreamer-sections.txt:
939           Move GParamSepc macros to standart section.
940   
941         * gst/gstbin.c:
942           Dn't document _get_type - its in private section in docs anyway and
943           this doc-blob was incomplete.
944
945         * gst/gstclock.h:
946           Fix wrong symbol names in docs.
947
948         * gst/gstmacros.h:
949           Add once doc sentence.
950
951         * tests/check/gst/.cvsignore:
952           Ignore more.
953
954 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
955
956         * docs/gst/Makefile.am:
957           And remove those libs here.
958
959 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
960
961         * docs/libs/Makefile.am:
962           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
963
964 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
965
966         Patch by: Olivier Crete <tester at tester dot ca>
967
968         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
969         Add the min-threshold to the min latency if possible. Fixes #529148.
970
971 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
972
973         * docs/gst/gstreamer.types.in:
974           Stupid editor, I removed that line as it should go in yet.
975
976 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
977
978         * docs/gst/gstreamer.types.in:
979         * docs/libs/gstreamer-libs.types:
980           Remove library types fro core docs and have them in libs docs.
981           Reformat and cleanup. Add comment for miniobject types.
982
983 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
984
985         * gst/gsturi.c: (gst_uri_get_protocol):
986           Fix leak: g_strdown operates on the string in place, while
987           g_ascii_strdown() returns a newly-allocated string.
988
989 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
990
991         * tools/gst-inspect.c: (print_uri_handler_info),
992         (print_element_info):
993         Print the URI protocols and the URI type supported by the element.
994
995 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
996
997         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
998         Use g_value_take_string() instead of the deprecated
999         g_value_set_string_take_ownership().
1000
1001 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1002
1003         * gst/gstregistrybinary.c: (_gst_crc32):
1004         Return the old CRC instead of 0 if we give a NULL buffer
1005         or a buffer with a length of 0.
1006
1007 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1008
1009         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1010         (gst_uri_get_protocol), (gst_uri_has_protocol),
1011         (gst_uri_construct), (gst_uri_handler_set_uri):
1012         A valid URI scheme can also include '+', '-' and '.' additional
1013         to alphanumeric characters as per RFC 3986 Section 3.1.
1014
1015         Handle URI schemes case insensitive in all places and convert
1016         to lower-case when constructing an URI or setting an URI with
1017         the GstURIHandler interface. Fixes bug #528868.
1018         All elements can still assume (as before) that they will
1019         get passed URIs with a lower-case URI scheme by the GstURIHandler
1020         interface.
1021
1022 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1023
1024         * gst/gstcaps.c: (gst_static_caps_get):
1025         * gst/gstclock.c: (gst_clock_entry_new):
1026           Don't use g_atomic_set_int where it's not needed.
1027
1028 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1029
1030         * gst/gstvalue.c: (gst_value_deserialize_caps):
1031         * gst/parse/grammar.y:
1032         Fix 2 caps leaks.
1033
1034 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1035
1036         * gst/gstutils.c: (gst_atomic_int_set):
1037         Use g_atomic_int_set() here too instead of assignment +
1038         g_atomic_int_get().
1039
1040 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1041         
1042         * gst/gstutils.c:
1043         * gst/gstutils.h:
1044         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1045         now that we depend on new enough GLib.
1046
1047         * gst/gstcaps.c: (gst_static_caps_get):
1048         * gst/gstclock.c: (gst_clock_entry_new):
1049         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1050         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1051         (gst_debug_category_set_threshold):
1052         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1053         (gst_base_sink_set_qos_enabled):
1054         * libs/gst/net/gstnettimeprovider.c:
1055         (gst_net_time_provider_set_property):
1056         Use g_atomic_int_set() instead of gst_atomic_int_set().
1057
1058 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1059
1060         * gst/gstquery.c:
1061           Also use G_GINT64_CONSTANT for the queries.
1062
1063 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1064
1065         * gst/gstmessage.c:
1066           Use G_GINT64_CONSTANT in varargs function.
1067
1068 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1069
1070         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1071         Initialize the registry magic with zeroes.
1072
1073 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1074
1075         * gst/gstregistrybinary.c: (_gst_crc32),
1076         (gst_registry_binary_write),
1077         (gst_registry_binary_initialize_magic),
1078         (gst_registry_binary_write_cache),
1079         (gst_registry_binary_check_magic),
1080         (gst_registry_binary_read_cache):
1081         * gst/gstregistrybinary.h:
1082         Add crc32 checksum to the binary registry file and check this before
1083         accepting a registry file.
1084
1085         Also free the data list when writing to the registry file fails.
1086
1087 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1088
1089         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1090         (gst_registry_binary_load_feature),
1091         (gst_registry_binary_load_plugin):
1092         If an element supports the Uri interface, returns a valid pointer
1093         to the supported URI protocols but this pointer contains nothing
1094         don't try to save that as it will corrupt the registry.
1095
1096         Don't unref the plugin if we added it to the registry already but
1097         fail to load a feature as gst_registry_add_plugin() takes ownership
1098         of the plugin.
1099
1100         Improve debugging a bit.
1101
1102 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1103
1104         * gst/gsttaglist.h:
1105           Clarify some tag item docs after discussion on irc.
1106
1107 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1108
1109         * docs/gst/gstreamer-docs.sgml:
1110           Remove commented out plugins (they have their own docs). Update
1111           comments.
1112
1113 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1114
1115         * docs/gst/gstreamer-docs.sgml:
1116         * docs/gst/gstreamer-sections.txt:
1117         * gst/gstparamspecs.c:
1118         * gst/gstparamspecs.h:
1119           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1120           docs to own section.
1121
1122         * gst/gstvalue.c:
1123           This now only documents GValue.
1124           
1125         * docs/libs/gstreamer-libs-sections.txt:
1126         * libs/gst/controller/gstcontroller.h:
1127           Remove GST_PARAM_CONTROLLABLE.
1128
1129 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1130
1131         * docs/README:
1132           Correct file path. Tell about how to use -overrides.txt.
1133         * docs/design/draft-tagreading.txt:
1134           Small design update.
1135
1136 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1137
1138         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1139         (gst_registry_binary_load_plugin):
1140         Fix a typo in a debug message and revert change from yesterday as
1141         gst_registry_add_plugin() will only fail if something is really wrong
1142         already and we can't survive it anyway.
1143
1144 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1145
1146         * gst/gst.c: (init_post), (gst_deinit):
1147           Pre-register GstGError GType from a thread-safe context
1148           (fixes #527967); unref enum type classes in deinit.
1149
1150 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1151
1152         Patch by: Rene Stadler <mail at renestadler de>
1153
1154         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1155           Merging an empty list with another list in KEEP_ALL mode should
1156           yield an empty list as result and not the second list (#512578).
1157
1158         * tests/check/gst/gsttagsetter.c:
1159           Add unit test for tag merge modes and the aforementioned bug.
1160
1161 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1162
1163         Patch by: Rene Stadler <mail at renestadler de>
1164
1165         * gst/gsttaglist.h:
1166           Fix description to match the order in the table (#512577).
1167   
1168 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1169
1170         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1171
1172         * libs/gst/net/gstnettimepacket.h:
1173         * docs/libs/gstreamer-libs-sections.txt:
1174           Define socklen_t as int if it's not defined yet. Fixes compilation
1175           with MSVC6 and other versions where socklen_t is not defined in
1176           the windows headers (#518022).
1177
1178 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1179
1180         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1181         If gst_registry_add_plugin() fails our reference to the plugin is
1182         invalid so don't try to use it anymore and instead error out.
1183
1184 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1185
1186         * tools/gst-xmlinspect.c: (print_element_info), (main):
1187           De-cruft a bit. If no argument is specified, print all elements in
1188           XML syntax rather than a freestyle list of elements like gst-inspect.
1189           Also, don't print XML header chunk unless we actually have something
1190           to print (ie. don't print it before an error message); print error
1191           message to stderr not stdout. Remove support for printing plugin
1192           info (it would just output something freestyle along the lines of
1193           gst-inspect so far), which fixes #514507. Also add license header.
1194
1195 2008-04-11  Julien Moutte  <julien@fluendo.com>
1196
1197         Mac OS X love...
1198         * configure.ac: Merge platform specific defines, introduce a new
1199         define on OS X to remember that forking when updating registry is
1200         unsafe.
1201         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1202         module.
1203         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1204         is defined.
1205         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1206         condition that leads to absolutely no plugins being registered on
1207         OS X.
1208
1209 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1210
1211         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1212
1213         * gst/gstutils.c: (gst_pad_add_data_probe),
1214           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1215           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1216           (gst_pad_add_buffer_probe_full):
1217         * gst/gstutils.h:
1218         * docs/gst/gstreamer-sections.txt:
1219         * win32/common/libgstreamer.def:
1220           Add gst_pad_add_*_probe_full() functions with a notify callback that
1221           lets the caller free the data it passes to the probe functions. This
1222           is useful for bindings such as gst-python or gstreamermm (#526814).
1223           API: gst_pad_add_data_probe_full
1224           API: gst_pad_add_buffer_probe_full
1225           API: gst_pad_add_event_probe_full
1226
1227         * tests/check/gst/gstutils.c:
1228           Add minimal unit test to make sure freeing the data actually works
1229           as expected.
1230
1231         * tests/benchmarks/.cvsignore:
1232           Random cvsignore addendum.
1233
1234 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1235
1236         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1237           (GST_DEBUG_BIN_TO_DOT_FILE):
1238           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1239           to it in the docs (since these are macros the types of the arguments
1240           won't be shown in the docs otherwise).
1241
1242 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1243
1244         * gst/gstpad.c:
1245           Do not abort on out of memory for pad_alloc_buffer.
1246
1247 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1248
1249         * libs/gst/check/gstcheck.c:
1250           Remove blank line between symbol name ad parameters to fix gtkdoc
1251           warning.
1252
1253 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1254
1255         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1256
1257         * docs/gst/gstreamer-sections.txt:
1258         * gst/gstsegment.c:
1259         * gst/gstsegment.h:
1260         * win32/common/libgstreamer.def:
1261           Expose gst_segment_copy() to make things easier for the c++ bindings.
1262           Fixes #518932.
1263           API: gst_segment_copy()
1264
1265 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1266
1267         * gst/gst.c: (gst_init_get_option_group), (init_post):
1268           Fix const position; ref GType classes for enum types to work
1269           around thread-safety issues in GLib versions < 2.16.
1270
1271 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1272
1273         * docs/design/part-buffering.txt:
1274         Fix some typos and set the estimated total for push mode to -1.
1275
1276         * gst/gstquery.c: (gst_query_new_buffering):
1277         Set buffering-left to 0 as we're not buffering by default.
1278
1279         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1280         Implement BUFFERING query.
1281
1282 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1283
1284         Based on patch by: Milosz Derezynski <internalerror gmail com>
1285
1286         * gst/gsterror.c: (_gst_stream_errors_init):
1287         * gst/gsterror.h:
1288           Add two new error codes for encrypted content. Fixes #524659.
1289           API: GST_STREAM_ERROR_DECRYPT
1290           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1291
1292 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1293
1294         * gst/gstquery.h:
1295           Fix typo.
1296
1297         * win32/common/libgstreamer.def:
1298           Add new functions.
1299
1300 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1301
1302         * plugins/elements/gstidentity.c: (gst_identity_event),
1303         (gst_identity_start):
1304         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1305         event after processing some data. Fixes bug #526042.
1306
1307 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1308
1309         * docs/gst/gstreamer-sections.txt:
1310         * gst/gstquery.c: (gst_query_parse_latency),
1311         (gst_query_set_buffering_percent),
1312         (gst_query_parse_buffering_percent),
1313         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1314         * gst/gstquery.h:
1315         Rename _avail -> _range
1316         API: gst_query_set_buffering_range
1317         API: gst_query_parse_buffering_range
1318
1319 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1320
1321         * docs/design/part-buffering.txt:
1322         * gst/gstquark.c:
1323         * gst/gstquark.h:
1324         * gst/gstquery.c: (gst_query_parse_latency),
1325         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1326         (gst_query_parse_buffering_percent):
1327         * gst/gstquery.h:
1328         Add busy field and quark for the buffering query so that the app can
1329         only use the query to see if buffering is in progress.
1330
1331 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1332
1333         * docs/gst/gstreamer-sections.txt:
1334         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1335         (gst_message_parse_buffering_stats):
1336         * gst/gstmessage.h:
1337         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1338         (gst_query_parse_latency), (gst_query_new_buffering),
1339         (gst_query_set_buffering_percent),
1340         (gst_query_parse_buffering_percent),
1341         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1342         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1343         * gst/gstquery.h:
1344         Reorder the message docs and headers for clarity.
1345         Add aditional buffering stats API for messages.
1346         Add buffering query.
1347         Convert some leftover queries to use GstQuark.
1348         API: gst_message_set_buffering_stats
1349         API: gst_message_parse_buffering_stats
1350         API: GST_QUERY_BUFFERING
1351         API: GstBufferingMode
1352         API: gst_query_new_buffering
1353         API: gst_query_set_buffering_percent
1354         API: gst_query_parse_buffering_percent
1355         API: gst_query_set_buffering_stats
1356         API: gst_query_parse_buffering_stats
1357
1358 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1359
1360         * gst/gstmessage.c: (gst_message_new_error),
1361         (gst_message_new_warning), (gst_message_new_info),
1362         (gst_message_new_buffering), (gst_message_new_state_changed),
1363         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1364         (gst_message_new_new_clock), (gst_message_new_segment_start),
1365         (gst_message_new_segment_done), (gst_message_new_duration),
1366         (gst_message_new_async_start), (gst_message_parse_buffering),
1367         (gst_message_parse_state_changed),
1368         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1369         (gst_message_parse_new_clock), (gst_message_parse_error),
1370         (gst_message_parse_warning), (gst_message_parse_info),
1371         (gst_message_parse_segment_start),
1372         (gst_message_parse_segment_done), (gst_message_parse_duration),
1373         (gst_message_parse_async_start):
1374         Use GstQuark for messages.
1375
1376 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1377
1378         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1379         * gst/gstquark.h:
1380         Add some more quarks needed for messages and queries.
1381
1382 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1383
1384         * docs/design/part-buffering.txt:
1385         Remove the "none" buffering mode, STREAM is a good default.
1386         Move estimated-time to the avail query, that's when it will be needed.
1387         Other small typo fixes and updates.
1388
1389 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1390
1391         * gst/gstindex.c: (gst_index_resolver_get_type):
1392           Don't put descriptions into the nick field of a GEnumValue: it's not
1393           meant for that and some language bindings rely on the nick field to
1394           construct constants and the like. Fixes #526705.
1395
1396 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1397
1398         * NEWS:
1399         * RELEASE:
1400         * gstreamer.doap:
1401           Merge other changes from 0.10.19 release branch.
1402
1403 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1404
1405         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1406
1407         * configure.ac:
1408         Actually build dlls when cross-compiling with mingw32.
1409         Fixes bug #526247.
1410
1411 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1412
1413         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1414
1415         * gst/gstpoll.c:
1416         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1417
1418 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1419
1420         * docs/design/draft-latency.txt:
1421         Fix typo.
1422
1423         * docs/design/part-buffering.txt:
1424         Update design docs with more buffering ideas.
1425
1426 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1427
1428         * configure.ac:
1429           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1430
1431 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1432
1433         * configure.ac:
1434           Revert part that belongs to the preset patch.
1435
1436 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1437
1438         * configure.ac:
1439           Add qoutes to the define. Fixes # 525961.
1440
1441 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1442
1443         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1444         (gst_file_index_load), (gst_file_index_add_id),
1445         (gst_file_index_get_assoc_entry):
1446         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1447         (gst_mem_index_free_id), (gst_mem_index_add_id),
1448         (gst_mem_index_index_format):
1449         Use GSlice when possible.
1450
1451 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1452
1453         * libs/gst/controller/gstinterpolationcontrolsource.c:
1454         (gst_control_point_free),
1455         (gst_interpolation_control_source_set_internal):
1456         Use GSlice for allocating the control points.
1457
1458 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1459
1460         * plugins/elements/gsttypefindelement.c:
1461         (gst_type_find_element_class_init),
1462         (gst_type_find_element_set_property),
1463         (gst_type_find_element_get_property),
1464         (gst_type_find_element_activate):
1465         * plugins/elements/gsttypefindelement.h:
1466         Cleanup properties.
1467         Fix pad leak when peer query fails.
1468         We can still typefind when the peer returns -1.
1469         Add property to force caps and bypass typefinding. This will be used in
1470         uridecodebin.
1471         API::force-caps
1472
1473 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1474
1475         * configure.ac:
1476         Require GLib 2.12.
1477
1478         * gst/glib-compat-private.h:
1479         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1480         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1481         Unconditionally use GSlice for allocation.
1482
1483         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1484         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1485         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1486         (gst_structure_free):
1487         Use GSlice for allocation.
1488
1489 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1490
1491         * gst/parse/Makefile.am:
1492         * gst/parse/grammar.tab.pre.c:
1493         * gst/parse/grammar.tab.pre.h:
1494         * gst/parse/lex._gst_parse_yy.pre.c:
1495         Require a new enough flex and bison and remove the parser hacks to use
1496         a pre-regenerated version.
1497
1498 2008-04-01  Julien Moutte  <julien@fluendo.com>
1499
1500         patch by: Jason Zhao <E3423C@motorola.com>
1501
1502         * configure.ac: Add a configure switch to disable option parsing
1503         in gst_init.
1504         Fixes #522882.
1505
1506 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1507
1508         * configure.ac:
1509         * gst/gstregistry.c:
1510           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1511           and handle this case.
1512
1513         * gst/gst.c:
1514           Add a comment here describing, why we stat each plugin and not try to
1515           be smart.
1516
1517 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1518
1519         * libs/gst/base/gstbasetransform.c:
1520         (gst_base_transform_prepare_output_buffer):
1521         Also unset the GAP flag on buffers if we're working inplace but
1522         the element is not GAP-aware.
1523
1524         Mark a comment as FIXME 0.11.
1525
1526 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1527
1528         * gst/gst.c:
1529           Fix type in log message and add one to ease seeing how long registry
1530           cache verification takes.
1531
1532         * gst/gstregistry.c:
1533           Only test plugin filenames against G_MODULE_SUFFIX.
1534
1535 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1536
1537         * gst/gstdebugutils.c:
1538           Improve handling ghost/proxy pads.
1539
1540 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1541
1542         * docs/gst/gstreamer-sections.txt:
1543         * gst/gstpad.c:
1544         * gst/gstpad.h:
1545           Expose macro to docs and fix link to it.
1546
1547 2008-03-27  Michael Smith <msmith@fluendo.com>
1548
1549         * libs/gst/dataprotocol/dataprotocol.c:
1550         (gst_dp_packet_from_event_1_0):
1551           When calculating GDP body CRC, use the correct pointer. 
1552           Fixes part of #522401.
1553
1554 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1555
1556         Patch by: Mark Nauwelaerts <manauw at skynet be>
1557
1558         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1559         (gst_identity_init), (gst_identity_prepare_output_buffer):
1560         Identity is not always a passthrough element, it can modify the buffer
1561         timestamps when it has a datarate and operates in single-segment mode.
1562         We therefore make it an in_place filter with a custom buffer prepare
1563         function that conditionally makes the input buffer metadata writable
1564         when needed.  Fixes #523985.
1565
1566 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1567
1568         Patch by: Mark Nauwelaerts <manauw at skynet be>
1569
1570         * gst/gstclock.h:
1571         * libs/gst/base/gstbasesrc.h:
1572         * libs/gst/base/gstbasetransform.c:
1573         * libs/gst/check/gstcheck.c:
1574         Small documentation fixes. Fixes #523978.
1575
1576 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1577
1578         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1579         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1580         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1581
1582 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1583
1584         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1585         (single_queue_underrun_cb):
1586         When trying to make room in the queue, bump the max allowed buffers
1587         bigger than the current amount of buffers in the queue. this fixes some
1588         nasty deadlocks in multiqueue when dynamically changing the limits of
1589         the queue.
1590
1591 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1592
1593         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1594
1595         * gst/gstcaps.c: (gst_caps_set_simple),
1596         (gst_caps_set_simple_valist), (gst_caps_intersect):
1597         * gst/gstcaps.h:
1598         Constify the field gchar * params in set_simple and friends.
1599         Fixes #522326.
1600
1601 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1602
1603         * gst/gstvalue.c: (gst_value_transform_object_string):
1604         Transform a GstObject to a more meaningfull string that includes the
1605         object type in addition to its name.
1606
1607 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1608
1609         * ChangeLog:
1610           ChangeLog surgery to add bugnumber to commit.
1611
1612 2008-03-23  Rene Stadler  <mail@renestadler.de>
1613
1614         * libs/gst/base/gstbasetransform.c:
1615         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1616
1617 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1618
1619         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1620         Rename constant everywhere and don't forget one occurence.
1621
1622 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1623
1624         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1625         Align memory to the pointer size even if the architecture allows
1626         unaligned memory access. Unaligned memory access usually comes with
1627         performance penality.
1628
1629 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1630
1631         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1632         (gst_registry_binary_check_magic),
1633         (gst_registry_binary_load_pad_template),
1634         (gst_registry_binary_load_feature),
1635         (gst_registry_binary_load_plugin):
1636         Align memory to the pointer size instead of always 32 bit. Fixes
1637         unaligned memory accesses on ia64 and friends.
1638
1639         * gst/gstregistrybinary.h:
1640         Bump binary registry format version for this as it changes the
1641         format on those architectures that don't have unaligned access
1642         and 64 bit pointers.
1643
1644 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1645
1646         * docs/pwg/advanced-dparams.xml:
1647         * docs/pwg/building-props.xml:
1648         * docs/pwg/other-source.xml:
1649         * gst/glib-compat.h:
1650         * gst/gstbin.c: (gst_bin_class_init):
1651         * gst/gstclock.c: (gst_clock_class_init):
1652         * gst/gstindex.c: (gst_index_class_init):
1653         * gst/gstobject.c: (gst_object_class_init):
1654         * gst/gstpad.c: (gst_pad_class_init):
1655         * gst/gstpipeline.c: (gst_pipeline_class_init):
1656         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1657         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1658         * libs/gst/base/gstbasetransform.c:
1659         (gst_base_transform_class_init):
1660         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1661         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1662         (_gst_check_fault_handler_sighandler),
1663         (_gst_check_fault_handler_setup), (gst_check_init):
1664         * libs/gst/controller/gstcontroller.c:
1665         (_gst_controller_class_init):
1666         * libs/gst/controller/gstlfocontrolsource.c:
1667         (gst_lfo_control_source_class_init):
1668         * libs/gst/net/gstnetclientclock.c:
1669         (gst_net_client_clock_class_init):
1670         * libs/gst/net/gstnettimeprovider.c:
1671         (gst_net_time_provider_class_init):
1672         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1673         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1674         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1675         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1676         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1677         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1678         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1679         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1680         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1681         * plugins/elements/gstqueue.c: (gst_queue_class_init):
1682         * plugins/elements/gsttee.c: (gst_tee_class_init):
1683         * plugins/elements/gsttypefindelement.c:
1684         (gst_type_find_element_class_init):
1685         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1686         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1687         use it everywhere for GParamSpecs that use static strings (i.e. all).
1688         This gives us less memory usage, fewer allocations and thus less
1689         memory defragmentation. Fixes bug #523806.
1690
1691 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1692
1693         * gst/gstminiobject.c: (gst_value_dup_mini_object),
1694         (gst_param_spec_mini_object):
1695         * gst/gstminiobject.h:
1696         * win32/common/libgstreamer.def:
1697         * docs/gst/gstreamer-sections.txt:
1698         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1699         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1700         GstParamSpecMiniObject into a public header for this.
1701
1702         This make GstMiniObject a bit more consistent with GObject and makes
1703         it possible to extend the param specs.
1704
1705         gst_value_dup_mini_object is mainly useful for set_property methods.
1706
1707         Fixes bug #523798.
1708
1709         * tools/gst-inspect.c: (print_element_properties_info):
1710         Print something useful for GstMiniObject properties and not just
1711         "unknown type".
1712
1713 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1714
1715         * docs/gst/gstreamer-sections.txt:
1716         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1717         (gst_registry_binary_check_magic):
1718         * gst/gstregistrybinary.h:
1719         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1720         and add it to the (private part) of the docs to fix the build.
1721
1722 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1723
1724         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1725         (gst_registry_binary_check_magic),
1726         (gst_registry_binary_read_cache):
1727         * gst/gstregistrybinary.h:
1728         Don't use GST_MAJORMINOR for the binary registry version. Instead
1729         hardcode a value that must be changed whenever the format changes
1730         in an incompatible way.
1731         Also don't GST_ERROR when there is a version mismatch, just
1732         regenerate the registry silently.
1733
1734 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
1735
1736         * configure.ac:
1737         Back to development - 0.10.18.1
1738
1739 === release 0.10.18 ===
1740
1741 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
1742
1743         * configure.ac:
1744           releasing 0.10.18, "So far away"
1745
1746 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
1747
1748         * configure.ac:
1749         * win32/common/config.h:
1750         0.10.17.4 pre-release
1751
1752 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1753
1754         Patch by: Ole André Vadla Ravnås
1755             <ole dot andre dot ravnas at tandberg dot com>
1756
1757         * docs/gst/gstreamer-sections.txt:
1758         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1759         (gst_poll_update_winsock_event_mask),
1760         (gst_poll_prepare_winsock_active_sets),
1761         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1762         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1763         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1764         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1765         (gst_poll_check_ctrl_commands), (gst_poll_wait):
1766         * gst/gstpoll.h:
1767         * win32/common/libgstreamer.def:
1768         Add new function gst_poll_fd_ignored() for improved Windows
1769         compatibility.
1770         Various minor fixes and cleanups. See #520808.
1771
1772 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
1773
1774         * gst/gstindex.c: (gst_index_entry_free):
1775         * gst/gstindex.h:
1776           Don't free key strings which we don't own. Fixes crash in
1777           gst_index_entry_free() (#522741).
1778
1779         * tests/check/Makefile.am:
1780         * tests/check/gst/.cvsignore:
1781         * tests/check/gst/gstindex.c: (test_index_entries),
1782           (gst_index_suite), (gst_index):
1783           Add unit test for the above.
1784
1785 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
1786
1787         * win32/common/libgstreamer.def:
1788         Remove symbols that were removed recently. Fixes bug #521740.
1789
1790 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
1791
1792         * configure.ac:
1793         * win32/common/config.h:
1794         0.10.17.3 pre-release
1795
1796 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1797
1798         Patch by: Ole André Vadla Ravnås
1799             <ole dot andre dot ravnas at tandberg dot com>
1800
1801         * docs/gst/gstreamer-sections.txt:
1802         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1803         (gst_poll_update_winsock_event_mask), (gst_poll_new),
1804         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1805         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1806         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1807         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1808         (gst_poll_fd_can_write), (gst_poll_wait),
1809         (gst_poll_set_controllable), (gst_poll_restart),
1810         (gst_poll_set_flushing):
1811         * gst/gstpoll.h:
1812         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1813         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1814         (gst_net_time_provider_new):
1815         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1816         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1817         * tests/benchmarks/gstpollstress.c: (main):
1818         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1819         Remove GstPollMode from the API, it does not make sense to let the
1820         application control this.
1821         Add support for Win32.
1822         Fix the testsuite. Fixes #520671.
1823
1824 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
1825
1826         Patch by: Ole André Vadla Ravnås
1827             <ole dot andre dot ravnas at tandberg dot com>
1828
1829         * gst/gstregistrybinary.c:
1830         Include io.h for write() and close() when building with MSVC. Fixes
1831         bug #520877.
1832
1833 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
1834
1835         * configure.ac:
1836         * gst/gst_private.h:
1837         * gst/gstconfig.h.in:
1838         * gst/gstregistry.h:
1839         * gst/gstregistrybinary.c:
1840         * win32/common/gstconfig.h:
1841           Move registry backend API to private headers where we can. Add
1842           fixme-0.11 comments for the others. Add stubs for the xml backend when
1843           using the binary to ensure they functions exists (they should not be
1844           used though). Fixes #520756.
1845
1846 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
1847
1848         * configure.ac:
1849         * win32/common/config.h:
1850         0.10.17.2 prelease
1851
1852 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1853
1854         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1855         (gst_registry_binary_read_cache):
1856         * gst/gstregistryxml.c: (gst_registry_save):
1857         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1858         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1859         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1860         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1861         Switch to using portabl gsize/gssize instead of size_t/ssize_t
1862         Fixes #520152
1863
1864 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1865
1866         * gst/gstminiobject.c:
1867         Import gst_private.h before any other header that might include other
1868         glib headers. This fixes the build on windows using native compilers.
1869
1870 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1871
1872         * win32/common/gstconfig.h:
1873           Add here too, just for completeness.
1874
1875 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1876
1877         * configure.ac:
1878         * gst/gstconfig.h.in:
1879         * gst/gstregistry.h:
1880           Fix broken use of config.h-defined preprocessor directive in a public
1881           header file. Add a corresponding define to gstconfig.h, since we can't
1882           really remove those function declarations from the header file now
1883           (or can we? and why are they there in the first place?).
1884
1885 2008-03-03  Andy Wingo  <wingo@pobox.com>
1886
1887         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1888         the new warning.
1889
1890         * gst/gststructure.c (gst_structure_from_string): Warn if
1891         structure_from_string didn't consume the whole string, but the
1892         caller did not provide an end pointer.
1893
1894 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
1895
1896         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1897
1898         * gst/gstregistryxml.c: (read_string), (load_feature):
1899           Strings allocated by libxml2 should be freed with xmlFree(), not
1900           with g_free(). Fixes issues on windows in certain contexts (#519698).
1901
1902 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
1903
1904         * gst/gstinterface.c: (gst_element_implements_interface):
1905           Don't crash if the element supports the interface queried, but does
1906           not implement GstImplementsInterface. Fixes #519584.
1907
1908         * tests/check/Makefile.am:
1909         * tests/check/gst/.cvsignore:
1910         * tests/check/gst/gstinterface.c:
1911           Add unit test for the above.
1912
1913 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1914
1915         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1916         Small doc update.
1917
1918 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1919
1920         * gst/gstsegment.c: (gst_segment_set_seek),
1921         (gst_segment_to_stream_time):
1922         Improve some comment.
1923         Update variables where it makes more sense.
1924
1925 2008-02-29  Rene Stadler  <mail@renestadler.de>
1926
1927         * gst/gsturi.c: (gst_uri_handler_get_protocols):
1928         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
1929         URIHandlers implemented using language bindings.
1930
1931 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1932
1933         * gst/gstelementfactory.h:
1934         * tests/check/elements/fakesink.c:
1935         * tests/check/elements/fakesrc.c: (setup_fakesrc):
1936         * tests/check/elements/fdsrc.c: (setup_fdsrc):
1937         * tests/check/elements/filesink.c: (setup_filesink):
1938         * tests/check/elements/filesrc.c: (setup_filesrc):
1939         * tests/check/elements/identity.c: (setup_identity):
1940         * tests/check/elements/tee.c:
1941         * tests/check/generic/sinks.c:
1942         * tests/check/generic/states.c: (setup), (teardown):
1943         * tests/check/gst/gst.c:
1944         * tests/check/gst/gstabi.c:
1945         * tests/check/gst/gstbin.c:
1946         * tests/check/gst/gstbus.c: (pull_messages):
1947         * tests/check/gst/gstcaps.c:
1948         * tests/check/gst/gstelement.c:
1949         * tests/check/gst/gstevent.c:
1950         * tests/check/gst/gstghostpad.c:
1951         * tests/check/gst/gstiterator.c:
1952         * tests/check/gst/gstmessage.c:
1953         * tests/check/gst/gstminiobject.c: (my_foo_init):
1954         * tests/check/gst/gstobject.c: (thread_name_object),
1955         (gst_object_suite):
1956         * tests/check/gst/gstpad.c:
1957         * tests/check/gst/gstplugin.c:
1958         * tests/check/gst/gstpoll.c:
1959         * tests/check/gst/gstquery.c:
1960         * tests/check/gst/gstsegment.c:
1961         * tests/check/gst/gststructure.c:
1962         * tests/check/gst/gstsystemclock.c:
1963         * tests/check/gst/gsttask.c:
1964         * tests/check/gst/gstutils.c:
1965         * tests/check/gst/gstvalue.c:
1966         * tests/check/gst/struct_hppa.h:
1967         * tests/check/gst/struct_i386.h:
1968         * tests/check/gst/struct_ppc32.h:
1969         * tests/check/gst/struct_ppc64.h:
1970         * tests/check/gst/struct_x86_64.h:
1971         * tests/check/libs/adapter.c: (create_and_fill_adapter):
1972         * tests/check/libs/basesrc.c:
1973         * tests/check/libs/controller.c: (GST_START_TEST):
1974         * tests/check/libs/gdp.c:
1975         * tests/check/libs/gstnetclientclock.c:
1976         * tests/check/libs/gstnettimeprovider.c:
1977         * tests/check/libs/libsabi.c:
1978         * tests/check/libs/struct_hppa.h:
1979         * tests/check/libs/struct_i386.h:
1980         * tests/check/libs/struct_ppc32.h:
1981         * tests/check/libs/struct_ppc64.h:
1982         * tests/check/libs/struct_x86_64.h:
1983         * tests/check/pipelines/cleanup.c:
1984         * tests/check/pipelines/simple-launch-lines.c:
1985         * tests/check/pipelines/stress.c:
1986         And correct even more valid sparse warnings.
1987
1988         * win32/common/libgstreamer.def:
1989         Add gst_poll_fd_init to the list of symbols.
1990
1991 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1992
1993         * gst/gstconfig.h.in:
1994         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
1995         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
1996         (gst_check_log_critical_func), (gst_check_drop_buffers),
1997         (gst_check_element_push_buffer_list):
1998         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
1999         (gst_controller_get_type):
2000         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2001         (gst_object_get_controller), (gst_object_get_control_source):
2002         * libs/gst/controller/gstinterpolationcontrolsource.c:
2003         (gst_interpolation_control_source_new):
2004         * libs/gst/controller/gstlfocontrolsource.c:
2005         (gst_lfo_control_source_new):
2006         * libs/gst/dataprotocol/dataprotocol.c:
2007         (gst_dp_event_from_packet_0_2):
2008         * plugins/elements/gstfdsrc.c:
2009         * plugins/elements/gstmultiqueue.c:
2010         * plugins/elements/gsttee.c:
2011         * plugins/elements/gsttypefindelement.c:
2012         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2013         (gst_file_index_add_association):
2014         * plugins/indexers/gstmemindex.c:
2015         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2016         * tests/check/elements/queue.c: (setup_queue):
2017         * tests/check/gst/gstpipeline.c:
2018         * tests/check/libs/collectpads.c: (setup), (teardown),
2019         (gst_collect_pads_suite):
2020         * tests/examples/adapter/adapter_test.c:
2021         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2022         * tests/examples/xml/createxml.c:
2023         * tests/examples/xml/runxml.c:
2024         * tools/gst-inspect.c:
2025         * tools/gst-run.c:
2026         Correct all relevant warnings found by the sparse semantic code
2027         analyzer. This include marking several symbols static, using
2028         NULL instead of 0 for pointers, not using variable sized arrays
2029         on the stack, moving variable declarations to the beginning of
2030         a block and using "foo (void)" instead of "foo ()" for declarations.
2031
2032 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2033
2034         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2035         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2036         Don't reset GstPollFDs, this is not necessary at all.
2037
2038         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2039         (delayed_restart), (delayed_control):
2040         Use GST_POLL_FD_INIT.
2041
2042 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2043
2044         * gst/gstpoll.c: (gst_poll_fd_init):
2045         * gst/gstpoll.h:
2046         Added Since tags.
2047
2048         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2049         Use some more init macros.
2050
2051 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2052
2053         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2054         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2055         Use init macros and functions.
2056
2057 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2058
2059         * docs/gst/gstreamer-sections.txt:
2060         * gst/gstpoll.c: (gst_poll_fd_init):
2061         * gst/gstpoll.h:
2062         Add INIT macro and _init method for initializing the GstPollFD.
2063
2064 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2065
2066         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2067         (gst_fd_sink_update_fd):
2068         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2069         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2070         (delayed_restart), (delayed_control):
2071         Initialize some uninitialized variables as spotted by valgrind.
2072
2073 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2074
2075         * tests/benchmarks/Makefile.am:
2076         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2077         (main):
2078         Add poll stress test.
2079
2080 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2081
2082         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2083
2084         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2085         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2086         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2087         * plugins/elements/gstfdsink.h:
2088         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2089         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2090         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2091         (gst_fd_src_uri_set_uri):
2092         * plugins/elements/gstfdsrc.h:
2093         Port to GstPoll. See #505417.
2094
2095 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2096
2097         * win32/common/libgstreamer.def:
2098         Add new gst_poll_ symbols to win32 defs.
2099
2100 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2101
2102         * docs/libs/gstreamer-libs-sections.txt:
2103         * libs/gst/net/gstnetclientclock.c:
2104         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2105         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2106         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2107         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2108         * libs/gst/net/gstnetclientclock.h:
2109         * libs/gst/net/gstnettimeprovider.c:
2110         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2111         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2112         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2113         (gst_net_time_provider_new):
2114         * libs/gst/net/gstnettimeprovider.h:
2115         Use a private stuct to not break ABI.
2116
2117 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2118
2119         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2120
2121         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2122         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2123         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2124         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2125         * libs/gst/net/gstnetclientclock.h:
2126         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2127         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2128         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2129         (gst_net_time_provider_new):
2130         * libs/gst/net/gstnettimeprovider.h:
2131         Massive code removal and cleanups because of GstPoll.
2132         Fixes #505417.
2133
2134 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2135
2136         * configure.ac:
2137         Add checks for poll, ppoll and pselect.
2138
2139         * docs/gst/gstreamer-docs.sgml:
2140         * docs/gst/gstreamer-sections.txt:
2141         Add docs for GstPoll.
2142
2143         * gst/Makefile.am:
2144         * gst/gst.h:
2145         * gst/gstpoll.c: (find_index), (selectable_fds),
2146         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2147         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2148         (gst_poll_set_mode), (gst_poll_get_mode),
2149         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2150         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2151         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2152         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2153         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2154         (gst_poll_fd_can_write), (gst_poll_wait),
2155         (gst_poll_set_controllable), (gst_poll_restart),
2156         (gst_poll_set_flushing):
2157         * gst/gstpoll.h:
2158         Add generic poll abstraction. We ideally don't want to have this in core
2159         here but in glib intead...
2160         This code will be used in various network elements and ultimately for
2161         the nanosecond precision monotonic clock (that's why it's here in core).
2162         It'll allow us to implement cancelable socket operations for windows too.
2163
2164         * tests/check/Makefile.am:
2165         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2166         (delayed_stop), (delayed_restart), (delayed_flush),
2167         (delayed_control), (gst_poll_suite):
2168         Add GstPoll unit test.
2169
2170 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2171
2172         * gst/gstfilter.c:
2173           Improve documentation of gst_filter_run(). Fixes #518627.
2174
2175 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2176
2177         * docs/README:
2178           Add a few lines about the new 'check-inspected-versions' target.
2179
2180 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2181
2182         * tests/check/gst/gstevent.c:
2183           Add qos to the event test. Rename tcase/tsuite; is not only about
2184           custom events.
2185
2186 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2187
2188         * plugins/elements/gstqueue.c:
2189           Ensure that buffer metadata is writeable, before modifying. Spotted by
2190           Mike.
2191
2192 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2193
2194         * plugins/elements/gstqueue.c:
2195         * plugins/elements/gstqueue.h:
2196           When dropping buffers in leaky modes, mark next buffers we sent as
2197           DISCONT.
2198
2199 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2200
2201         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2202           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2203
2204 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2205
2206         * plugins/elements/Makefile.am:
2207         * plugins/elements/gstbufferstore.c:
2208         * plugins/elements/gstbufferstore.h:
2209         * plugins/elements/gsttypefindelement.h:
2210           Remove GstBufferStore, no idea why we were still building it.
2211           It's not used anywhere and superseded by GstAdapter.
2212
2213         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2214           (gst_file_src_create_mmap):
2215         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2216           Printf format fixes for 64-bit integers.
2217
2218 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2219
2220         * configure.ac:
2221         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2222         We're not in 0.8 times anymore.
2223
2224 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2225
2226         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2227         (gst_check_element_push_buffer_list):
2228         * libs/gst/check/gstcheck.h:
2229         Make the declaration in the header for
2230         gst_check_element_push_buffer_list match the implementation.
2231
2232         Fix up spelling, grammar and wording of the documentation in a few
2233         places, and add the Since keyword to new API functions.
2234         Use g_list_delete_link instead of g_list_remove in
2235         gst_check_drop_buffers, since it's immeasurably more efficient.
2236
2237         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2238         Use new gst_check_drop_buffers function where appropriate.
2239
2240         * win32/common/libgstbase.def:
2241         * win32/common/libgstreamer.def:
2242         Add new symbols gst_collect_pads_take_buffer, 
2243         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2244         exports
2245
2246         Changelog surgery to add API keyword to new gst_check API.
2247
2248 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2249
2250         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2251         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2252         Update pre-generated flex files with flex 2.3.34.
2253
2254 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2255
2256         * gst/gstminiobject.c:
2257           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2258           friendly to subclasses and not require them to know all internals
2259           of their parent class.
2260
2261 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2262
2263         * docs/libs/gstreamer-libs-sections.txt:
2264         * libs/gst/base/gstcollectpads.c:
2265         * libs/gst/base/gstcollectpads.h:
2266           Add sub-buffer functions to collectpads. Fixes #516187.
2267           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2268
2269 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2270
2271         * gst/gstbuffer.c:
2272           Copy selected buffer-flags when creating subbuffers.
2273           Fixes #516395.
2274
2275 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2276
2277         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2278         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2279         * gst/gstmessage.c: (gst_message_class_init),
2280         (gst_message_finalize):
2281         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2282         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2283         (gst_mmap_buffer_finalize):
2284         Properly chain up finalize functions to the parent class.
2285
2286 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2287
2288         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2289
2290         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2291         (gst_index_set_resolver_full):
2292         * gst/gstindex.h:
2293         Add new function with option to dispose of user_data in resolver.
2294         Actually call the dispose function when finalizing the object and not
2295         just when changing the resolver/filter.
2296         API: GstIndex::gst_index_set_resolver_full()
2297
2298         * docs/gst/gstreamer-sections.txt:
2299         Add new function to docs. Fixes #515469.
2300
2301 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2302
2303         * gst/gstindex.c: (gst_index_finalize):
2304         Chain up finalize to the parent class. Fixes leaking the GstObject
2305         name and other things.
2306
2307 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2308
2309         * configure.ac:
2310         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2311         pre-releases or releases.
2312
2313         * docs/faq/gst-uninstalled:
2314         Add gst-plugins-gl
2315
2316         * docs/random/release:
2317         Change one of the steps - we only upload core & base to Gnome FTP
2318
2319 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2320
2321         * gst/gstconfig.h.in:
2322           Add 'id' for example.
2323
2324         * gst/gstpad.c:
2325         * gst/gstutils.c:
2326         * plugins/elements/gstfdsink.c:
2327           Link to signals. Doc and comment fixes.
2328
2329 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2330
2331         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2332         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2333           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2334           unused and unimplemented; finally, it is plugin features, not
2335           plugins, that have ranks.
2336           
2337 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2338
2339         * gst/gstpluginfeature.h:
2340           Clarify GstRank range docs.
2341
2342 2008-02-05  David Schleef  <ds@schleef.org>
2343
2344         * gst/gst.c: Add a separate gst_deinitialized that prevents
2345           gst_init() from being called after gst_deinit().  Fixes #509559
2346
2347 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2348
2349         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2350         (gst_bin_class_init):
2351         * gst/gstelement.c: (gst_element_base_class_init),
2352         (gst_element_class_add_pad_template):
2353         * gst/gstpadtemplate.c: (gst_pad_template_init):
2354         * gst/gstpipeline.c: (gst_pipeline_get_type),
2355         (gst_pipeline_base_init), (gst_pipeline_class_init):
2356         * libs/gst/base/gstbasesink.c:
2357         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2358         (gst_base_src_base_init), (gst_base_src_class_init):
2359         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2360         (gst_capsfilter_class_init):
2361         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2362         (gst_fake_sink_class_init):
2363         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2364         (gst_fake_src_class_init):
2365         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2366         (gst_fd_sink_class_init):
2367         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2368         (gst_fd_src_class_init):
2369         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2370         (gst_file_sink_class_init):
2371         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2372         (gst_file_src_class_init):
2373         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2374         (gst_identity_class_init):
2375         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2376         (gst_multi_queue_class_init):
2377         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2378         (gst_queue_class_init):
2379         * plugins/elements/gsttee.c: (gst_tee_base_init),
2380         (gst_tee_class_init):
2381         * plugins/elements/gsttypefindelement.c:
2382         (gst_type_find_element_base_init),
2383         (gst_type_find_element_class_init):
2384         * tests/check/gst/gstelement.c: (gst_element_suite):
2385         Revert previous changes to the behaviour of GstPadTemplates, etc
2386         and the possiblity to call them in class_init as it breaks too
2387         many elements. Reopens bug #491501.
2388
2389         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2390         several places.
2391
2392 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2393
2394         * tools/gst-launch.c:
2395         Dump one graph per pipeline state-change and state change name
2396         (if GST_DEBUG_DUMP_DOT_DIR is set).
2397
2398 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2399
2400         * gst/gstpad.c:
2401         * tests/check/gst/gstpad.c:
2402         Be sure that we have a new copy of the caps and not
2403         reffed caps from a template
2404
2405 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2406
2407         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2408         * gst/gstpipeline.c: (gst_pipeline_get_type),
2409         (gst_pipeline_class_init):
2410         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2411         (gst_base_sink_class_init):
2412         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2413         (gst_base_src_class_init):
2414         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2415         (gst_base_transform_class_init):
2416         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2417         (gst_collect_pads_class_init):
2418         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2419         * libs/gst/net/gstnettimeprovider.c:
2420         (gst_net_time_provider_base_init),
2421         (gst_net_time_provider_class_init):
2422         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2423         (gst_capsfilter_class_init):
2424         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2425         (gst_fake_sink_class_init):
2426         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2427         (gst_fake_src_class_init):
2428         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2429         (gst_fd_sink_class_init):
2430         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2431         (gst_fd_src_class_init):
2432         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2433         (gst_file_sink_class_init):
2434         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2435         (gst_file_src_class_init):
2436         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2437         (gst_identity_class_init):
2438         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2439         (gst_multi_queue_class_init):
2440         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2441         (gst_queue_class_init):
2442         * plugins/elements/gsttee.c: (gst_tee_base_init),
2443         (gst_tee_class_init):
2444         * plugins/elements/gsttypefindelement.c:
2445         (gst_type_find_element_base_init),
2446         (gst_type_find_element_class_init):
2447         Don't use base_init where not absolutely necessary. For example it's
2448         not necessary anymore for adding pad templates or setting element
2449         details.
2450
2451         Leave empty base_init functions in several places as GST_BOILERPLATE
2452         still defines and uses them.
2453
2454 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2455
2456         * gst/gstelement.c: (gst_element_base_class_init),
2457         (gst_element_class_add_pad_template):
2458         * gst/gstpadtemplate.c:
2459         Make it possible (and recommended) to set element details and add
2460         pad templates in the class_init functions by copying the details/pad
2461         templates in GstElement's base_init.
2462
2463         Also make it possible to replace existing pad templates by adding
2464         a new one with the same name. This was done in a hackish fashion
2465         in same elements before already.
2466
2467         Don't reference pad templates that are added a second time. A
2468         new pad template has a refcount of one and is not floating anymore
2469         and to be owned by the element's class. Make this more explicit by
2470         mentioning it in the docs of gst_element_class_add_pad_template().
2471
2472         These changes are backwards compatible. Fixes bug #491501.
2473
2474         * tests/check/gst/gstelement.c:
2475         Add unit test for setting element details, adding pad templates and
2476         replacing them in a subclass.
2477
2478 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2479
2480         * tools/gst-inspect.c: (print_interfaces),
2481         (print_element_properties_info), (print_pad_info),
2482         (print_signal_info), (print_element_info):
2483         Fix a few memory leaks.
2484
2485 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2486
2487         * docs/libs/gstreamer-libs-sections.txt:
2488         * libs/gst/check/gstcheck.c:
2489         * libs/gst/check/gstcheck.h:
2490         Add more functions for unit testing: gst_check_drop_buffers,
2491         gst_check_caps_equal, gst_check_element_push_buffer_list,
2492         gst_check_element_push_buffer
2493         API: gst_check_drop_buffers
2494         API: gst_check_caps_equal
2495         API: gst_check_element_push_buffer_list
2496         API: gst_check_element_push_buffer
2497
2498 2008-02-01  Julien Moutte  <julien@fluendo.com>
2499
2500         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2501         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2502         (gst_index_finalize), (gst_index_entry_free),
2503         (gst_index_add_association): Fix memory leaks.
2504         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2505         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2506         (gst_mem_index_free_format), (gst_mem_index_free_id),
2507         (gst_mem_index_finalize): Fix memory leaks.
2508         * win32/common/config.h: Updated to CVS HEAD.
2509
2510 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2511
2512         * docs/README:
2513           Some more details about how the plugin docs works.
2514
2515         * docs/plugins/gstreamer-plugins-sections.txt:
2516           Whitespace cleanup.
2517
2518 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2519
2520         * gst/parse/grammar.tab.pre.c:
2521         * gst/parse/grammar.tab.pre.h:
2522         * gst/parse/grammar.y:
2523         * gst/parse/lex._gst_parse_yy.pre.c:
2524           Add delayed set-property. This allows to set properties on dynamicaly
2525           created objects (pads in videomxer). Fixes #509391.
2526
2527 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2528
2529         * gst/gstutils.c:
2530         Check if caps are not NULL (fix bug #510194)
2531
2532 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2533
2534         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2535         (gst_base_sink_get_position_paused):
2536         Add fixme regarding EOS in pull mode.
2537         Fix position reporting in PAUSED for negative rates.
2538
2539 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2540
2541         * gst/gstminiobject.c: (gst_mini_object_replace):
2542         When replacing a miniobject, do a quick equality check first so that we
2543         can avoid a ref/unref pair.
2544
2545 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2546
2547         * docs/design/part-synchronisation.txt:
2548         Update some docs.
2549
2550         * docs/plugins/Makefile.am:
2551         * docs/plugins/gstreamer-plugins-docs.sgml:
2552         * docs/plugins/gstreamer-plugins-sections.txt:
2553         * plugins/elements/gstmultiqueue.c:
2554         Add multiqueue to the docs.
2555
2556 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2557
2558         * configure.ac:
2559           Back to CVS
2560
2561 === release 0.10.17 ===
2562
2563 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2564
2565         * configure.ac:
2566           releasing 0.10.17, "Due Negligence"
2567
2568 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2569
2570         * gst/gstutils.c:
2571         Revert caps != NULL check temporarily for 0.10.17 release.
2572
2573 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2574
2575         * gst/gstutils.c:
2576         Check if caps are not NULL (fix bug #510194)
2577
2578 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2579
2580         * gst/gstutils.c:
2581         Fix compilation on systems that have posix timers but no
2582         monotonic clock.
2583         Fixes: #512715
2584         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2585         dot net>
2586
2587 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2588
2589         * tools/gst-inspect.c:
2590         Revert previous commit in preparation for an impromptu 0.10.17 release
2591
2592 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2593
2594         * tools/gst-inspect.c: (print_interfaces),
2595         (print_element_properties_info), (print_pad_info),
2596         (print_signal_info), (print_element_info):
2597         Fix a few memory leaks.
2598
2599 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2600
2601         * configure.ac:
2602         Back to CVS
2603
2604 === release 0.10.16 ===
2605
2606 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2607
2608         * configure.ac:
2609           releasing 0.10.16, "Special Dispensation"
2610
2611 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2612
2613         * configure.ac:
2614           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2615           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2616           not fail when trying to crosscompile on OpenEmbedded (#511750).
2617
2618 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2619
2620         * docs/manuals.mak:
2621         Use $(MAKE) instead of make to fix the build if GNU make is
2622         called different. Fixes bug #510747.
2623
2624 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2625
2626         * gst/gstplugin.c: (_gst_plugin_initialize):
2627           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2628           again, which I broke two commits ago when changing the API
2629           of gst_plugin_register_static(): the g_list_foreach() in
2630           _gst_plugin_register_static still assumed the old function
2631           signature and would therefore fail (re-fixes #510187).
2632
2633         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2634           (_gst_plugin_register_static), (gst_plugin_register_static):
2635           Revert the (technically correct) change to call g_thread_init() from
2636           the pre-main() constructor. This will break programs which call
2637           g_thread_init() without an if (!g_thread_supported()) guard in their
2638           main function. We could just blame it on GLib or the application, but
2639           it's probably best to just avoid this altogether and simply not use
2640           any GLib functions here and use plain old malloc() with a simple
2641           array to store the plugins to register later when gst_init() is
2642           finally called (re-fixes #510187).
2643
2644         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2645           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2646           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2647           (GST_START_TEST), (gst_plugin_suite):
2648           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2649           works.
2650
2651 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2652
2653         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2654           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2655           This makes gtk-doc complain, but results in slightly better
2656           compiler errors. The old _gst_plugin_register_static() is
2657           still guarded, so there'll be a compiler warning about that
2658           instead. Fixes #510187 too.
2659
2660 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2661
2662         * gst/gst.c: (init_post):
2663         * gst/gstplugin.c: (_gst_plugin_register_static),
2664           (gst_plugin_register_static), (_gst_plugin_initialize):
2665         * gst/gstplugin.h: (GstPluginFilter):
2666           Change API of gst_plugin_register_static() to not take
2667           a GstPluginDesc, but rather just take all the arguments
2668           in a GstPluginDesc directly. This is more intuitive and
2669           avoids certain mistakes when porting code from
2670           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2671           Fixes #510187.
2672
2673         * tests/check/gst/gstplugin.c:
2674           Fix up for changed API.
2675
2676 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2677
2678         * docs/faq/legal.xml:
2679           Update FAQ, Totem actually has an exception these days.
2680
2681 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
2682
2683         * win32/common/libgstreamer.def:
2684         Add new API declarations
2685
2686 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2687
2688         * gst/gstminiobject.c:
2689           Spelling fixes for the API docs.
2690
2691 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2692
2693         * libs/gst/base/gstbasetransform.c:
2694           Fix long property description for QoS.
2695
2696 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
2697
2698         * gst/gst.c:
2699         _gst_trace_on is already provided by gsttrace.h, no need to declare
2700         it ourselves.
2701
2702         * docs/libs/gstreamer-libs-sections.txt:
2703         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2704         and remove strange tcase_add_test which is outputting a warning.
2705
2706         * libs/gst/check/gstcheck.c:
2707         * libs/gst/check/gstcheck.h:
2708         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2709         and define them in gstcheck.c instead of having every .c file whcih
2710         includes gstcheck.h be defining its own copy and relying on symbol
2711         interposing to marry them all, which doesn't work on Solaris.
2712
2713         * tests/check/elements/identity.c: (GST_START_TEST):
2714         Don't define 'buffers' locally, it comes from libgstcheck.
2715
2716         * tests/check/generic/sinks.c: (send_buffer):
2717         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2718
2719         * tests/check/gst/gststructure.c: (GST_START_TEST):
2720         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2721         * tests/check/gst/gstutils.c: (GST_START_TEST):
2722         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2723         Add a bunch of casts to make various constants fit the types
2724         they're being assigned to.
2725
2726 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
2727
2728         * gst/gstchildproxy.c:
2729           Improve docs and add some ideas for making this more general-purpose.
2730
2731 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
2732
2733         * gst/gst_private.h: (GST_CAT_TYPES):
2734           Add GST_CAT_TYPES, for consistency, and so that the other
2735           debug categories don't make fun of it. Spotted by Saur on IRC.
2736
2737 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2738
2739         * gst/parse/Makefile.am:
2740           Move types.h from EXTRA_DIST to noinst_HEADERS.
2741
2742 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2743
2744         * autogen.sh:
2745           Add -Wno-portability to the automake parameters to stop warnings
2746           about GNU make extensions being used. We require GNU make in almost
2747           every Makefile anyway.
2748
2749         * configure.ac:
2750           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2751           at the same time is required for per target flags.
2752
2753 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2754
2755         * gst/gstmacros.h:
2756           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2757           __GNUC__ is defined before using it.
2758
2759 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2760
2761         * docs/gst/gstreamer-sections.txt:
2762         * gst/gst.c: (init_post):
2763         * gst/gstplugin.c: (_gst_plugin_register_static),
2764           (gst_plugin_register_static), (_gst_plugin_initialize),
2765           (gst_plugin_register_func):
2766         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2767           API: add gst_plugin_register_static() and deprecate
2768           GST_PLUGIN_DEFINE_STATIC, since it's not portable
2769           (#498924).
2770           Also, in _gst_plugin_register_static(), make sure to call
2771           g_thread_init() before calling GLib functions such as
2772           g_list_append() if we're not initialised yet, since that
2773           may lead to random crashes with older GSlice/GLib versions.
2774
2775         * tests/check/gst/gstplugin.c:
2776           Adapt unit test to above changes.
2777
2778 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2779
2780         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2781         * gst/gstcaps.c: (gst_caps_to_string):
2782         * gst/gststructure.c: (GST_ASCII_IS_STRING),
2783           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2784           Yet another gratuitous GString micro-optimisation: add a (private)
2785           function that serialises a structure appending to an existing
2786           GString, so that when we serialise caps we don't need to alloc+free
2787           a throwaway GString for each structure (each of which also entailing
2788           multiple reallocs on the way); also use g_string_sized_new() in
2789           various places with an approximate string length to avoid reallocs
2790           within GString. See #500143.
2791
2792 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2793
2794         * gst/gststructure.c: (gst_structure_id_set_value):
2795           Always check UTF-8 conformance of structure strings and not only
2796           if the debugging system is enabled; reasoning: the behaviour of
2797           the actual code shouldn't really change depending on whether the
2798           debugging system is enabled or not (#508291).
2799
2800 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
2801
2802         * Makefile.am:
2803           Remove old coverage target in favour of "make lcov".
2804
2805 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2806
2807         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2808         (gst_base_src_loop):
2809         The start segment for reverse playback goes from start to last_stop.
2810
2811 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2812
2813         Patch by: Peter Kjellerstedt <pkj axis com>
2814
2815         * gst/gstclock.h:
2816         Cast the results from the timeval/spec_to_time macros to what the
2817         docs say it casts to, a GstClockTime. fixes #508175.
2818
2819 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2820
2821         * gst/gstbuffer.c:
2822         Update some comments.
2823
2824         * tools/gst-inspect.c: (print_element_properties_info):
2825         Improve printing of flags.
2826
2827 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
2828
2829         * libs/gst/base/gstbasetransform.c:
2830           (gst_base_transform_transform_size):
2831           Print element name with g_warning() if there's a problem
2832           with the unit size.
2833
2834 2008-01-07  David Schleef  <ds@schleef.org>
2835
2836         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2837
2838         * libs/gst/controller/gstcontroller.h:
2839         * libs/gst/controller/gstcontrolsource.h:
2840         * libs/gst/controller/gstinterpolationcontrolsource.h:
2841         * libs/gst/controller/gstlfocontrolsource.h:
2842         * libs/gst/dataprotocol/dataprotocol.h:
2843           Fix empty prototypes.  Fixes bug #507957.
2844
2845 2008-01-07  David Schleef  <ds@schleef.org>
2846
2847         * docs/faq/dependencies.xml: Fix typo.
2848
2849 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2850
2851         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2852         (gst_base_src_loop):
2853         Don't update the last_stop position in do_seek, that's the position we
2854         did a seek to.
2855         Read backwards when we have a negative rate.
2856
2857         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2858         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2859         (filesrc_suite):
2860         Add check for reverse reading.
2861
2862 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
2863
2864         Patch by: Alexis Ballier <aballier at gentoo org>
2865
2866         * tests/check/gst/gstabi.c:
2867         * tests/check/gst/struct_ppc64.h:
2868         * tests/check/libs/libsabi.c:
2869         * tests/check/libs/struct_ppc64.h:
2870           Decide which header to include based on the userland ABI target
2871           and not the kernel/cpu. Fix up structure sizes of ppc64 header
2872           for 64-bit userland (#503590).  Might need something similar for
2873           x86 too.
2874
2875 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2876
2877         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2878           Log the reason why fopen fails in addition to the fact that it failed.
2879           
2880 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
2881
2882         * gst/parse/parse.l:
2883         Use "%option never-interactive" to prevent useless calls to isatty()
2884         on every input when parsing. Also use "%option noinput" to not define
2885         the static input/yyinput functions which we don't use anyway. This
2886         removes a compiler warning with gcc 4.3 and saves some bytes in the
2887         library.
2888         
2889         * gst/parse/lex._gst_parse_yy.pre.c:
2890         Regenerated for the above change.
2891
2892 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2893
2894         * gst/gstpad.c: (fixate_value):
2895         Don't crash when trying to fixate and empty list.
2896         Fixes #506643.
2897
2898 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
2899
2900         * docs/faq/gst-uninstalled:
2901         Clarify the comments to make the usage of this script and what it
2902         does easier to understand.
2903
2904 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2905
2906         * tools/gst-plot-timeline.py:
2907         Add more options to gst-plot-timeline
2908
2909 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2910
2911         * docs/design/part-synchronisation.txt:
2912         Some more info on how the stream_time in GstBaseSink is done.
2913
2914 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
2915
2916         * tests/check/generic/sinks.c: (gst_sinks_suite):
2917           Put back the tcase_set_timeout(), apparently it's needed after
2918           all; fix it up in a way that makes things work with valgrind too.
2919
2920 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2921
2922         * gst/gstdebugutils.c:
2923           Add warning when failed to open file for writing.
2924
2925 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2926
2927         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
2928
2929         * gst/gstvalue.c: (gst_value_is_fixed):
2930           Optimisation: bail out of the loop as early as possible (#500143).
2931
2932 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2933
2934         * gst/gstcaps.c: (gst_caps_to_string):
2935         * gst/gstinfo.c: (gst_debug_construct_term_color):
2936         * gst/gstparse.c: (gst_parse_launchv):
2937         * gst/gstutils.c: (gst_util_dump_mem):
2938         * gst/gstvalue.c: (gst_value_serialize_any_list),
2939           (gst_value_transform_any_list_string):
2940           Bunch of gratuitous nano-optimisations.
2941
2942 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2943
2944         * tests/check/generic/sinks.c: (async_done_func),
2945           (async_done_eos_func):
2946           Fix leak in unit test (bus sync handler must unref the message
2947           if it returns GST_BUS_DROP). Don't fiddle with the default test
2948           timeout, this is smaller than the current preconfigured value
2949           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
2950           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
2951
2952 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2953
2954         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2955
2956         * configure.ac:
2957         Check for stdio_ext.h for the filesink changes.
2958
2959         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
2960         (gst_file_sink_class_init), (gst_file_sink_init),
2961         (gst_file_sink_dispose), (gst_file_sink_set_property),
2962         (gst_file_sink_get_property), (gst_file_sink_open_file),
2963         (gst_file_sink_close_file):
2964         * plugins/elements/gstfilesink.h:
2965         Add two properties to control the buffering mode and size.
2966         API: GstFileSink::buffer-mode
2967         API: GstFileSink::buffer-size
2968         Fixes #500150.
2969
2970 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2971
2972         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
2973         Add some more docs to explain why a FIXME was wrongly added. 
2974
2975 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
2976
2977         * gst/gstobject.c:
2978           Fix typo in the gst_object_{ref,unref} documentation.
2979
2980 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
2981
2982         * tests/check/libs/controller.c:
2983         * tests/check/libs/typefindhelper.c:
2984         * tests/check/pipelines/parse-launch.c:
2985           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
2986           going to be deprecated (see #498924).
2987
2988 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
2989
2990         * gst/gsttypefind.c: (gst_type_find_register):
2991           Make gst_type_find_register work for static typefind functions,
2992           ie. allow passing plugin == NULL (prerequisite for #498924).
2993
2994         * gst/gstelementfactory.c: (gst_element_register):
2995           Small docs addition.
2996
2997 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2998
2999         * gst/gstpad.c: (gst_pad_dispose):
3000         Really unlink the peer pad instead of setting the peer pointer to NULL
3001         when we dispose the pad.
3002         This correctly calls the unlink functions and makes sure that the peer
3003         does not have a handle to invalid memory. See #504671.
3004
3005         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3006         Add testsuite for above case.
3007
3008 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3009
3010         Patch by: Peter Kjellerstedt <pkj axis com>
3011
3012         * libs/gst/check/gstcheck.h:
3013           Fix detection of the check version we're compiling against (would
3014           otherwise break if check goes v0.10.0); correctly report the
3015           name of the failed test again in case of failure, instead of
3016           just 'tf' (fixes #504499).
3017
3018 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3019
3020         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3021         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3022         (gst_base_src_loop), (gst_base_src_set_flushing),
3023         (gst_base_src_change_state):
3024         Allow sending EOS to the source to make it send out an EOS event from
3025         the streaming thread.
3026         Update docs and deprecate the old NULL/READY shutdown method.
3027
3028         * tests/check/libs/basesrc.c: (GST_START_TEST),
3029         (gst_basesrc_suite):
3030         Add unit test for controlled shutdown.
3031
3032 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3033
3034         * docs/design/part-synchronisation.txt:
3035         Small updates.
3036
3037         * gst/gstsegment.c: (gst_segment_set_seek),
3038         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3039         (gst_segment_to_running_time):
3040         The seek format can be different from the segment format when the start
3041         and stop values are not to be updated, when we only do a rate change for
3042         example.
3043
3044         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3045         (gst_segment_suite):
3046         Add a testcase for the rate-only seeks, checking that the format is
3047         correctly ignored when start and stop are not updated.
3048
3049 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3050
3051         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3052
3053         * win32/vs8/grammar.vcproj:
3054         * win32/vs8/libgstcontroller.vcproj:
3055         * win32/vs8/libgstreamer.vcproj:
3056         Fix compilation with VS8 and include some missing files.
3057
3058 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3059
3060         * gst/gsttaglist.c:
3061           Small docs addition: mention that the strings returned by
3062           gst_tag_list_get_string*() are in UTF-8 encoding.
3063
3064 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3065
3066         * Makefile.am:
3067           The check-exports stuff moved to common/win32.mak, so include that.
3068
3069 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3070
3071         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3072         (gst_base_src_perform_seek), (gst_base_src_get_range),
3073         (gst_base_src_set_playing), (gst_base_src_change_state):
3074         Make _wait_playing() not check any variables so that we can call this
3075         function from subclasses. Move the checks elsewhere similar to
3076         _wait_preroll() in basesink.
3077         Add some debugging.
3078         Only signal the LIVE cond when we are going back to PLAYING.
3079
3080 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3081
3082         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3083           Use g_remove() and g_rename(). Check result of g_rename(), and
3084           don't leak the open file descriptor if we error out when writing.
3085
3086         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3087           Must check the return value of close() after writing out the new
3088           registry file.  Sometimes write problems such as out-of-diskspace
3089           are only reported when the file is closed and not already during
3090           the write.  This may have caused partial/broken registry files in
3091           some rare circumstances. Should fix #503675.
3092
3093 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3094
3095         * docs/gst/.cvsignore:
3096         * docs/libs/.cvsignore:
3097         * docs/plugins/.cvsignore:
3098         Ignore files generated by new common/* modifications
3099
3100 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3101
3102         * win32/common/libgstbase.def:
3103           Yes, you can also have a <TAB> if you want.
3104
3105 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3106
3107         * win32/common/libgstbase.def:
3108           Add new basetransform API to win export file.
3109
3110 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3111
3112         * tests/check/gst/gstbin.c:
3113           Adjust the test to the refcount change two days ago.
3114
3115 2007-12-14  David Schleef  <ds@schleef.org>
3116
3117         * docs/faq/getting.xml: Fix typo.
3118
3119 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3120
3121         * docs/libs/gstreamer-libs-sections.txt:
3122         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3123           (gst_base_transform_prepare_output_buffer),
3124           (gst_base_transform_set_gap_aware):
3125         * libs/gst/base/gstbasetransform.h:
3126           API: Add gst_base_transform_set_gap_aware() to control whether
3127           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3128           get buffers with this flag at all. Fixes #503231.
3129
3130 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3131
3132         * libs/gst/base/gstbasesink.c:
3133         * libs/gst/base/gstbasesrc.c:
3134         * libs/gst/base/gstbasetransform.c:
3135           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3136           thread. Correct log message in gstbasesrc.c.
3137
3138 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3139
3140         * gst/gstutils.c: (element_find_unconnected_pad):
3141           Fix possible compiler warning (#503417).
3142
3143 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3144
3145         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3146           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3147
3148 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3149
3150         * tools/gst-inspect.c: (print_element_properties_info):
3151           Add support for GstFraction properties.
3152
3153 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3154
3155         * Makefile.am:
3156           Add check-exports target and run it as part of 'make check'
3157           (see #499140 and #493983).
3158
3159         * gst/gst_private.h:
3160         * gst/gstelementfactory.h:
3161         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3162         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3163           (_priv_gst_in_valgrind):
3164         * gst/gstinfo.h: (GstLogFunction):
3165         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3166           (gst_type_find_register):
3167         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3168           (gst_type_find_factory_get_type):
3169         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3170           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3171           (gst_controller_new_valist), (gst_controller_new_list),
3172           (_gst_controller_dispose), (_gst_controller_class_init):
3173         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3174         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3175           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3176           (gst_object_get_controller), (gst_object_set_controller),
3177           (gst_object_suggest_next_sync), (gst_object_sync_values),
3178           (gst_object_set_control_source), (gst_object_get_control_source),
3179           (gst_object_get_value_arrays), (gst_object_get_value_array),
3180           (gst_object_get_control_rate), (gst_object_set_control_rate):
3181         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3182         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3183           Make some functions that should be static static; rename some
3184           private symbols so that they don't get exported; add some FIXME
3185           comments so we can move accidentally exported functions into
3186           our private section in 0.11.
3187
3188         * win32/common/libgstreamer.def:
3189           Add gst_utils_get_timestamp().
3190
3191 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3192
3193         * gst/gstvalue.c:
3194         * gst/gstvalue.h:
3195           Add more missing "Since:" tags to docs.
3196
3197 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3198
3199         * gst/gstutils.c:
3200           Add mising "Since:" to docs.
3201
3202 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3203
3204         * gst/gstplugin.c:
3205           Include "glib-compat-private.h" to fix the build on system with
3206           glib < 2.10. Fixes #503131.
3207
3208 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3209
3210         * gst/gstutils.c:
3211         * gst/gstutils.h:
3212           Actually its not PURE as it gets the time from elsewhere.
3213
3214 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3215
3216         * docs/gst/gstreamer-sections.txt:
3217         * gst/gstclock.h:
3218         * gst/gstdebugutils.c:
3219         * gst/gstinfo.c:
3220         * gst/gstutils.c:
3221         * gst/gstutils.h:
3222         * libs/gst/base/gstbasesink.c:
3223         * tools/gst-launch.c:
3224           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3225           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3226           Thanks Tim for spotting.
3227           API: gst_util_get_timestamp
3228
3229 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3230
3231         * configure.ac:
3232           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3233
3234 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3235
3236         * gst/gststructure.c: (gst_structure_validate_name),
3237           (gst_structure_new_valist), (gst_structure_parse_value),
3238           (gst_structure_from_string):
3239           Don't crash in _from_string() if the structure name is not valid
3240           (fixes #501560).  Allow structure names to start with a number
3241           again (this apparently broke the ubuntu codec installer).
3242
3243         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3244           (GST_START_TEST):
3245           Add unit test for the crash; update unit tests for new behaviour.
3246
3247 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3248
3249         * gst/gstutils.c:
3250         Clarify gst_element_get_compatible_pad() documentation.
3251         Fixes #500919.
3252
3253 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3254
3255         * tests/check/Makefile.am:
3256           Don't forget to dist {gst,libs}/struct_hppa.h.
3257
3258 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3259
3260         * libs/gst/base/gstbasesink.c:
3261           Use new API to get elapsed time.
3262
3263 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3264
3265         * gst/gstdebugutils.c:
3266         * gst/gstinfo.c:
3267           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3268
3269         * tools/gst-launch.c:
3270           Use new API to get elapsed time.
3271
3272 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3273
3274         * docs/gst/gstreamer-sections.txt:
3275         * gst/gstclock.h:
3276         * gst/gstdebugutils.c:
3277         * gst/gstinfo.c:
3278           Rename new API + ChangeLog surgery to remove old name from last entry..
3279
3280 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3281
3282         * docs/gst/gstreamer-sections.txt:
3283         * gst/gstclock.h:
3284         * gst/gstdebugutils.c:
3285         * gst/gstinfo.c:
3286           Now hide the different clock stuff behind a macro.
3287
3288 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3289
3290         * configure.ac:
3291         * gst/gstdebugutils.c:
3292         * gst/gstinfo.c:
3293           Apply the posix-timer check from #361155. Conditionally use the posix
3294           timer for logging. This gives better timestamp precission, less
3295           overhead and no ntp jitter.
3296
3297 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3298
3299         * gst/gstminiobject.c: (gst_mini_object_get_type),
3300         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3301         (gst_mini_object_finalize), (gst_mini_object_copy),
3302         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3303         (gst_mini_object_replace), (param_mini_object_validate),
3304         (gst_param_spec_mini_object_get_type):
3305         Some cleanup and checking against invalid function parameters.
3306
3307 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3308
3309         * docs/gst/gstreamer-sections.txt:
3310         * gst/gstclock.h:
3311         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3312         (gst_systemclock_suite):
3313         Start merging in the easy bits of #361155, the monotonic clock patch.
3314         This one adds a few handy macros with docs and a testsuite.
3315
3316 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3317
3318         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3319         Be a bit smarter when seeking, like, don't try to do a seek when it's
3320         not needed. This avoids errors when the file is not seekable.
3321         Fixes #499771.
3322
3323 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3324
3325         * docs/gst/gstreamer-docs.sgml:
3326         * docs/gst/gstreamer-sections.txt:
3327         * docs/gst/gstreamer.types.in:
3328         * gst/Makefile.am:
3329         * gst/gst.h:
3330         * gst/gstpreset.c:
3331         * gst/gstpreset.h:
3332         * plugins/elements/gstqueue.c:
3333           Due to popular request remove preset interface again. :-(.
3334
3335 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3336
3337         * tools/gst-inspect.c:
3338           Print 'default value' for enums and flags too.
3339
3340 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3341
3342         * docs/random/ensonic/profiling.txt:
3343           More ideas.
3344
3345         * gst/gstbin.c:
3346           Fix typo and give better log output.
3347
3348         * gst/gstdebugutils.c:
3349         * gst/gstdebugutils.h:
3350           More ideas, make graphs a bit smaller and fix param name in macro.
3351
3352 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3353
3354         * gst/gstpreset.c:
3355           Try harder to use the return value from fgets().
3356
3357 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3358
3359         * gst/gstpreset.c:
3360           For theses two fgets we handle the error below.
3361
3362 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3363
3364         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3365         Only send upstream events upstream. Fixes #498746.
3366
3367 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3368
3369         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3370
3371         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3372         (gst_identity_init), (gst_identity_transform_ip),
3373         (gst_identity_set_property), (gst_identity_get_property):
3374         * plugins/elements/gstidentity.h:
3375         Add property to disable handoff signal emission. Fixes #498694.
3376         API: GstIdentity::signal-handoffs
3377
3378 2007-11-21  Julien Moutte  <julien@fluendo.com>
3379
3380         * docs/faq/gst-uninstalled: Yet another missing library for the
3381         uninstalled script (fft)
3382
3383 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3384
3385         * docs/faq/developing.xml:
3386         Add a question about how to submit new translations.
3387
3388         * docs/random/release:
3389         Update the contact email address for the Translation Project
3390
3391         * plugins/elements/gstfdsrc.c:
3392         The parent_class for fdsrc is pushsrc, not GstElement.
3393
3394 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3395
3396         * gst/gstpreset.c:
3397           Plug a leak and fix saving.
3398
3399 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3400
3401         * docs/gst/gstreamer-sections.txt:
3402         Add new gst_preset__get_property_names() function to the docs
3403         to fix the build.
3404
3405 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3406
3407         * gst/gstpreset.c:
3408         * gst/gstpreset.h:
3409           Change _get_preset_names API to return a strv with copies. Add
3410           _get_property_names to allow implementations to filter and provide
3411           good default implementation.
3412
3413 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3414
3415         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3416         script (sdp).
3417
3418 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3419
3420         * gst/gstpreset.c:
3421           More cleanups, docs, and TODOs from comments that now slowly come in.
3422
3423 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3424
3425         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3426         search path.
3427
3428 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3429
3430         * gst/gstpreset.c:
3431           Fix bogus warning and make the property type specific code more
3432           similar.
3433
3434 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3435
3436         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3437         it build on OS X.
3438
3439 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3440
3441         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3442         (gst_bin_add_func), (gst_bin_remove_func),
3443         (gst_bin_change_state_func), (gst_bin_continue_func):
3444         Change email, cleanups add some more debug and comments.
3445         Also set bus and clock on new elements when the pipeline was in error.
3446
3447 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3448
3449         * gst/gstbin.c:
3450         * gst/gstdebugutils.c:
3451           Fix build with --disable-gst-debug. Fixes #497859.
3452           Spotted by Sameer Naik.
3453
3454 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3455
3456         * gst/gstevent.c:
3457           Little documentation improvment.
3458
3459         * gst/gstpreset.c:
3460           More TODO cleanups. Remove c++ comments.
3461
3462         * libs/gst/controller/gstcontroller.c:
3463           Add TODO and use quark from static string.
3464
3465         * tests/check/gst/gstmessage.c:
3466         * tests/check/gst/gststructure.c:
3467           Use quark from static string.
3468
3469 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3470
3471         * gst/gstpreset.c:
3472           Add some comments and TODOs.
3473
3474         * gst/gstpreset.h:
3475           Add padding for future changes.
3476
3477         * plugins/elements/gstqueue.c:
3478           Implement the iface.    
3479
3480 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3481
3482         * docs/gst/gstreamer-docs.sgml:
3483         * docs/gst/gstreamer-sections.txt:
3484         * docs/gst/gstreamer.types.in:
3485         * gst/Makefile.am:
3486         * gst/gst.h:
3487         * gst/gstpreset.c:
3488         * gst/gstpreset.h:
3489           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3490
3491 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3492
3493         * configure.ac:
3494
3495         Back to CVS
3496
3497 === release 0.10.15 ===
3498
3499 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3500
3501         * configure.ac:
3502           releasing 0.10.15, "October"
3503
3504 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3505
3506         * win32/vs6/libgstreamer.dsp:
3507         Convert line endings back to DOS.
3508
3509 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3510
3511         * docs/design/draft-tagreading.txt:
3512         * docs/random/ensonic/profiling.txt:
3513         Update fast tagreading draft and performance profiling ideas.
3514
3515 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3516
3517         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3518         Don't hold the object lock when unreffing a buffer because it could
3519         cause a deadlock when the finalize function wants to grab the object
3520         lock too. Fixes #495133.
3521
3522 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3523
3524         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3525         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3526         Also accumulate time correctly when doing reverse playback. Fixes
3527         #488201,
3528         When converting to running and stream time, use default values for
3529         start/stop/time/accum when comparing different formats. Fixes #494245.
3530
3531         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3532         Do running/stream time in TIME format.
3533
3534         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3535         (gst_segment_suite):
3536         2 new unit tests for segment accumulation.
3537
3538 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3539
3540         * gst/gst.c: (init_pre):
3541         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3542           (_gst_debug_bin_to_dot_file):
3543           Move getenv() back into gst_init, so everyone can live happily
3544           ever after. Make sure the symbol isn't exported though.
3545
3546 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3547
3548         Patch by: Sebastien Moutte  <sebastien moutte net>
3549
3550         * win32/common/gstenumtypes.c:
3551         * win32/common/gstenumtypes.h:
3552           Update enum types.
3553
3554         * win32/vs6/libgstreamer.dsp:
3555           Update vs6 project files (#494343).
3556
3557 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3558
3559         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3560         (gst_base_src_perform_seek), (gst_base_src_default_event),
3561         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3562         (gst_base_src_activate_pull):
3563         Unify flushing code, remove some old unlock code that is no longer used.
3564         Take the streaming lock when seeking to avoid races. Fixes #492729.
3565         Added some more comments.
3566
3567 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3568
3569         * gst/gst.c: (_gst_disable_segtrap):
3570           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3571           we can use gst_segtrap_is_enabled() there now that we have that API.
3572           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3573           to do the getenv here (and export the variable).
3574
3575         * gst/gstdebugutils.c: (debug_dump_element),
3576           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3577           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3578
3579         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3580           (gst_debug_log_default):
3581           Rename _gst_info_start_time to priv_gst_info_start_time so it
3582           doesn't get exported (was never in any header).
3583
3584         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3585           (gst_plugin_loading_mutex):
3586           Make static mutex gst_plugin_loading_mutex really static (was never
3587           in any header), and use gst_segtrap_is_enabled() instead of
3588           _gst_disable_segtrap.
3589
3590         * gst/gsttrace.c: (_gst_trace_default):
3591           Make local _gst_trace_default static (was never in any header).
3592
3593 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3594
3595         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3596
3597         * win32/common/libgstbase.def:
3598         * win32/common/libgstcontroller.def:
3599         * win32/common/libgstdataprotocol.def:
3600         * win32/common/libgstnet.def:
3601         * win32/common/libgstreamer.def:
3602           Add more missing symbols, remove some duplicates, and sort
3603           as the 'sort' command sorts it (partially fixes #493983).
3604
3605 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3606
3607         * gst/gstelement.c: (gst_element_set_state_func):
3608         Only change the state cookie if a different state was set on the
3609         element. See #492729.
3610
3611 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3612
3613         * gst/gstvalue.c:
3614           Remove unused and uninitialised type variables that were still
3615           exported for some reason (they were never in any header files
3616           though).
3617
3618 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3619
3620         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3621         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3622         (gst_base_sink_event), (gst_base_sink_get_position_last),
3623         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3624         (gst_base_sink_change_state):
3625         Don't try to report a 0 position when we don't know, return -1 and FALSE
3626         instead. This mostly happens when we are prerolling.
3627         Make sure we can report the right position before we post the ASYNC_DONE
3628         message so that a message handler can query position without races.
3629
3630         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3631         (async_done_handoff), (async_done_func), (send_buffer),
3632         (async_done_eos_func), (gst_sinks_suite):
3633         Add two tests for the above.
3634
3635 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3636
3637         * MAINTAINERS:
3638         Update with new email address.
3639
3640         * docs/design/part-TODO.txt:
3641         Add some more info about future pad-block and negotiation changes.
3642
3643         * docs/design/part-buffering.txt:
3644         Add some ideas about buffering reporting.
3645
3646 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
3647
3648         * tests/check/gst/gstobject.c:
3649         Disable silly racy test that always fails on this combination of CPU
3650         and kernel.
3651
3652 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3653
3654         Patch by: Murray Cumming  <murrayc@murrayc.com>
3655
3656         * gst/gstobject.c:
3657           Corrected the registration of the parent-set and parent-unset
3658           signals: The parameter is a GstObject, not a GObject (#493134).
3659
3660 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3661
3662         * gst/gst_private.h:
3663         * gst/gstbuffer.h:
3664         * gst/gstevent.h:
3665         * gst/gstformat.h:
3666         * gst/gstmessage.h:
3667         * gst/gstplugin.h:
3668         * gst/gstquery.h:
3669         * gst/gsttaglist.h:
3670         * gst/gstvalue.h:
3671           Move declaration of private _gst_foo_initialize() functions into
3672           our private header file where they should have been all along.
3673
3674 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3675
3676         * docs/plugins/gstreamer-plugins-sections.txt:
3677         * gst/gstdebugutils.h:
3678         * gst/gstxml.h:
3679         * plugins/elements/gstqueue.c:
3680           gtk-doc fixes; trailing-comma-in-enum fix.
3681
3682 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3683
3684         * gst/gst.c: (gst_deinit):
3685           Clean up on deinit (not the external ones though, doesn't seem to be
3686           needed for some reason).
3687
3688 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3689
3690         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3691           Remove __declspec(dllimport) for MSVC that was copied over into core
3692           from a plugin, obviously without ever having been tested (note the
3693           single underscore in _declspec in the initial commit), and that doesn't
3694           really make sense.  See #492077.
3695
3696 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3697
3698         * gst/gst.c: (init_post):
3699         * gst/gstevent.c: (_gst_event_initialize):
3700         * gst/gstquery.c: (_gst_query_initialize):
3701         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3702           g_type_class_ref() other types as well, see #349410 and #64764.
3703
3704         * gst/gstbuffer.c: (_gst_buffer_initialize):
3705         * gst/gstmessage.c: (_gst_message_initialize):
3706           Simplify existing g_type_class_ref().
3707
3708 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3709
3710         * gst/gstformat.c: (_gst_format_initialize):
3711           g_type_class_ref() our GstFormat type to make sure we avoid the
3712           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3713           bug #64764. Should fix intermittent tee unit test failures (#474823).
3714
3715 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3716
3717         * tests/check/elements/tee.c: (test_num_buffers):
3718           Simplify, simplify, simplify - or not.  Rewrite unit test
3719           not to use gst_parse_launch(); allow N sub-streams. Increasing
3720           the number of sub-streams seems to reproduce #474823 more easily.
3721
3722 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3723
3724         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3725
3726         * gst/gsttrace.c:
3727         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3728         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3729         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3730           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3731           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3732           so use _pipe() directly (#492077).
3733
3734         * win32/common/dirent.c: (_treaddir):
3735           Add a couple of casts to make it build without warnings with MSVC.
3736
3737         * win32/common/libgstreamer.def:
3738           Add some more symbols that need to be exported.
3739
3740 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3741
3742         * tests/examples/metadata/read-metadata.c: (message_loop):
3743           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3744           arriving in a second or third tag message are added to
3745           the tag list as well.
3746
3747 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
3748
3749         * libs/gst/base/gstbasesrc.c:
3750           Its "Since:" and not "@Since:". And remove an superflous cast.
3751
3752 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
3753
3754         * docs/libs/gstreamer-libs-sections.txt:
3755         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3756         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3757         (gst_base_sink_get_property), (gst_base_sink_render_object),
3758         (gst_base_sink_preroll_object),
3759         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3760         (gst_base_sink_change_state):
3761         * libs/gst/base/gstbasesink.h:
3762         Add a new last-buffer property that contains the last buffer used in
3763         basesink for preroll or rendering. useful for making snapshots.
3764         API: gst_base_sink_get_last_buffer()
3765         API: GstBaseSink::last-buffer
3766
3767 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3768
3769         * docs/gst/running.xml:
3770         * gst/gst.c:
3771         * gst/gstdebugutils.c:
3772         * gst/gstdebugutils.h:
3773         * tools/gst-launch.c:
3774           Improve bin graph dumping, by using the envvar to specify a path.
3775           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3776
3777 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
3778
3779         * plugins/elements/gsttypefindelement.c:
3780           (gst_type_find_element_handle_event),
3781           (gst_type_find_element_activate):
3782           Post special error message if we can't determine the type of a stream
3783           because it's empty.
3784
3785 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3786
3787         * docs/gst/running.xml:
3788         * gst/gstdebugutils.c:
3789           Document new env-var. Add one log-line after dumpng a graph.
3790
3791 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
3792
3793         * configure.ac:
3794           Ugly hack to put the (recently removed and non-portable, apparently)
3795           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3796           GNU ld, because without that 'make check' fails miserably on my debian
3797           stable box.  Someone with more knowledge of linker intricacies and
3798           portability issues than me fix this properly please.
3799
3800 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
3801
3802         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3803         Reset last seen position after flushing so that we don't report the old
3804         position anymore.
3805
3806 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3807
3808         * gst/gstelementfactory.c: (gst_element_register):
3809         * gst/gsturi.h:
3810         Patch from Alessandro Decina adding get_type_full and
3811         get_protocols_full private vfuncs to the URIHandler interface
3812         to allow bindings to support creating URI handlers. 
3813         Partially fixes: #339279
3814         API: GstURIHandlerInterface::get_type_full
3815         API: GstURIHandlerInterface::get_protocols_full
3816
3817 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3818
3819         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3820         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3821         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3822         Make it so that pads are considered linked until a buffer is pushed
3823         and discovered otherwise. This avoids problems with decodebin2 hanging
3824         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3825         case.
3826
3827         Make sure we lock the multiqueue when updating the max-size properties.
3828         
3829         Fix a crash on Solaris in a debug statement in get_request_pad that
3830         passes a NULL string to GST_DEBUG. 
3831
3832         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3833         (run_output_order_test):
3834         Fix the test to allow the first buffer on not-linked pads to come out
3835         of sequence while multiqueue discovers that they are not-linked.
3836
3837 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3838
3839         * configure.ac:
3840         * libs/gst/check/Makefile.am:
3841         Use a custom export symbol regex for libgstcheck, as it needs
3842         to export symbols that don't match the standard GStreamer gst_*
3843         pattern, and  --export-dynamic is not portable (only works on 
3844         GNU ld)
3845
3846         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3847         (gst_check_setup_sink_pad):
3848         Make sure to pass a message parameter to the fail_* macros.
3849
3850         * tests/check/gst/gstinfo.c: (GST_START_TEST):
3851         Fix some compiler warnings.
3852
3853 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
3854
3855         * tests/check/gst/gststructure.c: (test_to_string):
3856           Disable test that checks that white spaces are not allowed
3857           in structure names or field names, since we need to
3858           support that for now for backwards compatibility reasons.
3859
3860 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3861
3862         * docs/gst/gstreamer-sections.txt:
3863         * gst/gsttaglist.c:
3864         * gst/gsttaglist.h:
3865           API: add GST_TAG_ARTIST_SORTNAME
3866           API: add GST_TAG_ALBUM_SORTNAME
3867           API: add GST_TAG_TITLE_SORTNAME
3868           Add tag variants for sorting (#414539).
3869
3870 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3871
3872         * gst/gststructure.c:
3873           Also allow white space for names so we don't break
3874           backwards compatibility.
3875
3876 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
3877
3878         * docs/design/part-TODO.txt:
3879         * docs/design/part-segments.txt:
3880         * docs/design/part-streams.txt:
3881         Small updates.
3882
3883 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3884
3885         * docs/gst/gstreamer-sections.txt:
3886          Fixed documentation from my previous commit (added new API add
3887          gst_value_set_structure(), add gst_value_get_structure() and
3888          GST_VALUE_HOLDS_STRUCTURE).
3889
3890 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
3891
3892         * gst/gstdebugutils.c:
3893           Reflow code to fix uninitialized variable warning.
3894
3895 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3896
3897         * gst/gstcaps.c: (gst_caps_to_string),
3898         (gst_caps_from_string_inplace):
3899         * gst/gststructure.c: (gst_structure_get_abbrs),
3900         (gst_structure_to_string), (gst_structure_from_string):
3901         * gst/gstvalue.c: (gst_value_set_structure),
3902         (gst_value_get_structure), (gst_value_serialize_structure),
3903         (gst_value_deserialize_structure), (_gst_value_initialize):
3904         * gst/gstvalue.h:
3905         * tests/check/gst/gststructure.c: (GST_START_TEST),
3906         (gst_structure_suite):
3907         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3908          Added GstStructure to gst_value_table and its related functions.
3909          Changed gst_structure_to_string to print ';' in the end.
3910          Changed gst_caps_to_string to not print ';' beteween its
3911          fields (structures) anymore and remove the lastes ';' from latest
3912          structure. Now it is possible to have nested structures.
3913          In addition, backward compatibilty is assured by accepting '\0' as
3914          end delimiter. Fixes: #487969.
3915          API: add gst_value_set_structure()
3916          API: add gst_value_get_structure()
3917          API: add GST_VALUE_HOLDS_STRUCTURE
3918
3919 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
3920
3921         * gst/gstbus.c:
3922           When no GSource callback has been set up, tell developer
3923           to use a function that actually exists.
3924
3925 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
3926
3927         * docs/gst/gstreamer-sections.txt:
3928         * gst/Makefile.am:
3929         * gst/gst.c:
3930         * gst/gst.h:
3931         * gst/gstdebugutils.c:
3932         * gst/gstdebugutils.h:
3933         * gst/gstinfo.c:
3934         * gst/gstinfo.h:
3935         * tools/gst-launch.c:
3936           Allow dumping pipelines as dot graphs. Fixes #456573.
3937
3938 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3939
3940         * gst/gststructure.c:
3941           Allow '+' as well, it can be part of media or mime types
3942           such as image/svg+xml.
3943
3944 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3945
3946         * docs/gst/gstreamer-sections.txt:
3947         * gst/gstbus.c:
3948         * gst/gstbus.h:
3949           API: add gst_bus_pop_filtered
3950           API: add gst_bus_timed_pop_filtered
3951           Two new functions for waiting for specific message types on the
3952           bus for a specified amount of time without iterating any main
3953           loops or main contexts.
3954
3955         * tests/check/gst/gstbus.c:
3956           Some tests for the new functions.
3957
3958 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3959
3960         * docs/libs/gstreamer-libs-sections.txt:
3961           Make gtk-doc ignore stuff it should ignore.
3962
3963 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3964
3965         * libs/gst/check/gstcheck.c:
3966         * libs/gst/check/gstcheck.h:
3967           Allow runtime selection of unit tests to run via the GST_CHECKS
3968           environment variable (test case function names, comma-separated).
3969
3970 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
3971
3972         * gst/gststructure.c:
3973         * tests/check/gst/gststructure.c:
3974           Revert serialisation change and constrain structure-names after
3975           consensus on irc. Update api documentation to reflect the change.
3976
3977 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
3978
3979         * gst/gststructure.c:
3980           Improve serialization and fix tests.
3981
3982         * tests/check/gst/gststructure.c:
3983           Add another test that covers why I actually did the previous structure
3984           change.
3985
3986 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
3987
3988         * tools/gst-inspect.c: (print_element_info):
3989         Don't crash when inspecting an element.
3990
3991 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3992
3993         * tests/check/gst/gststructure.c:
3994           Add unit test for escaping of structure name when serialising
3995           and deserialising to/from strings.
3996
3997 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
3998
3999         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4000         (gst_single_queue_new):
4001         * plugins/elements/gstqueue.c: (gst_queue_init),
4002         (gst_queue_push_one):
4003         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4004         upstream is tricked into thinking it can suggest a format downstream
4005         while downstream does not support that format. The real problem is that
4006         core calls acceptcaps when pushing a buffer with new caps, for which we
4007         do a little workaround by setting the caps on the srcpad ourselves
4008         before pushing the buffer (until this is figured out). Fixes #486758.
4009
4010 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4011
4012         * gst/gststructure.c:
4013         * gst/gstvalue.c:
4014           Add some more comments and debug output. Quote structure name to fix
4015           deserialisation of some strings.
4016
4017 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4018
4019         * gst/gstbuffer.h:
4020           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4021           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4022
4023 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4024
4025         * tools/gst-inspect.c:
4026           Save approx. 400 1 byte allocs when printing. Use API to acces element
4027           details.
4028
4029         * tools/gst-run.c:
4030           Avoid a strdup.
4031
4032         * tools/gst-xmlinspect.c:
4033           Use API to acces element details.
4034
4035 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4036
4037         * gst/gstinfo.c:
4038           Fix some spelling errors.
4039
4040 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4041
4042         * gst/gstbin.c: (bin_handle_async_done):
4043         Correctly set the next state if all of our async children commited their
4044         state. This makes sure we can actually cancel the state change in
4045         progress. Fixes a regression in Rhythmbox when seeking.
4046
4047 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4048
4049         * gst/gstbin.c:
4050           Don't shadow local variable.
4051
4052         * gst/gstinfo.c:
4053           Don't shadow global function name.
4054
4055 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4056
4057         * gst/gstelementfactory.c:
4058         * gst/gstpluginfeature.c:
4059         * gst/gstpluginfeature.h:
4060         * gst/gstregistrybinary.c:
4061         * gst/gstregistryxml.c:
4062         * gst/gsttypefind.c:
4063           Use already-interned string for the private GstPluginFeature
4064           plugin_name field.
4065
4066 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4067
4068         * docs/libs/gstreamer-libs-sections.txt:
4069           Add new API to docs; fixes the build.
4070
4071 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4072         
4073         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4074
4075         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4076         (gst_base_sink_event):
4077         * libs/gst/base/gstbasesink.h:
4078         Add function to wait for EOS, subclasses can use this to correctly wait
4079         for devices to drain before performing the EOS logic. Fixes #485343.
4080         API: gst_base_sink_wait_eos()
4081
4082 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4083
4084         * gst/gstplugin.h:
4085           Cast description string constants in GST_PLUGIN_DEFINE macros
4086           to a (gchar*) to make C++ code using these macros compile
4087           without warning with g++-4.2 (see #462737).  Even if slightly
4088           ugly, this seems preferable to putting the description strings
4089           into the GLib quark table or making the structure member a
4090           const gchar * and doing casts in core code that allocs and
4091           frees these strings, or requiring a cast in the C++ code.
4092
4093 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4094
4095         * gst/gstinfo.h:
4096           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4097           to print the entire class/function signature into the log
4098           file for C++ code.  This only affects C++ code, for C code
4099           everything remains the same.
4100
4101 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4102
4103         * gst/gstbin.c: (remove_from_queue):
4104         Work around a problem with pipelines containing (semi)loops until a
4105         proper, more complicated solution is ready. See #475455.
4106
4107 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4108
4109         * gst/gstplugin.c:
4110         * gst/gstplugin.h:
4111         * gst/gstregistrybinary.c:
4112         * gst/gstregistryxml.c:
4113           Put more strings into the GLib quark table. No need to keep
4114           a hundred-something copies of identical version strings,
4115           license strings, package name strings and package origin
4116           strings around. 
4117
4118 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4119
4120         * docs/manual/advanced-dataaccess.xml:
4121           Don't imply that it's okay to unconditionally change
4122           buffer data or buffer metadata in a pad probe callback,
4123           and a bunch of other comments. Fixes #430031.
4124
4125 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4126
4127         * win32/common/gstenumtypes.c:
4128         * win32/common/gstenumtypes.h:
4129         * win32/common/gstversion.h:
4130           Update generated files.
4131
4132 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4133
4134         * docs/manual/advanced-autoplugging.xml:
4135           Prefix section with broken code with a warning (see #342432).
4136
4137 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4138
4139         * docs/manual/appendix-integration.xml:
4140         * docs/manual/basics-init.xml:
4141           Call g_thread_init() before g_option_context_new() to
4142           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4143
4144 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4145
4146         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4147         (gst_base_sink_queue_object_unlocked),
4148         (gst_base_sink_queue_object), (gst_base_sink_event),
4149         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4150         When we received EOS and are waiting for when to post the EOS message,
4151         our state is prerolled and we should not return ASYNC.
4152         Reorganize some code paths to implement this behavior.
4153
4154         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4155         (gst_sinks_suite):
4156         Add unit test to verify above EOS fix.
4157
4158 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4159
4160         * plugins/elements/gsttypefindelement.c:
4161         (gst_type_find_element_have_type), (gst_type_find_element_init),
4162         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4163         Move detecting the input caps of the sinkpad to the setcaps function.
4164         This allows us to update the output caps when we receive new input caps
4165         instead of always using the first detected caps.
4166
4167 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4168
4169         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4170         (gst_base_sink_get_position):
4171         Don't try to preroll non-async elements after a flush.
4172         Subtract latency form clock times when reporting position.
4173
4174 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4175
4176         * gst/gstpad.c: (gst_pad_pause_task):
4177         * gst/gstutils.c:
4178         Small comment and documentation update.
4179
4180 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4181
4182         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4183         (gst_base_src_set_live), (gst_base_src_is_live),
4184         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4185         (gst_base_src_default_event), (gst_base_src_wait),
4186         (gst_base_src_do_sync), (gst_base_src_get_range),
4187         (gst_base_src_pad_get_range), (gst_base_src_loop),
4188         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4189         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4190         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4191         (gst_base_src_change_state):
4192         Rework the locking of basesrc in a similar fashion to basesink. We
4193         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4194         us to handle live sources and semi live ones much better.
4195         Simplify flushing.
4196         Fix unlocking when seeking, shutting down and pausing in live sources.
4197
4198 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4199
4200         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4201         Fix compilation again.
4202
4203 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4204
4205         * gst/gstelement.c:
4206           Use meaningful categories for the logs to clean the default one.
4207
4208 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4209
4210         * tests/check/pipelines/cleanup.c:
4211           Print message name and not just number.
4212
4213 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4214
4215         * docs/design/draft-tagreading.txt:
4216           Add some more thoughts.
4217
4218 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4219
4220         * tests/check/pipelines/simple-launch-lines.c:
4221           Print message name and not just number.
4222
4223 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4224
4225         * libs/gst/base/gsttypefindhelper.c:
4226           Speedup typefinding. This is work in progress (see #459862).
4227
4228 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4229
4230         * gst/gstplugin.c:
4231           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4232           Spotted by Josep Torra Valles <josep@fluendo.com>.
4233
4234 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4235
4236         * gst/gstclock.h:
4237           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4238           field has moved to GstObject.
4239
4240 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4241
4242         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4243         (gst_base_src_get_range), (gst_base_src_change_state):
4244         Call unlock for live sources so that they can't get stuck in _create and
4245         produce a buffer before they are set back to PLAYING.
4246
4247 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4248
4249         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4250         (gst_queue_locked_dequeue):
4251         Comment the segment-related code... in the PROPER function.
4252         See #482147 and my commit from yesterday.
4253
4254 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4255
4256         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4257         Also initialize the counter that calculates the first timestamp on a
4258         buffer correctly for non-live sources.
4259
4260 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4261
4262         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4263         Disable code that's breaking the current-time-level reporting.
4264         See #482147
4265
4266 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4267
4268         * docs/gst/gstreamer-sections.txt:
4269         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4270         as they shouldn't show up. Fixes the docs build.
4271
4272 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4273         
4274         * gst/gstinfo.h:
4275         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4276         Define M_PI which is used in files which are including gstinfo.h. 
4277         VS6 includes doesn't define it.
4278         * win32/common/libgstbase.def:
4279         * win32/common/libgstcontroller.def:
4280         * win32/common/libgstreamer.def:
4281         Add new exported functions and variables.
4282         * win32/vs6/libgstcontroller.dsp:
4283         * win32/vs6/libgstreamer.dsp:
4284         Update the list of files to build.
4285         
4286 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4287
4288         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4289
4290         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4291         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4292         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4293         Improve debugging. Fixes #480858.
4294
4295 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4296
4297         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4298
4299         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4300         First patch of code cleanups, use the macros and right arguments in the
4301         macros to signal and lock the queue. See #480858.
4302
4303 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4304
4305         * gst/gstbus.c: (poll_func):
4306         Improve debugging when dealing with _poll().
4307
4308 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4309
4310         * gst/gstregistryxml.c:
4311           Fix memory leak I introduced a few days ago.
4312
4313 2007-09-26  Michael Smith <msmith@fluendo.com>
4314
4315         * gst/gstbuffer.c: (gst_buffer_finalize):
4316           Make it once again possible to free GstBuffers in the default
4317           build.
4318           The poisoning scribbles on parts of the miniobject we need in
4319           order to free it.
4320           Fixes #480341
4321
4322 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4323
4324         * docs/gst/gstreamer-sections.txt:
4325         * gst/gsttaglist.c:
4326         * gst/gsttaglist.h:
4327         API: add GST_TAG_COMPOSER, fixes #459809.
4328
4329 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4330
4331         * gst/gstplugin.c:
4332         * gst/gstplugin.h:
4333         Add the 3-clause BSD license and the MIT/X11 license to the license
4334         list. Fixes #479784.
4335
4336 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4337
4338         * docs/faq/getting.xml:
4339           Add Q+A about different GStreamer versions (#364056).
4340
4341 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4342
4343         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4344         (gst_base_sink_event), (gst_base_sink_change_state):
4345         Return correct gboolean from query function.
4346
4347 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4348
4349         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4350         (gst_base_sink_event), (gst_base_sink_query),
4351         (gst_base_sink_change_state):
4352         Simplify latency query.
4353         When not synchronizing, we can report latency without querying the peer
4354         element.
4355
4356 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4357
4358         * gst/gstobject.h:
4359         * gst/gstvalue.c:
4360         Fix small typos in the docs.
4361
4362 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4363
4364         * docs/design/draft-latency.txt:
4365         * docs/design/draft-push-pull.txt:
4366         * docs/design/draft-tagreading.txt:
4367         * docs/design/part-MT-refcounting.txt:
4368         * docs/design/part-activation.txt:
4369         * docs/design/part-block.txt:
4370         * docs/design/part-element-source.txt:
4371         * docs/design/part-events.txt:
4372         * docs/design/part-gstbin.txt:
4373         * docs/design/part-gstelement.txt:
4374         * docs/design/part-gstobject.txt:
4375         * docs/design/part-gstpipeline.txt:
4376         * docs/design/part-messages.txt:
4377         * docs/design/part-preroll.txt:
4378         * docs/design/part-push-pull.txt:
4379         * docs/design/part-qos.txt:
4380         * docs/design/part-query.txt:
4381         * docs/design/part-scheduling.txt:
4382         * docs/design/part-seeking.txt:
4383         * docs/design/part-segments.txt:
4384         * docs/design/part-states.txt:
4385         Documentation updates and typo fixes.
4386
4387 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4388
4389         * plugins/elements/gstfakesink.c:
4390           Add some debug text to error message to indicate that
4391           we errored out on request.
4392
4393         * tools/gst-launch.c:
4394           When the state change to PLAYING fails, check for an
4395           error message on the bus and print it.
4396
4397 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4398
4399         translated by: Jorge González González <aloriel@gmail.com>
4400
4401         * po/LINGUAS:
4402         * po/es.po:
4403           Added Spanish translation.
4404
4405 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4406
4407         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4408         Fix printf arguments.
4409
4410 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4411
4412         * tests/check/generic/states.c:
4413           Improved state change unit test.
4414
4415 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4416
4417         * gst/gstbin.h:
4418           Move priv to the right place.
4419
4420         * gst/gstsystemclock.c:
4421           Add FIXME: and improve log.
4422
4423         * tests/check/Makefile.am:
4424         * tests/examples/manual/Makefile.am:
4425           Work with all types of registries.
4426
4427 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4428
4429         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4430         Don't unref the event after pushing it. Fixes #478401.
4431
4432 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4433
4434         * .cvsignore:
4435         * tests/examples/manual/.cvsignore:
4436           Ignore registries in any format.
4437
4438 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4439
4440         * gst/glib-compat-private.h:
4441           Add compatibility macro for g_intern_string() for
4442           GLib-2.8 (any reason we can't just bump the
4443           requirement to at least 2.10?)
4444
4445         * gst/gstpadtemplate.h:
4446         * gst/gstelementfactory.c:
4447         * gst/gstregistryxml.c:
4448         * gst/gstregistrybinary.c:
4449           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4450           up the internal code accordingly.  This shouldn't be a problem, since
4451           there is no reason external code could ever assume the string in such
4452           a structure is dynamically allocated unless it did that itself;  the
4453           use of g_strdup() is private to element factories.  The new code also
4454           saves some memory by putting pad template name strings into the GLib
4455           quark table instead of allocating them dynamically.
4456           Declaring this field constant fixes warnings with g++-4.2 when using
4457           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4458
4459 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4460
4461         * gst/gstelementfactory.c:
4462           Release static caps. Fixes #475723.
4463
4464 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4465
4466         * gst/gstinfo.c:
4467         * gst/gstinfo.h:
4468           Make some internal API take const gchar * instead of just
4469           gchar * to avoid compiler warnings with g++-4.2.2 when
4470           passing string constants (partially fixes #478092).
4471
4472 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4473
4474         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4475         A latency query fails when one of the sinks fail.
4476
4477         * gst/gstelement.c: (gst_element_set_base_time):
4478         Improve debugging.
4479
4480 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4481
4482         * gst/gstbin.c: (gst_bin_continue_func):
4483         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4484         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4485         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4486
4487         Fix minor compilation warnings shown with Forte.
4488
4489 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4490
4491         * plugins/elements/gstqueue.c: (apply_buffer),
4492         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4493         Measure queue level based on the diff between head and tail timestamps
4494         even when pushing the first buffer.
4495
4496 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4497
4498         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4499         (gst_base_sink_event), (gst_base_sink_change_state):
4500         Sinks that don't preroll can always be queried for the latency.
4501         Don't post ASYNC start when we are not async.
4502
4503 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4504
4505         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4506         (gst_queue_handle_sink_event), (gst_queue_chain),
4507         (gst_queue_push_one), (gst_queue_handle_src_query),
4508         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4509         * plugins/elements/gstqueue.h:
4510         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4511         push more buffers but allow pushing of EOS and NEWSEGMENT.
4512         Add some more debug info here and there. Fixes #476514.
4513
4514 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4515
4516         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4517         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4518         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4519         (gst_base_sink_set_flushing), (gst_base_sink_query),
4520         (gst_base_sink_change_state):
4521         Latency query is allowed after we are prerolled. Introduce a new flag
4522         for this and stop abusing other variables.
4523
4524 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4525
4526         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4527         Push OOB events downstream when we get them in send_event. This allows
4528         the application to insert events in the pipeline.
4529         Add some more comments.
4530
4531 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4532
4533         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4534         (do_bin_latency), (gst_bin_change_state_func):
4535         * gst/gstpipeline.c: (gst_pipeline_change_state):
4536         Move latency query from GstPipeline to GstBin so that we can also
4537         use it when async-handling is enabled on bins.
4538
4539 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4540
4541         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4542         (gst_base_src_do_sync), (gst_base_src_change_state):
4543         Update docs.
4544         Clean up the timestamping and syncing code for pseudo live sources.
4545
4546 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4547
4548         Patch by: Steve Fink  <sphink gmail com>
4549
4550         * docs/manual/appendix-checklist.xml:
4551           Mention less -R switch in the section about debug output (#474055).
4552
4553 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4554
4555         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4556         Queue can latency to the pipeline up to the configured max size in time.
4557         Report this fact in the latency query.
4558
4559 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4560
4561         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4562
4563         * libs/gst/controller/gstinterpolation.c:
4564         * libs/gst/controller/gstlfocontrolsource.c:
4565         Use gst_guint64_to_gdouble() when converting from a uint64 or
4566         GstClockTime to double to fix the build on win32. Fixes #474371.
4567
4568 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4569
4570         * gst/gstbuffer.c: (gst_buffer_finalize):
4571         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4572         When finalizing a buffer the complete struct is filled with 0xff,
4573         thus making a use of the buffer after the final unref impossible.
4574
4575 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4576
4577         * tests/check/libs/controller.c: (GST_START_TEST):
4578         Use fail_unless_equals_int(a, b) instead of
4579         fail_unless_equals (a == b) to get better output on failures.
4580
4581 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4582
4583         * tests/check/gst/gsturi.c:
4584           Also check for the other file URI variant on win32.
4585
4586 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4587
4588         * gst/gsturi.c: (gst_uri_get_location):
4589           If there's no hostname, we want to return 'c:/foo/bar.txt'
4590           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4591
4592         * tests/check/gst/gsturi.c:
4593           Unit test for the above and a few more things.
4594
4595 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4596
4597         * docs/design/part-live-source.txt:
4598         Add docs on how live sources should timestamp.
4599
4600         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4601         Add some more debug info.
4602         For subclasses that are live and like to sync, add aditional startup
4603         latency to sync time and timestamps so that we timstamp according to the
4604         design doc.
4605
4606 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4607
4608         * gst/gstbuffer.c:
4609           Also do a g_type_class_ref() for the subbuffer type in
4610           the init function.
4611
4612 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4613
4614         * docs/gst/gstreamer-sections.txt:
4615         * gst/gstpad.c: (gst_pad_peer_query):
4616         * gst/gstpad.h:
4617         Add function to perform a query on the peer of a pad.
4618         API: gst_pad_peer_query()
4619
4620 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4621
4622         * tests/check/gst/gstsystemclock.c:
4623           Cleanup the test a little (use gst-logging and not g_message). Improve
4624           test to check if a wait reached the target.
4625
4626 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4627
4628         * docs/libs/gstreamer-libs-sections.txt:
4629           Add new API to docs and fix the build.
4630
4631 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
4632
4633         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4634         (gst_base_src_init), (gst_base_src_set_do_timestamp),
4635         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4636         (gst_base_src_get_property), (gst_base_src_do_sync):
4637         * libs/gst/base/gstbasesrc.h:
4638         Add property to make the basesrc timestamp buffers based on the current
4639         running time.
4640         API: GstBaseSrc::do-timestamp
4641         API: gst_base_src_set_do_timestamp()
4642         API: gst_base_src_get_do_timestamp()
4643
4644 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
4645
4646         * docs/random/release:
4647           Really make sure translations are up-to-date before
4648           a release (#465010).
4649
4650 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
4651
4652         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4653         Always destroy the timer, also in error cases.
4654
4655 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4656
4657         * docs/manual/highlevel-xml.xml:
4658         Fix XML example code. Fixes #472714.
4659
4660 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4661
4662         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4663         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4664         (gst_base_sink_query):
4665         Protect eos and have_preroll with the OBJECT lock so we don't need to
4666         take the PREROLL lock when querying the latency. Fixes #473846.
4667
4668 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
4669
4670         * gst/gstelement.c:
4671           Give some log-messages a category.
4672
4673 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
4674
4675         * gst/gststructure.c:
4676         (gst_structure_fixate_field_nearest_fraction):
4677         Fix fraction list fixation code. Take the fraction with the smallest
4678         difference with the target instead of the first one in the list.
4679
4680         * tests/check/gst/gststructure.c: (GST_START_TEST),
4681         (gst_structure_suite):
4682         Added test to verify correct fraction list fixation behaviour.
4683
4684 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
4685
4686         * win32/common/libgstreamer.def:
4687           Export gst_bus_add_signal_watch too.
4688
4689 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
4690
4691         * docs/libs/gstreamer-libs-sections.txt:
4692         Add new methods to docs.
4693
4694         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4695         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4696         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4697         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4698         * libs/gst/base/gstbasesink.h:
4699         Add ts-offset property to fine-tune the synchronisation.
4700         API: GstBaseSink::ts-offset property
4701         API: gst_base_sink_set_ts_offset()
4702         API: gst_base_sink_get_ts_offset()
4703
4704 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
4705
4706         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4707         (gst_base_sink_init), (gst_base_sink_set_sync),
4708         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4709         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4710         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4711         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4712         (gst_base_sink_get_property), (gst_base_sink_change_state):
4713         * libs/gst/base/gstbasesink.h:
4714         Add async property to instruct the sink never to inform the parent about
4715         ASYNC state changes, update docs.
4716         Check argument with g_return_* for the public functions.
4717         API: GstBaseSink::async property
4718         API: gst_base_sink_set_async_enabled()
4719         API: gst_base_sink_is_async_enabled()
4720
4721 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
4722
4723         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4724         Improve debugging.
4725
4726         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4727         (gst_base_src_default_query), (gst_base_src_wait),
4728         (gst_base_src_do_sync), (gst_base_src_change_state):
4729         Rearrange some code so that we can add support for measuring the 
4730         startup latency.
4731
4732 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
4733
4734         * docs/random/ensonic/dynlink.txt:
4735           More thoughs on this.
4736
4737         * plugins/elements/gstcapsfilter.c:
4738           Add bugzilla ticket number to FIXME comment.
4739
4740 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
4741
4742         * docs/design/part-TODO.txt:
4743         * docs/design/part-block.txt:
4744         Update some docs.
4745
4746 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4747
4748         * gst/Makefile.am:
4749           Revert patch which uses $(gst_headers) instead of $^ because it
4750           breaks make dist.
4751
4752 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4753
4754         * tests/check/gst/gstbin.c: (GST_START_TEST):
4755           Fix leaks in the new unit test.
4756
4757 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
4758
4759         * gst/gst.c:
4760           Don't use GST_INFO before the debug system is actually initialised
4761           (shouldn't do any harm, but won't print anything either, so we can
4762           just as well remove it).
4763
4764         * gst/gstinfo.h:
4765           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4766           compilers that don't support variadic macros (such as MSVC), should
4767           check for debug_level <= __gst_debug_min as well, since that's the
4768           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4769           inline helper functions. Should improve performance a bit, but also
4770           makes sure uses of GST_INFO et.al are ignored if the debugging
4771           system isn't initialised yet (instead of printing an assertion
4772           failure).
4773
4774 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
4775
4776         patch by: David Nečas <yeti@physics.muni.cz>
4777
4778         * gst/Makefile.am:
4779           Replace some non portable makefile constructs.
4780
4781 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
4782
4783         * common/gtk-doc-plugins.mak:
4784           Grrrrr. Don't remove the types file on make clean.
4785
4786 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
4787
4788         * tools/gst-launch.1.in:
4789         Add colorspace to example pipeline. Fixes #458274.
4790
4791 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
4792
4793         * docs/random/release:
4794           The release manager should run 'make download-po' before making a
4795           release to make sure translations are up-to-date.
4796
4797         * po/LINGUAS:
4798         * po/be.po:
4799         * po/pl.po:
4800         * po/rw.po:
4801           Add some new translations.
4802
4803 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
4804
4805         * tools/gst-launch.c: (event_loop), (main):
4806         Don´t try to do any state management when a live pipeline posts
4807         buffering messages.
4808         Also make the buffering string translatable.
4809
4810 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4811
4812         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4813         (bin_handle_async_start), (gst_bin_handle_message_func):
4814         Improve debugging.
4815         When adding elements, insert messages into the bus of the newly added
4816         element and make sure the element is the source of the message. This
4817         allows the parent bin to intercept the message and do the
4818         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4819         messages to the app (which is not allowed).
4820         Update some docs.
4821
4822         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4823         Fix testsuite so that is does not work around messages that should not
4824         have been posted in the first place.
4825
4826 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4827
4828         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4829         (update_degree), (gst_bin_sort_iterator_next):
4830         Fix annoying bug in the sorted iterator where a sink that is not really
4831         a sink (when it has downstream links) screwed up the iterator.
4832
4833         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4834         Unit test to verify the fix.
4835
4836 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4837
4838         * gst/gstmessage.h:
4839         Add some more docs for the messages.
4840
4841         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4842         (gst_base_sink_query):
4843         Add some more debugging.
4844
4845         * tools/gst-launch.c: (event_loop):
4846         When interrupting, don't try to set pipeline to PAUSED twice.
4847
4848 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4849
4850         
4851         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4852         (bin_handle_async_start), (gst_bin_handle_message_func):
4853         Move ASYNC_START message posting to where it belongs, similar to
4854         async_done. 
4855         Don't post ASYNC_START when we are in error. 
4856         Post ASYNC_START when we added an async element to a bin.
4857
4858 2007-08-14  Julien MOUTTE  <julien@moutte.net>
4859
4860         * gst/gstindex.c: (gst_index_add_association): Fix index entry
4861         generation from vargs. Fixes #466595.
4862
4863 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4864
4865         * gst/gstbin.c: (gst_bin_element_set_state):
4866         Always change the state of a NO_PREROLL element even if it has ASYNC
4867         elements inside (in case of a bin).
4868
4869         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4870         Unit test for this case.
4871
4872 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
4873
4874         * libs/gst/check/gstbufferstraw.c:
4875         * libs/gst/check/gstcheck.h:
4876         * libs/gst/controller/gstcontroller.c:
4877         * libs/gst/controller/gstcontrolsource.h:
4878         * libs/gst/controller/gstlfocontrolsource.h:
4879         * plugins/elements/gstcapsfilter.h:
4880         * plugins/elements/gstfdsink.h:
4881         * plugins/elements/gstfdsrc.h:
4882           Add more missing docs.
4883
4884 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4885
4886         * gst/gststructure.c:
4887         Add Since tag to docs.
4888
4889 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4890
4891         * docs/gst/gstreamer-sections.txt:
4892         * gst/gststructure.c: (gst_structure_get_uint):
4893         * gst/gststructure.h:
4894         Add function to get uint from a structure.
4895         API: gst_structure_get_uint()
4896
4897 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4898
4899         * gst/gstcaps.c: (gst_caps_set_simple_valist),
4900         (gst_caps_intersect):
4901         Fix proper check for simple caps.
4902
4903 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
4904
4905         * docs/gst/Makefile.am:
4906         * docs/libs/Makefile.am:
4907           Remove cruft and do some cleanups.
4908
4909         * docs/gst/gstreamer-docs.sgml:
4910         * docs/libs/gstreamer-libs-docs.sgml:
4911           Prepare for comming gtkdoc features (rebase against online docs).
4912
4913 2007-08-10  Michael Smith <msmith@fluendo.com>
4914
4915         * docs/gst/gstreamer-sections.txt:
4916           Add gst_registry_add_path to docs.
4917
4918 2007-08-10  Michael Smith <msmith@fluendo.com>
4919
4920         * gst/gstregistry.h:
4921           Add gst_registry_add_path, which was missing from this header.
4922
4923 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
4924
4925         * libs/gst/controller/gstlfocontrolsource.c:
4926           Printf format fix.
4927
4928 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
4929
4930         * libs/gst/base/gstbasesink.c:
4931           Don't send an async_start message during downwards state change if 
4932           target state is less than READY
4933
4934 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4935
4936         translated by: Gabor Kelemen <kelemeng@gnome.hu>
4937
4938         * po/LINGUAS:
4939         * po/hu.po:
4940           Added Hungarian translation.
4941
4942 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4943
4944         * po/fi.po:
4945         * po/it.po:
4946         * po/nl.po:
4947         * po/sv.po:
4948         * po/uk.po:
4949           Updated translations.
4950
4951 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
4952
4953         * libs/gst/controller/Makefile.am:
4954         Dist gstlfocontrolsourceprivate.h
4955
4956 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
4957
4958         * docs/libs/gstreamer-libs.types:
4959         Don't register the enum type gst_lfo_waveform_get_type() in the
4960         .types file - only GObject derived types belong.
4961
4962 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
4963
4964         Patch by: <arenevier at fdn dot fr>
4965
4966         * gst/gstbuffer.h:
4967         Remove comma from last element in enum to avoid compile errors when
4968         using -pendantic. Fixes #464366.
4969
4970 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
4971
4972         * docs/design/part-TODO.txt:
4973         Add some more TODO items
4974
4975         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
4976         Improve debugging.
4977
4978         * gst/gstcaps.c: (gst_caps_intersect):
4979         Optimize trivial intersection case between identical caps pointers.
4980
4981         * gst/gstelement.c: (gst_element_continue_state),
4982         (gst_element_set_state_func):
4983         * gst/gstpad.c:
4984         Fix spelling and grammar mistakes.
4985
4986 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
4987
4988         * po/POTFILES.in:
4989         * po/POTFILES.skip:
4990           Update POTFILES. Fixes #461599.
4991
4992 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
4993
4994         * gst/gst.c:
4995         Fix confusing typo in debug output.
4996
4997 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
4998
4999         reviewed by: Stefan Kost <ensonic@users.sf.net>
5000
5001         * libs/gst/controller/Makefile.am:
5002         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5003         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5004         (gst_lfo_control_source_new),
5005         (gst_lfo_control_source_set_waveform),
5006         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5007         (gst_lfo_control_source_finalize),
5008         (gst_lfo_control_source_dispose),
5009         (gst_lfo_control_source_set_property),
5010         (gst_lfo_control_source_get_property),
5011         (gst_lfo_control_source_class_init):
5012         * libs/gst/controller/gstlfocontrolsource.h:
5013         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5014         API: Add GstLFOControlSource, a control source that gives values
5015         for specific timestamps based on several periodic waveforms.
5016         Fixes #459717.
5017
5018         * tests/check/libs/controller.c: (GST_START_TEST),
5019         (gst_controller_suite):
5020         * docs/libs/gstreamer-libs-docs.sgml:
5021         * docs/libs/gstreamer-libs-sections.txt:
5022         * docs/libs/gstreamer-libs.types:
5023         Add documentation and unit tests for GstLFOControlSource.
5024
5025 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5026
5027         * configure.ac:
5028         Back to CVS
5029
5030 === release 0.10.14 ===
5031
5032 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5033
5034         * configure.ac:
5035           releasing 0.10.14, "Breathing Vacuum"
5036
5037 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5038
5039         * gst/gstelement.c: (gst_element_class_set_details_simple):
5040         * gst/gstelement.h:
5041           Make strings passed to gst_element_class_set_details_simple()
5042           constant, as they should be (#462752).
5043
5044 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5045
5046         * gst/gstbin.c: (gst_bin_change_state_func),
5047         (bin_handle_async_done), (gst_bin_handle_message_func):
5048         Don't forget about the fact that some element went ASYNC even after a
5049         resync. This makes us post the ASYNC_DONE message correctly.
5050         Fixes #462558.
5051
5052 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5053
5054         * gst/gstregistry.c: (gst_registry_add_feature):
5055         When replacing an existing feature in the registry, make sure to
5056         continue holding a reference until we've replaced the name string
5057         within our feature hash table. Make sure to use g_hash_table_replace
5058         instead of g_hash_table_insert to ensure the new name string is used
5059         as a key instead of the old one that we're about to free.
5060         Fixes: #462085
5061
5062 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5063
5064         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5065         (gst_plugin_feature_set_name):
5066         Revert patch from #459466 until after the release and we can work
5067         out exactly what the problem is (if any).
5068
5069 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5070
5071         * docs/gst/gstreamer-sections.txt:
5072         * gst/gsttaglist.c:
5073         * gst/gsttaglist.h:
5074           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5075
5076 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5077
5078         * docs/libs/Makefile.am:
5079         Include our build-prefix libs and includes before the generic ones to
5080         avoid linking against the installed libs when we want the build-tree
5081         ones.
5082
5083 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5084
5085         Patch by: Steve Fink  <sphink gmail com>
5086
5087         * docs/pwg/building-testapp.xml:
5088           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5089           if people try to build or install the example from the plugin
5090           template against a GStreamer from package using the configure
5091           defaults.
5092
5093 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5094
5095         Patch by: Steve Fink  <sphink gmail com>
5096
5097         * tools/gst-inspect.1.in:
5098           Document --print-all and --print-plugin-auto-install-info command
5099           line options in man page.
5100
5101 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5102
5103         * docs/gst/gstreamer-sections.txt:
5104         Add docs for new api function.
5105
5106 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5107
5108         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5109         * gst/gstelementfactory.h:
5110         API: gst_element_factory_has_interface()
5111         Added method to check if an element factory implements a named
5112         interface.
5113
5114 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5115
5116         * configure.ac:
5117         * docs/gst/gstreamer.types.in:
5118           Another conditional doc check.
5119
5120         * gst/gstmessage.c:
5121         * gst/gstparamspecs.h:
5122         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5123         * gst/gstvalue.c:
5124         * gst/gstxml.h:
5125           API-doc fixes.
5126
5127 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5128
5129         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5130         (gst_registry_binary_load_feature),
5131         (gst_registry_binary_load_plugin),
5132         (gst_registry_binary_read_cache):
5133           Print error just once and with additional info.
5134
5135 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5136
5137         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5138         (helper_find_suggest), (helper_find_get_length),
5139         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5140         (gst_type_find_helper_for_buffer):
5141           Cleanup the typefindhelper code and add private doc comments.
5142
5143 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5144
5145         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5146         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5147         Fix capsfilter for cases where the caps set on capsfilter will provide
5148         additional information.
5149         Fixes #449197
5150
5151 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5152
5153         * gst/gsttypefindfactory.c:
5154           Fix docs that recommened wrong function to use.
5155
5156 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5157
5158         * tools/gst-inspect.c: (print_plugin_features):
5159           Also give media-type for typefinders in element output.
5160
5161 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5162
5163         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5164         (gst_registry_remove_features_for_plugin_unlocked),
5165         (gst_registry_add_feature), (gst_registry_remove_feature),
5166         (gst_registry_lookup_feature_locked):
5167         * gst/gstregistry.h:
5168           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5169           Fixes #459501.
5170
5171 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5172
5173         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5174         (gst_plugin_feature_set_name):
5175           Avoid double memory usage for pluginfeature names. Fixes #459466.
5176
5177 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5178
5179         * gst/gstpad.h:
5180           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5181           driving the pipeline may need to explicitly check for NOT_LINKED as
5182           well, since IS_FATAL doesn't cover that.
5183
5184 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5185
5186         * docs/pwg/advanced-types.xml:
5187           Fix typo and duplicate entry in video formats list.
5188
5189 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5190
5191         * libs/gst/controller/gstinterpolation.c:
5192         Also round to the nearest int when using cubic interpolation.
5193
5194 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5195
5196         * libs/gst/controller/gstinterpolation.c:
5197         When linearly interpolating integer types, round to the nearest int
5198         by adding 0.5. Don't do it for float/double types.
5199         Fixes the failing controller test on my machine, which is somehow
5200         rounding differently than on the buildbots.
5201
5202 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5203
5204         * tools/gst-plot-timeline.py:
5205           Better log parsing (categories can have -). Adjust text vs. lines, so
5206           that they span the same y-range.        
5207
5208 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5209
5210         * docs/random/ensonic/audiobaseclasses.txt:
5211         * docs/random/ensonic/dynlink.txt:
5212         * docs/random/ensonic/profiling.txt:
5213           Save my thoughts.
5214
5215         * docs/random/moving-plugins:
5216           Add note to use g_assert type macros.
5217
5218 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5219
5220         * configure.ac:
5221         * libs/gst/check/Makefile.am:
5222           Add libm check as we use in for plugins.
5223
5224 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5225
5226         * gst/gstbin.c: (gst_bin_continue_func):
5227         Check that the state_cookie hasn't changed since the continue_func
5228         was scheduled. Avoids problems where the state changes back to
5229         something it shouldn't be because it was changed in the meantime.
5230
5231 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5232
5233         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5234         (gst_registry_binary_save_string),
5235         (gst_registry_binary_save_pad_template),
5236         (gst_registry_binary_save_feature),
5237         (gst_registry_binary_save_plugin),
5238         (gst_registry_binary_load_feature),
5239         (gst_registry_binary_load_plugin),
5240         (gst_registry_binary_read_cache):
5241           Fix memory leak. Be less verbose in the log.
5242
5243 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5244
5245         * tests/check/elements/.cvsignore:
5246         Add file to cvsignore as commanded.
5247
5248 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5249
5250         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5251         (mq_dummypad_event), (run_output_order_test):
5252         Use a GStaticMutex to protect all cases where libcheck
5253         fail_if/fail_unless macros might be called from multiple threads
5254         simultaneously to avoid errors like:
5255           "check_pack.c:107: :-1081725400:Bad message type arg"
5256
5257 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5258
5259         * tests/check/pipelines/stress.c: (GST_START_TEST):
5260         Make sure we set the pipeline back to the NULL state before
5261         dropping our final reference.
5262
5263 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5264
5265         * tests/check/elements/tee.c: (GST_START_TEST):
5266         Make the tee stress-test a little less stressful so it doesn't just
5267         time out on slow-machines, and remove a small race when it's starting 
5268         up by adding a get_state() call.
5269
5270 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5271
5272         * gst/gst.c:
5273           Avoid reading registry twice on startup. Fixes #457322.
5274
5275 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5276
5277         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5278         * pkgconfig/gstreamer-check.pc.in:
5279         Substitute the CFLAGS for libcheck into our .pc file too so that
5280         dependent modules will pick it up properly if libcheck is installed
5281         into some other prefix.
5282
5283 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5284
5285         * configure.ac:
5286         Revert the pkg-config check for libcheck, since it pulls in the
5287         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5288         a proper solution, either from the check project, or something else.
5289
5290 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5291
5292         * configure.ac:
5293           Use pkg-config to locate check.
5294
5295 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5296
5297         * gst/gsttaglist.c:
5298           Fix doc syntax.
5299
5300         * gst/gstutils.c:
5301         * gst/gstutils.h:
5302           Add deprecation guards.
5303
5304         * libs/gst/base/gstcollectpads.h:
5305           Don't document object (this is implicitly private).
5306
5307 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5308
5309         * gst/gststructure.c: (gst_structure_parse_value):
5310           When deserialising foo=bar without a type cast, check if it's a
5311           boolean before falling back to a string type, otherwise things like
5312           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5313           because the filtercaps end up having a signed=(string)true field,
5314           which causes problems later when intersection caps.
5315
5316         * tests/check/gst/gststructure.c: (GST_START_TEST):
5317           Add a unit test for this.
5318
5319 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5320
5321         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5322
5323         * libs/gst/controller/Makefile.am:
5324         * libs/gst/controller/gstcontroller.c:
5325         (gst_controlled_property_add_interpolation_control_source),
5326         (gst_controlled_property_new), (gst_controlled_property_free),
5327         (gst_controller_find_controlled_property),
5328         (gst_controller_new_valist), (gst_controller_new_list),
5329         (gst_controller_new), (gst_controller_remove_properties_valist),
5330         (gst_controller_remove_properties_list),
5331         (gst_controller_remove_properties),
5332         (gst_controller_set_property_disabled),
5333         (gst_controller_set_disabled), (gst_controller_set_control_source),
5334         (gst_controller_get_control_source), (gst_controller_get),
5335         (gst_controller_sync_values), (gst_controller_get_value_array),
5336         (_gst_controller_dispose), (gst_controller_get_type),
5337         (gst_controlled_property_set_interpolation_mode),
5338         (gst_controller_set), (gst_controller_set_from_list),
5339         (gst_controller_unset), (gst_controller_unset_all),
5340         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5341         * libs/gst/controller/gstcontroller.h:
5342         * libs/gst/controller/gstcontrollerprivate.h:
5343         * libs/gst/controller/gstcontrolsource.c:
5344         (gst_control_source_class_init), (gst_control_source_init),
5345         (gst_control_source_get_value),
5346         (gst_control_source_get_value_array), (gst_control_source_bind):
5347         * libs/gst/controller/gstcontrolsource.h:
5348         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5349         (gst_object_get_control_source):
5350         * libs/gst/controller/gstinterpolation.c:
5351         (gst_interpolation_control_source_find_control_point_node),
5352         (gst_interpolation_control_source_get_first_value),
5353         (_interpolate_none_get), (interpolate_none_get),
5354         (interpolate_none_get_boolean_value_array),
5355         (interpolate_none_get_enum_value_array),
5356         (interpolate_none_get_string_value_array),
5357         (_interpolate_trigger_get), (interpolate_trigger_get),
5358         (interpolate_trigger_get_boolean_value_array),
5359         (interpolate_trigger_get_enum_value_array),
5360         (interpolate_trigger_get_string_value_array):
5361         * libs/gst/controller/gstinterpolationcontrolsource.c:
5362         (gst_control_point_free), (gst_interpolation_control_source_reset),
5363         (gst_interpolation_control_source_new),
5364         (gst_interpolation_control_source_set_interpolation_mode),
5365         (gst_interpolation_control_source_bind),
5366         (gst_control_point_compare), (gst_control_point_find),
5367         (gst_interpolation_control_source_set_internal),
5368         (gst_interpolation_control_source_set),
5369         (gst_interpolation_control_source_set_from_list),
5370         (gst_interpolation_control_source_unset),
5371         (gst_interpolation_control_source_unset_all),
5372         (gst_interpolation_control_source_get_all),
5373         (gst_interpolation_control_source_get_count),
5374         (gst_interpolation_control_source_init),
5375         (gst_interpolation_control_source_finalize),
5376         (gst_interpolation_control_source_dispose),
5377         (gst_interpolation_control_source_class_init):
5378         * libs/gst/controller/gstinterpolationcontrolsource.h:
5379         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5380         API: Refactor GstController into the core controller which can take
5381         a GstControlSource for providing actual values for timestamps.
5382         Implement a interpolation control source and use this for backward
5383         compatibility, deprecate a bunch of functions that are now handled
5384         by GstControlSource or GstInterpolationControlSource.
5385         Make it possible to disable the controller completely or only for
5386         specific properties. Fixes #450711.
5387         * docs/libs/gstreamer-libs-docs.sgml:
5388         * docs/libs/gstreamer-libs-sections.txt:
5389         * docs/libs/gstreamer-libs.types:
5390         Add new functions and classes to the docs.
5391         * tests/check/libs/controller.c: (GST_START_TEST),
5392         (gst_controller_suite):
5393         * tests/examples/controller/audio-example.c: (main):
5394         Port unit test and example to the new API and add some new
5395         unit tests.
5396
5397 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5398
5399         Patch by: Mark Nauwelaerts <manauw at skynet be>
5400
5401         * plugins/elements/gstmultiqueue.c:
5402         (gst_multi_queue_get_internal_links), (apply_buffer),
5403         (single_queue_overrun_cb), (gst_single_queue_new):
5404         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5405         the pipeline layout can be tracked correctly. Fixes #453732.
5406
5407 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5408
5409         * docs/gst/Makefile.am:
5410         * docs/libs/Makefile.am:
5411         * docs/plugins/Makefile.am:
5412           Simplify --extra-dir as gtkdoc scans recursively.
5413
5414 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5415
5416         * tools/gst-launch.c: (main):
5417         When we got an error, there is no point in waiting for preroll when
5418         shutting down.
5419
5420 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5421
5422         * plugins/elements/gsttee.c: (gst_tee_base_init),
5423         (gst_tee_request_new_pad), (gst_tee_release_pad),
5424         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5425         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5426         (gst_tee_chain):
5427         Be a lot smarter when deciding what srcpad to use for proxying
5428         the buffer_alloc. Also handle pad added/removed when doing so.
5429         Fixes #357959.
5430         Keep track of what pads we already pushed on in case we have pads
5431         added/removed while pushing. Fixes #374639 
5432
5433         * tests/check/Makefile.am:
5434         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5435         (tee_suite):
5436         Added unit test for pad resync.
5437
5438 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5439
5440         * po/nl.po:
5441         * po/sv.po:
5442           Updated translations.
5443
5444 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5445
5446         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5447
5448         * po/LINGUAS:
5449         * po/fi.po:
5450           Added new Finnish translation.
5451
5452 2007-06-28  Wim Taymans  <wim@fluendo.com>
5453
5454         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5455         (single_queue_overrun_cb):
5456         When figuring out when a queue is filled, use our internal time estimate
5457         based on segments, just like check_full does.
5458
5459 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5460
5461         * gst/gstminiobject.c: (gst_mini_object_get_type):
5462           Remove 3 do-nothing methods.
5463
5464 2007-06-27  Wim Taymans  <wim@fluendo.com>
5465
5466         Patch by: Tim Angus <tim at ngus dot net>
5467
5468         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5469         (gst_capsfilter_set_property):
5470         Take a reference instead of a copy when setting "caps".
5471         Fix documentation to clarify this behaviour. Fixes #449414.
5472
5473 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5474
5475         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5476         * gst/gstplugin.c: (gst_plugin_init):
5477         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5478         * gst/gstquery.c: (gst_query_get_type):
5479         * gst/gstregistry.c: (gst_registry_init):
5480         * gst/gsturi.c: (gst_uri_handler_base_init):
5481           Remove empty instance_init() functions to save relocs and lessen the
5482           noise. Remove some of the function prototypes that are doubled by
5483           G_DEFINE_TYPE.
5484           
5485 2007-06-27  Wim Taymans  <wim@fluendo.com>
5486
5487         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5488
5489         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5490         Add peer and direction in the XML serialisation of ghostpads.
5491         Fixes #449226.
5492
5493 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5494
5495         * configure.ac:
5496           Preserve useful information, thanks Tim.
5497
5498 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5499
5500         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5501         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5502         (gst_single_queue_push_one), (gst_multi_queue_loop),
5503         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5504         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5505         (compute_high_id), (gst_single_queue_new):
5506         * plugins/elements/gstmultiqueue.h:
5507         Take the multiqueue lock when updating the fill level so we don't get
5508         confused. 
5509
5510         After applying a buffer or event on the src pad segment, make sure to
5511         call gst_data_queue_limits_changed() to get the data queue to unblock
5512         and check the filled state again.
5513         
5514         Rework the not-linked pad handling so the logic is that not-linked 
5515         pads can push as fast as they like, but only so they never get 
5516         ahead of any linked pads.
5517
5518         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5519         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5520         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5521
5522         Add a test to check that not-linked pads always stay behind
5523         linked pads.
5524
5525         Fixes: #430682
5526
5527 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5528
5529         * docs/random/release:
5530           Some updates to the release procedure.
5531
5532 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5533
5534         * gst/gstelementfactory.c: (__gst_element_details_clear):
5535           Microoptimization that saves stunning 80 bytes.
5536
5537 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5538
5539         * docs/plugins/gstreamer-plugins.args:
5540         * docs/plugins/inspect/plugin-coreelements.xml:
5541         * docs/plugins/inspect/plugin-coreindexers.xml:
5542           Update docs with caps info.
5543
5544 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5545
5546         * po/it.po:
5547           Updated Italian translation.
5548
5549 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5550
5551         * ChangeLog:
5552         * po/vi.po:
5553           Update Vietnamese translations.
5554
5555 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5556
5557         * libs/gst/base/gstbasesink.c:
5558           Remove unused signal enum.
5559
5560 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5561
5562         * docs/gst/gstreamer-sections.txt:
5563         * gst/gstelement.c:
5564         * gst/gstutils.c: (gst_type_register_static_full):
5565         Beef up and include the docs for gst_type_register_static_full and
5566         gst_element_class_set_details_simple and add the API keyword
5567         in the ChangeLog.
5568
5569 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5570
5571         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5572         (update_time_level), (gst_single_queue_push_one),
5573         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5574         (single_queue_overrun_cb), (single_queue_underrun_cb),
5575         (single_queue_check_full):
5576         Fix setting max-* properties after adding queues.
5577         Use IS_FILLED for checking visible items.
5578         Signal overrun if multiple queues overrun.
5579         Add extra debug output.
5580         Patch by: Wim Taymans <wim@fluendo.com>
5581
5582 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5583
5584         * gst/gstelement.c: (gst_element_class_set_details_simple):
5585         * gst/gstelement.h:
5586         * gst/gstutils.c: (gst_type_register_static_full):
5587         * gst/gstutils.h:
5588         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5589         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5590         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5591         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5592         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5593         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5594         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5595         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5596         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5597         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5598         (apply_buffer), (gst_queue_chain):
5599         * plugins/elements/gsttee.c: (gst_tee_base_init):
5600         * plugins/elements/gsttypefindelement.c:
5601         (gst_type_find_element_base_init),
5602         (gst_type_find_element_class_init):
5603           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5604           API: add gst_type_register_static_full
5605           API: add gst_element_class_set_details_simple
5606
5607 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5608
5609         * docs/pwg/advanced-types.xml:
5610           Fix typo in iana.org URI.
5611
5612 2007-06-19  Andy Wingo  <wingo@pobox.com>
5613
5614         * tests/check/pipelines/simple-launch-lines.c
5615         (test_state_change_returns): Enable pull-mode tests now that
5616         basesink has been fixed.
5617
5618         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5619         Changed from gst_base_sink_is_prerolled, reversing the sense of
5620         the return value. Returns FALSE also if the sink is in pull mode,
5621         in which case it needs no preroll.
5622         (gst_base_sink_query, gst_base_sink_change_state): Update for
5623         needs_preroll change.
5624         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5625         chaining up, in which we return SUCCESS directly if we activated
5626         in pull mode instead of ASYNC. Involves countering an async_start
5627         message sent before chaining up; not sure if this is correct, in
5628         an ideal world we only send async-start when activating in push
5629         mode.
5630
5631         * tests/check/pipelines/simple-launch-lines.c
5632         (test_state_change_returns): New test, partially disabled until
5633         basesink is fixed.
5634
5635 2007-06-19  Wim Taymans  <wim@fluendo.com>
5636
5637         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5638         (gst_multi_queue_sink_event):
5639         Fix event leak.
5640
5641 2007-06-19  Wim Taymans  <wim@fluendo.com>
5642
5643         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5644         (gst_bin_change_state_func), (bin_push_state_continue),
5645         (bin_handle_async_start), (bin_handle_async_done),
5646         (gst_bin_handle_message_func):
5647         Move the common code for posting state-change messages into
5648         one function.
5649         Broadcast the state signal after we posted the messages.
5650         Mark the bin as busy when it's doing a state-change.
5651         Make sure async-start/done messages don't interfere with the bin's
5652         state when it's busy.
5653         After the state change, let the bin check which elements completed the
5654         state change while it was busy so that it can update its state.
5655
5656 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
5657
5658         * docs/random/release:
5659         Add a note about updating the doap file to the release checklist
5660
5661 2007-06-18  Wim Taymans  <wim@fluendo.com>
5662
5663         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5664         (gst_single_queue_push_one), (gst_multi_queue_chain),
5665         (gst_multi_queue_sink_event):
5666         Make sure we don't reference the buffer/event after we have given away
5667         ownership in the queue.
5668
5669 2007-06-18  Wim Taymans  <wim@fluendo.com>
5670
5671         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5672         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5673         Update queue state _after_ adding the item in the queue because else we
5674         could end up being full without the element added yet.
5675
5676 2007-06-18  Wim Taymans  <wim@fluendo.com>
5677
5678         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5679         (gst_bin_remove_func), (gst_bin_get_state_func),
5680         (gst_bin_element_set_state), (gst_bin_continue_func),
5681         (bin_push_state_continue), (bin_handle_async_start),
5682         (bin_handle_async_done), (gst_bin_handle_message_func):
5683         * gst/gstbin.h:
5684         Immediatly commit the toplevel bin state when receiving an async-done
5685         message. This enables us to avoid spawning a thread to commit the state
5686         in some common cases and it also avoids some races.
5687         Avoid spawning a state thread when adding/removing async elements to a
5688         toplevel bin. Instead we immediatly update the bin state.
5689         Get rid of iterating all the children when getting the state in the bin
5690         because it is now always up-to-date.
5691         Fix bug where locked elements would always return _SUCCESS even it they
5692         returned NO_PREROLL before being locked.
5693         Fix the order of the state_change, async-start/done messages that was
5694         sometimes incorrect.
5695         Mark the state_dirty field as deprecated, we don't need it anymore as we
5696         are always up-to-date.
5697
5698         * gst/gstelement.c: (gst_element_get_state_func),
5699         (gst_element_continue_state):
5700         Small debug inprovements.
5701         Return the previous element state return when nothing is pending instead
5702         of blindly returning SUCCESS.
5703
5704         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5705         (gst_sinks_suite):
5706         Add a whole bunch of new testcases.
5707
5708 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5709
5710         * po/uk.po:
5711         * po/vi.po:
5712           Update translations.
5713
5714 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
5715
5716         * gst/gstpad.c:
5717         Fix typo in the docs.
5718
5719 2007-06-15  Wim Taymans  <wim@fluendo.com>
5720
5721         * docs/libs/gstreamer-libs-sections.txt:
5722         Add docs for new methods.
5723
5724 2007-06-15  Wim Taymans  <wim@fluendo.com>
5725
5726         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5727         (gst_multi_queue_item_new):
5728         Don't use GSlice because we don't depend on >= 2.10 yet.
5729
5730 2007-06-15  Wim Taymans  <wim@fluendo.com>
5731
5732         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5733         (update_time_level), (apply_segment), (apply_buffer),
5734         (gst_single_queue_push_one), (gst_multi_queue_item_new),
5735         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5736         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5737         (single_queue_underrun_cb), (single_queue_check_full):
5738         Remove debug printf.
5739
5740 2007-06-15  Wim Taymans  <wim@fluendo.com>
5741
5742         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5743         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5744         (gst_data_queue_set_flushing), (gst_data_queue_push),
5745         (gst_data_queue_pop), (gst_data_queue_drop_head),
5746         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5747         * libs/gst/base/gstdataqueue.h:
5748         Various cleanups.
5749         Added methods to get the current levels and to inform the queue that the
5750         'full' limits changed.
5751
5752         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5753         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5754         (gst_single_queue_flush), (update_time_level), (apply_segment),
5755         (apply_buffer), (gst_single_queue_push_one),
5756         (gst_multi_queue_item_steal_object),
5757         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5758         (gst_multi_queue_loop), (gst_multi_queue_chain),
5759         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5760         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5761         (gst_multi_queue_src_query), (single_queue_overrun_cb),
5762         (single_queue_underrun_cb), (single_queue_check_full),
5763         (gst_single_queue_new):
5764         Keep track of time in the queue by measuring the difference between
5765         running_time on input and output. This gives more accurate results and
5766         can compensate for segments correctly.
5767         Make a queue by default only 5 buffers deep. We will now increase the
5768         buffer size depending on the filledness of the other queues.
5769         Factor out commong flush code.
5770         Make sure we don't add additional refcounts to buffers when we can avoid
5771         it.
5772         Propagate GstFlowReturn differently.
5773         Use GSlice for intermediate GstMultiQueueItems.
5774         Keep track of EOS.
5775         Resize queues on over and underruns based on filled level of other
5776         queues.
5777         When checking if the queue is filled, prefer to measure in time if we
5778         can and fall back to bytes when no time is known.
5779
5780         * plugins/elements/gstqueue.c:
5781         Fix return value.
5782
5783 2007-06-15  Wim Taymans  <wim@fluendo.com>
5784
5785         * libs/gst/base/gstbasetransform.c:
5786         (gst_base_transform_sink_event):
5787         Work around the brokenness of the event vmethod in basetransform. Prefer
5788         to return TRUE when the subclass returned FALSE (meaning don't forward
5789         the event). 
5790
5791         * libs/gst/base/gstbasetransform.h:
5792         Clarify the docs.
5793
5794 2007-06-15  Wim Taymans  <wim@fluendo.com>
5795
5796         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5797         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5798         (gst_base_src_default_query), (gst_base_src_get_range),
5799         (gst_base_src_start):
5800         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5801         Improve debugging.
5802
5803 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5804
5805         * docs/pwg/advanced-types.xml:
5806           Added more formats to caps table.
5807
5808 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5809
5810         * tools/gst-launch.c: (main):
5811           Remove crufy code. GOption does not need this workaround.
5812
5813 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5814
5815         * libs/gst/controller/gstcontroller.c:
5816         (gst_controlled_property_set_interpolation_mode):
5817           Fix wrong getter for enums in controller.
5818
5819 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5820
5821         * libs/gst/check/gstcheck.c: (gst_check_init):
5822           Intercept criticals and warnings in the Gst-Phonon log domain, so
5823           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5824           well.
5825         
5826 2007-06-14  Edward Hervey  <edward@fluendo.com>
5827
5828         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5829         Since this file doesn't include "gst.h" it will not go through the
5830         macros that disable GST_LOG if debugging was disabled.
5831
5832 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5833
5834         * libs/gst/check/Makefile.am:
5835         * libs/gst/check/gstcheck.h:
5836         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5837         * pkgconfig/gstreamer-check.pc.in:
5838           Ugly 'fix' for the controller unit test on the p5 bot: in
5839           fail_unless_equals_float() check whether the values are 'almost
5840           equal' by allowing a small absolute error, which should be good
5841           enough for our use cases (normal numbers and values close to 0).
5842           Proper fixage left to floating point arithmetic aficionados.
5843
5844 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5845
5846         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5847         (gst_base_sink_render_object), (gst_base_sink_get_position):
5848           Add two breaks thats where missing.
5849
5850 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5851
5852         * docs/libs/gstreamer-libs-sections.txt:
5853         * libs/gst/check/gstcheck.h:
5854           API: add fail_unless_equals_float() and assert_equals_float().
5855           Add documentation for some of the macros.
5856
5857         * tests/check/libs/controller.c: (GST_START_TEST):
5858           Use newly-added asserts.
5859
5860 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5861
5862         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5863           Show the caps change in the log to help spotting the case of not
5864           exactly matching caps.
5865
5866 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5867
5868         * docs/pwg/building-boiler.xml:
5869           Fix typos, spotted by Thijs Vermeir (#447190).
5870
5871 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5872
5873         * docs/plugins/tmpl/.cvsignore:
5874         Ignore file to keep the buildbots happy
5875
5876 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5877
5878         * docs/plugins/Makefile.am:
5879         * docs/plugins/gstreamer-plugins-docs.sgml:
5880         * docs/plugins/gstreamer-plugins-sections.txt:
5881         Pull fdsink into the docs too.
5882
5883 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
5884
5885         * libs/gst/controller/gstinterpolation.c:
5886         Actually use the new functions with min/max checks for the trigger and
5887         none interpolation modes for get() and get_value_array() instead of
5888         just the latter.
5889
5890 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
5891
5892         * libs/gst/controller/gstcontroller.c:
5893         (gst_controlled_property_free):
5894         Unset the minimum and maximum GValues when freeing the corresponding
5895         GstControllerProperty struct.
5896
5897 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
5898
5899         * libs/gst/controller/gstcontroller.c:
5900         (gst_controlled_property_new):
5901         * libs/gst/controller/gstcontrollerprivate.h:
5902         * libs/gst/controller/gstinterpolation.c:
5903         (gst_controlled_property_find_control_point_node),
5904         (interpolate_none_get), (interpolate_none_get_enum_value_array),
5905         (interpolate_none_get_string_value_array),
5906         (interpolate_trigger_get),
5907         (interpolate_trigger_get_enum_value_array),
5908         (interpolate_trigger_get_string_value_array):
5909         Protect against values larger or smaller than the minimum or maximum
5910         allowed value for the property when using values that can be compared.
5911
5912         Optimize trigger interpolator a bit by taking the last requested value
5913         into account instead of always looping through the complete list.
5914
5915         Fix coding style a bit, everywhere else we use "return foo" instead
5916         of "return (foo)".
5917         
5918         * tests/check/libs/controller.c: (GST_START_TEST),
5919         (gst_controller_suite):
5920         Add unit test for the protection against too large or too small
5921         values.
5922
5923 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
5924
5925         * docs/random/slomo/controller.txt:
5926         Add some thoughts about the future of the controller.
5927
5928 2007-06-08  Wim Taymans  <wim@fluendo.com>
5929
5930         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5931         Don't overflow in retimestamping code.
5932
5933 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
5934
5935         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
5936         Use gst_util_guint64_to_gdouble for conversions.
5937         * win32/common/libgstreamer.def:
5938         Add new exported functions.
5939
5940 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
5941
5942         * gst/gstutils.c:
5943           Small docs addition.
5944
5945 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5946
5947         * README:
5948           Remove that test line again.
5949
5950 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5951
5952         * README:
5953           Test commit mail sending.
5954
5955 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5956
5957         * configure.ac:
5958           Fix typo and test commit mail sending.
5959
5960 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5961
5962         * tests/examples/controller/audio-example.c:
5963           Improve comment and test commit mail sending.
5964
5965 2007-06-07  Wim Taymans  <wim@fluendo.com>
5966
5967         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
5968         (gst_bin_remove_func), (gst_bin_element_set_state),
5969         (bin_handle_async_start), (bin_handle_async_done),
5970         (gst_bin_handle_message_func):
5971         Add helper function to find messages.
5972         Generate the async-done messages together with the state change
5973         messages.
5974         Small cleanups in handling toplevel bins.
5975
5976 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
5977
5978         * libs/gst/base/gstdataqueue.c:
5979         * libs/gst/base/gstdataqueue.h:
5980         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5981         (gst_multi_queue_item_new), (gst_multi_queue_chain),
5982         (gst_multi_queue_sink_event):
5983         * tests/check/elements/multiqueue.c: (multiqueue_suite):
5984           Fix multiqueue leaking buffers and events when downstream or the
5985           queue are flushing. Make refcounting assumptions explicit and
5986           document them (shouldn't break existing code that uses it other than
5987           maybe leak miniobjects, but that already happens anyway). Add unit
5988           test for the most common flushing case. Fixes #423700.
5989           
5990 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
5991
5992         * libs/gst/controller/gstcontroller.c:
5993         Clarify docs: The get_all, get_value_array(s) functions
5994         don't modify the GObject properties.
5995
5996 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
5997
5998         * libs/gst/controller/gstcontroller.c:
5999         (gst_controlled_property_set_interpolation_mode),
6000         (gst_controlled_property_prepend_default),
6001         (gst_controlled_property_new), (gst_controller_set_unlocked),
6002         (gst_controller_set), (gst_controller_set_from_list),
6003         (gst_controller_unset), (gst_controller_unset_all):
6004         * libs/gst/controller/gstcontrollerprivate.h:
6005         * libs/gst/controller/gstinterpolation.c:
6006         Factor out the 'set' logic into gst_controller_set_unlocked for the
6007         gst_controller_set and gst_controller_set_from_list functions.
6008
6009         To make life of the interpolators easier always add a control point
6010         at timestamp zero with the default value.
6011
6012         In the linear interpolator make things more obvious by better variable
6013         naming (slope).
6014
6015         Implement cubic interpolation mode (by using a natural cubic spline)
6016         and map the quadratic interpolation mode to this too (as quadratic
6017         doesn't make much sense, see discussion on the list).
6018
6019         * tests/check/libs/controller.c: (GST_START_TEST),
6020         (gst_controller_suite):
6021         Add unit test for the cubic interpolation mode and check everywhere
6022         if the interpolation mode could be set as expected.
6023
6024 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6025
6026         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6027           Don't use GLib-2.10 functions, we still depend on
6028           GLib-how-old-is-it-again-2.8.
6029
6030 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6031
6032         * docs/gst/gstreamer-sections.txt:
6033         * gst/Makefile.am:
6034         * gst/gst.c:
6035         * gst/gst.h:
6036         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6037         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6038         (_gst_param_fraction_values_cmp),
6039         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6040         * gst/gstparamspecs.h:
6041         * gst/gstvalue.c:
6042         * tests/check/Makefile.am:
6043         * tests/check/gst/.cvsignore:
6044         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6045         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6046         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6047         (GST_START_TEST), (gst_param_spec_suite):
6048           API: add GstParamSpecFraction, so elements can have fraction
6049           properties without lots of painful string parsing (#444648).
6050
6051 2007-06-05  Wim Taymans  <wim@fluendo.com>
6052
6053         * gst/gstobject.c: (gst_object_class_init):
6054         Fix signal signature.
6055
6056         * gst/gstsegment.c:
6057         Add small clarification in the api docs.
6058
6059         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6060         States are protected with object lock.
6061
6062 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6063
6064         * AUTHORS:
6065         I should probably be listed as an author by now.
6066
6067         * docs/random/release:
6068         Update the release doc
6069
6070 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6071
6072         * gst/gstvalue.c:
6073           Make docs for gst_value_compare() mention return enums that
6074           actually exist.
6075
6076 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6077
6078         * configure.ac:
6079           Back to CVS
6080
6081 === release 0.10.13 ===
6082
6083 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6084
6085         * configure.ac:
6086           releasing 0.10.13, "With or without you"
6087
6088 2007-05-25  Wim Taymans  <wim@fluendo.com>
6089
6090         * gst/gstbin.c: (bin_handle_async_done):
6091         Make sure that the child bin stops after completing the async state
6092         change so that the parent can continue the state change to PLAYING.
6093         Fixes #441159.
6094
6095 2007-05-25  Wim Taymans  <wim@fluendo.com>
6096
6097         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6098         (unref_data), (gst_collect_pads_remove_pad),
6099         (gst_collect_pads_check_pads):
6100         Use additional refcounting to avoid crashes when dynamically adding and
6101         removing pads. Fixes #420206.
6102
6103 2007-05-24  Wim Taymans  <wim@fluendo.com>
6104
6105         * tools/gst-launch.c: (event_loop):
6106         When buffering goes from a two digit to a single digit number, make sure
6107         to remove the old second digit by writing a blank over it.
6108
6109 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6110
6111         * libs/gst/base/gstdataqueue.c:
6112           Eliminate tabs and trailing comma in enum list; fix some typos.
6113
6114 2007-05-24  Wim Taymans  <wim@fluendo.com>
6115
6116         * tests/check/gst/gstbin.c: (GST_START_TEST):
6117         Allow refcount of 3 and 4 because some state thread might still be busy
6118         with it.
6119
6120 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6121
6122         * plugins/elements/Makefile.am:
6123         * plugins/elements/gstmultiqueue.h:
6124         * plugins/elements/gstqueue.h:
6125           These are not installed headers, no need for padding.
6126
6127 2007-05-24  Wim Taymans  <wim@fluendo.com>
6128
6129         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6130         (gst_bin_continue_func):
6131         Enable latency for next release.
6132         Restore STATE_LOCK around recalc_state that was left out during the
6133         rewrite and could result in racy behaviour when _get_state and
6134         recalc_state are run concurrently. See #440463.
6135
6136 2007-05-23  Wim Taymans  <wim@fluendo.com>
6137
6138         * tests/check/gst/gstsystemclock.c: (store_callback),
6139         (GST_START_TEST):
6140         Improve test_async_order to also work when both timers are already
6141         expired when we get scheduled to check it.
6142
6143 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6144
6145         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6146         (gst_bin_set_property), (gst_bin_get_property),
6147         (gst_bin_remove_func), (gst_bin_handle_message_func):
6148         * gst/gstbin.h:
6149           'private' is a c++ keyword, let's not use that in header files,
6150           otherwise c++ compilers will throw a tantrum.
6151
6152 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6153
6154         * plugins/elements/gstelements.c:
6155         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6156         (gst_file_sink_get_current_offset):
6157         * plugins/indexers/gstindexers.c: (plugin_init):
6158           Use #ifdef for HAVE_XYZ for consistency.
6159
6160         * tests/check/Makefile.am:
6161         * tests/check/elements/.cvsignore:
6162         * tests/check/elements/filesink.c: (setup_filesink),
6163         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6164           Add some unit tests for filesink.
6165
6166 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6167
6168         Patch by: Mark Nauwelaerts <manauw at skynet be>
6169
6170         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6171         (gst_file_sink_query), (gst_file_sink_do_seek),
6172         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6173         * plugins/elements/gstfilesink.h:
6174           Fix position reporting; rename data_written member to current_pos to
6175           reflect its real meaning (fixes #412648).
6176
6177 2007-05-22  Edward Hervey  <edward@fluendo.com>
6178
6179         * docs/gst/gstreamer-sections.txt:
6180         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6181         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6182         (gst_bin_remove_func), (gst_bin_handle_message_func):
6183         * gst/gstbin.h:
6184         Add a property for bins that handle the state change of their childs.
6185         Fixes #435880
6186
6187 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6188
6189         * libs/gst/controller/gstinterpolation.c:
6190         Use an array of the correct type when using _get_value_array with
6191         linear interpolation.
6192
6193 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6194
6195         * gst/gstelement.c (gst_element_requires_clock,
6196           gst_element_provides_clock, gst_element_request_pad,
6197           gst_element_class_set_details, gst_element_class_set_details_simple,
6198           gst_element_default_send_event, gst_element_abort_state,
6199           gst_element_continue_state, gst_element_set_state,
6200           gst_element_set_state_func, iterator_activate_fold_with_resync):
6201         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6202           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6203           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6204           gst_pad_get_range, gst_pad_pull_range):
6205         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6206           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6207           GstPadActivateModeFunction, GstPadChainFunction,
6208           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6209           GstPadFixateCapsFunction, GstPadTemplate):
6210         * gst/gstpipeline.c (gst_pipeline_change_state,
6211           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6212           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6213           gst_pipeline_get_delay):
6214           Whitespace and docs fixes.
6215
6216 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6217
6218         * libs/gst/controller/gstinterpolation.c:
6219         (interpolate_trigger_get_enum_value_array),
6220         (interpolate_trigger_get_string_value_array):
6221         Add support for retrieving value arrays when using the trigger
6222         interpolation mode. 
6223
6224 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6225
6226         * libs/gst/controller/gstcontroller.c:
6227         (gst_controller_get_value_array):
6228         * libs/gst/controller/gstcontroller.h:
6229         Clarify the docs of gst_controller_get_value_array(): The array where
6230         the values should be written to must be allocated as there seems to be
6231         no way to get the size of a random GType. This doesn't change any
6232         behaviour. Also fix some typos all over the place and remove an unused,
6233         commented function that is not necessary as g_object_set() could be
6234         used instead.
6235         * tests/check/libs/controller.c: (GST_START_TEST),
6236         (gst_controller_suite):
6237         Add unit test for gst_controller_get_value_array().
6238
6239 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6240
6241         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6242
6243         Disable part of the gst_buffer_try_new_and_alloc test, because
6244         it can happily succeed on 64-bit systems where there's more address
6245         space available.
6246
6247 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6248
6249         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6250         Add unit test for the improved caps checking from bug #421543.
6251
6252 2007-05-21  Wim Taymans  <wim@fluendo.com>
6253
6254         * docs/design/part-synchronisation.txt:
6255         Small addition.
6256
6257         * gst/gstbin.c: (gst_bin_query):
6258         * plugins/elements/gstqueue.c: (apply_segment):
6259         Improve debugging.
6260
6261         * gst/gstmessage.h:
6262         Improve docs.
6263
6264 2007-05-21  Wim Taymans  <wim@fluendo.com>
6265
6266         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6267         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6268         (gst_pad_configure_src):
6269         Added simple version of improved caps checking. It was previously
6270         assumed that a setcaps function would check the validity of the caps but
6271         people prefer us to check caps against the template automatically. 
6272         Fixes #421543.
6273
6274 2007-05-21  Wim Taymans  <wim@fluendo.com>
6275
6276         * libs/gst/base/gstbasetransform.h:
6277         Fix macro for locking/unlocking the transform lock.
6278
6279 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6280
6281         * docs/plugins/tmpl/.cvsignore:
6282           Ignore more.
6283
6284 2007-05-18  Edward Hervey  <edward@fluendo.com>
6285
6286         * plugins/elements/gstqueue.c: (gst_queue_loop):
6287         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6288         for the subtle art of warning a potentially blocking thread that it
6289         should check the source pad return value, and relay the information
6290         upstream.
6291
6292 2007-05-18  Edward Hervey  <edward@fluendo.com>
6293
6294         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6295         Release the queue lock !
6296
6297 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6298
6299         * docs/libs/gstreamer-libs-sections.txt:
6300         Add the two new controller functions to the appropiate places.
6301
6302 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6303
6304         reviewed by: Stefan Kost <ensonic@users.sf.net>
6305
6306         * libs/gst/controller/gstcontroller.c:
6307         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6308         (_gst_controller_get_property), (_gst_controller_set_property),
6309         (_gst_controller_init), (_gst_controller_class_init):
6310         * libs/gst/controller/gstcontroller.h:
6311         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6312         (gst_object_get_control_rate), (gst_object_set_control_rate):
6313         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6314         Add API that provides sync suggestion timestamps for elements that
6315         call gst_object_sync_values() from which those elements can subdivide
6316         their processing loop to get the best results for the controlled
6317         properties. For now it just suggests last_sync + control_rate as
6318         new timestamp but this will be improved in the future.
6319
6320         While doing that change the control-rate property to a GstClockTime
6321         from guint and change it's meaning from samples to nanoseconds as
6322         the GstController doesn't know anything about sampling rate. Strictly
6323         speaking this breaks ABI but as the control-rate property didn't do
6324         anything in the past and as such couldn't be used this should be no
6325         problem.        
6326
6327 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6328
6329         reviewed by: Stefan Kost <ensonic@users.sf.net>
6330
6331         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6332         (gst_controller_unset_all):
6333         * libs/gst/controller/gstcontrollerprivate.h:
6334         * libs/gst/controller/gstinterpolation.c:
6335         (gst_controlled_property_find_control_point_node):
6336         Save last synced value from the list to continue searching from there
6337         in future syncs. This speeds everything up a bit.
6338         
6339 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6340
6341         reviewed by: Stefan Kost <ensonic@users.sf.net>
6342
6343         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6344         (gst_control_point_find), (gst_controlled_property_new),
6345         (gst_control_point_free), (gst_controlled_property_free),
6346         (gst_controller_set), (gst_controller_set_from_list),
6347         (gst_controller_unset), (gst_controller_unset_all),
6348         (gst_controller_sync_values):
6349         * libs/gst/controller/gstcontroller.h:
6350         * libs/gst/controller/gstcontrollerprivate.h:
6351         * libs/gst/controller/gstinterpolation.c:
6352         (gst_controlled_property_find_control_point_node),
6353         (interpolate_none_get), (interpolate_trigger_get):
6354         Add a new private GstControlPoint struct which "inherits" from
6355         GstTimedValue to allow different interpolators to store internal
6356         values next to each control point. From the outside everything is
6357         still a GstControlPoint so we don't loose binary compatibility.
6358         Also fixup all the GValue handling to not leak GValues or list nodes.
6359         * tests/check/libs/controller.c: (GST_START_TEST):
6360         Free the list nodes and GValues in the controller_misc test.
6361
6362 2007-05-17  Edward Hervey  <edward@fluendo.com>
6363
6364         * gst/gstsegment.c:
6365         Small doc fix.
6366
6367 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6368
6369         * gst/gstplugin.c: (gst_plugin_load_file):
6370           If we fail to load a plugin because of unresolved symbols or missing
6371           libraries and spew a warning to stderr, we may just as well mention
6372           which plugin it was that failed to load.
6373
6374 2007-05-13  David Schleef  <ds@schleef.org>
6375
6376         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6377           handles the case when ENABLE_GTK_DOC is false, and installs
6378           the prebuilt documentation.  So gtk-doc subdirs are 
6379           unconditionally enabled.  Fixes: #349099.
6380
6381 2007-05-13  David Schleef  <ds@schleef.org>
6382
6383         * gst/gstutils.h: Reword some documentation.
6384
6385 2007-05-12  David Schleef  <ds@schleef.org>
6386
6387         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6388           do anything with the passed "module" parameter, so remove it.
6389           Allows removal of additional vestigal code.
6390
6391 2007-05-12  David Schleef  <ds@schleef.org>
6392
6393         * gst/gstplugin.c:
6394           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6395           Switch to using g_stat() because it's more portable.
6396
6397 2007-05-12  David Schleef  <ds@schleef.org>
6398
6399         * gst/gst.c:
6400           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6401           parsing for embedded systems.
6402         * gst/gstelementfactory.c:
6403           Allow gst_element_register() to be called with plugin==NULL.
6404           Did nobody notice that static elements were broken?
6405
6406 2007-05-12  Wim Taymans  <wim@fluendo.com>
6407
6408         * tools/gst-launch.c: (event_loop):
6409         Give more interesting info when buffering starts and stops.
6410         Fix case where buffering starts but we fail to update the buffering flag
6411         because the target state is not PLAYING.
6412
6413 2007-05-12  Wim Taymans  <wim@fluendo.com>
6414
6415         * plugins/elements/gstqueue.c: (gst_queue_init),
6416         (gst_queue_finalize), (update_time_level), (apply_segment),
6417         (apply_buffer), (gst_queue_locked_flush),
6418         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6419         (gst_queue_handle_sink_event), (gst_queue_chain),
6420         (gst_queue_push_one), (gst_queue_loop):
6421         * plugins/elements/gstqueue.h:
6422         Refactor an cleanup queue a bit.
6423         Do better time level calculations that also work when the srcpad is not
6424         yet running.
6425         Remove some unneeded debug lines.
6426
6427         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6428         Added testcase for time level measurement.
6429         Try to make some stuff more racefree.
6430
6431 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6432
6433         * gst/gsturi.c: (gst_element_make_from_uri):
6434           Don't leak plugin feature.
6435
6436         * tests/check/Makefile.am:
6437         * tests/check/gst/.cvsignore:
6438         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6439           Add brain-dead unit test.
6440
6441 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6442
6443         Patch by: Jeroen Wouters <woutersj at gmail com>
6444
6445         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6446           Treat protocol strings in a case-insensitive way (#437563).
6447
6448 2007-05-11  Michael Smith <msmith@fluendo.com>
6449
6450         * gst/gstplugin.c: (gst_plugin_load_file):
6451         * gst/gstregistry.c: (gst_registry_scan_path_level):
6452           Don't print a g_warning for any failure to load a shared object.
6453           Instead, push this down into gstplugin.c, and warn _only_ if we
6454           failed to open the module (i.e. failure to link).
6455           Avoids warnings on normal, working, non-plugin .so files.
6456
6457 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6458
6459         * gst/gstplugin.c (gst_plugin_load_file):
6460         * gst/gstregistry.c (GST_CAT_DEFAULT,
6461           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6462           Print a g_warning if there was an error when loading a plugins during
6463           registry scan. The shuld help beginners starting with gst-plugin
6464           template.
6465
6466 2007-05-10  Wim Taymans  <wim@fluendo.com>
6467
6468         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6469         (update_time_level), (gst_queue_locked_flush),
6470         (gst_queue_handle_sink_event), (gst_queue_chain),
6471         (gst_queue_push_one), (gst_queue_loop):
6472         * plugins/elements/gstqueue.h:
6473         Be smarter when calculating the current amount of data in the queue by
6474         measuring the difference between start and end timestamps (in running
6475         time) inside the queue. Fixes #432876.
6476         API: GstQueue::pushing to notify elements that we are pushing data again
6477         since the running signal is rather broken for this purpose.
6478
6479 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6480
6481         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6482           gst_queue_base_init, gst_queue_init):
6483           use GST_BOILERPLATE
6484
6485 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6486
6487         * win32/common/libgstreamer.def:
6488         Add new exported functions.
6489         * win32/vs6/grammar.dsp:
6490         Use grammar pre-generated files.
6491
6492 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6493
6494         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6495
6496         * gst/Makefile.am:
6497         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6498         * gst/gstparse.h:
6499         * gst/gstutils.c: (gst_parse_bin_from_description):
6500         * gst/gstutils.h:
6501           Maintain API and ABI when --disable-parse is used. Now that
6502           we have an appropriate error code, we can just return NULL and the
6503           appropriate error when gst_parse_launch() is used despite it having
6504           been disabled (#342564).
6505
6506         * tests/check/Makefile.am:
6507         * tests/check/pipelines/.cvsignore:
6508         * tests/check/pipelines/parse-disabled.c:
6509           Make sure these functions exist and return NULL plus a GError when
6510           --disable-parse is used.
6511
6512 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6513
6514         * tests/benchmarks/complexity.c: (main):
6515         * tests/benchmarks/mass-elements.c: (main):
6516           Set a good example and don't leak messages.
6517
6518 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6519
6520         * docs/gst/Makefile.am:
6521         * docs/libs/Makefile.am:
6522           Correct fixxrefs options.
6523
6524         * docs/plugins/Makefile.am:
6525         * docs/plugins/gstreamer-plugins-docs.sgml:
6526         * docs/plugins/gstreamer-plugins-sections.txt:
6527         * plugins/elements/Makefile.am:
6528         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6529         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6530           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6531           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6532           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6533           _GstCapsFilterClass, trans_class):
6534         * plugins/elements/gstelements.c (name, rank, type, _elements):
6535         * plugins/elements/gstidentity.c
6536           (gst_identity_check_imperfect_timestamp,
6537           gst_identity_check_imperfect_offset):
6538           Document capsfilter and add doc-blurb to identity.
6539
6540 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6541
6542         * libs/gst/controller/gstcontroller.c:
6543         (gst_controlled_property_set_interpolation_mode):
6544         * libs/gst/controller/gstinterpolation.c:
6545           Don't crash if someone tries to set an interpolation mode that
6546           is invalid or that isn't supported yet. Fixes #422295.
6547
6548         * tests/check/libs/controller.c: (GST_START_TEST),
6549         (gst_controller_suite):
6550           Add a test case for the above.
6551
6552 2007-05-03  Edward Hervey  <edward@fluendo.com>
6553
6554         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6555         Properly set the last_stop position on GstSegment. This will only happen
6556         if there is a buffer to push out.
6557
6558 2007-05-03  Wim Taymans  <wim@fluendo.com>
6559
6560         * libs/gst/base/gstbasetransform.c:
6561         (gst_base_transform_buffer_alloc):
6562         always_in_place does not mean that the sink and source caps are the
6563         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6564
6565 2007-05-03  Wim Taymans  <wim@fluendo.com>
6566
6567         * docs/libs/gstreamer-libs-sections.txt:
6568         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6569         (gst_base_src_default_query), (gst_base_src_get_range):
6570         * libs/gst/base/gstbasesrc.h:
6571         API: gst_base_src_query_latency(). Added method so that subclasses can
6572         easily get the latency values of the base source class.
6573
6574 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6575
6576         * tools/gst-inspect.c (print_implementation_info):
6577         Remove 0.8 cruft.
6578
6579 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6580
6581         * tools/Makefile.am:
6582         * tools/gst-launch.1.in:
6583           Don't create a customised man page based on the host architecture,
6584           describe the default registry path generically. That way the man
6585           page is the same for all architectures and packagers have one
6586           multilib issue less to deal with. Fixes #434926.
6587
6588 2007-05-02  Wim Taymans  <wim@fluendo.com>
6589
6590         * gst/gstpad.c:
6591         Fix documentation as spotted by rg on IRC. 
6592
6593 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6594
6595         * gst/gstutils.c:
6596           Improve docs for gst_element_{link,unlink}.
6597
6598 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6599
6600         * docs/design/part-events.txt:
6601         * docs/design/part-overview.txt:
6602         * gst/gstevent.c:
6603         * gst/gsturi.c:
6604         * gst/gsturi.h:
6605         * libs/gst/base/gstbasesink.c:
6606           Typo fixes; minor docs addition.
6607
6608 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6609
6610         * docs/gst/gstreamer-sections.txt:
6611         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6612         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6613         * gst/gsturi.h:
6614         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6615         or src that supports a given URI protocol exists.
6616
6617 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6618
6619         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6620         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6621         Set the location to NULL if "file://" is set as URI. Otherwise
6622         some random previous URI would still be set if "file://" is
6623         set on an already used filesink/filesrc.
6624
6625 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6626
6627         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6628         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6629         Special case the "file://" URI as as this is used by some
6630         applications to test with gst_element_make_from_uri if there's
6631         an element that supports the URI protocol.
6632         Also move the g_path_is_absolute() check for the location part
6633         of the URI to also check this for "file://localhost/bla" URIs.
6634
6635 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
6636
6637         * docs/gst/gstreamer-sections.txt:
6638         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6639         * gst/gstbuffer.h:
6640         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6641         (gst_buffer_suite):
6642           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6643
6644 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
6645
6646         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6647         (gst_registry_binary_load_pad_template),
6648         (gst_registry_binary_load_plugin),
6649         (gst_registry_binary_read_cache):
6650         * gst/gstregistrybinary.h:
6651           Implement no-mmap alternative for registry reading. Do code cleanups.
6652           Add more comments about avoiding strdups for all text data. Comments
6653           welcome.
6654
6655 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6656
6657         * gst/gstregistrybinary.h (GstBinaryPluginElement,
6658           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6659           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6660           Comment structs and reformat to fix the build (that stuff should go
6661           into a priv. header).
6662
6663 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6664
6665         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6666         (gst_registry_binary_load_feature):
6667         * gst/gstregistrybinary.h:
6668           Refactor so that we can implement multiple features. Add support for
6669           TypeFindFactory features.
6670
6671 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
6672
6673         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6674
6675         * configure.ac:
6676           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6677
6678 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
6679
6680         * gst/gstbin.c: (gst_bin_element_set_state),
6681         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6682         (bin_handle_async_done), (gst_bin_handle_message_func):
6683           Fix build with --gst-disable-gst-debug
6684
6685 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
6686
6687         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6688           Make sure streaming has finished before calling the ::stop() vfunc,
6689           since that vfunc might clear state which is being used in the
6690           streaming thread. This fixes a race that caused crashes in
6691           audioresample when shutting down a pipeline (#420106).
6692
6693 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6694
6695         * docs/gst/gstreamer-sections.txt:
6696           That was one byte missing.
6697
6698 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6699
6700         * configure.ac:
6701         * docs/gst/gstreamer-sections.txt:
6702         * gst/Makefile.am:
6703         * gst/gstconfig.h.in:
6704         * gst/gstobject.c: (gst_object_class_init),
6705         (gst_signal_object_class_init):
6706         * gst/gstobject.h:
6707           2nd attempt to have a xml-less build as a joined effort of #413123
6708           and #421480.
6709
6710 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6711
6712         * docs/design/draft-tagreading.txt:
6713           Added open issues/thoughts to draft.
6714
6715 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6716
6717         * gst/parse/grammar.tab.pre.c:
6718         * gst/parse/grammar.tab.pre.h:
6719         * gst/parse/lex._gst_parse_yy.pre.c:
6720         Update the prebuild parser sources.
6721
6722 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6723
6724         * gst/parse/Makefile.am:
6725         And now fix the building of the flex sources. Now everything should
6726         work as expected.
6727
6728 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6729
6730         * gst/parse/Makefile.am:
6731         Now hopefully fix the build failures by setting proper rule
6732         dependencies and moving instead of copying.
6733
6734 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6735
6736         * tests/benchmarks/complexity.gnuplot:
6737         * tests/benchmarks/complexity.scm:
6738         * tests/benchmarks/mass-elements.gnuplot:
6739         * tests/benchmarks/mass-elements.scm:
6740           Total licensification.
6741
6742 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6743
6744         * gst/parse/Makefile.am:
6745           Fix the build by correcting the rule that gave wrong files to flex.
6746
6747 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6748
6749         * tests/benchmarks/complexity.c:
6750         * tests/benchmarks/mass-elements.c:
6751           Change licence to LGPL as granted by Benjamin and Andy.
6752
6753 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6754
6755         * gst/parse/Makefile.am:
6756         Add correct grammar.tab.h dependency if compiling without new enough
6757         flex. Fixes #431150.
6758
6759 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6760
6761         * gst/parse/Makefile.am:
6762         Fix typo and use outdated sources if the flex/bison sources are newer
6763         than the pregenerated ones but flex is too old. Print a warning in
6764         that case. This should fix the build on the build bot.
6765
6766 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6767
6768         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6769         * gst/parse/Makefile.am:
6770         * gst/parse/grammar.y:
6771         * gst/parse/parse.l:
6772         Make the parser reentrant and recursively callable. This requires flex
6773         >= 2.5.31, for older versions pregenerated sources are used as we
6774         can't bump the build dependency. Finally fixes #349180.
6775
6776         * gst/gstparse.c: (gst_parse_launch):
6777         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6778         now anyway.
6779
6780         * docs/gst/Makefile.am:
6781         * docs/gst/Makefile.am:
6782         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6783         (__gst_parse_strfree), (__gst_parse_link_new),
6784         (__gst_parse_link_free), (__gst_parse_chain_new),
6785         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6786         (gst_parse_element_set), (gst_parse_free_link),
6787         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6788         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6789         (_gst_parse_launch):
6790         * gst/parse/grammar.tab.pre.h:
6791         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6792         (yy_get_previous_state), (yy_try_NUL_trans), (input),
6793         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6794         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6795         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6796         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6797         (_gst_parse_yypop_buffer_state),
6798         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6799         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6800         (yy_fatal_error), (_gst_parse_yyget_extra),
6801         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6802         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6803         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6804         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6805         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6806         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6807         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6808         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6809         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6810         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6811         (_gst_parse_yyfree):
6812         If the installed flex version is too old use pre-generated parser
6813         sources. These pre-generated parser sources are always updated when
6814         the actual flex/bison sources change but require everybody who wants
6815         to change something in the parser to have flex >= 2.5.31 installed.
6816
6817 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
6818
6819         * common/m4/gst-gettext.m4:
6820         * gst/gst-i18n-lib.h:
6821           Make --disable-nls to work
6822
6823 2007-04-17  Wim Taymans  <wim@fluendo.com>
6824
6825         * gst/gstconfig.h.in:
6826         Revert previous change that broke the build.
6827
6828 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
6829
6830         * configure.ac:
6831         * gst/Makefile.am:
6832         * gst/gstconfig.h.in:
6833           Drop libxml2 dependency when building with 
6834           --enable-binary-registry --disable-loadsave
6835
6836 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
6837
6838         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6839         (gst_registry_binary_read_cache):
6840         * gst/gstregistrybinary.h:
6841           Remove unnecessary <sys/mman.h> include which broke the win32 build
6842           with MingW; move includes from header file to .c file, even if the
6843           header file isn't installed; use g_strerror() where UTF-8 strings
6844           are expected, such as in GST_DEBUG messages.
6845
6846 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6847
6848         * docs/libs/gstreamer-libs-sections.txt:
6849         Remove bogus addition for API I didn't end up keeping.
6850
6851         * libs/gst/base/gstbasesrc.h:
6852         Mention Since: 0.10.13 in the documentation.
6853
6854         Add the API keyword to the previous ChangeLog entry.
6855
6856 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6857
6858         * docs/libs/gstreamer-libs-sections.txt:
6859         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6860         (gst_base_src_default_prepare_seek_segment),
6861         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6862         * libs/gst/base/gstbasesrc.h:
6863         Allow basesrc derived classes to execute seeks in other formats
6864         by providing a prepare_seek_segment vmethod. Sub-classes can choose
6865         to prepare the GstSegment in any format that their perform_seek method
6866         will be able to understand. The default implementation provides the
6867         old behaviour of attempting to convert the seek offsets to the 
6868         configured native format.
6869
6870         API: basesrc::prepare_seek_segment vmethod.
6871
6872 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6873
6874         * gst/gstelement.c: (gst_element_get_state_func):
6875         Don't output the same debug statement twice.
6876
6877         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6878         (gst_adapter_peek), (gst_adapter_take_buffer):
6879         Optimise the case where we have buffers at the head of the queue that
6880         can be joined quickly (because they're contiguous sub-buffers) by
6881         merging them together rather than copying data out into new memory.
6882
6883         * gst/parse/grammar.y:
6884         * tests/check/pipelines/parse-launch.c:
6885         Fix a leak in an error path for parse_launch, and add a check 
6886         for it to the testsuite.
6887
6888 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6889
6890         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6891           Don't deadlock when releasing a pad - gst_pad_set_active may try
6892           and take the multiqueue lock too.
6893
6894 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6895
6896         * gst/gsterror.c: (_gst_core_errors_init):
6897         * gst/gsterror.h:
6898           API: add GST_CORE_ERROR_DISABLED (#392804).
6899
6900 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6901
6902         * docs/faq/gst-uninstalled:
6903           don't get empty paths on the PATH variables
6904         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6905           Don't format for the uncommon terminal width of 84 characters.
6906
6907 2007-04-06  Wim Taymans  <wim@fluendo.com>
6908
6909         * gst/gstpipeline.c: (reset_stream_time),
6910         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6911         Only try to select a different pipeline clock when we went back to
6912         PAUSED and not when we merely got flushed.
6913
6914 2007-04-05  Michael Smith  <msmith@fluendo.com>
6915
6916         * tools/gst-launch.1.in:
6917           fractions are better supported in gstreamer than ractions, so
6918           suggest using those.
6919
6920 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6921
6922         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
6923
6924         * po/LINGUAS:
6925         * po/da.po:
6926           Added Danish translation.
6927
6928 2007-04-05  Wim Taymans  <wim@fluendo.com>
6929
6930         * libs/gst/base/gstbasesink.c:
6931         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
6932         Fix leak caused when refusing newsegment after EOS.
6933
6934         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6935         (gst_fake_sink_init), (gst_fake_sink_set_property),
6936         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
6937         (gst_fake_sink_render), (gst_fake_sink_change_state):
6938         * plugins/elements/gstfakesink.h:
6939         Add num-buffers property to make the element generate EOS after a
6940         configurable amount of buffers.
6941         API: fakesink::num-buffers property.
6942
6943         * tests/check/elements/fakesink.c: (GST_START_TEST),
6944         (fakesink_suite):
6945         Fix GstBus leak in test.
6946         Test for fakesink num-buffers.
6947
6948 2007-04-05  Wim Taymans  <wim@fluendo.com>
6949
6950         * libs/gst/base/gstbasesink.c:
6951         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6952         (gst_base_sink_change_state):
6953         Don't accept anything after an EOS, return UNEXPECTED instead.
6954
6955         * tests/check/elements/fakesink.c: (GST_START_TEST),
6956         (fakesink_suite):
6957         Unit test for new EOS behaviour.
6958
6959 2007-04-05  Wim Taymans  <wim@fluendo.com>
6960
6961         * gst/gstelement.c: (gst_element_get_request_pad):
6962         Make padtemplates also work when they don't contain %s or %d.
6963
6964 2007-04-05  Wim Taymans  <wim@fluendo.com>
6965
6966         * docs/gst/gstreamer-sections.txt:
6967         * gst/gstclock.c: (gst_clock_adjust_unlocked),
6968         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
6969         * gst/gstclock.h:
6970         Improve _adjust_unlocked() so that it overflows less.
6971         Add gst_clock_unadjust_unlocked to convert from external time to
6972         internal time based on calibration.
6973         Add some more debug.
6974         API: GstClock::gst_clock_unadjust_unlocked()
6975
6976 2007-04-03  Wim Taymans  <wim@fluendo.com>
6977
6978         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6979
6980         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6981         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
6982         when releasing sink pad. Fixes #425400.
6983
6984 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
6985
6986         * docs/random/ensonic/dynlink.txt:
6987           More work on proposal for new core api.
6988
6989         * docs/libs/gstreamer-libs-sections.txt:
6990         * libs/gst/base/gstbasetransform.h:
6991           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
6992           
6993         * libs/gst/controller/gstcontroller.c:
6994         (on_object_controlled_property_changed),
6995         (gst_controller_sync_values),
6996         (gst_controller_set_interpolation_mode):
6997         * libs/gst/controller/gstcontroller.h:
6998           Less verbose logging add docs for unimplemented parts and correctly
6999           return when using unavailable parts.
7000
7001 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7002
7003         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7004         Move all the debug to the CLOCK category, and associate it with
7005         the clock object.
7006
7007 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7008
7009         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7010         Make take_buffer a bit quicker by removing redundant checks
7011         caused by calling gst_adapter_take.
7012
7013 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7014
7015         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7016           Don't leak GCond.
7017
7018         * tests/check/Makefile.am:
7019         * tests/check/elements/.cvsignore:
7020         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7021         (GST_START_TEST), (multiqueue_suite):
7022           Add some dead simple unit tests for the 'multiqueue' element
7023           (some bits don't work yet and are disabled for now).
7024
7025 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7026
7027         * gst/gstelement.c: (gst_element_get_request_pad),
7028         (gst_element_class_get_request_pad_template):
7029           Make gst_element_get_request_pad() create request pads only for
7030           request pad templates and not for, say, sometimes pad templates.
7031
7032 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7033
7034         * docs/design/draft-klass.txt:
7035           Add example that needs more thinking.
7036         
7037         * docs/design/draft-missing-plugins.txt:
7038           More thoughts about wrapper plugins.
7039         
7040         * docs/random/ensonic/embedded.txt:
7041         * docs/random/ensonic/profiling.txt:
7042           More design work.
7043
7044 2007-03-25  Wim Taymans  <wim@fluendo.com>
7045
7046         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7047         (gst_base_src_loop):
7048         Only push the segment events in the PLAYING state for live sources.
7049
7050 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7051
7052         * gst/gstpipeline.c: (gst_pipeline_change_state):
7053         Modify the clock distribution path in PAUSED->PLAYING so that we 
7054         never attempt to choose a new clock unless we're actually leaving
7055         the PAUSED state for the first time. This prevents choosing a
7056         different clock when the state_change gets called for a 2nd time due
7057         to some element doing an async state change.
7058
7059 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7060
7061         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7062         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7063         (gst_pad_chain_unchecked), (gst_pad_push):
7064         Revert last commit. This needs some more thoughts.
7065
7066 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7067
7068         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7069         (gst_pad_chain_unchecked), (gst_pad_push):
7070         Check in set_caps if the caps are compatible with the pad and remove
7071         two functions that are redundant now. Fixes #421543.
7072
7073 2007-03-22  Wim Taymans  <wim@fluendo.com>
7074
7075         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7076         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7077         Unref some more to make valgrind happy.
7078
7079 2007-03-22  Wim Taymans  <wim@fluendo.com>
7080
7081         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7082         (gst_system_clock_id_wait_jitter),
7083         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7084         Fix anoying regression that survived a few releases. When adding an
7085         async entry while blocking on a sync entry, the sync entry will unblock
7086         but still be busy, so it should continue to wait instead of returning
7087         _BUSY to the app.
7088         Add some comments here and there.
7089
7090         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7091         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7092         Add testcase for this.
7093
7094 2007-03-22  Wim Taymans  <wim@fluendo.com>
7095
7096         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7097         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7098         WRONG_STATE and can silently pause the task. All other cases should
7099         error out.
7100
7101 2007-03-22  Wim Taymans  <wim@fluendo.com>
7102
7103         Patch by: Ville Syrjala <syrjala at sci dot fi>
7104
7105         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7106         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7107         Improve debugging.
7108
7109 2007-03-21  Michael Smith  <msmith@fluendo.com>
7110
7111         * docs/pwg/advanced-types.xml:
7112           Fix some errors in the typefinding docs pointed out on irc.
7113
7114 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7115
7116         * libs/gst/base/gstbasesrc.c:
7117         Clarify FIXME comment in the face of having added unlock_stop()
7118
7119 2007-03-21  Wim Taymans  <wim@fluendo.com>
7120
7121         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7122         Prepare for release where we warn against possible app breakage in the
7123         case of live pipelines along with an env var to enable/disable live
7124         preroll mode (GST_COMPAT=[no-]live-preroll).
7125
7126 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7127
7128         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7129         So we should use correct constants for checking for None offset.
7130
7131 2007-03-20  Wim Taymans  <wim@fluendo.com>
7132
7133         * docs/design/part-block.txt:
7134         Mention the fact that the newly switched element should be set to at
7135         least PAUSED.
7136
7137 2007-03-20  Wim Taymans  <wim@fluendo.com>
7138
7139         * gst/gst.c:
7140         Fix compilation with registry disabled as spotted by Saur.
7141
7142 2007-03-20  Wim Taymans  <wim@fluendo.com>
7143
7144         Patch by: Olivier Crete <tester at tester dot ca>
7145
7146         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7147         Look at the pending state too when syncing the element state to the
7148         parent. Fixes #420133.
7149
7150 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7151
7152         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7153         (gst_base_sink_change_state):
7154         * libs/gst/base/gstbasesink.h:
7155         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7156         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7157         (gst_base_src_deactivate):
7158         * libs/gst/base/gstbasesrc.h:
7159         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7160         for sub-classes to correctly clear any state they set trying to
7161         unlock, such as clearing out unlock commands from a command fd.
7162         API: basesrc::unlock_stop
7163         API: basesink::unlock_stop
7164
7165         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7166         (gst_fd_sink_render), (gst_fd_sink_unlock),
7167         (gst_fd_sink_unlock_stop):
7168         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7169         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7170         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7171
7172         Implement unlock_stop in fdsrc and fdsink.
7173         Implement seeking in fdsrc when a seekable fd is passed, as in
7174         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7175
7176 2007-03-19  Wim Taymans  <wim@fluendo.com>
7177
7178         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7179
7180         * gst/gstelement.c: (gst_element_class_init):
7181         Fix pad-added and pad-removed signal signatures so that the pad type is
7182         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7183
7184 2007-03-19  Wim Taymans  <wim@fluendo.com>
7185
7186         * docs/gst/gstreamer-sections.txt:
7187         Add new element field and method.
7188
7189         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7190         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7191         (gst_bin_recalc_state), (gst_bin_get_state_func),
7192         (gst_bin_element_set_state), (gst_bin_change_state_func),
7193         (gst_bin_continue_func), (bin_bus_handler),
7194         (bin_push_state_continue), (bin_handle_async_start),
7195         (bin_handle_async_done), (gst_bin_handle_message_func):
7196         Make async state changes a bit smarter by using new ASYNC_START and
7197         ASYNC_DONE messages. This reduces the number of times we run the state
7198         recalculation thread.
7199         Don't change state of element with a pending ASYNC_START message.
7200         Deprecate STATE_DIRTY messages.
7201         
7202         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7203         (gst_element_get_state_func), (gst_element_continue_state),
7204         (gst_element_lost_state), (gst_element_set_state_func),
7205         (gst_element_change_state):
7206         * gst/gstelement.h:
7207         Keep the state that was last set by the app in a new element field.
7208         Don't allow state changes when handling an element event.
7209         Post ASYNC_START and ASYNC_DONE messages.
7210         Change lost_state so that we go to PAUSED and wait for the parent to set
7211         us to PLAYING again (so latency calculation can be performed)
7212         Export gst_element_change_state() method so that subclasses can use it.
7213         API: gst_element_change_state()
7214         API: GST_STATE_TARGET
7215
7216         * gst/gstpipeline.c: (gst_pipeline_class_init),
7217         (reset_stream_time), (gst_pipeline_change_state),
7218         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7219         Using the new ASYNC_START message we can reset the base_time when
7220         needed. This can then be used to implement base_time redistribution in
7221         flushing seeks so that we can remove the explicit seek handling.
7222         Perform latency query and configuration when going to PLAYING.
7223
7224         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7225         (gst_base_sink_query), (gst_base_sink_change_state):
7226         Post new ASYNC_START/ASYNC_DONE messages.
7227
7228         * tests/check/generic/sinks.c: (GST_START_TEST):
7229         Fix test because the bin will not set the async element to PLAYING right
7230         away.
7231
7232         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7233         Make the message check a little stronger.
7234         Handle ASYNC messages.
7235
7236         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7237         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7238         Expect ASYNC_DONE messages.
7239
7240 2007-03-19  Wim Taymans  <wim@fluendo.com>
7241
7242         * docs/gst/gstreamer-sections.txt:
7243         * gst/gstmessage.c: (gst_message_new_async_start),
7244         (gst_message_new_async_done), (gst_message_parse_info),
7245         (gst_message_parse_async_start):
7246         * gst/gstmessage.h:
7247         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7248         support.
7249
7250 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7251
7252         * tools/gst-inspect.c:
7253         (print_plugin_automatic_install_info_codecs):
7254           Now that we don't check for the 'Codec' keyword any longer in the
7255           klass, we shouldn't spew a warning if the klass isn't a decoder or
7256           encoder (since it might be a Source/Network, for example).
7257
7258 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7259
7260         * tools/gst-inspect.c:
7261         (print_plugin_automatic_install_info_codecs):
7262           Don't require decoder/demuxer/depayloader elements or
7263           encoder/muxer/paylader elements to have 'Codec' as part of their
7264           factory class string when introspecting a plugin's capabilities.
7265           draft-klass.txt mentions that it might be removed in future, and
7266           flump3dec doesn't have it as part of its class string, so chances
7267           are others might also not have it.
7268
7269 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7270
7271         * po/af.po:
7272         * po/az.po:
7273         * po/bg.po:
7274         * po/ca.po:
7275         * po/cs.po:
7276         * po/de.po:
7277         * po/en_GB.po:
7278         * po/fr.po:
7279         * po/it.po:
7280         * po/nb.po:
7281         * po/nl.po:
7282         * po/ru.po:
7283         * po/sq.po:
7284         * po/sr.po:
7285         * po/sv.po:
7286         * po/tr.po:
7287         * po/uk.po:
7288         * po/vi.po:
7289         * po/zh_CN.po:
7290         * po/zh_TW.po:
7291           Update translations from translation project
7292
7293 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7294
7295         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7296         (gst_child_proxy_set_property):
7297           Invert precondition check to be alike the ones in the mimiced gobject
7298           api.
7299
7300 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7301
7302         * docs/design/draft-tagreading.txt:
7303         * docs/random/ensonic/audiobaseclasses.txt:
7304           Do some Architect work.
7305
7306         * gst/gstobject.c: (gst_object_set_name):
7307           Add a WARNING.
7308
7309         * gst/gstpad.c:
7310           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7311
7312 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7313
7314         * gst/gstsystemclock.c: (gst_system_clock_init),
7315         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7316         Defer starting the async system clock thread until the first async
7317         wait is scheduled. Fixes #414986.
7318
7319 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7320
7321         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7322         (gst_single_queue_free):
7323           Fix small leak (free GstSingleQueue structure too, not only contents).
7324
7325 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7326
7327         * gst/gstbin.c:(gst_bin_add):
7328         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7329         * win32/common/libgstbase.def:
7330         * win32/common/libgstreamer.def:
7331         Add new exported functions.
7332
7333 2007-03-09  Wim Taymans  <wim@fluendo.com>
7334
7335         * docs/plugins/gstreamer-plugins-sections.txt:
7336         Fix GstTee docs.
7337
7338 2007-03-09  Wim Taymans  <wim@fluendo.com>
7339
7340         * docs/gst/gstreamer-sections.txt:
7341         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7342         * gst/gstbuffer.h:
7343         Add metadata copy functions. Fixes #393099.
7344         API: gst_buffer_copy_metadata()
7345
7346         * gst/gstutils.c: (gst_buffer_stamp):
7347         * libs/gst/base/gstbasetransform.c:
7348         (gst_base_transform_prepare_output_buffer):
7349         Use new metadata copy functions.
7350
7351 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7352
7353         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7354         (gst_identity_init), (gst_identity_check_perfect),
7355         (gst_identity_check_imperfect_timestamp),
7356         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7357         (gst_identity_set_property), (gst_identity_get_property):
7358         * plugins/elements/gstidentity.h:
7359         Separate out check-imperfect-timestamp and check-imperfect-offset.
7360         Put back check-perfect as it was to keep compatibility.
7361
7362 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7363
7364         * gst/gstelement.c: (gst_element_dispose):
7365         There's no need to warn if VOID_PENDING is not NONE here, as
7366         long as the state is NULL it's ok, and that's checked immediately
7367         above.
7368
7369 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7370
7371         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7372         Fix check for perfect stream to ignore buffers with -1 
7373         offsets/offset ends when checking data contiguity.
7374
7375 2007-03-08  Wim Taymans  <wim@fluendo.com>
7376
7377         * tools/gst-launch.c: (event_loop):
7378         Print INFO messages.
7379
7380 2007-03-08  Wim Taymans  <wim@fluendo.com>
7381
7382         * libs/gst/base/gstbasetransform.c:
7383         (gst_base_transform_sink_eventfunc),
7384         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7385         (gst_base_transform_activate):
7386         * libs/gst/base/gstbasetransform.h:
7387         Add support for dropping buffers with custom GstFlowReturn.
7388         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7389         buffers or dropped buffers.
7390
7391         * docs/libs/gstreamer-libs-sections.txt:
7392         docs for new custom return code.
7393
7394         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7395         Use drop support in base class to implement drop-probability.
7396
7397 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7398
7399         * gst/gst.c: (load_plugin_func):
7400         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7401         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7402         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7403           Remove newlines at end of debug log strings.
7404
7405 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7406
7407         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7408         Only post bus message at max, once per buffer received.
7409
7410 2007-03-07  Wim Taymans  <wim@fluendo.com>
7411
7412         * docs/design/Makefile.am:
7413         * docs/design/part-synchronisation.txt:
7414         Add doc about synchronisation
7415
7416         * docs/design/draft-latency.txt:
7417         * docs/design/part-TODO.txt:
7418         * docs/design/part-clocks.txt:
7419         * docs/design/part-events.txt:
7420         * docs/design/part-gstbus.txt:
7421         * docs/design/part-gstpipeline.txt:
7422         * docs/design/part-live-source.txt:
7423         * docs/design/part-messages.txt:
7424         * docs/design/part-overview.txt:
7425         * docs/design/part-streams.txt:
7426         * docs/design/part-trickmodes.txt:
7427         Documentation updates.
7428
7429 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7430
7431         * gstreamer.doap:
7432         Update the doap file.
7433
7434 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7435
7436         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7437         Rename non-perfect to imperfect for Mike and for the sanctity of the
7438         language.
7439         Also make sure bus message gets emitted for data-incontiguities.
7440
7441 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7442
7443         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7444         (gst_identity_start):
7445         * plugins/elements/gstidentity.h:
7446         Emit bus message if check-perfect is true and we encounter a
7447         non-perfect stream between 2 consecutive buffers.
7448         Fixes #415394.
7449
7450 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7451
7452         * configure.ac:
7453         Back to CVS
7454
7455 === release 0.10.12 ===
7456
7457 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7458
7459         * configure.ac:
7460           releasing 0.10.12, "Inevitable Demise"
7461
7462 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7463
7464         * configure.ac:
7465          Version 0.10.11.2 (0.10.12 pre-release)
7466          Bump libtool versioning.
7467
7468 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7469
7470         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7471           Log flow-names and not numbers.
7472
7473 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7474
7475         * configure.ac:
7476           Convert to new AG_GST style.
7477
7478 2007-02-28  Wim Taymans  <wim@fluendo.com>
7479
7480         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7481         Don't unref query twice.
7482
7483 2007-02-28  Wim Taymans  <wim@fluendo.com>
7484
7485         * gst/gstvalue.c: (gst_value_transform_object_string),
7486         (_gst_value_initialize):
7487         Implement GstObject -> string transform so we print object names
7488         when serializing GValues containing GstObjects.
7489
7490 2007-02-28  Wim Taymans  <wim@fluendo.com>
7491
7492         * docs/gst/gstreamer-sections.txt:
7493         Add new stuff to docs.
7494
7495 2007-02-28  Wim Taymans  <wim@fluendo.com>
7496
7497         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7498         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7499         (gst_base_sink_change_state):
7500         Improve latency query code.
7501         Don't leak latency events.
7502
7503         * tests/check/gst/gstbin.c: (GST_START_TEST):
7504         Improve debugging.
7505
7506 2007-02-28  Wim Taymans  <wim@fluendo.com>
7507
7508         * gst/gstelement.c: (gst_element_message_full),
7509         (gst_element_get_state_func):
7510         * gst/gstelement.h:
7511         Improve docs a little. Added Since: for new macro.
7512
7513         * gst/gstobject.c: (gst_object_sink):
7514         * gst/gstpipeline.c: (gst_pipeline_change_state),
7515         (gst_pipeline_set_new_stream_time):
7516         * gst/gstpipeline.h:
7517         Improve debugging and docs.
7518
7519         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7520         Improve debugging.
7521
7522 2007-02-28  Wim Taymans  <wim@fluendo.com>
7523
7524         * gst/gstelement.c: (gst_element_message_full),
7525         (gst_element_set_locked_state), (gst_element_get_state_func),
7526         (gst_element_change_state):
7527         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7528         Documentation updates.
7529         Small code cleanups.
7530
7531         * gst/gstmessage.c: (gst_message_new_info),
7532         (gst_message_parse_info):
7533         * gst/gstmessage.h:
7534         API: gst_message_new_info()
7535         API: gst_message_parse_info()
7536         Add INFO message create and parse code.
7537
7538 2007-02-28  Wim Taymans  <wim@fluendo.com>
7539
7540         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7541         (bin_query_latency_done):
7542         Also report the live parameter of a latency query.
7543
7544 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7545
7546         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7547           Copy the current generic/states example from -base and adapt so
7548           we can use the exact same code everywhere.
7549           Check a STATES_IGNORE_ELEMENTS env var which can be used
7550           to ignore certain element factories for this test, which is
7551           what is being done in -base
7552         * tests/check/Makefile.am:
7553           Mention this environment variable.
7554
7555 2007-02-27  Wim Taymans  <wim@fluendo.com>
7556
7557         * docs/gst/gstreamer-sections.txt:
7558         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7559         (gst_bus_timed_pop), (gst_bus_pop):
7560         * gst/gstbus.h:
7561         API: gst_bus_timed_pop()
7562         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7563         message to arrive on the bus.
7564
7565         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7566         (gst_bus_suite):
7567         Two unit tests for new _timed_pop() function.
7568
7569 2007-02-23  Wim Taymans  <wim@fluendo.com>
7570
7571         * gst/gstpipeline.c: (gst_pipeline_change_state),
7572         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7573         Don't ref a NULL clock in _provide_clock_func().
7574         Don't allow an INVALID delay.
7575         Don't try to calculate base_time with an invalid start_time.
7576         Also distribute and notify a NULL clock when it was selected.
7577
7578         * tools/gst-launch.c: (event_loop):
7579         Don't crash when a NULL clock was selected in the pipeline.
7580
7581 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7582
7583         * docs/design/Makefile.am:
7584         * docs/design/draft-missing-plugins.txt:
7585         * docs/random/draft-missing-plugins.txt:
7586           Some small updates: update plugin system identifier prefix
7587           ('gstreamer.net' to 'gstreamer'), mention our new install
7588           API in libgstbaseutils rather than libgimme-codec, add
7589           reference to the online docs.
7590
7591 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7592
7593         * win32/common/config.h:
7594           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7595           use moap cl ci to only check in what is mentioned in the ChangeLog.
7596
7597 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7598
7599         * docs/gst/gstreamer-sections.txt:
7600         * gst/gstelement.h:
7601           Fix up documentation to link to the correct GstGError section.
7602           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7603
7604 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7605
7606         * tools/gst-launch.c: (event_loop):
7607           Make sure that we actually show the important message part of a
7608           warning message.
7609           No need to check if the gerror is not NULL to free; first of all
7610           g_free accepts NULL; and second the default error handler would
7611           segfault if gerror was NULL.
7612
7613 2007-02-21  Wim Taymans  <wim@fluendo.com>
7614
7615         * docs/gst/gstreamer-sections.txt:
7616         Removed docs as well.
7617
7618 2007-02-21  Wim Taymans  <wim@fluendo.com>
7619
7620         * gst/gstmessage.c: (gst_message_parse_duration):
7621         * gst/gstmessage.h:
7622         Remove new messages for release.
7623
7624 2007-02-20  Wim Taymans  <wim@fluendo.com>
7625
7626         * docs/design/part-gstghostpad.txt:
7627         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7628         (gst_ghost_pad_new_full):
7629         Make the ghostpad a parent of the internal pad again for better backward
7630         compatibility. Don't write code that relies on this however.
7631
7632         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7633         (gst_pad_link_check_hierarchy):
7634         Require that parents should be GstElements in the hierarchy check.
7635
7636 2007-02-20  Wim Taymans  <wim@fluendo.com>
7637
7638         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7639         (gst_bin_change_state_func), (bin_query_min_max_init),
7640         (bin_query_latency_fold), (bin_query_latency_done),
7641         (gst_bin_query):
7642         Improve debug info.
7643         Implement latency query.
7644
7645 2007-02-20  Wim Taymans  <wim@fluendo.com>
7646
7647         * docs/design/part-gstghostpad.txt:
7648         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7649         (gst_ghost_pad_internal_do_activate_push),
7650         (gst_ghost_pad_internal_do_activate_pull),
7651         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7652         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7653         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7654         Do not set the internal pad as a parent anymore so we can avoid
7655         hierarchy linking errors when the ghostpad has no parent yet. This also
7656         fixes failed activation because of unlinked internal pads, which in
7657         turn fixes the impossible case where you have to activate a pad before
7658         you can add it to a running element.
7659         Also fix the docs.
7660
7661         * gst/gstpad.c: (pre_activate), (post_activate),
7662         (gst_pad_set_active), (gst_pad_activate_pull),
7663         (gst_pad_activate_push), (gst_pad_check_pull_range):
7664         Add some more debug info.
7665         Mark activation mode in pre_activate so that we don't try to activate in
7666         endless loops. Fixes #385084.
7667
7668 2007-02-19  Wim Taymans  <wim@fluendo.com>
7669
7670         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7671         (gst_base_transform_check_get_range):
7672         Implement a checkgetrange function instead of relying on the default
7673         core behaviour that assumes we can operate in pull mode if we have a
7674         getrange function. First step at fixing #385084.
7675
7676 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
7677
7678         * gst/gstchildproxy.h:
7679         * libs/gst/base/gstbasesink.h:
7680         * libs/gst/base/gstbasesrc.h:
7681         * libs/gst/base/gstbasetransform.h:
7682         More docs coverage and some ChangeLog surgery (add missing names)
7683
7684 2007-02-15  Wim Taymans  <wim@fluendo.com>
7685
7686         * docs/design/part-TODO.txt:
7687         * docs/design/part-activation.txt:
7688         * docs/design/part-block.txt:
7689         * docs/design/part-buffering.txt:
7690         * docs/design/part-clocks.txt:
7691         * docs/design/part-element-source.txt:
7692         * docs/design/part-events.txt:
7693         * docs/design/part-gstbin.txt:
7694         * docs/design/part-gstbus.txt:
7695         * docs/design/part-gstpipeline.txt:
7696         * docs/design/part-live-source.txt:
7697         * docs/design/part-messages.txt:
7698         * docs/design/part-overview.txt:
7699         * docs/design/part-qos.txt:
7700         * docs/design/part-query.txt:
7701         * docs/design/part-states.txt:
7702         * docs/design/part-trickmodes.txt:
7703         Some doc updates. Start renaming from stream_time to running_time where
7704         it was used wrongly.
7705
7706 2007-02-15  Wim Taymans  <wim@fluendo.com>
7707
7708         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7709         Answer LATENCY query.
7710
7711 2007-02-15  Wim Taymans  <wim@fluendo.com>
7712
7713         * tests/check/gst/gstevent.c: (event_probe), (test_event),
7714         (GST_START_TEST):
7715         Improve debugging.
7716
7717 2007-02-15  Wim Taymans  <wim@fluendo.com>
7718
7719         * gst/gstpad.c: (gst_pad_get_internal_links_default),
7720         (gst_pad_dispatcher):
7721         Improve debugging of default pad dispatcher and query functions.
7722
7723 2007-02-15  Wim Taymans  <wim@fluendo.com>
7724
7725         * docs/gst/gstreamer-sections.txt:
7726         Remove old unused method.
7727
7728 2007-02-13  Wim Taymans  <wim@fluendo.com>
7729
7730         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7731         Fix check
7732
7733 2007-02-13  Wim Taymans  <wim@fluendo.com>
7734
7735         * docs/design/part-seeking.txt:
7736         Some small update.
7737
7738         * gst/gstsegment.c: (gst_segment_set_seek):
7739         Revert old bogus change that should make seeking work again.
7740
7741 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7742
7743         * docs/random/ensonic/dynlink.txt:
7744         * docs/random/ensonic/interfaces.txt:
7745         * docs/random/ensonic/receipies.txt:
7746           Possible dynamic reconnection api, plus some type fixes the other two
7747           docs.
7748
7749 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
7750
7751         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7752         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7753         Also check for an absolute path following file:// in the filesrc
7754         element. Remove redundant check and call g_path_is_absolute() on the
7755         unescaped location.
7756
7757 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7758
7759         * docs/design/draft-klass.txt:
7760           Add existing category analysis.
7761           
7762         * gst/gstcaps.c:
7763           Fix doc example, framerate is a fraction.
7764
7765 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7766
7767         * configure.ac:
7768         * docs/gst/Makefile.am:
7769         * docs/gst/gstreamer-sections.txt:
7770         * docs/libs/Makefile.am:
7771           Erm, forgot a bunch of --extra-dir.
7772
7773 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7774
7775         * configure.ac:
7776         * docs/gst/Makefile.am:
7777         * docs/libs/Makefile.am:
7778         * docs/plugins/Makefile.am:
7779           Add crossreferences to glib/gobject docs.
7780
7781 2007-02-12  Wim Taymans  <wim@fluendo.com>
7782
7783         * docs/design/draft-latency.txt:
7784         Small update.
7785
7786         * docs/libs/gstreamer-libs-sections.txt:
7787         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7788         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7789         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7790         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7791         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7792         (gst_base_sink_get_position), (gst_base_sink_query),
7793         (gst_base_sink_change_state):
7794         * libs/gst/base/gstbasesink.h:
7795         API: gst_base_sink_query_latency() to let subclasses query the upstream
7796         latency.
7797         API: gst_base_sink_get_latency() to let subclasses query the configured
7798         latency in the sink.
7799         Implement query and set latency.
7800         Update some docs.
7801         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7802         don't continue preroll when we are flushing. Fixes #405284.
7803
7804         * tests/check/pipelines/stress.c: (change_state_timeout),
7805         (quit_timeout), (GST_START_TEST), (stress_suite):
7806         Test for #405284.
7807
7808 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
7809
7810         Patch by: René Stadler <mail at renestadler de>
7811
7812         * docs/gst/gstreamer-sections.txt:
7813         * gst/gsttaglist.c: (_gst_tag_initialize):
7814         * gst/gsttaglist.h:
7815           API: add GST_TAG_REFERENCE_LEVEL (#403597).
7816
7817 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
7818
7819         * docs/libs/Makefile.am:
7820           Fix path to core docs.
7821
7822         * gst/gstbin.c: (gst_bin_get_by_interface),
7823         (gst_bin_iterate_all_by_interface):
7824           Refix docs by also renaming 'interface' to 'iface' in implementation.
7825
7826         * docs/gst/gstreamer-sections.txt:
7827         * gst/gstcaps.c:
7828         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7829         * gst/gstchildproxy.h:
7830         * gst/gstelementfactory.c:
7831         * gst/gstpadtemplate.h:
7832         * libs/gst/controller/gstcontroller.c:
7833         (gst_controlled_property_new):
7834           Document more.
7835
7836 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
7837
7838         * gst/gstbin.h:(gst_bin_get_by_interface),
7839         (gst_bin_iterate_all_by_interface):
7840         Replace interface parameter name by iface as interface is 
7841         a reserved keyword in Visual Studio for C++ projects so it removes
7842         a build error for application developpers using VS.
7843         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7844         Fix a bug on Windows in uri format check. Now the prefix checked
7845         is file:// and next we check if the path after file:// is absolute.
7846         * win32/common/libgstbase.def:
7847         * win32/common/libgstdataprotocol.def:
7848         * win32/common/libgstgstreamer.def:
7849         Add new exported functions.
7850
7851 2007-02-09  Andy Wingo  <wingo@pobox.com>
7852
7853         * tests/check/pipelines/simple-launch-lines.c
7854         (simple_launch_lines_suite, test_tee): Disable tee test until I
7855         have time to fix it :-(
7856
7857         * tests/check/Makefile.am (noinst_HEADERS): 
7858         * tests/check/libs/libsabi.c: 
7859         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7860         * tests/check/gst/gstabi.c: 
7861         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7862
7863         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7864         tests for push and pull tee behavior.
7865
7866         * plugins/elements/gsttee.h: 
7867         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7868         mark as deprecated as well as unimplemented. It was a crack idea.
7869         Add support for tee operating in pull mode, off by default.
7870
7871         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7872         normal-case logs down to LOG, raise errors to WARNING.
7873         (gst_registry_xml_read_cache): Don't log before calling a function
7874         that logs.
7875
7876         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7877         exit (registry finalize).
7878         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7879         DEBUG log when we emit signals that people don't even have the
7880         chance to connect to.
7881         (gst_registry_scan_path_level): Less logging in the normal case.
7882
7883 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7884
7885         Patch by: Michal Benes <michal dot benes at itonis dot tv>
7886
7887         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7888         Correctly generate EOS for non-seekable files. We don't have a total
7889         length for them and would get an unexpected end of file if we only
7890         special-cased for regular files. (Fixes: #404569)
7891
7892 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7893
7894         * tests/check/elements/filesrc.c: (GST_START_TEST),
7895         (filesrc_suite):
7896         Add unit test for the GstURIHandler interface in filesrc. This also
7897         tests the newly added file://localhost/foo/bar support.
7898
7899 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
7900
7901         * gst/gstelementfactory.h:
7902           The klass string is not a hierarchy. Add reference to the design doc
7903           for more information and common types.
7904
7905 2007-02-02  Wim Taymans  <wim@fluendo.com>
7906
7907         * gst/gstquery.c: (gst_query_new_latency):
7908         Remove old structure field.
7909
7910 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
7911
7912         * tools/gst-launch.1.in:
7913           Give example for network streaming (#351998)
7914
7915 2007-02-02  Wim Taymans  <wim@fluendo.com>
7916
7917         * docs/gst/gstreamer-sections.txt:
7918         Add docs for new methods.
7919
7920         * gst/gstevent.c: (gst_event_new_latency),
7921         (gst_event_parse_latency):
7922         * gst/gstevent.h:
7923         Add new LATENCY event to configure latency in a pipeline.
7924         API: gst_event_new_latency
7925         API: gst_event_parse_latency
7926
7927         * gst/gstmessage.c: (gst_message_new_buffering),
7928         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
7929         (gst_message_new_latency), (gst_message_parse_buffering),
7930         (gst_message_parse_lost_preroll):
7931         * gst/gstmessage.h:
7932         Added messages used in draft-latency.
7933         API: gst_message_new_lost_preroll
7934         API: gst_message_parse_lost_preroll
7935         API: gst_message_new_prerolled
7936         API: gst_message_new_latency
7937
7938         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
7939         (gst_query_parse_latency):
7940         * gst/gstquery.h:
7941         Implemented new latency query as in design doc.
7942         API: gst_query_new_latency
7943         API: gst_query_set_latency
7944         API: gst_query_parse_latency
7945
7946 2007-02-02  Wim Taymans  <wim@fluendo.com>
7947
7948         * docs/design/draft-latency.txt:
7949         Slight redesign to allow for dynamic latency adjustments.
7950
7951         * docs/design/part-negotiation.txt:
7952         Fix some typos.
7953
7954 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
7955
7956         reviewed by: Wim Taymans <wim@fluendo.com>
7957
7958         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7959         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7960         Allow file://localhost/foo/bar URLs and correctly fail for every other
7961         hostname that one sets. This was gnomevfssrc is linked for those if
7962         installed as it can handle it (#403172)
7963
7964 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
7965
7966         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7967
7968         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7969         (unref_data), (gst_collect_pads_add_pad_full):
7970         * libs/gst/base/gstcollectpads.h:
7971         Don't put the previously added destroy notify in the GstCollectData
7972         struct as all it's padding is already used and we don't want to break
7973         ABI. Instead put in the pad's GObject data for now. This should be
7974         cleaned up for 0.11 (#402393).
7975
7976 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
7977
7978         reviewed by: Wim Taymans <wim@fluendo.com>
7979
7980         * docs/libs/gstreamer-libs-sections.txt:
7981         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7982         (unref_data), (gst_collect_pads_add_pad),
7983         (gst_collect_pads_add_pad_full):
7984         * libs/gst/base/gstcollectpads.h:
7985         API: Add function to specify a destroy notification for custom
7986         GstCollectData when adding new pads in GstCollectPads (#402393).
7987
7988 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
7989
7990         * po/sv.po:
7991           Update Swedish translation (#378255).
7992
7993 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
7994
7995         * docs/design/draft-klass.txt:
7996           Fix the previous change, this is a list of categories and not a hierarchy.
7997
7998 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
7999
8000         * docs/design/draft-klass.txt:
8001           Add info about how to get a list of used classes.
8002
8003 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8004
8005         * plugins/elements/gsttypefindelement.c:
8006         (gst_type_find_element_chain_do_typefinding),
8007         (gst_type_find_element_change_state):
8008           Don't leak found caps in chain function (no idea why that never
8009           showed up as a leak anywhere).
8010
8011 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8012
8013         * gst/gstplugin.h:
8014           Fix and expand GstPluginDesc API docs.
8015
8016 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8017
8018         * gst/gstcaps.c:
8019         * gst/gstelementfactory.c:
8020         * gst/gstpadtemplate.h:
8021           api doc fixes
8022
8023         * libs/gst/controller/gstcontroller.c:
8024         (gst_controlled_property_new):
8025         * tests/examples/controller/audio-example.c:
8026           comment fixes
8027
8028 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8029
8030         * configure.ac:
8031           comment about refining the xml deps
8032
8033         * docs/manuals.mak:
8034           comments about moving away from jade for docs
8035         
8036         * gst/gst.c:
8037           recommit the ifdefs to use the binary registry
8038         
8039         * gst/gstbin.c: (gst_bin_change_state_func):
8040           this break is obsolete
8041
8042         * gst/gstelementfactory.h:
8043           better GST_ELEMENT_DETAILS docs, add comment about translation
8044
8045         * gst/gstinfo.h:
8046           remove eol slash
8047
8048         * gst/gstobject.c: (gst_signal_object_get_type):
8049           add G_UNLIKELY as usual
8050
8051         * gst/gstpad.c: (gst_pad_event_default):
8052           add fall trhu comment
8053
8054         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8055         (gst_registry_binary_initialize_magic),
8056         (gst_registry_binary_save_string),
8057         (gst_registry_binary_save_pad_template),
8058         (gst_registry_binary_save_feature),
8059         (gst_registry_binary_save_plugin),
8060         (gst_registry_binary_write_cache),
8061         (gst_registry_binary_check_magic),
8062         (gst_registry_binary_load_pad_template),
8063         (gst_registry_binary_load_feature),
8064         (gst_registry_binary_load_plugin),
8065         (gst_registry_binary_read_cache):
8066           comment typo and formatting
8067
8068         * gst/gstutils.c: (gst_element_state_get_name),
8069         (gst_element_state_change_return_get_name):
8070           remove obsolete breaks
8071
8072         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8073           add FIXME 0.11 and remove cpp comment
8074
8075 2007-01-29  Edward Hervey  <edward@fluendo.com>
8076
8077         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8078         Fix print statement in an even more portable way.
8079
8080 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8081
8082         * docs/gst/gstreamer-sections.txt:
8083         * gst/gstutils.h:
8084           API: add GST_ROUND_DOWN_* macros (#401781).
8085
8086 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8087
8088         * docs/gst/gstreamer.types.in:
8089         * gst/gstregistry.c: (gst_registry_class_init):
8090           Document registry signals and make gtk-doc pick them up (#401381).
8091
8092 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8093
8094         * docs/pwg/building-testapp.xml:
8095           Add some audioconverts and audioresample to the pipeline, and some
8096           more comments and error handling.
8097
8098 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8099
8100         * docs/manual/manual.xml:
8101         * docs/pwg/pwg.xml:
8102           Fix typo (#400987).
8103
8104 2007-01-26  Wim Taymans  <wim@fluendo.com>
8105
8106         * gst/gstcaps.c: (gst_static_caps_get):
8107         Init caps flags too.
8108
8109 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8110
8111         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8112
8113         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8114         If not using mmap'ed files try to seek to the end instead of the
8115         start to determine whether we can seek at all. This fixes the case
8116         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8117         seeks for everything afterwards fail. Fixes #400656
8118
8119 2007-01-25  Wim Taymans  <wim@fluendo.com>
8120
8121         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8122         Add some refcount debugging.
8123         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8124         in multiple streaming threads.
8125
8126 2007-01-25  Wim Taymans  <wim@fluendo.com>
8127
8128         Patch by: David Schleef <ds at schleef dot org>
8129
8130         * docs/libs/gstreamer-libs-sections.txt:
8131         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8132         * libs/gst/base/gstadapter.h:
8133         API: gst_adapter_copy() that can reduce the amount of memcpy when
8134         getting data from the adapter. Fixes #388201.
8135
8136 2007-01-25  Edward Hervey  <edward@fluendo.com>
8137
8138         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8139         In print statements, "%x" is for guint. Fixes build on macosx.
8140
8141 2007-01-24  Edward Hervey  <edward@fluendo.com>
8142
8143         * plugins/elements/gstmultiqueue.c:
8144         (gst_multi_queue_loop):
8145         Small fix.
8146         (single_queue_overrun_cb), (single_queue_underrun_cb),
8147         (single_queue_check_full), (gst_single_queue_new):
8148         Implement single queue growth system.
8149         This uses the extra-size properties, and will grow single queues by
8150         that much if one goes full whereas there are others empty. This is
8151         called extra-mode in the code.
8152         When a single queue's levels go back below the initial max-size
8153         limits, it is no longer in extra-mode. This is to ensure we don't
8154         consume too much memory.
8155         Fixes #399875
8156
8157 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8158
8159         * gst/gst.c: (gst_init_get_option_group):
8160           Make warning about late g_thread_init() calls a bit more explicit,
8161           so that it's more obvious to application developers what they need
8162           to do if a user files a bug against their application.
8163
8164 2007-01-22  Edward Hervey  <edward@fluendo.com>
8165
8166         * plugins/elements/gstmultiqueue.c:
8167         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8168         Remove previous hack of unsetting the flushing flag for the source pad
8169         instead of activating it. Instead, fix the source pad activate function
8170         so that it no longer depends on having a parent set or not.
8171
8172 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8173
8174         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8175
8176         * docs/manual/basics-bus.xml:
8177           Fix example code, gst_element_unref() doesn't exist any longer.
8178
8179 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8180
8181         Patch by: Mark Nauwelaerts <manauw at skynet be>
8182
8183         * gst/gstpad.c:
8184           Fix two docs typoes (#399094).
8185
8186 2007-01-19  Edward Hervey  <edward@fluendo.com>
8187
8188         * docs/faq/gst-uninstalled:
8189         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8190         depending on libgstbaseutils can work in uninstalled environment.
8191
8192 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8193
8194         * gst/gsttaglist.h:
8195         * gst/gsttagsetter.c:
8196         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8197         statement for new tag.
8198
8199 2007-01-17  Edward Hervey  <edward@fluendo.com>
8200
8201         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8202         When dynamically creating single queues, activate sinkpad before adding
8203         it.
8204         We should be doing the same thing for the source pad, but we can't
8205         since it would call a method which needs the parent to be set in order
8206         to work propertly. Instead of activating the source pad, we just unset
8207         the flushing flag, which is the minimal requirement for adding a pad
8208         to an element in a state greater than READY.
8209
8210 2007-01-17  Edward Hervey  <edward@fluendo.com>
8211
8212         * docs/faq/gst-uninstalled:
8213         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8214         Mac OS X.
8215
8216 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8217
8218         * tests/check/gst/gstabi.c:
8219         * tests/check/gst/struct_hppa.h:
8220         * tests/check/libs/libsabi.c:
8221         * tests/check/libs/struct_hppa.h:
8222           Add ABI structs for HPPA (see #393796).
8223
8224 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8225
8226         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8227           Actually write ABI structs to the file specified in the GST_ABI
8228           environment variable, as the message we print claims we would.
8229
8230 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8231
8232         * tests/check/gst/gsttask.c:
8233           Fix header comment.
8234
8235 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8236
8237         * gst/gsttaglist.c: (_gst_tag_initialize):
8238           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8239           previous two entries.
8240
8241 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8242
8243         * docs/gst/gstreamer-sections.txt:
8244         * gst/gsttaglist.c: (_gst_tag_initialize):
8245         * gst/gsttaglist.h:
8246           Add tag support for beat-per-minute.
8247
8248 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8249
8250         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8251         (gst_registry_binary_initialize_magic),
8252         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8253         (gst_registry_binary_save_pad_template),
8254         (gst_registry_binary_save_feature),
8255         (gst_registry_binary_save_plugin),
8256         (gst_registry_binary_write_cache),
8257         (gst_registry_binary_check_magic),
8258         (gst_registry_binary_load_pad_template),
8259         (gst_registry_binary_load_feature),
8260         (gst_registry_binary_load_plugin),
8261         (gst_registry_binary_read_cache):
8262         * gst/gstregistrybinary.h:
8263           Use glib types, cleanup comments, impement interfaces and uri-types.
8264
8265 2007-01-13  Andy Wingo  <wingo@pobox.com>
8266
8267         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8268         getrange() to return buffers with other caps, while we fix
8269         demuxers and typefind, or otherwise change part-negotiation.txt.
8270
8271 2007-01-12  Andy Wingo  <wingo@pobox.com>
8272
8273         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8274         Factor start/stop into this private function instead of partially
8275         in activate functions and partially in the change_state function.
8276         Fixes setup before the element has changed from READY->PAUSED, as
8277         is the case in pull-mode pipelines.
8278         (gst_base_transform_sink_activate_push)
8279         (gst_base_transform_src_activate_pull): Refactor to use
8280         gst_base_transform_activate().
8281         (gst_base_transform_change_state): Removed, not needed any more.
8282
8283         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8284         Truncate before fixating.
8285         
8286         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8287         Don't set_caps() if the result of fixating is ANY, as it's not
8288         supported, and not necessary in the case of a link with no
8289         template caps on either side. Fixes tests/check/libs/basesrc in
8290         some pull-mode tests.
8291
8292         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8293         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8294         (gst_base_transform_src_activate_pull): 
8295         Track the activation mode.
8296         (gst_base_transform_setcaps): In pull mode, when activating the
8297         src pad, after activating the sink pad, activate the sink pad's
8298         peer, as discussed in part-negotiation.txt.
8299
8300         * libs/gst/base/gstbasesrc.h: 
8301         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8302         vmethod, as in basesink.
8303
8304         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8305
8306         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8307         mode, first proxy the setcaps to the peer pad.
8308         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8309         new fixate vmethod.
8310         (gst_base_sink_default_activate_pull): Rename from
8311         gst_base_sink_activate_pull.
8312         (gst_base_sink_negotiate_pull): New function, performs negotiation
8313         in pull mode before calling ::activate_pull().
8314         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8315         vmethod instead of the default implementation. I have no idea how
8316         this worked before. Negotiate before calling activate_pull.
8317
8318         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8319         sink pads in pull mode. In addition to being correct, fixes
8320         filesrc ! decodebin ! identity ! fakesink.
8321         (gst_pad_get_range, gst_pad_pull_range): Don't call
8322         gst_pad_set_caps() if the caps changes; instead error out with
8323         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8324
8325 2007-01-12  Andy Wingo  <wingo@pobox.com>
8326
8327         * docs/design/part-negotiation.txt: Update with more policy.
8328
8329 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8330
8331         * libs/gst/check/gstbufferstraw.h:
8332         * libs/gst/check/gstcheck.h:
8333           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8334           belongs.
8335
8336 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8337
8338         * tests/check/Makefile.am:
8339         * tests/check/gst/.cvsignore:
8340         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8341         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8342         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8343         (GST_START_TEST), (gst_tag_setter_suite):
8344           Add minimal unit test for beforementioned GstTagSetter bug.
8345
8346 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8347
8348         Patch by: René Stadler <mail at renestadler dot de>
8349
8350         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8351           gst_tag_list_merge() returns a new list, so it's not the best idea
8352           to ingore its return value. Effectively meant that tags could only
8353           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8354           Also add function guard to require a non-NULL taglist as input (has
8355           always been so due to gst_tag_list_copy(), just making it explicit).
8356
8357 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8358
8359         * docs/random/draft-missing-plugins.txt:
8360           Some additions: mention new API that is supposed to be used at the
8361           various stages; short blob about new gst-inspect introspection
8362           option; mention potential future problem with plugins that have
8363           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8364
8365 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8366
8367         * tools/gst-inspect.c:
8368         (print_plugin_automatic_install_info_codecs),
8369         (print_plugin_automatic_install_info_protocols),
8370         (print_plugin_automatic_install_info), (main):
8371         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8372         introspect plugin files and get machine-parsable output that corresponds
8373         to the last bit of the missing-plugin installer string (small gotcha:
8374         doesn't take into account ranks).
8375
8376 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8377
8378         * configure.ac:
8379         * docs/gst/gstreamer-sections.txt:
8380         * gst/Makefile.am:
8381         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8382         (gst_registry_lookup_locked):
8383         * gst/gstregistry.h:
8384         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8385         (gst_registry_binary_initialize_magic),
8386         (gst_registry_binary_save_string),
8387         (gst_registry_binary_save_pad_template),
8388         (gst_registry_binary_save_feature),
8389         (gst_registry_binary_save_plugin),
8390         (gst_registry_binary_write_cache),
8391         (gst_registry_binary_check_magic),
8392         (gst_registry_binary_load_pad_template),
8393         (gst_registry_binary_load_feature),
8394         (gst_registry_binary_load_plugin),
8395         (gst_registry_binary_read_cache):
8396         * gst/gstregistrybinary.h:
8397         * gst/gstregistryxml.c: (load_feature),
8398         (gst_registry_xml_read_cache):
8399           commit binary registry (disabled by default, see #359653)
8400
8401 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8402
8403         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8404           Fix 'make check' too.
8405
8406 2007-01-10  Andy Wingo  <wingo@pobox.com>
8407
8408         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8409         notes.
8410         
8411         * docs/design/part-negotiation.txt: Update with, um, one way that
8412         pull-mode negotiation might work?
8413
8414         * gst/gstpad.h: 
8415         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8416         that the pad must be a src pad; makes sense to call it the other
8417         way in pull mode, and the logic is symmetric anyway.
8418
8419 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8420
8421         * plugins/elements/gstfilesink.c:
8422           Include <stdio.h> for fseeko().
8423
8424 2007-01-10  Wim Taymans  <wim@fluendo.com>
8425
8426         * gst/gstevent.c:
8427         * gst/gstevent.h:
8428         Reserve LATENCY event.
8429
8430 2007-01-09  Wim Taymans  <wim@fluendo.com>
8431
8432         * docs/design/draft-latency.txt:
8433         Updates.
8434
8435 2007-01-09  Wim Taymans  <wim@fluendo.com>
8436
8437         * docs/design/draft-latency.txt:
8438         Updates.
8439
8440         * gst/gstelement.h:
8441         * gst/gststructure.c:
8442         * gst/gsttrace.c:
8443         Small typo fixes.
8444
8445 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8446
8447         * tests/check/.cvsignore:
8448           Ignore test-registry.xml as well.
8449
8450 2007-01-09  Wim Taymans  <wim@fluendo.com>
8451
8452         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8453         unref data at the end when we are done with the pad.
8454
8455 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8456
8457         * docs/gst/gstreamer-sections.txt:
8458         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8459         (init_post), (gst_deinit), (gst_update_registry):
8460         * gst/gst.h:
8461           API: add gst_update_registry() (#391296).
8462
8463         * tests/check/Makefile.am:
8464         * tests/check/gst/gstregistry.c:
8465         * tests/check/gst/.cvsignore:
8466           Simple unit test for the above.
8467
8468 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8469
8470         * gst/gstregistry.c: (gst_registry_scan_path_level):
8471           Plugin extension on HP-UX is .sl, add that to the list of approved
8472           plugin extensions (see #393796).
8473
8474         * tests/check/gst/gstpad.c: (GST_START_TEST):
8475           ulong => gulong. Fixes compilation with HP-UX compiler.
8476
8477         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8478           Fix compilation if valgrind headers are not available.
8479
8480 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8481
8482         * win32/common/libgstreamer.def: 
8483           Add new exported function.
8484         * win32/vs6/libgstbase.dsp: 
8485           Add gstdataqueue.c to the build.
8486         * win32/vs6/libgstcoreelements.dsp:
8487           Add gstmultiqueue.c to the build.
8488         
8489 2007-01-06  Andy Wingo  <wingo@pobox.com>
8490
8491         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8492         activate_pull(), providing for a way to specialize the process of
8493         spawning a thread to pull on the sink pad. There is a default
8494         implementation.
8495
8496         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8497         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8498         (gst_base_sink_init): Renamed pad activation functions (inserting
8499         "_pad" in their names). Refactor to use the new activate_pull
8500         vmethod, as appropriate.
8501         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8502         default activate_pull function to start a task pulling from the
8503         sink pad, as before.
8504
8505         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8506         on the pads if necessary, as in push()/chain(). Update docs.
8507         Shouldn't affect existing pull() usage as it is currently only
8508         being used on buffers without caps.
8509
8510 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8511
8512         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8513         (init_pre):
8514           Call g_thread_init() first thing in gst_init() / gst_check_init().
8515           When initialisation is done via gst_init_get_option_group() and
8516           GOption parsing, issue a warning if the GLib thread system has not
8517           been initialised yet by the time gst_init_get_option_group() is
8518           called, as it's quite likely other GLib functions such as
8519           g_option_context_new() have been called already then, and
8520           g_thread_init() must be called before any other GLib function. The
8521           application in question must be fixed in that case, since memory
8522           corruption might happen otherwise.
8523           We issue the warning because even if the GLib folks decide to work
8524           around the problem on their end in future, this is still an issue
8525           with all GLib versions >= 2.10.0, so we should warn until we depend
8526           on a GLib version we know to be safe.
8527           Update documentation as well.
8528           Closes bug #391278.
8529
8530 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8531
8532         * tools/gst-inspect.c: (main):
8533         * tools/gst-launch.c: (main):
8534         * tools/gst-typefind.c: (main):
8535         * tools/gst-xmlinspect.c: (main):
8536           Call g_thread_init() really really early, before any other GLib
8537           function (see #342564 and recent discussion on gtk-devel-list).
8538
8539 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8540
8541         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8542
8543         * gst/gst_private.h:
8544         * gst/gstconfig.h.in:
8545         * gst/gstinfo.h:
8546           On win32, all the __declspec stuff for symbol exporting is
8547           apparently only needed with MSVC, but doesn't work with MingW.
8548           Fixes compilation with MingW and #391909.
8549
8550 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8551
8552         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8553           Change some GST_ERROR_OBJECT that aren't really errors to
8554           GST_WARNING_OBJECT in order to reduce terminal spam.
8555
8556 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8557
8558         * tests/check/Makefile.am:
8559           disable test again, as there seem to be still race problems
8560
8561 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8562
8563         * tests/check/Makefile.am:
8564         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8565         (GST_START_TEST), (queue_suite):
8566           enable queue test again, add tests for the leaky behaviour
8567
8568 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8569
8570         * configure.ac:
8571         * tests/examples/Makefile.am:
8572           Compile adapter test/example only if the required headers are
8573           available (fixes #391915).
8574
8575 2007-01-01  David Schleef  <ds@schleef.org>
8576
8577         * gst/gstplugin.c:
8578           Restore the previous signal handler for SIGSEGV instead of
8579           setting to default, since we may have stolen it away from
8580           someone.  (i.e., Mono)
8581
8582 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8583
8584         * docs/random/draft-missing-plugins.txt:
8585           Some small additions and clarifications.
8586
8587 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8588
8589         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8590           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8591           since that can lead to random memory corruptions and crashes
8592           (may or may not be related to #383244, #386711, and #386711).
8593
8594 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8595
8596         * tests/check/.cvsignore:
8597         * tests/check/Makefile.am:
8598           sync .cvsignome and CLEANFILES
8599
8600 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8601
8602         * tests/check/Makefile.am:
8603           fix distcheck
8604
8605 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8606
8607         * docs/design/part-states.txt:
8608           two tiny additional comments
8609         
8610         * gst/gststructure.c:
8611           doc fixing
8612
8613         * tests/check/Makefile.am:
8614         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8615         (GST_START_TEST):
8616           disable test for now, unless it gets fixed
8617
8618 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8619
8620         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8621         (GST_START_TEST):
8622           fix race in underrun test
8623
8624 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8625
8626         * tests/check/elements/.cvsignore:
8627           ignore more
8628
8629         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8630         (GST_START_TEST):
8631           try to narrow test failure
8632
8633 2006-12-21  David Schleef  <ds@schleef.org>
8634
8635         * plugins/elements/gstfakesrc.c:
8636           Use g_random_int_range(), since it produces better random
8637           numbers in a range than almost-correct floating point code.
8638
8639 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8640
8641         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8642         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8643         (gst_check_teardown_sink_pad):
8644           do not automatically (de)activate pads
8645
8646         * tests/check/Makefile.am:
8647         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8648         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8649           add new, yet simple tests for queue
8650
8651         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8652         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8653         * tests/check/elements/filesrc.c: (cleanup_filesrc),
8654         (GST_START_TEST):
8655         * tests/check/elements/identity.c: (cleanup_identity):
8656           consistent pad (de)activation
8657
8658 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
8659
8660         Patch by: Sebastian Dröge  <slomo ubuntu com>
8661
8662         * libs/gst/base/gstcollectpads.c:
8663           Fix two doc typos (#387866).
8664
8665 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8666
8667         * docs/manual/advanced-dparams.xml:
8668           Fix typo (g_object_control_properties() doesn't exist).
8669
8670 2006-12-19  Edward Hervey  <edward@fluendo.com>
8671
8672         * gst/gstsegment.c: (gst_segment_set_seek):
8673         Fine tune the cases where the segment start/stop values are really
8674         updated.
8675         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8676         Add tests for the return values of gst_segment_set_seek().
8677
8678 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8679
8680         * gst/gst.c:
8681           Docs typo fix.
8682
8683         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8684         (gst_queue_init):
8685           Fix incorrect documentation and flesh it out a bit more.
8686           Set default values for the max properties on the GParamSpec as well,
8687           so it shows up correctly in gst-inspect.
8688
8689 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
8690
8691         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8692           Correct docs of queue, add more detail and crosslink it more.
8693
8694 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8695
8696         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8697           Print additional debug info when the stream isn't perfectly
8698           timestamped; don't try to use invalid durations.
8699
8700 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8701
8702         * docs/design/Makefile.am:
8703           Dist new design docs.
8704
8705 2006-12-16  Wim Taymans  <wim@fluendo.com>
8706
8707         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8708
8709         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8710         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8711         (gst_collect_pads_stop), (gst_collect_pads_event),
8712         (gst_collect_pads_chain):
8713         * libs/gst/base/gstcollectpads.h:
8714         Add refcounting to the collectpads data so we can track when it's safe
8715         to free the data. Fixes #383382.
8716
8717 2006-12-15  Wim Taymans  <wim@fluendo.com>
8718
8719         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8720         (gst_collect_pads_remove_pad):
8721         Automatically activate/deactivate pads when they are added to a
8722         started/stoped collectpads.
8723
8724 2006-12-15  Wim Taymans  <wim@fluendo.com>
8725
8726         * gst/gstelement.c: (gst_element_add_pad):
8727         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8728         * gst/gstpad.c: (gst_pad_init):
8729         Set pads to FLUSHING when they are created. Check, warn and fix when a
8730         demuxer adds an inactive pad to itself when running. Fixes #339326.
8731
8732 2006-12-15  Wim Taymans  <wim@fluendo.com>
8733
8734         * gst/gstelement.c: (gst_element_class_init),
8735         (gst_element_default_send_event), (gst_element_send_event),
8736         (gst_element_default_query), (gst_element_query):
8737         Expose default element send_event and query handling as vmethods that
8738         subclasses can chain up to.
8739
8740 2006-12-15  Wim Taymans  <wim@fluendo.com>
8741
8742         * gst/gstelement.c: (gst_element_set_state_func):
8743         Small documentation fixes.
8744
8745 2006-12-15  Wim Taymans  <wim@fluendo.com>
8746
8747         * docs/design/draft-latency.txt:
8748         Checked in draft for handling latency in pipelines.
8749
8750 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8751
8752         * Makefile.am:
8753         * gstreamer.doap:
8754         * gstreamer.spec.in:
8755           adding .doap file
8756
8757 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
8758
8759         * gst/gst.c: (init_pre), (init_post):
8760           init_pre() and init_post() might be called via our GOptionGroup or
8761           from gst_init(), and we should skip both of them if we've already
8762           been initialised, otherwise we will init some things twice or add
8763           two default log functions.
8764
8765 2006-12-13  Edward Hervey  <edward@fluendo.com>
8766
8767         * docs/manual/basics-bus.xml:
8768         No, gst_main_loop does not exist. Its g_main_loop.
8769         Discovered by somebody who abused the copy-paste technique of coding :)
8770
8771 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
8772
8773         * gst/gstghostpad.c:
8774           Log ghostpad debug stuff to the GST_PADS category as well rather
8775           than just to the default category.
8776
8777 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
8778
8779         * configure.ac:
8780         * gst/gst.c: (init_pre):
8781           Add some basic system details such as OS and architecture
8782           to the debug output if possible, courtesy of uname().
8783
8784 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
8785
8786         * docs/gst/running.xml:
8787           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8788           environment variables.
8789
8790 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8791
8792         * tests/check/gst/gstbin.c: (GST_START_TEST):
8793         It is acceptable to have a refcount of 2 or 3 at this point in the
8794         test, because the pipeline might be just posting its state_change
8795         message. The next line then waits for that message to appear using
8796         bus_poll, so that should be fine too.
8797
8798 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8799
8800         * gst/gst.c: (ensure_current_registry_forking):
8801         Ignore EINTR when reading from the child registry pipe.
8802         Explicitly ignore the return value from close, since it makes no
8803         difference.
8804
8805         * gst/gstminiobject.c: (gst_mini_object_ref),
8806         (gst_mini_object_unref):
8807         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8808
8809         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8810         When removing cached plugins, remove their features too, so they're
8811         not visible after they've disappeared.
8812
8813         * gst/gstutils.c: (prepare_link_maybe_ghosting):
8814         In the unlikely case that we are linking pads with no parents, don't
8815         crash trying to get the non-existent parent bin.
8816
8817         * gst/parse/grammar.y:
8818         Output debug in the PIPELINE category
8819
8820 2005-03-08  Wim Taymans  <wim@fluendo.com>
8821
8822         Patch by: René Stadler <mail at renestadler dot de>
8823
8824         * gst/gstclock.c: (gst_clock_new_periodic_id):
8825         Reject invalid clock times for interval of periodic ids.
8826         Fixes ##383506.
8827
8828 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8829
8830         * gst/gstelementfactory.c: (gst_element_factory_create):
8831         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8832         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8833         * tools/gst-inspect.c: (print_element_info):
8834         Fix refcounting of gst_plugin_feature_load to match the docs. 
8835         Fixes: #380129
8836
8837 2006-12-07  Wim Taymans  <wim@fluendo.com>
8838
8839         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8840         (gst_base_sink_get_position):
8841         Improve debugging of events.
8842
8843 2006-12-07  Wim Taymans  <wim@fluendo.com>
8844
8845         Patch by: René Stadler <mail at renestadler dot de>
8846
8847         * gst/gstclock.c: (gst_clock_id_wait):
8848         Make period ids add the interval to the origial requested time instead
8849         of the possibly updated time which can be wrong when there are multiple
8850         waiters for the same id. Fixes #382592.
8851
8852         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8853         (gst_system_clock_id_wait_jitter_unlocked),
8854         (gst_system_clock_id_wait_jitter):
8855         Fix restart in the async notify thread when an async entry is added to
8856         the front of the list. Fixes #381492. 
8857
8858         * tests/check/gst/gstsystemclock.c: (store_callback),
8859         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8860         Added test for multiple async waits.
8861         Added test for async wait order.
8862
8863 2006-12-07  Wim Taymans  <wim@fluendo.com>
8864
8865         * gst/gstbin.c: (gst_bin_query):
8866         Add some more docs about the POSITION query.
8867
8868 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8869
8870         * configure.ac:
8871         Bump version nano - back to CVS.
8872
8873 === release 0.10.11 ===
8874
8875 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
8876
8877         * configure.ac:
8878           releasing 0.10.11, "Love never runs on time"
8879
8880 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
8881
8882         * win32/common/libgstbase.def:
8883         * win32/common/libgstreamer.def:
8884         * win32/vs8/libgstbase.vcproj:
8885         * win32/vs8/libgstcoreelements.vcproj:
8886         * win32/vs8/libgstreamer.vcproj:
8887         Fix compilation on win32 under VS8
8888         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8889         Partially fixes #381175
8890
8891 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8892
8893         * gst/gstvalue.c: (gst_value_compare_fraction):
8894         If someone is foolish enough to compare 2 fractions with denominator =
8895         0, return UNORDERED rather than aborting.
8896
8897 2006-11-28  Edward Hervey  <edward@fluendo.com>
8898
8899         * libs/gst/base/Makefile.am:
8900         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8901         (gst_data_queue_base_init), (gst_data_queue_class_init),
8902         (gst_data_queue_init), (gst_data_queue_new),
8903         (gst_data_queue_cleanup), (gst_data_queue_finalize),
8904         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8905         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8906         (gst_data_queue_is_empty), (gst_data_queue_is_full),
8907         (gst_data_queue_set_flushing), (gst_data_queue_push),
8908         (gst_data_queue_pop), (gst_data_queue_drop_head),
8909         (gst_data_queue_set_property), (gst_data_queue_get_property):
8910         * libs/gst/base/gstdataqueue.h:
8911         New GstDataQueue object for threadsafe queueing. Most useful for
8912         elements that need some queueing functionnality.
8913         * docs/libs/gstreamer-libs-docs.sgml:
8914         * docs/libs/gstreamer-libs-sections.txt:
8915         Insert documentation for GstDataQueue
8916         * plugins/elements/Makefile.am:
8917         * plugins/elements/gstelements.c:
8918         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
8919         (gst_multi_queue_class_init), (gst_multi_queue_init),
8920         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8921         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
8922         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
8923         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8924         (gst_multi_queue_loop), (gst_multi_queue_chain),
8925         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8926         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
8927         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
8928         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
8929         (wake_up_next_non_linked), (compute_next_non_linked),
8930         (single_queue_overrun_cb), (single_queue_underrun_cb),
8931         (single_queue_check_full), (gst_single_queue_new):
8932         * plugins/elements/gstmultiqueue.h:
8933         New multiqueue element, using GstDataQueue. Used for queuing multiple
8934         streams.
8935         Closes #344639 and #347785
8936
8937 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
8938
8939         * docs/pwg/advanced-types.xml:
8940           add more missing type details
8941
8942         * tools/gst-run.c: (main):
8943           remove unused variable
8944
8945 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
8946
8947         * docs/libs/Makefile.am:
8948         * docs/libs/gstreamer-libs.types:
8949           add types of base classes to enable gobject specific stuff in the docs
8950
8951         * docs/random/ensonic/embedded.txt:
8952           more ideas about isolating platform specific things
8953
8954 2006-11-20  Wim Taymans  <wim@fluendo.com>
8955
8956         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
8957
8958         * libs/gst/check/gstcheck.h:
8959         Fix compilation and running against 0.9.4. Fixes #377332.
8960
8961 2006-11-20  Wim Taymans  <wim@fluendo.com>
8962
8963         * gst/gstsegment.c: (gst_segment_set_seek),
8964         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8965         (gst_segment_to_running_time):
8966         Fix boundary checking in to_running_time() and to_stream_time().
8967         Fixes #377183.
8968
8969         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8970         stream and running time can now be calculated for the complete
8971         clipped segment.
8972
8973 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
8974
8975         * gst/gstpad.c: (gst_pad_push_event):
8976           Can't access event structure after giving away ownership of
8977           the event.
8978
8979 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
8980
8981         * docs/random/ensonic/embedded.txt:
8982         * docs/random/ensonic/profiling.txt:
8983         * docs/random/ensonic/receipies.txt:
8984           more thinking
8985
8986 2006-11-13  Wim Taymans  <wim@fluendo.com>
8987
8988         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8989
8990         * gst/gstpad.c:
8991         Fix documentation for gst_pad_dispatcher. Fixes #374475.
8992
8993 2006-11-13  Wim Taymans  <wim@fluendo.com>
8994
8995         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
8996
8997         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8998         Store new length in segment duration so we don't keep on calling the
8999         potentially expensize get_size() call. Fixes #370865.
9000
9001 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9002
9003         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9004
9005         * win32/common/libgstreamer.def:
9006           Add two missing symbols (#366492).
9007
9008 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9009
9010         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9011         (gst_adapter_take_buffer):
9012         Fix format string to use all its arguments.
9013         Remove useless >= check on a guint
9014
9015 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9016
9017         * tests/examples/adapter/.cvsignore:
9018         Ignore build file as commanded by the build-bot
9019
9020 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9021
9022         * tests/examples/adapter/Makefile.am:
9023         * tests/examples/adapter/adapter_test.c: (run_test_take),
9024         (run_test_take_buffer), (run_tests), (main):
9025
9026         Add new files from the previous commit
9027
9028 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9029
9030         * Makefile.am:
9031         * configure.ac:
9032         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9033         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9034         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9035         * libs/gst/base/gstadapter.h:
9036         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9037         (GST_START_TEST), (gst_adapter_suite):
9038         * tests/examples/Makefile.am:
9039         Do some optimisation work in GstAdapter to avoid copies in more cases.
9040         It could still do slightly better by merging buffers when
9041         gst_buffer_is_span_fast is true, but is already faster. 
9042
9043         Also, avoid traversing a single-linked list to append each incoming 
9044         buffer inside the adapter.
9045
9046         Add simple test app that times the adapter behaviour in different
9047         situations, and extend the unit test to check that bytes enter and
9048         exit the adapter in their original order.
9049
9050 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9051
9052         * docs/random/draft-missing-plugins.txt:
9053           Update: use element message instead of adding a new message
9054           type to the core; don't provide GStreamer API to initiate the
9055           plugin download, just provide API to compose the strings needed
9056           and let an external libgimmestuff handle the rest.
9057
9058 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9059
9060         * tools/gst-inspect.c: (print_element_properties_info):
9061         Print a string instead of 'unknown type' for GValueArray properties
9062
9063 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9064
9065         * docs/random/draft-missing-plugins.txt:
9066         More small fixes.
9067
9068 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9069
9070         * tests/examples/typefind/typefind.c: (type_found), (main):
9071           Make typefind element example work again (#371894); add a
9072           license header.
9073
9074 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9075
9076         * docs/random/draft-missing-plugins.txt:
9077           Commit initial draft about how to deal with missing plugins,
9078           needs work (API too).
9079
9080 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9081
9082         * docs/pwg/advanced-types.xml:
9083           documents the new caps elements (see #363118)
9084
9085 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9086
9087         * gst/gstplugin.c: (gst_plugin_load_file):
9088         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9089         (gst_file_src_map_region), (gst_file_src_start):
9090         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9091         (gst_file_index_commit):
9092           Use g_strerror() instead of strerror() - we want UTF-8.
9093
9094 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9095
9096         Patch by: Peter Kjellerstedt <pkj at axis com>
9097
9098         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9099           Another printf fix (#371493).
9100
9101 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9102
9103         * tests/check/gst/gsttag.c:
9104           relicence (okay with author=company)
9105
9106 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9107
9108         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9109         (gst_pad_push_event):
9110           Enhance debug and improve docs
9111         
9112         * gst/gsturi.c:
9113           Fix docs
9114
9115 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9116
9117         * docs/random/ensonic/distributed.txt:
9118         * docs/random/ensonic/profiling.txt:
9119           more ideas
9120
9121 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9122
9123         * docs/gst/gstreamer-sections.txt:
9124           add new API and fix the build
9125           
9126         * gst/gstbin.c: (gst_bin_recalc_state):
9127         * gst/gstelement.c: (gst_element_message_full),
9128         (gst_element_get_state_func), (gst_element_set_state_func):
9129           use new API and improve logging
9130         
9131         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9132         * gst/gstutils.h:
9133           API: add function to get StateChangereturn names to improve logs 
9134
9135 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9136
9137         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9138           I'm considering shooting the next person to put strerror stuff
9139           in the translateable part of the message.
9140
9141 2006-11-03  Wim Taymans  <wim@fluendo.com>
9142
9143         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9144         Get the type and printf conversion specifiers right.
9145
9146 2006-11-03  Wim Taymans  <wim@fluendo.com>
9147
9148         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9149
9150         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9151         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9152         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9153         Some small cleanups. Improve debugging.
9154         * gst/gstpad.h:
9155         Signal all waiting threads with a broadcast instead of just one.
9156         Fixes #369942.
9157
9158 2006-11-03  Wim Taymans  <wim@fluendo.com>
9159
9160         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9161         (gst_fd_src_create):
9162         Add some debugging. 
9163         Only update fd when it's different from the old.
9164
9165 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9166
9167         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9168           Printf fixes for PPC/OSX, take two (#369366).
9169
9170 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9171
9172         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9173
9174         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9175         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9176         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9177           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9178           don't cast to long long for portability reasons, but use
9179           GLib's types instead.
9180
9181 2006-10-30  Michael Smith  <msmith@fluendo.com>
9182
9183         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9184           Get the arguments to lseek() the right way around.
9185           Fixes 367677.
9186
9187 2006-10-30  Wim Taymans  <wim@fluendo.com>
9188
9189         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9190
9191         * gst/gstinfo.h:
9192         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9193
9194 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9195
9196         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9197
9198         * docs/design/part-MT-refcounting.txt:
9199         * docs/random/wtay/capsnego2-docs:
9200         * gst/gstclock.c:
9201         * gst/gstxml.c:
9202           Typo fixes (#366212).
9203
9204 2006-10-28  Wim Taymans  <wim@fluendo.com>
9205
9206         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9207
9208         * gst/gst.c:
9209         * win32/common/libgstbase.def:
9210         * win32/common/libgstreamer.def:
9211         * win32/vs8/libgstbase.vcproj:
9212         * win32/vs8/libgstcontroller.vcproj:
9213         Add needed entries in .def files.
9214         Use HAVE_UNISTD_H.
9215         Rearrange def files in vs8 solutions. Fixes #366286.
9216
9217 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9218
9219         * win32/common/gstconfig.h:
9220           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9221           hand-made win32 gstconfig.h. Fixes #366321.
9222
9223 2006-10-27  Wim Taymans  <wim@fluendo.com>
9224
9225         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9226         (gst_ghost_pad_new_full):
9227         Make acceptcaps return TRUE when we don't have a target, just like
9228         setcaps does.
9229
9230 2006-10-27  Wim Taymans  <wim@fluendo.com>
9231
9232         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9233         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9234
9235 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9236
9237         * gst/gststructure.c: (gst_structure_id_set_value):
9238           If someone tries to set a non-UTF8 string field on a structure,
9239           don't just print a warning, but also ignore the request and do
9240           not change/add that field to the structure.
9241
9242         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9243           Test for the above.
9244
9245 2006-10-25  David Schleef  <ds@schleef.org>
9246
9247         * gst/gstinfo.c:
9248           g_hash_table_insert() needs a cast to a non-const pointer duh.
9249
9250 2006-10-25  David Schleef  <ds@schleef.org>
9251
9252         * gst/gstinfo.c:
9253         * gst/gstinfo.h:
9254           Change name parameter of _gst_debug_register_funcptr to const
9255           to reflect the constness of its use in the function as well
9256           as to quiet a gcc warning.
9257
9258 2006-10-25  Edward Hervey  <edward@fluendo.com>
9259
9260         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9261         Don't push the buffer if it's empty.
9262         Closes #363095
9263
9264 2006-10-24  Wim Taymans  <wim@fluendo.com>
9265
9266         * gst/gstevent.h:
9267         Add small comment.
9268
9269         * libs/gst/base/gstbasetransform.c:
9270         (gst_base_transform_sink_eventfunc):
9271         Debug segment values *after* updating them as this is more
9272         interesting.
9273
9274 2006-10-23  Wim Taymans  <wim@fluendo.com>
9275
9276         * docs/design/part-events.txt:
9277         Update some docs.
9278
9279         * docs/design/part-block.txt:
9280         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9281         (gst_pad_push_event):
9282         Revert BLOCKING patch, it tries to be smart without really having a
9283         clear idea what or how. So, now we discard all FLUSHING events again on
9284         a blocking pad. Should fix gnonlin again.
9285
9286 2006-10-23  Wim Taymans  <wim@fluendo.com>
9287
9288         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9289
9290         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9291         (gst_base_src_start), (gst_base_src_activate_push):
9292         Make sure size is always initialized. Fixes #364388.
9293
9294 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9295
9296         * docs/random/ensonic/distributed.txt:
9297           add some ideas about doing distributed processing
9298
9299         * docs/random/ensonic/profiling.txt:
9300           get_rusage look promising
9301
9302 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9303
9304         * docs/manual/basics-helloworld.xml:
9305           Add a cast in example to fix compile warning
9306
9307 2006-10-18  Wim Taymans  <wim@fluendo.com>
9308
9309         * gst/gstsegment.c: (gst_segment_set_last_stop),
9310         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9311         Relax arg checking again, -1 is allowed.
9312
9313 2006-10-18  Wim Taymans  <wim@fluendo.com>
9314
9315         * gst/gstsegment.c: (gst_segment_set_last_stop),
9316         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9317         _set_last_stop() must be with a value != -1
9318         A _TYPE_SET to -1 means seek to 0.
9319         Calc last_stop correctly for negative rates.
9320         Make sure we work with positive durations when updating a segment.
9321
9322 2006-10-18  Wim Taymans  <wim@fluendo.com>
9323
9324         * docs/design/part-live-source.txt:
9325         * gst/gstclock.h:
9326         Small docs fixes.
9327
9328 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9329
9330         * gst/gstbuffer.h:
9331           Add an explicit cast to GstBuffer** to keep old code that added an
9332           explicit cast to GstMiniObject** for gst_mini_object_replace()
9333           compiling without warning.
9334
9335 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9336
9337         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9338           check for validity of dates
9339
9340 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9341
9342         * docs/gst/gstreamer-sections.txt:
9343           Forgot this one, makes gtk-doc shut up.
9344
9345 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9346
9347         Patch by: Peter Kjellerstedt <pkj at axis com>
9348
9349         * gst/gstobject.h:
9350           Don't define xmlNodePtr to gpointer if the core was built with
9351           --disable-loadsave and --disable-registry, this will break
9352           applications that want to use libxml2 but are buildling against a
9353           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9354           instead so we don't have to mess with the libxml2 namespace
9355           (#361675).
9356
9357 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9358
9359         * gst/gstbuffer.h:
9360           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9361           type-punned pointer warnings.
9362
9363 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9364
9365         * gst/gstelement.h:
9366           Add casts to the correct return type to state <=> state transition
9367           macros.
9368
9369 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9370
9371         * docs/design/part-live-source.txt:
9372           describe howto handle latency
9373         
9374         * docs/random/ensonic/profiling.txt:
9375           more ideas
9376
9377         * tools/gst-plot-timeline.py:
9378           fix log parsing for solaris, remove unused function
9379
9380 2006-10-16  Wim Taymans  <wim@fluendo.com>
9381
9382         * docs/design/part-trickmodes.txt:
9383         * gst/gstevent.c:
9384         Update some docs regarding reverse playback.
9385
9386 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9387
9388         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9389
9390         * win32/vs8/grammar.vcproj:
9391           Error out with a warning if glib-genmarshal.exe is not in path,
9392           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9393
9394 2006-10-13  Wim Taymans  <wim@fluendo.com>
9395
9396         * gst/gstsegment.c: (gst_segment_set_seek):
9397         When seeking to stop -1, set last_stop (current position) to the
9398         duration of the segment.
9399
9400 2006-10-13  Wim Taymans  <wim@fluendo.com>
9401
9402         * gst/gstelement.h:
9403         Clarify _NO_PREROLL a bit more.
9404
9405         * gst/gstevent.c:
9406         Fix docs.
9407
9408         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9409         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9410         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9411         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9412         due to wrong locking order. Fixes #361769.
9413         Remove some redundant/misplaced checks in pad_block.
9414
9415         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9416         For negative rates, count backwards from the duration.
9417
9418 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9419
9420         * gst/gsterror.c: (_gst_library_errors_init):
9421           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9422           up with something better).
9423
9424 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9425
9426         * win32/vs6/libgstreamer.dsp:
9427         * win32/vs7/libgstreamer.vcproj:
9428         * win32/vs8/libgstreamer.vcproj:
9429           Don't reference glib-compat.c which is currently not used and not
9430           disted; add gstquark.c which was recently added. Fixes #361730.
9431
9432 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9433
9434         * win32/common/libgstbase.def:
9435         * win32/common/libgstcontroller.def:
9436         * win32/common/libgstreamer.def:
9437           Add gst_caps_merge() and a bunch of other recently-added functions.
9438           Fixes #361732.
9439
9440 2006-10-11  Wim Taymans  <wim@fluendo.com>
9441
9442         * docs/plugins/gstreamer-plugins.args:
9443         * docs/plugins/inspect/plugin-coreelements.xml:
9444         * docs/plugins/inspect/plugin-coreindexers.xml:
9445         Update element args.
9446
9447         * gst/gstsystemclock.c:
9448         Small comment update.
9449
9450         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9451         (gst_tee_request_new_pad), (gst_tee_release_pad),
9452         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9453         (gst_tee_sink_activate_pull):
9454         * plugins/elements/gsttee.h:
9455         Some tee loving:
9456         Add default property defines.
9457         Implement release pad function.
9458         Give properties better blubs etc.
9459         Activate pads before adding them to a running tee.
9460         Do simple buffer_alloc on the first requested pad.
9461         Post error when activation fails.
9462
9463 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9464
9465         * gst/gst.c: (ensure_current_registry_forking):
9466           Check return value of write() to make compiler happy.
9467
9468 2006-10-11  Wim Taymans  <wim@fluendo.com>
9469
9470         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9471
9472         * plugins/elements/gstqueue.c: (gst_queue_chain):
9473         Recheck queue filledness after signalling the overrun when we're about
9474         to leak downstream because we released the lock when emitting the signal
9475         and the queue could be empty again. Fixes #352345.
9476
9477 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9478
9479         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9480           Fix refcounting here too, just like we did for _new_valist() a few
9481           days ago (#357180) (thanks to René Stadler). Also remove all those
9482           'Since: 0.9' from the gtk-doc blobs.
9483
9484         * tests/check/libs/controller.c: (controller_refcount_new_list),
9485         (gst_controller_suite):
9486           Unit test for the above.
9487
9488 2006-10-10  Wim Taymans  <wim@fluendo.com>
9489
9490         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9491
9492         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9493         (gst_pad_save_thyself):
9494         Update some docs.
9495         Write pad direction in XML output. Fixes #345496.
9496
9497 2006-10-10  Wim Taymans  <wim@fluendo.com>
9498
9499         Patch by: René Stadler <mail at renestadler dot de>
9500
9501         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9502         (gst_controller_new_list), (_gst_controller_dispose),
9503         (_gst_controller_finalize), (_gst_controller_class_init):
9504         Take ref to controlled object so that it cannot disappear. 
9505         Fixes #357432.
9506
9507 2006-10-10  Wim Taymans  <wim@fluendo.com>
9508
9509         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9510         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9511         (gst_check_teardown_sink_pad):
9512         Activate/deactivate pads in setup/teardown respectively.
9513
9514 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9515
9516         Patch by: Josep Torra Valles <josep@fluendo.com>
9517
9518         * gst/Makefile.am:
9519         Cast values when making gstenumtypes.h.  This pacifies Forte
9520         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9521         in the enumeration.
9522
9523 2006-10-09  Wim Taymans  <wim@fluendo.com>
9524
9525         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9526         Rename some more @cur to @start to fix docs. 
9527
9528         * gst/gstsegment.c: (gst_segment_set_seek):
9529         Fix typo.
9530         time and start must always stay in sync as defined in design doc.
9531
9532         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9533         Rename param to fix docs.
9534
9535         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9536         Check that start and time are in sync.
9537
9538         * tests/check/pipelines/parse-launch.c:
9539         (gst_parse_test_element_change_state):
9540         Activate pad before adding to the element.
9541
9542 2006-10-09  Wim Taymans  <wim@fluendo.com>
9543
9544         * docs/design/part-qos.txt:
9545         Fix typo.
9546
9547         * gst/gstevent.c:
9548         * gst/gstevent.h:
9549         Update seek event docs regarding negative rates.
9550         Rename @cur to @start. 
9551
9552         * gst/gstsegment.c: (gst_segment_set_seek):
9553         * gst/gstsegment.h:
9554         Update set_seek docs regarding negative rates.
9555         Correctly update last_stop to @stop when dealing with negative
9556         rates.
9557         Rename @cur to @start. 
9558
9559         * tests/check/gst/gstpad.c: (GST_START_TEST):
9560         Activate pads before trying to use them.
9561
9562         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9563         (gst_segment_suite):
9564         Add simple check for segments and negative rates.
9565
9566 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9567
9568         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9569         * gst/gsttaglist.h:
9570         * docs/gst/gstreamer-sections.txt:
9571           API: add gst_tag_list_is_empty() (#360467).
9572
9573         * tests/check/gst/gsttag.c: (GST_START_TEST):
9574           And a test case.
9575
9576 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9577
9578         * gst/gstmessage.h:
9579         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9580         a value that doesn't fit on enumeration.
9581
9582 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9583
9584         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9585         Remove local debugging system and use Gstreamer's instead.
9586
9587 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9588
9589         Patch by: Josep Torra Valles <josep@fluendo.com>
9590
9591         * common/m4/gst-error.m4:
9592         Disable warning of statement not reached on Forte.
9593         * gst/gstmessage.h:
9594         Fix warning on Forte (value doesn't fit on enumeration).
9595         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9596         Fix warning on Forte (value doesn't fit on enumeration).
9597         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9598         DEBUG macro says it takes minimum of 2 args and so Forte
9599         complains about the use with just 1 arg.
9600         * plugins/elements/gstfdsink.c:
9601         * plugins/elements/gstfdsrc.c:
9602         * plugins/elements/gstfilesink.c:
9603         * plugins/elements/gstfilesrc.c:
9604         Use correct return type for the uri handler implementations.
9605
9606         All these fix warnings in Forte.  Fixes bug #360860.
9607
9608 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9609
9610         * gst/gstelement.h:
9611           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9612           format string, so don't use G_GNUC_PRINTF for those versions.
9613
9614 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9615
9616         * gst/gsttaglist.c: (gst_is_tag_list):
9617         * gst/gsttaglist.h:
9618           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9619
9620         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9621           Small test for the above.
9622
9623 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9624
9625         * gst/gsttaglist.h:
9626           Less tabs, more spaces.
9627
9628 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
9629
9630         * gst/gstinfo.h:
9631           Those two function declarations do actually belong there, revert
9632           commit from yesterday that turned them intro macros.
9633
9634 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9635
9636         Patch by: Josep Torra Valles <josep@fluendo.com>
9637
9638         * gst/gst.c: (gst_init_get_option_group):
9639         Fix empty declaration and type mismatch.
9640         * gst/gstbin.c: (gst_bin_change_state_func):
9641         Fix type mismatch.
9642         * gst/gstelement.c: (gst_element_continue_state),
9643         (gst_element_set_state_func), (gst_element_change_state),
9644         (gst_element_change_state_func):
9645         Fix type mismatches.
9646         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9647         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9648         Cast as appropriate.
9649         * gst/gstobject.c: (gst_class_signal_connect):
9650         Cast as appropriate.  The function pointer parameter really
9651         has the wrong type but would break API if we change it.
9652         * gst/gstquery.c:
9653         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9654         order of including string.h.
9655         * gst/gstutils.c: (gst_element_state_get_name):
9656         Remove unreachable line.
9657         * gst/gstxml.c: (gst_xml_parse_doc):
9658         Fix type mismatch.
9659         All these caught by Forte.
9660
9661 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9662
9663         Patch by: Josep Torra Valles <josep@fluendo.com>
9664
9665         * common/m4/gst-error.m4:
9666         Fixed bug #360151.
9667         We need to disable warnings on Forte for empty declarations
9668         due to gst-indent adding ;s to lines that just use macros
9669         where the macro actually doesn't need a ; at end to end
9670         statement.
9671
9672 2006-10-06  Wim Taymans  <wim@fluendo.com>
9673
9674         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9675         (gst_file_sink_close_file), (gst_file_sink_event),
9676         (gst_file_sink_render):
9677         Add some FIXME for the NEWSEGMENT handling.
9678
9679 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9680
9681         * gst/parse/grammar.y:
9682         Remove static function gst_parse_element_lock as all it does
9683         is return.  Looks like cruft from 0.8.
9684
9685 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9686
9687         Patch by: Josep Torra Valles <josep@fluendo.com>
9688
9689         * common/m4/gst-error.m4:
9690         * configure.ac:
9691         * libs/gst/net/Makefile.am:
9692         Fix a compilation issue with Forte on Solaris.  inet_aton is in
9693         libresolv.
9694
9695 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9696
9697         * gst/gstpad.c: (pre_activate):
9698         * gst/gstregistry.c: (gst_registry_scan_path_level):
9699         * gst/gstregistryxml.c: (load_plugin):
9700         * libs/gst/controller/gstcontroller.c:
9701         (gst_controlled_property_set_interpolation_mode):
9702         * libs/gst/dataprotocol/dataprotocol.c:
9703         (gst_dp_packet_from_event_1_0):
9704         * libs/gst/net/gstnetclientclock.c:
9705         (gst_net_client_clock_observe_times):
9706         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9707           Printf fixes.
9708
9709 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9710
9711         * configure.ac:
9712         * docs/gst/gstreamer-sections.txt:
9713         * gst/gstconfig.h.in:
9714         * gst/gstelement.h:
9715         * gst/gstinfo.h:
9716           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9717           whether we can use G_GNUC_PRINTF in other header files and at
9718           least check the printf format/arguments of debug messages and
9719           GST_ELEMENT_ERROR messages when the printf extension is not
9720           being used.
9721           Replace more tabs with spaces in gstinfo.h and remove two spurious
9722           function declarations in GST_DISABLE_DEBUG part with macros.
9723
9724 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
9725
9726         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9727           More docs for the sync-message signal (mention that it is not
9728           emitted by default); log message structures of messages posted on
9729           the bus as well.
9730
9731 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
9732
9733         * gst/gst.c: (ensure_current_registry_forking):
9734         Use a pipe pair to receive status results from the forked child, and
9735         ignore the result from waitpid. Fixes #355499
9736
9737 2006-10-02  Wim Taymans  <wim@fluendo.com>
9738
9739         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9740         (gst_ghost_pad_suite):
9741         Fix leak in check.
9742
9743 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9744
9745         * gst/gstpad.c:
9746           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9747
9748 2006-10-02  Edward Hervey  <edward@fluendo.com>
9749
9750         * docs/design/part-block.txt:
9751         Further explain the use of flushing on blocked pads.
9752         * docs/gst/gstreamer-sections.txt:
9753         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9754         (gst_pad_push_event):
9755         * gst/gstpad.h:
9756         Added new GstPadFlag : GST_PAD_BLOCKING.
9757         Adds the notion of pads really blocking, which enables to properly
9758         handle FLUSH_START/FLUSH_STOP events on blocked pads.
9759         Fixes #358999
9760         API: gst_pad_is_blocking()
9761         API: GST_PAD_IS_BLOCKING() macro
9762         API: GST_PAD_BLOCKING GstPadFlag
9763         
9764 2006-10-02  Wim Taymans  <wim@fluendo.com>
9765
9766         Patch by: mrcgran <mrc.gran at gmail dot com>
9767
9768         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9769         Filter the proxied caps against the padtemplate if we have one.
9770
9771         * gst/gstquery.c: (gst_query_new_segment):
9772         Add include for gstinfo.h so that compilation with
9773         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9774
9775 2006-10-02  Wim Taymans  <wim@fluendo.com>
9776
9777         Patch by: Alessandro Decina  <alessandro at nnva org>
9778
9779         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9780         (gst_file_sink_set_location), (gst_file_sink_open_file),
9781         (gst_file_sink_close_file), (gst_file_sink_event),
9782         (gst_file_sink_render):
9783         Set file to NULL when closing filesink so that we can set a new filename
9784         in READY. Fixes #358613.
9785
9786 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9787
9788         Patch by: Alessandro Decina  <alessandro at nnva org>
9789
9790         * gst/gstevent.c: (_gst_event_copy):
9791           Fix gst_mini_object_make_writable() and gst_event_copy() for events
9792           with event structures by setting the parent refcount address of the
9793           copied structure to the address of the refcount member of the newly
9794           copied event rather than the address of the refcount member of the
9795           original event. Fixes #358737.
9796
9797         * tests/check/gst/gstevent.c: (GST_START_TEST):
9798           Unit test for the above.
9799
9800 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
9801
9802         * docs/design/Makefile.am:
9803           Dist some more files.
9804
9805 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9806
9807         * tests/check/libs/controller.c: (GST_START_TEST),
9808         (gst_controller_suite):
9809           Add test for the previous fix; add some more tests
9810           for correct refcounting behaviour; fix a few leaks
9811           in test cases; call gst_controller_init() at start
9812           of all tests.
9813
9814 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9815
9816         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9817         (gst_controller_set_from_list):
9818           Don't g_return_val_if_fail() on timed values with invalid timestamps
9819           inside a critical section without unlocking the mutex. Spotted by
9820           René Stadler. (#357617)
9821           Also, fix up refcounting properly: when returning an existing
9822           controller, we should increase the reference only once and not
9823           once per property and when trying to control a property again
9824           we should also increase the refcount.
9825
9826 2006-09-29  Wim Taymans  <wim@fluendo.com>
9827
9828         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9829         * libs/gst/net/gstnettimeprovider.c:
9830         (gst_net_time_provider_thread):
9831         Stop reading commands when EOF as well.
9832
9833         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9834         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9835         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9836         Unify description of the dump property.
9837
9838 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9839
9840         * tests/examples/manual/.cvsignore:
9841         OK, so it's actually cvsignore that needs changing. Stop laughing.
9842
9843 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9844
9845         * tests/examples/manual/Makefile.am:
9846         Gah, declare vars *before* using them
9847
9848 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9849
9850         * gst/gst.c: (init_pre), (scan_and_update_registry),
9851         (ensure_current_registry_nonforking),
9852         (ensure_current_registry_forking), (ensure_current_registry),
9853         (init_post), (gst_debug_help), (gst_deinit):
9854         * gst/gst_private.h:
9855         * gst/gstregistry.c: (gst_registry_finalize),
9856         (gst_registry_remove_features_for_plugin_unlocked),
9857         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9858         (gst_registry_scan_path),
9859         (_priv_gst_registry_remove_cache_plugins),
9860         (_priv_gst_registry_cleanup):
9861         * gst/gstregistry.h:
9862         Re-commit the registry changes, along with an extra fix:
9863           When a cached plugin is encountered at a different file path,
9864           update the stored path in the registry cache so that the parent
9865           process knows where it actually is now when it re-reads the registry
9866           cache. Fixes the thing that broke distcheck with the previous commit.
9867
9868         * tests/check/Makefile.am:
9869         Clean up files named 'core' too when running make clean.
9870
9871         * tests/examples/manual/Makefile.am:
9872         Set up a registry path for running these tests, and clean it properly
9873         for distcheck.
9874
9875 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9876
9877         * configure.ac:
9878         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9879         want gmodule-no-export-2.0.pc instead so that we don't drag in
9880         --export-dynamic on every project that links to GStreamer.
9881
9882         Also, make our export regex only match the start of symbols, rather 
9883         than any symbol that contains '_gst' somewhere.
9884
9885         * libs/gst/check/Makefile.am:
9886         The libgstcheck we build does however need export-dynamic, as it
9887         produces some symbols that don't match our _gst... style regex.
9888         Fixes: #318031
9889
9890 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9891
9892         * gst/gst.c: (init_pre), (scan_and_update_registry),
9893         (ensure_current_registry_nonforking),
9894         (ensure_current_registry_forking), (ensure_current_registry),
9895         (init_post), (gst_debug_help), (gst_deinit):
9896         * gst/gst_private.h:
9897         * gst/gstregistry.c: (gst_registry_finalize),
9898         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9899         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9900         (_gst_registry_cleanup):
9901         * gst/gstregistry.h:
9902           Revert previous change until I figure out why it breaks distcheck.
9903
9904 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9905
9906         * gst/gst.c: (init_pre), (scan_and_update_registry),
9907         (ensure_current_registry_nonforking),
9908         (ensure_current_registry_forking), (ensure_current_registry),
9909         (init_post), (gst_debug_help), (gst_deinit):
9910
9911           Make init_pre and init_post take the full complement of GOptionFunc
9912           args so they can return useful GErrors. Make the registry updating
9913           functions do so.
9914
9915           Call _priv_gst_registry_remove_cache_plugins after scanning files to
9916           ensure that the registry we're about to write out doesn't contain
9917           stale information about old-deleted plugin files.
9918
9919           Make _priv_gst_registry_remove_cache_plugins return a boolean so
9920           that deletion of plugin files is considered a registry change.
9921
9922         * gst/gst_private.h:
9923         * gst/gstregistry.c: (gst_registry_finalize),
9924         (gst_registry_remove_features_for_plugin_unlocked),
9925         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9926         (gst_registry_scan_path),
9927         (_priv_gst_registry_remove_cache_plugins),
9928         (_priv_gst_registry_cleanup):
9929         * gst/gstregistry.h:
9930         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
9931         by adding _priv prefix, so that they won't appear in the global
9932         symbol table. They still do atm though because of #318031. Move the
9933         prototypes to gst_private.h
9934
9935         When removing a plugin, remove all features for that plugin too. 
9936         Fixes #340878.
9937
9938 2006-09-27  Wim Taymans  <wim@fluendo.com>
9939
9940         * docs/random/moving-plugins:
9941         Make it clear that the "compiled-in descriptions" really mean
9942         the element details.
9943
9944         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9945         (gst_base_sink_wait_preroll):
9946         Update docs.
9947
9948         * docs/libs/gstreamer-libs-sections.txt:
9949         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9950         (gst_base_src_get_range), (gst_base_src_activate_push):
9951         * libs/gst/base/gstbasesrc.h:
9952         Added function to block while waiting for PLAYING, this function
9953         is used by live sources that block on the clock.
9954         API: gst_base_src_wait_playing()
9955
9956 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9957
9958         Patch by: Peter Kjellerstedt <pkj at axis com>
9959
9960         * Makefile.am:
9961           gst-element-check.m4 is generated and should therefore be
9962           copied from the build dir rather than the source dir (#357593).
9963           'make distcheck' hasn't noticed this because we were disting
9964           the file as well, so stop doing that.
9965
9966 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9967
9968         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9969           Add some tests for gst_caps_intersect().
9970
9971         * tools/gst-launch.c: (event_loop):
9972           Print all buffering percentages we get, even the 100% one.
9973
9974 2006-09-26  Wim Taymans  <wim@fluendo.com>
9975
9976         * tools/gst-inspect.c: (print_element_properties_info),
9977         (print_signal_info):
9978         Fix printing of flags to match the look of enums.
9979
9980 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9981
9982         * gst/gstelementfactory.c:
9983           Fix typo in docs blurb.
9984
9985 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9986
9987         * gst/gsturi.c: (search_by_entry):
9988           Don't assert/crash here if a uri handler doesn't return any
9989           supported protocols. The list of protocols could be generated
9990           dynamically at runtime or at plugin registration, and an error
9991           in the underlying library shouldn't be fatal (#353301).
9992
9993 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9994
9995         * gst/gstinfo.c:
9996           Fix warning if HAVE_PRINTF_EXTENSION is undefined
9997           (spotted by Peter Kjellerstedt).
9998
9999 2006-09-23  Wim Taymans  <wim@fluendo.com>
10000
10001         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10002
10003         * libs/gst/base/gstbasesrc.c:
10004         (gst_base_src_default_check_get_range), (gst_base_src_start),
10005         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10006         (gst_base_src_change_state):
10007         Match _start/_stop calls in the activate functions. Remove redundant
10008         _stop call from the state change function. Fixes #356910.
10009         Turn failure DEBUG into ERROR. 
10010
10011 2006-09-22  Wim Taymans  <wim@fluendo.com>
10012
10013         * docs/design/part-buffering.txt:
10014         * gst/gstmessage.c: (gst_message_new_buffering),
10015         (gst_message_parse_buffering):
10016         Update docs about buffering.
10017
10018         * docs/design/part-trickmodes.txt:
10019         Fix typo.
10020
10021 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10022
10023         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10024         (gst_controller_new_list):
10025           Ref instances when returning them again (fixes #357180)
10026
10027 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10028
10029         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10030           Don't forget to release proxy lock when there's an error.
10031
10032 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10033
10034         * gst/gstcaps.h:
10035           Add extra initialisers for Caps things, to fix some plugin warnings
10036           when using -Wextra
10037
10038 2006-09-18  Wim Taymans  <wim@fluendo.com>
10039
10040         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10041           Also set template on the internal pad so that a getcaps from the 
10042           target pad returns the template caps.
10043
10044 2006-09-18  Wim Taymans  <wim@fluendo.com>
10045
10046         * gst/gstelement.c: (gst_element_post_message),
10047         (gst_element_dispose):
10048         Use _DEBUG_OBJECT some more.
10049
10050         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10051         Avoid typechecks.
10052
10053         * tools/gst-launch.c: (main):
10054         If the toplevel element is not a GstPipeline, it must be put in a
10055         pipeline so that a bus and clock is selected.
10056
10057 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10058
10059         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10060           JITTER, RATE, and LATENCY query should be handled by the
10061           default case and not by the CONVERT query code.
10062
10063 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10064
10065         * gst/gstformat.c: (gst_format_register):
10066           Fix locking order (must take lock before using n_values).
10067
10068         * gst/gstvalue.c: (gst_value_serialize_enum),
10069         (gst_value_deserialize_enum_iter_cmp),
10070         (gst_value_deserialize_enum):
10071           Fix serialisation/deserialisation of custom registered GstFormats.
10072
10073         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10074           Unit test for custom format serialisation/deserialisation.
10075
10076 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10077
10078         * docs/pwg/building-boiler.xml:
10079         * plugins/elements/gstcapsfilter.c:
10080         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10081         section.
10082
10083 2006-09-16  Edward Hervey  <edward@fluendo.com>
10084
10085         * libs/gst/base/gstbasetransform.c:
10086         (gst_base_transform_buffer_alloc):
10087         Check if requested caps are the same as the sinks caps IF
10088         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10089         is FALSE.
10090         This fixes the renegotiation issues stated in #352827.
10091
10092 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10093
10094         * configure.ac:
10095         * docs/manual/advanced-autoplugging.xml:
10096         * tests/examples/Makefile.am:
10097         * tests/examples/manual/.cvsignore:
10098         * tests/examples/manual/Makefile.am:
10099         * tests/examples/manual/extract.pl:
10100           Extract the manual examples again like we used to do.
10101           Fix one of them.
10102
10103 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10104
10105         * win32/common/config.h:
10106           update for version
10107
10108 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10109
10110         * gst/gsterror.c:
10111           Documents how to receive errors.
10112
10113 2006-09-15  Wim Taymans  <wim@fluendo.com>
10114
10115         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10116         (event_loop), (main):
10117         Added some comments here and there.
10118         Post an application message when an interrupt is caught instead of doing
10119         an uncontrolled state change.
10120         Clean up the event loop.
10121         Handle buffering messages, pause/resume the pipeline.
10122         Make shutdown because of an interrupt more reliable.
10123
10124 2006-09-15  Wim Taymans  <wim@fluendo.com>
10125
10126         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10127         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10128         (gst_base_sink_preroll_object):
10129         Make sure that our internal state is correct when we commit our state
10130         asynchronously. This solves a race where a state change to PLAYING
10131         could cause the sink to remain blocked in preroll in some situations.
10132
10133 2006-09-15  Wim Taymans  <wim@fluendo.com>
10134
10135         * tools/gst-inspect.c: (print_element_properties_info),
10136         (print_signal_info):
10137         List flags as hex so it's easier to deal with.
10138
10139 2006-09-15  Wim Taymans  <wim@fluendo.com>
10140
10141         * docs/libs/gstreamer-libs-sections.txt:
10142         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10143         (gst_base_sink_do_sync):
10144         * libs/gst/base/gstbasesink.h:
10145         Expose logic to wait for preroll so that subclasses such as audiosink
10146         can also use this method.
10147         API: gst_base_sink_wait_preroll()
10148
10149 2006-09-15  Wim Taymans  <wim@fluendo.com>
10150
10151         * gst/gstobject.c: (gst_object_set_parent):
10152         * gst/gstpipeline.c: (do_pipeline_seek):
10153         Small cleanups in docs and code.
10154
10155         * gst/gstsegment.c: (gst_segment_clip):
10156         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10157         if stop == start and start is in the segment, no clipping should be
10158         done. Also add a test for this.
10159
10160 2006-09-15  Wim Taymans  <wim@fluendo.com>
10161
10162         * docs/design/part-buffering.txt:
10163         * docs/gst/gstreamer-sections.txt:
10164         * gst/gstmessage.c: (gst_message_new_buffering),
10165         (gst_message_parse_buffering):
10166         * gst/gstmessage.h:
10167         Added methods to create and parse BUFFERING messages.
10168         Added preliminary docs about buffering.
10169         API: gst_message_new_buffering
10170         API: gst_message_parse_buffering
10171
10172 2006-09-06  Wim Taymans  <wim@fluendo.com>
10173
10174         * gst/gstbin.c:
10175         Update documentation.
10176
10177         * gst/gstelement.c: (gst_element_class_init),
10178         (gst_element_release_request_pad), (gst_element_set_clock),
10179         (gst_element_get_index), (gst_element_add_pad),
10180         (gst_element_remove_pad), (gst_element_get_random_pad),
10181         (gst_element_send_event), (gst_element_get_query_types),
10182         (gst_element_query), (gst_element_post_message),
10183         (gst_element_message_full), (gst_element_continue_state),
10184         (gst_element_lost_state), (gst_element_save_thyself),
10185         (gst_element_restore_thyself):
10186         Documentation updates.
10187         Rename last bit of the new-pad -> pad-added signal rename.
10188         Fix the case where an element query would only work if the source
10189         pad was linked.
10190         Avoid some useless type checking in message handling.
10191
10192         * gst/gstevent.c:
10193         * gst/gstevent.h:
10194         * gst/gstutils.c:
10195         Documentation updates.
10196
10197 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10198
10199         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10200           add an INFO line for when we actually update the fd
10201
10202 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10203
10204         * configure.ac:
10205           back to TRUNK
10206
10207 === release 0.10.10 ===
10208
10209 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10210
10211         * configure.ac:
10212           releasing 0.10.10, "Pais"
10213
10214 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10215
10216         * docs/manual/advanced-position.xml:
10217           Fix typo in sample code.
10218
10219 2006-09-05  Wim Taymans  <wim@fluendo.com>
10220
10221         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10222         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10223         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10224         * libs/gst/net/gstnetclientclock.h:
10225         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10226         * libs/gst/net/gstnettimepacket.h:
10227         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10228         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10229         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10230         * libs/gst/net/gstnettimeprovider.h:
10231         Make stuff compile on windows. Fixes #345295.
10232
10233 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10234
10235         * gst/gst.c: (ensure_current_registry_forking):
10236           Print better details when child was terminated by signal.
10237
10238 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10239
10240         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10241           Print a warning rather than g_assert() if a plugin feature
10242           is a URI handler but returns no protocols (#353976).
10243
10244 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10245
10246         * docs/random/moving-plugins:
10247         Fix two typos.         
10248
10249 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10250
10251         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10252           Fix locking order, handle NULL function values properly.
10253
10254         * gst/gstinfo.h:
10255           Fix docs.
10256
10257         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10258           Initialise variable before using it and fix debug statement to
10259           print the address of the function rather than the address of the
10260           variable on the stack holding the address of the function.
10261
10262 2006-09-01  Wim Taymans  <wim@fluendo.com>
10263
10264         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10265         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10266         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10267         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10268         (gst_ghost_pad_parent_unset),
10269         (gst_ghost_pad_internal_do_activate_push),
10270         (gst_ghost_pad_internal_do_activate_pull),
10271         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10272         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10273         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10274         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10275         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10276         (gst_ghost_pad_new_no_target_from_template),
10277         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10278         More cleanups.
10279         Avoid needless typechecking in macros.
10280         Since the internal pad is always present and never changes, there is
10281         no need to locking or ref when retrieving it.
10282         Improve debugging a bit.
10283         Handle link errors when setting the target. Fixes #341029.
10284
10285 2006-09-01  Wim Taymans  <wim@fluendo.com>
10286
10287         * docs/libs/gstreamer-libs-sections.txt:
10288         * docs/plugins/gstreamer-plugins-sections.txt:
10289         Fix docs some more.
10290
10291         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10292         (gst_collect_pads_event):
10293         * libs/gst/base/gstcollectpads.h:
10294         Documentation updates.
10295         Free queued buffer when removing a pad.
10296
10297 2006-08-31  Michael Smith  <msmith@fluendo.com>
10298
10299         * gst/gstutils.c: (gst_element_link_pads),
10300         (gst_element_link_pads_filtered):
10301           Ensure that we set a capsfilter to NULL if we failed to link it
10302           when doing filtered linking, to avoid criticals.
10303
10304           No need to check for unreffing srcpad, which is explicly NULLed
10305           above (a trivial code cleanup).
10306
10307 2006-08-31  Wim Taymans  <wim@fluendo.com>
10308
10309         * docs/design/part-gstghostpad.txt:
10310         Update ascii art in documentation.
10311
10312         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10313         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10314         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10315         (gst_ghost_pad_internal_do_activate_push),
10316         (gst_ghost_pad_internal_do_activate_pull),
10317         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10318         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10319         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10320         (gst_ghost_pad_set_target):
10321         Small cleanups and leak fixes.
10322         Remove some checks now that the internal pad is never NULL.
10323         Fix the case where linking pads without a target would create nasty
10324         criticals. Fixes #341029.
10325         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10326         value of _set_target().
10327
10328         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10329         (gst_ghost_pad_suite):
10330         Some more tests for creating and linking untargeted ghostpads.
10331
10332 2006-08-31  Edward Hervey  <edward@fluendo.com>
10333
10334         * docs/gst/gstreamer-sections.txt:
10335         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10336         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10337         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10338         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10339         (gst_ghost_pad_new_from_template),
10340         (gst_ghost_pad_new_no_target_from_template):
10341         * gst/gstghostpad.h:
10342         Refactored *_new() functions.
10343         Templates are now used as a g_object_new() parameter.
10344         Use template in _do_getcaps() if we don't have a target.
10345         Small documentation cleanups.
10346         Added two new constructors:
10347         gst_ghost_pad_new_from_template()
10348         gst_ghost_pad_new_no_target_from_template()
10349         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10350         (gst_ghost_pad_suite):
10351         Added tests for new ghostpad instanciation functions.
10352
10353         API additions: gst_ghost_pad_new_from_template,
10354         gst_ghost_pad_new_no_target_from_template
10355
10356 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10357
10358         * docs/random/ensonic/profiling.txt:
10359           Ideas about qos profiling.
10360
10361 2006-08-29  Wim Taymans  <wim@fluendo.com>
10362
10363         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10364         Code cleanups.
10365         Fix memleak.
10366
10367 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10368
10369         * gst/gstxml.c:
10370           Improve and detypofy docs.
10371
10372         * tests/check/Makefile.am:
10373         * tests/check/gst/.cvsignore:
10374         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10375           Add a basic test suite for GstXML.
10376
10377 2006-08-29  Wim Taymans  <wim@fluendo.com>
10378
10379         * gst/gstelement.c: (activate_pads), (clear_caps),
10380         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10381         Clear the pad caps when the element shut down all of the pads and
10382         is not streaming data that could modify the caps. 
10383         Fixes #352958.
10384
10385 2006-08-28  Michael Smith  <msmith@fluendo.com>
10386
10387         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10388           Revert previous change; I misunderstood single-segment mode.
10389
10390 2006-08-28  Michael Smith  <msmith@fluendo.com>
10391
10392         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10393           Unset DISCONT on buffers when using single-segment mode.
10394
10395 2006-08-28  Wim Taymans  <wim@fluendo.com>
10396
10397         * gst/gstcaps.c: (gst_caps_merge_structure):
10398         * gst/gstcaps.h:
10399         Fix docs and indentation again.
10400
10401         * tests/check/gst/gstquery.c: (GST_START_TEST):
10402         Fix leak in tests and add some more tests.
10403
10404 2006-08-28  Edward Hervey  <edward@fluendo.com>
10405
10406         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10407         Inform GstSegment of the last stop position in order for the current
10408         segment to have a proper duration if it doesn't have a specific stop
10409         position from which a duration could be calculated.
10410         This bug was noticeable when a non-flushing, non-update new segment was
10411         followed by another segment (all buffers from the new segment were being
10412         dropped).
10413
10414 2006-08-28  Wim Taymans  <wim@fluendo.com>
10415
10416         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10417         Small comment update.
10418
10419         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10420         (gst_identity_transform_ip):
10421         Drop-probability is broken, mention this in the code with a 
10422         FIXME and also in the property description.
10423         Make silent also be silent about the drop messages.
10424
10425 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10426
10427         * docs/manual/appendix-win32.xml:
10428           Remove mention of popt, we don't depend on that any
10429           longer (#353136). Add some comments pointing out that
10430           this section is slightly outdated.
10431
10432 2006-08-28  Wim Taymans  <wim@fluendo.com>
10433
10434         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10435
10436         * gst/gstquery.c: (gst_query_new_segment):
10437         * tests/check/gst/gstquery.c: (GST_START_TEST):
10438         Initialize variables when creating a new segment query.
10439         Fixes #353121.
10440
10441 2006-08-28  Wim Taymans  <wim@fluendo.com>
10442
10443         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10444
10445         * gst/gstelement.c: (gst_element_get_bus):
10446         * tests/check/gst/gstelement.c: (GST_START_TEST):
10447         Check for NULL before _reffing the bus. Fixes #353122.
10448
10449 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10450
10451         * docs/manual/basics-bus.xml:
10452           Docs update: fix wrong callback return value explanation; add
10453           some lines about the implicit relationship between main loop
10454           and main context; remove duplicate main loop variable declaration.
10455
10456 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10457
10458         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10459           Don't leak caps in unit test; add a few more simple
10460           checks. 
10461
10462 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10463
10464         * docs/gst/gstreamer-sections.txt:
10465         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10466         (gst_caps_structure_is_subset), (gst_caps_merge),
10467         (gst_caps_merge_structure):
10468         * gst/gstcaps.h:
10469         * libs/gst/base/gstbasetransform.c:
10470         (gst_base_transform_transform_caps):
10471         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10472           implement caps merging (fixes #352580)
10473
10474 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10475
10476         * tools/Makefile.am:
10477         * tools/gst-plot-timeline.py:
10478           add debug-log plotting developer tool (#340674)
10479
10480 2006-08-23  Wim Taymans  <wim@fluendo.com>
10481
10482         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10483         (gst_pad_stop_task):
10484         Improve debugging for task functions.
10485
10486         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10487         (gst_task_start), (gst_task_pause), (gst_task_join):
10488         Make sure that the task function started and finished after a 
10489         join(). 
10490         Don't try to push the task function on the threadpool multiple
10491         times.
10492         Improve the g_warning message with some useful suggestions
10493         about how to fix the problem. 
10494
10495 2006-08-23  Wim Taymans  <wim@fluendo.com>
10496
10497         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10498         Handle RESYNC correctly in _proxy_getcaps.
10499
10500 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10501
10502         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10503         (gst_xml_parse_memory), (gst_xml_get_element):
10504           Chain up to parent class in dispose function and also
10505           unref the elements in the toplevel_elements GList.
10506           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10507           Always return a reference in gst_xml_get_element() rather
10508           than only sometimes.
10509
10510         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10511           Don't leak GstXml object.
10512
10513 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10514
10515         * docs/gst/gstreamer-sections.txt:
10516         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10517         (gst_caps_merge):
10518         * gst/gstcaps.h:
10519         * libs/gst/base/gstbasetransform.c:
10520         (gst_base_transform_transform_caps):
10521           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10522           in a better way
10523
10524 2006-08-21  Edward Hervey  <edward@fluendo.com>
10525
10526         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10527         Implement GObject::dispose virtual method in GstXML so we can free the
10528         top_elements GList.
10529
10530 2006-08-21  Wim Taymans  <wim@fluendo.com>
10531
10532         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10533         (gst_buffer_create_sub):
10534         Copy duration/offset_end/caps when creating a subbuffer of the
10535         complete parent.
10536         Make the subbuffer read-only when we make the metadata writable for
10537         now. Fixes #351768.
10538
10539         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10540         Added check for metadata copy when creating subbuffers.
10541
10542 2006-08-21  Edward Hervey  <edward@fluendo.com>
10543
10544         * libs/gst/base/gstbasetransform.c:
10545         (gst_base_transform_buffer_alloc):
10546         Only call downstream buffer_alloc if transform element is passthrough
10547         or always_in_place. Closes #350449.
10548
10549 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10550
10551         * ChangeLog:
10552           ChangeLog surgery to add comments to previous changes
10553
10554 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10555
10556         * gst/gst.c:
10557           Add comments
10558
10559         * gst/gstpad.c: (gst_pad_set_active):
10560           Be more verbose in the log
10561
10562         * libs/gst/base/gstbasetransform.c:
10563         (gst_base_transform_transform_caps):
10564           Simplify caps to get rid of duplicates, fixes #345444
10565
10566 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10567
10568         * gst/gstvalue.c:
10569         * gst/gstvalue.h:
10570           Use these optimizations only internally.
10571
10572 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10573
10574         * gst/gstvalue.c: (gst_value_compare_list),
10575         (gst_value_compare_fraction_range),
10576         (gst_value_intersect_fraction_fraction_range),
10577         (gst_value_intersect_fraction_range_fraction_range),
10578         (gst_value_subtract_fraction_fraction_range),
10579         (gst_value_subtract_fraction_range_fraction_range),
10580         (gst_value_get_compare_func), (gst_value_compare),
10581         (gst_value_compare_with_func):
10582         * gst/gstvalue.h:
10583           Saves the expensive lookup of the compare function in many cases
10584          (#345444)
10585
10586 2006-08-18  Edward Hervey  <edward@fluendo.com>
10587
10588         * tests/check/gst/gstinfo.c: (gst_info_suite):
10589         Disable test that require gstdebug if it wasn't built in core.
10590
10591 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10592
10593         * docs/random/ensonic/logging.txt:
10594           update ideas
10595           
10596         * gst/gstinfo.c: (gst_debug_log_default):
10597           reorder fields, save some columns, add optional color codes for log
10598           levels
10599
10600 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10601
10602         * docs/random/ensonic/logging.txt:
10603           add ideas about making the logs a bit more useful
10604
10605 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10606
10607         * docs/pwg/advanced-events.xml:
10608         * docs/pwg/titlepage.xml:
10609           Update for 0.10 API (#340627). Add myself
10610           to authors list.
10611
10612 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10613
10614         * docs/libs/gstreamer-libs-docs.sgml:
10615         * docs/libs/gstreamer-libs-sections.txt:
10616         * libs/gst/check/gstbufferstraw.c:
10617           Make gstcheck stuff show up in docs (still needs to
10618           be documented properly though).
10619
10620 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10621
10622         * docs/gst/gstreamer-sections.txt:
10623         * gst/Makefile.am:
10624         * gst/gst.c: (init_post):
10625         * gst/gst_private.h:
10626         * gst/gstquark.c: (_priv_gst_quarks_initialize):
10627         * gst/gstquark.h:
10628         * gst/gstquery.c: (gst_query_new_position),
10629         (gst_query_set_position), (gst_query_parse_position),
10630         (gst_query_new_duration), (gst_query_set_duration),
10631         (gst_query_parse_duration), (gst_query_new_convert),
10632         (gst_query_set_convert), (gst_query_parse_convert),
10633         (gst_query_new_segment), (gst_query_set_segment),
10634         (gst_query_parse_segment), (gst_query_new_seeking),
10635         (gst_query_set_seeking), (gst_query_parse_seeking):
10636         Add internal helpers for pre-registering quarks from static strings
10637         and using the quark values directly instead of looking them up when
10638         creating and parsing queries. Can be used for event construction too.
10639         Closes #350432.
10640
10641 2006-08-16  Wim Taymans  <wim@fluendo.com>
10642
10643         * gst/gstbin.c:
10644         Fix bogus docs.
10645
10646 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10647
10648         * gst/gstutils.c: (gst_util_set_value_from_string):
10649           Fix memleak (#351502).
10650
10651         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10652           Add unit test for most of gst_util_set_value_from_string()
10653           (not that one would want to encourage use of this function).
10654
10655 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10656
10657         * libs/gst/check/gstcheck.h:
10658           Use const gchar * variables in fail_unless_equals_string
10659           macro to avoid compiler warnings (and don't use tabs for
10660           indenting).
10661
10662 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10663
10664         * tools/gst-launch.c: (print_tag):
10665           More space on the left for the tag names, to cater
10666           for the 'extended comment' tag (not touching the
10667           string for the first line since it's translated).
10668
10669 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10670
10671         * libs/gst/check/gstcheck.h:
10672           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10673           print something when they fail.
10674
10675 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10676
10677         * docs/gst/gstreamer-sections.txt:
10678         * gst/gsttaglist.c: (_gst_tag_initialize):
10679         * gst/gsttaglist.h:
10680           API: add GST_TAG_EXTENDED_COMMENT (#350935).
10681           Also change merge function for GST_TAG_COMMENT to
10682           use_first.
10683
10684 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10685
10686         * gst/gstinfo.c: (gst_debug_print_object):
10687           Make GST_PTR_FORMAT print messages as well.
10688
10689         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10690         (GST_START_TEST), (gst_info_suite):
10691           More tests.
10692
10693 2006-08-14  Edward Hervey  <edward@fluendo.com>
10694
10695         * gst/gstelementfactory.c: (gst_element_register):
10696         If the GstElementClass doesn't have a GstElementDetails with all fields
10697         filled up correctly (longname, description AND author), then error out
10698         nicely instead of crashing.
10699
10700 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10701
10702         * gst/gststructure.c:
10703           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10704
10705         * gst/gstvalue.h:
10706           Expand on the difference between arrays and lists as we use them.
10707           
10708 2006-08-14  Wim Taymans  <wim@fluendo.com>
10709
10710         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10711         If the parent state change function failed, don't assume we can safely
10712         stop the source, this will be done when the pads are deactivated.
10713
10714 2006-08-14  Wim Taymans  <wim@fluendo.com>
10715
10716         * gst/gstbuffer.c:
10717         * gst/gsttask.c: (gst_task_join):
10718         Small doc updates.
10719
10720         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10721         (gst_pad_stop_task):
10722         When pad (de)activation failed for some reason, restore the old
10723         activation mode and set the pad to flushing instead of assuming the
10724         pad is deactivated.
10725         If the _task_join() failed, reinstall the task on the pad so that it can
10726         be stopped later and return an error.
10727
10728 2006-08-11  Andy Wingo  <wingo@pobox.com>
10729
10730         * configure.ac:
10731         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10732         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10733         is only for users of API that don't want to see deprecated
10734         functions in the headers; people that want to compile out
10735         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10736         CFLAGS. Fixes the build of multifdsink, or will soon..
10737
10738 2006-08-11  Wim Taymans  <wim@fluendo.com>
10739
10740         * docs/gst/gstreamer-sections.txt:
10741         Add GstClockClass vmethod docs.
10742
10743         * gst/gstcaps.h:
10744         Mark #endif with comment for associated #if
10745
10746         * gst/gstclock.c: (gst_clock_id_wait):
10747         * gst/gstclock.h:
10748         Add vmethod wait_jitter to avoid an unneeded _get_time() for
10749         most clock implementations.
10750         Document vmethods.
10751         Flesh out docs about resolution methods.
10752         API: GstClockClass::wait_jitter
10753
10754         * gst/gstsystemclock.c: (gst_system_clock_class_init),
10755         (gst_system_clock_async_thread),
10756         (gst_system_clock_id_wait_jitter_unlocked),
10757         (gst_system_clock_id_wait_jitter):
10758         Use base class wait_jitter variant for improved performance
10759         due to less clock polling.
10760
10761 2006-08-11  Edward Hervey  <edward@fluendo.com>
10762
10763         * gst/gst.c: (gst_init_check), (init_post):
10764         Set gst as being initialized before scanning/updating the registry,
10765         since there might be my python plugin loader that calls gst_init() and
10766         we don't want to loop back in.
10767         Closes #350879
10768
10769 2006-08-11  Wim Taymans  <wim@fluendo.com>
10770
10771         * docs/design/part-qos.txt:
10772         Bring docs in line with the code. Mostly the sign of the jitter was
10773         wrong in the docs. Fixes #349943.
10774
10775         * gst/gstclock.c:
10776         Fix the docs for the jitter.
10777
10778         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10779         (gst_event_parse_tag), (gst_event_new_buffer_size),
10780         (gst_event_parse_buffer_size), (gst_event_parse_qos),
10781         (gst_event_new_seek), (gst_event_parse_seek),
10782         (gst_event_new_navigation):
10783         Make sure the GstStructure has no parent when creating custom
10784         events.
10785         Add some more argument checking so that we avoid 0.0 rates.
10786         Flesh out the docs for the QoS event some more.
10787
10788 2006-08-11  Wim Taymans  <wim@fluendo.com>
10789
10790         * docs/gst/gstreamer-sections.txt:
10791         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10792         (ensure_current_registry_forking), (ensure_current_registry),
10793         (parse_one_option), (parse_goption_arg), (gst_deinit),
10794         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10795         * gst/gst.h:
10796         Doc updates.
10797         Added API and command line option to disable registry forking in
10798         addition to the environment variable.
10799         Constify some static arrays.
10800         Added some more debug.
10801         Don't deinit twice.
10802         API: gst_registry_fork_is_enabled()
10803         API: gst_registry_fork_set_enabled()
10804         API: --gst-disable-registry-fork command line option
10805         Fixes #348918.
10806
10807 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
10808
10809         * gst/gst.c: (gst_init):
10810           Fix typo in error message.
10811
10812 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10813
10814         * libs/gst/controller/gstcontroller.h:
10815           fix ABI size-correction
10816
10817         * tests/check/libs/gdp.c: (gst_dp_suite):
10818           make tests that use deprecated API conditional
10819
10820 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10821
10822         * docs/libs/gstreamer-libs-sections.txt:
10823         * libs/gst/controller/gstcontroller.c:
10824         (_gst_controller_get_property), (_gst_controller_set_property),
10825         (_gst_controller_init), (_gst_controller_class_init):
10826         * libs/gst/controller/gstcontroller.h:
10827         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10828         (gst_object_set_control_rate):
10829           API: add gst_object_{s,g}et_control_rate(), add private data section,
10830           fix docs
10831
10832         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10833         * libs/gst/dataprotocol/dataprotocol.h:
10834           add deprecation guards to make gtk-doc happy and allow disabling cruft
10835
10836 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
10837
10838         * tests/check/Makefile.am:
10839         * tests/check/gst/.cvsignore:
10840           Let's enable the new unit test as well.
10841
10842 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
10843
10844         * configure.ac:
10845         * docs/gst/gstreamer-sections.txt:
10846         * gst/gstconfig.h.in:
10847         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10848         (_gst_info_printf_extension_ptr),
10849         (_gst_info_printf_extension_segment):
10850           API: add GST_SEGMENT_FORMAT, which is a printf extension we
10851           register that lets us easily dump GstSegments into debug
10852           logs (#350419).
10853
10854         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10855         (info_segment_format_printf_extension), (gst_info_suite):
10856           Add simple unit test that logs a bunch of different segments (not
10857           valgrinded at the moment because of leaks in
10858           gst_debug_add_log_function).
10859
10860 2006-08-09  Edward Hervey  <edward@fluendo.com>
10861
10862         * libs/gst/base/gstbasetransform.c:
10863         (gst_base_transform_buffer_alloc):
10864         Even if we can't figure out the proper format to request downstream,
10865         call buffer_alloc() downstream with the input parameters without setting
10866         the caps on the srcpad. This will force negotiation in the chain
10867         function.
10868         Closes #350449
10869
10870 2006-08-08  Edward Hervey  <edward@fluendo.com>
10871
10872         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10873         Unlinking from a pad without a target is now a perfectly valid case
10874         which should NOT raise an assertion.
10875         This case would happen if a linked ghostpad its target set to NULL after
10876         it was previously linked.
10877
10878 2006-08-08  Edward Hervey  <edward@fluendo.com>
10879
10880         * tests/check/libs/gdp.c:
10881         Also comment out the test (see below).
10882
10883 2006-08-08  Edward Hervey  <edward@fluendo.com>
10884
10885         * tests/check/libs/gdp.c: (gst_dp_suite):
10886         Use the architecture information from config.h and not gcc macros
10887         in order to properly disable a test that fails on PPC64.
10888
10889 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
10890
10891         * gst/gstelement.c: (gst_element_remove_pad):
10892           Don't crash printing the warning if the pad has no parent.
10893
10894 2006-08-02  Wim Taymans  <wim@fluendo.com>
10895
10896         * libs/gst/dataprotocol/dataprotocol.c:
10897         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10898         (gst_dp_crc), (gst_dp_header_payload_length),
10899         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10900         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10901         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10902         (gst_dp_event_from_packet), (gst_dp_validate_header),
10903         (gst_dp_validate_payload):
10904         Make debug category static
10905         Constify the crc table.
10906         Do some more arg checking in public functions.
10907         Fix some docs and do some small cleanups.
10908
10909         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10910         Add some more checks to see if GDP deals with bogus input.
10911
10912 2006-07-31  Wim Taymans  <wim@fluendo.com>
10913
10914         * gst/gstvalue.c: (gst_value_compare_list):
10915         Fix GstValueList comparison code. Fixes #347293.
10916
10917         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10918         Check to test GstValueList comparison.
10919
10920 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
10921
10922         * gst/gstelementfactory.c: (gst_element_factory_create):
10923         Remove unnecessary ref/unref pair
10924
10925         * gst/parse/grammar.y:
10926         Make sure to free the parse buffer on all code paths.
10927         Move a g_free up to the error handler where it's easier to see.
10928
10929         * tests/check/gst/gstevent.c: (test_event):
10930         Extending timeout for downstream travelling events to 10 seconds to
10931         hopefully avoid intermittent failure on the buildbots.
10932
10933         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
10934         Don't manually set the state of the src element - it will happen as a
10935         natural consequence of the pipeline changing state, and that way it
10936         will do it in the right order too.
10937
10938 2006-07-31  Wim Taymans  <wim@fluendo.com>
10939
10940         * libs/gst/base/gstbasetransform.c:
10941         (gst_base_transform_buffer_alloc):
10942         Use OBJECT_LOCK and refcounting to get the pad caps in the
10943         buffer_alloc function because the caps could change while we are
10944         busy with them. Fixes #349105
10945
10946 2006-07-31  Wim Taymans  <wim@fluendo.com>
10947
10948         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
10949         Protect _PAD_CAPS with OBJECT_LOCK.
10950
10951 2006-07-31  Wim Taymans  <wim@fluendo.com>
10952
10953         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10954         (gst_pad_get_property), (gst_pad_activate_pull),
10955         (gst_pad_activate_push), (gst_pad_set_blocked_async),
10956         (gst_pad_set_activate_function),
10957         (gst_pad_set_activatepull_function),
10958         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
10959         (gst_pad_set_getrange_function),
10960         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
10961         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10962         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
10963         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
10964         (gst_pad_set_acceptcaps_function),
10965         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10966         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
10967         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
10968         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
10969         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
10970         (gst_pad_configure_sink), (gst_pad_configure_src),
10971         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
10972         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
10973         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
10974         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
10975         (gst_pad_send_event):
10976         Use _DEBUG_OBJECT when it makes sense.
10977         Protect GST_PAD_CAPS with the OBJECT_LOCK.
10978         Small cleanups and code reflows.
10979         Avoid caps refcounting in _accept_caps.
10980         Refactor alloc_buffer so that the code performed on the peer is in a
10981         separate function. Also if the pad does not implement a buffer alloc
10982         function, we should still check if the pad is flushing before falling
10983         back to the default allocator.
10984
10985 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
10986
10987         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10988         Make all uses of identity and fakesink have silent=true to avoid
10989         serialising every passing data structure, which is breaking tests
10990         on FC4 for some unknown reason.
10991
10992 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
10993
10994         * gst/parse/Makefile.am:
10995         * gst/parse/grammar.y:
10996         * gst/parse/parse.l:
10997           Reverted previous patch as it required to bump the flex dependency to
10998           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
10999
11000 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11001
11002         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11003
11004         * gst/parse/Makefile.am:
11005         * gst/parse/grammar.y:
11006         * gst/parse/parse.l:
11007           push & pop the state of the lexer for reentrant use case
11008           Fixes #349180
11009
11010 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11011
11012         * libs/gst/base/gstbasesrc.h:
11013           Note in the docs that the ::newsegment vfunc is not actually used by
11014           GstBaseSrc.
11015
11016 2006-07-28  Wim Taymans  <wim@fluendo.com>
11017
11018         * libs/gst/base/gstcollectpads.c:
11019         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11020         (gst_collect_pads_clear), (gst_collect_pads_flush),
11021         (gst_collect_pads_event), (gst_collect_pads_chain):
11022         When flushing a pad, also clear the queued buffer so that we don't
11023         accidentally use it when we shouldn't.
11024         Fix leaks by inreffing incomming buffer.
11025         Flush out queued buffers in case of errors.
11026         Fixes #347452.
11027
11028 2006-07-28  Wim Taymans  <wim@fluendo.com>
11029
11030         * docs/random/phonon-gst:
11031         Random notes about a Phonon backend.
11032
11033 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11034
11035         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11036         Extra debug output
11037         * tests/check/libs/gdp.c: (gst_dp_suite):
11038         Take a whack at fixing the ppc compile using a different define to
11039         disable the broken test.
11040
11041         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11042         Remove excess g_print()
11043
11044 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11045
11046         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11047         Oops, meant to uncomment this line too to dampen the noise a bit.
11048
11049 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11050
11051         * gst/parse/grammar.y:
11052         * gst/parse/parse.l:
11053         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11054         (GST_START_TEST), (parse_suite):
11055         Fix some of the leaks exposed by extending the parse-launch testsuite,
11056         and move the 3 I can't figure out into a separate test that won't run
11057         the pipelines unless the appropriate line is uncommented.
11058
11059 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11060
11061         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11062           Requesting 0 bytes before the end of the file should result in
11063           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11064           unit test.
11065
11066 2006-07-27  Wim Taymans  <wim@fluendo.com>
11067
11068         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11069         Fix useless assert, a uint is always positive.
11070
11071         * gst/gststructure.c: (gst_structure_nth_field_name),
11072         (gst_structure_foreach), (gst_structure_map_in_place):
11073         Check input arguments for public functions to avoid obvious crashes.
11074
11075         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11076         * plugins/elements/gstfakesink.h:
11077         Do less useless typechecking.
11078
11079 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11080
11081         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11082           Do not use mmap() by default since there are a number of error
11083           conditions that we would like to handle in a non-fatal way that
11084           will result in a SIGBUS if we use mmap(). Examples: external
11085           devices (USB harddrive, portable music player) being unplugged
11086           while in use; file on mounted CD/DVD that can't be read because
11087           the medium is partly damaged. Fixes #348455 and #348475.
11088
11089 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11090
11091         * gst/gstquery.h:
11092         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11093         rates are a gdouble
11094
11095 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11096
11097         * gst/gstregistry.c:
11098           Move big documentation comment into class section header, so that it
11099           appears in the API docs.
11100
11101 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11102
11103         * docs/gst/gstreamer-sections.txt:
11104         Oops. Commit the docs additions too for new API.
11105         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11106
11107 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11108
11109         * gst/gststructure.c: (gst_structure_id_set),
11110         (gst_structure_id_set_valist):
11111         * gst/gststructure.h:
11112         Add API for setting values into structures without performing
11113         a quark lookup, if the appropriate quark is already known.
11114
11115         API: gst_structure_id_set
11116         API: gst_structure_id_set_valist
11117
11118         * gst/parse/grammar.y:
11119         * gst/parse/parse.l:
11120         Remove some dead code shown by the coverage information.
11121         Don't throw a critical g_warning when encountering a syntax error,
11122         just warn and let the normal error path handle it.
11123
11124         * plugins/elements/gstelements.c:
11125         Bump the rank of filesink up to PRIMARY so that it is preferred over
11126         gnomevfssink for file:// sink uri's
11127
11128         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11129         (GST_START_TEST), (run_delayed_test),
11130         (gst_parse_test_element_base_init),
11131         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11132         (gst_parse_test_element_change_state),
11133         (gst_register_parse_element), (parse_suite):
11134         Beef up the tests for parse syntax to check that more error cases
11135         fail as they are supposed to. Increases the test coverage a bit.
11136
11137 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11138
11139         * docs/manual/basics-elements.xml:
11140           Fix gst_element_link() example.
11141
11142         * gst/gstutils.c:
11143           Mention in API docs that one should usually gst_bin_add()
11144           elements to a bin or pipeline before doing the linking.
11145           
11146 2006-07-26  Wim Taymans  <wim@fluendo.com>
11147
11148         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11149         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11150         Avoid function call for known types by keeping the buffer and
11151         subbuffer GType global.
11152
11153         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11154         Random silly optimisations in read() path.
11155
11156 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11157
11158         * tools/gst-launch.c: (main):
11159           If the top-level of the parse is a normal bin, it doesn't do the
11160           right logic to run as a top-level element, so place it inside a
11161           pipeline.
11162
11163 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11164
11165         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11166           Remove superfluous g_object_notify() calls, GObject does
11167           that for us automatically.
11168
11169 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11170
11171         * gst/gstinfo.h:
11172           on Win32, use dllspec to export the debug category symbols
11173
11174 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11175
11176         * gst/gsttaglist.c: (_gst_tag_initialize):
11177           Allow more than one GST_TAG_IMAGE per taglist.
11178
11179 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11180
11181         * gst/gstminiobject.c:
11182           update docs
11183         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11184         (gst_fd_src_create):
11185           log recurring events at LOG level
11186           add more debug for when the fd gets set
11187
11188 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11189
11190         * gst/gstparse.c: (gst_parse_launch):
11191           Also remove reentrance checks if flex is MT safe (#348179)
11192          Fix my empty ChangeLog entry below
11193
11194 2006-07-21  Andy Wingo  <wingo@pobox.com>
11195
11196         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11197
11198         * libs/gst/check/Makefile.am
11199         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11200         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11201         * libs/gst/check/gstbufferstraw.h:
11202         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11203         functions, thus proving I am still a GStreamer haxor. OK I wrote
11204         them a long time ago, but anyways.
11205
11206 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11207
11208         * configure.ac:
11209         * gst/gstparse.c: (gst_parse_launch):
11210           Check for flex version and omit mutex if we have a MT save flex
11211           (fixes #348179)
11212
11213 2006-07-21  Wim Taymans  <wim@fluendo.com>
11214
11215         * gst/gstparse.c: (gst_parse_launch):
11216         Protect recursive calls to _parse with a recursive mutex
11217         and busy flag.
11218
11219 2006-07-21  Wim Taymans  <wim@fluendo.com>
11220
11221         * tests/check/gst/gstpad.c: (GST_START_TEST):
11222         Fix leak in test.
11223
11224 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11225
11226         * gst/gstparse.c: (gst_parse_launch):
11227           Do not hang on recursive usage of gst_parse_launch()
11228
11229 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11230
11231         * gst/gsttaglist.c:
11232           Add some more docs, comments and FIXME 0.11s here and there
11233           and also fix some typos.
11234
11235 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11236
11237         * gst/gstsegment.h:
11238           Convert tabs to spaces for better readability. 
11239
11240 2006-07-20  Edward Hervey  <edward@fluendo.com>
11241
11242         * tests/check/libs/gdp.c: (gst_dp_suite):
11243         the test_buffer test fails at line 140 on ppc64 at the following
11244         check:
11245         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11246                 GST_BUFFER_FLAG_IN_CAPS),
11247                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11248         See bug #348114 for more details.
11249
11250 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11251
11252         * docs/pwg/advanced-scheduling.xml:
11253         * gst/gstpad.c:
11254           Fix typos (#348000).
11255
11256 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11257
11258         * docs/pwg/intro-basics.xml:
11259           Fix wrong links (#347927).
11260
11261 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11262
11263         * gst/gstregistry.h:
11264         * gst/gstregistryxml.c: (load_feature),
11265         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11266         * win32/common/config.h:
11267           make --disable-index work (#342564)
11268
11269 2006-07-18  Wim Taymans  <wim@fluendo.com>
11270
11271         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11272
11273         * gst/Makefile.am:
11274         * gst/gsttrace.h:
11275         The attached patch adds two missing defines to gsttrace.h when tracing
11276         is disabled.  It also corrects one existing define.
11277         Fixes #347756.
11278
11279 2006-07-17  Wim Taymans  <wim@fluendo.com>
11280
11281         * docs/gst/gstreamer-sections.txt:
11282         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11283         * gst/gst.h:
11284         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11285         Add two functions to check and change the SIGSEGV behaviour
11286         when loading plugins.
11287         Don't mess with the SIGSEGV handler when we were told not to.
11288         Fixes #347794.
11289         API: gst_segtrap_is_enabled
11290         API: gst_segtrap_set_enabled
11291
11292 2006-07-14  Wim Taymans  <wim@fluendo.com>
11293
11294         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11295         * tests/check/elements/filesrc.c: (GST_START_TEST):
11296         Revert fix for regression in #347408 after release.
11297
11298 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11299
11300         Patch by: Antoine Tremblay <hexa00 at gmail com>
11301
11302         * gst/gstutils.c: (gst_element_unlink):
11303           Free iterator when done (#347311).
11304
11305         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11306           And add a test case for this.
11307
11308 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11309
11310         * configure.ac:
11311         Bump nano back to CVS
11312
11313 === release 0.10.9 ===
11314
11315 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11316
11317         * configure.ac:
11318           releasing 0.10.9, "On the road again"
11319
11320 2006-07-13  Wim Taymans  <wim@fluendo.com>
11321
11322         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11323         * tests/check/elements/filesrc.c: (GST_START_TEST):
11324         Revert pull-0 fix for release. Disable check. Fixes #347408.
11325
11326 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11327
11328         * libs/gst/dataprotocol/dataprotocol.c:
11329         (gst_dp_event_from_packet_1_0):
11330           Fixes #347337: failure to deserialize event packets with
11331           empty payload (only event type)
11332
11333 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11334
11335         * gst/Makefile.am:
11336           do not install a .c file in the header directory
11337
11338 2006-07-13  Edward Hervey  <edward@fluendo.com>
11339
11340         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11341         GhostPad no longer implicitely use the padtemplates of the targets.
11342         Fixes #347384
11343
11344 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11345
11346         * gst/gstvalue.c: (gst_value_compare_list),
11347         (gst_value_compare_array), (_gst_value_initialize):
11348         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11349         Make GstValueArray comparison be order dependent as designed.
11350         Add checks for value lists and value array comparisons.
11351         Fixes #347221
11352
11353 2006-07-11  Edward Hervey  <edward@fluendo.com>
11354
11355         * gst/gstbin.c: (activate_pads),
11356         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11357         (gst_bin_change_state_func):
11358         (de)activate src pads before calling state_change on the childs.
11359         This is to avoid the case where a src ghostpad is blocked (holding the
11360         stream lock), which would block the deactivation of the ghostpad's
11361         target pad.
11362         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11363         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11364         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11365         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11366         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11367         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11368         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11369         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11370         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11371         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11372         (gst_ghost_pad_class_init),
11373         (gst_ghost_pad_internal_do_activate_push),
11374         (gst_ghost_pad_internal_do_activate_pull),
11375         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11376         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11377         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11378         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11379         GhostPads now create their internal GstProxyPad at creation (and not
11380         when they're linked, as it was being done previously).
11381         The internal and target pads are linked straight away.
11382         The data will also travel through the other pad in order to make
11383         pad blocking and probes non-hackish (the probe/block now really happens
11384         on the GhostPad and not on the target).
11385         * gst/gstpad.c: (gst_pad_set_blocked_async),
11386         (gst_pad_link_prepare), (gst_pad_push_event):
11387         Remove previous ghostpad cruft.
11388         * gst/gstutils.c: (gst_pad_add_data_probe),
11389         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11390         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11391         (gst_pad_remove_buffer_probe):
11392         Remove previous ghost pad cruft.
11393         Added more detailed debug statements.
11394         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11395         Fix the testsuite for refcounting changes.
11396         The comments about who has references were correct, but the refcount
11397         being checked wasn't the same (!?!).
11398
11399         Fixes #341029
11400
11401 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11402
11403         * docs/gst/gstreamer-sections.txt:
11404         * gst/gstconfig.h.in:
11405         More docs for configuration options, add docs to gtk-doc.
11406
11407 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11408
11409         * gst/Makefile.am:
11410         * gst/gstconfig.h.in:
11411         * win32/common/config.h:
11412         Fix build when disabling tracing (fixes #344016). Also start to document
11413         the defines that disable the sub-systems.
11414
11415 2006-07-10  Edward Hervey  <edward@fluendo.com>
11416
11417         * gst/gst.c: (ensure_current_registry_forking):
11418         let's make valgrind happy...
11419
11420 2006-07-09  Wim Taymans  <wim@fluendo.com>
11421
11422         * gst/gstelement.c: (activate_pads),
11423         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11424         Better pad activation code: Reset the collect value too on resync.
11425         Add some comments.
11426
11427 2006-07-09  Wim Taymans  <wim@fluendo.com>
11428
11429         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11430         (gst_pad_activate_push):
11431         Use some more macros where it makes sense.
11432         Allow pad mode switching instead of asserting. When a pad
11433         is activated in one mode and we activate it in another, 
11434         deactivate it first before activating it in a different mode.
11435         Fixes #329198.
11436
11437 2006-07-08  Andy Wingo  <wingo@pobox.com>
11438
11439         * tools/gst-launch.c (main): Handle err == NULL.
11440
11441         * gst/gst.c (init_post, ensure_current_registry)
11442         (ensure_current_registry_forking)
11443         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11444         factoring out the registry scanning into separate functions. Don't
11445         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11446         Better environment var name/interface suggestions accepted.
11447
11448 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11449
11450         * gst/gstobject.c: (gst_object_set_name_default),
11451         (gst_object_set_name):
11452           Random micro-optimisation: don't use a hash table
11453           with strings as keys and the usual strdup/strcmp
11454           involved, but rather just use the GQuark of the
11455           type name as key, since it needs to be looked up
11456           anyway to get the type name string.
11457
11458         * tests/check/gst/gstobject.c: (GST_START_TEST):
11459           Fix various leaks.
11460
11461 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11462
11463         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11464         (gst_bin_iterate_all_by_interface):
11465           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11466           GTypes are gulongs and thus the top 4 bytes might be cut
11467           off on some platforms when doing GPOINTER_TO_INT, leading
11468           to invalid GTypes and bad things happening (see RH bug #179654).
11469           Also add a check to make sure the type passed in is really
11470           an interface type.
11471
11472 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11473
11474         * .cvsignore:
11475           Ignore more.
11476
11477 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11478
11479         * Makefile.am:
11480         * configure.ac:
11481         * gst-element-check.m4:
11482         * gst-element-check.m4.in:
11483           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11484           instead of the unversioned gst-inspect (#324176, #168659).
11485
11486 2006-07-06  Wim Taymans  <wim@fluendo.com>
11487
11488         * gst/gstmessage.h:
11489         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11490         warnings.
11491
11492 2006-07-06  Wim Taymans  <wim@fluendo.com>
11493
11494         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11495         (gst_base_src_wait), (gst_base_src_update_length),
11496         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11497         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11498         (gst_base_src_loop), (gst_base_src_start),
11499         (gst_base_src_activate_pull):
11500         Update docs.
11501         blocksize == 0 now means the default blocksize when working in push
11502         based mode.
11503         Remove some pointless asserts in _wait function.
11504         Fix offset/length calculations and EOS handling. We can now pull 0
11505         bytes as well, which is allowed.
11506         use _check_get_range() to decide if we can operate in _pull based
11507         mode.
11508         Fix refcounting leak when check_get_range function was not 
11509         implemented.
11510         API GstBaseSrc::blocksize range can be 0 too now (default)
11511
11512         * tests/check/elements/filesrc.c: (GST_START_TEST),
11513         (filesrc_suite):
11514         Added check to test _get_range() behaviour.
11515
11516 2006-07-06  Wim Taymans  <wim@fluendo.com>
11517
11518         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11519         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11520         (gst_pad_pull_range):
11521         * gst/gstpad.h:
11522         Lots of comments and docs added to the pad functions.
11523         Flesh out the expected behaviour of the get_range() functions.
11524
11525 2006-07-06  Wim Taymans  <wim@fluendo.com>
11526
11527         * gst/gstbus.h:
11528         * gst/gstclock.h:
11529         * gst/gstevent.h:
11530         * gst/gstiterator.h:
11531         * gst/gstpad.h:
11532         * gst/gstplugin.h:
11533         * gst/gsttask.h:
11534         Remove comma at end of enumerator list. 
11535
11536 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11537
11538         * win32/common/libgstbase.def:
11539         * win32/common/libgstdataprotocol.def:
11540         * win32/common/libsgtreamer.def:
11541         Add new exported functions.
11542
11543 2006-07-05  Wim Taymans  <wim@fluendo.com>
11544
11545         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11546         Add some more docs here and there.
11547
11548 2006-07-05  Wim Taymans  <wim@fluendo.com>
11549
11550         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11551         (gst_base_sink_loop), (gst_base_sink_get_position):
11552         When operating in pull mode update the offset so that we
11553         read sequentially.
11554
11555 2006-07-05  Wim Taymans  <wim@fluendo.com>
11556
11557         * gst/gstregistryxml.c: (read_string):
11558         Avoid strdup. (will happen in libxml, but hey!)
11559
11560         * gst/gsturi.c:
11561         Add some more docs.
11562
11563 2006-07-05  Wim Taymans  <wim@fluendo.com>
11564
11565         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11566         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11567         (gst_buffer_suite):
11568         No point in checking if the size of the subbuffer > 0, the
11569         code handles it correclty as demonstrated by unit test.
11570         Also add a unit test for the zero sized _new_and_alloc and
11571         _copy. Fixes #346663.
11572
11573 2006-07-05  Wim Taymans  <wim@fluendo.com>
11574
11575         * libs/gst/base/gstbasetransform.c:
11576         (gst_base_transform_prepare_output_buffer),
11577         (gst_base_transform_buffer_alloc),
11578         (gst_base_transform_handle_buffer):
11579         Make sure the buffer we pass to transform_ip has a refcount of
11580         1 and thus is writable. Fixes #343196
11581
11582 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11583
11584         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11585         (gst_file_src_init), (gst_file_src_set_property),
11586         (gst_file_src_get_property), (gst_file_src_map_region):
11587         * plugins/elements/gstfilesrc.h:
11588         Add "sequential" property, off by default, to use madvise and hint
11589         to the kernel that sequential access is desired.
11590         Touch all retrieved pages by default to ensure they are pulled
11591         into memory. (Closes #345720)
11592
11593 2006-07-03  Wim Taymans  <wim@fluendo.com>
11594
11595         * docs/design/part-block.txt:
11596         * docs/design/part-dynamic.txt:
11597         Small docs updates.
11598
11599 2006-07-03  Wim Taymans  <wim@fluendo.com>
11600
11601         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11602         (gst_caps_unref), (gst_static_caps_get),
11603         (gst_caps_append_structure):
11604         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11605         Use GSlice when the glib we build against is >= 2.10
11606
11607 2006-07-03  Wim Taymans  <wim@fluendo.com>
11608
11609         * gst/gstelement.c: (gst_element_pads_activate):
11610         Small cleanup in pad activation code.
11611
11612 2006-07-03  Wim Taymans  <wim@fluendo.com>
11613
11614         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11615
11616         * gst/gst-i18n-app.h:
11617         * gst/gst-i18n-lib.h:
11618         * tools/gst-inspect.c: (print_signal_info):
11619         The attached patch will make the inclusion of gettext.h unconditional in
11620         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11621         libintl.h in tools/gst-inspect.c.
11622         This allows use of --disable-nls again and fixes #344642.
11623
11624 2006-07-03  Edward Hervey  <edward@fluendo.com>
11625
11626         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11627         Implement pad blocking on events according to part-block.txt.
11628         More comments on behaviour.
11629         * tests/check/gst/gstevent.c: (test_event):
11630         Send event to peer pad of blocked pad (else it will block).
11631
11632 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11633
11634         * libs/gst/check/gstcheck.c: (gst_check_message_error),
11635         (gst_check_run_suite):
11636           if we get the wrong message, give us the types as string
11637         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11638           Fix a translatable
11639         * tests/check/elements/filesrc.c: (GST_START_TEST):
11640           add a test for trying to open a non-existing file
11641
11642 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11643
11644         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11645           add a test for adding self
11646
11647 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11648
11649         * libs/gst/check/gstcheck.h:
11650           add some assert_ as alias for fail_unless_*
11651         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11652           increase test coverage
11653
11654 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11655
11656         * Makefile.am:
11657           include lcov.mak for lcov coverage generation
11658         * tools/Makefile.am:
11659           add to CLEANFILES
11660
11661 2006-07-02  Edward Hervey  <edward@fluendo.com>
11662
11663         * tests/check/elements/.cvsignore:
11664         moaping
11665
11666 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11667
11668         * configure.ac:
11669           don't set CFLAGS and friends for gcov, done from GST_GCOV now
11670         * tests/check/Makefile.am:
11671           clean up gcov files
11672
11673 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11674
11675         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11676           remove gst_caps_simplify; it was not declared and not used
11677           and deprecated in 0.8
11678
11679 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11680
11681         * docs/faq/gst-uninstalled:
11682           don't put empty paths on PYTHONPATH
11683         * docs/gst/gstreamer-sections.txt:
11684           remove some symbols that are not there
11685
11686 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11687
11688         * gst/gstcaps.c: (gst_caps_compare_structures):
11689           whitespace fixes
11690         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11691         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11692           add more tests
11693
11694 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11695
11696         * libs/gst/dataprotocol/Makefile.am:
11697           build dataprotocol test by linking to the lib, instead of
11698           compiling the source, so we get coverage
11699         * tests/check/Makefile.am:
11700         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11701         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11702           add a test for filesrc
11703
11704 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11705
11706         * tests/check/gst/gststructure.c: (GST_START_TEST),
11707         (gst_structure_suite):
11708           Push coverage from 59.04% to 70.00%
11709
11710 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11711
11712         * tests/check/Makefile.am:
11713           gst-inspect every element; this makes sure that we also get
11714           coverage on element's get/set functions
11715
11716 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11717
11718         * configure.ac:
11719           set CFLAGS and friends to -O0 if gcov is being used
11720           add GCOV LIBS
11721         * gst/Makefile.am:
11722         * libs/gst/base/Makefile.am:
11723         * libs/gst/check/Makefile.am:
11724         * libs/gst/controller/Makefile.am:
11725         * libs/gst/dataprotocol/Makefile.am:
11726         * libs/gst/net/Makefile.am:
11727         * plugins/elements/Makefile.am:
11728         * plugins/indexers/Makefile.am:
11729           add makefile rules to generate gcov data and clean up
11730         * tests/check/Makefile.am:
11731           add a coverage target that generates an html overview
11732           of coverage data
11733
11734 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11735
11736         * tests/check/elements/fakesink.c:
11737         * tests/check/elements/fakesrc.c:
11738         * tests/check/elements/fdsrc.c:
11739         * tests/check/elements/identity.c:
11740         * tests/check/generic/sinks.c: (gst_sinks_suite):
11741         * tests/check/generic/states.c:
11742         * tests/check/gst/gst.c:
11743         * tests/check/gst/gstabi.c:
11744         * tests/check/gst/gstbin.c:
11745         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11746         * tests/check/gst/gstbus.c: (gst_bus_suite):
11747         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11748         * tests/check/gst/gstelement.c:
11749         * tests/check/gst/gstevent.c: (gst_event_suite):
11750         * tests/check/gst/gstghostpad.c:
11751         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11752         * tests/check/gst/gstmessage.c: (gst_message_suite):
11753         * tests/check/gst/gstminiobject.c:
11754         * tests/check/gst/gstobject.c:
11755         * tests/check/gst/gstpad.c:
11756         * tests/check/gst/gstpipeline.c:
11757         * tests/check/gst/gstplugin.c:
11758         * tests/check/gst/gstquery.c: (gst_query_suite):
11759         * tests/check/gst/gstsegment.c: (gst_segment_suite):
11760         * tests/check/gst/gststructure.c:
11761         * tests/check/gst/gstsystemclock.c:
11762         * tests/check/gst/gsttag.c:
11763         * tests/check/gst/gsttask.c: (gst_task_suite):
11764         * tests/check/gst/gstutils.c:
11765         * tests/check/gst/gstvalue.c:
11766         * tests/check/libs/adapter.c:
11767         * tests/check/libs/basesrc.c:
11768         * tests/check/libs/collectpads.c:
11769         * tests/check/libs/controller.c:
11770         * tests/check/libs/gdp.c: (gst_dp_suite):
11771         * tests/check/libs/gstnetclientclock.c:
11772         * tests/check/libs/gstnettimeprovider.c:
11773         * tests/check/libs/libsabi.c: (libsabi_suite):
11774         * tests/check/libs/typefindhelper.c:
11775         * tests/check/pipelines/cleanup.c:
11776         * tests/check/pipelines/parse-launch.c:
11777         * tests/check/pipelines/simple-launch-lines.c:
11778         * tests/check/pipelines/stress.c: (stress_suite):
11779           use the new macro
11780
11781 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11782
11783         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11784         * libs/gst/check/gstcheck.h:
11785           create a macro and function so that the simple unit test
11786           case can be just one macro to create main()
11787
11788 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
11789
11790         * gst/gstbin.c: (gst_bin_restore_thyself):
11791         * gst/gstxml.c: (gst_xml_make_element):
11792           Fix deserialisation from XML. Set parent manually
11793           instead of using gst_bin_add(), since gst_bin_add()
11794           will unlink all pads of the element being added.
11795           Fixes #341667.
11796
11797 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
11798
11799         Patch by: Peter Kjellerstedt <pkj at axis com>
11800
11801         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11802           Fix missing g_strdup() and double free when using the
11803           --gst-plugin-load command line option (#346097).
11804
11805 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11806
11807         * gst/gstinfo.c:
11808           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11809
11810         * libs/gst/net/gstnetclientclock.c:
11811         * libs/gst/net/gstnettimeprovider.c:
11812           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11813
11814 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11815
11816         * docs/manual/advanced-dataaccess.xml:
11817           Fix buffer probe example compilation in
11818           ADM (#345708).
11819         
11820 2006-06-22  Edward Hervey  <edward@fluendo.com>
11821
11822         * gst/gstelement.c: (gst_element_pads_activate):
11823         We need to deactivate src pads first and then sink pads.
11824         The reason is the src pads might be blocking while holding the streaming
11825         lock, so we need to deactivate them first so that deactivating the sink
11826         pads doesn't block (since it will require the streaming lock).
11827
11828 2006-06-22  Wim Taymans  <wim@fluendo.com>
11829
11830         * libs/gst/base/gstbasetransform.c:
11831         (gst_base_transform_buffer_alloc):
11832         Forgot to remove two unneeded unrefs.
11833         Simplify a check _is_equal allready checks the obvious case.
11834
11835 2006-06-22  Wim Taymans  <wim@fluendo.com>
11836
11837         * docs/design/part-block.txt:
11838         Some docs about what pad_block should do.
11839
11840 2006-06-22  Wim Taymans  <wim@fluendo.com>
11841
11842         * gst/gstcaps.c: (gst_caps_replace):
11843         Fix crasher when passed NULL. Doc clarification.
11844         Optimize for the trivial case.
11845
11846         * gst/gstpipeline.c: (gst_pipeline_change_state):
11847         Small cleanups.
11848
11849         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11850         Small documentation cleanup.
11851
11852         * libs/gst/base/gstbasetransform.c:
11853         (gst_base_transform_buffer_alloc):
11854         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11855         is what we need and it avoids a whole lot of redundant 
11856         refcount operations.
11857
11858 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
11859
11860         Patch by: Philip Jägenstedt  <philip at lysator liu se>
11861
11862         * docs/manual/advanced-dataaccess.xml:
11863           Fix 'Embedding static elements' section to use
11864           GST_PLUGIN_DEFINE_STATIC (#345607).
11865
11866 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11867
11868         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11869           Attempt to 'fix' spuriously failing test case: it seems like the
11870           timeout of half a second is simply too small when the system is under
11871           load otherwise, and the timeout doesn't really seem to serve any
11872           particular purpose here. Give the pipeline a few seconds to preroll
11873           first, and then give it another half a second to go from PAUSED to
11874           PLAYING and marshal the message into the main thread.
11875
11876 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11877
11878         * tools/gst-feedback-m.m:
11879           Don't only use unversioned tools, try versioned tools as well
11880           (#345086).
11881
11882 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11883
11884         * gst/gstbus.c: (gst_bus_class_init):
11885           Fix some typos, make docs more explicit.
11886
11887 2006-06-20  Wim Taymans  <wim@fluendo.com>
11888
11889         * tests/check/gst/gstghostpad.c: (block_callback),
11890         (GST_START_TEST), (gst_ghost_pad_suite):
11891         Added some more ghostpad tests, mainly blocking
11892         and probes.
11893
11894 2006-06-16  Wim Taymans  <wim@fluendo.com>
11895
11896         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11897         (gst_file_sink_close_file), (gst_file_sink_do_seek),
11898         (gst_file_sink_event), (gst_file_sink_render):
11899         * plugins/elements/gstfilesink.h:
11900         Check if we can seek in the file instead of assuming
11901         we always can. Post an error when we are asked to seek in a
11902         non-seekable file (like a fifo). Fixes #343312.
11903         Some cleanups.
11904
11905 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11906
11907         * tools/gst-launch.1.in:
11908           Un-garble (fourcc) bit in filtered caps section.
11909
11910 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11911
11912         * docs/manual/advanced-autoplugging.xml:
11913         * docs/manual/basics-helloworld.xml:
11914         * docs/manual/highlevel-components.xml:
11915           Don't leak bus reference in sample code.
11916
11917 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
11918
11919         * autogen.sh:
11920           Add default for new --enable-plugin-docs switch.
11921
11922         * configure.ac:
11923           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
11924           Fixes #344039.
11925
11926         * docs/Makefile.am:
11927           Use new ENABLE_PLUGIN_DOCS conditional.
11928
11929 2006-06-14  Wim Taymans  <wim@fluendo.com>
11930
11931         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
11932         Make it clear with a FIXME and a real define what the #if 0
11933         previously disabled.
11934
11935 2006-06-14  Wim Taymans  <wim@fluendo.com>
11936
11937         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11938         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11939         * libs/gst/base/gstbasetransform.c:
11940         (gst_base_transform_sink_eventfunc):
11941         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11942         Don't randomly and silently reset a segment when the format 
11943         changes as this is a bug somewhere upstream. Fixes #330379.
11944
11945 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
11946
11947         Patch by: Wouter Paesen  <wouter at kangaroot net>
11948
11949         * libs/gst/controller/gstcontroller.c:
11950         (gst_controlled_property_new):
11951           Fix controlling of float properties (#344849).
11952
11953         * tests/check/libs/controller.c:
11954         (gst_test_mono_source_get_property),
11955         (gst_test_mono_source_set_property),
11956         (gst_test_mono_source_class_init), (GST_START_TEST):
11957           While we're at it, add some float stuff to unit test.
11958
11959 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11960
11961         * docs/README:
11962         * docs/images/gdp-header.svg:
11963           add a gdp image
11964         * docs/libs/Makefile.am:
11965         * docs/libs/gdp-header.png:
11966         * libs/gst/dataprotocol/dataprotocol.c:
11967           add it to the API docs
11968         * docs/manual/intro-motivation.xml:
11969           fix typo
11970
11971 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
11972
11973         * gst/gst.c: (scan_and_update_registry), (init_post):
11974           If the fork()'ed child process can't write the updated registry cache
11975           file to disk for some reason, make it exit with a failure exit code,
11976           so that the parent can then re-scan the plugins itself and update the
11977           registry structures in memory and work with that (rather than failing
11978           when creating elements because seemingly no plugins are available).
11979           Refactor registry scanning code into separate function for this and
11980           also separate fork() and non-fork() code paths. Fixes #344748.
11981
11982 2006-06-13  Wim Taymans  <wim@fluendo.com>
11983
11984         * docs/manual/advanced-dataaccess.xml:
11985         Fix wrong PluginDesc. Fixes #344755.
11986
11987 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
11988
11989         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11990           Fix silly bug that prevented us from creating
11991           ~/.gstreamer-0.10 and writing the registry in one
11992           go (the first call to g_mkstemp() would overwrite the
11993           placeholder in the template string, so the second call
11994           to g_mkstemp() after creating the missing directory
11995           would then error out with 'invalid argument').
11996
11997 2006-06-13  Edward Hervey  <edward@fluendo.com>
11998
11999         * gst/gst.c: (init_post):
12000         Free string.
12001
12002 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12003
12004         * gst/glib-compat-private.h:
12005         * gst/glib-compat.c:
12006         * gst/glib-compat.h:
12007         * gst/gstvalue.c: (gst_value_serialize_flags):
12008           remove GLib 2.6 compatibility code
12009
12010 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12011
12012         * gst/parse/Makefile.am:
12013           Fix build with 'make -j N' even more (#340016).
12014
12015 2006-06-12  Wim Taymans  <wim@fluendo.com>
12016
12017         * docs/gst/gstreamer-sections.txt:
12018         Fix docs.
12019
12020 2006-06-12  Wim Taymans  <wim@fluendo.com>
12021
12022         * gst/gstsegment.c: (gst_segment_set_duration),
12023         (gst_segment_set_last_stop), (gst_segment_set_seek),
12024         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12025         (gst_segment_to_running_time), (gst_segment_clip):
12026         Use G_UNLIKELY to help the compiler a bit.
12027
12028 2006-06-12  Wim Taymans  <wim@fluendo.com>
12029
12030         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12031
12032         * gst/gstevent.c: (gst_event_get_type):
12033         * gst/gstmessage.c:
12034         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12035         (gst_pad_push):
12036         constify quark registration strings. Fixes #344115
12037         Avoid unneeded type checking is _pad_push() by internally
12038         calling gst_pad_chain_unchecked().
12039
12040 2006-06-12  Wim Taymans  <wim@fluendo.com>
12041
12042         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12043         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12044         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12045         (gst_buffer_is_span_fast), (gst_buffer_span):
12046         Init _type for consistency.
12047         Use _FLAGS macro to avoid type check.
12048         Avoid unneeded type checks in subbufer code.
12049
12050 2006-06-12  Wim Taymans  <wim@fluendo.com>
12051
12052         * gst/gst.c: (gst_debug_help):
12053         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12054         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12055         (gst_plugin_feature_list_free):
12056         * gst/gstregistry.c: (gst_registry_add_plugin),
12057         (gst_registry_add_feature), (gst_registry_plugin_filter),
12058         (gst_registry_feature_filter), (gst_registry_find_plugin),
12059         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12060         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12061         * gst/gstregistryxml.c: (load_feature),
12062         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12063         * gst/gstminiobject.c: (gst_mini_object_unref),
12064         (gst_mini_object_replace), (gst_value_mini_object_free),
12065         (gst_value_mini_object_copy):
12066         Use _CAST macros to avoid unneeded type checking.
12067         Added some more G_UNLIKELY.
12068
12069 2006-06-12  Wim Taymans  <wim@fluendo.com>
12070
12071         * gst/gstbuffer.h:
12072         Avoid unneeded type checking.
12073         API: GST_BUFFER_IS_DISCONT
12074
12075         * gst/gstminiobject.h:
12076         Avoid type check in flag accessor.
12077
12078         * gst/gstelementfactory.h:
12079         * gst/gstplugin.h:
12080         * gst/gstpluginfeature.h:
12081         Add _CAST macros.
12082         API: GST_ELEMENT_FACTORY_CAST
12083         API: GST_PLUGIN_CAST
12084         API: GST_PLUGIN_FEATURE_CAST
12085
12086 2006-06-12  Wim Taymans  <wim@fluendo.com>
12087
12088         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12089         (gst_object_unref):
12090         Add G_UNLIKELY in type registration.
12091         Avoid type check in _ref/_unref since that is also
12092         done in glib.
12093
12094 2006-06-12  Wim Taymans  <wim@fluendo.com>
12095
12096         * gst/gsterror.c: (gst_g_error_get_type):
12097         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12098         (gst_static_pad_template_get_type):
12099         * gst/gsttaglist.c: (gst_tag_list_get_type):
12100         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12101         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12102         * gst/gsturi.c: (gst_uri_handler_get_type):
12103         * gst/gstvalue.c: (gst_date_get_type):
12104         * gst/gstxml.c: (gst_xml_get_type):
12105         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12106         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12107         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12108         Add G_UNLIKELY in type registration.
12109
12110 2006-06-12  Wim Taymans  <wim@fluendo.com>
12111
12112         * tools/gst-inspect.c: (print_signal_info):
12113         Properly print enum values.
12114
12115 2006-06-12  Wim Taymans  <wim@fluendo.com>
12116
12117         * gst/gstinfo.c: (gst_debug_set_active),
12118         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12119         * gst/gstinfo.h:
12120         Add some G_[UN]LIKELY.
12121         Maintain __gst_debug_min to avoid formatting the arguments of
12122         debug messages that will be dropped anyway to avoid a lot of 
12123         overhead from the debugging system.
12124
12125 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12126
12127         * po/POTFILES.in:
12128         * po/POTFILES.skip:
12129           add missing files containing translatable strings, tell intltool about
12130           one exception
12131
12132 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12133
12134         * tests/check/libs/.cvsignore:
12135         add test-binary to ignore list
12136
12137 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12138
12139         * docs/libs/gstreamer-libs-docs.sgml:
12140         reorder (put dp into a chapter) and indent
12141
12142 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12143
12144         * configure.ac:
12145           back to HEAD
12146
12147 === release 0.10.8 ===
12148
12149 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12150
12151         * configure.ac:
12152           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12153
12154 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12155
12156         * gst/gst.c: (init_post):
12157           move pid declaration to declaration block
12158
12159 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12160
12161         * gst/gst.c: (init_post):
12162           use _exit() instead of exit() in our forked child; this ensures
12163           that none of the registered exit handlers from whatever is using
12164           GStreamer get executed.  This fixes gnome-mixer-applet failing
12165           to load, because ORBit would shut down.
12166           Spotted by: Edward Hervey  <edward@fluendo.com>
12167           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12168           Fixes #344474
12169
12170 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12171
12172         * configure.ac:
12173           back to TRUNK
12174
12175 === release 0.10.7 ===
12176
12177 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12178
12179         * configure.ac:
12180           releasing 0.10.7, "Soepeke, ik zie ou"
12181
12182 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12183
12184         * configure.ac:
12185         * po/af.po:
12186         * po/az.po:
12187         * po/bg.po:
12188         * po/ca.po:
12189         * po/cs.po:
12190         * po/de.po:
12191         * po/en_GB.po:
12192         * po/fr.po:
12193         * po/it.po:
12194         * po/nb.po:
12195         * po/nl.po:
12196         * po/ru.po:
12197         * po/sq.po:
12198         * po/sr.po:
12199         * po/sv.po:
12200         * po/tr.po:
12201         * po/uk.po:
12202         * po/vi.po:
12203         * po/zh_CN.po:
12204         * po/zh_TW.po:
12205         * win32/common/config.h:
12206           0.10.6.2 prerelease
12207
12208 2006-06-07  Wim Taymans  <wim@fluendo.com>
12209
12210         * gst/gstindex.c: (gst_index_gtype_resolver):
12211         * tools/gst-xmlinspect.c: (print_plugin_info):
12212         Fix leak spotted by coverity checker. Fixes #343827
12213         Fix another other leak found by paolo borelli.
12214
12215 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12216
12217         * libs/gst/dataprotocol/dataprotocol.c:
12218         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12219         (gst_dp_version_get_type), (gst_dp_init),
12220         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12221         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12222         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12223         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12224         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12225         (gst_dp_packetizer_free):
12226         * libs/gst/dataprotocol/dataprotocol.h:
12227           API: add a GstDPPacketizer object, and create/free functions
12228           API: add GstDPVersion enum
12229           Add 1.0 event function that uses the string serialization
12230           Serialize more useful buffer flags
12231           Fixes #343988
12232
12233 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12234
12235         * tests/check/Makefile.am:
12236         * tests/check/gst/gstabi.c:
12237         * tests/check/gst/struct_ppc64.h:
12238         * tests/check/libs/libsabi.c:
12239         * tests/check/libs/struct_ppc64.h:
12240           add ppc64 structure sizes
12241
12242 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12243
12244         * tests/check/Makefile.am:
12245         * tests/check/gst/gstabi.c:
12246         * tests/check/gst/struct_x86_64.h:
12247         * tests/check/libs/libsabi.c:
12248         * tests/check/libs/struct_x86_64.h:
12249           generate and add structure size lists for x86_64
12250
12251 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12252
12253         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12254         * libs/gst/check/gstcheck.h:
12255           factor out the method from tests that checks size of structures,
12256           and add code to generate the header containing these sizes
12257         * tests/check/gst/gstabi.c: (GST_START_TEST):
12258         * tests/check/gst/struct_i386.h:
12259         * tests/check/libs/libsabi.c: (GST_START_TEST):
12260         * tests/check/libs/struct_i386.h:
12261           use it
12262
12263 2006-06-06  Michael Smith  <msmith@fluendo.com>
12264
12265         * gst/gstsegment.h:
12266           Don't use c++-style comments, fixes #343929
12267
12268 2006-06-05  Edward Hervey  <edward@fluendo.com>
12269
12270         * gst/gst.c:
12271         plugin_paths is not used if we build without registry support.
12272
12273         * gst/gstsegment.c: (gst_segment_copy): 
12274         _copy() was always returning NULL...
12275
12276 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12277
12278         * libs/gst/dataprotocol/dataprotocol.c:
12279         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12280         (gst_dp_packet_from_event):
12281           factor out CRC code
12282
12283 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12284
12285         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12286           make sure we unset caps
12287
12288 2006-06-02  Michael Smith  <msmith@fluendo.com>
12289
12290         * libs/gst/check/gstcheck.c: (gst_check_init),
12291         (gst_check_chain_func):
12292         * libs/gst/check/gstcheck.h:
12293           Add a cond/mutex to the check support lib, signal this whenever we
12294           add to the buffers list. This will allow tests to not busy-wait on
12295           the buffer-list.
12296
12297 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12298
12299         * libs/gst/dataprotocol/dataprotocol.c:
12300         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12301         (gst_dp_packet_from_event):
12302           factor out some common header init code
12303
12304 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12305
12306         * docs/libs/gstreamer-libs-sections.txt:
12307         * docs/libs/tmpl/gstdataprotocol.sgml:
12308         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12309         * libs/gst/dataprotocol/dataprotocol.h:
12310           API: make gst_dp_crc() public
12311
12312 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12313
12314         * plugins/indexers/gstindexers.c: (plugin_init):
12315         conditionally register fileindexer (fixes #343598)
12316
12317 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12318
12319         * gst/gsttagsetter.h:
12320         Can't cast ifaces to a class
12321
12322         * libs/gst/net/gstnetclientclock.h:
12323         * libs/gst/net/gstnettimeprovider.h:
12324         * plugins/elements/gstfakesink.h:
12325         * plugins/elements/gstfakesrc.h:
12326         * plugins/elements/gstfdsink.h:
12327         * plugins/elements/gstfdsrc.h:
12328         * plugins/elements/gstfilesink.h:
12329         * plugins/elements/gstfilesrc.h:
12330         * plugins/elements/gstidentity.h:
12331         * plugins/elements/gstqueue.h:
12332         * plugins/elements/gsttee.h:
12333         * plugins/indexers/gstfileindex.c:
12334         * plugins/indexers/gstmemindex.c:
12335         * tests/old/examples/plugins/example.h:
12336         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12337
12338 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12339
12340         * libs/gst/dataprotocol/dataprotocol.c:
12341         (gst_dp_header_from_buffer):
12342           make sure we zero the whole ABI-compatible area
12343
12344 2006-06-01  Wim Taymans  <wim@fluendo.com>
12345
12346         Patch by: Alessandro Decina <alessandro at nnva dot org>
12347
12348         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12349         Make sure the EOS flag is cleared from pads after a flush
12350         or stop. Fixes #343538.
12351
12352         * tests/check/libs/collectpads.c: (GST_START_TEST),
12353         (gst_collect_pads_suite):
12354         Added test for collectpads reusage after EOS.
12355
12356 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12357
12358         * gst/gst.c:
12359          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12360         * win32/common/libgstbase.def:
12361          export gst_collect_pads_set_flushing
12362         * win32/common/libgstreamer.def:
12363          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12364          gst_value_fraction_multiply
12365         * win32/vs6/gst_inspect.dsp:
12366          add a link to intl.lib
12367
12368 2006-05-30  Wim Taymans  <wim@fluendo.com>
12369
12370         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12371         (gst_collect_pads_chain):
12372         Handle the case where a pad is removed from the collection
12373         that could cause the other pads to become collectable.
12374
12375 2006-05-30  Wim Taymans  <wim@fluendo.com>
12376
12377         * gst/gstelement.c:
12378         Clarify the use of _release_request_pad() and
12379         _get_request_pad() a bit better.
12380
12381         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12382         (gst_adapter_take_buffer):
12383         Fix some doc and comment typos.
12384
12385 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12386
12387         * docs/gst/gstreamer-sections.txt:
12388         * docs/libs/gstreamer-libs-sections.txt:
12389           add declared symbols
12390
12391 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12392
12393         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12394         Add debug that can be enabled using a #define at the top of the file,
12395         for dumping stats about how late/early we were when waking up from
12396         waiting on the clock.
12397
12398 2006-05-30  Wim Taymans  <wim@fluendo.com>
12399
12400         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12401         When rebuilding the pad list, don't leak the previous list.
12402
12403 2006-05-30  Wim Taymans  <wim@fluendo.com>
12404
12405         Patch by: Lutz Mueller <lutz at topfrose dot de>
12406
12407         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12408         (gst_base_src_get_query_types), (gst_base_src_update_length):
12409         Publish supported query types.
12410         Update last_stop field in get_range mode so the position
12411         query works. Fixes #342321.
12412
12413 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12414
12415         * docs/gst/gstreamer-sections.txt:
12416         * gst/gsttaglist.c: (_gst_tag_initialize):
12417         * gst/gsttaglist.h:
12418           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12419
12420 2006-05-30  Wim Taymans  <wim@fluendo.com>
12421
12422         Patch by: Alessandro Decina <alessandro at nnva dot org>
12423
12424         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12425         Unlock mutex when removing an unknown pad.
12426         Fixes #343334.
12427
12428         * tests/check/Makefile.am:
12429         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12430         (push_event), (setup), (teardown), (GST_START_TEST),
12431         (gst_collect_pads_suite), (main):
12432         Added collecpads check, disabled for now as check crashes for
12433         some reason.
12434
12435 2006-05-29  Wim Taymans  <wim@fluendo.com>
12436
12437         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12438         Don't leak pads lists.
12439
12440 2006-05-29  Wim Taymans  <wim@fluendo.com>
12441
12442         * docs/libs/gstreamer-libs-sections.txt:
12443         * libs/gst/base/gstcollectpads.c:
12444         (gst_collect_pads_set_flushing_unlocked),
12445         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12446         (gst_collect_pads_stop):
12447         * libs/gst/base/gstcollectpads.h:
12448         API: gst_collect_pads_set_flushing()
12449         Added api to set the pads to flushing, useful for seeking
12450         code in elements using collectpads.
12451         Clear segment when receiving a flush.
12452
12453 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12454
12455         * gst/gst.c: (add_path_func), (init_post):
12456           Don't scan registry paths passed via --gst-plugin-path immediately
12457           (will crash, because absolutely nothing is set up and no types are
12458           registered etc.); do this later in init_post(). Fixes #343057.
12459
12460 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12461
12462         * gst/gst.c: (init_post):
12463           if we have fork, fork while reading/rebuilding the registry
12464           so the parent doesn't take the hit of having all plugins loaded
12465           in memory.  Fixes #342777.
12466         * configure.ac:
12467           Check if we have fork()
12468         * win32/common/config.h.in:
12469           no fork() on win32
12470
12471 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12472
12473         * plugins/elements/gstelements.c:
12474         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12475         (gst_file_src_init), (gst_file_src_set_property),
12476         (gst_file_src_get_property), (gst_file_src_start):
12477         * plugins/elements/gstfilesrc.h:
12478           API: GstFileSrc::use-mmap
12479
12480         Add a use-mmap property to enable easier testing of all code paths.
12481         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12482         in the absence of gnomevfssrc. (Closes #340501)
12483
12484 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12485
12486         * tools/gst-inspect.c:
12487         Add missing include, removes warning of ngettext not being defined on
12488         some arches.
12489
12490 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12491
12492         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12493         Handle NULL input and output pointers silently as a failed conversion,
12494         rather than g_warnings.
12495
12496 2006-05-25  Wim Taymans  <wim@fluendo.com>
12497
12498         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12499         Initialize variable before using. Fixes #342820.
12500
12501 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12502
12503         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12504           Fix off-by-one bug that would only allow peeks of N-1 bytes
12505           from the start even if the buffer to typefind on contains
12506           in fact N bytes of data (makes vorbis typefinding from a
12507           vorbis identification header buffer work).
12508
12509         * tests/check/Makefile.am:
12510         * tests/check/libs/.cvsignore:
12511         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12512         (gst_typefindhelper_suite), (main), (foobar_typefind),
12513         (plugin_init):
12514           Add very basic unit test for gst_type_find_helper_for_buffer()
12515           that checks for the problem fixed above.
12516
12517 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12518
12519         * tools/gst-inspect.c: (print_interfaces),
12520         (print_element_properties_info), (print_element_list), (main):
12521           add more translatable strings
12522
12523 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12524
12525         Patch by: Julien Moutte  <julien at moutte net>
12526
12527         * docs/gst/gstreamer-sections.txt:
12528           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12529           
12530         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12531         (gst_fake_sink_preroll):
12532         * plugins/elements/gstfakesink.h:
12533           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12534
12535 2006-05-23  Wim Taymans  <wim@fluendo.com>
12536
12537         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12538         * gst/gstpad.h:
12539         Added _CUSTOM error and success GstFlowReturn that can be
12540         used be elements internally. 
12541         Added macro to check for SUCCESS flowreturns.
12542         API: GST_FLOW_CUSTOM_SUCCESS
12543         API: GST_FLOW_CUSTOM_ERROR
12544         API: GST_FLOW_IS_SUCCESS
12545
12546         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12547         Added check for GstFlowReturn sanity.
12548
12549 2006-05-23  Wim Taymans  <wim@fluendo.com>
12550
12551         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12552
12553         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12554         (gst_collect_pads_event):
12555         clear/reset segment info in FLUSH_STOP.
12556         Fixes #336929.
12557
12558 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12559
12560         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12561         (gst_collect_pads_check_collected):
12562         Flush queued buffer on _stop(), fixes playing again (#342454)
12563
12564 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12565
12566         * tests/check/gst/gststructure.c: (GST_START_TEST),
12567         (gst_structure_suite):
12568           add a test for a complete structure
12569
12570 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12571
12572         * docs/faq/developing.xml:
12573         * docs/faq/faq.xml:
12574         * docs/faq/troubleshooting.xml:
12575         * docs/faq/using.xml:
12576           Some minor FAQ updates that won't change the fact that
12577           our FAQ is badly structured, full of information hardly
12578           anyone new to GStreamer needs to know and lacking lots
12579           of information people constantly ask for.
12580           
12581 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12582
12583         * gst/gstpad.c: (gst_pad_set_caps):
12584           Short-circuit gst_pad_set_caps if setting the existing
12585           caps pointer again, and avoid printing debug and 
12586           reffing/unreffing the caps.
12587
12588         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12589           There's actually no need to set the caps before pushing -
12590           the acceptcaps method will handle it anyway.
12591
12592 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12593
12594         * docs/gst/gstreamer-sections.txt:
12595         * win32/common/libgstreamer.def:
12596         * gst/gstutils.c: (gst_element_seek_simple):
12597         * gst/gstutils.h:
12598           API: add gst_element_seek_simple() (#342238).
12599
12600 2006-05-18  Edward Hervey  <edward@fluendo.com>
12601
12602         * gst/gsttypefind.c: (gst_type_find_get_type):
12603         * gst/gsttypefind.h:
12604         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12605         registered for GstTypeFind pointers. This allows wrapping the structure
12606         in bindings (i.e. gst-python).
12607
12608 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12609
12610         * gst/gsttagsetter.c:
12611           Docs additions and fixes (see #339918).
12612
12613 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12614
12615         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12616         The caps intersection algorithm can produce multiple copies of the
12617         caps. Until that is fixed, we need to simplify the result to be
12618         sure whether the allowed caps are fixed or not.
12619
12620         * plugins/elements/gstqueue.c: (gst_queue_init),
12621         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12622         (gst_queue_push_one):
12623         Proxied buffer alloc should not set the caps on the source pad.
12624         When pushing buffers, we always accept the caps change that triggers.
12625         This prevents negotiation errors caused by caps changing mid-stream 
12626         and then being refused on our source pad (because upstream is now
12627         refusing those caps).
12628
12629 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12630
12631         * tests/examples/helloworld/helloworld.c: (main):
12632           Must plug audioconvert and audioresample between decoder
12633           and audio sink.
12634
12635 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
12636
12637         * gst/gstregistryxml.c: (read_string), (load_pad_template),
12638         (load_feature), (load_plugin):
12639         Allow empty strings for some of the plugin fields so we don't 
12640         drop valid plugin entries that were written out correctly
12641         (Fixes #341479)
12642
12643 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
12644         
12645         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12646           Use g_remove and g_rename instead of remove and rename that don't 
12647           handle utf8 characters. rename was failing for users who had specific
12648           characters in their name then the registry was built at each 
12649           gstreamer init.
12650         * win32/vs6/gst_inspect.dsp:
12651         * win32/vs6/gst_launch.dsp:
12652         * win32/vs6/libgstbase.dsp:
12653         * win32/vs6/libgstcoreelements.dsp:
12654         * win32/vs6/libgstreamer.dsp:
12655           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
12656           build of libgstreamer and clean unused libraries in projects link 
12657           settings.
12658
12659 2006-05-17  Edward Hervey  <edward@fluendo.com>
12660
12661         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12662         The queue is not responsible for pushing an EOS when receiving a fatal
12663         flow error. It's up to the real element driving the pipeline to do that.
12664
12665 2006-05-16  Edward Hervey  <edward@fluendo.com>
12666
12667         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12668         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12669         buffer returned a fatal error. It should just send an EOS and stop
12670         its task.
12671         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12672         when pushing buffers on the queue and will be able to handle the event.
12673
12674 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
12675
12676         * docs/manual/basics-bins.xml:
12677         * docs/manual/basics-init.xml:
12678           Fix typos and minor errors in sample code (#341856).
12679
12680 2006-05-16  Wim Taymans  <wim@fluendo.com>
12681
12682         * docs/design/part-qos.txt:
12683         Fix indexes in formulas to make more sense.
12684
12685 2006-05-15  Wim Taymans  <wim@fluendo.com>
12686
12687         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12688         Don't report POSITION based on clock time if sync is
12689         disabled in a sink.
12690
12691 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
12692
12693         * gst/gstobject.h:
12694           Add cast to make compiler happy - refcount variable was a gint
12695           in GstObject but is a guint in GObject and g_atomic_int_get()
12696           wants a gint *.
12697
12698 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12699
12700         * gst/parse/Makefile.am:
12701           chain commands using &&, which also makes parallel make work
12702
12703 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
12704
12705         * docs/gst/gstreamer-sections.txt:
12706         * gst/gstevent.c:
12707         * gst/gstevent.h:
12708         * gst/gstmessage.h:
12709           Minor docs fixes.
12710
12711 === release 0.10.6 ===
12712
12713 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
12714
12715         * configure.ac:
12716           releasing 0.10.6, "Take the cannoli"
12717
12718 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
12719
12720         * tools/gst-launch.c: (print_tag):
12721           Fix use of uninitialized variable in the hypothetical
12722           case that some broken plugin creates a GST_TAG_IMAGE
12723           tag containing a NULL buffer (#341667).
12724
12725 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
12726
12727         * tools/gst-launch.c: (print_tag):
12728           Print something more intelligible for image tags when
12729           using the -t switch (#341556).
12730
12731 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12732
12733         * Makefile.am:
12734           updates for win32
12735         * configure.ac:
12736           define GST_MAJORMINOR so we have it available in win32/common/config.h
12737           Possibly remove it from our Makefile.am files later
12738         * win32/common/config.h:
12739         * win32/common/config.h.in:
12740           added GST_MAJORMINOR
12741         * win32/common/gstenumtypes.c: (register_gst_resource_error):
12742         * win32/common/gstversion.h:
12743           updated
12744
12745 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
12746
12747         * win32/MANIFEST:
12748           Update win32 files listing.
12749         * win32/common/gstversion.h:
12750           Add GST_MAJORMINOR definition.
12751         * win32/common/libgstreamer.def:
12752           Add new exported functions.
12753           
12754 2006-05-12  Michael Smith  <msmith@fluendo.com>
12755
12756         * gst/gstplugin.c: (gst_plugin_load_file):
12757           If an so file has no plugin entry point, unload the module.
12758
12759 2006-05-11  Wim Taymans  <wim@fluendo.com>
12760
12761         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12762         (gst_queue_set_property):
12763         Don't forget to signal the _chain or _loop function 
12764         when the queue size or thresholds change since that might
12765         cause them to make progres again.
12766
12767 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
12768
12769         * gst/gstclock.c: (gst_clock_class_init):
12770         * gst/gstindex.c: (gst_index_class_init):
12771         * gst/gstobject.c: (gst_object_class_init):
12772         * gst/gstpad.c: (gst_pad_class_init):
12773         * gst/gstpipeline.c: (gst_pipeline_class_init):
12774         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12775         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12776         * libs/gst/base/gstbasetransform.c:
12777         (gst_base_transform_class_init):
12778         * libs/gst/net/gstnetclientclock.c:
12779         (gst_net_client_clock_class_init):
12780         * libs/gst/net/gstnettimeprovider.c:
12781         (gst_net_time_provider_class_init):
12782         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12783         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12784         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12785         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12786         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12787         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12788         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12789         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12790         * plugins/elements/gsttee.c: (gst_tee_class_init):
12791         * tests/old/examples/plugins/example.c: (gst_example_class_init):
12792         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12793           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12794
12795 2006-05-11  Wim Taymans  <wim@fluendo.com>
12796
12797         * gst/gstbuffer.c: (_gst_buffer_initialize):
12798         Register subbufer along with the buffer type so that
12799         it does not accidentally gets registered from N
12800         different streaming threads in a non threadsafe way.
12801
12802 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12803
12804         * gst/gstbuffer.h:
12805         * gst/gstevent.h:
12806         * gst/gstmessage.h:
12807           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12808           gst_event_ref() and gst_message_ref() functions again
12809           (ugly hack, please do fix if there's a better way besides
12810           overrides.txt, which doesn't seem to work).
12811
12812 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12813
12814         * libs/gst/check/gstcheck.h:
12815           add an assert for setting state to avoid lots of repetitive code
12816           in the future
12817
12818 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12819
12820         * gst/gstvalue.c: (gst_value_serialize_flags):
12821           fix a leak if no flags are set
12822         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12823           fix leak in tests
12824
12825 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12826
12827         * docs/manual/basics-pads.xml:
12828           Expand a bit on caps and filtered links and update
12829           examples that were still using the no longer existing
12830           gst_pad_link_filtered() (#338206).
12831
12832 2006-05-10  Wim Taymans  <wim@fluendo.com>
12833
12834         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12835         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12836         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12837         (gst_collect_pads_stop):
12838         * libs/gst/base/gstcollectpads.h:
12839         No need to call _stop in _finalize.
12840         Iterate the main pad list in _finalize.
12841         Added some more debug.
12842         Free lists and data in the right order.
12843         Also free data whem doing _remove_pad when stopped for
12844         backward compatibility protect ::started with PAD_LOCK as
12845         well.
12846
12847 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12848
12849         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12850         (gst_structure_parse_value):
12851           add some comments
12852           rename a method so that it actually says what it does better
12853
12854 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12855
12856         * gst/gstevent.c: (_gst_event_initialize):
12857         * gst/gstformat.c: (_gst_format_initialize):
12858           make sure some essential types used by events are registered
12859           as part of gst_init()
12860         * gst/gstvalue.c: (gst_value_serialize_flags):
12861           if no flags are set, serialize them to a value that represents NONE
12862           so that deserializing them works
12863         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12864           add tests for serialization and deserialization of flags
12865
12866 2006-05-10  Wim Taymans  <wim@fluendo.com>
12867
12868         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12869         (gst_collect_pads_collect_range), (gst_collect_pads_available),
12870         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12871         (gst_collect_pads_event), (gst_collect_pads_chain):
12872         Update docs.
12873         Better debug info.
12874         Catch and return errors from the collect function
12875         Refuse data on eos pads.
12876
12877 2006-05-10  Edward Hervey  <edward@fluendo.com>
12878
12879         * gst/gstinterface.h:
12880         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12881         GInterface type checking.
12882         They were previously using non-defined macros.
12883
12884 2006-05-09  Wim Taymans  <wim@fluendo.com>
12885
12886         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12887         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12888         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12889         (gst_collect_pads_start), (gst_collect_pads_stop),
12890         (gst_collect_pads_peek), (gst_collect_pads_pop),
12891         (gst_collect_pads_available), (gst_collect_pads_read),
12892         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12893         (gst_collect_pads_is_collected), (gst_collect_pads_event),
12894         (gst_collect_pads_chain):
12895         * libs/gst/base/gstcollectpads.h:
12896         Clean up the mess that is collectpads, add comments and
12897         FIXMEs where needed.
12898         Maintain a separate pad list so we can add pads while
12899         collecting the other ones. For this we need a new separate 
12900         lock (see comics).
12901         Fix memory leak in finalize.
12902         Refactor some weird code to set/unset pad flushing flags, mark
12903         with comments.
12904         Don't crash in _available, _read, _flush when we're EOS.
12905
12906         * tests/check/libs/.cvsignore:
12907         Ignore adapter check binary.
12908
12909 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12910
12911         * gst/gstindex.c: (gst_index_resolver_get_type):
12912         * plugins/elements/gstfakesink.c:
12913         (gst_fake_sink_state_error_get_type):
12914         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12915         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
12916         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
12917           Const-ify GEnumValue arrays.
12918
12919 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12920
12921         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12922           Add test case for flags + gst_buffer_make_metadata_writable().
12923
12924 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12925
12926         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
12927           gst_buffer_make_metadata_writable() should maintain the
12928           buffer flags (those that make sense at least) (see #340859).
12929
12930 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12931
12932         * tools/gst-inspect.c:
12933         * tools/gst-launch.c:
12934         * tools/gst-typefind.c:
12935         * tools/gst-xmlinspect.c:
12936         * tools/tools.h:
12937           Fix up includes: need to include stdlib.h in tools.h for exit().
12938
12939 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12940
12941         * gst/gsttaglist.c: (_gst_tag_initialize):
12942         * gst/gsttaglist.h:
12943           API: add GST_TAG_IMAGE tag (#340721).
12944
12945 2006-05-08  Wim Taymans  <wim@fluendo.com>
12946
12947         * gst/gstquery.c:
12948         Added some docs for the segment query.
12949
12950 2006-05-08  Wim Taymans  <wim@fluendo.com>
12951
12952         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12953         (gst_base_src_loop), (gst_base_src_change_state):
12954         Always push non-flushing serialized events in the streaming 
12955         thread.
12956
12957 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12958
12959         * gst/gsterror.c: (_gst_stream_errors_init):
12960           Add a missing error string.
12961
12962 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
12963
12964         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
12965         Add applied_rate to the debug
12966
12967         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12968         Copy applied_rate into the outgoing NEWSEGMENT event
12969
12970 2006-05-08  Wim Taymans  <wim@fluendo.com>
12971
12972         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
12973
12974         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
12975         (gst_base_sink_change_state):
12976         call ::unlock before taking the PREROLL_LOCK so we can safely
12977         handle elements that lock in ::render.
12978         Fixes #340174.
12979
12980 2006-05-08  Edward Hervey  <edward@fluendo.com>
12981
12982         * autogen.sh: (CONFIGURE_DEF_OPT): 
12983         Darwin's libtoolize is in fact called glibtoolize.
12984         Adding glibtoolize to the list of accepted names for libtoolize.
12985
12986 2006-05-08  Wim Taymans  <wim@fluendo.com>
12987
12988         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12989         Unify error handling, don't post an error message
12990         when a push() returns EOS but perform our normal EOS
12991         handling code. Fixes #340772.
12992
12993 2006-05-08  Wim Taymans  <wim@fluendo.com>
12994
12995         * docs/design/part-overview.txt:
12996         Make upsteam/downstream concepts more clear.
12997         Give an example of serialized/non-serialized events.
12998
12999         * docs/design/part-events.txt:
13000         * docs/design/part-streams.txt:
13001         Mention applied_rate.
13002
13003         * docs/design/part-trickmodes.txt:
13004         Mention applied rate, flesh out some more use cases.
13005
13006         * gst/gstevent.c: (gst_event_new_new_segment),
13007         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13008         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13009         (gst_event_parse_tag), (gst_event_new_buffer_size),
13010         (gst_event_parse_buffer_size), (gst_event_new_qos),
13011         (gst_event_parse_qos), (gst_event_parse_seek),
13012         (gst_event_new_navigation):
13013         * gst/gstevent.h:
13014         Add applied_rate field to NEWSEGMENT event.
13015         API: gst_event_new_new_segment_full()
13016         API: gst_event_parse_new_segment_full()
13017
13018         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13019         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13020         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13021         * gst/gstsegment.h:
13022         Add applied_rate to GstSegment structure.
13023         Make calculation of stream_time and running_time more correct
13024         wrt rate/applied_rate.
13025         Add some more docs.
13026         API: GstSegment::applied_rate field
13027         API: gst_segment_set_newsegment_full();
13028
13029         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13030         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13031         * libs/gst/base/gstbasetransform.c:
13032         (gst_base_transform_sink_eventfunc),
13033         (gst_base_transform_handle_buffer):
13034         Parse and use applied_rate in the GstSegment field.
13035
13036         * tests/check/gst/gstevent.c: (GST_START_TEST):
13037         Add check for applied_rate field.
13038
13039         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13040         (gstsegments_suite):
13041         Add more checks for various GstSegment operations.
13042
13043 2006-05-08  Wim Taymans  <wim@fluendo.com>
13044
13045         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13046         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13047         (gst_base_sink_get_position), (gst_base_sink_change_state):
13048         Store the sync time of the buffer end position separatly in a
13049         new variable eos_rtime so we can properly sync the EOS event.
13050         Fixes #340697.
13051         Fix the docs for gst_base_sink_set_qos_enabled().
13052         Don't set segment start to invalid value when we receive a 
13053         non TIME newsegment.
13054         get closer to handling position reporting for negative rates 
13055         correctly.
13056
13057 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13058
13059         * gst/gstcaps.c:
13060         Docs about how to print caps for debug purposes.
13061
13062         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13063         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13064
13065 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13066
13067         * gst/gstelement.c:
13068           use full enum names and preprend a '%' in docs strings to make recent 
13069           gtk-doc turn that into a link
13070
13071 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13072
13073         * docs/manual/basics-bins.xml:
13074         * docs/manual/basics-bus.xml:
13075         * docs/manual/basics-pads.xml:
13076           Some typo fixes, some additions, some clarifications. 
13077
13078 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13079
13080         * tools/gst-inspect.c: (main):
13081         * tools/gst-launch.c: (main):
13082         * tools/gst-run.c: (main):
13083         * tools/gst-typefind.c: (main):
13084         * tools/gst-xmlinspect.c: (main):
13085           Use the string passed to g_option_context_new() for
13086           what it's intended for - the program name is already
13087           printed elsewhere.
13088
13089 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13090
13091         * tools/Makefile.am:
13092         * tools/gst-inspect.c: (main):
13093         * tools/gst-launch.c: (main):
13094         * tools/gst-xmlinspect.c: (main):
13095         * tools/tools.h:
13096           Add back --version command line option (#340460).
13097
13098         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13099           Add --version option and use GOption for argument parsing; refactor a
13100           bit; accept directories as arguments and recurse into them; lastly,
13101           print a decent error message when things go wrong.
13102
13103 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13104
13105         * docs/manual/basics-bins.xml:
13106         Don't mention GstThread (#340611)
13107         * docs/manual/basics-elements.xml:
13108         Update link to GObject tutorial (#340607)
13109         
13110 2006-05-05  Wim Taymans  <wim@fluendo.com>
13111
13112         * gst/gstbuffer.h:
13113         * gst/gstminiobject.c:
13114         Add note about refcounting and miniobject/buffer writeability
13115         to docs. Fixes #340604
13116
13117         * gst/gstelementfactory.h:
13118         Added some explanation about @klass.
13119
13120 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13121
13122         * docs/manual/intro-motivation.xml:
13123         * docs/manual/manual.xml:
13124         Avoid CORBA & Bonobo references (#340598)
13125
13126 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13127
13128         * docs/manual/basics-bus.xml:
13129         * docs/manual/basics-pads.xml:
13130         Fix up some inaccuracies and omissions (#340609)
13131         
13132 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13133
13134         * gst/gstghostpad.c:
13135           Small typo in docs (#340625)
13136
13137 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13138
13139         * gst/parse/Makefile.am:
13140           Make 'make -j' proof (see #340698).
13141
13142 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13143
13144         * configure.ac:
13145           Require GLib-2.8 here as well.
13146
13147 2006-05-05  Wim Taymans  <wim@fluendo.com>
13148
13149         * gst/glib-compat.c:
13150         * gst/gst.c: (init_pre):
13151         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13152         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13153         (gst_object_dispatch_properties_changed):
13154         * gst/gstobject.h:
13155         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13156         * gst/gststructure.c: (gst_structure_set_valist):
13157         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13158         Remove pre glib2.8 compatibility, fixes #340508
13159
13160 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13161
13162         * gst/gsttaglist.h:
13163           Mention type of tags in doc blurbs.
13164
13165 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13166
13167         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13168         (gst_pad_configure_src), (gst_pad_push):
13169         Restore acceptcaps checking behaviour now that good plugins have
13170         been released.
13171
13172 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13173
13174         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13175
13176         * gst/gst.c:
13177         * gst/gstbus.c:
13178         * gst/gstclock.c:
13179         * gst/gstevent.c:
13180         * gst/gstformat.c:
13181         * gst/gstmessage.c:
13182         * gst/gstparse.c:
13183         * gst/gstquery.c:
13184         * gst/gstutils.c:
13185         * gst/parse/Makefile.am:
13186         * libs/gst/base/gstadapter.c:
13187         * libs/gst/base/gstbasesrc.c:
13188         * libs/gst/base/gstpushsrc.c:
13189         * libs/gst/base/gsttypefindhelper.c:
13190         * plugins/elements/gstfakesrc.c:
13191         * plugins/elements/gstidentity.c:
13192           Make sure gstprivate.h and/or config.h are
13193           always included first, otherwise some of our
13194           defines (like _FILE_OFFSET_BITS) might be
13195           redefined in the system headers. Fixes build
13196           on opensolaris (#340016).
13197
13198 2006-05-04  Wim Taymans  <wim@fluendo.com>
13199
13200         * docs/libs/gstreamer-libs-sections.txt:
13201         API: addition: gst_adapter_take_buffer()
13202         
13203         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13204         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13205         (gst_adapter_available_fast):
13206         * libs/gst/base/gstadapter.h:
13207         Prepare for optimizing the hell out of this hugely inefficient
13208         piece of code. 
13209         Added gst_adapter_take_buffer() so we can at least start thinking
13210         about subbuffering and merging.
13211         Added some comments.
13212
13213         * tests/check/Makefile.am:
13214         * tests/check/libs/adapter.c: (GST_START_TEST),
13215         (gst_adapter_suite), (main):
13216         Added GstAdapter check.
13217
13218 2006-05-04  Wim Taymans  <wim@fluendo.com>
13219
13220         * docs/design/part-overview.txt:
13221         Fix some typos, add blurb about buffer flags.
13222
13223 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13224
13225         * docs/libs/gstreamer-libs-sections.txt:
13226           make sure GstBaseTransformClass shows up in the docs
13227         * libs/gst/base/gstbasetransform.c:
13228         * libs/gst/base/gstbasetransform.h:
13229           move docs so gtk-doc picks it up now
13230
13231 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13232
13233         * docs/libs/gstreamer-libs-sections.txt:
13234           add missing symbols to docs
13235
13236 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13237
13238         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13239           back out the newsegment handling change, see #340060 for ongoing
13240           discussion
13241
13242 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13243
13244         * tools/gst-run.c: (get_candidates), (main):
13245           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13246           work); fix typo in error message. Fixes #340079.
13247
13248 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13249
13250         * common/Makefile.am:
13251         * docs/Makefile.am:
13252         * docs/faq/Makefile.am:
13253         * docs/gst/Makefile.am:
13254         * docs/libs/Makefile.am:
13255         * docs/manual/Makefile.am:
13256         * docs/plugins/Makefile.am:
13257         * docs/pwg/Makefile.am:
13258         * docs/slides/Makefile.am:
13259         * docs/upload.mak:
13260         * common/upload.mak:
13261           move upload.mak to common
13262
13263 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13264
13265         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13266           add more asserts on refcounts
13267           do more cleanup at end of tests
13268           fix test leaks showing in FC5
13269
13270 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13271
13272         * plugins/elements/gsttypefindelement.c:
13273         (gst_type_find_element_handle_event):
13274         reverted wrong change and reflowed code to avoid others falling into
13275         this trap
13276
13277 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13278
13279         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13280           fix changelog entry about last collectpads change,
13281           add notes about proper fix
13282
13283 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13284
13285         * gst/gst.c:
13286         * gst/gstregistry.c: (gst_registry_scan_path_level),
13287         (gst_registry_scan_path):
13288         * gst/gstregistry.h:
13289           only write out registry if it has changed, fixes #338339
13290
13291 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13292
13293         * gst/gstbin.c:
13294         * gst/gstpipeline.c:
13295         * plugins/elements/gstcapsfilter.c:
13296         * plugins/elements/gstfakesink.c:
13297         * plugins/elements/gstfakesrc.c:
13298         * plugins/elements/gstfdsink.c:
13299         * plugins/elements/gstfdsrc.c:
13300         * plugins/elements/gstfilesink.c:
13301         * plugins/elements/gstfilesrc.c:
13302         * plugins/elements/gstidentity.c:
13303         * plugins/elements/gstqueue.c:
13304         * plugins/elements/gsttee.c:
13305         * plugins/elements/gsttypefindelement.c:
13306         (gst_type_find_element_handle_event):
13307           make GstElementDetails const
13308
13309 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13310
13311         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13312         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13313         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13314           more detailed debug and formatting cleanup,
13315           forward newsegments to src-pad (so that e.g. adder not eats them)
13316
13317 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13318
13319         * gst/gstutils.c: (gst_element_link_pads):
13320           cleanup double code
13321
13322 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13323
13324         * libs/gst/controller/gstcontroller.c:
13325         (gst_controller_sync_values):
13326           some little tuning
13327         * tests/check/libs/controller.c: (GST_START_TEST),
13328         (gst_controller_suite):
13329           a new test for live value handling
13330
13331 2006-04-28  Wim Taymans  <wim@fluendo.com>
13332
13333         * gst/gstutils.c: (push_and_ref):
13334         Added some more docs.
13335         Fix refcount issue whith gst_element_found_tags() helper 
13336         function. Fixes #338335
13337
13338         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13339         Added testsuite for gst_element_found_tags().
13340
13341 2006-04-28  Michael Smith  <msmith@fluendo.com>
13342
13343         * gst/gstvalue.c: (gst_value_serialize_flags):
13344           Avoid NULL dereference when trying to serialize flags containing
13345           invalid values.
13346
13347 2006-04-28  Michael Smith  <msmith@fluendo.com>
13348
13349         * plugins/elements/gsttypefindelement.c:
13350         (gst_type_find_element_handle_event):
13351           If we get EOS before any data is accumulated, don't use
13352           uninitialised local variables.
13353
13354 2006-04-28  Michael Smith  <msmith@fluendo.com>
13355
13356         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13357         (gst_dp_event_from_packet):
13358           Fixes in reading/writing events over GDP (not currently used?) - 
13359           dereferencing NULL events for unknown/invalid event types, memory
13360           leak, and change g_warning to GST_WARNING.
13361
13362 2006-04-28  Wim Taymans  <wim@fluendo.com>
13363
13364         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13365         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13366         (gst_base_sink_get_position), (gst_base_sink_change_state):
13367         When frame dropping is enabled, we should not ignore frames
13368         without a duration.
13369         Update some documentation.
13370
13371 2006-04-28  Wim Taymans  <wim@fluendo.com>
13372
13373         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13374         (gst_base_src_send_event), (gst_base_src_change_state):
13375         Documentation updates.
13376
13377 2006-04-28  Wim Taymans  <wim@fluendo.com>
13378
13379         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13380         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13381         handle EAGAIN, EINTR and short writes correctly. Also clean
13382         up some error cases, avoid a deadlock on bad file descriptors and
13383         use GST_DEBUG_OBJECT.
13384         Fixes #339843
13385
13386 2006-04-28  Wim Taymans  <wim@fluendo.com>
13387
13388         * gst/gstvalue.c: (gst_value_serialize_buffer),
13389         (gst_value_deserialize_buffer):
13390         Don't try to serialize a GValue with a NULL buffer. 
13391         Fixes #339821.
13392
13393         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13394         Added check for serialisation of NULL buffers.
13395
13396 2006-04-28  Wim Taymans  <wim@fluendo.com>
13397
13398         * gst/gstminiobject.c: (gst_value_take_mini_object):
13399         Taking a NULL miniobject is valid, fix the case where
13400         we try to unref the NULL miniobject.
13401
13402 2006-04-28  Wim Taymans  <wim@fluendo.com>
13403
13404         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13405
13406         * gst/gstbin.c: (gst_bin_handle_message_func):
13407         Update docs.
13408         Don't leak bin refcount when a state recalc is
13409         in progress and we delay another one #339808.
13410
13411 2006-04-28  Wim Taymans  <wim@fluendo.com>
13412
13413         * docs/design/part-TODO.txt:
13414         Mention QoS as an ongoing work item.
13415
13416         * docs/design/part-buffering.txt:
13417         New doc about buffering that needs to be fleshed out
13418         at some point.
13419
13420         * docs/design/part-qos.txt:
13421         More QoS policy for decoders/demuxers/transforms
13422
13423         * docs/design/part-trickmodes.txt:
13424         Small update.
13425
13426 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13427
13428         * configure.ac:
13429           back to HEAD
13430
13431 === release 0.10.5 ===
13432
13433 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13434
13435         * configure.ac:
13436           releasing 0.10.5, "Fogo"
13437
13438 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13439
13440         patch by: Wim Taymans
13441
13442         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13443         (gst_pad_configure_src), (gst_pad_push):
13444         * gst/gstpipeline.c: (gst_pipeline_init):
13445           Fix internal data flow errors.  Fixes #338711.
13446
13447 2006-04-12  Wim Taymans  <wim@fluendo.com>
13448
13449         * tests/check/gst/gstelement.c: (GST_START_TEST):
13450         Don't leak the factory.
13451
13452 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13453
13454         * configure.ac:
13455         * win32/common/config.h:
13456           prerelease
13457
13458 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13459
13460         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13461         (gst_controller_unset_all):
13462           Free allocated GstTimedValues when freeing list nodes.
13463           Should fix leaks 'make check-valgrind' complains about.
13464
13465         * win32/common/libgstcontroller.def:
13466           Add gst_controller_unset_all.
13467
13468 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13469
13470         * docs/libs/gstreamer-libs-sections.txt:
13471         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13472         (gst_controller_unset_all):
13473         * libs/gst/controller/gstcontroller.h:
13474         API: Added new method gst_controller_unset_all()
13475         fixed gst_controller_unset()
13476         * tests/check/libs/controller.c: (GST_START_TEST),
13477         (gst_controller_suite):
13478         Added two testcases for new and fixed method
13479
13480 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13481
13482         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13483           MSG_DONTWAIT is not defined on Cygwin, so work
13484           around that (fixes #317048).
13485           
13486 2006-04-11  Wim Taymans  <wim@fluendo.com>
13487
13488         * gst/gstelementfactory.c: (gst_element_register),
13489         (gst_element_factory_create), (gst_element_factory_make):
13490         Some cleanups.
13491         Fixed a FIXME.
13492         Updated docs (Fixes #131079)
13493
13494         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13495         Small cleanups.
13496
13497         * tests/check/gst/gstelement.c: (GST_START_TEST),
13498         (gst_element_suite):
13499         Added testcase for elementfactory class field.
13500
13501 2006-04-10  Wim Taymans  <wim@fluendo.com>
13502
13503         * gst/gstsegment.c:
13504         Added some more docs.
13505
13506         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13507         (gst_base_sink_reset_qos):
13508         Calculate more accurate rate values.
13509
13510 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13511
13512         * gst/gst_private.h:
13513           add a new #ifdef to use __declspec(dllimport) only for
13514           other modules and not for gstreamer core
13515         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13516           use gst_guint64_to_gdouble for conversion
13517         * win32/common/libgstreamer.def:
13518           add new exported functions
13519         * win32/vs6/gst_inspect.dsp:
13520         * win32/vs6/gst_launch.dsp:
13521         * win32/vs6/libgstbase.dsp:
13522         * win32/vs6/libgstcontroller.dsp:
13523         * win32/vs6/libgstcoreelements.dsp:
13524         * win32/vs6/libgstdataprotocol.dsp:
13525         * win32/vs6/libgstnet.dsp:
13526           update project files
13527
13528 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13529
13530         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13531         * gst/gstclock.c: (gst_clock_class_init):
13532         * gst/gstelement.c: (gst_element_class_init):
13533         * gst/gstindex.c: (gst_index_class_init):
13534         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13535         * gst/gstobject.c: (gst_object_class_init),
13536         (gst_signal_object_class_init):
13537         * gst/gstpad.c: (gst_pad_class_init):
13538         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13539         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13540         * gst/gstregistry.c: (gst_registry_class_init):
13541         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13542         * gst/gsttask.c: (gst_task_class_init):
13543         * gst/gstxml.c: (gst_xml_class_init):
13544         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13545         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13546         (gst_base_src_loop):
13547         * libs/gst/controller/gstcontroller.c:/
13548         (_gst_controller_class_init):
13549         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13550         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13551         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13552         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13553         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13554         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13555
13556 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13557
13558         * gst/gstpad.c: (gst_pad_link):
13559           Must set peer pads before calling the link function, otherwise
13560           a task started from a link function might get a flow-not-linked
13561           result when trying to push because the other thread where the
13562           linking happens hasn't had a chance to set the peers yet. This
13563           might happen for example when a queue gets linked to a downstream
13564           element, as queue starts a streaming task when its source pad
13565           gets linked. Happens in real life when playing back flac/musepack
13566           files in playbin (#332390).
13567           
13568 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13569
13570         * gst/gstindex.h:
13571         * gst/gstxml.h:
13572         * libs/gst/base/gstadapter.h:
13573         * libs/gst/base/gstbasesink.h:
13574         * libs/gst/base/gstbasesrc.h:
13575         * libs/gst/base/gstbasetransform.h:
13576         * libs/gst/base/gstcollectpads.h:
13577         * libs/gst/base/gstpushsrc.h:
13578         Fix broken GObject macros
13579
13580 2006-04-07  Wim Taymans  <wim@fluendo.com>
13581
13582         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13583         Initialize start and stop times, thanks valgrind.
13584
13585 2006-04-07  Wim Taymans  <wim@fluendo.com>
13586
13587         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13588         Be a bit nicer to badly behaving upstream elements that expect
13589         us to deal with non TIME segments and timestamps (such as fakesrc
13590         in the testsuite).
13591
13592 2006-04-07  Wim Taymans  <wim@fluendo.com>
13593
13594         * gst/gstbus.c:
13595         Small documentation clarification about the signal watch.
13596
13597         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13598         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13599         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13600         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13601         (gst_base_sink_get_position_last),
13602         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13603         Convert and store timestamps in stream time and running time, the
13604         raw timestamps are not useful, also document this better.
13605         Use different window sizes for good and bad QoS observations so
13606         we react to badness a little quicker.
13607         Keep track of the amount of rendered and dropped buffers.
13608         Send QoS timestamps in running time.
13609
13610         * libs/gst/base/gstbasetransform.c:
13611         (gst_base_transform_sink_eventfunc),
13612         (gst_base_transform_handle_buffer):
13613         Compare QoS timestamps against running time.
13614
13615 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13616
13617         * gst/gstpad.c:
13618           Typo fixes in docs.
13619
13620 2006-04-06  Michael Smith  <msmith@fluendo.com>
13621
13622         * gst/gstpad.c: (gst_pad_set_property):
13623           Use g_value_get_object() instead of g_value_dup_gst_object(),
13624           to avoid double-reffing the pad template (which we then sink,
13625           so this worked previously if (and only if) the pad template
13626           was floating.
13627
13628         * gst/gstpadtemplate.c: (gst_pad_template_init),
13629         (gst_pad_template_pad_created):
13630           Never return floating references to pad templates, create
13631           them as initially-sunken.
13632
13633           Document an extra function (and make this stop sinking our
13634           pad template, since that is now guaranteed to do nothing,
13635           since we created it sunken).
13636
13637         * gst/gstghostpad.c:
13638           Fix docs typo.
13639
13640 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13641
13642         * gst/gstinfo.c: (__gst_in_valgrind):
13643           Add some newlines.
13644
13645         * plugins/elements/gsttypefindelement.c:
13646         (gst_type_find_element_chain):
13647           Don't leak buffer caps.
13648
13649 2006-04-06  Michael Smith  <msmith@fluendo.com>
13650
13651         * gst/parse/grammar.y:
13652           Fix a leak in parse-launch for any source-or-sink named element 
13653           references used.
13654
13655         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13656           Unref the pipeline if it exists after we've failed parsing.
13657
13658 2006-04-05  Michael Smith  <msmith@fluendo.com>
13659
13660         * gst/gstpipeline.c: (gst_pipeline_init):
13661           When we create a pipeline bus, initially create it in flushing mode.
13662           Fixes leaks in at least one test, and makes a new pipeline work the
13663           same as one that has gone to READY and then back to NULL.
13664
13665         * gst/gstelement.c:
13666           Typo fix in docs.
13667
13668 2006-04-05  Michael Smith  <msmith@fluendo.com>
13669
13670         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13671           Unref a pad we reffed.
13672         * tests/check/gst/gstutils.c: (GST_START_TEST):
13673           Unref bins
13674
13675 2006-04-05  Michael Smith  <msmith@fluendo.com>
13676
13677         * gst/gstquery.c: (gst_query_set_formats),
13678         (gst_query_set_formatsv):
13679           Fix leaking GValues in queries, as shown by valgrind/testsuite.
13680
13681 2006-04-05  Michael Smith  <msmith@fluendo.com>
13682
13683         * tests/check/generic/sinks.c: (GST_START_TEST):
13684           Fix a variety of memleaks in sinks check, which are only sometimes 
13685           shown by running the tests under valgrind (weird?).
13686
13687 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
13688
13689         * docs/version.entities.in:
13690           Fix the substituted entity name after thomas' changes on the
13691           weekend.
13692
13693 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13694
13695         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13696         VALGRIND_PRINTF
13697         
13698 2006-04-05  Andy Wingo  <wingo@pobox.com>
13699
13700         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13701
13702         * libs/gst/base/gstbasetransform.c
13703         (gst_base_transform_sink_eventfunc): When resetting our segment on
13704         FLUSH_STOP, also update the flag saying we haven't seen a
13705         newsegment.
13706
13707 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13708
13709         Patch by: Paolo Borelli  <pborelli at katamail dot com>
13710
13711         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13712         (gst_plugin_check_license):
13713           minor clean-ups: G_DEFINE_TYPE already takes care of the
13714           parent_class stuff, no need to do it twice. Mark array of
13715           license strings as constant. (#337103)
13716           
13717 2006-04-04  Michael Smith  <msmith@fluendo.com>
13718
13719         * tools/gst-inspect.c: (print_element_list):
13720           Free the right plugin list; fixes a memory leak.
13721
13722 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13723
13724         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
13725
13726         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13727           Don't error out on empty buffers (#336945).
13728           
13729 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
13730
13731         * docs/libs/gstreamer-libs-sections.txt:
13732         * gst/gsttaglist.c:
13733         * libs/gst/base/gstbasesink.c:
13734         * libs/gst/base/gstbasesink.h:
13735         * libs/gst/base/gstbasesrc.c:
13736         * libs/gst/base/gstbasesrc.h:
13737           Documentation updates. Make BaseSink and BaseSrc docs contain the
13738           class structure so that people can actually see the prototypes for
13739           virtual functions they're supposed to be overriding.
13740
13741 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13742
13743         * plugins/elements/gsttypefindelement.c:
13744         (gst_type_find_element_chain):
13745           More debug info; when skipping typefinding, send cached
13746           events in all cases.
13747
13748 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13749
13750         * configure.ac:
13751           use new AS_VERSION and AS_NANO macros
13752         * gst/gst-i18n-lib.h:
13753         * gst/gst.c:
13754         * gst/gsterror.c:
13755         * gst/gstversion.h.in:
13756         * win32/common/config.h:
13757         * win32/common/config.h.in:
13758           update accordingly
13759
13760 2006-03-31  Michael Smith  <msmith@fluendo.com>
13761
13762         * plugins/elements/gsttypefindelement.c:
13763         (gst_type_find_element_chain):
13764           Do not typefind content if the buffers already have caps.
13765           Neccesary for icydemux (#333657), and the right thing to do anyway.
13766
13767 2006-03-30  Wim Taymans  <wim@fluendo.com>
13768
13769         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13770         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13771         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13772         (gst_base_sink_record_qos_observation),
13773         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13774         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13775         (gst_base_sink_change_state):
13776         More QoS measurements as described in the design doc.
13777         Get rid of ringbuffer with observations, running average is
13778         more simple and equally good.
13779         Calculates valid proportion now.
13780         Added beginning of flood measurement.
13781
13782 2006-03-29  Wim Taymans  <wim@fluendo.com>
13783
13784         * docs/design/part-qos.txt:
13785         * gst/gstclock.c:
13786         Small documentation updates and additions.
13787
13788 2006-03-29  Wim Taymans  <wim@fluendo.com>
13789
13790         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13791         (gst_base_src_send_event), (gst_base_src_loop),
13792         (gst_base_src_change_state):
13793         Perform the EOS logic when we reach the segment stop position.
13794         Fix compilation on gcc4.1
13795
13796 2006-03-29  Wim Taymans  <wim@fluendo.com>
13797
13798         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13799
13800         * plugins/elements/gstqueue.c: (gst_queue_init),
13801         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13802         (gst_queue_set_property):
13803         * plugins/elements/gstqueue.h:
13804         In queue, when EOS is received, if minimum threshold > max_size -
13805         current_level, there is chance that queue blocks forever in conditional
13806         item del wait. This is because the queue is not emptied completely due
13807         to minimum threshold.  Here is another approach. Instead of setting
13808         cur_levels to max in EOS, just zero all minimum threshold levels. This
13809         should make sure that queue gives out all data. When going to READY
13810         (stop) state, just reset the original minimum threshold levels.
13811         Fixes #336336.
13812
13813 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
13814
13815         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13816         (gst_type_find_element_handle_event),
13817         (gst_type_find_element_send_cached_events),
13818         (gst_type_find_element_change_state):
13819         * plugins/elements/gsttypefindelement.h:
13820           When typefinding is done in push mode, we should cache
13821           events we receive during typefinding instead of just
13822           dropping them (e.g. newsegment, custom events from
13823           dvdreadsrc etc.) and then send them out once we've
13824           determined the type of the stream (and decodebin
13825           has had a chance to plug in a decoder/demuxer).
13826           
13827 2006-03-27  Wim Taymans  <wim@fluendo.com>
13828
13829         * docs/design/part-qos.txt:
13830         First QoS ideas.
13831
13832 2006-03-27  Wim Taymans  <wim@fluendo.com>
13833
13834         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13835
13836         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13837         (gst_base_src_send_event), (gst_base_src_change_state):
13838         Handle element seek correctly when we are streaming.
13839         Fixes #326998.
13840
13841 2006-03-24  Michael Smith  <msmith@fluendo.com>
13842
13843         * docs/faq/gst-uninstalled:
13844           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13845           allow you to correctly run intalled applications built against old 
13846           core, using plugins that require updated core (e.g. running
13847           installed totem against a full uninstalled gstreamer stack)
13848
13849 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13850
13851         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13852         more debug details
13853
13854 2006-03-24  Wim Taymans  <wim@fluendo.com>
13855
13856         * docs/gst/gstreamer-sections.txt:
13857         Rearrange the order of the methods so that related methods
13858         are grouped together in sections.
13859
13860 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13861
13862         * gst/gstelement.c:
13863           Little clarification in the docs
13864
13865 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13866
13867         * docs/README:
13868         formatting fix
13869         * plugins/elements/gstidentity.c:
13870         * plugins/elements/gstqueue.c:
13871         * plugins/elements/gsttee.c:
13872         * plugins/elements/gsttypefindelement.c:
13873         GST_ELEMENT_DETAILS formatting
13874
13875 2006-03-24  Wim Taymans  <wim@fluendo.com>
13876
13877         * libs/gst/base/gstbasesink.h:
13878         Only add fields, not insert or we break ABI.
13879
13880 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13881
13882         * win32/common/libgstbase.def:
13883         * win32/common/libgstreamer.def:
13884           Update, add recently added functions.
13885
13886 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13887
13888         * docs/gst/gstreamer-sections.txt:
13889         * gst/gstutils.c: (gst_pad_query_peer_position),
13890         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13891         * gst/gstutils.h:
13892           API: add some new utility functions:
13893            - gst_pad_query_peer_position()
13894            - gst_pad_query_peer_duration()
13895            - gst_pad_query_peer_convert()
13896           
13897 2006-03-23  Wim Taymans  <wim@fluendo.com>
13898
13899         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13900         (gst_base_sink_init), (gst_base_sink_finalize),
13901         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13902         (gst_base_sink_set_property), (gst_base_sink_get_property),
13903         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13904         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13905         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13906         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13907         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13908         (gst_base_sink_preroll_object), (gst_base_sink_event),
13909         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13910         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13911         (gst_base_sink_query), (gst_base_sink_change_state):
13912         Decouple max-lateness and the fact that QoS messages are generated
13913         with a new property (qos).
13914         added API: GstBaseSink::async_play()
13915         Add vmethod so subclasses can be notified of ASYNC playing
13916         state changes.
13917         Collect timestamp start and stop to report better current
13918         position in EOS/PLAYING/PAUSED/READY/NULL.
13919         Refactor QoS/frame dropping and other measurements.
13920         API: GstBaseSrc::qos
13921         Fixes #326311
13922
13923         * libs/gst/base/gstbasesink.h:
13924         Added Private struct.
13925         API: gst_base_sink_set_qos_enabled()
13926         API: gst_base_sink_is_qos_enabled()
13927
13928 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13929
13930         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13931           If compiling against GLib-2.8 or newer, try to read the
13932           registry file using GMappedFile first before falling back
13933           to fopen() + fread() (#332151).
13934
13935 2006-03-22  Wim Taymans  <wim@fluendo.com>
13936
13937         * gst/gstinfo.c: (gst_debug_set_active),
13938         (gst_debug_category_set_threshold):
13939         Disable debugging unless explicitly activated.
13940         Fixes #335480.
13941
13942 2006-03-22  Wim Taymans  <wim@fluendo.com>
13943
13944         * gst/gstelement.c: (gst_element_set_locked_state),
13945         (gst_element_dispose):
13946         Cleanup the error case.
13947
13948         * gst/gstobject.c: (gst_object_dispose):
13949         print a critical when some object was disposed with
13950         a parent, also revive the object since it might
13951         crash the parent.
13952
13953 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
13954
13955         * tools/gst-launch.1.in:
13956           Fix another typo.
13957
13958 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13959
13960         * configure.ac:
13961         * tests/check/Makefile.am:
13962           disable some tests when we don't have a registry
13963         * tests/check/gst/gstutils.c: (gst_utils_suite):
13964           don't build the part that needs parsing
13965
13966 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13967
13968         * gst/Makefile.am
13969         * tests/examples/Makefile.am:
13970           fix --disable-parse build
13971
13972 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13973
13974         * tools/gst-feedback.1.in:
13975           Fix typo: s/feeback/feedback/ (#133494).
13976
13977 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13978
13979         * tools/Makefile.am:
13980         * tools/gst-launch.1.in:
13981           Add FILES section and correct entry about GST_REGISTRY_PATH
13982           environment variable (#133495; #133494).
13983
13984 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13985
13986         * tools/Makefile.am:
13987         * tools/gst-md5sum.1.in:
13988         * tools/gst-md5sum.c:
13989           Remove gst-md5sum and man page (the md5sink element
13990           required was removed ages ago)
13991
13992 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13993
13994         * gst/gststructure.c: (gst_structure_id_set_value):
13995           Make sure that string fields in structures/taglists
13996           contain valid UTF-8 - we don't want to pass rubbish to
13997           applications because of a buggy plugin (cp. #334167).
13998
13999 2006-03-21  Edward Hervey  <edward@fluendo.com>
14000
14001         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14002         (gst_bin_handle_message_func):
14003         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14004         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14005         (gst_element_set_bus_func):
14006         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14007         * gst/gstminiobject.c: (gst_value_set_mini_object),
14008         (gst_value_take_mini_object):
14009         * gst/gstpad.c: (gst_pad_set_pad_template):
14010         * gst/gstpipeline.c: (gst_pipeline_dispose),
14011         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14012         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14013         (gst_collect_pads_chain):
14014         * libs/gst/net/gstnettimeprovider.c:
14015         (gst_net_time_provider_set_property):
14016         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14017         It's in fact all issues with gst_*object_replace().
14018
14019 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14020
14021         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14022         
14023         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14024         * pkgconfig/gstreamer-check.pc.in:
14025           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14026
14027 2006-03-21  Edward Hervey  <edward@fluendo.com>
14028
14029         * gst/gstbuffer.h:
14030         * gst/gstevent.h:
14031         * gst/gstmessage.h:
14032         gst_[buffer|event|message]_ref() macros are replaced by a static
14033         inline functions because gcc-4.1 will about if the return value
14034         isn't used.
14035         * tests/check/gst/gstevent.c: (event_probe):
14036         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14037
14038 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14039
14040         * gst/gstutils.h:
14041         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14042         the type' case. (Closes: #335195 for now). In the future, when we
14043         depend on GLib 2.10, we could also intern the type name using
14044         g_intern_static_string()
14045
14046 2006-03-20  Wim Taymans  <wim@fluendo.com>
14047
14048         * gst/gstbin.c: (gst_bin_handle_message_func),
14049         (bin_query_max_init), (bin_query_position_fold),
14050         (bin_query_position_done), (gst_bin_query):
14051         Position query should also take max of all streams.
14052
14053 2006-03-20  Wim Taymans  <wim@fluendo.com>
14054
14055         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14056         (gst_fake_src_finalize):
14057         Fix leaks in fakesrc.
14058
14059         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14060         Fix leaks in the testcase.
14061
14062 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14063
14064         * gst/gst_private.h:
14065           add win32 specific import decoration(__declspec(dllimport)) 
14066           for all extern GstDebugCategory * variables
14067         * win32/common/libgstbase.def:
14068         * win32/common/libgstcontroller.def:
14069         * win32/common/libgstreamer.def:
14070           Add some exports, remove empty lines
14071         * win32/common/libgstdataprotocol.def:
14072         * win32/common/libgstdataprotocol.dsp:
14073         * win32/common/libgstnet.def:
14074         * win32/common/libgstnet.dsp:
14075           new project files and exportation files added
14076         
14077 2006-03-19  Wim Taymans  <wim@fluendo.com>
14078
14079         * tests/check/libs/basesrc.c: (eos_event_counter):
14080         Use proper return value for probe.
14081
14082 2006-03-17  Wim Taymans  <wim@fluendo.com>
14083
14084         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14085         (gst_pad_push):
14086         Don't leak buffers, caps and pads on negotiation errors.
14087
14088 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14089
14090         * docs/faq/cvs.xml:
14091         * docs/faq/dependencies.xml:
14092         * docs/faq/developing.xml:
14093         * docs/faq/faq.xml:
14094         * docs/faq/general.xml:
14095         * docs/faq/getting.xml:
14096         * docs/faq/legal.xml:
14097         * docs/faq/troubleshooting.xml:
14098         * docs/faq/using.xml:
14099         Faq review and update.
14100
14101 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14102
14103         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14104         (gst_pad_push):
14105         Don't pound the cpu to pieces by checking get_caps when accept_caps
14106         is called with the same caps as the pad already has.
14107         Use GST_DEBUG_OBJECT when outputting caps change information.
14108
14109 2006-03-15  Wim Taymans  <wim@fluendo.com>
14110
14111         * gst/gstclock.c: (gst_clock_class_init):
14112         Fix docs.
14113
14114 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14115
14116         * gst/gstbuffer.h:
14117         Documentation fix.
14118
14119         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14120         (gst_pad_accept_caps), (gst_pad_configure_sink),
14121         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14122         Make the default acceptcaps behaviour be to check the requested 
14123         caps against the gst_pad_get_caps output. 
14124
14125         Ensure that gst_pad_accept_caps is used to check caps when a pad
14126         doesn't have a setcaps function, so that pads automatically refuse 
14127         caps that they don't allow in their pad template. (Fixes #332986)
14128
14129         When a buffer with attached caps is pushed, ensure that the source 
14130         pad receives those caps even if the element didn't call
14131         gst_pad_set_caps first.
14132
14133 2006-03-15  Wim Taymans  <wim@fluendo.com>
14134
14135         * libs/gst/base/gstadapter.c:
14136         Add some docs.
14137
14138 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14139
14140         * win32/common/libgstbase.def:
14141         * win32/common/libgstcontroller.def:
14142         * win32/common/libgstreamer.def:
14143           Add a whole bunch of missing functions (#334434).
14144
14145 2006-03-14  Wim Taymans  <wim@fluendo.com>
14146
14147         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14148         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14149         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14150         Better debug info when we receive a segment event.
14151         Reorganize a bit so we can pass the get_times() results around.
14152         Use the segment format when calculating the running time.
14153         Don't do QoS is sync is disabled or we have no clock or the
14154         element does not want us to sync to the clock.
14155         Don't drop buffers if QoS is disabled for now.
14156
14157 2006-03-14  Wim Taymans  <wim@fluendo.com>
14158
14159         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14160         Marked the stats property as unimplemented so people don't get
14161         wild ideas.
14162         Add debug message when regression goes wrong.
14163         Added some more docs.
14164
14165 2006-03-14  Wim Taymans  <wim@fluendo.com>
14166
14167         * gst/gstsegment.c: (gst_segment_to_stream_time):
14168         Return correct return type in case of errors.
14169
14170 2006-03-14  Wim Taymans  <wim@fluendo.com>
14171
14172         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14173           Don't segfault on invalid formats.
14174
14175 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14176
14177         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14178           Can't use gst_segment_to_running_time() when the segment
14179           is not in GST_TIME_FORMAT (like with filesink, for example).
14180           Stops flac encoding pipelines from spewing critical warnings
14181           at EOS (#331248).
14182           
14183 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14184
14185         * gst/gstpipeline.c: (gst_pipeline_class_init):
14186           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14187
14188         * plugins/elements/gsttypefindelement.c:
14189         (gst_type_find_element_handle_event):
14190           Don't try to typefind empty streams.
14191
14192 2006-03-14  Wim Taymans  <wim@fluendo.com>
14193
14194         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14195         (gst_base_sink_do_qos):
14196         Separate QoS calculation.
14197         Only drop buffers when lateness is bigger than the 
14198         duration of the buffer.
14199
14200 2006-03-13  Wim Taymans  <wim@fluendo.com>
14201
14202         * gst/gstpipeline.c: (gst_pipeline_set_property),
14203         (gst_pipeline_get_property), (do_pipeline_seek),
14204         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14205         (gst_pipeline_get_delay):
14206         Don't deadlock when reading properties.
14207
14208 2006-03-13  Wim Taymans  <wim@fluendo.com>
14209
14210         * libs/gst/base/gstbasetransform.c:
14211         (gst_base_transform_class_init), (gst_base_transform_init),
14212         (gst_base_transform_sink_event),
14213         (gst_base_transform_sink_eventfunc),
14214         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14215         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14216         (gst_base_transform_set_property),
14217         (gst_base_transform_get_property),
14218         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14219         (gst_base_transform_set_qos_enabled),
14220         (gst_base_transform_is_qos_enabled):
14221         * libs/gst/base/gstbasetransform.h:
14222         Make basetransform virtual method for src events too.
14223         Handle QOS in basetransform.
14224         API: gst_base_transform_update_qos()
14225         API: gst_base_transform_set_qos_enabled()
14226         API: gst_base_transform_is_qos_enabled()
14227
14228 2006-03-13  Wim Taymans  <wim@fluendo.com>
14229
14230         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14231         (gst_base_sink_do_sync):
14232         Small cleanups.
14233         Use QOS debug category.
14234
14235 2006-03-13  Wim Taymans  <wim@fluendo.com>
14236
14237         * plugins/elements/gstqueue.c:
14238         Very small doc update.
14239
14240 2006-03-13  Wim Taymans  <wim@fluendo.com>
14241
14242         * gst/gst_private.h:
14243         * gst/gstinfo.c: (_gst_debug_init):
14244         Added QOS debug category
14245
14246 2006-03-13  Wim Taymans  <wim@fluendo.com>
14247
14248         * docs/gst/gstreamer-sections.txt:
14249         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14250         * gst/gstbin.h:
14251         * gst/gstbus.c: (gst_bus_class_init):
14252         * gst/gstbus.h:
14253         * gst/gstclock.c:
14254         * gst/gstelement.c: (gst_element_set_locked_state):
14255         * gst/gstsegment.c:
14256         Documentation updates.
14257
14258         * gst/gstpipeline.c: (gst_pipeline_get_type),
14259         (gst_pipeline_class_init), (gst_pipeline_init),
14260         (gst_pipeline_dispose), (gst_pipeline_set_property),
14261         (gst_pipeline_get_property), (do_pipeline_seek),
14262         (gst_pipeline_send_event), (gst_pipeline_change_state),
14263         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14264         (gst_pipeline_get_delay):
14265         * gst/gstpipeline.h:
14266         Added methods for setting the delay.
14267         API: gst_pipeline_set_delay()
14268         API: gst_pipeline_get_delay()
14269         Add pipeline debug category
14270         Various cleanups.
14271         Updated docs.
14272         Don't reset stream time when seek failed.
14273
14274 2006-03-13  Wim Taymans  <wim@fluendo.com>
14275
14276         * docs/design/draft-klass.txt:
14277         * docs/design/part-clocks.txt:
14278         * docs/design/part-events.txt:
14279         * docs/design/part-gstbin.txt:
14280         * docs/design/part-gstpipeline.txt:
14281         * docs/design/part-messages.txt:
14282         * docs/design/part-negotiation.txt:
14283         * docs/design/part-overview.txt:
14284         * docs/design/part-preroll.txt:
14285         * docs/design/part-seeking.txt:
14286         * docs/design/part-states.txt:
14287         * docs/design/part-streams.txt:
14288         Documentation updates.
14289
14290 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14291
14292         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14293         us to leak strings...
14294
14295 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14296
14297         * libs/gst/net/gstnettimeprovider.c:
14298           fix docs
14299         * win32/common/config.h:
14300           update
14301
14302 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14303
14304         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14305
14306         * configure.ac:
14307           Don't check for libgnomeui (leftover from old examples
14308           that aren't built or disted any longer) (#334303).
14309           
14310 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14311
14312         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14313         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14314           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14315           there's no space left on the device.
14316
14317 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14318
14319         * gst/gstclock.h:
14320           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14321           to cast the input to GstClockTime before comparing with
14322           another GstClockTime value.
14323
14324 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14325
14326         * configure.ac:
14327           back to trunk
14328
14329 === release 0.10.4 ===
14330
14331 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14332
14333         * configure.ac:
14334           releasing 0.10.4, "Light"
14335
14336 2006-03-10  Michael Smith  <msmith@fluendo.com>
14337
14338         * libs/gst/dataprotocol/dataprotocol.c:
14339           Fix docs for dataprocotol to not get the return types completely
14340           wrong for a few functions.
14341
14342 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14343
14344         * docs/gst/gstreamer-sections.txt:
14345         * gst/gstpipeline.c: (gst_pipeline_class_init),
14346         (gst_pipeline_init), (gst_pipeline_set_property),
14347         (gst_pipeline_get_property), (gst_pipeline_change_state),
14348         (gst_pipeline_set_auto_flush_bus),
14349         (gst_pipeline_get_auto_flush_bus):
14350         * gst/gstpipeline.h:
14351           Add new API: gst_pipeline_set_auto_flush_bus() and
14352           gst_pipeline_get_auto_flush_bus() to disable automatic
14353           flushing of the pipeline's GstBus when going from READY
14354           to NULL state (#332045).
14355
14356 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14357
14358         * docs/gst/gstreamer-sections.txt:
14359         * gst/gsturi.c: (gst_uri_has_protocol):
14360         * gst/gsturi.h:
14361            Add new API: gst_uri_has_protocol() (#333779).
14362
14363 2006-03-09  Wim Taymans  <wim@fluendo.com>
14364
14365         * gst/gstclock.c: (gst_clock_entry_new),
14366         (gst_clock_id_compare_func), (gst_clock_id_wait),
14367         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14368         (gst_clock_init), (gst_clock_get_internal_time),
14369         (gst_clock_set_master), (do_linear_regression),
14370         (gst_clock_add_observation), (gst_clock_set_property):
14371         * gst/gstclock.h:
14372         Review docs.
14373         Small cleanups.
14374         Fix a possible segfault when the window-size is made smaller.
14375         Calculate jitter before performing the clock wait. Ideally
14376         the clock implementation should calculate jitter but we need
14377         API breakage for that.
14378
14379         * gst/gstsystemclock.c: (gst_system_clock_init):
14380         Docs review.
14381         
14382         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14383         Remove leftover else
14384
14385         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14386         (gst_systemclock_suite):
14387         Added check to test GST_CLOCK_DIFF.
14388
14389 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14390
14391         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14392         (gst_type_find_helper_get_range):
14393           If we are provided with the size, we should implement
14394           GstTypeFind::get_length, so that typefind functions who
14395           want to can actually peek at the middle of a file.
14396
14397 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14398
14399         * docs/manual/advanced-dataaccess.xml:
14400           Add some very very basic error checking.
14401
14402         * docs/pwg/appendix-checklist.xml:
14403           Some updates to the list of things to check when writing an element.
14404
14405 2006-03-08  Wim Taymans  <wim@fluendo.com>
14406
14407         * docs/design/part-element-transform.txt:
14408         Added some docs about the design of tranform elements.
14409
14410         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14411         (gst_base_src_loop), (gst_base_src_change_state):
14412         Mark buffers with the DISCONT flag.
14413
14414 2006-03-08  Michael Smith  <msmith@fluendo.com>
14415
14416         * gst/gstregistry.h:
14417         * gst/gstregistryxml.c: (gst_registry_save),
14418         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14419         (gst_registry_xml_save_pad_template),
14420         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14421         (gst_registry_xml_write_cache):
14422           Rewrite registry-saving to avoid race conditions and check for
14423           failed writes.
14424
14425 2006-03-08  Wim Taymans  <wim@fluendo.com>
14426
14427         * libs/gst/base/gstbasetransform.c:
14428         (gst_base_transform_transform_caps),
14429         (gst_base_transform_transform_size),
14430         (gst_base_transform_prepare_output_buffer),
14431         (gst_base_transform_get_unit_size),
14432         (gst_base_transform_buffer_alloc),
14433         (gst_base_transform_handle_buffer),
14434         (gst_base_transform_change_state):
14435         Cleanups, separate normal flow from errors, add sensible
14436         DEBUG lines.
14437         Don't try to renegotiate when allocating an output buffer.
14438         Also copy DISCONT buffer flag when copying a buffer.
14439         Reset the transform after we finish streaming, not during.
14440
14441 2006-03-08  Wim Taymans  <wim@fluendo.com>
14442
14443         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14444         Use last buffer timestamp in qos message.
14445
14446 2006-03-07  Wim Taymans  <wim@fluendo.com>
14447
14448         Patch by: Christophe Fergeau
14449
14450         * docs/pwg/advanced-tagging.xml:
14451         * docs/pwg/building-pads.xml:
14452           fixes #333416
14453
14454 2006-03-07  Wim Taymans  <wim@fluendo.com>
14455
14456         * docs/libs/gstreamer-libs-sections.txt:
14457         Added basesink new methods.
14458
14459         * gst/gstevent.c:
14460         * gst/gstevent.h:
14461         Docs updates. Flesh out the QoS docs.
14462
14463         * libs/gst/base/gstadapter.c:
14464         Small doc clarification about ownership and flushing.
14465
14466         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14467         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14468         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14469         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14470         * libs/gst/base/gstbasesink.h:
14471         API additions: 
14472         Added new methods to allow subclass to control max-lateness 
14473         and sync.
14474         Generate very basic QoS events based on last sync observation.
14475         Updated docs, fix typo, added some QoS blurb.
14476
14477         * libs/gst/base/gstbasesrc.c:
14478         Remove obsolete _get_state() calls from docs.
14479
14480 2006-03-07  Wim Taymans  <wim@fluendo.com>
14481
14482         * docs/libs/gstreamer-libs-sections.txt:
14483         * libs/gst/base/gstbasetransform.h:
14484         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14485         Fix docs for GstBaseSrc.
14486
14487 2006-03-07  Wim Taymans  <wim@fluendo.com>
14488
14489         * docs/gst/gstreamer-sections.txt:
14490         * gst/gstbuffer.h:
14491         * gst/gstvalue.c:
14492         * libs/gst/base/gstbasetransform.h:
14493         Small documentation fixes.
14494
14495 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14496
14497         * gst/gstvalue.c:
14498           Document thread-unsafety of gst_value_register_foo_func()
14499           when used at the same time as gst_value_foo() (#322628).
14500
14501 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14502
14503         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14504         (gst_push_src_check_get_range):
14505           Push sources don't support pull mode by default.
14506
14507 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14508
14509         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14510         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14511         (gst_base_src_default_check_get_range):
14512         * libs/gst/base/gstbasesrc.h:
14513           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14514           provide default implementation, and rename
14515           gst_base_src_check_get_range() to
14516           gst_base_src_pad_check_get_range() for clarity.
14517
14518 2006-03-06  Wim Taymans  <wim@fluendo.com>
14519
14520         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14521         Make property overridable.
14522
14523 2006-03-06  Wim Taymans  <wim@fluendo.com>
14524
14525         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14526         (gst_base_sink_init), (gst_base_sink_set_property),
14527         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14528         * libs/gst/base/gstbasesink.h:
14529         API addition: Make max-lateness a property.
14530
14531 2006-03-06  Wim Taymans  <wim@fluendo.com>
14532
14533         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14534         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14535         Don't ever draw a frame that is >10ms late.
14536
14537 2006-03-06  Michael Smith  <msmith@fluendo.com>
14538
14539         * gst/gstmessage.c: (_gst_message_copy):
14540           When copying a message, set the parent_refcount of the enclosed
14541           structure to point at the copy, not the original message.
14542
14543 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14544
14545         Patch by: Christophe Fergeau
14546
14547         * gst/gstutils.h:
14548           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14549           usable in c++ code (#333417)
14550
14551 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14552
14553         * gst/gstclock.h:
14554           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14555
14556 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14557
14558         * libs/gst/base/gstbasetransform.c:
14559         (gst_base_transform_transform_caps):
14560           Make sure caps are writable before passing them to
14561           gst_caps_append().
14562
14563 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14564
14565         * gst/gsterror.h:
14566           Fix some minor docs errors.
14567
14568 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14569
14570           Patch by: Ross Burton <ross at burtonini dot com>
14571
14572         * gst/gsterror.c: (_gst_resource_errors_init):
14573         * gst/gsterror.h:
14574           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14575
14576 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14577
14578         * gst/gst.c:
14579         Add a check and output a g_warning when GStreamer is built
14580         against GLib 2.6 but running against 2.8 or higher, and vice 
14581         versa. (Closes: #323542)
14582
14583 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14584
14585         * gst/parse/parse.l:
14586           Commit patch for parse_launch syntax from #331255. Removes 
14587           support for quoted strings and mimetypes when writing filtered 
14588           caps. See the bug report for more details - I'm pretty sure this
14589           obscure feature is not in use by _anyone_ anywhere.
14590
14591           With this simple change, the size of the gstreamer.so here 
14592           drops from 2193KB to 1565KB.
14593
14594 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14595
14596         * plugins/elements/gsttypefindelement.h:
14597         * plugins/elements/gsttypefindelement.c:
14598         (gst_type_find_element_src_event), (start_typefinding),
14599         (stop_typefinding), (gst_type_find_element_handle_event),
14600         (gst_type_find_element_chain),
14601         (gst_type_find_element_chain_do_typefinding):
14602           Use gst_type_find_helper_for_buffer() for chain-based
14603           typefinding.
14604
14605 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14606
14607         * plugins/elements/gsttypefindelement.c:
14608         (gst_type_find_element_class_init),
14609         (gst_type_find_element_set_property),
14610         (gst_type_find_element_get_property):
14611           Deprecate "maximum" property (not only was it only taken into
14612           account for typefinding in push-mode anyway, it also was never
14613           actually possible to set it in the first place because the
14614           property was registered with the numeric property ID for the
14615           "minimum" property). Register "maximum" property correctly,
14616           for the sake of future copy'n'pasters. Remove some cruft
14617           from property get/set functions.
14618
14619 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14620
14621         * plugins/elements/gsttypefindelement.c:
14622         (gst_type_find_element_activate):
14623           Use gst_type_find_helper_get_range() here, so we
14624           can honour the "minimum" property and also emit
14625           the signal with the correct probability of the found caps.
14626
14627 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
14628
14629         * docs/libs/gstreamer-libs-sections.txt:
14630         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14631         (helper_find_suggest), (gst_type_find_helper_get_range),
14632         (gst_type_find_helper):
14633         * libs/gst/base/gsttypefindhelper.h:
14634           New API: gst_type_find_helper_get_range() (#333042).
14635
14636 2006-03-02  Michael Smith  <msmith@fluendo.com>
14637
14638         * gst/gstregistryxml.c: (load_feature):
14639           Asserting on a failure to read part of the registry is Not Cool.
14640           Just log a warning and return NULL (which is already handled)
14641
14642 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
14643
14644         * win32/common/libgstbase.def:
14645           added export of gst_type_find_helper_for_buffer
14646         * win32/common/libgstbase.def:
14647           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14648           gst_ghost_pad_get_target
14649
14650 2006-02-28  Wim Taymans  <wim@fluendo.com>
14651
14652         * docs/design/draft-klass.txt:
14653         We use Filter now.
14654         Added Connector to mark elements that are only used to
14655         allow pipeline connections.
14656         Moved Debug to extra feature since most of them are 
14657         functionally something else.
14658
14659 2006-02-28  Wim Taymans  <wim@fluendo.com>
14660
14661         * docs/design/draft-klass.txt:
14662         Some updates and clarifications.
14663
14664 2006-02-28  Wim Taymans  <wim@fluendo.com>
14665
14666         * docs/design/draft-klass.txt:
14667         Proposal for klass field values.
14668
14669         * docs/design/part-streams.txt:
14670         Start of a doc describing stream anatomy.
14671
14672 2006-02-28  Wim Taymans  <wim@fluendo.com>
14673
14674         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14675         Help the compiler a bit with type registration.
14676         Use existing forward cod path instead of duplicating it when 
14677         handling a message.
14678         
14679         * gst/gstbus.c: (gst_bus_get_type):
14680         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14681         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14682         * gst/gstclock.c: (gst_clock_get_type):
14683         * gst/gstelement.c: (gst_element_get_type),
14684         * gst/gstelementfactory.c: (gst_element_factory_get_type):
14685         * gst/gstindexfactory.c: (gst_index_factory_get_type):
14686         * gst/gstminiobject.c: (gst_mini_object_get_type):
14687         * gst/gstpad.c: (gst_pad_get_type):
14688         * gst/gstsegment.c: (gst_segment_get_type):
14689         * gst/gststructure.c: (gst_structure_get_type):
14690         * gst/gstsystemclock.c: (gst_system_clock_get_type):
14691         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14692         * gst/gstvalue.c:
14693         Help compiler with type registration.
14694
14695         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14696         Small doc update.
14697
14698 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14699
14700         * plugins/elements/gsttypefindelement.c:
14701         (gst_type_find_element_handle_event):
14702           When we get an EOS event and have not found a type yet
14703           (most likely because we had not yet accumulated
14704           TYPE_FIND_MIN_SIZE of data yet), try to determine the
14705           type given the data we have so far. Fixes typefinding
14706           for very short streams again, most notably quicktime
14707           redirections as used on Apple's trailer site (#331701).
14708
14709 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14710
14711         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14712         (gst_type_find_helper):
14713           Try typefinding factories with the highest rank first.
14714
14715 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14716
14717         * docs/libs/gstreamer-libs-docs.sgml:
14718         * docs/libs/gstreamer-libs-sections.txt:
14719         * libs/gst/base/gsttypefindhelper.c:
14720           Add section for typefind helper and add documentation
14721           for the old and the new function.
14722
14723 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14724
14725         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14726         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14727         (gst_type_find_helper_for_buffer):
14728         * libs/gst/base/gsttypefindhelper.h:
14729           New API: gst_type_find_helper_for_buffer() (#332723).
14730           
14731 2006-02-27  Michael Smith  <msmith@fluendo.com>
14732
14733         Patch by: Loïc Minier
14734
14735         * configure.ac:
14736         * docs/Makefile.am:
14737         * docs/slides/Makefile.am:
14738           prevent CVS directories getting disted.
14739
14740 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14741
14742         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14743           Use the REFCOUNTING category for caps refcounting.
14744           
14745 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14746
14747         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14748           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14749
14750 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14751
14752         * plugins/elements/gsttypefindelement.c:
14753         (gst_type_find_element_activate):
14754           Use gst_pad_check_pull_range() before _activate_pull()
14755           to avoid unnecessary open/close (see #331690).
14756
14757 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14758
14759         * gst/gstutils.c:
14760           Docs enhancement: make it crystal clear what the
14761           gst_pad_add_*_probe() callbacks should look like.
14762
14763 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14764
14765         * libs/gst/base/gstbasesrc.c:
14766           Document how applications can stop recording from
14767           live sources (see #330996).
14768
14769 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14770
14771         * tests/check/Makefile.am:
14772         * tests/check/libs/basesrc.c: (eos_event_counter),
14773         (basesrc_eos_events_pull), (basesrc_eos_events_push),
14774         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14775         (gst_basesrc_suite), (main):
14776           ... and add some tests for the base source EOS stuff.
14777
14778 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14779
14780         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14781           Test case originally showed the problem fixed below,
14782           but was then amended. Add checks back at the place
14783           where they used to be.
14784
14785 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14786
14787         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14788         (gst_base_src_init), (gst_base_src_loop),
14789         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14790         (gst_base_src_change_state):
14791         * libs/gst/base/gstbasesrc.h:
14792           Don't unconditionally send EOS when going from PAUSED to
14793           READY state, esp. make sure we don't send two EOS events
14794           in some cases (e.g. one when reaching EOS and one when
14795           going from PAUSED to READY). Also, we don't want to send
14796           EOS events when operating in pull mode. However, we do
14797           want to send an EOS event when shutting down a live
14798           source explicitly, for example (fixes #330996).
14799           
14800 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14801
14802         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14803           Update src->read_position after a seek when not using mmap.
14804           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14805
14806 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
14807
14808         * gst/Makefile.am:
14809         * gst/gstparse.h:
14810         * gst/gstutils.c:
14811         * gst/gstutils.h:
14812         Make things work with --disable-parse as they do with 
14813         --disable-load-save - the symbols involved disappear, but the
14814         header is still installed and GST_DISABLE_PARSE is included via
14815         gstconfig.h
14816
14817 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14818
14819         * libs/gst/base/gstbasetransform.c:
14820         (gst_base_transform_change_state): Fix a stupid bug. I was 
14821         sure I compiled that.
14822
14823 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14824
14825         * gst/gstpad.c: (gst_pad_set_blocked_async):
14826         * gst/gstutils.c: (gst_pad_add_data_probe),
14827         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14828         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14829         (gst_pad_remove_buffer_probe): Make those function act on the
14830         ghostpad target when it's a ghostpad. (Closes #331727)
14831
14832 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14833
14834         * libs/gst/base/gstbasetransform.c:
14835         (gst_base_transform_change_state): Make basetransform reusable.
14836         (Closes #331898)
14837
14838 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
14839
14840         * docs/random/release:
14841         Move the current documentation of how to do a release to the top
14842         of the file.
14843
14844         * gst/gstbin.c: (gst_bin_class_init),
14845         (gst_bin_handle_message_func):
14846         Allow multiple state-recalculation threads. (Closes #328873)
14847
14848 2006-02-19  Julien MOUTTE  <julien@moutte.net>
14849
14850         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14851         * gst/gstpad.c: (gst_pad_set_event_function),
14852         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14853         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14854         2 strings. You can't use the STR_NULL macro on that.
14855
14856 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
14857
14858         * gst/gstpad.c: (gst_pad_set_event_function),
14859         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14860         (gst_pad_set_getcaps_function)
14861         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14862           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14863           So now, we can use --gst-debug-level=5 on Windows
14864         * win32/common/libgstcontroller.def:
14865           Added export of gst_controller_init
14866         * win32/vs6/libgstcontroller.dsp:
14867           Fixed Release post build configuration
14868
14869 2006-02-17  Wim Taymans  <wim@fluendo.com>
14870
14871         * tests/check/gst/gstquery.c: (GST_START_TEST):
14872         Added another check.
14873
14874 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
14875
14876         * plugins/elements/gsttypefindelement.c: (find_peek):
14877           We can do peeks at non-zero offsets, as long as they
14878           fall within the buffer we have.
14879
14880 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
14881
14882         * tests/check/Makefile.am:
14883         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14884         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14885         (parse_suite), (main):
14886           Add testsuite for parse launch syntax
14887
14888 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
14889
14890         * plugins/elements/gsttypefindelement.c:
14891         (gst_type_find_element_chain):
14892           When typefinding is unsuccessful in the chain function, don't
14893           error out immediately. Only error out with NO_CAPS_FOUND if
14894           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14895           otherwise simply wait for more data so we can try typefinding
14896           again with more data later. Also, don't attempt to typefind
14897           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14898           this should improve typefinding from network sources where the
14899           size of the first buffer can be somewhat random.
14900
14901 2006-02-14  Wim Taymans  <wim@fluendo.com>
14902
14903         * docs/gst/gstreamer-sections.txt:
14904         * gst/gstpadtemplate.c:
14905         * gst/gstpadtemplate.h:
14906         Fix padtemplate docs, fixes #328805.
14907
14908 2006-02-14  Wim Taymans  <wim@fluendo.com>
14909
14910         * tools/gst-launch.c: (main):
14911         NO_PREROLL is not an ERROR so don't send confusing messages
14912         to the user.
14913
14914 2006-02-14  Wim Taymans  <wim@fluendo.com>
14915
14916         Patch by: Torsten Schoenfeld
14917
14918         * gst/gstregistry.c: (gst_registry_get_default),
14919         (_gst_registry_cleanup):
14920         Protect default registry with lock and ref/sink it.
14921         Fixes #324818
14922
14923 2006-02-14  Wim Taymans  <wim@fluendo.com>
14924
14925         * gst/gstbuffer.c:
14926         * gst/gstquery.c: (gst_query_list_add_format),
14927         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14928         (gst_query_parse_formats_nth):
14929         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14930         Docs fixes.
14931
14932 2006-02-14  Wim Taymans  <wim@fluendo.com>
14933
14934         * docs/gst/gstreamer-sections.txt:
14935         Reworked query docs.
14936
14937         * gst/gstquery.c: (gst_query_new_formats),
14938         (gst_query_list_add_format), (gst_query_set_formats),
14939         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14940         (gst_query_parse_formats_nth):
14941         * gst/gstquery.h:
14942         Flesh out formats query, added some new methods.
14943         Fix part of #324398.
14944
14945         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
14946         Added query creation tests.
14947
14948 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
14949
14950         * gst/gstpad.c: (fixate_value):
14951         Add a default fixation for fraction lists.
14952
14953 2006-02-13  Wim Taymans  <wim@fluendo.com>
14954
14955         * gst/gsttask.c: (gst_task_init), (gst_task_func),
14956         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
14957         (gst_task_join):
14958         * gst/gsttask.h:
14959         Detect and warn for obvious deadlocks. fixes #320340
14960         Fix error case where lock was not released.
14961
14962         * tests/check/Makefile.am:
14963         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
14964         (task_func), (gst_element_suite), (main):
14965         Add task check.
14966
14967 2006-02-13  Wim Taymans  <wim@fluendo.com>
14968
14969         * docs/gst/gstreamer-sections.txt:
14970         * gst/gstbus.c:
14971         Add new functions to docs.
14972
14973 2006-02-13  Wim Taymans  <wim@fluendo.com>
14974
14975         * docs/design/part-TODO.txt:
14976         Updated TODO list, basesrc supports seeking to non-bytes
14977         formats.
14978
14979         * docs/design/part-element-sink.txt:
14980         Update docs.
14981
14982         * gst/gstbin.c: (bin_replace_message),
14983         (gst_bin_handle_message_func):
14984         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
14985         * gst/gstevent.c: (gst_event_finalize):
14986         * gst/gstpad.c: (gst_pad_event_default_dispatch),
14987         (gst_pad_send_event):
14988         Use shiny new _TYPE_NAME macros.
14989
14990         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14991         Move debug statement up.
14992
14993         * gst/gstelement.c: (gst_element_set_locked_state):
14994         Add some debugging.
14995
14996 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
14997
14998         * docs/gst/gstreamer-sections.txt:
14999         * gst/gstmessage.h:
15000         * gst/gstquery.h:
15001           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15002           macros (#330906). Also, document the already existing
15003           GST_QUERY_TYPE macro.
15004
15005 2006-02-13  Wim Taymans  <wim@fluendo.com>
15006
15007         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15008         (event_probe), (GST_START_TEST):
15009         Only events up to the pipeline EOS are counted, there are
15010         some more when going to NULL currently which we don't care
15011         about for now.
15012
15013 2006-02-13  Wim Taymans  <wim@fluendo.com>
15014
15015         * gst/gstpad.c: (gst_pad_send_event):
15016         Correctly check flushing and emit probes. fixes #330125
15017
15018 2006-02-10  Andy Wingo  <wingo@pobox.com>
15019
15020         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15021         structure.
15022         (gst_bus_init): Cache the location of the private data in the
15023         instance structure.
15024         (gst_bus_enable_sync_message_emission) 
15025         (gst_bus_disable_sync_message_emission): Implement new public
15026         functions.
15027         (gst_bus_post): Emit the sync-message signal if the user asked for
15028         it. Fixes #330684.
15029
15030         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15031         location of the bus-private structure.
15032         (gst_bus_enable_sync_message_emission)
15033         (gst_bus_disable_sync_message_emission): API addition
15034
15035 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15036
15037         Patch by: Vincent Torri
15038
15039         * docs/pwg/building-boiler.xml:
15040         PWG patch from #326800
15041
15042 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15043
15044         * configure.ac:
15045         * docs/Makefile.am:
15046         * docs/design/Makefile.am:
15047           Dist design docs.
15048
15049 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15050
15051         * configure.ac:
15052           back to CVS
15053
15054 === release 0.10.3 ===
15055
15056 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15057
15058         * configure.ac:
15059           releasing 0.10.3, "Like a virgin"
15060
15061 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15062
15063         * configure.ac:
15064           2nd prerelease of 0.10.3
15065           Bump libtool versioning.
15066
15067 2006-02-07  Andy Wingo  <wingo@pobox.com>
15068
15069         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15070         update last_stop if we're in TIME format and the timestamp is
15071         valid.
15072
15073         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15074         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15075         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15076         If we get a new newsegment with a different format, adapt
15077         accordingly.
15078
15079         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15080         of 0. Not a problem, really.
15081
15082         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15083         warn if sync=true.
15084
15085 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15086
15087         * configure.ac:
15088           Prelease of 0.10.3
15089
15090 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15091
15092         * win32/vs7:
15093           project files updated to the default vs7 configuration
15094         * win32/common/libgstbase.def:
15095         * win32/common/libgstreamer.def:
15096           added new symbols,
15097           removed empty lines,
15098           sorted all exported symbols alphabetically
15099         * win32/common/dirent.c:
15100         * win32/common/dirent.h:
15101         * win32/common/gchar.h:
15102           use windows line end.
15103           
15104 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15105
15106         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15107           Send EOS event when stopping.
15108
15109 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15110
15111         * docs/README:
15112           Tell folks what to do if the plugin-foobar.xml file
15113           hasn't been generated for a newly-added plugin.
15114
15115 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15116
15117         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15118         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15119         (gst_collect_pads_start), (gst_collect_pads_stop),
15120         (gst_collect_pads_event): Collectpads now holds a reference
15121         to the GstPad that was added. Indeed we don't want to look
15122         at pads that might just go away with no warning...
15123
15124 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15125
15126         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15127         (gst_collect_pads_start), (gst_collect_pads_stop),
15128         (gst_collect_pads_event), (gst_collect_pads_chain):
15129         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15130         Mark Nauwelaerts's patch on bug #328491.
15131
15132 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15133
15134         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15135         (gst_utils_suite):
15136           Add some simple tests for gst_parse_bin_from_description() and
15137           gst_bin_find_unconnected_pad() (#329069).
15138
15139 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15140
15141         * tools/gst-launch.c: (event_loop), (main):
15142           Catch errors during preroll (#320084).
15143
15144 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15145
15146         * plugins/elements/gsttypefindelement.c:
15147         (gst_type_find_element_activate):
15148           Post TYPE_NOT_FOUND error message when typefinding
15149           is unsuccessful in the activate function as well.
15150
15151 2006-02-02  Wim Taymans  <wim@fluendo.com>
15152
15153         * docs/design/part-element-sink.txt:
15154         Updated doc.
15155
15156 2006-02-02  Wim Taymans  <wim@fluendo.com>
15157
15158         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15159         (gst_base_sink_render_object),
15160         (gst_base_sink_queue_object_unlocked):
15161         Only keep track of prerollable items when we are 
15162         prerolling.
15163         Before rendering after preroll, always check if we
15164         have queued items.
15165         Added some more debugging.
15166
15167 2006-02-02  Wim Taymans  <wim@fluendo.com>
15168
15169         * gst/gstelement.c: (gst_element_continue_state),
15170         (gst_element_set_state_func), (gst_element_change_state):
15171         Fixed #326576, been running this for quite some time with
15172         no regressions at all.
15173
15174 2006-02-02  Wim Taymans  <wim@fluendo.com>
15175
15176         * common/gst.supp:
15177         Added more suppressions
15178
15179 2006-02-02  Wim Taymans  <wim@fluendo.com>
15180
15181         * docs/design/part-element-sink.txt:
15182         Updated document.
15183
15184         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15185         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15186         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15187         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15188         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15189         (gst_base_sink_preroll_object),
15190         (gst_base_sink_queue_object_unlocked),
15191         (gst_base_sink_queue_object), (gst_base_sink_event),
15192         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15193         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15194         (gst_base_sink_get_position), (gst_base_sink_change_state):
15195         * libs/gst/base/gstbasesink.h:
15196         Totally refactored matching the design doc.
15197         Use two segments, one to clip incomming buffers and another to
15198         perform sync.
15199         Handle queueing correctly, bypass the queue when playing.
15200         Make EOS cancelable.
15201         Handle errors correctly when operating in pull based mode.
15202
15203         * tests/check/elements/fakesink.c: (GST_START_TEST),
15204         (fakesink_suite):
15205         Added new check for sinks.
15206
15207 2006-02-02  Wim Taymans  <wim@fluendo.com>
15208
15209         * gst/gstsegment.c: (gst_segment_clip):
15210         No reason to refuse to clip when start == -1
15211
15212 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15213
15214         * docs/README:
15215         * docs/manual/intro-basics.xml:
15216         * docs/manual/intro-preface.xml:
15217         * docs/manual/manual.xml:
15218         * docs/pwg/advanced-dparams.xml:
15219         * docs/pwg/intro-basics.xml:
15220         * docs/pwg/intro-preface.xml:
15221         * docs/pwg/pwg.xml:
15222           describe dparams (controller) for plugins
15223           unify docs a little more
15224
15225 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15226
15227         * docs/gst/gstreamer-sections.txt:
15228         * gst/gstutils.c: (element_find_unconnected_pad),
15229         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15230         * gst/gstutils.h:
15231           Add new API: gst_parse_bin_from_description() and
15232           gst_bin_find_unconnected_pad() (#329069).
15233
15234 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15235
15236         * docs/manual/README:
15237           uncover a nasty detail of the docs build
15238
15239 2006-01-31  Wim Taymans  <wim@fluendo.com>
15240
15241         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15242         Don't cache duration messages if we're not going to use or
15243         free them.
15244
15245 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15246
15247         * docs/manual/advanced-dparams.xml:
15248         * docs/pwg/advanced-dparams.xml:
15249           more dparam docs
15250         * gst/gstindex.c:
15251           fix docs
15252         * libs/gst/controller/lib.c: (gst_controller_init):
15253           init just once
15254
15255 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15256
15257         * gst/gstelement.c: (gst_element_message_full):
15258           also show file/line/func if no additional debug was given
15259
15260 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15261         
15262         * win32/vs7/grammar.vcproj:
15263           activate copy of autogenerated files for Release mode
15264
15265 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15266         
15267         * win32/common/libgstreamer.def:
15268           export gst_value_compare
15269
15270 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15271
15272         * plugins/elements/Makefile.am:
15273         * plugins/elements/gstelements.c:
15274         * plugins/elements/gstfdsink.c: (_do_init),
15275         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15276         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15277         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15278         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15279         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15280         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15281         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15282         * plugins/elements/gstfdsink.h:
15283         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15284
15285 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15286
15287         * docs/manual/advanced-dparams.xml:
15288           describe controller
15289         * docs/manual/advanced-position.xml:
15290         * docs/manual/basics-init.xml:
15291         * docs/manual/manual.xml:
15292         * docs/manual/titlepage.xml:
15293         * docs/pwg/pwg.xml:
15294         * docs/pwg/titlepage.xml:
15295           cleanup xml (more to come)
15296         * libs/gst/controller/gstcontroller.c:
15297           fix typo
15298
15299 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15300         
15301         * win32/vs6/grammar.dsp:
15302           add autogen of gstmarshal.c,h for Release mode
15303                 
15304 2006-01-30  Wim Taymans  <wim@fluendo.com>
15305
15306         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15307         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15308         (gst_base_sink_handle_object), (gst_base_sink_event),
15309         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15310         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15311         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15312         (gst_base_sink_deactivate), (gst_base_sink_activate),
15313         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15314         (gst_base_sink_query), (gst_base_sink_change_state):
15315         Basesink cleanups, remove some old code.
15316         Handle the case where a subclass can preroll in the render
15317         method (mostly audiosinks).
15318         Handle more events.
15319         Remove some locks around variables that are now protected
15320         with the PREROLL_LOCK (clock_id, flushing, ..).
15321         Optimize position query some more, do correct locking.
15322         Remove old code to push queue in state change, this is not
15323         needed anymore since preroll blocks on all prerollable items 
15324         now.
15325         Almost implemented as described in design doc.
15326
15327 2006-01-30  Wim Taymans  <wim@fluendo.com>
15328
15329         * tests/check/gst/gstbin.c: (GST_START_TEST):
15330         Wait for refcount to settle down before checking.
15331
15332 2006-01-30  Wim Taymans  <wim@fluendo.com>
15333
15334         * docs/design/part-element-sink.txt:
15335         Pseudo code overview of desired sink behaviour regarding
15336         preroll.
15337
15338 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15339         * win32/vs6/grammar.dsp:
15340           fix some bugs in Release mode for autogenerated files
15341                 
15342 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15343         * win32/common/libgstbase.def:
15344         * win32/common/libgstreamer.def:
15345           export some new symbols: gst_base_src_set_format,
15346           gst_iterator_next, gst_structure_set_valist
15347
15348 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15349
15350         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15351         Set pad functions unconditionally. Fixes #329105.
15352
15353 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15354         * win32/vs8:
15355           add vs8 project files created by Sergey Scobich
15356
15357 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15358
15359         * gst/gstutils.c: (gst_element_unlink_pads):
15360         Don't leak pad references.
15361
15362         * tests/check/elements/fakesink.c: (GST_START_TEST):
15363         * tests/check/generic/sinks.c: (GST_START_TEST):
15364         * tests/check/generic/states.c: (GST_START_TEST):
15365         * tests/check/gst/gstbin.c: (GST_START_TEST):
15366         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15367         * tests/check/gst/gstelement.c: (GST_START_TEST):
15368         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15369         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15370         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15371         Fix a bunch of leaks. Make generic/sinks.c
15372         use a bit less cpu by slowing the buffer rate
15373         between fakesrc and fakesink.
15374         
15375 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15376         * gst/gstcaps.c:
15377         * gst/gstelement.c: (gst_element_send_event):
15378         * gst/gstevent.c:
15379         * gst/gstinfo.c:
15380         * gst/gstiterator.c:
15381         * gst/gstiterator.h:
15382         * gst/gstpad.c: (gst_pad_send_event):
15383         * gst/gststructure.c:
15384         * gst/gsturi.c:
15385         * gst/gstutils.c:
15386         * gst/gstvalue.c:
15387         * libs/gst/base/gstadapter.c:
15388           doc fixes, to link to function, just write gst_cool_function(), don't
15389           prefix with '#'
15390
15391 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15392
15393         * plugins/elements/gsttee.c: (gst_tee_do_push),
15394         (gst_tee_handle_buffer):
15395         Always prefer an actual return value from a src
15396         pad in place of NOT_LINKED. This means we return
15397         WRONG_STATE when all src pads are WRONG_STATE
15398         instead of NOT_LINKED.
15399
15400         Lock when replacing the last message to prevent
15401         racing with the get_property method.
15402
15403         Add debug output
15404
15405 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15406
15407         * tests/check/Makefile.am:
15408         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15409         (main):
15410         Add a very simple check that should have caught the memleak I fixed
15411         last night (if not for the slice allocator hiding it)
15412
15413 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15414
15415         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15416         (gst_bin_remove_func), (gst_bin_handle_message_func),
15417         (bin_query_duration_fold), (bin_query_generic_fold):
15418         Clean up references to the clock provider when disposed or when
15419         handling a clock-lost message from it.
15420
15421         Unref sinks when performing a query via gst_iterator_fold, as the
15422         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15423
15424         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15425         (gst_clock_set_master):
15426         Drop our reference to the master clock, if any, when we are disposed.
15427
15428         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15429         Chain up in dispose. 
15430
15431 2006-01-26  Wim Taymans  <wim@fluendo.com>
15432
15433         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15434         Add some debugging.
15435
15436 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15437
15438         * plugins/elements/gsttee.c: (gst_tee_do_push),
15439         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15440         handles pad being NOT_LINKED or in WRONG_STATE.
15441
15442 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15443
15444         * win32/MANIFEST:
15445           more updating
15446
15447 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15448
15449         * win32/MANIFEST:
15450           remove obsolete entry
15451
15452 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15453
15454         * docs/gst/gstreamer-sections.txt:
15455         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15456         (gst_bin_iterate_sources), (gst_bin_send_event):
15457         * gst/gstbin.h:
15458         * gst/gstelement.c: (gst_element_send_event):
15459         * gst/gstevent.c:
15460         * gst/gstpad.c: (gst_pad_send_event):
15461           added code for downstream events, reviewed docs in gstevent.c
15462
15463 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15464
15465         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15466         We only query position using the clock in the playing state.
15467         Query peer in the other cases.
15468         * win32/common/config.h: Updates.
15469
15470 2006-01-24  Wim Taymans  <wim@fluendo.com>
15471
15472         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15473         A clock entry that is scheduled for the exact time of the
15474         clock is still in time.
15475
15476         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15477         (gst_base_sink_do_sync):
15478         Add some more debug info.
15479
15480 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15481
15482         * win32/vs7:
15483           Add new vs7 project files and solution.
15484
15485 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15486
15487         * win32/vs7:
15488           all files removed as they were out-dated.
15489
15490 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15491
15492         * docs/random/release:
15493           update notes
15494         * gst/gstbin.c: (gst_bin_init):
15495         * gst/gstbus.c: (gst_bus_new):
15496         * gst/gstbus.h:
15497         * gst/gstpipeline.c: (gst_pipeline_init):
15498           use gst_bus_new(), improve logging, fix docs
15499         * win32/common/config.h:
15500           update for cvs build
15501
15502 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15503
15504         * autogen.sh:
15505           up required version of automake to 1.7
15506
15507 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15508
15509         * win32/common/libgstreamer.def:
15510           export gst_buffer_is_metadata_writable
15511
15512 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15513
15514         * docs/gst/gstreamer-sections.txt:
15515         * gst/gstevent.h:
15516           Add gst_event_replace() (#327001)
15517
15518 2006-01-20  Wim Taymans  <wim@fluendo.com>
15519
15520         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15521         Make it actually compile too..
15522
15523 2006-01-20  Wim Taymans  <wim@fluendo.com>
15524
15525         * gst/gstcaps.c:
15526         Clarify behaviour of _is_equal() when passing NULL parameters.
15527
15528         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15529         (gst_pad_set_caps):
15530         Cleanups. Don't unref NULL caps.
15531         When setting the same caps, protect caps of the pad with
15532         proper lock.
15533         Use full functionality of _is_equal() when comparing caps.
15534
15535 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15536
15537         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15538         Don't loop infinitely if there are no buffers to present. Partially
15539         fixes #327197, but collectpads is just broken for reusing elements
15540         to do multiple encodes atm.
15541
15542 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15543
15544         * tools/gst-inspect.c: (print_element_features):
15545         * tools/gst-xmlinspect.c: (main):
15546         URL_HANDLER is not a plugin feature we can search for in
15547         the registry.
15548
15549 2006-01-19  Edward Hervey  <edward@fluendo.com>
15550
15551         * gst/gstelement.c: (gst_element_pads_activate): 
15552         When activating, do src pads first, then sink pads.
15553         When de-activating, do sink pads first, then src pads.
15554
15555 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15556
15557         * docs/gst/gstreamer-sections.txt:
15558         Add gst_index_add_associationv to the docs
15559
15560 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15561
15562         * gst/gstevent.c:
15563           Fix docs typo
15564
15565         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15566         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15567           Do some refactoring. Doesn't actually change functionality,
15568           but makes landing the DRAIN event easier later.
15569
15570 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15571
15572         * docs/pwg/advanced-scheduling.xml:
15573           Update from 0.9.x to 0.10 API and make example a bit
15574           clearer.
15575
15576 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15577
15578         * docs/gst/gstreamer-sections.txt:
15579         Add gst_buffer_(is|make)_metadata_writable methods.
15580
15581 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15582
15583         * docs/design/part-sparsestreams.txt:
15584         Update sparse streams doc, hopefully for greater clarity
15585
15586 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15587
15588         * docs/design/part-events.txt:
15589         Remove mention of FILLER events.
15590         Add DRAIN event.
15591
15592         * docs/design/part-sparsestreams.txt:
15593         Write some things about using NEWSEGMENT to keep sparse streams
15594         flowing.
15595
15596 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15597
15598         * gst/gstbin.c: (gst_bin_dispose):
15599           Guard gst_object_unref call against a NULL object (dispose
15600           can theoretically be called multiple times).
15601           
15602 2006-01-18  Wim Taymans  <wim@fluendo.com>
15603
15604         * gst/gstbin.c: (gst_bin_element_set_state):
15605         * gst/gstclock.c: (gst_clock_id_wait):
15606         Added some more debug info.
15607
15608         * libs/gst/base/gstadapter.c:
15609         Added more docs.
15610
15611         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15612         (gst_base_sink_do_sync), (gst_base_sink_chain):
15613         Added some comments.
15614
15615 2006-01-18  Wim Taymans  <wim@fluendo.com>
15616
15617         * tests/check/Makefile.am:
15618         * tests/check/elements/fakesink.c: (chain_async_buffer),
15619         (chain_async), (chain_async_return), (GST_START_TEST),
15620         (fakesink_suite), (main):
15621         Added fakesink test that checks prerolling and clipping
15622         behaviour.
15623
15624         * tests/check/gst/gstutils.c: (GST_START_TEST):
15625         Make check run faster so that buildbots don't timeout.
15626
15627 2006-01-18  Wim Taymans  <wim@fluendo.com>
15628
15629         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15630         (gst_base_sink_do_sync):
15631         Some cleanups.
15632         When the sink finishes blocking on the preroll buffer, it can
15633         immediatly render it instead of rendering when the next buffer
15634         arrives.
15635
15636 2006-01-18  Wim Taymans  <wim@fluendo.com>
15637
15638         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15639         (gst_base_sink_get_property), (gst_base_sink_do_sync),
15640         (gst_base_sink_chain):
15641         Small cleanups.
15642         GST_ELEMENT_CLOCK and sync are protected with LOCK.
15643         Don't store _last_stop if the buffer is dropped.
15644
15645 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15646
15647         * plugins/elements/gsttypefindelement.c:
15648         (gst_type_find_element_class_init):
15649           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15650           object method handler that sets the caps on the pad and we want
15651           that to happen before we emit the signal (fixes e.g. feeding a
15652           plain text file to decodebin).
15653
15654 2006-01-18  Christian Schaller  <Christian@fluendo.com>
15655
15656         * gst/gstplugin.c: Add MPL and Proprietary as license options
15657
15658 2006-01-18  Andy Wingo  <wingo@pobox.com>
15659
15660         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15661         symbol was exported before, it appears this was just an oversight.
15662         Fixes #168703.
15663         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15664
15665         * gst/gstindex.c (gst_index_add_associationv): Changed int in
15666         prototype to gint. OK since this prototype was not in the header.
15667
15668 2006-01-17  Andy Wingo  <wingo@pobox.com>
15669
15670         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15671         registry while we remove plugins.
15672
15673         * tools/gst-inspect.c (print_element_info): Don't unref the
15674         factory arg, that should be the responsibility of whatever code
15675         received the ref. Fixes a double-free when called from
15676         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15677         (main): Unref the factory if we have one.
15678         (print_element_list): No change -- relies on the
15679         plugin_feature_list_free to free the list of features.
15680
15681 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
15682
15683         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15684         (gst_buffer_make_metadata_writable):
15685         * gst/gstbuffer.h:
15686         * libs/gst/base/gstbasetransform.c:
15687         (gst_base_transform_prepare_output_buf):
15688         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15689         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15690           Replace gst_buffer_(make|is)_metadata_writable patch now
15691           that the release is out.
15692
15693 2006-01-17  Andy Wingo  <wingo@pobox.com>
15694
15695         * gst/gstregistry.c: Reflow design comment. Update so as to speak
15696         in the present tense without reference to versions.
15697
15698         * gst/gstregistry.c (gst_registry_add_plugin)
15699         (gst_registry_remove_plugin, gst_registry_remove_feature)
15700         (gst_registry_find_feature, gst_registry_get_feature_list)
15701         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15702         (gst_registry_lookup, gst_registry_scan_path)
15703         (_gst_registry_remove_cache_plugins)
15704         (gst_registry_get_feature_list_by_plugin): Add argument
15705         validation.
15706
15707 === release 0.10.2 ===
15708
15709 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
15710
15711         * configure.ac:
15712           releasing 0.10.2, "If man is five"
15713
15714 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15715
15716         * gst/gstbuffer.c:
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_test_suite):
15722           Back out patch until after the release.
15723
15724 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15725
15726         * gst/gstminiobject.c:
15727           Spelling fix in docs.
15728         * ChangeLog - remove conflict indicator
15729
15730 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15731
15732         Reviewed By: Andy Wingo
15733
15734         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15735         (gst_buffer_make_metadata_writable):
15736         * gst/gstbuffer.h:
15737           Add gst_buffer_(is|make)_metadata_writable as analogues of
15738           gst_buffer_(is|make)_writable.
15739
15740         * libs/gst/base/gstbasetransform.c:
15741         (gst_base_transform_prepare_output_buf):
15742         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15743           Use name gst_buffer_(is|make)_metadata_writable functions.
15744
15745         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15746           Test gst_buffer_(is|make)_metadata_writable
15747         
15748           (Closes: #324162)
15749
15750 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15751
15752         * docs/manual/Makefile.am:
15753           don't do parallel make
15754         * configure.ac:
15755           AC_SUBST HOST_CPU
15756         * win32/common/config.h.in:
15757           add generations for HOST_CPU and GST_MAJORMINOR
15758         * win32/common/config.h:
15759           commit generated result
15760
15761 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
15762
15763         * docs/manual/appendix-integration.xml:
15764           Update GNOME integration section to use gst_init_get_option_group()
15765           instead of the old popt stuff (#322911). Also, GNOME applications
15766           should  now use gconf*sink and gconf*src instead of the old gconf
15767           helper lib we had.
15768
15769 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
15770
15771
15772         * docs/gst/gstreamer-docs.sgml:
15773         * docs/gst/gstreamer-sections.txt:
15774         * docs/libs/gstreamer-libs-sections.txt:
15775           add new API entries to the docs
15776         * libs/gst/controller/Makefile.am:
15777         * libs/gst/controller/gstcontroller.c:
15778         * libs/gst/controller/gstcontroller.h:
15779         * libs/gst/controller/gstcontrollerprivate.h:
15780         * libs/gst/controller/gsthelper.c:
15781         * libs/gst/controller/gstinterpolation.c:
15782           move private structs to private header
15783         * po/README:
15784           gstreamer-0.7 -> gstreamer-0.10
15785         * tests/check/libs/struct_i386.h:
15786           remove private structs
15787
15788 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15789
15790         * plugins/indexers/Makefile.am:
15791           Fixes as part of #317048
15792
15793 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15794
15795         * plugins/indexers/Makefile.am:
15796           fix #316086 - compilation when mmap is missing
15797
15798 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
15799
15800         * libs/gst/base/gstbasesink.c:
15801           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
15802           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15803         * win32/common/config.h:
15804           added some defines GST_MAJORMINOR and HOST_CPU
15805         * win32/common/libgstbase.def:
15806         * win32/common/libgstreamer.def:
15807           added some exported functions.
15808
15809 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15810
15811         * libs/gst/controller/gstcontroller.c:
15812         (gst_controlled_property_set_interpolation_mode),
15813         (gst_controlled_property_new):
15814         * libs/gst/controller/gstcontroller.h:
15815         * libs/gst/controller/gstinterpolation.c:
15816         (interpolate_none_get_string_value_array):
15817           make G_TYPE_STRING controlable
15818
15819 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15820
15821         * tools/README:
15822         * tools/gst-feedback.1.in:
15823         * tools/gst-inspect.1.in:
15824         * tools/gst-launch.1.in:
15825         * tools/gst-md5sum.1.in:
15826         * tools/gst-typefind.1.in:
15827         * tools/gst-xmlinspect.1.in:
15828         * tools/gst-xmllaunch.1.in:
15829           cleanup man-pages, remove reference to gst-register, document env-vars
15830
15831 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
15832
15833         * gst/gstbuffer.c: (gst_buffer_span):
15834           gst_buffer_span should copy the timestamp of the first buffer
15835           if they were both originally overlapping subbuffers of the 
15836           same parent, using the same logic as the 'slow copy' case.
15837
15838 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
15839
15840         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15841           Need to awaken ALL the pads when we pop a buffer, otherwise
15842           collectpads only works when there is 2 input streams.
15843
15844 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
15845
15846         * docs/random/ensonic/media-device-daemon.txt:
15847           more ideas (dbus)
15848         * gst/gstbuffer.c:
15849           fix doc example, add clarification
15850         * tools/gst-launch.1.in:
15851           add initial info about GST_PLUGIN_PATH, needs more work
15852
15853 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
15854
15855         * docs/manual/basics-bins.xml:
15856         * docs/manual/basics-elements.xml:
15857         * docs/manual/intro-basics.xml:
15858           Some more minor docs additions and updates.
15859
15860 2006-01-11  Wim Taymans  <wim@fluendo.com>
15861
15862         * docs/manual/basics-bins.xml:
15863         * docs/manual/basics-elements.xml:
15864         Some small fixes as pointed out by Ser-ver on IRC.
15865
15866 2006-01-10  Edward Hervey  <edward@fluendo.com>
15867
15868         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15869         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15870         the single-segment mode.
15871
15872 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
15873
15874         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15875
15876         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15877         (gst_base_src_perform_seek), (gst_base_src_send_event),
15878         (gst_base_src_set_property), (gst_base_src_get_property),
15879         (gst_base_src_loop), (gst_base_src_start),
15880         (gst_base_src_activate_push):
15881         * libs/gst/base/gstbasesrc.h:
15882           Name (private) union; makes Sun's Forte compiler happy (#324900).
15883
15884 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
15885
15886         * README:
15887           gst-register is gone.
15888
15889 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15890
15891         * gst/gstvalue.c: (_gst_value_initialize):
15892           make the G_TYPE_DATE instantiation work if debug is disabled
15893
15894 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
15895
15896         * gst/gstmessage.c: (gst_message_parse_tag),
15897         (gst_message_parse_error), (gst_message_parse_warning):
15898           Don't crash when return location for error/warning debug
15899           string is NULL; add fact that return locations can be
15900           NULL to docs where appropriate.
15901
15902 2006-01-05  Wim Taymans  <wim@fluendo.com>
15903
15904         * gst/gstplugin.c: (gst_plugin_load_file):
15905         Replace strdup by g_strdup.
15906
15907 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15908
15909         * docs/pwg/advanced-types.xml:
15910           fix doc borkage
15911
15912 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15913
15914         submitted by: Abel Cheung
15915
15916         * po/LINGUAS:
15917         * po/zh_TW.po:
15918           Added Chinese (traditional) translation
15919
15920 2006-01-04  Wim Taymans  <wim@fluendo.com>
15921
15922         * docs/manual/basics-pads.xml:
15923         * docs/plugins/Makefile.am:
15924         * docs/plugins/gstreamer-plugins-docs.sgml:
15925         * docs/plugins/gstreamer-plugins-sections.txt:
15926         * docs/pwg/advanced-clock.xml:
15927         * docs/pwg/advanced-scheduling.xml:
15928         * docs/pwg/advanced-types.xml:
15929         * plugins/elements/gstfdsink.c:
15930         * plugins/elements/gstfdsrc.c:
15931         * plugins/elements/gstfdsrc.h:
15932         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15933         * plugins/elements/gstidentity.h:
15934         * plugins/elements/gstqueue.h:
15935         * plugins/elements/gsttee.c:
15936         * plugins/elements/gsttee.h:
15937         * plugins/elements/gsttypefindelement.c:
15938         (gst_type_find_element_class_init):
15939         * plugins/elements/gsttypefindelement.h:
15940         Small updates to various docs.
15941         Added core plugins to docs.
15942
15943 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15944
15945         * common/gst.supp:
15946           add a suppression for liboil's uninitialized variable
15947
15948 2006-01-02  James Livingston  <jrl at ids dot org dot au>
15949
15950         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15951
15952         * gst/gstutils.h:
15953           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
15954           macro, so that gcc doesn't complain if the -Wmissing-prototypes
15955           compiler switch is being used (#325429).
15956
15957 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
15958
15959         * gst/gstbin.c: (gst_bin_query):
15960           Disable duration query caching in bins until it gets
15961           fixed (see #324807).
15962
15963 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
15964
15965         * tools/gst-inspect.c: (print_element_properties_info):
15966           Handle properties of POINTER and BOXED type.
15967
15968 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
15969
15970         * gst/gst.c: (init_post):
15971           Init tags stuff and some other things before loading
15972           any static plugins (there may be other static plugins
15973           than just the GStreamer ones, and they may want to
15974           register their own tags or formats or whatever, and
15975           preferably without segfaulting).
15976
15977         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
15978           Print at least a warning in the debug logs if we drop a
15979           query just because we don't know how to adjust the value
15980           in the particular format.
15981
15982 2005-12-24  David Schleef  <ds@schleef.org>
15983
15984         * tools/gstreamer-completion:
15985           Replacement for gst-complete written in sh and sed.  Only
15986           completes names of features, but that's 90% of what I want
15987           it for.  Properties are not available in registry.xml.  (Maybe
15988           they should be...)
15989
15990 === release 0.10.1 ===
15991
15992 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
15993
15994         * configure.ac:
15995           releasing 0.10.1, "Nollaig chridheil"
15996
15997 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
15998
15999         * docs/faq/cvs.xml:
16000           Add missing quote, should be make ERROR_CFLAGS="".
16001
16002 2005-12-20  Wim Taymans  <wim@fluendo.com>
16003
16004         * docs/design/part-trickmodes.txt:
16005         More documentation on trickmodes.
16006
16007 2005-12-20  Edward Hervey  <edward@fluendo.com>
16008
16009         * gst/gstcaps.c: (gst_static_caps_get_type):
16010         * gst/gstcaps.h:
16011           API addition: GST_TYPE_STATIC_CAPS
16012         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16013         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16014         * gst/gstpadtemplate.h:
16015           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16016         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16017         bindings.
16018
16019 2005-12-18  Wim Taymans  <wim@fluendo.com>
16020
16021         * libs/gst/base/gstadapter.c:
16022         * libs/gst/base/gstadapter.h:
16023         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16024         (gst_base_sink_get_position):
16025         * libs/gst/base/gstbasesink.h:
16026         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16027         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16028         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16029         (gst_base_src_send_event), (gst_base_src_update_length),
16030         (gst_base_src_get_range), (gst_base_src_loop),
16031         (gst_base_src_start):
16032         * libs/gst/base/gstbasesrc.h:
16033         * libs/gst/base/gstbasetransform.h:
16034         * libs/gst/base/gstcollectpads.h:
16035         * libs/gst/base/gstpushsrc.c:
16036         * libs/gst/base/gstpushsrc.h:
16037         * libs/gst/dataprotocol/dataprotocol.c:
16038         * libs/gst/dataprotocol/dataprotocol.h:
16039         * libs/gst/net/gstnetclientclock.h:
16040         * libs/gst/net/gstnettimeprovider.h:
16041         Documentation updates.
16042
16043 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16044
16045         * docs/manual/basics-helloworld.xml:
16046           Remove superfluous closing bracket in helloworld example.
16047
16048 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16049
16050         * tools/gst-launch.1.in:
16051           Update gst-launch man page; add a section with useful
16052           environment variables. Fixes #323882.
16053
16054 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16055
16056         * gst/gst.c:
16057         * gst/gst_private.h:
16058           change some char* into char[]
16059
16060 2005-12-16  Wim Taymans  <wim@fluendo.com>
16061
16062         * gst/gstregistryxml.c: (load_feature):
16063         Cleanups.
16064         Don't use g_object_unref on GstObjects so that we avoid
16065         leaks on unsafe glibs.
16066
16067 2005-12-16  Wim Taymans  <wim@fluendo.com>
16068
16069         * gst/gstbin.c: (gst_bin_recalc_state):
16070         Small doc updates.
16071
16072 2005-12-16  Wim Taymans  <wim@fluendo.com>
16073
16074         * common/check.mak:
16075         Added make forever target for check.
16076
16077 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16078
16079         * gst/gst.c: (init_post):
16080           make the registry cache file HOST_CPU-dependent
16081
16082 2005-12-16  Andy Wingo  <wingo@pobox.com>
16083
16084         * plugins/elements/gstbufferstore.c
16085         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16086         return value.
16087
16088         * tests/check/gst/gstobject.c
16089         (test_fake_object_name_threaded_unique): Pay attention to
16090         g_list_sort return value.
16091
16092 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16093
16094         * tools/gst-feedback-m.m:
16095           Update for 0.9/0.10 (fixes #323870).
16096
16097 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16098
16099         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16100           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16101           
16102         * tests/check/gst/gstminiobject.c: (my_foo_init),
16103         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16104         (test_value_collection), (gst_mini_object_suite):
16105           Add test to ensure refcounts end up as expected when passing
16106           GstMiniObjects through g_object_get() and g_object_set().
16107
16108 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16109
16110         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16111         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16112         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16113         of collectpads. This version removes a lot of races without
16114         touching API/ABI. Yay !
16115
16116 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16117
16118         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16119           Don't allow activation of a srcpad in pull_range if it has no
16120           getrange function.
16121           Change some debug statements to be a little clearer
16122
16123         * plugins/elements/gsttypefindelement.c:
16124         (gst_type_find_handle_src_query):
16125           Check that we have a peer before executing queries thereupon.
16126
16127         * tests/examples/metadata/read-metadata.c: (message_loop):
16128           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16129           immediately return us any available message with 0 timeout.
16130
16131 2005-12-12  Michael Smith  <msmith@fluendo.com>
16132
16133         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16134           Don't unref factories after calling them.
16135         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16136         * plugins/elements/gsttypefindelement.c:
16137         (gst_type_find_element_chain):
16138           Free lists of factories after using them. Fixing typefinding memory
16139           leaks.
16140
16141 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16142
16143         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16144         (gst_plugin_feature_load):
16145           more meaningful debug output
16146         * configure.ac:
16147         * tests/Makefile.am:
16148         * tests/old/examples/Makefile.am:
16149           make make distcheck happy again
16150
16151 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16152
16153         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16154           Catch the special case where we are operating chain-based,
16155           but the downstream peer pad has no chain function. Emit a
16156           custom error message in this case instead of letting the
16157           core generate one implying that this is some sort of core
16158           bug. It's not, it just means that whatever got plugged
16159           into the pipeline downstream when we announced the type
16160           can only operate pull-based, while our source can only
16161           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16162           Error string has not been marked for translation yet, as
16163           it probably needs some more work first.
16164
16165         (gst_type_find_element_get_best_possibility):
16166           Add helper function to find the best of all available
16167           found possibilities that qualify given the min. threshold.
16168
16169         (gst_type_find_element_handle_event):
16170           Fix the case where we get an EOS while still in TYPEFIND
16171           mode (we want to chose the best of all possible types,
16172           not just the first type that happens to be in our unsorted
16173           list of possible types).
16174
16175         (gst_type_find_element_chain):
16176           Make sure we return GST_FLOW_ERROR when we errored out
16177           in stop_typefinding(); also, don't just find the best of
16178           all found type entries and then use the last examined
16179           type entry, but actually use the best entry.
16180
16181 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16182
16183         * tests/examples/typefind/typefind.c: (type_found):
16184         * tests/examples/xml/runxml.c: (xml_loaded):
16185           More gcc4 fixes and a mem leak fix.
16186
16187 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16188
16189         * tests/examples/xml/createxml.c: (object_saved):
16190           gcc 4 fixes
16191
16192 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16193
16194         * tests/Makefile.am:
16195           enable the examples even more
16196
16197 2005-12-12  Andy Wingo  <wingo@pobox.com>
16198
16199         * libs/gst/net/gstnettimeprovider.c
16200         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16201         (gst_net_time_provider_set_property)
16202         (gst_net_time_provider_get_property):
16203         API addition: Export "active" as a GObject property.
16204         (gst_net_time_provider_thread): Only respond to time queries if
16205         the time provider is active.
16206
16207         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16208         NetTimeProvider, preserving binary compat.
16209
16210 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16211
16212         * tests/examples/controller/audio-example.c: (main):
16213         * tests/examples/launch/Makefile.am:
16214           convert comments again
16215
16216 2005-12-12  Wim Taymans  <wim@fluendo.com>
16217
16218         * libs/gst/base/gstpushsrc.c:
16219         Fix typo.
16220
16221 2005-12-12  Wim Taymans  <wim@fluendo.com>
16222
16223         * docs/libs/gstreamer-libs-sections.txt:
16224         Added new symbol to docs.
16225
16226         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16227         (gst_base_src_init), (gst_base_src_set_format),
16228         (gst_base_src_default_query), (gst_base_src_query),
16229         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16230         (gst_base_src_perform_seek), (gst_base_src_send_event),
16231         (gst_base_src_default_event), (gst_base_src_event_handler),
16232         (gst_base_src_set_property), (gst_base_src_get_property),
16233         (gst_base_src_wait), (gst_base_src_do_sync),
16234         (gst_base_src_update_length), (gst_base_src_get_range),
16235         (gst_base_src_check_get_range), (gst_base_src_loop),
16236         (gst_base_src_default_negotiate), (gst_base_src_start),
16237         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16238         (gst_base_src_change_state):
16239         * libs/gst/base/gstbasesrc.h:
16240         Implement seeking to other formats than _BYTES.
16241         Implement more seeking methods correctly.
16242         Doc updates.
16243         Added query vmethod.
16244         Added do_seek vmethod to make life easier for subclasses
16245         when seeking.
16246         API addition: gst_base_src_set_format()
16247
16248 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16249
16250         * tests/examples/Makefile.am:
16251           added that too
16252
16253 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16254
16255         * configure.ac:
16256         * docs/random/ensonic/media-device-daemon.txt:
16257         * tests/examples/controller/.cvsignore:
16258         * tests/examples/controller/Makefile.am:
16259         * tests/examples/controller/audio-example.c: (main):
16260         * tests/examples/helloworld/.cvsignore:
16261         * tests/examples/helloworld/Makefile.am:
16262         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16263         * tests/examples/launch/.cvsignore:
16264         * tests/examples/launch/Makefile.am:
16265         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16266         * tests/examples/metadata/.cvsignore:
16267         * tests/examples/metadata/Makefile.am:
16268         * tests/examples/metadata/read-metadata.c: (message_loop),
16269         (make_pipeline), (print_tag), (main):
16270         * tests/examples/queue/.cvsignore:
16271         * tests/examples/queue/Makefile.am:
16272         * tests/examples/queue/queue.c: (event_loop), (main):
16273         * tests/examples/typefind/.cvsignore:
16274         * tests/examples/typefind/Makefile.am:
16275         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16276         (main):
16277         * tests/examples/xml/.cvsignore:
16278         * tests/examples/xml/Makefile.am:
16279         * tests/examples/xml/createxml.c: (object_saved), (main):
16280         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16281         * tests/old/examples/Makefile.am:
16282         * tests/old/examples/TODO:
16283         * tests/old/examples/controller/.cvsignore:
16284         * tests/old/examples/controller/Makefile.am:
16285         * tests/old/examples/controller/audio-example.c:
16286         * tests/old/examples/helloworld/.cvsignore:
16287         * tests/old/examples/helloworld/Makefile.am:
16288         * tests/old/examples/helloworld/helloworld.c:
16289         * tests/old/examples/launch/.cvsignore:
16290         * tests/old/examples/launch/Makefile.am:
16291         * tests/old/examples/launch/mp3parselaunch.c:
16292         * tests/old/examples/launch/mp3play:
16293         * tests/old/examples/manual/Makefile.am:
16294         * tests/old/examples/metadata/Makefile.am:
16295         * tests/old/examples/metadata/read-metadata.c:
16296         * tests/old/examples/queue/.cvsignore:
16297         * tests/old/examples/queue/Makefile.am:
16298         * tests/old/examples/queue/queue.c:
16299         * tests/old/examples/typefind/.cvsignore:
16300         * tests/old/examples/typefind/Makefile.am:
16301         * tests/old/examples/typefind/typefind.c:
16302         * tests/old/examples/xml/.cvsignore:
16303         * tests/old/examples/xml/Makefile.am:
16304         * tests/old/examples/xml/createxml.c:
16305         * tests/old/examples/xml/runxml.c:
16306           applied some simple fixing to some examples
16307           re-enabled the working examples
16308
16309 2005-12-12  Wim Taymans  <wim@fluendo.com>
16310
16311         * gst/gstsegment.c: (gst_segment_init),
16312         (gst_segment_set_last_stop), (gst_segment_set_seek),
16313         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16314         (gst_segment_to_running_time):
16315         Added more documentation.
16316         Make sure the last_pos value is updated properly.
16317         Make sure to_stream_time and to_running_time don't
16318         operate on wrong values.
16319
16320         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16321         Update check.
16322
16323 2005-12-12  Michael Smith  <msmith@fluendo.com>
16324
16325         * plugins/elements/gsttypefindelement.c: (free_entry),
16326         (gst_type_find_element_chain):
16327           Now that we're not leaking factories, make sure we keep references
16328           to them while we need them.
16329
16330 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16331
16332         * tests/check/gst/struct_i386.h:
16333           ifdef out the XML structs
16334
16335 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16336
16337         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16338           floor is not needed, F is always positive; this obviates the
16339           need for adding -lm when building without libxml
16340
16341 2005-12-12  Wim Taymans  <wim@fluendo.com>
16342
16343         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16344         Take current playback rate into account when reporting
16345         the position.
16346
16347 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16348
16349         * docs/manual/mime-world.fig:
16350           Let's try this again, this time with a file that is
16351           actually in XFig format.
16352
16353 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16354
16355         * docs/manual/mime-world.fig:
16356           Add audioconvert element to diagram so that it
16357           matches the text and the code (fixes #319526).
16358
16359 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16360
16361         * docs/pwg/building-chainfn.xml:
16362         * docs/pwg/building-pads.xml:
16363         * docs/pwg/building-state.xml:
16364         * docs/pwg/other-source.xml:
16365           Update state change stuff for 0.10 (fixes #322969).
16366
16367 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16368
16369         * docs/manual/advanced-dataaccess.xml:
16370         * docs/manual/appendix-checklist.xml:
16371         * docs/manual/appendix-programs.xml:
16372         * docs/manual/basics-pads.xml:
16373         * docs/manual/highlevel-components.xml:
16374         * docs/manual/manual.xml:
16375           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16376           add converters in front of pipelines; remove curly
16377           brackets for threads stuff, they no longer exist; use
16378           GST_TYPE_FRACTION for framerates; update some pieces of
16379           code to 0.10, but there's plenty more to do.
16380
16381         * docs/manual/appendix-porting.xml:
16382           Expand on asynchroneous state changes; s/0.9/0.10/;
16383           mention disappearance of gst_init_get_popt_table()
16384           (fixes #322916).
16385
16386 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16387
16388         * docs/faq/using.xml:
16389           Spider no longer exists, and neither does gst-launch-ext.
16390           Update examples to use decodebin and playbin and put
16391           converters in front of sinks (fixes #323726).
16392
16393 2005-12-09  Michael Smith  <msmith@fluendo.com>
16394
16395         * plugins/elements/gsttypefindelement.c: (find_peek),
16396         (gst_type_find_element_chain):
16397           Fix leaking element factories in typefinding.
16398           Fix problem where we forgot about a probable type on non-seekable
16399           files, and thus later mis-typefound it.
16400
16401 2005-12-09  Michael Smith  <msmith@fluendo.com>
16402
16403         * common/m4/gst-makecontext.m4:
16404         * common/m4/gst-mcsc.m4:
16405         * configure.ac:
16406         * win32/common/config.h:
16407         * win32/common/config.h.in:
16408           Remove makecontext stuff; not used in 0.10 and causes problems on
16409           HPUX according to bug #322441
16410
16411 2005-12-07  Wim Taymans  <wim@fluendo.com>
16412
16413         * tests/check/Makefile.am:
16414         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16415         (main):
16416         * tests/check/libs/struct_i386.h:
16417         Added ABI check for libs
16418
16419 2005-12-07  Wim Taymans  <wim@fluendo.com>
16420
16421         * tests/check/Makefile.am:
16422         And add the struct_i386.h to dist.
16423
16424 2005-12-07  Wim Taymans  <wim@fluendo.com>
16425
16426         * tests/check/Makefile.am:
16427         * tests/check/gst/.cvsignore:
16428         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16429         (main):
16430         * tests/check/gst/struct_i386.h:
16431         Added check for ABI compatibility.
16432
16433 2005-12-07  Wim Taymans  <wim@fluendo.com>
16434
16435         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16436         (gst_fake_src_get_times), (gst_fake_src_create):
16437         Fix broken sync option, fixes #323259
16438
16439 2005-12-07  Wim Taymans  <wim@fluendo.com>
16440
16441         * gst/gstbuffer.c:
16442         Small docs update.
16443
16444         * gst/gstcaps.c: (gst_caps_is_equal):
16445         Don't assert on NULL <--> X. Fixes #323260
16446
16447         * gst/gstminiobject.c: (gst_mini_object_replace):
16448         If we're doing atomic operations, we might just as well use
16449         the proper way to get an atomic pointer.
16450
16451         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16452         Clean up debugging.
16453
16454 2005-12-07  Michael Smith  <msmith@fluendo.com>
16455
16456         * gst/parse/grammar.y:
16457           Remove handling of { } for threads.
16458
16459 2005-12-06  David Schleef  <ds@schleef.org>
16460
16461         * libs/gst/base/gstbasetransform.c: speling fix.
16462
16463 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16464
16465         * docs/libs/tmpl/gstdataprotocol.sgml:
16466         * docs/random/omega/testing/gstobject.c:
16467         * gst/gst.c:
16468         * gst/gstclock.c:
16469         * gst/gstelement.c:
16470         * gst/gstelementfactory.c:
16471         * gst/gsterror.c:
16472         * gst/gstevent.c:
16473         * gst/gstghostpad.c:
16474         * gst/gstinfo.c:
16475         * gst/gstpadtemplate.c:
16476         * gst/gstregistryxml.c:
16477         * gst/gsttaglist.c:
16478         * gst/gsttagsetter.c:
16479         * gst/gsttypefind.c:
16480         * gst/gstvalue.c:
16481         * libs/gst/base/gstbasesrc.c:
16482         * libs/gst/net/gstnetclientclock.c:
16483         * libs/gst/net/gstnettimeprovider.c:
16484         * plugins/elements/gstfakesrc.c:
16485         * plugins/elements/gstfdsrc.c:
16486         * plugins/elements/gstfilesrc.c:
16487         * plugins/elements/gstidentity.c:
16488         * plugins/elements/gstqueue.c:
16489         * plugins/elements/gsttypefindelement.c:
16490         * plugins/indexers/gstfileindex.c:
16491         * plugins/indexers/gstmemindex.c:
16492         * tests/check/gst/gsttag.c:
16493         * tests/old/examples/cutter/cutter.c:
16494         * tests/old/examples/mixer/mixer.c:
16495         * tests/old/examples/xml/runxml.c: (main):
16496         * tests/old/testsuite/caps/normalisation.c:
16497         * tests/old/testsuite/debug/global.c:
16498         * tests/old/testsuite/parse/parse1.c:
16499         * tools/gst-xmlinspect.c:
16500         * win32/common/dirent.c:
16501           expand tabs
16502
16503 === release 0.10.0 ===
16504
16505 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16506
16507         * configure.ac:
16508           releasing 0.10.0, "Maroilles"
16509
16510 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16511
16512         submitted by: Funda Wang <fundawang@linux.net.cn>
16513
16514         * po/LINGUAS:
16515         * po/zh_CN.po:
16516           added Chinese (Traditional) translation
16517
16518 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16519
16520         * docs/gst/gstreamer-sections.txt:
16521         * docs/libs/tmpl/gstdataprotocol.sgml:
16522         * docs/random/thomasvs/TODO:
16523         * gst/gstutils.c:
16524         * gst/gstutils.h:
16525           fix docs
16526
16527 2005-12-05  Andy Wingo  <wingo@pobox.com>
16528
16529         patch by: Wim Taymans <wim@fluendo.com>
16530
16531         * libs/gst/base/gstbasetransform.c
16532         (gst_base_transform_prepare_output_buf)
16533         (gst_base_transform_buffer_alloc):
16534         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16535         alloc_buffer_and_set_caps.
16536
16537         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16538         set_caps on the source pad.
16539         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16540         alloc_buffer used to do. Fixes #322874.
16541
16542         * docs/gst/gstreamer-sections.txt: 
16543         * docs/design/part-negotiation.txt: 
16544         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16545         changes.
16546
16547 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16548
16549         patch by: Sebastien Moutte
16550
16551         * win32/MANIFEST:
16552         * win32/common/config.h.in:
16553         * win32/vs6/libgstcontroller.dsp:
16554           win32 build fixes
16555
16556 2005-12-05  Wim Taymans  <wim@fluendo.com>
16557
16558         * gst/gstcaps.c: (gst_caps_is_equal):
16559         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16560         (gst_fake_src_create):
16561         Back out previous code changes, leave doc updates, file bugs 
16562         instead. 
16563
16564 2005-12-05  Wim Taymans  <wim@fluendo.com>
16565
16566         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16567         (gst_fake_src_get_times), (gst_fake_src_create):
16568         * plugins/elements/gstfakesrc.h:
16569         Fix broken sync code.
16570
16571 2005-12-05  Wim Taymans  <wim@fluendo.com>
16572
16573         * gst/gstcaps.c: (gst_caps_is_equal):
16574         Comparing NULL against !NULL yields different caps, not a
16575         failure.
16576
16577 2005-12-05  Wim Taymans  <wim@fluendo.com>
16578
16579         * gst/gstpipeline.c:
16580         Fix small typo in docs.
16581
16582 2005-12-05  Andy Wingo  <wingo@pobox.com>
16583
16584         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16585
16586         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16587         registries/plugins with a MAJORMINOR one.
16588         (plugin_desc): Rename library from gstcoreleements to
16589         staticelements. Fixes #323222.
16590
16591 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16592
16593         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16594           Change debug category to 'collectpads' from 'collect_pads'
16595           (fixes #323250).
16596
16597 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16598
16599         patch by: Sebastien Moutte
16600
16601         * libs/gst/controller/gstinterpolation.c:
16602           use convert function for uint64/double
16603         * win32/vs6/libgstcontroller.dsp:
16604           link to GLib
16605
16606 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16607
16608         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16609         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16610         * gst/gstutils.h:
16611         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16612           add tests that seem to show that the guint64/gdouble conversions
16613           are correct.
16614
16615 2005-12-02  Wim Taymans  <wim@fluendo.com>
16616
16617         * gst/gstregistry.c: (gst_registry_add_path):
16618         * gst/gstregistry.h:
16619         * gst/gstregistryxml.c:
16620         Fix docs again.
16621
16622 2005-12-02  Wim Taymans  <wim@fluendo.com>
16623
16624         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16625         (gst_util_uint64_scale_int):
16626         Small cleanup.
16627
16628         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16629         Add debug log line.
16630
16631         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16632         Add FIXME.
16633
16634 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16635
16636         * win32/MANIFEST:
16637         * win32/common/config.h:
16638         * win32/vs6/gstreamer.dsw:
16639         * win32/vs6/libgstcoreelements.dsp:
16640         * win32/vs6/libgstelements.dsp:
16641           renamed core elements plugin
16642
16643 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16644
16645         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16646         (get_candidates):
16647           do piece-wise major/minor comparison so 0.9 < 0.10
16648           also allow .exe extensions for tools
16649
16650 2005-12-02  Michael Smith  <msmith@fluendo.com>
16651
16652         * gst/gst.c:
16653           Escape a % to make gtkdoc happier; bug 322958.
16654
16655 === release 0.9.7 ===
16656
16657 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16658
16659         * configure.ac:
16660           releasing 0.9.7, "My Dog Has No Nose"
16661
16662 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16663
16664         * common/gst-xmlinspect.py:
16665         * configure.ac:
16666         * docs/libs/tmpl/gstdataprotocol.sgml:
16667         * docs/random/release:
16668         * po/af.po:
16669         * po/az.po:
16670         * po/bg.po:
16671         * po/ca.po:
16672         * po/cs.po:
16673         * po/de.po:
16674         * po/en_GB.po:
16675         * po/fr.po:
16676         * po/it.po:
16677         * po/nb.po:
16678         * po/nl.po:
16679         * po/ru.po:
16680         * po/sq.po:
16681         * po/sr.po:
16682         * po/sv.po:
16683         * po/tr.po:
16684         * po/uk.po:
16685         * po/vi.po:
16686         * win32/common/config.h:
16687         * win32/common/config.h.in:
16688         * win32/vs6/gst_inspect.dsp:
16689         * win32/vs6/gst_launch.dsp:
16690         * win32/vs6/libgstbase.dsp:
16691         * win32/vs6/libgstelements.dsp:
16692         * win32/vs6/libgstreamer.dsp:
16693         * win32/vs7/GStreamer.vcproj:
16694         * win32/vs7/gst-inspect.vcproj:
16695         * win32/vs7/gst-launch.vcproj:
16696         * win32/vs7/libgstbase.vcproj:
16697           bump GST_MAJORMINOR to 0.10
16698           reset libtool version
16699
16700 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16701
16702         * po/LINGUAS:
16703         * po/bg.po:
16704           Added Bulgarian translation by (Alexander Shopov)
16705
16706 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16707
16708         * tests/check/gst/gstplugin.c:
16709           fix test
16710
16711 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16712
16713         * common/gst-xmlinspect.py:
16714         * common/gtk-doc-plugins.mak:
16715         * configure.ac:
16716         * docs/Makefile.am:
16717         * docs/gst/Makefile.am:
16718         * docs/gst/gstreamer-docs.sgml:
16719         * docs/gst/gstreamer-sections.txt:
16720         * docs/gst/gstreamer.types:
16721         * docs/gst/gstreamer.types.in:
16722         * docs/plugins/Makefile.am:
16723         * docs/plugins/gstreamer-plugins-docs.sgml:
16724         * docs/plugins/gstreamer-plugins-sections.txt:
16725         * docs/plugins/gstreamer-plugins.types:
16726         * docs/plugins/inspect.stamp:
16727         * docs/plugins/inspect/plugin-coreelements.xml:
16728         * docs/plugins/inspect/plugin-coreindexers.xml:
16729         * docs/plugins/scanobj-build.stamp:
16730         * gstreamer.spec.in:
16731         * plugins/elements/Makefile.am:
16732         * plugins/elements/gstelements.c:
16733         * plugins/elements/gstfakesink.c:
16734         * plugins/elements/gstfakesrc.c:
16735         * plugins/elements/gstfilesink.c:
16736         * plugins/elements/gstfilesrc.c:
16737         * plugins/elements/gstqueue.c:
16738         * plugins/indexers/Makefile.am:
16739         * plugins/indexers/gstindexers.c:
16740           document core plugins in a separate document just like all the
16741           others
16742           rename these plugins to something starting with core
16743
16744 2005-12-01  Andy Wingo  <wingo@pobox.com>
16745
16746         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16747         padding here before, but it missed the commit.
16748
16749 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16750
16751         * libs/gst/controller/gstinterpolation.c:
16752           whitespace prices have crashed, we should feel free to use some now
16753           use gst_guint64_to_gdouble
16754
16755 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16756
16757         * libs/gst/controller/gstcontroller.c:
16758         * libs/gst/controller/gsthelper.c:
16759         * libs/gst/controller/gstinterpolation.c:
16760         * libs/gst/controller/lib.c:
16761           wrap config.h include
16762
16763 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16764
16765         * docs/gst/gstreamer-sections.txt:
16766           update docs
16767
16768 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16769
16770         * plugins/elements/gstelements.c:
16771         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16772         (gst_fd_sink__class_init), (gst_fd_sink__init),
16773         (gst_fd_sink__chain), (gst_fd_sink__set_property),
16774         (gst_fd_sink__get_property):
16775         * plugins/elements/gstfdsink.h:
16776         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16777         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16778         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16779         (gst_fd_src_unlock), (gst_fd_src_set_property),
16780         (gst_fd_src_get_property), (gst_fd_src_create),
16781         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16782         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16783         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16784         (gst_fd_src_uri_handler_init):
16785         * plugins/elements/gstfdsrc.h:
16786         * plugins/elements/gstqueue.c: (gst_queue_get_type):
16787           more anal cleanup
16788
16789 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16790
16791         * docs/gst/Makefile.am:
16792         * docs/gst/gstreamer.types.in:
16793         * gst/Makefile.am:
16794           fix the docs build
16795
16796 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16797
16798         * configure.ac:
16799         * gst/Makefile.am:
16800         * gst/gst.c:
16801         * gst/gstplugin.h:
16802         * gst/gstregistry.h:
16803         * tests/benchmarks/complexity.c:
16804         * tests/benchmarks/mass-elements.c:
16805         * tests/check/Makefile.am:
16806         * tools/Makefile.am:
16807         * tools/gst-inspect.c:
16808         * tools/gst-xmlinspect.c:
16809           various fixes to make
16810           --disable-nls --disable-registry --disable-loadsave
16811           --disable-parse --disable-gst-debug
16812           work and get the core .so down to 360444 bytes after stripping
16813
16814 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16815
16816         * Makefile.am:
16817         * configure.ac:
16818           descend into tests
16819         * docs/random/thomasvs/TODO:
16820         * tests/Makefile.am:
16821         * tests/README:
16822           add a README
16823
16824 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16825
16826         * win32/GStreamer.vcproj:
16827         * win32/MANIFEST:
16828         * win32/Makefile:
16829         * win32/Makefile.inspect:
16830         * win32/Makefile.launch:
16831         * win32/Makefile.register:
16832         * win32/README.txt:
16833         * win32/gst-inspect.vcproj:
16834         * win32/gst-launch.vcproj:
16835         * win32/gst-register.vcproj:
16836         * win32/gstelements.vcproj:
16837         * win32/gstgetbits.def:
16838         * win32/gstgetbits.vcproj:
16839         * win32/gstreamer-dbg.def:
16840         * win32/gstreamer.def:
16841         * win32/libgstbase.def:
16842         * win32/libgstbase.vcproj:
16843         * win32/link_oldruntime.c:
16844         * win32/mman.c:
16845         * win32/mman.h:
16846         * win32/mman.inl:
16847         * win32/msvc71.sln:
16848           move even more stuff, win32/ is nice and clean now
16849
16850 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16851
16852         * libs/gst/control/.cvsignore:
16853         * win32/MANIFEST:
16854         * win32/config.h:
16855         * win32/dirent.c:
16856         * win32/dirent.h:
16857         * win32/gstbytestream.def:
16858         * win32/gstbytestream.vcproj:
16859         * win32/gstconfig.h:
16860         * win32/gstenumtypes.c:
16861         * win32/gstenumtypes.h:
16862         * win32/gstoptimalscheduler.vcproj:
16863         * win32/gstversion.h:
16864         * win32/gtchar.h:
16865         * win32/testsuite/bins.vcproj:
16866         * win32/testsuite/bytestream.vcproj:
16867         * win32/testsuite/caps.vcproj:
16868         * win32/testsuite/cleanup.vcproj:
16869         * win32/testsuite/clock.vcproj:
16870         * win32/testsuite/debug.vcproj:
16871         * win32/testsuite/dlopen.vcproj:
16872         * win32/testsuite/dynparams.vcproj:
16873         * win32/testsuite/elements.vcproj:
16874         * win32/testsuite/ghostpads.vcproj:
16875         * win32/testsuite/indexers.vcproj:
16876         * win32/testsuite/negotiation.vcproj:
16877         * win32/testsuite/parse.vcproj:
16878         * win32/testsuite/plugin.vcproj:
16879         * win32/testsuite/refcounting.vcproj:
16880         * win32/testsuite/schedulers.vcproj:
16881         * win32/testsuite/states.vcproj:
16882         * win32/testsuite/tags.vcproj:
16883         * win32/testsuite/threads.vcproj:
16884           remove old win32 stuff that isn't maintained and should be
16885           reorganized
16886
16887 2005-11-30  Andy Wingo  <wingo@pobox.com>
16888
16889         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16890         loading the gst.interfaces python module bork.
16891
16892         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16893         available since GLib 2.2. Fixes #318031.
16894
16895 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16896
16897         * Makefile.am:
16898         * check/.cvsignore:
16899         * check/Makefile.am:
16900         * check/elements/.cvsignore:
16901         * check/elements/fakesrc.c:
16902         * check/elements/fdsrc.c:
16903         * check/elements/identity.c:
16904         * check/generic/.cvsignore:
16905         * check/generic/states.c:
16906         * check/gst-libs/.cvsignore:
16907         * check/gst-libs/controller.c:
16908         * check/gst-libs/gdp.c:
16909         * check/gst/.cvsignore:
16910         * check/gst/capslist.h:
16911         * check/gst/gst.c:
16912         * check/gst/gstbin.c:
16913         * check/gst/gstbuffer.c:
16914         * check/gst/gstbus.c:
16915         * check/gst/gstcaps.c:
16916         * check/gst/gstelement.c:
16917         * check/gst/gstevent.c:
16918         * check/gst/gstghostpad.c:
16919         * check/gst/gstiterator.c:
16920         * check/gst/gstmessage.c:
16921         * check/gst/gstminiobject.c:
16922         * check/gst/gstobject.c:
16923         * check/gst/gstpad.c:
16924         * check/gst/gstpipeline.c:
16925         * check/gst/gstplugin.c:
16926         * check/gst/gstsegment.c:
16927         * check/gst/gststructure.c:
16928         * check/gst/gstsystemclock.c:
16929         * check/gst/gsttag.c:
16930         * check/gst/gstutils.c:
16931         * check/gst/gstvalue.c:
16932         * check/net/.cvsignore:
16933         * check/net/gstnetclientclock.c:
16934         * check/net/gstnettimeprovider.c:
16935         * check/pipelines/.cvsignore:
16936         * check/pipelines/cleanup.c:
16937         * check/pipelines/simple_launch_lines.c:
16938         * check/pipelines/stress.c:
16939         * check/states/.cvsignore:
16940         * check/states/sinks.c:
16941         * configure.ac:
16942         * examples/Makefile.am:
16943         * examples/appreader/.cvsignore:
16944         * examples/appreader/Makefile.am:
16945         * examples/appreader/appreader.c:
16946         * examples/controller/.cvsignore:
16947         * examples/controller/Makefile.am:
16948         * examples/controller/audio-example.c:
16949         * examples/cutter/.cvsignore:
16950         * examples/cutter/Makefile.am:
16951         * examples/cutter/cutter.c:
16952         * examples/cutter/cutter.h:
16953         * examples/events/Makefile.am:
16954         * examples/events/seek.c:
16955         * examples/helloworld/.cvsignore:
16956         * examples/helloworld/Makefile.am:
16957         * examples/helloworld/helloworld.c:
16958         * examples/helloworld2/.cvsignore:
16959         * examples/helloworld2/Makefile.am:
16960         * examples/helloworld2/helloworld2.c:
16961         * examples/launch/.cvsignore:
16962         * examples/launch/Makefile.am:
16963         * examples/launch/mp3parselaunch.c:
16964         * examples/launch/mp3play:
16965         * examples/manual/.cvsignore:
16966         * examples/manual/Makefile.am:
16967         * examples/manual/extract.pl:
16968         * examples/metadata/Makefile.am:
16969         * examples/metadata/read-metadata.c:
16970         * examples/mixer/.cvsignore:
16971         * examples/mixer/Makefile.am:
16972         * examples/mixer/mixer.c:
16973         * examples/mixer/mixer.h:
16974         * examples/pingpong/.cvsignore:
16975         * examples/pingpong/Makefile.am:
16976         * examples/pingpong/pingpong.c:
16977         * examples/plugins/.cvsignore:
16978         * examples/plugins/Makefile.am:
16979         * examples/plugins/example.c:
16980         * examples/plugins/example.h:
16981         * examples/pwg/.cvsignore:
16982         * examples/pwg/Makefile.am:
16983         * examples/pwg/extract.pl:
16984         * examples/queue/.cvsignore:
16985         * examples/queue/Makefile.am:
16986         * examples/queue/queue.c:
16987         * examples/queue2/.cvsignore:
16988         * examples/queue2/Makefile.am:
16989         * examples/queue2/queue2.c:
16990         * examples/queue3/.cvsignore:
16991         * examples/queue3/Makefile.am:
16992         * examples/queue3/queue3.c:
16993         * examples/queue4/.cvsignore:
16994         * examples/queue4/Makefile.am:
16995         * examples/queue4/queue4.c:
16996         * examples/retag/.cvsignore:
16997         * examples/retag/Makefile.am:
16998         * examples/retag/retag.c:
16999         * examples/retag/transcode.c:
17000         * examples/thread/.cvsignore:
17001         * examples/thread/Makefile.am:
17002         * examples/thread/thread.c:
17003         * examples/typefind/.cvsignore:
17004         * examples/typefind/Makefile.am:
17005         * examples/typefind/typefind.c:
17006         * examples/xml/.cvsignore:
17007         * examples/xml/Makefile.am:
17008         * examples/xml/createxml.c:
17009         * examples/xml/runxml.c:
17010         * tests/Makefile.am:
17011         * tests/check/Makefile.am:
17012         * testsuite/.cvsignore:
17013         * testsuite/Makefile.am:
17014         * testsuite/Rules:
17015         * testsuite/caps/.cvsignore:
17016         * testsuite/caps/Makefile.am:
17017         * testsuite/caps/app_fixate.c:
17018         * testsuite/caps/audioscale.c:
17019         * testsuite/caps/caps.c:
17020         * testsuite/caps/caps.h:
17021         * testsuite/caps/caps_strings:
17022         * testsuite/caps/compatibility.c:
17023         * testsuite/caps/deserialize.c:
17024         * testsuite/caps/enumcaps.c:
17025         * testsuite/caps/eratosthenes.c:
17026         * testsuite/caps/filtercaps.c:
17027         * testsuite/caps/fixed.c:
17028         * testsuite/caps/fraction-convert.c:
17029         * testsuite/caps/fraction-multiply-and-zero.c:
17030         * testsuite/caps/intersect2.c:
17031         * testsuite/caps/intersection.c:
17032         * testsuite/caps/normalisation.c:
17033         * testsuite/caps/random.c:
17034         * testsuite/caps/renegotiate.c:
17035         * testsuite/caps/sets.c:
17036         * testsuite/caps/simplify.c:
17037         * testsuite/caps/string-conversions.c:
17038         * testsuite/caps/structure.c:
17039         * testsuite/caps/subtract.c:
17040         * testsuite/caps/union.c:
17041         * testsuite/debug/.cvsignore:
17042         * testsuite/debug/Makefile.am:
17043         * testsuite/debug/category.c:
17044         * testsuite/debug/commandline.c:
17045         * testsuite/debug/global.c:
17046         * testsuite/debug/output.c:
17047         * testsuite/debug/printf_extension.c:
17048         * testsuite/dlopen/.cvsignore:
17049         * testsuite/dlopen/Makefile.am:
17050         * testsuite/dlopen/dlopen_gst.c:
17051         * testsuite/dlopen/loadgst.c:
17052         * testsuite/elements/.cvsignore:
17053         * testsuite/elements/Makefile.am:
17054         * testsuite/elements/gst-inspect-check.in:
17055         * testsuite/elements/struct_i386.h:
17056         * testsuite/elements/struct_size.c:
17057         * testsuite/indexers/.cvsignore:
17058         * testsuite/indexers/Makefile.am:
17059         * testsuite/indexers/cache1.c:
17060         * testsuite/indexers/indexdump.c:
17061         * testsuite/parse/.cvsignore:
17062         * testsuite/parse/Makefile.am:
17063         * testsuite/parse/parse1.c:
17064         * testsuite/parse/parse2.c:
17065         * testsuite/plugin/.cvsignore:
17066         * testsuite/plugin/Makefile.am:
17067         * testsuite/plugin/README:
17068         * testsuite/plugin/dynamic.c:
17069         * testsuite/plugin/linked.c:
17070         * testsuite/plugin/loading.c:
17071         * testsuite/plugin/registry.c:
17072         * testsuite/plugin/static.c:
17073         * testsuite/plugin/static2.c:
17074         * testsuite/plugin/testplugin.c:
17075         * testsuite/plugin/testplugin2.c:
17076         * testsuite/plugin/testplugin2_s.c:
17077         * testsuite/plugin/testplugin_s.c:
17078         * testsuite/refcounting/.cvsignore:
17079         * testsuite/refcounting/Makefile.am:
17080         * testsuite/refcounting/bin.c:
17081         * testsuite/refcounting/element.c:
17082         * testsuite/refcounting/element_pad.c:
17083         * testsuite/refcounting/mainloop.c:
17084         * testsuite/refcounting/mem.c:
17085         * testsuite/refcounting/mem.h:
17086         * testsuite/refcounting/object.c:
17087         * testsuite/refcounting/pad.c:
17088         * testsuite/refcounting/sched.c:
17089         * testsuite/refcounting/thread.c:
17090         * testsuite/states/.cvsignore:
17091         * testsuite/states/Makefile.am:
17092         * testsuite/states/bin.c:
17093         * testsuite/states/locked.c:
17094         * testsuite/states/parent.c:
17095         * testsuite/threads/.cvsignore:
17096         * testsuite/threads/159566.c:
17097         * testsuite/threads/159852.c:
17098         * testsuite/threads/Makefile.am:
17099         * testsuite/threads/queue.c:
17100         * testsuite/threads/signals.c:
17101         * testsuite/threads/staticrec.c:
17102         * testsuite/threads/thread.c:
17103         * testsuite/threads/threadb.c:
17104         * testsuite/threads/threadc.c:
17105         * testsuite/threads/threadd.c:
17106         * testsuite/threads/threade.c:
17107         * testsuite/threads/threadf.c:
17108         * testsuite/threads/threadg.c:
17109         * testsuite/threads/threadh.c:
17110         * testsuite/threads/threadi.c:
17111           move all of these under tests
17112
17113 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17114
17115         * configure.ac:
17116         * tests/Makefile.am:
17117           fix distcheck
17118
17119 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17120
17121         * docs/gst/gstreamer-sections.txt:
17122         * tests/sched/.cvsignore:
17123         * tests/sched/Makefile.am:
17124         * tests/sched/cases/(fs-fs).xml:
17125         * tests/sched/cases/(fs-i-fs).xml:
17126         * tests/sched/cases/(fs-i-i-fs).xml:
17127         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17128         * tests/sched/dynamic-pipeline.c:
17129         * tests/sched/interrupt1.c:
17130         * tests/sched/interrupt2.c:
17131         * tests/sched/interrupt3.c:
17132         * tests/sched/runtestcases:
17133         * tests/sched/runxml.c:
17134         * tests/sched/sched-stress.c:
17135         * tests/sched/sort.c:
17136         * tests/sched/testcases:
17137         * tests/sched/testcases1.tc:
17138         * tests/seeking/.cvsignore:
17139         * tests/seeking/Makefile.am:
17140         * tests/seeking/seeking1.c:
17141         * tests/threadstate/.cvsignore:
17142         * tests/threadstate/Makefile.am:
17143         * tests/threadstate/test1.c:
17144         * tests/threadstate/test2.c:
17145         * tests/threadstate/threadstate1.c:
17146         * tests/threadstate/threadstate2.c:
17147         * tests/threadstate/threadstate3.c:
17148         * tests/threadstate/threadstate4.c:
17149         * tests/threadstate/threadstate5.c:
17150           remove obsolete tests
17151         * configure.ac:
17152         * tests/bench-complexity.scm:
17153         * tests/bench-mass_elements.scm:
17154         * tests/complexity.c:
17155         * tests/complexity.gnuplot:
17156         * tests/instantiate/.cvsignore:
17157         * tests/instantiate/Makefile.am:
17158         * tests/instantiate/caps.c:
17159         * tests/mass_elements.c:
17160         * tests/network-clock-utils.scm:
17161         * tests/network-clock.scm:
17162         * tests/plot-data:
17163         First pass at cleaning up tests/ dir before moving the rest
17164         Combined with CVS surgery
17165
17166 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17167
17168         * po/POTFILES.in:
17169           queue has moved, update
17170
17171 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17172
17173         * docs/gst/gstreamer-sections.txt:
17174           remove double entries from the docs
17175         * gst/gst_private.h:
17176         * gst/gstinfo.c: (_gst_debug_init):
17177           remove the THREAD debug category
17178         * gst/Makefile.am:
17179         * gst/gstqueue.c:
17180         * gst/gstqueue.h:
17181         * docs/gst/gstreamer.types:
17182         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17183         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17184           completely move queue and fix up debugging categories
17185
17186 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17187
17188         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17189           make initialization portable, using LL is not
17190
17191 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17192
17193         * win32/common/gstconfig.h:
17194           add large padding
17195
17196 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17197
17198         * win32/common/libgstreamer.def:
17199           rename symbols; sort base section
17200
17201 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17202
17203         * gst/gstclock.c: (do_linear_regression):
17204           remove crack non-portable handrolled DEBUG macro
17205
17206 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17207
17208         * docs/random/release:
17209           update notes
17210         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17211         (gst_object_flags_get_type), (register_gst_bin_flags),
17212         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17213         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17214         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17215         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17216         (gst_caps_flags_get_type), (register_gst_clock_return),
17217         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17218         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17219         (gst_clock_flags_get_type), (register_gst_state),
17220         (gst_state_get_type), (register_gst_state_change_return),
17221         (gst_state_change_return_get_type), (register_gst_state_change),
17222         (gst_state_change_get_type), (register_gst_element_flags),
17223         (gst_element_flags_get_type), (register_gst_core_error),
17224         (gst_core_error_get_type), (register_gst_library_error),
17225         (gst_library_error_get_type), (register_gst_resource_error),
17226         (gst_resource_error_get_type), (register_gst_stream_error),
17227         (gst_stream_error_get_type), (register_gst_event_type_flags),
17228         (gst_event_type_flags_get_type), (register_gst_event_type),
17229         (gst_event_type_get_type), (register_gst_seek_type),
17230         (gst_seek_type_get_type), (register_gst_seek_flags),
17231         (gst_seek_flags_get_type), (register_gst_format),
17232         (gst_format_get_type), (register_gst_index_certainty),
17233         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17234         (gst_index_entry_type_get_type),
17235         (register_gst_index_lookup_method),
17236         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17237         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17238         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17239         (gst_index_flags_get_type), (register_gst_debug_level),
17240         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17241         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17242         (gst_iterator_result_get_type), (register_gst_iterator_item),
17243         (gst_iterator_item_get_type), (register_gst_message_type),
17244         (gst_message_type_get_type), (register_gst_mini_object_flags),
17245         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17246         (gst_pad_link_return_get_type), (register_gst_flow_return),
17247         (gst_flow_return_get_type), (register_gst_activate_mode),
17248         (gst_activate_mode_get_type), (register_gst_pad_direction),
17249         (gst_pad_direction_get_type), (register_gst_pad_flags),
17250         (gst_pad_flags_get_type), (register_gst_pad_presence),
17251         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17252         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17253         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17254         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17255         (gst_plugin_flags_get_type), (register_gst_rank),
17256         (gst_rank_get_type), (register_gst_query_type),
17257         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17258         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17259         (gst_tag_flag_get_type), (register_gst_task_state),
17260         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17261         (gst_alloc_trace_flags_get_type),
17262         (register_gst_type_find_probability),
17263         (gst_type_find_probability_get_type), (register_gst_uri_type),
17264         (gst_uri_type_get_type), (register_gst_parse_error),
17265         (gst_parse_error_get_type):
17266         * win32/common/gstenumtypes.h:
17267         * win32/common/gstversion.h:
17268           update visual studio generated files
17269
17270 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17271
17272         * win32/vs6/libgstbase.dsp:
17273         * win32/vs6/libgstelements.dsp:
17274           update project files for new locations
17275
17276 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17277
17278         * Makefile.am:
17279           remove some files
17280         * README:
17281           reinstate and update
17282         * DEVEL:
17283         * REQUIREMENTS:
17284           removed
17285         * LICENSE:
17286         * docs/random/LICENSE:
17287           moved to random
17288
17289 2005-11-30  Edward Hervey  <edward@fluendo.com>
17290
17291         * gst/gsttypefind.c: (gst_type_find_register):
17292         * gst/gsttypefind.h:
17293         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17294         (gst_type_find_factory_dispose):
17295         * gst/gsttypefindfactory.h:
17296         Fix memory leak in GstTypeFindFactory.
17297
17298 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17299
17300         * gst/gst.c:
17301         * plugins/elements/Makefile.am:
17302         * plugins/elements/gstelements.c:
17303         * plugins/elements/gstqueue.c:
17304           move queue from core to the elements plugin
17305
17306 2005-11-29  Andy Wingo  <wingo@pobox.com>
17307
17308         * libs/gst/base/gstbasetransform.h: 
17309         * libs/gst/base/gstbasesrc.h: 
17310         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17311
17312         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17313         of pointers by which to pad very extensible base classes (like the
17314         ones in libs/gst/base).
17315
17316 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17317
17318         * docs/gst/gstreamer-docs.sgml:
17319         * docs/gst/gstreamer-sections.txt:
17320         * docs/libs/gstreamer-libs-docs.sgml:
17321         * docs/libs/gstreamer-libs-sections.txt:
17322           moving documentation from core to lib
17323
17324 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17325
17326         * check/Makefile.am:
17327         * configure.ac:
17328         * docs/gst/Makefile.am:
17329         * gst/Makefile.am:
17330         * gst/base/.cvsignore:
17331         * gst/base/Makefile.am:
17332         * gst/base/README:
17333         * gst/base/gstadapter.c:
17334         * gst/base/gstadapter.h:
17335         * gst/base/gstbasesink.c:
17336         * gst/base/gstbasesink.h:
17337         * gst/base/gstbasesrc.c:
17338         * gst/base/gstbasesrc.h:
17339         * gst/base/gstbasetransform.c:
17340         * gst/base/gstbasetransform.h:
17341         * gst/base/gstcollectpads.c:
17342         * gst/base/gstcollectpads.h:
17343         * gst/base/gstpushsrc.c:
17344         * gst/base/gstpushsrc.h:
17345         * gst/base/gsttypefindhelper.c:
17346         * gst/base/gsttypefindhelper.h:
17347         * gst/check/Makefile.am:
17348         * gst/check/gstcheck.c:
17349         * gst/check/gstcheck.h:
17350         * gst/net/Makefile.am:
17351         * gst/net/gstnet.h:
17352         * gst/net/gstnetclientclock.c:
17353         * gst/net/gstnetclientclock.h:
17354         * gst/net/gstnettimepacket.c:
17355         * gst/net/gstnettimepacket.h:
17356         * gst/net/gstnettimeprovider.c:
17357         * gst/net/gstnettimeprovider.h:
17358         * libs/gst/Makefile.am:
17359         * libs/gst/base/Makefile.am:
17360         * libs/gst/base/gstbasetransform.c:
17361         * libs/gst/check/Makefile.am:
17362         * plugins/elements/Makefile.am:
17363         * po/POTFILES.in:
17364           CVS surgery + support to move base, check, and net out of gst
17365           and into libs/gst
17366
17367 2005-11-29  Andy Wingo  <wingo@pobox.com>
17368
17369         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17370
17371         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17372         padding.
17373
17374         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17375
17376         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17377
17378         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17379
17380         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17381         padding; reduces object size by about 30%. We don't expect
17382         anything else to go into gstobject.
17383
17384         * gst/gstminiobject.h (struct _GstMiniObject)
17385         (struct _GstMiniObjectClass): Only one pointer of padding; the
17386         payload is only a pointer and two ints anyway. For the class there
17387         are only two methods as well.
17388         
17389         * gst/gstelement.h (struct _GstElementClass): Removed
17390         the state_changed signal callback, it is not used.
17391
17392 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17393
17394         * docs/gst/gstreamer.types:
17395           fix includes, though they are a little dinky
17396
17397 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17398
17399         * check/Makefile.am:
17400           look in the right place for elements, a lot more chance of
17401           success
17402         * gst/Makefile.am:
17403           remove indexers and elements subdirs
17404         * plugins/Makefile.am:
17405           make indexers conditional
17406
17407 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17408
17409         * Makefile.am:
17410         * configure.ac:
17411         * plugins/elements/Makefile.am:
17412         * plugins/elements/gstcapsfilter.c:
17413         * plugins/elements/gstfilesink.c:
17414         * plugins/elements/gstfilesrc.c:
17415         * plugins/elements/gstidentity.c:
17416         * plugins/indexers/Makefile.am:
17417           do CVS surgery and related build fixery to move elements
17418           and indexers in a new gstreamer/plugins directory, out of the
17419           gst/ directory
17420
17421 2005-11-29  Andy Wingo  <wingo@pobox.com>
17422
17423         * check/Makefile.am:
17424         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17425         * pkgconfig/gstreamer-net.pc.in:
17426         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17427         #322257.
17428
17429 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17430
17431         * tools/Makefile.am:
17432         * tools/gst-complete.1.in:
17433         * tools/gst-complete.c:
17434         * tools/gst-compprep.1.in:
17435         * tools/gst-compprep.c:
17436           removing -compprep and -complete
17437
17438 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17439
17440         * gst/gstevent.c: (gst_event_new_new_segment),
17441         (gst_event_parse_new_segment):
17442         * gst/gstevent.h:
17443           fix #320529 - clean up new_segment API and structure.
17444           Let's hope everyone was using the methods, and not the structure.
17445
17446 2005-11-29  Edward Hervey  <edward@fluendo.com>
17447
17448         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17449         (gst_base_sink_event), (gst_base_sink_do_sync),
17450         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17451         Properly handle non GST_FORMAT_TIME segment
17452         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17453         Properly handle non GST_FORMAT_TIME segment
17454         * gst/gstsegment.c:
17455         This function is valid if the accumulator is 0 and the format
17456         is different from the requested format.
17457         
17458 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17459
17460         * docs/gst/gstreamer-sections.txt:
17461         Add gst_query_new_seeking and gst_query_parse_seeking to the
17462         docs.
17463
17464 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17465
17466         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17467           Treat a pad alloc with new caps the same as if we were not
17468           negotiated, in order to allow a changing upstream output
17469           to produce a new format of data.
17470
17471 2005-11-29  Edward Hervey  <edward@fluendo.com>
17472
17473         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17474         (gst_base_transform_event), (gst_base_transform_eventfunc):
17475         The event virtual method is now properly implemented, with a default
17476         handler
17477         Sub classes should call the parent_class event method. They should
17478         return FALSE if they had a problem handling the given event, or don't
17479         want GstBaseTransform to send that even downstream
17480         * gst/elements/gstidentity.c: (gst_identity_class_init),
17481         (gst_identity_init), (gst_identity_event),
17482         (gst_identity_transform_ip), (gst_identity_set_property),
17483         (gst_identity_get_property):
17484         * gst/elements/gstidentity.h:
17485         Added the single-segment boolean property.
17486         If set to TRUE, it will output a single segment of data, starting from
17487         0, will eat up all incoming newsegment, and modify the timestamp of the
17488         buffers accordingly
17489
17490 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17491
17492         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17493           Don't ref NULL target pad (#322751). Improve docs.
17494
17495 2005-11-29  Michael Smith  <msmith@fluendo.com>
17496
17497         * gst/gstregistryxml.c: (load_plugin):
17498           Don't crash if we failed to load a feature from a plugin. 
17499
17500 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17501
17502         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17503         (GST_START_TEST):
17504           use more check API and less GLib API
17505
17506 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17507
17508         * Makefile.am:
17509           don't run checks if we don't have check
17510         * common/check.mak:
17511           remove the registry when running make torture
17512         * docs/gst/gstreamer-sections.txt:
17513           remove second multiply
17514         * gst/gstqueue.c: (gst_queue_loop):
17515           fix a compile warning when disabling debug
17516
17517 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17518
17519         * gst/gstinfo.h:
17520         Hey! Let's print the pad name if the pointer != NULL instead
17521         of when it == NULL :-)
17522
17523 2005-11-28  Wim Taymans  <wim@fluendo.com>
17524
17525         * check/gst/gstutils.c: (GST_START_TEST):
17526         Updated check, add some scaling accuracy checking code.
17527
17528         * gst/gstutils.c: (gst_util_div128_64),
17529         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17530         (gst_util_uint64_scale_int):
17531         Fix 6 times faster division code. Optimize for common 
17532         1/1 and less common X/1 cases.
17533
17534 2005-11-28  Wim Taymans  <wim@fluendo.com>
17535
17536         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17537         More checks.
17538
17539         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17540         (do_linear_regression), (gst_clock_add_observation):
17541         Cleanups.
17542         Release lock when the clock cannot be slaved.
17543         Catch the case where the regression returned an invalid denominator.
17544
17545         * gst/gstutils.c: (gst_util_div128_64_iterate),
17546         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17547         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17548         Add protentially more performant non-iterative 128/64 divide function
17549         that unfortunatly does not work yet.
17550         Shortcut the trivial 0/X = 0 case.
17551         Remove the warnings on overflow.
17552
17553 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17554
17555         * gst/gstplugin.c: (gst_plugin_register_func):
17556           everything causing a plugin not to load should be at least a WARNING
17557
17558 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17559
17560         * docs/random/ensonic/dparams.txt:
17561           some TODOs for the next dev cycle
17562         * libs/gst/controller/gstcontroller.c:
17563         (gst_controlled_property_set_interpolation_mode),
17564         (gst_controlled_property_new):
17565         * libs/gst/controller/gstcontroller.h:
17566           use base type to assign acccessor functions
17567
17568 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17569
17570         * check/Makefile.am:
17571         Oops, that should have been top_srcdir
17572
17573 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17574
17575         * check/Makefile.am:
17576         * check/elements/fdsrc.c: (GST_START_TEST):
17577         Use a cmdline define to specify the location of a file to use for
17578         testing, to avoid breaking distcheck.
17579
17580 2005-11-28  Andy Wingo  <wingo@pobox.com>
17581
17582         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17583
17584 2005-11-28  Edward Hervey  <edward@fluendo.com>
17585
17586         * tools/gst-launch.c: (main):
17587         Clarify the output strings, makes it easier to translate.
17588         Fixes #322626
17589
17590 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17591
17592         * gst/Makefile.am:
17593           don't try and build net if we don't even have <sys/socket.h>
17594
17595 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17596
17597         * check/Makefile.am:
17598         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17599         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17600           Add tests for fdsrc seekability
17601
17602         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17603         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17604         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17605         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17606         * gst/elements/gstfdsrc.h:
17607           fdsrc should not be a 'live' source.
17608           Implement seeking on seekable fd's.
17609
17610         * gst/gstquery.c: (gst_query_new_seeking),
17611         (gst_query_parse_seeking):
17612         * gst/gstquery.h:
17613           Implement SEEKING query functions: 
17614             *_new_seeking and *_parse_seeking
17615
17616 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17617
17618         * gst/gstelement.c: (gst_element_dispose):
17619           don't loop forever
17620
17621         * gst/gstiterator.c:
17622         * gst/gststructure.c:
17623           doc fixes
17624
17625         * libs/gst/controller/gstcontroller.c:
17626         (gst_controlled_property_set_interpolation_mode):
17627         * libs/gst/controller/gstcontroller.h:
17628         * libs/gst/controller/gstinterpolation.c:
17629         (interpolate_none_get_enum_value_array):
17630           support controlling enums
17631
17632 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17633
17634         * gst/gstvalue.c:
17635           Improve documentation for gst_value_union().
17636
17637         * gst/gstvalue.h:
17638           Change return value for union, intersect and subtract functions
17639           from gint to gboolean.
17640
17641 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17642
17643         * gst/gstvalue.c: (gst_value_serialize_any_list),
17644         (gst_value_transform_any_list_string),
17645         (gst_value_deserialize_list), (gst_value_deserialize_array),
17646         (gst_value_set_int_range), (gst_value_deserialize_int_range),
17647         (gst_value_set_double_range), (gst_value_deserialize_double_range),
17648         (gst_value_set_fraction_range_full),
17649         (gst_value_deserialize_fraction_range),
17650         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17651         (gst_value_deserialize_boolean),
17652         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17653         (gst_value_serialize_float), (gst_value_deserialize_float),
17654         (gst_string_wrap), (gst_value_deserialize_string),
17655         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17656         (gst_value_union_int_range_int_range),
17657         (gst_value_intersect_int_range_int_range),
17658         (gst_value_intersect_double_range_double_range),
17659         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17660         (gst_value_subtract_int_range_int_range),
17661         (gst_value_subtract_double_double_range),
17662         (gst_value_subtract_double_range_double_range),
17663         (gst_value_deserialize_fraction):
17664         * gst/gstvalue.h:
17665           Use gint, gdouble and gchar in our API instead of int, double and
17666           char (and make usage in gstvalue.c more consistent).
17667
17668 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17669
17670         * check/Makefile.am:
17671         * libs/gst/controller/Makefile.am:
17672         * libs/gst/dataprotocol/Makefile.am:
17673           fix up Makefile.am and remove GST_ENABLE_NEW
17674
17675 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17676
17677         * configure.ac:
17678         * gst/Makefile.am:
17679         * gst/base/Makefile.am:
17680         * gst/check/Makefile.am:
17681         * gst/elements/Makefile.am:
17682         * gst/net/Makefile.am:
17683           update LDFLAGS use some more
17684
17685 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17686
17687         * common/m4/gst-doc.m4:
17688           Fixes #312589
17689
17690 2005-11-26  Edward Hervey  <edward@fluendo.com>
17691
17692         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17693         This shouldn't issue a g_warning since it returns NULL if it
17694         couldn't find the plugin, and all functions using this behave
17695         properly on a NULL return. Switching to a GST_WARNING.
17696
17697 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
17698
17699         * gst/gstbin.c: (gst_bin_handle_message_func):
17700         Don't leak clock messages.
17701
17702 2005-11-25  Wim Taymans  <wim@fluendo.com>
17703
17704         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17705         (gst_util_uint64_scale_int):
17706         Optimisations, remove unneeded vars.
17707
17708 2005-11-25  Wim Taymans  <wim@fluendo.com>
17709
17710         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17711         Added more checks for the high precision uint64 cases.
17712
17713         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17714         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17715         Implement high precision (guint64 * guint64) / guint64.
17716
17717 2005-11-24  Wim Taymans  <wim@fluendo.com>
17718
17719         * gst/base/gstbasesrc.c: (gst_base_src_query):
17720         Fix wrong percentage query.
17721
17722         * gst/gstutils.c: (gst_util_uint64_scale),
17723         (gst_util_uint64_scale_int):
17724         Add some more common cases that can be handled 
17725         efficiently to _scale.
17726
17727 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17728
17729         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17730         (gst_mini_object_suite):
17731           don't use check calls from threads; check probably isn't
17732           threadsafe and using a lock to make it threadsafe would
17733           defeat the purpose of this check
17734         * gst/check/gstcheck.c:
17735         * gst/check/gstcheck.h:
17736           use GST_DEBUG some more
17737
17738 2005-11-24  Wim Taymans  <wim@fluendo.com>
17739
17740         * gst/gstutils.c: (gst_util_uint64_scale),
17741         (gst_util_uint64_scale_int):
17742         Chain trivial case to _scale_int.
17743
17744 2005-11-24  Wim Taymans  <wim@fluendo.com>
17745
17746         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17747         Added test for scaling.
17748
17749         * gst/gstclock.h:
17750         Small doc fix.
17751
17752         * gst/gstutils.c: (gst_util_uint64_scale_int):
17753         Implemented high precision scaling code.
17754
17755 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
17756
17757         * gst/gstinfo.h:
17758           do not crash on pad==NULL
17759
17760 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17761
17762         Patch by: Stefan Kost
17763
17764         * common/gtk-doc.mak:
17765         * docs/gst/Makefile.am:
17766         * docs/libs/Makefile.am:
17767           Fix distcheck issues for the libraries docs build
17768           Closes #319599.
17769
17770 2005-11-24  Michael Smith <msmith@fluendo.com>
17771
17772         * docs/manual/basics-helloworld.xml:
17773           Fix bug #315027: memory leak in example code in docs.
17774
17775 2005-11-24  Michael Smith <msmith@fluendo.com>
17776
17777         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17778           Unlock the PREROLL_LOCK in a failure case.
17779
17780 2005-11-24  Wim Taymans  <wim@fluendo.com>
17781
17782         * docs/gst/gstreamer-sections.txt:
17783         * gst/base/gstadapter.h:
17784         * gst/base/gstbasesink.h:
17785         * gst/base/gstbasesrc.h:
17786         * gst/base/gstbasetransform.h:
17787         * gst/base/gstpushsrc.h:
17788         * gst/elements/gstfakesink.h:
17789         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17790         * gst/elements/gstfakesrc.h:
17791         * gst/elements/gstfilesink.h:
17792         * gst/elements/gstfilesrc.h:
17793         * gst/gst.c:
17794         * gst/gstbin.c:
17795         * gst/gstbuffer.c: (_gst_buffer_copy):
17796         * gst/gstbus.h:
17797         * gst/gstcaps.c:
17798         * gst/gstchildproxy.c:
17799         * gst/gstclock.c:
17800         * gst/gstelement.c:
17801         * gst/gstelementfactory.c:
17802         * gst/gstelementfactory.h:
17803         * gst/gstevent.c:
17804         * gst/gstghostpad.h:
17805         * gst/gstindex.h:
17806         * gst/gstinterface.h:
17807         * gst/gstminiobject.c:
17808         * gst/gstminiobject.h:
17809         * gst/gstpad.c:
17810         * gst/gstpad.h:
17811         * gst/gstpadtemplate.h:
17812         * gst/gstpipeline.h:
17813         * gst/gstpluginfeature.h:
17814         * gst/gstquery.h:
17815         * gst/gstqueue.h:
17816         * gst/gsttaglist.c:
17817         * gst/gsttaglist.h:
17818         * gst/gsttagsetter.c:
17819         * gst/gsttagsetter.h:
17820         * gst/gsttrace.c:
17821         * gst/gsttrace.h:
17822         * gst/gsttypefind.h:
17823         * gst/gsturi.h:
17824         * gst/gstvalue.c:
17825         * gst/net/gstnetclientclock.c:
17826         * gst/net/gstnetclientclock.h:
17827         * gst/net/gstnettimepacket.c:
17828         * gst/net/gstnettimeprovider.c:
17829         * gst/net/gstnettimeprovider.h:
17830         Doc fixes.
17831
17832 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17833
17834         * configure.ac: back to HEAD
17835
17836 === release 0.9.6 ===
17837
17838 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
17839
17840         * configure.ac:
17841           releasing 0.9.6, "Always On Time"
17842
17843 2005-11-23  Wim Taymans  <wim@fluendo.com>
17844
17845         * docs/gst/gstreamer-sections.txt:
17846         * gst/glib-compat.c:
17847         * gst/gsttagsetter.c:
17848         * gst/gstvalue.c:
17849         * gst/net/gstnetclientclock.c:
17850         * gst/net/gstnettimepacket.h:
17851         Doc updates.
17852
17853 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17854
17855         * docs/faq/using.xml:
17856         * docs/libs/tmpl/gstcontrol.sgml:
17857         * docs/manual/advanced-dparams.xml:
17858         * docs/manual/appendix-checklist.xml:
17859         * docs/manual/basics-elements.xml:
17860         * docs/pwg/other-source.xml:
17861         * docs/random/moving-plugins:
17862         * gst/gstpad.c:
17863         * tools/gst-launch.1.in:
17864           remove mentions of sinesrc
17865
17866 2005-11-23  Michael Smith <msmith@fluendo.com>
17867
17868         * docs/gst/gstreamer-sections.txt:
17869           Update for new API and API changes.
17870         * gst/gstobject.h:
17871           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17872         * gst/gstvalue.c:
17873           Documentation typo fix.
17874         * gst/net/gstnettimepacket.c:
17875           Documentation fixes for arguments.
17876
17877 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
17878
17879         * gst/gststructure.c: (gst_structure_get_fraction),
17880         (gst_structure_parse_value),
17881         (gst_structure_fixate_field_nearest_fraction):
17882         * gst/gststructure.h:
17883         * gst/gstutils.c: (gst_util_uint64_scale_int):
17884         * gst/gstutils.h:
17885         * scripts/update-funcnames:
17886         API Changes. 
17887         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17888         Make gst_structure_fixate_field_nearest_fraction take a numerator
17889         and denominator argument instead of a GValue
17890         add gst_structure_get_fraction helper function.
17891
17892 2005-11-23  Wim Taymans  <wim@fluendo.com>
17893
17894         * docs/design/part-TODO.txt:
17895         Update TODO.
17896
17897         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17898         * gst/net/gstnetclientclock.h:
17899         Use parent fields for timeout and window_size.
17900
17901 2005-11-23  Andy Wingo  <wingo@pobox.com>
17902
17903         * check/net/gstnetclientclock.c (test_functioning): Adjust to
17904         rate_num/rate_denom change.
17905
17906         * gst/net/gstnetclientclock.c
17907         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17908         OBJECT_LOCK. Don't call add_observation with the lock.
17909
17910         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17911         fraction.
17912         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17913         rate fraction.
17914         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17915         deal with rate as a fraction whose numerator and denominator are
17916         GstClockTime values.
17917         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
17918         master; the other fields are protected by the SLAVE_LOCK.
17919         (do_linear_regression): Note that this must be called with the
17920         SLAVE_LOCK.
17921         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
17922         OBJECT_LOCK. Call set_calibration instead of touching the
17923         variables directly.
17924         (gst_clock_set_property, gst_clock_get_property): Protect
17925         master/slave parameters with the SLAVE_LOCK.
17926
17927         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
17928         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
17929         note that all of the instance variables that add_observation and
17930         the set_master functions use are protected by that lock and not
17931         the OBJECT_LOCK.
17932         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
17933
17934         * gst/gstclock.c (gst_clock_add_observation): No longer requires
17935         the caller to take the object lock.
17936
17937 2005-11-23  Wim Taymans  <wim@fluendo.com>
17938
17939         * gst/gsterror.c: (_gst_core_errors_init):
17940         * gst/gsterror.h:
17941         Add error for clock stuff.
17942
17943         * gst/gstpipeline.c: (gst_pipeline_change_state),
17944         (gst_pipeline_set_clock):
17945         Post clock error when clock cannot be used in a pipeline.
17946
17947 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
17948
17949         * docs/gst/gstreamer-sections.txt:
17950           make two symbols from gstinfo private for the docs
17951         * gst/base/gstcollectpads.h:
17952         * gst/gstutils.c:
17953           fix doc typos, update docs
17954
17955 2005-11-22  Wim Taymans  <wim@fluendo.com>
17956
17957         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17958         (gst_base_sink_wait), (gst_base_sink_do_sync),
17959         (gst_base_sink_handle_event):
17960         * gst/base/gstbasesink.h:
17961         No need to store the clock, the parent element class already
17962         has it.
17963
17964         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
17965         Updates for clock_set returning a gboolean
17966
17967         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
17968         (gst_clock_id_wait_async), (gst_clock_class_init),
17969         (gst_clock_init), (gst_clock_finalize),
17970         (gst_clock_get_internal_time), (gst_clock_get_time),
17971         (gst_clock_slave_callback), (gst_clock_set_master),
17972         (gst_clock_get_master), (do_linear_regression),
17973         (gst_clock_add_observation), (gst_clock_set_property),
17974         (gst_clock_get_property):
17975         * gst/gstclock.h:
17976         Implement master/slave. When setting a clock as a slave, a
17977         periodic timeout is scheduled to sample master and slave times.
17978         Then the slave clock is recalibrated to match offset and rate
17979         of the master clock.
17980         Update logging a bit.
17981         Add flag so that a clock can state that is cannot be slaved to
17982         another clock.
17983
17984         * gst/gstelement.c: (gst_element_set_clock):
17985         * gst/gstelement.h:
17986         The set clock returns a gboolean for when an element cannot
17987         deal with the selected clock in the pipeline. 
17988
17989         * gst/gstpipeline.c: (gst_pipeline_change_state),
17990         (gst_pipeline_set_clock):
17991         * gst/gstpipeline.h:
17992         Handle the case where the selected clock cannot be set on
17993         the pipeline.
17994
17995         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
17996         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
17997         (gst_net_client_clock_set_property),
17998         (gst_net_client_clock_get_property),
17999         (gst_net_client_clock_observe_times):
18000         * gst/net/gstnetclientclock.h:
18001         Use regression code in GstClock parent, remove duplicated
18002         functionality.
18003
18004 2005-11-22  Michael Smith <msmith@fluendo.com>
18005
18006         * gst/gstutils.c: (gst_util_clock_time_scale):
18007         * gst/gstutils.h:
18008         * docs/gst/gstreamer-sections.txt:
18009           Rename method to have extra underscore.
18010
18011 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18012
18013         * gst/elements/Makefile.am:
18014         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18015         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18016         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18017         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18018         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18019         * gst/elements/gstfakesrc.h:
18020         * gst/gstqueue.c: (queue_leaky_get_type):
18021           correctly fix GEnumValues so that nick is the short lowercase
18022           dashed tag
18023         * tools/gst-inspect.c: (print_element_properties_info):
18024           also show the nick, since it's useful to use from parse_launch
18025           syntax
18026           Fixes #322139
18027
18028 2005-11-22  Michael Smith <msmith@fluendo.com>
18029
18030         * gst/gstutils.c: (gst_util_clocktime_scale):
18031         * gst/gstutils.h:
18032         * docs/gst/gstreamer-sections.txt:
18033           Add util method for scaling a clocktime by a fraction. Useful 
18034           implementation is left as an exercise for the reader.
18035
18036 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18037
18038         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18039         If needed, allocate storage in the destination value during
18040         collection.
18041
18042 2005-11-22  Edward Hervey  <edward@fluendo.com>
18043
18044         * docs/gst/gstreamer-sections.txt:
18045         * gst/Makefile.am:
18046         * gst/gst.h:
18047         * gst/gsturitype.c:
18048         * gst/gsturitype.h:
18049         * gst/gstutils.c: (gst_util_set_object_arg):
18050         * tools/gst-compprep.c: (main):
18051         * tools/gst-inspect.c: (print_element_properties_info):
18052         Removed GstURI, closes bug #321061
18053
18054 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18055
18056         * check/gst/gststructure.c: (GST_START_TEST):
18057         * gst/gststructure.c: (gst_structure_parse_value):
18058           Oops, broke automatic string type parsing.
18059           Add a test to catch it in future.
18060
18061 2005-11-22  Andy Wingo  <wingo@pobox.com>
18062
18063         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18064         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18065         Actually rename the function implementations. Grr.
18066
18067 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18068
18069         * check/gst/capslist.h:
18070           Comment test cases
18071         * check/gst/gststructure.c: (GST_START_TEST),
18072         (gst_structure_suite):
18073           Test automatic value type detection in gst_structure_from_string.
18074         * gst/gststructure.c: (gst_structure_parse_value):
18075           Add fraction as a type we try and guess automatically in
18076           caps/structure strings.
18077
18078 2005-11-22  Andy Wingo  <wingo@pobox.com>
18079
18080         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18081
18082         * gst/gsttagsetter.h:
18083         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18084         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18085         (gst_tag_setter_add_tag_valist)
18086         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18087         _add_values, _add_valist, and _add_valist_values. Since this is an
18088         interface the function suffixes should be more explicit so
18089         language binding don't end up with element.add_valist ->
18090         gst_tag_setter_add_valist, for example. Fixes #322069.
18091
18092 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18093
18094         * check/gst/gstcaps.c: (GST_START_TEST):
18095           Extend caps string tests to check that a caps to string
18096           conversion is reversible and produces the same caps.
18097
18098         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18099           Output "fraction" as the generic type fraction range, so caps
18100           serialisation and deserialisation works.
18101         * check/gst/capslist.h:
18102         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18103           Support 'MIN' and 'MAX' for deserialising fractions.
18104
18105 2005-11-22  Andy Wingo  <wingo@pobox.com>
18106
18107         * gst/gstevent.h (gst_event_new_new_segment)
18108         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18109         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18110         Renamed from *_newsegment, *_buffersize, *_notarget.
18111
18112         * scripts/update-funcnames: New script, performs the changes
18113         listed above.
18114
18115 2005-11-22  Wim Taymans  <wim@fluendo.com>
18116
18117         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18118         Make sure the GstFlowReturn is returned.
18119
18120         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18121         (gst_bus_add_signal_watch):
18122         * gst/gstbus.h:
18123         add gst_bus_add_signal_watch_full.
18124
18125         * gst/gstplugin.c: (gst_plugin_load_file):
18126         Small style cleanup.
18127
18128 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18129
18130         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18131           Block the fakesrc srcpad when we send an event, to avoid
18132           contention on the stream_lock causing random test failures.
18133
18134 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18135
18136         * check/gst/gstvalue.c: (GST_START_TEST):
18137         * gst/gstvalue.c: (gst_value_fraction_subtract):
18138           Fix subtraction.
18139
18140 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18141
18142         * gst/gst.h:
18143           include "gstchildproxy.h"
18144         * gst/gstchildproxy.h:
18145         * libs/gst/controller/gstcontroller.h:
18146           use G_GNUC_NULL_TERMINATED
18147
18148 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18149
18150         * check/gst/capslist.h:
18151         * check/gst/gstcaps.c: (GST_START_TEST):
18152         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18153         * gst/gststructure.c: (gst_structure_parse_range),
18154         (gst_structure_fixate_field_nearest_fraction):
18155         * gst/gststructure.h:
18156         * gst/gstvalue.c: (gst_value_init_fraction_range),
18157         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18158         (gst_value_collect_fraction_range),
18159         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18160         (gst_value_set_fraction_range_full),
18161         (gst_value_get_fraction_range_min),
18162         (gst_value_get_fraction_range_max),
18163         (gst_value_serialize_fraction_range),
18164         (gst_value_transform_fraction_range_string),
18165         (gst_value_compare_fraction_range),
18166         (gst_value_deserialize_fraction_range),
18167         (gst_value_intersect_fraction_fraction_range),
18168         (gst_value_intersect_fraction_range_fraction_range),
18169         (gst_value_subtract_fraction_fraction_range),
18170         (gst_value_subtract_fraction_range_fraction),
18171         (gst_value_subtract_fraction_range_fraction_range),
18172         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18173         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18174         (gst_value_transform_string_fraction), (_gst_value_initialize):
18175         * gst/gstvalue.h:
18176           Implement fraction ranges and extend GstFraction to support
18177           arithmetic subtraction, as well as deserialization from integer
18178           strings such as "100"
18179           Add a testsuite as for int and double range set operations
18180
18181 2005-11-21  Andy Wingo  <wingo@pobox.com>
18182
18183         * gst/gsttaglist.h: 
18184         * gst/gstcaps.h: 
18185         * gst/gststructure.h: Add glib-compat.h.
18186
18187 2005-11-21  Wim Taymans  <wim@fluendo.com>
18188
18189         * gst/gstbin.c: (gst_bin_change_state_func):
18190         Fix for #321595
18191
18192 2005-11-21  Wim Taymans  <wim@fluendo.com>
18193
18194         * gst/gstsegment.h:
18195         And add a nice define too.
18196
18197 2005-11-21  Wim Taymans  <wim@fluendo.com>
18198
18199         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18200         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18201         (gst_segment_set_duration), (gst_segment_set_last_stop),
18202         (gst_segment_set_seek), (gst_segment_set_newsegment),
18203         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18204         (gst_segment_clip):
18205         * gst/gstsegment.h:
18206         Make binding friendly.
18207
18208 2005-11-21  Andy Wingo  <wingo@pobox.com>
18209
18210         * gst/gsttagsetter.h: 
18211         * gst/gsttaglist.h: 
18212         * gst/gststructure.h: 
18213         * gst/gstcaps.h: 
18214         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18215         #319940.
18216
18217         * gst/gsterror.c (_gst_core_errors_init):
18218         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18219         category.
18220
18221         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18222         (noinst_HEADERS): noinst the -private.
18223
18224 2005-11-21  Michael Smith <msmith@fluendo.com>
18225
18226         * gst/gstplugin.h:
18227         * gst/gstregistry.h:
18228           Remove unimplemented declarations for which we can see no sensible
18229           use.
18230
18231 2005-11-21  Andy Wingo  <wingo@pobox.com>
18232
18233         * gst/gst.h: Include glib-compat.h.
18234
18235         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18236
18237         * gst/glib-compat.c: Include the public and the private header.
18238
18239         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18240
18241         * gst/gstvalue.c: 
18242         * gst/gstpad.c: 
18243         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18244
18245         * check/gst/gstevent.c (create_custom_events): Check that
18246         FLUSH_STOP is serialized.
18247
18248         * check/elements/identity.c (event_func): 
18249         * check/elements/fakesrc.c (event_func): No stream lock, the core
18250         takes it.
18251
18252         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18253         stream lock taking, yay.
18254
18255         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18256         ensure that core takes the stream lock.
18257
18258         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18259         lock name change.
18260
18261         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18262         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18263         it already. For the flush start we do take it though so we get the
18264         right preroll state change messages.
18265
18266         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18267         the stream lock here, the core does it for us.
18268
18269         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18270         GST_STREAM_GET_LOCK.
18271         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18272         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18273         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18274         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18275         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18276         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18277
18278         * gst/gstpad.c: Update for stream lock name change.
18279
18280         * gst/base/gstbasesink.c: Update for preroll lock name change.
18281
18282 2005-11-21  Wim Taymans  <wim@fluendo.com>
18283
18284         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18285         (gst_clock_get_master):
18286         * gst/gstclock.h:
18287         * gst/gstsystemclock.c: (gst_system_clock_init):
18288         Convert Clock flags to object flags.
18289         Added methods to manage master/slave clocks.
18290
18291 2005-11-21  Wim Taymans  <wim@fluendo.com>
18292
18293         * check/gst/gstsegment.c: (GST_START_TEST):
18294         * docs/design/part-TODO.txt:
18295         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18296         (gst_base_sink_event), (gst_base_sink_do_sync),
18297         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18298         (gst_base_sink_query), (gst_base_sink_change_state):
18299         * gst/base/gstbasesink.h:
18300         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18301         (gst_base_src_default_newsegment),
18302         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18303         (gst_base_src_get_range), (gst_base_src_loop),
18304         (gst_base_src_change_state):
18305         * gst/base/gstbasesrc.h:
18306         * gst/base/gstbasetransform.c:
18307         (gst_base_transform_prepare_output_buf),
18308         (gst_base_transform_event), (gst_base_transform_change_state):
18309         * gst/base/gstbasetransform.h:
18310         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18311         (gst_collect_pads_event):
18312         * gst/base/gstcollectpads.h:
18313         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18314         (gst_fake_src_create):
18315         * gst/elements/gstfakesrc.h:
18316         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18317         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18318         (gst_segment_set_last_stop), (gst_segment_set_seek),
18319         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18320         (gst_segment_to_running_time), (gst_segment_clip):
18321         * gst/gstsegment.h:
18322         More segment updates, replace code in plugins with segment
18323         helper functions.
18324
18325 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18326
18327         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18328         Don't ignore sscanf results
18329
18330 2005-11-21  Andy Wingo  <wingo@pobox.com>
18331
18332         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18333
18334         * *.h:
18335         * *.c: Ran scripts/update-macros. Oh yes.
18336
18337         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18338         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18339         GST_GET_LOCK, etc.
18340
18341         * scripts/update-macros: New script. Run it on your files to
18342         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18343         well.
18344
18345 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18346
18347         * docs/gst/Makefile.am:
18348         * docs/gst/gstreamer-docs.sgml:
18349         * docs/gst/gstreamer-sections.txt:
18350         * docs/gst/gstreamer.types:
18351         * gst/gstinfo.h:
18352           more docs fixes, add new api to the docs
18353
18354 2005-11-21  Andy Wingo  <wingo@pobox.com>
18355
18356         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18357         state_broadcast call.
18358
18359         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18360
18361 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18362
18363         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18364         function calls for arrays.
18365
18366 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18367
18368         * docs/random/ensonic/media-device-daemon.txt:
18369           wild idea, can this be done?
18370         * docs/gst/gstreamer-sections.txt:
18371         * gst/gsterror.h:
18372         * gst/gstfilter.c:
18373         * gst/gstfilter.h:
18374         * gst/gstplugin.h:
18375         * gst/gstpluginfeature.c:
18376         * gst/gsttrace.c:
18377         * gst/gstvalue.c:
18378         * gst/gstvalue.h:
18379           doc fixes and additions
18380
18381 2005-11-21  Andy Wingo  <wingo@pobox.com>
18382
18383         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18384         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18385         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18386         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18387         private to the basesrc implementation.
18388
18389         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18390         behalf of event function if necessary. It should no longer be
18391         necessary to take the stream lock in pad's event functions. Fixes
18392         #320299.
18393
18394 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18395         * docs/gst/gstreamer-sections.txt:
18396         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18397         (gst_structure_fixate_field_nearest_double),
18398         (gst_structure_fixate_field_boolean):
18399         * gst/gststructure.h:
18400         * win32/common/libgstreamer.def:
18401         * win32/gstreamer.def:
18402
18403         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18404         (#322027)
18405
18406 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18407
18408         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18409         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18410         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18411         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18412         (gst_fdsrc_uri_handler_init):
18413         * gst/elements/gstfdsrc.h:
18414           Port fd:// URI handler from 0.8 to fdsrc
18415
18416 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18417
18418         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18419         (gst_value_serialize_fourcc):
18420         * gst/gstvalue.h:
18421           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18422           consistent with our other format defines (#320324).
18423
18424 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18425
18426         * gst/gstvalue.c: (gst_value_is_fixed):
18427           Revert previous commit. Value lists are by definition
18428           not fixed, as they are a list of possible values.
18429
18430 2005-11-21  Andy Wingo  <wingo@pobox.com>
18431
18432         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18433         during the stable series if we need it. Fixes #319178.
18434
18435         * gst/gstevent.c (gst_event_new_filler): Removed.
18436
18437         * check/gst/gstevent.c: Update comment about filler events.
18438
18439 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18440
18441         * gst/gstvalue.c: (gst_value_is_fixed):
18442           Should handle both value arrays and value lists.
18443
18444 2005-11-21  Andy Wingo  <wingo@pobox.com>
18445
18446         patch by: Alessandro Dessina <alessandro nnva org>
18447
18448         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18449         functions to access arrays. Fixes #321962.
18450
18451 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18452
18453         * docs/gst/gstreamer.types:
18454           gst_collectpads_get_type => gst_collect_pads_get_type.
18455           
18456         * gst/base/gstbasetransform.c:
18457           Remove unused SIGNAL_HANDOFF enum.
18458
18459 2005-11-21  Andy Wingo  <wingo@pobox.com>
18460
18461         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18462         the event type (upstream, downstream, serialized). Renamed
18463         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18464         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18465         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18466
18467         * gst/gstevent.c: Update for new CUSTOM event names.
18468
18469         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18470
18471         * gst/gstevent.h:
18472         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18473         bug #319392.
18474
18475 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18476
18477         * docs/gst/gstreamer-sections.txt:
18478         * win32/common/libgstbase.def:
18479         * win32/libgstbase.def:
18480         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18481         (gst_collect_pads_class_init), (gst_collect_pads_init),
18482         (gst_collect_pads_finalize), (gst_collect_pads_new),
18483         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18484         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18485         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18486         (gst_collect_pads_start), (gst_collect_pads_stop),
18487         (gst_collect_pads_peek), (gst_collect_pads_pop),
18488         (gst_collect_pads_available), (gst_collect_pads_read),
18489         (gst_collect_pads_flush), (gst_collect_pads_event),
18490         (gst_collect_pads_chain):
18491         * gst/base/gstcollectpads.h:
18492           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18493           unimplemented functions as unimplemented. Add padding to
18494           GstCollectData. (#320766, #320423)
18495
18496 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18497
18498         * gst/gstmessage.c:
18499           Improve docs for DURATION message (usage of duration parameter)
18500           (#320113)
18501
18502 2005-11-20  Wim Taymans  <wim@fluendo.com>
18503
18504         * check/Makefile.am:
18505         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18506         (main):
18507         * gst/Makefile.am:
18508         * gst/gst.h:
18509         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18510         (gst_segment_set_seek), (gst_segment_set_newsegment),
18511         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18512         (gst_segment_clip):
18513         * gst/gstsegment.h:
18514         Added segment helper structure and methods. Not fully implemented
18515         yet.
18516         Added segment check.
18517
18518 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18519
18520         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18521           Add a deserialisation test for fractions
18522         * examples/metadata/read-metadata.c: (message_loop),
18523         (make_pipeline), (main):
18524           Fix up metadata reading sample.
18525         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18526           Debug format fix
18527         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18528           Don't try and fixate empty caps
18529         * gst/gst_private.h:
18530           Wrap in G_BEGIN_DECLS/G_END_DECLS
18531         * gst/gstvalue.c: (gst_value_collect_fraction),
18532         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18533         (gst_value_transform_string_fraction),
18534         (gst_value_compare_fraction):
18535           Add some extra guards to ensure that we don't end up 
18536           with an invalid denominator of 0 in a gstfraction and
18537           that fractions always get reduced.
18538
18539 2005-11-20  Wim Taymans  <wim@fluendo.com>
18540
18541         * docs/gst/gstreamer-sections.txt:
18542         * gst/gstbuffer.h:
18543         * gst/gstelement.c:
18544         * gst/gstformat.c:
18545         * gst/gstformat.h:
18546         * gst/gstindex.h:
18547         * gst/gstquery.c:
18548         * gst/gstquery.h:
18549         * gst/gstvalue.c:
18550         Doc fixes.
18551
18552 2005-11-20  Wim Taymans  <wim@fluendo.com>
18553
18554         * docs/design/part-TODO.txt:
18555         * gst/gstcaps.h:
18556         Make a proper enum of the flag.
18557
18558 2005-11-19  Wim Taymans  <wim@fluendo.com>
18559
18560         * docs/design/part-TODO.txt:
18561         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18562         (gst_format_to_quark), (gst_format_register):
18563         * gst/gstformat.h:
18564         * gst/gstquery.c: (_gst_query_initialize),
18565         (gst_query_type_get_name), (gst_query_type_to_quark),
18566         (gst_query_type_register):
18567         * gst/gstquery.h:
18568         Add type to quark and type to string conversions.
18569
18570 2005-11-19  Andy Wingo  <wingo@pobox.com>
18571
18572         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18573         #320097.
18574
18575 2005-11-19  Wim Taymans  <wim@fluendo.com>
18576
18577         * docs/design/part-TODO.txt:
18578         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18579         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18580         (gst_bin_handle_message_func):
18581         * gst/gstbin.h:
18582         Make message handling overridable.
18583
18584 2005-11-19  Andy Wingo  <wingo@pobox.com>
18585
18586         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18587
18588         * gst/gstclock.h:
18589         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18590         be a GstClockTime.
18591         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18592         is a GstClockTime. Fixes #321710.
18593
18594         * gst/gstclock.h (GstClock): Remove offset property. Add
18595         internal_calibration and external_calibration. Fix padding. Pad
18596         also by GstClockTime so we don't run into problems.
18597
18598         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18599         (gst_clock_get_rate_offset): Remove.
18600         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18601
18602         * gst/gstutils.h:
18603         * gst/gstutils.c (g_static_rec_cond_wait)
18604         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18605
18606         * gst/gstbin.c: Remove terrible continue_state prototype.
18607
18608         * gst/gstelement.h (gst_element_continue_state): Make public.
18609
18610         * gst/gstelement.h:
18611         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18612         by continue_state. Fixes #319389.
18613
18614         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18615         Really fixes #168438. However I don't see anywhere where the
18616         filter function is called... stupid GStreamer...
18617         
18618         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18619         don't have a dispose function, so it won't get called when the
18620         object is unreffed, but oh well!
18621
18622         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18623         allows a destroy function to be set so user_data can be freed.
18624         Fixes #168438.
18625         (gst_index_set_filter): Call gst_index_set_filter_full.
18626
18627         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18628
18629         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18630         string should produce an error, given the lack of a way to
18631         represent NULL strings. Fixes #165650.
18632         
18633         * gst/gstvalue.h: 
18634         * gst/gstvalue.c (gst_value_array_append_value) 
18635         (gst_value_array_prepend_value, gst_value_array_get_size) 
18636         (gst_value_array_get_value): New API, copied from
18637         gst_value_list_*, only operates on arrays.
18638         (gst_value_list_append_value, gst_value_list_prepend_value) 
18639         (gst_value_list_concat, gst_value_list_get_size) 
18640         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18641
18642         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18643         init_list, because it works on both.
18644         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18645         (gst_value_copy_list_or_array): Renamed from copy_list.
18646         (gst_value_free_list_or_array): Renamed from free_list.
18647         (gst_value_collect_list_or_array): Renamed from collect_list.
18648         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18649         (gst_value_list_or_array_peek_pointer): Renamed from
18650         list_peek_pointer.
18651         (_gst_value_array_value_table, _gst_value_list_value_table):
18652         Update value table functions.
18653         (gst_value_compare_list_or_array): Renamed from compare_list.
18654
18655         * gsttaglist.h: Whoops, foreach function returns void. Also fix
18656         some constness.
18657
18658         * gst/gsttaglist.c:
18659         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18660         GstTagList*. Fixes #143472.
18661
18662         * gst/gststructure.h: Clarify what the foreach/map functions can
18663         or can't do to their arguments.
18664
18665 2005-11-18  Wim Taymans  <wim@fluendo.com>
18666
18667         * gst/gstclock.c: (gst_clock_set_calibration),
18668         (gst_clock_get_calibration):
18669         Doc and API fixes.
18670         Calibration can be set with internal time equal to current
18671         internal time too.
18672
18673 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18674
18675         * gst/gsterror.c:
18676         * gst/gsterror.h:
18677           document
18678
18679 2005-11-18  Andy Wingo  <wingo@pobox.com>
18680
18681         * configure.ac: 
18682         * pkgconfig/gstreamer-net.pc.in:
18683         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18684         * pkgconfig/Makefile.am: Add net pkgconfig files.
18685
18686 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
18687
18688         * gst/gstcaps.c:
18689         * gst/gstghostpad.c:
18690         * gst/gsttrace.c:
18691         * gst/gstvalue.c:
18692         * gst/gstvalue.h:
18693           docs fixes
18694
18695 2005-11-18  Andy Wingo  <wingo@pobox.com>
18696
18697         * gst/net/gstnetclientclock.c: Turn off debugging.
18698
18699         * check/net/gstnetclientclock.c (test_functioning): Assert that the
18700         times connverge somewhat. Can't make a real test.
18701
18702         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18703         integer arithmetic. Return the minimum of the domain, which can be
18704         set as "internal" for gst_clock_set_calibration.
18705         (gst_net_client_clock_observe_times): Call _set_calibration.
18706         (gst_net_client_clock_new): Call _set_calibration instead of
18707         rate_offset.
18708
18709         * check/net/gstnetclientclock.c (test_functioning): Use the right
18710         adjustment api.
18711
18712         * gst/gstclock.h:
18713         * gst/gstclock.c (gst_clock_get_calibration) 
18714         (gst_clock_set_calibration): New functions, obsolete the ones I
18715         added yesterday. Doh. Precision issues mean we have to extrapolate
18716         from a point in the more recent past than 1970.
18717         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18718         obsolete.
18719         (gst_clock_adjust_unlocked): Use the right calibration data.
18720
18721 2005-11-18  Edward Hervey  <edward@fluendo.com>
18722
18723         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
18724         Also reset the ->current_* values in READY->PAUSED
18725
18726 2005-11-18  Andy Wingo  <wingo@pobox.com>
18727
18728         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18729         Whoops, check the right fd. Also add some debugging.
18730         (gst_net_client_clock_observe_times): Adjust for int64 offset.
18731         (do_linear_regression): Add a crapload of debugging. Subtract off
18732         the minimum values from the input series to discard unneeded bits.
18733         Use only int arithmetic. There is still double arithmetic when
18734         calculating the intercept that needs fixing. Return boolean to
18735         indicate success; FALSE would mean the domain or range is too
18736         great. Still needs fixes.
18737
18738 2005-11-18  Wim Taymans  <wim@fluendo.com>
18739
18740         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18741         For the current position in stream time, we need to subtract
18742         accumulated time.
18743         
18744         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18745         Release lock before calling the callback function of async
18746         entries.
18747
18748 2005-11-18  Andy Wingo  <wingo@pobox.com>
18749
18750         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18751         Port goes all the way to MAXUINT16.
18752
18753         * gst/net/gstnettimeprovider.c: Make the port range the same as
18754         for the kernel: 0 assigns, otherwise ports are less than
18755         MAXUINT16.
18756
18757         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18758         port change.
18759
18760         * check/net/gstnetclientclock.c (test_functioning): Add the start
18761         of another test. 
18762
18763 2005-11-18  Wim Taymans  <wim@fluendo.com>
18764
18765         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18766         (gst_bin_remove_func), (bin_bus_handler):
18767         * gst/gstbin.h:
18768         Removing a clock provider from a bin, triggers a clock lost message
18769         so that a new clock will be selected.
18770         Adding a clock to a bin triggers a clock provider message.
18771         Make sure we reselect a clock when we received a clock lost message.
18772         Keep a reference to the element that provided the clock.
18773
18774 2005-11-18  Andy Wingo  <wingo@pobox.com>
18775
18776         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18777         the clock initially so it produces values around the base time.
18778         (gst_net_client_clock_class_init): Typo fix.
18779         (gst_net_client_clock_thread): Add note on when the socket gets
18780         closed.
18781
18782 2005-11-17  Wim Taymans  <wim@fluendo.com>
18783
18784         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18785         Free remote and local time arrays.
18786
18787 2005-11-17  Wim Taymans  <wim@fluendo.com>
18788
18789         * gst/net/gstnetclientclock.c: (do_linear_regression),
18790         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18791         Fix compilation, uninitialized vars and a forgotten continue.
18792
18793 2005-11-17  Andy Wingo  <wingo@pobox.com>
18794
18795         * check/Makefile.am (check_PROGRAMS): 
18796         * check/net/gstnetclientclock.c: Add a most minimal test for the
18797         net client clock. More to come later.
18798
18799         * gst/net/gstnet.h: 
18800         * gst/net/Makefile.am: Add netclientclock.
18801
18802         * gst/net/gstnetclientclock.h:
18803         * gst/net/gstnetclientclock.c: New files, implement an untested
18804         GstClock that takes its time from a network time provider.
18805         Implements the algorithm in network-clock.scm.
18806
18807         * tests/network-clock.scm (*window-size*): Rename from
18808         *queue-length*.
18809         * tests/network-clock.scm (network-time): 
18810         * tests/network-clock-utils.scm (q-push): Update callers.
18811
18812 2005-11-17  Wim Taymans  <wim@fluendo.com>
18813
18814         * gst/gstbin.c: (gst_bin_provide_clock_func),
18815         (gst_bin_sort_iterator_new):
18816         And unref the child too..
18817
18818 2005-11-17  Wim Taymans  <wim@fluendo.com>
18819
18820         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18821         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18822         Refactor the sort iterator so it can be used while holding the
18823         LOCK too.
18824         Make clock selection select a clock closest to the source.
18825
18826 2005-11-17  Michael Smith <msmith@fluendo.com>
18827
18828         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18829         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18830         * gst/gstclock.h:
18831           Anonymous structs are a gcc (and some other compilers) extension, so
18832           don't use them. Since this is only for ABI-compatibility, and our
18833           API/ABI freeze is over in a few days, this whole thing will only
18834           last a few days, so don't bother trying to think up a meaningful
18835           name for the struct.
18836
18837 2005-11-17  Andy Wingo  <wingo@pobox.com>
18838
18839         * gst/gstclock.h (GstClock): Add rate and offset properties,
18840         preserving ABI stability. Add rate/offset accessors. Will file bug
18841         for the freeze break.
18842
18843         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18844         and offset, trying to keep precision and avoiding
18845         underflow/overflow.
18846         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18847         functions. Make gst_clock_set_time_adjust obsolete.
18848         (gst_clock_set_time_adjust): Note that this function is obsolete.
18849         Will file bug soon.
18850
18851         * gst/base/gstbasetransform.h: Make the ABI-stability hack
18852         greppable by using GST_PADDING-1+1.
18853
18854 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
18855
18856         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18857
18858         * gst/gstmessage.c: (gst_message_parse_clock_lost):
18859           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18860
18861         * gst/gstpadtemplate.h:
18862         * gst/gstpluginfeature.h:
18863           Don't use c++ style comments in headers (#321638).
18864
18865 2005-11-16  Andy Wingo  <wingo@pobox.com>
18866
18867         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18868         buffer.
18869
18870         * check/net/gstnettimeprovider.c: Check to see that the time
18871         provider actually provides times. Works, yo!
18872
18873 2005-11-16  Wim Taymans  <wim@fluendo.com>
18874
18875         * check/Makefile.am:
18876         Enable more tests.
18877
18878         * check/elements/fakesrc.c: (GST_START_TEST):
18879         Set element to NULL before disposing it.
18880
18881 2005-11-16  Andy Wingo  <wingo@pobox.com>
18882
18883         * gst/net/Makefile.am:
18884         * gst/net/gstnet.h:
18885         * gst/net/gstnettimeprovider.c: 
18886         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18887         provider, include it from gstnet.h, and add it to the build.
18888
18889         * gst/net/gstnettimepacket.h: 
18890         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18891         sending and receiving.
18892
18893 2005-11-16  Wim Taymans  <wim@fluendo.com>
18894
18895         * check/Makefile.am:
18896         Enable valgrind check.
18897
18898         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18899         (gst_fake_src_alloc_buffer):
18900         Fix memleak.
18901
18902 2005-11-16  Wim Taymans  <wim@fluendo.com>
18903
18904         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18905         Call parent finalize too.
18906
18907 2005-11-16  Wim Taymans  <wim@fluendo.com>
18908
18909         * check/Makefile.am:
18910         Enable valgrind check that should work fine now.
18911
18912         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18913         * gst/gstqueue.c: (gst_queue_init):
18914         Fix memleaks in pad allocation.
18915
18916 2005-11-16  Andy Wingo  <wingo@pobox.com>
18917
18918         * gst/net/Makefile.am:
18919         * gst/net/gstnet.h: New part of core to hold network elements and
18920         objects. Put in core because it exposes API that applications want
18921         to use. The library is named libgstnet-tempname right now because
18922         of the existing libgstnet in gst-plugins-base. Solution is
18923         probably to rename the one in plugins-base; will file a bug for
18924         the freeze break.
18925
18926         * gst/net/gstnettimeprovider.c: 
18927         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
18928         get_time call over the network.
18929
18930         * configure.ac: 
18931         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
18932
18933         * check/Makefile.am:
18934         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
18935         get additions shortly.
18936
18937 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18938
18939         * gst/gstpad.c: (gst_pad_new_from_static_template):
18940         * gst/gstpad.h:
18941           add gst_pad_new_from_static_template functions
18942         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
18943         (gst_check_setup_sink_pad):
18944         * gst/elements/gsttee.c: (gst_tee_init):
18945           and use them
18946
18947 2005-11-16  Wim Taymans  <wim@fluendo.com>
18948
18949         * gst/gstpad.c: (gst_pad_pause_task):
18950         Removed warning, it's not really an error either.
18951
18952 2005-11-16  Wim Taymans  <wim@fluendo.com>
18953
18954         * gst/base/gstbasetransform.c:
18955         (gst_base_transform_prepare_output_buf),
18956         (gst_base_transform_event):
18957         Check if the caps are NULL, this can happen if the element
18958         is shutting down and the pad caps are set to NULL.
18959
18960 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18961
18962         * gst/elements/gsttee.c: (gst_tee_init):
18963           fix pad template leak in tee
18964
18965 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18966
18967         * gst/glib-compat.c: (g_value_dup_gst_object):
18968         * gst/glib-compat.h:
18969         * gst/gstpad.c: (gst_pad_set_property):
18970           use gst_object_ref when setting the pad template; this will
18971           trigger the pad template leaks on GLib 2.6 and the slaves
18972
18973 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18974
18975         * gst/glib-compat.c: (gst_flags_get_first_value):
18976         * gst/glib-compat.h:
18977         * gst/gstregistryxml.c:
18978           remove functions copied from GLib 2.6
18979
18980 2005-11-16  Michael Smith <msmith@fluendo.com>
18981
18982         * gst/Makefile.am:
18983           Don't link against VALGRIND_LIBS. That was always the wrong thing to
18984           do, but only breaks with newer valgrind versions. We're not a
18985           valgrind tool, we have no link-time dependencies on libcoregrind.
18986
18987 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18988
18989         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18990           some debug changes
18991         * gst/gstmessage.h:
18992           typo fixes
18993
18994 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18995
18996         * gst/base/gstbasesrc.c: (gst_base_src_init):
18997         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18998         * gst/gstqueue.c: (gst_queue_init):
18999         * gst/gstregistryxml.c: (load_feature):
19000           Revert all these unrefs, they don't even pass make check !
19001
19002 2005-11-15  Johan Dahlin  <johan@gnome.org>
19003
19004         * gst/base/gstbasesrc.c: (gst_base_src_init):
19005         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19006         * gst/gstqueue.c: (gst_queue_init): 
19007         Free pad templates, fixes a couple of leaks.
19008
19009 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19010
19011         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19012
19013         * gst/gstpad.c: (gst_pad_get_property):
19014           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19015           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19016           (#321452)
19017
19018 2005-11-15  Wim Taymans  <wim@fluendo.com>
19019
19020         * gst/gstevent.c:
19021         Small doc update.
19022
19023 2005-11-15  Andy Wingo  <wingo@pobox.com>
19024
19025         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19026
19027         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19028         using GST_CLOCK_TIME_NONE to disable base time management.
19029         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19030         time if it was NONE before.
19031         (gst_pipeline_change_state): Only munge the base time if
19032         stream_time != GST_CLOCK_TIME_NONE.
19033
19034         * check/gst/gstpipeline.c (test_base_time): Punt around the
19035         problem of the probe not being called, because that's not the
19036         issue I'm looking at. Add a check that setting stream_time to NONE
19037         disables base time management.
19038         
19039 2005-11-15  Wim Taymans  <wim@fluendo.com>
19040
19041         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19042         segment_stop == -1 at startup.
19043
19044         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19045         (gst_base_transform_change_state):
19046         Init segment values at start.
19047
19048 2005-11-15  Wim Taymans  <wim@fluendo.com>
19049
19050         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19051         0 segment values are 0 in any format.
19052
19053         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19054         * gst/base/gstbasetransform.h:
19055         Parse newsegment correctly in basetransform
19056
19057         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19058         Sync to clock using updated segment values.
19059
19060 2005-11-15  Andy Wingo  <wingo@pobox.com>
19061
19062         * check/gst/gstpipeline.c (test_base_time): Add check that the
19063         base time and stream time are reset correctly.
19064
19065 2005-11-15  Wim Taymans  <wim@fluendo.com>
19066
19067         * docs/design/part-TODO.txt:
19068         Some more TODO items.
19069
19070 2005-11-15  Andy Wingo  <wingo@pobox.com>
19071
19072         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19073         error if the user selected "no clock" as the clocking method.
19074
19075         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19076         timestamps with live capture.
19077
19078         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19079         is 0 but we are a live source, timestamp the buffers using the
19080         element's clock.
19081
19082 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19083
19084         * docs/gst/gstreamer-sections.txt:
19085         * gst/gsterror.c:
19086         * gst/gstghostpad.c:
19087         * gst/gstobject.h:
19088         * gst/gstxml.c:
19089           more section docs
19090
19091 2005-11-14  Wim Taymans  <wim@fluendo.com>
19092
19093         * common/gst.supp:
19094           add suppressions from Wim's Debian machine
19095
19096 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19097
19098         * common/gst.supp:
19099           add suppressions from Andy's AMD64 Ubuntu machine
19100
19101 2005-11-14  Andy Wingo  <wingo@pobox.com>
19102
19103         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19104         STATE_LOCK not necessary. Fixes #311489.
19105
19106         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19107         #305291.
19108
19109         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19110         this function is not implemented.
19111
19112 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19113
19114         * gst/base/gstbasetransform.c:
19115         (gst_base_transform_prepare_output_buf):
19116         Ref the source pad caps while we need them.
19117         Fixes (#321386)
19118
19119 2005-11-11  Wim Taymans  <wim@fluendo.com>
19120
19121         * docs/gst/gstreamer-sections.txt:
19122         Added some docs for GstCollectData.
19123
19124         * gst/base/gstadapter.c:
19125         Some small code example fix.
19126
19127         * gst/base/gstcollectpads.c:
19128         * gst/base/gstcollectpads.h:
19129         Document some more.
19130
19131 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19132
19133         * configure.ac: back to HEAD
19134
19135 === release 0.9.5 ===
19136
19137 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19138
19139         * configure.ac:
19140           releasing 0.9.5, "Bike Lunch Day"
19141
19142 2005-11-11  Wim Taymans  <wim@fluendo.com>
19143
19144         * gst/gstbuffer.c: (_gst_buffer_copy):
19145         Copy more flags.
19146
19147         * gst/gstcaps.c: (gst_caps_is_equal):
19148         Fix some docs.
19149         Make _is_equal fast in the trivial cases.
19150
19151         * gst/gstminiobject.c:
19152         * gst/gstminiobject.h:
19153         More docs. Spifify .h file.
19154
19155         * gst/gstutils.c:
19156         Small doc update.
19157
19158 2005-11-11  Wim Taymans  <wim@fluendo.com>
19159
19160         * gst/base/gstbasetransform.c:
19161         (gst_base_transform_prepare_output_buf),
19162         (gst_base_transform_handle_buffer):
19163         Small cleanups.
19164         If we're processing a buffer and need to allocate an output
19165         buffer, we cannot accept a format change. If we did get a 
19166         format change, we have to alloc a buffer ourselves of the 
19167         right size.
19168
19169 2005-11-11  Wim Taymans  <wim@fluendo.com>
19170
19171         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19172         While checking the flag for reentrancy in the gstcaps function
19173         is nice to detect recursive invocations, it also makes it 
19174         impossible to call getcaps from multiple threads, which must be
19175         possible. So, checking for recursive calls has to go.
19176
19177 2005-11-11  Michael Smith <msmith@fluendo.com>
19178
19179         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19180           Don't sync on buffers that fall partially outside our current
19181           segment. Prevents an assertion failure/abort playing some files.
19182
19183 2005-11-10  Andy Wingo  <wingo@pobox.com>
19184
19185         * check/gst/gstbin.c (test_message_state_changed_children): Style
19186         fix..
19187
19188         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19189         gst_bus_poll with the signal watch. Ensures that poll and a signal
19190         watch see the same messages.
19191
19192         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19193         a poll and a watch at the same time get the same messages.
19194
19195 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19196
19197         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19198         * gst/gstcaps.c: (gst_caps_intersect):
19199           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19200           and it's not needed.
19201
19202 2005-11-10  Wim Taymans  <wim@fluendo.com>
19203
19204         * docs/design/part-TODO.txt:
19205         Updated todo.
19206
19207 2005-11-10  Wim Taymans  <wim@fluendo.com>
19208
19209         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19210         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19211         (gst_base_src_do_sync), (gst_base_src_get_range):
19212         Implement clock sync in base class.
19213
19214 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19215
19216         patch by: Tim-Philipp Müller <tim at centricular dot net>
19217
19218         * gst/gststructure.c: (gst_structure_parse_field),
19219         (gst_structure_from_string):
19220           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19221           so that gst_parse_launch() can deal with spaces in filtered link
19222           caps (fixes #164479)
19223         * check/gst/capslist.h:
19224         * check/gst/gststructure.c: (GST_START_TEST):
19225           add unit tests for this change
19226
19227 2005-11-10  Wim Taymans  <wim@fluendo.com>
19228
19229         * docs/gst/gstreamer-sections.txt:
19230         * gst/gstelement.c:
19231         * gst/gstelement.h:
19232         Fix docs, move some STATE macros to private.
19233
19234 2005-11-10  Wim Taymans  <wim@fluendo.com>
19235
19236         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19237         Added check for bug #317341
19238
19239         * gst/gstbuffer.c:
19240         * gst/gstbuffer.h:
19241         Some more spiffifying.
19242
19243         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19244         Call peer linkfunction if we are a source pad. Totally fixes
19245         #317341
19246
19247         * gst/gstpad.c:
19248         Update docs, source pads should call the peer linkfunction
19249         so they can atomically perform the pad link.
19250
19251 2005-11-09  Wim Taymans  <wim@fluendo.com>
19252
19253         * gst/gstbuffer.c:
19254         * gst/gstbuffer.h:
19255         Uber-spiffy-spiffify some more.
19256
19257 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19258
19259         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19260         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19261         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19262         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19263         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19264         * gst/gstpad.c: (gst_pad_init):
19265           Use GST_DEBUG_FUNCPTR() more extensively.
19266
19267 2005-11-09  Wim Taymans  <wim@fluendo.com>
19268
19269         * gst/gstobject.c: (gst_object_class_init):
19270         * gst/gstobject.h:
19271         Documentation fixes.
19272
19273 2005-11-09  Edward Hervey  <edward@fluendo.com>
19274
19275         * gst/gsttypefindfactory.c:
19276         Fix docs.
19277         
19278 2005-11-09  Edward Hervey  <edward@fluendo.com>
19279
19280         * gst/base/gsttypefindhelper.c:
19281         * gst/gsttypefind.c:
19282         * gst/gsttypefind.h:
19283         Fix docs.
19284
19285 2005-11-09  Wim Taymans  <wim@fluendo.com>
19286
19287         * gst/gstiterator.c:
19288         Fix revision data.
19289
19290         * gst/gsttask.c:
19291         * gst/gsttask.h:
19292         Fix docs.
19293
19294 2005-11-09  Wim Taymans  <wim@fluendo.com>
19295
19296         * gst/gstevent.h:
19297         * gst/gsturi.h:
19298         Fix docs.
19299
19300 2005-11-09  Wim Taymans  <wim@fluendo.com>
19301
19302         * docs/gst/gstreamer-sections.txt:
19303         Moved the message async delivery private lock and cond
19304         to the private section.
19305
19306         * gst/gstmessage.c:
19307         * gst/gstmessage.h:
19308         Fixed docs.
19309
19310 2005-11-09  Edward Hervey  <edward@fluendo.com>
19311
19312         * docs/gst/gstreamer-sections.txt:
19313         * gst/gsturi.c:
19314         * gst/gsturi.h:
19315         Document GstURIHandler
19316
19317 2005-11-09  Wim Taymans  <wim@fluendo.com>
19318
19319         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19320         (gst_iterator_find_custom):
19321         * gst/gstiterator.h:
19322         Fix iterator docs.
19323
19324 2005-11-09  Wim Taymans  <wim@fluendo.com>
19325
19326         * gst/gstbin.h:
19327         Document another field.
19328
19329         * gst/gststructure.c:
19330         * gst/gststructure.h:
19331         Document.
19332
19333 2005-11-09  Wim Taymans  <wim@fluendo.com>
19334
19335         * gst/gstbin.h:
19336         Documented structs.
19337
19338 2005-11-09  Wim Taymans  <wim@fluendo.com>
19339
19340         * docs/gst/gstreamer-sections.txt:
19341         Added some new macros.
19342
19343         * gst/gstclock.c:
19344         * gst/gstclock.h:
19345         * gst/gstobject.h:
19346         Docs updates.
19347
19348 2005-11-09  Wim Taymans  <wim@fluendo.com>
19349
19350         * docs/design/part-TODO.txt:
19351         Some more items for the TODO
19352
19353         * gst/gstcaps.c:
19354         * gst/gstcaps.h:
19355         Document GstCaps.
19356
19357 2005-11-09  Andy Wingo  <wingo@pobox.com>
19358
19359         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19360         to work on something else now tho...
19361
19362         * gst/base/gstadapter.c: More adapter docs.
19363
19364         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19365         (gst_file_sink_stop): New functions, replace the state change
19366         handler.
19367         (gst_file_sink_class_init): Hook up the start and stop functions.
19368         (gst_file_sink_base_init): Don't set the state change handler any
19369         more. It was a bit ugly too, being set from here...
19370         (gst_file_sink_get_property, gst_file_sink_set_property):
19371         Cleanups...
19372         (gst_file_sink_set_location): More robust check that doesn't call
19373         GST_STATE. Ugggggg.
19374
19375 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19376
19377         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19378           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19379
19380 2005-11-08  Wim Taymans  <wim@fluendo.com>
19381
19382         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19383         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19384         (gst_base_sink_chain), (gst_base_sink_change_state):
19385         * gst/base/gstbasesink.h:
19386         * gst/base/gstbasesrc.h:
19387         * gst/gstelement.h:
19388         * gst/gstevent.h:
19389         Avoid excessive typechecking in macros.
19390
19391         * gst/gstminiobject.c: (gst_mini_object_get_type),
19392         (gst_mini_object_init), (gst_mini_object_new),
19393         (gst_mini_object_free):
19394         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19395         (gst_object_finalize):
19396         Remove cruft code, optimize alloc_trace.
19397
19398 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19399
19400         * docs/faq/gst-uninstalled:
19401           fix up PS1 for systems that try to reset it
19402
19403 2005-11-07  Wim Taymans  <wim@fluendo.com>
19404
19405         * gst/base/gstbasesrc.c: (gst_base_src_init),
19406         (gst_base_src_get_range):
19407         Set the segment_end to -1 initially. Fixed typefind.
19408
19409 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19410
19411         * gst/base/gstadapter.c:
19412           Debug category should be 'adapter', not 'GstAdapter'.
19413           
19414         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19415         (gst_collectpads_class_init), (gst_collectpads_init),
19416         (gst_collectpads_peek), (gst_collectpads_pop),
19417         (gst_collectpads_event), (gst_collectpads_chain):
19418           Add debug category and some debugging output. Use boilerplate
19419           macros. Remove some extraneous words from docs.
19420
19421 2005-11-05  Andy Wingo  <wingo@pobox.com>
19422
19423         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19424         macro.
19425
19426 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19427
19428         * docs/gst/gstreamer-sections.txt:
19429         * gst/gstcaps.h:
19430         * gst/gstinfo.c:
19431         * gst/gstminiobject.h:
19432         * gst/gstobject.h:
19433         * gst/gstutils.h:
19434           more docs added
19435
19436 2005-11-04  Wim Taymans  <wim@fluendo.com>
19437
19438         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19439         Small update to stop at the configured segment_end
19440         position.
19441
19442 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19443
19444         * gst/gstregistry.c:
19445         * gst/gstregistry.h:
19446           added missing docs
19447
19448 2005-11-04  Edward Hervey  <edward@fluendo.com>
19449
19450         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19451         Check if we are doing a segment seek and have arrived at the
19452         end of that segment.
19453
19454 2005-11-04  Wim Taymans  <wim@fluendo.com>
19455
19456         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19457         Don't leak a mutex unlock in case of an error.
19458
19459         * gst/gstbus.h:
19460         Doc fixes.
19461
19462 2005-11-04  Wim Taymans  <wim@fluendo.com>
19463
19464         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19465         (gst_bus_post):
19466         Get the context to wake up only once.
19467
19468 2005-11-03  Wim Taymans  <wim@fluendo.com>
19469
19470         * check/states/sinks.c: (GST_START_TEST):
19471         Uncomment fixed check.
19472
19473         * docs/design/part-TODO.txt:
19474         Updated TODO.
19475
19476         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19477         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19478         (gst_base_sink_get_position):
19479         If we are going to PLAYING, post the right pending state
19480         when we post the intermediate paused message.
19481
19482         * gst/gstelement.c: (gst_element_continue_state),
19483         (gst_element_set_state_func), (gst_element_change_state):
19484         Don't post state changes that were between the same state
19485         and were not ASYNC.
19486
19487 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19488
19489         * docs/gst/gstreamer-sections.txt:
19490         * gst/gstcaps.h:
19491         * gst/gstinfo.c:
19492         * gst/gstminiobject.h:
19493         * gst/gstobject.h:
19494         * gst/gstutils.h:
19495           more docs and doc style fixes
19496
19497 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19498
19499         * docs/gst/gstreamer-sections.txt:
19500         * gst/gstelement.c:
19501         * gst/gstminiobject.c:
19502         doc fixes
19503
19504 2005-11-03  Andy Wingo  <wingo@pobox.com>
19505
19506         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19507         state-changed messages actually have the right order and the right
19508         values.
19509
19510 2005-11-03  Wim Taymans  <wim@fluendo.com>
19511
19512         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19513         Added some more checks. Specifically the case where NO_PREROLL
19514         elements are in the pipeline.
19515
19516         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19517         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19518         (gst_base_sink_get_position):
19519         Post READY->PAUSED state change messages too.
19520         Fix bug where VOID was posted as pending state...
19521
19522         * gst/gstbin.c: (gst_bin_recalc_state):
19523         use _element_continue_state() to continue the state change.
19524
19525         * gst/gstelement.c: (gst_element_continue_state),
19526         (gst_element_commit_state), (gst_element_set_state_func),
19527         (gst_element_change_state), (gst_element_change_state_func):
19528         Lots of state change cleanups, assign the STATE_RETURN in
19529         a new continue_state() function that also propagates the
19530         last return value from a state change to the app.
19531         Update some debug statements with proper category.
19532
19533 2005-11-03  Wim Taymans  <wim@fluendo.com>
19534
19535         * docs/design/part-events.txt:
19536         * docs/design/part-gstpipeline.txt:
19537         * docs/design/part-messages.txt:
19538         * docs/design/part-overview.txt:
19539         * docs/design/part-seeking.txt:
19540         * docs/design/part-states.txt:
19541         * docs/design/part-trickmodes.txt:
19542         * docs/manual/advanced-position.xml:
19543         Small docs updates.
19544
19545         * gst/gstobject.h:
19546         People think !! is ugly, this looks better.
19547
19548         * gst/gstpad.c: (gst_pad_set_blocked_async):
19549         Remove !! since it's fixed elsewhere now.
19550
19551 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19552
19553         * gst/gstminiobject.h:
19554         * gst/gstobject.h:
19555           Add !! to _FLAG_IS_SET macros to make the result boolean.
19556
19557 2005-11-03  Edward Hervey  <edward@fluendo.com>
19558
19559         * gst/gstpad.c: (gst_pad_set_blocked_async):
19560         comparing a flag and a gboolean rarely returns coherent results...
19561         Added two characters (!!) to make that work correctly.
19562         
19563 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19564
19565         * gst/gstbus.c: (gst_bus_class_init):
19566           Fix some typos.
19567           
19568         * gst/gstqueue.c: (gst_queue_loop):
19569           Don't assume a miniobject that isn't a buffer is an
19570           event (it could be that there is a refcounting
19571           problem somewhere and the pointer is stale and
19572           refers to an already destroyed miniobject).
19573
19574 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19575
19576         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19577
19578 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19579
19580         * docs/manual/advanced-position.xml:
19581           Update seek example and explanations to current 0.9 API.
19582
19583         * gst/elements/gsttypefindelement.c:
19584         (gst_type_find_element_activate):
19585           Remove FIXME comment now that the found caps
19586           are unreffed.
19587
19588 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19589
19590         * gst/gstregistryxml.c: (load_feature):
19591           Add another GST_STR_NULL instance
19592
19593 2005-11-02  Edward Hervey  <edward@fluendo.com>
19594
19595         * gst/gstpad.c: (handle_pad_block):
19596         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19597         
19598 2005-11-02  Wim Taymans  <wim@fluendo.com>
19599
19600         * gst/gstbin.c:
19601         Fix typo in docs.
19602
19603         * gst/gstelement.c: (gst_element_commit_state):
19604         Remove unused value.
19605
19606         * gst/gstiterator.c:
19607         Mention that the returned element is reffed in the docs.
19608
19609 2005-11-02  Wim Taymans  <wim@fluendo.com>
19610
19611         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19612         (gst_pad_push), (gst_pad_push_event):
19613         Unlock blocked pads when they are flushed.
19614
19615 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19616
19617         * docs/README:
19618         * docs/gst/gstreamer-sections.txt:
19619         * gst/gstbin.c:
19620           doc updates
19621         * gst/gstregistry.c: (gst_registry_scan_path_level):
19622           fix for a nasty little missed situation where an installed plug-in
19623           which was in the cache did not get overridden by an uninstalled one
19624           which was earlier in the plugin path because the newly created plugin
19625           for the uninstalled one (not in the registry) didn't get its
19626           ->registered set to TRUE
19627
19628 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19629
19630         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19631         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19632         (gst_collectpads_is_active), (gst_collectpads_collect),
19633         (gst_collectpads_collect_range), (gst_collectpads_start),
19634         (gst_collectpads_stop), (gst_collectpads_peek),
19635         (gst_collectpads_pop), (gst_collectpads_available),
19636         (gst_collectpads_read), (gst_collectpads_flush):
19637           Guard public API with assertions.
19638         
19639         * gst/gstpad.c:
19640           Fix docs for gst_pad_set_link_function().
19641
19642 2005-11-02  Johan Dahlin  <johan@gnome.org>
19643
19644         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
19645         Unref found_caps after we used it.
19646
19647 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19648
19649         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19650           Don't try to ref NULL.
19651
19652 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19653
19654         * win32/common/config.h.in:
19655           provide a GST_FUNCTION that just gives a string for now
19656
19657 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19658
19659         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19660         (gst_object_flags_get_type), (register_gst_bin_flags),
19661         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19662         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19663         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19664         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19665         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19666         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19667         (gst_clock_flags_get_type), (register_gst_state),
19668         (gst_state_get_type), (register_gst_state_change_return),
19669         (gst_state_change_return_get_type), (register_gst_state_change),
19670         (gst_state_change_get_type), (register_gst_element_flags),
19671         (gst_element_flags_get_type), (register_gst_core_error),
19672         (gst_core_error_get_type), (register_gst_library_error),
19673         (gst_library_error_get_type), (register_gst_resource_error),
19674         (gst_resource_error_get_type), (register_gst_stream_error),
19675         (gst_stream_error_get_type), (register_gst_event_type),
19676         (gst_event_type_get_type), (register_gst_seek_type),
19677         (gst_seek_type_get_type), (register_gst_seek_flags),
19678         (gst_seek_flags_get_type), (register_gst_format),
19679         (gst_format_get_type), (register_gst_index_certainty),
19680         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19681         (gst_index_entry_type_get_type),
19682         (register_gst_index_lookup_method),
19683         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19684         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19685         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19686         (gst_index_flags_get_type), (register_gst_debug_level),
19687         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19688         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19689         (gst_iterator_result_get_type), (register_gst_iterator_item),
19690         (gst_iterator_item_get_type), (register_gst_message_type),
19691         (gst_message_type_get_type), (register_gst_mini_object_flags),
19692         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19693         (gst_pad_link_return_get_type), (register_gst_flow_return),
19694         (gst_flow_return_get_type), (register_gst_activate_mode),
19695         (gst_activate_mode_get_type), (register_gst_pad_direction),
19696         (gst_pad_direction_get_type), (register_gst_pad_flags),
19697         (gst_pad_flags_get_type), (register_gst_pad_presence),
19698         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19699         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19700         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19701         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19702         (gst_plugin_flags_get_type), (register_gst_rank),
19703         (gst_rank_get_type), (register_gst_query_type),
19704         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19705         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19706         (gst_tag_flag_get_type), (register_gst_task_state),
19707         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19708         (gst_alloc_trace_flags_get_type),
19709         (register_gst_type_find_probability),
19710         (gst_type_find_probability_get_type), (register_gst_uri_type),
19711         (gst_uri_type_get_type), (register_gst_parse_error),
19712         (gst_parse_error_get_type):
19713         * win32/common/gstversion.h:
19714           update win32 copies
19715
19716 2005-11-01  Luca Ognibene  <luogni@tin.it>
19717
19718         * gst/gst.c:
19719           fix docs. popt is dead, long live GOption.
19720
19721 2005-10-31  Wim Taymans  <wim@fluendo.com>
19722
19723         * gst/gstbuffer.h:
19724         Small doc fix.
19725
19726 2005-10-31  Andy Wingo  <wingo@pobox.com>
19727
19728         * Boo!
19729
19730         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19731
19732         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19733         need to serialize property notifications on GLib 2.8. GLib 2.6 has
19734         the possibility of deadlocks here if code calling notify() or
19735         set() has a lock that can be taken in another notify handler (ABBA
19736         with class lock and e.g. python GIL state lock).
19737
19738 2005-10-28  Julien MOUTTE  <julien@moutte.net>
19739
19740         * gst/gstbus.c: Doc updates.
19741
19742 2005-10-28  Wim Taymans  <wim@fluendo.com>
19743
19744         * docs/design/part-TODO.txt:
19745         * gst/gstiterator.c:
19746         * gst/gstsystemclock.c:
19747         * gst/gstsystemclock.h:
19748         Doc updates.
19749
19750 2005-10-28  Edward Hervey  <edward@fluendo.com>
19751
19752         * docs/gst/gstreamer-docs.sgml:
19753         * docs/gst/gstreamer-sections.txt:
19754         the GstURIType documentation page is private, it only defines GstURIType
19755         which should be defined in the GstURIHandler page
19756         
19757 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19758
19759         * gst/gstbin.c: (gst_bin_class_init):
19760         * gst/gstbin.h:
19761         * gst/gstutils.c:
19762         Documentation updates.
19763
19764 2005-10-28  Wim Taymans  <wim@fluendo.com>
19765
19766         * docs/gst/gstreamer-sections.txt:
19767         * gst/gstclock.c:
19768         * gst/gstclock.h:
19769         Documented the clocks.
19770
19771 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
19772
19773         * docs/gst/gstreamer-sections.txt:
19774           move some macros to private sections
19775         * gst/gstminiobject.c:
19776         * gst/gstminiobject.h:
19777           add descriptions provided by ds and some more
19778         * gst/gstpad.h:
19779           mark macro as to be removed
19780
19781 2005-10-28  Wim Taymans  <wim@fluendo.com>
19782
19783         * docs/design/part-TODO.txt:
19784         Add an item to TODO.
19785
19786         * gst/gstiterator.c: (gst_iterator_fold),
19787         (gst_iterator_find_custom):
19788         * gst/gstiterator.h:
19789         Add iterator docs.
19790
19791 2005-10-28  Wim Taymans  <wim@fluendo.com>
19792
19793         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19794         (gst_base_transform_init):
19795         Don't leak class.
19796
19797         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19798         An EOS event marks the queue as completely filled.
19799
19800 2005-10-27  Wim Taymans  <wim@fluendo.com>
19801
19802         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19803         (gst_base_sink_do_sync), (gst_base_sink_get_position):
19804         Some more debugging.
19805
19806         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19807         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19808         (gst_base_transform_event), (gst_base_transform_getrange),
19809         (gst_base_transform_chain):
19810         * gst/base/gstbasetransform.h:
19811         Fix debugging,
19812         Protect transform and concurrent buffer alloc with a new lock.
19813         Try not to break ABI/API.
19814
19815 2005-10-27  Wim Taymans  <wim@fluendo.com>
19816
19817         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19818         (gst_base_src_init), (gst_base_src_query),
19819         (gst_base_src_default_newsegment),
19820         (gst_base_src_configure_segment), (gst_base_src_do_seek),
19821         (gst_base_src_send_event), (gst_base_src_event_handler),
19822         (gst_base_src_pad_get_range), (gst_base_src_loop),
19823         (gst_base_src_unlock), (gst_base_src_default_negotiate),
19824         (gst_base_src_start), (gst_base_src_deactivate),
19825         (gst_base_src_activate_push), (gst_base_src_change_state):
19826         Move some stuff around and cleanup things.
19827
19828 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
19829
19830         * gst/base/gstbasesrc.c: (gst_base_src_query):
19831           Add missing break statements.
19832
19833 2005-10-27  Wim Taymans  <wim@fluendo.com>
19834
19835         * check/gst/gstbin.c: (GST_START_TEST):
19836         An extra refcount is taken in basesrc.
19837
19838         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19839         (gst_base_src_get_range), (gst_base_src_pad_get_range),
19840         (gst_base_src_loop):
19841         Small cleanups, check for flushing after being unlocked from the 
19842         LIVE_LOCK. take refcounts correctly (not yet everywhere).
19843         Don't send out EOS when going to READY.
19844
19845 2005-10-27  Wim Taymans  <wim@fluendo.com>
19846
19847         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19848         (gst_base_sink_get_position):
19849         Some more debug.
19850
19851         * gst/gstbin.c: (message_check), (bin_replace_message),
19852         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19853         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19854         (bin_query_duration_init), (bin_query_duration_fold),
19855         (bin_query_duration_done), (bin_query_generic_fold),
19856         (gst_bin_query):
19857         * tools/gst-launch.c: (main):
19858         Remove old option.
19859
19860 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
19861
19862         * examples/controller/audio-example.c: (main):
19863         * examples/queue/queue.c: (event_loop):
19864         * gst/base/gstbasetransform.h:
19865         * gst/gstelement.c: (gst_element_send_event):
19866         * gst/gstevent.h:
19867         * gst/gstpad.c: (gst_pad_send_event):
19868           fixing examples
19869           fixing docs typos
19870           changing log priority in error situations
19871
19872 2005-10-25  Wim Taymans  <wim@fluendo.com>
19873
19874         * gst/gstbin.c: (message_check), (bin_replace_message),
19875         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19876         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19877         (bin_query_duration_init), (bin_query_duration_fold),
19878         (bin_query_duration_done), (bin_query_generic_fold),
19879         (gst_bin_query):
19880         Some doc and debug updates.
19881         Cache previously requested query DURATION for speed. invalidate
19882         cached duration if element posts a DURATION message.
19883
19884 2005-10-25  Wim Taymans  <wim@fluendo.com>
19885
19886         * docs/design/part-TODO.txt:
19887         Update TODO.
19888
19889         * gst/gstbin.c: (message_check), (bin_replace_message),
19890         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19891         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19892         (bin_query_duration_init), (bin_query_duration_fold),
19893         (bin_query_duration_done), (bin_query_generic_fold),
19894         (gst_bin_query):
19895         Handle SEGMENT_START/DONE messages correctly.
19896         More evolved query algorithm that handles duration queries
19897         correctly.
19898
19899         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19900         (gst_element_get_state_func), (gst_element_abort_state),
19901         (gst_element_commit_state), (gst_element_lost_state):
19902         Some more debugging.
19903
19904         * gst/gstmessage.h:
19905         Added doc.
19906
19907 2005-10-25  Wim Taymans  <wim@fluendo.com>
19908
19909         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19910         Don't use invalid stream_time.
19911
19912         * gst/gstevent.c: (gst_event_new_newsegment):
19913         stream_time in newsegment cannot be undefined.
19914
19915 2005-10-24  Wim Taymans  <wim@fluendo.com>
19916
19917         * gst/gstbus.c:
19918         Doc fix.
19919
19920         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19921         (gst_queue_loop):
19922         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
19923
19924 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
19925
19926         * docs/libs/tmpl/gstdparam.sgml:
19927         * docs/libs/tmpl/gstdplinint.sgml:
19928         * docs/libs/tmpl/gstdpman.sgml:
19929         * docs/libs/tmpl/gstdpsmooth.sgml:
19930         * docs/libs/tmpl/gstunitconvert.sgml:
19931           these are obsolete
19932
19933 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19934
19935         * configure.ac:
19936           back to HEAD
19937
19938 === release 0.9.4 ===
19939
19940 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19941
19942         * configure.ac:
19943           releasing 0.9.4, "Tyrannosaurus Rex"
19944
19945 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
19946
19947         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19948         (gst_file_sink_get_current_offset):
19949           Use fseeko() and ftello() if available. When falling back on
19950           lseek() to get the current offset, fflush() first to make sure
19951           everything is up-to-date and we get the right offset.
19952
19953 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19954
19955         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19956         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19957         * gst/gsterror.c: (_gst_stream_errors_init):
19958         * gst/gsterror.h:
19959         * gst/gstqueue.c: (gst_queue_loop):
19960         * po/POTFILES.in:
19961           remove prematurely added error category and clean up the instances
19962
19963 2005-10-21  Wim Taymans  <wim@fluendo.com>
19964
19965         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19966         (gst_base_sink_get_position), (gst_base_sink_query),
19967         (gst_base_sink_change_state):
19968         Simply set the right flag when going to playing, that's all
19969         we need to do instead of calling a function inside the object
19970         lock (that could take the lock as well and deadlock)
19971
19972 2005-10-21  Wim Taymans  <wim@fluendo.com>
19973
19974         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
19975         (gst_base_src_loop):
19976         Don't warn, the peer element knows what to do best when
19977         the seek failed, it might try something else.
19978
19979 2005-10-21  Wim Taymans  <wim@fluendo.com>
19980
19981         * gst/base/gstbasesrc.c: (gst_base_src_init),
19982         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19983         Fix seeking.
19984
19985 2005-10-21  Wim Taymans  <wim@fluendo.com>
19986
19987         * docs/design/part-segments.txt:
19988         More docs.
19989
19990         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
19991         Correctly set caps, even on the subbufer.
19992
19993 2005-10-21  Wim Taymans  <wim@fluendo.com>
19994
19995         * docs/gst/gstreamer-docs.sgml:
19996         * docs/gst/gstreamer-sections.txt:
19997         * gst/gstelement.h:
19998         * gst/gstevent.c:
19999         * gst/gstevent.h:
20000         * gst/gstmessage.h:
20001         * gst/gstpad.h:
20002         * gst/gstparse.h:
20003         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20004         * gst/gsttask.h:
20005         * gst/gstutils.c:
20006         * gst/gstutils.h:
20007         And 2% more doc coverage.
20008
20009 2005-10-21  Andy Wingo  <wingo@pobox.com>
20010
20011         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20012         position reporting.
20013
20014 2005-10-20  Wim Taymans  <wim@fluendo.com>
20015
20016         * gst/gsterror.c: (gst_error_get_message):
20017         * gst/gstparse.h:
20018         * gst/gstquery.h:
20019         * gst/gststructure.c:
20020         * gst/gsttrace.c:
20021         * gst/gstutils.c:
20022         More docs.
20023
20024 2005-10-20  Wim Taymans  <wim@fluendo.com>
20025
20026         * gst/gstbuffer.h:
20027         * gst/gstpad.c:
20028         * gst/gstparse.c:
20029         Another 1% more coverage.
20030
20031 2005-10-20  Wim Taymans  <wim@fluendo.com>
20032
20033         * docs/gst/gstreamer-sections.txt:
20034         * gst/gstelement.c: (gst_element_get_state_func),
20035         (gst_element_abort_state), (gst_element_commit_state),
20036         (gst_element_lost_state):
20037         * gst/gstevent.h:
20038         * gst/gstquery.c: (gst_query_set_position),
20039         (gst_query_parse_position), (gst_query_set_duration),
20040         (gst_query_parse_duration), (gst_query_new_convert):
20041         * gst/gstutils.c:
20042         Yay! 1% more docs coverage.
20043
20044 2005-10-20  Wim Taymans  <wim@fluendo.com>
20045
20046         * gst/gstpad.h:
20047         * gst/gstquery.c: (gst_query_set_position),
20048         (gst_query_parse_position), (gst_query_set_duration),
20049         (gst_query_parse_duration), (gst_query_new_convert):
20050         * gst/gstquery.h:
20051         * gst/gstutils.c: (gst_element_query_convert):
20052         * gst/gstutils.h:
20053         Docs and consistency fixes.
20054
20055 2005-10-20  Wim Taymans  <wim@fluendo.com>
20056
20057         * gst/gsttask.c:
20058         * gst/gsttask.h:
20059         More docs.
20060
20061 2005-10-20  Wim Taymans  <wim@fluendo.com>
20062
20063         * gst/gstbin.c: (message_check), (bin_replace_message),
20064         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20065         (update_degree), (gst_bin_sort_iterator_next),
20066         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20067         Reworked the message handling a bit, cache the messages instead of
20068         only the senders. alows us to do more in the future.
20069
20070 2005-10-20  Wim Taymans  <wim@fluendo.com>
20071
20072         * docs/design/part-TODO.txt:
20073         Update TODO
20074
20075         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20076         (gst_base_sink_query):
20077         Don't use clock time to report position when in EOS.
20078
20079 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20080
20081         * tools/gst-inspect.c: (print_interfaces),
20082         (print_element_properties_info), (print_element_info):
20083           Fix interface output with gst-inspect -a; don't print
20084           newlines after double/float properties.
20085
20086 2005-10-20  Wim Taymans  <wim@fluendo.com>
20087
20088         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20089         (gst_base_sink_query):
20090         Speed up current position calculation.
20091
20092         * gst/base/gstbasesrc.c: (gst_base_src_query),
20093         (gst_base_src_default_newsegment):
20094         Correctly set stream position in newsegment.
20095
20096         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20097         (update_degree), (gst_bin_sort_iterator_next),
20098         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20099         * gst/gstmessage.c: (gst_message_new_custom):
20100         Clean up debugging info
20101
20102         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20103         (gst_queue_loop), (gst_queue_handle_src_query):
20104         Pause task faster.
20105
20106 2005-10-19  Wim Taymans  <wim@fluendo.com>
20107
20108         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20109         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20110         Fix query handling again.
20111
20112 2005-10-19  Wim Taymans  <wim@fluendo.com>
20113
20114         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20115         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20116         * gst/base/gstbasesrc.c: (gst_base_src_query):
20117         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20118         * gst/elements/gsttypefindelement.c:
20119         (gst_type_find_handle_src_query), (find_element_get_length),
20120         (gst_type_find_element_activate):
20121         API change fix.
20122
20123         * gst/gstquery.c: (gst_query_new_position),
20124         (gst_query_set_position), (gst_query_parse_position),
20125         (gst_query_new_duration), (gst_query_set_duration),
20126         (gst_query_parse_duration), (gst_query_set_segment),
20127         (gst_query_parse_segment):
20128         * gst/gstquery.h:
20129         Bundling query position/duration is not a good idea since duration
20130         does not change much and we don't want to recalculate it for every
20131         position query, so they are separated again..
20132         Base value in segment query is not needed.
20133
20134         * gst/gstqueue.c: (gst_queue_handle_src_query):
20135         * gst/gstutils.c: (gst_element_query_position),
20136         (gst_element_query_duration), (gst_pad_query_position),
20137         (gst_pad_query_duration):
20138         * gst/gstutils.h:
20139         Updates for query API change.
20140         Added some docs here and there.
20141
20142 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20143
20144         * check/gst/gstbin.c: (GST_START_TEST):
20145         * check/gst/gstghostpad.c: (GST_START_TEST):
20146         * check/pipelines/cleanup.c: (GST_START_TEST):
20147           wait on thread to die so we can check refcount correctly
20148
20149 2005-10-18  Wim Taymans  <wim@fluendo.com>
20150
20151         * check/pipelines/stress.c: (GST_START_TEST):
20152         Make check a little more time consuming.
20153
20154 2005-10-18  Wim Taymans  <wim@fluendo.com>
20155
20156         * check/Makefile.am:
20157         * check/pipelines/stress.c: (GST_START_TEST),
20158         (simple_launch_lines_suite), (main):
20159         Small state change torture test.
20160
20161         * docs/design/part-states.txt:
20162         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20163         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20164         (gst_base_sink_change_state):
20165         Never take state lock from streaming thread, clean up ugly
20166         hacks. Unfortunatly core does not yet support nice ways to
20167         async commit state.
20168         
20169         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20170         (bin_bus_handler):
20171         Start state recalc if a STATE_DIRTY message is posted, but only
20172         on the toplevel bin.
20173
20174         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20175         (gst_element_get_state_func), (gst_element_abort_state),
20176         (gst_element_commit_state), (gst_element_lost_state),
20177         (gst_element_set_state_func), (gst_element_change_state):
20178         * gst/gstelement.h:
20179         State variables are now protected with the LOCK, the state
20180         lock is only used to serialize _set_state().
20181
20182 2005-10-18  Wim Taymans  <wim@fluendo.com>
20183
20184         * check/gst/gstbin.c: (GST_START_TEST):
20185         * check/gst/gstmessage.c: (GST_START_TEST):
20186         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20187         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20188         (bin_bus_handler):
20189         * gst/gstelement.c: (gst_element_abort_state),
20190         (gst_element_commit_state), (gst_element_lost_state):
20191         * gst/gstmessage.c: (gst_message_new_state_changed),
20192         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20193         (gst_message_new_segment_done), (gst_message_new_duration),
20194         (gst_message_parse_state_changed),
20195         (gst_message_parse_segment_start),
20196         (gst_message_parse_segment_done), (gst_message_parse_duration):
20197         * gst/gstmessage.h:
20198         * tools/gst-launch.c: (event_loop):
20199         Seriously, this is better than a previous commit as we only need
20200         to notify the fact that an element changed state in a streaming
20201         thread, marking the state of the parents dirty, hence the 
20202         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20203         message.
20204
20205 2005-10-18  Wim Taymans  <wim@fluendo.com>
20206
20207         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20208         (gst_bin_recalc_func):
20209         * gst/gstelement.c: (gst_element_set_clock),
20210         (gst_element_abort_state), (gst_element_lost_state):
20211         Cleanups, prepare for state change fixes.
20212
20213 2005-10-18  Wim Taymans  <wim@fluendo.com>
20214
20215         * gst/gstbin.h:
20216         * gst/gstelement.c: (gst_element_class_init),
20217         (gst_element_set_state), (gst_element_set_state_func):
20218         * gst/gstelement.h:
20219         Pending ABI changes.
20220         GThreadPool in GstBinClass to monitor async state changes.
20221         state_cookie in GstElement to detect concurrent gst/set state.
20222         set_state is now virtual too in case a very complicated element
20223         has to be constructed.
20224
20225 2005-10-18  Wim Taymans  <wim@fluendo.com>
20226
20227         * check/gst/gstbin.c: (GST_START_TEST):
20228         * check/gst/gstmessage.c: (GST_START_TEST):
20229         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20230         * gst/gstbin.c: (bin_bus_handler):
20231         * gst/gstelement.c: (gst_element_commit_state),
20232         (gst_element_lost_state):
20233         * gst/gstmessage.c: (gst_message_new_state_changed),
20234         (gst_message_new_segment_start), (gst_message_new_segment_done),
20235         (gst_message_new_duration), (gst_message_parse_state_changed),
20236         (gst_message_parse_segment_start),
20237         (gst_message_parse_segment_done), (gst_message_parse_duration):
20238         * gst/gstmessage.h:
20239         * tools/gst-launch.c: (event_loop):
20240         Make messages future proof.
20241         state-change gets a flag if it was a message comming from the
20242         streaming thread.
20243         segment-start/stop can also be specified in other formats.
20244         A message to notify an app that a pipeline changed playback 
20245         duration.
20246         Also fix a GstMessage leak in -launch
20247
20248 2005-10-18  Andy Wingo  <wingo@pobox.com>
20249
20250         * gst/gstelement.c (gst_element_dispose): More helpful message.
20251
20252 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20253
20254         reviewed by: <delete if not using a buddy>
20255
20256         * common/gtk-doc.mak:
20257
20258 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20259
20260         * gst/gstregistry.c: (gst_registry_scan_path_level):
20261           unref a plug-in we get that was already initialized
20262
20263 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20264
20265         * docs/gst/gstreamer-sections.txt:
20266         * docs/libs/gstreamer-libs-sections.txt:
20267         * gst/gstelement.h:
20268           add new api entries
20269           hide internal macro
20270
20271 2005-10-17  Andy Wingo  <wingo@pobox.com>
20272
20273         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20274         cleanup.
20275
20276         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20277
20278         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20279
20280         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20281         (gst_element_get_state_func): Better debug message.
20282         (gst_element_commit_state): s/INFO/DEBUG/.
20283         (gst_element_lost_state, gst_element_change_state): 
20284
20285         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20286         (gst_message_new_custom): s/INFO/LOG/.
20287
20288 2005-10-17  Michael Smith <msmith@fluendo.com>
20289
20290         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20291           Check if end time is valid using end time, not start time.
20292
20293 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20294
20295         * check/gst-libs/controller.c: (GST_START_TEST),
20296         (gst_controller_suite):
20297         * libs/gst/controller/gstcontroller.c:
20298         (gst_controlled_property_set_interpolation_mode):
20299         * libs/gst/controller/gstcontroller.h:
20300         * libs/gst/controller/gstinterpolation.c:
20301         * testsuite/controller/.cvsignore:
20302         * testsuite/controller/Makefile.am:
20303         * testsuite/controller/interpolator.c:
20304           merge controller testsuites
20305           fix broken tests
20306           remove mem-chunk from docs
20307
20308 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20309
20310         * gst/gstmemchunk.c:
20311         * gst/gstmemchunk.h:
20312         * gst/gsttrashstack.c:
20313         * gst/gsttrashstack.h:
20314           out.  get out.  you're fired.  to the Attic !
20315
20316 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20317
20318         * gst/gstcaps.c: (gst_caps_intersect):
20319           fix signedness issues in a (hopefully) correct way
20320         * gst/gstelement.c: (gst_element_pads_activate):
20321           some debugging
20322         * gst/gstobject.c: (gst_object_set_parent):
20323           some debugging
20324
20325 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20326
20327         * gst/gstvalue.h: Fix prototypes.
20328
20329 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20330
20331         * docs/gst/gstreamer-sections.txt:
20332         * gst/gst.c: (gst_version_string):
20333         * gst/gst.h:
20334         * gst/gstversion.h.in:
20335         * win32/common/libgstreamer.def:
20336           add gst_version_string ()
20337
20338 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20339
20340         * configure.ac:
20341           clean up further
20342         * gst/gst.c: (init_post):
20343         * win32/common/config.h.in:
20344           it's PLUGINDIR now
20345         * gst/gstcaps.c: (gst_caps_intersect):
20346           use gint64, the range could be bigger than a guint
20347
20348 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20349
20350         * gst/gstclock.h:
20351           document potential problem in 2038
20352
20353 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20354
20355         * gst/gstcaps.c: (gst_caps_intersect):
20356           Fix guint j diving under 0
20357
20358 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20359
20360         * configure.ac:
20361         * win32/common/config.h:
20362         * win32/common/config.h.in:
20363           check for process.h, declares getpid() on Windows
20364         * gst/gstinfo.c:
20365           include process.h if we have it
20366         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20367         * gst/gstmemchunk.h:
20368           fix signedness issues
20369         * win32/common/libgstreamer.def:
20370           fix get_type's
20371
20372 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20373
20374         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20375         fix. Because of unsigned ints, caps intersection was going nuts and
20376         trying to access structures with G_MAXUINT index. That fixes
20377         videotestsrc ! ffmpegcolorspace ! fakesink
20378         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20379         consistency.
20380
20381 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20382
20383         * configure.ac:
20384           use the gettext macro
20385         * gst/elements/gstelements.c:
20386         * gst/gst.c:
20387         * gst/indexers/gstindexers.c:
20388           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20389         * win32/common/config.h:
20390           updated config.h
20391         * win32/common/config.h.in:
20392           add the template to generate config.h
20393         * win32/common/gstenumtypes.c:
20394         * win32/common/gstversion.h:
20395           updated copies
20396
20397 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20398
20399         * gst/gst.c: (gst_version):
20400         * gst/gstversion.h.in:
20401           add the nano
20402
20403 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20404
20405         * gst/gstevent.h:
20406           Oops, add missing closing bracket.
20407
20408 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20409
20410         * configure.ac:
20411           use common m4's for argument checking
20412
20413 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20414
20415         * docs/gst/gstreamer-sections.txt:
20416         * gst/gstevent.h:
20417           Add GST_EVENT_TYPE_NAME() macro.
20418
20419 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20420
20421         * gst/gstinfo.c:
20422         * gst/gstpluginfeature.c:
20423         * gst/gsttask.c:
20424           privatize more symbols
20425
20426 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20427
20428         * configure.ac:
20429           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20430           everything that uses GStreamer API should have the includes
20431
20432 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20433
20434         * docs/gst/gstreamer-sections.txt:
20435         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20436         * gst/gstvalue.h:
20437           give each value a _get_type, removes the DATA exports
20438
20439 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20440
20441         * gst/gst.c:
20442         * gst/gst.h:
20443           remove _gst_registry_auto_load, not used anymore
20444         * gst/gstbin.c: (gst_bin_get_type):
20445         * gst/gstbin.h:
20446         * gst/gstelement.c: (gst_element_get_type):
20447         * gst/gstelement.h:
20448         * gst/gstobject.c: (gst_object_get_type):
20449         * gst/gstobject.h:
20450         * gst/gstpad.c: (gst_pad_get_type):
20451         * gst/gstpad.h:
20452           make _get_type functions similar, fixes data export from library
20453
20454 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20455
20456         * configure.ac:
20457           correctly make conditionals
20458         * gst/elements/Makefile.am:
20459         * gst/elements/gstelements.c:
20460           fix typo causing fdsrc not to build
20461
20462 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20463
20464         * testsuite/Makefile.am:
20465         * testsuite/bytestream/.cvsignore:
20466         * testsuite/bytestream/Makefile.am:
20467         * testsuite/bytestream/filepadsink.c:
20468         * testsuite/bytestream/gstbstest.c:
20469         * testsuite/bytestream/test1.c:
20470         * testsuite/bytestream/testfile1:
20471         * testsuite/caps/normalisation.c:
20472         * testsuite/caps/random.c: (main):
20473         * testsuite/cleanup/.cvsignore:
20474         * testsuite/cleanup/Makefile.am:
20475         * testsuite/cleanup/cleanup1.c:
20476         * testsuite/cleanup/cleanup2.c:
20477         * testsuite/cleanup/cleanup3.c:
20478         * testsuite/cleanup/cleanup4.c:
20479         * testsuite/cleanup/cleanup5.c:
20480         * testsuite/controller/interpolator.c:
20481         * testsuite/debug/printf_extension.c: (main):
20482         * testsuite/elements/tee.c:
20483         * testsuite/negotiation/.cvsignore:
20484         * testsuite/negotiation/Makefile.am:
20485         * testsuite/negotiation/pad_link.c:
20486         * testsuite/pad/Makefile.am:
20487         * testsuite/pad/chainnopull.c:
20488         * testsuite/pad/getnopush.c:
20489         * testsuite/pad/link.c:
20490         * testsuite/refcounting/sched.c: (create_pipeline):
20491         * testsuite/registry/Makefile.am:
20492         * testsuite/registry/gst-print-formats.c:
20493         * testsuite/schedulers/.cvsignore:
20494         * testsuite/schedulers/142183-2.c:
20495         * testsuite/schedulers/142183.c:
20496         * testsuite/schedulers/143777-2.c:
20497         * testsuite/schedulers/143777.c:
20498         * testsuite/schedulers/147713.c:
20499         * testsuite/schedulers/147819.c:
20500         * testsuite/schedulers/147894-2.c:
20501         * testsuite/schedulers/147894.c:
20502         * testsuite/schedulers/Makefile.am:
20503         * testsuite/schedulers/group_link.c:
20504         * testsuite/schedulers/queue_link.c:
20505         * testsuite/schedulers/relink.c:
20506         * testsuite/schedulers/unlink.c:
20507         * testsuite/schedulers/unref.c:
20508         * testsuite/schedulers/useless_iteration.c:
20509         * testsuite/states/bin.c:
20510           clean out/remove some stuff from the testsuite directories
20511
20512 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20513
20514         * configure.ac:
20515           check for some headers
20516         * gst/elements/Makefile.am:
20517         * gst/elements/gstelements.c:
20518           don't compile fdsrc without sys/socket.h
20519         * gst/indexers/Makefile.am:
20520         * gst/indexers/gstindexers.c: (plugin_init):
20521           don't compile fileindex without mmap
20522
20523 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20524
20525         * configure.ac:
20526           reorganize
20527           clean up
20528           document more
20529           remove cruft
20530         * check/Makefile.am:
20531         * docs/gst/Makefile.am:
20532         * examples/helloworld/Makefile.am:
20533         * gst/Makefile.am:
20534         * gst/base/Makefile.am:
20535         * gst/check/Makefile.am:
20536         * gst/elements/Makefile.am:
20537         * gst/indexers/Makefile.am:
20538         * gst/parse/Makefile.am:
20539         * libs/gst/controller/Makefile.am:
20540         * libs/gst/dataprotocol/Makefile.am:
20541         * examples/helloworld/helloworld.c: (event_loop):
20542           compile fixes, though it's not being compiled currently
20543
20544 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20545
20546         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20547           Add some simple tests for the new taglist date API.
20548
20549 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20550
20551         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20552         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20553           Beautify 'last-message' output: print 'none' for buffer timestamps
20554           and durations if none is set; improve alignment with next messages.
20555
20556 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20557
20558         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20559         * gst/gstpluginfeature.h:
20560         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20561         * gst/gstregistry.h:
20562         * docs/gst/gstreamer-sections.txt:
20563           Add new API to check plugin feature version requirements.
20564
20565         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20566           Some basic tests for the above.         
20567
20568 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20569
20570         * gst/gststructure.c: (gst_structure_to_string):
20571           guard against NULL printf - happens when for example
20572           a message structure with GstClock gets serialized
20573
20574 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20575
20576         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20577           Fix presumable copy'n'pasto.
20578
20579 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20580
20581         * gst/elements/gstfakesrc.h:
20582         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20583         * gst/elements/gsttypefindelement.c:
20584           fix some signedness
20585         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20586           I wonder if this could actually write +2GB files before
20587
20588 2005-10-13  Andy Wingo  <wingo@pobox.com>
20589
20590         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20591         Fix Timmeke Waymans bug.
20592         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20593         string of the proper length to gst_caps_from_string. There's a
20594         potential for, before this fix, that this could cause someone
20595         connecting over the network to cause a segfault if the payload is
20596         not NUL-terminated.
20597
20598 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20599
20600         * docs/design/draft-push-pull.txt:
20601         * docs/design/part-overview.txt:
20602         * docs/random/TODO-pre-0.9:
20603         * docs/random/old/ChangeLog.gstreamer:
20604         * gst/base/gstpushsrc.c:
20605         * gst/gstclock.c:
20606           fixed typos
20607
20608 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20609
20610         * gst/glib-compat.c: (gst_flags_get_first_value):
20611         * gst/glib-compat.h:
20612         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20613         (gst_value_compare_double), (gst_value_serialize_flags):
20614           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20615           infinite loop
20616
20617 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20618
20619         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20620         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20621           fix up debugging
20622         * tools/gst-launch.c: (event_loop):
20623           print out clock nicely
20624
20625 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20626
20627         * docs/gst/gstreamer-sections.txt:
20628         * gst/gsttaglist.h:
20629         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20630         (gst_tag_list_get_date_index):
20631           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20632           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20633
20634 2005-10-13  Julien MOUTTE  <julien@moutte.net>
20635
20636         * gst/base/gstcollectpads.c: (gst_collectpads_event),
20637         (gst_collectpads_chain):
20638         * gst/base/gstcollectpads.h: Handle newsegment and store informations
20639         in CollectData.
20640
20641 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20642
20643         * docs/gst/gstreamer-sections.txt:
20644         * gst/gst.c:
20645         * gst/gsterror.h:
20646         * tools/gst-inspect.c: (main):
20647         * tools/gst-launch.c: (main):
20648         * tools/gst-run.c: (main):
20649         * tools/gst-xmlinspect.c: (main):
20650           fix GOption context leaks
20651           doc fixes
20652
20653 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20654
20655         * gst/gstbus.c:
20656           use HAVE_UNISTD_H
20657         * win32/common/config.h:
20658           update config
20659         * win32/vs6/grammar.dsp:
20660         * win32/vs6/libgstelements.dsp:
20661         * win32/vs6/libgstreamer.dsp:
20662           update vs6 files
20663
20664 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20665
20666         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20667         * gst/base/gstbasesrc.c: (gst_base_src_query):
20668           fix more guint64<->gdouble conversions
20669
20670 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20671
20672         * Makefile.am:
20673           add win32-update target
20674         * win32/common/gstconfig.h:
20675         * win32/common/gstenumtypes.c:
20676         * win32/common/gstenumtypes.h:
20677         * win32/common/gstversion.h:
20678           add files that visual studio can't generate
20679
20680 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20681
20682         * Makefile.am:
20683           add a win32-update target
20684         * configure.ac:
20685
20686 2005-10-12  Wim Taymans  <wim@fluendo.com>
20687
20688         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20689         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20690         * gst/gstelement.c: (gst_element_commit_state),
20691         (gst_element_set_state):
20692         Protect flags with proper lock.
20693         unref provided cached clock in dispose.
20694
20695 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20696
20697         * gst/gst.c:
20698         * gst/gstminiobject.h:
20699         * gst/gstpad.h:
20700         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20701           removed unused flags from miniobject
20702           doc fixes
20703
20704 2005-10-12  Wim Taymans  <wim@fluendo.com>
20705
20706         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20707         (gst_file_sink_event), (gst_file_sink_render):
20708         Flush before seeking.
20709
20710 2005-10-12  Andy Wingo  <wingo@pobox.com>
20711
20712         * gst/gst.c (gst_init_check): Ignore unknown options, as has
20713         always been the case.
20714
20715 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20716
20717         * check/gst/gstbin.c: (GST_START_TEST):
20718         * docs/gst/gstreamer-sections.txt:
20719         * gst/base/gstbasesink.c: (gst_base_sink_init):
20720         * gst/base/gstbasesrc.c: (gst_base_src_init),
20721         (gst_base_src_get_range), (gst_base_src_check_get_range),
20722         (gst_base_src_start), (gst_base_src_stop):
20723         * gst/base/gstbasesrc.h:
20724         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20725         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20726         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20727         (bin_bus_handler):
20728         * gst/gstbin.h:
20729         * gst/gstbuffer.h:
20730         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20731         * gst/gstbus.h:
20732         * gst/gstelement.c: (gst_element_is_locked_state),
20733         (gst_element_set_locked_state), (gst_element_commit_state),
20734         (gst_element_set_state):
20735         * gst/gstelement.h:
20736         * gst/gstindex.c: (gst_index_init):
20737         * gst/gstindex.h:
20738         * gst/gstminiobject.h:
20739         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20740         (gst_object_set_parent):
20741         * gst/gstobject.h:
20742         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20743         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20744         * gst/gstpad.h:
20745         * gst/gstpadtemplate.h:
20746         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20747         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20748         * gst/gstpipeline.h:
20749         * gst/indexers/gstfileindex.c: (gst_file_index_load),
20750         (gst_file_index_commit):
20751         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20752         * testsuite/pad/link.c: (gst_test_src_init),
20753         (gst_test_filter_init), (gst_test_sink_init):
20754         * testsuite/states/locked.c: (main):
20755           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20756           moved bitshift from macro to enum definition
20757
20758 2005-10-12  Wim Taymans  <wim@fluendo.com>
20759
20760         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20761         * gst/elements/gstfilesink.c: (gst_file_sink_event),
20762         (gst_file_sink_render):
20763         Some more debugging info.
20764
20765 2005-10-12  Wim Taymans  <wim@fluendo.com>
20766
20767         * docs/design/part-states.txt:
20768         * tools/gst-launch.c: (main):
20769         Some doc updates.
20770         Revert non-intentional change.
20771
20772 2005-10-12  Wim Taymans  <wim@fluendo.com>
20773
20774         * check/gst/gstbin.c: (GST_START_TEST):
20775         * check/gst/gstelement.c: (GST_START_TEST):
20776         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20777         * check/gst/gstghostpad.c: (GST_START_TEST):
20778         * check/gst/gstpipeline.c: (GST_START_TEST):
20779         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20780         * check/states/sinks.c: (GST_START_TEST):
20781         * gst/elements/gsttypefindelement.c: (stop_typefinding):
20782         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20783         (gst_bin_remove_func), (gst_bin_get_state_func),
20784         (gst_bin_recalc_state), (gst_bin_change_state_func),
20785         (bin_bus_handler):
20786         * gst/gstelement.c: (gst_element_get_state_func),
20787         (gst_element_get_state), (gst_element_abort_state),
20788         (gst_element_commit_state), (gst_element_set_state),
20789         (gst_element_change_state), (gst_element_change_state_func):
20790         * gst/gstelement.h:
20791         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20792         (gst_pipeline_provide_clock_func):
20793         * gst/gstutils.c: (gst_element_link_pads_filtered):
20794         * tools/gst-launch.c: (main):
20795         * tools/gst-typefind.c: (main):
20796         Use GstClockTime in _get_state() instead of GTimeVal.
20797         Remove old code in gstutils.c
20798
20799 2005-10-12  Andy Wingo  <wingo@pobox.com>
20800
20801         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20802         removed.
20803
20804         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20805         there is no task. Shouldn't affect any code, as nothing in our
20806         plugins checks this return value.
20807         (gst_pad_stop_task): Also take the stream lock if the pad has no
20808         task. Docs updated.
20809
20810 2005-10-12  Wim Taymans  <wim@fluendo.com>
20811
20812         * gst/gstpad.c: (pre_activate), (post_activate),
20813         (gst_pad_activate_pull), (gst_pad_activate_push):
20814         Cleanup activation code. Reset old state if
20815         activation failed.
20816
20817 2005-10-12  Wim Taymans  <wim@fluendo.com>
20818
20819         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20820         (gst_base_sink_change_state):
20821         No need to prerol after receiving EOS.
20822
20823         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20824         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20825         * gst/elements/gstidentity.c: (gst_identity_event):
20826         Print events more verbosely.
20827
20828 2005-10-12  Wim Taymans  <wim@fluendo.com>
20829
20830         * check/Makefile.am:
20831         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20832         * check/states/sinks2.c:
20833         Moved sinks2 testcode in sinks check.
20834
20835         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20836         (gst_bin_remove_func), (gst_bin_recalc_state),
20837         (gst_bin_change_state_func), (bin_bus_handler):
20838         Fix potential race condition when _get_state() iterated over an
20839         ASYNC element right before it posted a state completion.
20840
20841         * gst/gstclock.h:
20842         Do proper cast here.
20843
20844         * gst/gstevent.c: (gst_event_new_newsegment),
20845         (gst_event_parse_newsegment):
20846         A playback rate of 0.0 is not allowed.
20847
20848 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20849
20850         * win32/common/config.h:
20851         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20852         (_trewinddir), (_ttelldir), (_tseekdir):
20853         * win32/common/dirent.h:
20854         * win32/common/gtchar.h:
20855         * win32/common/libgstbase.def:
20856         * win32/common/libgstreamer.def:
20857         * win32/vs6/grammar.dsp:
20858         * win32/vs6/gst_inspect.dsp:
20859         * win32/vs6/gst_launch.dsp:
20860         * win32/vs6/gstreamer.dsw:
20861         * win32/vs6/libgstbase.dsp:
20862         * win32/vs6/libgstelements.dsp:
20863         * win32/vs6/libgstreamer.dsp:
20864           Visual Studio 6 project files, and a new common directory.
20865           Phear.
20866
20867 2005-10-11  Wim Taymans  <wim@fluendo.com>
20868
20869         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20870         (gst_base_sink_do_sync), (gst_base_sink_query),
20871         (gst_base_sink_change_state):
20872         * gst/base/gstbasesink.h:
20873         Correctly parse newsegment info.
20874
20875 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20876
20877         * gst/gst.c: (init_post):
20878           split plugin paths correctly
20879
20880 2005-10-11  Wim Taymans  <wim@fluendo.com>
20881
20882         * check/gst/gstevent.c: (GST_START_TEST):
20883         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20884         (gst_base_sink_change_state):
20885         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20886         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20887         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20888         * gst/gstevent.c: (gst_event_new_newsegment),
20889         (gst_event_parse_newsegment):
20890         * gst/gstevent.h:
20891         Added extra flag to newsegment for future API freeze.
20892         Updated check and base elements.
20893
20894 2005-10-11  Julien MOUTTE  <julien@moutte.net>
20895
20896         * gst/base/gstcollectpads.c: (gst_collectpads_init),
20897         (gst_collectpads_add_pad), (gst_collectpads_pop),
20898         (gst_collectpads_event), (gst_collectpads_chain):
20899         * gst/base/gstcollectpads.h: Handle EOS correctly.
20900
20901 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20902
20903         * tools/gst-launch.c: (main):
20904           more null protecting
20905
20906 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20907
20908         * gst/gst-i18n-lib.h:
20909           check for ENABLE_NLS, not GETTEXT_PACKAGE
20910         * gst/gstregistry.c: (gst_registry_add_plugin),
20911         (gst_registry_scan_path_level),
20912         (_gst_registry_remove_cache_plugins):
20913           protect possibly NULL strings
20914         * gst/parse/types.h:
20915           config.h already included before
20916         * tools/gst-inspect.c: (main):
20917           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
20918           check for ENABLE_NLS, not GETTEXT_PACKAGE
20919         * tools/gst-launch.c: (main):
20920           check for ENABLE_NLS, not GETTEXT_PACKAGE
20921
20922 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20923
20924         * configure.ac:
20925           if we don't have glib, fail before testing 2.8
20926         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
20927           fix a leak, should fix plugins-base testsuite
20928
20929 2005-10-11  Andy Wingo  <wingo@pobox.com>
20930
20931         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
20932         take the mode we're going to as an arg. Go head and set the mode
20933         and flushing flags now, so that if the activate function starts a
20934         thread all the flags will be in the right state.
20935         (post_activate): Renamed also. Just handle making sure streaming
20936         finishes for the deactivation case, and setting the deactivated
20937         mode.
20938         (gst_pad_set_active): Complain loudly if deactivation fails.
20939         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
20940         (gst_pad_activate_push): Adapt to pre/post_activate changes,
20941         remove the terrible hack.
20942
20943 2005-10-11  Wim Taymans  <wim@fluendo.com>
20944
20945         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20946         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
20947         (gst_bin_recalc_state), (gst_bin_change_state_func),
20948         (gst_bin_dispose), (bin_bus_handler):
20949         * gst/gstbin.h:
20950         Prepare to make current EOS message queue more generic.
20951         Fix some typos.
20952
20953         * gst/gstevent.c: (gst_event_new_newsegment),
20954         (gst_event_parse_newsegment):
20955         * gst/gstevent.h:
20956         Rename base to stream_time.
20957
20958         * gst/gstmessage.h:
20959         Fix typo in docs.
20960
20961 2005-10-11  Wim Taymans  <wim@fluendo.com>
20962
20963         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20964         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
20965         (gst_bin_change_state_func), (bin_bus_handler):
20966         * gst/gstbin.h:
20967         Work on proper clock selection.
20968
20969 2005-10-11  Edward Hervey  <edward@fluendo.com>
20970
20971         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
20972         * libs/gst/controller/gstcontroller.h:
20973         Added GList* version of _remove_properties() in order to be able to wrap
20974         it in bindings.
20975
20976 2005-10-11  Wim Taymans  <wim@fluendo.com>
20977
20978         * docs/design/part-states.txt:
20979         Some more docs.
20980
20981         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
20982         (gst_bin_change_state_func), (bin_bus_handler):
20983         Doc updates. Don't distribute the same clock over and over again.
20984
20985         * gst/gstclock.c:
20986         * gst/gstclock.h:
20987         Doc updates.
20988
20989         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
20990         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
20991         (gst_pad_send_event):
20992         * gst/gstpad.h:
20993         Make probe emission threadsafe again.
20994         Register quarks and move _get_name() from utils.
20995         Doc updates.
20996
20997         * gst/gstpipeline.c: (gst_pipeline_class_init),
20998         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20999         Only redistribute the clock of it changed.
21000
21001         * gst/gstsystemclock.h:
21002         Doc updates. 
21003
21004         * gst/gstutils.c:
21005         * gst/gstutils.h:
21006         Moved the _flow_get_name() to GstPad.
21007
21008 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21009
21010         * check/gst-libs/gdp.c: (GST_START_TEST):
21011         * check/gst/gstcaps.c: (GST_START_TEST):
21012         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21013         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21014         (gst_dp_packet_from_caps):
21015           fix more valgrind warnings before turning up the heat
21016
21017 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21018
21019         * gst/parse/grammar.y:
21020           some cleanup before the hacking
21021
21022 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21023
21024         * gst/base/gstbasesrc.c: (gst_base_src_query):
21025           use conversions
21026         * gst/gstutils.c: (gst_guint64_to_gdouble),
21027         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21028         * gst/gstutils.h:
21029           externalize, basesrc uses it
21030           obviously the implementation needs testing
21031
21032 2005-10-10  Wim Taymans  <wim@fluendo.com>
21033
21034         * tests/sched/Makefile.am:
21035         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21036         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21037
21038 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21039
21040         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21041           apparently converting from guint64 to double is not implemented
21042           on MSVC
21043
21044 2005-10-10  Wim Taymans  <wim@fluendo.com>
21045
21046         * check/Makefile.am:
21047         * check/generic/states.c: (GST_START_TEST):
21048         * check/gst/gstbin.c: (GST_START_TEST):
21049         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21050         * check/states/sinks.c: (GST_START_TEST):
21051         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21052         (main):
21053         Check fixes, use API as stated in design docs, remove hacks.
21054
21055         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21056         (gst_base_sink_change_state):
21057         Catch stopping our task while we're shutting down.
21058
21059         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21060         (gst_bin_remove_func), (gst_bin_get_state_func),
21061         (gst_bin_recalc_state), (gst_bin_change_state_func),
21062         (bin_bus_handler):
21063         * gst/gstbin.h:
21064         * gst/gstelement.c: (gst_element_init),
21065         (gst_element_get_state_func), (gst_element_abort_state),
21066         (gst_element_commit_state), (gst_element_lost_state),
21067         (gst_element_set_state), (gst_element_change_state),
21068         (gst_element_change_state_func):
21069         * gst/gstelement.h:
21070         New state change algorithm (see #318116)
21071
21072         * gst/gstpipeline.c: (gst_pipeline_class_init),
21073         (gst_pipeline_init), (gst_pipeline_set_property),
21074         (gst_pipeline_get_property), (do_pipeline_seek),
21075         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21076         * gst/gstpipeline.h:
21077         Remove crude state change hacks.
21078
21079         * gst/gstutils.h:
21080         Remove crude hacks.
21081
21082         * tools/gst-launch.c: (main):
21083         Fixes for state change. Needs some more work to fully use the
21084         new stuff.
21085
21086 2005-10-10  Andy Wingo  <wingo@pobox.com>
21087
21088         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21089
21090         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21091         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21092         issue.
21093
21094 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21095
21096         * gst/gstiterator.c: (gst_iterator_new):
21097           Fix my previous commit: GTypes passed to gst_iterator_new()
21098           can be fundamental types.
21099
21100 2005-10-10  Wim Taymans  <wim@fluendo.com>
21101
21102         * gst/gstelement.c: (gst_element_iterate_pad_list),
21103         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21104         (gst_element_iterate_sink_pads):
21105         Use src/sink pads lists for the respective iterators instead
21106         of filtering.
21107
21108 2005-10-10  Andy Wingo  <wingo@pobox.com>
21109
21110         Merged in popt removal + GOption addition patch from Ronald, bug
21111         #169772.
21112
21113         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21114         GstElement macros around, remove popt-related symbols, add goption
21115         stuff.
21116
21117         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21118         
21119         * docs/gst/Makefile.am:
21120         * docs/libs/Makefile.am: No POPT_CFLAGS.
21121         
21122         * examples/manual/Makefile.am:
21123         * docs/manual/basics-init.xml: Doc updates with an example.
21124         
21125         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21126         (gst_init), (parse_one_option), (parse_goption_arg):
21127         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21128         bit of hand merging and debugging to get the GOption stuff working
21129         tho.
21130         
21131         * tests/Makefile.am:
21132         * tools/Makefile.am:
21133         * tools/gst-inspect.c: (main):
21134         * tools/gst-launch.c: (main):
21135         * tools/gst-run.c: (main):
21136         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21137
21138 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21139
21140         * gst/gstiterator.c: (gst_iterator_new):
21141           Add assertions to make sure passed GType is likely to really
21142           be a GType (as the compiler won't catch it if the size and
21143           GType arguments get mixed up, see #318447).
21144
21145 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21146
21147         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21148
21149         * gst/gstbin.c: (gst_bin_iterate_sorted):
21150           Pass GType and size arguments to gst_iterator_new() in the right
21151           order (maybe we should make _new() take the GType as first argument
21152           just like _new_list()?) (#318447).
21153           
21154
21155 2005-10-10  Wim Taymans  <wim@fluendo.com>
21156
21157         * gst/gstelement.c: (gst_element_finalize):
21158         And free the GStaticRecMutex too
21159
21160 2005-10-10  Andy Wingo  <wingo@pobox.com>
21161
21162         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21163         Allocate and free the mutex properly.
21164
21165         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21166         New macros.
21167         (GstElement): The state_lock is now recursive. Rebuild your
21168         plugins, suckers. Old macros adapted.
21169
21170         * docs/gst/gstreamer-sections.txt: Doc updates.
21171
21172         * gst/gstutils.h:
21173         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21174         (g_static_rec_cond_wait): Ported from state changes patch, while
21175         we wait on bug #317802 to be solved in a well-distributed GLib.
21176
21177         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21178         gst_element_change_state, variable name changes.
21179         (gst_element_change_state): Split out of gst_element_set_state in
21180         preparation for the state change merge. Doesn't pay attention to
21181         the 'transition' argument.
21182         (gst_element_set_state): Updates, hopefully purely cosmetic.
21183         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21184         state change patch.
21185         (gst_element_get_state_func): Renamed from get_state, cosmetic
21186         changes.
21187
21188 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21189
21190         * gst/elements/gstelements.c:
21191         * win32/GStreamer.vcproj:
21192         * win32/config.h:
21193         * win32/dirent.c: (_tseekdir):
21194         * win32/gst-inspect.vcproj:
21195         * win32/gst-launch.vcproj:
21196         * win32/gstconfig.h:
21197         * win32/gstelements.vcproj:
21198         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21199         * win32/gstreamer.def:
21200         * win32/msvc71.sln:
21201           updates for the win32 build (patch from Sebastien Moutte)
21202
21203 2005-10-10  Andy Wingo  <wingo@pobox.com>
21204
21205         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21206         gst_bin_get_state, cleaned up (but no logic changes).
21207         (bin_element_is_sink): Comment updates.
21208         (sink_iterator_filter): Remove needless cast.
21209         (gst_bin_iterate_sinks): Doc update.
21210         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21211         cleaned up (but no logic changes).
21212
21213         * check/states/sinks.c (test_src_sink): Cleanups from the state
21214         change patch.
21215         (test_livesrc_sink): Sync on the state.
21216
21217         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21218         the state change patch.
21219
21220         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21221         change patch.
21222
21223         * check/gst/gstbin.c: Merge in some style fixes and additional
21224         checks from Wim's state change patch.
21225
21226 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21227
21228         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21229         (gst_type_find_helper):
21230           Check whether we have the requested data already in our list of
21231           cached buffers before pulling a new buffer; also make the buffer
21232           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21233
21234 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21235
21236         * gst/gstcaps.c:
21237         * gst/gstevent.c:
21238           doc updates
21239         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21240           don't use long long, it's not portable.  Replacing with
21241           gint64 seems to work; let's hope no skeletons fall out of the closet.
21242
21243 2005-10-10  Andy Wingo  <wingo@pobox.com>
21244
21245         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21246
21247 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21248
21249         * docs/gst/gstreamer-sections.txt:
21250         * gst/gstevent.c:
21251         * gst/gstevent.h:
21252         * gst/gstinfo.c:
21253         * gst/gstinfo.h:
21254         * gst/gstmessage.c: (gst_message_parse_state_changed):
21255         * gst/gstpad.c:
21256         * gst/gstpad.h:
21257           more docs, fix compilation
21258
21259 2005-10-09  Philippe Khalaf <burger@speedy.org>
21260         * gst/gstmessage.c:
21261           Fixed a few forgotten variables on previous commit
21262
21263 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21264
21265         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21266           Fix evil typefind crasher: getrange() might return a short
21267           buffer at the end of a file, but gst_type_find_peek() must
21268           either return the full data as requested or NULL, but
21269           never a short buffer.
21270
21271 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21272
21273         * gst/gstmessage.c: (gst_message_new_state_changed),
21274         (gst_message_parse_state_changed):
21275         * gst/gstmessage.h:
21276           don't use "new", it's a C++ keyword
21277
21278 2005-10-08  Wim Taymans  <wim@fluendo.com>
21279
21280         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21281         * gst/gstelement.c: (gst_element_post_message):
21282         * gst/gstpipeline.c: (gst_pipeline_change_state):
21283         Small docs and debug updates.
21284
21285 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21286
21287         * docs/gst/gstreamer-sections.txt:
21288         * gst/gstelementfactory.c:
21289         * gst/gstevent.c:
21290         * gst/gsttaglist.c:
21291           more docs
21292
21293 2005-10-08  Wim Taymans  <wim@fluendo.com>
21294
21295         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21296         (gst_bin_dispose), (bin_bus_handler):
21297         Fix typos, add comments.
21298         Clear EOS list when going to PAUSED from any direction and do it
21299         in a threadsafe way.
21300         Get base time in a threadsafe way too.
21301         Fix confusing debug in the change_state function.
21302         Various other small cleanups.
21303         
21304         * gst/gstelement.c: (gst_element_post_message):
21305         Fix very verbose bus posting code.
21306
21307         * gst/gstpipeline.c: (gst_pipeline_class_init),
21308         (gst_pipeline_set_property), (gst_pipeline_get_property),
21309         (gst_pipeline_change_state):
21310         Small ARG_ -> PROP_ cleanup
21311
21312 2005-10-08  Wim Taymans  <wim@fluendo.com>
21313
21314         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21315         Do a less CPU demanding EOS check because we can.
21316
21317 2005-10-08  Wim Taymans  <wim@fluendo.com>
21318
21319         * libs/gst/dataprotocol/dataprotocol.c:
21320         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21321         (gst_dp_packet_from_event):
21322         * libs/gst/dataprotocol/dataprotocol.h:
21323         * libs/gst/dataprotocol/dp-private.h:
21324         It's about time we bump the version number.
21325         Since event types don't fit in the guint8 anymore describing
21326         the payload type, make payload type 16 bits wide.
21327
21328 2005-10-08  Wim Taymans  <wim@fluendo.com>
21329
21330         * docs/design/part-TODO.txt:
21331         * docs/design/part-clocks.txt:
21332         * docs/design/part-events.txt:
21333         * docs/design/part-gstbin.txt:
21334         * docs/design/part-gstelement.txt:
21335         * docs/design/part-gstpipeline.txt:
21336         * docs/design/part-live-source.txt:
21337         * docs/design/part-messages.txt:
21338         * docs/design/part-overview.txt:
21339         * docs/design/part-states.txt:
21340         Many doc updates.
21341
21342 2005-10-08  Wim Taymans  <wim@fluendo.com>
21343
21344         * gst/gstevent.c:
21345         * gst/gstevent.h:
21346         Fix event quark registration.
21347         Add some space between events so we can insert them in the
21348         right groups.
21349
21350 2005-10-08  Wim Taymans  <wim@fluendo.com>
21351
21352         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21353         (gst_base_sink_handle_buffer):
21354         Better log message.
21355
21356         * gst/gstbus.h:
21357         * gst/gstelement.h:
21358         More docs.
21359
21360         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21361         (gst_queue_set_property), (gst_queue_get_property):
21362         * gst/gstqueue.h:
21363         Remove old unused properties.
21364
21365 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21366         * docs/gst/gstreamer-sections.txt:
21367         * gst/gstmessage.c:
21368         * gst/gstmessage.h:
21369         * gst/gstminiobject.c:
21370         * gst/gstminiobject.h:
21371         * gst/gstobject.h:
21372         * gst/gstpad.h:
21373         * gst/gstutils.h:
21374           lots of new docs and doc fixes
21375
21376 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21377
21378         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21379         * gst/gstplugin.h:
21380         * gst/gstregistry.c: (gst_registry_lookup_locked),
21381         (gst_registry_scan_path_level):
21382         * gst/gstregistryxml.c: (load_plugin):
21383           Only ever load one plugin for a given plugin basename.
21384           This ensures correct overriding of GST_PLUGIN_PATH over
21385           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21386           system installed plugins.
21387
21388 2005-10-08  Wim Taymans  <wim@fluendo.com>
21389
21390         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21391         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21392         Prepare for doing QOS.
21393
21394 2005-10-08  Wim Taymans  <wim@fluendo.com>
21395
21396         * check/gst/gstbin.c: (GST_START_TEST):
21397         * check/pipelines/cleanup.c: (GST_START_TEST):
21398         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21399         Allow new clock message too.
21400
21401 2005-10-08  Wim Taymans  <wim@fluendo.com>
21402
21403         * gst/gstmessage.c: (gst_message_new_error),
21404         (gst_message_new_warning), (gst_message_new_tag),
21405         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21406         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21407         (gst_message_new_segment_start), (gst_message_new_segment_done),
21408         (gst_message_parse_state_changed),
21409         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21410         (gst_message_parse_new_clock):
21411         * gst/gstmessage.h:
21412         Also carry the clock in question.
21413
21414 2005-10-08  Wim Taymans  <wim@fluendo.com>
21415
21416         * gst/gstmessage.c: (gst_message_new_custom),
21417         (gst_message_new_eos), (gst_message_new_error),
21418         (gst_message_new_warning), (gst_message_new_tag),
21419         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21420         (gst_message_new_new_clock), (gst_message_new_segment_start),
21421         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21422         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21423         * gst/gstmessage.h:
21424         Clean up.
21425         Added clock related messages.
21426
21427         * gst/gstpipeline.c: (gst_pipeline_change_state):
21428         Post message when the clock changed.
21429
21430         * tools/gst-launch.c: (event_loop):
21431         Print new clock.
21432
21433 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21434
21435         * tools/gst-inspect.c: (print_element_properties_info):
21436           Can't pass NULL strings to g_print() on windows.
21437
21438 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21439
21440         * docs/Makefile.am:
21441         * docs/gst/Makefile.am:
21442         * docs/gst/gstreamer-docs.sgml:
21443         * docs/gst/running.xml:
21444         * docs/version.entities.in:
21445           add a chapter on running GStreamer.
21446           document GST_DEBUG and GST_PLUGIN* env vars
21447
21448 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21449
21450         * Makefile.am:
21451           remove include dir
21452         * configure.ac:
21453           remove PLUGINS_BUILDDIR stuff
21454         * gst/gst.c: (init_post):
21455           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21456         * idiottest.mak:
21457           remove, it was condescending and not needed
21458
21459 2005-10-08  Wim Taymans  <wim@fluendo.com>
21460
21461         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21462         (gst_base_sink_handle_object), (gst_base_sink_event),
21463         (gst_base_sink_wait), (gst_base_sink_handle_event),
21464         (gst_base_sink_change_state):
21465         * gst/base/gstbasesink.h:
21466         Repost EOS message while going to PLAYING if still EOS.
21467         Make sure that when receiving a FLUSH_START we don't attempt
21468         to sync on the clock anymore.
21469
21470 2005-10-08  Wim Taymans  <wim@fluendo.com>
21471
21472         * tools/gst-launch.c: (event_loop):
21473         Better message printout.
21474
21475 2005-10-08  Wim Taymans  <wim@fluendo.com>
21476
21477         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21478         (gst_bin_child_proxy_get_children_count):
21479         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21480         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21481         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21482         (gst_child_proxy_set_valist):
21483         * gst/parse/grammar.y:
21484         Make ChildProxy threadsafe and fix mem leaks.
21485
21486 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21487
21488         * gst/gst.c: (init_post):
21489           debug the GST_PLUGIN_ env vars
21490
21491 2005-10-08  Wim Taymans  <wim@fluendo.com>
21492
21493         * check/gst/gstbin.c: (GST_START_TEST):
21494         * check/gst/gstmessage.c: (GST_START_TEST):
21495         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21496         * gst/gstelement.c: (gst_element_commit_state),
21497         (gst_element_lost_state):
21498         * gst/gstmessage.c: (gst_message_new_state_changed),
21499         (gst_message_parse_state_changed):
21500         * gst/gstmessage.h:
21501         * tools/gst-launch.c: (event_loop):
21502         Added extra field to STATE_CHANGE message with the pending
21503         state, which will be different from the new state soon.
21504
21505 2005-10-08  Wim Taymans  <wim@fluendo.com>
21506
21507         * gst/gstbus.c: (gst_bus_pop):
21508         * gst/gstclock.c:
21509         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21510         Small cleanups and doc updates.
21511
21512 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21513
21514         * gst/gst.c: (init_pre):
21515         * gst/gstbin.c: (gst_bin_add_func):
21516           log distributing clocks and base time
21517         * gst/gstregistry.c: (gst_registry_add_plugin),
21518         (gst_registry_scan_path_level), (gst_registry_scan_path):
21519           clean up the debugging output a little
21520         * gst/gstutils.c: (gst_element_state_get_name):
21521           warn about a memleak (I've actually seen this be used, though
21522           it was probably a bug)
21523
21524 2005-10-07  Wim Taymans  <wim@fluendo.com>
21525
21526         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21527         (gst_base_src_init), (gst_base_src_default_newsegment),
21528         (gst_base_src_newsegment), (gst_base_src_do_seek),
21529         (gst_base_src_loop), (gst_base_src_start):
21530         * gst/base/gstbasesrc.h:
21531         Make the newsegment event customizable by subclasses.
21532
21533 2005-10-07  Wim Taymans  <wim@fluendo.com>
21534
21535         * gst/gstevent.c: (gst_event_new_buffersize),
21536         (gst_event_parse_buffersize):
21537         * gst/gstevent.h:
21538         New event for future idea.
21539
21540 2005-10-07  Andy Wingo  <wingo@pobox.com>
21541
21542         * gst/gstelement.c (gst_element_post_message): Doc update.
21543
21544         * docs/gst/gstreamer-sections.txt: Update.
21545
21546         * gst/gstmessage.c (gst_message_new_application): Made into a
21547         function like honest API calls.
21548         (gst_message_new_element): New message type.
21549
21550         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21551
21552         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21553         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21554         times.
21555
21556         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21557         NO_PREROLL from gst_element_change_state to fall through.
21558
21559 2005-10-07  Wim Taymans  <wim@fluendo.com>
21560
21561         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21562         (gst_ghost_pad_do_activate_push):
21563         Activating a ghostpad with no internal pad in push mode
21564         is ok.
21565
21566 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21567
21568         * gst/gstobject.h:
21569           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21570           Fixes compilation on Windows.
21571
21572 2005-10-07  Michael Smith <msmith@fluendo.com>
21573
21574         * tools/gst-inspect.c:
21575           Print out feature and plugin count at the end when printing out
21576           all features.
21577
21578 2005-10-04  Michael Smith <msmith@fluendo.com>
21579
21580         * gst/gsterror.c: (_gst_stream_errors_init):
21581           Add another error string used in a few existing plugins.
21582
21583         * gst/gstplugin.c:
21584         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21585         * tools/gst-inspect.c: (print_element_info):
21586           When a feature disappears from a plugin (and the feature exists in
21587           the cached registry file), things went horribly wrong. This isn't a
21588           complete fix, we should actually be removing the 'missing' features
21589           from the features list when we load the actual plugin. That's not
21590           yet implemented. 
21591
21592 2005-10-04  Johan Dahlin  <johan@gnome.org>
21593
21594         * check/gst/gstiterator.c: (GST_START_TEST):
21595         * gst/gstbin.c: (gst_bin_iterate_elements),
21596         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21597         * gst/gstelement.c: (gst_element_iterate_pads):
21598         * gst/gstformat.c: (gst_format_iterate_definitions):
21599         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21600         (gst_iterator_new_list), (gst_iterator_filter):
21601         * gst/gstiterator.h:
21602         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21603         Add a GType to GstIterator, update callsites and tests.
21604
21605 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21606
21607         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21608           give events a chance to be handled by event probes when the pad
21609           is not linked
21610
21611 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21612
21613         * gst/gstevent.c: (gst_event_type_get_name),
21614         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21615         * gst/gstevent.h:
21616           add string representations for event types
21617
21618 2005-10-06  Wim Taymans  <wim@fluendo.com>
21619
21620         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21621         Don't use NULL pointers.
21622
21623 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21624
21625         * gst/gst_private.h:
21626         * gst/gstbus.c:
21627         * gst/gstelement.c:
21628         * gst/gstinfo.c:
21629         * gst/gstpluginfeature.c:
21630           widen the debug category in output to fit the biggest one we have
21631           add a bus category and use it
21632           play with the colors
21633           fix up some categories
21634
21635 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21636
21637         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21638           add push activation of sink ghost pads.
21639           Andye, please verify
21640
21641 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21642
21643         * gst/gstutils.c: (gst_element_link_pads):
21644           fix a bug in the case where neither element has a pad
21645         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21646           add a test for that case
21647
21648 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21649
21650         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21651           emit have-data before checking for peers.  This allows
21652           for probe handlers to connect elements.  This helps autopluggers.
21653         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21654         (gst_pad_suite):
21655           add six checks, linked/unlinked with no/true/false probe
21656
21657 2005-10-04  Wim Taymans  <wim@fluendo.com>
21658
21659         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21660         (gst_fake_sink_event), (gst_fake_sink_preroll),
21661         (gst_fake_sink_render), (gst_fake_sink_change_state):
21662         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21663         (gst_fake_src_get_property), (gst_fake_src_create),
21664         (gst_fake_src_stop):
21665         * gst/elements/gstidentity.c: (gst_identity_stop):
21666         Protect last_message with lock.
21667
21668 2005-10-04  Edward Hervey  <edward@fluendo.com>
21669
21670         * gst/gstformat.h: 
21671         Added precision in the comments for GST_FORMAT_DEFAULT
21672
21673 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
21674
21675         * tools/gst-launch.c: (main):
21676           Don't try to run erroneous pipelines.
21677
21678 2005-10-04  Julien MOUTTE  <julien@moutte.net>
21679
21680         * gst/gstbus.c: We don't need this header.
21681
21682 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21683
21684         * configure.ac:
21685           back to development
21686
21687 === release 0.9.3 ===
21688
21689 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21690
21691         * README:
21692         * configure.ac:
21693           Releasing 0.9.3, "Unregistered"
21694
21695 2005-10-03  Andy Wingo  <wingo@pobox.com>
21696
21697         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21698         whereby calling a pad's activatepush() function can start a thread
21699         that starts to push or pull before the pad gets the FLUSHING flag
21700         unset. Hack around it by holding the stream lock until the flag is
21701         set. Need to replace this with a proper solution. Together with
21702         the ghost pad fixes, this fixes mp3 playing/tagreading.
21703
21704         * docs/design/part-gstghostpad.txt: Add a note about activation of
21705         proxy pads outside of ghost pads.
21706
21707         * gst/gstghostpad.c: Implement the ghost pad activation design.
21708
21709 2005-10-02  Andy Wingo  <wingo@pobox.com>
21710
21711         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21712         It is volatile, after all.
21713
21714         * docs/design/part-gstghostpad.txt: Flesh out activation with
21715         ghost pads.
21716
21717         * gst/base/gstbasesrc.c (gst_base_src_init): Use
21718         GST_DEBUG_FUNCPTR.
21719
21720 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
21721
21722         * configure.ac:
21723           Fix (unused) AM_CONDITIONAL tests.
21724
21725 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
21726
21727         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21728
21729         * gst/gstutils.c: (gst_pad_query_convert):
21730           Add assertion that makes sure src_val is >=0, just like
21731           gst_query_new_convert() has. (#315895)
21732
21733 2005-09-30  Edward Hervey  <edward@fluendo.com>
21734
21735         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21736         Let's not iterate pads we're not interested in, it avoids getting 
21737         sky-high refcounts on sinkpad.
21738
21739 2005-09-30  Wim Taymans  <wim@fluendo.com>
21740
21741         * gst/gstelement.c: (gst_element_set_state),
21742         (gst_element_change_state):
21743         Small tweak, element in ASYNC remains ASYNC.
21744
21745 2005-09-30  Wim Taymans  <wim@fluendo.com>
21746
21747         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21748         Only error is an error.
21749
21750         * gst/gstbin.c: (gst_bin_change_state):
21751         Better debugging.
21752
21753         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21754         Also call pad_block in pad alloc.
21755
21756         * gst/gstutils.c: (gst_flow_get_name):
21757         Better debugging.
21758
21759 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21760
21761         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21762         (gst_base_src_get_range):
21763           Fix documentation typos. Add some more debug info.
21764
21765 2005-09-29  David Schleef  <ds@schleef.org>
21766
21767         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21768           more end-user friendly.
21769         * tools/gst-inspect.c: (main): Check if command-line argument is
21770           a file and attempt to load that file as a plugin.
21771
21772 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21773
21774         * check/gst/gstbin.c:
21775         * check/states/sinks.c:
21776           fix tests for the new warning
21777         * check/gst/gstpipeline.c:
21778           add a test for pipeline and bus interaction
21779         * gst/gstelement.c:
21780           elements should be NULL if they get disposed; add a warning if not
21781
21782 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21783
21784         * gst/gstobject.c:
21785           for 2.6 refcounting, make debug log more correct by printing
21786           the actual refcounts at the time of swap (Wim)
21787
21788 2005-09-29  Andy Wingo  <wingo@pobox.com>
21789
21790         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21791         removes signal watches previously added via
21792         gst_bus_add_signal_watch.
21793         (gst_bus_add_signal_watch): Don't return the source id, just store
21794         it on the bus if there wasn't an id already.
21795
21796         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21797         add_signal_watch and remove_signal_watch.
21798
21799 2005-09-29  Edward Hervey  <edward@fluendo.com>
21800
21801         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
21802         Better if we actually iterate the list :)
21803
21804 2005-09-29  Wim Taymans  <wim@fluendo.com>
21805
21806         * check/gst/gstbin.c: (GST_START_TEST):
21807         Change for new bus API.
21808
21809         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21810         (send_messages), (GST_START_TEST), (gstbus_suite):
21811         Change for new bus signal API.
21812
21813         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21814         (gst_bus_source_prepare), (gst_bus_source_check),
21815         (gst_bus_create_watch), (gst_bus_add_watch_full),
21816         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21817         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21818         * gst/gstbus.h:
21819         Remove support for multiple GSources operating on different
21820         message types as it is too complex and unneeded when using
21821         signals.
21822         Added support for receiving signals from the bus.
21823
21824 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21825
21826         * docs/libs/tmpl/gstdataprotocol.sgml:
21827         * docs/manual/advanced-dataaccess.xml:
21828         * gst/elements/gstcapsfilter.c:
21829         * gst/gstutils.c:
21830           rename filter-caps to caps property
21831
21832 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21833
21834         * gst/gstvalue.c: (gst_value_deserialize_fraction):
21835           More robust fraction string parsing.
21836
21837         * docs/pwg/appendix-porting.xml:
21838           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21839
21840 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21841
21842         * gst/gstcaps.c: (gst_caps_do_simplify):
21843           Thou shalt not free a structure and then continue using it
21844           in the next loop iteration.
21845
21846         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21847         (gst_caps_suite):
21848           Add test case for caps simplification.
21849
21850 2005-09-29  Wim Taymans  <wim@fluendo.com>
21851
21852         * check/gst/gstbin.c: (GST_START_TEST):
21853         Oops.
21854
21855 2005-09-29  Wim Taymans  <wim@fluendo.com>
21856
21857         * check/gst/gstbin.c: (GST_START_TEST):
21858         Add bus to bin.
21859
21860         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21861         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21862         (find_element), (gst_bin_sort_iterator_next),
21863         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21864         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21865         (gst_bin_change_state), (gst_bin_dispose):
21866         A bin does not have a bus, it gets the bus from the parent.
21867
21868         * gst/gstelement.c: (gst_element_requires_clock),
21869         (gst_element_provides_clock), (gst_element_is_indexable),
21870         (gst_element_is_locked_state), (gst_element_change_state),
21871         (gst_element_set_bus_func):
21872         Small cleanups.
21873
21874         * gst/gstpipeline.c: (gst_pipeline_class_init),
21875         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21876         The pipeline provides a bus.
21877
21878 2005-09-28  Johan Dahlin  <johan@gnome.org>
21879
21880         * gst/gstmessage.c (gst_message_parse_state_changed): Use
21881         gst_structure_get_enum instead of gst_structure_get_int
21882
21883         * gst/gststructure.c (gst_structure_get_enum): Impl.
21884
21885         * gst/gststructure.h (gst_structure_get_enum): Add
21886
21887         * docs/gst/gstreamer-sections.txt: Ditto
21888
21889         * gst/gstmessage.c (gst_message_new_state_changed): Use
21890         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21891         which does introspection.
21892         Reviewed by Christian Schaller
21893
21894 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21895
21896         * gst/gstinfo.c: (gst_debug_log_default):
21897           don't do dummy g_strdup()s
21898         * libs/gst/controller/gstcontroller.c:
21899         (on_object_controlled_property_changed),
21900         (gst_controlled_property_new), (gst_controller_new_valist),
21901         (gst_controller_new_list),
21902         (gst_controller_remove_properties_valist), (gst_controller_set),
21903         (gst_controller_get), (gst_controller_sync_values),
21904         (gst_controller_get_value_array), (_gst_controller_class_init),
21905         (gst_controller_get_type):
21906         * libs/gst/controller/gstcontroller.h:
21907         * libs/gst/controller/gstinterpolation.c:
21908         (gst_controlled_property_find_timed_value_node):
21909           convert // to /**/ comments
21910
21911 2005-09-28  Wim Taymans  <wim@fluendo.com>
21912
21913         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21914         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21915         (gst_bus_sync_signal_handler):
21916         * gst/gstbus.h:
21917         Added async-message and sync-message signals to the bus.
21918         Added helper BusFunc to emit signals for all posted messages.
21919
21920         * gst/gstmessage.c: (gst_message_type_get_name),
21921         (gst_message_type_to_quark), (gst_message_get_type):
21922         * gst/gstmessage.h:
21923         Register quarks for message names.
21924
21925 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21926
21927         * docs/libs/gstreamer-libs-sections.txt:
21928         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
21929         (gst_controller_new_list):
21930         * libs/gst/controller/gstcontroller.h:
21931           added another constructor for language bindings
21932
21933 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21934
21935         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21936           add another check
21937         * gst/gstbus.c:
21938           add some doc
21939         * gst/gstinfo.c: (_gst_debug_init):
21940           slightly more readable color for refcount debugging
21941
21942 2005-09-28  Wim Taymans  <wim@fluendo.com>
21943
21944         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21945         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21946         (find_element), (gst_bin_sort_iterator_next),
21947         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21948         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21949         (gst_bin_change_state), (gst_bin_dispose):
21950         Small doc fixes. get_clock -> provide_clock.
21951
21952         * gst/gstelement.c: (gst_element_class_init),
21953         (gst_element_provides_clock), (gst_element_provide_clock),
21954         (gst_element_get_clock), (gst_element_commit_state),
21955         (gst_element_lost_state):
21956         * gst/gstelement.h:
21957         Make get/set_clock() symetric. Add provide_clock vmethod since
21958         that is actually what this function does.
21959
21960         * gst/gstpipeline.c: (gst_pipeline_class_init),
21961         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
21962         (gst_pipeline_get_clock):
21963         get_clock -> provide_clock.
21964
21965 2005-09-28  Andy Wingo  <wingo@pobox.com>
21966
21967         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
21968         lieu of real docs...
21969
21970         * gst/elements/gstfdsrc.c: Cleaned up a bit.
21971
21972 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
21973
21974         * gst/elements/gstcapsfilter.c:
21975         * gst/elements/gstfakesink.c:
21976         * gst/elements/gstfakesrc.c:
21977         * gst/elements/gstfdsink.c:
21978         * gst/elements/gstfdsrc.c:
21979         * gst/elements/gstfilesink.c:
21980         * gst/elements/gstfilesrc.c:
21981         * gst/elements/gstidentity.c:
21982         * gst/elements/gsttee.c:
21983         * gst/elements/gsttypefindelement.c:
21984           Make element details static.
21985
21986 2005-09-28  Wim Taymans  <wim@fluendo.com>
21987
21988         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21989         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21990         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21991         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21992         (gst_bin_change_state), (gst_bin_dispose):
21993         Some documentation updates.
21994         Clean up dispose handlers.
21995
21996         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
21997         * gst/gstpad.c: (gst_pad_dispose):
21998         Clean up dispose handler.
21999
22000         * gst/gstpipeline.c: (gst_pipeline_change_state):
22001         Removed spurious UNLOCK.
22002
22003 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22004
22005         * docs/gst/gstreamer-sections.txt:
22006         * gst/base/gstbasesrc.h:
22007         * gst/gstelement.h:
22008         * gst/gstevent.h:
22009         * gst/gstobject.h:
22010         * gst/gstpad.h:
22011         * gst/gstpipeline.c:
22012         * gst/gstpipeline.h:
22013         * gst/gstutils.h:
22014         * gst/gstxml.h:
22015           added two new functions to the docs
22016                 documents all undocumented GstXXXFlags
22017                 completed some incomplete docs 
22018
22019 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22020
22021         * gst/gstbin.c: (gst_bin_dispose):
22022         * gst/gstelement.c: (gst_element_dispose):
22023           remove now useless and leaky resurrection code in dispose
22024         * gst/base/gstbasesrc.c: (gst_base_src_init):
22025         * gst/gstelementfactory.c: (gst_element_factory_create):
22026         * gst/gstobject.c: (gst_object_set_parent):
22027           add some debugging
22028
22029 2005-09-27  Wim Taymans  <wim@fluendo.com>
22030
22031         * docs/design/part-TODO.txt:
22032         Update TODO.
22033
22034         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22035         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22036         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22037         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22038         (gst_bin_change_state):
22039         * gst/gstelement.h:
22040         Remove element variable, we keep element info in the iterator now.
22041
22042 2005-09-27  Andy Wingo  <wingo@pobox.com>
22043
22044         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22045         values.
22046
22047 2005-09-27  Wim Taymans  <wim@fluendo.com>
22048
22049         * check/gst/gstbin.c: (GST_START_TEST):
22050         Enable check that works now.
22051
22052         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22053         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22054         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22055         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22056         (gst_bin_change_state):
22057         * gst/gstbin.h:
22058         Redid the state change algorithm using a topological sort algo.
22059         Handles all cases correctly.
22060         Exposed iterator for state change order.
22061
22062         * gst/gstelement.h:
22063         Temp storage for state changes. Need to get rid of this soon.
22064
22065 2005-09-27  Wim Taymans  <wim@fluendo.com>
22066
22067         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22068         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22069         (link_fold_func), (gst_pad_proxy_setcaps):
22070         Leak fixes, the fold functions need to unref the passed object and
22071         _get_parent_*() returns ref to parent.
22072
22073 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22074
22075         * check/gst/gstbuffer.c: (test_make_writable):
22076           Plug leak in test case and fix 'make check-valgrind'
22077
22078 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22079
22080         * gst/gstbuffer.c: (gst_subbuffer_init):
22081           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22082           works correctly in all circumstances (we could have just copied
22083           the parent buffer's readonly flag, but conceptually it seems
22084           cleaner to mark all subbuffers as read-only). (based on patch
22085           by Alessandro Decina, #314710).
22086         
22087         * check/gst/gstbuffer.c: (create_read_only_buffer),
22088         (test_make_writable), (test_subbuffer_make_writable),
22089         (gst_test_suite):
22090           Add some tests for gst_buffer_make_writable().
22091
22092 2005-09-27  Wim Taymans  <wim@fluendo.com>
22093
22094         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22095         use gst_object_has_ancestor().
22096
22097         * gst/gstobject.c: (gst_object_has_ancestor):
22098         * gst/gstobject.h:
22099         gst_object_has_ancestor() copied from gstbin.c as it is a
22100         useful function.
22101
22102         * tests/instantiate/create.c: (create_all_elements):
22103         * tests/lat.c: (handoff_src), (handoff_sink):
22104         * tests/sched/runxml.c: (main):
22105         * tests/seeking/seeking1.c: (main):
22106         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22107         (main):
22108         Fix compilation of some tests.
22109
22110 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22111
22112         * gst/gsterror.h:
22113           Remove comment. GST_TYPE_G_ERROR is here to stay,
22114           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22115           (#316961, #300610).
22116
22117 2005-09-26  Wim Taymans  <wim@fluendo.com>
22118
22119         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22120         Added check that shows error in state change order.
22121
22122 2005-09-26  Wim Taymans  <wim@fluendo.com>
22123
22124         * gst/gstbin.c: (gst_bin_change_state):
22125         Make state change function use 3 queues again, we were
22126         adding elements in the wrong order.
22127
22128         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22129         Some debug info,
22130
22131         * gst/gstpad.c: (gst_pad_dispose):
22132         Added some debug info first.
22133
22134 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22135
22136         * docs/design/draft-push-pull.txt:
22137         * docs/design/part-events.txt:
22138         * docs/design/part-overview.txt:
22139         * docs/design/part-scheduling.txt:
22140           Replace all _pull_region() with _pull_range()
22141           
22142 2005-09-26  Andy Wingo  <wingo@pobox.com>
22143
22144         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22145
22146         * check/gst-libs/controller.c: Update for controller api change.
22147
22148         * configure.ac: 
22149         * tests/Makefile.am:
22150         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22151         over by GLib bug 118439.
22152         
22153         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22154         routines to a function.
22155
22156         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22157
22158         * libs/gst/controller/gsthelper.c:
22159         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22160         (gst_object_sync_values): Renamed from sink_values. Ugh.
22161
22162         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22163
22164         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22165         Renamed from controller_key, as it is exported.
22166
22167         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22168
22169 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22170
22171         * gst/Makefile.am:
22172         * gst/gst.h:
22173         * gst/gstpad.h:
22174         * gst/gstpadtemplate.h:
22175         * gst/gstquery.c:
22176         * gst/gstquery.h:
22177         * gst/gstqueryutils.c:
22178         * gst/gstqueryutils.h:
22179           remove queryutils headers after moving the two used functions
22180           to gstquery.  also fixes build problem for gstsiddec
22181
22182 2005-09-26  Michael Smith <msmith@fluendo.com>
22183
22184         * tools/gst-launch.1.in:
22185         Correct documentation in manpage of debug syntax
22186
22187 2005-09-26  Wim Taymans  <wim@fluendo.com>
22188
22189         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22190         (gst_base_src_is_seekable), (gst_base_src_change_state):
22191         Some more debugging info.
22192
22193 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22194
22195         * docs/gst/gstreamer-sections.txt:
22196         * gst/base/gstbasetransform.h:
22197         * gst/gstindex.h:
22198           added more docs
22199
22200 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22201
22202         * docs/gst/.cvsignore:
22203         * docs/gst/tmpl/.cvsignore:
22204         * docs/gst/tmpl/gstpipeline.sgml:
22205         * docs/gst/tmpl/gstplugin.sgml:
22206         * gst/gstpipeline.c:
22207         * gst/gstplugin.c:
22208         * gst/gstplugin.h:
22209           inlined the last two docs files
22210           removed the tmpl directory from cvs (no more conflicts here!)
22211
22212 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22213
22214         * docs/gst/gstreamer-sections.txt:
22215         * docs/gst/tmpl/.cvsignore:
22216         * docs/gst/tmpl/gstpad.sgml:
22217         * docs/gst/tmpl/gstpadtemplate.sgml:
22218         * gst/Makefile.am:
22219         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22220         (gst_pad_finalize), (gst_pad_set_pad_template):
22221         * gst/gstpad.h:
22222         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22223         (gst_pad_template_class_init), (gst_pad_template_init),
22224         (gst_pad_template_dispose), (name_is_valid),
22225         (gst_static_pad_template_get), (gst_pad_template_new),
22226         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22227         (gst_pad_template_pad_created):
22228         * gst/gstpadtemplate.h:
22229           inlined two more docs
22230           factored gstpadtemplate out of gstpad
22231
22232 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22233
22234         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22235         (test_children_state_change_order_semi_sink):
22236           Fix test case: we can't rely on a fixed state change order when
22237           going from READY => PAUSED because the sink might commit its 
22238           new state first when the first buffer created by the source 
22239           reaches the sink before the source has finished its change state.
22240           (Test case still fails at times, see #316856, comment 5 onwards)
22241
22242 2005-09-24  Wim Taymans  <wim@fluendo.com>
22243
22244         * docs/design/part-events.txt:
22245         * docs/design/part-gstbus.txt:
22246         * docs/design/part-gstpipeline.txt:
22247         * docs/design/part-messages.txt:
22248         * docs/design/part-overview.txt:
22249         * docs/design/part-segments.txt:
22250         * gst/gstbin.c:
22251         * gst/gstbuffer.c:
22252         * gst/gstclock.c:
22253         * gst/gstelement.c:
22254         * gst/gstevent.c:
22255         * gst/gstfilter.c:
22256         * gst/gstiterator.c:
22257         Various documentation updates.
22258
22259 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22260
22261         * gst/gstclock.h:
22262           Well, that's embarassing.  Luckily we weren't using
22263           GST_CLOCK_DIFF anywhere.
22264
22265 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22266
22267         * common/gtk-doc.mak:
22268           don't fail on building XML, FC4 slave shows a bunch of doc
22269           missing bits that I don't get
22270         * gst/gstpad.c:
22271         * gst/gstpipeline.c:
22272         * gst/gststructure.c:
22273           some doc updates
22274
22275 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22276
22277         * docs/design/part-gstbin.txt:
22278         * docs/design/part-gstbus.txt:
22279         * gst/gstbus.c:
22280           Add blurb about how the bus goes into flushing mode and
22281           drops all messages when its bin goes from READY into NULL 
22282           state.
22283
22284 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22285
22286         * docs/gst/gstreamer-sections.txt:
22287         * gst/gststructure.c: (gst_structure_get_clock_time):
22288         * gst/gststructure.h:
22289           add a method to get a GstClockTime out of a structure
22290
22291 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22292
22293         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22294         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22295           Added test to check state change order in bins (can still be made
22296           to fail here under heavy disk load; bails out with 'Push on pad
22297           fakesink:sink0, but it was not activated in push mode').
22298
22299         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22300           Fix state change order when there is only a semi sink (#316856)
22301
22302         * gst/gstbus.c: (gst_bus_class_init):
22303           Use _class_peek_parent(), not _class_ref(); fix docs to say
22304           'default main context' instead of 'mainloop' where that is
22305           what's meant.
22306
22307         * gst/gstelement.c: (gst_element_commit_state),
22308         (gst_element_set_state):
22309           Fix typos in debug messages
22310
22311 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22312
22313         * docs/README:
22314         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22315         * gst/gstpluginfeature.c:
22316         * gst/gstutils.c:
22317           various doc updates
22318         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22319           change an assert into an error until it gets fixed properly
22320
22321 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22322
22323         * docs/gst/gstreamer-sections.txt:
22324         * docs/gst/tmpl/.cvsignore:
22325         * docs/gst/tmpl/gstelement.sgml:
22326         * docs/gst/tmpl/gstinfo.sgml:
22327         * docs/gst/tmpl/gstobject.sgml:
22328         * gst/gstelement.c:
22329         * gst/gstelement.h:
22330         * gst/gstinfo.c:
22331         * gst/gstinfo.h:
22332         * gst/gstobject.c: (gst_object_class_init):
22333         * gst/gstobject.h:
22334           inlined 3 more biiiig doc files and added some missing docs on the fly
22335
22336 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22337
22338         * check/gst/.cvsignore:
22339         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22340         * gst/gstregistryxml.c: (load_plugin),
22341         (gst_registry_xml_save_plugin):
22342           put back source in registry.  add checks for find_plugin.
22343         * testsuite/states/bin.c: (assert_state), (empty_bin),
22344         (test_adding_one_element), (main):
22345         * testsuite/states/locked.c: (main):
22346           some compile/run fixes
22347
22348 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22349
22350         * check/gst/gstvalue.c: (GST_START_TEST):
22351           fix leaks in the test itself
22352
22353 2005-09-22  Wim Taymans  <wim@fluendo.com>
22354
22355         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22356         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22357         (gst_base_sink_query):
22358         Prepare for more accurate position reporting and query
22359         handling.
22360
22361         * gst/gstelement.c: (gst_element_send_event),
22362         (gst_element_set_state):
22363         Add some comment.
22364
22365 2005-09-22  Wim Taymans  <wim@fluendo.com>
22366
22367         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22368         (gst_query_parse_segment):
22369         * gst/gstquery.h:
22370         More documentation.
22371         Add segment query for future use.
22372
22373 2005-09-22  Wim Taymans  <wim@fluendo.com>
22374
22375         * gst/gstbin.c: (gst_bin_add_func):
22376         Some more debug info.
22377
22378         * gst/gstelement.c: (gst_element_send_event):
22379         Simplify send_event
22380
22381         * gst/gstelement.h:
22382         Don't know how flags got broken.
22383
22384         * gst/gstquery.h:
22385         Added new query.
22386
22387 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22388
22389         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22390           Add simplistic test suite for GST_TYPE_DATE serialisation and
22391           deserialisation.
22392
22393 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22394
22395         * docs/gst/gstreamer-sections.txt:
22396         * gst/gststructure.c: (gst_structure_set_valist),
22397         (gst_structure_get_date):
22398         * gst/gststructure.h:
22399         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22400         (gst_date_copy), (gst_value_compare_date),
22401         (gst_value_serialize_date), (gst_value_deserialize_date),
22402         (gst_value_transform_date_string),
22403         (gst_value_transform_string_date), (_gst_value_initialize):
22404         * gst/gstvalue.h:
22405           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22406           bunch of utility functions along with a hack that checks that
22407           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22408           is required. Part of the grand scheme in #170777.
22409
22410 2005-09-22  Andy Wingo  <wingo@pobox.com>
22411
22412         * gst/gstconfig.h.in: Psych out gtk-doc.
22413
22414         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22415
22416         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22417
22418         * tools/gst-inspect.c (print_element_list): Plug some
22419         inconsequential leaks.
22420
22421         * gst/gstregistry.c (gst_registry_get_default): Doc.
22422
22423         * check/gst/gstplugin.c: 
22424         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22425         * gst/gstelementfactory.c (gst_element_factory_create): 
22426         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22427         refcount changes.
22428
22429         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22430         (gst_plugin_feature_load): Doc, don't eat refs.
22431
22432         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22433         (gst_plugin_list_free): Doc.
22434         (gst_plugin_load_file): Doc updates.
22435
22436         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22437         accessors returning refcounted objects, return a ref.
22438
22439         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22440         accessor for caps. IDEMPOTENCE. Oh yes.
22441
22442 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22443
22444         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22445
22446         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22447         (_gst_debug_register_funcptr):
22448           Add mutex to serialise access to the hash table with
22449           the function pointer => function name string mapping;
22450           make that hash table static scope (#316809).
22451
22452         * gst/registries/.cvsignore:
22453           Remove left-over file.
22454
22455 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22456
22457         * docs/pwg/appendix-porting.xml:
22458           And something about newsegment events and caps-on-buffers to
22459           the porting guide (feel free to improve).
22460
22461 2005-09-21  Andy Wingo  <wingo@pobox.com>
22462
22463         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22464         data and event probes on the same pad.
22465         (test_buffer_probe_once): Test that removing probes from within
22466         the probe functions works.
22467
22468 2005-09-21  Andy Wingo  <wingo@pobox.com>
22469
22470         * check/gst/gstutils.c: New file.
22471         (test_buffer_probe_n_times): A simple buffer probe test. More to
22472         come, foolios.
22473
22474         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22475         have-data::buffer, not have-data.
22476         (gst_pad_add_event_probe): Likewise for have-data::event.
22477         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22478         peer' isn't quite right yet though.
22479         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22480         (gst_pad_remove_data_probe): Change to take the guint handler_id
22481         as their arg, not the function+data, which is more glib-like.
22482
22483         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22484         the signal emission to indicate if the data is a buffer or an
22485         event.
22486         (gst_pad_get_type): Initialize buffer and event quarks.
22487         (gst_pad_class_init): have-data is now a detailed signal, yes it
22488         is.
22489
22490 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22491
22492         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22493         * gst/gstutils.c: (gst_util_set_value_from_string),
22494         (gst_util_set_object_arg):
22495           Don't put functional code in g_return_if_fail() or
22496           g_return_val_if_fail() statements, otherwise things will 
22497           break when G_DISABLE_CHECKS is defined during compilation.
22498
22499 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22500
22501         * docs/gst/tmpl/.cvsignore:
22502         * docs/gst/tmpl/gstvalue.sgml:
22503         * gst/gstvalue.c:
22504         * gst/gstvalue.h:
22505           inlied another one and added  some obvious docs
22506
22507 2005-09-21  Wim Taymans  <wim@fluendo.com>
22508
22509         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22510         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22511         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22512         (gst_fdsrc_get_property), (gst_fdsrc_create):
22513         * gst/elements/gstfdsrc.h:
22514         Properly implement fdsrc. Removed signal and timeout,
22515         better implemented somewhere else.
22516
22517 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22518
22519         * docs/gst/tmpl/.cvsignore:
22520         * docs/gst/tmpl/gstimplementsinterface.sgml:
22521         * gst/gstinterface.c:
22522           inlined more docs
22523
22524 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22525
22526         * docs/gst/gstreamer-sections.txt:
22527         * docs/gst/tmpl/.cvsignore:
22528         * docs/gst/tmpl/gstenumtypes.sgml:
22529           remove obsolete doc file
22530
22531 2005-09-21  David Schleef  <ds@schleef.org>
22532
22533         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22534         little beer, fix a little leak.
22535
22536 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22537
22538         * docs/gst/gstreamer-docs.sgml:
22539         * docs/gst/gstreamer-sections.txt:
22540         * docs/gst/tmpl/.cvsignore:
22541         * gst/Makefile.am:
22542         * gst/gst.h:
22543         * gst/gstbin.c:
22544         * gst/gstelement.h:
22545         * gst/gstindex.c: (gst_index_class_init):
22546         * gst/gstindex.h:
22547         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22548         (gst_index_factory_class_init), (gst_index_factory_init),
22549         (gst_index_factory_finalize), (gst_index_factory_new),
22550         (gst_index_factory_destroy), (gst_index_factory_find),
22551         (gst_index_factory_create), (gst_index_factory_make):
22552         * gst/gstindexfactory.h:
22553         * gst/gstpluginfeature.c:
22554         * gst/gstpluginfeature.h:
22555         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22556           more docs inlined, splitted gstindex.{c,h}
22557
22558 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22559
22560         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22561           fix a leak
22562
22563 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22564
22565         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22566           Set sync to FALSE by default.
22567
22568 2005-09-20  Wim Taymans  <wim@fluendo.com>
22569
22570         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22571         (gst_base_sink_init):
22572         Make sync property settable from subclass.
22573
22574         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22575         (gst_fake_sink_change_state):
22576         Set sync to FALSE by default.
22577
22578 2005-09-20  Wim Taymans  <wim@fluendo.com>
22579
22580         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22581         * tools/gst-launch.c: (main):
22582         The timeout handler should have lower priority than the source
22583         so we don't timeout before popping a message with 0 timeout.
22584         Dump error messages after failed state change.
22585
22586 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22587
22588         * tools/gst-inspect.c: (print_element_properties_info):
22589           Fix two typos.
22590
22591 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22592
22593         * check/gst/gstevent.c:
22594         * gst/elements/gstfakesink.c:
22595         * gst/elements/gstfakesink.h:
22596           remove the sync property from fakesink.
22597           has the side effect of setting sync TRUE
22598           for fakesink, which is a change.  Anyone who knows how
22599           to fix this nicely in a GObject-y way, feel free.
22600
22601 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22602
22603         * docs/gst/gstreamer-docs.sgml:
22604           remove probe refsection
22605
22606 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22607
22608         * check/Makefile.am:
22609           disable valgrinding the controller test again
22610         * docs/gst/gstreamer-sections.txt:
22611           update for api-changes
22612
22613 2005-09-20  Wim Taymans  <wim@fluendo.com>
22614
22615         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22616         (gst_base_sink_set_property), (gst_base_sink_get_property),
22617         (gst_base_sink_do_sync):
22618         * gst/base/gstbasesink.h:
22619         Added sync property to basesink to disable clock sync.
22620
22621 2005-09-20  Andy Wingo  <wingo@pobox.com>
22622
22623         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22624         eating the caller's refcount.
22625
22626         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
22627         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22628         refcount.
22629
22630         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22631         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22632         of GLib 2.8 public, so we can know which refcount to check in
22633         tests.
22634
22635         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22636         (gst_object_init): Only set the gst refcount if we're going ahead
22637         with the refcount hack.
22638
22639 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22640
22641         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22642         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22643           more leaks plumbed, added more debug-logging
22644         * gst/gstmacros.h:
22645           whitespace fix
22646
22647 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22648
22649         * gst/gstmessage.c:
22650           remove include of gstmemchunk.h
22651
22652 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22653
22654         * gst/gstclock.c: (_gst_clock_id_free):
22655           Commit from the Political Party For More Atomic CVS Commits,
22656           so that people don't waste too much of their day fishing
22657           out obvious leaks out of massive commits.
22658           Oh, and fix a pretty damn obvious leak in the memchunk
22659           removal code.
22660
22661 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22662
22663         * check/Makefile.am:
22664         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22665           plug mem-leak, re-add to valgrindable tests
22666
22667 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22668
22669         * gst/gstplugin.h:
22670           unbreak the build for those who have chronic arthritis
22671           and typing "make check" is just too taxing on the hands
22672
22673 2005-09-20  Andy Wingo  <wingo@pobox.com>
22674
22675         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22676         really want it out, you should fix plugins at the same time.
22677
22678 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
22679
22680         * configure.ac:
22681         * docs/gst/gstreamer-sections.txt:
22682         * gst/gstobject.c:
22683           added missing symbols to api docs
22684           disable ref-count hack if we have glib >= 2.8
22685
22686 2005-09-19  David Schleef  <ds@schleef.org>
22687
22688         * docs/gst/Makefile.am: Ignore a few more internal headers
22689         * docs/gst/gstreamer-docs.sgml: Remove old sections
22690         * docs/gst/gstreamer-sections.txt: Remove old sections
22691         * docs/gst/tmpl/gstobject.sgml: update
22692         * docs/gst/tmpl/gstplugin.sgml: update
22693         * docs/gst/tmpl/gstpluginfeature.sgml: update
22694         * docs/random/ds/0.9-suggested-changes: update.
22695         * gst/Makefile.am: remove memchunk and trashstack, since they're
22696           not used.
22697         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22698         * gst/gst.h: don't include some headers
22699         * gst/gstchildproxy.c: add gstmarshal.h
22700         * gst/gstclock.c: Don't use memchunks
22701         * gst/gstminiobject.c: Add some docs
22702         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22703         * gst/gstobject.h: same
22704         * gst/gstplugin.c: include gstmacros.h
22705         * gst/gstplugin.h: don't include gstmacros.h, since it's private
22706         * gst/gstquery.c: don't use memchunks
22707         * gst/gstregistry.c: rename gst_registry_deinit()
22708         * gst/gstregistry.h: same
22709
22710 2005-09-19  David Schleef  <ds@schleef.org>
22711
22712         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22713         * docs/libs/gstreamer-libs-sections.txt:
22714         * docs/libs/tmpl/gstgetbits.sgml:
22715         * docs/libs/tmpl/gstputbits.sgml:
22716
22717 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
22718
22719         * win32/gstenumtypes.c:
22720         * win32/gstenumtypes.h:
22721           Update.
22722
22723 2005-09-19  Wim Taymans  <wim@fluendo.com>
22724
22725         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22726         Automatically PAUSE and RESUME a pipeline when a flushing seek
22727         is performed.
22728
22729 2005-09-19  Andy Wingo  <wingo@pobox.com>
22730
22731         * gst/gstregistry.h: Spacing fixen.
22732
22733 2005-09-19  Wim Taymans  <wim@fluendo.com>
22734
22735         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22736         Handle state change failure more correctly.
22737
22738 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22739
22740         * check/Makefile.am:
22741         * check/pipelines/cleanup.c: (run_pipeline):
22742         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22743         (GST_START_TEST):
22744           enable cleanup again after fixing the leak
22745         * docs/README:
22746           some more info on docs
22747
22748 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22749
22750         * check/Makefile.am:
22751           re-enable tests now that leaks are plugged
22752         * check/gst/gst.c:
22753         * check/gst/gstbin.c:
22754         * check/gst/gstpipeline.c:
22755           add some more tests while fixing leaks
22756         * common/check.mak:
22757           make sure binaries are uptodate when valgrinding/gdbing
22758         * gst/gst.c:
22759         * gst/gstelementfactory.c:
22760           remove a ref too many, and add a FIXME for when we get
22761           round to disposing of classes
22762         * gst/gstplugin.c:
22763           fix the refcounting when loading a plugin from a file and
22764           the code pretends that the pointer is the same even though
22765           of course it can change
22766         * gst/gstpluginfeature.c:
22767           unref plugins marked cached (a bit confusing as a name)
22768           as the docs state should be done
22769           various doc additions to explain refcounting
22770         * gst/gstregistry.c:
22771         * gst/gstregistryxml.c:
22772           debugging
22773
22774 2005-09-19  Wim Taymans  <wim@fluendo.com>
22775
22776         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22777         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22778         (send_messages), (GST_START_TEST), (gstbus_suite):
22779         * check/gst/gstpipeline.c: (GST_START_TEST):
22780         * check/pipelines/cleanup.c: (run_pipeline):
22781         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22782         (GST_START_TEST):
22783         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22784         (gst_bus_source_check), (gst_bus_source_dispatch),
22785         (gst_bus_create_watch), (gst_bus_add_watch_full),
22786         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22787         * gst/gstbus.h:
22788         * tools/gst-launch.c: (event_loop):
22789         * tools/gst-md5sum.c: (event_loop):
22790         GstBusHandler -> GstBusFunc, return value has the same meaning as
22791         any other GSource (FALSE == remove source).
22792         _add_watch() and _add_watch_full() now take a MessageType mask to
22793         only handle specific types of messages.
22794         _poll() returns the GstMessage instead of the message type to avoid
22795         race conditions.
22796         _have_pending() takes a MessageType mask now too.
22797         Added testsuite for multiple bus watches.
22798         Fix testsuites and applications for new bus API.
22799
22800 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22801
22802         * check/Makefile.am:
22803           mark a bunch of the tests as to fix until we fix them
22804
22805 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22806
22807         * common/check.mak:
22808           use GST_PLUGIN settings for valgrind tests as well, so we're
22809           valgrinding the correct thing
22810         * gst/gst.c: (init_post):
22811           plug another leak
22812
22813 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22814
22815         * gst/gst.c: (init_post), (gst_deinit):
22816         * gst/gstelementfactory.c: (gst_element_factory_class_init),
22817         (gst_element_factory_finalize), (gst_element_factory_cleanup):
22818         * gst/gstindex.c: (gst_index_factory_class_init),
22819         (gst_index_factory_finalize):
22820         * gst/gstobject.c: (gst_object_dispose):
22821         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22822         (gst_plugin_load_file), (gst_plugin_desc_free):
22823         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22824         (gst_plugin_feature_finalize):
22825         * gst/gstregistry.c: (gst_registry_class_init),
22826         (gst_registry_init), (gst_registry_finalize),
22827         (gst_registry_get_default), (gst_registry_deinit):
22828         * gst/gstregistry.h:
22829         * gst/gstregistryxml.c: (load_feature), (load_plugin):
22830           various cleanups and memleak plugging.  make valgrind is happy now.
22831
22832 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22833
22834         * common/check.mak:
22835           add a check-valgrind target
22836
22837 2005-09-18  David Schleef  <ds@schleef.org>
22838
22839         * tools/gst-inspect.c: Revert the GOption code.
22840
22841 2005-09-17  David Schleef  <ds@schleef.org>
22842
22843         * check/Makefile.am: Fix environment variables.
22844         * check/gst/gstplugin.c: Fix for API changes.
22845         * tools/gst-inspect.c: Fix for API changes.
22846         * tools/gst-xmlinspect.c: Fix for API changes.
22847         * gst/gstelementfactory.c:
22848         * gst/gstplugin.c:
22849         * gst/gstplugin.h:
22850         * gst/gstpluginfeature.c:
22851         * gst/gstpluginfeature.h:
22852         * gst/gstregistry.c:
22853         * gst/gstregistry.h:
22854         * gst/gstregistryxml.c:
22855         * gst/gsttypefind.c:
22856         * gst/gsttypefindfactory.c:
22857         * gst/indexers/gstfileindex.c:
22858         * gst/indexers/gstmemindex.c:
22859         * gst/schedulers/Makefile.am:
22860           Change registry to keep track of both plugins and features,
22861           removing the feature tracking from plugins themselves.
22862
22863 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22864
22865         * check/Makefile.am:
22866         * tools/gst-register.1.in:
22867           remove gst-register
22868
22869 2005-09-15  David Schleef  <ds@schleef.org>
22870
22871         * check/gst/gstplugin.c:
22872         * gst/gstelementfactory.c:
22873         * gst/gstplugin.c:
22874         * gst/gstpluginfeature.c:
22875         * gst/gstregistry.c:
22876           Getting tired of debugging.  Disabled all the unreffing of
22877           plugins and features, which fixes the segfaults, but of
22878           course leaks like crazy.  At least playbin works.
22879
22880 2005-09-15  David Schleef  <ds@schleef.org>
22881
22882         * check/gst/gstplugin.c: (register_check_elements),
22883         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22884         More testing
22885         * gst/elements/gsttypefindelement.c: Fix refcounting.
22886         * gst/gsttypefind.c:
22887         * gst/gsttypefindfactory.c:
22888         * gst/gsttypefindfactory.h:
22889
22890 2005-09-15  David Schleef  <ds@schleef.org>
22891
22892         * gst/gstindex.c: get refcounting correct.
22893         * gst/gstregistry.c: Handle the case where a feature/plugin is
22894           not found.
22895
22896 2005-09-15  David Schleef  <ds@schleef.org>
22897
22898         * check/Makefile.am:
22899         * check/gst/gstplugin.c: Add test
22900         * gst/gstplugin.c: Fix problems noticed by testsuite
22901         * gst/gstplugin.h:
22902         * gst/gstregistry.c: 
22903         * gst/gstregistry.h:
22904
22905 2005-09-15  David Schleef  <ds@schleef.org>
22906
22907         * gst/gstplugin.c: Implement semi-decent recounting and locking
22908           in plugins and plugin features.
22909         * gst/gstplugin.h:
22910         * gst/gstpluginfeature.c:
22911         * gst/gstpluginfeature.h:
22912         * gst/gstregistry.c:
22913
22914 2005-09-15  Michael Smith <msmith@fluendo.com>
22915
22916         * gst/gstregistry.c: (gst_registry_get_feature_list):
22917           Implement this. Makes oggdemux work; decodebin still broken.
22918
22919 2005-09-14  David Schleef  <ds@schleef.org>
22920
22921         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
22922           #316076)
22923         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
22924         * gst/check/Makefile.am:
22925         * libs/gst/controller/Makefile.am:
22926         * libs/gst/dataprotocol/Makefile.am:
22927
22928 2005-09-14  David Schleef  <ds@schleef.org>
22929
22930         * configure.ac: Remove getbits library.  Nothing uses it, and
22931           it should be in something like liboil if someone did want
22932           to use it.
22933         * libs/gst/Makefile.am:
22934         * libs/gst/getbits/Makefile.am:
22935         * libs/gst/getbits/gbtest.c:
22936         * libs/gst/getbits/getbits.c:
22937         * libs/gst/getbits/getbits.h:
22938         * libs/gst/getbits/gstgetbits_generic.c:
22939         * libs/gst/getbits/gstgetbits_i386.s:
22940         * libs/gst/getbits/gstgetbits_inl.h:
22941
22942 2005-09-14  David Schleef  <ds@schleef.org>
22943
22944         * gst/Makefile.am: Dist glib-compat.h
22945
22946 2005-09-14  David Schleef  <ds@schleef.org>
22947
22948         * configure.ac: Remove gst/registries, since it's no longer used.
22949         * gst/registries/Makefile.am:
22950         * gst/registries/gstlibxmlregistry.c:
22951         * gst/registries/gstlibxmlregistry.h:
22952         * gst/registries/gstxmlregistry.c:
22953         * gst/registries/gstxmlregistry.h:
22954         * gst/registries/registrytest.c:
22955
22956 2005-09-14  David Schleef  <ds@schleef.org>
22957
22958         * gst/glib-compat.h:
22959         * gst/gstregistryxml.c:
22960           Convergence is near.  Seriously.
22961
22962 2005-09-14  David Schleef  <ds@schleef.org>
22963
22964         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22965         * gst/glib-compat.h:
22966           Attempt #4 to appease the buildbots.
22967
22968 2005-09-14  David Schleef  <ds@schleef.org>
22969
22970         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22971           Attempt #3.
22972
22973 2005-09-14  David Schleef  <ds@schleef.org>
22974
22975         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22976         Attempt #2.
22977
22978 2005-09-14  David Schleef  <ds@schleef.org>
22979
22980         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
22981           the new functions.
22982
22983 2005-09-14  David Schleef  <ds@schleef.org>
22984
22985         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22986         * gst/glib-compat.h: Add some functions that are in newer versions
22987           of glib than we care to require.
22988         * gst/gstregistryxml.c: Use them.
22989
22990 2005-09-14  David Schleef  <ds@schleef.org>
22991
22992         * po/POTFILES.in: remove gst-register.c
22993
22994 2005-09-14  David Schleef  <ds@schleef.org>
22995
22996         * docs/gst/gstreamer-docs.sgml:
22997         * docs/gst/gstreamer-sections.txt:
22998         * docs/gst/gstreamer.types:
22999         * docs/gst/tmpl/gstelement.sgml:
23000         * docs/gst/tmpl/gstplugin.sgml:
23001         * docs/gst/tmpl/gstpluginfeature.sgml:
23002           Documentation updates for registry changes.
23003
23004 2005-09-14  David Schleef  <ds@schleef.org>
23005
23006         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23007           because we don't require glib-2.8.
23008
23009 2005-09-14  David Schleef  <ds@schleef.org>
23010
23011         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23012           registries directory.
23013
23014 2005-09-14  David Schleef  <ds@schleef.org>
23015
23016         * check/Makefile.am:
23017         * check/generic/states.c:
23018         * gst/Makefile.am:
23019         * gst/gst.c:
23020         * gst/gst.h:
23021         * gst/gst_private.h:
23022         * gst/gstelementfactory.c:
23023         * gst/gstindex.c:
23024         * gst/gstinfo.c:
23025         * gst/gstplugin.c:
23026         * gst/gstplugin.h:
23027         * gst/gstpluginfeature.c:
23028         * gst/gstpluginfeature.h:
23029         * gst/gstregistry.c:
23030         * gst/gstregistry.h:
23031         * gst/gstregistrypool.c: remove
23032         * gst/gstregistrypool.h: remove
23033         * gst/gsttypefind.c:
23034         * gst/gsttypefindfactory.c:
23035         * gst/gsturi.c:
23036         * tools/Makefile.am:
23037         * tools/gst-compprep.c:
23038         * tools/gst-inspect.c:
23039         * tools/gst-register.c: remove
23040         * tools/gst-xmlinspect.c:
23041           Registry rewrite.  Changes registry from being a file created
23042           by a tool into a simple cache file created automatically by 
23043           libgstreamer.  Removed gst-register (because it's no longer
23044           needed).  Remove registry pools, because we only have one
23045           registry implementation (XML).  Fix up other subsystems as
23046           necessary.
23047
23048 2005-09-13  Michael Smith <msmith@fluendo.com>
23049
23050         * gst/gstconfig.h.in:
23051           Don't Use windows linking attributes for MinGW. Fixes #316157
23052
23053 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23054
23055         * gst/gstutils.c: (set_state_async_thread_func),
23056         (gst_element_set_state_async):
23057           Apparently people think it's better if this function doesn't
23058           try to set the state to whatever state was asked for on the first
23059           call to this function for any object.  Seriously.
23060
23061 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23062
23063         * check/gst/gstpipeline.c: (GST_START_TEST):
23064         * docs/gst/gstreamer-sections.txt:
23065         * gst/gstutils.c: (set_state_async_thread_func),
23066         (gst_element_set_state_async):
23067         * gst/gstutils.h:
23068           add a "gst_element_set_state_async" method that
23069           sets the state and starts a thread to make sure the state
23070           change completes as best as it can
23071
23072 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23073
23074         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23075           codify design+behaviour in testsuite after discussion
23076
23077 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23078
23079         * docs/gst/tmpl/gstelement.sgml:
23080         * docs/manual/appendix-quotes.xml:
23081           add a quote
23082         * gst/gstelement.c: (gst_element_set_state):
23083           add some debug
23084
23085 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23086
23087         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23088         (gst_base_transform_prepare_output_buf),
23089         (gst_base_transform_handle_buffer):
23090         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23091         (gst_capsfilter_prepare_buf):
23092           Remove the requirement for sub-classes to call the parent
23093           implementation of prepare_output_buffer with a wrapper function.
23094           
23095         * gst/gsttaglist.h:
23096         * gst/gsttagsetter.h:
23097           Fix #define wrapper
23098
23099 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23100
23101         * docs/gst/gstreamer-sections.txt:
23102           more doc cleanups
23103
23104 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23105
23106         * docs/gst/gstreamer-sections.txt:
23107         * docs/gst/tmpl/gstelement.sgml:
23108         * docs/gst/tmpl/gstplugin.sgml:
23109         * gst/gstminiobject.c:
23110         * gst/gstvalue.h:
23111           docs now stop throwing warnings
23112
23113 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23114
23115         * docs/gst/gstreamer-sections.txt:
23116         * docs/gst/gstreamer.types:
23117         * docs/gst/tmpl/gstpad.sgml:
23118         * docs/gst/tmpl/gsttypes.sgml:
23119         * gst/base/gstadapter.h:
23120         * gst/base/gstbasesink.h:
23121         * gst/base/gstbasesrc.h:
23122         * gst/gstbin.h:
23123         * gst/gstbuffer.h:
23124         * gst/gstbus.h:
23125         * gst/gstcaps.h:
23126         * gst/gstclock.h:
23127         * gst/gstelement.h:
23128         * gst/gstevent.h:
23129         * gst/gstmessage.h:
23130         * gst/gstpad.h:
23131         * gst/gststructure.c:
23132         * gst/registries/gstlibxmlregistry.h:
23133           various documentation fixes
23134
23135 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23136
23137         * docs/gst/gstreamer-sections.txt:
23138         * docs/gst/tmpl/gstvalue.sgml:
23139           rearrange gstvalue section
23140         * gst/gstutils.c: (gst_element_state_get_name):
23141           NONE -> VOID
23142         * gst/gstvalue.c: (_gst_value_initialize):
23143         * gst/gstvalue.h:
23144           doc updates
23145
23146 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23147
23148         * check/gst-libs/controller.c:
23149           Header include fix.
23150         * gst/base/gstbasetransform.c:
23151         (gst_base_transform_default_prepare_buf),
23152         (gst_base_transform_handle_buffer):
23153         * gst/base/gstbasetransform.h:
23154           Some more basetransform changes and fixes to enable sub-classes
23155           that modify buffer metadata only.
23156         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23157         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23158         (gst_capsfilter_prepare_buf):
23159           If the output pad has fixed allowed caps and input buffers 
23160           don't have any, set the fixed caps on outgoing buffers.
23161
23162 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23163         * check/elements/identity.c: (GST_START_TEST):
23164           Make the error a little clearer when the test fails because
23165           identity made a copy of the buffer.
23166         * docs/gst/gstreamer-sections.txt:
23167           New symbols in gstbasetransform.h
23168         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23169         (gst_base_transform_init), (gst_base_transform_transform_size),
23170         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23171         (gst_base_transform_default_prepare_buf),
23172         (gst_base_transform_get_unit_size),
23173         (gst_base_transform_buffer_alloc),
23174         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23175         (gst_base_transform_change_state),
23176         (gst_base_transform_set_passthrough),
23177         (gst_base_transform_set_in_place),
23178         (gst_base_transform_is_in_place):
23179         * gst/base/gstbasetransform.h:
23180           Change BaseTransform to separate in_place operate from same_caps
23181           output. in_place implies that the element can perform the transform
23182           on incoming buffers in-place, even if the caps on the output are
23183           different.
23184           Sub-class elements can now implement special buffer allocation
23185           methods for outgoing buffers if they wish to.
23186           Big documentation addition.
23187         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23188         * gst/elements/gstelements.c:
23189           Changes for basetransform modifications.
23190         * gst/elements/Makefile.am:
23191         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23192           Compile fix. Extra debug output.
23193
23194 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23195
23196         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23197         (gst_pad_suite):
23198           add tests for valid pad naming
23199         * gst/check/gstcheck.c: (gst_check_log_message_func),
23200         (gst_check_log_critical_func):
23201           add ASSERT_WARNING
23202           remove printing of code, it is fragile when the code contains
23203           % and the line number is enough info
23204         * gst/check/gstcheck.h:
23205         * gst/gstpad.c: (gst_pad_template_new):
23206           fix memleaks
23207
23208 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23209
23210         * configure.ac:
23211           say what CHECK flags we use
23212         * docs/libs/gstreamer-libs.types:
23213         * libs/gst/controller/Makefile.am:
23214         * libs/gst/controller/gst-controller.c:
23215         * libs/gst/controller/gst-controller.h:
23216         * libs/gst/controller/gst-helper.c:
23217         * libs/gst/controller/gst-interpolation.c:
23218         * libs/gst/controller/gstcontroller.c:
23219         * libs/gst/controller/gsthelper.c:
23220         * libs/gst/controller/gstinterpolation.c:
23221         * tools/gst-inspect.c: (print_plugin_info):
23222           we don't use dashes in header names
23223
23224 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23225
23226         * check/Makefile.am:
23227         * check/gst/.cvsignore:
23228         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23229         (gst_pipeline_suite), (main):
23230           adding a test for pipelines and state changes
23231         * gst/gstutils.c: (get_state_func):
23232           add some debugging
23233         * gstreamer.spec.in:
23234           fix up spec file
23235
23236 2005-09-08  Michael Smith <msmith@fluendo.com>
23237
23238         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23239         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23240         (gst_file_src_is_seekable), (gst_file_src_get_size),
23241         (gst_file_src_start):
23242         * gst/elements/gstfilesrc.h:
23243           Various fixes for unseekable, unmmapable, and non-normal files, so
23244           that fallback to read() rather than mmap() works.
23245         * gst/gstevent.c: (gst_event_new_newsegment):
23246           Allow newsegment events with segment_start == segment_end, as will
23247           correctly happen if you use filesrc on a zero-size file, for
23248           example.
23249
23250 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23251
23252         * gst/gstplugin.c: (gst_plugin_load_file):
23253           Call g_module_close when we don't load the module
23254
23255         * gst/registries/gstlibxmlregistry.c:
23256         (gst_xml_registry_get_property):
23257           Port leak fix from 0.8
23258
23259 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23260
23261         * docs/gst/gstreamer-docs.sgml:
23262         * docs/gst/tmpl/.cvsignore:
23263         * docs/gst/tmpl/gsttrace.sgml:
23264         * docs/gst/tmpl/gsttrashstack.sgml:
23265         * gst/Makefile.am:
23266         * gst/gst.h:
23267         * gst/gstelement.h:
23268         * gst/gstevent.h:
23269         * gst/gstmessage.c:
23270         * gst/gstmessage.h:
23271         * gst/gsttag.c:
23272         * gst/gsttag.h:
23273         * gst/gsttaginterface.c:
23274         * gst/gsttaginterface.h:
23275         * gst/gsttaglist.c:
23276         * gst/gsttaglist.h:
23277         * gst/gsttagsetter.c:
23278         * gst/gsttagsetter.h:
23279         * gst/gsttrace.c:
23280         * gst/gsttrace.h:
23281         * gst/gsttrashstack.c:
23282           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23283           inlined docs for gsttrace, gsttrashstack
23284
23285 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23286
23287         * gst/Makefile.am:
23288         * gst/elements/gstbufferstore.h:
23289         * gst/elements/gsttypefindelement.c:
23290         * gst/elements/gsttypefindelement.h:
23291         * gst/gst.h:
23292         * gst/gsttypefind.c:
23293         * gst/gsttypefind.h:
23294         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23295         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23296         (gst_type_find_factory_dispose),
23297         (gst_type_find_factory_unload_thyself),
23298         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23299         (gst_type_find_factory_get_caps),
23300         (gst_type_find_factory_get_extensions),
23301         (gst_type_find_factory_call_function):
23302         * gst/gsttypefindfactory.h:
23303         * gst/registries/gstlibxmlregistry.c:
23304         * gst/registries/gstxmlregistry.c:
23305           splitted gsttypefind into gsttypefind, gsttypefindfactory
23306
23307 2005-09-07  Andy Wingo  <wingo@pobox.com>
23308
23309         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23310         condition whereby the pad's task function is entered before the
23311         pad_mode variable was set.
23312
23313 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23314
23315         * gst/gstpad.c: (gst_pad_alloc_buffer):
23316           Catch misbehaving pad_alloc functions that don't
23317           set up caps and do it for them.
23318
23319 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23320
23321         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23322           test for pipe!=NULL
23323         * docs/gst/tmpl/.cvsignore:
23324         * docs/gst/tmpl/gstmemchunk.sgml:
23325         * docs/gst/tmpl/gstparse.sgml:
23326         * docs/gst/tmpl/gsttaglist.sgml:
23327         * docs/gst/tmpl/gsttagsetter.sgml:
23328         * docs/gst/tmpl/gsttypefind.sgml:
23329         * docs/gst/tmpl/gsttypefindfactory.sgml:
23330         * gst/gstmemchunk.c:
23331         * gst/gstparse.c:
23332         * gst/gsttag.c:
23333         * gst/gsttaginterface.c:
23334         * gst/gsttypefind.c:
23335         * gst/gsttypefind.h:
23336           inlined more docs
23337
23338 === release 0.9.2 ===
23339
23340 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23341
23342         * NEWS:
23343         * RELEASE:
23344         * configure.ac:
23345           releasing 0.9.2, "South"
23346
23347 2005-09-05  Andy Wingo  <wingo@pobox.com>
23348
23349         * gst/registries/gstxmlregistry.h:
23350         * gst/registries/gstxmlregistry.c: Um... resurrect...
23351         
23352         * gst/registries/gstxmlregistry.h:
23353         * gst/registries/gstxmlregistry.c: and update to newer API.
23354         Incidentally they should be a bit faster now that they don't have
23355         to parse the caps.
23356         
23357 2005-09-05  Andy Wingo  <wingo@pobox.com>
23358
23359         * gst/registries/gstxmlregistry.h:
23360         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23361         replaced by the libxml registry a while back
23362
23363 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23364
23365         * docs/gst/tmpl/gstplugin.sgml:
23366         * gst/elements/gstelements.c:
23367         * gst/gst.c:
23368         * gst/gstplugin.c: (gst_plugin_register_func),
23369         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23370         (gst_plugin_get_source):
23371         * gst/gstplugin.h:
23372         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23373         (gst_xml_registry_save_plugin):
23374         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23375         (gst_xml_registry_save_plugin):
23376         * tools/gst-inspect.c: (print_plugin_info):
23377           add a "source" plugin description field, to represent the source
23378           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23379           will set it to PACKAGE, which is automake's idea of the name of
23380           the source project.
23381
23382 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23383
23384         * Makefile.am:
23385         * autogen.sh:
23386         * configure.ac:
23387         * docs/Makefile.am:
23388         * docs/faq/Makefile.am:
23389         * docs/gst/tmpl/gstelement.sgml:
23390         * docs/gst/tmpl/gsttypes.sgml:
23391         * docs/htmlinstall.mak:
23392         * docs/manual/Makefile.am:
23393         * docs/pwg/Makefile.am:
23394           reorganize doc build a little
23395           split out docbook and gtk-doc stuff
23396           have two separate --enable's and enable them through autogen
23397           but disable by default in configure (to be similar to other
23398           projects)
23399         * gstreamer.spec.in:
23400           clean up docs install
23401         * po/af.po:
23402         * po/az.po:
23403         * po/ca.po:
23404         * po/cs.po:
23405         * po/de.po:
23406         * po/en_GB.po:
23407         * po/fr.po:
23408         * po/it.po:
23409         * po/nb.po:
23410         * po/nl.po:
23411         * po/ru.po:
23412         * po/sq.po:
23413         * po/sr.po:
23414         * po/sv.po:
23415         * po/tr.po:
23416         * po/uk.po:
23417         * po/vi.po:
23418           translation updates
23419
23420 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23421
23422         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23423           Add comment.
23424           
23425         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23426         (gst_fake_sink_change_state):
23427           Make state change function thread-safe.
23428           
23429         * gst/gstpad.c: (gst_pad_alloc_buffer):
23430           Set offset on generic buffer allocated by fallback.
23431
23432 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23433
23434         * docs/gst/gstreamer-sections.txt:
23435         * docs/gst/tmpl/gstelement.sgml:
23436         * gst/gstpad.c:
23437         * libs/gst/controller/gst-controller.c:
23438         (gst_controlled_property_set_interpolation_mode),
23439         (gst_controlled_property_new),
23440         (gst_controller_find_controlled_property):
23441          run the wingo-magic script against the docs
23442
23443 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23444
23445         * docs/gst/gstreamer-docs.sgml:
23446         * docs/gst/gstreamer-sections.txt:
23447         * docs/gst/tmpl/.cvsignore:
23448         * docs/gst/tmpl/gstelementdetails.sgml:
23449         * docs/gst/tmpl/gstelementfactory.sgml:
23450         * gst/gst.c:
23451         * gst/gstbus.c:
23452         * gst/gstelementfactory.c:
23453         * gst/gstelementfactory.h:
23454           merged elementdetails docs into elementfactory docs
23455           inlined both
23456
23457 2005-09-02  Andy Wingo  <wingo@pobox.com>
23458
23459         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23460         consider this enum an enum and not a flags.
23461
23462 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23463
23464         * docs/gst/gstreamer-docs.sgml:
23465         * docs/gst/tmpl/.cvsignore:
23466         * docs/gst/tmpl/gstghostpad.sgml:
23467         * docs/gst/tmpl/gstiterator.sgml:
23468         * docs/gst/tmpl/gstmacros.sgml:
23469         * docs/gst/tmpl/gstrealpad.sgml:
23470         * docs/gst/tmpl/gstregistry.sgml:
23471         * docs/gst/tmpl/gstregistrypool.sgml:
23472         * docs/gst/tmpl/gststructure.sgml:
23473         * docs/gst/tmpl/gstsystemclock.sgml:
23474         * docs/gst/tmpl/gsttrace.sgml:
23475         * gst/gstghostpad.c:
23476         * gst/gstmacros.h:
23477         * gst/gstmemchunk.c:
23478         * gst/gstmemchunk.h:
23479         * gst/gstqueue.c:
23480         * gst/gstregistry.c:
23481         * gst/gstregistrypool.c:
23482         * gst/gststructure.c:
23483         * gst/gstsystemclock.c:
23484           more docs inlined
23485
23486 2005-09-02  Andy Wingo  <wingo@pobox.com>
23487
23488         * gst/gstelement.h (GstState): Renamed from GstElementState,
23489         changed to be a normal enum instead of flags.
23490         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23491         munged to be GST_STATE_CHANGE_*.
23492         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23493         work with the new state representation.
23494         (GstStateChange): New enumeration of possible state transitions.
23495         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23496         (GstElementClass::change_state): Pass the GstStateChange along as
23497         an argument. Helps language bindings, so they don't have to use
23498         tricky lock-needing macros like GST_STATE_CHANGE ().
23499
23500         * scripts/update-states (file): New script. Run it on a file to
23501         update it for state naming and API changes. Updates files in
23502         place.
23503
23504         * All files updated for the new API.
23505
23506 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23507
23508         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23509         * gst/gstutils.c: (gst_util_set_value_from_string),
23510         (gst_util_set_object_arg):
23511           fix a bunch of unchecked return values
23512         * tools/gst-complete.c: (main):
23513         * gstreamer.spec.in:
23514           clean up a little
23515
23516 2005-09-01  Wim Taymans  <wim@fluendo.com>
23517
23518         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23519         (gst_base_sink_event), (gst_base_sink_do_sync),
23520         (gst_base_sink_handle_event):
23521         * gst/base/gstbasesink.h:
23522         Handle newsegments more correctly.
23523
23524         * gst/gstbus.c:
23525         Fix docs.
23526
23527         * gst/gstevent.c: (gst_event_new_newsegment):
23528         A newsegment cannot have a start_time of -1
23529
23530 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23531
23532         * win32/gstenumtypes.c:
23533         * win32/gstenumtypes.h:
23534           Update
23535
23536 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23537
23538         * libs/gst/controller/gst-controller.c:
23539         (gst_controlled_property_set_interpolation_mode),
23540         (gst_controlled_property_new):
23541          fixed boolean again
23542
23543 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23544
23545         * docs/faq/gst-uninstalled:
23546           add -good
23547         * gst/gstevent.c:
23548         * gst/gstevent.h:
23549           remove wrong docs
23550         * gst/gstutils.c: (gst_element_link_filtered):
23551         * gst/gstutils.h:
23552           add gst_element_link_filtered
23553
23554 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23555
23556         * docs/gst/gstreamer-docs.sgml:
23557         * docs/gst/gstreamer-sections.txt:
23558         * docs/gst/tmpl/.cvsignore:
23559         * docs/gst/tmpl/gsterror.sgml:
23560         * docs/gst/tmpl/gstfilter.sgml:
23561         * docs/gst/tmpl/gsturihandler.sgml:
23562         * docs/gst/tmpl/gsturitype.sgml:
23563         * docs/gst/tmpl/gstutils.sgml:
23564         * docs/gst/tmpl/gstxml.sgml:
23565         * gst/gsterror.c:
23566         * gst/gsterror.h:
23567         * gst/gstfilter.c:
23568         * gst/gsturi.c:
23569         * gst/gsturitype.c:
23570         * gst/gstutils.c:
23571         * gst/gstxml.c:
23572           inlined more docs, fixed double id-ref
23573
23574 2005-08-31  Wim Taymans  <wim@fluendo.com>
23575
23576         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23577         (gst_base_transform_handle_buffer):
23578         Passthrough elements don't need the caps as they don't care.
23579
23580 2005-08-31  Wim Taymans  <wim@fluendo.com>
23581
23582         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23583         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23584         Don't leak refcounts on buffers.
23585
23586 2005-08-31  Wim Taymans  <wim@fluendo.com>
23587
23588         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23589         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23590         (gst_base_transform_chain), (gst_base_transform_change_state):
23591         * gst/base/gstbasetransform.h:
23592         Handle the case where we are not negotiated more gracefully.
23593
23594 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23595
23596         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23597         (gst_file_src_map_region):
23598           Set READONLY flag on mmap'ed buffers, otherwise
23599           gst_buffer_make_writable() won't work properly (#314708).
23600
23601 2005-08-31  Wim Taymans  <wim@fluendo.com>
23602
23603         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23604         passthrough elements can even do inplace on non writable
23605         buffers (as they don't touch them).
23606
23607 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23608
23609         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23610         (gst_test_mono_source_set_property),
23611         (gst_test_mono_source_class_init), (GST_START_TEST),
23612         (gst_controller_suite):
23613           more tests (hehe I have the most)
23614         * gst/gstbus.c:
23615           describe popping messages whenusing mulltiple sources
23616         * libs/gst/controller/gst-controller.c:
23617         (gst_controlled_property_set_interpolation_mode),
23618         (gst_controlled_property_new):
23619         * libs/gst/controller/gst-controller.h:
23620         * libs/gst/controller/gst-interpolation.c:
23621           implement boolean properties
23622
23623 2005-08-31  Wim Taymans  <wim@fluendo.com>
23624
23625         * gst/gstminiobject.c: (gst_mini_object_ref):
23626         Cannot assert that the refcount has to be positive
23627         since a disposed object can be resurrected.
23628
23629 2005-08-31  Wim Taymans  <wim@fluendo.com>
23630
23631         * gst/gstpad.c: (gst_pad_init):
23632         Revert change, need to first fix badly behaving 
23633         apps.
23634
23635 2005-08-30  Wim Taymans  <wim@fluendo.com>
23636
23637         * check/elements/fakesrc.c: (setup_fakesrc):
23638         * check/elements/identity.c: (setup_identity):
23639         Activate pads before using them.
23640
23641 2005-08-30  Wim Taymans  <wim@fluendo.com>
23642
23643         * gst/base/gstadapter.c: (gst_adapter_flush):
23644         Flushing out 0 bytes is ok for this function.
23645
23646         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23647         no newsegment gives a warning and sets the start/stop to 
23648         invalid.
23649
23650         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23651         (gst_base_transform_set_passthrough):
23652         Some debug info.
23653
23654         * gst/gstminiobject.c: (gst_mini_object_ref):
23655         Check refcount here too.
23656
23657         * gst/gstpad.c: (gst_pad_init):
23658         Pads are initially flushing and refusing data.
23659
23660         * gst/gstutils.c: (gst_element_link_pads_filtered):
23661         When adding a capsfilter element make sure it has the
23662         same state as the parent bin.
23663
23664 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23665
23666         * docs/gst/tmpl/.cvsignore:
23667         * docs/gst/tmpl/gstformat.sgml:
23668         * docs/gst/tmpl/gstversion.sgml:
23669         * gst/gstbus.h:
23670         * gst/gstformat.c:
23671         * gst/gstformat.h:
23672         * gst/gstversion.h.in:
23673           more docs and two more inlined
23674
23675 2005-08-30  Wim Taymans  <wim@fluendo.com>
23676
23677         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23678         Don't sync to clock.
23679
23680 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23681
23682         * docs/gst/gstreamer-sections.txt:
23683           ultral33t func10ns deserve to appear in the docs actually
23684         * docs/gst/tmpl/.cvsignore:
23685         * docs/gst/tmpl/gstcompat.sgml:
23686         * docs/gst/tmpl/gstconfig.sgml:
23687         * gst/check/gstcheck.c:
23688         * gst/gstcompat.h:
23689         * gst/gstconfig.h.in:
23690           inlined more docs
23691
23692 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23693
23694         * docs/gst/tmpl/.cvsignore:
23695         * docs/gst/tmpl/gstquery.sgml:
23696         * docs/gst/tmpl/gstutils.sgml:
23697         * gst/gstquery.c:
23698         * gst/gstquery.h:
23699           inlined and extended docs
23700
23701 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23702
23703         * check/gst-libs/controller.c: (GST_START_TEST),
23704         (gst_controller_suite):
23705           more tests
23706         * docs/gst/tmpl/gstutils.sgml:
23707         * docs/libs/gstreamer-libs-sections.txt:
23708         * docs/libs/tmpl/gstdataprotocol.sgml:
23709           include path fixes
23710         * examples/controller/audio-example.c: (main):
23711           controller example works now
23712         * gst/gstclock.h:
23713           doc fixes
23714         * tools/gst-inspect.c: (print_element_properties_info):
23715           show param spec flags
23716
23717 2005-08-29  Andy Wingo  <wingo@pobox.com>
23718
23719         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23720
23721 2005-08-28  Andy Wingo  <wingo@pobox.com>
23722
23723         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23724         as having two arguments instead of just one. Allows superclasses
23725         to access information on subclasses -- see the terrible for() loop
23726         in gtype.c:g_type_create_instance for the reason why. All callers
23727         changed.
23728
23729 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23730
23731         * docs/design/part-messages.txt:
23732           update info
23733         * docs/gst/tmpl/.cvsignore:
23734         * docs/gst/tmpl/gstcaps.sgml:
23735         * docs/gst/tmpl/gstclock.sgml:
23736         * gst/gstbus.c:
23737         * gst/gstcaps.c:
23738         * gst/gstcaps.h:
23739         * gst/gstclock.c:
23740         * gst/gstclock.h:
23741         * gst/gstmessage.c:
23742           added descriptions for bus and message
23743           inline caps and clock docs
23744
23745 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23746
23747         * gst/gstmessage.c:
23748         * gst/gstmessage.h:
23749           doc fixes
23750
23751 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23752
23753         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23754           fix div-by-zero
23755
23756 2005-08-26  Andy Wingo  <wingo@pobox.com>
23757
23758         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23759         element_set_state's return val.
23760         (test_2_elements): Add test that's been disabled for months.
23761
23762         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23763         can-activate-pull properties.
23764
23765         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23766         can-activate-pull properties. Implement is_seekable so fakesrc can
23767         operate in pull mode.
23768
23769         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23770         properties.
23771         (gst_base_sink_activate, gst_base_sink_activate_pull)
23772         (gst_base_sink_activate_push): Make activation mode choosing work.
23773         Cleanups.
23774         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23775         is right. Make pull mode work. Post an eos before pausing in pull
23776         mode.
23777         (gst_base_sink_change_state): Pay attention to the core's
23778         change_state() return val.
23779         
23780         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23781         has-getrange properties. Cleanups.
23782         
23783         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23784         has_getrange and replace with can_activate_pull and
23785         can_activate_push.
23786
23787         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23788         locking comments. Remove has_loop, has_chain and replace with
23789         can_activate_pull and can_activate_push.
23790
23791 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
23792
23793         * configure.ac:
23794         * examples/Makefile.am:
23795         * examples/metadata/Makefile.am:
23796         * examples/metadata/read-metadata.c: (message_loop),
23797         (have_pad_handler), (make_pipeline), (print_tag), (main):
23798           Add metadata reading example that loops over a list of filenames,
23799           dumping any tags found.
23800
23801         * gst/gstbus.c: (gst_bus_dispose):
23802         * gst/gstelement.c: (gst_element_dispose):
23803           Release a few potentially-held references in dispose.
23804
23805 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23806
23807         * docs/gst/tmpl/gstminiobject.sgml:
23808           do *not* add tmpl/*.sgml files to CVS!
23809
23810 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23811
23812         * libs/gst/bytestream/.cvsignore:
23813         * libs/gst/bytestream/Makefile.am:
23814         * libs/gst/bytestream/adapter.c:
23815         * libs/gst/bytestream/adapter.h:
23816         * libs/gst/bytestream/bytestream.c:
23817         * libs/gst/bytestream/bytestream.h:
23818         * libs/gst/bytestream/filepad.c:
23819         * libs/gst/bytestream/filepad.h:
23820           removing obsolete files
23821
23822 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23823
23824         * docs/gst/gstreamer-docs.sgml:
23825         * docs/libs/gstreamer-libs-docs.sgml:
23826           disabed additional index entries again, as this makes docs-gen just
23827           slow and they aren't useful yet
23828         * docs/libs/gstreamer-libs-sections.txt:
23829           little -section.txt cleanup for libs
23830
23831 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
23832
23833         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23834         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23835           fix up some debugging
23836         (gst_base_transform_get_unit_size),
23837         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23838         (gst_base_transform_handle_buffer):
23839         * gst/base/gstbasetransform.h:
23840           handle and store timed NEWSEGMENT events so that subclasses that
23841           calculate time by counting samples have a segment_start time they
23842           need to add to their timestamps - see audioresample
23843
23844 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23845
23846         * gst/gstbin.h:
23847           removed ';' from the end of macro defs
23848         * docs/gst/gstreamer-docs.sgml:
23849         * docs/gst/gstreamer-sections.txt:
23850         * docs/gst/tmpl/.cvsignore:
23851         * gst/gstbus.h:
23852         * gst/gstelement.c: (gst_element_class_init),
23853         (gst_element_set_state), (activate_pads),
23854         (gst_element_save_thyself):
23855         * gst/gstevent.c: (gst_event_new_newsegment):
23856         * gst/gstevent.h:
23857         * gst/gstiterator.c:
23858         * gst/gstiterator.h:
23859         * gst/gstpad.c:
23860         * gst/gstprobe.h:
23861         * gst/gstutils.c: (gst_pad_query_convert):
23862         * gst/gstutils.h:
23863           fixed parameter name mismatches between source, header and docs
23864           added some more docs, resolved the last batch of unused elements in
23865           docs (now someone needs to doc them)
23866
23867 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23868
23869         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23870         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23871           don't walk through the plugins backwards.  Where is all this
23872           reversed logic coming from ?
23873
23874 2005-08-25  Wim Taymans  <wim@fluendo.com>
23875
23876         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23877         (gst_base_transform_transform_size),
23878         (gst_base_transform_configure_caps),
23879         (gst_base_transform_get_unit_size),
23880         (gst_base_transform_buffer_alloc),
23881         (gst_base_transform_change_state):
23882         * gst/base/gstbasetransform.h:
23883         Cache caps unit_size.
23884         Make sure we cannot negotiate up and downstream at the
23885         same time.
23886
23887 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23888
23889         * gst/gst.c: (init_pre), (init_post):
23890           register the installed plugin path after the env var
23891         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23892         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23893           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23894           directories, so the tests can prefer uninstalled over installed
23895
23896 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23897
23898         * gst/base/gstbasetransform.h:
23899           comment
23900         * gst/gstpad.c:
23901           add to docs
23902
23903 2005-08-25  Wim Taymans  <wim@fluendo.com>
23904
23905         * gst/gstbin.c: (bin_bus_handler):
23906         Be a bit more conservative about the posted message.
23907         
23908         * gst/gstbus.c: (gst_bus_post):
23909         Some cleanups, warn wrong return values.
23910
23911 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
23912
23913         * check/gst/gstbin.c: (GST_START_TEST):
23914         * gst/gstbin.c: (bin_bus_handler):
23915         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23916         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23917         (gst_message_new_warning), (gst_message_new_tag),
23918         (gst_message_new_state_changed), (gst_message_new_segment_start),
23919         (gst_message_new_segment_done), (gst_message_new_custom):
23920         * gst/gstmessage.h:
23921         * tools/gst-launch.c: (event_loop):
23922         * tools/gst-md5sum.c: (event_loop):
23923           Revert unpopular change for GST_MESSAGE_SRC to GObject.
23924
23925 2005-08-25  Wim Taymans  <wim@fluendo.com>
23926
23927         * check/generic/states.c: (GST_START_TEST):
23928         Cleanup can be done at the end.
23929
23930         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
23931         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23932         (gst_task_get_state), (gst_task_start), (gst_task_pause):
23933         Oh boy.. Thanks for finding this, Thomas. 
23934
23935 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23936
23937         * docs/gst/gstreamer.types:
23938           added missing types
23939
23940 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23941
23942         * docs/gst/gstreamer-docs.sgml:
23943         * docs/gst/gstreamer-sections.txt:
23944         * docs/gst/tmpl/.cvsignore:
23945         * gst/gstbin.c:
23946         * gst/gstiterator.c:
23947         * gst/gstutils.c:
23948         * gst/registries/gstxmlregistry.h:
23949           added missing classes and symbols (123 more to go)
23950           removed removed symbols from section file
23951           fixed many doc-comments
23952
23953 2005-08-24  Wim Taymans  <wim@fluendo.com>
23954
23955         * check/generic/states.c: (GST_START_TEST):
23956         Make sure all tasks are stopped.
23957
23958         * check/gst/gstbin.c: (GST_START_TEST):
23959         Unref after usage for proper valgrinding.
23960
23961         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
23962         Really wait for the task to stop before destroying the
23963         mutex.
23964
23965         * gst/gstqueue.c: (gst_queue_sink_activate_push),
23966         (gst_queue_src_activate_push):
23967         Small cleanups. Don't stop the task when we did not start
23968         it.
23969
23970         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
23971         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23972         (gst_task_get_state), (gst_task_start), (gst_task_pause),
23973         (gst_task_join):
23974         * gst/gsttask.h:
23975         Protect the stream lock with the object lock.
23976         Disallow setting the stream lock when running.
23977         Add cleanup_all to wait for the threadpool to finish.
23978         Remove code to autoallocate a mutex if none was provided.
23979         Add _join() to wait for a task to stop.
23980         Protect the thread pool with a global lock.
23981
23982 2005-08-24  Wim Taymans  <wim@fluendo.com>
23983
23984         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23985         (gst_base_sink_get_times), (gst_base_sink_do_sync),
23986         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
23987         * gst/base/gstbasesink.h:
23988         Handle newsegment events correctly.
23989         Drop buffers out of the segment range.
23990
23991 2005-08-22  Andy Wingo  <wingo@pobox.com>
23992
23993         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
23994         macro, implements an interface and gstimplementsinterface for a
23995         new type.
23996
23997 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23998
23999         * check/Makefile.am:
24000         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24001           add a test that does a bunch of state changes on elements
24002           needs some fixing for valgrind
24003         * check/states/sinks.c: (gst_object_suite):
24004           whitespace
24005         * gst/gstcaps.h:
24006           add prototype for gst_caps_is_equal_fixed
24007         * gst/gstplugin.c:
24008         * gst/gstregistrypool.c:
24009           doc fixes
24010
24011 2005-08-24  Andy Wingo  <wingo@pobox.com>
24012
24013         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24014         convert a negative value. Doesn't make much sense. Mostly this is
24015         here to force callers to ensure -1 maps to -1.
24016
24017 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24018
24019         * docs/pwg/advanced-types.xml:
24020           Well done to Michael for catching my deliberate introduction
24021           of this spelling mistake. 
24022         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24023         * gst/gstelement.h:
24024           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24025           unlink pads before removing the element from the bin.
24026
24027 2005-08-24  Andy Wingo  <wingo@pobox.com>
24028
24029         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24030         the same thing as GST_DEBUG=*:4.
24031         (parse_debug_level, parse_debug_category): New helper parsers.
24032
24033 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24034
24035         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24036         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24037         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24038         (gst_base_transform_buffer_alloc),
24039         (gst_base_transform_handle_buffer):
24040           use gboolean return values and pointers to size so we can use the
24041           full GST_BUFFER_SIZE range (guint) for buffer sizes
24042           use GstPadDirection for transform_caps
24043         * gst/base/gstbasetransform.h:
24044           rename get_size to get_unit_size since that's what it is
24045         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24046           use GstPadDirection for transform_caps
24047         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24048         * gst/gstutils.h:
24049           cleanup and debugging
24050
24051 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24052
24053         * gst/gstelement.c: (gst_element_class_init),
24054         (gst_element_set_state), (activate_pads),
24055         (gst_element_save_thyself):
24056         * tools/gst-compprep.c: (main):
24057         * tools/gst-inspect.c: (print_element_properties_info):
24058         * tools/gst-xmlinspect.c: (print_element_properties):
24059           Fixed long standing mem-leak
24060
24061 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24062
24063         * check/gst/gstbin.c: (GST_START_TEST):
24064         * gst/gstbin.c: (bin_bus_handler):
24065         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24066         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24067         (gst_message_new_warning), (gst_message_new_tag),
24068         (gst_message_new_state_changed), (gst_message_new_segment_start),
24069         (gst_message_new_segment_done), (gst_message_new_custom):
24070         * gst/gstmessage.h:
24071         * tools/gst-launch.c: (event_loop):
24072         * tools/gst-md5sum.c: (event_loop):
24073           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24074           that applications can sensibly post custom messages with references
24075           to their own objects.
24076
24077 2005-08-24  Andy Wingo  <wingo@pobox.com>
24078
24079         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24080         already.
24081
24082 2005-08-24  Wim Taymans  <wim@fluendo.com>
24083
24084         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24085         (gst_base_transform_transform_caps),
24086         (gst_base_transform_transform_size),
24087         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24088         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24089         (gst_base_transform_handle_buffer):
24090         * gst/base/gstbasetransform.h:
24091         Many fixes and new features added by Thomas. Can now also do
24092         transforms with variable sizes and a custom fixate_caps function.
24093
24094 2005-08-24  Wim Taymans  <wim@fluendo.com>
24095
24096         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24097         Some debugging.
24098
24099         * gst/gstclock.h:
24100         Cast to ClockTime before formatting to time.
24101
24102         * gst/gstutils.h:
24103         Cleanups.
24104
24105 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24106
24107         * check/gst-libs/controller.c: (GST_START_TEST),
24108         (gst_controller_suite):
24109         * docs/gst/tmpl/gstcaps.sgml:
24110         * docs/gst/tmpl/gstghostpad.sgml:
24111         * docs/gst/tmpl/gstquery.sgml:
24112         * docs/gst/tmpl/gstutils.sgml:
24113         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24114         (gst_object_sink_values), (gst_object_get_value_arrays),
24115         (gst_object_get_value_array):
24116           gracefully handle helper method calls to objects that are not beeing
24117           controlled, added test case for that          
24118
24119 2005-08-23  Wim Taymans  <wim@fluendo.com>
24120
24121         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24122         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24123         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24124         (gst_event_parse_qos), (gst_event_new_seek),
24125         (gst_event_parse_seek):
24126         * gst/gstevent.h:
24127         Some more debugging output and doc cleanups.
24128
24129         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24130         Fix possible deadlock.
24131
24132 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24133
24134         * docs/gst/gstreamer-docs.sgml:
24135         * docs/gst/gstreamer-sections.txt:
24136         * docs/gst/gstreamer.types:
24137         * docs/gst/tmpl/.cvsignore:
24138         * gst/gstbin.h:
24139         * gst/gstbus.c:
24140         * gst/gstelement.c:
24141         * gst/gstevent.h:
24142           added 100 symbols from gstreamer-unused.txt to the right sections
24143           fixed more broken comments
24144           added GstBus to docs
24145
24146 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24147
24148         * docs/gst/gstreamer-sections.txt:
24149         * docs/gst/tmpl/.cvsignore:
24150         * docs/gst/tmpl/gstbin.sgml:
24151         * docs/gst/tmpl/gstbuffer.sgml:
24152         * gst/base/gstbasesrc.c:
24153         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24154         * gst/gstbuffer.c:
24155         * gst/gstbuffer.h:
24156         * tools/gst-launch.1.in:
24157           inlined more doc comments, added missing comments and fixed comments
24158           fixed typos
24159
24160 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24161
24162         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24163           some debugging
24164         * gst/gstcaps.h:
24165           whitespace fixes
24166         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24167           more debugging
24168         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24169         * gst/gststructure.h:
24170           add a fixate function for booleans; add a FIXME that these func
24171           names should probably be gst_structure_fixate_*
24172
24173 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24174
24175         * docs/gst/gstreamer-docs.sgml:
24176         * docs/gst/gstreamer-sections.txt:
24177         * gst/Makefile.am:
24178         * gst/gstbin.c: (gst_bin_get_type),
24179         (gst_bin_child_proxy_get_child_by_index),
24180         (gst_bin_child_proxy_get_children_count),
24181         (gst_bin_child_proxy_init):
24182         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24183         (gst_child_proxy_get_child_by_index),
24184         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24185         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24186         (gst_child_proxy_get), (gst_child_proxy_set_property),
24187         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24188         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24189         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24190         * gst/gstchildproxy.h:
24191         * gst/parse/grammar.y:
24192         * tools/gst-inspect.c: (print_interfaces),
24193         (print_element_properties_info), (print_element_info):
24194           ported gstchildproxy over from 0.8
24195           ported gst-inspect fixes and enhancements over from 0.8
24196
24197 2005-08-22  Wim Taymans  <wim@fluendo.com>
24198
24199         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24200         (gst_base_transform_handle_buffer):
24201         Also call the transform function if we have ANY caps.
24202
24203         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24204         Fix debug info.
24205
24206 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24207
24208         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24209           Don't pretend to handle seek events if the source is not seekable
24210
24211 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24212
24213         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24214           Remove extra parameter to debug output
24215
24216         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24217         (gst_base_src_do_seek), (gst_base_src_activate_push):
24218           Fix seek event handling.
24219
24220         * gst/gstpipeline.c: (gst_pipeline_change_state):
24221         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24222         (gst_queue_src_activate_push):
24223           Don't start the src pad task on FLUSH_STOP if the pad
24224           isn't linked.
24225           Debug changes.
24226
24227 2005-08-22  Wim Taymans  <wim@fluendo.com>
24228
24229         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24230         Added check for gst_static_caps_get() refcounting.
24231
24232 2005-08-22  Wim Taymans  <wim@fluendo.com>
24233
24234         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24235         Make _static_caps_get() refcounting sane.
24236         
24237         * gst/gstelement.c: (gst_element_set_state):
24238         Add g_return_val_if_fail() to protect against segfaults.
24239
24240 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24241
24242         * docs/gst/tmpl/gstevent.sgml:
24243         * gst/gstevent.c:
24244         * gst/gstevent.h:
24245           inlined remaining docs, added missing doc comments
24246
24247 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24248
24249         * check/gst/gstbin.c: (GST_START_TEST):
24250           since we don't know when preroll is done, use refcount range
24251           check for the sink
24252         * gst/check/gstcheck.h:
24253           add macro for checking refcount range
24254
24255 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24256
24257         * check/Makefile.am:
24258           clean up environment for when registry gets built versus
24259           when actual tests are run; valgrind seems to not report
24260           leaks if GST_PLUGIN_PATH is set to some specific values
24261         * check/gst/gstbin.c: (GST_START_TEST):
24262           add more refcounting checks; maybe this exposes a
24263           preroll lock bug ?
24264         * common/check.mak:
24265         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24266         * gst/check/gstcheck.h:
24267         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24268         (gst_bin_change_state):
24269         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24270           add/fix debugging/whitespace
24271
24272 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24273
24274         * check/gst/gstevent.c: (event_probe), (test_event),
24275         (GST_START_TEST):
24276          Er, don't call gst_bin_watch_for_state_change you idiot.
24277
24278 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24279
24280         * check/Makefile.am:
24281           Use CHECK_CFLAGS and CHECK_LIBS
24282         * check/gst/gstevent.c: (event_probe), (test_event),
24283         (GST_START_TEST):
24284           Don't leak events.
24285         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24286         (gst_base_src_start), (gst_base_src_stop),
24287         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24288         (gst_base_src_change_state):
24289           Sprinkle gst_base_src_stop liberally around error paths to fix
24290           problems reusing a source after failed state changes.
24291         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24292         (helper_find_suggest), (gst_type_find_helper):
24293           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24294         * gst/gstevent.h:
24295         * docs/gst/tmpl/gstevent.sgml:
24296           Migrate part of the docs from the SGML file. Wait for ensonic to
24297           tell me how I did it wrong ;)
24298         * tools/gst-typefind.c: (main):
24299           Extra robustness to state changes between files.
24300
24301 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24302
24303         * check/Makefile.am:
24304           don't valgrind the controller test - it's leaking - Stefan, HELP
24305         * gst/check/gstcheck.c: (gst_check_message_error),
24306         (gst_check_chain_func), (gst_check_setup_element),
24307         (gst_check_teardown_element), (gst_check_setup_src_pad),
24308         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24309         (gst_check_teardown_sink_pad):
24310         * gst/check/gstcheck.h:
24311           add a bunch of methods to set up elements, and src and sink pads
24312         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24313         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24314         (GST_START_TEST):
24315           use them
24316         * gst/gstmessage.c:
24317         * gst/gsttag.h:
24318           whitespace/doc fixes
24319
24320 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24321
24322         * gst/gstelement.h:
24323           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24324           be handled by the application and not always printed as well
24325
24326 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24327
24328         * check/Makefile.am:
24329           set GST_TOOLS_DIR
24330         * gst/check/gstcheck.c: (gst_check_message_error):
24331         * gst/check/gstcheck.h:
24332           add a fail_unless_equals_int
24333           add fail_unless for error messages
24334
24335 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24336
24337         * check/Makefile.am:
24338         * check/gst.supp:
24339         * common/Makefile.am:
24340         * common/check.mak:
24341         * common/gst.supp:
24342           factor out some of the common stuff so we can use it
24343
24344 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24345
24346         * check/Makefile.am:
24347         * check/gst/gstiterator.c: (GST_START_TEST):
24348         * check/gst/gstsystemclock.c: (GST_START_TEST),
24349         (gst_systemclock_suite):
24350         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24351         * gst/gstclock.c:
24352           valgrind more tests
24353
24354 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24355
24356         * check/elements/.cvsignore:
24357         * check/elements/gstfakesrc.c:
24358           rename to name of element
24359         * check/elements/identity.c: (chain_func), (event_func),
24360         (setup_identity), (cleanup_identity), (GST_START_TEST),
24361         (identity_suite), (main):
24362           add a test for identity
24363         * check/Makefile.am:
24364         * pkgconfig/Makefile.am:
24365         * pkgconfig/gstreamer-check.pc.in:
24366         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24367         * gst/check:
24368         * gst/Makefile.am:
24369         * configure.ac:
24370           move the check stuff to a library that gets installed
24371         * check/gst-libs/controller.c: (GST_START_TEST):
24372         * check/gst-libs/gdp.c:
24373         * check/gst/gst.c: (GST_START_TEST):
24374         * check/gst/gstbin.c:
24375         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24376         * check/gst/gstbus.c:
24377         * check/gst/gstcaps.c: (GST_START_TEST):
24378         * check/gst/gstelement.c:
24379         * check/gst/gstghostpad.c:
24380         * check/gst/gstiterator.c:
24381         * check/gst/gstmessage.c:
24382         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24383         * check/gst/gstobject.c:
24384         * check/gst/gstpad.c: (GST_START_TEST):
24385         * check/gst/gststructure.c: (GST_START_TEST):
24386         * check/gst/gstsystemclock.c: (GST_START_TEST),
24387         (gst_systemclock_suite):
24388         * check/gst/gsttag.c: (gst_tag_suite):
24389         * check/gst/gstvalue.c:
24390         * check/pipelines/cleanup.c:
24391         * check/pipelines/simple_launch_lines.c:
24392         * check/states/sinks.c:
24393           change include statement
24394
24395         * docs/gst/gstreamer-sections.txt:
24396         * docs/gst/tmpl/gstpad.sgml:
24397           document more pad stuff
24398         * gst/gstminiobject.c: (gst_mini_object_ref),
24399         (gst_mini_object_unref):
24400           debug refcounting
24401
24402 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24403
24404         * docs/gst/tmpl/gst.sgml:
24405         * gst/gst.c:
24406           eliminate another tmpl file, fix spelling in the long-description
24407
24408 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24409
24410         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24411         (test_event), (timediff), (gstevents_suite):
24412           Should fix build on 64-bit arch's
24413
24414 2005-08-18  Andy Wingo  <wingo@pobox.com>
24415
24416         Make sure that when a pipeline goes to PLAYING, that data has
24417         actually hit the sink.
24418
24419         * check/states/sinks.c (test_sink): A sink that doesn't get any
24420         data shouldn't return SUCCESS for going to either PLAYING or
24421         PAUSED. Test also the return values on the way back down.
24422
24423         * gst/gstelement.c (gst_element_set_state): When changing the
24424         state of an element currently changing state asynchronously, go to
24425         lost-state after commiting the pending state. Makes future calls
24426         to get_state continue to return ASYNC.
24427
24428         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24429         ASYNC when going to PLAYING if we still don't have preroll, as can
24430         happen with live sources.
24431
24432 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24433
24434         * docs/pwg/advanced-types.xml:
24435           Hack long paragraph into 2 chunks as a workaround for buggy
24436           jadetex version in sid and breezy that loops infinitely and
24437           eats all RAM.
24438
24439 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24440
24441         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24442         (test_event), (timediff), (gstevents_suite):
24443           Provide more error margin in clock measurements to allow for 
24444           g_get_current_time inaccuracies.
24445
24446 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24447
24448         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24449         (test_event), (timediff), (gstevents_suite):
24450            Fix error message output so I might be able to tell why the
24451            test works here but fails on the build farm.
24452
24453 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24454
24455         * check/Makefile.am:
24456         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24457         (test_event), (timediff), (gstevents_suite), (main):
24458           I wrote a test!
24459
24460         * docs/design/part-seeking.txt:
24461           Spelling correction
24462
24463         * docs/gst/tmpl/gstevent.sgml:
24464         * docs/gst/tmpl/gstfakesrc.sgml:
24465           Docs updates.
24466
24467         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24468           Treat a buffer-without-newsegment the same as a receiving 
24469           a newsegment not in time format, and disable syncing to the clock
24470           with a warning.
24471
24472         * gst/gstbus.c: (gst_bus_set_sync_handler):
24473           Assert if anyone tries to replace the existing sync_handler for bus, 
24474           as only the owner should be setting it.
24475
24476         * gst/gstevent.h:
24477           Have a fixed set of custom event enums with events identified by
24478           their structure name (as in 0.8), rather than a free-for-all
24479           allowing collisions between enum values from different plugins.
24480
24481         * gst/gstpad.c: (gst_pad_class_init):
24482           Docs change.
24483           
24484         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24485           Handle out-of-band downstream events from the sending thread.
24486
24487 2005-08-17  Andy Wingo  <wingo@pobox.com>
24488
24489         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24490         play-timeout==0 to mean no timeout at all. In that case, don't
24491         bother with a get_state or a warning, just return directly, even
24492         if it's ASYNC.
24493
24494         * gst/base/gstbasetransform.c: Debug changes.
24495
24496         * gst/gstutils.h:
24497         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24498         ensure bins post state change messages. A bit of a hack but I can't
24499         think of a way to avoid it.
24500
24501         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24502
24503 2005-08-16  Andy Wingo  <wingo@pobox.com>
24504
24505         * gst/base/gstadapter.h:
24506         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24507         peek() but you own the data. Not terribly efficient atm.
24508
24509 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24510
24511         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24512         (gst_element_found_tags):
24513         * gst/gstutils.h:
24514           Add two utility functions for tag handling.
24515
24516 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24517
24518         * docs/manual/advanced-dataaccess.xml:
24519         * docs/manual/basics-helloworld.xml:
24520           Fix docs to use _bin_add() before _link(), which fixes the examples
24521           with recent core versions (reported by Madhan Raj M
24522           <raj_madan@rediffmail.com>, #313199).
24523
24524 2005-08-16  Wim Taymans  <wim@fluendo.com>
24525
24526         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24527         Added subtract checks.
24528
24529         * docs/design/part-events.txt:
24530         Some more docs about newsegment
24531
24532         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24533         Fix FIXME
24534
24535         * gst/gstcaps.c: (gst_caps_to_string):
24536         Add comments, cleanups.
24537         
24538         * gst/gstelement.c: (gst_element_save_thyself):
24539         cleanups
24540         
24541         * gst/gstvalue.c: (gst_value_collect_int_range),
24542         (gst_string_unwrap), (gst_value_union_int_int_range),
24543         (gst_value_union_int_range_int_range),
24544         (gst_value_intersect_int_int_range),
24545         (gst_value_intersect_int_range_int_range),
24546         (gst_value_intersect_double_double_range),
24547         (gst_value_intersect_double_range_double_range),
24548         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24549         (gst_value_subtract_int_range_int),
24550         (gst_value_subtract_double_range_double),
24551         (gst_value_subtract_double_range_double_range),
24552         (gst_value_subtract_from_list), (gst_value_subtract_list),
24553         (gst_value_can_compare), (gst_value_compare_fraction):
24554         Cleanups, add comments, remove unneeded asserts.
24555
24556 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24557
24558         * tools/gst-launch.c: (event_loop):
24559           don't convert NULL structures to strings
24560
24561 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24562
24563         * docs/gst/gstreamer-sections.txt:
24564           made some defines private
24565         * docs/gst/tmpl/gstconfig.sgml:
24566         * docs/gst/tmpl/gstqueue.sgml:
24567         * docs/gst/tmpl/gsttaglist.sgml:
24568         * docs/gst/tmpl/gsttypes.sgml:
24569         * docs/gst/tmpl/gstutils.sgml:
24570         * docs/pwg/appendix-porting.xml:
24571         * gst/base/gstbasesink.h:
24572         * gst/base/gstbasesrc.c:
24573         * gst/base/gstbasesrc.h:
24574         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24575         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24576         * gst/gstelement.c: (gst_element_class_init):
24577         * gst/gstpad.c: (gst_pad_class_init):
24578         * gst/gstqueue.c: (gst_queue_class_init):
24579         * gst/gstxml.c: (gst_xml_class_init):
24580           documented all undocumented signal inline
24581         * libs/gst/controller/gst-controller.h:
24582           added padding
24583
24584 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24585
24586         * docs/pwg/appendix-porting.xml:
24587           Document _set_link_function -> _set_setcaps_function.
24588
24589 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24590
24591         * check/Makefile.am:
24592           add a .check target for running the check
24593         * check/gst-libs/controller.c: (GST_START_TEST):
24594           cosmetic fixups
24595         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24596           complete checks for gstbuffer; would be nice if I could get the
24597           gcov stuff to work so I can see if I actually completed gstbuffer.c
24598         * check/gstcheck.h:
24599           add ASSERT_BUFFER_REFCOUNT
24600
24601 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24602
24603         * docs/gst/gstreamer-sections.txt:
24604         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24605         * gst/gsttag.h:
24606           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24607           spew out a warning if a tag that is already registered
24608           is re-registered, unless it is re-registered with a 
24609           different type (#308438).
24610
24611 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24612
24613         * docs/pwg/appendix-porting.xml:
24614         * docs/pwg/building-state.xml:
24615           Add some paragraphs about state changes in 0.9 to the PWG
24616           and the porting guide, in particular about the new meaning
24617           of GST_STATE_PAUSED and how to write state change functions
24618           with concurrent access by multiple threads in mind.
24619
24620 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24621
24622         * docs/gst/gstreamer-docs.sgml:
24623         * docs/libs/gstreamer-libs-docs.sgml:
24624           added deprecation and since indexes
24625         * libs/gst/controller/gst-controller.c:
24626         * libs/gst/controller/gst-helper.c:
24627           added since tags
24628
24629
24630 2005-08-11  Wim Taymans  <wim@fluendo.com>
24631
24632         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24633         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24634         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24635         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24636         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24637         (gst_ghost_pad_set_target):
24638         Actually implement (re)setting the target on a ghostpad
24639         as described in the docs.
24640
24641 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24642
24643         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24644           Check whether GST_DEBUG_NO_COLOR environment variable is
24645           set and disable coloured debug output if that is the case.
24646
24647 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24648
24649         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24650         (gst_type_find_helper):
24651           The memory returned by gst_type_find_peek() needs to
24652           stay valid until the end of a typefind function, and
24653           typefind functions may keep results from different 
24654           offsets around, so we can't just unref the buffer from
24655           the previous _peek(), but have to save all buffers 
24656           returned by _peek() until typefinding is done and only
24657           free them then.
24658
24659 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
24660
24661         * docs/gst/gstreamer-sections.txt:
24662         * gst/gstutils.h:
24663           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24664
24665 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24666
24667         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24668           Fix a pretty good memleak.
24669
24670 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24671
24672         * gst/gstiterator.h:
24673           Fix wrong include and 'make distcheck'.
24674
24675 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24676
24677         * gst/gstbin.c: (bin_bus_handler):
24678           Use gst_element_post_message() instead.
24679
24680 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24681
24682         * gst/base/gstadapter.h:
24683         * gst/base/gstbasesink.h:
24684         * gst/base/gstbasesrc.h:
24685         * gst/base/gstbasetransform.h:
24686         * gst/base/gstcollectpads.h:
24687         * gst/base/gstpushsrc.h:
24688         * gst/gstiterator.h:
24689           Add padding to our base elements' class and instance structs and
24690           to GstIterator (you will need to rebuild all plugins and apps!)
24691
24692 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24693
24694         * gst/gstbin.c: (bin_bus_handler):
24695           Make default message forwarding from child->bus to bin->bus
24696           threadsafe and make it not emit warnings if the parent has no bus.
24697
24698 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24699
24700         * gst/gstelement.c: (activate_pads):
24701           On paused->ready, set pad->caps to NULL, as is the documented
24702           behaviour in this state change. Fixes playback of series of
24703           media files when visualization is enabled in Totem.
24704
24705 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24706
24707         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24708           Allow NULL as filter-caps (which means "any").
24709
24710 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24711
24712         * docs/libs/gstreamer-libs-sections.txt:
24713         * libs/gst/controller/gst-controller.c:
24714         * libs/gst/controller/gst-controller.h:
24715         * libs/gst/controller/gst-helper.c:
24716           adding more entries to the docs and fix small doc-bugs
24717
24718 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24719
24720         * docs/gst/gstreamer-docs.sgml:
24721         * docs/gst/gstreamer-sections.txt:
24722         * docs/gst/gstreamer.types:
24723         * docs/gst/tmpl/gstbasesink.sgml:
24724         * docs/gst/tmpl/gstbasesrc.sgml:
24725         * docs/gst/tmpl/gstbasetransform.sgml:
24726         * docs/gst/tmpl/gstfakesrc.sgml:
24727         * gst/base/gstcollectpads.c:
24728         * gst/base/gstcollectpads.h:
24729         * libs/gst/controller/gst-controller.c:
24730         * libs/gst/controller/gst-controller.h:
24731         * libs/gst/controller/gst-helper.c:
24732         * libs/gst/controller/gst-interpolation.c:
24733         * libs/gst/controller/lib.c:
24734           added long/short desc for controller docs
24735           added collectpads base class docs
24736           added correct includes to base-class docs
24737
24738 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24739
24740         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24741         (gst_test_mono_source_set_property),
24742         (gst_test_mono_source_class_init), (GST_START_TEST),
24743         (gst_controller_suite):
24744         * docs/gst/gstreamer-docs.sgml:
24745         * docs/gst/gstreamer-sections.txt:
24746         * docs/gst/gstreamer.types:
24747         * docs/libs/gstreamer-libs-docs.sgml:
24748         * docs/libs/gstreamer-libs-sections.txt:
24749         * gst/base/gstadapter.c:
24750         * libs/gst/controller/gst-controller.c:
24751         (gst_controlled_property_new), (gst_controlled_property_free),
24752         (gst_controller_new_valist),
24753         (gst_controller_remove_properties_valist),
24754         (gst_controller_sink_values), (_gst_controller_finalize):
24755         * libs/gst/controller/gst-controller.h:
24756         * libs/gst/controller/gst-helper.c:
24757         (gst_object_control_properties), (gst_object_uncontrol_properties),
24758         (gst_object_get_controller), (gst_object_set_controller),
24759         (gst_object_sink_values), (gst_object_get_value_arrays),
24760         (gst_object_get_value_array):
24761           more tests (and fixes) for the controller
24762           more docs for the controller
24763           integrated companies docs for the adapter 
24764
24765 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24766
24767         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24768         (GST_START_TEST), (fakesrc_suite):
24769           add tests for sizetype
24770
24771 2005-08-04  Andy Wingo  <wingo@pobox.com>
24772
24773         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24774         fixes buffer_alloc proxying among other things.
24775
24776         * gst/base/gstbasetransform.c:
24777         * gst/base/gstbasetransform.h:
24778         Revert patch to gstbasetransform from 7-28 removing
24779         delay_configure.
24780
24781         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24782         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24783         Semantics changed, should return not the size of the output buffer
24784         but the byte size of a buffer with a given caps.
24785
24786         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24787         debug object.
24788         (gst_base_transform_configure_caps): Don't set out_size here: (in,
24789         out) are not the pad caps until setcaps finishes.
24790         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24791         not-in-place case as well. Deal with changing from in-place to
24792         not-in-place within calling pad_alloc_buffer. Still a bit
24793         concerned about the overhead here...
24794
24795 2005-08-03  Andy Wingo  <wingo@pobox.com>
24796
24797         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24798         fixating is an error.
24799
24800 2005-08-04  Edward Hervey  <edward@fluendo.com>
24801
24802         * gst/base/gstadapter.h: 
24803         Added gst_adapter_get_type() to the header
24804
24805 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24806
24807         * check/Makefile.am:
24808         * check/gst-libs/controller.c:
24809         * libs/gst/controller/gst-controller.c:
24810         (gst_controller_new_valist):
24811           added check test suite for the controller
24812         * gst/base/gstpushsrc.c:
24813           fixed a doc typo
24814
24815 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24816
24817         * docs/gst/Makefile.am:
24818         * docs/gst/gstreamer-docs.sgml:
24819         * docs/gst/gstreamer-sections.txt:
24820         * docs/gst/gstreamer.types:
24821         * docs/gst/tmpl/gstfakesrc.sgml:
24822         * gst/base/README:
24823         * gst/base/gstbasesink.c:
24824         * gst/base/gstbasesink.h:
24825         * gst/base/gstbasesrc.c:
24826         * gst/base/gstbasesrc.h:
24827         * gst/base/gstbasetransform.c:
24828         * gst/base/gstpushsrc.c:
24829         * gst/base/gstpushsrc.h:
24830           add short/long description docs to base classes
24831           add pushsrc to the docs
24832           remove consolidated doc fragments
24833
24834 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24835
24836         * configure.ac:
24837         * docs/libs/Makefile.am:
24838         * docs/libs/gstreamer-libs-docs.sgml:
24839         * docs/libs/gstreamer-libs-sections.txt:
24840         * docs/libs/gstreamer-libs.types:
24841         * examples/Makefile.am:
24842         * examples/controller/.cvsignore:
24843         * examples/controller/Makefile.am:
24844         * examples/controller/audio-example.c: (main):
24845         * libs/gst/Makefile.am:
24846         * libs/gst/controller/.cvsignore:
24847         * libs/gst/controller/Makefile.am:
24848         * libs/gst/controller/gst-controller.c:
24849         (on_object_controlled_property_changed), (gst_timed_value_compare),
24850         (gst_timed_value_find),
24851         (gst_controlled_property_set_interpolation_mode),
24852         (gst_controlled_property_new), (gst_controlled_property_free),
24853         (gst_controller_find_controlled_property),
24854         (gst_controller_new_valist), (gst_controller_new),
24855         (gst_controller_remove_properties_valist),
24856         (gst_controller_remove_properties), (gst_controller_set),
24857         (gst_controller_set_from_list), (gst_controller_unset),
24858         (gst_controller_get), (gst_controller_get_all),
24859         (gst_controller_sink_values), (gst_controller_get_value_arrays),
24860         (gst_controller_get_value_array),
24861         (gst_controller_set_interpolation_mode),
24862         (_gst_controller_finalize), (_gst_controller_init),
24863         (_gst_controller_class_init), (gst_controller_get_type):
24864         * libs/gst/controller/gst-controller.h:
24865         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24866         (g_object_uncontrol_properties), (g_object_get_controller),
24867         (g_object_set_controller), (g_object_sink_values),
24868         (g_object_get_value_arrays), (g_object_get_value_array):
24869         * libs/gst/controller/gst-interpolation.c:
24870         (gst_controlled_property_find_timed_value_node),
24871         (interpolate_none_get), (interpolate_trigger_get),
24872         (interpolate_trigger_get_value_array):
24873         * libs/gst/controller/lib.c: (gst_controller_init):
24874         * pkgconfig/Makefile.am:
24875         * pkgconfig/gstreamer-control-uninstalled.pc.in:
24876         * pkgconfig/gstreamer-control.pc.in:
24877         * testsuite/Makefile.am:
24878         * testsuite/controller/.cvsignore:
24879         * testsuite/controller/Makefile.am:
24880         * testsuite/controller/interpolator.c: (main):
24881           added controller code
24882           removed dparam pc files
24883
24884 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24885         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24886         (gst_collectpads_stop):
24887           Broadcast the condition when shutting down, to make sure we wake all
24888           threads up. Shut down pads on finalize, for safety.
24889
24890 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24891         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24892         (gst_base_transform_handle_buffer),
24893         (gst_base_transform_change_state):
24894           Handle PAUSED->READY->PAUSED transition after negotiation
24895           occurred already.
24896         * gst/gstmessage.c: (gst_message_init):
24897           Extra piece of debug for new messages.
24898
24899 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
24900
24901         * configure.ac:
24902         * docs/gst/tmpl/gstbasesrc.sgml:
24903         * docs/gst/tmpl/gstelement.sgml:
24904         * docs/gst/tmpl/gstevent.sgml:
24905         * docs/gst/tmpl/gstfakesrc.sgml:
24906         * docs/gst/tmpl/gstformat.sgml:
24907         * docs/gst/tmpl/gstghostpad.sgml:
24908         * docs/gst/tmpl/gstpad.sgml:
24909         * docs/gst/tmpl/gstquery.sgml:
24910         * docs/gst/tmpl/gststructure.sgml:
24911         * docs/gst/tmpl/gsttaglist.sgml:
24912         * docs/gst/tmpl/gstvalue.sgml:
24913         * docs/libs/gstreamer-libs-docs.sgml:
24914         * docs/libs/gstreamer-libs-sections.txt:
24915         * docs/libs/gstreamer-libs.types:
24916         * libs/gst/Makefile.am:
24917         * libs/gst/control/.cvsignore:
24918         * libs/gst/control/Makefile.am:
24919         * libs/gst/control/control.c:
24920         * libs/gst/control/control.h:
24921         * libs/gst/control/dparam.c:
24922         * libs/gst/control/dparam.h:
24923         * libs/gst/control/dparam_smooth.c:
24924         * libs/gst/control/dparam_smooth.h:
24925         * libs/gst/control/dparamcommon.h:
24926         * libs/gst/control/dparammanager.c:
24927         * libs/gst/control/dparammanager.h:
24928         * libs/gst/control/dplinearinterp.c:
24929         * libs/gst/control/dplinearinterp.h:
24930         * libs/gst/control/unitconvert.c:
24931         * libs/gst/control/unitconvert.h:
24932         * testsuite/Makefile.am:
24933         * testsuite/dynparams/.cvsignore:
24934         * testsuite/dynparams/Makefile.am:
24935         * testsuite/dynparams/dparamstest.c:
24936         * tools/Makefile.am:
24937         * tools/gst-inspect.c: (print_element_info), (main):
24938         * tools/gst-xmlinspect.c: (print_element_info), (main):
24939           deactivate and remove dparams (libgstcontrol)
24940
24941 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24942
24943         * gst/elements/gsttypefindelement.c:
24944         (gst_type_find_element_have_type), (gst_type_find_element_init),
24945         (stop_typefinding), (gst_type_find_element_handle_event),
24946         (gst_type_find_element_chain), (gst_type_find_element_getrange):
24947         * gst/elements/gsttypefindelement.h:
24948           Set caps on all outgoing buffers, not just the first one.
24949
24950 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24951
24952         * gst/elements/gsttypefindelement.c:
24953         (gst_type_find_element_have_type),
24954         (gst_type_find_element_check_set_buffer_caps),
24955         (gst_type_find_element_init), (stop_typefinding),
24956         (gst_type_find_element_handle_event),
24957         (gst_type_find_element_chain), (gst_type_find_element_getrange):
24958         * gst/elements/gsttypefindelement.h:
24959           Set caps on first outgoing buffer when we've found the type.
24960
24961 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24962
24963         * docs/gst/gstreamer-docs.sgml:
24964         * docs/gst/gstreamer-sections.txt:
24965         * docs/gst/tmpl/gstscheduler.sgml:
24966         * docs/gst/tmpl/gstschedulerfactory.sgml:
24967           Remove some old cruft from docs.
24968
24969 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
24970
24971         * gst/gstpad.h:
24972           Fix inline docs for GstPadLinkReturn.
24973           
24974         * gst/gststructure.c: (gst_structure_has_name):
24975         * gst/gststructure.h:
24976         * docs/gst/gstreamer-sections.txt:
24977           New API: gst_structure_has_name().
24978
24979 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
24980
24981         * configure.ac:
24982           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
24983           and _LARGEFILE_SOURCE in config.h as required. Do not 
24984           export those flags in our .pc files any longer (#142209).
24985
24986           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
24987
24988         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
24989         (gst_file_sink_do_seek), (gst_file_sink_event),
24990         (gst_file_sink_get_current_offset), (gst_file_sink_render):
24991           Redo seek/tell calls with large file support in mind; add some
24992           debugging messages; add log message that tells us when large
24993           file support is unavailable or not enabled for some reason.
24994
24995         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
24996           Add log message that tells us when large file support 
24997           is unavailable or not enabled for some reason.
24998
24999 2005-07-29  Wim Taymans  <wim@fluendo.com>
25000
25001         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25002         Added test for removing an element with ghostpad from a bin.
25003         Fixed test as current implementation does the right thing.
25004
25005         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25006         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25007         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25008         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25009         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25010         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25011         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25012         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25013         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25014         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25015         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25016         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25017         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25018         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25019         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25020         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25021         * gst/gstghostpad.h:
25022         Clean up ghostpads, remove properties for internal stuff.
25023         Make threadsafe.
25024         Fix refcounting.
25025         Prepare for switching targets, not all use cases work yet.
25026
25027 2005-07-29  Wim Taymans  <wim@fluendo.com>
25028
25029         * docs/design/part-gstghostpad.txt:
25030         Small update.
25031
25032         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25033         (gst_bin_remove_func):
25034         Unlinking pads while holding the bin LOCK is not a good
25035         idea.
25036
25037         * gst/gstpad.c: (gst_pad_class_init),
25038         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25039         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25040         No prob setting template after creating the pad.
25041
25042 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25043
25044         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25045         (gst_bus_peek), (gst_bus_source_dispatch),
25046         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25047         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25048           gst_bus_poll may be called from other threads. Handle
25049           this nicely by not making poll_data disappear off the
25050           stack once gst_bus_poll returns.
25051           gst_bus_peek now increments the refcount on the returned
25052           message.
25053
25054 2005-07-29  Wim Taymans  <wim@fluendo.com>
25055
25056         * docs/design/part-gstghostpad.txt:
25057         Overview of current GhostPad datastructures and use
25058         cases for changing the target.
25059
25060 2005-07-28  Wim Taymans  <wim@fluendo.com>
25061
25062         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25063         Added checks for hierarchy consistency whan adding linked
25064         elements to bins.
25065
25066         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25067         Added check to test element scheduling without bin/pipeline.
25068
25069         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25070         First add elements to bin, then link.
25071         
25072         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25073         (gst_bin_remove_func):
25074         Unlink pads from elements added/removed from bin to maintain
25075         hierarchy consistency.
25076
25077 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25078
25079         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25080         (gst_base_transform_handle_buffer):
25081         * gst/base/gstbasetransform.h:
25082           Remove broken delay_configure (fixes renegotiation of software
25083           scaling pipelines); remove some leftover printf()s.
25084
25085 2005-07-28  Wim Taymans  <wim@fluendo.com>
25086
25087         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25088         Added some more tests for wrong hierarchy
25089
25090         * docs/design/part-overview.txt:
25091         Some updates.
25092
25093         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25094         Cleanups.
25095
25096         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25097         (gst_element_dispose):
25098         Some more cleanups.
25099
25100         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25101         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25102         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25103         (gst_pad_set_caps), (gst_pad_send_event):
25104         Check for correct hierarchy when linking pads. Moving to
25105         strict requirement for ghostpads when linking elements in
25106         different bins.
25107
25108         * gst/gstpad.h:
25109         Clean ups. Added WRONG_HIERARCHY return value.
25110
25111 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25112
25113         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25114           Better debug if no transform is possible.
25115
25116 2005-07-27  Wim Taymans  <wim@fluendo.com>
25117
25118         * docs/random/wtay/network-transp:
25119         Some old doc I had.
25120
25121 2005-07-27  Wim Taymans  <wim@fluendo.com>
25122
25123         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25124         (gst_dp_event_from_packet):
25125         Fix serialization of seek events.
25126
25127 2005-07-27  Wim Taymans  <wim@fluendo.com>
25128
25129         * check/gst-libs/gdp.c: (GST_START_TEST):
25130         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25131         Fix compilation and fix event serialization.
25132
25133 2005-07-27  Wim Taymans  <wim@fluendo.com>
25134
25135         * CHANGES-0.9:
25136         * docs/design/part-TODO.txt:
25137         * docs/design/part-events.txt:
25138         Some docs updates
25139
25140         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25141         (gst_base_sink_event), (gst_base_sink_do_sync),
25142         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25143         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25144         (gst_base_src_do_seek), (gst_base_src_event_handler),
25145         (gst_base_src_loop):
25146         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25147         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25148         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25149         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25150         (gst_base_transform_set_passthrough),
25151         (gst_base_transform_is_passthrough):
25152         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25153         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25154         Event updates.
25155
25156         * gst/gstbuffer.h:
25157         Use faster casts.
25158
25159         * gst/gstelement.c: (gst_element_seek):
25160         * gst/gstelement.h:
25161         Update gst_element_seek.
25162
25163         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25164         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25165         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25166         (gst_event_new_eos), (gst_event_new_newsegment),
25167         (gst_event_parse_newsegment), (gst_event_new_tag),
25168         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25169         (gst_event_parse_qos), (gst_event_new_seek),
25170         (gst_event_parse_seek), (gst_event_new_navigation):
25171         * gst/gstevent.h:
25172         Make GstEvent use GstStructure. Add parsing code, make sure the
25173         API is sufficiently generic.
25174         Mark possible directions of events and serialization.
25175
25176         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25177         (_gst_message_copy), (gst_message_new_segment_start),
25178         (gst_message_new_segment_done), (gst_message_new_custom),
25179         (gst_message_parse_segment_start),
25180         (gst_message_parse_segment_done):
25181         Small cleanups.
25182
25183         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25184         (gst_pad_set_caps), (gst_pad_send_event):
25185         Update for new events. 
25186         Catch events sent in wrong directions.
25187
25188         * gst/gstqueue.c: (gst_queue_link_src),
25189         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25190         (gst_queue_handle_src_query):
25191         Event updates.
25192
25193         * gst/gsttag.c:
25194         * gst/gsttag.h:
25195         Remove event code from this file.
25196
25197         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25198         (gst_dp_event_from_packet):
25199         Event updates.
25200
25201 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25202
25203         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25204         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25205         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25206           Make debugging actually useful.
25207
25208 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25209
25210         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25211         (gst_pad_fixate_caps):
25212           Implement default fixation once again, so that gst_pad_fixate()
25213           actually does anything at all. This probably needs to be some
25214           sort of a last resort, and use profile-based fixation first, but
25215           since that doesn't exist yet, this is the best we have. Fixes
25216           visualization in Totem.
25217
25218 2005-07-22  Wim Taymans  <wim@fluendo.com>
25219
25220         * docs/design/part-events.txt:
25221         Small update.
25222
25223         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25224         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25225         (gst_base_sink_activate_pull):
25226         Some more comments.
25227
25228         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25229         (gst_fake_src_create):
25230         Fix handoff marshall.
25231
25232         * gst/elements/gstidentity.c: (gst_identity_class_init),
25233         (gst_identity_transform_ip):
25234         We're a real inplace element.
25235
25236         * gst/gstbus.c: (gst_bus_post):
25237         Added some comments.
25238
25239         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25240         * tests/muxing/case1.c: (main):
25241         * tests/sched/dynamic-pipeline.c: (main):
25242         * tests/sched/interrupt1.c: (main):
25243         * tests/sched/interrupt2.c: (main):
25244         * tests/sched/interrupt3.c: (main):
25245         * tests/sched/runxml.c: (main):
25246         * tests/sched/sched-stress.c: (main):
25247         * tests/seeking/seeking1.c: (event_received), (main):
25248         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25249         (main):
25250         * tests/threadstate/threadstate3.c: (main):
25251         * tests/threadstate/threadstate4.c: (main):
25252         * tests/threadstate/threadstate5.c: (main):
25253         Fix the tests.
25254
25255 2005-07-21  Wim Taymans  <wim@fluendo.com>
25256
25257         * docs/design/part-seeking.txt:
25258         Some small additions.
25259
25260         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25261         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25262         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25263         * gst/base/gstbasesink.h:
25264         discont values are gint64, handle the math correctly.
25265
25266         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25267         Make the basesrc report error if the source pad is not linked.
25268
25269         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25270         (gst_queue_loop), (gst_queue_handle_src_query),
25271         (gst_queue_src_activate_push):
25272         Make queue collect data even if the srcpad is not linked.
25273         Start pushing out data as soon as it is linked.
25274
25275         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25276         * gst/gstutils.h:
25277         Added gst_flow_get_name() to ease error reporting.
25278
25279 2005-07-20  Wim Taymans  <wim@fluendo.com>
25280
25281         * gst/gstmessage.c: (gst_message_new_segment_start),
25282         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25283         (gst_message_parse_segment_done):
25284         * gst/gstmessage.h:
25285         Added a bunch of messages for advanced seeking.
25286
25287         * gst/parse/grammar.y:
25288         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25289         (gst_dpman_state_changed):
25290         Fix some new-pad -> pad-added signals
25291
25292 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25293
25294         * docs/manual/appendix-porting.xml:
25295         * docs/pwg/appendix-porting.xml:
25296           Document new-pad/state-change signal renames and the FixedList
25297           type rename.
25298
25299 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25300
25301         * docs/manual/advanced-autoplugging.xml:
25302         * docs/manual/basics-helloworld.xml:
25303         * docs/manual/basics-pads.xml:
25304         * docs/random/ds/0.9-suggested-changes:
25305         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25306         * gst/gstelement.h:
25307         * gst/gstevent.h:
25308         * gst/gstformat.h:
25309         * gst/gstquery.h:
25310         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25311         (gst_structure_parse_array), (gst_structure_parse_value):
25312         * gst/gstvalue.c: (gst_type_is_fixed),
25313         (gst_value_list_prepend_value), (gst_value_list_append_value),
25314         (gst_value_list_get_size), (gst_value_list_get_value),
25315         (gst_value_transform_array_string), (gst_value_serialize_array),
25316         (gst_value_deserialize_array), (gst_value_intersect_array),
25317         (gst_value_is_fixed), (_gst_value_initialize):
25318         * gst/gstvalue.h:
25319           GstElement::new-pad -> pad-added, GstElement::state-change ->
25320           state-changed, GstValueFixedList -> GstValueArray, add format and
25321           flags as their own arguments in gst_element_seek() (should improve
25322           "bindeability"), remove function generators since they don't work
25323           under a whole bunch of compilers (they were deprecated already
25324           anyway).
25325
25326 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25327
25328         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25329         (_gst_debug_register_funcptr):
25330         * gst/gstinfo.h:
25331           Fix illegal cast on some platforms (#309253).
25332
25333 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25334
25335         * gst/gstmessage.c: (gst_message_new_custom):
25336         * gst/gstmessage.h:
25337           Add _new_custom, make _new_application a macro to _new_custom.
25338
25339 2005-07-20  Wim Taymans  <wim@fluendo.com>
25340
25341         * gst/base/gstbasesrc.c: (gst_base_src_init),
25342         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25343         * gst/base/gstbasesrc.h:
25344         Add a gboolean to decide when to push out a discont.
25345
25346         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25347         (gst_queue_loop), (gst_queue_handle_src_query),
25348         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25349         (gst_queue_set_property), (gst_queue_get_property):
25350         Some cleanups.
25351
25352         * tests/threadstate/threadstate1.c: (main):
25353         Make a thread test compile and run... very silly..
25354
25355
25356 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25357
25358         * docs/manual/appendix-porting.xml:
25359           Mention removal of libgstgconf-0.9.la and existence of gconf
25360           elements.
25361
25362 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25363
25364         * docs/pwg/advanced-clock.xml:
25365         * docs/pwg/appendix-porting.xml:
25366         * docs/pwg/intro-preface.xml:
25367         * docs/pwg/other-base.xml:
25368         * docs/pwg/other-manager.xml:
25369         * docs/pwg/other-nton.xml:
25370         * docs/pwg/other-ntoone.xml:
25371         * docs/pwg/other-oneton.xml:
25372         * docs/pwg/pwg.xml:
25373           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25374           demuxer), remove n-to-n (was never written), fix some code examples
25375           and links and update the porting section to include all this.
25376
25377 2005-07-19  Wim Taymans  <wim@fluendo.com>
25378
25379         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25380         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25381         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25382         (gst_queue_src_activate_push), (gst_queue_change_state),
25383         (gst_queue_get_property):
25384         * gst/gstqueue.h:
25385         Propagate GstFlowReturn more intelligently upstream and output
25386         an ERROR/EOS when streaming stopped due to fatal error.
25387
25388 2005-07-19  Wim Taymans  <wim@fluendo.com>
25389
25390         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25391         Don't block forever for the state change to complete, the
25392         pipeline already did with a sensible timeout.
25393
25394 2005-07-19  Wim Taymans  <wim@fluendo.com>
25395
25396         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25397         Make sure we never call the create function is we
25398         got deactivated.
25399
25400 2005-07-19  Andy Wingo  <wingo@pobox.com>
25401
25402         * gst/parse/parse.l: Attempt to solve bug #172815.
25403
25404 2005-07-19  Wim Taymans  <wim@fluendo.com>
25405
25406         * docs/design/part-clocks.txt:
25407         * docs/design/part-events.txt:
25408         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25409         Small docs updates.
25410         Only update the seeking values when we are not
25411         busy streaming.
25412
25413 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25414
25415         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25416           Oops, ignore the result of gst_pad_push_event here.
25417
25418 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25419
25420         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25421         (gst_base_src_activate_push):
25422           Send discont event from the loop function, as pads
25423           aren't activated yet in the activate_push handler.
25424
25425         * gst/gstbin.c: (bin_bus_handler):
25426           Don't leak element name.
25427
25428 2005-07-18  Andy Wingo  <wingo@pobox.com>
25429
25430         * configure.ac: Use AS_LIBTOOL_TAGS.
25431
25432 2005-07-18  Wim Taymans  <wim@fluendo.com>
25433
25434         * docs/gst/gstreamer.types:
25435         Remove deleted types.
25436
25437 2005-07-18  Wim Taymans  <wim@fluendo.com>
25438
25439         * check/elements/gstfakesrc.c: (GST_START_TEST):
25440         * configure.ac:
25441         * gst/Makefile.am:
25442         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25443         (init_popt_callback):
25444         * gst/gst.h:
25445         * gst/gst_private.h:
25446         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25447         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25448         * gst/gstbin.h:
25449         * gst/gstbus.h:
25450         * gst/gstconfig.h.in:
25451         * gst/gstelement.c: (gst_element_class_init),
25452         (gst_element_set_base_time), (gst_element_get_base_time),
25453         (iterator_fold_with_resync), (gst_element_change_state),
25454         (gst_element_dispose), (gst_element_get_bus):
25455         * gst/gstelement.h:
25456         * gst/gstelementfactory.h:
25457         * gst/gsterror.c: (_gst_core_errors_init):
25458         * gst/gsterror.h:
25459         * gst/gstevent.h:
25460         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25461         * gst/gstindex.c:
25462         * gst/gstinfo.c: (_gst_debug_init):
25463         * gst/gstmessage.c: (_gst_message_copy):
25464         * gst/gstmessage.h:
25465         * gst/gstminiobject.h:
25466         * gst/gstobject.c:
25467         * gst/gstobject.h:
25468         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25469         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25470         * gst/gstpad.h:
25471         * gst/gstparse.h:
25472         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25473         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25474         (gst_pipeline_get_last_stream_time):
25475         * gst/gstpipeline.h:
25476         * gst/gstpluginfeature.h:
25477         * gst/gstquery.h:
25478         * gst/gstscheduler.c:
25479         * gst/gstscheduler.h:
25480         * gst/gststructure.h:
25481         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25482         (gst_task_finalize), (gst_task_func), (gst_task_create),
25483         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25484         (gst_task_stop), (gst_task_pause):
25485         * gst/gsttask.h:
25486         * gst/gsttypefind.h:
25487         * gst/gsttypes.h:
25488         * gst/registries/gstlibxmlregistry.c: (load_feature),
25489         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25490         * gst/registries/gstxmlregistry.c:
25491         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25492         * gst/schedulers/threadscheduler.c:
25493         * libs/gst/control/dparammanager.h:
25494         * tools/gst-inspect.c: (print_element_list),
25495         (print_plugin_features), (print_element_features):
25496         * tools/gst-xmlinspect.c: (print_element_list),
25497         (print_plugin_info), (main):
25498         Removed plugable schedulers.
25499         Removed Scheduler/Manager from elements.
25500         Removed gsttypes.h, rearranged includes.
25501         Removed dependency pad<->element, element<>pipeline, and
25502         various others,  fix includes.
25503         implement gst_pad_get_parent() with gst_object_get_parent()
25504         Make GstTask sefcontained.
25505         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25506         timeout.
25507         Fix endless loop in iterator_fold_with_resync.
25508
25509
25510 2005-07-18  Wim Taymans  <wim@fluendo.com>
25511
25512         * gst/Makefile.am:
25513         * gst/gstarch.h:
25514         Remove old file.
25515
25516 2005-07-18  Wim Taymans  <wim@fluendo.com>
25517
25518         * gst/Makefile.am:
25519         No more cothreads.h
25520
25521 2005-07-18  Wim Taymans  <wim@fluendo.com>
25522
25523         * gst/cothreads.c:
25524         * gst/cothreads.h:
25525         Let's remove these.
25526
25527 2005-07-18  Wim Taymans  <wim@fluendo.com>
25528
25529         * docs/design/part-dynamic.txt:
25530         * docs/design/part-events.txt:
25531         * docs/design/part-seeking.txt:
25532         Some more docs in the works.
25533
25534         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25535         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25536         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25537         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25538         (gst_base_transform_handle_buffer),
25539         (gst_base_transform_sink_activate_push),
25540         (gst_base_transform_src_activate_pull),
25541         (gst_base_transform_set_passthrough),
25542         (gst_base_transform_is_passthrough):
25543         Refcounting fixes.
25544
25545         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25546         Cleanups.
25547
25548         * gst/gstevent.c: (gst_event_finalize):
25549         Set SRC to NULL.
25550
25551         * gst/gstutils.c: (gst_element_unlink),
25552         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25553         (gst_pad_proxy_setcaps):
25554         * gst/gstutils.h:
25555         Add _get_parent_element() to get a pads parent as an element.
25556
25557 2005-07-18  Wim Taymans  <wim@fluendo.com>
25558
25559         * check/gst/gstbin.c: (GST_START_TEST):
25560         Remove bogus test.
25561
25562 2005-07-18  Wim Taymans  <wim@fluendo.com>
25563
25564         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25565         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25566         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25567         (gst_base_sink_event), (gst_base_sink_do_sync),
25568         (gst_base_sink_chain), (gst_base_sink_loop),
25569         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25570         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25571         Refcounting fixes.
25572         Fix logic for returning ASYNC when not prerolled.
25573
25574 2005-07-18  Wim Taymans  <wim@fluendo.com>
25575
25576         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25577         Fix nasty refcount bug.
25578
25579 2005-07-16 Philippe Khalaf <burger@speedy.org>
25580
25581         * gst/elements/gstfdsrc.c:
25582         * gst/elements/gstfdsrc.h:
25583         * gst/elements/gstelements.c:
25584         * gst/elements/Makefile.am:
25585         Ported fdsrc to 0.9.
25586
25587 2005-07-16  Wim Taymans  <wim@fluendo.com>
25588
25589         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25590         (gst_base_sink_do_sync):
25591         Fix compile error.
25592
25593 2005-07-16  Wim Taymans  <wim@fluendo.com>
25594
25595         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25596         (gst_base_sink_event), (gst_base_sink_get_times),
25597         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25598         * gst/base/gstbasesink.h:
25599         Store and use discont values when syncing buffers as described
25600         in design docs.
25601         
25602         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25603         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25604         (gst_base_src_activate_push):
25605         Push discont event when starting.
25606
25607         * gst/elements/gstidentity.c: (gst_identity_transform):
25608         Small cleanups.
25609
25610         * gst/gstbin.c: (gst_bin_change_state):
25611         Small cleanups in base_time  distribution.
25612
25613         * gst/gstelement.c: (gst_element_set_base_time),
25614         (gst_element_get_base_time), (gst_element_change_state):
25615         * gst/gstelement.h:
25616         Added methods for the base_time of the element.
25617         Some MT fixes.
25618
25619         * gst/gstpipeline.c: (gst_pipeline_send_event),
25620         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25621         (gst_pipeline_get_last_stream_time):
25622         * gst/gstpipeline.h:
25623         MT fixes.
25624         Handle seeking as described in design doc, remove stream_time
25625         hack.
25626         Cleanups clock and stream_time selection code. Added accessors
25627         for the stream_time.
25628         
25629
25630 2005-07-16  Andy Wingo  <wingo@pobox.com>
25631
25632         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25633         (#305291).
25634
25635 2005-07-16  Wim Taymans  <wim@fluendo.com>
25636
25637         * check/gst/gstbin.c: (GST_START_TEST):
25638         Make elements silent as the deep_notify refs the
25639         parent, which might make the test fail.
25640
25641         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25642         Don't hold the lock for too long.
25643
25644 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
25645
25646         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25647           Don't unref the caps we passed to gst_caps_make_writable() after
25648           passing them. gst_caps_make_writable() will do that for us.
25649
25650 2005-07-15  Andy Wingo  <wingo@pobox.com>
25651
25652         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25653         (#157311).
25654
25655         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25656         own marshalling function for the handoff signal. Properly type the
25657         buffer as a buffer. Fixes some warnings. Should do a more general
25658         solution.
25659         (gst_identity_class_init): Plug into the right marshaller.
25660
25661 2005-07-15  Wim Taymans  <wim@fluendo.com>
25662
25663         * docs/design/part-TODO.txt:
25664         * docs/design/part-clocks.txt:
25665         * docs/design/part-element-sink.txt:
25666         * docs/design/part-events.txt:
25667         * docs/design/part-gstpipeline.txt:
25668         Updated docs, mostly DISCONT related.
25669
25670 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
25671
25672         * docs/pwg/building-pads.xml:
25673           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25674
25675 2005-07-15  Andy Wingo  <wingo@pobox.com>
25676
25677         * tools/gst-typefind.c: Update, add copyright block.
25678
25679         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25680         Normalize and truncate caps before fixation.
25681
25682         * gst/gstcaps.h:
25683         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25684         discards all but the first structure from its argument.
25685
25686 2005-07-15  Wim Taymans  <wim@fluendo.com>
25687
25688         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25689         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25690         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25691         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25692         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25693         (gst_base_transform_chain), (gst_base_transform_change_state),
25694         (gst_base_transform_set_passthrough),
25695         (gst_base_transform_is_passthrough):
25696         * gst/base/gstbasetransform.h:
25697         Make passthrough work using the bufferpools.
25698         Changed API a bit, subclasses have to write into a buffer
25699         provided by the base class.
25700         More debug info in nego functions.
25701         
25702         * gst/elements/gstidentity.c: (gst_identity_init),
25703         (gst_identity_transform):
25704         Port to new base class.
25705
25706 2005-07-15  Wim Taymans  <wim@fluendo.com>
25707
25708         * gst/gstmessage.c: (gst_message_new_state_changed):
25709         * tools/gst-launch.c: (event_loop), (main):
25710         Totally dump messages in -launch with the -m option.
25711         Fix message name for State messages,
25712
25713 2005-07-14  Wim Taymans  <wim@fluendo.com>
25714
25715         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25716         Post error messages on errors.
25717
25718 2005-07-14  Wim Taymans  <wim@fluendo.com>
25719
25720         * gst/gstcaps.c: (gst_caps_do_simplify):
25721         Remove debug info.
25722
25723         * gst/gsterror.h:
25724         Define error for stream stopped.
25725
25726         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25727         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25728         Do proper return values.
25729
25730         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25731         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25732         (gst_pad_get_range):
25733         Better return values.
25734
25735         * gst/gstpad.h:
25736         Reorganise return values, add macro to check for fatal errors.
25737
25738         * gst/gstqueue.c: (gst_queue_chain):
25739         Return proper GstFlowReturn values,
25740
25741 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
25742
25743         * docs/gst/gstreamer-sections.txt:
25744         * docs/gst/gstreamer.types:
25745         * docs/gst/tmpl/gst.sgml:
25746         * docs/gst/tmpl/gstbasesink.sgml:
25747         * docs/gst/tmpl/gstbasesrc.sgml:
25748         * docs/gst/tmpl/gstbasetransform.sgml:
25749         * docs/gst/tmpl/gstbin.sgml:
25750         * docs/gst/tmpl/gstbuffer.sgml:
25751         * docs/gst/tmpl/gstcaps.sgml:
25752         * docs/gst/tmpl/gstclock.sgml:
25753         * docs/gst/tmpl/gstcompat.sgml:
25754         * docs/gst/tmpl/gstconfig.sgml:
25755         * docs/gst/tmpl/gstelement.sgml:
25756         * docs/gst/tmpl/gstelementdetails.sgml:
25757         * docs/gst/tmpl/gstelementfactory.sgml:
25758         * docs/gst/tmpl/gstenumtypes.sgml:
25759         * docs/gst/tmpl/gsterror.sgml:
25760         * docs/gst/tmpl/gstevent.sgml:
25761         * docs/gst/tmpl/gstfakesink.sgml:
25762         * docs/gst/tmpl/gstfakesrc.sgml:
25763         * docs/gst/tmpl/gstfilesink.sgml:
25764         * docs/gst/tmpl/gstfilesrc.sgml:
25765         * docs/gst/tmpl/gstfilter.sgml:
25766         * docs/gst/tmpl/gstformat.sgml:
25767         * docs/gst/tmpl/gstghostpad.sgml:
25768         * docs/gst/tmpl/gstimplementsinterface.sgml:
25769         * docs/gst/tmpl/gstindex.sgml:
25770         * docs/gst/tmpl/gstindexfactory.sgml:
25771         * docs/gst/tmpl/gstinfo.sgml:
25772         * docs/gst/tmpl/gstiterator.sgml:
25773         * docs/gst/tmpl/gstmacros.sgml:
25774         * docs/gst/tmpl/gstmemchunk.sgml:
25775         * docs/gst/tmpl/gstminiobject.sgml:
25776         * docs/gst/tmpl/gstobject.sgml:
25777         * docs/gst/tmpl/gstpad.sgml:
25778         * docs/gst/tmpl/gstpadtemplate.sgml:
25779         * docs/gst/tmpl/gstparse.sgml:
25780         * docs/gst/tmpl/gstpipeline.sgml:
25781         * docs/gst/tmpl/gstplugin.sgml:
25782         * docs/gst/tmpl/gstpluginfeature.sgml:
25783         * docs/gst/tmpl/gstquery.sgml:
25784         * docs/gst/tmpl/gstqueue.sgml:
25785         * docs/gst/tmpl/gstregistry.sgml:
25786         * docs/gst/tmpl/gstregistrypool.sgml:
25787         * docs/gst/tmpl/gstscheduler.sgml:
25788         * docs/gst/tmpl/gstschedulerfactory.sgml:
25789         * docs/gst/tmpl/gststructure.sgml:
25790         * docs/gst/tmpl/gstsystemclock.sgml:
25791         * docs/gst/tmpl/gsttaglist.sgml:
25792         * docs/gst/tmpl/gsttagsetter.sgml:
25793         * docs/gst/tmpl/gsttrace.sgml:
25794         * docs/gst/tmpl/gsttrashstack.sgml:
25795         * docs/gst/tmpl/gsttypefind.sgml:
25796         * docs/gst/tmpl/gsttypefindfactory.sgml:
25797         * docs/gst/tmpl/gsttypes.sgml:
25798         * docs/gst/tmpl/gsturihandler.sgml:
25799         * docs/gst/tmpl/gsturitype.sgml:
25800         * docs/gst/tmpl/gstutils.sgml:
25801         * docs/gst/tmpl/gstvalue.sgml:
25802         * docs/gst/tmpl/gstversion.sgml:
25803         * docs/gst/tmpl/gstxml.sgml:
25804         * docs/libs/tmpl/gstcontrol.sgml:
25805         * docs/libs/tmpl/gstdataprotocol.sgml:
25806         * docs/libs/tmpl/gstdparam.sgml:
25807         * docs/libs/tmpl/gstdplinint.sgml:
25808         * docs/libs/tmpl/gstdpman.sgml:
25809         * docs/libs/tmpl/gstdpsmooth.sgml:
25810         * docs/libs/tmpl/gstgetbits.sgml:
25811         * docs/libs/tmpl/gstunitconvert.sgml:
25812         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25813         (gst_push_src_base_init), (gst_push_src_class_init),
25814         (gst_push_src_init), (gst_push_src_create):
25815         * gst/base/gstpushsrc.h:
25816         * gst/elements/gstelements.c:
25817         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25818         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25819         (gst_fake_sink_init), (gst_fake_sink_set_property),
25820         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25821         (gst_fake_sink_event), (gst_fake_sink_preroll),
25822         (gst_fake_sink_render), (gst_fake_sink_change_state):
25823         * gst/elements/gstfakesink.h:
25824         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25825         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25826         (gst_fake_src_base_init), (gst_fake_src_class_init),
25827         (gst_fake_src_init), (gst_fake_src_event_handler),
25828         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25829         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25830         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25831         (gst_fake_src_create_buffer), (gst_fake_src_create),
25832         (gst_fake_src_start), (gst_fake_src_stop):
25833         * gst/elements/gstfakesrc.h:
25834         * gst/elements/gstfilesink.c: (_do_init),
25835         (gst_file_sink_base_init), (gst_file_sink_class_init),
25836         (gst_file_sink_init), (gst_file_sink_dispose),
25837         (gst_file_sink_set_location), (gst_file_sink_set_property),
25838         (gst_file_sink_get_property), (gst_file_sink_open_file),
25839         (gst_file_sink_close_file), (gst_file_sink_query),
25840         (gst_file_sink_event), (gst_file_sink_render),
25841         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25842         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25843         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25844         * gst/elements/gstfilesink.h:
25845         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25846         (gst_file_src_class_init), (gst_file_src_init),
25847         (gst_file_src_finalize), (gst_file_src_set_location),
25848         (gst_file_src_set_property), (gst_file_src_get_property),
25849         (gst_file_src_map_region), (gst_file_src_map_small_region),
25850         (gst_file_src_create_mmap), (gst_file_src_create_read),
25851         (gst_file_src_create), (gst_file_src_is_seekable),
25852         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25853         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25854         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25855         (gst_file_src_uri_handler_init):
25856         * gst/elements/gstfilesrc.h:
25857           more autistic cleanliness in functions/names/defines
25858
25859 2005-07-13  Andy Wingo  <wingo@pobox.com>
25860
25861         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25862         source couldn't negotiate.
25863
25864         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25865         connections again.
25866
25867         * gst/gstutils.h:
25868         * gst/gstutils.c (gst_element_link_pads_filtered): New old
25869         function. I am channeling Hades. Put your boots on suckers!!!
25870
25871 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25872
25873         * testsuite/caps/Makefile.am:
25874         * testsuite/caps/value_compare.c:
25875         * testsuite/caps/value_intersect.c:
25876         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25877           move two testsuite apps over to the check dir
25878
25879 2005-07-12  Wim Taymans  <wim@fluendo.com>
25880
25881         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25882         Added more debug info in the negotiate process.
25883
25884         * gst/gstmessage.h:
25885         Prepare for segment playback.
25886
25887         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25888         Better debugging.
25889
25890         * gst/gstutils.c:
25891         Some more docs.
25892
25893         * tools/gst-launch.c: (main):
25894         NULL pipeline on errors.
25895
25896 2005-07-12  Andy Wingo  <wingo@pobox.com>
25897
25898         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25899         not it comes from a malloc region. Make sure our copy gets freed.
25900
25901 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25902
25903         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25904         * check/gst/gstmessage.c: (GST_START_TEST):
25905         * check/gst/gststructure.c: (GST_START_TEST),
25906         (gst_structure_suite), (main):
25907           more testing
25908         * gst/gstelement.c: (gst_element_message_full):
25909           clean up GError and debug string now that they get copied
25910         * gst/gstmessage.c: (gst_message_new_error),
25911         (gst_message_new_warning), (gst_message_parse_error),
25912         (gst_message_parse_warning):
25913           use GST_TYPE_G_ERROR for structure_new, and take copies of
25914           arguments, so that we don't mess up refcounting
25915
25916 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25917
25918         * check/Makefile.am:
25919           add per-test valgrind targets
25920         * check/gst-libs/gdp.c: (GST_START_TEST),
25921         (gst_data_protocol_suite), (main):
25922           clean up
25923
25924 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25925
25926         * check/Makefile.am:
25927           instate more valgrindable tests
25928         * check/elements/gstfakesrc.c: (chain_func), (event_func),
25929         (GST_START_TEST), (fakesrc_suite):
25930         * check/gst/gstpad.c: (GST_START_TEST):
25931         * check/gst/gststructure.c: (GST_START_TEST):
25932           fix test leaks
25933         * docs/gst/tmpl/gstminiobject.sgml:
25934         * gst/gstpad.c: (gst_pad_finalize):
25935           fix the static mutex leak
25936
25937 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25938
25939         * check/Makefile.am:
25940           add two more tests for valgrinding
25941         * check/gst/gstvalue.c: (GST_START_TEST):
25942           test refcount of deserialized buffer, found a leak
25943         * docs/gst/gstreamer-docs.sgml:
25944         * docs/gst/gstreamer-sections.txt:
25945         * docs/gst/gstreamer.types:
25946         * docs/gst/tmpl/gstminiobject.sgml:
25947           add miniobject to docs
25948         * gst/gstminiobject.c:
25949           add some docs
25950         * gst/gstvalue.c: (gst_value_deserialize_buffer),
25951         (gst_string_unwrap):
25952           fix a hard-to-find invalid write for one of the tests
25953           fix a leak for deserialized buffers
25954
25955 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25956
25957         * docs/pwg/advanced-events.xml:
25958         * docs/pwg/advanced-request.xml:
25959         * docs/pwg/advanced-scheduling.xml:
25960         * docs/pwg/appendix-porting.xml:
25961         * docs/pwg/building-boiler.xml:
25962         * docs/pwg/intro-preface.xml:
25963         * docs/pwg/other-ntoone.xml:
25964           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
25965           of example code and explanation for pad activation, loop() and
25966           getrange() functions and a bit more. Remove old comments pointing
25967           to loop-functions.
25968         * examples/pwg/Makefile.am:
25969           Add loop/getrange examples.
25970
25971 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25972
25973         * configure.ac:
25974           check for valgrind binary + some fixes
25975         * check/gst.supp:
25976           valgrind suppressions for the tests
25977         * check/Makefile.am:
25978           add a valgrind: target that valgrinds the unit tests
25979         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
25980         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25981         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25982         * check/gst/gstghostpad.c:
25983           added some cleanup
25984         * check/gst/gstdata.c:
25985           removed
25986         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
25987         (thread_unref), (gst_mini_object_suite), (main):
25988           added
25989         * gst/gst.c: (gst_deinit):
25990         * gst/gst.h:
25991           add a method to clean up.
25992         * gst/gstsystemclock.c: (gst_system_clock_dispose),
25993         (gst_system_clock_obtain):
25994           allow for disposing the system clock.
25995         * tools/gst-launch.c: (main):
25996           deinit
25997
25998 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25999
26000         * docs/gst/tmpl/gstbasesrc.sgml:
26001         * docs/gst/tmpl/gstfakesrc.sgml:
26002         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26003         (gst_base_src_init), (gst_base_src_set_property),
26004         (gst_base_src_get_property), (gst_base_src_get_range),
26005         (gst_base_src_start):
26006         * gst/base/gstbasesrc.h:
26007           add num-buffers property
26008         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26009         (gst_fakesrc_init), (gst_fakesrc_set_property),
26010         (gst_fakesrc_get_property), (gst_fakesrc_create),
26011         (gst_fakesrc_start):
26012           remove num-buffers property
26013
26014 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26015
26016         * docs/gst/gstreamer-sections.txt:
26017         * docs/gst/tmpl/gstbasesink.sgml:
26018         * docs/gst/tmpl/gstbasesrc.sgml:
26019         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26020         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26021         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26022         (gst_base_sink_set_property), (gst_base_sink_get_property),
26023         (gst_base_sink_handle_object), (gst_base_sink_event),
26024         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26025         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26026         (gst_base_sink_loop), (gst_base_sink_deactivate),
26027         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26028         (gst_base_sink_change_state):
26029         * gst/base/gstbasesink.h:
26030         * gst/base/gstbasesrc.h:
26031         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26032         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26033         (gst_filesink_init):
26034           more macro splitting
26035
26036 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26037
26038         * gst/gstelement.c: (gst_element_get_bus):
26039           add debug
26040         * tools/gst-launch.c: (check_intr), (event_loop):
26041           fix bus leaks
26042
26043 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26044
26045         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26046           fix a caps leak
26047
26048 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26049
26050         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26051         (gst_base_src_finalize):
26052           add finalize method and clean up properly
26053         * gst/gstpipeline.c: (gst_pipeline_dispose):
26054           add debug
26055
26056 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26057
26058         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26059         (gst_bin_suite):
26060           add more things to check
26061         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26062         * gst/gstelement.c:
26063           more debug
26064
26065 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26066
26067         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26068         (GST_START_TEST), (fakesrc_suite):
26069         * check/gst-libs/gdp.c: (GST_START_TEST):
26070         * check/gst/gst.c: (GST_START_TEST):
26071         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26072         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26073         * check/gst/gstbus.c: (GST_START_TEST):
26074         * check/gst/gstcaps.c: (GST_START_TEST):
26075         * check/gst/gstdata.c: (GST_START_TEST):
26076         * check/gst/gstelement.c: (GST_START_TEST):
26077         * check/gst/gstghostpad.c: (GST_START_TEST):
26078         * check/gst/gstiterator.c: (GST_START_TEST):
26079         * check/gst/gstmessage.c: (GST_START_TEST):
26080         * check/gst/gstobject.c: (GST_START_TEST):
26081         * check/gst/gstpad.c: (GST_START_TEST):
26082         * check/gst/gststructure.c: (GST_START_TEST):
26083         * check/gst/gstsystemclock.c: (GST_START_TEST),
26084         (gst_systemclock_suite):
26085         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26086         * check/gst/gstvalue.c: (GST_START_TEST):
26087         * check/pipelines/cleanup.c: (GST_START_TEST):
26088         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26089         * check/states/sinks.c: (GST_START_TEST):
26090         * check/gstcheck.c: (gst_check_init):
26091         * check/gstcheck.h:
26092           add debugging category
26093           use GST_START_TEST now, so we add a debug line
26094
26095 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26096
26097         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26098           add test for state change message on a bin
26099         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26100           add another test
26101         * gst/gstbin.c: (gst_bin_init):
26102         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26103         * gst/gstelement.c: (gst_element_post_message),
26104         (gst_element_set_state):
26105         * gst/gstelementfactory.c: (gst_element_factory_create):
26106         * gst/gstmessage.c: (gst_message_new):
26107         * gst/gstscheduler.c:
26108           various debugging additions and cleanups
26109
26110 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26111
26112         * check/Makefile.am:
26113         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26114         (main):
26115           adding tests for elements
26116         * gst/gstelement.c: (gst_element_dispose):
26117
26118 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26119
26120         * gst/registries/gstlibxmlregistry.c: (load_feature):
26121           plug more leaks.  A simple gst_init() now is leakfree, yay.
26122
26123 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26124
26125         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26126         (gst_xml_registry_load):
26127           plug another memleak
26128
26129 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26130
26131         * configure.ac:
26132           use GST_SET_ERROR_CFLAGS
26133         * docs/faq/cvs.xml:
26134           change to ERROR_CFLAGS
26135
26136 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26137
26138         * configure.ac:
26139           make GST_ERROR_CFLAGS overridable and re-enable Werror
26140         * docs/faq/cvs.xml:
26141           add a note about error CFLAGS
26142         * docs/gst/tmpl/gstfakesrc.sgml:
26143         * gst/elements/gstfakesrc.c:
26144           comment out some unused code
26145         * gst/gst.c: (split_and_iterate):
26146         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26147         (load_feature):
26148           plug some memleaks
26149
26150 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26151
26152         * common/Makefile.am:
26153         * common/gtk-doc.mak:
26154         * docs/gst/Makefile.am:
26155           factor out gtk-doc.mak
26156
26157 2005-07-07  Wim Taymans  <wim@fluendo.com>
26158
26159         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26160         (gst_thread_scheduler_dispose):
26161         Unlock the STREAM_LOCK completely.
26162
26163 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26164
26165         * check/Makefile.am:
26166         * check/elements/.cvsignore:
26167         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26168         (START_TEST), (fakesrc_suite), (main):
26169         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26170         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26171         (gst_fakesrc_create), (gst_fakesrc_start):
26172         * gst/elements/gstfakesrc.h:
26173           adding a first element test
26174
26175 2005-07-07  Andy Wingo  <wingo@pobox.com>
26176
26177         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26178         debug message.
26179
26180 2005-07-07  Wim Taymans  <wim@fluendo.com>
26181
26182         * gst/gstquery.c:
26183         * gst/gstquery.h:
26184         Remove old types
26185
26186 2005-07-07  Wim Taymans  <wim@fluendo.com>
26187
26188         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26189         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26190         Allow subclasses to implement their own negotiation.
26191
26192 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26193
26194         * docs/design/part-gstbin.txt:
26195         * docs/design/part-gstpipeline.txt:
26196           Update design notes to reflect the movement of
26197           responsibility for bus handling from GstPipeline to
26198           GstBin
26199
26200 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26201
26202         * configure.ac:
26203           Remove unnecessary queue2/3/4 examples.
26204
26205 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26206
26207         * examples/Makefile.am:
26208         * examples/helloworld/helloworld.c: (event_loop), (main):
26209         * examples/queue/queue.c: (event_loop), (main):
26210         * examples/queue2/queue2.c: (main):
26211           Update a couple of the examples to work again.
26212
26213         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26214         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26215          Spelling corrections and extra debug.
26216         
26217         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26218         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26219         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26220         * gst/gstbin.h:
26221         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26222         (gst_pipeline_change_state):
26223         * gst/gstpipeline.h:
26224           Move the bus handler for children to the GstBin, and create a
26225           separate bus for receiving messages from children to the one the
26226           bus sends 'upwards' on.
26227
26228 2005-07-06  Wim Taymans  <wim@fluendo.com>
26229
26230         * gst/base/README:
26231         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26232         (gst_base_sink_handle_object), (gst_base_sink_loop),
26233         (gst_base_sink_change_state):
26234         * gst/base/gstbasesink.h:
26235         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26236         (gst_base_src_init), (gst_base_src_setcaps),
26237         (gst_base_src_getcaps), (gst_base_src_loop),
26238         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26239         (gst_base_src_start), (gst_base_src_change_state):
26240         * gst/base/gstbasesrc.h:
26241         Make basesrc negotiate.
26242         Handle the case where preroll fails in basesink.
26243         Update README.
26244
26245 2005-07-06  Wim Taymans  <wim@fluendo.com>
26246
26247         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26248         Implement the fixate function.
26249         Clean up acceptcaps.
26250
26251 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26252
26253         * docs/pwg/building-filterfactory.xml:
26254         * docs/pwg/pwg.xml:
26255           Remove never-written filter-factory chapter; I'll add the various
26256           base classes to part 4 ("other element types") later on.
26257
26258 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26259
26260         * docs/pwg/advanced-negotiation.xml:
26261         * docs/pwg/building-boiler.xml:
26262         * docs/pwg/building-pads.xml:
26263         * docs/pwg/pwg.xml:
26264         * examples/pwg/Makefile.am:
26265           Add a chapter on caps negotiation, simplify the original code
26266           samples a bit w.r.t. caps negotiation, add link to the advanced
26267           section. Add a bunch of examples showing different use cases of
26268           different types of caps negotiation. Upstream renegotiation isn't
26269           fully documented yet since nobody knows how that works.
26270
26271 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26272
26273         * check/gst/gstpad.c:
26274         * check/gstcheck.c:
26275         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26276           if pad has no parent, return NULL as list of internal links
26277
26278 2005-07-05  Andy Wingo  <wingo@pobox.com>
26279
26280         * gst/elements/gstfilesrc.c:
26281         * gst/elements/gstfakesrc.c: 
26282         * gst/base/gstpushsrc.c:
26283         * gst/base/gstbasesrc.h: 
26284         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26285         
26286 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26287
26288         * Makefile.am:
26289           better report generation target (lcov needs a patch)
26290
26291 2005-07-05  Andy Wingo  <wingo@pobox.com>
26292
26293         * gst/elements, testsuite: Null if we got it...
26294
26295 2005-07-05  Wim Taymans  <wim@fluendo.com>
26296
26297         * configure.ac:
26298         * libs/gst/dataprotocol/Makefile.am:
26299         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26300         * libs/gst/dataprotocol/dataprotocol.h:
26301         * pkgconfig/Makefile.am:
26302         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26303         * pkgconfig/gstreamer-dataprotocol.pc.in:
26304         Ported dataprotol to 0.9. 
26305         Added pkgconfig files.
26306
26307 2005-07-05  Andy Wingo  <wingo@pobox.com>
26308
26309         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26310         Default to returning TRUE for the case when tranform_caps returns
26311         a fixed caps, like for identity or volume.
26312
26313         * check/gst/gstbus.c (pound_bus_with_messages): 
26314         * check/gst/gstmessage.c (START_TEST): 
26315         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26316         message API change.
26317
26318         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26319         logic weaks here: always run transform_caps, trying passthrough
26320         operation only if the original caps intersects with the transform.
26321
26322         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26323         source and sink caps.
26324
26325         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26326         Intersect the peer caps with the pad template before going into
26327         transform_caps.
26328         (gst_base_transform_transform_caps): More debugging.
26329
26330         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26331         src argument.
26332
26333 2005-07-04  Edward Hervey  <edward@fluendo.com>
26334
26335         * gst/gstutils.c:
26336         * gst/gstutils.h:
26337         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26338         in bindings.
26339
26340 2005-07-04  Andy Wingo  <wingo@pobox.com>
26341
26342         * check/gst/gstpad.c: Only set explicit caps on pads.
26343
26344 2005-07-01  Andy Wingo  <wingo@pobox.com>
26345
26346         * tests/network-clock.scm: Commentary update.
26347
26348         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26349         Didn't really make sense, not implementable with basetransform,
26350         etc.
26351         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26352         attempt at implementing the sync property, needs an unlock method.
26353
26354         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26355         New func, by default returns the same caps (the identity
26356         transformation).
26357         (gst_base_transform_getcaps): Uses transform_caps to return
26358         something sensible.
26359         (gst_base_transform_setcaps): Complicated logic to get caps on
26360         both pads, even if they are different, and to call set_caps once
26361         for every time both pads get their caps set.
26362         (gst_base_transform_handle_buffer): Give the ref to the transform
26363         function. Allows in-place modification of the buffer.
26364
26365         * gst/base/gstbasetransform.h (transform_caps): New class method.
26366         Given caps on one side, what can I do on the other.
26367         (set_caps): Take two caps, one for each side of the element.
26368
26369         * gst/gstpad.h:
26370         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26371         caps in place. This is safe because we can check the mutability of
26372         the caps, and a good idea because fixate functions are just called
26373         as a matter of last resort. (Not actually implemented.)
26374         (gst_pad_set_caps): If the caps we're setting is actually the same
26375         as the existing pad caps, just update the pointer without calling
26376         setcaps. Assert that caps is either NULL or fixed, as per the
26377         docs.
26378
26379         * gst/gstghostpad.c: Update for fixate changes.
26380
26381 2005-07-02  Andy Wingo  <wingo@pobox.com>
26382
26383         * gst/gstcaps.c:
26384         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26385         two refcounts makes it immutable, which is enough. Doc more.
26386
26387 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26388
26389         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26390           Put the mini_object into GValue as a mini_object,
26391           not a gpointer, since that's how we declared
26392           the signal.
26393
26394 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26395
26396         * examples/pwg/Makefile.am:
26397           Fix buildbot again.
26398
26399 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26400
26401         * docs/pwg/building-testapp.xml:
26402           Add extra check.
26403         * examples/pwg/Makefile.am:
26404           Fix buildbot.
26405
26406 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26407
26408         * configure.ac:
26409         * examples/Makefile.am:
26410         * examples/pwg/Makefile.am:
26411         * examples/pwg/extract.pl:
26412           Enable building the PWG examples.
26413         * docs/pwg/advanced-interfaces.xml:
26414           Add URI interface stub.
26415         * docs/pwg/advanced-types.xml:
26416         * docs/pwg/other-autoplugger.xml:
26417         * docs/pwg/appendix-porting.xml:
26418         * docs/pwg/pwg.xml:
26419           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26420         * docs/pwg/building-boiler.xml:
26421         * docs/pwg/building-chainfn.xml:
26422         * docs/pwg/building-pads.xml:
26423         * docs/pwg/building-props.xml:
26424         * docs/pwg/building-state.xml:
26425         * docs/pwg/building-testapp.xml:
26426           Update the building-*.xml parts for 0.9 changes. All examples
26427           code blocks compile in examples/pwg/*.
26428
26429 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26430
26431         * docs/manual/advanced-autoplugging.xml:
26432         * docs/manual/appendix-checklist.xml:
26433         * docs/manual/appendix-integration.xml:
26434         * docs/manual/highlevel-components.xml:
26435           Fix playbin/decodebin examples, update docs a bit, mention bus
26436           instead of signals in various places, mention kmplayer and
26437           kaffeine since they have a working GStreamer backend in the KDE
26438           section.
26439
26440 2005-06-30  Wim Taymans  <wim@fluendo.com>
26441
26442         * CHANGES-0.9:
26443         * docs/design/draft-ghostpads.txt:
26444         * docs/design/draft-push-pull.txt:
26445         * docs/design/draft-query.txt:
26446         * docs/design/part-TODO.txt:
26447         * docs/design/part-query.txt:
26448         Added CHANGES-0.9 doc, updated status of other docs.
26449         
26450         * gst/gstquery.h:
26451         Remove "hmm" macro
26452
26453 2005-06-30  Wim Taymans  <wim@fluendo.com>
26454
26455         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26456         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26457         (gst_base_sink_change_state):
26458         * gst/base/gstbasesink.h:
26459         Some tweaks, only EOS and a buffer complete a preroll.
26460
26461 2005-06-30  Andy Wingo  <wingo@pobox.com>
26462
26463         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26464         activate_push down to the internal pad as well.
26465
26466 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26467
26468         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26469
26470         * gst/gsttaginterface.c:
26471           Some documentation fixes (#307394 and #307397).
26472
26473 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26474
26475         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26476
26477         * gst/gstvalue.c: (gst_value_intersect_list):
26478           Fix memleak (#309125).
26479
26480 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26481
26482         * docs/manual/advanced-dataaccess.xml:
26483           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26484         * docs/manual/basics-pads.xml:
26485           Add reference for filtered caps to above chapter.
26486
26487 2005-06-30  Wim Taymans  <wim@fluendo.com>
26488
26489         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26490         (gst_bin_change_state):
26491         Probes are gone.
26492         Lame attempt at making the state change function a bit
26493         more readable.
26494
26495 2005-06-30  Wim Taymans  <wim@fluendo.com>
26496
26497         * docs/design/part-clocks.txt:
26498         * docs/design/part-element-sink.txt:
26499         * docs/design/part-events.txt:
26500         * docs/design/part-preroll.txt:
26501         * docs/design/part-states.txt:
26502         Some more tweeks and additions to the docs.
26503
26504 2005-06-30  Wim Taymans  <wim@fluendo.com>
26505
26506         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26507         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26508         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26509         (gst_pad_check_pull_range), (gst_pad_get_range),
26510         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26511         * gst/gstpad.h:
26512         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26513         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26514         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26515         (gst_pad_remove_buffer_probe):
26516         Removed atomic operations, use existing LOCK.
26517         Move exception handling out of main code path.
26518
26519 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26520
26521         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26522         (silly_return_true_function), (gst_pad_class_init),
26523         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26524         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26525         (gst_pad_send_event):
26526           Fix accumulator, add default value by using _emitv() instead
26527           of _emit() for signal emission.
26528
26529 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26530
26531         * docs/manual/advanced-dataaccess.xml:
26532         * examples/manual/Makefile.am:
26533           Add probe example.
26534         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26535           Make work (??).
26536
26537 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26538
26539         * gst/elements/gstfilesink.c: (gst_filesink_render):
26540           Simplify code so that we don't have to handle short
26541           writes and return GST_FLOW_ERROR if an error occured.
26542
26543 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26544
26545         * docs/gst/gstreamer-docs.sgml:
26546           Remove probes more.
26547
26548 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26549
26550         * docs/gst/gstreamer-sections.txt:
26551         * docs/gst/tmpl/gstpad.sgml:
26552         * docs/gst/tmpl/gstprobe.sgml:
26553         * gst/Makefile.am:
26554         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26555         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26556         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26557         (gst_pad_push_event), (gst_pad_send_event):
26558         * gst/gstpad.h:
26559         * gst/gstutils.c: (gst_pad_add_data_probe),
26560         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26561         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26562         (gst_pad_remove_buffer_probe):
26563         * gst/gstutils.h:
26564           Remove old probes, add new g-signal-based probes and some utility
26565           functions.
26566
26567 2005-06-29  Edward Hervey  <edward@fluendo.com>
26568
26569         * gst/gstelementfactory.c:
26570         * gst/gstutils.h:
26571         * gst/gstutils.c:
26572         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26573         the definition to the header file.
26574
26575 2005-06-29  Andy Wingo  <wingo@pobox.com>
26576
26577         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26578         plugins from the source directory.
26579
26580 2005-06-29  Wim Taymans  <wim@fluendo.com>
26581
26582         * docs/gst/tmpl/gstbuffer.sgml:
26583         * docs/gst/tmpl/gstclock.sgml:
26584         Some fixings for blantently wrong text.
26585
26586 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26587
26588         * check/Makefile.am:
26589         * gst/gst.c: (add_path_func), (init_pre):
26590         * gst/gstregistry.c: (gst_registry_add_path):
26591           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26592           only scan the GST_PLUGIN_PATH locations, and not add
26593           system locations
26594
26595 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26596
26597         * docs/gst/gstreamer-sections.txt:
26598         * docs/gst/tmpl/gstbasesrc.sgml:
26599         * gst/gstelement.c:
26600         * gst/gstelement.h:
26601         * gst/gstevent.c:
26602         * gst/gstutils.c:
26603           doc fixes
26604
26605 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26606
26607         * docs/manual/advanced-autoplugging.xml:
26608           Fix autoplugging example.
26609
26610 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26611
26612         * docs/manual/advanced-autoplugging.xml:
26613         * docs/manual/mime-world.fig:
26614           Try to get autoplugging working, fix type detection. Fix text
26615           in hello-world image.
26616
26617 2005-06-29  Wim Taymans  <wim@fluendo.com>
26618
26619         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26620         (gst_base_sink_change_state):
26621         Small debug line.
26622
26623         * gst/gstclock.h:
26624         map SIGNAL and BROADCAST to the right function.
26625
26626         * gst/gstobject.h:
26627         Remove redundant braces.
26628
26629         * gst/gstpad.c: (gst_pad_set_caps):
26630         Don't call setcaps function when reseting caps to NULL.
26631
26632         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26633         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26634         (gst_system_clock_id_unschedule):
26635         Use BROADCAST as this is what we do.
26636
26637 2005-06-29  Wim Taymans  <wim@fluendo.com>
26638
26639         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26640         We are actually prerolling before commiting the state
26641         change. 
26642
26643 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26644
26645         * docs/manual/advanced-clocks.xml:
26646         * docs/manual/advanced-interfaces.xml:
26647         * docs/manual/advanced-metadata.xml:
26648         * docs/manual/advanced-position.xml:
26649         * docs/manual/advanced-schedulers.xml:
26650         * docs/manual/advanced-threads.xml:
26651         * docs/manual/appendix-porting.xml:
26652         * docs/manual/basics-bins.xml:
26653         * docs/manual/basics-bus.xml:
26654         * docs/manual/basics-elements.xml:
26655         * docs/manual/basics-helloworld.xml:
26656         * docs/manual/basics-pads.xml:
26657         * docs/manual/highlevel-components.xml:
26658         * docs/manual/manual.xml:
26659         * docs/manual/thread.fig:
26660           Update (until threads/scheduling) Application Development Manual;
26661           remove GstThread, add GstBus, add simple porting checklist, add
26662           documentation for tag writing, clocks, make all examples until this
26663           part compile and run.
26664         * examples/manual/Makefile.am:
26665           Update from changes to Application Development Manual; add bus
26666           example, remove thread example.
26667
26668 2005-06-28  Wim Taymans  <wim@fluendo.com>
26669
26670         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26671         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26672         (gst_bus_source_dispatch):
26673         Add debugging messages.
26674         Make internal methods static.
26675         Handle the case where the bus is flushed in the handler.
26676         
26677         * gst/gstelement.c: (gst_element_get_bus):
26678         Fix refcount in _get_bus();
26679
26680         * gst/gstpipeline.c: (gst_pipeline_change_state),
26681         (gst_pipeline_get_clock_func):
26682         Clock refcounting fixes.
26683         Handle the case where preroll timed out more gracefully.
26684         
26685         * gst/gstsystemclock.c: (gst_system_clock_dispose):
26686         Clean up the internal thread in dispose. This is needed
26687         for subclasses that actually get disposed.
26688         
26689         * gst/schedulers/threadscheduler.c:
26690         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26691         (gst_thread_scheduler_dispose):
26692         Free thread pool in dispose.
26693
26694 2005-06-28  Andy Wingo  <wingo@pobox.com>
26695
26696         * tests/network-clock-utils.scm (debug, print-event): New utils.
26697
26698         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26699         (*packet-loss*): Unified loss probability.
26700         (network-time): Report out-of-band events.
26701
26702         * tests/plot-data: Add support for out-of-band events. Hack it
26703         into this script instead of passing it down the pipe; should fix
26704         this later.
26705
26706 2005-06-28  Wim Taymans  <wim@fluendo.com>
26707
26708         * docs/gst/gstreamer.types:
26709         * docs/gst/tmpl/gstbasesrc.sgml:
26710         * docs/gst/tmpl/gstpad.sgml:
26711         Docs fixes.
26712
26713 2005-06-28  Wim Taymans  <wim@fluendo.com>
26714
26715         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26716         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26717         (gst_proxy_pad_do_fixatecaps):
26718         Correctly proxy the check_pull_range function.
26719
26720 2005-06-28  Andy Wingo  <wingo@pobox.com>
26721
26722         * tests/network-clock.scm: Removed need for slib.
26723         
26724 2005-06-28  Wim Taymans  <wim@fluendo.com>
26725
26726         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26727         (gst_basesink_preroll_queue_flush):
26728         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26729         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26730         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26731         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26732         (gst_proxy_pad_set_property):
26733         * gst/gstpad.c:
26734         * gst/gstpad.h:
26735         * gst/gstqueue.c: (gst_queue_init):
26736         The deprecated pad loop function is removed now.
26737
26738 2005-06-28  Andy Wingo  <wingo@pobox.com>
26739
26740         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26741         New parameters, simulate network packet loss.
26742
26743         * tests/network-clock-utils.scm: Initialize the RNG.
26744
26745 2005-06-28  Wim Taymans  <wim@fluendo.com>
26746
26747         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26748         (gst_basesink_event), (gst_basesink_deactivate):
26749         Flushing the preroll queue always needs to unlock the waiters.
26750
26751 2005-06-28  Edward Hervey  <edward@fluendo.com>
26752
26753         * gst/gstpipeline.c: (gst_pipeline_send_event): 
26754         Wheen a seek was successful on a pipeline, set the stream_time to the
26755         seek offset in order to have a synchronized stream_time.
26756
26757 2005-06-28  Wim Taymans  <wim@fluendo.com>
26758
26759         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26760         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26761         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26762         (gst_proxy_pad_do_fixatecaps):
26763         Call wrapper function instead of just calling the function
26764         pointers. This takes care of any locking and whatmore.
26765
26766 2005-06-28  Wim Taymans  <wim@fluendo.com>
26767
26768         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26769         (gst_pad_pull_range):
26770         * gst/gstpad.h:
26771         CONNECTED -> LINKED.
26772
26773 2005-06-28  Andy Wingo  <wingo@pobox.com>
26774
26775         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26776         source-munging commit!!!
26777
26778         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
26779         (gst_object_sink): Take gpointer arguments, not GstObject --
26780         avoids casts. Like GLib.
26781
26782         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26783         activate.
26784
26785 2005-06-27  Andy Wingo  <wingo@pobox.com>
26786
26787         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26788         remaining buffer.
26789
26790         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26791         returns a sorted copy of the trace list.
26792         (gst_alloc_trace_print_live): New API, only prints traces with
26793         live objects. Sort the list.
26794         (gst_alloc_trace_print_all): Sort the list.
26795         (gst_alloc_trace_print): Align columns.
26796
26797         * gst/elements/gstttypefindelement.c:
26798         * gst/elements/gsttee.c:
26799         * gst/base/gstbasesrc.c:
26800         * gst/base/gstbasesink.c:
26801         * gst/base/gstbasetransform.c:
26802         * gst/gstqueue.c: Adapt for pad activation changes.
26803
26804         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26805         sched.
26806         (gst_pipeline_dispose): Drop ref on sched.
26807
26808         * gst/gstpad.c (gst_pad_init): Set the default activate func.
26809         (gst_pad_activate_default): Push mode by default.
26810         (pre_activate_switch, post_activate_switch): New stubs, things to
26811         do before and after switching activation modes on pads.
26812         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26813         the pad's activate function to choose which mode to activate.
26814         Shortcut on deactivation and call the right function directly.
26815         (gst_pad_activate_pull): New API, (de)activates a pad in pull
26816         mode.
26817         (gst_pad_activate_push): New API, same for push mode.
26818         (gst_pad_set_activate_function) 
26819         (gst_pad_set_activatepull_function) 
26820         (gst_pad_set_activatepush_function): Setters for new API.
26821
26822         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26823         Trace all miniobjects.
26824         (gst_mini_object_make_writable): Unref the arg if we copy, like
26825         gst_caps_make_writable.
26826
26827         * gst/gstmessage.c (_gst_message_initialize): No trace init.
26828
26829         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
26830         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26831         Adapt for new pad API.
26832
26833         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26834
26835         * gst/gstelement.h:
26836         * gst/gstelement.c (gst_element_iterate_src_pads) 
26837         (gst_element_iterate_sink_pads): New API functions.
26838         
26839         * gst/gstelement.c (iterator_fold_with_resync): New utility,
26840         should fold into gstiterator.c in some form.
26841         (gst_element_pads_activate): Simplified via use of fold and
26842         delegation of decisions to gstpad->activate.
26843
26844         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26845         help in debugging.
26846
26847         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26848         class once in init, like gstmessage. Didn't run into this issue
26849         but it seems correct. Don't initialize a trace, gstminiobject does
26850         that.
26851
26852         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26853         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26854         to the bus.
26855         (assert_live_count): New util function, uses alloc traces to check
26856         cleanup.
26857
26858         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26859         To be modified when unlink drops the internal pad.
26860
26861 2005-06-27  Wim Taymans  <wim@fluendo.com>
26862
26863         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26864         (gst_bin_change_state):
26865         Cleanup the get_state() function a little, make sure it
26866         iterates the same set of elements.
26867         Added stub iterate_state_order().
26868
26869 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
26870
26871         * docs/gst/gstreamer-docs.sgml:
26872         * docs/gst/gstreamer-sections.txt:
26873         * docs/gst/gstreamer.types:
26874         * docs/gst/tmpl/gstbasesink.sgml:
26875         * docs/gst/tmpl/gstbasesrc.sgml:
26876         * docs/gst/tmpl/gstbasetransform.sgml:
26877         * docs/gst/tmpl/gstelement.sgml:
26878         * docs/gst/tmpl/gstiterator.sgml:
26879         * gst/base/gstbasesrc.c:
26880         * gst/base/gstbasesrc.h:
26881         * gst/base/gstbasetransform.h:
26882         * gst/gstelement.c:
26883         * gst/gstiterator.h:
26884           adding basetransform and iterator docs
26885
26886 2005-06-27  Andy Wingo  <wingo@pobox.com>
26887
26888         * docs/design/part-activation.txt: Notes on how activation should
26889         work -- not quite implemented yet.
26890
26891 2005-06-25  Wim Taymans  <wim@fluendo.com>
26892
26893         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26894         At least get the chain function correct, needs more
26895         fixing.
26896
26897 2005-06-25  Wim Taymans  <wim@fluendo.com>
26898
26899         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26900         (gst_basesink_handle_object), (gst_basesink_event),
26901         (gst_basesink_do_sync), (gst_basesink_handle_event),
26902         (gst_basesink_change_state):
26903         * gst/gsttask.h:
26904         Right, two problems here: ghostpads don't take locks and
26905         glib _rec_mutex_lock_full() with depth==0 still locks.
26906         Catch illegal locking and g_warn them.
26907
26908 2005-06-25  Wim Taymans  <wim@fluendo.com>
26909
26910         * check/states/sinks.c: (START_TEST), (gst_object_suite):
26911         Have to check for completion now...
26912
26913 2005-06-25  Wim Taymans  <wim@fluendo.com>
26914
26915         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26916         (gst_basesink_handle_object), (gst_basesink_event),
26917         (gst_basesink_do_sync), (gst_basesink_handle_event),
26918         (gst_basesink_change_state):
26919         * gst/gstpad.h:
26920         Unlock STREAM_LOCK whatever the recursion was.
26921
26922 2005-06-25  Wim Taymans  <wim@fluendo.com>
26923
26924         * gst/base/gstbasesink.c: (gst_basesink_set_property),
26925         (gst_basesink_preroll_queue_empty),
26926         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
26927         (gst_basesink_event), (gst_basesink_do_sync),
26928         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
26929         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
26930         (gst_basesink_change_state):
26931         Reworked the base sink, handle event and buffer serialisation
26932         correctly and removed possible deadlock.
26933         Handle EOS correctly.
26934
26935 2005-06-25  Wim Taymans  <wim@fluendo.com>
26936
26937         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
26938         (gst_pipeline_change_state):
26939         * tools/gst-launch.c: (check_intr), (event_loop), (main):
26940         Allow elements to post EOS in the state change function.
26941         Fix up -launch, make it exit the poll loop when the
26942         pipeline actually changed state.
26943         Fix up warning parsing in -launch.
26944
26945 2005-06-25  Wim Taymans  <wim@fluendo.com>
26946
26947         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
26948         (gst_tee_sink_activate):
26949         Core takes STREAM_LOCK for us now.
26950
26951 2005-06-25  Wim Taymans  <wim@fluendo.com>
26952
26953         * gst/gstelement.c: (gst_element_get_state_func),
26954         (gst_element_set_state):
26955         * gst/gstelement.h:
26956         * gst/gstmessage.c: (gst_message_parse_error),
26957         (gst_message_parse_warning):
26958         Keep track of current target state while performing a state
26959         change so that subclasses can do something interesting.
26960         Fix parsing of warning/error messages when GError is NULL.
26961
26962 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26963
26964         * docs/gst/Makefile.am:
26965         * docs/gst/gstreamer-docs.sgml:
26966         * docs/gst/gstreamer-sections.txt:
26967         * docs/gst/gstreamer.types:
26968         * docs/gst/tmpl/gstbasesink.sgml:
26969         * docs/gst/tmpl/gstbasesrc.sgml:
26970         * docs/gst/tmpl/gstbin.sgml:
26971         * docs/gst/tmpl/gstcompat.sgml:
26972         * docs/gst/tmpl/gstfakesink.sgml:
26973         * docs/gst/tmpl/gstfakesrc.sgml:
26974         * docs/gst/tmpl/gstfilesink.sgml:
26975         * docs/gst/tmpl/gstfilesrc.sgml:
26976         * docs/gst/tmpl/gstindex.sgml:
26977         * docs/manual/appendix-quotes.xml:
26978         * gst/base/gstbasesrc.h:
26979         * gst/elements/gstfakesrc.h:
26980         * gst/gstmessage.h:
26981           start pulling in base classes and elements in our docs
26982
26983 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
26984
26985         * docs/gst/Makefile.am:
26986         * docs/libs/Makefile.am:
26987           fixed make distcheck with gtk-doc 1.3
26988
26989 2005-06-23  Wim Taymans  <wim@fluendo.com>
26990
26991         * gst/gstelement.c: (gst_element_get_state_func),
26992         (gst_element_set_state), (gst_element_change_state):
26993         When the state did not change, also report NO_PREROLL
26994         when it matters.
26995
26996 2005-06-23  Wim Taymans  <wim@fluendo.com>
26997
26998         * gst/gstpad.c: (gst_pad_event_default):
26999         * gst/gstqueue.c: (gst_queue_loop):
27000         No unsafe task pausing please.
27001
27002 2005-06-23  Wim Taymans  <wim@fluendo.com>
27003
27004         * gst/schedulers/threadscheduler.c:
27005         (gst_thread_scheduler_task_start),
27006         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27007         Ref the task before pushing it on the threadpool. This
27008         makes sure that we have a ref when the threadfunction is
27009         actually called.
27010
27011 2005-06-23  Andy Wingo  <wingo@pobox.com>
27012
27013         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27014         offset is greater than the file's size.
27015
27016         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27017         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27018         * gst/gstobject.c (gst_object_class_init): Make the class lock
27019         recursive. Wim won't let me drop deep_notify. Decodebin works
27020         again, whoopdy doo.
27021
27022         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27023         internal pad, and hacks accordingly. Doesn't do it on the target
27024         pad because we change its caps. Probably catches all cases of
27025         interest tho.
27026         (gst_ghost_pad_set_property): Connect to notify::caps as
27027         appropritate.
27028
27029         * tests/network-clock.scm (plot-simulation): Pipe data to the
27030         elite python skript.
27031
27032         * tests/network-clock-utils.scm (define-parameter): New macro,
27033         defines a parameter that can be set via the command line.
27034         (set-parameter!, parse-parameter-arguments): Command line args
27035         parser.
27036
27037         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27038         stdin.
27039
27040 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27041
27042         * gst/elements/gsttypefindelement.c:
27043         (gst_type_find_element_handle_event):
27044           Don't restart typefinding on a discont.
27045         * gst/gstelement.c: (gst_element_set_state):
27046           Debug spelling fix.
27047         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27048           Allow changing mode of an active pad.
27049           Debug output fixes.
27050         * gst/registries/gstlibxmlregistry.c: (load_feature):
27051           Don't cast a static pad template to a normal pad template.
27052
27053 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27054
27055         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27056         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27057           remove gst_strtoll completely, since it didn't actually do
27058           anything more than what g_ascii_strtoull already does.
27059           check for range errors when deserializing
27060           do a cast for the unsigned cases; but further fixing needs
27061           a decision on what the interpretation of "(int)" and
27062           deserialization should be for values that fall outside the
27063           type's boundaries (ie, refuse, or interpret as casting)
27064
27065 2005-06-23  Wim Taymans  <wim@fluendo.com>
27066
27067         * check/Makefile.am:
27068         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27069         * docs/design/part-live-source.txt:
27070         * docs/design/part-states.txt:
27071         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27072         (gst_basesrc_set_live), (gst_basesrc_is_live),
27073         (gst_basesrc_get_range), (gst_basesrc_activate),
27074         (gst_basesrc_change_state):
27075         * gst/base/gstbasesrc.h:
27076         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27077         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27078         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27079         * gst/gstelement.c: (gst_element_get_state_func),
27080         (gst_element_set_state):
27081         * gst/gstelement.h:
27082         * gst/gsttypes.h:
27083         * tools/gst-launch.c: (event_loop), (main):
27084         Added support for live sources and other elements that
27085         cannot do preroll.
27086         Updated design docs, added live-source design doc.
27087         Implemented live source functionality in basesrc
27088         Fix error condition in _bin_get_state()
27089         Implement live source handling in -launch.
27090         Added check for live sources.
27091         Fixed case in GstBin where elements were changed state
27092         multiple times.
27093
27094
27095 2005-06-23  Andy Wingo  <wingo@pobox.com>
27096
27097         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27098         borken refcounting.
27099
27100         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27101         gst_caps_replace takes care of this for us.
27102
27103         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27104         gst_pad_set_caps on the target, not just its setcaps() function.
27105
27106         * tests/network-clock.scm: 
27107         * tests/network-clock-utils.scm: A network clock simulator.
27108         Something of an algorithmic testbed before doing something in C.
27109
27110 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27111
27112         * check/Makefile.am:
27113         * check/gst/capslist.h:
27114           copy over from 0.8, and add two with bitmasks specified with
27115           (int) 0xFF...
27116         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27117           add test to parse everything from capslist.h
27118         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27119         (main):
27120           add test for structure deserialization
27121         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27122           add tests for deserialization of strings to int types
27123         * gst/gststructure.c: (gst_structure_nth_field_name):
27124         * gst/gststructure.h:
27125           add a way to get the name of a field referenced by index
27126         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27127           instead of checking if the resulting long long lies between
27128           min and max, we check if the long long would fit into
27129           a number of bytes for the final type.
27130           This fixes cases where a string represents 2^32 - 1, which
27131           when cast to int would be the (valid) -1, but is bigger than
27132           G_MAXINT
27133
27134 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27135
27136         * gst/parse/grammar.y:
27137           add a log line for type deserialization
27138
27139 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27140
27141         * check/gst/gstvalue.c: (START_TEST):
27142         * gst/gstvalue.c: (gst_value_deserialize):
27143           return long long, not int, so gint64 deserialization actually
27144           works.  Is there any flag that makes the compiler check this ?
27145           Fixes #308559
27146
27147 2005-06-22  Wim Taymans  <wim@fluendo.com>
27148
27149         * gst/gstbuffer.h:
27150         Added convenience macros for setting buffers in GValue.
27151
27152 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27153
27154         * check/gst/.cvsignore:
27155         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27156           add a test deserializing int64, and comment part out because
27157           it fails, yay !
27158
27159 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27160
27161         * check/Makefile.am:
27162         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27163         * testsuite/Makefile.am:
27164         * testsuite/caps/Makefile.am:
27165         * testsuite/caps/value_serialize.c:
27166         * testsuite/test_gst_init.c:
27167           move a value_serialize test over
27168
27169 2005-06-20  Wim Taymans  <wim@fluendo.com>
27170
27171         * gst/gstpad.c:
27172         Small doc updates.
27173         
27174         * gst/gstvalue.c: (gst_value_compare_buffer),
27175         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27176         (gst_value_compare_flags), (gst_value_serialize_flags),
27177         (gst_value_deserialize_flags), (_gst_value_initialize):
27178         Fix serialisation of buffers, they are not boxed types anymore
27179
27180 2005-06-20  Wim Taymans  <wim@fluendo.com>
27181
27182         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27183         Testcase to show error in buffer-on-caps serialisation.
27184
27185 2005-06-20  Andy Wingo  <wingo@pobox.com>
27186
27187         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27188         will be adding to later.
27189
27190         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27191         if its socks fill with rocks.
27192         (gst_system_clock_obtain): Set the name on object construction.
27193         Avoid double-checked locking.
27194
27195 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27196
27197         * gst/gsturi.c: (gst_element_make_from_uri):
27198           Fix potential endless loop.
27199
27200 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27201
27202         * check/Makefile.am:
27203           add gsttag
27204         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27205         (main):
27206           move over from testsuite dir and clean up
27207         * configure.ac:
27208         * gst/gsttag.c:
27209         * testsuite/Makefile.am:
27210         * testsuite/tags/.cvsignore:
27211         * testsuite/tags/Makefile.am:
27212         * testsuite/tags/merge.c:
27213           remove testsuite/tags
27214
27215 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27216
27217         * docs/gst/gstreamer-sections.txt:
27218         * docs/gst/tmpl/gstenumtypes.sgml:
27219         * win32/gstenumtypes.c:
27220           clean up documentation build a little
27221
27222 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27223
27224         * check/gstcheck.h:
27225           add macros for checking refcounts on objects and caps
27226         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27227           add some more unit tests
27228         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27229         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27230           fix leaked refcounts (I hope :)) so unittest works
27231         * gst/gstpad.h:
27232           whitespace removal
27233
27234 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27235
27236         * configure.ac: back to HEAD
27237
27238 === release 0.9.1 ===
27239
27240 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27241
27242         * NEWS:
27243         * RELEASE:
27244           updated
27245
27246 2005-06-17  Andy Wingo  <wingo@pobox.com>
27247
27248         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27249         assert; it's always possible that the pad gets deactivated in
27250         between the checks in gstpad.c and the implementation. Rely on
27251         finish_preroll() to return a FLUSHING or similar instead of on the
27252         assert.
27253         
27254         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27255         clock and post an EOS message if we come out of finish_preroll in
27256         the playing state.
27257
27258 2005-06-16  David Schleef  <ds@schleef.org>
27259
27260         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27261         (gst_capsfilter_set_property): Allow NULL as possible value
27262         for filter_caps property, indicating GST_CAPS_ANY.
27263
27264 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27265
27266         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27267           fix debug output
27268         * gst/schedulers/Makefile.am:
27269           use libgst prefix
27270         * gstreamer.spec.in:
27271           fix spec for it
27272
27273 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27274
27275         * gstreamer.spec.in:
27276           clean up
27277
27278 2005-06-08  Andy Wingo  <wingo@pobox.com>
27279
27280         * gst/gstutils.c: RPAD fixes all around.
27281         (gst_element_link_pads): Refcounting fixes.
27282
27283         * tools/gst-inspect.c:
27284         * tools/gst-xmlinspect.c:
27285         * parse/grammar.y:
27286         * gst/base/gsttypefindhelper.c:
27287         * gst/base/gstbasesink.c:
27288         * gst/gstqueue.c: RPAD fixes.
27289
27290         * gst/gstghostpad.h:
27291         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27292         pads. The tricky thing is they provide both source and sink
27293         interfaces, since they proxy the internal pad for the external
27294         pad, and vice versa. Implement with lower-level ProxyPad objects,
27295         with the interior proxy pad as a child of the exterior ghost pad.
27296         Should write a doc on this.
27297         
27298         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27299         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27300         gst_object API.
27301         
27302         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27303         pads are real pads. No ghost pads in this file. Not documenting
27304         the myriad s/RPAD/PAD/ and REALIZE fixes.
27305         (gst_pad_class_init): Add properties for "direction" and
27306         "template". Both are construct-only, so they can't change during
27307         the life of the pad. Fixes properly deriving from GstPad.
27308         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27309         derived objects, just set properties when creating the objects via
27310         g_object_new.
27311         (gst_pad_get_parent): Implement as a function, return NULL if the
27312         parent is not an element.
27313         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27314         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27315         
27316         * gst/gstobject.c (gst_object_class_init): Make name a construct
27317         property. Don't set it in the object init.
27318
27319         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27320         with UNKNOWN direction.
27321         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27322         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27323         (gst_element_remove_pad): Remove ghost-pad special cases.
27324         (gst_element_pads_activate): Remove rpad cruft.
27325
27326         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27327         catch the pad's-parent-not-an-element case.
27328
27329         * gst/gst.h: Include gstghostpad.h.
27330
27331         * gst/gst.c (init_post): No more real, ghost pads.
27332
27333         * gst/Makefile.am: Add gstghostpad.[ch].
27334
27335         * check/Makefile.am:
27336         * check/gst/gstbin.c:
27337         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27338         into a bin creates ghost pads, and that the refcounts are right.
27339         Partly moved from gstbin.c.
27340
27341 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27342
27343         * check/gst-libs/.cvsignore:
27344         * check/gst/.cvsignore:
27345         * check/pipelines/.cvsignore:
27346           ignore more
27347         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27348         (START_TEST), (cleanup_suite), (main):
27349           add some tests related to cleanup after running pipelines
27350
27351 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27352
27353         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27354           add a testsuite for GstBuffer
27355
27356 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27357
27358         * gst/gstminiobject.h:
27359           add defines for accessing the refcount
27360
27361 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27362
27363         * Makefile.am: added support for html unit test coverage reports
27364
27365 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27366
27367         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27368           Free existing caps if the capsfilter changes. Add a FIXME about
27369           setting those caps on the pads.
27370
27371         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27372           Before adding a ghost pad to a parent bin, check that there isn't
27373           already one for the element on the bin. Prevents infinite recursion
27374           when using decodebin in parse pipelines. Andy says he'll rewrite the
27375           way this works anyway, so ignore the hack.
27376
27377 2005-06-02  Andy Wingo  <wingo@pobox.com>
27378
27379         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27380         file size, pass it on to the type find helper.
27381
27382         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27383         segment_start and segment_end properly according to the seek
27384         method. Segment_end is still a bit flaky because offset can be
27385         negative for CUR and END cases, but it takes -1 as an "unset"
27386         value.
27387
27388 2005-06-02  Wim Taymans  <wim@fluendo.com>
27389
27390         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27391         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27392         (gst_basesink_activate):
27393         * gst/base/gstbasesink.h:
27394         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27395         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27396         (gst_pad_query), (gst_pad_start_task):
27397         * gst/gstpad.h:
27398         * gst/gstqueue.c: (gst_queue_bufferalloc),
27399         (gst_queue_handle_sink_event), (gst_queue_chain):
27400         Bufferalloc: return GstFlowReturn to more accuratly report
27401         why allocation failed.
27402
27403 2005-06-02  Wim Taymans  <wim@fluendo.com>
27404
27405         * gst/gstpipeline.c: (gst_pipeline_send_event):
27406         Take snapshot of state without blocking.
27407
27408 2005-06-02  Wim Taymans  <wim@fluendo.com>
27409
27410         * docs/design/part-TODO.txt:
27411         * docs/design/part-caps.txt:
27412         * docs/design/part-clocks.txt:
27413         * docs/design/part-negotiation.txt:
27414         * docs/design/part-preroll.txt:
27415         Small doc updates 
27416
27417 2005-05-30  Wim Taymans  <wim@fluendo.com>
27418
27419         * gst/elements/gstidentity.c: (gst_identity_event),
27420         (gst_identity_transform), (gst_identity_get_property):
27421         Protect last_message property as it is accessed from
27422         multiple threads.
27423
27424 2005-05-30  Wim Taymans  <wim@fluendo.com>
27425
27426         * gst/gstelement.c: (gst_element_init),
27427         (gst_element_pads_activate), (gst_element_change_state):
27428         Slicker pad activation code.
27429
27430 2005-05-30  Wim Taymans  <wim@fluendo.com>
27431
27432         * gst/Makefile.am:
27433         * gst/gstelement.h:
27434         * gst/gstelementfactory.h:
27435         * gst/gsttypes.h:
27436         Move elementfactory methods to separate .h file.
27437
27438 2005-05-30  Wim Taymans  <wim@fluendo.com>
27439
27440         * docs/design/part-overview.txt:
27441         * gst/gstsystemclock.h:
27442         Small typo fixes, doc updates.
27443
27444 2005-05-30  Wim Taymans  <wim@fluendo.com>
27445
27446         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27447         (init_popt_callback):
27448         Remove cpu-opt flag.
27449
27450 2005-05-30  Wim Taymans  <wim@fluendo.com>
27451
27452         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27453         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27454         * gst/gstbuffer.h:
27455         Avoid typechecking in places where not needed.
27456         Added accessor for malloc_data.
27457
27458 2005-05-30  Wim Taymans  <wim@fluendo.com>
27459
27460         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27461         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27462         (gst_pad_configure_sink), (gst_pad_configure_src),
27463         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27464         (gst_pad_start_task):
27465         Propagate errors from _set_caps() in configure_src/sink
27466         functions instead of returning TRUE.
27467         FLUSH events can travel up and downstream
27468
27469
27470 2005-05-30  Wim Taymans  <wim@fluendo.com>
27471
27472         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27473         (gst_basesink_activate):
27474         Handle EOS in preroll.
27475
27476 2005-05-30  Wim Taymans  <wim@fluendo.com>
27477
27478         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27479         (gst_queue_loop), (gst_queue_handle_src_event):
27480         Remove old pieces of code
27481         Flushing the queue in an upstream event is a very bad idea.
27482
27483 2005-05-26  Andy Wingo  <wingo@pobox.com>
27484
27485         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27486         gst_value_set_mini_object so as to add a ref on the object (which
27487         will be removed when the value is unset).
27488
27489         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27490         arg type in ::handoff.
27491
27492         * gst/gstelement.c (gst_element_change_state): Also deactivate
27493         pads in READY->NULL, just in case the element didn't make it to
27494         PAUSED. Wingo tested, Wim approved.
27495
27496 2005-05-26  Wim Taymans  <wim@fluendo.com>
27497
27498         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27499         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27500         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27501         A flushing pad cannot be used to alloc_buffer from.
27502
27503 2005-05-26  Wim Taymans  <wim@fluendo.com>
27504
27505         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27506         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27507         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27508         (gst_bus_create_watch), (gst_bus_add_watch_full):
27509         * gst/gstbus.h:
27510         Implement a real GSource and use g_main_context_wakeup() to
27511         signal new messages instead of the socketpair.
27512
27513 2005-05-25  Wim Taymans  <wim@fluendo.com>
27514
27515         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27516         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27517         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27518         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27519         (gst_pad_send_event), (gst_pad_start_task):
27520         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27521         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27522         (gst_queue_sink_activate), (gst_queue_src_activate),
27523         (gst_queue_change_state):
27524         * gst/gstqueue.h:
27525         Fix state changes for non sinks. We now change sinks, then elements
27526         with unconnected srcpads, then the rest.
27527         More efficient queue unlocking in flush and state changes.
27528         Set the pad activate mode even if it does not have an activate
27529         function.
27530
27531 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27532
27533         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27534           Don't go in pull mode for non-seekable sources.
27535         * gst/elements/gsttypefindelement.h:
27536         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27537         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27538         (free_entry), (stop_typefinding),
27539         (gst_type_find_element_handle_event), (find_peek),
27540         (gst_type_find_element_chain), (do_pull_typefind),
27541         (gst_type_find_element_change_state):
27542           Allow typefinding (w/o seeking) in push-mode, simplified version
27543           of what was in 0.8.
27544         * gst/gstutils.c: (gst_buffer_join):
27545         * gst/gstutils.h:
27546           gst_buffer_join() from 0.8.
27547
27548 2005-05-25  Wim Taymans  <wim@fluendo.com>
27549
27550         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27551         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27552         (gst_pad_send_event), (gst_pad_start_task):
27553         Disable attempt at mode switching until it is figured out.
27554
27555 2005-05-25  Wim Taymans  <wim@fluendo.com>
27556
27557         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27558         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27559         (gst_basesink_finish_preroll), (gst_basesink_chain),
27560         (gst_basesink_loop), (gst_basesink_activate),
27561         (gst_basesink_change_state):
27562         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27563         (gst_basesrc_get_range), (gst_basesrc_loop),
27564         (gst_basesrc_activate):
27565         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27566         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27567         (gst_real_pad_init), (gst_real_pad_set_property),
27568         (gst_real_pad_get_property), (gst_pad_set_active),
27569         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27570         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27571         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27572         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27573         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27574         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27575         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27576         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27577         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27578         (gst_pad_stop_task):
27579         * gst/gstpad.h:
27580         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27581         (gst_queue_loop), (gst_queue_src_activate):
27582         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27583         (gst_task_get_state):
27584         * gst/gsttask.h:
27585         * gst/schedulers/threadscheduler.c:
27586         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27587         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27588         in task function.
27589         Remove ACTIVE pad flag, use FLUSHING everywhere
27590         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27591         functions.
27592         Add locks around IS_FLUSHING when reading.
27593         Take STREAM lock in chain(), get_range() functions so plugins
27594         don't need to take it anymore.
27595         
27596
27597
27598 2005-05-25  Wim Taymans  <wim@fluendo.com>
27599
27600         * tools/gst-launch.c: (event_loop):
27601         Unref message after using its contents instead of
27602         before.
27603
27604 2005-05-24  Wim Taymans  <wim@fluendo.com>
27605
27606         * docs/design/draft-ghostpads.txt:
27607         * docs/design/draft-push-pull.txt:
27608         * docs/design/draft-query.txt:
27609         * docs/design/part-overview.txt:
27610         Docs updates, added general overview doc.
27611
27612 2005-05-21  David Schleef  <ds@schleef.org>
27613
27614         * docs/gst/tmpl/old/GstBin.sgml:
27615         * docs/gst/tmpl/old/GstBuffer.sgml:
27616         * docs/gst/tmpl/old/GstCaps.sgml:
27617         * docs/gst/tmpl/old/GstClock.sgml:
27618         * docs/gst/tmpl/old/GstCompat.sgml:
27619         * docs/gst/tmpl/old/GstData.sgml:
27620         * docs/gst/tmpl/old/GstElement.sgml:
27621         * docs/gst/tmpl/old/GstEvent.sgml:
27622         * docs/gst/tmpl/old/GstIndex.sgml:
27623         * docs/gst/tmpl/old/GstStructure.sgml:
27624         * docs/gst/tmpl/old/GstTag.sgml:
27625         * docs/gst/tmpl/old/cothreads.sgml:
27626         * docs/gst/tmpl/old/cothreads_compat.sgml:
27627         * docs/gst/tmpl/old/gettext.sgml:
27628         * docs/gst/tmpl/old/gobject2gtk.sgml:
27629         * docs/gst/tmpl/old/grammar.tab.sgml:
27630         * docs/gst/tmpl/old/gst-i18n-app.sgml:
27631         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27632         * docs/gst/tmpl/old/gst_private.sgml:
27633         * docs/gst/tmpl/old/gstaggregator.sgml:
27634         * docs/gst/tmpl/old/gstarch.sgml:
27635         * docs/gst/tmpl/old/gstatomic_impl.sgml:
27636         * docs/gst/tmpl/old/gstbufferstore.sgml:
27637         * docs/gst/tmpl/old/gstdata_private.sgml:
27638         * docs/gst/tmpl/old/gstdisksink.sgml:
27639         * docs/gst/tmpl/old/gstdisksrc.sgml:
27640         * docs/gst/tmpl/old/gstelementfactory.sgml:
27641         * docs/gst/tmpl/old/gstextratypes.sgml:
27642         * docs/gst/tmpl/old/gstfakesink.sgml:
27643         * docs/gst/tmpl/old/gstfakesrc.sgml:
27644         * docs/gst/tmpl/old/gstfdsink.sgml:
27645         * docs/gst/tmpl/old/gstfdsrc.sgml:
27646         * docs/gst/tmpl/old/gstfilesink.sgml:
27647         * docs/gst/tmpl/old/gstfilesrc.sgml:
27648         * docs/gst/tmpl/old/gsthttpsrc.sgml:
27649         * docs/gst/tmpl/old/gstidentity.sgml:
27650         * docs/gst/tmpl/old/gstindexfactory.sgml:
27651         * docs/gst/tmpl/old/gstmarshal.sgml:
27652         * docs/gst/tmpl/old/gstmd5sink.sgml:
27653         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27654         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27655         * docs/gst/tmpl/old/gstpadtemplate.sgml:
27656         * docs/gst/tmpl/old/gstpipefilter.sgml:
27657         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27658         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27659         * docs/gst/tmpl/old/gstshaper.sgml:
27660         * docs/gst/tmpl/old/gstspider.sgml:
27661         * docs/gst/tmpl/old/gstspideridentity.sgml:
27662         * docs/gst/tmpl/old/gststatistics.sgml:
27663         * docs/gst/tmpl/old/gsttee.sgml:
27664         * docs/gst/tmpl/old/gsttimecache.sgml:
27665         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27666         * docs/gst/tmpl/old/gstxmlregistry.sgml:
27667         * docs/gst/tmpl/old/gthread-cothreads.sgml:
27668         * docs/gst/tmpl/old/types.sgml:
27669           I didn't intend to add these or check them in.
27670
27671 2005-05-19  David Schleef  <ds@schleef.org>
27672
27673         * configure.ac: Use -no-common everywhere.  In a sane world, it
27674           would be the default in libtool, because without it, you can't
27675           build DLLs on Windows.
27676         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27677         * docs/gst/gstreamer-sections.txt:
27678         * docs/gst/tmpl/gstcpu.sgml:
27679         * docs/gst/tmpl/gstdata.sgml:
27680         * docs/gst/tmpl/gstthread.sgml:
27681
27682 2005-05-19  David Schleef  <ds@schleef.org>
27683
27684         * gst/gstminiobject.c: (gst_value_set_mini_object),
27685         (gst_value_take_mini_object), (gst_value_get_mini_object):
27686         * gst/gstminiobject.h: Add GValue set/get functions.
27687
27688 2005-05-19  Wim Taymans  <wim@fluendo.com>
27689
27690         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27691         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27692         (gst_subbuffer_init), (gst_buffer_is_span_fast):
27693         * gst/gstbuffer.h:
27694         * gst/gstbus.c: (gst_bus_post):
27695         * gst/gstelement.c: (gst_element_get_random_pad):
27696         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27697         Make subbufer unref the parent in finalize.
27698         some more debugging info.
27699
27700
27701 2005-05-19  Wim Taymans  <wim@fluendo.com>
27702
27703         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27704         (gst_basesink_init), (gst_basesink_finalize),
27705         (gst_basesink_activate), (gst_basesink_change_state):
27706         Don't free preroll queue too early.
27707
27708 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27709
27710         * gst/Makefile.am:
27711         * gst/ROADMAP:
27712           Hi, I'm outdated. Please shoot me.
27713
27714 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27715
27716         * gst/gstpipeline.c: (gst_pipeline_send_event):
27717           Do not access variables after they have been deleted.
27718
27719 2005-05-19  Wim Taymans  <wim@fluendo.com>
27720
27721         * tools/gst-inspect.c: (print_plugin_features):
27722         A plugin feature does unfortunatly not use the
27723         object name yet...
27724
27725 2005-05-18  Wim Taymans  <wim@fluendo.com>
27726
27727         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27728         Port _span() functions to new subbuffers.
27729
27730 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27731
27732         * gst/gstbin.c: (gst_bin_add_func):
27733           Fix clock settery in bins when adding kids after the clock has
27734           been selected.
27735
27736 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27737
27738         * gst/elements/gstidentity.c: (gst_identity_class_init):
27739           Workaround until signals support GstMiniObject.
27740
27741 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
27742
27743         * gst/gstbuffer.c:
27744         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27745
27746 2005-05-18  Wim Taymans  <wim@fluendo.com>
27747
27748         * gst/base/Makefile.am:
27749         * gst/base/gstadapter.c: (gst_adapter_base_init),
27750         (gst_adapter_class_init), (gst_adapter_init),
27751         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27752         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27753         (gst_adapter_flush), (gst_adapter_available),
27754         (gst_adapter_available_fast):
27755         * gst/base/gstadapter.h:
27756         Ported and added adapter to the base classes.
27757
27758 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
27759
27760         * gst/gst.c:
27761         * gst/gstmessage.c:
27762           Make sure the class is reffed/unreffed once before threads can be
27763           used.  Fixes #304551.
27764
27765 2005-05-17  Wim Taymans  <wim@fluendo.com>
27766
27767         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27768         (gst_basesink_chain_unlocked), (gst_basesink_activate):
27769         * gst/gstminiobject.c: (gst_mini_object_get_type),
27770         (gst_mini_object_free):
27771         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27772         (gst_pad_push), (gst_pad_push_event):
27773         * gst/gstqueue.c: (gst_queue_change_state):
27774         Don't queue buffers in basesink when we are flushing.
27775         Unref buffer when flushing in basesink.
27776         Flush queue when going to READY
27777         Unref buffer when _push() returns an error.
27778         Don't free MiniObject instance when refcount is incremented
27779         in _finalize() so that we can recover objects.
27780
27781 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27782
27783         * docs/manual/advanced-schedulers.xml:
27784         * docs/manual/appendix-checklist.xml:
27785         * docs/pwg/advanced-clock.xml:
27786         * docs/pwg/advanced-interfaces.xml:
27787         * docs/pwg/advanced-request.xml:
27788         * docs/pwg/advanced-types.xml:
27789         * docs/pwg/intro-preface.xml:
27790         * examples/plugins/example.c: (gst_example_get_type),
27791         (gst_example_class_init), (gst_example_chain),
27792         (gst_example_set_property), (gst_example_get_property),
27793         (gst_example_change_state), (plugin_init):
27794         * examples/plugins/example.h:
27795           small doc fixes
27796
27797 2005-05-17  Wim Taymans  <wim@fluendo.com>
27798
27799         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27800         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27801         * gst/gstqueue.c: (gst_queue_change_state):
27802         Clear queue when going to READY.
27803         Remove IN_SETCAPS flag too.
27804
27805 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
27806
27807         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27808           Remove implicit cast from gboolean to GstElementStateReturn;
27809           make sure we still return failure in paused => ready case if
27810           the parent class fails to change state and our own stop 
27811           vfunc succeeds.
27812
27813 2005-05-17  Wim Taymans  <wim@fluendo.com>
27814
27815         * tools/gst-launch.c: (event_loop):
27816         Message was unreffed too soon.
27817
27818 2005-05-16  Andy Wingo  <wingo@pobox.com>
27819
27820         * gst/gstbin.c (sink_iterator_filter): Err... um...
27821
27822         * check/gst/gstbin.c (test_ghost_pads): New test for the
27823         ghosting-if-elements-not-in-same-bin behavior.
27824
27825 2005-05-16  David Schleef  <ds@schleef.org>
27826
27827         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27828         accessing refcount directly.
27829
27830 2005-05-15  David Schleef  <ds@schleef.org>
27831
27832         * check/Makefile.am: remove GstData checks
27833         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27834         * gst/Makefile.am: add miniobject, remove data
27835         * gst/gst.h: add miniobject, remove data
27836         * gst/gstdata.c: remove
27837         * gst/gstdata.h: remove
27838         * gst/gstdata_private.h: remove
27839         * gst/gsttypes.h: remove GstEvent and GstMessage
27840         * gst/gstelement.c: (gst_element_post_message): fix for API changes
27841         * gst/gstmarshal.list: change BOXED -> OBJECT
27842
27843         Implement GstMiniObject.
27844         * gst/gstminiobject.c:
27845         * gst/gstminiobject.h:
27846
27847         Modify to be subclasses of GstMiniObject.
27848         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27849         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27850         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27851         (gst_subbuffer_get_type), (gst_subbuffer_init),
27852         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27853         (gst_buffer_span):
27854         * gst/gstbuffer.h:
27855         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27856         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27857         (_gst_event_copy), (gst_event_new):
27858         * gst/gstevent.h:
27859         * gst/gstmessage.c: (_gst_message_initialize),
27860         (gst_message_get_type), (gst_message_class_init),
27861         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27862         (gst_message_new), (gst_message_new_error),
27863         (gst_message_new_warning), (gst_message_new_tag),
27864         (gst_message_new_state_changed), (gst_message_new_application):
27865         * gst/gstmessage.h:
27866         * gst/gstprobe.c: (gst_probe_perform),
27867         (gst_probe_dispatcher_dispatch):
27868         * gst/gstprobe.h:
27869         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27870         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27871         (_gst_query_copy), (gst_query_new):
27872
27873         Update elements for GstData -> GstMiniObject changes
27874         * gst/gstquery.h:
27875         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27876         (gst_queue_chain), (gst_queue_loop):
27877         * gst/elements/gstbufferstore.c:
27878         (gst_buffer_store_add_buffer_func),
27879         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27880         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27881         (gst_fakesink_render):
27882         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27883         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27884         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27885         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27886         (gst_filesrc_create_read):
27887         * gst/elements/gstidentity.c: (gst_identity_class_init):
27888         * gst/elements/gsttypefindelement.c:
27889         (gst_type_find_element_src_event), (free_entry_buffers),
27890         (gst_type_find_element_handle_event):
27891         * libs/gst/dataprotocol/dataprotocol.c:
27892         (gst_dp_header_from_buffer):
27893         * libs/gst/dataprotocol/dataprotocol.h:
27894         * libs/gst/dataprotocol/dp-private.h:
27895
27896 2005-05-15  David Schleef  <ds@schleef.org>
27897
27898         * gst/elements/gstelements.c: Don't include headers that were
27899         just removed.
27900
27901 2005-05-15  David Schleef  <ds@schleef.org>
27902
27903         * gst/elements/Makefile.am: Remove some elements that don't
27904         need to be in the core (or even exist at all).
27905         * gst/elements/gstaggregator.c:
27906         * gst/elements/gstaggregator.h:
27907         * gst/elements/gstmd5sink.c:
27908         * gst/elements/gstmd5sink.h:
27909         * gst/elements/gstmultifilesrc.c:
27910         * gst/elements/gstmultifilesrc.h:
27911         * gst/elements/gstpipefilter.c:
27912         * gst/elements/gstpipefilter.h:
27913         * gst/elements/gstshaper.c:
27914         * gst/elements/gstshaper.h:
27915         * gst/elements/gststatistics.c:
27916         * gst/elements/gststatistics.h:
27917         * po/POTFILES.in: Remove above files.
27918
27919 2005-05-14  Andy Wingo  <wingo@pobox.com>
27920
27921         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
27922         so as to get the refs right.
27923         (sink_iterator_filter): New function, wraps bin_element_is_sink,
27924         unreffing objects that don't pass the filter.
27925
27926         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
27927         gst_element_set_bus.
27928         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
27929         normal cases, this will destroy the bus.
27930
27931         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
27932         object.
27933
27934         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
27935         has no sinks.
27936
27937 2005-05-13  Andy Wingo  <wingo@pobox.com>
27938
27939         * gst/gstutils.c (gst_element_link_pads): Instead of calling
27940         gst_pad_link, call pad_link_maybe_ghosting,
27941         (pad_link_maybe_ghosting): Links pads, making sure that the
27942         elements being linked are in the same bin.
27943         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
27944         Helpers for pad_link_maybe_ghosting.
27945
27946 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
27947
27948         * configure.ac:
27949           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
27950
27951 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
27952
27953         * docs/design/part-element-source.txt:
27954           Mention GstPushSrc
27955
27956 2005-05-12  Wim Taymans  <wim@fluendo.com>
27957
27958         * gst/base/gstbasesink.c: (gst_basesink_init),
27959         (gst_basesink_activate):
27960         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
27961         (gst_basesrc_is_seekable):
27962         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
27963         (bin_element_is_sink), (gst_bin_change_state):
27964         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27965         * gst/gstelement.h:
27966         Identify sinks by their flag to avoid overly complicated
27967         checks (fow now).
27968         Do state changes even for elements not reachable from the
27969         sinks.
27970         BaseSink is a sink now :)
27971         Some more debugging info in the basesrc.
27972
27973
27974 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27975
27976         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
27977           Implement _query on a bin, similar to _send_event.
27978
27979 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
27980
27981         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
27982           Discont event offset format should be GST_FORMAT_BYTES,
27983           not GST_FORMAT_TIME.
27984
27985 2005-05-12  Wim Taymans  <wim@fluendo.com>
27986
27987         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
27988         Same fix as Ronald's but without the signal. 
27989
27990 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27991
27992         * gst/gstutils.c: (gst_element_query_position):
27993           No, an element is not a pad.
27994
27995 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27996
27997         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
27998         (gst_bin_get_state):
27999           If a child is removed from a bin while we remove the child from
28000           the bin and while we're retrieving its state, signal this to the
28001           get_state function so we abort the wait (instead of waiting for
28002           a timeout) and can immediately re-iterate over all other elements.
28003
28004 2005-05-12  Wim Taymans  <wim@fluendo.com>
28005
28006         * gst/base/Makefile.am:
28007         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28008         (gst_basesrc_start):
28009         * gst/base/gstbasesrc.h:
28010         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28011         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28012         (gst_pushsrc_init), (gst_pushsrc_create):
28013         * gst/base/gstpushsrc.h:
28014         Added is_seekable to BaseSrc
28015         Added simple PushSrc.
28016
28017 2005-05-11  Wim Taymans  <wim@fluendo.com>
28018
28019         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28020         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28021         (gst_element_link_pads), (gst_element_query_position),
28022         (gst_element_query_convert), (intersect_caps_func),
28023         (gst_pad_query_position), (gst_pad_query_convert):
28024         Fix refcounting in utils function.
28025         No point in trying to activate a pad when it's added, it could
28026         be added from the state change function and then we deadlock, the
28027         element has to decide what to do.
28028
28029 2005-05-10  Andy Wingo  <wingo@pobox.com>
28030
28031         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28032         *all* the arguments.
28033
28034         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28035         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28036         lock (according to the docs -- if this is wrong change the docs).
28037
28038         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28039         flush messages in the NULL state.
28040
28041         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28042         message immediately and return.
28043         (gst_bus_set_flushing): New function. If a bus is flushing, it
28044         flushes out any queued messages and immediately unrefs new
28045         messages. This is so when an element goes to NULL, all of the
28046         unhandled messages coming from it can be freed, and their
28047         references to the element dropped. In other words: message source
28048         ref considered harmful :P
28049
28050         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28051         we're finished with it.
28052
28053         * gst/gstmessage.c (gst_message_new_state_changed): 
28054
28055 2005-05-10  Wim Taymans  <wim@fluendo.com>
28056
28057         * gst/gstvalue.c: (gst_value_compare_flags),
28058         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28059         (_gst_value_initialize):
28060         Added flags serialize/deserialize/compare code.
28061
28062 2005-05-09  Andy Wingo  <wingo@pobox.com>
28063
28064         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28065         Intersect the peer's caps with our caps.
28066
28067 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28068
28069         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28070         * gst/elements/gsttypefindelement.c: (find_peek):
28071           Handle negative offsets better. Fixes decodebin.
28072
28073 2005-05-09  Wim Taymans  <wim@fluendo.com>
28074
28075         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28076         (gst_base_transform_event):
28077         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28078         Implement accept_caps.
28079         Fix silly lock/unlock mismatch in base class.
28080
28081 2005-05-09  Wim Taymans  <wim@fluendo.com>
28082
28083         * docs/design/draft-push-pull.txt:
28084         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28085         * gst/elements/gstfilesink.c: (gst_filesink_init),
28086         (gst_filesink_query):
28087         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28088         (gst_type_find_handle_src_query), (find_element_get_length):
28089         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28090         * gst/gstelement.h:
28091         * gst/gstmessage.c:
28092         * gst/gstmessage.h:
28093         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28094         (gst_real_pad_get_caps_unlocked),
28095         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28096         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28097         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28098         (gst_real_pad_dispose), (gst_real_pad_finalize),
28099         (gst_pad_load_and_link), (gst_pad_save_thyself),
28100         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28101         (gst_pad_check_pull_range), (gst_pad_pull_range),
28102         (gst_pad_template_get_type), (gst_pad_template_class_init),
28103         (gst_pad_template_init), (gst_pad_template_dispose),
28104         (name_is_valid), (gst_static_pad_template_get),
28105         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28106         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28107         (gst_pad_get_element_private), (gst_pad_start_task),
28108         (gst_pad_pause_task), (gst_pad_stop_task),
28109         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28110         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28111         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28112         (gst_ghost_pad_new):
28113         * gst/gstpad.h:
28114         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28115         (gst_query_new_position), (gst_query_set_position),
28116         (gst_query_parse_position), (gst_query_new_convert),
28117         (gst_query_set_convert), (gst_query_parse_convert):
28118         * gst/gstquery.h:
28119         * gst/gstqueryutils.c:
28120         * gst/gstqueryutils.h:
28121         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28122         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28123         (gst_queue_handle_src_query):
28124         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28125         (gst_element_query_position), (gst_element_query_convert),
28126         (intersect_caps_func), (gst_pad_query_position),
28127         (gst_pad_query_convert):
28128         * gst/gstutils.h:
28129         * tools/gst-inspect.c: (print_pad_info):
28130         * tools/gst-xmlinspect.c: (print_element_info):
28131         Remove old query functions. Ported old code.
28132         Added position/convert helper functions to gstutils.
28133         Reordered gstpad.c code, grouping relevant things.
28134         Remove gst_message_new(), always need to speficy a specific
28135         message.
28136
28137
28138 2005-05-09  Andy Wingo  <wingo@pobox.com>
28139
28140         * gst/gstiterator.h: Add some includes.
28141
28142         * gst/gstqueryutils.h: Include more headers.
28143
28144         * gst/gstpad.h:
28145         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28146         some uses of gst_pad_query.
28147
28148         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28149         NULL out parameters.
28150         (gst_query_new_position): New proc, allocates a new position
28151         query.
28152
28153         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28154         gstqueryutils.c to the build.
28155
28156         * gst/gststructure.c (gst_structure_set_valist): Implement with
28157         the generic G_VALUE_COLLECT.
28158         
28159 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28160
28161         * gst/Makefile.am: (gst_headers):
28162         Added gstqueryutils.h to the list of headers to install, that was
28163         a 'nachty' move wingo :)
28164
28165 2005-05-06  Andy Wingo  <wingo@pobox.com>
28166
28167         * gst/gstquery.h
28168         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28169         GstData, init a memchunk.
28170         (standard_definitions): Add a few query types, deprecate a few.
28171         (gst_query_get_type): New proc.
28172         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28173         implementation.
28174         (gst_query_new_application, gst_query_get_structure): New public
28175         procs.
28176
28177         * docs/design/draft-query.txt: Removed LINKS from the query types,
28178         because all the rest can be dispatched to other pads -- seemed
28179         ugly to have a query that couldn't be dispatched. internal_links
28180         is fine as a pad method.
28181
28182         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28183         in gstpad.c, but maintain binary compatibility for the moment.
28184         Will fix before 0.9 is out.
28185
28186         * gst/gstqueryutils.c: 
28187         * gst/gstqueryutils.h: New files, implement 3 methods for each
28188         query type: parse_query, parse_response, and set. Probably need an
28189         allocator as well.
28190
28191         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28192
28193         * gst/elements/gstfilesink.c (gst_filesink_query2):
28194         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28195         query_types, and formats methods.
28196
28197         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28198         (gst_pad_set_query2_function): New functions.
28199         (gst_real_pad_init): Set query2_default as the default query2
28200         function. Basically just dispatches to internally linked pads.
28201
28202         Needs review!
28203         
28204         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28205         without using the atomic operations. Only one thread can possibly
28206         be accessing the data at this point. Changed so as to avoid
28207         gst_atomic operations.
28208
28209 2005-05-06  Wim Taymans  <wim@fluendo.com>
28210
28211         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28212         Also set caps if we use the fallback buffer alloc.
28213
28214 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28215
28216         * docs/gst/Makefile.am:
28217         * docs/gst/gstreamer-docs.sgml:
28218         * docs/gst/gstreamer-sections.txt:
28219         * docs/gst/tmpl/gstatomic.sgml:
28220         * docs/gst/tmpl/gstmemchunk.sgml:
28221         * testsuite/elements/struct_i386.h:
28222         * win32/GStreamer.vcproj:
28223         * win32/Makefile:
28224           Purge GstAtomic stuff from docs and win32 makefiles as well
28225
28226 2005-05-06  Wim Taymans  <wim@fluendo.com>
28227
28228         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28229         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28230         * gst/gstpad.c: (gst_pad_peer_get_caps):
28231         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28232         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28233         (gst_queue_src_activate), (gst_queue_change_state):
28234         * gst/gstqueue.h:
28235         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28236         (intersect_caps_func):
28237         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28238         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28239         Some fixes for the peer_get_caps() change.
28240
28241 2005-05-06  Wim Taymans  <wim@fluendo.com>
28242
28243         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28244         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28245         (gst_basesink_activate):
28246         Actually do something with error codes returned from the push
28247         functions.
28248
28249 2005-05-06  Wim Taymans  <wim@fluendo.com>
28250
28251         * docs/design/part-element-sink.txt:
28252         * docs/design/part-element-source.txt:
28253         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28254         (gst_basesink_event), (gst_basesink_activate):
28255         * gst/base/gstbasesink.h:
28256         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28257         (gst_basesrc_activate):
28258         * gst/base/gstbasesrc.h:
28259         * gst/gstelement.c: (gst_element_pads_activate):
28260         Some more documentation.
28261         Fixed scheduling decision in _pads_activate().
28262
28263 2005-05-05  Andy Wingo  <wingo@pobox.com>
28264
28265         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28266         the test suite.
28267
28268 2005-05-05  Wim Taymans  <wim@fluendo.com>
28269
28270         * gst/base/Makefile.am:
28271         * gst/base/gstbasesink.h:
28272         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28273         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28274         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28275         (gst_collectpads_class_init), (gst_collectpads_init),
28276         (gst_collectpads_finalize), (gst_collectpads_new),
28277         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28278         (find_pad), (gst_collectpads_remove_pad),
28279         (gst_collectpads_is_active), (gst_collectpads_collect),
28280         (gst_collectpads_collect_range), (gst_collectpads_start),
28281         (gst_collectpads_stop), (gst_collectpads_peek),
28282         (gst_collectpads_pop), (gst_collectpads_available),
28283         (gst_collectpads_read), (gst_collectpads_flush),
28284         (gst_collectpads_chain):
28285         * gst/base/gstcollectpads.h:
28286         * gst/elements/Makefile.am:
28287         * gst/elements/gstelements.c:
28288         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28289         (gst_fakesink_get_times), (gst_fakesink_event),
28290         (gst_fakesink_preroll), (gst_fakesink_render):
28291         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28292         (gst_filesink_init), (gst_filesink_set_location),
28293         (gst_filesink_open_file), (gst_filesink_close_file),
28294         (gst_filesink_pad_query), (gst_filesink_event),
28295         (gst_filesink_render), (gst_filesink_change_state):
28296         * gst/elements/gstfilesink.h:
28297         Added object to help in making collect pad based elements.
28298         Ported filesink.
28299         Make event function in sink baseclass return gboolean.
28300
28301 2005-05-05  Wim Taymans  <wim@fluendo.com>
28302
28303         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28304         (gst_bin_get_by_name):
28305         * gst/gstbuffer.h:
28306         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28307         (gst_clock_finalize):
28308         * gst/gstdata.c: (gst_data_replace):
28309         * gst/gstdata.h:
28310         * gst/gstelement.c: (gst_element_request_pad),
28311         (gst_element_pads_activate):
28312         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28313         (gst_object_unref):
28314         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28315         (gst_pad_set_checkgetrange_function),
28316         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28317         (gst_pad_check_pull_range), (gst_pad_pull_range),
28318         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28319         (gst_pad_pause_task), (gst_pad_stop_task):
28320         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28321         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28322         Fix name lookup in GstBin.
28323         Added _data_replace() function and _buffer_replace()
28324         Use finalize method to clean up clock.
28325         Fix refcounting on request pads.
28326         Fix pad schedule mode error.
28327         Some more object refcounting debug info,
28328
28329
28330 2005-05-04  Andy Wingo <wingo@pobox.com>
28331
28332         * check/Makefile.am:
28333         * docs/gst/tmpl/gstatomic.sgml:
28334         * docs/gst/tmpl/gstplugin.sgml:
28335         * gst/base/gstbasesink.c: (gst_basesink_activate):
28336         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28337         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28338         (gst_basesrc_query), (gst_basesrc_set_property),
28339         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28340         (gst_basesrc_activate):
28341         * gst/base/gstbasesrc.h:
28342         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28343         (gst_base_transform_src_activate):
28344         * gst/elements/gstelements.c:
28345         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28346         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28347         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28348         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28349         (gst_type_find_element_checkgetrange),
28350         (gst_type_find_element_activate):
28351         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28352         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28353         (gst_caps_load_thyself):
28354         * gst/gstelement.c: (gst_element_pads_activate),
28355         (gst_element_save_thyself), (gst_element_restore_thyself):
28356         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28357         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28358         * gst/gstpad.h:
28359         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28360         (gst_xml_parse_file), (gst_xml_parse_memory),
28361         (gst_xml_get_element), (gst_xml_make_element):
28362         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28363         (_file_index_id_save_xml), (gst_file_index_commit):
28364         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28365         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28366         (load_paths):
28367         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28368         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28369         * tools/gst-complete.c: (main):
28370         * tools/gst-compprep.c: (main):
28371         * tools/gst-inspect.c: (print_element_properties_info):
28372         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28373         * tools/gst-xmlinspect.c: (print_element_properties):
28374         GCC 4 fixen.
28375         
28376 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28377
28378         * gst/gstplugin.c: (gst_plugin_check_module),
28379         (gst_plugin_check_file), (gst_plugin_load_file):
28380             apply patch from #172526 to make register work on MacOSX
28381
28382 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28383
28384         * docs/gst/tmpl/gstconfig.sgml:
28385         * gst/gstconfig.h.in:
28386           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28387         * testsuite/debug/printf_extension.c: (main):
28388           Do not use GST_PTR_FORMAT on pointers to types with
28389           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28390         * testsuite/elements/property.h:
28391           use correct printf format
28392
28393 2005-05-02  Wim Taymans  <wim@fluendo.com>
28394
28395         * docs/design/draft-push-pull.txt:
28396         * docs/design/draft-query.txt:
28397         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28398         (gst_basesrc_start):
28399         Added draft for new query API.
28400         Added draft for better selecting scheduling methods.
28401         Make basesrc ignore length if the subclass does not support
28402         it.
28403
28404 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28405
28406         * gst/Makefile.am:
28407           possible fixes for automake-1.5 - _LIBADD is reserved
28408
28409 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28410
28411         * docs/faq/Makefile.am:
28412         * docs/manual/Makefile.am:
28413         * docs/manuals.mak:
28414         * docs/pwg/Makefile.am:
28415         * gst/Makefile.am:
28416           possible fixes for automake-1.5
28417
28418 2005-04-28  Wim Taymans  <wim@fluendo.com>
28419
28420         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28421         (gst_basesink_pad_getcaps), (gst_basesink_init),
28422         (gst_basesink_do_sync):
28423         * gst/gstclock.c: (gst_clock_entry_new):
28424         * gst/gstevent.c: (gst_event_discont_get_value):
28425         * gst/gstpipeline.c: (pipeline_bus_handler),
28426         (gst_pipeline_change_state):
28427         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28428         Better debugging of clocking info.
28429         Allow NULL values when getting discont values.
28430
28431 2005-04-27  Wim Taymans  <wim@fluendo.com>
28432
28433         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28434         * check/gst/gstpad.c: (gst_pad_suite):
28435         Increase timeout for checks.
28436
28437 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28438
28439         * check/Makefile.am:
28440           fix the broken rule for cleanup.  Apparently this rule is
28441           only needed on FC2, so maybe this warrants further autotool
28442           inspection.
28443
28444 2005-04-26  Wim Taymans  <wim@fluendo.com>
28445
28446         * gst/gsttrashstack.h:
28447         Ooohh. a nasty one! After having a failed pop() from the stack,
28448         it's possible that the stack is empty. In that case, don't
28449         follow the NULL pointer.
28450
28451 2005-04-25  Wim Taymans  <wim@fluendo.com>
28452
28453         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28454         (gst_pad_set_checkgetrange_function),
28455         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28456         (gst_pad_check_pull_range), (gst_pad_pull_range),
28457         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28458         (gst_pad_pause_task), (gst_pad_stop_task):
28459         * gst/gstplugin.c: (gst_plugin_load):
28460         * gst/gstplugin.h:
28461         Remove gst_library_load as it does more harm than good with
28462         the new g_module flags.
28463         Revert bogus caps template check in pad linking, pad caps
28464         are important when linking not the template, which is more
28465         general than the current caps.
28466
28467 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28468
28469         * gst/autoplug/.cvsignore:
28470         * gst/autoplug/Makefile.am:
28471         * gst/autoplug/gstsearchfuncs.c:
28472         * gst/autoplug/gstsearchfuncs.h:
28473         * gst/autoplug/gstspider.c:
28474         * gst/autoplug/gstspider.h:
28475         * gst/autoplug/gstspideridentity.c:
28476         * gst/autoplug/gstspideridentity.h:
28477         * gst/autoplug/spidertest.c:
28478           Die, spider, die.
28479
28480 2005-04-25  Wim Taymans  <wim@fluendo.com>
28481
28482         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28483         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28484         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28485         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28486         * gst/gstpad.h:
28487         Added stubs for unimplemented functions. 
28488
28489 2005-04-24  David Schleef  <ds@schleef.org>
28490
28491         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28492         please fix.
28493
28494 2005-04-24  David Schleef  <ds@schleef.org>
28495
28496         Convert everything from GstAtomicInt to g_atomic_int_*, and
28497         remove gstatomic.
28498         * gst/Makefile.am:
28499         * gst/gstatomic.c:
28500         * gst/gstatomic.h:
28501         * gst/gstatomic_impl.h:
28502         * gst/gstbuffer.c:
28503         * gst/gstcaps.c:
28504         * gst/gstcaps.h:
28505         * gst/gstclock.c:
28506         * gst/gstclock.h:
28507         * gst/gstdata.c:
28508         * gst/gstdata.h:
28509         * gst/gstdata_private.h:
28510         * gst/gstevent.c:
28511         * gst/gstinfo.c:
28512         * gst/gstinfo.h:
28513         * gst/gstmessage.c:
28514         * gst/gstobject.c:
28515         * gst/gstobject.h:
28516         * gst/gststructure.c:
28517         * gst/gststructure.h:
28518         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28519         * gst/gstutils.h:
28520
28521 2005-04-24  David Schleef  <ds@schleef.org>
28522
28523         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28524         make the regressions tests work.  Remove some code that is no
28525         longer true.
28526         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28527         Disable warning for pads without templates.
28528
28529 2005-04-24  David Schleef  <ds@schleef.org>
28530
28531         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28532         functions that handle filtered links.
28533         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28534         removed functions.
28535         * gst/gstutils.c: Fix/remove utility functions that handle
28536         filtered caps.
28537         * gst/gstutils.h:
28538         * gst/gstvalue.c: Add serialization/deserialization of caps
28539         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28540         requires fixing so that the filter caps notation creates
28541         a capsfilter element and sets the filter_caps property.  I
28542         think everyone probably wants to keep the shorthand notation.
28543         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28544         * docs/gst/tmpl/gstpad.sgml:
28545
28546         * gst/elements/gstelements.c: Register capsfilter element.
28547         * gst/Makefile.am: fix spacing
28548         * docs/random/ds/0.9-suggested-changes: random
28549
28550 2005-04-23  David Schleef  <ds@schleef.org>
28551
28552         * gst/elements/Makefile.am:
28553         * gst/elements/gstcapsfilter.c: New element that acts like an
28554         identity, but filters caps.  Will eventually replace filtered
28555         caps in pad linking.
28556         * gst/gstutils.c: (gst_element_create_all_pads): New function
28557         to create all the ALWAYS pads that are registered with an
28558         element class.  This functionality should eventually be
28559         merged in with GstElement initialization.
28560         * gst/gstutils.h:
28561         * testsuite/trigger/README: part of trigger test code that should
28562         have been checked in a long time ago.
28563
28564 2005-04-23  David Schleef  <ds@schleef.org>
28565
28566         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28567         needed with new versions of libtool (nobody will confirm this),
28568         and hard to carry around.
28569         * gst/autoplug/Makefile.am:
28570         * gst/base/Makefile.am:
28571         * gst/elements/Makefile.am:
28572         * gst/indexers/Makefile.am:
28573         * gst/schedulers/Makefile.am:
28574         * libs/gst/bytestream/Makefile.am:
28575         * libs/gst/control/Makefile.am:
28576         * libs/gst/dataprotocol/Makefile.am:
28577         * libs/gst/getbits/Makefile.am:
28578
28579 2005-04-21  Wim Taymans  <wim@fluendo.com>
28580
28581         * docs/design/draft-push-pull.txt:
28582         * docs/design/part-MT-refcounting.txt:
28583         * docs/design/part-TODO.txt:
28584         * docs/design/part-caps.txt:
28585         * docs/design/part-events.txt:
28586         * docs/design/part-gstbus.txt:
28587         * docs/design/part-gstpipeline.txt:
28588         * docs/design/part-messages.txt:
28589         * docs/design/part-push-pull.txt:
28590         * docs/design/part-query.txt:
28591         Some more docs.
28592
28593 2005-04-21  Wim Taymans  <wim@fluendo.com>
28594
28595         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28596         (gst_message_new), (gst_message_new_error),
28597         (gst_message_new_warning), (gst_message_new_tag),
28598         (gst_message_new_state_changed), (gst_message_new_application),
28599         (gst_message_get_structure):
28600         * gst/gstmessage.h:
28601         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28602         (gst_structure_copy_conditional):
28603         Use parent refcount in GstMessage to ensure GstStructure
28604         consistency.
28605         Cleaned up headers a bit.
28606         
28607
28608 2005-04-20  Wim Taymans  <wim@fluendo.com>
28609
28610         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28611         (gst_basesink_pad_getcaps), (gst_basesink_init),
28612         (gst_basesink_chain_unlocked):
28613         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28614         (gst_type_find_helper):
28615         * gst/elements/gsttypefindelement.c:
28616         (gst_type_find_element_have_type), (gst_type_find_element_init),
28617         (stop_typefinding), (gst_type_find_element_handle_event),
28618         (find_suggest), (gst_type_find_element_chain),
28619         (gst_type_find_element_checkgetrange),
28620         (gst_type_find_element_getrange), (do_typefind),
28621         (gst_type_find_element_activate):
28622         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28623         (gst_buffer_default_free), (gst_buffer_default_copy),
28624         (gst_buffer_set_caps):
28625         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28626         (gst_caps_replace):
28627         * gst/gstmessage.c: (gst_message_new),
28628         (gst_message_new_state_changed):
28629         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28630         (gst_pad_set_checkgetrange_function),
28631         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28632         (gst_pad_set_caps), (gst_pad_check_pull_range),
28633         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28634         * gst/gstpad.h:
28635         * gst/gsttypefind.c: (gst_type_find_register):
28636         Make gst_caps_replace() work like other _replace() functions.
28637         Use _caps_replace() where possible.
28638         Make sure _message_new() initialises its field.
28639         Add gst_static_pad_template_get_caps()
28640
28641
28642 2005-04-18  Andy Wingo  <wingo@pobox.com>
28643
28644         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28645         on the peer, not the pad. I think that was a typo. Pass an extra
28646         arg to see if random access is possible. Activate the pads as
28647         PULL_RANGE if possible.
28648
28649         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28650
28651         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
28652         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28653         to PROP_....
28654
28655 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28656
28657         * docs/faq/using.xml:
28658           Add note on gstreamer-properties (#154996).
28659
28660 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28661
28662         * docs/random/bbb/optional-properties:
28663           Some analysis on optional properties.
28664
28665 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28666
28667         * docs/gst/tmpl/gstelementfactory.sgml:
28668         * gst/gstelement.h:
28669         * gst/gstelementfactory.c: (gst_element_factory_init),
28670         (gst_element_factory_cleanup), (gst_element_register),
28671         (__gst_element_factory_add_static_pad_template),
28672         (gst_element_factory_get_static_pad_templates),
28673         (gst_element_factory_can_src_caps),
28674         (gst_element_factory_can_sink_caps):
28675         * gst/registries/Makefile.am:
28676         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28677         (gst_xml_registry_class_init), (gst_xml_registry_init),
28678         (gst_xml_registry_new), (gst_xml_registry_set_property),
28679         (gst_xml_registry_get_property), (get_time), (make_dir),
28680         (gst_xml_registry_get_perms_func),
28681         (plugin_times_older_than_recurse), (plugin_times_older_than),
28682         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28683         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28684         (add_to_char_array), (read_string), (read_uint), (read_enum),
28685         (load_pad_template), (load_feature), (load_plugin), (load_paths),
28686         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28687         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28688         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28689         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28690         (gst_xml_registry_rebuild):
28691         * gst/registries/gstlibxmlregistry.h:
28692         * tools/gst-compprep.c: (main):
28693         * tools/gst-inspect.c: (print_pad_templates_info):
28694         * tools/gst-xmlinspect.c: (print_element_info):
28695           Use libxml2 for registry parsing, use staticpadtemplates in
28696           elementfactories. Makes gst_init() +/- 10x faster.
28697
28698 2005-04-12  Wim Taymans  <wim@fluendo.com>
28699
28700         * gst/base/Makefile.am:
28701         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28702         (gst_basesink_pad_getcaps), (gst_basesink_init),
28703         (gst_basesink_event), (gst_basesink_change_state):
28704         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28705         (gst_basesrc_init), (gst_basesrc_query),
28706         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28707         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28708         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28709         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28710         (gst_basesrc_stop), (gst_basesrc_activate),
28711         (gst_basesrc_change_state):
28712         * gst/base/gsttypefindhelper.c: (helper_find_peek),
28713         (helper_find_suggest), (gst_type_find_helper):
28714         * gst/base/gsttypefindhelper.h:
28715         * gst/elements/Makefile.am:
28716         * gst/elements/gstelements.c:
28717         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28718         (gst_fakesink_get_times), (gst_fakesink_event),
28719         (gst_fakesink_preroll), (gst_fakesink_render):
28720         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28721         (gst_fakesrc_init), (gst_fakesrc_event_handler),
28722         (gst_fakesrc_get_property), (gst_fakesrc_create),
28723         (gst_fakesrc_start), (gst_fakesrc_stop):
28724         * gst/elements/gstfakesrc.h:
28725         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28726         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28727         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28728         (gst_filesrc_create_read), (gst_filesrc_create),
28729         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28730         (gst_filesrc_start):
28731         * gst/elements/gsttypefindelement.c:
28732         (gst_type_find_element_have_type), (gst_type_find_element_init),
28733         (start_typefinding), (stop_typefinding), (push_buffer_store),
28734         (gst_type_find_element_handle_event),
28735         (gst_type_find_element_chain),
28736         (gst_type_find_element_checkgetrange),
28737         (gst_type_find_element_getrange), (do_typefind),
28738         (gst_type_find_element_activate),
28739         (gst_type_find_element_change_state):
28740         * gst/elements/gsttypefindelement.h:
28741         * gst/gstpipeline.c: (pipeline_bus_handler):
28742         Added typefind helper.
28743         Small preroll fix in the base sink.
28744         Disable typefind code in basesrc.
28745         Crude port of typefindelement.
28746         Fakesrc cleanups.
28747
28748
28749 2005-04-11  Wim Taymans  <wim@fluendo.com>
28750
28751         * check/gst/gstbus.c: (gstbus_suite):
28752         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28753         * check/gstcheck.h:
28754           Fix up the timeout so that the test does not fail.
28755
28756 2005-04-06  Wim Taymans  <wim@fluendo.com>
28757
28758         * gst/base/README:
28759         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28760         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28761         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28762         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28763         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28764         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28765         (gst_basesrc_stop), (gst_basesrc_activate),
28766         (gst_basesrc_change_state), (basesrc_find_peek),
28767         (basesrc_find_suggest), (gst_basesrc_type_find):
28768         * gst/base/gstbasesrc.h:
28769         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28770         (gst_filesrc_class_init), (gst_filesrc_init),
28771         (gst_filesrc_finalize), (gst_filesrc_set_location),
28772         (gst_filesrc_set_property), (gst_filesrc_get_property),
28773         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28774         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28775         (gst_filesrc_create_read), (gst_filesrc_create),
28776         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28777         * gst/elements/gstfilesrc.h:
28778         * gst/gstelement.c: (gst_element_get_state_func),
28779         (gst_element_lost_state), (gst_element_pads_activate):
28780         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28781         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28782         (gst_pad_pull_range):
28783         * gst/gstpad.h:
28784         More work on the generic source base class, implement seeking,
28785         query.
28786         Make filesrc extend the base source class.
28787         Added gst_pad_set_checkgetrange_function to GstPad.
28788
28789 2005-04-06  Andy Wingo  <wingo@pobox.com>
28790
28791         * pkgconfig/gstreamer-base.pc.in:
28792         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28793
28794         * pkgconfig/Makefile.am:
28795         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28796
28797 2005-04-04  Wim Taymans  <wim@fluendo.com>
28798
28799         * gst/base/Makefile.am:
28800         * gst/base/README:
28801         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28802         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28803         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28804         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28805         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28806         (gst_basesrc_base_init), (gst_basesrc_class_init),
28807         (gst_basesrc_init), (gst_basesrc_get_formats),
28808         (gst_basesrc_get_query_types), (gst_basesrc_query),
28809         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28810         (gst_basesrc_set_property), (gst_basesrc_get_property),
28811         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28812         (gst_basesrc_loop), (gst_basesrc_activate),
28813         (gst_basesrc_change_state):
28814         * gst/base/gstbasesrc.h:
28815         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28816         (gst_fakesrc_class_init), (gst_fakesrc_init),
28817         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28818         (gst_fakesrc_get_property), (gst_fakesrc_create):
28819         * gst/elements/gstfakesrc.h:
28820         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28821         (gst_filesrc_open_file), (gst_filesrc_loop),
28822         (gst_filesrc_activate), (filesrc_find_peek),
28823         (gst_filesrc_type_find):
28824         Made base source class, make fakesrc extend it.
28825         Add comments to basesink class.
28826         Some filesrc cleanup.
28827
28828 2005-03-31  David Schleef  <ds@schleef.org>
28829
28830         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28831         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28832         expected to link against libgstreamer.
28833         * gst/base/Makefile.am: link against libgstreamer
28834         * gst/elements/Makefile.am: same
28835
28836 2005-03-31  Andy Wingo  <wingo@pobox.com>
28837
28838         * tests/instantiate/Makefile.am:
28839         * tests/instantiate/caps.c: Add test to test speed of caps copy
28840         and free.
28841
28842         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28843         GMemChunk to be fair.
28844
28845         * gst/gsttrashstack.h: Remove warning about using the fallback
28846         trash stack implementation, it's still faster than malloc.
28847
28848 2005-03-30  Andy Wingo  <wingo@pobox.com>
28849
28850         * tests/complexity.c: Add a copyright.
28851
28852 2005-03-31  Wim Taymans  <wim@fluendo.com>
28853
28854         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28855         (gst_base_transform_class_init), (gst_base_transform_init),
28856         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28857         (gst_base_transform_get_property),
28858         (gst_base_transform_sink_activate),
28859         (gst_base_transform_src_activate),
28860         (gst_base_transform_change_state):
28861         * gst/base/gstbasetransform.h:
28862         * gst/elements/gstidentity.c: (gst_identity_class_init),
28863         (gst_identity_event), (gst_identity_check_perfect),
28864         (gst_identity_transform), (gst_identity_start),
28865         (gst_identity_stop):
28866         Added start/stop methods to transform base class so subclasses 
28867         don't need to deal with state changes even.
28868
28869 2005-03-31  Wim Taymans  <wim@fluendo.com>
28870
28871         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28872         (gst_event_new_discontinuous), (gst_event_discont_get_value):
28873         * gst/gstevent.h:
28874         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28875         (gst_pad_pull_range):
28876         Added rate to the discont event to prepare for variable speed
28877         and reverse playback.
28878
28879 2005-03-29  David Schleef  <ds@schleef.org>
28880
28881         * configure.ac:
28882         * testsuite/trigger/Makefile.am:
28883         * testsuite/trigger/trigger.c: A little example program to show
28884         how trigger-based elements can work.
28885
28886 2005-03-29  Wim Taymans  <wim@fluendo.com>
28887
28888         * gst/base/Makefile.am:
28889         * gst/base/README:
28890         * gst/base/gstbasesink.c: (gst_basesink_get_type),
28891         (gst_basesink_base_init), (gst_basesink_class_init),
28892         (gst_basesink_pad_getcaps), (gst_basesink_init),
28893         (gst_basesink_activate), (gst_basesink_change_state):
28894         * gst/base/gstbasesink.h:
28895         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28896         (gst_base_transform_base_init), (gst_base_transform_finalize),
28897         (gst_base_transform_class_init), (gst_base_transform_init),
28898         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28899         (gst_base_transform_event), (gst_base_transform_getrange),
28900         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28901         (gst_base_transform_set_property),
28902         (gst_base_transform_get_property),
28903         (gst_base_transform_sink_activate),
28904         (gst_base_transform_src_activate),
28905         (gst_base_transform_change_state):
28906         * gst/base/gstbasetransform.h:
28907         * gst/elements/gstidentity.c: (gst_identity_finalize),
28908         (gst_identity_class_init), (gst_identity_init),
28909         (gst_identity_event), (gst_identity_check_perfect),
28910         (gst_identity_transform), (gst_identity_set_property),
28911         (gst_identity_get_property), (gst_identity_change_state):
28912         * gst/elements/gstidentity.h:
28913         * gst/gstelement.c: (gst_element_get_state_func),
28914         (gst_element_lost_state), (gst_element_pads_activate):
28915         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28916         (gst_pad_check_pull_range), (gst_pad_pull_range):
28917         * gst/gstpad.h:
28918         Simplify pad activation.
28919         Added function to check if pull_range can be performed.
28920         Error out when pulling inactive or flushing pads.
28921         Removed const from refcounted types as it does not make sense.
28922         Simplify pad templates in basesink
28923         Added base class for simple 1-to-1 transforms.
28924         Make identity subclass the base transform.
28925
28926 2005-03-29  Andy Wingo  <wingo@pobox.com>
28927
28928         * docs/libs/gstreamer-libs-overrides.txt: 
28929         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
28930         really don't understand what's going on, but like whatever. I want
28931         green buildbot!
28932
28933         * docs/gst/Makefile.am:
28934         * docs/libs/Makefile.am: Dist the overrides files.
28935
28936         * check/Makefile.am (clean-local): Remove .libs directories.
28937
28938         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
28939         elements to EXTRA_DIST, so po/ files are happy.
28940
28941         * po/POTFILES.in: Er, remove it here.
28942
28943         * po/POTFILES: Remove gstspider.c.
28944
28945         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
28946
28947         * docs/libs/gstreamer-libs-docs.sgml: 
28948         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
28949         bytestream.
28950
28951         * tests/complexity.c (main): Set the length of the preroll queue
28952         on the sinks to prevent a lockup.
28953
28954         * libs/gst/dataprotocol/Makefile.am: 
28955         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
28956         the same as the one in check/gst-libs/gdp.c.
28957
28958         * po/, docs/gst/: Commit automatic changes to docs and po files.
28959
28960         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
28961         the versioned libgstbase.
28962
28963         * check/Makefile.am: Depend on an unversioned gst-register, seems
28964         to make autoconf happier.
28965
28966         * gst/base/Makefile.am: Make libgstbase a versioned lib.
28967
28968 2005-03-28  Wim Taymans  <wim@fluendo.com>
28969
28970         * configure.ac:
28971         * docs/design/part-gstelement.txt:
28972         * docs/design/part-negotiation.txt:
28973         * docs/design/part-preroll.txt:
28974         * docs/design/part-scheduling.txt:
28975         * docs/design/part-states.txt:
28976         * gst/Makefile.am:
28977         * gst/base/Makefile.am:
28978         * gst/base/README:
28979         * gst/base/gstbasesink.c: (gst_basesink_get_template),
28980         (gst_basesink_base_init), (gst_basesink_class_init),
28981         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28982         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28983         (gst_basesink_set_pad_functions),
28984         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
28985         (gst_basesink_set_property), (gst_basesink_get_property),
28986         (gst_base_sink_get_template), (gst_base_sink_get_caps),
28987         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
28988         (gst_basesink_preroll_queue_push),
28989         (gst_basesink_preroll_queue_empty),
28990         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
28991         (gst_basesink_event), (gst_basesink_get_times),
28992         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
28993         (gst_basesink_chain_unlocked), (gst_basesink_chain),
28994         (gst_basesink_loop), (gst_basesink_activate),
28995         (gst_basesink_change_state):
28996         * gst/base/gstbasesink.h:
28997         * gst/elements/Makefile.am:
28998         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
28999         (gst_fakesink_class_init), (gst_fakesink_init),
29000         (gst_fakesink_set_property), (gst_fakesink_get_property),
29001         (gst_fakesink_get_times), (gst_fakesink_event),
29002         (gst_fakesink_preroll), (gst_fakesink_render),
29003         (gst_fakesink_change_state):
29004         * gst/elements/gstfakesink.h:
29005         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29006         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29007         * gst/gstelement.c: (gst_element_add_pad),
29008         (gst_element_get_state_func), (gst_element_abort_state),
29009         (gst_element_commit_state), (gst_element_lost_state),
29010         (gst_element_set_state), (gst_element_pads_activate):
29011         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29012         * gst/gstpipeline.c: (gst_pipeline_send_event),
29013         (gst_pipeline_change_state):
29014         Added state change code.
29015         Added/updated docs.
29016         Added sink base class, make fakesink extend the base class.
29017         Small cleanups in GstPipeline.
29018
29019 2005-03-26  David Schleef  <ds@schleef.org>
29020
29021         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29022         is broken and should be implemented in a different library.
29023         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29024         * gst/gst.h: remove gstcpu.h
29025         * gst/gstcpu.c: remove
29026         * gst/gstcpu.h: remove
29027         * gst/Makefile.am.future: Remove this file.  It's ancient.
29028
29029 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29030
29031         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29032         (gst_bin_send_event):
29033           Add default event/set_manager handlers. The set_manager handler
29034           takes care that the manager is distributed over kids that were
29035           already in the bin before the manager was set. The event handler
29036           is a utility virtual function that sends the event over all sinks,
29037           so that gst_element_send_event (bin, event); has the expected
29038           behaviour.
29039         * gst/gstpad.c: (gst_pad_event_default):
29040           Re-install default event handling for discontinuities, so that
29041           seeking works without requiring hacks in applications or extra
29042           code in sinks.
29043         * gst/gstpipeline.c: (gst_pipeline_class_init),
29044         (gst_pipeline_send_event):
29045           Half hack, half utility: set a pipeline to PAUSED for seek events,
29046           since that is the only way we can guarantee a/v sync. Means that
29047           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29048           and it "just works".
29049
29050 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29051
29052         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29053           Lock/unlock mismatch.
29054
29055 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29056
29057         * docs/faq/gst-uninstalled:
29058           add gst-plugins-base
29059         * docs/gst/Makefile.am:
29060           don't error out until docs are fixed
29061         * docs/gst/gstreamer.types:
29062           remove thread
29063
29064 2005-03-22  Wim Taymans  <wim@fluendo.com>
29065
29066         * check/Makefile.am:
29067         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29068         * gst/gststructure.c: (gst_structure_set_valist),
29069         (gst_structure_copy_conditional):
29070         Activated more tests.
29071         Added message test.
29072         Added G_TYPE_POINTER to GstStructure.
29073         
29074
29075 2005-03-22  Wim Taymans  <wim@fluendo.com>
29076
29077         * docs/design/part-TODO.txt:
29078         * docs/design/part-events.txt:
29079         * docs/design/part-gstbin.txt:
29080         * docs/design/part-gstbus.txt:
29081         * docs/design/part-gstpipeline.txt:
29082         * docs/design/part-messages.txt:
29083         * gst/gstbus.c:
29084         * gst/gstmessage.c:
29085         Docs updates
29086
29087 2005-03-21  Wim Taymans  <wim@fluendo.com>
29088
29089         * gst/gstbus.c: (gst_bus_post):
29090         Fix copy-and-paste error.
29091
29092 2005-03-21  Wim Taymans  <wim@fluendo.com>
29093
29094         * check/Makefile.am:
29095         * gst/Makefile.am:
29096         * gst/elements/Makefile.am:
29097         * gst/elements/gstelements.c:
29098         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29099         (gst_fakesink_event), (gst_fakesink_chain):
29100         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29101         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29102         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29103         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29104         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29105         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29106         (gst_fakesrc_loop), (gst_fakesrc_activate),
29107         (gst_fakesrc_change_state):
29108         * gst/elements/gstfakesrc.h:
29109         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29110         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29111         (gst_filesrc_open_file), (gst_filesrc_loop),
29112         (gst_filesrc_activate), (gst_filesrc_change_state),
29113         (filesrc_find_peek), (filesrc_find_suggest),
29114         (gst_filesrc_type_find):
29115         * gst/elements/gstidentity.c: (gst_identity_finalize),
29116         (gst_identity_class_init), (gst_identity_init),
29117         (gst_identity_proxy_getcaps), (identity_queue_push),
29118         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29119         (gst_identity_getrange), (gst_identity_chain),
29120         (gst_identity_sink_loop), (gst_identity_src_loop),
29121         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29122         (gst_identity_set_property), (gst_identity_get_property),
29123         (gst_identity_change_state):
29124         * gst/elements/gstidentity.h:
29125         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29126         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29127         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29128         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29129         (gst_tee_sink_activate):
29130         * gst/elements/gsttee.h:
29131         * gst/gst.c: (gst_register_core_elements), (init_post):
29132         * gst/gst.h:
29133         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29134         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29135         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29136         (gst_bin_change_state):
29137         * gst/gstbin.h:
29138         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29139         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29140         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29141         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29142         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29143         (bus_watch_callback), (bus_watch_destroy),
29144         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29145         (poll_timeout), (gst_bus_poll):
29146         * gst/gstbus.h:
29147         * gst/gstcaps.h:
29148         * gst/gstdata.h:
29149         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29150         (gst_element_post_message), (gst_element_message_full),
29151         (gst_element_get_state_func), (gst_element_get_state),
29152         (gst_element_abort_state), (gst_element_commit_state),
29153         (gst_element_lost_state), (gst_element_set_state),
29154         (gst_element_pads_activate), (gst_element_change_state),
29155         (gst_element_dispose), (gst_element_set_manager_func),
29156         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29157         (gst_element_set_manager), (gst_element_get_manager),
29158         (gst_element_set_bus), (gst_element_get_bus),
29159         (gst_element_set_scheduler), (gst_element_get_scheduler):
29160         * gst/gstelement.h:
29161         * gst/gstevent.c: (gst_event_new_segment_seek),
29162         (gst_event_new_flush):
29163         * gst/gstevent.h:
29164         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29165         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29166         (gst_message_new_eos), (gst_message_new_error),
29167         (gst_message_new_warning), (gst_message_new_tag),
29168         (gst_message_new_state_changed), (gst_message_new_application),
29169         (gst_message_get_structure), (gst_message_parse_tag),
29170         (gst_message_parse_state_changed), (gst_message_parse_error),
29171         (gst_message_parse_warning):
29172         * gst/gstmessage.h:
29173         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29174         (gst_real_pad_set_property), (gst_pad_set_active),
29175         (gst_pad_is_active), (gst_pad_set_blocked_async),
29176         (gst_pad_set_blocked), (gst_pad_is_blocked),
29177         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29178         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29179         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29180         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29181         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29182         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29183         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29184         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29185         (gst_pad_set_caps), (gst_pad_configure_sink),
29186         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29187         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29188         (gst_real_pad_dispose), (gst_real_pad_finalize),
29189         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29190         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29191         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29192         * gst/gstpad.h:
29193         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29194         (pipeline_bus_handler), (gst_pipeline_change_state),
29195         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29196         * gst/gstpipeline.h:
29197         * gst/gstprobe.h:
29198         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29199         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29200         (gst_queue_link_src), (gst_queue_bufferalloc),
29201         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29202         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29203         (gst_queue_loop), (gst_queue_handle_src_event),
29204         (gst_queue_handle_src_query), (gst_queue_src_activate),
29205         (gst_queue_change_state):
29206         * gst/gstqueue.h:
29207         * gst/gstscheduler.c: (gst_scheduler_init),
29208         (gst_scheduler_dispose), (gst_scheduler_create_task),
29209         (gst_scheduler_factory_create):
29210         * gst/gstscheduler.h:
29211         * gst/gststructure.c: (gst_structure_get_type),
29212         (gst_structure_copy_conditional):
29213         * gst/gststructure.h:
29214         * gst/gsttaginterface.h:
29215         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29216         (gst_task_init), (gst_task_dispose), (gst_task_create),
29217         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29218         (gst_task_pause):
29219         * gst/gsttask.h:
29220         * gst/gstthread.c:
29221         * gst/gstthread.h:
29222         * gst/gsttypes.h:
29223         * gst/schedulers/Makefile.am:
29224         * gst/schedulers/cothreads_compat.h:
29225         * gst/schedulers/entryscheduler.c:
29226         * gst/schedulers/faircothreads.c:
29227         * gst/schedulers/faircothreads.h:
29228         * gst/schedulers/fairscheduler.c:
29229         * gst/schedulers/gstbasicscheduler.c:
29230         * gst/schedulers/gstoptimalscheduler.c:
29231         * gst/schedulers/gthread-cothreads.h:
29232         * gst/schedulers/threadscheduler.c:
29233         (gst_thread_scheduler_task_get_type),
29234         (gst_thread_scheduler_task_class_init),
29235         (gst_thread_scheduler_task_init),
29236         (gst_thread_scheduler_task_start),
29237         (gst_thread_scheduler_task_stop),
29238         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29239         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29240         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29241         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29242         (plugin_init):
29243         * libs/gst/Makefile.am:
29244         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29245         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29246         (gst_file_pad_parent_set):
29247         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29248         (gst_dp_event_from_packet):
29249         * tests/complexity.c: (main):
29250         * tests/mass_elements.c: (main):
29251         * testsuite/states/locked.c: (message_received), (main):
29252         * testsuite/states/parent.c: (main):
29253         * tools/gst-inspect.c: (print_element_flag_info),
29254         (print_implementation_info), (print_pad_info):
29255         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29256         (main):
29257         * tools/gst-md5sum.c: (event_loop), (main):
29258         * tools/gst-typefind.c: (main):
29259         * tools/gst-xmlinspect.c: (print_element_info):
29260         Next big merge.
29261         Added GstBus for mainloop integration.
29262         Added GstMessage for sending notifications on the bus.
29263         Added GstTask as an abstraction for pipeline entry points.
29264         Removed GstThread.
29265         Removed Schedulers.
29266         Simplified GstQueue for multithreaded core.
29267         Made _link threadsafe, removed old capsnego.
29268         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29269         Added pad blocking functions.
29270         Reworked scheduling functions in GstPad to prepare for
29271         scheduling updates soon.
29272         Moved events out of data stream.
29273         Simplified GstEvent types.
29274         Added return values to push/pull.
29275         Removed clocking from GstElement.
29276         Added prototypes for state change function for next merge.
29277         Removed iterate from bins and state change management.
29278         Fixed some elements, disabled others for now.
29279         Fixed -inspect and -launch.
29280         Added check for GstBus.
29281
29282 2005-03-10  Wim Taymans  <wim@fluendo.com>
29283
29284         * docs/design/part-MT-refcounting.txt:
29285         * docs/design/part-clocks.txt:
29286         * docs/design/part-gstelement.txt:
29287         * docs/design/part-gstobject.txt:
29288         * docs/design/part-standards.txt:
29289         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29290         (gst_bin_remove_func), (gst_bin_remove):
29291         * gst/gstbin.h:
29292         * gst/gstbuffer.c:
29293         * gst/gstcaps.h:
29294         * testsuite/clock/clock1.c: (main):
29295         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29296         (main):
29297         * testsuite/dlopen/loadgst.c: (do_test):
29298         * testsuite/refcounting/bin.c: (add_remove_test1),
29299         (add_remove_test2), (main):
29300         * testsuite/refcounting/element.c: (main):
29301         * testsuite/refcounting/element_pad.c: (main):
29302         * testsuite/refcounting/pad.c: (main):
29303         * tools/gst-launch.c: (sigint_handler_sighandler):
29304         * tools/gst-typefind.c: (main):
29305         Doc updates.
29306         Added doc about clock.
29307         removed gst_bin_iterate_recurse_up(), marked methods
29308         for removal.
29309         Fix more testsuites.
29310
29311 2005-03-09  Wim Taymans  <wim@fluendo.com>
29312
29313         * gst/gstpad.c: (gst_pad_get_direction),
29314         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29315         (gst_pad_collect_valist):
29316         * testsuite/bins/interface.c: (main):
29317         * testsuite/caps/audioscale.c: (test_caps):
29318         * testsuite/caps/caps.c: (test1), (test2), (test3):
29319         * testsuite/caps/deserialize.c: (main):
29320         * testsuite/caps/enumcaps.c: (main):
29321         * testsuite/caps/filtercaps.c: (main):
29322         * testsuite/caps/intersect2.c: (main):
29323         * testsuite/caps/random.c: (main):
29324         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29325         * testsuite/caps/sets.c: (check_caps):
29326         * testsuite/caps/simplify.c: (check_caps), (main):
29327         * testsuite/caps/subtract.c: (check_caps):
29328         Fix _pad_get_direction wrt ghostpads.
29329         Fix caps testsuite.
29330
29331 2005-03-09  Wim Taymans  <wim@fluendo.com>
29332
29333         * check/Makefile.am:
29334         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29335         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29336         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29337         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29338         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29339         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29340         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29341         (bin_element_is_sink), (gst_bin_iterate_sinks),
29342         (gst_bin_iterate_all_by_interface):
29343         * gst/gstbin.h:
29344         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29345         (gst_element_change_state), (gst_element_dispose),
29346         (gst_element_finalize), (gst_element_set_loop_function):
29347         * gst/gstelement.h:
29348         * gst/gstiterator.c: (find_custom_fold_func):
29349         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29350         (gst_pad_collectv), (gst_pad_collect_valist),
29351         (gst_pad_template_new):
29352         * gst/gstpipeline.c: (gst_pipeline_class_init),
29353         (gst_pipeline_dispose), (gst_pipeline_set_property),
29354         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29355         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29356         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29357         * gst/gstutils.h:
29358         * gst/schedulers/entryscheduler.c:
29359         * gst/schedulers/gstbasicscheduler.c:
29360         (gst_basic_scheduler_cothreaded_chain),
29361         (gst_basic_scheduler_chain_add_element):
29362         * testsuite/bins/interface.c: (main):
29363         Added GstBin test.
29364         Added GstSystemClock test.
29365         Implemented clock distribution code in GstBin.
29366         Implemented iterate sinks method for future use.
29367         Rearranged gstelement.h
29368         Fix GstIterator comparison bug.
29369         Moved some code to GstPipeline, mostly clocking related.
29370
29371 2005-03-09  Wim Taymans  <wim@fluendo.com>
29372
29373         * configure.ac:
29374         * gst/gst_private.h:
29375         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29376         (gst_bin_remove_func), (gst_bin_remove),
29377         (gst_bin_get_by_name_recurse_up):
29378         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29379         (gst_clock_id_compare_func), (gst_clock_id_wait),
29380         (gst_clock_id_wait_async), (gst_clock_init),
29381         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29382         * gst/gstelement.h:
29383         * gst/gstinfo.c: (_gst_debug_init):
29384         * gst/gstobject.h:
29385         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29386         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29387         * gst/gstpad.h:
29388         Bump version number, we're now 0.9.0
29389         Add future debugging category.
29390         Fix NULL _unref() in _get_by_name_recurse_up
29391         Rearrange gstpad.h.
29392         Update some docs.
29393
29394 2005-03-08  Wim Taymans  <wim@fluendo.com>
29395
29396         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29397         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29398         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29399         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29400         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29401         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29402         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29403         * gst/elements/gstidentity.c: (gst_identity_class_init):
29404         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29405         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29406         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29407         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29408         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29409         (gst_tee_link):
29410         * gst/gstelement.c: (gst_element_class_init),
29411         (gst_element_base_class_init), (gst_element_init),
29412         (gst_element_get_random_pad), (gst_element_wait_state_change),
29413         (gst_element_change_state), (gst_element_dispose),
29414         (gst_element_finalize), (gst_element_set_loop_function):
29415         * gst/gstelement.h:
29416         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29417         * gst/gstthread.c: (gst_thread_class_init),
29418         (gst_thread_release_children_locks), (gst_thread_change_state):
29419         * gst/schedulers/gstbasicscheduler.c:
29420         (gst_basic_scheduler_loopfunc_wrapper),
29421         (gst_basic_scheduler_chain_wrapper),
29422         (gst_basic_scheduler_src_wrapper),
29423         (gst_basic_scheduler_remove_element):
29424         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29425         Remove threadsafe properties. Fix elements because GObject
29426         complains when installing a property before declaring a
29427         set/get_property handler.
29428         Rearrange gstelement.h file, use STATE macros for state locks.
29429         Free mutexes in the finalize method instead of dispose.
29430
29431 2005-03-08  Wim Taymans  <wim@fluendo.com>
29432
29433         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29434         * gst/gstthread.c: (gst_thread_release_children_locks):
29435         Added parentage check.
29436         Fix build og GstThread again.
29437
29438 2005-03-08  Wim Taymans  <wim@fluendo.com>
29439
29440         * docs/design/part-MT-refcounting.txt:
29441         * docs/design/part-conventions.txt:
29442         * docs/design/part-gstobject.txt:
29443         * docs/design/part-relations.txt:
29444         * docs/design/part-standards.txt:
29445         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29446         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29447         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29448         (gst_bin_iterate_all_by_interface):
29449         * gst/gstbuffer.h:
29450         * gst/gstclock.h:
29451         * gst/gstelement.c: (gst_element_class_init),
29452         (gst_element_change_state), (gst_element_set_loop_function):
29453         * gst/gstelement.h:
29454         * gst/gstiterator.c:
29455         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29456         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29457         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29458         (gst_object_set_parent), (gst_object_unparent),
29459         (gst_object_check_uniqueness):
29460         * gst/gstobject.h:
29461         Docs updates, clean up some headers.
29462
29463 2005-03-07  Wim Taymans  <wim@fluendo.com>
29464
29465         * check/.cvsignore:
29466         * check/Makefile.am:
29467         * check/gst-libs/.cvsignore:
29468         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29469         * check/gst/.cvsignore:
29470         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29471         (START_TEST), (gstbus_suite), (main):
29472         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29473         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29474         (gst_data_suite), (main):
29475         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29476         (add_fold_func), (gstiterator_suite), (main):
29477         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29478         (thread_name_object), (thread_name_object_default),
29479         (gst_object_name_compare), (gst_object_suite), (main):
29480         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29481         (gst_pad_suite), (main):
29482         * check/gstcheck.c: (gst_check_log_message_func),
29483         (gst_check_log_critical_func), (gst_check_init):
29484         * check/gstcheck.h:
29485         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29486         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29487         Added checks.
29488
29489 2005-03-07  Wim Taymans  <wim@fluendo.com>
29490
29491         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29492         (gst_list_iterator_next), (gst_list_iterator_resync),
29493         (gst_list_iterator_free), (gst_iterator_new_list),
29494         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29495         (gst_iterator_free), (gst_iterator_push), (filter_next),
29496         (filter_resync), (filter_uninit), (filter_free),
29497         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29498         (gst_iterator_foreach), (find_custom_fold_func),
29499         (gst_iterator_find_custom):
29500         * gst/gstiterator.h:
29501         Added missing files.
29502
29503 2005-03-07  Wim Taymans  <wim@fluendo.com>
29504
29505         * Makefile.am:
29506         * configure.ac:
29507         * docs/design/part-MT-refcounting.txt:
29508         * docs/design/part-conventions.txt:
29509         * docs/design/part-gstobject.txt:
29510         * docs/design/part-relations.txt:
29511         * examples/mixer/mixer.c: (main):
29512         * examples/thread/thread.c: (eos), (main):
29513         * gst/Makefile.am:
29514         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29515         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29516         (gst_spider_plug_from_srcpad):
29517         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29518         (gst_spider_identity_change_state),
29519         (gst_spider_identity_sink_loop_type_finding):
29520         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29521         * gst/elements/gstidentity.c: (gst_identity_init):
29522         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29523         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29524         * gst/elements/gsttypefindelement.c: (free_entry):
29525         * gst/gst.c:
29526         * gst/gst.h:
29527         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29528         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29529         (gst_bin_set_index), (gst_bin_set_element_sched),
29530         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29531         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29532         (gst_bin_iterate_elements), (iterate_child_recurse),
29533         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29534         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29535         (compare_interface), (gst_bin_get_by_interface),
29536         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29537         * gst/gstbin.h:
29538         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29539         (gst_buffer_default_free), (gst_buffer_default_copy),
29540         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29541         (gst_buffer_create_sub):
29542         * gst/gstbuffer.h:
29543         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29544         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29545         (gst_caps_unref), (gst_static_caps_get),
29546         (gst_caps_remove_and_get_structure), (gst_caps_append),
29547         (gst_caps_append_structure), (gst_caps_remove_structure),
29548         (gst_caps_copy_nth), (gst_caps_set_simple),
29549         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29550         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29551         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29552         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29553         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29554         (gst_caps_structure_figure_out_union),
29555         (gst_caps_switch_structures), (gst_caps_do_simplify),
29556         (gst_caps_replace), (gst_caps_from_string),
29557         (gst_caps_copy_conditional):
29558         * gst/gstcaps.h:
29559         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29560         (_gst_clock_id_free), (gst_clock_id_unref),
29561         (gst_clock_id_compare_func), (gst_clock_id_wait),
29562         (gst_clock_id_wait_async), (gst_clock_class_init),
29563         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29564         (gst_clock_get_time), (gst_clock_set_time_adjust),
29565         (gst_clock_set_property), (gst_clock_get_property):
29566         * gst/gstclock.h:
29567         * gst/gstcompat.h:
29568         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29569         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29570         * gst/gstdata.h:
29571         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29572         (gst_element_requires_clock), (gst_element_provides_clock),
29573         (gst_element_set_clock), (gst_element_clock_wait),
29574         (gst_element_wait), (gst_element_set_time_delay),
29575         (gst_element_is_indexable), (gst_element_add_pad),
29576         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29577         (pad_compare_name), (gst_element_get_static_pad),
29578         (gst_element_request_pad), (gst_element_get_request_pad),
29579         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29580         (gst_element_class_get_pad_template_list),
29581         (gst_element_class_get_pad_template), (gst_element_error_func),
29582         (gst_element_get_random_pad), (gst_element_get_event_masks),
29583         (gst_element_send_event), (gst_element_seek),
29584         (gst_element_get_query_types), (gst_element_query),
29585         (gst_element_get_formats), (gst_element_convert),
29586         (gst_element_is_locked_state), (gst_element_set_locked_state),
29587         (gst_element_sync_state_with_parent), (gst_element_change_state),
29588         (gst_element_finalize), (gst_element_yield),
29589         (gst_element_interrupt), (gst_element_set_scheduler),
29590         (gst_element_get_scheduler), (gst_element_set_loop_function):
29591         * gst/gstelement.h:
29592         * gst/gstevent.h:
29593         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29594         (gst_format_get_by_nick), (gst_format_get_details),
29595         (gst_format_iterate_definitions):
29596         * gst/gstformat.h:
29597         * gst/gstindex.c: (gst_index_gtype_resolver):
29598         * gst/gstinfo.c:
29599         * gst/gstinfo.h:
29600         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29601         (gst_mem_chunk_free):
29602         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29603         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29604         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29605         (gst_object_dispatch_properties_changed),
29606         (gst_object_set_name_default), (gst_object_set_name),
29607         (gst_object_get_name), (gst_object_set_name_prefix),
29608         (gst_object_get_name_prefix), (gst_object_set_parent),
29609         (gst_object_get_parent), (gst_object_unparent),
29610         (gst_object_check_uniqueness), (gst_object_save_thyself),
29611         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29612         (gst_object_set_property), (gst_object_get_property),
29613         (gst_object_get_path_string):
29614         * gst/gstobject.h:
29615         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29616         (gst_real_pad_init), (gst_real_pad_get_property),
29617         (gst_pad_custom_new), (gst_pad_get_direction),
29618         (gst_pad_set_active), (gst_pad_is_active),
29619         (gst_pad_set_event_function), (gst_pad_is_linked),
29620         (gst_pad_link_free), (gst_pad_link_intersect),
29621         (gst_pad_link_fixate), (gst_pad_set_caps),
29622         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29623         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29624         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29625         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29626         (gst_pad_get_caps), (gst_pad_peer_get_caps),
29627         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29628         (gst_pad_realize), (gst_pad_get_allowed_caps),
29629         (gst_real_pad_dispose), (gst_real_pad_finalize),
29630         (gst_pad_collectv), (gst_pad_collect_valist),
29631         (gst_pad_template_dispose), (gst_pad_template_new),
29632         (gst_pad_get_internal_links):
29633         * gst/gstpad.h:
29634         * gst/gstpipeline.c: (gst_pipeline_dispose),
29635         (gst_pipeline_change_state):
29636         * gst/gstpipeline.h:
29637         * gst/gstplugin.c:
29638         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29639         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29640         * gst/gstpluginfeature.h:
29641         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29642         * gst/gstquery.c: (_gst_query_type_initialize),
29643         (gst_query_type_register), (gst_query_type_get_by_nick),
29644         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29645         * gst/gstquery.h:
29646         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29647         * gst/gstscheduler.c: (gst_scheduler_add_element),
29648         (gst_scheduler_factory_create):
29649         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29650         (gst_structure_free), (gst_structure_set_name),
29651         (gst_structure_id_set_value), (gst_structure_set_value),
29652         (gst_structure_set_valist), (gst_structure_remove_field),
29653         (gst_structure_remove_fields),
29654         (gst_structure_remove_fields_valist),
29655         (gst_structure_remove_all_fields), (gst_structure_foreach),
29656         (gst_structure_map_in_place),
29657         (gst_caps_structure_fixate_field_nearest_int),
29658         (gst_caps_structure_fixate_field_nearest_double):
29659         * gst/gststructure.h:
29660         * gst/gstsystemclock.c: (gst_system_clock_class_init),
29661         (gst_system_clock_init), (gst_system_clock_dispose),
29662         (gst_system_clock_async_thread),
29663         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29664         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29665         * gst/gstsystemclock.h:
29666         * gst/gsttag.c: (gst_tag_list_add_value_internal),
29667         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29668         * gst/gsttaginterface.c:
29669         * gst/gstthread.c: (gst_thread_dispose),
29670         (gst_thread_release_children_locks), (gst_thread_change_state),
29671         (gst_thread_main_loop):
29672         * gst/gsttrashstack.h:
29673         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29674         * gst/gsttypes.h:
29675         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29676         (gst_element_request_pad), (gst_element_get_pad_from_template),
29677         (gst_element_request_compatible_pad),
29678         (gst_element_get_compatible_pad_filtered),
29679         (gst_element_get_compatible_pad), (gst_element_state_get_name),
29680         (gst_element_link_pads_filtered), (gst_element_link_filtered),
29681         (gst_element_link_many), (gst_element_link),
29682         (gst_element_link_pads), (gst_element_unlink_pads),
29683         (gst_element_unlink_many), (gst_element_unlink),
29684         (gst_pad_can_link_filtered), (gst_pad_can_link),
29685         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29686         (gst_object_default_error), (gst_bin_add_many),
29687         (gst_bin_remove_many), (gst_element_populate_std_props),
29688         (gst_element_class_install_std_props), (gst_buffer_merge),
29689         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29690         (link_fold_func), (gst_pad_proxy_setcaps):
29691         * gst/gstutils.h:
29692         * gst/gstvalue.c: (gst_value_deserialize_string):
29693         * gst/parse/grammar.y:
29694         * gst/schedulers/gstbasicscheduler.c:
29695         (gst_basic_scheduler_cothreaded_chain),
29696         (gst_basic_scheduler_chain_recursive_add),
29697         (gst_basic_scheduler_pad_link):
29698         * gst/schedulers/gstoptimalscheduler.c:
29699         (get_group_schedule_function),
29700         (gst_opt_scheduler_state_transition),
29701         (gst_opt_scheduler_add_element), (element_get_reachables_func):
29702         * libs/gst/bytestream/bytestream.c:
29703         * libs/gst/dataprotocol/dataprotocol.c:
29704         (gst_dp_header_from_buffer):
29705         * po/nb.po:
29706         * po/ru.po:
29707         * tests/threadstate/threadstate2.c: (eos):
29708         * tools/gst-compprep.c: (main):
29709         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29710         (print_pad_info), (print_children_info):
29711         * tools/gst-launch.c: (idle_func), (main):
29712         * tools/gst-md5sum.c: (idle_func), (main):
29713         * tools/gst-xmlinspect.c: (print_element_info):
29714         First THREADED backport attempt, focusing on adding locks and
29715         making sure the API is threadsafe. Needs more work. More docs
29716         follow this week.
29717
29718 2005-02-24  Andy Wingo  <wingo@pobox.com>
29719
29720         * tests/bench-complexity.scm:
29721         * tests/complexity.gnuplot: New files, good for running complexity
29722         benchmarks.
29723
29724         * tests/Makefile.am:
29725         * tests/complexity.c: New test, sets up N elements, at each level
29726         teeing into M streams per element. Eeeenteresting.
29727
29728         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29729         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29730         running bench-mass_elements.scm.
29731
29732         * tests/bench-mass_elements.scm: New script, runs mass_elements
29733         for various numbers of identities, outputting the results to a
29734         file. Requires guile 1.6. Just for testing.
29735
29736 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29737
29738         * gst/schedulers/fairscheduler.c:
29739           compile with debug disabled
29740
29741 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29742
29743         * configure.ac:
29744           hunting season on 0.9 is now OPEN