plugins/elements/: Remove short_description. Add basic docs for gsttypefindelement.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2
3         * plugins/elements/gstcapsfilter.c:
4         * plugins/elements/gstfakesink.c:
5         * plugins/elements/gstfakesrc.c:
6         * plugins/elements/gstfdsink.c:
7         * plugins/elements/gstfdsrc.c:
8         * plugins/elements/gstfilesink.c:
9         * plugins/elements/gstfilesrc.c:
10         * plugins/elements/gstidentity.c:
11         * plugins/elements/gstmultiqueue.c:
12         * plugins/elements/gstqueue.c:
13         * plugins/elements/gsttee.c:
14         * plugins/elements/gsttypefindelement.c:
15           Remove short_description. Add basic docs for gsttypefindelement.
16           Simplify markup for fakesrc/fdsrc.
17
18 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
19
20         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
21         Added Since doc.
22
23 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
24
25         Patch by: joel larsson <tilljoel at gmail dot com>
26
27         * docs/plugins/gstreamer-plugins.args:
28         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
29         (gst_fd_src_init), (gst_fd_src_update_fd),
30         (gst_fd_src_set_property), (gst_fd_src_get_property),
31         (gst_fd_src_create):
32         * plugins/elements/gstfdsrc.h:
33         Add timeout property like udpsrc. Fixes #538628.
34         Add some more docs and example pipelines.
35
36 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
37
38         * docs/libs/gstreamer-libs-sections.txt:
39         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
40         (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
41         (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
42         (gst_base_sink_do_sync):
43         * libs/gst/base/gstbasesink.h:
44         * win32/common/libgstbase.def:
45         Add method to allow sinks to specify additional delay between the sync
46         times and the actual rendering of the data.
47         API: gst_base_sink_set_render_delay()
48         API: gst_base_sink_get_render_delay()
49
50 2008-06-20  Jan Schmidt  <jan.schmidt@sun.com>
51
52         * configure.ac:
53         Bump version number back to dev -> 0.10.20.1
54
55 2008-06-20  Sebastian Dröge  <slomo@circular-chaos.org>
56
57         * docs/gst/gstreamer-sections.txt:
58         * gst/gsttaglist.c: (_gst_tag_initialize):
59         * gst/gsttaglist.h:
60         API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
61         Fixes bug #538568.
62
63 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
64
65         * libs/gst/controller/gstcontroller.c:
66           Revert one change, that make ret value possible uninitialized.
67
68 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
69
70         * libs/gst/controller/gstcontroller.c:
71           Use freeze/thaw notify to sync notify emission a bit (its also more
72           efficient). Move debug output to LOG (is called a lot in a loop).
73           Always unset g_values if the have been initialized.
74
75 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
76
77         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
78         (gst_base_sink_wait_eos), (gst_base_sink_event):
79         If we have not seen a buffer before EOS, use the segment values to
80         report the current position instead of invalid positions.
81
82 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
83
84         * docs/plugins/tmpl/.cvsignore:
85         * tests/check/gst/.cvsignore:
86           Ignore more.
87
88 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
89
90         * libs/gst/controller/gstinterpolation.c:
91         * libs/gst/controller/gstinterpolationcontrolsource.c:
92         * tests/check/libs/controller.c:
93           Rewrite handling of default values. Fix overflow with unsigned types
94           in linear interpolation. Remove now obsolete _first_value() function.
95           Add more tests. Fixes #538201.
96
97 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
98
99         * libs/gst/base/gstbasetransform.c:
100         (gst_base_transform_class_init), (gst_base_transform_init),
101         (gst_base_transform_transform_caps),
102         (gst_base_transform_prepare_output_buffer):
103         Add debug info.
104         When a buffer is writable, its metadata is also writable so we don't
105         need to subbuffer (which then makes the buffer not-writable anymore).
106
107 === release 0.10.20 ===
108
109 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
110
111         * configure.ac:
112           releasing 0.10.20, "You Crazy Diamond"
113
114 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
115
116         * configure.ac:
117         0.10.19.3 pre-release
118
119 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
120
121         * configure.ac:
122         * gst/gstpreset.c:
123         Rename DATADIR to GST_DATADIR to avoid build problems
124         on win32. Patch By: David Schleef <ds@schleef.org>
125         Fixes: #536857
126
127 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
128
129         * configure.ac:
130         Explicitely link with -ldl if dladdr() is found there. Before it was
131         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
132         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
133
134 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
135
136         * gst/gsterror.c: (_gst_stream_errors_init):
137           Fix typo (spotted by Fabricio Godoy, #536723).
138
139 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
140
141         * configure.ac:
142         0.10.19.2 pre-release
143
144 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
145
146         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
147         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
148         Add some debug.
149         Make sure we don't generate invalid QoS messages.
150
151 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
152
153         * gst/gstevent.c: (gst_event_new_qos):
154         Add some assert and docs for invalid input to the qos function.
155
156 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
157
158         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
159         (gst_base_sink_get_position):
160         The reported position must always be smaller than the last seen
161         timestamps (or timestamp + duration for reverse).
162
163 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
164
165         Patch by: Rob Bradford <rob at robster dot org dot uk>
166
167         * gst/gstregistry.c: (gst_registry_scan_path_level):
168         Don't recurse into .debug directories as some distros install
169         the debugging symbols next to the plugins in .debug directories
170         and dlopen() crashes on them sometimes. Fixes bug #508070.
171
172         Add FIXME for 0.11 to not recurse into directories at all because
173         it's very inconsistent to the behaviour of other PATH environment
174         variables.
175
176 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
177
178         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
179         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
180         Fix position query range checks in reverse playback.
181
182 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
183
184         * gst/gstelement.c:
185         * gst/gstelement.h:
186         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
187         clear of the reference to the resulting pad must be released later
188         or not, resulting in possible leaks. Fixes bug #533865.
189
190 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
191
192         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
193
194         * gst/gstelementfactory.c:
195         Small doc fix. Fixes #535285.
196
197 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
198
199         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
200
201         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
202         (gst_base_src_get_range), (gst_base_src_pad_get_range),
203         (gst_base_src_loop), (gst_base_src_set_flushing),
204         (gst_base_src_change_state):
205         Make sending an EOS event to the basesrc non-blocking even if the
206         implementation does blocking waits in the create function. This is done
207         by unlocking the create function when EOS is sent.
208         Fixes #535218.
209
210 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
211
212         * tools/gst-inspect.c: (print_element_properties_info):
213         If possible print the element type of GValueArray properties.
214
215 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
216
217         * gst/gstiterator.c:
218         Remove an unused field from the private GstListIterator struct.
219
220 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
221
222         * libs/gst/controller/gstcontroller.c:
223           Add parameter guards.
224
225 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
226
227         * tests/check/gst/gstpipeline.c:
228           Revert test change and add comment why it should not work.
229
230 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
231
232         * tests/check/gst/gstpipeline.c:
233           Extending the test a little to verify that we also get the NULL state-
234           change message.
235
236 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
237
238         * gst/gstpreset.c: (gst_preset_default_get_meta),
239           (gst_preset_get_preset_names), (gst_preset_get_property_names),
240           (gst_preset_load_preset), (gst_preset_save_preset),
241           (gst_preset_rename_preset), (gst_preset_delete_preset),
242           (gst_preset_set_meta):
243           Add Since: markers to docs blurbs.
244
245         * win32/common/libgstreamer.def:
246           Add recently-added API.
247
248 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
249
250         Patch by: Stefan Kost  <ensonic@users.sf.net>
251
252         * configure.ac:
253         Add DATADIR for storing presets.
254
255         * docs/gst/gstreamer-docs.sgml:
256         * docs/gst/gstreamer-sections.txt:
257         * docs/gst/gstreamer.types.in:
258         Add GstPreset to docs.
259
260         * gst/Makefile.am:
261         * gst/gst.h:
262         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
263         (preset_open_and_parse_header), (preset_parse_version),
264         (preset_merge), (preset_get_keyfile),
265         (gst_preset_default_get_preset_names),
266         (gst_preset_default_get_property_names),
267         (gst_preset_default_load_preset),
268         (gst_preset_default_save_presets_file),
269         (gst_preset_default_save_preset),
270         (gst_preset_default_rename_preset),
271         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
272         (gst_preset_default_get_meta), (gst_preset_default_randomize),
273         (gst_preset_default_reset), (gst_preset_get_preset_names),
274         (gst_preset_get_property_names), (gst_preset_load_preset),
275         (gst_preset_save_preset), (gst_preset_rename_preset),
276         (gst_preset_delete_preset), (gst_preset_set_meta),
277         (gst_preset_get_meta), (gst_preset_class_init),
278         (gst_preset_base_init), (gst_preset_get_type):
279         * gst/gstpreset.h:
280         Add GstPreset to core. Fixes #396779
281
282         * tests/check/Makefile.am:
283         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
284         (gst_preset_test_set_property), (gst_preset_test_class_init),
285         (gst_preset_test_base_init), (gst_preset_test_get_type),
286         (gst_preset_test_plugin_init), (GST_START_TEST),
287         (remove_preset_file), (test_setup), (test_teardown),
288         (gst_preset_suite):
289         Add GstPreset unit tests.
290
291 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
292
293         * gst/gstpad.c: (gst_pad_event_default_dispatch):
294         The default event function on a sinkpad should return TRUE when
295         there are no internal links but should collect the return values from
296         the internal links otherwise.
297
298 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
299
300         * plugins/elements/gsttypefindelement.c:
301         (gst_type_find_element_src_event),
302         (gst_type_find_element_handle_event):
303         Use faster and safer _pad_push_event().
304
305 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
306
307         * docs/gst/gstreamer-sections.txt:
308         * gst/gstutils.c: (element_find_unlinked_pad),
309           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
310         * gst/gstutils.h:
311           API: add gst_bin_find_unlinked_pad()
312           API: deprecate gst_bin_find_unconnected_pad() (#401456)
313
314 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
315
316         * gst/gstclock.c:
317         * gst/gstclock.h:
318         * gst/gsttask.c:
319         * gst/gsttask.h:
320         Fixed a bunch of typos.
321
322 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
323
324         * gst/gstpad.h:
325         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
326           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
327           (gst_parse_bin_from_description_full):
328         * gst/gstutils.h:
329           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
330
331 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
332
333         * docs/pwg/advanced-tagging.xml:
334           Small docs update, can't be bothered to rewrite the nonsensical
335           examples right now.
336
337 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
338
339         * gst/gstevent.h:
340           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
341
342 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
343
344         * gst/parse/grammar.y:
345           Remove unneeded casts.
346
347 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
348
349         * gst/parse/grammar.y:
350         * tests/check/pipelines/parse-launch.c:
351           Get all missing elements from a parse launch string if possible
352           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
353
354 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
355
356         * tests/check/Makefile.am:
357         * tests/check/pipelines/parse-launch.c:
358           Add some unit tests for the new gst_parse_launch*_full() API.
359           (Exposes a previously-existing memory leak in the error code
360           path, so adding to VALGRIND_TO_FIX for now).
361
362 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
363
364         * docs/gst/gstreamer-sections.txt:
365         * gst/gst.c: (init_post):
366         * gst/gst_private.h: (_GstParseContext):
367         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
368           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
369           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
370           (gst_parse_launch_full):
371         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
372           (GstParseFlags), (GstParseContext):
373         * gst/gstutils.c: (gst_parse_bin_from_description),
374           (gst_parse_bin_from_description_full):
375         * gst/gstutils.h:
376         * gst/parse/grammar.y:
377         * gst/parse/types.h:
378         * win32/common/libgstreamer.def:
379           Add new gst_parse_*_full API (#528178):
380           API: gst_parse_launch_full()
381           API: gst_parse_launchv_full()
382           API: gst_parse_bin_from_description_full()
383           API: gst_parse_context_new()
384           API: gst_parse_context_free()
385           API: gst_parse_context_get_missing_elements()
386
387 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
388
389         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
390
391         * docs/faq/gst-uninstalled:
392           Also support ffmpeg in gst-uninstalled.
393
394 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
395
396         * configure.ac:
397         After discussion on IRC use the binary registry as default
398         but allow to disable it with --disable-binary-registry.
399
400         * win32/common/libgstreamer.def:
401         Add the two new symbols for the binary registry.
402
403 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
404
405         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
406         * gst/gstutils.c: (gst_parse_bin_from_description):
407         * gst/parse/grammar.y: (graph):
408           More guards against bad input; typo fix; some minor clean-ups.
409
410 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
411
412         Patch by: Sjoerd Simons <sjoerd at luon dot net>
413
414         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
415         If nothing else can be used, use the last buffer's start time as
416         the segment's last stop. Fixes bug #534258.
417
418 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
419
420         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
421           Move size sanity check to the right place: downstream may return
422           a buffer with a smaller size if the buffer caps are different than
423           the requested ones, as may happen when doing reverse negotiation.
424
425 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
426
427         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
428         (gst_file_sink_render):
429         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
430         (gst_file_src_start):
431         Small cleanups. Add note adbout g_fopen() on windows and why we don't
432         use it yet.
433
434 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
435
436         * gst/gstpad.c: (gst_pad_load_and_link):
437         * gst/gstutils.c: (gst_element_link_pads),
438         (gst_element_unlink_pads):
439         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
440         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
441         (gst_check_teardown_sink_pad),
442         (gst_check_element_push_buffer_list):
443         * tests/check/elements/fakesink.c: (GST_START_TEST):
444         * tests/check/elements/filesink.c:
445         * tests/check/elements/filesrc.c: (GST_START_TEST):
446         * tests/check/elements/multiqueue.c: (setup_multiqueue),
447         (mq_sinkpad_to_srcpad):
448         * tests/check/elements/tee.c: (GST_START_TEST):
449         * tests/check/generic/sinks.c: (GST_START_TEST):
450         * tests/check/gst/gstbin.c: (GST_START_TEST):
451         * tests/check/gst/gstevent.c: (GST_START_TEST):
452         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
453         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
454         * tests/check/gst/gstquery.c: (GST_START_TEST):
455         * tests/check/gst/gstutils.c: (GST_START_TEST):
456         * tests/check/libs/basesrc.c: (GST_START_TEST):
457         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
458         (gst_parse_test_element_change_state):
459         Don't use gst_element_get_pad().
460
461 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
462
463         * docs/Makefile.am:
464         Fix installing plugin documentation when gtk-doc is disabled.
465
466 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
467
468         * docs/manual/advanced-autoplugging.xml:
469         * docs/manual/basics-helloworld.xml:
470         * docs/manual/basics-pads.xml:
471         * docs/manual/highlevel-components.xml:
472         Avoid using a bad function in the example code.
473
474 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
475
476         * gst/gstclock.c: (gst_clock_set_calibration):
477         Fix debug of the new clock rate.
478
479 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
480
481         * win32/common/libgstbase.def:
482         Add gst_base_sink_wait_clock() to the exported symbols.
483
484 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
485
486         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
487
488         * libs/gst/base/gstbasetransform.c:
489         (gst_base_transform_sink_event):
490         Unref events that the GstBaseTransform::event vfunc didn't want to
491         have forwarded by the base class. Closes a leak in identity.
492         Fixes bug #446763.
493
494 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
495
496         * docs/libs/gstreamer-libs-sections.txt:
497         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
498         * libs/gst/base/gstbasesink.h:
499         Expose a method that was previously used internally to synchronize
500         against the clock because it can be useful for subclasses too.
501         API: GstBaseSink::gst_base_sink_wait_clock()
502
503 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
504
505         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
506           Add sanity check to make sure we don't get smaller buffers
507           than requested (and fallback to normal buffer alloc if we do).
508
509 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
510
511         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
512         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
513         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
514         Refactor adjusting the running_time with latency and offset into a
515         separate method.
516         When doing clipping, we still want to use the subclass get_times method,
517         just in case the DURATION or TIMESTAMP are not set.
518
519 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
520
521         * docs/gst/gstreamer-sections.txt:
522         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
523         * gst/gsttypefind.h:
524         * win32/common/libgstreamer.def:
525           API: add gst_type_find_suggest_simple(), #533740.
526
527 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
528
529         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
530           Use right error code when typefinding fails, so we can use
531           the default (translated) error messages.
532
533 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
534
535         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
536         (gst_base_src_start):
537         When the subclass did not set caps on outgoing buffers, configure the
538         caps we negotiated on the source pad.
539         When the typefind helper does not find caps, error out properly instead
540         of doing things with NULL caps.
541
542 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
543
544         * gst/gsttypefind.h:
545           Tabs to spaces, oh yes!
546
547 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
548
549         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
550           Add David's and Benjamin's tests for array intersection to the
551           unit test suite (#147931).
552
553 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
554
555         * gst/gstevent.c:
556           Document that gst_event_new_tag() and gst_event_new_navigation()
557           take ownership of the taglist/structure passed to them. (#533635).
558
559 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
560
561         * docs/Makefile.am:
562         Don't descend into the plugins dir if plugin docs building
563         is disabled.
564
565         * docs/README:
566         Add a note about the new type:GTypeName syntax for the plugin
567         documentation .types file.
568
569 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
570
571         * gst/gstmessage.c: (gst_message_new_error),
572         (gst_message_new_warning), (gst_message_new_info):
573         * gst/gstmessage.h:
574         Mark the debug string parameters as const. Fixes bug #533490.
575
576 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
577
578         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
579         Sort buffer cache list by end offsets. This makes sure that we don't
580         stop to search for a cached buffer that contains the requested data
581         too early.
582         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
583         more efficient. Fixes bug #459862.
584
585 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
586
587         * gst/gstinfo.c:
588           Explain why we copy the list.
589
590         * gst/gstpipeline.c:
591           Improve docs.
592
593         * gst/gstutils.c:
594           Add one debug-log statement to help tracing probelms with linking pads.
595
596 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
597
598         * tests/check/gst/gstinfo.c:
599         Add a test for removing the default log handler. Seems to fail under
600         windows.
601
602 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
603
604         * gst/gstpad.c: (gst_pad_peer_accept_caps):
605         Release pad lock before calling out to avoid a possible deadlock.
606
607 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
608
609         * gst/parse/grammar.y:
610         Remove unneeded value unset.
611
612         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
613         Add unit test for de/serialization of caps.
614
615 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
616
617         * plugins/elements/gstfakesink.c:
618         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
619         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
620         (gst_fake_src_class_init):
621         Use custom marshalers that take GstMiniObject as first parameter.
622         Using OBJECT as parameter while a GstMiniObject is given will lead
623         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
624
625 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
626
627         * plugins/elements/gsttypefindelement.c:
628         (gst_type_find_element_handle_event),
629         (gst_type_find_element_send_cached_events),
630         (gst_type_find_element_change_state):
631         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
632         immediately.
633
634 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
635
636         * plugins/elements/gsttypefindelement.c:
637         (gst_type_find_handle_src_query), (stop_typefinding),
638         (gst_type_find_element_handle_event),
639         (gst_type_find_element_send_cached_events),
640         (gst_type_find_element_change_state):
641         Forward FLUSH_START events immediately and clean up instead of
642         caching them.
643
644 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
645
646         Patch by: Sjoerd Simons <sjoerd at luon dot net>
647
648         * libs/gst/base/gstbasetransform.c:
649         (gst_base_transform_buffer_alloc):
650         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
651         fall back to default negotiation in the chain function if the caps
652         are different from what was requested. Fixes bug #526768.
653
654 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
655
656         * gst/gstsegment.c:
657         * tests/check/gst/gstsegment.c:
658           No, let's not use g_slice_{dup|copy} here, since they only exist
659           since GLib 2.14 and we still depend only on >= 2.12. Also add
660           unit test for gst_segment_copy().
661
662 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
663
664         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
665           Try to fix 'dereferencing type-punned pointer will break strict
666           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
667           changed the default GType typedef from gulong to gsize at some point,
668           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
669           g_once_* functions all take a gsize * though, so work around the type
670           mismatch for C++ by doing everything in gsize and casting to GType
671           later.
672
673 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
674
675         * plugins/elements/gstmultiqueue.c:
676         Add documentation for the signals to push our core plugin docs
677         coverage back up to 100%.
678
679 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
680
681         * gst/gstinfo.h (GST_FUNCTION):
682           Reverted GST_FUNCTION to the old version as we don't want the
683           full signature in C++ code. Also added support for MSVC.
684
685 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
686
687         * gst/gstutils.h:
688         Intern the type name string, similar to what G_DEFINE_TYPE does.
689
690 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
691
692         * gst/gstutils.h:
693         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
694
695 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
696
697         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
698
699         * libs/gst/base/gstbasetransform.c:
700         (gst_base_transform_buffer_alloc):
701         Don't passthrough buffer allocation too easily if the caps change.
702         This breaks when working in passthrough mode and upstream changes
703         it's caps. Fixes bug #526768.
704
705 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
706
707         * gst/gstinfo.c (gst_debug_log_valist):
708           Improved the __FILE__ part of debug output for MSVC.
709
710 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
711
712         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
713           Declaration after statement fix for compilers like MSVC.
714
715 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
716
717         * win32/common/config.h.in:
718           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
719           use the real thing than having "???" unconditionally.
720
721 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
722
723         * gst/gstinfo.h (GST_FUNCTION):
724           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
725
726 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
727
728         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
729         Small code cleanup.
730
731         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
732         (gst_base_sink_set_flushing):
733         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
734         Fix some comments.
735
736 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
737
738         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
739         (gst_fake_src_init), (gst_fake_src_set_property),
740         (gst_fake_src_get_property), (gst_fake_src_start):
741         * plugins/elements/gstfakesrc.h:
742         Added format property to control the format of the newsegment events.
743         API: GstFakeSrc:format
744
745 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
746
747         * win32/common/libgstreamer.def:
748         Add gst_pad_has_name() to the exported symbols.
749
750 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
751
752         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
753         * libs/gst/base/gstbasetransform.c:
754         (gst_base_transform_prepare_output_buffer):
755         Don't allow negative sizes when allocating new buffers.
756         Fixes bug #461253.
757
758 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
759
760         Patch by: Sjoerd Simons <sjoerd at luon net>
761
762         * gst/gstbus.c: (gst_bus_source_dispatch):
763           Don't print a warning if the queue is empty when we try to pop
764           here. That could happen if another thread or callback set the
765           bus to flushing between the source's check/prepare and the
766           dispatch being called (#531538).
767
768 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
769
770         * plugins/elements/gstmultiqueue.c:
771           Small docs fix.
772         
773 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
774
775         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
776         Add unit test for deserializing uint64s and check some really large
777         numbers in the int64 test.
778
779 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
780
781         * tools/gst-inspect.c: (n_print), (print_hierarchy),
782         (print_interfaces), (print_element_properties_info),
783         (print_signal_info):
784         Use "%s" as format string instead of printing strings directly.
785
786 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
787
788         * gst/gstclock.c: (gst_clock_set_calibration):
789         Make some checks actually useful.
790
791         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
792         Remove some unused code. Unsigned integers tend to be >= 0.
793
794 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
795
796         * gst/gstminiobject.c: (gst_value_get_mini_object):
797           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
798           function was not in the unscheduled 0.10.19 release.
799
800 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
801
802         * gst/gstregistry.c: (gst_registry_scan_path_level):
803           Only print one log message per non-plugin file.
804
805 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
806
807         * gst/gstinfo.c: (gst_debug_log_default):
808           Fix alignment of debug log columns on 64-bit.
809
810 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
811
812         * docs/libs/Makefile.am:
813         * docs/libs/gstreamer-libs-sections.txt:
814           Ignore private controller headers for docs.
815
816 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
817
818         * libs/gst/controller/gstcontrollerprivate.h:
819         * libs/gst/controller/gsthelper.c:
820         * libs/gst/controller/gstinterpolation.c:
821         * libs/gst/controller/gstinterpolationcontrolsource.c:
822         (gst_interpolation_control_source_set_interpolation_mode):
823         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
824         * libs/gst/controller/lib.c:
825         Move some private declarations into private headers.
826
827 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
828
829         * gst/gstdebugutils.c: (debug_dump_element_pad):
830         Remove some code that is unused after Stefan's refactoring and uses
831         uninitialized variables now, resulting in a compiler warning.
832
833 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
834
835         * gst/gstregistry.c: (gst_registry_scan_path_level):
836           Run g_str_has_suffix() only on the file name, not the
837           entire file path.
838
839 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
840
841         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
842           Since we're not called only from the chain function any longer,
843           we can't assume that there's always data in the queue, so move
844           the is_full check to the beginning of the loop (otherwise we'd
845           hit the assert when changing the limit properties while the
846           queue is empty or not running yet).
847           Also, only set a discont if items were actually removed from
848           the queue.
849
850         * tests/check/elements/queue.c: (test_leaky_downstream):
851           Test case for the above.
852
853 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
854
855         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
856
857         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
858         (gst_queue_chain), (queue_capacity_change),
859         (gst_queue_set_property):
860         When changing thr max capacity of a leaky queue, immediatly drop buffers
861         instead of waiting for a push on the sinkpad. Fixes #530637.
862
863 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
864
865         * gst/gstdebugutils.c:
866           Refactor code and fix handling of ghostpads and their proxypads.
867
868 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
869
870         * docs/gst/gstreamer-sections.txt:
871         * gst/gstevent.c: (gst_event_has_name):
872         * gst/gstevent.h:
873         * tests/check/gst/gstevent.c: (GST_START_TEST):
874         Add method to conveniently check the name of a custom event with
875         gst_event_has_name().
876         Reformat the event docs so that related methods are put together instead
877         of the default alphabetical sort.
878         Update unit test with new method.
879         API: GstEvent::gst_event_has_name()
880
881 2008-04-28  Michael Smith <msmith@songbirdnest.com>
882
883         * libs/gst/check/Makefile.am:
884           Don't add an explicit link to libgstreamer-0.10.la; it's already
885           included in GST_OBJ_LIBS.
886
887 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
888
889         * gst/gst.c:
890         Register GstClock type from a type-safe context. Fixes bug #530317.
891
892 2008-04-25  Michael Smith <msmith@songbirdnest.com>
893
894         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
895         * tools/gst-run.c:
896           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
897
898 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
899
900         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
901         (gst_bin_dispose):
902         Use the GLib stuff to create a private structure.
903         Add some locking around some dispose methods to make them a little
904         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
905
906 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
907
908         * libs/gst/base/gstbasesink.h:
909         * libs/gst/base/gstbasesrc.h:
910         * libs/gst/base/gstbasetransform.h:
911         * libs/gst/base/gstcollectpads.h:
912           Fix doc typos and unify caps a bit.
913
914 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
915
916         * tools/gst-launch.1.in:
917           Forgot to also add the envvar docs here.
918
919 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
920
921         * gst/gst.c: (init_post), (gst_deinit):
922         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
923           (test_concurrent_create), (gst_pipeline_suite):
924           Ref some more classes in gst_init() to work around thread-safety
925           issues in pre-2.16 GLibs, and add basic unit test.
926
927 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
928
929         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
930         (gst_base_sink_send_event):
931         Rearrange the latency query code. We always want to do the upstream
932         query, even if we are not live so that the upstream elements can get the
933         latency results too. If we fail doing the query and we are live, we
934         return TRUE afterwards.
935
936 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
937
938         patch by: Jason Zhao <e3423c@motorola.com>
939
940         * docs/gst/running.xml:
941         * gst/gst.c:
942           Enable/disable scan_and_update_registry() based on commandline switch
943           or environment variable. Fixes #520468.
944           
945         * ChangeLog:
946           Fix typo in my previous commit.
947
948 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
949
950         * gst/gstregistrybinary.c:
951           Add a warning if we hit unhandled factories when saving.
952           More debug logging detail, but move to LOG category.
953
954 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
955
956         * gst/gstregistry.c:
957           Tell the *truth* when improving the documentation.
958
959 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
960
961         * gst/gstelementfactory.c: (gst_element_factory_make):
962         Unref the factory after it was used the last time, not before.
963
964         * gst/gstindexfactory.c: (gst_index_factory_make):
965         Improve debugging a bit and don't leak a ref to the index factory with
966         each call.
967
968 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
969
970         * gst/gstregistry.c:
971           Improve the documentation.
972
973 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
974
975         * gst/gstsegment.c:
976           The glib macro seems to be borked. Use g_slice_copy directly and cast
977           in the hope that this fixes the warning on 64bit.
978
979 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
980
981         * gst/gstsegment.c:
982           Document the new function. Use g_slice_dup() (no need for
983           gst_segment_init()).    
984
985 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
986
987         * docs/gst/gstreamer-sections.txt:
988           Move GParamSepc macros to standart section.
989   
990         * gst/gstbin.c:
991           Dn't document _get_type - its in private section in docs anyway and
992           this doc-blob was incomplete.
993
994         * gst/gstclock.h:
995           Fix wrong symbol names in docs.
996
997         * gst/gstmacros.h:
998           Add once doc sentence.
999
1000         * tests/check/gst/.cvsignore:
1001           Ignore more.
1002
1003 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1004
1005         * docs/gst/Makefile.am:
1006           And remove those libs here.
1007
1008 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
1009
1010         * docs/libs/Makefile.am:
1011           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1012
1013 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
1014
1015         Patch by: Olivier Crete <tester at tester dot ca>
1016
1017         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1018         Add the min-threshold to the min latency if possible. Fixes #529148.
1019
1020 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1021
1022         * docs/gst/gstreamer.types.in:
1023           Stupid editor, I removed that line as it should go in yet.
1024
1025 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
1026
1027         * docs/gst/gstreamer.types.in:
1028         * docs/libs/gstreamer-libs.types:
1029           Remove library types fro core docs and have them in libs docs.
1030           Reformat and cleanup. Add comment for miniobject types.
1031
1032 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
1033
1034         * gst/gsturi.c: (gst_uri_get_protocol):
1035           Fix leak: g_strdown operates on the string in place, while
1036           g_ascii_strdown() returns a newly-allocated string.
1037
1038 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
1039
1040         * tools/gst-inspect.c: (print_uri_handler_info),
1041         (print_element_info):
1042         Print the URI protocols and the URI type supported by the element.
1043
1044 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1045
1046         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1047         Use g_value_take_string() instead of the deprecated
1048         g_value_set_string_take_ownership().
1049
1050 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1051
1052         * gst/gstregistrybinary.c: (_gst_crc32):
1053         Return the old CRC instead of 0 if we give a NULL buffer
1054         or a buffer with a length of 0.
1055
1056 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
1057
1058         * gst/gsturi.c: (gst_uri_protocol_check_internal),
1059         (gst_uri_get_protocol), (gst_uri_has_protocol),
1060         (gst_uri_construct), (gst_uri_handler_set_uri):
1061         A valid URI scheme can also include '+', '-' and '.' additional
1062         to alphanumeric characters as per RFC 3986 Section 3.1.
1063
1064         Handle URI schemes case insensitive in all places and convert
1065         to lower-case when constructing an URI or setting an URI with
1066         the GstURIHandler interface. Fixes bug #528868.
1067         All elements can still assume (as before) that they will
1068         get passed URIs with a lower-case URI scheme by the GstURIHandler
1069         interface.
1070
1071 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
1072
1073         * gst/gstcaps.c: (gst_static_caps_get):
1074         * gst/gstclock.c: (gst_clock_entry_new):
1075           Don't use g_atomic_set_int where it's not needed.
1076
1077 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
1078
1079         * gst/gstvalue.c: (gst_value_deserialize_caps):
1080         * gst/parse/grammar.y:
1081         Fix 2 caps leaks.
1082
1083 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1084
1085         * gst/gstutils.c: (gst_atomic_int_set):
1086         Use g_atomic_int_set() here too instead of assignment +
1087         g_atomic_int_get().
1088
1089 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1090         
1091         * gst/gstutils.c:
1092         * gst/gstutils.h:
1093         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1094         now that we depend on new enough GLib.
1095
1096         * gst/gstcaps.c: (gst_static_caps_get):
1097         * gst/gstclock.c: (gst_clock_entry_new):
1098         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1099         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1100         (gst_debug_category_set_threshold):
1101         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1102         (gst_base_sink_set_qos_enabled):
1103         * libs/gst/net/gstnettimeprovider.c:
1104         (gst_net_time_provider_set_property):
1105         Use g_atomic_int_set() instead of gst_atomic_int_set().
1106
1107 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1108
1109         * gst/gstquery.c:
1110           Also use G_GINT64_CONSTANT for the queries.
1111
1112 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1113
1114         * gst/gstmessage.c:
1115           Use G_GINT64_CONSTANT in varargs function.
1116
1117 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1118
1119         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1120         Initialize the registry magic with zeroes.
1121
1122 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1123
1124         * gst/gstregistrybinary.c: (_gst_crc32),
1125         (gst_registry_binary_write),
1126         (gst_registry_binary_initialize_magic),
1127         (gst_registry_binary_write_cache),
1128         (gst_registry_binary_check_magic),
1129         (gst_registry_binary_read_cache):
1130         * gst/gstregistrybinary.h:
1131         Add crc32 checksum to the binary registry file and check this before
1132         accepting a registry file.
1133
1134         Also free the data list when writing to the registry file fails.
1135
1136 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1137
1138         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1139         (gst_registry_binary_load_feature),
1140         (gst_registry_binary_load_plugin):
1141         If an element supports the Uri interface, returns a valid pointer
1142         to the supported URI protocols but this pointer contains nothing
1143         don't try to save that as it will corrupt the registry.
1144
1145         Don't unref the plugin if we added it to the registry already but
1146         fail to load a feature as gst_registry_add_plugin() takes ownership
1147         of the plugin.
1148
1149         Improve debugging a bit.
1150
1151 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1152
1153         * gst/gsttaglist.h:
1154           Clarify some tag item docs after discussion on irc.
1155
1156 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1157
1158         * docs/gst/gstreamer-docs.sgml:
1159           Remove commented out plugins (they have their own docs). Update
1160           comments.
1161
1162 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1163
1164         * docs/gst/gstreamer-docs.sgml:
1165         * docs/gst/gstreamer-sections.txt:
1166         * gst/gstparamspecs.c:
1167         * gst/gstparamspecs.h:
1168           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1169           docs to own section.
1170
1171         * gst/gstvalue.c:
1172           This now only documents GValue.
1173           
1174         * docs/libs/gstreamer-libs-sections.txt:
1175         * libs/gst/controller/gstcontroller.h:
1176           Remove GST_PARAM_CONTROLLABLE.
1177
1178 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1179
1180         * docs/README:
1181           Correct file path. Tell about how to use -overrides.txt.
1182         * docs/design/draft-tagreading.txt:
1183           Small design update.
1184
1185 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1186
1187         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1188         (gst_registry_binary_load_plugin):
1189         Fix a typo in a debug message and revert change from yesterday as
1190         gst_registry_add_plugin() will only fail if something is really wrong
1191         already and we can't survive it anyway.
1192
1193 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1194
1195         * gst/gst.c: (init_post), (gst_deinit):
1196           Pre-register GstGError GType from a thread-safe context
1197           (fixes #527967); unref enum type classes in deinit.
1198
1199 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1200
1201         Patch by: Rene Stadler <mail at renestadler de>
1202
1203         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1204           Merging an empty list with another list in KEEP_ALL mode should
1205           yield an empty list as result and not the second list (#512578).
1206
1207         * tests/check/gst/gsttagsetter.c:
1208           Add unit test for tag merge modes and the aforementioned bug.
1209
1210 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1211
1212         Patch by: Rene Stadler <mail at renestadler de>
1213
1214         * gst/gsttaglist.h:
1215           Fix description to match the order in the table (#512577).
1216   
1217 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1218
1219         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1220
1221         * libs/gst/net/gstnettimepacket.h:
1222         * docs/libs/gstreamer-libs-sections.txt:
1223           Define socklen_t as int if it's not defined yet. Fixes compilation
1224           with MSVC6 and other versions where socklen_t is not defined in
1225           the windows headers (#518022).
1226
1227 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1228
1229         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1230         If gst_registry_add_plugin() fails our reference to the plugin is
1231         invalid so don't try to use it anymore and instead error out.
1232
1233 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1234
1235         * tools/gst-xmlinspect.c: (print_element_info), (main):
1236           De-cruft a bit. If no argument is specified, print all elements in
1237           XML syntax rather than a freestyle list of elements like gst-inspect.
1238           Also, don't print XML header chunk unless we actually have something
1239           to print (ie. don't print it before an error message); print error
1240           message to stderr not stdout. Remove support for printing plugin
1241           info (it would just output something freestyle along the lines of
1242           gst-inspect so far), which fixes #514507. Also add license header.
1243
1244 2008-04-11  Julien Moutte  <julien@fluendo.com>
1245
1246         Mac OS X love...
1247         * configure.ac: Merge platform specific defines, introduce a new
1248         define on OS X to remember that forking when updating registry is
1249         unsafe.
1250         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1251         module.
1252         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1253         is defined.
1254         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1255         condition that leads to absolutely no plugins being registered on
1256         OS X.
1257
1258 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1259
1260         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1261
1262         * gst/gstutils.c: (gst_pad_add_data_probe),
1263           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1264           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1265           (gst_pad_add_buffer_probe_full):
1266         * gst/gstutils.h:
1267         * docs/gst/gstreamer-sections.txt:
1268         * win32/common/libgstreamer.def:
1269           Add gst_pad_add_*_probe_full() functions with a notify callback that
1270           lets the caller free the data it passes to the probe functions. This
1271           is useful for bindings such as gst-python or gstreamermm (#526814).
1272           API: gst_pad_add_data_probe_full
1273           API: gst_pad_add_buffer_probe_full
1274           API: gst_pad_add_event_probe_full
1275
1276         * tests/check/gst/gstutils.c:
1277           Add minimal unit test to make sure freeing the data actually works
1278           as expected.
1279
1280         * tests/benchmarks/.cvsignore:
1281           Random cvsignore addendum.
1282
1283 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1284
1285         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1286           (GST_DEBUG_BIN_TO_DOT_FILE):
1287           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1288           to it in the docs (since these are macros the types of the arguments
1289           won't be shown in the docs otherwise).
1290
1291 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1292
1293         * gst/gstpad.c:
1294           Do not abort on out of memory for pad_alloc_buffer.
1295
1296 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1297
1298         * libs/gst/check/gstcheck.c:
1299           Remove blank line between symbol name ad parameters to fix gtkdoc
1300           warning.
1301
1302 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1303
1304         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1305
1306         * docs/gst/gstreamer-sections.txt:
1307         * gst/gstsegment.c:
1308         * gst/gstsegment.h:
1309         * win32/common/libgstreamer.def:
1310           Expose gst_segment_copy() to make things easier for the c++ bindings.
1311           Fixes #518932.
1312           API: gst_segment_copy()
1313
1314 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1315
1316         * gst/gst.c: (gst_init_get_option_group), (init_post):
1317           Fix const position; ref GType classes for enum types to work
1318           around thread-safety issues in GLib versions < 2.16.
1319
1320 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1321
1322         * docs/design/part-buffering.txt:
1323         Fix some typos and set the estimated total for push mode to -1.
1324
1325         * gst/gstquery.c: (gst_query_new_buffering):
1326         Set buffering-left to 0 as we're not buffering by default.
1327
1328         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1329         Implement BUFFERING query.
1330
1331 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1332
1333         Based on patch by: Milosz Derezynski <internalerror gmail com>
1334
1335         * gst/gsterror.c: (_gst_stream_errors_init):
1336         * gst/gsterror.h:
1337           Add two new error codes for encrypted content. Fixes #524659.
1338           API: GST_STREAM_ERROR_DECRYPT
1339           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1340
1341 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1342
1343         * gst/gstquery.h:
1344           Fix typo.
1345
1346         * win32/common/libgstreamer.def:
1347           Add new functions.
1348
1349 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1350
1351         * plugins/elements/gstidentity.c: (gst_identity_event),
1352         (gst_identity_start):
1353         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1354         event after processing some data. Fixes bug #526042.
1355
1356 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1357
1358         * docs/gst/gstreamer-sections.txt:
1359         * gst/gstquery.c: (gst_query_parse_latency),
1360         (gst_query_set_buffering_percent),
1361         (gst_query_parse_buffering_percent),
1362         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1363         * gst/gstquery.h:
1364         Rename _avail -> _range
1365         API: gst_query_set_buffering_range
1366         API: gst_query_parse_buffering_range
1367
1368 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1369
1370         * docs/design/part-buffering.txt:
1371         * gst/gstquark.c:
1372         * gst/gstquark.h:
1373         * gst/gstquery.c: (gst_query_parse_latency),
1374         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1375         (gst_query_parse_buffering_percent):
1376         * gst/gstquery.h:
1377         Add busy field and quark for the buffering query so that the app can
1378         only use the query to see if buffering is in progress.
1379
1380 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1381
1382         * docs/gst/gstreamer-sections.txt:
1383         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1384         (gst_message_parse_buffering_stats):
1385         * gst/gstmessage.h:
1386         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1387         (gst_query_parse_latency), (gst_query_new_buffering),
1388         (gst_query_set_buffering_percent),
1389         (gst_query_parse_buffering_percent),
1390         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1391         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1392         * gst/gstquery.h:
1393         Reorder the message docs and headers for clarity.
1394         Add aditional buffering stats API for messages.
1395         Add buffering query.
1396         Convert some leftover queries to use GstQuark.
1397         API: gst_message_set_buffering_stats
1398         API: gst_message_parse_buffering_stats
1399         API: GST_QUERY_BUFFERING
1400         API: GstBufferingMode
1401         API: gst_query_new_buffering
1402         API: gst_query_set_buffering_percent
1403         API: gst_query_parse_buffering_percent
1404         API: gst_query_set_buffering_stats
1405         API: gst_query_parse_buffering_stats
1406
1407 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1408
1409         * gst/gstmessage.c: (gst_message_new_error),
1410         (gst_message_new_warning), (gst_message_new_info),
1411         (gst_message_new_buffering), (gst_message_new_state_changed),
1412         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1413         (gst_message_new_new_clock), (gst_message_new_segment_start),
1414         (gst_message_new_segment_done), (gst_message_new_duration),
1415         (gst_message_new_async_start), (gst_message_parse_buffering),
1416         (gst_message_parse_state_changed),
1417         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1418         (gst_message_parse_new_clock), (gst_message_parse_error),
1419         (gst_message_parse_warning), (gst_message_parse_info),
1420         (gst_message_parse_segment_start),
1421         (gst_message_parse_segment_done), (gst_message_parse_duration),
1422         (gst_message_parse_async_start):
1423         Use GstQuark for messages.
1424
1425 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1426
1427         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1428         * gst/gstquark.h:
1429         Add some more quarks needed for messages and queries.
1430
1431 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1432
1433         * docs/design/part-buffering.txt:
1434         Remove the "none" buffering mode, STREAM is a good default.
1435         Move estimated-time to the avail query, that's when it will be needed.
1436         Other small typo fixes and updates.
1437
1438 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1439
1440         * gst/gstindex.c: (gst_index_resolver_get_type):
1441           Don't put descriptions into the nick field of a GEnumValue: it's not
1442           meant for that and some language bindings rely on the nick field to
1443           construct constants and the like. Fixes #526705.
1444
1445 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1446
1447         * NEWS:
1448         * RELEASE:
1449         * gstreamer.doap:
1450           Merge other changes from 0.10.19 release branch.
1451
1452 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1453
1454         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1455
1456         * configure.ac:
1457         Actually build dlls when cross-compiling with mingw32.
1458         Fixes bug #526247.
1459
1460 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1461
1462         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1463
1464         * gst/gstpoll.c:
1465         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1466
1467 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1468
1469         * docs/design/draft-latency.txt:
1470         Fix typo.
1471
1472         * docs/design/part-buffering.txt:
1473         Update design docs with more buffering ideas.
1474
1475 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1476
1477         * configure.ac:
1478           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1479
1480 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1481
1482         * configure.ac:
1483           Revert part that belongs to the preset patch.
1484
1485 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1486
1487         * configure.ac:
1488           Add qoutes to the define. Fixes # 525961.
1489
1490 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1491
1492         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1493         (gst_file_index_load), (gst_file_index_add_id),
1494         (gst_file_index_get_assoc_entry):
1495         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1496         (gst_mem_index_free_id), (gst_mem_index_add_id),
1497         (gst_mem_index_index_format):
1498         Use GSlice when possible.
1499
1500 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1501
1502         * libs/gst/controller/gstinterpolationcontrolsource.c:
1503         (gst_control_point_free),
1504         (gst_interpolation_control_source_set_internal):
1505         Use GSlice for allocating the control points.
1506
1507 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1508
1509         * plugins/elements/gsttypefindelement.c:
1510         (gst_type_find_element_class_init),
1511         (gst_type_find_element_set_property),
1512         (gst_type_find_element_get_property),
1513         (gst_type_find_element_activate):
1514         * plugins/elements/gsttypefindelement.h:
1515         Cleanup properties.
1516         Fix pad leak when peer query fails.
1517         We can still typefind when the peer returns -1.
1518         Add property to force caps and bypass typefinding. This will be used in
1519         uridecodebin.
1520         API::force-caps
1521
1522 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1523
1524         * configure.ac:
1525         Require GLib 2.12.
1526
1527         * gst/glib-compat-private.h:
1528         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1529         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1530         Unconditionally use GSlice for allocation.
1531
1532         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1533         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1534         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1535         (gst_structure_free):
1536         Use GSlice for allocation.
1537
1538 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1539
1540         * gst/parse/Makefile.am:
1541         * gst/parse/grammar.tab.pre.c:
1542         * gst/parse/grammar.tab.pre.h:
1543         * gst/parse/lex._gst_parse_yy.pre.c:
1544         Require a new enough flex and bison and remove the parser hacks to use
1545         a pre-regenerated version.
1546
1547 2008-04-01  Julien Moutte  <julien@fluendo.com>
1548
1549         patch by: Jason Zhao <E3423C@motorola.com>
1550
1551         * configure.ac: Add a configure switch to disable option parsing
1552         in gst_init.
1553         Fixes #522882.
1554
1555 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1556
1557         * configure.ac:
1558         * gst/gstregistry.c:
1559           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1560           and handle this case.
1561
1562         * gst/gst.c:
1563           Add a comment here describing, why we stat each plugin and not try to
1564           be smart.
1565
1566 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1567
1568         * libs/gst/base/gstbasetransform.c:
1569         (gst_base_transform_prepare_output_buffer):
1570         Also unset the GAP flag on buffers if we're working inplace but
1571         the element is not GAP-aware.
1572
1573         Mark a comment as FIXME 0.11.
1574
1575 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1576
1577         * gst/gst.c:
1578           Fix type in log message and add one to ease seeing how long registry
1579           cache verification takes.
1580
1581         * gst/gstregistry.c:
1582           Only test plugin filenames against G_MODULE_SUFFIX.
1583
1584 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1585
1586         * gst/gstdebugutils.c:
1587           Improve handling ghost/proxy pads.
1588
1589 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1590
1591         * docs/gst/gstreamer-sections.txt:
1592         * gst/gstpad.c:
1593         * gst/gstpad.h:
1594           Expose macro to docs and fix link to it.
1595
1596 2008-03-27  Michael Smith <msmith@fluendo.com>
1597
1598         * libs/gst/dataprotocol/dataprotocol.c:
1599         (gst_dp_packet_from_event_1_0):
1600           When calculating GDP body CRC, use the correct pointer. 
1601           Fixes part of #522401.
1602
1603 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1604
1605         Patch by: Mark Nauwelaerts <manauw at skynet be>
1606
1607         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1608         (gst_identity_init), (gst_identity_prepare_output_buffer):
1609         Identity is not always a passthrough element, it can modify the buffer
1610         timestamps when it has a datarate and operates in single-segment mode.
1611         We therefore make it an in_place filter with a custom buffer prepare
1612         function that conditionally makes the input buffer metadata writable
1613         when needed.  Fixes #523985.
1614
1615 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1616
1617         Patch by: Mark Nauwelaerts <manauw at skynet be>
1618
1619         * gst/gstclock.h:
1620         * libs/gst/base/gstbasesrc.h:
1621         * libs/gst/base/gstbasetransform.c:
1622         * libs/gst/check/gstcheck.c:
1623         Small documentation fixes. Fixes #523978.
1624
1625 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1626
1627         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1628         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1629         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1630
1631 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1632
1633         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1634         (single_queue_underrun_cb):
1635         When trying to make room in the queue, bump the max allowed buffers
1636         bigger than the current amount of buffers in the queue. this fixes some
1637         nasty deadlocks in multiqueue when dynamically changing the limits of
1638         the queue.
1639
1640 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1641
1642         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1643
1644         * gst/gstcaps.c: (gst_caps_set_simple),
1645         (gst_caps_set_simple_valist), (gst_caps_intersect):
1646         * gst/gstcaps.h:
1647         Constify the field gchar * params in set_simple and friends.
1648         Fixes #522326.
1649
1650 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1651
1652         * gst/gstvalue.c: (gst_value_transform_object_string):
1653         Transform a GstObject to a more meaningfull string that includes the
1654         object type in addition to its name.
1655
1656 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1657
1658         * ChangeLog:
1659           ChangeLog surgery to add bugnumber to commit.
1660
1661 2008-03-23  Rene Stadler  <mail@renestadler.de>
1662
1663         * libs/gst/base/gstbasetransform.c:
1664         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1665
1666 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1667
1668         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1669         Rename constant everywhere and don't forget one occurence.
1670
1671 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1672
1673         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1674         Align memory to the pointer size even if the architecture allows
1675         unaligned memory access. Unaligned memory access usually comes with
1676         performance penality.
1677
1678 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1679
1680         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1681         (gst_registry_binary_check_magic),
1682         (gst_registry_binary_load_pad_template),
1683         (gst_registry_binary_load_feature),
1684         (gst_registry_binary_load_plugin):
1685         Align memory to the pointer size instead of always 32 bit. Fixes
1686         unaligned memory accesses on ia64 and friends.
1687
1688         * gst/gstregistrybinary.h:
1689         Bump binary registry format version for this as it changes the
1690         format on those architectures that don't have unaligned access
1691         and 64 bit pointers.
1692
1693 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1694
1695         * docs/pwg/advanced-dparams.xml:
1696         * docs/pwg/building-props.xml:
1697         * docs/pwg/other-source.xml:
1698         * gst/glib-compat.h:
1699         * gst/gstbin.c: (gst_bin_class_init):
1700         * gst/gstclock.c: (gst_clock_class_init):
1701         * gst/gstindex.c: (gst_index_class_init):
1702         * gst/gstobject.c: (gst_object_class_init):
1703         * gst/gstpad.c: (gst_pad_class_init):
1704         * gst/gstpipeline.c: (gst_pipeline_class_init):
1705         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1706         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1707         * libs/gst/base/gstbasetransform.c:
1708         (gst_base_transform_class_init):
1709         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1710         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1711         (_gst_check_fault_handler_sighandler),
1712         (_gst_check_fault_handler_setup), (gst_check_init):
1713         * libs/gst/controller/gstcontroller.c:
1714         (_gst_controller_class_init):
1715         * libs/gst/controller/gstlfocontrolsource.c:
1716         (gst_lfo_control_source_class_init):
1717         * libs/gst/net/gstnetclientclock.c:
1718         (gst_net_client_clock_class_init):
1719         * libs/gst/net/gstnettimeprovider.c:
1720         (gst_net_time_provider_class_init):
1721         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1722         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1723         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1724         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1725         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1726         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1727         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1728         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1729         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1730         * plugins/elements/gstqueue.c: (gst_queue_class_init):
1731         * plugins/elements/gsttee.c: (gst_tee_class_init):
1732         * plugins/elements/gsttypefindelement.c:
1733         (gst_type_find_element_class_init):
1734         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1735         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1736         use it everywhere for GParamSpecs that use static strings (i.e. all).
1737         This gives us less memory usage, fewer allocations and thus less
1738         memory defragmentation. Fixes bug #523806.
1739
1740 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1741
1742         * gst/gstminiobject.c: (gst_value_dup_mini_object),
1743         (gst_param_spec_mini_object):
1744         * gst/gstminiobject.h:
1745         * win32/common/libgstreamer.def:
1746         * docs/gst/gstreamer-sections.txt:
1747         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1748         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1749         GstParamSpecMiniObject into a public header for this.
1750
1751         This make GstMiniObject a bit more consistent with GObject and makes
1752         it possible to extend the param specs.
1753
1754         gst_value_dup_mini_object is mainly useful for set_property methods.
1755
1756         Fixes bug #523798.
1757
1758         * tools/gst-inspect.c: (print_element_properties_info):
1759         Print something useful for GstMiniObject properties and not just
1760         "unknown type".
1761
1762 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1763
1764         * docs/gst/gstreamer-sections.txt:
1765         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1766         (gst_registry_binary_check_magic):
1767         * gst/gstregistrybinary.h:
1768         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1769         and add it to the (private part) of the docs to fix the build.
1770
1771 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1772
1773         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1774         (gst_registry_binary_check_magic),
1775         (gst_registry_binary_read_cache):
1776         * gst/gstregistrybinary.h:
1777         Don't use GST_MAJORMINOR for the binary registry version. Instead
1778         hardcode a value that must be changed whenever the format changes
1779         in an incompatible way.
1780         Also don't GST_ERROR when there is a version mismatch, just
1781         regenerate the registry silently.
1782
1783 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
1784
1785         * configure.ac:
1786         Back to development - 0.10.18.1
1787
1788 === release 0.10.18 ===
1789
1790 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
1791
1792         * configure.ac:
1793           releasing 0.10.18, "So far away"
1794
1795 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
1796
1797         * configure.ac:
1798         * win32/common/config.h:
1799         0.10.17.4 pre-release
1800
1801 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1802
1803         Patch by: Ole André Vadla Ravnås
1804             <ole dot andre dot ravnas at tandberg dot com>
1805
1806         * docs/gst/gstreamer-sections.txt:
1807         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1808         (gst_poll_update_winsock_event_mask),
1809         (gst_poll_prepare_winsock_active_sets),
1810         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1811         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1812         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1813         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1814         (gst_poll_check_ctrl_commands), (gst_poll_wait):
1815         * gst/gstpoll.h:
1816         * win32/common/libgstreamer.def:
1817         Add new function gst_poll_fd_ignored() for improved Windows
1818         compatibility.
1819         Various minor fixes and cleanups. See #520808.
1820
1821 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
1822
1823         * gst/gstindex.c: (gst_index_entry_free):
1824         * gst/gstindex.h:
1825           Don't free key strings which we don't own. Fixes crash in
1826           gst_index_entry_free() (#522741).
1827
1828         * tests/check/Makefile.am:
1829         * tests/check/gst/.cvsignore:
1830         * tests/check/gst/gstindex.c: (test_index_entries),
1831           (gst_index_suite), (gst_index):
1832           Add unit test for the above.
1833
1834 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
1835
1836         * win32/common/libgstreamer.def:
1837         Remove symbols that were removed recently. Fixes bug #521740.
1838
1839 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
1840
1841         * configure.ac:
1842         * win32/common/config.h:
1843         0.10.17.3 pre-release
1844
1845 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1846
1847         Patch by: Ole André Vadla Ravnås
1848             <ole dot andre dot ravnas at tandberg dot com>
1849
1850         * docs/gst/gstreamer-sections.txt:
1851         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1852         (gst_poll_update_winsock_event_mask), (gst_poll_new),
1853         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1854         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1855         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1856         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1857         (gst_poll_fd_can_write), (gst_poll_wait),
1858         (gst_poll_set_controllable), (gst_poll_restart),
1859         (gst_poll_set_flushing):
1860         * gst/gstpoll.h:
1861         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1862         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1863         (gst_net_time_provider_new):
1864         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1865         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1866         * tests/benchmarks/gstpollstress.c: (main):
1867         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1868         Remove GstPollMode from the API, it does not make sense to let the
1869         application control this.
1870         Add support for Win32.
1871         Fix the testsuite. Fixes #520671.
1872
1873 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
1874
1875         Patch by: Ole André Vadla Ravnås
1876             <ole dot andre dot ravnas at tandberg dot com>
1877
1878         * gst/gstregistrybinary.c:
1879         Include io.h for write() and close() when building with MSVC. Fixes
1880         bug #520877.
1881
1882 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
1883
1884         * configure.ac:
1885         * gst/gst_private.h:
1886         * gst/gstconfig.h.in:
1887         * gst/gstregistry.h:
1888         * gst/gstregistrybinary.c:
1889         * win32/common/gstconfig.h:
1890           Move registry backend API to private headers where we can. Add
1891           fixme-0.11 comments for the others. Add stubs for the xml backend when
1892           using the binary to ensure they functions exists (they should not be
1893           used though). Fixes #520756.
1894
1895 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
1896
1897         * configure.ac:
1898         * win32/common/config.h:
1899         0.10.17.2 prelease
1900
1901 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1902
1903         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1904         (gst_registry_binary_read_cache):
1905         * gst/gstregistryxml.c: (gst_registry_save):
1906         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1907         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1908         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1909         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1910         Switch to using portabl gsize/gssize instead of size_t/ssize_t
1911         Fixes #520152
1912
1913 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1914
1915         * gst/gstminiobject.c:
1916         Import gst_private.h before any other header that might include other
1917         glib headers. This fixes the build on windows using native compilers.
1918
1919 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1920
1921         * win32/common/gstconfig.h:
1922           Add here too, just for completeness.
1923
1924 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1925
1926         * configure.ac:
1927         * gst/gstconfig.h.in:
1928         * gst/gstregistry.h:
1929           Fix broken use of config.h-defined preprocessor directive in a public
1930           header file. Add a corresponding define to gstconfig.h, since we can't
1931           really remove those function declarations from the header file now
1932           (or can we? and why are they there in the first place?).
1933
1934 2008-03-03  Andy Wingo  <wingo@pobox.com>
1935
1936         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1937         the new warning.
1938
1939         * gst/gststructure.c (gst_structure_from_string): Warn if
1940         structure_from_string didn't consume the whole string, but the
1941         caller did not provide an end pointer.
1942
1943 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
1944
1945         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1946
1947         * gst/gstregistryxml.c: (read_string), (load_feature):
1948           Strings allocated by libxml2 should be freed with xmlFree(), not
1949           with g_free(). Fixes issues on windows in certain contexts (#519698).
1950
1951 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
1952
1953         * gst/gstinterface.c: (gst_element_implements_interface):
1954           Don't crash if the element supports the interface queried, but does
1955           not implement GstImplementsInterface. Fixes #519584.
1956
1957         * tests/check/Makefile.am:
1958         * tests/check/gst/.cvsignore:
1959         * tests/check/gst/gstinterface.c:
1960           Add unit test for the above.
1961
1962 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1963
1964         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1965         Small doc update.
1966
1967 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1968
1969         * gst/gstsegment.c: (gst_segment_set_seek),
1970         (gst_segment_to_stream_time):
1971         Improve some comment.
1972         Update variables where it makes more sense.
1973
1974 2008-02-29  Rene Stadler  <mail@renestadler.de>
1975
1976         * gst/gsturi.c: (gst_uri_handler_get_protocols):
1977         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
1978         URIHandlers implemented using language bindings.
1979
1980 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1981
1982         * gst/gstelementfactory.h:
1983         * tests/check/elements/fakesink.c:
1984         * tests/check/elements/fakesrc.c: (setup_fakesrc):
1985         * tests/check/elements/fdsrc.c: (setup_fdsrc):
1986         * tests/check/elements/filesink.c: (setup_filesink):
1987         * tests/check/elements/filesrc.c: (setup_filesrc):
1988         * tests/check/elements/identity.c: (setup_identity):
1989         * tests/check/elements/tee.c:
1990         * tests/check/generic/sinks.c:
1991         * tests/check/generic/states.c: (setup), (teardown):
1992         * tests/check/gst/gst.c:
1993         * tests/check/gst/gstabi.c:
1994         * tests/check/gst/gstbin.c:
1995         * tests/check/gst/gstbus.c: (pull_messages):
1996         * tests/check/gst/gstcaps.c:
1997         * tests/check/gst/gstelement.c:
1998         * tests/check/gst/gstevent.c:
1999         * tests/check/gst/gstghostpad.c:
2000         * tests/check/gst/gstiterator.c:
2001         * tests/check/gst/gstmessage.c:
2002         * tests/check/gst/gstminiobject.c: (my_foo_init):
2003         * tests/check/gst/gstobject.c: (thread_name_object),
2004         (gst_object_suite):
2005         * tests/check/gst/gstpad.c:
2006         * tests/check/gst/gstplugin.c:
2007         * tests/check/gst/gstpoll.c:
2008         * tests/check/gst/gstquery.c:
2009         * tests/check/gst/gstsegment.c:
2010         * tests/check/gst/gststructure.c:
2011         * tests/check/gst/gstsystemclock.c:
2012         * tests/check/gst/gsttask.c:
2013         * tests/check/gst/gstutils.c:
2014         * tests/check/gst/gstvalue.c:
2015         * tests/check/gst/struct_hppa.h:
2016         * tests/check/gst/struct_i386.h:
2017         * tests/check/gst/struct_ppc32.h:
2018         * tests/check/gst/struct_ppc64.h:
2019         * tests/check/gst/struct_x86_64.h:
2020         * tests/check/libs/adapter.c: (create_and_fill_adapter):
2021         * tests/check/libs/basesrc.c:
2022         * tests/check/libs/controller.c: (GST_START_TEST):
2023         * tests/check/libs/gdp.c:
2024         * tests/check/libs/gstnetclientclock.c:
2025         * tests/check/libs/gstnettimeprovider.c:
2026         * tests/check/libs/libsabi.c:
2027         * tests/check/libs/struct_hppa.h:
2028         * tests/check/libs/struct_i386.h:
2029         * tests/check/libs/struct_ppc32.h:
2030         * tests/check/libs/struct_ppc64.h:
2031         * tests/check/libs/struct_x86_64.h:
2032         * tests/check/pipelines/cleanup.c:
2033         * tests/check/pipelines/simple-launch-lines.c:
2034         * tests/check/pipelines/stress.c:
2035         And correct even more valid sparse warnings.
2036
2037         * win32/common/libgstreamer.def:
2038         Add gst_poll_fd_init to the list of symbols.
2039
2040 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2041
2042         * gst/gstconfig.h.in:
2043         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2044         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2045         (gst_check_log_critical_func), (gst_check_drop_buffers),
2046         (gst_check_element_push_buffer_list):
2047         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2048         (gst_controller_get_type):
2049         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2050         (gst_object_get_controller), (gst_object_get_control_source):
2051         * libs/gst/controller/gstinterpolationcontrolsource.c:
2052         (gst_interpolation_control_source_new):
2053         * libs/gst/controller/gstlfocontrolsource.c:
2054         (gst_lfo_control_source_new):
2055         * libs/gst/dataprotocol/dataprotocol.c:
2056         (gst_dp_event_from_packet_0_2):
2057         * plugins/elements/gstfdsrc.c:
2058         * plugins/elements/gstmultiqueue.c:
2059         * plugins/elements/gsttee.c:
2060         * plugins/elements/gsttypefindelement.c:
2061         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2062         (gst_file_index_add_association):
2063         * plugins/indexers/gstmemindex.c:
2064         * tests/benchmarks/gstpollstress.c: (mess_some_more):
2065         * tests/check/elements/queue.c: (setup_queue):
2066         * tests/check/gst/gstpipeline.c:
2067         * tests/check/libs/collectpads.c: (setup), (teardown),
2068         (gst_collect_pads_suite):
2069         * tests/examples/adapter/adapter_test.c:
2070         * tests/examples/metadata/read-metadata.c: (make_pipeline):
2071         * tests/examples/xml/createxml.c:
2072         * tests/examples/xml/runxml.c:
2073         * tools/gst-inspect.c:
2074         * tools/gst-run.c:
2075         Correct all relevant warnings found by the sparse semantic code
2076         analyzer. This include marking several symbols static, using
2077         NULL instead of 0 for pointers, not using variable sized arrays
2078         on the stack, moving variable declarations to the beginning of
2079         a block and using "foo (void)" instead of "foo ()" for declarations.
2080
2081 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2082
2083         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2084         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2085         Don't reset GstPollFDs, this is not necessary at all.
2086
2087         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2088         (delayed_restart), (delayed_control):
2089         Use GST_POLL_FD_INIT.
2090
2091 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2092
2093         * gst/gstpoll.c: (gst_poll_fd_init):
2094         * gst/gstpoll.h:
2095         Added Since tags.
2096
2097         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2098         Use some more init macros.
2099
2100 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2101
2102         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2103         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2104         Use init macros and functions.
2105
2106 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2107
2108         * docs/gst/gstreamer-sections.txt:
2109         * gst/gstpoll.c: (gst_poll_fd_init):
2110         * gst/gstpoll.h:
2111         Add INIT macro and _init method for initializing the GstPollFD.
2112
2113 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2114
2115         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2116         (gst_fd_sink_update_fd):
2117         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2118         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2119         (delayed_restart), (delayed_control):
2120         Initialize some uninitialized variables as spotted by valgrind.
2121
2122 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2123
2124         * tests/benchmarks/Makefile.am:
2125         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2126         (main):
2127         Add poll stress test.
2128
2129 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2130
2131         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2132
2133         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2134         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2135         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2136         * plugins/elements/gstfdsink.h:
2137         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2138         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2139         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2140         (gst_fd_src_uri_set_uri):
2141         * plugins/elements/gstfdsrc.h:
2142         Port to GstPoll. See #505417.
2143
2144 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2145
2146         * win32/common/libgstreamer.def:
2147         Add new gst_poll_ symbols to win32 defs.
2148
2149 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2150
2151         * docs/libs/gstreamer-libs-sections.txt:
2152         * libs/gst/net/gstnetclientclock.c:
2153         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2154         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2155         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2156         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2157         * libs/gst/net/gstnetclientclock.h:
2158         * libs/gst/net/gstnettimeprovider.c:
2159         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2160         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2161         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2162         (gst_net_time_provider_new):
2163         * libs/gst/net/gstnettimeprovider.h:
2164         Use a private stuct to not break ABI.
2165
2166 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2167
2168         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2169
2170         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2171         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2172         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2173         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2174         * libs/gst/net/gstnetclientclock.h:
2175         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2176         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2177         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2178         (gst_net_time_provider_new):
2179         * libs/gst/net/gstnettimeprovider.h:
2180         Massive code removal and cleanups because of GstPoll.
2181         Fixes #505417.
2182
2183 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2184
2185         * configure.ac:
2186         Add checks for poll, ppoll and pselect.
2187
2188         * docs/gst/gstreamer-docs.sgml:
2189         * docs/gst/gstreamer-sections.txt:
2190         Add docs for GstPoll.
2191
2192         * gst/Makefile.am:
2193         * gst/gst.h:
2194         * gst/gstpoll.c: (find_index), (selectable_fds),
2195         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2196         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2197         (gst_poll_set_mode), (gst_poll_get_mode),
2198         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2199         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2200         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2201         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2202         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2203         (gst_poll_fd_can_write), (gst_poll_wait),
2204         (gst_poll_set_controllable), (gst_poll_restart),
2205         (gst_poll_set_flushing):
2206         * gst/gstpoll.h:
2207         Add generic poll abstraction. We ideally don't want to have this in core
2208         here but in glib intead...
2209         This code will be used in various network elements and ultimately for
2210         the nanosecond precision monotonic clock (that's why it's here in core).
2211         It'll allow us to implement cancelable socket operations for windows too.
2212
2213         * tests/check/Makefile.am:
2214         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2215         (delayed_stop), (delayed_restart), (delayed_flush),
2216         (delayed_control), (gst_poll_suite):
2217         Add GstPoll unit test.
2218
2219 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2220
2221         * gst/gstfilter.c:
2222           Improve documentation of gst_filter_run(). Fixes #518627.
2223
2224 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2225
2226         * docs/README:
2227           Add a few lines about the new 'check-inspected-versions' target.
2228
2229 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2230
2231         * tests/check/gst/gstevent.c:
2232           Add qos to the event test. Rename tcase/tsuite; is not only about
2233           custom events.
2234
2235 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2236
2237         * plugins/elements/gstqueue.c:
2238           Ensure that buffer metadata is writeable, before modifying. Spotted by
2239           Mike.
2240
2241 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2242
2243         * plugins/elements/gstqueue.c:
2244         * plugins/elements/gstqueue.h:
2245           When dropping buffers in leaky modes, mark next buffers we sent as
2246           DISCONT.
2247
2248 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2249
2250         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2251           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2252
2253 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2254
2255         * plugins/elements/Makefile.am:
2256         * plugins/elements/gstbufferstore.c:
2257         * plugins/elements/gstbufferstore.h:
2258         * plugins/elements/gsttypefindelement.h:
2259           Remove GstBufferStore, no idea why we were still building it.
2260           It's not used anywhere and superseded by GstAdapter.
2261
2262         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2263           (gst_file_src_create_mmap):
2264         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2265           Printf format fixes for 64-bit integers.
2266
2267 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2268
2269         * configure.ac:
2270         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2271         We're not in 0.8 times anymore.
2272
2273 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2274
2275         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2276         (gst_check_element_push_buffer_list):
2277         * libs/gst/check/gstcheck.h:
2278         Make the declaration in the header for
2279         gst_check_element_push_buffer_list match the implementation.
2280
2281         Fix up spelling, grammar and wording of the documentation in a few
2282         places, and add the Since keyword to new API functions.
2283         Use g_list_delete_link instead of g_list_remove in
2284         gst_check_drop_buffers, since it's immeasurably more efficient.
2285
2286         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2287         Use new gst_check_drop_buffers function where appropriate.
2288
2289         * win32/common/libgstbase.def:
2290         * win32/common/libgstreamer.def:
2291         Add new symbols gst_collect_pads_take_buffer, 
2292         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2293         exports
2294
2295         Changelog surgery to add API keyword to new gst_check API.
2296
2297 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2298
2299         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2300         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2301         Update pre-generated flex files with flex 2.3.34.
2302
2303 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2304
2305         * gst/gstminiobject.c:
2306           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2307           friendly to subclasses and not require them to know all internals
2308           of their parent class.
2309
2310 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2311
2312         * docs/libs/gstreamer-libs-sections.txt:
2313         * libs/gst/base/gstcollectpads.c:
2314         * libs/gst/base/gstcollectpads.h:
2315           Add sub-buffer functions to collectpads. Fixes #516187.
2316           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2317
2318 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2319
2320         * gst/gstbuffer.c:
2321           Copy selected buffer-flags when creating subbuffers.
2322           Fixes #516395.
2323
2324 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2325
2326         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2327         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2328         * gst/gstmessage.c: (gst_message_class_init),
2329         (gst_message_finalize):
2330         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2331         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2332         (gst_mmap_buffer_finalize):
2333         Properly chain up finalize functions to the parent class.
2334
2335 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2336
2337         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2338
2339         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2340         (gst_index_set_resolver_full):
2341         * gst/gstindex.h:
2342         Add new function with option to dispose of user_data in resolver.
2343         Actually call the dispose function when finalizing the object and not
2344         just when changing the resolver/filter.
2345         API: GstIndex::gst_index_set_resolver_full()
2346
2347         * docs/gst/gstreamer-sections.txt:
2348         Add new function to docs. Fixes #515469.
2349
2350 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2351
2352         * gst/gstindex.c: (gst_index_finalize):
2353         Chain up finalize to the parent class. Fixes leaking the GstObject
2354         name and other things.
2355
2356 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2357
2358         * configure.ac:
2359         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2360         pre-releases or releases.
2361
2362         * docs/faq/gst-uninstalled:
2363         Add gst-plugins-gl
2364
2365         * docs/random/release:
2366         Change one of the steps - we only upload core & base to Gnome FTP
2367
2368 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2369
2370         * gst/gstconfig.h.in:
2371           Add 'id' for example.
2372
2373         * gst/gstpad.c:
2374         * gst/gstutils.c:
2375         * plugins/elements/gstfdsink.c:
2376           Link to signals. Doc and comment fixes.
2377
2378 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2379
2380         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2381         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2382           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2383           unused and unimplemented; finally, it is plugin features, not
2384           plugins, that have ranks.
2385           
2386 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2387
2388         * gst/gstpluginfeature.h:
2389           Clarify GstRank range docs.
2390
2391 2008-02-05  David Schleef  <ds@schleef.org>
2392
2393         * gst/gst.c: Add a separate gst_deinitialized that prevents
2394           gst_init() from being called after gst_deinit().  Fixes #509559
2395
2396 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2397
2398         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2399         (gst_bin_class_init):
2400         * gst/gstelement.c: (gst_element_base_class_init),
2401         (gst_element_class_add_pad_template):
2402         * gst/gstpadtemplate.c: (gst_pad_template_init):
2403         * gst/gstpipeline.c: (gst_pipeline_get_type),
2404         (gst_pipeline_base_init), (gst_pipeline_class_init):
2405         * libs/gst/base/gstbasesink.c:
2406         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2407         (gst_base_src_base_init), (gst_base_src_class_init):
2408         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2409         (gst_capsfilter_class_init):
2410         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2411         (gst_fake_sink_class_init):
2412         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2413         (gst_fake_src_class_init):
2414         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2415         (gst_fd_sink_class_init):
2416         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2417         (gst_fd_src_class_init):
2418         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2419         (gst_file_sink_class_init):
2420         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2421         (gst_file_src_class_init):
2422         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2423         (gst_identity_class_init):
2424         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2425         (gst_multi_queue_class_init):
2426         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2427         (gst_queue_class_init):
2428         * plugins/elements/gsttee.c: (gst_tee_base_init),
2429         (gst_tee_class_init):
2430         * plugins/elements/gsttypefindelement.c:
2431         (gst_type_find_element_base_init),
2432         (gst_type_find_element_class_init):
2433         * tests/check/gst/gstelement.c: (gst_element_suite):
2434         Revert previous changes to the behaviour of GstPadTemplates, etc
2435         and the possiblity to call them in class_init as it breaks too
2436         many elements. Reopens bug #491501.
2437
2438         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2439         several places.
2440
2441 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2442
2443         * tools/gst-launch.c:
2444         Dump one graph per pipeline state-change and state change name
2445         (if GST_DEBUG_DUMP_DOT_DIR is set).
2446
2447 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2448
2449         * gst/gstpad.c:
2450         * tests/check/gst/gstpad.c:
2451         Be sure that we have a new copy of the caps and not
2452         reffed caps from a template
2453
2454 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2455
2456         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2457         * gst/gstpipeline.c: (gst_pipeline_get_type),
2458         (gst_pipeline_class_init):
2459         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2460         (gst_base_sink_class_init):
2461         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2462         (gst_base_src_class_init):
2463         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2464         (gst_base_transform_class_init):
2465         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2466         (gst_collect_pads_class_init):
2467         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2468         * libs/gst/net/gstnettimeprovider.c:
2469         (gst_net_time_provider_base_init),
2470         (gst_net_time_provider_class_init):
2471         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2472         (gst_capsfilter_class_init):
2473         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2474         (gst_fake_sink_class_init):
2475         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2476         (gst_fake_src_class_init):
2477         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2478         (gst_fd_sink_class_init):
2479         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2480         (gst_fd_src_class_init):
2481         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2482         (gst_file_sink_class_init):
2483         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2484         (gst_file_src_class_init):
2485         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2486         (gst_identity_class_init):
2487         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2488         (gst_multi_queue_class_init):
2489         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2490         (gst_queue_class_init):
2491         * plugins/elements/gsttee.c: (gst_tee_base_init),
2492         (gst_tee_class_init):
2493         * plugins/elements/gsttypefindelement.c:
2494         (gst_type_find_element_base_init),
2495         (gst_type_find_element_class_init):
2496         Don't use base_init where not absolutely necessary. For example it's
2497         not necessary anymore for adding pad templates or setting element
2498         details.
2499
2500         Leave empty base_init functions in several places as GST_BOILERPLATE
2501         still defines and uses them.
2502
2503 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2504
2505         * gst/gstelement.c: (gst_element_base_class_init),
2506         (gst_element_class_add_pad_template):
2507         * gst/gstpadtemplate.c:
2508         Make it possible (and recommended) to set element details and add
2509         pad templates in the class_init functions by copying the details/pad
2510         templates in GstElement's base_init.
2511
2512         Also make it possible to replace existing pad templates by adding
2513         a new one with the same name. This was done in a hackish fashion
2514         in same elements before already.
2515
2516         Don't reference pad templates that are added a second time. A
2517         new pad template has a refcount of one and is not floating anymore
2518         and to be owned by the element's class. Make this more explicit by
2519         mentioning it in the docs of gst_element_class_add_pad_template().
2520
2521         These changes are backwards compatible. Fixes bug #491501.
2522
2523         * tests/check/gst/gstelement.c:
2524         Add unit test for setting element details, adding pad templates and
2525         replacing them in a subclass.
2526
2527 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2528
2529         * tools/gst-inspect.c: (print_interfaces),
2530         (print_element_properties_info), (print_pad_info),
2531         (print_signal_info), (print_element_info):
2532         Fix a few memory leaks.
2533
2534 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2535
2536         * docs/libs/gstreamer-libs-sections.txt:
2537         * libs/gst/check/gstcheck.c:
2538         * libs/gst/check/gstcheck.h:
2539         Add more functions for unit testing: gst_check_drop_buffers,
2540         gst_check_caps_equal, gst_check_element_push_buffer_list,
2541         gst_check_element_push_buffer
2542         API: gst_check_drop_buffers
2543         API: gst_check_caps_equal
2544         API: gst_check_element_push_buffer_list
2545         API: gst_check_element_push_buffer
2546
2547 2008-02-01  Julien Moutte  <julien@fluendo.com>
2548
2549         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2550         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2551         (gst_index_finalize), (gst_index_entry_free),
2552         (gst_index_add_association): Fix memory leaks.
2553         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2554         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2555         (gst_mem_index_free_format), (gst_mem_index_free_id),
2556         (gst_mem_index_finalize): Fix memory leaks.
2557         * win32/common/config.h: Updated to CVS HEAD.
2558
2559 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2560
2561         * docs/README:
2562           Some more details about how the plugin docs works.
2563
2564         * docs/plugins/gstreamer-plugins-sections.txt:
2565           Whitespace cleanup.
2566
2567 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2568
2569         * gst/parse/grammar.tab.pre.c:
2570         * gst/parse/grammar.tab.pre.h:
2571         * gst/parse/grammar.y:
2572         * gst/parse/lex._gst_parse_yy.pre.c:
2573           Add delayed set-property. This allows to set properties on dynamicaly
2574           created objects (pads in videomxer). Fixes #509391.
2575
2576 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2577
2578         * gst/gstutils.c:
2579         Check if caps are not NULL (fix bug #510194)
2580
2581 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2582
2583         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2584         (gst_base_sink_get_position_paused):
2585         Add fixme regarding EOS in pull mode.
2586         Fix position reporting in PAUSED for negative rates.
2587
2588 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2589
2590         * gst/gstminiobject.c: (gst_mini_object_replace):
2591         When replacing a miniobject, do a quick equality check first so that we
2592         can avoid a ref/unref pair.
2593
2594 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2595
2596         * docs/design/part-synchronisation.txt:
2597         Update some docs.
2598
2599         * docs/plugins/Makefile.am:
2600         * docs/plugins/gstreamer-plugins-docs.sgml:
2601         * docs/plugins/gstreamer-plugins-sections.txt:
2602         * plugins/elements/gstmultiqueue.c:
2603         Add multiqueue to the docs.
2604
2605 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2606
2607         * configure.ac:
2608           Back to CVS
2609
2610 === release 0.10.17 ===
2611
2612 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2613
2614         * configure.ac:
2615           releasing 0.10.17, "Due Negligence"
2616
2617 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2618
2619         * gst/gstutils.c:
2620         Revert caps != NULL check temporarily for 0.10.17 release.
2621
2622 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2623
2624         * gst/gstutils.c:
2625         Check if caps are not NULL (fix bug #510194)
2626
2627 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2628
2629         * gst/gstutils.c:
2630         Fix compilation on systems that have posix timers but no
2631         monotonic clock.
2632         Fixes: #512715
2633         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2634         dot net>
2635
2636 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2637
2638         * tools/gst-inspect.c:
2639         Revert previous commit in preparation for an impromptu 0.10.17 release
2640
2641 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2642
2643         * tools/gst-inspect.c: (print_interfaces),
2644         (print_element_properties_info), (print_pad_info),
2645         (print_signal_info), (print_element_info):
2646         Fix a few memory leaks.
2647
2648 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2649
2650         * configure.ac:
2651         Back to CVS
2652
2653 === release 0.10.16 ===
2654
2655 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2656
2657         * configure.ac:
2658           releasing 0.10.16, "Special Dispensation"
2659
2660 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2661
2662         * configure.ac:
2663           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2664           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2665           not fail when trying to crosscompile on OpenEmbedded (#511750).
2666
2667 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2668
2669         * docs/manuals.mak:
2670         Use $(MAKE) instead of make to fix the build if GNU make is
2671         called different. Fixes bug #510747.
2672
2673 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2674
2675         * gst/gstplugin.c: (_gst_plugin_initialize):
2676           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2677           again, which I broke two commits ago when changing the API
2678           of gst_plugin_register_static(): the g_list_foreach() in
2679           _gst_plugin_register_static still assumed the old function
2680           signature and would therefore fail (re-fixes #510187).
2681
2682         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2683           (_gst_plugin_register_static), (gst_plugin_register_static):
2684           Revert the (technically correct) change to call g_thread_init() from
2685           the pre-main() constructor. This will break programs which call
2686           g_thread_init() without an if (!g_thread_supported()) guard in their
2687           main function. We could just blame it on GLib or the application, but
2688           it's probably best to just avoid this altogether and simply not use
2689           any GLib functions here and use plain old malloc() with a simple
2690           array to store the plugins to register later when gst_init() is
2691           finally called (re-fixes #510187).
2692
2693         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2694           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2695           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2696           (GST_START_TEST), (gst_plugin_suite):
2697           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2698           works.
2699
2700 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2701
2702         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2703           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2704           This makes gtk-doc complain, but results in slightly better
2705           compiler errors. The old _gst_plugin_register_static() is
2706           still guarded, so there'll be a compiler warning about that
2707           instead. Fixes #510187 too.
2708
2709 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2710
2711         * gst/gst.c: (init_post):
2712         * gst/gstplugin.c: (_gst_plugin_register_static),
2713           (gst_plugin_register_static), (_gst_plugin_initialize):
2714         * gst/gstplugin.h: (GstPluginFilter):
2715           Change API of gst_plugin_register_static() to not take
2716           a GstPluginDesc, but rather just take all the arguments
2717           in a GstPluginDesc directly. This is more intuitive and
2718           avoids certain mistakes when porting code from
2719           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2720           Fixes #510187.
2721
2722         * tests/check/gst/gstplugin.c:
2723           Fix up for changed API.
2724
2725 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2726
2727         * docs/faq/legal.xml:
2728           Update FAQ, Totem actually has an exception these days.
2729
2730 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
2731
2732         * win32/common/libgstreamer.def:
2733         Add new API declarations
2734
2735 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2736
2737         * gst/gstminiobject.c:
2738           Spelling fixes for the API docs.
2739
2740 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2741
2742         * libs/gst/base/gstbasetransform.c:
2743           Fix long property description for QoS.
2744
2745 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
2746
2747         * gst/gst.c:
2748         _gst_trace_on is already provided by gsttrace.h, no need to declare
2749         it ourselves.
2750
2751         * docs/libs/gstreamer-libs-sections.txt:
2752         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2753         and remove strange tcase_add_test which is outputting a warning.
2754
2755         * libs/gst/check/gstcheck.c:
2756         * libs/gst/check/gstcheck.h:
2757         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2758         and define them in gstcheck.c instead of having every .c file whcih
2759         includes gstcheck.h be defining its own copy and relying on symbol
2760         interposing to marry them all, which doesn't work on Solaris.
2761
2762         * tests/check/elements/identity.c: (GST_START_TEST):
2763         Don't define 'buffers' locally, it comes from libgstcheck.
2764
2765         * tests/check/generic/sinks.c: (send_buffer):
2766         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2767
2768         * tests/check/gst/gststructure.c: (GST_START_TEST):
2769         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2770         * tests/check/gst/gstutils.c: (GST_START_TEST):
2771         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2772         Add a bunch of casts to make various constants fit the types
2773         they're being assigned to.
2774
2775 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
2776
2777         * gst/gstchildproxy.c:
2778           Improve docs and add some ideas for making this more general-purpose.
2779
2780 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
2781
2782         * gst/gst_private.h: (GST_CAT_TYPES):
2783           Add GST_CAT_TYPES, for consistency, and so that the other
2784           debug categories don't make fun of it. Spotted by Saur on IRC.
2785
2786 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2787
2788         * gst/parse/Makefile.am:
2789           Move types.h from EXTRA_DIST to noinst_HEADERS.
2790
2791 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2792
2793         * autogen.sh:
2794           Add -Wno-portability to the automake parameters to stop warnings
2795           about GNU make extensions being used. We require GNU make in almost
2796           every Makefile anyway.
2797
2798         * configure.ac:
2799           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2800           at the same time is required for per target flags.
2801
2802 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2803
2804         * gst/gstmacros.h:
2805           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2806           __GNUC__ is defined before using it.
2807
2808 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2809
2810         * docs/gst/gstreamer-sections.txt:
2811         * gst/gst.c: (init_post):
2812         * gst/gstplugin.c: (_gst_plugin_register_static),
2813           (gst_plugin_register_static), (_gst_plugin_initialize),
2814           (gst_plugin_register_func):
2815         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2816           API: add gst_plugin_register_static() and deprecate
2817           GST_PLUGIN_DEFINE_STATIC, since it's not portable
2818           (#498924).
2819           Also, in _gst_plugin_register_static(), make sure to call
2820           g_thread_init() before calling GLib functions such as
2821           g_list_append() if we're not initialised yet, since that
2822           may lead to random crashes with older GSlice/GLib versions.
2823
2824         * tests/check/gst/gstplugin.c:
2825           Adapt unit test to above changes.
2826
2827 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2828
2829         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2830         * gst/gstcaps.c: (gst_caps_to_string):
2831         * gst/gststructure.c: (GST_ASCII_IS_STRING),
2832           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2833           Yet another gratuitous GString micro-optimisation: add a (private)
2834           function that serialises a structure appending to an existing
2835           GString, so that when we serialise caps we don't need to alloc+free
2836           a throwaway GString for each structure (each of which also entailing
2837           multiple reallocs on the way); also use g_string_sized_new() in
2838           various places with an approximate string length to avoid reallocs
2839           within GString. See #500143.
2840
2841 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2842
2843         * gst/gststructure.c: (gst_structure_id_set_value):
2844           Always check UTF-8 conformance of structure strings and not only
2845           if the debugging system is enabled; reasoning: the behaviour of
2846           the actual code shouldn't really change depending on whether the
2847           debugging system is enabled or not (#508291).
2848
2849 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
2850
2851         * Makefile.am:
2852           Remove old coverage target in favour of "make lcov".
2853
2854 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2855
2856         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2857         (gst_base_src_loop):
2858         The start segment for reverse playback goes from start to last_stop.
2859
2860 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2861
2862         Patch by: Peter Kjellerstedt <pkj axis com>
2863
2864         * gst/gstclock.h:
2865         Cast the results from the timeval/spec_to_time macros to what the
2866         docs say it casts to, a GstClockTime. fixes #508175.
2867
2868 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2869
2870         * gst/gstbuffer.c:
2871         Update some comments.
2872
2873         * tools/gst-inspect.c: (print_element_properties_info):
2874         Improve printing of flags.
2875
2876 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
2877
2878         * libs/gst/base/gstbasetransform.c:
2879           (gst_base_transform_transform_size):
2880           Print element name with g_warning() if there's a problem
2881           with the unit size.
2882
2883 2008-01-07  David Schleef  <ds@schleef.org>
2884
2885         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2886
2887         * libs/gst/controller/gstcontroller.h:
2888         * libs/gst/controller/gstcontrolsource.h:
2889         * libs/gst/controller/gstinterpolationcontrolsource.h:
2890         * libs/gst/controller/gstlfocontrolsource.h:
2891         * libs/gst/dataprotocol/dataprotocol.h:
2892           Fix empty prototypes.  Fixes bug #507957.
2893
2894 2008-01-07  David Schleef  <ds@schleef.org>
2895
2896         * docs/faq/dependencies.xml: Fix typo.
2897
2898 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2899
2900         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2901         (gst_base_src_loop):
2902         Don't update the last_stop position in do_seek, that's the position we
2903         did a seek to.
2904         Read backwards when we have a negative rate.
2905
2906         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2907         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2908         (filesrc_suite):
2909         Add check for reverse reading.
2910
2911 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
2912
2913         Patch by: Alexis Ballier <aballier at gentoo org>
2914
2915         * tests/check/gst/gstabi.c:
2916         * tests/check/gst/struct_ppc64.h:
2917         * tests/check/libs/libsabi.c:
2918         * tests/check/libs/struct_ppc64.h:
2919           Decide which header to include based on the userland ABI target
2920           and not the kernel/cpu. Fix up structure sizes of ppc64 header
2921           for 64-bit userland (#503590).  Might need something similar for
2922           x86 too.
2923
2924 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2925
2926         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2927           Log the reason why fopen fails in addition to the fact that it failed.
2928           
2929 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
2930
2931         * gst/parse/parse.l:
2932         Use "%option never-interactive" to prevent useless calls to isatty()
2933         on every input when parsing. Also use "%option noinput" to not define
2934         the static input/yyinput functions which we don't use anyway. This
2935         removes a compiler warning with gcc 4.3 and saves some bytes in the
2936         library.
2937         
2938         * gst/parse/lex._gst_parse_yy.pre.c:
2939         Regenerated for the above change.
2940
2941 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2942
2943         * gst/gstpad.c: (fixate_value):
2944         Don't crash when trying to fixate and empty list.
2945         Fixes #506643.
2946
2947 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
2948
2949         * docs/faq/gst-uninstalled:
2950         Clarify the comments to make the usage of this script and what it
2951         does easier to understand.
2952
2953 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2954
2955         * tools/gst-plot-timeline.py:
2956         Add more options to gst-plot-timeline
2957
2958 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2959
2960         * docs/design/part-synchronisation.txt:
2961         Some more info on how the stream_time in GstBaseSink is done.
2962
2963 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
2964
2965         * tests/check/generic/sinks.c: (gst_sinks_suite):
2966           Put back the tcase_set_timeout(), apparently it's needed after
2967           all; fix it up in a way that makes things work with valgrind too.
2968
2969 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2970
2971         * gst/gstdebugutils.c:
2972           Add warning when failed to open file for writing.
2973
2974 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2975
2976         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
2977
2978         * gst/gstvalue.c: (gst_value_is_fixed):
2979           Optimisation: bail out of the loop as early as possible (#500143).
2980
2981 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2982
2983         * gst/gstcaps.c: (gst_caps_to_string):
2984         * gst/gstinfo.c: (gst_debug_construct_term_color):
2985         * gst/gstparse.c: (gst_parse_launchv):
2986         * gst/gstutils.c: (gst_util_dump_mem):
2987         * gst/gstvalue.c: (gst_value_serialize_any_list),
2988           (gst_value_transform_any_list_string):
2989           Bunch of gratuitous nano-optimisations.
2990
2991 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2992
2993         * tests/check/generic/sinks.c: (async_done_func),
2994           (async_done_eos_func):
2995           Fix leak in unit test (bus sync handler must unref the message
2996           if it returns GST_BUS_DROP). Don't fiddle with the default test
2997           timeout, this is smaller than the current preconfigured value
2998           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
2999           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3000
3001 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3002
3003         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3004
3005         * configure.ac:
3006         Check for stdio_ext.h for the filesink changes.
3007
3008         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3009         (gst_file_sink_class_init), (gst_file_sink_init),
3010         (gst_file_sink_dispose), (gst_file_sink_set_property),
3011         (gst_file_sink_get_property), (gst_file_sink_open_file),
3012         (gst_file_sink_close_file):
3013         * plugins/elements/gstfilesink.h:
3014         Add two properties to control the buffering mode and size.
3015         API: GstFileSink::buffer-mode
3016         API: GstFileSink::buffer-size
3017         Fixes #500150.
3018
3019 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
3020
3021         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3022         Add some more docs to explain why a FIXME was wrongly added. 
3023
3024 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
3025
3026         * gst/gstobject.c:
3027           Fix typo in the gst_object_{ref,unref} documentation.
3028
3029 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3030
3031         * tests/check/libs/controller.c:
3032         * tests/check/libs/typefindhelper.c:
3033         * tests/check/pipelines/parse-launch.c:
3034           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3035           going to be deprecated (see #498924).
3036
3037 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
3038
3039         * gst/gsttypefind.c: (gst_type_find_register):
3040           Make gst_type_find_register work for static typefind functions,
3041           ie. allow passing plugin == NULL (prerequisite for #498924).
3042
3043         * gst/gstelementfactory.c: (gst_element_register):
3044           Small docs addition.
3045
3046 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
3047
3048         * gst/gstpad.c: (gst_pad_dispose):
3049         Really unlink the peer pad instead of setting the peer pointer to NULL
3050         when we dispose the pad.
3051         This correctly calls the unlink functions and makes sure that the peer
3052         does not have a handle to invalid memory. See #504671.
3053
3054         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3055         Add testsuite for above case.
3056
3057 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
3058
3059         Patch by: Peter Kjellerstedt <pkj axis com>
3060
3061         * libs/gst/check/gstcheck.h:
3062           Fix detection of the check version we're compiling against (would
3063           otherwise break if check goes v0.10.0); correctly report the
3064           name of the failed test again in case of failure, instead of
3065           just 'tf' (fixes #504499).
3066
3067 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3068
3069         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3070         (gst_base_src_get_range), (gst_base_src_pad_get_range),
3071         (gst_base_src_loop), (gst_base_src_set_flushing),
3072         (gst_base_src_change_state):
3073         Allow sending EOS to the source to make it send out an EOS event from
3074         the streaming thread.
3075         Update docs and deprecate the old NULL/READY shutdown method.
3076
3077         * tests/check/libs/basesrc.c: (GST_START_TEST),
3078         (gst_basesrc_suite):
3079         Add unit test for controlled shutdown.
3080
3081 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3082
3083         * docs/design/part-synchronisation.txt:
3084         Small updates.
3085
3086         * gst/gstsegment.c: (gst_segment_set_seek),
3087         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3088         (gst_segment_to_running_time):
3089         The seek format can be different from the segment format when the start
3090         and stop values are not to be updated, when we only do a rate change for
3091         example.
3092
3093         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3094         (gst_segment_suite):
3095         Add a testcase for the rate-only seeks, checking that the format is
3096         correctly ignored when start and stop are not updated.
3097
3098 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3099
3100         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3101
3102         * win32/vs8/grammar.vcproj:
3103         * win32/vs8/libgstcontroller.vcproj:
3104         * win32/vs8/libgstreamer.vcproj:
3105         Fix compilation with VS8 and include some missing files.
3106
3107 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3108
3109         * gst/gsttaglist.c:
3110           Small docs addition: mention that the strings returned by
3111           gst_tag_list_get_string*() are in UTF-8 encoding.
3112
3113 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3114
3115         * Makefile.am:
3116           The check-exports stuff moved to common/win32.mak, so include that.
3117
3118 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3119
3120         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3121         (gst_base_src_perform_seek), (gst_base_src_get_range),
3122         (gst_base_src_set_playing), (gst_base_src_change_state):
3123         Make _wait_playing() not check any variables so that we can call this
3124         function from subclasses. Move the checks elsewhere similar to
3125         _wait_preroll() in basesink.
3126         Add some debugging.
3127         Only signal the LIVE cond when we are going back to PLAYING.
3128
3129 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3130
3131         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3132           Use g_remove() and g_rename(). Check result of g_rename(), and
3133           don't leak the open file descriptor if we error out when writing.
3134
3135         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3136           Must check the return value of close() after writing out the new
3137           registry file.  Sometimes write problems such as out-of-diskspace
3138           are only reported when the file is closed and not already during
3139           the write.  This may have caused partial/broken registry files in
3140           some rare circumstances. Should fix #503675.
3141
3142 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3143
3144         * docs/gst/.cvsignore:
3145         * docs/libs/.cvsignore:
3146         * docs/plugins/.cvsignore:
3147         Ignore files generated by new common/* modifications
3148
3149 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3150
3151         * win32/common/libgstbase.def:
3152           Yes, you can also have a <TAB> if you want.
3153
3154 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3155
3156         * win32/common/libgstbase.def:
3157           Add new basetransform API to win export file.
3158
3159 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3160
3161         * tests/check/gst/gstbin.c:
3162           Adjust the test to the refcount change two days ago.
3163
3164 2007-12-14  David Schleef  <ds@schleef.org>
3165
3166         * docs/faq/getting.xml: Fix typo.
3167
3168 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3169
3170         * docs/libs/gstreamer-libs-sections.txt:
3171         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3172           (gst_base_transform_prepare_output_buffer),
3173           (gst_base_transform_set_gap_aware):
3174         * libs/gst/base/gstbasetransform.h:
3175           API: Add gst_base_transform_set_gap_aware() to control whether
3176           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3177           get buffers with this flag at all. Fixes #503231.
3178
3179 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3180
3181         * libs/gst/base/gstbasesink.c:
3182         * libs/gst/base/gstbasesrc.c:
3183         * libs/gst/base/gstbasetransform.c:
3184           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3185           thread. Correct log message in gstbasesrc.c.
3186
3187 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3188
3189         * gst/gstutils.c: (element_find_unconnected_pad):
3190           Fix possible compiler warning (#503417).
3191
3192 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3193
3194         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3195           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3196
3197 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3198
3199         * tools/gst-inspect.c: (print_element_properties_info):
3200           Add support for GstFraction properties.
3201
3202 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3203
3204         * Makefile.am:
3205           Add check-exports target and run it as part of 'make check'
3206           (see #499140 and #493983).
3207
3208         * gst/gst_private.h:
3209         * gst/gstelementfactory.h:
3210         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3211         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3212           (_priv_gst_in_valgrind):
3213         * gst/gstinfo.h: (GstLogFunction):
3214         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3215           (gst_type_find_register):
3216         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3217           (gst_type_find_factory_get_type):
3218         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3219           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3220           (gst_controller_new_valist), (gst_controller_new_list),
3221           (_gst_controller_dispose), (_gst_controller_class_init):
3222         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3223         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3224           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3225           (gst_object_get_controller), (gst_object_set_controller),
3226           (gst_object_suggest_next_sync), (gst_object_sync_values),
3227           (gst_object_set_control_source), (gst_object_get_control_source),
3228           (gst_object_get_value_arrays), (gst_object_get_value_array),
3229           (gst_object_get_control_rate), (gst_object_set_control_rate):
3230         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3231         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3232           Make some functions that should be static static; rename some
3233           private symbols so that they don't get exported; add some FIXME
3234           comments so we can move accidentally exported functions into
3235           our private section in 0.11.
3236
3237         * win32/common/libgstreamer.def:
3238           Add gst_utils_get_timestamp().
3239
3240 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3241
3242         * gst/gstvalue.c:
3243         * gst/gstvalue.h:
3244           Add more missing "Since:" tags to docs.
3245
3246 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3247
3248         * gst/gstutils.c:
3249           Add mising "Since:" to docs.
3250
3251 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3252
3253         * gst/gstplugin.c:
3254           Include "glib-compat-private.h" to fix the build on system with
3255           glib < 2.10. Fixes #503131.
3256
3257 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3258
3259         * gst/gstutils.c:
3260         * gst/gstutils.h:
3261           Actually its not PURE as it gets the time from elsewhere.
3262
3263 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3264
3265         * docs/gst/gstreamer-sections.txt:
3266         * gst/gstclock.h:
3267         * gst/gstdebugutils.c:
3268         * gst/gstinfo.c:
3269         * gst/gstutils.c:
3270         * gst/gstutils.h:
3271         * libs/gst/base/gstbasesink.c:
3272         * tools/gst-launch.c:
3273           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3274           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3275           Thanks Tim for spotting.
3276           API: gst_util_get_timestamp
3277
3278 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3279
3280         * configure.ac:
3281           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3282
3283 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3284
3285         * gst/gststructure.c: (gst_structure_validate_name),
3286           (gst_structure_new_valist), (gst_structure_parse_value),
3287           (gst_structure_from_string):
3288           Don't crash in _from_string() if the structure name is not valid
3289           (fixes #501560).  Allow structure names to start with a number
3290           again (this apparently broke the ubuntu codec installer).
3291
3292         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3293           (GST_START_TEST):
3294           Add unit test for the crash; update unit tests for new behaviour.
3295
3296 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3297
3298         * gst/gstutils.c:
3299         Clarify gst_element_get_compatible_pad() documentation.
3300         Fixes #500919.
3301
3302 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3303
3304         * tests/check/Makefile.am:
3305           Don't forget to dist {gst,libs}/struct_hppa.h.
3306
3307 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3308
3309         * libs/gst/base/gstbasesink.c:
3310           Use new API to get elapsed time.
3311
3312 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3313
3314         * gst/gstdebugutils.c:
3315         * gst/gstinfo.c:
3316           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3317
3318         * tools/gst-launch.c:
3319           Use new API to get elapsed time.
3320
3321 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3322
3323         * docs/gst/gstreamer-sections.txt:
3324         * gst/gstclock.h:
3325         * gst/gstdebugutils.c:
3326         * gst/gstinfo.c:
3327           Rename new API + ChangeLog surgery to remove old name from last entry..
3328
3329 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3330
3331         * docs/gst/gstreamer-sections.txt:
3332         * gst/gstclock.h:
3333         * gst/gstdebugutils.c:
3334         * gst/gstinfo.c:
3335           Now hide the different clock stuff behind a macro.
3336
3337 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3338
3339         * configure.ac:
3340         * gst/gstdebugutils.c:
3341         * gst/gstinfo.c:
3342           Apply the posix-timer check from #361155. Conditionally use the posix
3343           timer for logging. This gives better timestamp precission, less
3344           overhead and no ntp jitter.
3345
3346 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3347
3348         * gst/gstminiobject.c: (gst_mini_object_get_type),
3349         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3350         (gst_mini_object_finalize), (gst_mini_object_copy),
3351         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3352         (gst_mini_object_replace), (param_mini_object_validate),
3353         (gst_param_spec_mini_object_get_type):
3354         Some cleanup and checking against invalid function parameters.
3355
3356 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3357
3358         * docs/gst/gstreamer-sections.txt:
3359         * gst/gstclock.h:
3360         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3361         (gst_systemclock_suite):
3362         Start merging in the easy bits of #361155, the monotonic clock patch.
3363         This one adds a few handy macros with docs and a testsuite.
3364
3365 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3366
3367         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3368         Be a bit smarter when seeking, like, don't try to do a seek when it's
3369         not needed. This avoids errors when the file is not seekable.
3370         Fixes #499771.
3371
3372 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3373
3374         * docs/gst/gstreamer-docs.sgml:
3375         * docs/gst/gstreamer-sections.txt:
3376         * docs/gst/gstreamer.types.in:
3377         * gst/Makefile.am:
3378         * gst/gst.h:
3379         * gst/gstpreset.c:
3380         * gst/gstpreset.h:
3381         * plugins/elements/gstqueue.c:
3382           Due to popular request remove preset interface again. :-(.
3383
3384 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3385
3386         * tools/gst-inspect.c:
3387           Print 'default value' for enums and flags too.
3388
3389 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3390
3391         * docs/random/ensonic/profiling.txt:
3392           More ideas.
3393
3394         * gst/gstbin.c:
3395           Fix typo and give better log output.
3396
3397         * gst/gstdebugutils.c:
3398         * gst/gstdebugutils.h:
3399           More ideas, make graphs a bit smaller and fix param name in macro.
3400
3401 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3402
3403         * gst/gstpreset.c:
3404           Try harder to use the return value from fgets().
3405
3406 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3407
3408         * gst/gstpreset.c:
3409           For theses two fgets we handle the error below.
3410
3411 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3412
3413         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3414         Only send upstream events upstream. Fixes #498746.
3415
3416 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3417
3418         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3419
3420         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3421         (gst_identity_init), (gst_identity_transform_ip),
3422         (gst_identity_set_property), (gst_identity_get_property):
3423         * plugins/elements/gstidentity.h:
3424         Add property to disable handoff signal emission. Fixes #498694.
3425         API: GstIdentity::signal-handoffs
3426
3427 2007-11-21  Julien Moutte  <julien@fluendo.com>
3428
3429         * docs/faq/gst-uninstalled: Yet another missing library for the
3430         uninstalled script (fft)
3431
3432 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3433
3434         * docs/faq/developing.xml:
3435         Add a question about how to submit new translations.
3436
3437         * docs/random/release:
3438         Update the contact email address for the Translation Project
3439
3440         * plugins/elements/gstfdsrc.c:
3441         The parent_class for fdsrc is pushsrc, not GstElement.
3442
3443 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3444
3445         * gst/gstpreset.c:
3446           Plug a leak and fix saving.
3447
3448 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3449
3450         * docs/gst/gstreamer-sections.txt:
3451         Add new gst_preset__get_property_names() function to the docs
3452         to fix the build.
3453
3454 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3455
3456         * gst/gstpreset.c:
3457         * gst/gstpreset.h:
3458           Change _get_preset_names API to return a strv with copies. Add
3459           _get_property_names to allow implementations to filter and provide
3460           good default implementation.
3461
3462 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3463
3464         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3465         script (sdp).
3466
3467 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3468
3469         * gst/gstpreset.c:
3470           More cleanups, docs, and TODOs from comments that now slowly come in.
3471
3472 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3473
3474         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3475         search path.
3476
3477 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3478
3479         * gst/gstpreset.c:
3480           Fix bogus warning and make the property type specific code more
3481           similar.
3482
3483 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3484
3485         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3486         it build on OS X.
3487
3488 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3489
3490         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3491         (gst_bin_add_func), (gst_bin_remove_func),
3492         (gst_bin_change_state_func), (gst_bin_continue_func):
3493         Change email, cleanups add some more debug and comments.
3494         Also set bus and clock on new elements when the pipeline was in error.
3495
3496 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3497
3498         * gst/gstbin.c:
3499         * gst/gstdebugutils.c:
3500           Fix build with --disable-gst-debug. Fixes #497859.
3501           Spotted by Sameer Naik.
3502
3503 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3504
3505         * gst/gstevent.c:
3506           Little documentation improvment.
3507
3508         * gst/gstpreset.c:
3509           More TODO cleanups. Remove c++ comments.
3510
3511         * libs/gst/controller/gstcontroller.c:
3512           Add TODO and use quark from static string.
3513
3514         * tests/check/gst/gstmessage.c:
3515         * tests/check/gst/gststructure.c:
3516           Use quark from static string.
3517
3518 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3519
3520         * gst/gstpreset.c:
3521           Add some comments and TODOs.
3522
3523         * gst/gstpreset.h:
3524           Add padding for future changes.
3525
3526         * plugins/elements/gstqueue.c:
3527           Implement the iface.    
3528
3529 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3530
3531         * docs/gst/gstreamer-docs.sgml:
3532         * docs/gst/gstreamer-sections.txt:
3533         * docs/gst/gstreamer.types.in:
3534         * gst/Makefile.am:
3535         * gst/gst.h:
3536         * gst/gstpreset.c:
3537         * gst/gstpreset.h:
3538           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3539
3540 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3541
3542         * configure.ac:
3543
3544         Back to CVS
3545
3546 === release 0.10.15 ===
3547
3548 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3549
3550         * configure.ac:
3551           releasing 0.10.15, "October"
3552
3553 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3554
3555         * win32/vs6/libgstreamer.dsp:
3556         Convert line endings back to DOS.
3557
3558 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3559
3560         * docs/design/draft-tagreading.txt:
3561         * docs/random/ensonic/profiling.txt:
3562         Update fast tagreading draft and performance profiling ideas.
3563
3564 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3565
3566         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3567         Don't hold the object lock when unreffing a buffer because it could
3568         cause a deadlock when the finalize function wants to grab the object
3569         lock too. Fixes #495133.
3570
3571 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3572
3573         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3574         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3575         Also accumulate time correctly when doing reverse playback. Fixes
3576         #488201,
3577         When converting to running and stream time, use default values for
3578         start/stop/time/accum when comparing different formats. Fixes #494245.
3579
3580         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3581         Do running/stream time in TIME format.
3582
3583         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3584         (gst_segment_suite):
3585         2 new unit tests for segment accumulation.
3586
3587 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3588
3589         * gst/gst.c: (init_pre):
3590         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3591           (_gst_debug_bin_to_dot_file):
3592           Move getenv() back into gst_init, so everyone can live happily
3593           ever after. Make sure the symbol isn't exported though.
3594
3595 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3596
3597         Patch by: Sebastien Moutte  <sebastien moutte net>
3598
3599         * win32/common/gstenumtypes.c:
3600         * win32/common/gstenumtypes.h:
3601           Update enum types.
3602
3603         * win32/vs6/libgstreamer.dsp:
3604           Update vs6 project files (#494343).
3605
3606 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3607
3608         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3609         (gst_base_src_perform_seek), (gst_base_src_default_event),
3610         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3611         (gst_base_src_activate_pull):
3612         Unify flushing code, remove some old unlock code that is no longer used.
3613         Take the streaming lock when seeking to avoid races. Fixes #492729.
3614         Added some more comments.
3615
3616 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3617
3618         * gst/gst.c: (_gst_disable_segtrap):
3619           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3620           we can use gst_segtrap_is_enabled() there now that we have that API.
3621           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3622           to do the getenv here (and export the variable).
3623
3624         * gst/gstdebugutils.c: (debug_dump_element),
3625           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3626           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3627
3628         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3629           (gst_debug_log_default):
3630           Rename _gst_info_start_time to priv_gst_info_start_time so it
3631           doesn't get exported (was never in any header).
3632
3633         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3634           (gst_plugin_loading_mutex):
3635           Make static mutex gst_plugin_loading_mutex really static (was never
3636           in any header), and use gst_segtrap_is_enabled() instead of
3637           _gst_disable_segtrap.
3638
3639         * gst/gsttrace.c: (_gst_trace_default):
3640           Make local _gst_trace_default static (was never in any header).
3641
3642 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3643
3644         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3645
3646         * win32/common/libgstbase.def:
3647         * win32/common/libgstcontroller.def:
3648         * win32/common/libgstdataprotocol.def:
3649         * win32/common/libgstnet.def:
3650         * win32/common/libgstreamer.def:
3651           Add more missing symbols, remove some duplicates, and sort
3652           as the 'sort' command sorts it (partially fixes #493983).
3653
3654 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3655
3656         * gst/gstelement.c: (gst_element_set_state_func):
3657         Only change the state cookie if a different state was set on the
3658         element. See #492729.
3659
3660 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3661
3662         * gst/gstvalue.c:
3663           Remove unused and uninitialised type variables that were still
3664           exported for some reason (they were never in any header files
3665           though).
3666
3667 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3668
3669         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3670         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3671         (gst_base_sink_event), (gst_base_sink_get_position_last),
3672         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3673         (gst_base_sink_change_state):
3674         Don't try to report a 0 position when we don't know, return -1 and FALSE
3675         instead. This mostly happens when we are prerolling.
3676         Make sure we can report the right position before we post the ASYNC_DONE
3677         message so that a message handler can query position without races.
3678
3679         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3680         (async_done_handoff), (async_done_func), (send_buffer),
3681         (async_done_eos_func), (gst_sinks_suite):
3682         Add two tests for the above.
3683
3684 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3685
3686         * MAINTAINERS:
3687         Update with new email address.
3688
3689         * docs/design/part-TODO.txt:
3690         Add some more info about future pad-block and negotiation changes.
3691
3692         * docs/design/part-buffering.txt:
3693         Add some ideas about buffering reporting.
3694
3695 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
3696
3697         * tests/check/gst/gstobject.c:
3698         Disable silly racy test that always fails on this combination of CPU
3699         and kernel.
3700
3701 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3702
3703         Patch by: Murray Cumming  <murrayc@murrayc.com>
3704
3705         * gst/gstobject.c:
3706           Corrected the registration of the parent-set and parent-unset
3707           signals: The parameter is a GstObject, not a GObject (#493134).
3708
3709 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3710
3711         * gst/gst_private.h:
3712         * gst/gstbuffer.h:
3713         * gst/gstevent.h:
3714         * gst/gstformat.h:
3715         * gst/gstmessage.h:
3716         * gst/gstplugin.h:
3717         * gst/gstquery.h:
3718         * gst/gsttaglist.h:
3719         * gst/gstvalue.h:
3720           Move declaration of private _gst_foo_initialize() functions into
3721           our private header file where they should have been all along.
3722
3723 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3724
3725         * docs/plugins/gstreamer-plugins-sections.txt:
3726         * gst/gstdebugutils.h:
3727         * gst/gstxml.h:
3728         * plugins/elements/gstqueue.c:
3729           gtk-doc fixes; trailing-comma-in-enum fix.
3730
3731 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3732
3733         * gst/gst.c: (gst_deinit):
3734           Clean up on deinit (not the external ones though, doesn't seem to be
3735           needed for some reason).
3736
3737 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3738
3739         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3740           Remove __declspec(dllimport) for MSVC that was copied over into core
3741           from a plugin, obviously without ever having been tested (note the
3742           single underscore in _declspec in the initial commit), and that doesn't
3743           really make sense.  See #492077.
3744
3745 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3746
3747         * gst/gst.c: (init_post):
3748         * gst/gstevent.c: (_gst_event_initialize):
3749         * gst/gstquery.c: (_gst_query_initialize):
3750         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3751           g_type_class_ref() other types as well, see #349410 and #64764.
3752
3753         * gst/gstbuffer.c: (_gst_buffer_initialize):
3754         * gst/gstmessage.c: (_gst_message_initialize):
3755           Simplify existing g_type_class_ref().
3756
3757 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3758
3759         * gst/gstformat.c: (_gst_format_initialize):
3760           g_type_class_ref() our GstFormat type to make sure we avoid the
3761           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3762           bug #64764. Should fix intermittent tee unit test failures (#474823).
3763
3764 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3765
3766         * tests/check/elements/tee.c: (test_num_buffers):
3767           Simplify, simplify, simplify - or not.  Rewrite unit test
3768           not to use gst_parse_launch(); allow N sub-streams. Increasing
3769           the number of sub-streams seems to reproduce #474823 more easily.
3770
3771 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3772
3773         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3774
3775         * gst/gsttrace.c:
3776         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3777         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3778         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3779           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3780           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3781           so use _pipe() directly (#492077).
3782
3783         * win32/common/dirent.c: (_treaddir):
3784           Add a couple of casts to make it build without warnings with MSVC.
3785
3786         * win32/common/libgstreamer.def:
3787           Add some more symbols that need to be exported.
3788
3789 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3790
3791         * tests/examples/metadata/read-metadata.c: (message_loop):
3792           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3793           arriving in a second or third tag message are added to
3794           the tag list as well.
3795
3796 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
3797
3798         * libs/gst/base/gstbasesrc.c:
3799           Its "Since:" and not "@Since:". And remove an superflous cast.
3800
3801 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
3802
3803         * docs/libs/gstreamer-libs-sections.txt:
3804         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3805         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3806         (gst_base_sink_get_property), (gst_base_sink_render_object),
3807         (gst_base_sink_preroll_object),
3808         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3809         (gst_base_sink_change_state):
3810         * libs/gst/base/gstbasesink.h:
3811         Add a new last-buffer property that contains the last buffer used in
3812         basesink for preroll or rendering. useful for making snapshots.
3813         API: gst_base_sink_get_last_buffer()
3814         API: GstBaseSink::last-buffer
3815
3816 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3817
3818         * docs/gst/running.xml:
3819         * gst/gst.c:
3820         * gst/gstdebugutils.c:
3821         * gst/gstdebugutils.h:
3822         * tools/gst-launch.c:
3823           Improve bin graph dumping, by using the envvar to specify a path.
3824           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3825
3826 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
3827
3828         * plugins/elements/gsttypefindelement.c:
3829           (gst_type_find_element_handle_event),
3830           (gst_type_find_element_activate):
3831           Post special error message if we can't determine the type of a stream
3832           because it's empty.
3833
3834 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3835
3836         * docs/gst/running.xml:
3837         * gst/gstdebugutils.c:
3838           Document new env-var. Add one log-line after dumpng a graph.
3839
3840 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
3841
3842         * configure.ac:
3843           Ugly hack to put the (recently removed and non-portable, apparently)
3844           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3845           GNU ld, because without that 'make check' fails miserably on my debian
3846           stable box.  Someone with more knowledge of linker intricacies and
3847           portability issues than me fix this properly please.
3848
3849 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
3850
3851         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3852         Reset last seen position after flushing so that we don't report the old
3853         position anymore.
3854
3855 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3856
3857         * gst/gstelementfactory.c: (gst_element_register):
3858         * gst/gsturi.h:
3859         Patch from Alessandro Decina adding get_type_full and
3860         get_protocols_full private vfuncs to the URIHandler interface
3861         to allow bindings to support creating URI handlers. 
3862         Partially fixes: #339279
3863         API: GstURIHandlerInterface::get_type_full
3864         API: GstURIHandlerInterface::get_protocols_full
3865
3866 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3867
3868         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3869         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3870         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3871         Make it so that pads are considered linked until a buffer is pushed
3872         and discovered otherwise. This avoids problems with decodebin2 hanging
3873         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3874         case.
3875
3876         Make sure we lock the multiqueue when updating the max-size properties.
3877         
3878         Fix a crash on Solaris in a debug statement in get_request_pad that
3879         passes a NULL string to GST_DEBUG. 
3880
3881         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3882         (run_output_order_test):
3883         Fix the test to allow the first buffer on not-linked pads to come out
3884         of sequence while multiqueue discovers that they are not-linked.
3885
3886 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3887
3888         * configure.ac:
3889         * libs/gst/check/Makefile.am:
3890         Use a custom export symbol regex for libgstcheck, as it needs
3891         to export symbols that don't match the standard GStreamer gst_*
3892         pattern, and  --export-dynamic is not portable (only works on 
3893         GNU ld)
3894
3895         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3896         (gst_check_setup_sink_pad):
3897         Make sure to pass a message parameter to the fail_* macros.
3898
3899         * tests/check/gst/gstinfo.c: (GST_START_TEST):
3900         Fix some compiler warnings.
3901
3902 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
3903
3904         * tests/check/gst/gststructure.c: (test_to_string):
3905           Disable test that checks that white spaces are not allowed
3906           in structure names or field names, since we need to
3907           support that for now for backwards compatibility reasons.
3908
3909 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3910
3911         * docs/gst/gstreamer-sections.txt:
3912         * gst/gsttaglist.c:
3913         * gst/gsttaglist.h:
3914           API: add GST_TAG_ARTIST_SORTNAME
3915           API: add GST_TAG_ALBUM_SORTNAME
3916           API: add GST_TAG_TITLE_SORTNAME
3917           Add tag variants for sorting (#414539).
3918
3919 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3920
3921         * gst/gststructure.c:
3922           Also allow white space for names so we don't break
3923           backwards compatibility.
3924
3925 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
3926
3927         * docs/design/part-TODO.txt:
3928         * docs/design/part-segments.txt:
3929         * docs/design/part-streams.txt:
3930         Small updates.
3931
3932 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3933
3934         * docs/gst/gstreamer-sections.txt:
3935          Fixed documentation from my previous commit (added new API add
3936          gst_value_set_structure(), add gst_value_get_structure() and
3937          GST_VALUE_HOLDS_STRUCTURE).
3938
3939 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
3940
3941         * gst/gstdebugutils.c:
3942           Reflow code to fix uninitialized variable warning.
3943
3944 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3945
3946         * gst/gstcaps.c: (gst_caps_to_string),
3947         (gst_caps_from_string_inplace):
3948         * gst/gststructure.c: (gst_structure_get_abbrs),
3949         (gst_structure_to_string), (gst_structure_from_string):
3950         * gst/gstvalue.c: (gst_value_set_structure),
3951         (gst_value_get_structure), (gst_value_serialize_structure),
3952         (gst_value_deserialize_structure), (_gst_value_initialize):
3953         * gst/gstvalue.h:
3954         * tests/check/gst/gststructure.c: (GST_START_TEST),
3955         (gst_structure_suite):
3956         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3957          Added GstStructure to gst_value_table and its related functions.
3958          Changed gst_structure_to_string to print ';' in the end.
3959          Changed gst_caps_to_string to not print ';' beteween its
3960          fields (structures) anymore and remove the lastes ';' from latest
3961          structure. Now it is possible to have nested structures.
3962          In addition, backward compatibilty is assured by accepting '\0' as
3963          end delimiter. Fixes: #487969.
3964          API: add gst_value_set_structure()
3965          API: add gst_value_get_structure()
3966          API: add GST_VALUE_HOLDS_STRUCTURE
3967
3968 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
3969
3970         * gst/gstbus.c:
3971           When no GSource callback has been set up, tell developer
3972           to use a function that actually exists.
3973
3974 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
3975
3976         * docs/gst/gstreamer-sections.txt:
3977         * gst/Makefile.am:
3978         * gst/gst.c:
3979         * gst/gst.h:
3980         * gst/gstdebugutils.c:
3981         * gst/gstdebugutils.h:
3982         * gst/gstinfo.c:
3983         * gst/gstinfo.h:
3984         * tools/gst-launch.c:
3985           Allow dumping pipelines as dot graphs. Fixes #456573.
3986
3987 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3988
3989         * gst/gststructure.c:
3990           Allow '+' as well, it can be part of media or mime types
3991           such as image/svg+xml.
3992
3993 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3994
3995         * docs/gst/gstreamer-sections.txt:
3996         * gst/gstbus.c:
3997         * gst/gstbus.h:
3998           API: add gst_bus_pop_filtered
3999           API: add gst_bus_timed_pop_filtered
4000           Two new functions for waiting for specific message types on the
4001           bus for a specified amount of time without iterating any main
4002           loops or main contexts.
4003
4004         * tests/check/gst/gstbus.c:
4005           Some tests for the new functions.
4006
4007 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4008
4009         * docs/libs/gstreamer-libs-sections.txt:
4010           Make gtk-doc ignore stuff it should ignore.
4011
4012 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
4013
4014         * libs/gst/check/gstcheck.c:
4015         * libs/gst/check/gstcheck.h:
4016           Allow runtime selection of unit tests to run via the GST_CHECKS
4017           environment variable (test case function names, comma-separated).
4018
4019 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4020
4021         * gst/gststructure.c:
4022         * tests/check/gst/gststructure.c:
4023           Revert serialisation change and constrain structure-names after
4024           consensus on irc. Update api documentation to reflect the change.
4025
4026 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
4027
4028         * gst/gststructure.c:
4029           Improve serialization and fix tests.
4030
4031         * tests/check/gst/gststructure.c:
4032           Add another test that covers why I actually did the previous structure
4033           change.
4034
4035 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4036
4037         * tools/gst-inspect.c: (print_element_info):
4038         Don't crash when inspecting an element.
4039
4040 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
4041
4042         * tests/check/gst/gststructure.c:
4043           Add unit test for escaping of structure name when serialising
4044           and deserialising to/from strings.
4045
4046 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
4047
4048         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4049         (gst_single_queue_new):
4050         * plugins/elements/gstqueue.c: (gst_queue_init),
4051         (gst_queue_push_one):
4052         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4053         upstream is tricked into thinking it can suggest a format downstream
4054         while downstream does not support that format. The real problem is that
4055         core calls acceptcaps when pushing a buffer with new caps, for which we
4056         do a little workaround by setting the caps on the srcpad ourselves
4057         before pushing the buffer (until this is figured out). Fixes #486758.
4058
4059 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4060
4061         * gst/gststructure.c:
4062         * gst/gstvalue.c:
4063           Add some more comments and debug output. Quote structure name to fix
4064           deserialisation of some strings.
4065
4066 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4067
4068         * gst/gstbuffer.h:
4069           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4070           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4071
4072 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4073
4074         * tools/gst-inspect.c:
4075           Save approx. 400 1 byte allocs when printing. Use API to acces element
4076           details.
4077
4078         * tools/gst-run.c:
4079           Avoid a strdup.
4080
4081         * tools/gst-xmlinspect.c:
4082           Use API to acces element details.
4083
4084 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4085
4086         * gst/gstinfo.c:
4087           Fix some spelling errors.
4088
4089 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4090
4091         * gst/gstbin.c: (bin_handle_async_done):
4092         Correctly set the next state if all of our async children commited their
4093         state. This makes sure we can actually cancel the state change in
4094         progress. Fixes a regression in Rhythmbox when seeking.
4095
4096 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4097
4098         * gst/gstbin.c:
4099           Don't shadow local variable.
4100
4101         * gst/gstinfo.c:
4102           Don't shadow global function name.
4103
4104 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4105
4106         * gst/gstelementfactory.c:
4107         * gst/gstpluginfeature.c:
4108         * gst/gstpluginfeature.h:
4109         * gst/gstregistrybinary.c:
4110         * gst/gstregistryxml.c:
4111         * gst/gsttypefind.c:
4112           Use already-interned string for the private GstPluginFeature
4113           plugin_name field.
4114
4115 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4116
4117         * docs/libs/gstreamer-libs-sections.txt:
4118           Add new API to docs; fixes the build.
4119
4120 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4121         
4122         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4123
4124         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4125         (gst_base_sink_event):
4126         * libs/gst/base/gstbasesink.h:
4127         Add function to wait for EOS, subclasses can use this to correctly wait
4128         for devices to drain before performing the EOS logic. Fixes #485343.
4129         API: gst_base_sink_wait_eos()
4130
4131 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4132
4133         * gst/gstplugin.h:
4134           Cast description string constants in GST_PLUGIN_DEFINE macros
4135           to a (gchar*) to make C++ code using these macros compile
4136           without warning with g++-4.2 (see #462737).  Even if slightly
4137           ugly, this seems preferable to putting the description strings
4138           into the GLib quark table or making the structure member a
4139           const gchar * and doing casts in core code that allocs and
4140           frees these strings, or requiring a cast in the C++ code.
4141
4142 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4143
4144         * gst/gstinfo.h:
4145           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4146           to print the entire class/function signature into the log
4147           file for C++ code.  This only affects C++ code, for C code
4148           everything remains the same.
4149
4150 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4151
4152         * gst/gstbin.c: (remove_from_queue):
4153         Work around a problem with pipelines containing (semi)loops until a
4154         proper, more complicated solution is ready. See #475455.
4155
4156 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4157
4158         * gst/gstplugin.c:
4159         * gst/gstplugin.h:
4160         * gst/gstregistrybinary.c:
4161         * gst/gstregistryxml.c:
4162           Put more strings into the GLib quark table. No need to keep
4163           a hundred-something copies of identical version strings,
4164           license strings, package name strings and package origin
4165           strings around. 
4166
4167 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4168
4169         * docs/manual/advanced-dataaccess.xml:
4170           Don't imply that it's okay to unconditionally change
4171           buffer data or buffer metadata in a pad probe callback,
4172           and a bunch of other comments. Fixes #430031.
4173
4174 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4175
4176         * win32/common/gstenumtypes.c:
4177         * win32/common/gstenumtypes.h:
4178         * win32/common/gstversion.h:
4179           Update generated files.
4180
4181 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4182
4183         * docs/manual/advanced-autoplugging.xml:
4184           Prefix section with broken code with a warning (see #342432).
4185
4186 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4187
4188         * docs/manual/appendix-integration.xml:
4189         * docs/manual/basics-init.xml:
4190           Call g_thread_init() before g_option_context_new() to
4191           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4192
4193 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4194
4195         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4196         (gst_base_sink_queue_object_unlocked),
4197         (gst_base_sink_queue_object), (gst_base_sink_event),
4198         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4199         When we received EOS and are waiting for when to post the EOS message,
4200         our state is prerolled and we should not return ASYNC.
4201         Reorganize some code paths to implement this behavior.
4202
4203         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4204         (gst_sinks_suite):
4205         Add unit test to verify above EOS fix.
4206
4207 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4208
4209         * plugins/elements/gsttypefindelement.c:
4210         (gst_type_find_element_have_type), (gst_type_find_element_init),
4211         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4212         Move detecting the input caps of the sinkpad to the setcaps function.
4213         This allows us to update the output caps when we receive new input caps
4214         instead of always using the first detected caps.
4215
4216 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4217
4218         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4219         (gst_base_sink_get_position):
4220         Don't try to preroll non-async elements after a flush.
4221         Subtract latency form clock times when reporting position.
4222
4223 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4224
4225         * gst/gstpad.c: (gst_pad_pause_task):
4226         * gst/gstutils.c:
4227         Small comment and documentation update.
4228
4229 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4230
4231         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4232         (gst_base_src_set_live), (gst_base_src_is_live),
4233         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4234         (gst_base_src_default_event), (gst_base_src_wait),
4235         (gst_base_src_do_sync), (gst_base_src_get_range),
4236         (gst_base_src_pad_get_range), (gst_base_src_loop),
4237         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4238         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4239         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4240         (gst_base_src_change_state):
4241         Rework the locking of basesrc in a similar fashion to basesink. We
4242         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4243         us to handle live sources and semi live ones much better.
4244         Simplify flushing.
4245         Fix unlocking when seeking, shutting down and pausing in live sources.
4246
4247 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4248
4249         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4250         Fix compilation again.
4251
4252 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4253
4254         * gst/gstelement.c:
4255           Use meaningful categories for the logs to clean the default one.
4256
4257 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4258
4259         * tests/check/pipelines/cleanup.c:
4260           Print message name and not just number.
4261
4262 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4263
4264         * docs/design/draft-tagreading.txt:
4265           Add some more thoughts.
4266
4267 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4268
4269         * tests/check/pipelines/simple-launch-lines.c:
4270           Print message name and not just number.
4271
4272 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4273
4274         * libs/gst/base/gsttypefindhelper.c:
4275           Speedup typefinding. This is work in progress (see #459862).
4276
4277 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4278
4279         * gst/gstplugin.c:
4280           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4281           Spotted by Josep Torra Valles <josep@fluendo.com>.
4282
4283 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4284
4285         * gst/gstclock.h:
4286           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4287           field has moved to GstObject.
4288
4289 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4290
4291         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4292         (gst_base_src_get_range), (gst_base_src_change_state):
4293         Call unlock for live sources so that they can't get stuck in _create and
4294         produce a buffer before they are set back to PLAYING.
4295
4296 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4297
4298         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4299         (gst_queue_locked_dequeue):
4300         Comment the segment-related code... in the PROPER function.
4301         See #482147 and my commit from yesterday.
4302
4303 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4304
4305         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4306         Also initialize the counter that calculates the first timestamp on a
4307         buffer correctly for non-live sources.
4308
4309 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4310
4311         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4312         Disable code that's breaking the current-time-level reporting.
4313         See #482147
4314
4315 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4316
4317         * docs/gst/gstreamer-sections.txt:
4318         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4319         as they shouldn't show up. Fixes the docs build.
4320
4321 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4322         
4323         * gst/gstinfo.h:
4324         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4325         Define M_PI which is used in files which are including gstinfo.h. 
4326         VS6 includes doesn't define it.
4327         * win32/common/libgstbase.def:
4328         * win32/common/libgstcontroller.def:
4329         * win32/common/libgstreamer.def:
4330         Add new exported functions and variables.
4331         * win32/vs6/libgstcontroller.dsp:
4332         * win32/vs6/libgstreamer.dsp:
4333         Update the list of files to build.
4334         
4335 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4336
4337         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4338
4339         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4340         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4341         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4342         Improve debugging. Fixes #480858.
4343
4344 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4345
4346         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4347
4348         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4349         First patch of code cleanups, use the macros and right arguments in the
4350         macros to signal and lock the queue. See #480858.
4351
4352 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4353
4354         * gst/gstbus.c: (poll_func):
4355         Improve debugging when dealing with _poll().
4356
4357 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4358
4359         * gst/gstregistryxml.c:
4360           Fix memory leak I introduced a few days ago.
4361
4362 2007-09-26  Michael Smith <msmith@fluendo.com>
4363
4364         * gst/gstbuffer.c: (gst_buffer_finalize):
4365           Make it once again possible to free GstBuffers in the default
4366           build.
4367           The poisoning scribbles on parts of the miniobject we need in
4368           order to free it.
4369           Fixes #480341
4370
4371 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4372
4373         * docs/gst/gstreamer-sections.txt:
4374         * gst/gsttaglist.c:
4375         * gst/gsttaglist.h:
4376         API: add GST_TAG_COMPOSER, fixes #459809.
4377
4378 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4379
4380         * gst/gstplugin.c:
4381         * gst/gstplugin.h:
4382         Add the 3-clause BSD license and the MIT/X11 license to the license
4383         list. Fixes #479784.
4384
4385 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4386
4387         * docs/faq/getting.xml:
4388           Add Q+A about different GStreamer versions (#364056).
4389
4390 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4391
4392         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4393         (gst_base_sink_event), (gst_base_sink_change_state):
4394         Return correct gboolean from query function.
4395
4396 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4397
4398         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4399         (gst_base_sink_event), (gst_base_sink_query),
4400         (gst_base_sink_change_state):
4401         Simplify latency query.
4402         When not synchronizing, we can report latency without querying the peer
4403         element.
4404
4405 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4406
4407         * gst/gstobject.h:
4408         * gst/gstvalue.c:
4409         Fix small typos in the docs.
4410
4411 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4412
4413         * docs/design/draft-latency.txt:
4414         * docs/design/draft-push-pull.txt:
4415         * docs/design/draft-tagreading.txt:
4416         * docs/design/part-MT-refcounting.txt:
4417         * docs/design/part-activation.txt:
4418         * docs/design/part-block.txt:
4419         * docs/design/part-element-source.txt:
4420         * docs/design/part-events.txt:
4421         * docs/design/part-gstbin.txt:
4422         * docs/design/part-gstelement.txt:
4423         * docs/design/part-gstobject.txt:
4424         * docs/design/part-gstpipeline.txt:
4425         * docs/design/part-messages.txt:
4426         * docs/design/part-preroll.txt:
4427         * docs/design/part-push-pull.txt:
4428         * docs/design/part-qos.txt:
4429         * docs/design/part-query.txt:
4430         * docs/design/part-scheduling.txt:
4431         * docs/design/part-seeking.txt:
4432         * docs/design/part-segments.txt:
4433         * docs/design/part-states.txt:
4434         Documentation updates and typo fixes.
4435
4436 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4437
4438         * plugins/elements/gstfakesink.c:
4439           Add some debug text to error message to indicate that
4440           we errored out on request.
4441
4442         * tools/gst-launch.c:
4443           When the state change to PLAYING fails, check for an
4444           error message on the bus and print it.
4445
4446 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4447
4448         translated by: Jorge González González <aloriel@gmail.com>
4449
4450         * po/LINGUAS:
4451         * po/es.po:
4452           Added Spanish translation.
4453
4454 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4455
4456         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4457         Fix printf arguments.
4458
4459 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4460
4461         * tests/check/generic/states.c:
4462           Improved state change unit test.
4463
4464 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4465
4466         * gst/gstbin.h:
4467           Move priv to the right place.
4468
4469         * gst/gstsystemclock.c:
4470           Add FIXME: and improve log.
4471
4472         * tests/check/Makefile.am:
4473         * tests/examples/manual/Makefile.am:
4474           Work with all types of registries.
4475
4476 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4477
4478         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4479         Don't unref the event after pushing it. Fixes #478401.
4480
4481 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4482
4483         * .cvsignore:
4484         * tests/examples/manual/.cvsignore:
4485           Ignore registries in any format.
4486
4487 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4488
4489         * gst/glib-compat-private.h:
4490           Add compatibility macro for g_intern_string() for
4491           GLib-2.8 (any reason we can't just bump the
4492           requirement to at least 2.10?)
4493
4494         * gst/gstpadtemplate.h:
4495         * gst/gstelementfactory.c:
4496         * gst/gstregistryxml.c:
4497         * gst/gstregistrybinary.c:
4498           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4499           up the internal code accordingly.  This shouldn't be a problem, since
4500           there is no reason external code could ever assume the string in such
4501           a structure is dynamically allocated unless it did that itself;  the
4502           use of g_strdup() is private to element factories.  The new code also
4503           saves some memory by putting pad template name strings into the GLib
4504           quark table instead of allocating them dynamically.
4505           Declaring this field constant fixes warnings with g++-4.2 when using
4506           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4507
4508 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4509
4510         * gst/gstelementfactory.c:
4511           Release static caps. Fixes #475723.
4512
4513 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4514
4515         * gst/gstinfo.c:
4516         * gst/gstinfo.h:
4517           Make some internal API take const gchar * instead of just
4518           gchar * to avoid compiler warnings with g++-4.2.2 when
4519           passing string constants (partially fixes #478092).
4520
4521 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4522
4523         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4524         A latency query fails when one of the sinks fail.
4525
4526         * gst/gstelement.c: (gst_element_set_base_time):
4527         Improve debugging.
4528
4529 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4530
4531         * gst/gstbin.c: (gst_bin_continue_func):
4532         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4533         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4534         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4535
4536         Fix minor compilation warnings shown with Forte.
4537
4538 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4539
4540         * plugins/elements/gstqueue.c: (apply_buffer),
4541         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4542         Measure queue level based on the diff between head and tail timestamps
4543         even when pushing the first buffer.
4544
4545 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4546
4547         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4548         (gst_base_sink_event), (gst_base_sink_change_state):
4549         Sinks that don't preroll can always be queried for the latency.
4550         Don't post ASYNC start when we are not async.
4551
4552 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4553
4554         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4555         (gst_queue_handle_sink_event), (gst_queue_chain),
4556         (gst_queue_push_one), (gst_queue_handle_src_query),
4557         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4558         * plugins/elements/gstqueue.h:
4559         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4560         push more buffers but allow pushing of EOS and NEWSEGMENT.
4561         Add some more debug info here and there. Fixes #476514.
4562
4563 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4564
4565         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4566         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4567         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4568         (gst_base_sink_set_flushing), (gst_base_sink_query),
4569         (gst_base_sink_change_state):
4570         Latency query is allowed after we are prerolled. Introduce a new flag
4571         for this and stop abusing other variables.
4572
4573 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4574
4575         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4576         Push OOB events downstream when we get them in send_event. This allows
4577         the application to insert events in the pipeline.
4578         Add some more comments.
4579
4580 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4581
4582         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4583         (do_bin_latency), (gst_bin_change_state_func):
4584         * gst/gstpipeline.c: (gst_pipeline_change_state):
4585         Move latency query from GstPipeline to GstBin so that we can also
4586         use it when async-handling is enabled on bins.
4587
4588 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4589
4590         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4591         (gst_base_src_do_sync), (gst_base_src_change_state):
4592         Update docs.
4593         Clean up the timestamping and syncing code for pseudo live sources.
4594
4595 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4596
4597         Patch by: Steve Fink  <sphink gmail com>
4598
4599         * docs/manual/appendix-checklist.xml:
4600           Mention less -R switch in the section about debug output (#474055).
4601
4602 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4603
4604         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4605         Queue can latency to the pipeline up to the configured max size in time.
4606         Report this fact in the latency query.
4607
4608 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4609
4610         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4611
4612         * libs/gst/controller/gstinterpolation.c:
4613         * libs/gst/controller/gstlfocontrolsource.c:
4614         Use gst_guint64_to_gdouble() when converting from a uint64 or
4615         GstClockTime to double to fix the build on win32. Fixes #474371.
4616
4617 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4618
4619         * gst/gstbuffer.c: (gst_buffer_finalize):
4620         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4621         When finalizing a buffer the complete struct is filled with 0xff,
4622         thus making a use of the buffer after the final unref impossible.
4623
4624 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4625
4626         * tests/check/libs/controller.c: (GST_START_TEST):
4627         Use fail_unless_equals_int(a, b) instead of
4628         fail_unless_equals (a == b) to get better output on failures.
4629
4630 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4631
4632         * tests/check/gst/gsturi.c:
4633           Also check for the other file URI variant on win32.
4634
4635 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4636
4637         * gst/gsturi.c: (gst_uri_get_location):
4638           If there's no hostname, we want to return 'c:/foo/bar.txt'
4639           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4640
4641         * tests/check/gst/gsturi.c:
4642           Unit test for the above and a few more things.
4643
4644 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4645
4646         * docs/design/part-live-source.txt:
4647         Add docs on how live sources should timestamp.
4648
4649         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4650         Add some more debug info.
4651         For subclasses that are live and like to sync, add aditional startup
4652         latency to sync time and timestamps so that we timstamp according to the
4653         design doc.
4654
4655 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4656
4657         * gst/gstbuffer.c:
4658           Also do a g_type_class_ref() for the subbuffer type in
4659           the init function.
4660
4661 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4662
4663         * docs/gst/gstreamer-sections.txt:
4664         * gst/gstpad.c: (gst_pad_peer_query):
4665         * gst/gstpad.h:
4666         Add function to perform a query on the peer of a pad.
4667         API: gst_pad_peer_query()
4668
4669 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4670
4671         * tests/check/gst/gstsystemclock.c:
4672           Cleanup the test a little (use gst-logging and not g_message). Improve
4673           test to check if a wait reached the target.
4674
4675 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4676
4677         * docs/libs/gstreamer-libs-sections.txt:
4678           Add new API to docs and fix the build.
4679
4680 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
4681
4682         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4683         (gst_base_src_init), (gst_base_src_set_do_timestamp),
4684         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4685         (gst_base_src_get_property), (gst_base_src_do_sync):
4686         * libs/gst/base/gstbasesrc.h:
4687         Add property to make the basesrc timestamp buffers based on the current
4688         running time.
4689         API: GstBaseSrc::do-timestamp
4690         API: gst_base_src_set_do_timestamp()
4691         API: gst_base_src_get_do_timestamp()
4692
4693 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
4694
4695         * docs/random/release:
4696           Really make sure translations are up-to-date before
4697           a release (#465010).
4698
4699 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
4700
4701         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4702         Always destroy the timer, also in error cases.
4703
4704 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4705
4706         * docs/manual/highlevel-xml.xml:
4707         Fix XML example code. Fixes #472714.
4708
4709 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4710
4711         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4712         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4713         (gst_base_sink_query):
4714         Protect eos and have_preroll with the OBJECT lock so we don't need to
4715         take the PREROLL lock when querying the latency. Fixes #473846.
4716
4717 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
4718
4719         * gst/gstelement.c:
4720           Give some log-messages a category.
4721
4722 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
4723
4724         * gst/gststructure.c:
4725         (gst_structure_fixate_field_nearest_fraction):
4726         Fix fraction list fixation code. Take the fraction with the smallest
4727         difference with the target instead of the first one in the list.
4728
4729         * tests/check/gst/gststructure.c: (GST_START_TEST),
4730         (gst_structure_suite):
4731         Added test to verify correct fraction list fixation behaviour.
4732
4733 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
4734
4735         * win32/common/libgstreamer.def:
4736           Export gst_bus_add_signal_watch too.
4737
4738 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
4739
4740         * docs/libs/gstreamer-libs-sections.txt:
4741         Add new methods to docs.
4742
4743         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4744         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4745         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4746         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4747         * libs/gst/base/gstbasesink.h:
4748         Add ts-offset property to fine-tune the synchronisation.
4749         API: GstBaseSink::ts-offset property
4750         API: gst_base_sink_set_ts_offset()
4751         API: gst_base_sink_get_ts_offset()
4752
4753 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
4754
4755         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4756         (gst_base_sink_init), (gst_base_sink_set_sync),
4757         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4758         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4759         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4760         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4761         (gst_base_sink_get_property), (gst_base_sink_change_state):
4762         * libs/gst/base/gstbasesink.h:
4763         Add async property to instruct the sink never to inform the parent about
4764         ASYNC state changes, update docs.
4765         Check argument with g_return_* for the public functions.
4766         API: GstBaseSink::async property
4767         API: gst_base_sink_set_async_enabled()
4768         API: gst_base_sink_is_async_enabled()
4769
4770 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
4771
4772         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4773         Improve debugging.
4774
4775         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4776         (gst_base_src_default_query), (gst_base_src_wait),
4777         (gst_base_src_do_sync), (gst_base_src_change_state):
4778         Rearrange some code so that we can add support for measuring the 
4779         startup latency.
4780
4781 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
4782
4783         * docs/random/ensonic/dynlink.txt:
4784           More thoughs on this.
4785
4786         * plugins/elements/gstcapsfilter.c:
4787           Add bugzilla ticket number to FIXME comment.
4788
4789 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
4790
4791         * docs/design/part-TODO.txt:
4792         * docs/design/part-block.txt:
4793         Update some docs.
4794
4795 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4796
4797         * gst/Makefile.am:
4798           Revert patch which uses $(gst_headers) instead of $^ because it
4799           breaks make dist.
4800
4801 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4802
4803         * tests/check/gst/gstbin.c: (GST_START_TEST):
4804           Fix leaks in the new unit test.
4805
4806 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
4807
4808         * gst/gst.c:
4809           Don't use GST_INFO before the debug system is actually initialised
4810           (shouldn't do any harm, but won't print anything either, so we can
4811           just as well remove it).
4812
4813         * gst/gstinfo.h:
4814           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4815           compilers that don't support variadic macros (such as MSVC), should
4816           check for debug_level <= __gst_debug_min as well, since that's the
4817           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4818           inline helper functions. Should improve performance a bit, but also
4819           makes sure uses of GST_INFO et.al are ignored if the debugging
4820           system isn't initialised yet (instead of printing an assertion
4821           failure).
4822
4823 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
4824
4825         patch by: David Nečas <yeti@physics.muni.cz>
4826
4827         * gst/Makefile.am:
4828           Replace some non portable makefile constructs.
4829
4830 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
4831
4832         * common/gtk-doc-plugins.mak:
4833           Grrrrr. Don't remove the types file on make clean.
4834
4835 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
4836
4837         * tools/gst-launch.1.in:
4838         Add colorspace to example pipeline. Fixes #458274.
4839
4840 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
4841
4842         * docs/random/release:
4843           The release manager should run 'make download-po' before making a
4844           release to make sure translations are up-to-date.
4845
4846         * po/LINGUAS:
4847         * po/be.po:
4848         * po/pl.po:
4849         * po/rw.po:
4850           Add some new translations.
4851
4852 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
4853
4854         * tools/gst-launch.c: (event_loop), (main):
4855         Don´t try to do any state management when a live pipeline posts
4856         buffering messages.
4857         Also make the buffering string translatable.
4858
4859 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4860
4861         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4862         (bin_handle_async_start), (gst_bin_handle_message_func):
4863         Improve debugging.
4864         When adding elements, insert messages into the bus of the newly added
4865         element and make sure the element is the source of the message. This
4866         allows the parent bin to intercept the message and do the
4867         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4868         messages to the app (which is not allowed).
4869         Update some docs.
4870
4871         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4872         Fix testsuite so that is does not work around messages that should not
4873         have been posted in the first place.
4874
4875 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4876
4877         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4878         (update_degree), (gst_bin_sort_iterator_next):
4879         Fix annoying bug in the sorted iterator where a sink that is not really
4880         a sink (when it has downstream links) screwed up the iterator.
4881
4882         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4883         Unit test to verify the fix.
4884
4885 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4886
4887         * gst/gstmessage.h:
4888         Add some more docs for the messages.
4889
4890         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4891         (gst_base_sink_query):
4892         Add some more debugging.
4893
4894         * tools/gst-launch.c: (event_loop):
4895         When interrupting, don't try to set pipeline to PAUSED twice.
4896
4897 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4898
4899         
4900         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4901         (bin_handle_async_start), (gst_bin_handle_message_func):
4902         Move ASYNC_START message posting to where it belongs, similar to
4903         async_done. 
4904         Don't post ASYNC_START when we are in error. 
4905         Post ASYNC_START when we added an async element to a bin.
4906
4907 2007-08-14  Julien MOUTTE  <julien@moutte.net>
4908
4909         * gst/gstindex.c: (gst_index_add_association): Fix index entry
4910         generation from vargs. Fixes #466595.
4911
4912 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4913
4914         * gst/gstbin.c: (gst_bin_element_set_state):
4915         Always change the state of a NO_PREROLL element even if it has ASYNC
4916         elements inside (in case of a bin).
4917
4918         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4919         Unit test for this case.
4920
4921 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
4922
4923         * libs/gst/check/gstbufferstraw.c:
4924         * libs/gst/check/gstcheck.h:
4925         * libs/gst/controller/gstcontroller.c:
4926         * libs/gst/controller/gstcontrolsource.h:
4927         * libs/gst/controller/gstlfocontrolsource.h:
4928         * plugins/elements/gstcapsfilter.h:
4929         * plugins/elements/gstfdsink.h:
4930         * plugins/elements/gstfdsrc.h:
4931           Add more missing docs.
4932
4933 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4934
4935         * gst/gststructure.c:
4936         Add Since tag to docs.
4937
4938 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4939
4940         * docs/gst/gstreamer-sections.txt:
4941         * gst/gststructure.c: (gst_structure_get_uint):
4942         * gst/gststructure.h:
4943         Add function to get uint from a structure.
4944         API: gst_structure_get_uint()
4945
4946 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4947
4948         * gst/gstcaps.c: (gst_caps_set_simple_valist),
4949         (gst_caps_intersect):
4950         Fix proper check for simple caps.
4951
4952 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
4953
4954         * docs/gst/Makefile.am:
4955         * docs/libs/Makefile.am:
4956           Remove cruft and do some cleanups.
4957
4958         * docs/gst/gstreamer-docs.sgml:
4959         * docs/libs/gstreamer-libs-docs.sgml:
4960           Prepare for comming gtkdoc features (rebase against online docs).
4961
4962 2007-08-10  Michael Smith <msmith@fluendo.com>
4963
4964         * docs/gst/gstreamer-sections.txt:
4965           Add gst_registry_add_path to docs.
4966
4967 2007-08-10  Michael Smith <msmith@fluendo.com>
4968
4969         * gst/gstregistry.h:
4970           Add gst_registry_add_path, which was missing from this header.
4971
4972 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
4973
4974         * libs/gst/controller/gstlfocontrolsource.c:
4975           Printf format fix.
4976
4977 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
4978
4979         * libs/gst/base/gstbasesink.c:
4980           Don't send an async_start message during downwards state change if 
4981           target state is less than READY
4982
4983 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4984
4985         translated by: Gabor Kelemen <kelemeng@gnome.hu>
4986
4987         * po/LINGUAS:
4988         * po/hu.po:
4989           Added Hungarian translation.
4990
4991 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4992
4993         * po/fi.po:
4994         * po/it.po:
4995         * po/nl.po:
4996         * po/sv.po:
4997         * po/uk.po:
4998           Updated translations.
4999
5000 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5001
5002         * libs/gst/controller/Makefile.am:
5003         Dist gstlfocontrolsourceprivate.h
5004
5005 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
5006
5007         * docs/libs/gstreamer-libs.types:
5008         Don't register the enum type gst_lfo_waveform_get_type() in the
5009         .types file - only GObject derived types belong.
5010
5011 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5012
5013         Patch by: <arenevier at fdn dot fr>
5014
5015         * gst/gstbuffer.h:
5016         Remove comma from last element in enum to avoid compile errors when
5017         using -pendantic. Fixes #464366.
5018
5019 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
5020
5021         * docs/design/part-TODO.txt:
5022         Add some more TODO items
5023
5024         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5025         Improve debugging.
5026
5027         * gst/gstcaps.c: (gst_caps_intersect):
5028         Optimize trivial intersection case between identical caps pointers.
5029
5030         * gst/gstelement.c: (gst_element_continue_state),
5031         (gst_element_set_state_func):
5032         * gst/gstpad.c:
5033         Fix spelling and grammar mistakes.
5034
5035 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
5036
5037         * po/POTFILES.in:
5038         * po/POTFILES.skip:
5039           Update POTFILES. Fixes #461599.
5040
5041 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5042
5043         * gst/gst.c:
5044         Fix confusing typo in debug output.
5045
5046 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
5047
5048         reviewed by: Stefan Kost <ensonic@users.sf.net>
5049
5050         * libs/gst/controller/Makefile.am:
5051         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5052         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5053         (gst_lfo_control_source_new),
5054         (gst_lfo_control_source_set_waveform),
5055         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5056         (gst_lfo_control_source_finalize),
5057         (gst_lfo_control_source_dispose),
5058         (gst_lfo_control_source_set_property),
5059         (gst_lfo_control_source_get_property),
5060         (gst_lfo_control_source_class_init):
5061         * libs/gst/controller/gstlfocontrolsource.h:
5062         * libs/gst/controller/gstlfocontrolsourceprivate.h:
5063         API: Add GstLFOControlSource, a control source that gives values
5064         for specific timestamps based on several periodic waveforms.
5065         Fixes #459717.
5066
5067         * tests/check/libs/controller.c: (GST_START_TEST),
5068         (gst_controller_suite):
5069         * docs/libs/gstreamer-libs-docs.sgml:
5070         * docs/libs/gstreamer-libs-sections.txt:
5071         * docs/libs/gstreamer-libs.types:
5072         Add documentation and unit tests for GstLFOControlSource.
5073
5074 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
5075
5076         * configure.ac:
5077         Back to CVS
5078
5079 === release 0.10.14 ===
5080
5081 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5082
5083         * configure.ac:
5084           releasing 0.10.14, "Breathing Vacuum"
5085
5086 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5087
5088         * gst/gstelement.c: (gst_element_class_set_details_simple):
5089         * gst/gstelement.h:
5090           Make strings passed to gst_element_class_set_details_simple()
5091           constant, as they should be (#462752).
5092
5093 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5094
5095         * gst/gstbin.c: (gst_bin_change_state_func),
5096         (bin_handle_async_done), (gst_bin_handle_message_func):
5097         Don't forget about the fact that some element went ASYNC even after a
5098         resync. This makes us post the ASYNC_DONE message correctly.
5099         Fixes #462558.
5100
5101 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5102
5103         * gst/gstregistry.c: (gst_registry_add_feature):
5104         When replacing an existing feature in the registry, make sure to
5105         continue holding a reference until we've replaced the name string
5106         within our feature hash table. Make sure to use g_hash_table_replace
5107         instead of g_hash_table_insert to ensure the new name string is used
5108         as a key instead of the old one that we're about to free.
5109         Fixes: #462085
5110
5111 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5112
5113         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5114         (gst_plugin_feature_set_name):
5115         Revert patch from #459466 until after the release and we can work
5116         out exactly what the problem is (if any).
5117
5118 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5119
5120         * docs/gst/gstreamer-sections.txt:
5121         * gst/gsttaglist.c:
5122         * gst/gsttaglist.h:
5123           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5124
5125 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5126
5127         * docs/libs/Makefile.am:
5128         Include our build-prefix libs and includes before the generic ones to
5129         avoid linking against the installed libs when we want the build-tree
5130         ones.
5131
5132 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5133
5134         Patch by: Steve Fink  <sphink gmail com>
5135
5136         * docs/pwg/building-testapp.xml:
5137           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5138           if people try to build or install the example from the plugin
5139           template against a GStreamer from package using the configure
5140           defaults.
5141
5142 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5143
5144         Patch by: Steve Fink  <sphink gmail com>
5145
5146         * tools/gst-inspect.1.in:
5147           Document --print-all and --print-plugin-auto-install-info command
5148           line options in man page.
5149
5150 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5151
5152         * docs/gst/gstreamer-sections.txt:
5153         Add docs for new api function.
5154
5155 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5156
5157         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5158         * gst/gstelementfactory.h:
5159         API: gst_element_factory_has_interface()
5160         Added method to check if an element factory implements a named
5161         interface.
5162
5163 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5164
5165         * configure.ac:
5166         * docs/gst/gstreamer.types.in:
5167           Another conditional doc check.
5168
5169         * gst/gstmessage.c:
5170         * gst/gstparamspecs.h:
5171         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5172         * gst/gstvalue.c:
5173         * gst/gstxml.h:
5174           API-doc fixes.
5175
5176 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5177
5178         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5179         (gst_registry_binary_load_feature),
5180         (gst_registry_binary_load_plugin),
5181         (gst_registry_binary_read_cache):
5182           Print error just once and with additional info.
5183
5184 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5185
5186         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5187         (helper_find_suggest), (helper_find_get_length),
5188         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5189         (gst_type_find_helper_for_buffer):
5190           Cleanup the typefindhelper code and add private doc comments.
5191
5192 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5193
5194         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5195         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5196         Fix capsfilter for cases where the caps set on capsfilter will provide
5197         additional information.
5198         Fixes #449197
5199
5200 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5201
5202         * gst/gsttypefindfactory.c:
5203           Fix docs that recommened wrong function to use.
5204
5205 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5206
5207         * tools/gst-inspect.c: (print_plugin_features):
5208           Also give media-type for typefinders in element output.
5209
5210 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5211
5212         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5213         (gst_registry_remove_features_for_plugin_unlocked),
5214         (gst_registry_add_feature), (gst_registry_remove_feature),
5215         (gst_registry_lookup_feature_locked):
5216         * gst/gstregistry.h:
5217           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5218           Fixes #459501.
5219
5220 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5221
5222         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5223         (gst_plugin_feature_set_name):
5224           Avoid double memory usage for pluginfeature names. Fixes #459466.
5225
5226 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5227
5228         * gst/gstpad.h:
5229           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5230           driving the pipeline may need to explicitly check for NOT_LINKED as
5231           well, since IS_FATAL doesn't cover that.
5232
5233 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5234
5235         * docs/pwg/advanced-types.xml:
5236           Fix typo and duplicate entry in video formats list.
5237
5238 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5239
5240         * libs/gst/controller/gstinterpolation.c:
5241         Also round to the nearest int when using cubic interpolation.
5242
5243 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5244
5245         * libs/gst/controller/gstinterpolation.c:
5246         When linearly interpolating integer types, round to the nearest int
5247         by adding 0.5. Don't do it for float/double types.
5248         Fixes the failing controller test on my machine, which is somehow
5249         rounding differently than on the buildbots.
5250
5251 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5252
5253         * tools/gst-plot-timeline.py:
5254           Better log parsing (categories can have -). Adjust text vs. lines, so
5255           that they span the same y-range.        
5256
5257 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5258
5259         * docs/random/ensonic/audiobaseclasses.txt:
5260         * docs/random/ensonic/dynlink.txt:
5261         * docs/random/ensonic/profiling.txt:
5262           Save my thoughts.
5263
5264         * docs/random/moving-plugins:
5265           Add note to use g_assert type macros.
5266
5267 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5268
5269         * configure.ac:
5270         * libs/gst/check/Makefile.am:
5271           Add libm check as we use in for plugins.
5272
5273 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5274
5275         * gst/gstbin.c: (gst_bin_continue_func):
5276         Check that the state_cookie hasn't changed since the continue_func
5277         was scheduled. Avoids problems where the state changes back to
5278         something it shouldn't be because it was changed in the meantime.
5279
5280 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5281
5282         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5283         (gst_registry_binary_save_string),
5284         (gst_registry_binary_save_pad_template),
5285         (gst_registry_binary_save_feature),
5286         (gst_registry_binary_save_plugin),
5287         (gst_registry_binary_load_feature),
5288         (gst_registry_binary_load_plugin),
5289         (gst_registry_binary_read_cache):
5290           Fix memory leak. Be less verbose in the log.
5291
5292 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5293
5294         * tests/check/elements/.cvsignore:
5295         Add file to cvsignore as commanded.
5296
5297 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5298
5299         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5300         (mq_dummypad_event), (run_output_order_test):
5301         Use a GStaticMutex to protect all cases where libcheck
5302         fail_if/fail_unless macros might be called from multiple threads
5303         simultaneously to avoid errors like:
5304           "check_pack.c:107: :-1081725400:Bad message type arg"
5305
5306 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5307
5308         * tests/check/pipelines/stress.c: (GST_START_TEST):
5309         Make sure we set the pipeline back to the NULL state before
5310         dropping our final reference.
5311
5312 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5313
5314         * tests/check/elements/tee.c: (GST_START_TEST):
5315         Make the tee stress-test a little less stressful so it doesn't just
5316         time out on slow-machines, and remove a small race when it's starting 
5317         up by adding a get_state() call.
5318
5319 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5320
5321         * gst/gst.c:
5322           Avoid reading registry twice on startup. Fixes #457322.
5323
5324 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5325
5326         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5327         * pkgconfig/gstreamer-check.pc.in:
5328         Substitute the CFLAGS for libcheck into our .pc file too so that
5329         dependent modules will pick it up properly if libcheck is installed
5330         into some other prefix.
5331
5332 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5333
5334         * configure.ac:
5335         Revert the pkg-config check for libcheck, since it pulls in the
5336         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5337         a proper solution, either from the check project, or something else.
5338
5339 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5340
5341         * configure.ac:
5342           Use pkg-config to locate check.
5343
5344 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5345
5346         * gst/gsttaglist.c:
5347           Fix doc syntax.
5348
5349         * gst/gstutils.c:
5350         * gst/gstutils.h:
5351           Add deprecation guards.
5352
5353         * libs/gst/base/gstcollectpads.h:
5354           Don't document object (this is implicitly private).
5355
5356 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5357
5358         * gst/gststructure.c: (gst_structure_parse_value):
5359           When deserialising foo=bar without a type cast, check if it's a
5360           boolean before falling back to a string type, otherwise things like
5361           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5362           because the filtercaps end up having a signed=(string)true field,
5363           which causes problems later when intersection caps.
5364
5365         * tests/check/gst/gststructure.c: (GST_START_TEST):
5366           Add a unit test for this.
5367
5368 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5369
5370         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5371
5372         * libs/gst/controller/Makefile.am:
5373         * libs/gst/controller/gstcontroller.c:
5374         (gst_controlled_property_add_interpolation_control_source),
5375         (gst_controlled_property_new), (gst_controlled_property_free),
5376         (gst_controller_find_controlled_property),
5377         (gst_controller_new_valist), (gst_controller_new_list),
5378         (gst_controller_new), (gst_controller_remove_properties_valist),
5379         (gst_controller_remove_properties_list),
5380         (gst_controller_remove_properties),
5381         (gst_controller_set_property_disabled),
5382         (gst_controller_set_disabled), (gst_controller_set_control_source),
5383         (gst_controller_get_control_source), (gst_controller_get),
5384         (gst_controller_sync_values), (gst_controller_get_value_array),
5385         (_gst_controller_dispose), (gst_controller_get_type),
5386         (gst_controlled_property_set_interpolation_mode),
5387         (gst_controller_set), (gst_controller_set_from_list),
5388         (gst_controller_unset), (gst_controller_unset_all),
5389         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5390         * libs/gst/controller/gstcontroller.h:
5391         * libs/gst/controller/gstcontrollerprivate.h:
5392         * libs/gst/controller/gstcontrolsource.c:
5393         (gst_control_source_class_init), (gst_control_source_init),
5394         (gst_control_source_get_value),
5395         (gst_control_source_get_value_array), (gst_control_source_bind):
5396         * libs/gst/controller/gstcontrolsource.h:
5397         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5398         (gst_object_get_control_source):
5399         * libs/gst/controller/gstinterpolation.c:
5400         (gst_interpolation_control_source_find_control_point_node),
5401         (gst_interpolation_control_source_get_first_value),
5402         (_interpolate_none_get), (interpolate_none_get),
5403         (interpolate_none_get_boolean_value_array),
5404         (interpolate_none_get_enum_value_array),
5405         (interpolate_none_get_string_value_array),
5406         (_interpolate_trigger_get), (interpolate_trigger_get),
5407         (interpolate_trigger_get_boolean_value_array),
5408         (interpolate_trigger_get_enum_value_array),
5409         (interpolate_trigger_get_string_value_array):
5410         * libs/gst/controller/gstinterpolationcontrolsource.c:
5411         (gst_control_point_free), (gst_interpolation_control_source_reset),
5412         (gst_interpolation_control_source_new),
5413         (gst_interpolation_control_source_set_interpolation_mode),
5414         (gst_interpolation_control_source_bind),
5415         (gst_control_point_compare), (gst_control_point_find),
5416         (gst_interpolation_control_source_set_internal),
5417         (gst_interpolation_control_source_set),
5418         (gst_interpolation_control_source_set_from_list),
5419         (gst_interpolation_control_source_unset),
5420         (gst_interpolation_control_source_unset_all),
5421         (gst_interpolation_control_source_get_all),
5422         (gst_interpolation_control_source_get_count),
5423         (gst_interpolation_control_source_init),
5424         (gst_interpolation_control_source_finalize),
5425         (gst_interpolation_control_source_dispose),
5426         (gst_interpolation_control_source_class_init):
5427         * libs/gst/controller/gstinterpolationcontrolsource.h:
5428         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5429         API: Refactor GstController into the core controller which can take
5430         a GstControlSource for providing actual values for timestamps.
5431         Implement a interpolation control source and use this for backward
5432         compatibility, deprecate a bunch of functions that are now handled
5433         by GstControlSource or GstInterpolationControlSource.
5434         Make it possible to disable the controller completely or only for
5435         specific properties. Fixes #450711.
5436         * docs/libs/gstreamer-libs-docs.sgml:
5437         * docs/libs/gstreamer-libs-sections.txt:
5438         * docs/libs/gstreamer-libs.types:
5439         Add new functions and classes to the docs.
5440         * tests/check/libs/controller.c: (GST_START_TEST),
5441         (gst_controller_suite):
5442         * tests/examples/controller/audio-example.c: (main):
5443         Port unit test and example to the new API and add some new
5444         unit tests.
5445
5446 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5447
5448         Patch by: Mark Nauwelaerts <manauw at skynet be>
5449
5450         * plugins/elements/gstmultiqueue.c:
5451         (gst_multi_queue_get_internal_links), (apply_buffer),
5452         (single_queue_overrun_cb), (gst_single_queue_new):
5453         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5454         the pipeline layout can be tracked correctly. Fixes #453732.
5455
5456 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5457
5458         * docs/gst/Makefile.am:
5459         * docs/libs/Makefile.am:
5460         * docs/plugins/Makefile.am:
5461           Simplify --extra-dir as gtkdoc scans recursively.
5462
5463 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5464
5465         * tools/gst-launch.c: (main):
5466         When we got an error, there is no point in waiting for preroll when
5467         shutting down.
5468
5469 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5470
5471         * plugins/elements/gsttee.c: (gst_tee_base_init),
5472         (gst_tee_request_new_pad), (gst_tee_release_pad),
5473         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5474         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5475         (gst_tee_chain):
5476         Be a lot smarter when deciding what srcpad to use for proxying
5477         the buffer_alloc. Also handle pad added/removed when doing so.
5478         Fixes #357959.
5479         Keep track of what pads we already pushed on in case we have pads
5480         added/removed while pushing. Fixes #374639 
5481
5482         * tests/check/Makefile.am:
5483         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5484         (tee_suite):
5485         Added unit test for pad resync.
5486
5487 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5488
5489         * po/nl.po:
5490         * po/sv.po:
5491           Updated translations.
5492
5493 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5494
5495         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5496
5497         * po/LINGUAS:
5498         * po/fi.po:
5499           Added new Finnish translation.
5500
5501 2007-06-28  Wim Taymans  <wim@fluendo.com>
5502
5503         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5504         (single_queue_overrun_cb):
5505         When figuring out when a queue is filled, use our internal time estimate
5506         based on segments, just like check_full does.
5507
5508 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5509
5510         * gst/gstminiobject.c: (gst_mini_object_get_type):
5511           Remove 3 do-nothing methods.
5512
5513 2007-06-27  Wim Taymans  <wim@fluendo.com>
5514
5515         Patch by: Tim Angus <tim at ngus dot net>
5516
5517         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5518         (gst_capsfilter_set_property):
5519         Take a reference instead of a copy when setting "caps".
5520         Fix documentation to clarify this behaviour. Fixes #449414.
5521
5522 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5523
5524         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5525         * gst/gstplugin.c: (gst_plugin_init):
5526         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5527         * gst/gstquery.c: (gst_query_get_type):
5528         * gst/gstregistry.c: (gst_registry_init):
5529         * gst/gsturi.c: (gst_uri_handler_base_init):
5530           Remove empty instance_init() functions to save relocs and lessen the
5531           noise. Remove some of the function prototypes that are doubled by
5532           G_DEFINE_TYPE.
5533           
5534 2007-06-27  Wim Taymans  <wim@fluendo.com>
5535
5536         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5537
5538         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5539         Add peer and direction in the XML serialisation of ghostpads.
5540         Fixes #449226.
5541
5542 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5543
5544         * configure.ac:
5545           Preserve useful information, thanks Tim.
5546
5547 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5548
5549         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5550         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5551         (gst_single_queue_push_one), (gst_multi_queue_loop),
5552         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5553         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5554         (compute_high_id), (gst_single_queue_new):
5555         * plugins/elements/gstmultiqueue.h:
5556         Take the multiqueue lock when updating the fill level so we don't get
5557         confused. 
5558
5559         After applying a buffer or event on the src pad segment, make sure to
5560         call gst_data_queue_limits_changed() to get the data queue to unblock
5561         and check the filled state again.
5562         
5563         Rework the not-linked pad handling so the logic is that not-linked 
5564         pads can push as fast as they like, but only so they never get 
5565         ahead of any linked pads.
5566
5567         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5568         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5569         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5570
5571         Add a test to check that not-linked pads always stay behind
5572         linked pads.
5573
5574         Fixes: #430682
5575
5576 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5577
5578         * docs/random/release:
5579           Some updates to the release procedure.
5580
5581 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5582
5583         * gst/gstelementfactory.c: (__gst_element_details_clear):
5584           Microoptimization that saves stunning 80 bytes.
5585
5586 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5587
5588         * docs/plugins/gstreamer-plugins.args:
5589         * docs/plugins/inspect/plugin-coreelements.xml:
5590         * docs/plugins/inspect/plugin-coreindexers.xml:
5591           Update docs with caps info.
5592
5593 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5594
5595         * po/it.po:
5596           Updated Italian translation.
5597
5598 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5599
5600         * ChangeLog:
5601         * po/vi.po:
5602           Update Vietnamese translations.
5603
5604 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5605
5606         * libs/gst/base/gstbasesink.c:
5607           Remove unused signal enum.
5608
5609 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5610
5611         * docs/gst/gstreamer-sections.txt:
5612         * gst/gstelement.c:
5613         * gst/gstutils.c: (gst_type_register_static_full):
5614         Beef up and include the docs for gst_type_register_static_full and
5615         gst_element_class_set_details_simple and add the API keyword
5616         in the ChangeLog.
5617
5618 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5619
5620         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5621         (update_time_level), (gst_single_queue_push_one),
5622         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5623         (single_queue_overrun_cb), (single_queue_underrun_cb),
5624         (single_queue_check_full):
5625         Fix setting max-* properties after adding queues.
5626         Use IS_FILLED for checking visible items.
5627         Signal overrun if multiple queues overrun.
5628         Add extra debug output.
5629         Patch by: Wim Taymans <wim@fluendo.com>
5630
5631 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5632
5633         * gst/gstelement.c: (gst_element_class_set_details_simple):
5634         * gst/gstelement.h:
5635         * gst/gstutils.c: (gst_type_register_static_full):
5636         * gst/gstutils.h:
5637         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5638         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5639         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5640         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5641         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5642         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5643         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5644         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5645         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5646         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5647         (apply_buffer), (gst_queue_chain):
5648         * plugins/elements/gsttee.c: (gst_tee_base_init):
5649         * plugins/elements/gsttypefindelement.c:
5650         (gst_type_find_element_base_init),
5651         (gst_type_find_element_class_init):
5652           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5653           API: add gst_type_register_static_full
5654           API: add gst_element_class_set_details_simple
5655
5656 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5657
5658         * docs/pwg/advanced-types.xml:
5659           Fix typo in iana.org URI.
5660
5661 2007-06-19  Andy Wingo  <wingo@pobox.com>
5662
5663         * tests/check/pipelines/simple-launch-lines.c
5664         (test_state_change_returns): Enable pull-mode tests now that
5665         basesink has been fixed.
5666
5667         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5668         Changed from gst_base_sink_is_prerolled, reversing the sense of
5669         the return value. Returns FALSE also if the sink is in pull mode,
5670         in which case it needs no preroll.
5671         (gst_base_sink_query, gst_base_sink_change_state): Update for
5672         needs_preroll change.
5673         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5674         chaining up, in which we return SUCCESS directly if we activated
5675         in pull mode instead of ASYNC. Involves countering an async_start
5676         message sent before chaining up; not sure if this is correct, in
5677         an ideal world we only send async-start when activating in push
5678         mode.
5679
5680         * tests/check/pipelines/simple-launch-lines.c
5681         (test_state_change_returns): New test, partially disabled until
5682         basesink is fixed.
5683
5684 2007-06-19  Wim Taymans  <wim@fluendo.com>
5685
5686         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5687         (gst_multi_queue_sink_event):
5688         Fix event leak.
5689
5690 2007-06-19  Wim Taymans  <wim@fluendo.com>
5691
5692         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5693         (gst_bin_change_state_func), (bin_push_state_continue),
5694         (bin_handle_async_start), (bin_handle_async_done),
5695         (gst_bin_handle_message_func):
5696         Move the common code for posting state-change messages into
5697         one function.
5698         Broadcast the state signal after we posted the messages.
5699         Mark the bin as busy when it's doing a state-change.
5700         Make sure async-start/done messages don't interfere with the bin's
5701         state when it's busy.
5702         After the state change, let the bin check which elements completed the
5703         state change while it was busy so that it can update its state.
5704
5705 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
5706
5707         * docs/random/release:
5708         Add a note about updating the doap file to the release checklist
5709
5710 2007-06-18  Wim Taymans  <wim@fluendo.com>
5711
5712         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5713         (gst_single_queue_push_one), (gst_multi_queue_chain),
5714         (gst_multi_queue_sink_event):
5715         Make sure we don't reference the buffer/event after we have given away
5716         ownership in the queue.
5717
5718 2007-06-18  Wim Taymans  <wim@fluendo.com>
5719
5720         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5721         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5722         Update queue state _after_ adding the item in the queue because else we
5723         could end up being full without the element added yet.
5724
5725 2007-06-18  Wim Taymans  <wim@fluendo.com>
5726
5727         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5728         (gst_bin_remove_func), (gst_bin_get_state_func),
5729         (gst_bin_element_set_state), (gst_bin_continue_func),
5730         (bin_push_state_continue), (bin_handle_async_start),
5731         (bin_handle_async_done), (gst_bin_handle_message_func):
5732         * gst/gstbin.h:
5733         Immediatly commit the toplevel bin state when receiving an async-done
5734         message. This enables us to avoid spawning a thread to commit the state
5735         in some common cases and it also avoids some races.
5736         Avoid spawning a state thread when adding/removing async elements to a
5737         toplevel bin. Instead we immediatly update the bin state.
5738         Get rid of iterating all the children when getting the state in the bin
5739         because it is now always up-to-date.
5740         Fix bug where locked elements would always return _SUCCESS even it they
5741         returned NO_PREROLL before being locked.
5742         Fix the order of the state_change, async-start/done messages that was
5743         sometimes incorrect.
5744         Mark the state_dirty field as deprecated, we don't need it anymore as we
5745         are always up-to-date.
5746
5747         * gst/gstelement.c: (gst_element_get_state_func),
5748         (gst_element_continue_state):
5749         Small debug inprovements.
5750         Return the previous element state return when nothing is pending instead
5751         of blindly returning SUCCESS.
5752
5753         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5754         (gst_sinks_suite):
5755         Add a whole bunch of new testcases.
5756
5757 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5758
5759         * po/uk.po:
5760         * po/vi.po:
5761           Update translations.
5762
5763 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
5764
5765         * gst/gstpad.c:
5766         Fix typo in the docs.
5767
5768 2007-06-15  Wim Taymans  <wim@fluendo.com>
5769
5770         * docs/libs/gstreamer-libs-sections.txt:
5771         Add docs for new methods.
5772
5773 2007-06-15  Wim Taymans  <wim@fluendo.com>
5774
5775         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5776         (gst_multi_queue_item_new):
5777         Don't use GSlice because we don't depend on >= 2.10 yet.
5778
5779 2007-06-15  Wim Taymans  <wim@fluendo.com>
5780
5781         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5782         (update_time_level), (apply_segment), (apply_buffer),
5783         (gst_single_queue_push_one), (gst_multi_queue_item_new),
5784         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5785         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5786         (single_queue_underrun_cb), (single_queue_check_full):
5787         Remove debug printf.
5788
5789 2007-06-15  Wim Taymans  <wim@fluendo.com>
5790
5791         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5792         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5793         (gst_data_queue_set_flushing), (gst_data_queue_push),
5794         (gst_data_queue_pop), (gst_data_queue_drop_head),
5795         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5796         * libs/gst/base/gstdataqueue.h:
5797         Various cleanups.
5798         Added methods to get the current levels and to inform the queue that the
5799         'full' limits changed.
5800
5801         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5802         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5803         (gst_single_queue_flush), (update_time_level), (apply_segment),
5804         (apply_buffer), (gst_single_queue_push_one),
5805         (gst_multi_queue_item_steal_object),
5806         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5807         (gst_multi_queue_loop), (gst_multi_queue_chain),
5808         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5809         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5810         (gst_multi_queue_src_query), (single_queue_overrun_cb),
5811         (single_queue_underrun_cb), (single_queue_check_full),
5812         (gst_single_queue_new):
5813         Keep track of time in the queue by measuring the difference between
5814         running_time on input and output. This gives more accurate results and
5815         can compensate for segments correctly.
5816         Make a queue by default only 5 buffers deep. We will now increase the
5817         buffer size depending on the filledness of the other queues.
5818         Factor out commong flush code.
5819         Make sure we don't add additional refcounts to buffers when we can avoid
5820         it.
5821         Propagate GstFlowReturn differently.
5822         Use GSlice for intermediate GstMultiQueueItems.
5823         Keep track of EOS.
5824         Resize queues on over and underruns based on filled level of other
5825         queues.
5826         When checking if the queue is filled, prefer to measure in time if we
5827         can and fall back to bytes when no time is known.
5828
5829         * plugins/elements/gstqueue.c:
5830         Fix return value.
5831
5832 2007-06-15  Wim Taymans  <wim@fluendo.com>
5833
5834         * libs/gst/base/gstbasetransform.c:
5835         (gst_base_transform_sink_event):
5836         Work around the brokenness of the event vmethod in basetransform. Prefer
5837         to return TRUE when the subclass returned FALSE (meaning don't forward
5838         the event). 
5839
5840         * libs/gst/base/gstbasetransform.h:
5841         Clarify the docs.
5842
5843 2007-06-15  Wim Taymans  <wim@fluendo.com>
5844
5845         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5846         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5847         (gst_base_src_default_query), (gst_base_src_get_range),
5848         (gst_base_src_start):
5849         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5850         Improve debugging.
5851
5852 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5853
5854         * docs/pwg/advanced-types.xml:
5855           Added more formats to caps table.
5856
5857 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5858
5859         * tools/gst-launch.c: (main):
5860           Remove crufy code. GOption does not need this workaround.
5861
5862 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5863
5864         * libs/gst/controller/gstcontroller.c:
5865         (gst_controlled_property_set_interpolation_mode):
5866           Fix wrong getter for enums in controller.
5867
5868 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5869
5870         * libs/gst/check/gstcheck.c: (gst_check_init):
5871           Intercept criticals and warnings in the Gst-Phonon log domain, so
5872           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5873           well.
5874         
5875 2007-06-14  Edward Hervey  <edward@fluendo.com>
5876
5877         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5878         Since this file doesn't include "gst.h" it will not go through the
5879         macros that disable GST_LOG if debugging was disabled.
5880
5881 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5882
5883         * libs/gst/check/Makefile.am:
5884         * libs/gst/check/gstcheck.h:
5885         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5886         * pkgconfig/gstreamer-check.pc.in:
5887           Ugly 'fix' for the controller unit test on the p5 bot: in
5888           fail_unless_equals_float() check whether the values are 'almost
5889           equal' by allowing a small absolute error, which should be good
5890           enough for our use cases (normal numbers and values close to 0).
5891           Proper fixage left to floating point arithmetic aficionados.
5892
5893 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5894
5895         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5896         (gst_base_sink_render_object), (gst_base_sink_get_position):
5897           Add two breaks thats where missing.
5898
5899 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5900
5901         * docs/libs/gstreamer-libs-sections.txt:
5902         * libs/gst/check/gstcheck.h:
5903           API: add fail_unless_equals_float() and assert_equals_float().
5904           Add documentation for some of the macros.
5905
5906         * tests/check/libs/controller.c: (GST_START_TEST):
5907           Use newly-added asserts.
5908
5909 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5910
5911         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5912           Show the caps change in the log to help spotting the case of not
5913           exactly matching caps.
5914
5915 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5916
5917         * docs/pwg/building-boiler.xml:
5918           Fix typos, spotted by Thijs Vermeir (#447190).
5919
5920 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5921
5922         * docs/plugins/tmpl/.cvsignore:
5923         Ignore file to keep the buildbots happy
5924
5925 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5926
5927         * docs/plugins/Makefile.am:
5928         * docs/plugins/gstreamer-plugins-docs.sgml:
5929         * docs/plugins/gstreamer-plugins-sections.txt:
5930         Pull fdsink into the docs too.
5931
5932 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
5933
5934         * libs/gst/controller/gstinterpolation.c:
5935         Actually use the new functions with min/max checks for the trigger and
5936         none interpolation modes for get() and get_value_array() instead of
5937         just the latter.
5938
5939 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
5940
5941         * libs/gst/controller/gstcontroller.c:
5942         (gst_controlled_property_free):
5943         Unset the minimum and maximum GValues when freeing the corresponding
5944         GstControllerProperty struct.
5945
5946 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
5947
5948         * libs/gst/controller/gstcontroller.c:
5949         (gst_controlled_property_new):
5950         * libs/gst/controller/gstcontrollerprivate.h:
5951         * libs/gst/controller/gstinterpolation.c:
5952         (gst_controlled_property_find_control_point_node),
5953         (interpolate_none_get), (interpolate_none_get_enum_value_array),
5954         (interpolate_none_get_string_value_array),
5955         (interpolate_trigger_get),
5956         (interpolate_trigger_get_enum_value_array),
5957         (interpolate_trigger_get_string_value_array):
5958         Protect against values larger or smaller than the minimum or maximum
5959         allowed value for the property when using values that can be compared.
5960
5961         Optimize trigger interpolator a bit by taking the last requested value
5962         into account instead of always looping through the complete list.
5963
5964         Fix coding style a bit, everywhere else we use "return foo" instead
5965         of "return (foo)".
5966         
5967         * tests/check/libs/controller.c: (GST_START_TEST),
5968         (gst_controller_suite):
5969         Add unit test for the protection against too large or too small
5970         values.
5971
5972 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
5973
5974         * docs/random/slomo/controller.txt:
5975         Add some thoughts about the future of the controller.
5976
5977 2007-06-08  Wim Taymans  <wim@fluendo.com>
5978
5979         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5980         Don't overflow in retimestamping code.
5981
5982 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
5983
5984         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
5985         Use gst_util_guint64_to_gdouble for conversions.
5986         * win32/common/libgstreamer.def:
5987         Add new exported functions.
5988
5989 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
5990
5991         * gst/gstutils.c:
5992           Small docs addition.
5993
5994 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5995
5996         * README:
5997           Remove that test line again.
5998
5999 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6000
6001         * README:
6002           Test commit mail sending.
6003
6004 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6005
6006         * configure.ac:
6007           Fix typo and test commit mail sending.
6008
6009 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
6010
6011         * tests/examples/controller/audio-example.c:
6012           Improve comment and test commit mail sending.
6013
6014 2007-06-07  Wim Taymans  <wim@fluendo.com>
6015
6016         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6017         (gst_bin_remove_func), (gst_bin_element_set_state),
6018         (bin_handle_async_start), (bin_handle_async_done),
6019         (gst_bin_handle_message_func):
6020         Add helper function to find messages.
6021         Generate the async-done messages together with the state change
6022         messages.
6023         Small cleanups in handling toplevel bins.
6024
6025 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6026
6027         * libs/gst/base/gstdataqueue.c:
6028         * libs/gst/base/gstdataqueue.h:
6029         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6030         (gst_multi_queue_item_new), (gst_multi_queue_chain),
6031         (gst_multi_queue_sink_event):
6032         * tests/check/elements/multiqueue.c: (multiqueue_suite):
6033           Fix multiqueue leaking buffers and events when downstream or the
6034           queue are flushing. Make refcounting assumptions explicit and
6035           document them (shouldn't break existing code that uses it other than
6036           maybe leak miniobjects, but that already happens anyway). Add unit
6037           test for the most common flushing case. Fixes #423700.
6038           
6039 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6040
6041         * libs/gst/controller/gstcontroller.c:
6042         Clarify docs: The get_all, get_value_array(s) functions
6043         don't modify the GObject properties.
6044
6045 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
6046
6047         * libs/gst/controller/gstcontroller.c:
6048         (gst_controlled_property_set_interpolation_mode),
6049         (gst_controlled_property_prepend_default),
6050         (gst_controlled_property_new), (gst_controller_set_unlocked),
6051         (gst_controller_set), (gst_controller_set_from_list),
6052         (gst_controller_unset), (gst_controller_unset_all):
6053         * libs/gst/controller/gstcontrollerprivate.h:
6054         * libs/gst/controller/gstinterpolation.c:
6055         Factor out the 'set' logic into gst_controller_set_unlocked for the
6056         gst_controller_set and gst_controller_set_from_list functions.
6057
6058         To make life of the interpolators easier always add a control point
6059         at timestamp zero with the default value.
6060
6061         In the linear interpolator make things more obvious by better variable
6062         naming (slope).
6063
6064         Implement cubic interpolation mode (by using a natural cubic spline)
6065         and map the quadratic interpolation mode to this too (as quadratic
6066         doesn't make much sense, see discussion on the list).
6067
6068         * tests/check/libs/controller.c: (GST_START_TEST),
6069         (gst_controller_suite):
6070         Add unit test for the cubic interpolation mode and check everywhere
6071         if the interpolation mode could be set as expected.
6072
6073 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6074
6075         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6076           Don't use GLib-2.10 functions, we still depend on
6077           GLib-how-old-is-it-again-2.8.
6078
6079 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
6080
6081         * docs/gst/gstreamer-sections.txt:
6082         * gst/Makefile.am:
6083         * gst/gst.c:
6084         * gst/gst.h:
6085         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6086         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6087         (_gst_param_fraction_values_cmp),
6088         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6089         * gst/gstparamspecs.h:
6090         * gst/gstvalue.c:
6091         * tests/check/Makefile.am:
6092         * tests/check/gst/.cvsignore:
6093         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6094         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6095         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6096         (GST_START_TEST), (gst_param_spec_suite):
6097           API: add GstParamSpecFraction, so elements can have fraction
6098           properties without lots of painful string parsing (#444648).
6099
6100 2007-06-05  Wim Taymans  <wim@fluendo.com>
6101
6102         * gst/gstobject.c: (gst_object_class_init):
6103         Fix signal signature.
6104
6105         * gst/gstsegment.c:
6106         Add small clarification in the api docs.
6107
6108         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6109         States are protected with object lock.
6110
6111 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6112
6113         * AUTHORS:
6114         I should probably be listed as an author by now.
6115
6116         * docs/random/release:
6117         Update the release doc
6118
6119 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6120
6121         * gst/gstvalue.c:
6122           Make docs for gst_value_compare() mention return enums that
6123           actually exist.
6124
6125 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6126
6127         * configure.ac:
6128           Back to CVS
6129
6130 === release 0.10.13 ===
6131
6132 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6133
6134         * configure.ac:
6135           releasing 0.10.13, "With or without you"
6136
6137 2007-05-25  Wim Taymans  <wim@fluendo.com>
6138
6139         * gst/gstbin.c: (bin_handle_async_done):
6140         Make sure that the child bin stops after completing the async state
6141         change so that the parent can continue the state change to PLAYING.
6142         Fixes #441159.
6143
6144 2007-05-25  Wim Taymans  <wim@fluendo.com>
6145
6146         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6147         (unref_data), (gst_collect_pads_remove_pad),
6148         (gst_collect_pads_check_pads):
6149         Use additional refcounting to avoid crashes when dynamically adding and
6150         removing pads. Fixes #420206.
6151
6152 2007-05-24  Wim Taymans  <wim@fluendo.com>
6153
6154         * tools/gst-launch.c: (event_loop):
6155         When buffering goes from a two digit to a single digit number, make sure
6156         to remove the old second digit by writing a blank over it.
6157
6158 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6159
6160         * libs/gst/base/gstdataqueue.c:
6161           Eliminate tabs and trailing comma in enum list; fix some typos.
6162
6163 2007-05-24  Wim Taymans  <wim@fluendo.com>
6164
6165         * tests/check/gst/gstbin.c: (GST_START_TEST):
6166         Allow refcount of 3 and 4 because some state thread might still be busy
6167         with it.
6168
6169 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6170
6171         * plugins/elements/Makefile.am:
6172         * plugins/elements/gstmultiqueue.h:
6173         * plugins/elements/gstqueue.h:
6174           These are not installed headers, no need for padding.
6175
6176 2007-05-24  Wim Taymans  <wim@fluendo.com>
6177
6178         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6179         (gst_bin_continue_func):
6180         Enable latency for next release.
6181         Restore STATE_LOCK around recalc_state that was left out during the
6182         rewrite and could result in racy behaviour when _get_state and
6183         recalc_state are run concurrently. See #440463.
6184
6185 2007-05-23  Wim Taymans  <wim@fluendo.com>
6186
6187         * tests/check/gst/gstsystemclock.c: (store_callback),
6188         (GST_START_TEST):
6189         Improve test_async_order to also work when both timers are already
6190         expired when we get scheduled to check it.
6191
6192 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6193
6194         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6195         (gst_bin_set_property), (gst_bin_get_property),
6196         (gst_bin_remove_func), (gst_bin_handle_message_func):
6197         * gst/gstbin.h:
6198           'private' is a c++ keyword, let's not use that in header files,
6199           otherwise c++ compilers will throw a tantrum.
6200
6201 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6202
6203         * plugins/elements/gstelements.c:
6204         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6205         (gst_file_sink_get_current_offset):
6206         * plugins/indexers/gstindexers.c: (plugin_init):
6207           Use #ifdef for HAVE_XYZ for consistency.
6208
6209         * tests/check/Makefile.am:
6210         * tests/check/elements/.cvsignore:
6211         * tests/check/elements/filesink.c: (setup_filesink),
6212         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6213           Add some unit tests for filesink.
6214
6215 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6216
6217         Patch by: Mark Nauwelaerts <manauw at skynet be>
6218
6219         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6220         (gst_file_sink_query), (gst_file_sink_do_seek),
6221         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6222         * plugins/elements/gstfilesink.h:
6223           Fix position reporting; rename data_written member to current_pos to
6224           reflect its real meaning (fixes #412648).
6225
6226 2007-05-22  Edward Hervey  <edward@fluendo.com>
6227
6228         * docs/gst/gstreamer-sections.txt:
6229         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6230         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6231         (gst_bin_remove_func), (gst_bin_handle_message_func):
6232         * gst/gstbin.h:
6233         Add a property for bins that handle the state change of their childs.
6234         Fixes #435880
6235
6236 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6237
6238         * libs/gst/controller/gstinterpolation.c:
6239         Use an array of the correct type when using _get_value_array with
6240         linear interpolation.
6241
6242 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6243
6244         * gst/gstelement.c (gst_element_requires_clock,
6245           gst_element_provides_clock, gst_element_request_pad,
6246           gst_element_class_set_details, gst_element_class_set_details_simple,
6247           gst_element_default_send_event, gst_element_abort_state,
6248           gst_element_continue_state, gst_element_set_state,
6249           gst_element_set_state_func, iterator_activate_fold_with_resync):
6250         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6251           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6252           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6253           gst_pad_get_range, gst_pad_pull_range):
6254         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6255           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6256           GstPadActivateModeFunction, GstPadChainFunction,
6257           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6258           GstPadFixateCapsFunction, GstPadTemplate):
6259         * gst/gstpipeline.c (gst_pipeline_change_state,
6260           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6261           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6262           gst_pipeline_get_delay):
6263           Whitespace and docs fixes.
6264
6265 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6266
6267         * libs/gst/controller/gstinterpolation.c:
6268         (interpolate_trigger_get_enum_value_array),
6269         (interpolate_trigger_get_string_value_array):
6270         Add support for retrieving value arrays when using the trigger
6271         interpolation mode. 
6272
6273 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6274
6275         * libs/gst/controller/gstcontroller.c:
6276         (gst_controller_get_value_array):
6277         * libs/gst/controller/gstcontroller.h:
6278         Clarify the docs of gst_controller_get_value_array(): The array where
6279         the values should be written to must be allocated as there seems to be
6280         no way to get the size of a random GType. This doesn't change any
6281         behaviour. Also fix some typos all over the place and remove an unused,
6282         commented function that is not necessary as g_object_set() could be
6283         used instead.
6284         * tests/check/libs/controller.c: (GST_START_TEST),
6285         (gst_controller_suite):
6286         Add unit test for gst_controller_get_value_array().
6287
6288 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6289
6290         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6291
6292         Disable part of the gst_buffer_try_new_and_alloc test, because
6293         it can happily succeed on 64-bit systems where there's more address
6294         space available.
6295
6296 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6297
6298         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6299         Add unit test for the improved caps checking from bug #421543.
6300
6301 2007-05-21  Wim Taymans  <wim@fluendo.com>
6302
6303         * docs/design/part-synchronisation.txt:
6304         Small addition.
6305
6306         * gst/gstbin.c: (gst_bin_query):
6307         * plugins/elements/gstqueue.c: (apply_segment):
6308         Improve debugging.
6309
6310         * gst/gstmessage.h:
6311         Improve docs.
6312
6313 2007-05-21  Wim Taymans  <wim@fluendo.com>
6314
6315         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6316         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6317         (gst_pad_configure_src):
6318         Added simple version of improved caps checking. It was previously
6319         assumed that a setcaps function would check the validity of the caps but
6320         people prefer us to check caps against the template automatically. 
6321         Fixes #421543.
6322
6323 2007-05-21  Wim Taymans  <wim@fluendo.com>
6324
6325         * libs/gst/base/gstbasetransform.h:
6326         Fix macro for locking/unlocking the transform lock.
6327
6328 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6329
6330         * docs/plugins/tmpl/.cvsignore:
6331           Ignore more.
6332
6333 2007-05-18  Edward Hervey  <edward@fluendo.com>
6334
6335         * plugins/elements/gstqueue.c: (gst_queue_loop):
6336         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6337         for the subtle art of warning a potentially blocking thread that it
6338         should check the source pad return value, and relay the information
6339         upstream.
6340
6341 2007-05-18  Edward Hervey  <edward@fluendo.com>
6342
6343         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6344         Release the queue lock !
6345
6346 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6347
6348         * docs/libs/gstreamer-libs-sections.txt:
6349         Add the two new controller functions to the appropiate places.
6350
6351 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6352
6353         reviewed by: Stefan Kost <ensonic@users.sf.net>
6354
6355         * libs/gst/controller/gstcontroller.c:
6356         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6357         (_gst_controller_get_property), (_gst_controller_set_property),
6358         (_gst_controller_init), (_gst_controller_class_init):
6359         * libs/gst/controller/gstcontroller.h:
6360         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6361         (gst_object_get_control_rate), (gst_object_set_control_rate):
6362         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6363         Add API that provides sync suggestion timestamps for elements that
6364         call gst_object_sync_values() from which those elements can subdivide
6365         their processing loop to get the best results for the controlled
6366         properties. For now it just suggests last_sync + control_rate as
6367         new timestamp but this will be improved in the future.
6368
6369         While doing that change the control-rate property to a GstClockTime
6370         from guint and change it's meaning from samples to nanoseconds as
6371         the GstController doesn't know anything about sampling rate. Strictly
6372         speaking this breaks ABI but as the control-rate property didn't do
6373         anything in the past and as such couldn't be used this should be no
6374         problem.        
6375
6376 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6377
6378         reviewed by: Stefan Kost <ensonic@users.sf.net>
6379
6380         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6381         (gst_controller_unset_all):
6382         * libs/gst/controller/gstcontrollerprivate.h:
6383         * libs/gst/controller/gstinterpolation.c:
6384         (gst_controlled_property_find_control_point_node):
6385         Save last synced value from the list to continue searching from there
6386         in future syncs. This speeds everything up a bit.
6387         
6388 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6389
6390         reviewed by: Stefan Kost <ensonic@users.sf.net>
6391
6392         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6393         (gst_control_point_find), (gst_controlled_property_new),
6394         (gst_control_point_free), (gst_controlled_property_free),
6395         (gst_controller_set), (gst_controller_set_from_list),
6396         (gst_controller_unset), (gst_controller_unset_all),
6397         (gst_controller_sync_values):
6398         * libs/gst/controller/gstcontroller.h:
6399         * libs/gst/controller/gstcontrollerprivate.h:
6400         * libs/gst/controller/gstinterpolation.c:
6401         (gst_controlled_property_find_control_point_node),
6402         (interpolate_none_get), (interpolate_trigger_get):
6403         Add a new private GstControlPoint struct which "inherits" from
6404         GstTimedValue to allow different interpolators to store internal
6405         values next to each control point. From the outside everything is
6406         still a GstControlPoint so we don't loose binary compatibility.
6407         Also fixup all the GValue handling to not leak GValues or list nodes.
6408         * tests/check/libs/controller.c: (GST_START_TEST):
6409         Free the list nodes and GValues in the controller_misc test.
6410
6411 2007-05-17  Edward Hervey  <edward@fluendo.com>
6412
6413         * gst/gstsegment.c:
6414         Small doc fix.
6415
6416 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6417
6418         * gst/gstplugin.c: (gst_plugin_load_file):
6419           If we fail to load a plugin because of unresolved symbols or missing
6420           libraries and spew a warning to stderr, we may just as well mention
6421           which plugin it was that failed to load.
6422
6423 2007-05-13  David Schleef  <ds@schleef.org>
6424
6425         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6426           handles the case when ENABLE_GTK_DOC is false, and installs
6427           the prebuilt documentation.  So gtk-doc subdirs are 
6428           unconditionally enabled.  Fixes: #349099.
6429
6430 2007-05-13  David Schleef  <ds@schleef.org>
6431
6432         * gst/gstutils.h: Reword some documentation.
6433
6434 2007-05-12  David Schleef  <ds@schleef.org>
6435
6436         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6437           do anything with the passed "module" parameter, so remove it.
6438           Allows removal of additional vestigal code.
6439
6440 2007-05-12  David Schleef  <ds@schleef.org>
6441
6442         * gst/gstplugin.c:
6443           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6444           Switch to using g_stat() because it's more portable.
6445
6446 2007-05-12  David Schleef  <ds@schleef.org>
6447
6448         * gst/gst.c:
6449           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6450           parsing for embedded systems.
6451         * gst/gstelementfactory.c:
6452           Allow gst_element_register() to be called with plugin==NULL.
6453           Did nobody notice that static elements were broken?
6454
6455 2007-05-12  Wim Taymans  <wim@fluendo.com>
6456
6457         * tools/gst-launch.c: (event_loop):
6458         Give more interesting info when buffering starts and stops.
6459         Fix case where buffering starts but we fail to update the buffering flag
6460         because the target state is not PLAYING.
6461
6462 2007-05-12  Wim Taymans  <wim@fluendo.com>
6463
6464         * plugins/elements/gstqueue.c: (gst_queue_init),
6465         (gst_queue_finalize), (update_time_level), (apply_segment),
6466         (apply_buffer), (gst_queue_locked_flush),
6467         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6468         (gst_queue_handle_sink_event), (gst_queue_chain),
6469         (gst_queue_push_one), (gst_queue_loop):
6470         * plugins/elements/gstqueue.h:
6471         Refactor an cleanup queue a bit.
6472         Do better time level calculations that also work when the srcpad is not
6473         yet running.
6474         Remove some unneeded debug lines.
6475
6476         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6477         Added testcase for time level measurement.
6478         Try to make some stuff more racefree.
6479
6480 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6481
6482         * gst/gsturi.c: (gst_element_make_from_uri):
6483           Don't leak plugin feature.
6484
6485         * tests/check/Makefile.am:
6486         * tests/check/gst/.cvsignore:
6487         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6488           Add brain-dead unit test.
6489
6490 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6491
6492         Patch by: Jeroen Wouters <woutersj at gmail com>
6493
6494         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6495           Treat protocol strings in a case-insensitive way (#437563).
6496
6497 2007-05-11  Michael Smith <msmith@fluendo.com>
6498
6499         * gst/gstplugin.c: (gst_plugin_load_file):
6500         * gst/gstregistry.c: (gst_registry_scan_path_level):
6501           Don't print a g_warning for any failure to load a shared object.
6502           Instead, push this down into gstplugin.c, and warn _only_ if we
6503           failed to open the module (i.e. failure to link).
6504           Avoids warnings on normal, working, non-plugin .so files.
6505
6506 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6507
6508         * gst/gstplugin.c (gst_plugin_load_file):
6509         * gst/gstregistry.c (GST_CAT_DEFAULT,
6510           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6511           Print a g_warning if there was an error when loading a plugins during
6512           registry scan. The shuld help beginners starting with gst-plugin
6513           template.
6514
6515 2007-05-10  Wim Taymans  <wim@fluendo.com>
6516
6517         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6518         (update_time_level), (gst_queue_locked_flush),
6519         (gst_queue_handle_sink_event), (gst_queue_chain),
6520         (gst_queue_push_one), (gst_queue_loop):
6521         * plugins/elements/gstqueue.h:
6522         Be smarter when calculating the current amount of data in the queue by
6523         measuring the difference between start and end timestamps (in running
6524         time) inside the queue. Fixes #432876.
6525         API: GstQueue::pushing to notify elements that we are pushing data again
6526         since the running signal is rather broken for this purpose.
6527
6528 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6529
6530         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6531           gst_queue_base_init, gst_queue_init):
6532           use GST_BOILERPLATE
6533
6534 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6535
6536         * win32/common/libgstreamer.def:
6537         Add new exported functions.
6538         * win32/vs6/grammar.dsp:
6539         Use grammar pre-generated files.
6540
6541 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6542
6543         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6544
6545         * gst/Makefile.am:
6546         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6547         * gst/gstparse.h:
6548         * gst/gstutils.c: (gst_parse_bin_from_description):
6549         * gst/gstutils.h:
6550           Maintain API and ABI when --disable-parse is used. Now that
6551           we have an appropriate error code, we can just return NULL and the
6552           appropriate error when gst_parse_launch() is used despite it having
6553           been disabled (#342564).
6554
6555         * tests/check/Makefile.am:
6556         * tests/check/pipelines/.cvsignore:
6557         * tests/check/pipelines/parse-disabled.c:
6558           Make sure these functions exist and return NULL plus a GError when
6559           --disable-parse is used.
6560
6561 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6562
6563         * tests/benchmarks/complexity.c: (main):
6564         * tests/benchmarks/mass-elements.c: (main):
6565           Set a good example and don't leak messages.
6566
6567 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6568
6569         * docs/gst/Makefile.am:
6570         * docs/libs/Makefile.am:
6571           Correct fixxrefs options.
6572
6573         * docs/plugins/Makefile.am:
6574         * docs/plugins/gstreamer-plugins-docs.sgml:
6575         * docs/plugins/gstreamer-plugins-sections.txt:
6576         * plugins/elements/Makefile.am:
6577         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6578         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6579           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6580           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6581           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6582           _GstCapsFilterClass, trans_class):
6583         * plugins/elements/gstelements.c (name, rank, type, _elements):
6584         * plugins/elements/gstidentity.c
6585           (gst_identity_check_imperfect_timestamp,
6586           gst_identity_check_imperfect_offset):
6587           Document capsfilter and add doc-blurb to identity.
6588
6589 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6590
6591         * libs/gst/controller/gstcontroller.c:
6592         (gst_controlled_property_set_interpolation_mode):
6593         * libs/gst/controller/gstinterpolation.c:
6594           Don't crash if someone tries to set an interpolation mode that
6595           is invalid or that isn't supported yet. Fixes #422295.
6596
6597         * tests/check/libs/controller.c: (GST_START_TEST),
6598         (gst_controller_suite):
6599           Add a test case for the above.
6600
6601 2007-05-03  Edward Hervey  <edward@fluendo.com>
6602
6603         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6604         Properly set the last_stop position on GstSegment. This will only happen
6605         if there is a buffer to push out.
6606
6607 2007-05-03  Wim Taymans  <wim@fluendo.com>
6608
6609         * libs/gst/base/gstbasetransform.c:
6610         (gst_base_transform_buffer_alloc):
6611         always_in_place does not mean that the sink and source caps are the
6612         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6613
6614 2007-05-03  Wim Taymans  <wim@fluendo.com>
6615
6616         * docs/libs/gstreamer-libs-sections.txt:
6617         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6618         (gst_base_src_default_query), (gst_base_src_get_range):
6619         * libs/gst/base/gstbasesrc.h:
6620         API: gst_base_src_query_latency(). Added method so that subclasses can
6621         easily get the latency values of the base source class.
6622
6623 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6624
6625         * tools/gst-inspect.c (print_implementation_info):
6626         Remove 0.8 cruft.
6627
6628 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6629
6630         * tools/Makefile.am:
6631         * tools/gst-launch.1.in:
6632           Don't create a customised man page based on the host architecture,
6633           describe the default registry path generically. That way the man
6634           page is the same for all architectures and packagers have one
6635           multilib issue less to deal with. Fixes #434926.
6636
6637 2007-05-02  Wim Taymans  <wim@fluendo.com>
6638
6639         * gst/gstpad.c:
6640         Fix documentation as spotted by rg on IRC. 
6641
6642 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6643
6644         * gst/gstutils.c:
6645           Improve docs for gst_element_{link,unlink}.
6646
6647 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6648
6649         * docs/design/part-events.txt:
6650         * docs/design/part-overview.txt:
6651         * gst/gstevent.c:
6652         * gst/gsturi.c:
6653         * gst/gsturi.h:
6654         * libs/gst/base/gstbasesink.c:
6655           Typo fixes; minor docs addition.
6656
6657 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6658
6659         * docs/gst/gstreamer-sections.txt:
6660         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6661         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6662         * gst/gsturi.h:
6663         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6664         or src that supports a given URI protocol exists.
6665
6666 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6667
6668         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6669         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6670         Set the location to NULL if "file://" is set as URI. Otherwise
6671         some random previous URI would still be set if "file://" is
6672         set on an already used filesink/filesrc.
6673
6674 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6675
6676         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6677         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6678         Special case the "file://" URI as as this is used by some
6679         applications to test with gst_element_make_from_uri if there's
6680         an element that supports the URI protocol.
6681         Also move the g_path_is_absolute() check for the location part
6682         of the URI to also check this for "file://localhost/bla" URIs.
6683
6684 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
6685
6686         * docs/gst/gstreamer-sections.txt:
6687         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6688         * gst/gstbuffer.h:
6689         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6690         (gst_buffer_suite):
6691           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6692
6693 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
6694
6695         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6696         (gst_registry_binary_load_pad_template),
6697         (gst_registry_binary_load_plugin),
6698         (gst_registry_binary_read_cache):
6699         * gst/gstregistrybinary.h:
6700           Implement no-mmap alternative for registry reading. Do code cleanups.
6701           Add more comments about avoiding strdups for all text data. Comments
6702           welcome.
6703
6704 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6705
6706         * gst/gstregistrybinary.h (GstBinaryPluginElement,
6707           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6708           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6709           Comment structs and reformat to fix the build (that stuff should go
6710           into a priv. header).
6711
6712 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6713
6714         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6715         (gst_registry_binary_load_feature):
6716         * gst/gstregistrybinary.h:
6717           Refactor so that we can implement multiple features. Add support for
6718           TypeFindFactory features.
6719
6720 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
6721
6722         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6723
6724         * configure.ac:
6725           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6726
6727 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
6728
6729         * gst/gstbin.c: (gst_bin_element_set_state),
6730         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6731         (bin_handle_async_done), (gst_bin_handle_message_func):
6732           Fix build with --gst-disable-gst-debug
6733
6734 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
6735
6736         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6737           Make sure streaming has finished before calling the ::stop() vfunc,
6738           since that vfunc might clear state which is being used in the
6739           streaming thread. This fixes a race that caused crashes in
6740           audioresample when shutting down a pipeline (#420106).
6741
6742 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6743
6744         * docs/gst/gstreamer-sections.txt:
6745           That was one byte missing.
6746
6747 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6748
6749         * configure.ac:
6750         * docs/gst/gstreamer-sections.txt:
6751         * gst/Makefile.am:
6752         * gst/gstconfig.h.in:
6753         * gst/gstobject.c: (gst_object_class_init),
6754         (gst_signal_object_class_init):
6755         * gst/gstobject.h:
6756           2nd attempt to have a xml-less build as a joined effort of #413123
6757           and #421480.
6758
6759 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6760
6761         * docs/design/draft-tagreading.txt:
6762           Added open issues/thoughts to draft.
6763
6764 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6765
6766         * gst/parse/grammar.tab.pre.c:
6767         * gst/parse/grammar.tab.pre.h:
6768         * gst/parse/lex._gst_parse_yy.pre.c:
6769         Update the prebuild parser sources.
6770
6771 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6772
6773         * gst/parse/Makefile.am:
6774         And now fix the building of the flex sources. Now everything should
6775         work as expected.
6776
6777 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6778
6779         * gst/parse/Makefile.am:
6780         Now hopefully fix the build failures by setting proper rule
6781         dependencies and moving instead of copying.
6782
6783 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6784
6785         * tests/benchmarks/complexity.gnuplot:
6786         * tests/benchmarks/complexity.scm:
6787         * tests/benchmarks/mass-elements.gnuplot:
6788         * tests/benchmarks/mass-elements.scm:
6789           Total licensification.
6790
6791 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6792
6793         * gst/parse/Makefile.am:
6794           Fix the build by correcting the rule that gave wrong files to flex.
6795
6796 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6797
6798         * tests/benchmarks/complexity.c:
6799         * tests/benchmarks/mass-elements.c:
6800           Change licence to LGPL as granted by Benjamin and Andy.
6801
6802 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6803
6804         * gst/parse/Makefile.am:
6805         Add correct grammar.tab.h dependency if compiling without new enough
6806         flex. Fixes #431150.
6807
6808 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6809
6810         * gst/parse/Makefile.am:
6811         Fix typo and use outdated sources if the flex/bison sources are newer
6812         than the pregenerated ones but flex is too old. Print a warning in
6813         that case. This should fix the build on the build bot.
6814
6815 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6816
6817         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6818         * gst/parse/Makefile.am:
6819         * gst/parse/grammar.y:
6820         * gst/parse/parse.l:
6821         Make the parser reentrant and recursively callable. This requires flex
6822         >= 2.5.31, for older versions pregenerated sources are used as we
6823         can't bump the build dependency. Finally fixes #349180.
6824
6825         * gst/gstparse.c: (gst_parse_launch):
6826         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6827         now anyway.
6828
6829         * docs/gst/Makefile.am:
6830         * docs/gst/Makefile.am:
6831         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6832         (__gst_parse_strfree), (__gst_parse_link_new),
6833         (__gst_parse_link_free), (__gst_parse_chain_new),
6834         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6835         (gst_parse_element_set), (gst_parse_free_link),
6836         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6837         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6838         (_gst_parse_launch):
6839         * gst/parse/grammar.tab.pre.h:
6840         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6841         (yy_get_previous_state), (yy_try_NUL_trans), (input),
6842         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6843         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6844         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6845         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6846         (_gst_parse_yypop_buffer_state),
6847         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6848         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6849         (yy_fatal_error), (_gst_parse_yyget_extra),
6850         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6851         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6852         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6853         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6854         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6855         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6856         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6857         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6858         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6859         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6860         (_gst_parse_yyfree):
6861         If the installed flex version is too old use pre-generated parser
6862         sources. These pre-generated parser sources are always updated when
6863         the actual flex/bison sources change but require everybody who wants
6864         to change something in the parser to have flex >= 2.5.31 installed.
6865
6866 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
6867
6868         * common/m4/gst-gettext.m4:
6869         * gst/gst-i18n-lib.h:
6870           Make --disable-nls to work
6871
6872 2007-04-17  Wim Taymans  <wim@fluendo.com>
6873
6874         * gst/gstconfig.h.in:
6875         Revert previous change that broke the build.
6876
6877 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
6878
6879         * configure.ac:
6880         * gst/Makefile.am:
6881         * gst/gstconfig.h.in:
6882           Drop libxml2 dependency when building with 
6883           --enable-binary-registry --disable-loadsave
6884
6885 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
6886
6887         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6888         (gst_registry_binary_read_cache):
6889         * gst/gstregistrybinary.h:
6890           Remove unnecessary <sys/mman.h> include which broke the win32 build
6891           with MingW; move includes from header file to .c file, even if the
6892           header file isn't installed; use g_strerror() where UTF-8 strings
6893           are expected, such as in GST_DEBUG messages.
6894
6895 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6896
6897         * docs/libs/gstreamer-libs-sections.txt:
6898         Remove bogus addition for API I didn't end up keeping.
6899
6900         * libs/gst/base/gstbasesrc.h:
6901         Mention Since: 0.10.13 in the documentation.
6902
6903         Add the API keyword to the previous ChangeLog entry.
6904
6905 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6906
6907         * docs/libs/gstreamer-libs-sections.txt:
6908         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6909         (gst_base_src_default_prepare_seek_segment),
6910         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6911         * libs/gst/base/gstbasesrc.h:
6912         Allow basesrc derived classes to execute seeks in other formats
6913         by providing a prepare_seek_segment vmethod. Sub-classes can choose
6914         to prepare the GstSegment in any format that their perform_seek method
6915         will be able to understand. The default implementation provides the
6916         old behaviour of attempting to convert the seek offsets to the 
6917         configured native format.
6918
6919         API: basesrc::prepare_seek_segment vmethod.
6920
6921 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6922
6923         * gst/gstelement.c: (gst_element_get_state_func):
6924         Don't output the same debug statement twice.
6925
6926         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6927         (gst_adapter_peek), (gst_adapter_take_buffer):
6928         Optimise the case where we have buffers at the head of the queue that
6929         can be joined quickly (because they're contiguous sub-buffers) by
6930         merging them together rather than copying data out into new memory.
6931
6932         * gst/parse/grammar.y:
6933         * tests/check/pipelines/parse-launch.c:
6934         Fix a leak in an error path for parse_launch, and add a check 
6935         for it to the testsuite.
6936
6937 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6938
6939         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6940           Don't deadlock when releasing a pad - gst_pad_set_active may try
6941           and take the multiqueue lock too.
6942
6943 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6944
6945         * gst/gsterror.c: (_gst_core_errors_init):
6946         * gst/gsterror.h:
6947           API: add GST_CORE_ERROR_DISABLED (#392804).
6948
6949 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6950
6951         * docs/faq/gst-uninstalled:
6952           don't get empty paths on the PATH variables
6953         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6954           Don't format for the uncommon terminal width of 84 characters.
6955
6956 2007-04-06  Wim Taymans  <wim@fluendo.com>
6957
6958         * gst/gstpipeline.c: (reset_stream_time),
6959         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6960         Only try to select a different pipeline clock when we went back to
6961         PAUSED and not when we merely got flushed.
6962
6963 2007-04-05  Michael Smith  <msmith@fluendo.com>
6964
6965         * tools/gst-launch.1.in:
6966           fractions are better supported in gstreamer than ractions, so
6967           suggest using those.
6968
6969 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6970
6971         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
6972
6973         * po/LINGUAS:
6974         * po/da.po:
6975           Added Danish translation.
6976
6977 2007-04-05  Wim Taymans  <wim@fluendo.com>
6978
6979         * libs/gst/base/gstbasesink.c:
6980         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
6981         Fix leak caused when refusing newsegment after EOS.
6982
6983         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6984         (gst_fake_sink_init), (gst_fake_sink_set_property),
6985         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
6986         (gst_fake_sink_render), (gst_fake_sink_change_state):
6987         * plugins/elements/gstfakesink.h:
6988         Add num-buffers property to make the element generate EOS after a
6989         configurable amount of buffers.
6990         API: fakesink::num-buffers property.
6991
6992         * tests/check/elements/fakesink.c: (GST_START_TEST),
6993         (fakesink_suite):
6994         Fix GstBus leak in test.
6995         Test for fakesink num-buffers.
6996
6997 2007-04-05  Wim Taymans  <wim@fluendo.com>
6998
6999         * libs/gst/base/gstbasesink.c:
7000         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7001         (gst_base_sink_change_state):
7002         Don't accept anything after an EOS, return UNEXPECTED instead.
7003
7004         * tests/check/elements/fakesink.c: (GST_START_TEST),
7005         (fakesink_suite):
7006         Unit test for new EOS behaviour.
7007
7008 2007-04-05  Wim Taymans  <wim@fluendo.com>
7009
7010         * gst/gstelement.c: (gst_element_get_request_pad):
7011         Make padtemplates also work when they don't contain %s or %d.
7012
7013 2007-04-05  Wim Taymans  <wim@fluendo.com>
7014
7015         * docs/gst/gstreamer-sections.txt:
7016         * gst/gstclock.c: (gst_clock_adjust_unlocked),
7017         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7018         * gst/gstclock.h:
7019         Improve _adjust_unlocked() so that it overflows less.
7020         Add gst_clock_unadjust_unlocked to convert from external time to
7021         internal time based on calibration.
7022         Add some more debug.
7023         API: GstClock::gst_clock_unadjust_unlocked()
7024
7025 2007-04-03  Wim Taymans  <wim@fluendo.com>
7026
7027         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7028
7029         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7030         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7031         when releasing sink pad. Fixes #425400.
7032
7033 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
7034
7035         * docs/random/ensonic/dynlink.txt:
7036           More work on proposal for new core api.
7037
7038         * docs/libs/gstreamer-libs-sections.txt:
7039         * libs/gst/base/gstbasetransform.h:
7040           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7041           
7042         * libs/gst/controller/gstcontroller.c:
7043         (on_object_controlled_property_changed),
7044         (gst_controller_sync_values),
7045         (gst_controller_set_interpolation_mode):
7046         * libs/gst/controller/gstcontroller.h:
7047           Less verbose logging add docs for unimplemented parts and correctly
7048           return when using unavailable parts.
7049
7050 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7051
7052         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7053         Move all the debug to the CLOCK category, and associate it with
7054         the clock object.
7055
7056 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
7057
7058         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7059         Make take_buffer a bit quicker by removing redundant checks
7060         caused by calling gst_adapter_take.
7061
7062 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7063
7064         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7065           Don't leak GCond.
7066
7067         * tests/check/Makefile.am:
7068         * tests/check/elements/.cvsignore:
7069         * tests/check/elements/multiqueue.c: (setup_multiqueue),
7070         (GST_START_TEST), (multiqueue_suite):
7071           Add some dead simple unit tests for the 'multiqueue' element
7072           (some bits don't work yet and are disabled for now).
7073
7074 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
7075
7076         * gst/gstelement.c: (gst_element_get_request_pad),
7077         (gst_element_class_get_request_pad_template):
7078           Make gst_element_get_request_pad() create request pads only for
7079           request pad templates and not for, say, sometimes pad templates.
7080
7081 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7082
7083         * docs/design/draft-klass.txt:
7084           Add example that needs more thinking.
7085         
7086         * docs/design/draft-missing-plugins.txt:
7087           More thoughts about wrapper plugins.
7088         
7089         * docs/random/ensonic/embedded.txt:
7090         * docs/random/ensonic/profiling.txt:
7091           More design work.
7092
7093 2007-03-25  Wim Taymans  <wim@fluendo.com>
7094
7095         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7096         (gst_base_src_loop):
7097         Only push the segment events in the PLAYING state for live sources.
7098
7099 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7100
7101         * gst/gstpipeline.c: (gst_pipeline_change_state):
7102         Modify the clock distribution path in PAUSED->PLAYING so that we 
7103         never attempt to choose a new clock unless we're actually leaving
7104         the PAUSED state for the first time. This prevents choosing a
7105         different clock when the state_change gets called for a 2nd time due
7106         to some element doing an async state change.
7107
7108 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7109
7110         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7111         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7112         (gst_pad_chain_unchecked), (gst_pad_push):
7113         Revert last commit. This needs some more thoughts.
7114
7115 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7116
7117         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7118         (gst_pad_chain_unchecked), (gst_pad_push):
7119         Check in set_caps if the caps are compatible with the pad and remove
7120         two functions that are redundant now. Fixes #421543.
7121
7122 2007-03-22  Wim Taymans  <wim@fluendo.com>
7123
7124         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7125         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7126         Unref some more to make valgrind happy.
7127
7128 2007-03-22  Wim Taymans  <wim@fluendo.com>
7129
7130         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7131         (gst_system_clock_id_wait_jitter),
7132         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7133         Fix anoying regression that survived a few releases. When adding an
7134         async entry while blocking on a sync entry, the sync entry will unblock
7135         but still be busy, so it should continue to wait instead of returning
7136         _BUSY to the app.
7137         Add some comments here and there.
7138
7139         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7140         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7141         Add testcase for this.
7142
7143 2007-03-22  Wim Taymans  <wim@fluendo.com>
7144
7145         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7146         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7147         WRONG_STATE and can silently pause the task. All other cases should
7148         error out.
7149
7150 2007-03-22  Wim Taymans  <wim@fluendo.com>
7151
7152         Patch by: Ville Syrjala <syrjala at sci dot fi>
7153
7154         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7155         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7156         Improve debugging.
7157
7158 2007-03-21  Michael Smith  <msmith@fluendo.com>
7159
7160         * docs/pwg/advanced-types.xml:
7161           Fix some errors in the typefinding docs pointed out on irc.
7162
7163 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7164
7165         * libs/gst/base/gstbasesrc.c:
7166         Clarify FIXME comment in the face of having added unlock_stop()
7167
7168 2007-03-21  Wim Taymans  <wim@fluendo.com>
7169
7170         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7171         Prepare for release where we warn against possible app breakage in the
7172         case of live pipelines along with an env var to enable/disable live
7173         preroll mode (GST_COMPAT=[no-]live-preroll).
7174
7175 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7176
7177         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7178         So we should use correct constants for checking for None offset.
7179
7180 2007-03-20  Wim Taymans  <wim@fluendo.com>
7181
7182         * docs/design/part-block.txt:
7183         Mention the fact that the newly switched element should be set to at
7184         least PAUSED.
7185
7186 2007-03-20  Wim Taymans  <wim@fluendo.com>
7187
7188         * gst/gst.c:
7189         Fix compilation with registry disabled as spotted by Saur.
7190
7191 2007-03-20  Wim Taymans  <wim@fluendo.com>
7192
7193         Patch by: Olivier Crete <tester at tester dot ca>
7194
7195         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7196         Look at the pending state too when syncing the element state to the
7197         parent. Fixes #420133.
7198
7199 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7200
7201         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7202         (gst_base_sink_change_state):
7203         * libs/gst/base/gstbasesink.h:
7204         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7205         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7206         (gst_base_src_deactivate):
7207         * libs/gst/base/gstbasesrc.h:
7208         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7209         for sub-classes to correctly clear any state they set trying to
7210         unlock, such as clearing out unlock commands from a command fd.
7211         API: basesrc::unlock_stop
7212         API: basesink::unlock_stop
7213
7214         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7215         (gst_fd_sink_render), (gst_fd_sink_unlock),
7216         (gst_fd_sink_unlock_stop):
7217         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7218         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7219         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7220
7221         Implement unlock_stop in fdsrc and fdsink.
7222         Implement seeking in fdsrc when a seekable fd is passed, as in
7223         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7224
7225 2007-03-19  Wim Taymans  <wim@fluendo.com>
7226
7227         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7228
7229         * gst/gstelement.c: (gst_element_class_init):
7230         Fix pad-added and pad-removed signal signatures so that the pad type is
7231         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7232
7233 2007-03-19  Wim Taymans  <wim@fluendo.com>
7234
7235         * docs/gst/gstreamer-sections.txt:
7236         Add new element field and method.
7237
7238         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7239         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7240         (gst_bin_recalc_state), (gst_bin_get_state_func),
7241         (gst_bin_element_set_state), (gst_bin_change_state_func),
7242         (gst_bin_continue_func), (bin_bus_handler),
7243         (bin_push_state_continue), (bin_handle_async_start),
7244         (bin_handle_async_done), (gst_bin_handle_message_func):
7245         Make async state changes a bit smarter by using new ASYNC_START and
7246         ASYNC_DONE messages. This reduces the number of times we run the state
7247         recalculation thread.
7248         Don't change state of element with a pending ASYNC_START message.
7249         Deprecate STATE_DIRTY messages.
7250         
7251         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7252         (gst_element_get_state_func), (gst_element_continue_state),
7253         (gst_element_lost_state), (gst_element_set_state_func),
7254         (gst_element_change_state):
7255         * gst/gstelement.h:
7256         Keep the state that was last set by the app in a new element field.
7257         Don't allow state changes when handling an element event.
7258         Post ASYNC_START and ASYNC_DONE messages.
7259         Change lost_state so that we go to PAUSED and wait for the parent to set
7260         us to PLAYING again (so latency calculation can be performed)
7261         Export gst_element_change_state() method so that subclasses can use it.
7262         API: gst_element_change_state()
7263         API: GST_STATE_TARGET
7264
7265         * gst/gstpipeline.c: (gst_pipeline_class_init),
7266         (reset_stream_time), (gst_pipeline_change_state),
7267         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7268         Using the new ASYNC_START message we can reset the base_time when
7269         needed. This can then be used to implement base_time redistribution in
7270         flushing seeks so that we can remove the explicit seek handling.
7271         Perform latency query and configuration when going to PLAYING.
7272
7273         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7274         (gst_base_sink_query), (gst_base_sink_change_state):
7275         Post new ASYNC_START/ASYNC_DONE messages.
7276
7277         * tests/check/generic/sinks.c: (GST_START_TEST):
7278         Fix test because the bin will not set the async element to PLAYING right
7279         away.
7280
7281         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7282         Make the message check a little stronger.
7283         Handle ASYNC messages.
7284
7285         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7286         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7287         Expect ASYNC_DONE messages.
7288
7289 2007-03-19  Wim Taymans  <wim@fluendo.com>
7290
7291         * docs/gst/gstreamer-sections.txt:
7292         * gst/gstmessage.c: (gst_message_new_async_start),
7293         (gst_message_new_async_done), (gst_message_parse_info),
7294         (gst_message_parse_async_start):
7295         * gst/gstmessage.h:
7296         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7297         support.
7298
7299 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7300
7301         * tools/gst-inspect.c:
7302         (print_plugin_automatic_install_info_codecs):
7303           Now that we don't check for the 'Codec' keyword any longer in the
7304           klass, we shouldn't spew a warning if the klass isn't a decoder or
7305           encoder (since it might be a Source/Network, for example).
7306
7307 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7308
7309         * tools/gst-inspect.c:
7310         (print_plugin_automatic_install_info_codecs):
7311           Don't require decoder/demuxer/depayloader elements or
7312           encoder/muxer/paylader elements to have 'Codec' as part of their
7313           factory class string when introspecting a plugin's capabilities.
7314           draft-klass.txt mentions that it might be removed in future, and
7315           flump3dec doesn't have it as part of its class string, so chances
7316           are others might also not have it.
7317
7318 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7319
7320         * po/af.po:
7321         * po/az.po:
7322         * po/bg.po:
7323         * po/ca.po:
7324         * po/cs.po:
7325         * po/de.po:
7326         * po/en_GB.po:
7327         * po/fr.po:
7328         * po/it.po:
7329         * po/nb.po:
7330         * po/nl.po:
7331         * po/ru.po:
7332         * po/sq.po:
7333         * po/sr.po:
7334         * po/sv.po:
7335         * po/tr.po:
7336         * po/uk.po:
7337         * po/vi.po:
7338         * po/zh_CN.po:
7339         * po/zh_TW.po:
7340           Update translations from translation project
7341
7342 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7343
7344         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7345         (gst_child_proxy_set_property):
7346           Invert precondition check to be alike the ones in the mimiced gobject
7347           api.
7348
7349 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7350
7351         * docs/design/draft-tagreading.txt:
7352         * docs/random/ensonic/audiobaseclasses.txt:
7353           Do some Architect work.
7354
7355         * gst/gstobject.c: (gst_object_set_name):
7356           Add a WARNING.
7357
7358         * gst/gstpad.c:
7359           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7360
7361 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7362
7363         * gst/gstsystemclock.c: (gst_system_clock_init),
7364         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7365         Defer starting the async system clock thread until the first async
7366         wait is scheduled. Fixes #414986.
7367
7368 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7369
7370         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7371         (gst_single_queue_free):
7372           Fix small leak (free GstSingleQueue structure too, not only contents).
7373
7374 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7375
7376         * gst/gstbin.c:(gst_bin_add):
7377         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7378         * win32/common/libgstbase.def:
7379         * win32/common/libgstreamer.def:
7380         Add new exported functions.
7381
7382 2007-03-09  Wim Taymans  <wim@fluendo.com>
7383
7384         * docs/plugins/gstreamer-plugins-sections.txt:
7385         Fix GstTee docs.
7386
7387 2007-03-09  Wim Taymans  <wim@fluendo.com>
7388
7389         * docs/gst/gstreamer-sections.txt:
7390         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7391         * gst/gstbuffer.h:
7392         Add metadata copy functions. Fixes #393099.
7393         API: gst_buffer_copy_metadata()
7394
7395         * gst/gstutils.c: (gst_buffer_stamp):
7396         * libs/gst/base/gstbasetransform.c:
7397         (gst_base_transform_prepare_output_buffer):
7398         Use new metadata copy functions.
7399
7400 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7401
7402         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7403         (gst_identity_init), (gst_identity_check_perfect),
7404         (gst_identity_check_imperfect_timestamp),
7405         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7406         (gst_identity_set_property), (gst_identity_get_property):
7407         * plugins/elements/gstidentity.h:
7408         Separate out check-imperfect-timestamp and check-imperfect-offset.
7409         Put back check-perfect as it was to keep compatibility.
7410
7411 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7412
7413         * gst/gstelement.c: (gst_element_dispose):
7414         There's no need to warn if VOID_PENDING is not NONE here, as
7415         long as the state is NULL it's ok, and that's checked immediately
7416         above.
7417
7418 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7419
7420         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7421         Fix check for perfect stream to ignore buffers with -1 
7422         offsets/offset ends when checking data contiguity.
7423
7424 2007-03-08  Wim Taymans  <wim@fluendo.com>
7425
7426         * tools/gst-launch.c: (event_loop):
7427         Print INFO messages.
7428
7429 2007-03-08  Wim Taymans  <wim@fluendo.com>
7430
7431         * libs/gst/base/gstbasetransform.c:
7432         (gst_base_transform_sink_eventfunc),
7433         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7434         (gst_base_transform_activate):
7435         * libs/gst/base/gstbasetransform.h:
7436         Add support for dropping buffers with custom GstFlowReturn.
7437         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7438         buffers or dropped buffers.
7439
7440         * docs/libs/gstreamer-libs-sections.txt:
7441         docs for new custom return code.
7442
7443         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7444         Use drop support in base class to implement drop-probability.
7445
7446 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7447
7448         * gst/gst.c: (load_plugin_func):
7449         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7450         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7451         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7452           Remove newlines at end of debug log strings.
7453
7454 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7455
7456         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7457         Only post bus message at max, once per buffer received.
7458
7459 2007-03-07  Wim Taymans  <wim@fluendo.com>
7460
7461         * docs/design/Makefile.am:
7462         * docs/design/part-synchronisation.txt:
7463         Add doc about synchronisation
7464
7465         * docs/design/draft-latency.txt:
7466         * docs/design/part-TODO.txt:
7467         * docs/design/part-clocks.txt:
7468         * docs/design/part-events.txt:
7469         * docs/design/part-gstbus.txt:
7470         * docs/design/part-gstpipeline.txt:
7471         * docs/design/part-live-source.txt:
7472         * docs/design/part-messages.txt:
7473         * docs/design/part-overview.txt:
7474         * docs/design/part-streams.txt:
7475         * docs/design/part-trickmodes.txt:
7476         Documentation updates.
7477
7478 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7479
7480         * gstreamer.doap:
7481         Update the doap file.
7482
7483 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7484
7485         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7486         Rename non-perfect to imperfect for Mike and for the sanctity of the
7487         language.
7488         Also make sure bus message gets emitted for data-incontiguities.
7489
7490 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7491
7492         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7493         (gst_identity_start):
7494         * plugins/elements/gstidentity.h:
7495         Emit bus message if check-perfect is true and we encounter a
7496         non-perfect stream between 2 consecutive buffers.
7497         Fixes #415394.
7498
7499 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7500
7501         * configure.ac:
7502         Back to CVS
7503
7504 === release 0.10.12 ===
7505
7506 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7507
7508         * configure.ac:
7509           releasing 0.10.12, "Inevitable Demise"
7510
7511 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7512
7513         * configure.ac:
7514          Version 0.10.11.2 (0.10.12 pre-release)
7515          Bump libtool versioning.
7516
7517 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7518
7519         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7520           Log flow-names and not numbers.
7521
7522 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7523
7524         * configure.ac:
7525           Convert to new AG_GST style.
7526
7527 2007-02-28  Wim Taymans  <wim@fluendo.com>
7528
7529         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7530         Don't unref query twice.
7531
7532 2007-02-28  Wim Taymans  <wim@fluendo.com>
7533
7534         * gst/gstvalue.c: (gst_value_transform_object_string),
7535         (_gst_value_initialize):
7536         Implement GstObject -> string transform so we print object names
7537         when serializing GValues containing GstObjects.
7538
7539 2007-02-28  Wim Taymans  <wim@fluendo.com>
7540
7541         * docs/gst/gstreamer-sections.txt:
7542         Add new stuff to docs.
7543
7544 2007-02-28  Wim Taymans  <wim@fluendo.com>
7545
7546         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7547         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7548         (gst_base_sink_change_state):
7549         Improve latency query code.
7550         Don't leak latency events.
7551
7552         * tests/check/gst/gstbin.c: (GST_START_TEST):
7553         Improve debugging.
7554
7555 2007-02-28  Wim Taymans  <wim@fluendo.com>
7556
7557         * gst/gstelement.c: (gst_element_message_full),
7558         (gst_element_get_state_func):
7559         * gst/gstelement.h:
7560         Improve docs a little. Added Since: for new macro.
7561
7562         * gst/gstobject.c: (gst_object_sink):
7563         * gst/gstpipeline.c: (gst_pipeline_change_state),
7564         (gst_pipeline_set_new_stream_time):
7565         * gst/gstpipeline.h:
7566         Improve debugging and docs.
7567
7568         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7569         Improve debugging.
7570
7571 2007-02-28  Wim Taymans  <wim@fluendo.com>
7572
7573         * gst/gstelement.c: (gst_element_message_full),
7574         (gst_element_set_locked_state), (gst_element_get_state_func),
7575         (gst_element_change_state):
7576         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7577         Documentation updates.
7578         Small code cleanups.
7579
7580         * gst/gstmessage.c: (gst_message_new_info),
7581         (gst_message_parse_info):
7582         * gst/gstmessage.h:
7583         API: gst_message_new_info()
7584         API: gst_message_parse_info()
7585         Add INFO message create and parse code.
7586
7587 2007-02-28  Wim Taymans  <wim@fluendo.com>
7588
7589         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7590         (bin_query_latency_done):
7591         Also report the live parameter of a latency query.
7592
7593 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7594
7595         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7596           Copy the current generic/states example from -base and adapt so
7597           we can use the exact same code everywhere.
7598           Check a STATES_IGNORE_ELEMENTS env var which can be used
7599           to ignore certain element factories for this test, which is
7600           what is being done in -base
7601         * tests/check/Makefile.am:
7602           Mention this environment variable.
7603
7604 2007-02-27  Wim Taymans  <wim@fluendo.com>
7605
7606         * docs/gst/gstreamer-sections.txt:
7607         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7608         (gst_bus_timed_pop), (gst_bus_pop):
7609         * gst/gstbus.h:
7610         API: gst_bus_timed_pop()
7611         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7612         message to arrive on the bus.
7613
7614         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7615         (gst_bus_suite):
7616         Two unit tests for new _timed_pop() function.
7617
7618 2007-02-23  Wim Taymans  <wim@fluendo.com>
7619
7620         * gst/gstpipeline.c: (gst_pipeline_change_state),
7621         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7622         Don't ref a NULL clock in _provide_clock_func().
7623         Don't allow an INVALID delay.
7624         Don't try to calculate base_time with an invalid start_time.
7625         Also distribute and notify a NULL clock when it was selected.
7626
7627         * tools/gst-launch.c: (event_loop):
7628         Don't crash when a NULL clock was selected in the pipeline.
7629
7630 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7631
7632         * docs/design/Makefile.am:
7633         * docs/design/draft-missing-plugins.txt:
7634         * docs/random/draft-missing-plugins.txt:
7635           Some small updates: update plugin system identifier prefix
7636           ('gstreamer.net' to 'gstreamer'), mention our new install
7637           API in libgstbaseutils rather than libgimme-codec, add
7638           reference to the online docs.
7639
7640 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7641
7642         * win32/common/config.h:
7643           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7644           use moap cl ci to only check in what is mentioned in the ChangeLog.
7645
7646 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7647
7648         * docs/gst/gstreamer-sections.txt:
7649         * gst/gstelement.h:
7650           Fix up documentation to link to the correct GstGError section.
7651           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7652
7653 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7654
7655         * tools/gst-launch.c: (event_loop):
7656           Make sure that we actually show the important message part of a
7657           warning message.
7658           No need to check if the gerror is not NULL to free; first of all
7659           g_free accepts NULL; and second the default error handler would
7660           segfault if gerror was NULL.
7661
7662 2007-02-21  Wim Taymans  <wim@fluendo.com>
7663
7664         * docs/gst/gstreamer-sections.txt:
7665         Removed docs as well.
7666
7667 2007-02-21  Wim Taymans  <wim@fluendo.com>
7668
7669         * gst/gstmessage.c: (gst_message_parse_duration):
7670         * gst/gstmessage.h:
7671         Remove new messages for release.
7672
7673 2007-02-20  Wim Taymans  <wim@fluendo.com>
7674
7675         * docs/design/part-gstghostpad.txt:
7676         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7677         (gst_ghost_pad_new_full):
7678         Make the ghostpad a parent of the internal pad again for better backward
7679         compatibility. Don't write code that relies on this however.
7680
7681         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7682         (gst_pad_link_check_hierarchy):
7683         Require that parents should be GstElements in the hierarchy check.
7684
7685 2007-02-20  Wim Taymans  <wim@fluendo.com>
7686
7687         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7688         (gst_bin_change_state_func), (bin_query_min_max_init),
7689         (bin_query_latency_fold), (bin_query_latency_done),
7690         (gst_bin_query):
7691         Improve debug info.
7692         Implement latency query.
7693
7694 2007-02-20  Wim Taymans  <wim@fluendo.com>
7695
7696         * docs/design/part-gstghostpad.txt:
7697         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7698         (gst_ghost_pad_internal_do_activate_push),
7699         (gst_ghost_pad_internal_do_activate_pull),
7700         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7701         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7702         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7703         Do not set the internal pad as a parent anymore so we can avoid
7704         hierarchy linking errors when the ghostpad has no parent yet. This also
7705         fixes failed activation because of unlinked internal pads, which in
7706         turn fixes the impossible case where you have to activate a pad before
7707         you can add it to a running element.
7708         Also fix the docs.
7709
7710         * gst/gstpad.c: (pre_activate), (post_activate),
7711         (gst_pad_set_active), (gst_pad_activate_pull),
7712         (gst_pad_activate_push), (gst_pad_check_pull_range):
7713         Add some more debug info.
7714         Mark activation mode in pre_activate so that we don't try to activate in
7715         endless loops. Fixes #385084.
7716
7717 2007-02-19  Wim Taymans  <wim@fluendo.com>
7718
7719         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7720         (gst_base_transform_check_get_range):
7721         Implement a checkgetrange function instead of relying on the default
7722         core behaviour that assumes we can operate in pull mode if we have a
7723         getrange function. First step at fixing #385084.
7724
7725 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
7726
7727         * gst/gstchildproxy.h:
7728         * libs/gst/base/gstbasesink.h:
7729         * libs/gst/base/gstbasesrc.h:
7730         * libs/gst/base/gstbasetransform.h:
7731         More docs coverage and some ChangeLog surgery (add missing names)
7732
7733 2007-02-15  Wim Taymans  <wim@fluendo.com>
7734
7735         * docs/design/part-TODO.txt:
7736         * docs/design/part-activation.txt:
7737         * docs/design/part-block.txt:
7738         * docs/design/part-buffering.txt:
7739         * docs/design/part-clocks.txt:
7740         * docs/design/part-element-source.txt:
7741         * docs/design/part-events.txt:
7742         * docs/design/part-gstbin.txt:
7743         * docs/design/part-gstbus.txt:
7744         * docs/design/part-gstpipeline.txt:
7745         * docs/design/part-live-source.txt:
7746         * docs/design/part-messages.txt:
7747         * docs/design/part-overview.txt:
7748         * docs/design/part-qos.txt:
7749         * docs/design/part-query.txt:
7750         * docs/design/part-states.txt:
7751         * docs/design/part-trickmodes.txt:
7752         Some doc updates. Start renaming from stream_time to running_time where
7753         it was used wrongly.
7754
7755 2007-02-15  Wim Taymans  <wim@fluendo.com>
7756
7757         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7758         Answer LATENCY query.
7759
7760 2007-02-15  Wim Taymans  <wim@fluendo.com>
7761
7762         * tests/check/gst/gstevent.c: (event_probe), (test_event),
7763         (GST_START_TEST):
7764         Improve debugging.
7765
7766 2007-02-15  Wim Taymans  <wim@fluendo.com>
7767
7768         * gst/gstpad.c: (gst_pad_get_internal_links_default),
7769         (gst_pad_dispatcher):
7770         Improve debugging of default pad dispatcher and query functions.
7771
7772 2007-02-15  Wim Taymans  <wim@fluendo.com>
7773
7774         * docs/gst/gstreamer-sections.txt:
7775         Remove old unused method.
7776
7777 2007-02-13  Wim Taymans  <wim@fluendo.com>
7778
7779         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7780         Fix check
7781
7782 2007-02-13  Wim Taymans  <wim@fluendo.com>
7783
7784         * docs/design/part-seeking.txt:
7785         Some small update.
7786
7787         * gst/gstsegment.c: (gst_segment_set_seek):
7788         Revert old bogus change that should make seeking work again.
7789
7790 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7791
7792         * docs/random/ensonic/dynlink.txt:
7793         * docs/random/ensonic/interfaces.txt:
7794         * docs/random/ensonic/receipies.txt:
7795           Possible dynamic reconnection api, plus some type fixes the other two
7796           docs.
7797
7798 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
7799
7800         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7801         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7802         Also check for an absolute path following file:// in the filesrc
7803         element. Remove redundant check and call g_path_is_absolute() on the
7804         unescaped location.
7805
7806 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7807
7808         * docs/design/draft-klass.txt:
7809           Add existing category analysis.
7810           
7811         * gst/gstcaps.c:
7812           Fix doc example, framerate is a fraction.
7813
7814 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7815
7816         * configure.ac:
7817         * docs/gst/Makefile.am:
7818         * docs/gst/gstreamer-sections.txt:
7819         * docs/libs/Makefile.am:
7820           Erm, forgot a bunch of --extra-dir.
7821
7822 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7823
7824         * configure.ac:
7825         * docs/gst/Makefile.am:
7826         * docs/libs/Makefile.am:
7827         * docs/plugins/Makefile.am:
7828           Add crossreferences to glib/gobject docs.
7829
7830 2007-02-12  Wim Taymans  <wim@fluendo.com>
7831
7832         * docs/design/draft-latency.txt:
7833         Small update.
7834
7835         * docs/libs/gstreamer-libs-sections.txt:
7836         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7837         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7838         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7839         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7840         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7841         (gst_base_sink_get_position), (gst_base_sink_query),
7842         (gst_base_sink_change_state):
7843         * libs/gst/base/gstbasesink.h:
7844         API: gst_base_sink_query_latency() to let subclasses query the upstream
7845         latency.
7846         API: gst_base_sink_get_latency() to let subclasses query the configured
7847         latency in the sink.
7848         Implement query and set latency.
7849         Update some docs.
7850         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7851         don't continue preroll when we are flushing. Fixes #405284.
7852
7853         * tests/check/pipelines/stress.c: (change_state_timeout),
7854         (quit_timeout), (GST_START_TEST), (stress_suite):
7855         Test for #405284.
7856
7857 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
7858
7859         Patch by: René Stadler <mail at renestadler de>
7860
7861         * docs/gst/gstreamer-sections.txt:
7862         * gst/gsttaglist.c: (_gst_tag_initialize):
7863         * gst/gsttaglist.h:
7864           API: add GST_TAG_REFERENCE_LEVEL (#403597).
7865
7866 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
7867
7868         * docs/libs/Makefile.am:
7869           Fix path to core docs.
7870
7871         * gst/gstbin.c: (gst_bin_get_by_interface),
7872         (gst_bin_iterate_all_by_interface):
7873           Refix docs by also renaming 'interface' to 'iface' in implementation.
7874
7875         * docs/gst/gstreamer-sections.txt:
7876         * gst/gstcaps.c:
7877         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7878         * gst/gstchildproxy.h:
7879         * gst/gstelementfactory.c:
7880         * gst/gstpadtemplate.h:
7881         * libs/gst/controller/gstcontroller.c:
7882         (gst_controlled_property_new):
7883           Document more.
7884
7885 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
7886
7887         * gst/gstbin.h:(gst_bin_get_by_interface),
7888         (gst_bin_iterate_all_by_interface):
7889         Replace interface parameter name by iface as interface is 
7890         a reserved keyword in Visual Studio for C++ projects so it removes
7891         a build error for application developpers using VS.
7892         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7893         Fix a bug on Windows in uri format check. Now the prefix checked
7894         is file:// and next we check if the path after file:// is absolute.
7895         * win32/common/libgstbase.def:
7896         * win32/common/libgstdataprotocol.def:
7897         * win32/common/libgstgstreamer.def:
7898         Add new exported functions.
7899
7900 2007-02-09  Andy Wingo  <wingo@pobox.com>
7901
7902         * tests/check/pipelines/simple-launch-lines.c
7903         (simple_launch_lines_suite, test_tee): Disable tee test until I
7904         have time to fix it :-(
7905
7906         * tests/check/Makefile.am (noinst_HEADERS): 
7907         * tests/check/libs/libsabi.c: 
7908         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7909         * tests/check/gst/gstabi.c: 
7910         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7911
7912         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7913         tests for push and pull tee behavior.
7914
7915         * plugins/elements/gsttee.h: 
7916         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7917         mark as deprecated as well as unimplemented. It was a crack idea.
7918         Add support for tee operating in pull mode, off by default.
7919
7920         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7921         normal-case logs down to LOG, raise errors to WARNING.
7922         (gst_registry_xml_read_cache): Don't log before calling a function
7923         that logs.
7924
7925         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7926         exit (registry finalize).
7927         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7928         DEBUG log when we emit signals that people don't even have the
7929         chance to connect to.
7930         (gst_registry_scan_path_level): Less logging in the normal case.
7931
7932 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7933
7934         Patch by: Michal Benes <michal dot benes at itonis dot tv>
7935
7936         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7937         Correctly generate EOS for non-seekable files. We don't have a total
7938         length for them and would get an unexpected end of file if we only
7939         special-cased for regular files. (Fixes: #404569)
7940
7941 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7942
7943         * tests/check/elements/filesrc.c: (GST_START_TEST),
7944         (filesrc_suite):
7945         Add unit test for the GstURIHandler interface in filesrc. This also
7946         tests the newly added file://localhost/foo/bar support.
7947
7948 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
7949
7950         * gst/gstelementfactory.h:
7951           The klass string is not a hierarchy. Add reference to the design doc
7952           for more information and common types.
7953
7954 2007-02-02  Wim Taymans  <wim@fluendo.com>
7955
7956         * gst/gstquery.c: (gst_query_new_latency):
7957         Remove old structure field.
7958
7959 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
7960
7961         * tools/gst-launch.1.in:
7962           Give example for network streaming (#351998)
7963
7964 2007-02-02  Wim Taymans  <wim@fluendo.com>
7965
7966         * docs/gst/gstreamer-sections.txt:
7967         Add docs for new methods.
7968
7969         * gst/gstevent.c: (gst_event_new_latency),
7970         (gst_event_parse_latency):
7971         * gst/gstevent.h:
7972         Add new LATENCY event to configure latency in a pipeline.
7973         API: gst_event_new_latency
7974         API: gst_event_parse_latency
7975
7976         * gst/gstmessage.c: (gst_message_new_buffering),
7977         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
7978         (gst_message_new_latency), (gst_message_parse_buffering),
7979         (gst_message_parse_lost_preroll):
7980         * gst/gstmessage.h:
7981         Added messages used in draft-latency.
7982         API: gst_message_new_lost_preroll
7983         API: gst_message_parse_lost_preroll
7984         API: gst_message_new_prerolled
7985         API: gst_message_new_latency
7986
7987         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
7988         (gst_query_parse_latency):
7989         * gst/gstquery.h:
7990         Implemented new latency query as in design doc.
7991         API: gst_query_new_latency
7992         API: gst_query_set_latency
7993         API: gst_query_parse_latency
7994
7995 2007-02-02  Wim Taymans  <wim@fluendo.com>
7996
7997         * docs/design/draft-latency.txt:
7998         Slight redesign to allow for dynamic latency adjustments.
7999
8000         * docs/design/part-negotiation.txt:
8001         Fix some typos.
8002
8003 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
8004
8005         reviewed by: Wim Taymans <wim@fluendo.com>
8006
8007         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8008         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8009         Allow file://localhost/foo/bar URLs and correctly fail for every other
8010         hostname that one sets. This was gnomevfssrc is linked for those if
8011         installed as it can handle it (#403172)
8012
8013 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8014
8015         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8016
8017         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8018         (unref_data), (gst_collect_pads_add_pad_full):
8019         * libs/gst/base/gstcollectpads.h:
8020         Don't put the previously added destroy notify in the GstCollectData
8021         struct as all it's padding is already used and we don't want to break
8022         ABI. Instead put in the pad's GObject data for now. This should be
8023         cleaned up for 0.11 (#402393).
8024
8025 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
8026
8027         reviewed by: Wim Taymans <wim@fluendo.com>
8028
8029         * docs/libs/gstreamer-libs-sections.txt:
8030         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8031         (unref_data), (gst_collect_pads_add_pad),
8032         (gst_collect_pads_add_pad_full):
8033         * libs/gst/base/gstcollectpads.h:
8034         API: Add function to specify a destroy notification for custom
8035         GstCollectData when adding new pads in GstCollectPads (#402393).
8036
8037 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
8038
8039         * po/sv.po:
8040           Update Swedish translation (#378255).
8041
8042 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8043
8044         * docs/design/draft-klass.txt:
8045           Fix the previous change, this is a list of categories and not a hierarchy.
8046
8047 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
8048
8049         * docs/design/draft-klass.txt:
8050           Add info about how to get a list of used classes.
8051
8052 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
8053
8054         * plugins/elements/gsttypefindelement.c:
8055         (gst_type_find_element_chain_do_typefinding),
8056         (gst_type_find_element_change_state):
8057           Don't leak found caps in chain function (no idea why that never
8058           showed up as a leak anywhere).
8059
8060 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
8061
8062         * gst/gstplugin.h:
8063           Fix and expand GstPluginDesc API docs.
8064
8065 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8066
8067         * gst/gstcaps.c:
8068         * gst/gstelementfactory.c:
8069         * gst/gstpadtemplate.h:
8070           api doc fixes
8071
8072         * libs/gst/controller/gstcontroller.c:
8073         (gst_controlled_property_new):
8074         * tests/examples/controller/audio-example.c:
8075           comment fixes
8076
8077 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
8078
8079         * configure.ac:
8080           comment about refining the xml deps
8081
8082         * docs/manuals.mak:
8083           comments about moving away from jade for docs
8084         
8085         * gst/gst.c:
8086           recommit the ifdefs to use the binary registry
8087         
8088         * gst/gstbin.c: (gst_bin_change_state_func):
8089           this break is obsolete
8090
8091         * gst/gstelementfactory.h:
8092           better GST_ELEMENT_DETAILS docs, add comment about translation
8093
8094         * gst/gstinfo.h:
8095           remove eol slash
8096
8097         * gst/gstobject.c: (gst_signal_object_get_type):
8098           add G_UNLIKELY as usual
8099
8100         * gst/gstpad.c: (gst_pad_event_default):
8101           add fall trhu comment
8102
8103         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8104         (gst_registry_binary_initialize_magic),
8105         (gst_registry_binary_save_string),
8106         (gst_registry_binary_save_pad_template),
8107         (gst_registry_binary_save_feature),
8108         (gst_registry_binary_save_plugin),
8109         (gst_registry_binary_write_cache),
8110         (gst_registry_binary_check_magic),
8111         (gst_registry_binary_load_pad_template),
8112         (gst_registry_binary_load_feature),
8113         (gst_registry_binary_load_plugin),
8114         (gst_registry_binary_read_cache):
8115           comment typo and formatting
8116
8117         * gst/gstutils.c: (gst_element_state_get_name),
8118         (gst_element_state_change_return_get_name):
8119           remove obsolete breaks
8120
8121         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8122           add FIXME 0.11 and remove cpp comment
8123
8124 2007-01-29  Edward Hervey  <edward@fluendo.com>
8125
8126         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8127         Fix print statement in an even more portable way.
8128
8129 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8130
8131         * docs/gst/gstreamer-sections.txt:
8132         * gst/gstutils.h:
8133           API: add GST_ROUND_DOWN_* macros (#401781).
8134
8135 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8136
8137         * docs/gst/gstreamer.types.in:
8138         * gst/gstregistry.c: (gst_registry_class_init):
8139           Document registry signals and make gtk-doc pick them up (#401381).
8140
8141 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8142
8143         * docs/pwg/building-testapp.xml:
8144           Add some audioconverts and audioresample to the pipeline, and some
8145           more comments and error handling.
8146
8147 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8148
8149         * docs/manual/manual.xml:
8150         * docs/pwg/pwg.xml:
8151           Fix typo (#400987).
8152
8153 2007-01-26  Wim Taymans  <wim@fluendo.com>
8154
8155         * gst/gstcaps.c: (gst_static_caps_get):
8156         Init caps flags too.
8157
8158 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8159
8160         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8161
8162         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8163         If not using mmap'ed files try to seek to the end instead of the
8164         start to determine whether we can seek at all. This fixes the case
8165         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8166         seeks for everything afterwards fail. Fixes #400656
8167
8168 2007-01-25  Wim Taymans  <wim@fluendo.com>
8169
8170         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8171         Add some refcount debugging.
8172         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8173         in multiple streaming threads.
8174
8175 2007-01-25  Wim Taymans  <wim@fluendo.com>
8176
8177         Patch by: David Schleef <ds at schleef dot org>
8178
8179         * docs/libs/gstreamer-libs-sections.txt:
8180         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8181         * libs/gst/base/gstadapter.h:
8182         API: gst_adapter_copy() that can reduce the amount of memcpy when
8183         getting data from the adapter. Fixes #388201.
8184
8185 2007-01-25  Edward Hervey  <edward@fluendo.com>
8186
8187         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8188         In print statements, "%x" is for guint. Fixes build on macosx.
8189
8190 2007-01-24  Edward Hervey  <edward@fluendo.com>
8191
8192         * plugins/elements/gstmultiqueue.c:
8193         (gst_multi_queue_loop):
8194         Small fix.
8195         (single_queue_overrun_cb), (single_queue_underrun_cb),
8196         (single_queue_check_full), (gst_single_queue_new):
8197         Implement single queue growth system.
8198         This uses the extra-size properties, and will grow single queues by
8199         that much if one goes full whereas there are others empty. This is
8200         called extra-mode in the code.
8201         When a single queue's levels go back below the initial max-size
8202         limits, it is no longer in extra-mode. This is to ensure we don't
8203         consume too much memory.
8204         Fixes #399875
8205
8206 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8207
8208         * gst/gst.c: (gst_init_get_option_group):
8209           Make warning about late g_thread_init() calls a bit more explicit,
8210           so that it's more obvious to application developers what they need
8211           to do if a user files a bug against their application.
8212
8213 2007-01-22  Edward Hervey  <edward@fluendo.com>
8214
8215         * plugins/elements/gstmultiqueue.c:
8216         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8217         Remove previous hack of unsetting the flushing flag for the source pad
8218         instead of activating it. Instead, fix the source pad activate function
8219         so that it no longer depends on having a parent set or not.
8220
8221 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8222
8223         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8224
8225         * docs/manual/basics-bus.xml:
8226           Fix example code, gst_element_unref() doesn't exist any longer.
8227
8228 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8229
8230         Patch by: Mark Nauwelaerts <manauw at skynet be>
8231
8232         * gst/gstpad.c:
8233           Fix two docs typoes (#399094).
8234
8235 2007-01-19  Edward Hervey  <edward@fluendo.com>
8236
8237         * docs/faq/gst-uninstalled:
8238         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8239         depending on libgstbaseutils can work in uninstalled environment.
8240
8241 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8242
8243         * gst/gsttaglist.h:
8244         * gst/gsttagsetter.c:
8245         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8246         statement for new tag.
8247
8248 2007-01-17  Edward Hervey  <edward@fluendo.com>
8249
8250         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8251         When dynamically creating single queues, activate sinkpad before adding
8252         it.
8253         We should be doing the same thing for the source pad, but we can't
8254         since it would call a method which needs the parent to be set in order
8255         to work propertly. Instead of activating the source pad, we just unset
8256         the flushing flag, which is the minimal requirement for adding a pad
8257         to an element in a state greater than READY.
8258
8259 2007-01-17  Edward Hervey  <edward@fluendo.com>
8260
8261         * docs/faq/gst-uninstalled:
8262         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8263         Mac OS X.
8264
8265 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8266
8267         * tests/check/gst/gstabi.c:
8268         * tests/check/gst/struct_hppa.h:
8269         * tests/check/libs/libsabi.c:
8270         * tests/check/libs/struct_hppa.h:
8271           Add ABI structs for HPPA (see #393796).
8272
8273 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8274
8275         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8276           Actually write ABI structs to the file specified in the GST_ABI
8277           environment variable, as the message we print claims we would.
8278
8279 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8280
8281         * tests/check/gst/gsttask.c:
8282           Fix header comment.
8283
8284 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8285
8286         * gst/gsttaglist.c: (_gst_tag_initialize):
8287           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8288           previous two entries.
8289
8290 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8291
8292         * docs/gst/gstreamer-sections.txt:
8293         * gst/gsttaglist.c: (_gst_tag_initialize):
8294         * gst/gsttaglist.h:
8295           Add tag support for beat-per-minute.
8296
8297 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8298
8299         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8300         (gst_registry_binary_initialize_magic),
8301         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8302         (gst_registry_binary_save_pad_template),
8303         (gst_registry_binary_save_feature),
8304         (gst_registry_binary_save_plugin),
8305         (gst_registry_binary_write_cache),
8306         (gst_registry_binary_check_magic),
8307         (gst_registry_binary_load_pad_template),
8308         (gst_registry_binary_load_feature),
8309         (gst_registry_binary_load_plugin),
8310         (gst_registry_binary_read_cache):
8311         * gst/gstregistrybinary.h:
8312           Use glib types, cleanup comments, impement interfaces and uri-types.
8313
8314 2007-01-13  Andy Wingo  <wingo@pobox.com>
8315
8316         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8317         getrange() to return buffers with other caps, while we fix
8318         demuxers and typefind, or otherwise change part-negotiation.txt.
8319
8320 2007-01-12  Andy Wingo  <wingo@pobox.com>
8321
8322         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8323         Factor start/stop into this private function instead of partially
8324         in activate functions and partially in the change_state function.
8325         Fixes setup before the element has changed from READY->PAUSED, as
8326         is the case in pull-mode pipelines.
8327         (gst_base_transform_sink_activate_push)
8328         (gst_base_transform_src_activate_pull): Refactor to use
8329         gst_base_transform_activate().
8330         (gst_base_transform_change_state): Removed, not needed any more.
8331
8332         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8333         Truncate before fixating.
8334         
8335         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8336         Don't set_caps() if the result of fixating is ANY, as it's not
8337         supported, and not necessary in the case of a link with no
8338         template caps on either side. Fixes tests/check/libs/basesrc in
8339         some pull-mode tests.
8340
8341         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8342         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8343         (gst_base_transform_src_activate_pull): 
8344         Track the activation mode.
8345         (gst_base_transform_setcaps): In pull mode, when activating the
8346         src pad, after activating the sink pad, activate the sink pad's
8347         peer, as discussed in part-negotiation.txt.
8348
8349         * libs/gst/base/gstbasesrc.h: 
8350         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8351         vmethod, as in basesink.
8352
8353         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8354
8355         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8356         mode, first proxy the setcaps to the peer pad.
8357         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8358         new fixate vmethod.
8359         (gst_base_sink_default_activate_pull): Rename from
8360         gst_base_sink_activate_pull.
8361         (gst_base_sink_negotiate_pull): New function, performs negotiation
8362         in pull mode before calling ::activate_pull().
8363         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8364         vmethod instead of the default implementation. I have no idea how
8365         this worked before. Negotiate before calling activate_pull.
8366
8367         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8368         sink pads in pull mode. In addition to being correct, fixes
8369         filesrc ! decodebin ! identity ! fakesink.
8370         (gst_pad_get_range, gst_pad_pull_range): Don't call
8371         gst_pad_set_caps() if the caps changes; instead error out with
8372         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8373
8374 2007-01-12  Andy Wingo  <wingo@pobox.com>
8375
8376         * docs/design/part-negotiation.txt: Update with more policy.
8377
8378 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8379
8380         * libs/gst/check/gstbufferstraw.h:
8381         * libs/gst/check/gstcheck.h:
8382           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8383           belongs.
8384
8385 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8386
8387         * tests/check/Makefile.am:
8388         * tests/check/gst/.cvsignore:
8389         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8390         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8391         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8392         (GST_START_TEST), (gst_tag_setter_suite):
8393           Add minimal unit test for beforementioned GstTagSetter bug.
8394
8395 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8396
8397         Patch by: René Stadler <mail at renestadler dot de>
8398
8399         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8400           gst_tag_list_merge() returns a new list, so it's not the best idea
8401           to ingore its return value. Effectively meant that tags could only
8402           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8403           Also add function guard to require a non-NULL taglist as input (has
8404           always been so due to gst_tag_list_copy(), just making it explicit).
8405
8406 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8407
8408         * docs/random/draft-missing-plugins.txt:
8409           Some additions: mention new API that is supposed to be used at the
8410           various stages; short blob about new gst-inspect introspection
8411           option; mention potential future problem with plugins that have
8412           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8413
8414 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8415
8416         * tools/gst-inspect.c:
8417         (print_plugin_automatic_install_info_codecs),
8418         (print_plugin_automatic_install_info_protocols),
8419         (print_plugin_automatic_install_info), (main):
8420         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8421         introspect plugin files and get machine-parsable output that corresponds
8422         to the last bit of the missing-plugin installer string (small gotcha:
8423         doesn't take into account ranks).
8424
8425 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8426
8427         * configure.ac:
8428         * docs/gst/gstreamer-sections.txt:
8429         * gst/Makefile.am:
8430         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8431         (gst_registry_lookup_locked):
8432         * gst/gstregistry.h:
8433         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8434         (gst_registry_binary_initialize_magic),
8435         (gst_registry_binary_save_string),
8436         (gst_registry_binary_save_pad_template),
8437         (gst_registry_binary_save_feature),
8438         (gst_registry_binary_save_plugin),
8439         (gst_registry_binary_write_cache),
8440         (gst_registry_binary_check_magic),
8441         (gst_registry_binary_load_pad_template),
8442         (gst_registry_binary_load_feature),
8443         (gst_registry_binary_load_plugin),
8444         (gst_registry_binary_read_cache):
8445         * gst/gstregistrybinary.h:
8446         * gst/gstregistryxml.c: (load_feature),
8447         (gst_registry_xml_read_cache):
8448           commit binary registry (disabled by default, see #359653)
8449
8450 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8451
8452         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8453           Fix 'make check' too.
8454
8455 2007-01-10  Andy Wingo  <wingo@pobox.com>
8456
8457         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8458         notes.
8459         
8460         * docs/design/part-negotiation.txt: Update with, um, one way that
8461         pull-mode negotiation might work?
8462
8463         * gst/gstpad.h: 
8464         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8465         that the pad must be a src pad; makes sense to call it the other
8466         way in pull mode, and the logic is symmetric anyway.
8467
8468 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8469
8470         * plugins/elements/gstfilesink.c:
8471           Include <stdio.h> for fseeko().
8472
8473 2007-01-10  Wim Taymans  <wim@fluendo.com>
8474
8475         * gst/gstevent.c:
8476         * gst/gstevent.h:
8477         Reserve LATENCY event.
8478
8479 2007-01-09  Wim Taymans  <wim@fluendo.com>
8480
8481         * docs/design/draft-latency.txt:
8482         Updates.
8483
8484 2007-01-09  Wim Taymans  <wim@fluendo.com>
8485
8486         * docs/design/draft-latency.txt:
8487         Updates.
8488
8489         * gst/gstelement.h:
8490         * gst/gststructure.c:
8491         * gst/gsttrace.c:
8492         Small typo fixes.
8493
8494 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8495
8496         * tests/check/.cvsignore:
8497           Ignore test-registry.xml as well.
8498
8499 2007-01-09  Wim Taymans  <wim@fluendo.com>
8500
8501         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8502         unref data at the end when we are done with the pad.
8503
8504 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8505
8506         * docs/gst/gstreamer-sections.txt:
8507         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8508         (init_post), (gst_deinit), (gst_update_registry):
8509         * gst/gst.h:
8510           API: add gst_update_registry() (#391296).
8511
8512         * tests/check/Makefile.am:
8513         * tests/check/gst/gstregistry.c:
8514         * tests/check/gst/.cvsignore:
8515           Simple unit test for the above.
8516
8517 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8518
8519         * gst/gstregistry.c: (gst_registry_scan_path_level):
8520           Plugin extension on HP-UX is .sl, add that to the list of approved
8521           plugin extensions (see #393796).
8522
8523         * tests/check/gst/gstpad.c: (GST_START_TEST):
8524           ulong => gulong. Fixes compilation with HP-UX compiler.
8525
8526         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8527           Fix compilation if valgrind headers are not available.
8528
8529 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8530
8531         * win32/common/libgstreamer.def: 
8532           Add new exported function.
8533         * win32/vs6/libgstbase.dsp: 
8534           Add gstdataqueue.c to the build.
8535         * win32/vs6/libgstcoreelements.dsp:
8536           Add gstmultiqueue.c to the build.
8537         
8538 2007-01-06  Andy Wingo  <wingo@pobox.com>
8539
8540         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8541         activate_pull(), providing for a way to specialize the process of
8542         spawning a thread to pull on the sink pad. There is a default
8543         implementation.
8544
8545         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8546         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8547         (gst_base_sink_init): Renamed pad activation functions (inserting
8548         "_pad" in their names). Refactor to use the new activate_pull
8549         vmethod, as appropriate.
8550         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8551         default activate_pull function to start a task pulling from the
8552         sink pad, as before.
8553
8554         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8555         on the pads if necessary, as in push()/chain(). Update docs.
8556         Shouldn't affect existing pull() usage as it is currently only
8557         being used on buffers without caps.
8558
8559 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8560
8561         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8562         (init_pre):
8563           Call g_thread_init() first thing in gst_init() / gst_check_init().
8564           When initialisation is done via gst_init_get_option_group() and
8565           GOption parsing, issue a warning if the GLib thread system has not
8566           been initialised yet by the time gst_init_get_option_group() is
8567           called, as it's quite likely other GLib functions such as
8568           g_option_context_new() have been called already then, and
8569           g_thread_init() must be called before any other GLib function. The
8570           application in question must be fixed in that case, since memory
8571           corruption might happen otherwise.
8572           We issue the warning because even if the GLib folks decide to work
8573           around the problem on their end in future, this is still an issue
8574           with all GLib versions >= 2.10.0, so we should warn until we depend
8575           on a GLib version we know to be safe.
8576           Update documentation as well.
8577           Closes bug #391278.
8578
8579 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8580
8581         * tools/gst-inspect.c: (main):
8582         * tools/gst-launch.c: (main):
8583         * tools/gst-typefind.c: (main):
8584         * tools/gst-xmlinspect.c: (main):
8585           Call g_thread_init() really really early, before any other GLib
8586           function (see #342564 and recent discussion on gtk-devel-list).
8587
8588 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8589
8590         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8591
8592         * gst/gst_private.h:
8593         * gst/gstconfig.h.in:
8594         * gst/gstinfo.h:
8595           On win32, all the __declspec stuff for symbol exporting is
8596           apparently only needed with MSVC, but doesn't work with MingW.
8597           Fixes compilation with MingW and #391909.
8598
8599 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8600
8601         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8602           Change some GST_ERROR_OBJECT that aren't really errors to
8603           GST_WARNING_OBJECT in order to reduce terminal spam.
8604
8605 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8606
8607         * tests/check/Makefile.am:
8608           disable test again, as there seem to be still race problems
8609
8610 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8611
8612         * tests/check/Makefile.am:
8613         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8614         (GST_START_TEST), (queue_suite):
8615           enable queue test again, add tests for the leaky behaviour
8616
8617 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8618
8619         * configure.ac:
8620         * tests/examples/Makefile.am:
8621           Compile adapter test/example only if the required headers are
8622           available (fixes #391915).
8623
8624 2007-01-01  David Schleef  <ds@schleef.org>
8625
8626         * gst/gstplugin.c:
8627           Restore the previous signal handler for SIGSEGV instead of
8628           setting to default, since we may have stolen it away from
8629           someone.  (i.e., Mono)
8630
8631 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8632
8633         * docs/random/draft-missing-plugins.txt:
8634           Some small additions and clarifications.
8635
8636 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8637
8638         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8639           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8640           since that can lead to random memory corruptions and crashes
8641           (may or may not be related to #383244, #386711, and #386711).
8642
8643 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8644
8645         * tests/check/.cvsignore:
8646         * tests/check/Makefile.am:
8647           sync .cvsignome and CLEANFILES
8648
8649 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8650
8651         * tests/check/Makefile.am:
8652           fix distcheck
8653
8654 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8655
8656         * docs/design/part-states.txt:
8657           two tiny additional comments
8658         
8659         * gst/gststructure.c:
8660           doc fixing
8661
8662         * tests/check/Makefile.am:
8663         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8664         (GST_START_TEST):
8665           disable test for now, unless it gets fixed
8666
8667 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8668
8669         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8670         (GST_START_TEST):
8671           fix race in underrun test
8672
8673 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8674
8675         * tests/check/elements/.cvsignore:
8676           ignore more
8677
8678         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8679         (GST_START_TEST):
8680           try to narrow test failure
8681
8682 2006-12-21  David Schleef  <ds@schleef.org>
8683
8684         * plugins/elements/gstfakesrc.c:
8685           Use g_random_int_range(), since it produces better random
8686           numbers in a range than almost-correct floating point code.
8687
8688 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8689
8690         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8691         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8692         (gst_check_teardown_sink_pad):
8693           do not automatically (de)activate pads
8694
8695         * tests/check/Makefile.am:
8696         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8697         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8698           add new, yet simple tests for queue
8699
8700         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8701         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8702         * tests/check/elements/filesrc.c: (cleanup_filesrc),
8703         (GST_START_TEST):
8704         * tests/check/elements/identity.c: (cleanup_identity):
8705           consistent pad (de)activation
8706
8707 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
8708
8709         Patch by: Sebastian Dröge  <slomo ubuntu com>
8710
8711         * libs/gst/base/gstcollectpads.c:
8712           Fix two doc typos (#387866).
8713
8714 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8715
8716         * docs/manual/advanced-dparams.xml:
8717           Fix typo (g_object_control_properties() doesn't exist).
8718
8719 2006-12-19  Edward Hervey  <edward@fluendo.com>
8720
8721         * gst/gstsegment.c: (gst_segment_set_seek):
8722         Fine tune the cases where the segment start/stop values are really
8723         updated.
8724         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8725         Add tests for the return values of gst_segment_set_seek().
8726
8727 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8728
8729         * gst/gst.c:
8730           Docs typo fix.
8731
8732         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8733         (gst_queue_init):
8734           Fix incorrect documentation and flesh it out a bit more.
8735           Set default values for the max properties on the GParamSpec as well,
8736           so it shows up correctly in gst-inspect.
8737
8738 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
8739
8740         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8741           Correct docs of queue, add more detail and crosslink it more.
8742
8743 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8744
8745         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8746           Print additional debug info when the stream isn't perfectly
8747           timestamped; don't try to use invalid durations.
8748
8749 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8750
8751         * docs/design/Makefile.am:
8752           Dist new design docs.
8753
8754 2006-12-16  Wim Taymans  <wim@fluendo.com>
8755
8756         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8757
8758         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8759         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8760         (gst_collect_pads_stop), (gst_collect_pads_event),
8761         (gst_collect_pads_chain):
8762         * libs/gst/base/gstcollectpads.h:
8763         Add refcounting to the collectpads data so we can track when it's safe
8764         to free the data. Fixes #383382.
8765
8766 2006-12-15  Wim Taymans  <wim@fluendo.com>
8767
8768         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8769         (gst_collect_pads_remove_pad):
8770         Automatically activate/deactivate pads when they are added to a
8771         started/stoped collectpads.
8772
8773 2006-12-15  Wim Taymans  <wim@fluendo.com>
8774
8775         * gst/gstelement.c: (gst_element_add_pad):
8776         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8777         * gst/gstpad.c: (gst_pad_init):
8778         Set pads to FLUSHING when they are created. Check, warn and fix when a
8779         demuxer adds an inactive pad to itself when running. Fixes #339326.
8780
8781 2006-12-15  Wim Taymans  <wim@fluendo.com>
8782
8783         * gst/gstelement.c: (gst_element_class_init),
8784         (gst_element_default_send_event), (gst_element_send_event),
8785         (gst_element_default_query), (gst_element_query):
8786         Expose default element send_event and query handling as vmethods that
8787         subclasses can chain up to.
8788
8789 2006-12-15  Wim Taymans  <wim@fluendo.com>
8790
8791         * gst/gstelement.c: (gst_element_set_state_func):
8792         Small documentation fixes.
8793
8794 2006-12-15  Wim Taymans  <wim@fluendo.com>
8795
8796         * docs/design/draft-latency.txt:
8797         Checked in draft for handling latency in pipelines.
8798
8799 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8800
8801         * Makefile.am:
8802         * gstreamer.doap:
8803         * gstreamer.spec.in:
8804           adding .doap file
8805
8806 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
8807
8808         * gst/gst.c: (init_pre), (init_post):
8809           init_pre() and init_post() might be called via our GOptionGroup or
8810           from gst_init(), and we should skip both of them if we've already
8811           been initialised, otherwise we will init some things twice or add
8812           two default log functions.
8813
8814 2006-12-13  Edward Hervey  <edward@fluendo.com>
8815
8816         * docs/manual/basics-bus.xml:
8817         No, gst_main_loop does not exist. Its g_main_loop.
8818         Discovered by somebody who abused the copy-paste technique of coding :)
8819
8820 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
8821
8822         * gst/gstghostpad.c:
8823           Log ghostpad debug stuff to the GST_PADS category as well rather
8824           than just to the default category.
8825
8826 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
8827
8828         * configure.ac:
8829         * gst/gst.c: (init_pre):
8830           Add some basic system details such as OS and architecture
8831           to the debug output if possible, courtesy of uname().
8832
8833 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
8834
8835         * docs/gst/running.xml:
8836           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8837           environment variables.
8838
8839 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8840
8841         * tests/check/gst/gstbin.c: (GST_START_TEST):
8842         It is acceptable to have a refcount of 2 or 3 at this point in the
8843         test, because the pipeline might be just posting its state_change
8844         message. The next line then waits for that message to appear using
8845         bus_poll, so that should be fine too.
8846
8847 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8848
8849         * gst/gst.c: (ensure_current_registry_forking):
8850         Ignore EINTR when reading from the child registry pipe.
8851         Explicitly ignore the return value from close, since it makes no
8852         difference.
8853
8854         * gst/gstminiobject.c: (gst_mini_object_ref),
8855         (gst_mini_object_unref):
8856         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8857
8858         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8859         When removing cached plugins, remove their features too, so they're
8860         not visible after they've disappeared.
8861
8862         * gst/gstutils.c: (prepare_link_maybe_ghosting):
8863         In the unlikely case that we are linking pads with no parents, don't
8864         crash trying to get the non-existent parent bin.
8865
8866         * gst/parse/grammar.y:
8867         Output debug in the PIPELINE category
8868
8869 2005-03-08  Wim Taymans  <wim@fluendo.com>
8870
8871         Patch by: René Stadler <mail at renestadler dot de>
8872
8873         * gst/gstclock.c: (gst_clock_new_periodic_id):
8874         Reject invalid clock times for interval of periodic ids.
8875         Fixes ##383506.
8876
8877 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8878
8879         * gst/gstelementfactory.c: (gst_element_factory_create):
8880         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8881         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8882         * tools/gst-inspect.c: (print_element_info):
8883         Fix refcounting of gst_plugin_feature_load to match the docs. 
8884         Fixes: #380129
8885
8886 2006-12-07  Wim Taymans  <wim@fluendo.com>
8887
8888         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8889         (gst_base_sink_get_position):
8890         Improve debugging of events.
8891
8892 2006-12-07  Wim Taymans  <wim@fluendo.com>
8893
8894         Patch by: René Stadler <mail at renestadler dot de>
8895
8896         * gst/gstclock.c: (gst_clock_id_wait):
8897         Make period ids add the interval to the origial requested time instead
8898         of the possibly updated time which can be wrong when there are multiple
8899         waiters for the same id. Fixes #382592.
8900
8901         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8902         (gst_system_clock_id_wait_jitter_unlocked),
8903         (gst_system_clock_id_wait_jitter):
8904         Fix restart in the async notify thread when an async entry is added to
8905         the front of the list. Fixes #381492. 
8906
8907         * tests/check/gst/gstsystemclock.c: (store_callback),
8908         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8909         Added test for multiple async waits.
8910         Added test for async wait order.
8911
8912 2006-12-07  Wim Taymans  <wim@fluendo.com>
8913
8914         * gst/gstbin.c: (gst_bin_query):
8915         Add some more docs about the POSITION query.
8916
8917 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8918
8919         * configure.ac:
8920         Bump version nano - back to CVS.
8921
8922 === release 0.10.11 ===
8923
8924 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
8925
8926         * configure.ac:
8927           releasing 0.10.11, "Love never runs on time"
8928
8929 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
8930
8931         * win32/common/libgstbase.def:
8932         * win32/common/libgstreamer.def:
8933         * win32/vs8/libgstbase.vcproj:
8934         * win32/vs8/libgstcoreelements.vcproj:
8935         * win32/vs8/libgstreamer.vcproj:
8936         Fix compilation on win32 under VS8
8937         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8938         Partially fixes #381175
8939
8940 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8941
8942         * gst/gstvalue.c: (gst_value_compare_fraction):
8943         If someone is foolish enough to compare 2 fractions with denominator =
8944         0, return UNORDERED rather than aborting.
8945
8946 2006-11-28  Edward Hervey  <edward@fluendo.com>
8947
8948         * libs/gst/base/Makefile.am:
8949         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8950         (gst_data_queue_base_init), (gst_data_queue_class_init),
8951         (gst_data_queue_init), (gst_data_queue_new),
8952         (gst_data_queue_cleanup), (gst_data_queue_finalize),
8953         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8954         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8955         (gst_data_queue_is_empty), (gst_data_queue_is_full),
8956         (gst_data_queue_set_flushing), (gst_data_queue_push),
8957         (gst_data_queue_pop), (gst_data_queue_drop_head),
8958         (gst_data_queue_set_property), (gst_data_queue_get_property):
8959         * libs/gst/base/gstdataqueue.h:
8960         New GstDataQueue object for threadsafe queueing. Most useful for
8961         elements that need some queueing functionnality.
8962         * docs/libs/gstreamer-libs-docs.sgml:
8963         * docs/libs/gstreamer-libs-sections.txt:
8964         Insert documentation for GstDataQueue
8965         * plugins/elements/Makefile.am:
8966         * plugins/elements/gstelements.c:
8967         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
8968         (gst_multi_queue_class_init), (gst_multi_queue_init),
8969         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8970         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
8971         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
8972         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8973         (gst_multi_queue_loop), (gst_multi_queue_chain),
8974         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8975         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
8976         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
8977         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
8978         (wake_up_next_non_linked), (compute_next_non_linked),
8979         (single_queue_overrun_cb), (single_queue_underrun_cb),
8980         (single_queue_check_full), (gst_single_queue_new):
8981         * plugins/elements/gstmultiqueue.h:
8982         New multiqueue element, using GstDataQueue. Used for queuing multiple
8983         streams.
8984         Closes #344639 and #347785
8985
8986 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
8987
8988         * docs/pwg/advanced-types.xml:
8989           add more missing type details
8990
8991         * tools/gst-run.c: (main):
8992           remove unused variable
8993
8994 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
8995
8996         * docs/libs/Makefile.am:
8997         * docs/libs/gstreamer-libs.types:
8998           add types of base classes to enable gobject specific stuff in the docs
8999
9000         * docs/random/ensonic/embedded.txt:
9001           more ideas about isolating platform specific things
9002
9003 2006-11-20  Wim Taymans  <wim@fluendo.com>
9004
9005         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9006
9007         * libs/gst/check/gstcheck.h:
9008         Fix compilation and running against 0.9.4. Fixes #377332.
9009
9010 2006-11-20  Wim Taymans  <wim@fluendo.com>
9011
9012         * gst/gstsegment.c: (gst_segment_set_seek),
9013         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9014         (gst_segment_to_running_time):
9015         Fix boundary checking in to_running_time() and to_stream_time().
9016         Fixes #377183.
9017
9018         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9019         stream and running time can now be calculated for the complete
9020         clipped segment.
9021
9022 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
9023
9024         * gst/gstpad.c: (gst_pad_push_event):
9025           Can't access event structure after giving away ownership of
9026           the event.
9027
9028 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
9029
9030         * docs/random/ensonic/embedded.txt:
9031         * docs/random/ensonic/profiling.txt:
9032         * docs/random/ensonic/receipies.txt:
9033           more thinking
9034
9035 2006-11-13  Wim Taymans  <wim@fluendo.com>
9036
9037         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9038
9039         * gst/gstpad.c:
9040         Fix documentation for gst_pad_dispatcher. Fixes #374475.
9041
9042 2006-11-13  Wim Taymans  <wim@fluendo.com>
9043
9044         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9045
9046         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9047         Store new length in segment duration so we don't keep on calling the
9048         potentially expensize get_size() call. Fixes #370865.
9049
9050 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
9051
9052         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
9053
9054         * win32/common/libgstreamer.def:
9055           Add two missing symbols (#366492).
9056
9057 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
9058
9059         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9060         (gst_adapter_take_buffer):
9061         Fix format string to use all its arguments.
9062         Remove useless >= check on a guint
9063
9064 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9065
9066         * tests/examples/adapter/.cvsignore:
9067         Ignore build file as commanded by the build-bot
9068
9069 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9070
9071         * tests/examples/adapter/Makefile.am:
9072         * tests/examples/adapter/adapter_test.c: (run_test_take),
9073         (run_test_take_buffer), (run_tests), (main):
9074
9075         Add new files from the previous commit
9076
9077 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
9078
9079         * Makefile.am:
9080         * configure.ac:
9081         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9082         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9083         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9084         * libs/gst/base/gstadapter.h:
9085         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9086         (GST_START_TEST), (gst_adapter_suite):
9087         * tests/examples/Makefile.am:
9088         Do some optimisation work in GstAdapter to avoid copies in more cases.
9089         It could still do slightly better by merging buffers when
9090         gst_buffer_is_span_fast is true, but is already faster. 
9091
9092         Also, avoid traversing a single-linked list to append each incoming 
9093         buffer inside the adapter.
9094
9095         Add simple test app that times the adapter behaviour in different
9096         situations, and extend the unit test to check that bytes enter and
9097         exit the adapter in their original order.
9098
9099 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9100
9101         * docs/random/draft-missing-plugins.txt:
9102           Update: use element message instead of adding a new message
9103           type to the core; don't provide GStreamer API to initiate the
9104           plugin download, just provide API to compose the strings needed
9105           and let an external libgimmestuff handle the rest.
9106
9107 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9108
9109         * tools/gst-inspect.c: (print_element_properties_info):
9110         Print a string instead of 'unknown type' for GValueArray properties
9111
9112 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9113
9114         * docs/random/draft-missing-plugins.txt:
9115         More small fixes.
9116
9117 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9118
9119         * tests/examples/typefind/typefind.c: (type_found), (main):
9120           Make typefind element example work again (#371894); add a
9121           license header.
9122
9123 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9124
9125         * docs/random/draft-missing-plugins.txt:
9126           Commit initial draft about how to deal with missing plugins,
9127           needs work (API too).
9128
9129 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9130
9131         * docs/pwg/advanced-types.xml:
9132           documents the new caps elements (see #363118)
9133
9134 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9135
9136         * gst/gstplugin.c: (gst_plugin_load_file):
9137         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9138         (gst_file_src_map_region), (gst_file_src_start):
9139         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9140         (gst_file_index_commit):
9141           Use g_strerror() instead of strerror() - we want UTF-8.
9142
9143 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9144
9145         Patch by: Peter Kjellerstedt <pkj at axis com>
9146
9147         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9148           Another printf fix (#371493).
9149
9150 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9151
9152         * tests/check/gst/gsttag.c:
9153           relicence (okay with author=company)
9154
9155 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9156
9157         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9158         (gst_pad_push_event):
9159           Enhance debug and improve docs
9160         
9161         * gst/gsturi.c:
9162           Fix docs
9163
9164 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9165
9166         * docs/random/ensonic/distributed.txt:
9167         * docs/random/ensonic/profiling.txt:
9168           more ideas
9169
9170 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9171
9172         * docs/gst/gstreamer-sections.txt:
9173           add new API and fix the build
9174           
9175         * gst/gstbin.c: (gst_bin_recalc_state):
9176         * gst/gstelement.c: (gst_element_message_full),
9177         (gst_element_get_state_func), (gst_element_set_state_func):
9178           use new API and improve logging
9179         
9180         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9181         * gst/gstutils.h:
9182           API: add function to get StateChangereturn names to improve logs 
9183
9184 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9185
9186         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9187           I'm considering shooting the next person to put strerror stuff
9188           in the translateable part of the message.
9189
9190 2006-11-03  Wim Taymans  <wim@fluendo.com>
9191
9192         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9193         Get the type and printf conversion specifiers right.
9194
9195 2006-11-03  Wim Taymans  <wim@fluendo.com>
9196
9197         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9198
9199         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9200         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9201         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9202         Some small cleanups. Improve debugging.
9203         * gst/gstpad.h:
9204         Signal all waiting threads with a broadcast instead of just one.
9205         Fixes #369942.
9206
9207 2006-11-03  Wim Taymans  <wim@fluendo.com>
9208
9209         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9210         (gst_fd_src_create):
9211         Add some debugging. 
9212         Only update fd when it's different from the old.
9213
9214 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9215
9216         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9217           Printf fixes for PPC/OSX, take two (#369366).
9218
9219 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9220
9221         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9222
9223         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9224         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9225         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9226           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9227           don't cast to long long for portability reasons, but use
9228           GLib's types instead.
9229
9230 2006-10-30  Michael Smith  <msmith@fluendo.com>
9231
9232         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9233           Get the arguments to lseek() the right way around.
9234           Fixes 367677.
9235
9236 2006-10-30  Wim Taymans  <wim@fluendo.com>
9237
9238         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9239
9240         * gst/gstinfo.h:
9241         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9242
9243 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9244
9245         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9246
9247         * docs/design/part-MT-refcounting.txt:
9248         * docs/random/wtay/capsnego2-docs:
9249         * gst/gstclock.c:
9250         * gst/gstxml.c:
9251           Typo fixes (#366212).
9252
9253 2006-10-28  Wim Taymans  <wim@fluendo.com>
9254
9255         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9256
9257         * gst/gst.c:
9258         * win32/common/libgstbase.def:
9259         * win32/common/libgstreamer.def:
9260         * win32/vs8/libgstbase.vcproj:
9261         * win32/vs8/libgstcontroller.vcproj:
9262         Add needed entries in .def files.
9263         Use HAVE_UNISTD_H.
9264         Rearrange def files in vs8 solutions. Fixes #366286.
9265
9266 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9267
9268         * win32/common/gstconfig.h:
9269           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9270           hand-made win32 gstconfig.h. Fixes #366321.
9271
9272 2006-10-27  Wim Taymans  <wim@fluendo.com>
9273
9274         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9275         (gst_ghost_pad_new_full):
9276         Make acceptcaps return TRUE when we don't have a target, just like
9277         setcaps does.
9278
9279 2006-10-27  Wim Taymans  <wim@fluendo.com>
9280
9281         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9282         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9283
9284 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9285
9286         * gst/gststructure.c: (gst_structure_id_set_value):
9287           If someone tries to set a non-UTF8 string field on a structure,
9288           don't just print a warning, but also ignore the request and do
9289           not change/add that field to the structure.
9290
9291         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9292           Test for the above.
9293
9294 2006-10-25  David Schleef  <ds@schleef.org>
9295
9296         * gst/gstinfo.c:
9297           g_hash_table_insert() needs a cast to a non-const pointer duh.
9298
9299 2006-10-25  David Schleef  <ds@schleef.org>
9300
9301         * gst/gstinfo.c:
9302         * gst/gstinfo.h:
9303           Change name parameter of _gst_debug_register_funcptr to const
9304           to reflect the constness of its use in the function as well
9305           as to quiet a gcc warning.
9306
9307 2006-10-25  Edward Hervey  <edward@fluendo.com>
9308
9309         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9310         Don't push the buffer if it's empty.
9311         Closes #363095
9312
9313 2006-10-24  Wim Taymans  <wim@fluendo.com>
9314
9315         * gst/gstevent.h:
9316         Add small comment.
9317
9318         * libs/gst/base/gstbasetransform.c:
9319         (gst_base_transform_sink_eventfunc):
9320         Debug segment values *after* updating them as this is more
9321         interesting.
9322
9323 2006-10-23  Wim Taymans  <wim@fluendo.com>
9324
9325         * docs/design/part-events.txt:
9326         Update some docs.
9327
9328         * docs/design/part-block.txt:
9329         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9330         (gst_pad_push_event):
9331         Revert BLOCKING patch, it tries to be smart without really having a
9332         clear idea what or how. So, now we discard all FLUSHING events again on
9333         a blocking pad. Should fix gnonlin again.
9334
9335 2006-10-23  Wim Taymans  <wim@fluendo.com>
9336
9337         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9338
9339         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9340         (gst_base_src_start), (gst_base_src_activate_push):
9341         Make sure size is always initialized. Fixes #364388.
9342
9343 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9344
9345         * docs/random/ensonic/distributed.txt:
9346           add some ideas about doing distributed processing
9347
9348         * docs/random/ensonic/profiling.txt:
9349           get_rusage look promising
9350
9351 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9352
9353         * docs/manual/basics-helloworld.xml:
9354           Add a cast in example to fix compile warning
9355
9356 2006-10-18  Wim Taymans  <wim@fluendo.com>
9357
9358         * gst/gstsegment.c: (gst_segment_set_last_stop),
9359         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9360         Relax arg checking again, -1 is allowed.
9361
9362 2006-10-18  Wim Taymans  <wim@fluendo.com>
9363
9364         * gst/gstsegment.c: (gst_segment_set_last_stop),
9365         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9366         _set_last_stop() must be with a value != -1
9367         A _TYPE_SET to -1 means seek to 0.
9368         Calc last_stop correctly for negative rates.
9369         Make sure we work with positive durations when updating a segment.
9370
9371 2006-10-18  Wim Taymans  <wim@fluendo.com>
9372
9373         * docs/design/part-live-source.txt:
9374         * gst/gstclock.h:
9375         Small docs fixes.
9376
9377 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9378
9379         * gst/gstbuffer.h:
9380           Add an explicit cast to GstBuffer** to keep old code that added an
9381           explicit cast to GstMiniObject** for gst_mini_object_replace()
9382           compiling without warning.
9383
9384 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9385
9386         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9387           check for validity of dates
9388
9389 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9390
9391         * docs/gst/gstreamer-sections.txt:
9392           Forgot this one, makes gtk-doc shut up.
9393
9394 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9395
9396         Patch by: Peter Kjellerstedt <pkj at axis com>
9397
9398         * gst/gstobject.h:
9399           Don't define xmlNodePtr to gpointer if the core was built with
9400           --disable-loadsave and --disable-registry, this will break
9401           applications that want to use libxml2 but are buildling against a
9402           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9403           instead so we don't have to mess with the libxml2 namespace
9404           (#361675).
9405
9406 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9407
9408         * gst/gstbuffer.h:
9409           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9410           type-punned pointer warnings.
9411
9412 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9413
9414         * gst/gstelement.h:
9415           Add casts to the correct return type to state <=> state transition
9416           macros.
9417
9418 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9419
9420         * docs/design/part-live-source.txt:
9421           describe howto handle latency
9422         
9423         * docs/random/ensonic/profiling.txt:
9424           more ideas
9425
9426         * tools/gst-plot-timeline.py:
9427           fix log parsing for solaris, remove unused function
9428
9429 2006-10-16  Wim Taymans  <wim@fluendo.com>
9430
9431         * docs/design/part-trickmodes.txt:
9432         * gst/gstevent.c:
9433         Update some docs regarding reverse playback.
9434
9435 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9436
9437         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9438
9439         * win32/vs8/grammar.vcproj:
9440           Error out with a warning if glib-genmarshal.exe is not in path,
9441           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9442
9443 2006-10-13  Wim Taymans  <wim@fluendo.com>
9444
9445         * gst/gstsegment.c: (gst_segment_set_seek):
9446         When seeking to stop -1, set last_stop (current position) to the
9447         duration of the segment.
9448
9449 2006-10-13  Wim Taymans  <wim@fluendo.com>
9450
9451         * gst/gstelement.h:
9452         Clarify _NO_PREROLL a bit more.
9453
9454         * gst/gstevent.c:
9455         Fix docs.
9456
9457         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9458         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9459         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9460         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9461         due to wrong locking order. Fixes #361769.
9462         Remove some redundant/misplaced checks in pad_block.
9463
9464         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9465         For negative rates, count backwards from the duration.
9466
9467 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9468
9469         * gst/gsterror.c: (_gst_library_errors_init):
9470           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9471           up with something better).
9472
9473 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9474
9475         * win32/vs6/libgstreamer.dsp:
9476         * win32/vs7/libgstreamer.vcproj:
9477         * win32/vs8/libgstreamer.vcproj:
9478           Don't reference glib-compat.c which is currently not used and not
9479           disted; add gstquark.c which was recently added. Fixes #361730.
9480
9481 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9482
9483         * win32/common/libgstbase.def:
9484         * win32/common/libgstcontroller.def:
9485         * win32/common/libgstreamer.def:
9486           Add gst_caps_merge() and a bunch of other recently-added functions.
9487           Fixes #361732.
9488
9489 2006-10-11  Wim Taymans  <wim@fluendo.com>
9490
9491         * docs/plugins/gstreamer-plugins.args:
9492         * docs/plugins/inspect/plugin-coreelements.xml:
9493         * docs/plugins/inspect/plugin-coreindexers.xml:
9494         Update element args.
9495
9496         * gst/gstsystemclock.c:
9497         Small comment update.
9498
9499         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9500         (gst_tee_request_new_pad), (gst_tee_release_pad),
9501         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9502         (gst_tee_sink_activate_pull):
9503         * plugins/elements/gsttee.h:
9504         Some tee loving:
9505         Add default property defines.
9506         Implement release pad function.
9507         Give properties better blubs etc.
9508         Activate pads before adding them to a running tee.
9509         Do simple buffer_alloc on the first requested pad.
9510         Post error when activation fails.
9511
9512 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9513
9514         * gst/gst.c: (ensure_current_registry_forking):
9515           Check return value of write() to make compiler happy.
9516
9517 2006-10-11  Wim Taymans  <wim@fluendo.com>
9518
9519         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9520
9521         * plugins/elements/gstqueue.c: (gst_queue_chain):
9522         Recheck queue filledness after signalling the overrun when we're about
9523         to leak downstream because we released the lock when emitting the signal
9524         and the queue could be empty again. Fixes #352345.
9525
9526 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9527
9528         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9529           Fix refcounting here too, just like we did for _new_valist() a few
9530           days ago (#357180) (thanks to René Stadler). Also remove all those
9531           'Since: 0.9' from the gtk-doc blobs.
9532
9533         * tests/check/libs/controller.c: (controller_refcount_new_list),
9534         (gst_controller_suite):
9535           Unit test for the above.
9536
9537 2006-10-10  Wim Taymans  <wim@fluendo.com>
9538
9539         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9540
9541         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9542         (gst_pad_save_thyself):
9543         Update some docs.
9544         Write pad direction in XML output. Fixes #345496.
9545
9546 2006-10-10  Wim Taymans  <wim@fluendo.com>
9547
9548         Patch by: René Stadler <mail at renestadler dot de>
9549
9550         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9551         (gst_controller_new_list), (_gst_controller_dispose),
9552         (_gst_controller_finalize), (_gst_controller_class_init):
9553         Take ref to controlled object so that it cannot disappear. 
9554         Fixes #357432.
9555
9556 2006-10-10  Wim Taymans  <wim@fluendo.com>
9557
9558         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9559         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9560         (gst_check_teardown_sink_pad):
9561         Activate/deactivate pads in setup/teardown respectively.
9562
9563 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9564
9565         Patch by: Josep Torra Valles <josep@fluendo.com>
9566
9567         * gst/Makefile.am:
9568         Cast values when making gstenumtypes.h.  This pacifies Forte
9569         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9570         in the enumeration.
9571
9572 2006-10-09  Wim Taymans  <wim@fluendo.com>
9573
9574         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9575         Rename some more @cur to @start to fix docs. 
9576
9577         * gst/gstsegment.c: (gst_segment_set_seek):
9578         Fix typo.
9579         time and start must always stay in sync as defined in design doc.
9580
9581         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9582         Rename param to fix docs.
9583
9584         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9585         Check that start and time are in sync.
9586
9587         * tests/check/pipelines/parse-launch.c:
9588         (gst_parse_test_element_change_state):
9589         Activate pad before adding to the element.
9590
9591 2006-10-09  Wim Taymans  <wim@fluendo.com>
9592
9593         * docs/design/part-qos.txt:
9594         Fix typo.
9595
9596         * gst/gstevent.c:
9597         * gst/gstevent.h:
9598         Update seek event docs regarding negative rates.
9599         Rename @cur to @start. 
9600
9601         * gst/gstsegment.c: (gst_segment_set_seek):
9602         * gst/gstsegment.h:
9603         Update set_seek docs regarding negative rates.
9604         Correctly update last_stop to @stop when dealing with negative
9605         rates.
9606         Rename @cur to @start. 
9607
9608         * tests/check/gst/gstpad.c: (GST_START_TEST):
9609         Activate pads before trying to use them.
9610
9611         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9612         (gst_segment_suite):
9613         Add simple check for segments and negative rates.
9614
9615 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9616
9617         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9618         * gst/gsttaglist.h:
9619         * docs/gst/gstreamer-sections.txt:
9620           API: add gst_tag_list_is_empty() (#360467).
9621
9622         * tests/check/gst/gsttag.c: (GST_START_TEST):
9623           And a test case.
9624
9625 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9626
9627         * gst/gstmessage.h:
9628         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9629         a value that doesn't fit on enumeration.
9630
9631 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9632
9633         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9634         Remove local debugging system and use Gstreamer's instead.
9635
9636 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9637
9638         Patch by: Josep Torra Valles <josep@fluendo.com>
9639
9640         * common/m4/gst-error.m4:
9641         Disable warning of statement not reached on Forte.
9642         * gst/gstmessage.h:
9643         Fix warning on Forte (value doesn't fit on enumeration).
9644         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9645         Fix warning on Forte (value doesn't fit on enumeration).
9646         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9647         DEBUG macro says it takes minimum of 2 args and so Forte
9648         complains about the use with just 1 arg.
9649         * plugins/elements/gstfdsink.c:
9650         * plugins/elements/gstfdsrc.c:
9651         * plugins/elements/gstfilesink.c:
9652         * plugins/elements/gstfilesrc.c:
9653         Use correct return type for the uri handler implementations.
9654
9655         All these fix warnings in Forte.  Fixes bug #360860.
9656
9657 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9658
9659         * gst/gstelement.h:
9660           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9661           format string, so don't use G_GNUC_PRINTF for those versions.
9662
9663 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9664
9665         * gst/gsttaglist.c: (gst_is_tag_list):
9666         * gst/gsttaglist.h:
9667           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9668
9669         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9670           Small test for the above.
9671
9672 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9673
9674         * gst/gsttaglist.h:
9675           Less tabs, more spaces.
9676
9677 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
9678
9679         * gst/gstinfo.h:
9680           Those two function declarations do actually belong there, revert
9681           commit from yesterday that turned them intro macros.
9682
9683 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9684
9685         Patch by: Josep Torra Valles <josep@fluendo.com>
9686
9687         * gst/gst.c: (gst_init_get_option_group):
9688         Fix empty declaration and type mismatch.
9689         * gst/gstbin.c: (gst_bin_change_state_func):
9690         Fix type mismatch.
9691         * gst/gstelement.c: (gst_element_continue_state),
9692         (gst_element_set_state_func), (gst_element_change_state),
9693         (gst_element_change_state_func):
9694         Fix type mismatches.
9695         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9696         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9697         Cast as appropriate.
9698         * gst/gstobject.c: (gst_class_signal_connect):
9699         Cast as appropriate.  The function pointer parameter really
9700         has the wrong type but would break API if we change it.
9701         * gst/gstquery.c:
9702         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9703         order of including string.h.
9704         * gst/gstutils.c: (gst_element_state_get_name):
9705         Remove unreachable line.
9706         * gst/gstxml.c: (gst_xml_parse_doc):
9707         Fix type mismatch.
9708         All these caught by Forte.
9709
9710 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9711
9712         Patch by: Josep Torra Valles <josep@fluendo.com>
9713
9714         * common/m4/gst-error.m4:
9715         Fixed bug #360151.
9716         We need to disable warnings on Forte for empty declarations
9717         due to gst-indent adding ;s to lines that just use macros
9718         where the macro actually doesn't need a ; at end to end
9719         statement.
9720
9721 2006-10-06  Wim Taymans  <wim@fluendo.com>
9722
9723         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9724         (gst_file_sink_close_file), (gst_file_sink_event),
9725         (gst_file_sink_render):
9726         Add some FIXME for the NEWSEGMENT handling.
9727
9728 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9729
9730         * gst/parse/grammar.y:
9731         Remove static function gst_parse_element_lock as all it does
9732         is return.  Looks like cruft from 0.8.
9733
9734 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9735
9736         Patch by: Josep Torra Valles <josep@fluendo.com>
9737
9738         * common/m4/gst-error.m4:
9739         * configure.ac:
9740         * libs/gst/net/Makefile.am:
9741         Fix a compilation issue with Forte on Solaris.  inet_aton is in
9742         libresolv.
9743
9744 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9745
9746         * gst/gstpad.c: (pre_activate):
9747         * gst/gstregistry.c: (gst_registry_scan_path_level):
9748         * gst/gstregistryxml.c: (load_plugin):
9749         * libs/gst/controller/gstcontroller.c:
9750         (gst_controlled_property_set_interpolation_mode):
9751         * libs/gst/dataprotocol/dataprotocol.c:
9752         (gst_dp_packet_from_event_1_0):
9753         * libs/gst/net/gstnetclientclock.c:
9754         (gst_net_client_clock_observe_times):
9755         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9756           Printf fixes.
9757
9758 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9759
9760         * configure.ac:
9761         * docs/gst/gstreamer-sections.txt:
9762         * gst/gstconfig.h.in:
9763         * gst/gstelement.h:
9764         * gst/gstinfo.h:
9765           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9766           whether we can use G_GNUC_PRINTF in other header files and at
9767           least check the printf format/arguments of debug messages and
9768           GST_ELEMENT_ERROR messages when the printf extension is not
9769           being used.
9770           Replace more tabs with spaces in gstinfo.h and remove two spurious
9771           function declarations in GST_DISABLE_DEBUG part with macros.
9772
9773 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
9774
9775         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9776           More docs for the sync-message signal (mention that it is not
9777           emitted by default); log message structures of messages posted on
9778           the bus as well.
9779
9780 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
9781
9782         * gst/gst.c: (ensure_current_registry_forking):
9783         Use a pipe pair to receive status results from the forked child, and
9784         ignore the result from waitpid. Fixes #355499
9785
9786 2006-10-02  Wim Taymans  <wim@fluendo.com>
9787
9788         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9789         (gst_ghost_pad_suite):
9790         Fix leak in check.
9791
9792 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9793
9794         * gst/gstpad.c:
9795           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9796
9797 2006-10-02  Edward Hervey  <edward@fluendo.com>
9798
9799         * docs/design/part-block.txt:
9800         Further explain the use of flushing on blocked pads.
9801         * docs/gst/gstreamer-sections.txt:
9802         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9803         (gst_pad_push_event):
9804         * gst/gstpad.h:
9805         Added new GstPadFlag : GST_PAD_BLOCKING.
9806         Adds the notion of pads really blocking, which enables to properly
9807         handle FLUSH_START/FLUSH_STOP events on blocked pads.
9808         Fixes #358999
9809         API: gst_pad_is_blocking()
9810         API: GST_PAD_IS_BLOCKING() macro
9811         API: GST_PAD_BLOCKING GstPadFlag
9812         
9813 2006-10-02  Wim Taymans  <wim@fluendo.com>
9814
9815         Patch by: mrcgran <mrc.gran at gmail dot com>
9816
9817         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9818         Filter the proxied caps against the padtemplate if we have one.
9819
9820         * gst/gstquery.c: (gst_query_new_segment):
9821         Add include for gstinfo.h so that compilation with
9822         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9823
9824 2006-10-02  Wim Taymans  <wim@fluendo.com>
9825
9826         Patch by: Alessandro Decina  <alessandro at nnva org>
9827
9828         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9829         (gst_file_sink_set_location), (gst_file_sink_open_file),
9830         (gst_file_sink_close_file), (gst_file_sink_event),
9831         (gst_file_sink_render):
9832         Set file to NULL when closing filesink so that we can set a new filename
9833         in READY. Fixes #358613.
9834
9835 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9836
9837         Patch by: Alessandro Decina  <alessandro at nnva org>
9838
9839         * gst/gstevent.c: (_gst_event_copy):
9840           Fix gst_mini_object_make_writable() and gst_event_copy() for events
9841           with event structures by setting the parent refcount address of the
9842           copied structure to the address of the refcount member of the newly
9843           copied event rather than the address of the refcount member of the
9844           original event. Fixes #358737.
9845
9846         * tests/check/gst/gstevent.c: (GST_START_TEST):
9847           Unit test for the above.
9848
9849 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
9850
9851         * docs/design/Makefile.am:
9852           Dist some more files.
9853
9854 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9855
9856         * tests/check/libs/controller.c: (GST_START_TEST),
9857         (gst_controller_suite):
9858           Add test for the previous fix; add some more tests
9859           for correct refcounting behaviour; fix a few leaks
9860           in test cases; call gst_controller_init() at start
9861           of all tests.
9862
9863 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9864
9865         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9866         (gst_controller_set_from_list):
9867           Don't g_return_val_if_fail() on timed values with invalid timestamps
9868           inside a critical section without unlocking the mutex. Spotted by
9869           René Stadler. (#357617)
9870           Also, fix up refcounting properly: when returning an existing
9871           controller, we should increase the reference only once and not
9872           once per property and when trying to control a property again
9873           we should also increase the refcount.
9874
9875 2006-09-29  Wim Taymans  <wim@fluendo.com>
9876
9877         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9878         * libs/gst/net/gstnettimeprovider.c:
9879         (gst_net_time_provider_thread):
9880         Stop reading commands when EOF as well.
9881
9882         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9883         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9884         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9885         Unify description of the dump property.
9886
9887 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9888
9889         * tests/examples/manual/.cvsignore:
9890         OK, so it's actually cvsignore that needs changing. Stop laughing.
9891
9892 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9893
9894         * tests/examples/manual/Makefile.am:
9895         Gah, declare vars *before* using them
9896
9897 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9898
9899         * gst/gst.c: (init_pre), (scan_and_update_registry),
9900         (ensure_current_registry_nonforking),
9901         (ensure_current_registry_forking), (ensure_current_registry),
9902         (init_post), (gst_debug_help), (gst_deinit):
9903         * gst/gst_private.h:
9904         * gst/gstregistry.c: (gst_registry_finalize),
9905         (gst_registry_remove_features_for_plugin_unlocked),
9906         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9907         (gst_registry_scan_path),
9908         (_priv_gst_registry_remove_cache_plugins),
9909         (_priv_gst_registry_cleanup):
9910         * gst/gstregistry.h:
9911         Re-commit the registry changes, along with an extra fix:
9912           When a cached plugin is encountered at a different file path,
9913           update the stored path in the registry cache so that the parent
9914           process knows where it actually is now when it re-reads the registry
9915           cache. Fixes the thing that broke distcheck with the previous commit.
9916
9917         * tests/check/Makefile.am:
9918         Clean up files named 'core' too when running make clean.
9919
9920         * tests/examples/manual/Makefile.am:
9921         Set up a registry path for running these tests, and clean it properly
9922         for distcheck.
9923
9924 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9925
9926         * configure.ac:
9927         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9928         want gmodule-no-export-2.0.pc instead so that we don't drag in
9929         --export-dynamic on every project that links to GStreamer.
9930
9931         Also, make our export regex only match the start of symbols, rather 
9932         than any symbol that contains '_gst' somewhere.
9933
9934         * libs/gst/check/Makefile.am:
9935         The libgstcheck we build does however need export-dynamic, as it
9936         produces some symbols that don't match our _gst... style regex.
9937         Fixes: #318031
9938
9939 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9940
9941         * gst/gst.c: (init_pre), (scan_and_update_registry),
9942         (ensure_current_registry_nonforking),
9943         (ensure_current_registry_forking), (ensure_current_registry),
9944         (init_post), (gst_debug_help), (gst_deinit):
9945         * gst/gst_private.h:
9946         * gst/gstregistry.c: (gst_registry_finalize),
9947         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9948         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9949         (_gst_registry_cleanup):
9950         * gst/gstregistry.h:
9951           Revert previous change until I figure out why it breaks distcheck.
9952
9953 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9954
9955         * gst/gst.c: (init_pre), (scan_and_update_registry),
9956         (ensure_current_registry_nonforking),
9957         (ensure_current_registry_forking), (ensure_current_registry),
9958         (init_post), (gst_debug_help), (gst_deinit):
9959
9960           Make init_pre and init_post take the full complement of GOptionFunc
9961           args so they can return useful GErrors. Make the registry updating
9962           functions do so.
9963
9964           Call _priv_gst_registry_remove_cache_plugins after scanning files to
9965           ensure that the registry we're about to write out doesn't contain
9966           stale information about old-deleted plugin files.
9967
9968           Make _priv_gst_registry_remove_cache_plugins return a boolean so
9969           that deletion of plugin files is considered a registry change.
9970
9971         * gst/gst_private.h:
9972         * gst/gstregistry.c: (gst_registry_finalize),
9973         (gst_registry_remove_features_for_plugin_unlocked),
9974         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9975         (gst_registry_scan_path),
9976         (_priv_gst_registry_remove_cache_plugins),
9977         (_priv_gst_registry_cleanup):
9978         * gst/gstregistry.h:
9979         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
9980         by adding _priv prefix, so that they won't appear in the global
9981         symbol table. They still do atm though because of #318031. Move the
9982         prototypes to gst_private.h
9983
9984         When removing a plugin, remove all features for that plugin too. 
9985         Fixes #340878.
9986
9987 2006-09-27  Wim Taymans  <wim@fluendo.com>
9988
9989         * docs/random/moving-plugins:
9990         Make it clear that the "compiled-in descriptions" really mean
9991         the element details.
9992
9993         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9994         (gst_base_sink_wait_preroll):
9995         Update docs.
9996
9997         * docs/libs/gstreamer-libs-sections.txt:
9998         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9999         (gst_base_src_get_range), (gst_base_src_activate_push):
10000         * libs/gst/base/gstbasesrc.h:
10001         Added function to block while waiting for PLAYING, this function
10002         is used by live sources that block on the clock.
10003         API: gst_base_src_wait_playing()
10004
10005 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10006
10007         Patch by: Peter Kjellerstedt <pkj at axis com>
10008
10009         * Makefile.am:
10010           gst-element-check.m4 is generated and should therefore be
10011           copied from the build dir rather than the source dir (#357593).
10012           'make distcheck' hasn't noticed this because we were disting
10013           the file as well, so stop doing that.
10014
10015 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10016
10017         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10018           Add some tests for gst_caps_intersect().
10019
10020         * tools/gst-launch.c: (event_loop):
10021           Print all buffering percentages we get, even the 100% one.
10022
10023 2006-09-26  Wim Taymans  <wim@fluendo.com>
10024
10025         * tools/gst-inspect.c: (print_element_properties_info),
10026         (print_signal_info):
10027         Fix printing of flags to match the look of enums.
10028
10029 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10030
10031         * gst/gstelementfactory.c:
10032           Fix typo in docs blurb.
10033
10034 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10035
10036         * gst/gsturi.c: (search_by_entry):
10037           Don't assert/crash here if a uri handler doesn't return any
10038           supported protocols. The list of protocols could be generated
10039           dynamically at runtime or at plugin registration, and an error
10040           in the underlying library shouldn't be fatal (#353301).
10041
10042 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
10043
10044         * gst/gstinfo.c:
10045           Fix warning if HAVE_PRINTF_EXTENSION is undefined
10046           (spotted by Peter Kjellerstedt).
10047
10048 2006-09-23  Wim Taymans  <wim@fluendo.com>
10049
10050         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10051
10052         * libs/gst/base/gstbasesrc.c:
10053         (gst_base_src_default_check_get_range), (gst_base_src_start),
10054         (gst_base_src_activate_push), (gst_base_src_activate_pull),
10055         (gst_base_src_change_state):
10056         Match _start/_stop calls in the activate functions. Remove redundant
10057         _stop call from the state change function. Fixes #356910.
10058         Turn failure DEBUG into ERROR. 
10059
10060 2006-09-22  Wim Taymans  <wim@fluendo.com>
10061
10062         * docs/design/part-buffering.txt:
10063         * gst/gstmessage.c: (gst_message_new_buffering),
10064         (gst_message_parse_buffering):
10065         Update docs about buffering.
10066
10067         * docs/design/part-trickmodes.txt:
10068         Fix typo.
10069
10070 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
10071
10072         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10073         (gst_controller_new_list):
10074           Ref instances when returning them again (fixes #357180)
10075
10076 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10077
10078         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10079           Don't forget to release proxy lock when there's an error.
10080
10081 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10082
10083         * gst/gstcaps.h:
10084           Add extra initialisers for Caps things, to fix some plugin warnings
10085           when using -Wextra
10086
10087 2006-09-18  Wim Taymans  <wim@fluendo.com>
10088
10089         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10090           Also set template on the internal pad so that a getcaps from the 
10091           target pad returns the template caps.
10092
10093 2006-09-18  Wim Taymans  <wim@fluendo.com>
10094
10095         * gst/gstelement.c: (gst_element_post_message),
10096         (gst_element_dispose):
10097         Use _DEBUG_OBJECT some more.
10098
10099         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10100         Avoid typechecks.
10101
10102         * tools/gst-launch.c: (main):
10103         If the toplevel element is not a GstPipeline, it must be put in a
10104         pipeline so that a bus and clock is selected.
10105
10106 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10107
10108         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10109           JITTER, RATE, and LATENCY query should be handled by the
10110           default case and not by the CONVERT query code.
10111
10112 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10113
10114         * gst/gstformat.c: (gst_format_register):
10115           Fix locking order (must take lock before using n_values).
10116
10117         * gst/gstvalue.c: (gst_value_serialize_enum),
10118         (gst_value_deserialize_enum_iter_cmp),
10119         (gst_value_deserialize_enum):
10120           Fix serialisation/deserialisation of custom registered GstFormats.
10121
10122         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10123           Unit test for custom format serialisation/deserialisation.
10124
10125 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10126
10127         * docs/pwg/building-boiler.xml:
10128         * plugins/elements/gstcapsfilter.c:
10129         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10130         section.
10131
10132 2006-09-16  Edward Hervey  <edward@fluendo.com>
10133
10134         * libs/gst/base/gstbasetransform.c:
10135         (gst_base_transform_buffer_alloc):
10136         Check if requested caps are the same as the sinks caps IF
10137         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10138         is FALSE.
10139         This fixes the renegotiation issues stated in #352827.
10140
10141 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10142
10143         * configure.ac:
10144         * docs/manual/advanced-autoplugging.xml:
10145         * tests/examples/Makefile.am:
10146         * tests/examples/manual/.cvsignore:
10147         * tests/examples/manual/Makefile.am:
10148         * tests/examples/manual/extract.pl:
10149           Extract the manual examples again like we used to do.
10150           Fix one of them.
10151
10152 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10153
10154         * win32/common/config.h:
10155           update for version
10156
10157 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10158
10159         * gst/gsterror.c:
10160           Documents how to receive errors.
10161
10162 2006-09-15  Wim Taymans  <wim@fluendo.com>
10163
10164         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10165         (event_loop), (main):
10166         Added some comments here and there.
10167         Post an application message when an interrupt is caught instead of doing
10168         an uncontrolled state change.
10169         Clean up the event loop.
10170         Handle buffering messages, pause/resume the pipeline.
10171         Make shutdown because of an interrupt more reliable.
10172
10173 2006-09-15  Wim Taymans  <wim@fluendo.com>
10174
10175         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10176         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10177         (gst_base_sink_preroll_object):
10178         Make sure that our internal state is correct when we commit our state
10179         asynchronously. This solves a race where a state change to PLAYING
10180         could cause the sink to remain blocked in preroll in some situations.
10181
10182 2006-09-15  Wim Taymans  <wim@fluendo.com>
10183
10184         * tools/gst-inspect.c: (print_element_properties_info),
10185         (print_signal_info):
10186         List flags as hex so it's easier to deal with.
10187
10188 2006-09-15  Wim Taymans  <wim@fluendo.com>
10189
10190         * docs/libs/gstreamer-libs-sections.txt:
10191         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10192         (gst_base_sink_do_sync):
10193         * libs/gst/base/gstbasesink.h:
10194         Expose logic to wait for preroll so that subclasses such as audiosink
10195         can also use this method.
10196         API: gst_base_sink_wait_preroll()
10197
10198 2006-09-15  Wim Taymans  <wim@fluendo.com>
10199
10200         * gst/gstobject.c: (gst_object_set_parent):
10201         * gst/gstpipeline.c: (do_pipeline_seek):
10202         Small cleanups in docs and code.
10203
10204         * gst/gstsegment.c: (gst_segment_clip):
10205         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10206         if stop == start and start is in the segment, no clipping should be
10207         done. Also add a test for this.
10208
10209 2006-09-15  Wim Taymans  <wim@fluendo.com>
10210
10211         * docs/design/part-buffering.txt:
10212         * docs/gst/gstreamer-sections.txt:
10213         * gst/gstmessage.c: (gst_message_new_buffering),
10214         (gst_message_parse_buffering):
10215         * gst/gstmessage.h:
10216         Added methods to create and parse BUFFERING messages.
10217         Added preliminary docs about buffering.
10218         API: gst_message_new_buffering
10219         API: gst_message_parse_buffering
10220
10221 2006-09-06  Wim Taymans  <wim@fluendo.com>
10222
10223         * gst/gstbin.c:
10224         Update documentation.
10225
10226         * gst/gstelement.c: (gst_element_class_init),
10227         (gst_element_release_request_pad), (gst_element_set_clock),
10228         (gst_element_get_index), (gst_element_add_pad),
10229         (gst_element_remove_pad), (gst_element_get_random_pad),
10230         (gst_element_send_event), (gst_element_get_query_types),
10231         (gst_element_query), (gst_element_post_message),
10232         (gst_element_message_full), (gst_element_continue_state),
10233         (gst_element_lost_state), (gst_element_save_thyself),
10234         (gst_element_restore_thyself):
10235         Documentation updates.
10236         Rename last bit of the new-pad -> pad-added signal rename.
10237         Fix the case where an element query would only work if the source
10238         pad was linked.
10239         Avoid some useless type checking in message handling.
10240
10241         * gst/gstevent.c:
10242         * gst/gstevent.h:
10243         * gst/gstutils.c:
10244         Documentation updates.
10245
10246 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10247
10248         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10249           add an INFO line for when we actually update the fd
10250
10251 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10252
10253         * configure.ac:
10254           back to TRUNK
10255
10256 === release 0.10.10 ===
10257
10258 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10259
10260         * configure.ac:
10261           releasing 0.10.10, "Pais"
10262
10263 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10264
10265         * docs/manual/advanced-position.xml:
10266           Fix typo in sample code.
10267
10268 2006-09-05  Wim Taymans  <wim@fluendo.com>
10269
10270         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10271         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10272         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10273         * libs/gst/net/gstnetclientclock.h:
10274         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10275         * libs/gst/net/gstnettimepacket.h:
10276         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10277         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10278         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10279         * libs/gst/net/gstnettimeprovider.h:
10280         Make stuff compile on windows. Fixes #345295.
10281
10282 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10283
10284         * gst/gst.c: (ensure_current_registry_forking):
10285           Print better details when child was terminated by signal.
10286
10287 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10288
10289         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10290           Print a warning rather than g_assert() if a plugin feature
10291           is a URI handler but returns no protocols (#353976).
10292
10293 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10294
10295         * docs/random/moving-plugins:
10296         Fix two typos.         
10297
10298 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10299
10300         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10301           Fix locking order, handle NULL function values properly.
10302
10303         * gst/gstinfo.h:
10304           Fix docs.
10305
10306         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10307           Initialise variable before using it and fix debug statement to
10308           print the address of the function rather than the address of the
10309           variable on the stack holding the address of the function.
10310
10311 2006-09-01  Wim Taymans  <wim@fluendo.com>
10312
10313         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10314         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10315         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10316         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10317         (gst_ghost_pad_parent_unset),
10318         (gst_ghost_pad_internal_do_activate_push),
10319         (gst_ghost_pad_internal_do_activate_pull),
10320         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10321         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10322         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10323         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10324         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10325         (gst_ghost_pad_new_no_target_from_template),
10326         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10327         More cleanups.
10328         Avoid needless typechecking in macros.
10329         Since the internal pad is always present and never changes, there is
10330         no need to locking or ref when retrieving it.
10331         Improve debugging a bit.
10332         Handle link errors when setting the target. Fixes #341029.
10333
10334 2006-09-01  Wim Taymans  <wim@fluendo.com>
10335
10336         * docs/libs/gstreamer-libs-sections.txt:
10337         * docs/plugins/gstreamer-plugins-sections.txt:
10338         Fix docs some more.
10339
10340         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10341         (gst_collect_pads_event):
10342         * libs/gst/base/gstcollectpads.h:
10343         Documentation updates.
10344         Free queued buffer when removing a pad.
10345
10346 2006-08-31  Michael Smith  <msmith@fluendo.com>
10347
10348         * gst/gstutils.c: (gst_element_link_pads),
10349         (gst_element_link_pads_filtered):
10350           Ensure that we set a capsfilter to NULL if we failed to link it
10351           when doing filtered linking, to avoid criticals.
10352
10353           No need to check for unreffing srcpad, which is explicly NULLed
10354           above (a trivial code cleanup).
10355
10356 2006-08-31  Wim Taymans  <wim@fluendo.com>
10357
10358         * docs/design/part-gstghostpad.txt:
10359         Update ascii art in documentation.
10360
10361         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10362         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10363         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10364         (gst_ghost_pad_internal_do_activate_push),
10365         (gst_ghost_pad_internal_do_activate_pull),
10366         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10367         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10368         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10369         (gst_ghost_pad_set_target):
10370         Small cleanups and leak fixes.
10371         Remove some checks now that the internal pad is never NULL.
10372         Fix the case where linking pads without a target would create nasty
10373         criticals. Fixes #341029.
10374         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10375         value of _set_target().
10376
10377         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10378         (gst_ghost_pad_suite):
10379         Some more tests for creating and linking untargeted ghostpads.
10380
10381 2006-08-31  Edward Hervey  <edward@fluendo.com>
10382
10383         * docs/gst/gstreamer-sections.txt:
10384         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10385         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10386         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10387         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10388         (gst_ghost_pad_new_from_template),
10389         (gst_ghost_pad_new_no_target_from_template):
10390         * gst/gstghostpad.h:
10391         Refactored *_new() functions.
10392         Templates are now used as a g_object_new() parameter.
10393         Use template in _do_getcaps() if we don't have a target.
10394         Small documentation cleanups.
10395         Added two new constructors:
10396         gst_ghost_pad_new_from_template()
10397         gst_ghost_pad_new_no_target_from_template()
10398         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10399         (gst_ghost_pad_suite):
10400         Added tests for new ghostpad instanciation functions.
10401
10402         API additions: gst_ghost_pad_new_from_template,
10403         gst_ghost_pad_new_no_target_from_template
10404
10405 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10406
10407         * docs/random/ensonic/profiling.txt:
10408           Ideas about qos profiling.
10409
10410 2006-08-29  Wim Taymans  <wim@fluendo.com>
10411
10412         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10413         Code cleanups.
10414         Fix memleak.
10415
10416 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10417
10418         * gst/gstxml.c:
10419           Improve and detypofy docs.
10420
10421         * tests/check/Makefile.am:
10422         * tests/check/gst/.cvsignore:
10423         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10424           Add a basic test suite for GstXML.
10425
10426 2006-08-29  Wim Taymans  <wim@fluendo.com>
10427
10428         * gst/gstelement.c: (activate_pads), (clear_caps),
10429         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10430         Clear the pad caps when the element shut down all of the pads and
10431         is not streaming data that could modify the caps. 
10432         Fixes #352958.
10433
10434 2006-08-28  Michael Smith  <msmith@fluendo.com>
10435
10436         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10437           Revert previous change; I misunderstood single-segment mode.
10438
10439 2006-08-28  Michael Smith  <msmith@fluendo.com>
10440
10441         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10442           Unset DISCONT on buffers when using single-segment mode.
10443
10444 2006-08-28  Wim Taymans  <wim@fluendo.com>
10445
10446         * gst/gstcaps.c: (gst_caps_merge_structure):
10447         * gst/gstcaps.h:
10448         Fix docs and indentation again.
10449
10450         * tests/check/gst/gstquery.c: (GST_START_TEST):
10451         Fix leak in tests and add some more tests.
10452
10453 2006-08-28  Edward Hervey  <edward@fluendo.com>
10454
10455         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10456         Inform GstSegment of the last stop position in order for the current
10457         segment to have a proper duration if it doesn't have a specific stop
10458         position from which a duration could be calculated.
10459         This bug was noticeable when a non-flushing, non-update new segment was
10460         followed by another segment (all buffers from the new segment were being
10461         dropped).
10462
10463 2006-08-28  Wim Taymans  <wim@fluendo.com>
10464
10465         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10466         Small comment update.
10467
10468         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10469         (gst_identity_transform_ip):
10470         Drop-probability is broken, mention this in the code with a 
10471         FIXME and also in the property description.
10472         Make silent also be silent about the drop messages.
10473
10474 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10475
10476         * docs/manual/appendix-win32.xml:
10477           Remove mention of popt, we don't depend on that any
10478           longer (#353136). Add some comments pointing out that
10479           this section is slightly outdated.
10480
10481 2006-08-28  Wim Taymans  <wim@fluendo.com>
10482
10483         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10484
10485         * gst/gstquery.c: (gst_query_new_segment):
10486         * tests/check/gst/gstquery.c: (GST_START_TEST):
10487         Initialize variables when creating a new segment query.
10488         Fixes #353121.
10489
10490 2006-08-28  Wim Taymans  <wim@fluendo.com>
10491
10492         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10493
10494         * gst/gstelement.c: (gst_element_get_bus):
10495         * tests/check/gst/gstelement.c: (GST_START_TEST):
10496         Check for NULL before _reffing the bus. Fixes #353122.
10497
10498 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10499
10500         * docs/manual/basics-bus.xml:
10501           Docs update: fix wrong callback return value explanation; add
10502           some lines about the implicit relationship between main loop
10503           and main context; remove duplicate main loop variable declaration.
10504
10505 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10506
10507         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10508           Don't leak caps in unit test; add a few more simple
10509           checks. 
10510
10511 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10512
10513         * docs/gst/gstreamer-sections.txt:
10514         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10515         (gst_caps_structure_is_subset), (gst_caps_merge),
10516         (gst_caps_merge_structure):
10517         * gst/gstcaps.h:
10518         * libs/gst/base/gstbasetransform.c:
10519         (gst_base_transform_transform_caps):
10520         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10521           implement caps merging (fixes #352580)
10522
10523 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10524
10525         * tools/Makefile.am:
10526         * tools/gst-plot-timeline.py:
10527           add debug-log plotting developer tool (#340674)
10528
10529 2006-08-23  Wim Taymans  <wim@fluendo.com>
10530
10531         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10532         (gst_pad_stop_task):
10533         Improve debugging for task functions.
10534
10535         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10536         (gst_task_start), (gst_task_pause), (gst_task_join):
10537         Make sure that the task function started and finished after a 
10538         join(). 
10539         Don't try to push the task function on the threadpool multiple
10540         times.
10541         Improve the g_warning message with some useful suggestions
10542         about how to fix the problem. 
10543
10544 2006-08-23  Wim Taymans  <wim@fluendo.com>
10545
10546         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10547         Handle RESYNC correctly in _proxy_getcaps.
10548
10549 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10550
10551         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10552         (gst_xml_parse_memory), (gst_xml_get_element):
10553           Chain up to parent class in dispose function and also
10554           unref the elements in the toplevel_elements GList.
10555           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10556           Always return a reference in gst_xml_get_element() rather
10557           than only sometimes.
10558
10559         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10560           Don't leak GstXml object.
10561
10562 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10563
10564         * docs/gst/gstreamer-sections.txt:
10565         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10566         (gst_caps_merge):
10567         * gst/gstcaps.h:
10568         * libs/gst/base/gstbasetransform.c:
10569         (gst_base_transform_transform_caps):
10570           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10571           in a better way
10572
10573 2006-08-21  Edward Hervey  <edward@fluendo.com>
10574
10575         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10576         Implement GObject::dispose virtual method in GstXML so we can free the
10577         top_elements GList.
10578
10579 2006-08-21  Wim Taymans  <wim@fluendo.com>
10580
10581         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10582         (gst_buffer_create_sub):
10583         Copy duration/offset_end/caps when creating a subbuffer of the
10584         complete parent.
10585         Make the subbuffer read-only when we make the metadata writable for
10586         now. Fixes #351768.
10587
10588         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10589         Added check for metadata copy when creating subbuffers.
10590
10591 2006-08-21  Edward Hervey  <edward@fluendo.com>
10592
10593         * libs/gst/base/gstbasetransform.c:
10594         (gst_base_transform_buffer_alloc):
10595         Only call downstream buffer_alloc if transform element is passthrough
10596         or always_in_place. Closes #350449.
10597
10598 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10599
10600         * ChangeLog:
10601           ChangeLog surgery to add comments to previous changes
10602
10603 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10604
10605         * gst/gst.c:
10606           Add comments
10607
10608         * gst/gstpad.c: (gst_pad_set_active):
10609           Be more verbose in the log
10610
10611         * libs/gst/base/gstbasetransform.c:
10612         (gst_base_transform_transform_caps):
10613           Simplify caps to get rid of duplicates, fixes #345444
10614
10615 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10616
10617         * gst/gstvalue.c:
10618         * gst/gstvalue.h:
10619           Use these optimizations only internally.
10620
10621 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10622
10623         * gst/gstvalue.c: (gst_value_compare_list),
10624         (gst_value_compare_fraction_range),
10625         (gst_value_intersect_fraction_fraction_range),
10626         (gst_value_intersect_fraction_range_fraction_range),
10627         (gst_value_subtract_fraction_fraction_range),
10628         (gst_value_subtract_fraction_range_fraction_range),
10629         (gst_value_get_compare_func), (gst_value_compare),
10630         (gst_value_compare_with_func):
10631         * gst/gstvalue.h:
10632           Saves the expensive lookup of the compare function in many cases
10633          (#345444)
10634
10635 2006-08-18  Edward Hervey  <edward@fluendo.com>
10636
10637         * tests/check/gst/gstinfo.c: (gst_info_suite):
10638         Disable test that require gstdebug if it wasn't built in core.
10639
10640 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10641
10642         * docs/random/ensonic/logging.txt:
10643           update ideas
10644           
10645         * gst/gstinfo.c: (gst_debug_log_default):
10646           reorder fields, save some columns, add optional color codes for log
10647           levels
10648
10649 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10650
10651         * docs/random/ensonic/logging.txt:
10652           add ideas about making the logs a bit more useful
10653
10654 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10655
10656         * docs/pwg/advanced-events.xml:
10657         * docs/pwg/titlepage.xml:
10658           Update for 0.10 API (#340627). Add myself
10659           to authors list.
10660
10661 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10662
10663         * docs/libs/gstreamer-libs-docs.sgml:
10664         * docs/libs/gstreamer-libs-sections.txt:
10665         * libs/gst/check/gstbufferstraw.c:
10666           Make gstcheck stuff show up in docs (still needs to
10667           be documented properly though).
10668
10669 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10670
10671         * docs/gst/gstreamer-sections.txt:
10672         * gst/Makefile.am:
10673         * gst/gst.c: (init_post):
10674         * gst/gst_private.h:
10675         * gst/gstquark.c: (_priv_gst_quarks_initialize):
10676         * gst/gstquark.h:
10677         * gst/gstquery.c: (gst_query_new_position),
10678         (gst_query_set_position), (gst_query_parse_position),
10679         (gst_query_new_duration), (gst_query_set_duration),
10680         (gst_query_parse_duration), (gst_query_new_convert),
10681         (gst_query_set_convert), (gst_query_parse_convert),
10682         (gst_query_new_segment), (gst_query_set_segment),
10683         (gst_query_parse_segment), (gst_query_new_seeking),
10684         (gst_query_set_seeking), (gst_query_parse_seeking):
10685         Add internal helpers for pre-registering quarks from static strings
10686         and using the quark values directly instead of looking them up when
10687         creating and parsing queries. Can be used for event construction too.
10688         Closes #350432.
10689
10690 2006-08-16  Wim Taymans  <wim@fluendo.com>
10691
10692         * gst/gstbin.c:
10693         Fix bogus docs.
10694
10695 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10696
10697         * gst/gstutils.c: (gst_util_set_value_from_string):
10698           Fix memleak (#351502).
10699
10700         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10701           Add unit test for most of gst_util_set_value_from_string()
10702           (not that one would want to encourage use of this function).
10703
10704 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10705
10706         * libs/gst/check/gstcheck.h:
10707           Use const gchar * variables in fail_unless_equals_string
10708           macro to avoid compiler warnings (and don't use tabs for
10709           indenting).
10710
10711 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10712
10713         * tools/gst-launch.c: (print_tag):
10714           More space on the left for the tag names, to cater
10715           for the 'extended comment' tag (not touching the
10716           string for the first line since it's translated).
10717
10718 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10719
10720         * libs/gst/check/gstcheck.h:
10721           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10722           print something when they fail.
10723
10724 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10725
10726         * docs/gst/gstreamer-sections.txt:
10727         * gst/gsttaglist.c: (_gst_tag_initialize):
10728         * gst/gsttaglist.h:
10729           API: add GST_TAG_EXTENDED_COMMENT (#350935).
10730           Also change merge function for GST_TAG_COMMENT to
10731           use_first.
10732
10733 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10734
10735         * gst/gstinfo.c: (gst_debug_print_object):
10736           Make GST_PTR_FORMAT print messages as well.
10737
10738         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10739         (GST_START_TEST), (gst_info_suite):
10740           More tests.
10741
10742 2006-08-14  Edward Hervey  <edward@fluendo.com>
10743
10744         * gst/gstelementfactory.c: (gst_element_register):
10745         If the GstElementClass doesn't have a GstElementDetails with all fields
10746         filled up correctly (longname, description AND author), then error out
10747         nicely instead of crashing.
10748
10749 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10750
10751         * gst/gststructure.c:
10752           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10753
10754         * gst/gstvalue.h:
10755           Expand on the difference between arrays and lists as we use them.
10756           
10757 2006-08-14  Wim Taymans  <wim@fluendo.com>
10758
10759         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10760         If the parent state change function failed, don't assume we can safely
10761         stop the source, this will be done when the pads are deactivated.
10762
10763 2006-08-14  Wim Taymans  <wim@fluendo.com>
10764
10765         * gst/gstbuffer.c:
10766         * gst/gsttask.c: (gst_task_join):
10767         Small doc updates.
10768
10769         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10770         (gst_pad_stop_task):
10771         When pad (de)activation failed for some reason, restore the old
10772         activation mode and set the pad to flushing instead of assuming the
10773         pad is deactivated.
10774         If the _task_join() failed, reinstall the task on the pad so that it can
10775         be stopped later and return an error.
10776
10777 2006-08-11  Andy Wingo  <wingo@pobox.com>
10778
10779         * configure.ac:
10780         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10781         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10782         is only for users of API that don't want to see deprecated
10783         functions in the headers; people that want to compile out
10784         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10785         CFLAGS. Fixes the build of multifdsink, or will soon..
10786
10787 2006-08-11  Wim Taymans  <wim@fluendo.com>
10788
10789         * docs/gst/gstreamer-sections.txt:
10790         Add GstClockClass vmethod docs.
10791
10792         * gst/gstcaps.h:
10793         Mark #endif with comment for associated #if
10794
10795         * gst/gstclock.c: (gst_clock_id_wait):
10796         * gst/gstclock.h:
10797         Add vmethod wait_jitter to avoid an unneeded _get_time() for
10798         most clock implementations.
10799         Document vmethods.
10800         Flesh out docs about resolution methods.
10801         API: GstClockClass::wait_jitter
10802
10803         * gst/gstsystemclock.c: (gst_system_clock_class_init),
10804         (gst_system_clock_async_thread),
10805         (gst_system_clock_id_wait_jitter_unlocked),
10806         (gst_system_clock_id_wait_jitter):
10807         Use base class wait_jitter variant for improved performance
10808         due to less clock polling.
10809
10810 2006-08-11  Edward Hervey  <edward@fluendo.com>
10811
10812         * gst/gst.c: (gst_init_check), (init_post):
10813         Set gst as being initialized before scanning/updating the registry,
10814         since there might be my python plugin loader that calls gst_init() and
10815         we don't want to loop back in.
10816         Closes #350879
10817
10818 2006-08-11  Wim Taymans  <wim@fluendo.com>
10819
10820         * docs/design/part-qos.txt:
10821         Bring docs in line with the code. Mostly the sign of the jitter was
10822         wrong in the docs. Fixes #349943.
10823
10824         * gst/gstclock.c:
10825         Fix the docs for the jitter.
10826
10827         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10828         (gst_event_parse_tag), (gst_event_new_buffer_size),
10829         (gst_event_parse_buffer_size), (gst_event_parse_qos),
10830         (gst_event_new_seek), (gst_event_parse_seek),
10831         (gst_event_new_navigation):
10832         Make sure the GstStructure has no parent when creating custom
10833         events.
10834         Add some more argument checking so that we avoid 0.0 rates.
10835         Flesh out the docs for the QoS event some more.
10836
10837 2006-08-11  Wim Taymans  <wim@fluendo.com>
10838
10839         * docs/gst/gstreamer-sections.txt:
10840         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10841         (ensure_current_registry_forking), (ensure_current_registry),
10842         (parse_one_option), (parse_goption_arg), (gst_deinit),
10843         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10844         * gst/gst.h:
10845         Doc updates.
10846         Added API and command line option to disable registry forking in
10847         addition to the environment variable.
10848         Constify some static arrays.
10849         Added some more debug.
10850         Don't deinit twice.
10851         API: gst_registry_fork_is_enabled()
10852         API: gst_registry_fork_set_enabled()
10853         API: --gst-disable-registry-fork command line option
10854         Fixes #348918.
10855
10856 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
10857
10858         * gst/gst.c: (gst_init):
10859           Fix typo in error message.
10860
10861 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10862
10863         * libs/gst/controller/gstcontroller.h:
10864           fix ABI size-correction
10865
10866         * tests/check/libs/gdp.c: (gst_dp_suite):
10867           make tests that use deprecated API conditional
10868
10869 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10870
10871         * docs/libs/gstreamer-libs-sections.txt:
10872         * libs/gst/controller/gstcontroller.c:
10873         (_gst_controller_get_property), (_gst_controller_set_property),
10874         (_gst_controller_init), (_gst_controller_class_init):
10875         * libs/gst/controller/gstcontroller.h:
10876         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10877         (gst_object_set_control_rate):
10878           API: add gst_object_{s,g}et_control_rate(), add private data section,
10879           fix docs
10880
10881         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10882         * libs/gst/dataprotocol/dataprotocol.h:
10883           add deprecation guards to make gtk-doc happy and allow disabling cruft
10884
10885 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
10886
10887         * tests/check/Makefile.am:
10888         * tests/check/gst/.cvsignore:
10889           Let's enable the new unit test as well.
10890
10891 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
10892
10893         * configure.ac:
10894         * docs/gst/gstreamer-sections.txt:
10895         * gst/gstconfig.h.in:
10896         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10897         (_gst_info_printf_extension_ptr),
10898         (_gst_info_printf_extension_segment):
10899           API: add GST_SEGMENT_FORMAT, which is a printf extension we
10900           register that lets us easily dump GstSegments into debug
10901           logs (#350419).
10902
10903         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10904         (info_segment_format_printf_extension), (gst_info_suite):
10905           Add simple unit test that logs a bunch of different segments (not
10906           valgrinded at the moment because of leaks in
10907           gst_debug_add_log_function).
10908
10909 2006-08-09  Edward Hervey  <edward@fluendo.com>
10910
10911         * libs/gst/base/gstbasetransform.c:
10912         (gst_base_transform_buffer_alloc):
10913         Even if we can't figure out the proper format to request downstream,
10914         call buffer_alloc() downstream with the input parameters without setting
10915         the caps on the srcpad. This will force negotiation in the chain
10916         function.
10917         Closes #350449
10918
10919 2006-08-08  Edward Hervey  <edward@fluendo.com>
10920
10921         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10922         Unlinking from a pad without a target is now a perfectly valid case
10923         which should NOT raise an assertion.
10924         This case would happen if a linked ghostpad its target set to NULL after
10925         it was previously linked.
10926
10927 2006-08-08  Edward Hervey  <edward@fluendo.com>
10928
10929         * tests/check/libs/gdp.c:
10930         Also comment out the test (see below).
10931
10932 2006-08-08  Edward Hervey  <edward@fluendo.com>
10933
10934         * tests/check/libs/gdp.c: (gst_dp_suite):
10935         Use the architecture information from config.h and not gcc macros
10936         in order to properly disable a test that fails on PPC64.
10937
10938 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
10939
10940         * gst/gstelement.c: (gst_element_remove_pad):
10941           Don't crash printing the warning if the pad has no parent.
10942
10943 2006-08-02  Wim Taymans  <wim@fluendo.com>
10944
10945         * libs/gst/dataprotocol/dataprotocol.c:
10946         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10947         (gst_dp_crc), (gst_dp_header_payload_length),
10948         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10949         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10950         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10951         (gst_dp_event_from_packet), (gst_dp_validate_header),
10952         (gst_dp_validate_payload):
10953         Make debug category static
10954         Constify the crc table.
10955         Do some more arg checking in public functions.
10956         Fix some docs and do some small cleanups.
10957
10958         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10959         Add some more checks to see if GDP deals with bogus input.
10960
10961 2006-07-31  Wim Taymans  <wim@fluendo.com>
10962
10963         * gst/gstvalue.c: (gst_value_compare_list):
10964         Fix GstValueList comparison code. Fixes #347293.
10965
10966         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10967         Check to test GstValueList comparison.
10968
10969 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
10970
10971         * gst/gstelementfactory.c: (gst_element_factory_create):
10972         Remove unnecessary ref/unref pair
10973
10974         * gst/parse/grammar.y:
10975         Make sure to free the parse buffer on all code paths.
10976         Move a g_free up to the error handler where it's easier to see.
10977
10978         * tests/check/gst/gstevent.c: (test_event):
10979         Extending timeout for downstream travelling events to 10 seconds to
10980         hopefully avoid intermittent failure on the buildbots.
10981
10982         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
10983         Don't manually set the state of the src element - it will happen as a
10984         natural consequence of the pipeline changing state, and that way it
10985         will do it in the right order too.
10986
10987 2006-07-31  Wim Taymans  <wim@fluendo.com>
10988
10989         * libs/gst/base/gstbasetransform.c:
10990         (gst_base_transform_buffer_alloc):
10991         Use OBJECT_LOCK and refcounting to get the pad caps in the
10992         buffer_alloc function because the caps could change while we are
10993         busy with them. Fixes #349105
10994
10995 2006-07-31  Wim Taymans  <wim@fluendo.com>
10996
10997         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
10998         Protect _PAD_CAPS with OBJECT_LOCK.
10999
11000 2006-07-31  Wim Taymans  <wim@fluendo.com>
11001
11002         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11003         (gst_pad_get_property), (gst_pad_activate_pull),
11004         (gst_pad_activate_push), (gst_pad_set_blocked_async),
11005         (gst_pad_set_activate_function),
11006         (gst_pad_set_activatepull_function),
11007         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11008         (gst_pad_set_getrange_function),
11009         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11010         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11011         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11012         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11013         (gst_pad_set_acceptcaps_function),
11014         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11015         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11016         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11017         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11018         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11019         (gst_pad_configure_sink), (gst_pad_configure_src),
11020         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11021         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11022         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11023         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11024         (gst_pad_send_event):
11025         Use _DEBUG_OBJECT when it makes sense.
11026         Protect GST_PAD_CAPS with the OBJECT_LOCK.
11027         Small cleanups and code reflows.
11028         Avoid caps refcounting in _accept_caps.
11029         Refactor alloc_buffer so that the code performed on the peer is in a
11030         separate function. Also if the pad does not implement a buffer alloc
11031         function, we should still check if the pad is flushing before falling
11032         back to the default allocator.
11033
11034 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
11035
11036         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11037         Make all uses of identity and fakesink have silent=true to avoid
11038         serialising every passing data structure, which is breaking tests
11039         on FC4 for some unknown reason.
11040
11041 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11042
11043         * gst/parse/Makefile.am:
11044         * gst/parse/grammar.y:
11045         * gst/parse/parse.l:
11046           Reverted previous patch as it required to bump the flex dependency to
11047           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11048
11049 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
11050
11051         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11052
11053         * gst/parse/Makefile.am:
11054         * gst/parse/grammar.y:
11055         * gst/parse/parse.l:
11056           push & pop the state of the lexer for reentrant use case
11057           Fixes #349180
11058
11059 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
11060
11061         * libs/gst/base/gstbasesrc.h:
11062           Note in the docs that the ::newsegment vfunc is not actually used by
11063           GstBaseSrc.
11064
11065 2006-07-28  Wim Taymans  <wim@fluendo.com>
11066
11067         * libs/gst/base/gstcollectpads.c:
11068         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11069         (gst_collect_pads_clear), (gst_collect_pads_flush),
11070         (gst_collect_pads_event), (gst_collect_pads_chain):
11071         When flushing a pad, also clear the queued buffer so that we don't
11072         accidentally use it when we shouldn't.
11073         Fix leaks by inreffing incomming buffer.
11074         Flush out queued buffers in case of errors.
11075         Fixes #347452.
11076
11077 2006-07-28  Wim Taymans  <wim@fluendo.com>
11078
11079         * docs/random/phonon-gst:
11080         Random notes about a Phonon backend.
11081
11082 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11083
11084         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11085         Extra debug output
11086         * tests/check/libs/gdp.c: (gst_dp_suite):
11087         Take a whack at fixing the ppc compile using a different define to
11088         disable the broken test.
11089
11090         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11091         Remove excess g_print()
11092
11093 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11094
11095         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11096         Oops, meant to uncomment this line too to dampen the noise a bit.
11097
11098 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11099
11100         * gst/parse/grammar.y:
11101         * gst/parse/parse.l:
11102         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11103         (GST_START_TEST), (parse_suite):
11104         Fix some of the leaks exposed by extending the parse-launch testsuite,
11105         and move the 3 I can't figure out into a separate test that won't run
11106         the pipelines unless the appropriate line is uncommented.
11107
11108 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11109
11110         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11111           Requesting 0 bytes before the end of the file should result in
11112           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11113           unit test.
11114
11115 2006-07-27  Wim Taymans  <wim@fluendo.com>
11116
11117         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11118         Fix useless assert, a uint is always positive.
11119
11120         * gst/gststructure.c: (gst_structure_nth_field_name),
11121         (gst_structure_foreach), (gst_structure_map_in_place):
11122         Check input arguments for public functions to avoid obvious crashes.
11123
11124         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11125         * plugins/elements/gstfakesink.h:
11126         Do less useless typechecking.
11127
11128 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11129
11130         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11131           Do not use mmap() by default since there are a number of error
11132           conditions that we would like to handle in a non-fatal way that
11133           will result in a SIGBUS if we use mmap(). Examples: external
11134           devices (USB harddrive, portable music player) being unplugged
11135           while in use; file on mounted CD/DVD that can't be read because
11136           the medium is partly damaged. Fixes #348455 and #348475.
11137
11138 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11139
11140         * gst/gstquery.h:
11141         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11142         rates are a gdouble
11143
11144 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11145
11146         * gst/gstregistry.c:
11147           Move big documentation comment into class section header, so that it
11148           appears in the API docs.
11149
11150 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11151
11152         * docs/gst/gstreamer-sections.txt:
11153         Oops. Commit the docs additions too for new API.
11154         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11155
11156 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11157
11158         * gst/gststructure.c: (gst_structure_id_set),
11159         (gst_structure_id_set_valist):
11160         * gst/gststructure.h:
11161         Add API for setting values into structures without performing
11162         a quark lookup, if the appropriate quark is already known.
11163
11164         API: gst_structure_id_set
11165         API: gst_structure_id_set_valist
11166
11167         * gst/parse/grammar.y:
11168         * gst/parse/parse.l:
11169         Remove some dead code shown by the coverage information.
11170         Don't throw a critical g_warning when encountering a syntax error,
11171         just warn and let the normal error path handle it.
11172
11173         * plugins/elements/gstelements.c:
11174         Bump the rank of filesink up to PRIMARY so that it is preferred over
11175         gnomevfssink for file:// sink uri's
11176
11177         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11178         (GST_START_TEST), (run_delayed_test),
11179         (gst_parse_test_element_base_init),
11180         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11181         (gst_parse_test_element_change_state),
11182         (gst_register_parse_element), (parse_suite):
11183         Beef up the tests for parse syntax to check that more error cases
11184         fail as they are supposed to. Increases the test coverage a bit.
11185
11186 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11187
11188         * docs/manual/basics-elements.xml:
11189           Fix gst_element_link() example.
11190
11191         * gst/gstutils.c:
11192           Mention in API docs that one should usually gst_bin_add()
11193           elements to a bin or pipeline before doing the linking.
11194           
11195 2006-07-26  Wim Taymans  <wim@fluendo.com>
11196
11197         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11198         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11199         Avoid function call for known types by keeping the buffer and
11200         subbuffer GType global.
11201
11202         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11203         Random silly optimisations in read() path.
11204
11205 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11206
11207         * tools/gst-launch.c: (main):
11208           If the top-level of the parse is a normal bin, it doesn't do the
11209           right logic to run as a top-level element, so place it inside a
11210           pipeline.
11211
11212 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11213
11214         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11215           Remove superfluous g_object_notify() calls, GObject does
11216           that for us automatically.
11217
11218 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11219
11220         * gst/gstinfo.h:
11221           on Win32, use dllspec to export the debug category symbols
11222
11223 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11224
11225         * gst/gsttaglist.c: (_gst_tag_initialize):
11226           Allow more than one GST_TAG_IMAGE per taglist.
11227
11228 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11229
11230         * gst/gstminiobject.c:
11231           update docs
11232         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11233         (gst_fd_src_create):
11234           log recurring events at LOG level
11235           add more debug for when the fd gets set
11236
11237 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11238
11239         * gst/gstparse.c: (gst_parse_launch):
11240           Also remove reentrance checks if flex is MT safe (#348179)
11241          Fix my empty ChangeLog entry below
11242
11243 2006-07-21  Andy Wingo  <wingo@pobox.com>
11244
11245         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11246
11247         * libs/gst/check/Makefile.am
11248         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11249         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11250         * libs/gst/check/gstbufferstraw.h:
11251         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11252         functions, thus proving I am still a GStreamer haxor. OK I wrote
11253         them a long time ago, but anyways.
11254
11255 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11256
11257         * configure.ac:
11258         * gst/gstparse.c: (gst_parse_launch):
11259           Check for flex version and omit mutex if we have a MT save flex
11260           (fixes #348179)
11261
11262 2006-07-21  Wim Taymans  <wim@fluendo.com>
11263
11264         * gst/gstparse.c: (gst_parse_launch):
11265         Protect recursive calls to _parse with a recursive mutex
11266         and busy flag.
11267
11268 2006-07-21  Wim Taymans  <wim@fluendo.com>
11269
11270         * tests/check/gst/gstpad.c: (GST_START_TEST):
11271         Fix leak in test.
11272
11273 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11274
11275         * gst/gstparse.c: (gst_parse_launch):
11276           Do not hang on recursive usage of gst_parse_launch()
11277
11278 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11279
11280         * gst/gsttaglist.c:
11281           Add some more docs, comments and FIXME 0.11s here and there
11282           and also fix some typos.
11283
11284 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11285
11286         * gst/gstsegment.h:
11287           Convert tabs to spaces for better readability. 
11288
11289 2006-07-20  Edward Hervey  <edward@fluendo.com>
11290
11291         * tests/check/libs/gdp.c: (gst_dp_suite):
11292         the test_buffer test fails at line 140 on ppc64 at the following
11293         check:
11294         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11295                 GST_BUFFER_FLAG_IN_CAPS),
11296                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11297         See bug #348114 for more details.
11298
11299 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11300
11301         * docs/pwg/advanced-scheduling.xml:
11302         * gst/gstpad.c:
11303           Fix typos (#348000).
11304
11305 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11306
11307         * docs/pwg/intro-basics.xml:
11308           Fix wrong links (#347927).
11309
11310 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11311
11312         * gst/gstregistry.h:
11313         * gst/gstregistryxml.c: (load_feature),
11314         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11315         * win32/common/config.h:
11316           make --disable-index work (#342564)
11317
11318 2006-07-18  Wim Taymans  <wim@fluendo.com>
11319
11320         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11321
11322         * gst/Makefile.am:
11323         * gst/gsttrace.h:
11324         The attached patch adds two missing defines to gsttrace.h when tracing
11325         is disabled.  It also corrects one existing define.
11326         Fixes #347756.
11327
11328 2006-07-17  Wim Taymans  <wim@fluendo.com>
11329
11330         * docs/gst/gstreamer-sections.txt:
11331         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11332         * gst/gst.h:
11333         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11334         Add two functions to check and change the SIGSEGV behaviour
11335         when loading plugins.
11336         Don't mess with the SIGSEGV handler when we were told not to.
11337         Fixes #347794.
11338         API: gst_segtrap_is_enabled
11339         API: gst_segtrap_set_enabled
11340
11341 2006-07-14  Wim Taymans  <wim@fluendo.com>
11342
11343         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11344         * tests/check/elements/filesrc.c: (GST_START_TEST):
11345         Revert fix for regression in #347408 after release.
11346
11347 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11348
11349         Patch by: Antoine Tremblay <hexa00 at gmail com>
11350
11351         * gst/gstutils.c: (gst_element_unlink):
11352           Free iterator when done (#347311).
11353
11354         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11355           And add a test case for this.
11356
11357 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11358
11359         * configure.ac:
11360         Bump nano back to CVS
11361
11362 === release 0.10.9 ===
11363
11364 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11365
11366         * configure.ac:
11367           releasing 0.10.9, "On the road again"
11368
11369 2006-07-13  Wim Taymans  <wim@fluendo.com>
11370
11371         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11372         * tests/check/elements/filesrc.c: (GST_START_TEST):
11373         Revert pull-0 fix for release. Disable check. Fixes #347408.
11374
11375 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11376
11377         * libs/gst/dataprotocol/dataprotocol.c:
11378         (gst_dp_event_from_packet_1_0):
11379           Fixes #347337: failure to deserialize event packets with
11380           empty payload (only event type)
11381
11382 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11383
11384         * gst/Makefile.am:
11385           do not install a .c file in the header directory
11386
11387 2006-07-13  Edward Hervey  <edward@fluendo.com>
11388
11389         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11390         GhostPad no longer implicitely use the padtemplates of the targets.
11391         Fixes #347384
11392
11393 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11394
11395         * gst/gstvalue.c: (gst_value_compare_list),
11396         (gst_value_compare_array), (_gst_value_initialize):
11397         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11398         Make GstValueArray comparison be order dependent as designed.
11399         Add checks for value lists and value array comparisons.
11400         Fixes #347221
11401
11402 2006-07-11  Edward Hervey  <edward@fluendo.com>
11403
11404         * gst/gstbin.c: (activate_pads),
11405         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11406         (gst_bin_change_state_func):
11407         (de)activate src pads before calling state_change on the childs.
11408         This is to avoid the case where a src ghostpad is blocked (holding the
11409         stream lock), which would block the deactivation of the ghostpad's
11410         target pad.
11411         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11412         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11413         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11414         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11415         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11416         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11417         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11418         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11419         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11420         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11421         (gst_ghost_pad_class_init),
11422         (gst_ghost_pad_internal_do_activate_push),
11423         (gst_ghost_pad_internal_do_activate_pull),
11424         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11425         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11426         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11427         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11428         GhostPads now create their internal GstProxyPad at creation (and not
11429         when they're linked, as it was being done previously).
11430         The internal and target pads are linked straight away.
11431         The data will also travel through the other pad in order to make
11432         pad blocking and probes non-hackish (the probe/block now really happens
11433         on the GhostPad and not on the target).
11434         * gst/gstpad.c: (gst_pad_set_blocked_async),
11435         (gst_pad_link_prepare), (gst_pad_push_event):
11436         Remove previous ghostpad cruft.
11437         * gst/gstutils.c: (gst_pad_add_data_probe),
11438         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11439         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11440         (gst_pad_remove_buffer_probe):
11441         Remove previous ghost pad cruft.
11442         Added more detailed debug statements.
11443         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11444         Fix the testsuite for refcounting changes.
11445         The comments about who has references were correct, but the refcount
11446         being checked wasn't the same (!?!).
11447
11448         Fixes #341029
11449
11450 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11451
11452         * docs/gst/gstreamer-sections.txt:
11453         * gst/gstconfig.h.in:
11454         More docs for configuration options, add docs to gtk-doc.
11455
11456 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11457
11458         * gst/Makefile.am:
11459         * gst/gstconfig.h.in:
11460         * win32/common/config.h:
11461         Fix build when disabling tracing (fixes #344016). Also start to document
11462         the defines that disable the sub-systems.
11463
11464 2006-07-10  Edward Hervey  <edward@fluendo.com>
11465
11466         * gst/gst.c: (ensure_current_registry_forking):
11467         let's make valgrind happy...
11468
11469 2006-07-09  Wim Taymans  <wim@fluendo.com>
11470
11471         * gst/gstelement.c: (activate_pads),
11472         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11473         Better pad activation code: Reset the collect value too on resync.
11474         Add some comments.
11475
11476 2006-07-09  Wim Taymans  <wim@fluendo.com>
11477
11478         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11479         (gst_pad_activate_push):
11480         Use some more macros where it makes sense.
11481         Allow pad mode switching instead of asserting. When a pad
11482         is activated in one mode and we activate it in another, 
11483         deactivate it first before activating it in a different mode.
11484         Fixes #329198.
11485
11486 2006-07-08  Andy Wingo  <wingo@pobox.com>
11487
11488         * tools/gst-launch.c (main): Handle err == NULL.
11489
11490         * gst/gst.c (init_post, ensure_current_registry)
11491         (ensure_current_registry_forking)
11492         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11493         factoring out the registry scanning into separate functions. Don't
11494         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11495         Better environment var name/interface suggestions accepted.
11496
11497 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11498
11499         * gst/gstobject.c: (gst_object_set_name_default),
11500         (gst_object_set_name):
11501           Random micro-optimisation: don't use a hash table
11502           with strings as keys and the usual strdup/strcmp
11503           involved, but rather just use the GQuark of the
11504           type name as key, since it needs to be looked up
11505           anyway to get the type name string.
11506
11507         * tests/check/gst/gstobject.c: (GST_START_TEST):
11508           Fix various leaks.
11509
11510 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11511
11512         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11513         (gst_bin_iterate_all_by_interface):
11514           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11515           GTypes are gulongs and thus the top 4 bytes might be cut
11516           off on some platforms when doing GPOINTER_TO_INT, leading
11517           to invalid GTypes and bad things happening (see RH bug #179654).
11518           Also add a check to make sure the type passed in is really
11519           an interface type.
11520
11521 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11522
11523         * .cvsignore:
11524           Ignore more.
11525
11526 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11527
11528         * Makefile.am:
11529         * configure.ac:
11530         * gst-element-check.m4:
11531         * gst-element-check.m4.in:
11532           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11533           instead of the unversioned gst-inspect (#324176, #168659).
11534
11535 2006-07-06  Wim Taymans  <wim@fluendo.com>
11536
11537         * gst/gstmessage.h:
11538         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11539         warnings.
11540
11541 2006-07-06  Wim Taymans  <wim@fluendo.com>
11542
11543         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11544         (gst_base_src_wait), (gst_base_src_update_length),
11545         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11546         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11547         (gst_base_src_loop), (gst_base_src_start),
11548         (gst_base_src_activate_pull):
11549         Update docs.
11550         blocksize == 0 now means the default blocksize when working in push
11551         based mode.
11552         Remove some pointless asserts in _wait function.
11553         Fix offset/length calculations and EOS handling. We can now pull 0
11554         bytes as well, which is allowed.
11555         use _check_get_range() to decide if we can operate in _pull based
11556         mode.
11557         Fix refcounting leak when check_get_range function was not 
11558         implemented.
11559         API GstBaseSrc::blocksize range can be 0 too now (default)
11560
11561         * tests/check/elements/filesrc.c: (GST_START_TEST),
11562         (filesrc_suite):
11563         Added check to test _get_range() behaviour.
11564
11565 2006-07-06  Wim Taymans  <wim@fluendo.com>
11566
11567         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11568         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11569         (gst_pad_pull_range):
11570         * gst/gstpad.h:
11571         Lots of comments and docs added to the pad functions.
11572         Flesh out the expected behaviour of the get_range() functions.
11573
11574 2006-07-06  Wim Taymans  <wim@fluendo.com>
11575
11576         * gst/gstbus.h:
11577         * gst/gstclock.h:
11578         * gst/gstevent.h:
11579         * gst/gstiterator.h:
11580         * gst/gstpad.h:
11581         * gst/gstplugin.h:
11582         * gst/gsttask.h:
11583         Remove comma at end of enumerator list. 
11584
11585 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11586
11587         * win32/common/libgstbase.def:
11588         * win32/common/libgstdataprotocol.def:
11589         * win32/common/libsgtreamer.def:
11590         Add new exported functions.
11591
11592 2006-07-05  Wim Taymans  <wim@fluendo.com>
11593
11594         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11595         Add some more docs here and there.
11596
11597 2006-07-05  Wim Taymans  <wim@fluendo.com>
11598
11599         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11600         (gst_base_sink_loop), (gst_base_sink_get_position):
11601         When operating in pull mode update the offset so that we
11602         read sequentially.
11603
11604 2006-07-05  Wim Taymans  <wim@fluendo.com>
11605
11606         * gst/gstregistryxml.c: (read_string):
11607         Avoid strdup. (will happen in libxml, but hey!)
11608
11609         * gst/gsturi.c:
11610         Add some more docs.
11611
11612 2006-07-05  Wim Taymans  <wim@fluendo.com>
11613
11614         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11615         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11616         (gst_buffer_suite):
11617         No point in checking if the size of the subbuffer > 0, the
11618         code handles it correclty as demonstrated by unit test.
11619         Also add a unit test for the zero sized _new_and_alloc and
11620         _copy. Fixes #346663.
11621
11622 2006-07-05  Wim Taymans  <wim@fluendo.com>
11623
11624         * libs/gst/base/gstbasetransform.c:
11625         (gst_base_transform_prepare_output_buffer),
11626         (gst_base_transform_buffer_alloc),
11627         (gst_base_transform_handle_buffer):
11628         Make sure the buffer we pass to transform_ip has a refcount of
11629         1 and thus is writable. Fixes #343196
11630
11631 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11632
11633         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11634         (gst_file_src_init), (gst_file_src_set_property),
11635         (gst_file_src_get_property), (gst_file_src_map_region):
11636         * plugins/elements/gstfilesrc.h:
11637         Add "sequential" property, off by default, to use madvise and hint
11638         to the kernel that sequential access is desired.
11639         Touch all retrieved pages by default to ensure they are pulled
11640         into memory. (Closes #345720)
11641
11642 2006-07-03  Wim Taymans  <wim@fluendo.com>
11643
11644         * docs/design/part-block.txt:
11645         * docs/design/part-dynamic.txt:
11646         Small docs updates.
11647
11648 2006-07-03  Wim Taymans  <wim@fluendo.com>
11649
11650         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11651         (gst_caps_unref), (gst_static_caps_get),
11652         (gst_caps_append_structure):
11653         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11654         Use GSlice when the glib we build against is >= 2.10
11655
11656 2006-07-03  Wim Taymans  <wim@fluendo.com>
11657
11658         * gst/gstelement.c: (gst_element_pads_activate):
11659         Small cleanup in pad activation code.
11660
11661 2006-07-03  Wim Taymans  <wim@fluendo.com>
11662
11663         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11664
11665         * gst/gst-i18n-app.h:
11666         * gst/gst-i18n-lib.h:
11667         * tools/gst-inspect.c: (print_signal_info):
11668         The attached patch will make the inclusion of gettext.h unconditional in
11669         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11670         libintl.h in tools/gst-inspect.c.
11671         This allows use of --disable-nls again and fixes #344642.
11672
11673 2006-07-03  Edward Hervey  <edward@fluendo.com>
11674
11675         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11676         Implement pad blocking on events according to part-block.txt.
11677         More comments on behaviour.
11678         * tests/check/gst/gstevent.c: (test_event):
11679         Send event to peer pad of blocked pad (else it will block).
11680
11681 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11682
11683         * libs/gst/check/gstcheck.c: (gst_check_message_error),
11684         (gst_check_run_suite):
11685           if we get the wrong message, give us the types as string
11686         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11687           Fix a translatable
11688         * tests/check/elements/filesrc.c: (GST_START_TEST):
11689           add a test for trying to open a non-existing file
11690
11691 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11692
11693         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11694           add a test for adding self
11695
11696 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11697
11698         * libs/gst/check/gstcheck.h:
11699           add some assert_ as alias for fail_unless_*
11700         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11701           increase test coverage
11702
11703 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11704
11705         * Makefile.am:
11706           include lcov.mak for lcov coverage generation
11707         * tools/Makefile.am:
11708           add to CLEANFILES
11709
11710 2006-07-02  Edward Hervey  <edward@fluendo.com>
11711
11712         * tests/check/elements/.cvsignore:
11713         moaping
11714
11715 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11716
11717         * configure.ac:
11718           don't set CFLAGS and friends for gcov, done from GST_GCOV now
11719         * tests/check/Makefile.am:
11720           clean up gcov files
11721
11722 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11723
11724         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11725           remove gst_caps_simplify; it was not declared and not used
11726           and deprecated in 0.8
11727
11728 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11729
11730         * docs/faq/gst-uninstalled:
11731           don't put empty paths on PYTHONPATH
11732         * docs/gst/gstreamer-sections.txt:
11733           remove some symbols that are not there
11734
11735 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11736
11737         * gst/gstcaps.c: (gst_caps_compare_structures):
11738           whitespace fixes
11739         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11740         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11741           add more tests
11742
11743 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11744
11745         * libs/gst/dataprotocol/Makefile.am:
11746           build dataprotocol test by linking to the lib, instead of
11747           compiling the source, so we get coverage
11748         * tests/check/Makefile.am:
11749         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11750         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11751           add a test for filesrc
11752
11753 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11754
11755         * tests/check/gst/gststructure.c: (GST_START_TEST),
11756         (gst_structure_suite):
11757           Push coverage from 59.04% to 70.00%
11758
11759 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11760
11761         * tests/check/Makefile.am:
11762           gst-inspect every element; this makes sure that we also get
11763           coverage on element's get/set functions
11764
11765 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11766
11767         * configure.ac:
11768           set CFLAGS and friends to -O0 if gcov is being used
11769           add GCOV LIBS
11770         * gst/Makefile.am:
11771         * libs/gst/base/Makefile.am:
11772         * libs/gst/check/Makefile.am:
11773         * libs/gst/controller/Makefile.am:
11774         * libs/gst/dataprotocol/Makefile.am:
11775         * libs/gst/net/Makefile.am:
11776         * plugins/elements/Makefile.am:
11777         * plugins/indexers/Makefile.am:
11778           add makefile rules to generate gcov data and clean up
11779         * tests/check/Makefile.am:
11780           add a coverage target that generates an html overview
11781           of coverage data
11782
11783 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11784
11785         * tests/check/elements/fakesink.c:
11786         * tests/check/elements/fakesrc.c:
11787         * tests/check/elements/fdsrc.c:
11788         * tests/check/elements/identity.c:
11789         * tests/check/generic/sinks.c: (gst_sinks_suite):
11790         * tests/check/generic/states.c:
11791         * tests/check/gst/gst.c:
11792         * tests/check/gst/gstabi.c:
11793         * tests/check/gst/gstbin.c:
11794         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11795         * tests/check/gst/gstbus.c: (gst_bus_suite):
11796         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11797         * tests/check/gst/gstelement.c:
11798         * tests/check/gst/gstevent.c: (gst_event_suite):
11799         * tests/check/gst/gstghostpad.c:
11800         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11801         * tests/check/gst/gstmessage.c: (gst_message_suite):
11802         * tests/check/gst/gstminiobject.c:
11803         * tests/check/gst/gstobject.c:
11804         * tests/check/gst/gstpad.c:
11805         * tests/check/gst/gstpipeline.c:
11806         * tests/check/gst/gstplugin.c:
11807         * tests/check/gst/gstquery.c: (gst_query_suite):
11808         * tests/check/gst/gstsegment.c: (gst_segment_suite):
11809         * tests/check/gst/gststructure.c:
11810         * tests/check/gst/gstsystemclock.c:
11811         * tests/check/gst/gsttag.c:
11812         * tests/check/gst/gsttask.c: (gst_task_suite):
11813         * tests/check/gst/gstutils.c:
11814         * tests/check/gst/gstvalue.c:
11815         * tests/check/libs/adapter.c:
11816         * tests/check/libs/basesrc.c:
11817         * tests/check/libs/collectpads.c:
11818         * tests/check/libs/controller.c:
11819         * tests/check/libs/gdp.c: (gst_dp_suite):
11820         * tests/check/libs/gstnetclientclock.c:
11821         * tests/check/libs/gstnettimeprovider.c:
11822         * tests/check/libs/libsabi.c: (libsabi_suite):
11823         * tests/check/libs/typefindhelper.c:
11824         * tests/check/pipelines/cleanup.c:
11825         * tests/check/pipelines/parse-launch.c:
11826         * tests/check/pipelines/simple-launch-lines.c:
11827         * tests/check/pipelines/stress.c: (stress_suite):
11828           use the new macro
11829
11830 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11831
11832         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11833         * libs/gst/check/gstcheck.h:
11834           create a macro and function so that the simple unit test
11835           case can be just one macro to create main()
11836
11837 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
11838
11839         * gst/gstbin.c: (gst_bin_restore_thyself):
11840         * gst/gstxml.c: (gst_xml_make_element):
11841           Fix deserialisation from XML. Set parent manually
11842           instead of using gst_bin_add(), since gst_bin_add()
11843           will unlink all pads of the element being added.
11844           Fixes #341667.
11845
11846 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
11847
11848         Patch by: Peter Kjellerstedt <pkj at axis com>
11849
11850         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11851           Fix missing g_strdup() and double free when using the
11852           --gst-plugin-load command line option (#346097).
11853
11854 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11855
11856         * gst/gstinfo.c:
11857           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11858
11859         * libs/gst/net/gstnetclientclock.c:
11860         * libs/gst/net/gstnettimeprovider.c:
11861           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11862
11863 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11864
11865         * docs/manual/advanced-dataaccess.xml:
11866           Fix buffer probe example compilation in
11867           ADM (#345708).
11868         
11869 2006-06-22  Edward Hervey  <edward@fluendo.com>
11870
11871         * gst/gstelement.c: (gst_element_pads_activate):
11872         We need to deactivate src pads first and then sink pads.
11873         The reason is the src pads might be blocking while holding the streaming
11874         lock, so we need to deactivate them first so that deactivating the sink
11875         pads doesn't block (since it will require the streaming lock).
11876
11877 2006-06-22  Wim Taymans  <wim@fluendo.com>
11878
11879         * libs/gst/base/gstbasetransform.c:
11880         (gst_base_transform_buffer_alloc):
11881         Forgot to remove two unneeded unrefs.
11882         Simplify a check _is_equal allready checks the obvious case.
11883
11884 2006-06-22  Wim Taymans  <wim@fluendo.com>
11885
11886         * docs/design/part-block.txt:
11887         Some docs about what pad_block should do.
11888
11889 2006-06-22  Wim Taymans  <wim@fluendo.com>
11890
11891         * gst/gstcaps.c: (gst_caps_replace):
11892         Fix crasher when passed NULL. Doc clarification.
11893         Optimize for the trivial case.
11894
11895         * gst/gstpipeline.c: (gst_pipeline_change_state):
11896         Small cleanups.
11897
11898         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11899         Small documentation cleanup.
11900
11901         * libs/gst/base/gstbasetransform.c:
11902         (gst_base_transform_buffer_alloc):
11903         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11904         is what we need and it avoids a whole lot of redundant 
11905         refcount operations.
11906
11907 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
11908
11909         Patch by: Philip Jägenstedt  <philip at lysator liu se>
11910
11911         * docs/manual/advanced-dataaccess.xml:
11912           Fix 'Embedding static elements' section to use
11913           GST_PLUGIN_DEFINE_STATIC (#345607).
11914
11915 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11916
11917         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11918           Attempt to 'fix' spuriously failing test case: it seems like the
11919           timeout of half a second is simply too small when the system is under
11920           load otherwise, and the timeout doesn't really seem to serve any
11921           particular purpose here. Give the pipeline a few seconds to preroll
11922           first, and then give it another half a second to go from PAUSED to
11923           PLAYING and marshal the message into the main thread.
11924
11925 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11926
11927         * tools/gst-feedback-m.m:
11928           Don't only use unversioned tools, try versioned tools as well
11929           (#345086).
11930
11931 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11932
11933         * gst/gstbus.c: (gst_bus_class_init):
11934           Fix some typos, make docs more explicit.
11935
11936 2006-06-20  Wim Taymans  <wim@fluendo.com>
11937
11938         * tests/check/gst/gstghostpad.c: (block_callback),
11939         (GST_START_TEST), (gst_ghost_pad_suite):
11940         Added some more ghostpad tests, mainly blocking
11941         and probes.
11942
11943 2006-06-16  Wim Taymans  <wim@fluendo.com>
11944
11945         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11946         (gst_file_sink_close_file), (gst_file_sink_do_seek),
11947         (gst_file_sink_event), (gst_file_sink_render):
11948         * plugins/elements/gstfilesink.h:
11949         Check if we can seek in the file instead of assuming
11950         we always can. Post an error when we are asked to seek in a
11951         non-seekable file (like a fifo). Fixes #343312.
11952         Some cleanups.
11953
11954 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11955
11956         * tools/gst-launch.1.in:
11957           Un-garble (fourcc) bit in filtered caps section.
11958
11959 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11960
11961         * docs/manual/advanced-autoplugging.xml:
11962         * docs/manual/basics-helloworld.xml:
11963         * docs/manual/highlevel-components.xml:
11964           Don't leak bus reference in sample code.
11965
11966 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
11967
11968         * autogen.sh:
11969           Add default for new --enable-plugin-docs switch.
11970
11971         * configure.ac:
11972           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
11973           Fixes #344039.
11974
11975         * docs/Makefile.am:
11976           Use new ENABLE_PLUGIN_DOCS conditional.
11977
11978 2006-06-14  Wim Taymans  <wim@fluendo.com>
11979
11980         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
11981         Make it clear with a FIXME and a real define what the #if 0
11982         previously disabled.
11983
11984 2006-06-14  Wim Taymans  <wim@fluendo.com>
11985
11986         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11987         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11988         * libs/gst/base/gstbasetransform.c:
11989         (gst_base_transform_sink_eventfunc):
11990         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11991         Don't randomly and silently reset a segment when the format 
11992         changes as this is a bug somewhere upstream. Fixes #330379.
11993
11994 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
11995
11996         Patch by: Wouter Paesen  <wouter at kangaroot net>
11997
11998         * libs/gst/controller/gstcontroller.c:
11999         (gst_controlled_property_new):
12000           Fix controlling of float properties (#344849).
12001
12002         * tests/check/libs/controller.c:
12003         (gst_test_mono_source_get_property),
12004         (gst_test_mono_source_set_property),
12005         (gst_test_mono_source_class_init), (GST_START_TEST):
12006           While we're at it, add some float stuff to unit test.
12007
12008 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12009
12010         * docs/README:
12011         * docs/images/gdp-header.svg:
12012           add a gdp image
12013         * docs/libs/Makefile.am:
12014         * docs/libs/gdp-header.png:
12015         * libs/gst/dataprotocol/dataprotocol.c:
12016           add it to the API docs
12017         * docs/manual/intro-motivation.xml:
12018           fix typo
12019
12020 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12021
12022         * gst/gst.c: (scan_and_update_registry), (init_post):
12023           If the fork()'ed child process can't write the updated registry cache
12024           file to disk for some reason, make it exit with a failure exit code,
12025           so that the parent can then re-scan the plugins itself and update the
12026           registry structures in memory and work with that (rather than failing
12027           when creating elements because seemingly no plugins are available).
12028           Refactor registry scanning code into separate function for this and
12029           also separate fork() and non-fork() code paths. Fixes #344748.
12030
12031 2006-06-13  Wim Taymans  <wim@fluendo.com>
12032
12033         * docs/manual/advanced-dataaccess.xml:
12034         Fix wrong PluginDesc. Fixes #344755.
12035
12036 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
12037
12038         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12039           Fix silly bug that prevented us from creating
12040           ~/.gstreamer-0.10 and writing the registry in one
12041           go (the first call to g_mkstemp() would overwrite the
12042           placeholder in the template string, so the second call
12043           to g_mkstemp() after creating the missing directory
12044           would then error out with 'invalid argument').
12045
12046 2006-06-13  Edward Hervey  <edward@fluendo.com>
12047
12048         * gst/gst.c: (init_post):
12049         Free string.
12050
12051 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12052
12053         * gst/glib-compat-private.h:
12054         * gst/glib-compat.c:
12055         * gst/glib-compat.h:
12056         * gst/gstvalue.c: (gst_value_serialize_flags):
12057           remove GLib 2.6 compatibility code
12058
12059 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
12060
12061         * gst/parse/Makefile.am:
12062           Fix build with 'make -j N' even more (#340016).
12063
12064 2006-06-12  Wim Taymans  <wim@fluendo.com>
12065
12066         * docs/gst/gstreamer-sections.txt:
12067         Fix docs.
12068
12069 2006-06-12  Wim Taymans  <wim@fluendo.com>
12070
12071         * gst/gstsegment.c: (gst_segment_set_duration),
12072         (gst_segment_set_last_stop), (gst_segment_set_seek),
12073         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12074         (gst_segment_to_running_time), (gst_segment_clip):
12075         Use G_UNLIKELY to help the compiler a bit.
12076
12077 2006-06-12  Wim Taymans  <wim@fluendo.com>
12078
12079         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12080
12081         * gst/gstevent.c: (gst_event_get_type):
12082         * gst/gstmessage.c:
12083         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12084         (gst_pad_push):
12085         constify quark registration strings. Fixes #344115
12086         Avoid unneeded type checking is _pad_push() by internally
12087         calling gst_pad_chain_unchecked().
12088
12089 2006-06-12  Wim Taymans  <wim@fluendo.com>
12090
12091         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12092         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12093         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12094         (gst_buffer_is_span_fast), (gst_buffer_span):
12095         Init _type for consistency.
12096         Use _FLAGS macro to avoid type check.
12097         Avoid unneeded type checks in subbufer code.
12098
12099 2006-06-12  Wim Taymans  <wim@fluendo.com>
12100
12101         * gst/gst.c: (gst_debug_help):
12102         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12103         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12104         (gst_plugin_feature_list_free):
12105         * gst/gstregistry.c: (gst_registry_add_plugin),
12106         (gst_registry_add_feature), (gst_registry_plugin_filter),
12107         (gst_registry_feature_filter), (gst_registry_find_plugin),
12108         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12109         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12110         * gst/gstregistryxml.c: (load_feature),
12111         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12112         * gst/gstminiobject.c: (gst_mini_object_unref),
12113         (gst_mini_object_replace), (gst_value_mini_object_free),
12114         (gst_value_mini_object_copy):
12115         Use _CAST macros to avoid unneeded type checking.
12116         Added some more G_UNLIKELY.
12117
12118 2006-06-12  Wim Taymans  <wim@fluendo.com>
12119
12120         * gst/gstbuffer.h:
12121         Avoid unneeded type checking.
12122         API: GST_BUFFER_IS_DISCONT
12123
12124         * gst/gstminiobject.h:
12125         Avoid type check in flag accessor.
12126
12127         * gst/gstelementfactory.h:
12128         * gst/gstplugin.h:
12129         * gst/gstpluginfeature.h:
12130         Add _CAST macros.
12131         API: GST_ELEMENT_FACTORY_CAST
12132         API: GST_PLUGIN_CAST
12133         API: GST_PLUGIN_FEATURE_CAST
12134
12135 2006-06-12  Wim Taymans  <wim@fluendo.com>
12136
12137         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12138         (gst_object_unref):
12139         Add G_UNLIKELY in type registration.
12140         Avoid type check in _ref/_unref since that is also
12141         done in glib.
12142
12143 2006-06-12  Wim Taymans  <wim@fluendo.com>
12144
12145         * gst/gsterror.c: (gst_g_error_get_type):
12146         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12147         (gst_static_pad_template_get_type):
12148         * gst/gsttaglist.c: (gst_tag_list_get_type):
12149         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12150         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12151         * gst/gsturi.c: (gst_uri_handler_get_type):
12152         * gst/gstvalue.c: (gst_date_get_type):
12153         * gst/gstxml.c: (gst_xml_get_type):
12154         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12155         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12156         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12157         Add G_UNLIKELY in type registration.
12158
12159 2006-06-12  Wim Taymans  <wim@fluendo.com>
12160
12161         * tools/gst-inspect.c: (print_signal_info):
12162         Properly print enum values.
12163
12164 2006-06-12  Wim Taymans  <wim@fluendo.com>
12165
12166         * gst/gstinfo.c: (gst_debug_set_active),
12167         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12168         * gst/gstinfo.h:
12169         Add some G_[UN]LIKELY.
12170         Maintain __gst_debug_min to avoid formatting the arguments of
12171         debug messages that will be dropped anyway to avoid a lot of 
12172         overhead from the debugging system.
12173
12174 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12175
12176         * po/POTFILES.in:
12177         * po/POTFILES.skip:
12178           add missing files containing translatable strings, tell intltool about
12179           one exception
12180
12181 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12182
12183         * tests/check/libs/.cvsignore:
12184         add test-binary to ignore list
12185
12186 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12187
12188         * docs/libs/gstreamer-libs-docs.sgml:
12189         reorder (put dp into a chapter) and indent
12190
12191 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12192
12193         * configure.ac:
12194           back to HEAD
12195
12196 === release 0.10.8 ===
12197
12198 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12199
12200         * configure.ac:
12201           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12202
12203 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12204
12205         * gst/gst.c: (init_post):
12206           move pid declaration to declaration block
12207
12208 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12209
12210         * gst/gst.c: (init_post):
12211           use _exit() instead of exit() in our forked child; this ensures
12212           that none of the registered exit handlers from whatever is using
12213           GStreamer get executed.  This fixes gnome-mixer-applet failing
12214           to load, because ORBit would shut down.
12215           Spotted by: Edward Hervey  <edward@fluendo.com>
12216           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12217           Fixes #344474
12218
12219 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12220
12221         * configure.ac:
12222           back to TRUNK
12223
12224 === release 0.10.7 ===
12225
12226 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12227
12228         * configure.ac:
12229           releasing 0.10.7, "Soepeke, ik zie ou"
12230
12231 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12232
12233         * configure.ac:
12234         * po/af.po:
12235         * po/az.po:
12236         * po/bg.po:
12237         * po/ca.po:
12238         * po/cs.po:
12239         * po/de.po:
12240         * po/en_GB.po:
12241         * po/fr.po:
12242         * po/it.po:
12243         * po/nb.po:
12244         * po/nl.po:
12245         * po/ru.po:
12246         * po/sq.po:
12247         * po/sr.po:
12248         * po/sv.po:
12249         * po/tr.po:
12250         * po/uk.po:
12251         * po/vi.po:
12252         * po/zh_CN.po:
12253         * po/zh_TW.po:
12254         * win32/common/config.h:
12255           0.10.6.2 prerelease
12256
12257 2006-06-07  Wim Taymans  <wim@fluendo.com>
12258
12259         * gst/gstindex.c: (gst_index_gtype_resolver):
12260         * tools/gst-xmlinspect.c: (print_plugin_info):
12261         Fix leak spotted by coverity checker. Fixes #343827
12262         Fix another other leak found by paolo borelli.
12263
12264 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12265
12266         * libs/gst/dataprotocol/dataprotocol.c:
12267         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12268         (gst_dp_version_get_type), (gst_dp_init),
12269         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12270         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12271         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12272         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12273         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12274         (gst_dp_packetizer_free):
12275         * libs/gst/dataprotocol/dataprotocol.h:
12276           API: add a GstDPPacketizer object, and create/free functions
12277           API: add GstDPVersion enum
12278           Add 1.0 event function that uses the string serialization
12279           Serialize more useful buffer flags
12280           Fixes #343988
12281
12282 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12283
12284         * tests/check/Makefile.am:
12285         * tests/check/gst/gstabi.c:
12286         * tests/check/gst/struct_ppc64.h:
12287         * tests/check/libs/libsabi.c:
12288         * tests/check/libs/struct_ppc64.h:
12289           add ppc64 structure sizes
12290
12291 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12292
12293         * tests/check/Makefile.am:
12294         * tests/check/gst/gstabi.c:
12295         * tests/check/gst/struct_x86_64.h:
12296         * tests/check/libs/libsabi.c:
12297         * tests/check/libs/struct_x86_64.h:
12298           generate and add structure size lists for x86_64
12299
12300 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12301
12302         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12303         * libs/gst/check/gstcheck.h:
12304           factor out the method from tests that checks size of structures,
12305           and add code to generate the header containing these sizes
12306         * tests/check/gst/gstabi.c: (GST_START_TEST):
12307         * tests/check/gst/struct_i386.h:
12308         * tests/check/libs/libsabi.c: (GST_START_TEST):
12309         * tests/check/libs/struct_i386.h:
12310           use it
12311
12312 2006-06-06  Michael Smith  <msmith@fluendo.com>
12313
12314         * gst/gstsegment.h:
12315           Don't use c++-style comments, fixes #343929
12316
12317 2006-06-05  Edward Hervey  <edward@fluendo.com>
12318
12319         * gst/gst.c:
12320         plugin_paths is not used if we build without registry support.
12321
12322         * gst/gstsegment.c: (gst_segment_copy): 
12323         _copy() was always returning NULL...
12324
12325 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12326
12327         * libs/gst/dataprotocol/dataprotocol.c:
12328         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12329         (gst_dp_packet_from_event):
12330           factor out CRC code
12331
12332 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12333
12334         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12335           make sure we unset caps
12336
12337 2006-06-02  Michael Smith  <msmith@fluendo.com>
12338
12339         * libs/gst/check/gstcheck.c: (gst_check_init),
12340         (gst_check_chain_func):
12341         * libs/gst/check/gstcheck.h:
12342           Add a cond/mutex to the check support lib, signal this whenever we
12343           add to the buffers list. This will allow tests to not busy-wait on
12344           the buffer-list.
12345
12346 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12347
12348         * libs/gst/dataprotocol/dataprotocol.c:
12349         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12350         (gst_dp_packet_from_event):
12351           factor out some common header init code
12352
12353 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12354
12355         * docs/libs/gstreamer-libs-sections.txt:
12356         * docs/libs/tmpl/gstdataprotocol.sgml:
12357         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12358         * libs/gst/dataprotocol/dataprotocol.h:
12359           API: make gst_dp_crc() public
12360
12361 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12362
12363         * plugins/indexers/gstindexers.c: (plugin_init):
12364         conditionally register fileindexer (fixes #343598)
12365
12366 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12367
12368         * gst/gsttagsetter.h:
12369         Can't cast ifaces to a class
12370
12371         * libs/gst/net/gstnetclientclock.h:
12372         * libs/gst/net/gstnettimeprovider.h:
12373         * plugins/elements/gstfakesink.h:
12374         * plugins/elements/gstfakesrc.h:
12375         * plugins/elements/gstfdsink.h:
12376         * plugins/elements/gstfdsrc.h:
12377         * plugins/elements/gstfilesink.h:
12378         * plugins/elements/gstfilesrc.h:
12379         * plugins/elements/gstidentity.h:
12380         * plugins/elements/gstqueue.h:
12381         * plugins/elements/gsttee.h:
12382         * plugins/indexers/gstfileindex.c:
12383         * plugins/indexers/gstmemindex.c:
12384         * tests/old/examples/plugins/example.h:
12385         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12386
12387 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12388
12389         * libs/gst/dataprotocol/dataprotocol.c:
12390         (gst_dp_header_from_buffer):
12391           make sure we zero the whole ABI-compatible area
12392
12393 2006-06-01  Wim Taymans  <wim@fluendo.com>
12394
12395         Patch by: Alessandro Decina <alessandro at nnva dot org>
12396
12397         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12398         Make sure the EOS flag is cleared from pads after a flush
12399         or stop. Fixes #343538.
12400
12401         * tests/check/libs/collectpads.c: (GST_START_TEST),
12402         (gst_collect_pads_suite):
12403         Added test for collectpads reusage after EOS.
12404
12405 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12406
12407         * gst/gst.c:
12408          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12409         * win32/common/libgstbase.def:
12410          export gst_collect_pads_set_flushing
12411         * win32/common/libgstreamer.def:
12412          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12413          gst_value_fraction_multiply
12414         * win32/vs6/gst_inspect.dsp:
12415          add a link to intl.lib
12416
12417 2006-05-30  Wim Taymans  <wim@fluendo.com>
12418
12419         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12420         (gst_collect_pads_chain):
12421         Handle the case where a pad is removed from the collection
12422         that could cause the other pads to become collectable.
12423
12424 2006-05-30  Wim Taymans  <wim@fluendo.com>
12425
12426         * gst/gstelement.c:
12427         Clarify the use of _release_request_pad() and
12428         _get_request_pad() a bit better.
12429
12430         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12431         (gst_adapter_take_buffer):
12432         Fix some doc and comment typos.
12433
12434 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12435
12436         * docs/gst/gstreamer-sections.txt:
12437         * docs/libs/gstreamer-libs-sections.txt:
12438           add declared symbols
12439
12440 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12441
12442         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12443         Add debug that can be enabled using a #define at the top of the file,
12444         for dumping stats about how late/early we were when waking up from
12445         waiting on the clock.
12446
12447 2006-05-30  Wim Taymans  <wim@fluendo.com>
12448
12449         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12450         When rebuilding the pad list, don't leak the previous list.
12451
12452 2006-05-30  Wim Taymans  <wim@fluendo.com>
12453
12454         Patch by: Lutz Mueller <lutz at topfrose dot de>
12455
12456         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12457         (gst_base_src_get_query_types), (gst_base_src_update_length):
12458         Publish supported query types.
12459         Update last_stop field in get_range mode so the position
12460         query works. Fixes #342321.
12461
12462 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12463
12464         * docs/gst/gstreamer-sections.txt:
12465         * gst/gsttaglist.c: (_gst_tag_initialize):
12466         * gst/gsttaglist.h:
12467           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12468
12469 2006-05-30  Wim Taymans  <wim@fluendo.com>
12470
12471         Patch by: Alessandro Decina <alessandro at nnva dot org>
12472
12473         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12474         Unlock mutex when removing an unknown pad.
12475         Fixes #343334.
12476
12477         * tests/check/Makefile.am:
12478         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12479         (push_event), (setup), (teardown), (GST_START_TEST),
12480         (gst_collect_pads_suite), (main):
12481         Added collecpads check, disabled for now as check crashes for
12482         some reason.
12483
12484 2006-05-29  Wim Taymans  <wim@fluendo.com>
12485
12486         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12487         Don't leak pads lists.
12488
12489 2006-05-29  Wim Taymans  <wim@fluendo.com>
12490
12491         * docs/libs/gstreamer-libs-sections.txt:
12492         * libs/gst/base/gstcollectpads.c:
12493         (gst_collect_pads_set_flushing_unlocked),
12494         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12495         (gst_collect_pads_stop):
12496         * libs/gst/base/gstcollectpads.h:
12497         API: gst_collect_pads_set_flushing()
12498         Added api to set the pads to flushing, useful for seeking
12499         code in elements using collectpads.
12500         Clear segment when receiving a flush.
12501
12502 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12503
12504         * gst/gst.c: (add_path_func), (init_post):
12505           Don't scan registry paths passed via --gst-plugin-path immediately
12506           (will crash, because absolutely nothing is set up and no types are
12507           registered etc.); do this later in init_post(). Fixes #343057.
12508
12509 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12510
12511         * gst/gst.c: (init_post):
12512           if we have fork, fork while reading/rebuilding the registry
12513           so the parent doesn't take the hit of having all plugins loaded
12514           in memory.  Fixes #342777.
12515         * configure.ac:
12516           Check if we have fork()
12517         * win32/common/config.h.in:
12518           no fork() on win32
12519
12520 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12521
12522         * plugins/elements/gstelements.c:
12523         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12524         (gst_file_src_init), (gst_file_src_set_property),
12525         (gst_file_src_get_property), (gst_file_src_start):
12526         * plugins/elements/gstfilesrc.h:
12527           API: GstFileSrc::use-mmap
12528
12529         Add a use-mmap property to enable easier testing of all code paths.
12530         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12531         in the absence of gnomevfssrc. (Closes #340501)
12532
12533 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12534
12535         * tools/gst-inspect.c:
12536         Add missing include, removes warning of ngettext not being defined on
12537         some arches.
12538
12539 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12540
12541         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12542         Handle NULL input and output pointers silently as a failed conversion,
12543         rather than g_warnings.
12544
12545 2006-05-25  Wim Taymans  <wim@fluendo.com>
12546
12547         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12548         Initialize variable before using. Fixes #342820.
12549
12550 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12551
12552         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12553           Fix off-by-one bug that would only allow peeks of N-1 bytes
12554           from the start even if the buffer to typefind on contains
12555           in fact N bytes of data (makes vorbis typefinding from a
12556           vorbis identification header buffer work).
12557
12558         * tests/check/Makefile.am:
12559         * tests/check/libs/.cvsignore:
12560         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12561         (gst_typefindhelper_suite), (main), (foobar_typefind),
12562         (plugin_init):
12563           Add very basic unit test for gst_type_find_helper_for_buffer()
12564           that checks for the problem fixed above.
12565
12566 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12567
12568         * tools/gst-inspect.c: (print_interfaces),
12569         (print_element_properties_info), (print_element_list), (main):
12570           add more translatable strings
12571
12572 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12573
12574         Patch by: Julien Moutte  <julien at moutte net>
12575
12576         * docs/gst/gstreamer-sections.txt:
12577           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12578           
12579         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12580         (gst_fake_sink_preroll):
12581         * plugins/elements/gstfakesink.h:
12582           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12583
12584 2006-05-23  Wim Taymans  <wim@fluendo.com>
12585
12586         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12587         * gst/gstpad.h:
12588         Added _CUSTOM error and success GstFlowReturn that can be
12589         used be elements internally. 
12590         Added macro to check for SUCCESS flowreturns.
12591         API: GST_FLOW_CUSTOM_SUCCESS
12592         API: GST_FLOW_CUSTOM_ERROR
12593         API: GST_FLOW_IS_SUCCESS
12594
12595         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12596         Added check for GstFlowReturn sanity.
12597
12598 2006-05-23  Wim Taymans  <wim@fluendo.com>
12599
12600         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12601
12602         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12603         (gst_collect_pads_event):
12604         clear/reset segment info in FLUSH_STOP.
12605         Fixes #336929.
12606
12607 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12608
12609         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12610         (gst_collect_pads_check_collected):
12611         Flush queued buffer on _stop(), fixes playing again (#342454)
12612
12613 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12614
12615         * tests/check/gst/gststructure.c: (GST_START_TEST),
12616         (gst_structure_suite):
12617           add a test for a complete structure
12618
12619 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12620
12621         * docs/faq/developing.xml:
12622         * docs/faq/faq.xml:
12623         * docs/faq/troubleshooting.xml:
12624         * docs/faq/using.xml:
12625           Some minor FAQ updates that won't change the fact that
12626           our FAQ is badly structured, full of information hardly
12627           anyone new to GStreamer needs to know and lacking lots
12628           of information people constantly ask for.
12629           
12630 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12631
12632         * gst/gstpad.c: (gst_pad_set_caps):
12633           Short-circuit gst_pad_set_caps if setting the existing
12634           caps pointer again, and avoid printing debug and 
12635           reffing/unreffing the caps.
12636
12637         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12638           There's actually no need to set the caps before pushing -
12639           the acceptcaps method will handle it anyway.
12640
12641 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12642
12643         * docs/gst/gstreamer-sections.txt:
12644         * win32/common/libgstreamer.def:
12645         * gst/gstutils.c: (gst_element_seek_simple):
12646         * gst/gstutils.h:
12647           API: add gst_element_seek_simple() (#342238).
12648
12649 2006-05-18  Edward Hervey  <edward@fluendo.com>
12650
12651         * gst/gsttypefind.c: (gst_type_find_get_type):
12652         * gst/gsttypefind.h:
12653         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12654         registered for GstTypeFind pointers. This allows wrapping the structure
12655         in bindings (i.e. gst-python).
12656
12657 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12658
12659         * gst/gsttagsetter.c:
12660           Docs additions and fixes (see #339918).
12661
12662 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12663
12664         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12665         The caps intersection algorithm can produce multiple copies of the
12666         caps. Until that is fixed, we need to simplify the result to be
12667         sure whether the allowed caps are fixed or not.
12668
12669         * plugins/elements/gstqueue.c: (gst_queue_init),
12670         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12671         (gst_queue_push_one):
12672         Proxied buffer alloc should not set the caps on the source pad.
12673         When pushing buffers, we always accept the caps change that triggers.
12674         This prevents negotiation errors caused by caps changing mid-stream 
12675         and then being refused on our source pad (because upstream is now
12676         refusing those caps).
12677
12678 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12679
12680         * tests/examples/helloworld/helloworld.c: (main):
12681           Must plug audioconvert and audioresample between decoder
12682           and audio sink.
12683
12684 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
12685
12686         * gst/gstregistryxml.c: (read_string), (load_pad_template),
12687         (load_feature), (load_plugin):
12688         Allow empty strings for some of the plugin fields so we don't 
12689         drop valid plugin entries that were written out correctly
12690         (Fixes #341479)
12691
12692 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
12693         
12694         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12695           Use g_remove and g_rename instead of remove and rename that don't 
12696           handle utf8 characters. rename was failing for users who had specific
12697           characters in their name then the registry was built at each 
12698           gstreamer init.
12699         * win32/vs6/gst_inspect.dsp:
12700         * win32/vs6/gst_launch.dsp:
12701         * win32/vs6/libgstbase.dsp:
12702         * win32/vs6/libgstcoreelements.dsp:
12703         * win32/vs6/libgstreamer.dsp:
12704           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
12705           build of libgstreamer and clean unused libraries in projects link 
12706           settings.
12707
12708 2006-05-17  Edward Hervey  <edward@fluendo.com>
12709
12710         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12711         The queue is not responsible for pushing an EOS when receiving a fatal
12712         flow error. It's up to the real element driving the pipeline to do that.
12713
12714 2006-05-16  Edward Hervey  <edward@fluendo.com>
12715
12716         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12717         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12718         buffer returned a fatal error. It should just send an EOS and stop
12719         its task.
12720         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12721         when pushing buffers on the queue and will be able to handle the event.
12722
12723 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
12724
12725         * docs/manual/basics-bins.xml:
12726         * docs/manual/basics-init.xml:
12727           Fix typos and minor errors in sample code (#341856).
12728
12729 2006-05-16  Wim Taymans  <wim@fluendo.com>
12730
12731         * docs/design/part-qos.txt:
12732         Fix indexes in formulas to make more sense.
12733
12734 2006-05-15  Wim Taymans  <wim@fluendo.com>
12735
12736         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12737         Don't report POSITION based on clock time if sync is
12738         disabled in a sink.
12739
12740 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
12741
12742         * gst/gstobject.h:
12743           Add cast to make compiler happy - refcount variable was a gint
12744           in GstObject but is a guint in GObject and g_atomic_int_get()
12745           wants a gint *.
12746
12747 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12748
12749         * gst/parse/Makefile.am:
12750           chain commands using &&, which also makes parallel make work
12751
12752 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
12753
12754         * docs/gst/gstreamer-sections.txt:
12755         * gst/gstevent.c:
12756         * gst/gstevent.h:
12757         * gst/gstmessage.h:
12758           Minor docs fixes.
12759
12760 === release 0.10.6 ===
12761
12762 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
12763
12764         * configure.ac:
12765           releasing 0.10.6, "Take the cannoli"
12766
12767 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
12768
12769         * tools/gst-launch.c: (print_tag):
12770           Fix use of uninitialized variable in the hypothetical
12771           case that some broken plugin creates a GST_TAG_IMAGE
12772           tag containing a NULL buffer (#341667).
12773
12774 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
12775
12776         * tools/gst-launch.c: (print_tag):
12777           Print something more intelligible for image tags when
12778           using the -t switch (#341556).
12779
12780 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12781
12782         * Makefile.am:
12783           updates for win32
12784         * configure.ac:
12785           define GST_MAJORMINOR so we have it available in win32/common/config.h
12786           Possibly remove it from our Makefile.am files later
12787         * win32/common/config.h:
12788         * win32/common/config.h.in:
12789           added GST_MAJORMINOR
12790         * win32/common/gstenumtypes.c: (register_gst_resource_error):
12791         * win32/common/gstversion.h:
12792           updated
12793
12794 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
12795
12796         * win32/MANIFEST:
12797           Update win32 files listing.
12798         * win32/common/gstversion.h:
12799           Add GST_MAJORMINOR definition.
12800         * win32/common/libgstreamer.def:
12801           Add new exported functions.
12802           
12803 2006-05-12  Michael Smith  <msmith@fluendo.com>
12804
12805         * gst/gstplugin.c: (gst_plugin_load_file):
12806           If an so file has no plugin entry point, unload the module.
12807
12808 2006-05-11  Wim Taymans  <wim@fluendo.com>
12809
12810         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12811         (gst_queue_set_property):
12812         Don't forget to signal the _chain or _loop function 
12813         when the queue size or thresholds change since that might
12814         cause them to make progres again.
12815
12816 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
12817
12818         * gst/gstclock.c: (gst_clock_class_init):
12819         * gst/gstindex.c: (gst_index_class_init):
12820         * gst/gstobject.c: (gst_object_class_init):
12821         * gst/gstpad.c: (gst_pad_class_init):
12822         * gst/gstpipeline.c: (gst_pipeline_class_init):
12823         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12824         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12825         * libs/gst/base/gstbasetransform.c:
12826         (gst_base_transform_class_init):
12827         * libs/gst/net/gstnetclientclock.c:
12828         (gst_net_client_clock_class_init):
12829         * libs/gst/net/gstnettimeprovider.c:
12830         (gst_net_time_provider_class_init):
12831         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12832         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12833         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12834         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12835         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12836         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12837         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12838         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12839         * plugins/elements/gsttee.c: (gst_tee_class_init):
12840         * tests/old/examples/plugins/example.c: (gst_example_class_init):
12841         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12842           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12843
12844 2006-05-11  Wim Taymans  <wim@fluendo.com>
12845
12846         * gst/gstbuffer.c: (_gst_buffer_initialize):
12847         Register subbufer along with the buffer type so that
12848         it does not accidentally gets registered from N
12849         different streaming threads in a non threadsafe way.
12850
12851 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12852
12853         * gst/gstbuffer.h:
12854         * gst/gstevent.h:
12855         * gst/gstmessage.h:
12856           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12857           gst_event_ref() and gst_message_ref() functions again
12858           (ugly hack, please do fix if there's a better way besides
12859           overrides.txt, which doesn't seem to work).
12860
12861 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12862
12863         * libs/gst/check/gstcheck.h:
12864           add an assert for setting state to avoid lots of repetitive code
12865           in the future
12866
12867 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12868
12869         * gst/gstvalue.c: (gst_value_serialize_flags):
12870           fix a leak if no flags are set
12871         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12872           fix leak in tests
12873
12874 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12875
12876         * docs/manual/basics-pads.xml:
12877           Expand a bit on caps and filtered links and update
12878           examples that were still using the no longer existing
12879           gst_pad_link_filtered() (#338206).
12880
12881 2006-05-10  Wim Taymans  <wim@fluendo.com>
12882
12883         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12884         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12885         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12886         (gst_collect_pads_stop):
12887         * libs/gst/base/gstcollectpads.h:
12888         No need to call _stop in _finalize.
12889         Iterate the main pad list in _finalize.
12890         Added some more debug.
12891         Free lists and data in the right order.
12892         Also free data whem doing _remove_pad when stopped for
12893         backward compatibility protect ::started with PAD_LOCK as
12894         well.
12895
12896 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12897
12898         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12899         (gst_structure_parse_value):
12900           add some comments
12901           rename a method so that it actually says what it does better
12902
12903 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12904
12905         * gst/gstevent.c: (_gst_event_initialize):
12906         * gst/gstformat.c: (_gst_format_initialize):
12907           make sure some essential types used by events are registered
12908           as part of gst_init()
12909         * gst/gstvalue.c: (gst_value_serialize_flags):
12910           if no flags are set, serialize them to a value that represents NONE
12911           so that deserializing them works
12912         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12913           add tests for serialization and deserialization of flags
12914
12915 2006-05-10  Wim Taymans  <wim@fluendo.com>
12916
12917         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12918         (gst_collect_pads_collect_range), (gst_collect_pads_available),
12919         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12920         (gst_collect_pads_event), (gst_collect_pads_chain):
12921         Update docs.
12922         Better debug info.
12923         Catch and return errors from the collect function
12924         Refuse data on eos pads.
12925
12926 2006-05-10  Edward Hervey  <edward@fluendo.com>
12927
12928         * gst/gstinterface.h:
12929         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12930         GInterface type checking.
12931         They were previously using non-defined macros.
12932
12933 2006-05-09  Wim Taymans  <wim@fluendo.com>
12934
12935         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12936         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12937         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12938         (gst_collect_pads_start), (gst_collect_pads_stop),
12939         (gst_collect_pads_peek), (gst_collect_pads_pop),
12940         (gst_collect_pads_available), (gst_collect_pads_read),
12941         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12942         (gst_collect_pads_is_collected), (gst_collect_pads_event),
12943         (gst_collect_pads_chain):
12944         * libs/gst/base/gstcollectpads.h:
12945         Clean up the mess that is collectpads, add comments and
12946         FIXMEs where needed.
12947         Maintain a separate pad list so we can add pads while
12948         collecting the other ones. For this we need a new separate 
12949         lock (see comics).
12950         Fix memory leak in finalize.
12951         Refactor some weird code to set/unset pad flushing flags, mark
12952         with comments.
12953         Don't crash in _available, _read, _flush when we're EOS.
12954
12955         * tests/check/libs/.cvsignore:
12956         Ignore adapter check binary.
12957
12958 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12959
12960         * gst/gstindex.c: (gst_index_resolver_get_type):
12961         * plugins/elements/gstfakesink.c:
12962         (gst_fake_sink_state_error_get_type):
12963         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12964         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
12965         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
12966           Const-ify GEnumValue arrays.
12967
12968 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12969
12970         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12971           Add test case for flags + gst_buffer_make_metadata_writable().
12972
12973 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12974
12975         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
12976           gst_buffer_make_metadata_writable() should maintain the
12977           buffer flags (those that make sense at least) (see #340859).
12978
12979 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12980
12981         * tools/gst-inspect.c:
12982         * tools/gst-launch.c:
12983         * tools/gst-typefind.c:
12984         * tools/gst-xmlinspect.c:
12985         * tools/tools.h:
12986           Fix up includes: need to include stdlib.h in tools.h for exit().
12987
12988 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12989
12990         * gst/gsttaglist.c: (_gst_tag_initialize):
12991         * gst/gsttaglist.h:
12992           API: add GST_TAG_IMAGE tag (#340721).
12993
12994 2006-05-08  Wim Taymans  <wim@fluendo.com>
12995
12996         * gst/gstquery.c:
12997         Added some docs for the segment query.
12998
12999 2006-05-08  Wim Taymans  <wim@fluendo.com>
13000
13001         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13002         (gst_base_src_loop), (gst_base_src_change_state):
13003         Always push non-flushing serialized events in the streaming 
13004         thread.
13005
13006 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
13007
13008         * gst/gsterror.c: (_gst_stream_errors_init):
13009           Add a missing error string.
13010
13011 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
13012
13013         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13014         Add applied_rate to the debug
13015
13016         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13017         Copy applied_rate into the outgoing NEWSEGMENT event
13018
13019 2006-05-08  Wim Taymans  <wim@fluendo.com>
13020
13021         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13022
13023         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13024         (gst_base_sink_change_state):
13025         call ::unlock before taking the PREROLL_LOCK so we can safely
13026         handle elements that lock in ::render.
13027         Fixes #340174.
13028
13029 2006-05-08  Edward Hervey  <edward@fluendo.com>
13030
13031         * autogen.sh: (CONFIGURE_DEF_OPT): 
13032         Darwin's libtoolize is in fact called glibtoolize.
13033         Adding glibtoolize to the list of accepted names for libtoolize.
13034
13035 2006-05-08  Wim Taymans  <wim@fluendo.com>
13036
13037         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13038         Unify error handling, don't post an error message
13039         when a push() returns EOS but perform our normal EOS
13040         handling code. Fixes #340772.
13041
13042 2006-05-08  Wim Taymans  <wim@fluendo.com>
13043
13044         * docs/design/part-overview.txt:
13045         Make upsteam/downstream concepts more clear.
13046         Give an example of serialized/non-serialized events.
13047
13048         * docs/design/part-events.txt:
13049         * docs/design/part-streams.txt:
13050         Mention applied_rate.
13051
13052         * docs/design/part-trickmodes.txt:
13053         Mention applied rate, flesh out some more use cases.
13054
13055         * gst/gstevent.c: (gst_event_new_new_segment),
13056         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13057         (gst_event_parse_new_segment_full), (gst_event_new_tag),
13058         (gst_event_parse_tag), (gst_event_new_buffer_size),
13059         (gst_event_parse_buffer_size), (gst_event_new_qos),
13060         (gst_event_parse_qos), (gst_event_parse_seek),
13061         (gst_event_new_navigation):
13062         * gst/gstevent.h:
13063         Add applied_rate field to NEWSEGMENT event.
13064         API: gst_event_new_new_segment_full()
13065         API: gst_event_parse_new_segment_full()
13066
13067         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13068         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13069         (gst_segment_to_stream_time), (gst_segment_to_running_time):
13070         * gst/gstsegment.h:
13071         Add applied_rate to GstSegment structure.
13072         Make calculation of stream_time and running_time more correct
13073         wrt rate/applied_rate.
13074         Add some more docs.
13075         API: GstSegment::applied_rate field
13076         API: gst_segment_set_newsegment_full();
13077
13078         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13079         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13080         * libs/gst/base/gstbasetransform.c:
13081         (gst_base_transform_sink_eventfunc),
13082         (gst_base_transform_handle_buffer):
13083         Parse and use applied_rate in the GstSegment field.
13084
13085         * tests/check/gst/gstevent.c: (GST_START_TEST):
13086         Add check for applied_rate field.
13087
13088         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13089         (gstsegments_suite):
13090         Add more checks for various GstSegment operations.
13091
13092 2006-05-08  Wim Taymans  <wim@fluendo.com>
13093
13094         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13095         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13096         (gst_base_sink_get_position), (gst_base_sink_change_state):
13097         Store the sync time of the buffer end position separatly in a
13098         new variable eos_rtime so we can properly sync the EOS event.
13099         Fixes #340697.
13100         Fix the docs for gst_base_sink_set_qos_enabled().
13101         Don't set segment start to invalid value when we receive a 
13102         non TIME newsegment.
13103         get closer to handling position reporting for negative rates 
13104         correctly.
13105
13106 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13107
13108         * gst/gstcaps.c:
13109         Docs about how to print caps for debug purposes.
13110
13111         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13112         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13113
13114 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13115
13116         * gst/gstelement.c:
13117           use full enum names and preprend a '%' in docs strings to make recent 
13118           gtk-doc turn that into a link
13119
13120 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13121
13122         * docs/manual/basics-bins.xml:
13123         * docs/manual/basics-bus.xml:
13124         * docs/manual/basics-pads.xml:
13125           Some typo fixes, some additions, some clarifications. 
13126
13127 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13128
13129         * tools/gst-inspect.c: (main):
13130         * tools/gst-launch.c: (main):
13131         * tools/gst-run.c: (main):
13132         * tools/gst-typefind.c: (main):
13133         * tools/gst-xmlinspect.c: (main):
13134           Use the string passed to g_option_context_new() for
13135           what it's intended for - the program name is already
13136           printed elsewhere.
13137
13138 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13139
13140         * tools/Makefile.am:
13141         * tools/gst-inspect.c: (main):
13142         * tools/gst-launch.c: (main):
13143         * tools/gst-xmlinspect.c: (main):
13144         * tools/tools.h:
13145           Add back --version command line option (#340460).
13146
13147         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13148           Add --version option and use GOption for argument parsing; refactor a
13149           bit; accept directories as arguments and recurse into them; lastly,
13150           print a decent error message when things go wrong.
13151
13152 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13153
13154         * docs/manual/basics-bins.xml:
13155         Don't mention GstThread (#340611)
13156         * docs/manual/basics-elements.xml:
13157         Update link to GObject tutorial (#340607)
13158         
13159 2006-05-05  Wim Taymans  <wim@fluendo.com>
13160
13161         * gst/gstbuffer.h:
13162         * gst/gstminiobject.c:
13163         Add note about refcounting and miniobject/buffer writeability
13164         to docs. Fixes #340604
13165
13166         * gst/gstelementfactory.h:
13167         Added some explanation about @klass.
13168
13169 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13170
13171         * docs/manual/intro-motivation.xml:
13172         * docs/manual/manual.xml:
13173         Avoid CORBA & Bonobo references (#340598)
13174
13175 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13176
13177         * docs/manual/basics-bus.xml:
13178         * docs/manual/basics-pads.xml:
13179         Fix up some inaccuracies and omissions (#340609)
13180         
13181 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13182
13183         * gst/gstghostpad.c:
13184           Small typo in docs (#340625)
13185
13186 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13187
13188         * gst/parse/Makefile.am:
13189           Make 'make -j' proof (see #340698).
13190
13191 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13192
13193         * configure.ac:
13194           Require GLib-2.8 here as well.
13195
13196 2006-05-05  Wim Taymans  <wim@fluendo.com>
13197
13198         * gst/glib-compat.c:
13199         * gst/gst.c: (init_pre):
13200         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13201         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13202         (gst_object_dispatch_properties_changed):
13203         * gst/gstobject.h:
13204         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13205         * gst/gststructure.c: (gst_structure_set_valist):
13206         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13207         Remove pre glib2.8 compatibility, fixes #340508
13208
13209 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13210
13211         * gst/gsttaglist.h:
13212           Mention type of tags in doc blurbs.
13213
13214 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13215
13216         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13217         (gst_pad_configure_src), (gst_pad_push):
13218         Restore acceptcaps checking behaviour now that good plugins have
13219         been released.
13220
13221 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13222
13223         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13224
13225         * gst/gst.c:
13226         * gst/gstbus.c:
13227         * gst/gstclock.c:
13228         * gst/gstevent.c:
13229         * gst/gstformat.c:
13230         * gst/gstmessage.c:
13231         * gst/gstparse.c:
13232         * gst/gstquery.c:
13233         * gst/gstutils.c:
13234         * gst/parse/Makefile.am:
13235         * libs/gst/base/gstadapter.c:
13236         * libs/gst/base/gstbasesrc.c:
13237         * libs/gst/base/gstpushsrc.c:
13238         * libs/gst/base/gsttypefindhelper.c:
13239         * plugins/elements/gstfakesrc.c:
13240         * plugins/elements/gstidentity.c:
13241           Make sure gstprivate.h and/or config.h are
13242           always included first, otherwise some of our
13243           defines (like _FILE_OFFSET_BITS) might be
13244           redefined in the system headers. Fixes build
13245           on opensolaris (#340016).
13246
13247 2006-05-04  Wim Taymans  <wim@fluendo.com>
13248
13249         * docs/libs/gstreamer-libs-sections.txt:
13250         API: addition: gst_adapter_take_buffer()
13251         
13252         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13253         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13254         (gst_adapter_available_fast):
13255         * libs/gst/base/gstadapter.h:
13256         Prepare for optimizing the hell out of this hugely inefficient
13257         piece of code. 
13258         Added gst_adapter_take_buffer() so we can at least start thinking
13259         about subbuffering and merging.
13260         Added some comments.
13261
13262         * tests/check/Makefile.am:
13263         * tests/check/libs/adapter.c: (GST_START_TEST),
13264         (gst_adapter_suite), (main):
13265         Added GstAdapter check.
13266
13267 2006-05-04  Wim Taymans  <wim@fluendo.com>
13268
13269         * docs/design/part-overview.txt:
13270         Fix some typos, add blurb about buffer flags.
13271
13272 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13273
13274         * docs/libs/gstreamer-libs-sections.txt:
13275           make sure GstBaseTransformClass shows up in the docs
13276         * libs/gst/base/gstbasetransform.c:
13277         * libs/gst/base/gstbasetransform.h:
13278           move docs so gtk-doc picks it up now
13279
13280 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13281
13282         * docs/libs/gstreamer-libs-sections.txt:
13283           add missing symbols to docs
13284
13285 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13286
13287         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13288           back out the newsegment handling change, see #340060 for ongoing
13289           discussion
13290
13291 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13292
13293         * tools/gst-run.c: (get_candidates), (main):
13294           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13295           work); fix typo in error message. Fixes #340079.
13296
13297 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13298
13299         * common/Makefile.am:
13300         * docs/Makefile.am:
13301         * docs/faq/Makefile.am:
13302         * docs/gst/Makefile.am:
13303         * docs/libs/Makefile.am:
13304         * docs/manual/Makefile.am:
13305         * docs/plugins/Makefile.am:
13306         * docs/pwg/Makefile.am:
13307         * docs/slides/Makefile.am:
13308         * docs/upload.mak:
13309         * common/upload.mak:
13310           move upload.mak to common
13311
13312 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13313
13314         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13315           add more asserts on refcounts
13316           do more cleanup at end of tests
13317           fix test leaks showing in FC5
13318
13319 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13320
13321         * plugins/elements/gsttypefindelement.c:
13322         (gst_type_find_element_handle_event):
13323         reverted wrong change and reflowed code to avoid others falling into
13324         this trap
13325
13326 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13327
13328         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13329           fix changelog entry about last collectpads change,
13330           add notes about proper fix
13331
13332 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13333
13334         * gst/gst.c:
13335         * gst/gstregistry.c: (gst_registry_scan_path_level),
13336         (gst_registry_scan_path):
13337         * gst/gstregistry.h:
13338           only write out registry if it has changed, fixes #338339
13339
13340 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13341
13342         * gst/gstbin.c:
13343         * gst/gstpipeline.c:
13344         * plugins/elements/gstcapsfilter.c:
13345         * plugins/elements/gstfakesink.c:
13346         * plugins/elements/gstfakesrc.c:
13347         * plugins/elements/gstfdsink.c:
13348         * plugins/elements/gstfdsrc.c:
13349         * plugins/elements/gstfilesink.c:
13350         * plugins/elements/gstfilesrc.c:
13351         * plugins/elements/gstidentity.c:
13352         * plugins/elements/gstqueue.c:
13353         * plugins/elements/gsttee.c:
13354         * plugins/elements/gsttypefindelement.c:
13355         (gst_type_find_element_handle_event):
13356           make GstElementDetails const
13357
13358 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13359
13360         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13361         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13362         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13363           more detailed debug and formatting cleanup,
13364           forward newsegments to src-pad (so that e.g. adder not eats them)
13365
13366 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13367
13368         * gst/gstutils.c: (gst_element_link_pads):
13369           cleanup double code
13370
13371 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13372
13373         * libs/gst/controller/gstcontroller.c:
13374         (gst_controller_sync_values):
13375           some little tuning
13376         * tests/check/libs/controller.c: (GST_START_TEST),
13377         (gst_controller_suite):
13378           a new test for live value handling
13379
13380 2006-04-28  Wim Taymans  <wim@fluendo.com>
13381
13382         * gst/gstutils.c: (push_and_ref):
13383         Added some more docs.
13384         Fix refcount issue whith gst_element_found_tags() helper 
13385         function. Fixes #338335
13386
13387         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13388         Added testsuite for gst_element_found_tags().
13389
13390 2006-04-28  Michael Smith  <msmith@fluendo.com>
13391
13392         * gst/gstvalue.c: (gst_value_serialize_flags):
13393           Avoid NULL dereference when trying to serialize flags containing
13394           invalid values.
13395
13396 2006-04-28  Michael Smith  <msmith@fluendo.com>
13397
13398         * plugins/elements/gsttypefindelement.c:
13399         (gst_type_find_element_handle_event):
13400           If we get EOS before any data is accumulated, don't use
13401           uninitialised local variables.
13402
13403 2006-04-28  Michael Smith  <msmith@fluendo.com>
13404
13405         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13406         (gst_dp_event_from_packet):
13407           Fixes in reading/writing events over GDP (not currently used?) - 
13408           dereferencing NULL events for unknown/invalid event types, memory
13409           leak, and change g_warning to GST_WARNING.
13410
13411 2006-04-28  Wim Taymans  <wim@fluendo.com>
13412
13413         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13414         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13415         (gst_base_sink_get_position), (gst_base_sink_change_state):
13416         When frame dropping is enabled, we should not ignore frames
13417         without a duration.
13418         Update some documentation.
13419
13420 2006-04-28  Wim Taymans  <wim@fluendo.com>
13421
13422         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13423         (gst_base_src_send_event), (gst_base_src_change_state):
13424         Documentation updates.
13425
13426 2006-04-28  Wim Taymans  <wim@fluendo.com>
13427
13428         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13429         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13430         handle EAGAIN, EINTR and short writes correctly. Also clean
13431         up some error cases, avoid a deadlock on bad file descriptors and
13432         use GST_DEBUG_OBJECT.
13433         Fixes #339843
13434
13435 2006-04-28  Wim Taymans  <wim@fluendo.com>
13436
13437         * gst/gstvalue.c: (gst_value_serialize_buffer),
13438         (gst_value_deserialize_buffer):
13439         Don't try to serialize a GValue with a NULL buffer. 
13440         Fixes #339821.
13441
13442         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13443         Added check for serialisation of NULL buffers.
13444
13445 2006-04-28  Wim Taymans  <wim@fluendo.com>
13446
13447         * gst/gstminiobject.c: (gst_value_take_mini_object):
13448         Taking a NULL miniobject is valid, fix the case where
13449         we try to unref the NULL miniobject.
13450
13451 2006-04-28  Wim Taymans  <wim@fluendo.com>
13452
13453         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13454
13455         * gst/gstbin.c: (gst_bin_handle_message_func):
13456         Update docs.
13457         Don't leak bin refcount when a state recalc is
13458         in progress and we delay another one #339808.
13459
13460 2006-04-28  Wim Taymans  <wim@fluendo.com>
13461
13462         * docs/design/part-TODO.txt:
13463         Mention QoS as an ongoing work item.
13464
13465         * docs/design/part-buffering.txt:
13466         New doc about buffering that needs to be fleshed out
13467         at some point.
13468
13469         * docs/design/part-qos.txt:
13470         More QoS policy for decoders/demuxers/transforms
13471
13472         * docs/design/part-trickmodes.txt:
13473         Small update.
13474
13475 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13476
13477         * configure.ac:
13478           back to HEAD
13479
13480 === release 0.10.5 ===
13481
13482 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13483
13484         * configure.ac:
13485           releasing 0.10.5, "Fogo"
13486
13487 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13488
13489         patch by: Wim Taymans
13490
13491         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13492         (gst_pad_configure_src), (gst_pad_push):
13493         * gst/gstpipeline.c: (gst_pipeline_init):
13494           Fix internal data flow errors.  Fixes #338711.
13495
13496 2006-04-12  Wim Taymans  <wim@fluendo.com>
13497
13498         * tests/check/gst/gstelement.c: (GST_START_TEST):
13499         Don't leak the factory.
13500
13501 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13502
13503         * configure.ac:
13504         * win32/common/config.h:
13505           prerelease
13506
13507 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13508
13509         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13510         (gst_controller_unset_all):
13511           Free allocated GstTimedValues when freeing list nodes.
13512           Should fix leaks 'make check-valgrind' complains about.
13513
13514         * win32/common/libgstcontroller.def:
13515           Add gst_controller_unset_all.
13516
13517 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13518
13519         * docs/libs/gstreamer-libs-sections.txt:
13520         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13521         (gst_controller_unset_all):
13522         * libs/gst/controller/gstcontroller.h:
13523         API: Added new method gst_controller_unset_all()
13524         fixed gst_controller_unset()
13525         * tests/check/libs/controller.c: (GST_START_TEST),
13526         (gst_controller_suite):
13527         Added two testcases for new and fixed method
13528
13529 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13530
13531         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13532           MSG_DONTWAIT is not defined on Cygwin, so work
13533           around that (fixes #317048).
13534           
13535 2006-04-11  Wim Taymans  <wim@fluendo.com>
13536
13537         * gst/gstelementfactory.c: (gst_element_register),
13538         (gst_element_factory_create), (gst_element_factory_make):
13539         Some cleanups.
13540         Fixed a FIXME.
13541         Updated docs (Fixes #131079)
13542
13543         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13544         Small cleanups.
13545
13546         * tests/check/gst/gstelement.c: (GST_START_TEST),
13547         (gst_element_suite):
13548         Added testcase for elementfactory class field.
13549
13550 2006-04-10  Wim Taymans  <wim@fluendo.com>
13551
13552         * gst/gstsegment.c:
13553         Added some more docs.
13554
13555         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13556         (gst_base_sink_reset_qos):
13557         Calculate more accurate rate values.
13558
13559 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13560
13561         * gst/gst_private.h:
13562           add a new #ifdef to use __declspec(dllimport) only for
13563           other modules and not for gstreamer core
13564         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13565           use gst_guint64_to_gdouble for conversion
13566         * win32/common/libgstreamer.def:
13567           add new exported functions
13568         * win32/vs6/gst_inspect.dsp:
13569         * win32/vs6/gst_launch.dsp:
13570         * win32/vs6/libgstbase.dsp:
13571         * win32/vs6/libgstcontroller.dsp:
13572         * win32/vs6/libgstcoreelements.dsp:
13573         * win32/vs6/libgstdataprotocol.dsp:
13574         * win32/vs6/libgstnet.dsp:
13575           update project files
13576
13577 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13578
13579         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13580         * gst/gstclock.c: (gst_clock_class_init):
13581         * gst/gstelement.c: (gst_element_class_init):
13582         * gst/gstindex.c: (gst_index_class_init):
13583         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13584         * gst/gstobject.c: (gst_object_class_init),
13585         (gst_signal_object_class_init):
13586         * gst/gstpad.c: (gst_pad_class_init):
13587         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13588         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13589         * gst/gstregistry.c: (gst_registry_class_init):
13590         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13591         * gst/gsttask.c: (gst_task_class_init):
13592         * gst/gstxml.c: (gst_xml_class_init):
13593         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13594         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13595         (gst_base_src_loop):
13596         * libs/gst/controller/gstcontroller.c:/
13597         (_gst_controller_class_init):
13598         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13599         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13600         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13601         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13602         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13603         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13604
13605 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13606
13607         * gst/gstpad.c: (gst_pad_link):
13608           Must set peer pads before calling the link function, otherwise
13609           a task started from a link function might get a flow-not-linked
13610           result when trying to push because the other thread where the
13611           linking happens hasn't had a chance to set the peers yet. This
13612           might happen for example when a queue gets linked to a downstream
13613           element, as queue starts a streaming task when its source pad
13614           gets linked. Happens in real life when playing back flac/musepack
13615           files in playbin (#332390).
13616           
13617 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13618
13619         * gst/gstindex.h:
13620         * gst/gstxml.h:
13621         * libs/gst/base/gstadapter.h:
13622         * libs/gst/base/gstbasesink.h:
13623         * libs/gst/base/gstbasesrc.h:
13624         * libs/gst/base/gstbasetransform.h:
13625         * libs/gst/base/gstcollectpads.h:
13626         * libs/gst/base/gstpushsrc.h:
13627         Fix broken GObject macros
13628
13629 2006-04-07  Wim Taymans  <wim@fluendo.com>
13630
13631         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13632         Initialize start and stop times, thanks valgrind.
13633
13634 2006-04-07  Wim Taymans  <wim@fluendo.com>
13635
13636         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13637         Be a bit nicer to badly behaving upstream elements that expect
13638         us to deal with non TIME segments and timestamps (such as fakesrc
13639         in the testsuite).
13640
13641 2006-04-07  Wim Taymans  <wim@fluendo.com>
13642
13643         * gst/gstbus.c:
13644         Small documentation clarification about the signal watch.
13645
13646         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13647         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13648         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13649         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13650         (gst_base_sink_get_position_last),
13651         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13652         Convert and store timestamps in stream time and running time, the
13653         raw timestamps are not useful, also document this better.
13654         Use different window sizes for good and bad QoS observations so
13655         we react to badness a little quicker.
13656         Keep track of the amount of rendered and dropped buffers.
13657         Send QoS timestamps in running time.
13658
13659         * libs/gst/base/gstbasetransform.c:
13660         (gst_base_transform_sink_eventfunc),
13661         (gst_base_transform_handle_buffer):
13662         Compare QoS timestamps against running time.
13663
13664 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13665
13666         * gst/gstpad.c:
13667           Typo fixes in docs.
13668
13669 2006-04-06  Michael Smith  <msmith@fluendo.com>
13670
13671         * gst/gstpad.c: (gst_pad_set_property):
13672           Use g_value_get_object() instead of g_value_dup_gst_object(),
13673           to avoid double-reffing the pad template (which we then sink,
13674           so this worked previously if (and only if) the pad template
13675           was floating.
13676
13677         * gst/gstpadtemplate.c: (gst_pad_template_init),
13678         (gst_pad_template_pad_created):
13679           Never return floating references to pad templates, create
13680           them as initially-sunken.
13681
13682           Document an extra function (and make this stop sinking our
13683           pad template, since that is now guaranteed to do nothing,
13684           since we created it sunken).
13685
13686         * gst/gstghostpad.c:
13687           Fix docs typo.
13688
13689 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13690
13691         * gst/gstinfo.c: (__gst_in_valgrind):
13692           Add some newlines.
13693
13694         * plugins/elements/gsttypefindelement.c:
13695         (gst_type_find_element_chain):
13696           Don't leak buffer caps.
13697
13698 2006-04-06  Michael Smith  <msmith@fluendo.com>
13699
13700         * gst/parse/grammar.y:
13701           Fix a leak in parse-launch for any source-or-sink named element 
13702           references used.
13703
13704         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13705           Unref the pipeline if it exists after we've failed parsing.
13706
13707 2006-04-05  Michael Smith  <msmith@fluendo.com>
13708
13709         * gst/gstpipeline.c: (gst_pipeline_init):
13710           When we create a pipeline bus, initially create it in flushing mode.
13711           Fixes leaks in at least one test, and makes a new pipeline work the
13712           same as one that has gone to READY and then back to NULL.
13713
13714         * gst/gstelement.c:
13715           Typo fix in docs.
13716
13717 2006-04-05  Michael Smith  <msmith@fluendo.com>
13718
13719         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13720           Unref a pad we reffed.
13721         * tests/check/gst/gstutils.c: (GST_START_TEST):
13722           Unref bins
13723
13724 2006-04-05  Michael Smith  <msmith@fluendo.com>
13725
13726         * gst/gstquery.c: (gst_query_set_formats),
13727         (gst_query_set_formatsv):
13728           Fix leaking GValues in queries, as shown by valgrind/testsuite.
13729
13730 2006-04-05  Michael Smith  <msmith@fluendo.com>
13731
13732         * tests/check/generic/sinks.c: (GST_START_TEST):
13733           Fix a variety of memleaks in sinks check, which are only sometimes 
13734           shown by running the tests under valgrind (weird?).
13735
13736 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
13737
13738         * docs/version.entities.in:
13739           Fix the substituted entity name after thomas' changes on the
13740           weekend.
13741
13742 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13743
13744         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13745         VALGRIND_PRINTF
13746         
13747 2006-04-05  Andy Wingo  <wingo@pobox.com>
13748
13749         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13750
13751         * libs/gst/base/gstbasetransform.c
13752         (gst_base_transform_sink_eventfunc): When resetting our segment on
13753         FLUSH_STOP, also update the flag saying we haven't seen a
13754         newsegment.
13755
13756 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13757
13758         Patch by: Paolo Borelli  <pborelli at katamail dot com>
13759
13760         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13761         (gst_plugin_check_license):
13762           minor clean-ups: G_DEFINE_TYPE already takes care of the
13763           parent_class stuff, no need to do it twice. Mark array of
13764           license strings as constant. (#337103)
13765           
13766 2006-04-04  Michael Smith  <msmith@fluendo.com>
13767
13768         * tools/gst-inspect.c: (print_element_list):
13769           Free the right plugin list; fixes a memory leak.
13770
13771 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13772
13773         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
13774
13775         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13776           Don't error out on empty buffers (#336945).
13777           
13778 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
13779
13780         * docs/libs/gstreamer-libs-sections.txt:
13781         * gst/gsttaglist.c:
13782         * libs/gst/base/gstbasesink.c:
13783         * libs/gst/base/gstbasesink.h:
13784         * libs/gst/base/gstbasesrc.c:
13785         * libs/gst/base/gstbasesrc.h:
13786           Documentation updates. Make BaseSink and BaseSrc docs contain the
13787           class structure so that people can actually see the prototypes for
13788           virtual functions they're supposed to be overriding.
13789
13790 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13791
13792         * plugins/elements/gsttypefindelement.c:
13793         (gst_type_find_element_chain):
13794           More debug info; when skipping typefinding, send cached
13795           events in all cases.
13796
13797 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13798
13799         * configure.ac:
13800           use new AS_VERSION and AS_NANO macros
13801         * gst/gst-i18n-lib.h:
13802         * gst/gst.c:
13803         * gst/gsterror.c:
13804         * gst/gstversion.h.in:
13805         * win32/common/config.h:
13806         * win32/common/config.h.in:
13807           update accordingly
13808
13809 2006-03-31  Michael Smith  <msmith@fluendo.com>
13810
13811         * plugins/elements/gsttypefindelement.c:
13812         (gst_type_find_element_chain):
13813           Do not typefind content if the buffers already have caps.
13814           Neccesary for icydemux (#333657), and the right thing to do anyway.
13815
13816 2006-03-30  Wim Taymans  <wim@fluendo.com>
13817
13818         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13819         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13820         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13821         (gst_base_sink_record_qos_observation),
13822         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13823         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13824         (gst_base_sink_change_state):
13825         More QoS measurements as described in the design doc.
13826         Get rid of ringbuffer with observations, running average is
13827         more simple and equally good.
13828         Calculates valid proportion now.
13829         Added beginning of flood measurement.
13830
13831 2006-03-29  Wim Taymans  <wim@fluendo.com>
13832
13833         * docs/design/part-qos.txt:
13834         * gst/gstclock.c:
13835         Small documentation updates and additions.
13836
13837 2006-03-29  Wim Taymans  <wim@fluendo.com>
13838
13839         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13840         (gst_base_src_send_event), (gst_base_src_loop),
13841         (gst_base_src_change_state):
13842         Perform the EOS logic when we reach the segment stop position.
13843         Fix compilation on gcc4.1
13844
13845 2006-03-29  Wim Taymans  <wim@fluendo.com>
13846
13847         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13848
13849         * plugins/elements/gstqueue.c: (gst_queue_init),
13850         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13851         (gst_queue_set_property):
13852         * plugins/elements/gstqueue.h:
13853         In queue, when EOS is received, if minimum threshold > max_size -
13854         current_level, there is chance that queue blocks forever in conditional
13855         item del wait. This is because the queue is not emptied completely due
13856         to minimum threshold.  Here is another approach. Instead of setting
13857         cur_levels to max in EOS, just zero all minimum threshold levels. This
13858         should make sure that queue gives out all data. When going to READY
13859         (stop) state, just reset the original minimum threshold levels.
13860         Fixes #336336.
13861
13862 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
13863
13864         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13865         (gst_type_find_element_handle_event),
13866         (gst_type_find_element_send_cached_events),
13867         (gst_type_find_element_change_state):
13868         * plugins/elements/gsttypefindelement.h:
13869           When typefinding is done in push mode, we should cache
13870           events we receive during typefinding instead of just
13871           dropping them (e.g. newsegment, custom events from
13872           dvdreadsrc etc.) and then send them out once we've
13873           determined the type of the stream (and decodebin
13874           has had a chance to plug in a decoder/demuxer).
13875           
13876 2006-03-27  Wim Taymans  <wim@fluendo.com>
13877
13878         * docs/design/part-qos.txt:
13879         First QoS ideas.
13880
13881 2006-03-27  Wim Taymans  <wim@fluendo.com>
13882
13883         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13884
13885         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13886         (gst_base_src_send_event), (gst_base_src_change_state):
13887         Handle element seek correctly when we are streaming.
13888         Fixes #326998.
13889
13890 2006-03-24  Michael Smith  <msmith@fluendo.com>
13891
13892         * docs/faq/gst-uninstalled:
13893           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13894           allow you to correctly run intalled applications built against old 
13895           core, using plugins that require updated core (e.g. running
13896           installed totem against a full uninstalled gstreamer stack)
13897
13898 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13899
13900         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13901         more debug details
13902
13903 2006-03-24  Wim Taymans  <wim@fluendo.com>
13904
13905         * docs/gst/gstreamer-sections.txt:
13906         Rearrange the order of the methods so that related methods
13907         are grouped together in sections.
13908
13909 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13910
13911         * gst/gstelement.c:
13912           Little clarification in the docs
13913
13914 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13915
13916         * docs/README:
13917         formatting fix
13918         * plugins/elements/gstidentity.c:
13919         * plugins/elements/gstqueue.c:
13920         * plugins/elements/gsttee.c:
13921         * plugins/elements/gsttypefindelement.c:
13922         GST_ELEMENT_DETAILS formatting
13923
13924 2006-03-24  Wim Taymans  <wim@fluendo.com>
13925
13926         * libs/gst/base/gstbasesink.h:
13927         Only add fields, not insert or we break ABI.
13928
13929 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13930
13931         * win32/common/libgstbase.def:
13932         * win32/common/libgstreamer.def:
13933           Update, add recently added functions.
13934
13935 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13936
13937         * docs/gst/gstreamer-sections.txt:
13938         * gst/gstutils.c: (gst_pad_query_peer_position),
13939         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13940         * gst/gstutils.h:
13941           API: add some new utility functions:
13942            - gst_pad_query_peer_position()
13943            - gst_pad_query_peer_duration()
13944            - gst_pad_query_peer_convert()
13945           
13946 2006-03-23  Wim Taymans  <wim@fluendo.com>
13947
13948         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13949         (gst_base_sink_init), (gst_base_sink_finalize),
13950         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13951         (gst_base_sink_set_property), (gst_base_sink_get_property),
13952         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13953         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13954         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13955         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13956         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13957         (gst_base_sink_preroll_object), (gst_base_sink_event),
13958         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13959         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13960         (gst_base_sink_query), (gst_base_sink_change_state):
13961         Decouple max-lateness and the fact that QoS messages are generated
13962         with a new property (qos).
13963         added API: GstBaseSink::async_play()
13964         Add vmethod so subclasses can be notified of ASYNC playing
13965         state changes.
13966         Collect timestamp start and stop to report better current
13967         position in EOS/PLAYING/PAUSED/READY/NULL.
13968         Refactor QoS/frame dropping and other measurements.
13969         API: GstBaseSrc::qos
13970         Fixes #326311
13971
13972         * libs/gst/base/gstbasesink.h:
13973         Added Private struct.
13974         API: gst_base_sink_set_qos_enabled()
13975         API: gst_base_sink_is_qos_enabled()
13976
13977 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13978
13979         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13980           If compiling against GLib-2.8 or newer, try to read the
13981           registry file using GMappedFile first before falling back
13982           to fopen() + fread() (#332151).
13983
13984 2006-03-22  Wim Taymans  <wim@fluendo.com>
13985
13986         * gst/gstinfo.c: (gst_debug_set_active),
13987         (gst_debug_category_set_threshold):
13988         Disable debugging unless explicitly activated.
13989         Fixes #335480.
13990
13991 2006-03-22  Wim Taymans  <wim@fluendo.com>
13992
13993         * gst/gstelement.c: (gst_element_set_locked_state),
13994         (gst_element_dispose):
13995         Cleanup the error case.
13996
13997         * gst/gstobject.c: (gst_object_dispose):
13998         print a critical when some object was disposed with
13999         a parent, also revive the object since it might
14000         crash the parent.
14001
14002 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
14003
14004         * tools/gst-launch.1.in:
14005           Fix another typo.
14006
14007 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14008
14009         * configure.ac:
14010         * tests/check/Makefile.am:
14011           disable some tests when we don't have a registry
14012         * tests/check/gst/gstutils.c: (gst_utils_suite):
14013           don't build the part that needs parsing
14014
14015 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
14016
14017         * gst/Makefile.am
14018         * tests/examples/Makefile.am:
14019           fix --disable-parse build
14020
14021 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14022
14023         * tools/gst-feedback.1.in:
14024           Fix typo: s/feeback/feedback/ (#133494).
14025
14026 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14027
14028         * tools/Makefile.am:
14029         * tools/gst-launch.1.in:
14030           Add FILES section and correct entry about GST_REGISTRY_PATH
14031           environment variable (#133495; #133494).
14032
14033 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14034
14035         * tools/Makefile.am:
14036         * tools/gst-md5sum.1.in:
14037         * tools/gst-md5sum.c:
14038           Remove gst-md5sum and man page (the md5sink element
14039           required was removed ages ago)
14040
14041 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14042
14043         * gst/gststructure.c: (gst_structure_id_set_value):
14044           Make sure that string fields in structures/taglists
14045           contain valid UTF-8 - we don't want to pass rubbish to
14046           applications because of a buggy plugin (cp. #334167).
14047
14048 2006-03-21  Edward Hervey  <edward@fluendo.com>
14049
14050         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14051         (gst_bin_handle_message_func):
14052         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14053         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14054         (gst_element_set_bus_func):
14055         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14056         * gst/gstminiobject.c: (gst_value_set_mini_object),
14057         (gst_value_take_mini_object):
14058         * gst/gstpad.c: (gst_pad_set_pad_template):
14059         * gst/gstpipeline.c: (gst_pipeline_dispose),
14060         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14061         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14062         (gst_collect_pads_chain):
14063         * libs/gst/net/gstnettimeprovider.c:
14064         (gst_net_time_provider_set_property):
14065         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14066         It's in fact all issues with gst_*object_replace().
14067
14068 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
14069
14070         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
14071         
14072         * pkgconfig/gstreamer-check-uninstalled.pc.in:
14073         * pkgconfig/gstreamer-check.pc.in:
14074           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14075
14076 2006-03-21  Edward Hervey  <edward@fluendo.com>
14077
14078         * gst/gstbuffer.h:
14079         * gst/gstevent.h:
14080         * gst/gstmessage.h:
14081         gst_[buffer|event|message]_ref() macros are replaced by a static
14082         inline functions because gcc-4.1 will about if the return value
14083         isn't used.
14084         * tests/check/gst/gstevent.c: (event_probe):
14085         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14086
14087 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14088
14089         * gst/gstutils.h:
14090         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14091         the type' case. (Closes: #335195 for now). In the future, when we
14092         depend on GLib 2.10, we could also intern the type name using
14093         g_intern_static_string()
14094
14095 2006-03-20  Wim Taymans  <wim@fluendo.com>
14096
14097         * gst/gstbin.c: (gst_bin_handle_message_func),
14098         (bin_query_max_init), (bin_query_position_fold),
14099         (bin_query_position_done), (gst_bin_query):
14100         Position query should also take max of all streams.
14101
14102 2006-03-20  Wim Taymans  <wim@fluendo.com>
14103
14104         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14105         (gst_fake_src_finalize):
14106         Fix leaks in fakesrc.
14107
14108         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14109         Fix leaks in the testcase.
14110
14111 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14112
14113         * gst/gst_private.h:
14114           add win32 specific import decoration(__declspec(dllimport)) 
14115           for all extern GstDebugCategory * variables
14116         * win32/common/libgstbase.def:
14117         * win32/common/libgstcontroller.def:
14118         * win32/common/libgstreamer.def:
14119           Add some exports, remove empty lines
14120         * win32/common/libgstdataprotocol.def:
14121         * win32/common/libgstdataprotocol.dsp:
14122         * win32/common/libgstnet.def:
14123         * win32/common/libgstnet.dsp:
14124           new project files and exportation files added
14125         
14126 2006-03-19  Wim Taymans  <wim@fluendo.com>
14127
14128         * tests/check/libs/basesrc.c: (eos_event_counter):
14129         Use proper return value for probe.
14130
14131 2006-03-17  Wim Taymans  <wim@fluendo.com>
14132
14133         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14134         (gst_pad_push):
14135         Don't leak buffers, caps and pads on negotiation errors.
14136
14137 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14138
14139         * docs/faq/cvs.xml:
14140         * docs/faq/dependencies.xml:
14141         * docs/faq/developing.xml:
14142         * docs/faq/faq.xml:
14143         * docs/faq/general.xml:
14144         * docs/faq/getting.xml:
14145         * docs/faq/legal.xml:
14146         * docs/faq/troubleshooting.xml:
14147         * docs/faq/using.xml:
14148         Faq review and update.
14149
14150 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14151
14152         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14153         (gst_pad_push):
14154         Don't pound the cpu to pieces by checking get_caps when accept_caps
14155         is called with the same caps as the pad already has.
14156         Use GST_DEBUG_OBJECT when outputting caps change information.
14157
14158 2006-03-15  Wim Taymans  <wim@fluendo.com>
14159
14160         * gst/gstclock.c: (gst_clock_class_init):
14161         Fix docs.
14162
14163 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14164
14165         * gst/gstbuffer.h:
14166         Documentation fix.
14167
14168         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14169         (gst_pad_accept_caps), (gst_pad_configure_sink),
14170         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14171         Make the default acceptcaps behaviour be to check the requested 
14172         caps against the gst_pad_get_caps output. 
14173
14174         Ensure that gst_pad_accept_caps is used to check caps when a pad
14175         doesn't have a setcaps function, so that pads automatically refuse 
14176         caps that they don't allow in their pad template. (Fixes #332986)
14177
14178         When a buffer with attached caps is pushed, ensure that the source 
14179         pad receives those caps even if the element didn't call
14180         gst_pad_set_caps first.
14181
14182 2006-03-15  Wim Taymans  <wim@fluendo.com>
14183
14184         * libs/gst/base/gstadapter.c:
14185         Add some docs.
14186
14187 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14188
14189         * win32/common/libgstbase.def:
14190         * win32/common/libgstcontroller.def:
14191         * win32/common/libgstreamer.def:
14192           Add a whole bunch of missing functions (#334434).
14193
14194 2006-03-14  Wim Taymans  <wim@fluendo.com>
14195
14196         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14197         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14198         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14199         Better debug info when we receive a segment event.
14200         Reorganize a bit so we can pass the get_times() results around.
14201         Use the segment format when calculating the running time.
14202         Don't do QoS is sync is disabled or we have no clock or the
14203         element does not want us to sync to the clock.
14204         Don't drop buffers if QoS is disabled for now.
14205
14206 2006-03-14  Wim Taymans  <wim@fluendo.com>
14207
14208         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14209         Marked the stats property as unimplemented so people don't get
14210         wild ideas.
14211         Add debug message when regression goes wrong.
14212         Added some more docs.
14213
14214 2006-03-14  Wim Taymans  <wim@fluendo.com>
14215
14216         * gst/gstsegment.c: (gst_segment_to_stream_time):
14217         Return correct return type in case of errors.
14218
14219 2006-03-14  Wim Taymans  <wim@fluendo.com>
14220
14221         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14222           Don't segfault on invalid formats.
14223
14224 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14225
14226         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14227           Can't use gst_segment_to_running_time() when the segment
14228           is not in GST_TIME_FORMAT (like with filesink, for example).
14229           Stops flac encoding pipelines from spewing critical warnings
14230           at EOS (#331248).
14231           
14232 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14233
14234         * gst/gstpipeline.c: (gst_pipeline_class_init):
14235           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14236
14237         * plugins/elements/gsttypefindelement.c:
14238         (gst_type_find_element_handle_event):
14239           Don't try to typefind empty streams.
14240
14241 2006-03-14  Wim Taymans  <wim@fluendo.com>
14242
14243         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14244         (gst_base_sink_do_qos):
14245         Separate QoS calculation.
14246         Only drop buffers when lateness is bigger than the 
14247         duration of the buffer.
14248
14249 2006-03-13  Wim Taymans  <wim@fluendo.com>
14250
14251         * gst/gstpipeline.c: (gst_pipeline_set_property),
14252         (gst_pipeline_get_property), (do_pipeline_seek),
14253         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14254         (gst_pipeline_get_delay):
14255         Don't deadlock when reading properties.
14256
14257 2006-03-13  Wim Taymans  <wim@fluendo.com>
14258
14259         * libs/gst/base/gstbasetransform.c:
14260         (gst_base_transform_class_init), (gst_base_transform_init),
14261         (gst_base_transform_sink_event),
14262         (gst_base_transform_sink_eventfunc),
14263         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14264         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14265         (gst_base_transform_set_property),
14266         (gst_base_transform_get_property),
14267         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14268         (gst_base_transform_set_qos_enabled),
14269         (gst_base_transform_is_qos_enabled):
14270         * libs/gst/base/gstbasetransform.h:
14271         Make basetransform virtual method for src events too.
14272         Handle QOS in basetransform.
14273         API: gst_base_transform_update_qos()
14274         API: gst_base_transform_set_qos_enabled()
14275         API: gst_base_transform_is_qos_enabled()
14276
14277 2006-03-13  Wim Taymans  <wim@fluendo.com>
14278
14279         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14280         (gst_base_sink_do_sync):
14281         Small cleanups.
14282         Use QOS debug category.
14283
14284 2006-03-13  Wim Taymans  <wim@fluendo.com>
14285
14286         * plugins/elements/gstqueue.c:
14287         Very small doc update.
14288
14289 2006-03-13  Wim Taymans  <wim@fluendo.com>
14290
14291         * gst/gst_private.h:
14292         * gst/gstinfo.c: (_gst_debug_init):
14293         Added QOS debug category
14294
14295 2006-03-13  Wim Taymans  <wim@fluendo.com>
14296
14297         * docs/gst/gstreamer-sections.txt:
14298         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14299         * gst/gstbin.h:
14300         * gst/gstbus.c: (gst_bus_class_init):
14301         * gst/gstbus.h:
14302         * gst/gstclock.c:
14303         * gst/gstelement.c: (gst_element_set_locked_state):
14304         * gst/gstsegment.c:
14305         Documentation updates.
14306
14307         * gst/gstpipeline.c: (gst_pipeline_get_type),
14308         (gst_pipeline_class_init), (gst_pipeline_init),
14309         (gst_pipeline_dispose), (gst_pipeline_set_property),
14310         (gst_pipeline_get_property), (do_pipeline_seek),
14311         (gst_pipeline_send_event), (gst_pipeline_change_state),
14312         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14313         (gst_pipeline_get_delay):
14314         * gst/gstpipeline.h:
14315         Added methods for setting the delay.
14316         API: gst_pipeline_set_delay()
14317         API: gst_pipeline_get_delay()
14318         Add pipeline debug category
14319         Various cleanups.
14320         Updated docs.
14321         Don't reset stream time when seek failed.
14322
14323 2006-03-13  Wim Taymans  <wim@fluendo.com>
14324
14325         * docs/design/draft-klass.txt:
14326         * docs/design/part-clocks.txt:
14327         * docs/design/part-events.txt:
14328         * docs/design/part-gstbin.txt:
14329         * docs/design/part-gstpipeline.txt:
14330         * docs/design/part-messages.txt:
14331         * docs/design/part-negotiation.txt:
14332         * docs/design/part-overview.txt:
14333         * docs/design/part-preroll.txt:
14334         * docs/design/part-seeking.txt:
14335         * docs/design/part-states.txt:
14336         * docs/design/part-streams.txt:
14337         Documentation updates.
14338
14339 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14340
14341         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14342         us to leak strings...
14343
14344 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14345
14346         * libs/gst/net/gstnettimeprovider.c:
14347           fix docs
14348         * win32/common/config.h:
14349           update
14350
14351 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14352
14353         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14354
14355         * configure.ac:
14356           Don't check for libgnomeui (leftover from old examples
14357           that aren't built or disted any longer) (#334303).
14358           
14359 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14360
14361         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14362         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14363           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14364           there's no space left on the device.
14365
14366 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14367
14368         * gst/gstclock.h:
14369           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14370           to cast the input to GstClockTime before comparing with
14371           another GstClockTime value.
14372
14373 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14374
14375         * configure.ac:
14376           back to trunk
14377
14378 === release 0.10.4 ===
14379
14380 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14381
14382         * configure.ac:
14383           releasing 0.10.4, "Light"
14384
14385 2006-03-10  Michael Smith  <msmith@fluendo.com>
14386
14387         * libs/gst/dataprotocol/dataprotocol.c:
14388           Fix docs for dataprocotol to not get the return types completely
14389           wrong for a few functions.
14390
14391 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14392
14393         * docs/gst/gstreamer-sections.txt:
14394         * gst/gstpipeline.c: (gst_pipeline_class_init),
14395         (gst_pipeline_init), (gst_pipeline_set_property),
14396         (gst_pipeline_get_property), (gst_pipeline_change_state),
14397         (gst_pipeline_set_auto_flush_bus),
14398         (gst_pipeline_get_auto_flush_bus):
14399         * gst/gstpipeline.h:
14400           Add new API: gst_pipeline_set_auto_flush_bus() and
14401           gst_pipeline_get_auto_flush_bus() to disable automatic
14402           flushing of the pipeline's GstBus when going from READY
14403           to NULL state (#332045).
14404
14405 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14406
14407         * docs/gst/gstreamer-sections.txt:
14408         * gst/gsturi.c: (gst_uri_has_protocol):
14409         * gst/gsturi.h:
14410            Add new API: gst_uri_has_protocol() (#333779).
14411
14412 2006-03-09  Wim Taymans  <wim@fluendo.com>
14413
14414         * gst/gstclock.c: (gst_clock_entry_new),
14415         (gst_clock_id_compare_func), (gst_clock_id_wait),
14416         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14417         (gst_clock_init), (gst_clock_get_internal_time),
14418         (gst_clock_set_master), (do_linear_regression),
14419         (gst_clock_add_observation), (gst_clock_set_property):
14420         * gst/gstclock.h:
14421         Review docs.
14422         Small cleanups.
14423         Fix a possible segfault when the window-size is made smaller.
14424         Calculate jitter before performing the clock wait. Ideally
14425         the clock implementation should calculate jitter but we need
14426         API breakage for that.
14427
14428         * gst/gstsystemclock.c: (gst_system_clock_init):
14429         Docs review.
14430         
14431         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14432         Remove leftover else
14433
14434         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14435         (gst_systemclock_suite):
14436         Added check to test GST_CLOCK_DIFF.
14437
14438 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14439
14440         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14441         (gst_type_find_helper_get_range):
14442           If we are provided with the size, we should implement
14443           GstTypeFind::get_length, so that typefind functions who
14444           want to can actually peek at the middle of a file.
14445
14446 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14447
14448         * docs/manual/advanced-dataaccess.xml:
14449           Add some very very basic error checking.
14450
14451         * docs/pwg/appendix-checklist.xml:
14452           Some updates to the list of things to check when writing an element.
14453
14454 2006-03-08  Wim Taymans  <wim@fluendo.com>
14455
14456         * docs/design/part-element-transform.txt:
14457         Added some docs about the design of tranform elements.
14458
14459         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14460         (gst_base_src_loop), (gst_base_src_change_state):
14461         Mark buffers with the DISCONT flag.
14462
14463 2006-03-08  Michael Smith  <msmith@fluendo.com>
14464
14465         * gst/gstregistry.h:
14466         * gst/gstregistryxml.c: (gst_registry_save),
14467         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14468         (gst_registry_xml_save_pad_template),
14469         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14470         (gst_registry_xml_write_cache):
14471           Rewrite registry-saving to avoid race conditions and check for
14472           failed writes.
14473
14474 2006-03-08  Wim Taymans  <wim@fluendo.com>
14475
14476         * libs/gst/base/gstbasetransform.c:
14477         (gst_base_transform_transform_caps),
14478         (gst_base_transform_transform_size),
14479         (gst_base_transform_prepare_output_buffer),
14480         (gst_base_transform_get_unit_size),
14481         (gst_base_transform_buffer_alloc),
14482         (gst_base_transform_handle_buffer),
14483         (gst_base_transform_change_state):
14484         Cleanups, separate normal flow from errors, add sensible
14485         DEBUG lines.
14486         Don't try to renegotiate when allocating an output buffer.
14487         Also copy DISCONT buffer flag when copying a buffer.
14488         Reset the transform after we finish streaming, not during.
14489
14490 2006-03-08  Wim Taymans  <wim@fluendo.com>
14491
14492         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14493         Use last buffer timestamp in qos message.
14494
14495 2006-03-07  Wim Taymans  <wim@fluendo.com>
14496
14497         Patch by: Christophe Fergeau
14498
14499         * docs/pwg/advanced-tagging.xml:
14500         * docs/pwg/building-pads.xml:
14501           fixes #333416
14502
14503 2006-03-07  Wim Taymans  <wim@fluendo.com>
14504
14505         * docs/libs/gstreamer-libs-sections.txt:
14506         Added basesink new methods.
14507
14508         * gst/gstevent.c:
14509         * gst/gstevent.h:
14510         Docs updates. Flesh out the QoS docs.
14511
14512         * libs/gst/base/gstadapter.c:
14513         Small doc clarification about ownership and flushing.
14514
14515         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14516         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14517         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14518         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14519         * libs/gst/base/gstbasesink.h:
14520         API additions: 
14521         Added new methods to allow subclass to control max-lateness 
14522         and sync.
14523         Generate very basic QoS events based on last sync observation.
14524         Updated docs, fix typo, added some QoS blurb.
14525
14526         * libs/gst/base/gstbasesrc.c:
14527         Remove obsolete _get_state() calls from docs.
14528
14529 2006-03-07  Wim Taymans  <wim@fluendo.com>
14530
14531         * docs/libs/gstreamer-libs-sections.txt:
14532         * libs/gst/base/gstbasetransform.h:
14533         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14534         Fix docs for GstBaseSrc.
14535
14536 2006-03-07  Wim Taymans  <wim@fluendo.com>
14537
14538         * docs/gst/gstreamer-sections.txt:
14539         * gst/gstbuffer.h:
14540         * gst/gstvalue.c:
14541         * libs/gst/base/gstbasetransform.h:
14542         Small documentation fixes.
14543
14544 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14545
14546         * gst/gstvalue.c:
14547           Document thread-unsafety of gst_value_register_foo_func()
14548           when used at the same time as gst_value_foo() (#322628).
14549
14550 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14551
14552         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14553         (gst_push_src_check_get_range):
14554           Push sources don't support pull mode by default.
14555
14556 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14557
14558         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14559         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14560         (gst_base_src_default_check_get_range):
14561         * libs/gst/base/gstbasesrc.h:
14562           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14563           provide default implementation, and rename
14564           gst_base_src_check_get_range() to
14565           gst_base_src_pad_check_get_range() for clarity.
14566
14567 2006-03-06  Wim Taymans  <wim@fluendo.com>
14568
14569         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14570         Make property overridable.
14571
14572 2006-03-06  Wim Taymans  <wim@fluendo.com>
14573
14574         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14575         (gst_base_sink_init), (gst_base_sink_set_property),
14576         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14577         * libs/gst/base/gstbasesink.h:
14578         API addition: Make max-lateness a property.
14579
14580 2006-03-06  Wim Taymans  <wim@fluendo.com>
14581
14582         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14583         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14584         Don't ever draw a frame that is >10ms late.
14585
14586 2006-03-06  Michael Smith  <msmith@fluendo.com>
14587
14588         * gst/gstmessage.c: (_gst_message_copy):
14589           When copying a message, set the parent_refcount of the enclosed
14590           structure to point at the copy, not the original message.
14591
14592 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14593
14594         Patch by: Christophe Fergeau
14595
14596         * gst/gstutils.h:
14597           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14598           usable in c++ code (#333417)
14599
14600 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14601
14602         * gst/gstclock.h:
14603           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14604
14605 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14606
14607         * libs/gst/base/gstbasetransform.c:
14608         (gst_base_transform_transform_caps):
14609           Make sure caps are writable before passing them to
14610           gst_caps_append().
14611
14612 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14613
14614         * gst/gsterror.h:
14615           Fix some minor docs errors.
14616
14617 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14618
14619           Patch by: Ross Burton <ross at burtonini dot com>
14620
14621         * gst/gsterror.c: (_gst_resource_errors_init):
14622         * gst/gsterror.h:
14623           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14624
14625 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14626
14627         * gst/gst.c:
14628         Add a check and output a g_warning when GStreamer is built
14629         against GLib 2.6 but running against 2.8 or higher, and vice 
14630         versa. (Closes: #323542)
14631
14632 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14633
14634         * gst/parse/parse.l:
14635           Commit patch for parse_launch syntax from #331255. Removes 
14636           support for quoted strings and mimetypes when writing filtered 
14637           caps. See the bug report for more details - I'm pretty sure this
14638           obscure feature is not in use by _anyone_ anywhere.
14639
14640           With this simple change, the size of the gstreamer.so here 
14641           drops from 2193KB to 1565KB.
14642
14643 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14644
14645         * plugins/elements/gsttypefindelement.h:
14646         * plugins/elements/gsttypefindelement.c:
14647         (gst_type_find_element_src_event), (start_typefinding),
14648         (stop_typefinding), (gst_type_find_element_handle_event),
14649         (gst_type_find_element_chain),
14650         (gst_type_find_element_chain_do_typefinding):
14651           Use gst_type_find_helper_for_buffer() for chain-based
14652           typefinding.
14653
14654 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14655
14656         * plugins/elements/gsttypefindelement.c:
14657         (gst_type_find_element_class_init),
14658         (gst_type_find_element_set_property),
14659         (gst_type_find_element_get_property):
14660           Deprecate "maximum" property (not only was it only taken into
14661           account for typefinding in push-mode anyway, it also was never
14662           actually possible to set it in the first place because the
14663           property was registered with the numeric property ID for the
14664           "minimum" property). Register "maximum" property correctly,
14665           for the sake of future copy'n'pasters. Remove some cruft
14666           from property get/set functions.
14667
14668 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14669
14670         * plugins/elements/gsttypefindelement.c:
14671         (gst_type_find_element_activate):
14672           Use gst_type_find_helper_get_range() here, so we
14673           can honour the "minimum" property and also emit
14674           the signal with the correct probability of the found caps.
14675
14676 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
14677
14678         * docs/libs/gstreamer-libs-sections.txt:
14679         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14680         (helper_find_suggest), (gst_type_find_helper_get_range),
14681         (gst_type_find_helper):
14682         * libs/gst/base/gsttypefindhelper.h:
14683           New API: gst_type_find_helper_get_range() (#333042).
14684
14685 2006-03-02  Michael Smith  <msmith@fluendo.com>
14686
14687         * gst/gstregistryxml.c: (load_feature):
14688           Asserting on a failure to read part of the registry is Not Cool.
14689           Just log a warning and return NULL (which is already handled)
14690
14691 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
14692
14693         * win32/common/libgstbase.def:
14694           added export of gst_type_find_helper_for_buffer
14695         * win32/common/libgstbase.def:
14696           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14697           gst_ghost_pad_get_target
14698
14699 2006-02-28  Wim Taymans  <wim@fluendo.com>
14700
14701         * docs/design/draft-klass.txt:
14702         We use Filter now.
14703         Added Connector to mark elements that are only used to
14704         allow pipeline connections.
14705         Moved Debug to extra feature since most of them are 
14706         functionally something else.
14707
14708 2006-02-28  Wim Taymans  <wim@fluendo.com>
14709
14710         * docs/design/draft-klass.txt:
14711         Some updates and clarifications.
14712
14713 2006-02-28  Wim Taymans  <wim@fluendo.com>
14714
14715         * docs/design/draft-klass.txt:
14716         Proposal for klass field values.
14717
14718         * docs/design/part-streams.txt:
14719         Start of a doc describing stream anatomy.
14720
14721 2006-02-28  Wim Taymans  <wim@fluendo.com>
14722
14723         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14724         Help the compiler a bit with type registration.
14725         Use existing forward cod path instead of duplicating it when 
14726         handling a message.
14727         
14728         * gst/gstbus.c: (gst_bus_get_type):
14729         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14730         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14731         * gst/gstclock.c: (gst_clock_get_type):
14732         * gst/gstelement.c: (gst_element_get_type),
14733         * gst/gstelementfactory.c: (gst_element_factory_get_type):
14734         * gst/gstindexfactory.c: (gst_index_factory_get_type):
14735         * gst/gstminiobject.c: (gst_mini_object_get_type):
14736         * gst/gstpad.c: (gst_pad_get_type):
14737         * gst/gstsegment.c: (gst_segment_get_type):
14738         * gst/gststructure.c: (gst_structure_get_type):
14739         * gst/gstsystemclock.c: (gst_system_clock_get_type):
14740         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14741         * gst/gstvalue.c:
14742         Help compiler with type registration.
14743
14744         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14745         Small doc update.
14746
14747 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14748
14749         * plugins/elements/gsttypefindelement.c:
14750         (gst_type_find_element_handle_event):
14751           When we get an EOS event and have not found a type yet
14752           (most likely because we had not yet accumulated
14753           TYPE_FIND_MIN_SIZE of data yet), try to determine the
14754           type given the data we have so far. Fixes typefinding
14755           for very short streams again, most notably quicktime
14756           redirections as used on Apple's trailer site (#331701).
14757
14758 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14759
14760         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14761         (gst_type_find_helper):
14762           Try typefinding factories with the highest rank first.
14763
14764 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14765
14766         * docs/libs/gstreamer-libs-docs.sgml:
14767         * docs/libs/gstreamer-libs-sections.txt:
14768         * libs/gst/base/gsttypefindhelper.c:
14769           Add section for typefind helper and add documentation
14770           for the old and the new function.
14771
14772 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14773
14774         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14775         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14776         (gst_type_find_helper_for_buffer):
14777         * libs/gst/base/gsttypefindhelper.h:
14778           New API: gst_type_find_helper_for_buffer() (#332723).
14779           
14780 2006-02-27  Michael Smith  <msmith@fluendo.com>
14781
14782         Patch by: Loïc Minier
14783
14784         * configure.ac:
14785         * docs/Makefile.am:
14786         * docs/slides/Makefile.am:
14787           prevent CVS directories getting disted.
14788
14789 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14790
14791         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14792           Use the REFCOUNTING category for caps refcounting.
14793           
14794 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14795
14796         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14797           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14798
14799 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14800
14801         * plugins/elements/gsttypefindelement.c:
14802         (gst_type_find_element_activate):
14803           Use gst_pad_check_pull_range() before _activate_pull()
14804           to avoid unnecessary open/close (see #331690).
14805
14806 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14807
14808         * gst/gstutils.c:
14809           Docs enhancement: make it crystal clear what the
14810           gst_pad_add_*_probe() callbacks should look like.
14811
14812 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14813
14814         * libs/gst/base/gstbasesrc.c:
14815           Document how applications can stop recording from
14816           live sources (see #330996).
14817
14818 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14819
14820         * tests/check/Makefile.am:
14821         * tests/check/libs/basesrc.c: (eos_event_counter),
14822         (basesrc_eos_events_pull), (basesrc_eos_events_push),
14823         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14824         (gst_basesrc_suite), (main):
14825           ... and add some tests for the base source EOS stuff.
14826
14827 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14828
14829         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14830           Test case originally showed the problem fixed below,
14831           but was then amended. Add checks back at the place
14832           where they used to be.
14833
14834 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14835
14836         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14837         (gst_base_src_init), (gst_base_src_loop),
14838         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14839         (gst_base_src_change_state):
14840         * libs/gst/base/gstbasesrc.h:
14841           Don't unconditionally send EOS when going from PAUSED to
14842           READY state, esp. make sure we don't send two EOS events
14843           in some cases (e.g. one when reaching EOS and one when
14844           going from PAUSED to READY). Also, we don't want to send
14845           EOS events when operating in pull mode. However, we do
14846           want to send an EOS event when shutting down a live
14847           source explicitly, for example (fixes #330996).
14848           
14849 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14850
14851         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14852           Update src->read_position after a seek when not using mmap.
14853           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14854
14855 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
14856
14857         * gst/Makefile.am:
14858         * gst/gstparse.h:
14859         * gst/gstutils.c:
14860         * gst/gstutils.h:
14861         Make things work with --disable-parse as they do with 
14862         --disable-load-save - the symbols involved disappear, but the
14863         header is still installed and GST_DISABLE_PARSE is included via
14864         gstconfig.h
14865
14866 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14867
14868         * libs/gst/base/gstbasetransform.c:
14869         (gst_base_transform_change_state): Fix a stupid bug. I was 
14870         sure I compiled that.
14871
14872 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14873
14874         * gst/gstpad.c: (gst_pad_set_blocked_async):
14875         * gst/gstutils.c: (gst_pad_add_data_probe),
14876         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14877         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14878         (gst_pad_remove_buffer_probe): Make those function act on the
14879         ghostpad target when it's a ghostpad. (Closes #331727)
14880
14881 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14882
14883         * libs/gst/base/gstbasetransform.c:
14884         (gst_base_transform_change_state): Make basetransform reusable.
14885         (Closes #331898)
14886
14887 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
14888
14889         * docs/random/release:
14890         Move the current documentation of how to do a release to the top
14891         of the file.
14892
14893         * gst/gstbin.c: (gst_bin_class_init),
14894         (gst_bin_handle_message_func):
14895         Allow multiple state-recalculation threads. (Closes #328873)
14896
14897 2006-02-19  Julien MOUTTE  <julien@moutte.net>
14898
14899         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14900         * gst/gstpad.c: (gst_pad_set_event_function),
14901         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14902         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14903         2 strings. You can't use the STR_NULL macro on that.
14904
14905 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
14906
14907         * gst/gstpad.c: (gst_pad_set_event_function),
14908         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14909         (gst_pad_set_getcaps_function)
14910         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14911           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14912           So now, we can use --gst-debug-level=5 on Windows
14913         * win32/common/libgstcontroller.def:
14914           Added export of gst_controller_init
14915         * win32/vs6/libgstcontroller.dsp:
14916           Fixed Release post build configuration
14917
14918 2006-02-17  Wim Taymans  <wim@fluendo.com>
14919
14920         * tests/check/gst/gstquery.c: (GST_START_TEST):
14921         Added another check.
14922
14923 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
14924
14925         * plugins/elements/gsttypefindelement.c: (find_peek):
14926           We can do peeks at non-zero offsets, as long as they
14927           fall within the buffer we have.
14928
14929 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
14930
14931         * tests/check/Makefile.am:
14932         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14933         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14934         (parse_suite), (main):
14935           Add testsuite for parse launch syntax
14936
14937 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
14938
14939         * plugins/elements/gsttypefindelement.c:
14940         (gst_type_find_element_chain):
14941           When typefinding is unsuccessful in the chain function, don't
14942           error out immediately. Only error out with NO_CAPS_FOUND if
14943           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14944           otherwise simply wait for more data so we can try typefinding
14945           again with more data later. Also, don't attempt to typefind
14946           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14947           this should improve typefinding from network sources where the
14948           size of the first buffer can be somewhat random.
14949
14950 2006-02-14  Wim Taymans  <wim@fluendo.com>
14951
14952         * docs/gst/gstreamer-sections.txt:
14953         * gst/gstpadtemplate.c:
14954         * gst/gstpadtemplate.h:
14955         Fix padtemplate docs, fixes #328805.
14956
14957 2006-02-14  Wim Taymans  <wim@fluendo.com>
14958
14959         * tools/gst-launch.c: (main):
14960         NO_PREROLL is not an ERROR so don't send confusing messages
14961         to the user.
14962
14963 2006-02-14  Wim Taymans  <wim@fluendo.com>
14964
14965         Patch by: Torsten Schoenfeld
14966
14967         * gst/gstregistry.c: (gst_registry_get_default),
14968         (_gst_registry_cleanup):
14969         Protect default registry with lock and ref/sink it.
14970         Fixes #324818
14971
14972 2006-02-14  Wim Taymans  <wim@fluendo.com>
14973
14974         * gst/gstbuffer.c:
14975         * gst/gstquery.c: (gst_query_list_add_format),
14976         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14977         (gst_query_parse_formats_nth):
14978         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14979         Docs fixes.
14980
14981 2006-02-14  Wim Taymans  <wim@fluendo.com>
14982
14983         * docs/gst/gstreamer-sections.txt:
14984         Reworked query docs.
14985
14986         * gst/gstquery.c: (gst_query_new_formats),
14987         (gst_query_list_add_format), (gst_query_set_formats),
14988         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14989         (gst_query_parse_formats_nth):
14990         * gst/gstquery.h:
14991         Flesh out formats query, added some new methods.
14992         Fix part of #324398.
14993
14994         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
14995         Added query creation tests.
14996
14997 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
14998
14999         * gst/gstpad.c: (fixate_value):
15000         Add a default fixation for fraction lists.
15001
15002 2006-02-13  Wim Taymans  <wim@fluendo.com>
15003
15004         * gst/gsttask.c: (gst_task_init), (gst_task_func),
15005         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15006         (gst_task_join):
15007         * gst/gsttask.h:
15008         Detect and warn for obvious deadlocks. fixes #320340
15009         Fix error case where lock was not released.
15010
15011         * tests/check/Makefile.am:
15012         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15013         (task_func), (gst_element_suite), (main):
15014         Add task check.
15015
15016 2006-02-13  Wim Taymans  <wim@fluendo.com>
15017
15018         * docs/gst/gstreamer-sections.txt:
15019         * gst/gstbus.c:
15020         Add new functions to docs.
15021
15022 2006-02-13  Wim Taymans  <wim@fluendo.com>
15023
15024         * docs/design/part-TODO.txt:
15025         Updated TODO list, basesrc supports seeking to non-bytes
15026         formats.
15027
15028         * docs/design/part-element-sink.txt:
15029         Update docs.
15030
15031         * gst/gstbin.c: (bin_replace_message),
15032         (gst_bin_handle_message_func):
15033         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15034         * gst/gstevent.c: (gst_event_finalize):
15035         * gst/gstpad.c: (gst_pad_event_default_dispatch),
15036         (gst_pad_send_event):
15037         Use shiny new _TYPE_NAME macros.
15038
15039         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15040         Move debug statement up.
15041
15042         * gst/gstelement.c: (gst_element_set_locked_state):
15043         Add some debugging.
15044
15045 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
15046
15047         * docs/gst/gstreamer-sections.txt:
15048         * gst/gstmessage.h:
15049         * gst/gstquery.h:
15050           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15051           macros (#330906). Also, document the already existing
15052           GST_QUERY_TYPE macro.
15053
15054 2006-02-13  Wim Taymans  <wim@fluendo.com>
15055
15056         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15057         (event_probe), (GST_START_TEST):
15058         Only events up to the pipeline EOS are counted, there are
15059         some more when going to NULL currently which we don't care
15060         about for now.
15061
15062 2006-02-13  Wim Taymans  <wim@fluendo.com>
15063
15064         * gst/gstpad.c: (gst_pad_send_event):
15065         Correctly check flushing and emit probes. fixes #330125
15066
15067 2006-02-10  Andy Wingo  <wingo@pobox.com>
15068
15069         * gst/gstbus.c (gst_bus_class_init): Declare our private data
15070         structure.
15071         (gst_bus_init): Cache the location of the private data in the
15072         instance structure.
15073         (gst_bus_enable_sync_message_emission) 
15074         (gst_bus_disable_sync_message_emission): Implement new public
15075         functions.
15076         (gst_bus_post): Emit the sync-message signal if the user asked for
15077         it. Fixes #330684.
15078
15079         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15080         location of the bus-private structure.
15081         (gst_bus_enable_sync_message_emission)
15082         (gst_bus_disable_sync_message_emission): API addition
15083
15084 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15085
15086         Patch by: Vincent Torri
15087
15088         * docs/pwg/building-boiler.xml:
15089         PWG patch from #326800
15090
15091 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15092
15093         * configure.ac:
15094         * docs/Makefile.am:
15095         * docs/design/Makefile.am:
15096           Dist design docs.
15097
15098 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15099
15100         * configure.ac:
15101           back to CVS
15102
15103 === release 0.10.3 ===
15104
15105 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15106
15107         * configure.ac:
15108           releasing 0.10.3, "Like a virgin"
15109
15110 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15111
15112         * configure.ac:
15113           2nd prerelease of 0.10.3
15114           Bump libtool versioning.
15115
15116 2006-02-07  Andy Wingo  <wingo@pobox.com>
15117
15118         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15119         update last_stop if we're in TIME format and the timestamp is
15120         valid.
15121
15122         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15123         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15124         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15125         If we get a new newsegment with a different format, adapt
15126         accordingly.
15127
15128         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15129         of 0. Not a problem, really.
15130
15131         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15132         warn if sync=true.
15133
15134 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15135
15136         * configure.ac:
15137           Prelease of 0.10.3
15138
15139 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15140
15141         * win32/vs7:
15142           project files updated to the default vs7 configuration
15143         * win32/common/libgstbase.def:
15144         * win32/common/libgstreamer.def:
15145           added new symbols,
15146           removed empty lines,
15147           sorted all exported symbols alphabetically
15148         * win32/common/dirent.c:
15149         * win32/common/dirent.h:
15150         * win32/common/gchar.h:
15151           use windows line end.
15152           
15153 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15154
15155         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15156           Send EOS event when stopping.
15157
15158 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15159
15160         * docs/README:
15161           Tell folks what to do if the plugin-foobar.xml file
15162           hasn't been generated for a newly-added plugin.
15163
15164 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15165
15166         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15167         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15168         (gst_collect_pads_start), (gst_collect_pads_stop),
15169         (gst_collect_pads_event): Collectpads now holds a reference
15170         to the GstPad that was added. Indeed we don't want to look
15171         at pads that might just go away with no warning...
15172
15173 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15174
15175         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15176         (gst_collect_pads_start), (gst_collect_pads_stop),
15177         (gst_collect_pads_event), (gst_collect_pads_chain):
15178         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15179         Mark Nauwelaerts's patch on bug #328491.
15180
15181 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15182
15183         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15184         (gst_utils_suite):
15185           Add some simple tests for gst_parse_bin_from_description() and
15186           gst_bin_find_unconnected_pad() (#329069).
15187
15188 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15189
15190         * tools/gst-launch.c: (event_loop), (main):
15191           Catch errors during preroll (#320084).
15192
15193 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15194
15195         * plugins/elements/gsttypefindelement.c:
15196         (gst_type_find_element_activate):
15197           Post TYPE_NOT_FOUND error message when typefinding
15198           is unsuccessful in the activate function as well.
15199
15200 2006-02-02  Wim Taymans  <wim@fluendo.com>
15201
15202         * docs/design/part-element-sink.txt:
15203         Updated doc.
15204
15205 2006-02-02  Wim Taymans  <wim@fluendo.com>
15206
15207         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15208         (gst_base_sink_render_object),
15209         (gst_base_sink_queue_object_unlocked):
15210         Only keep track of prerollable items when we are 
15211         prerolling.
15212         Before rendering after preroll, always check if we
15213         have queued items.
15214         Added some more debugging.
15215
15216 2006-02-02  Wim Taymans  <wim@fluendo.com>
15217
15218         * gst/gstelement.c: (gst_element_continue_state),
15219         (gst_element_set_state_func), (gst_element_change_state):
15220         Fixed #326576, been running this for quite some time with
15221         no regressions at all.
15222
15223 2006-02-02  Wim Taymans  <wim@fluendo.com>
15224
15225         * common/gst.supp:
15226         Added more suppressions
15227
15228 2006-02-02  Wim Taymans  <wim@fluendo.com>
15229
15230         * docs/design/part-element-sink.txt:
15231         Updated document.
15232
15233         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15234         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15235         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15236         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15237         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15238         (gst_base_sink_preroll_object),
15239         (gst_base_sink_queue_object_unlocked),
15240         (gst_base_sink_queue_object), (gst_base_sink_event),
15241         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15242         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15243         (gst_base_sink_get_position), (gst_base_sink_change_state):
15244         * libs/gst/base/gstbasesink.h:
15245         Totally refactored matching the design doc.
15246         Use two segments, one to clip incomming buffers and another to
15247         perform sync.
15248         Handle queueing correctly, bypass the queue when playing.
15249         Make EOS cancelable.
15250         Handle errors correctly when operating in pull based mode.
15251
15252         * tests/check/elements/fakesink.c: (GST_START_TEST),
15253         (fakesink_suite):
15254         Added new check for sinks.
15255
15256 2006-02-02  Wim Taymans  <wim@fluendo.com>
15257
15258         * gst/gstsegment.c: (gst_segment_clip):
15259         No reason to refuse to clip when start == -1
15260
15261 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15262
15263         * docs/README:
15264         * docs/manual/intro-basics.xml:
15265         * docs/manual/intro-preface.xml:
15266         * docs/manual/manual.xml:
15267         * docs/pwg/advanced-dparams.xml:
15268         * docs/pwg/intro-basics.xml:
15269         * docs/pwg/intro-preface.xml:
15270         * docs/pwg/pwg.xml:
15271           describe dparams (controller) for plugins
15272           unify docs a little more
15273
15274 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15275
15276         * docs/gst/gstreamer-sections.txt:
15277         * gst/gstutils.c: (element_find_unconnected_pad),
15278         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15279         * gst/gstutils.h:
15280           Add new API: gst_parse_bin_from_description() and
15281           gst_bin_find_unconnected_pad() (#329069).
15282
15283 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15284
15285         * docs/manual/README:
15286           uncover a nasty detail of the docs build
15287
15288 2006-01-31  Wim Taymans  <wim@fluendo.com>
15289
15290         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15291         Don't cache duration messages if we're not going to use or
15292         free them.
15293
15294 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15295
15296         * docs/manual/advanced-dparams.xml:
15297         * docs/pwg/advanced-dparams.xml:
15298           more dparam docs
15299         * gst/gstindex.c:
15300           fix docs
15301         * libs/gst/controller/lib.c: (gst_controller_init):
15302           init just once
15303
15304 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15305
15306         * gst/gstelement.c: (gst_element_message_full):
15307           also show file/line/func if no additional debug was given
15308
15309 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15310         
15311         * win32/vs7/grammar.vcproj:
15312           activate copy of autogenerated files for Release mode
15313
15314 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15315         
15316         * win32/common/libgstreamer.def:
15317           export gst_value_compare
15318
15319 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15320
15321         * plugins/elements/Makefile.am:
15322         * plugins/elements/gstelements.c:
15323         * plugins/elements/gstfdsink.c: (_do_init),
15324         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15325         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15326         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15327         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15328         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15329         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15330         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15331         * plugins/elements/gstfdsink.h:
15332         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15333
15334 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15335
15336         * docs/manual/advanced-dparams.xml:
15337           describe controller
15338         * docs/manual/advanced-position.xml:
15339         * docs/manual/basics-init.xml:
15340         * docs/manual/manual.xml:
15341         * docs/manual/titlepage.xml:
15342         * docs/pwg/pwg.xml:
15343         * docs/pwg/titlepage.xml:
15344           cleanup xml (more to come)
15345         * libs/gst/controller/gstcontroller.c:
15346           fix typo
15347
15348 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15349         
15350         * win32/vs6/grammar.dsp:
15351           add autogen of gstmarshal.c,h for Release mode
15352                 
15353 2006-01-30  Wim Taymans  <wim@fluendo.com>
15354
15355         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15356         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15357         (gst_base_sink_handle_object), (gst_base_sink_event),
15358         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15359         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15360         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15361         (gst_base_sink_deactivate), (gst_base_sink_activate),
15362         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15363         (gst_base_sink_query), (gst_base_sink_change_state):
15364         Basesink cleanups, remove some old code.
15365         Handle the case where a subclass can preroll in the render
15366         method (mostly audiosinks).
15367         Handle more events.
15368         Remove some locks around variables that are now protected
15369         with the PREROLL_LOCK (clock_id, flushing, ..).
15370         Optimize position query some more, do correct locking.
15371         Remove old code to push queue in state change, this is not
15372         needed anymore since preroll blocks on all prerollable items 
15373         now.
15374         Almost implemented as described in design doc.
15375
15376 2006-01-30  Wim Taymans  <wim@fluendo.com>
15377
15378         * tests/check/gst/gstbin.c: (GST_START_TEST):
15379         Wait for refcount to settle down before checking.
15380
15381 2006-01-30  Wim Taymans  <wim@fluendo.com>
15382
15383         * docs/design/part-element-sink.txt:
15384         Pseudo code overview of desired sink behaviour regarding
15385         preroll.
15386
15387 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15388         * win32/vs6/grammar.dsp:
15389           fix some bugs in Release mode for autogenerated files
15390                 
15391 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15392         * win32/common/libgstbase.def:
15393         * win32/common/libgstreamer.def:
15394           export some new symbols: gst_base_src_set_format,
15395           gst_iterator_next, gst_structure_set_valist
15396
15397 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15398
15399         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15400         Set pad functions unconditionally. Fixes #329105.
15401
15402 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15403         * win32/vs8:
15404           add vs8 project files created by Sergey Scobich
15405
15406 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15407
15408         * gst/gstutils.c: (gst_element_unlink_pads):
15409         Don't leak pad references.
15410
15411         * tests/check/elements/fakesink.c: (GST_START_TEST):
15412         * tests/check/generic/sinks.c: (GST_START_TEST):
15413         * tests/check/generic/states.c: (GST_START_TEST):
15414         * tests/check/gst/gstbin.c: (GST_START_TEST):
15415         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15416         * tests/check/gst/gstelement.c: (GST_START_TEST):
15417         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15418         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15419         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15420         Fix a bunch of leaks. Make generic/sinks.c
15421         use a bit less cpu by slowing the buffer rate
15422         between fakesrc and fakesink.
15423         
15424 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15425         * gst/gstcaps.c:
15426         * gst/gstelement.c: (gst_element_send_event):
15427         * gst/gstevent.c:
15428         * gst/gstinfo.c:
15429         * gst/gstiterator.c:
15430         * gst/gstiterator.h:
15431         * gst/gstpad.c: (gst_pad_send_event):
15432         * gst/gststructure.c:
15433         * gst/gsturi.c:
15434         * gst/gstutils.c:
15435         * gst/gstvalue.c:
15436         * libs/gst/base/gstadapter.c:
15437           doc fixes, to link to function, just write gst_cool_function(), don't
15438           prefix with '#'
15439
15440 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15441
15442         * plugins/elements/gsttee.c: (gst_tee_do_push),
15443         (gst_tee_handle_buffer):
15444         Always prefer an actual return value from a src
15445         pad in place of NOT_LINKED. This means we return
15446         WRONG_STATE when all src pads are WRONG_STATE
15447         instead of NOT_LINKED.
15448
15449         Lock when replacing the last message to prevent
15450         racing with the get_property method.
15451
15452         Add debug output
15453
15454 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15455
15456         * tests/check/Makefile.am:
15457         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15458         (main):
15459         Add a very simple check that should have caught the memleak I fixed
15460         last night (if not for the slice allocator hiding it)
15461
15462 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15463
15464         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15465         (gst_bin_remove_func), (gst_bin_handle_message_func),
15466         (bin_query_duration_fold), (bin_query_generic_fold):
15467         Clean up references to the clock provider when disposed or when
15468         handling a clock-lost message from it.
15469
15470         Unref sinks when performing a query via gst_iterator_fold, as the
15471         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15472
15473         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15474         (gst_clock_set_master):
15475         Drop our reference to the master clock, if any, when we are disposed.
15476
15477         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15478         Chain up in dispose. 
15479
15480 2006-01-26  Wim Taymans  <wim@fluendo.com>
15481
15482         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15483         Add some debugging.
15484
15485 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15486
15487         * plugins/elements/gsttee.c: (gst_tee_do_push),
15488         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15489         handles pad being NOT_LINKED or in WRONG_STATE.
15490
15491 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15492
15493         * win32/MANIFEST:
15494           more updating
15495
15496 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15497
15498         * win32/MANIFEST:
15499           remove obsolete entry
15500
15501 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15502
15503         * docs/gst/gstreamer-sections.txt:
15504         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15505         (gst_bin_iterate_sources), (gst_bin_send_event):
15506         * gst/gstbin.h:
15507         * gst/gstelement.c: (gst_element_send_event):
15508         * gst/gstevent.c:
15509         * gst/gstpad.c: (gst_pad_send_event):
15510           added code for downstream events, reviewed docs in gstevent.c
15511
15512 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15513
15514         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15515         We only query position using the clock in the playing state.
15516         Query peer in the other cases.
15517         * win32/common/config.h: Updates.
15518
15519 2006-01-24  Wim Taymans  <wim@fluendo.com>
15520
15521         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15522         A clock entry that is scheduled for the exact time of the
15523         clock is still in time.
15524
15525         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15526         (gst_base_sink_do_sync):
15527         Add some more debug info.
15528
15529 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15530
15531         * win32/vs7:
15532           Add new vs7 project files and solution.
15533
15534 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15535
15536         * win32/vs7:
15537           all files removed as they were out-dated.
15538
15539 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15540
15541         * docs/random/release:
15542           update notes
15543         * gst/gstbin.c: (gst_bin_init):
15544         * gst/gstbus.c: (gst_bus_new):
15545         * gst/gstbus.h:
15546         * gst/gstpipeline.c: (gst_pipeline_init):
15547           use gst_bus_new(), improve logging, fix docs
15548         * win32/common/config.h:
15549           update for cvs build
15550
15551 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15552
15553         * autogen.sh:
15554           up required version of automake to 1.7
15555
15556 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15557
15558         * win32/common/libgstreamer.def:
15559           export gst_buffer_is_metadata_writable
15560
15561 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15562
15563         * docs/gst/gstreamer-sections.txt:
15564         * gst/gstevent.h:
15565           Add gst_event_replace() (#327001)
15566
15567 2006-01-20  Wim Taymans  <wim@fluendo.com>
15568
15569         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15570         Make it actually compile too..
15571
15572 2006-01-20  Wim Taymans  <wim@fluendo.com>
15573
15574         * gst/gstcaps.c:
15575         Clarify behaviour of _is_equal() when passing NULL parameters.
15576
15577         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15578         (gst_pad_set_caps):
15579         Cleanups. Don't unref NULL caps.
15580         When setting the same caps, protect caps of the pad with
15581         proper lock.
15582         Use full functionality of _is_equal() when comparing caps.
15583
15584 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15585
15586         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15587         Don't loop infinitely if there are no buffers to present. Partially
15588         fixes #327197, but collectpads is just broken for reusing elements
15589         to do multiple encodes atm.
15590
15591 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15592
15593         * tools/gst-inspect.c: (print_element_features):
15594         * tools/gst-xmlinspect.c: (main):
15595         URL_HANDLER is not a plugin feature we can search for in
15596         the registry.
15597
15598 2006-01-19  Edward Hervey  <edward@fluendo.com>
15599
15600         * gst/gstelement.c: (gst_element_pads_activate): 
15601         When activating, do src pads first, then sink pads.
15602         When de-activating, do sink pads first, then src pads.
15603
15604 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15605
15606         * docs/gst/gstreamer-sections.txt:
15607         Add gst_index_add_associationv to the docs
15608
15609 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15610
15611         * gst/gstevent.c:
15612           Fix docs typo
15613
15614         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15615         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15616           Do some refactoring. Doesn't actually change functionality,
15617           but makes landing the DRAIN event easier later.
15618
15619 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15620
15621         * docs/pwg/advanced-scheduling.xml:
15622           Update from 0.9.x to 0.10 API and make example a bit
15623           clearer.
15624
15625 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15626
15627         * docs/gst/gstreamer-sections.txt:
15628         Add gst_buffer_(is|make)_metadata_writable methods.
15629
15630 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15631
15632         * docs/design/part-sparsestreams.txt:
15633         Update sparse streams doc, hopefully for greater clarity
15634
15635 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15636
15637         * docs/design/part-events.txt:
15638         Remove mention of FILLER events.
15639         Add DRAIN event.
15640
15641         * docs/design/part-sparsestreams.txt:
15642         Write some things about using NEWSEGMENT to keep sparse streams
15643         flowing.
15644
15645 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15646
15647         * gst/gstbin.c: (gst_bin_dispose):
15648           Guard gst_object_unref call against a NULL object (dispose
15649           can theoretically be called multiple times).
15650           
15651 2006-01-18  Wim Taymans  <wim@fluendo.com>
15652
15653         * gst/gstbin.c: (gst_bin_element_set_state):
15654         * gst/gstclock.c: (gst_clock_id_wait):
15655         Added some more debug info.
15656
15657         * libs/gst/base/gstadapter.c:
15658         Added more docs.
15659
15660         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15661         (gst_base_sink_do_sync), (gst_base_sink_chain):
15662         Added some comments.
15663
15664 2006-01-18  Wim Taymans  <wim@fluendo.com>
15665
15666         * tests/check/Makefile.am:
15667         * tests/check/elements/fakesink.c: (chain_async_buffer),
15668         (chain_async), (chain_async_return), (GST_START_TEST),
15669         (fakesink_suite), (main):
15670         Added fakesink test that checks prerolling and clipping
15671         behaviour.
15672
15673         * tests/check/gst/gstutils.c: (GST_START_TEST):
15674         Make check run faster so that buildbots don't timeout.
15675
15676 2006-01-18  Wim Taymans  <wim@fluendo.com>
15677
15678         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15679         (gst_base_sink_do_sync):
15680         Some cleanups.
15681         When the sink finishes blocking on the preroll buffer, it can
15682         immediatly render it instead of rendering when the next buffer
15683         arrives.
15684
15685 2006-01-18  Wim Taymans  <wim@fluendo.com>
15686
15687         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15688         (gst_base_sink_get_property), (gst_base_sink_do_sync),
15689         (gst_base_sink_chain):
15690         Small cleanups.
15691         GST_ELEMENT_CLOCK and sync are protected with LOCK.
15692         Don't store _last_stop if the buffer is dropped.
15693
15694 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15695
15696         * plugins/elements/gsttypefindelement.c:
15697         (gst_type_find_element_class_init):
15698           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15699           object method handler that sets the caps on the pad and we want
15700           that to happen before we emit the signal (fixes e.g. feeding a
15701           plain text file to decodebin).
15702
15703 2006-01-18  Christian Schaller  <Christian@fluendo.com>
15704
15705         * gst/gstplugin.c: Add MPL and Proprietary as license options
15706
15707 2006-01-18  Andy Wingo  <wingo@pobox.com>
15708
15709         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15710         symbol was exported before, it appears this was just an oversight.
15711         Fixes #168703.
15712         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15713
15714         * gst/gstindex.c (gst_index_add_associationv): Changed int in
15715         prototype to gint. OK since this prototype was not in the header.
15716
15717 2006-01-17  Andy Wingo  <wingo@pobox.com>
15718
15719         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15720         registry while we remove plugins.
15721
15722         * tools/gst-inspect.c (print_element_info): Don't unref the
15723         factory arg, that should be the responsibility of whatever code
15724         received the ref. Fixes a double-free when called from
15725         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15726         (main): Unref the factory if we have one.
15727         (print_element_list): No change -- relies on the
15728         plugin_feature_list_free to free the list of features.
15729
15730 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
15731
15732         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15733         (gst_buffer_make_metadata_writable):
15734         * gst/gstbuffer.h:
15735         * libs/gst/base/gstbasetransform.c:
15736         (gst_base_transform_prepare_output_buf):
15737         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15738         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15739           Replace gst_buffer_(make|is)_metadata_writable patch now
15740           that the release is out.
15741
15742 2006-01-17  Andy Wingo  <wingo@pobox.com>
15743
15744         * gst/gstregistry.c: Reflow design comment. Update so as to speak
15745         in the present tense without reference to versions.
15746
15747         * gst/gstregistry.c (gst_registry_add_plugin)
15748         (gst_registry_remove_plugin, gst_registry_remove_feature)
15749         (gst_registry_find_feature, gst_registry_get_feature_list)
15750         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15751         (gst_registry_lookup, gst_registry_scan_path)
15752         (_gst_registry_remove_cache_plugins)
15753         (gst_registry_get_feature_list_by_plugin): Add argument
15754         validation.
15755
15756 === release 0.10.2 ===
15757
15758 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
15759
15760         * configure.ac:
15761           releasing 0.10.2, "If man is five"
15762
15763 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15764
15765         * gst/gstbuffer.c:
15766         * gst/gstbuffer.h:
15767         * libs/gst/base/gstbasetransform.c:
15768         (gst_base_transform_prepare_output_buf):
15769         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15770         * tests/check/gst/gstbuffer.c: (gst_test_suite):
15771           Back out patch until after the release.
15772
15773 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15774
15775         * gst/gstminiobject.c:
15776           Spelling fix in docs.
15777         * ChangeLog - remove conflict indicator
15778
15779 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15780
15781         Reviewed By: Andy Wingo
15782
15783         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15784         (gst_buffer_make_metadata_writable):
15785         * gst/gstbuffer.h:
15786           Add gst_buffer_(is|make)_metadata_writable as analogues of
15787           gst_buffer_(is|make)_writable.
15788
15789         * libs/gst/base/gstbasetransform.c:
15790         (gst_base_transform_prepare_output_buf):
15791         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15792           Use name gst_buffer_(is|make)_metadata_writable functions.
15793
15794         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15795           Test gst_buffer_(is|make)_metadata_writable
15796         
15797           (Closes: #324162)
15798
15799 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15800
15801         * docs/manual/Makefile.am:
15802           don't do parallel make
15803         * configure.ac:
15804           AC_SUBST HOST_CPU
15805         * win32/common/config.h.in:
15806           add generations for HOST_CPU and GST_MAJORMINOR
15807         * win32/common/config.h:
15808           commit generated result
15809
15810 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
15811
15812         * docs/manual/appendix-integration.xml:
15813           Update GNOME integration section to use gst_init_get_option_group()
15814           instead of the old popt stuff (#322911). Also, GNOME applications
15815           should  now use gconf*sink and gconf*src instead of the old gconf
15816           helper lib we had.
15817
15818 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
15819
15820
15821         * docs/gst/gstreamer-docs.sgml:
15822         * docs/gst/gstreamer-sections.txt:
15823         * docs/libs/gstreamer-libs-sections.txt:
15824           add new API entries to the docs
15825         * libs/gst/controller/Makefile.am:
15826         * libs/gst/controller/gstcontroller.c:
15827         * libs/gst/controller/gstcontroller.h:
15828         * libs/gst/controller/gstcontrollerprivate.h:
15829         * libs/gst/controller/gsthelper.c:
15830         * libs/gst/controller/gstinterpolation.c:
15831           move private structs to private header
15832         * po/README:
15833           gstreamer-0.7 -> gstreamer-0.10
15834         * tests/check/libs/struct_i386.h:
15835           remove private structs
15836
15837 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15838
15839         * plugins/indexers/Makefile.am:
15840           Fixes as part of #317048
15841
15842 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15843
15844         * plugins/indexers/Makefile.am:
15845           fix #316086 - compilation when mmap is missing
15846
15847 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
15848
15849         * libs/gst/base/gstbasesink.c:
15850           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
15851           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15852         * win32/common/config.h:
15853           added some defines GST_MAJORMINOR and HOST_CPU
15854         * win32/common/libgstbase.def:
15855         * win32/common/libgstreamer.def:
15856           added some exported functions.
15857
15858 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15859
15860         * libs/gst/controller/gstcontroller.c:
15861         (gst_controlled_property_set_interpolation_mode),
15862         (gst_controlled_property_new):
15863         * libs/gst/controller/gstcontroller.h:
15864         * libs/gst/controller/gstinterpolation.c:
15865         (interpolate_none_get_string_value_array):
15866           make G_TYPE_STRING controlable
15867
15868 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15869
15870         * tools/README:
15871         * tools/gst-feedback.1.in:
15872         * tools/gst-inspect.1.in:
15873         * tools/gst-launch.1.in:
15874         * tools/gst-md5sum.1.in:
15875         * tools/gst-typefind.1.in:
15876         * tools/gst-xmlinspect.1.in:
15877         * tools/gst-xmllaunch.1.in:
15878           cleanup man-pages, remove reference to gst-register, document env-vars
15879
15880 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
15881
15882         * gst/gstbuffer.c: (gst_buffer_span):
15883           gst_buffer_span should copy the timestamp of the first buffer
15884           if they were both originally overlapping subbuffers of the 
15885           same parent, using the same logic as the 'slow copy' case.
15886
15887 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
15888
15889         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15890           Need to awaken ALL the pads when we pop a buffer, otherwise
15891           collectpads only works when there is 2 input streams.
15892
15893 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
15894
15895         * docs/random/ensonic/media-device-daemon.txt:
15896           more ideas (dbus)
15897         * gst/gstbuffer.c:
15898           fix doc example, add clarification
15899         * tools/gst-launch.1.in:
15900           add initial info about GST_PLUGIN_PATH, needs more work
15901
15902 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
15903
15904         * docs/manual/basics-bins.xml:
15905         * docs/manual/basics-elements.xml:
15906         * docs/manual/intro-basics.xml:
15907           Some more minor docs additions and updates.
15908
15909 2006-01-11  Wim Taymans  <wim@fluendo.com>
15910
15911         * docs/manual/basics-bins.xml:
15912         * docs/manual/basics-elements.xml:
15913         Some small fixes as pointed out by Ser-ver on IRC.
15914
15915 2006-01-10  Edward Hervey  <edward@fluendo.com>
15916
15917         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15918         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15919         the single-segment mode.
15920
15921 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
15922
15923         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15924
15925         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15926         (gst_base_src_perform_seek), (gst_base_src_send_event),
15927         (gst_base_src_set_property), (gst_base_src_get_property),
15928         (gst_base_src_loop), (gst_base_src_start),
15929         (gst_base_src_activate_push):
15930         * libs/gst/base/gstbasesrc.h:
15931           Name (private) union; makes Sun's Forte compiler happy (#324900).
15932
15933 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
15934
15935         * README:
15936           gst-register is gone.
15937
15938 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15939
15940         * gst/gstvalue.c: (_gst_value_initialize):
15941           make the G_TYPE_DATE instantiation work if debug is disabled
15942
15943 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
15944
15945         * gst/gstmessage.c: (gst_message_parse_tag),
15946         (gst_message_parse_error), (gst_message_parse_warning):
15947           Don't crash when return location for error/warning debug
15948           string is NULL; add fact that return locations can be
15949           NULL to docs where appropriate.
15950
15951 2006-01-05  Wim Taymans  <wim@fluendo.com>
15952
15953         * gst/gstplugin.c: (gst_plugin_load_file):
15954         Replace strdup by g_strdup.
15955
15956 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15957
15958         * docs/pwg/advanced-types.xml:
15959           fix doc borkage
15960
15961 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15962
15963         submitted by: Abel Cheung
15964
15965         * po/LINGUAS:
15966         * po/zh_TW.po:
15967           Added Chinese (traditional) translation
15968
15969 2006-01-04  Wim Taymans  <wim@fluendo.com>
15970
15971         * docs/manual/basics-pads.xml:
15972         * docs/plugins/Makefile.am:
15973         * docs/plugins/gstreamer-plugins-docs.sgml:
15974         * docs/plugins/gstreamer-plugins-sections.txt:
15975         * docs/pwg/advanced-clock.xml:
15976         * docs/pwg/advanced-scheduling.xml:
15977         * docs/pwg/advanced-types.xml:
15978         * plugins/elements/gstfdsink.c:
15979         * plugins/elements/gstfdsrc.c:
15980         * plugins/elements/gstfdsrc.h:
15981         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15982         * plugins/elements/gstidentity.h:
15983         * plugins/elements/gstqueue.h:
15984         * plugins/elements/gsttee.c:
15985         * plugins/elements/gsttee.h:
15986         * plugins/elements/gsttypefindelement.c:
15987         (gst_type_find_element_class_init):
15988         * plugins/elements/gsttypefindelement.h:
15989         Small updates to various docs.
15990         Added core plugins to docs.
15991
15992 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15993
15994         * common/gst.supp:
15995           add a suppression for liboil's uninitialized variable
15996
15997 2006-01-02  James Livingston  <jrl at ids dot org dot au>
15998
15999         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16000
16001         * gst/gstutils.h:
16002           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16003           macro, so that gcc doesn't complain if the -Wmissing-prototypes
16004           compiler switch is being used (#325429).
16005
16006 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
16007
16008         * gst/gstbin.c: (gst_bin_query):
16009           Disable duration query caching in bins until it gets
16010           fixed (see #324807).
16011
16012 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16013
16014         * tools/gst-inspect.c: (print_element_properties_info):
16015           Handle properties of POINTER and BOXED type.
16016
16017 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
16018
16019         * gst/gst.c: (init_post):
16020           Init tags stuff and some other things before loading
16021           any static plugins (there may be other static plugins
16022           than just the GStreamer ones, and they may want to
16023           register their own tags or formats or whatever, and
16024           preferably without segfaulting).
16025
16026         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16027           Print at least a warning in the debug logs if we drop a
16028           query just because we don't know how to adjust the value
16029           in the particular format.
16030
16031 2005-12-24  David Schleef  <ds@schleef.org>
16032
16033         * tools/gstreamer-completion:
16034           Replacement for gst-complete written in sh and sed.  Only
16035           completes names of features, but that's 90% of what I want
16036           it for.  Properties are not available in registry.xml.  (Maybe
16037           they should be...)
16038
16039 === release 0.10.1 ===
16040
16041 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
16042
16043         * configure.ac:
16044           releasing 0.10.1, "Nollaig chridheil"
16045
16046 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
16047
16048         * docs/faq/cvs.xml:
16049           Add missing quote, should be make ERROR_CFLAGS="".
16050
16051 2005-12-20  Wim Taymans  <wim@fluendo.com>
16052
16053         * docs/design/part-trickmodes.txt:
16054         More documentation on trickmodes.
16055
16056 2005-12-20  Edward Hervey  <edward@fluendo.com>
16057
16058         * gst/gstcaps.c: (gst_static_caps_get_type):
16059         * gst/gstcaps.h:
16060           API addition: GST_TYPE_STATIC_CAPS
16061         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16062         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16063         * gst/gstpadtemplate.h:
16064           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16065         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16066         bindings.
16067
16068 2005-12-18  Wim Taymans  <wim@fluendo.com>
16069
16070         * libs/gst/base/gstadapter.c:
16071         * libs/gst/base/gstadapter.h:
16072         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16073         (gst_base_sink_get_position):
16074         * libs/gst/base/gstbasesink.h:
16075         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16076         (gst_base_src_default_query), (gst_base_src_default_do_seek),
16077         (gst_base_src_do_seek), (gst_base_src_perform_seek),
16078         (gst_base_src_send_event), (gst_base_src_update_length),
16079         (gst_base_src_get_range), (gst_base_src_loop),
16080         (gst_base_src_start):
16081         * libs/gst/base/gstbasesrc.h:
16082         * libs/gst/base/gstbasetransform.h:
16083         * libs/gst/base/gstcollectpads.h:
16084         * libs/gst/base/gstpushsrc.c:
16085         * libs/gst/base/gstpushsrc.h:
16086         * libs/gst/dataprotocol/dataprotocol.c:
16087         * libs/gst/dataprotocol/dataprotocol.h:
16088         * libs/gst/net/gstnetclientclock.h:
16089         * libs/gst/net/gstnettimeprovider.h:
16090         Documentation updates.
16091
16092 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16093
16094         * docs/manual/basics-helloworld.xml:
16095           Remove superfluous closing bracket in helloworld example.
16096
16097 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16098
16099         * tools/gst-launch.1.in:
16100           Update gst-launch man page; add a section with useful
16101           environment variables. Fixes #323882.
16102
16103 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16104
16105         * gst/gst.c:
16106         * gst/gst_private.h:
16107           change some char* into char[]
16108
16109 2005-12-16  Wim Taymans  <wim@fluendo.com>
16110
16111         * gst/gstregistryxml.c: (load_feature):
16112         Cleanups.
16113         Don't use g_object_unref on GstObjects so that we avoid
16114         leaks on unsafe glibs.
16115
16116 2005-12-16  Wim Taymans  <wim@fluendo.com>
16117
16118         * gst/gstbin.c: (gst_bin_recalc_state):
16119         Small doc updates.
16120
16121 2005-12-16  Wim Taymans  <wim@fluendo.com>
16122
16123         * common/check.mak:
16124         Added make forever target for check.
16125
16126 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16127
16128         * gst/gst.c: (init_post):
16129           make the registry cache file HOST_CPU-dependent
16130
16131 2005-12-16  Andy Wingo  <wingo@pobox.com>
16132
16133         * plugins/elements/gstbufferstore.c
16134         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16135         return value.
16136
16137         * tests/check/gst/gstobject.c
16138         (test_fake_object_name_threaded_unique): Pay attention to
16139         g_list_sort return value.
16140
16141 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16142
16143         * tools/gst-feedback-m.m:
16144           Update for 0.9/0.10 (fixes #323870).
16145
16146 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16147
16148         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16149           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16150           
16151         * tests/check/gst/gstminiobject.c: (my_foo_init),
16152         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16153         (test_value_collection), (gst_mini_object_suite):
16154           Add test to ensure refcounts end up as expected when passing
16155           GstMiniObjects through g_object_get() and g_object_set().
16156
16157 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16158
16159         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16160         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16161         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16162         of collectpads. This version removes a lot of races without
16163         touching API/ABI. Yay !
16164
16165 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16166
16167         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16168           Don't allow activation of a srcpad in pull_range if it has no
16169           getrange function.
16170           Change some debug statements to be a little clearer
16171
16172         * plugins/elements/gsttypefindelement.c:
16173         (gst_type_find_handle_src_query):
16174           Check that we have a peer before executing queries thereupon.
16175
16176         * tests/examples/metadata/read-metadata.c: (message_loop):
16177           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16178           immediately return us any available message with 0 timeout.
16179
16180 2005-12-12  Michael Smith  <msmith@fluendo.com>
16181
16182         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16183           Don't unref factories after calling them.
16184         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16185         * plugins/elements/gsttypefindelement.c:
16186         (gst_type_find_element_chain):
16187           Free lists of factories after using them. Fixing typefinding memory
16188           leaks.
16189
16190 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16191
16192         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16193         (gst_plugin_feature_load):
16194           more meaningful debug output
16195         * configure.ac:
16196         * tests/Makefile.am:
16197         * tests/old/examples/Makefile.am:
16198           make make distcheck happy again
16199
16200 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16201
16202         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16203           Catch the special case where we are operating chain-based,
16204           but the downstream peer pad has no chain function. Emit a
16205           custom error message in this case instead of letting the
16206           core generate one implying that this is some sort of core
16207           bug. It's not, it just means that whatever got plugged
16208           into the pipeline downstream when we announced the type
16209           can only operate pull-based, while our source can only
16210           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16211           Error string has not been marked for translation yet, as
16212           it probably needs some more work first.
16213
16214         (gst_type_find_element_get_best_possibility):
16215           Add helper function to find the best of all available
16216           found possibilities that qualify given the min. threshold.
16217
16218         (gst_type_find_element_handle_event):
16219           Fix the case where we get an EOS while still in TYPEFIND
16220           mode (we want to chose the best of all possible types,
16221           not just the first type that happens to be in our unsorted
16222           list of possible types).
16223
16224         (gst_type_find_element_chain):
16225           Make sure we return GST_FLOW_ERROR when we errored out
16226           in stop_typefinding(); also, don't just find the best of
16227           all found type entries and then use the last examined
16228           type entry, but actually use the best entry.
16229
16230 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16231
16232         * tests/examples/typefind/typefind.c: (type_found):
16233         * tests/examples/xml/runxml.c: (xml_loaded):
16234           More gcc4 fixes and a mem leak fix.
16235
16236 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16237
16238         * tests/examples/xml/createxml.c: (object_saved):
16239           gcc 4 fixes
16240
16241 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16242
16243         * tests/Makefile.am:
16244           enable the examples even more
16245
16246 2005-12-12  Andy Wingo  <wingo@pobox.com>
16247
16248         * libs/gst/net/gstnettimeprovider.c
16249         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16250         (gst_net_time_provider_set_property)
16251         (gst_net_time_provider_get_property):
16252         API addition: Export "active" as a GObject property.
16253         (gst_net_time_provider_thread): Only respond to time queries if
16254         the time provider is active.
16255
16256         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16257         NetTimeProvider, preserving binary compat.
16258
16259 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16260
16261         * tests/examples/controller/audio-example.c: (main):
16262         * tests/examples/launch/Makefile.am:
16263           convert comments again
16264
16265 2005-12-12  Wim Taymans  <wim@fluendo.com>
16266
16267         * libs/gst/base/gstpushsrc.c:
16268         Fix typo.
16269
16270 2005-12-12  Wim Taymans  <wim@fluendo.com>
16271
16272         * docs/libs/gstreamer-libs-sections.txt:
16273         Added new symbol to docs.
16274
16275         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16276         (gst_base_src_init), (gst_base_src_set_format),
16277         (gst_base_src_default_query), (gst_base_src_query),
16278         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16279         (gst_base_src_perform_seek), (gst_base_src_send_event),
16280         (gst_base_src_default_event), (gst_base_src_event_handler),
16281         (gst_base_src_set_property), (gst_base_src_get_property),
16282         (gst_base_src_wait), (gst_base_src_do_sync),
16283         (gst_base_src_update_length), (gst_base_src_get_range),
16284         (gst_base_src_check_get_range), (gst_base_src_loop),
16285         (gst_base_src_default_negotiate), (gst_base_src_start),
16286         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16287         (gst_base_src_change_state):
16288         * libs/gst/base/gstbasesrc.h:
16289         Implement seeking to other formats than _BYTES.
16290         Implement more seeking methods correctly.
16291         Doc updates.
16292         Added query vmethod.
16293         Added do_seek vmethod to make life easier for subclasses
16294         when seeking.
16295         API addition: gst_base_src_set_format()
16296
16297 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16298
16299         * tests/examples/Makefile.am:
16300           added that too
16301
16302 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16303
16304         * configure.ac:
16305         * docs/random/ensonic/media-device-daemon.txt:
16306         * tests/examples/controller/.cvsignore:
16307         * tests/examples/controller/Makefile.am:
16308         * tests/examples/controller/audio-example.c: (main):
16309         * tests/examples/helloworld/.cvsignore:
16310         * tests/examples/helloworld/Makefile.am:
16311         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16312         * tests/examples/launch/.cvsignore:
16313         * tests/examples/launch/Makefile.am:
16314         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16315         * tests/examples/metadata/.cvsignore:
16316         * tests/examples/metadata/Makefile.am:
16317         * tests/examples/metadata/read-metadata.c: (message_loop),
16318         (make_pipeline), (print_tag), (main):
16319         * tests/examples/queue/.cvsignore:
16320         * tests/examples/queue/Makefile.am:
16321         * tests/examples/queue/queue.c: (event_loop), (main):
16322         * tests/examples/typefind/.cvsignore:
16323         * tests/examples/typefind/Makefile.am:
16324         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16325         (main):
16326         * tests/examples/xml/.cvsignore:
16327         * tests/examples/xml/Makefile.am:
16328         * tests/examples/xml/createxml.c: (object_saved), (main):
16329         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16330         * tests/old/examples/Makefile.am:
16331         * tests/old/examples/TODO:
16332         * tests/old/examples/controller/.cvsignore:
16333         * tests/old/examples/controller/Makefile.am:
16334         * tests/old/examples/controller/audio-example.c:
16335         * tests/old/examples/helloworld/.cvsignore:
16336         * tests/old/examples/helloworld/Makefile.am:
16337         * tests/old/examples/helloworld/helloworld.c:
16338         * tests/old/examples/launch/.cvsignore:
16339         * tests/old/examples/launch/Makefile.am:
16340         * tests/old/examples/launch/mp3parselaunch.c:
16341         * tests/old/examples/launch/mp3play:
16342         * tests/old/examples/manual/Makefile.am:
16343         * tests/old/examples/metadata/Makefile.am:
16344         * tests/old/examples/metadata/read-metadata.c:
16345         * tests/old/examples/queue/.cvsignore:
16346         * tests/old/examples/queue/Makefile.am:
16347         * tests/old/examples/queue/queue.c:
16348         * tests/old/examples/typefind/.cvsignore:
16349         * tests/old/examples/typefind/Makefile.am:
16350         * tests/old/examples/typefind/typefind.c:
16351         * tests/old/examples/xml/.cvsignore:
16352         * tests/old/examples/xml/Makefile.am:
16353         * tests/old/examples/xml/createxml.c:
16354         * tests/old/examples/xml/runxml.c:
16355           applied some simple fixing to some examples
16356           re-enabled the working examples
16357
16358 2005-12-12  Wim Taymans  <wim@fluendo.com>
16359
16360         * gst/gstsegment.c: (gst_segment_init),
16361         (gst_segment_set_last_stop), (gst_segment_set_seek),
16362         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16363         (gst_segment_to_running_time):
16364         Added more documentation.
16365         Make sure the last_pos value is updated properly.
16366         Make sure to_stream_time and to_running_time don't
16367         operate on wrong values.
16368
16369         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16370         Update check.
16371
16372 2005-12-12  Michael Smith  <msmith@fluendo.com>
16373
16374         * plugins/elements/gsttypefindelement.c: (free_entry),
16375         (gst_type_find_element_chain):
16376           Now that we're not leaking factories, make sure we keep references
16377           to them while we need them.
16378
16379 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16380
16381         * tests/check/gst/struct_i386.h:
16382           ifdef out the XML structs
16383
16384 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16385
16386         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16387           floor is not needed, F is always positive; this obviates the
16388           need for adding -lm when building without libxml
16389
16390 2005-12-12  Wim Taymans  <wim@fluendo.com>
16391
16392         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16393         Take current playback rate into account when reporting
16394         the position.
16395
16396 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16397
16398         * docs/manual/mime-world.fig:
16399           Let's try this again, this time with a file that is
16400           actually in XFig format.
16401
16402 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16403
16404         * docs/manual/mime-world.fig:
16405           Add audioconvert element to diagram so that it
16406           matches the text and the code (fixes #319526).
16407
16408 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16409
16410         * docs/pwg/building-chainfn.xml:
16411         * docs/pwg/building-pads.xml:
16412         * docs/pwg/building-state.xml:
16413         * docs/pwg/other-source.xml:
16414           Update state change stuff for 0.10 (fixes #322969).
16415
16416 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16417
16418         * docs/manual/advanced-dataaccess.xml:
16419         * docs/manual/appendix-checklist.xml:
16420         * docs/manual/appendix-programs.xml:
16421         * docs/manual/basics-pads.xml:
16422         * docs/manual/highlevel-components.xml:
16423         * docs/manual/manual.xml:
16424           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16425           add converters in front of pipelines; remove curly
16426           brackets for threads stuff, they no longer exist; use
16427           GST_TYPE_FRACTION for framerates; update some pieces of
16428           code to 0.10, but there's plenty more to do.
16429
16430         * docs/manual/appendix-porting.xml:
16431           Expand on asynchroneous state changes; s/0.9/0.10/;
16432           mention disappearance of gst_init_get_popt_table()
16433           (fixes #322916).
16434
16435 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16436
16437         * docs/faq/using.xml:
16438           Spider no longer exists, and neither does gst-launch-ext.
16439           Update examples to use decodebin and playbin and put
16440           converters in front of sinks (fixes #323726).
16441
16442 2005-12-09  Michael Smith  <msmith@fluendo.com>
16443
16444         * plugins/elements/gsttypefindelement.c: (find_peek),
16445         (gst_type_find_element_chain):
16446           Fix leaking element factories in typefinding.
16447           Fix problem where we forgot about a probable type on non-seekable
16448           files, and thus later mis-typefound it.
16449
16450 2005-12-09  Michael Smith  <msmith@fluendo.com>
16451
16452         * common/m4/gst-makecontext.m4:
16453         * common/m4/gst-mcsc.m4:
16454         * configure.ac:
16455         * win32/common/config.h:
16456         * win32/common/config.h.in:
16457           Remove makecontext stuff; not used in 0.10 and causes problems on
16458           HPUX according to bug #322441
16459
16460 2005-12-07  Wim Taymans  <wim@fluendo.com>
16461
16462         * tests/check/Makefile.am:
16463         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16464         (main):
16465         * tests/check/libs/struct_i386.h:
16466         Added ABI check for libs
16467
16468 2005-12-07  Wim Taymans  <wim@fluendo.com>
16469
16470         * tests/check/Makefile.am:
16471         And add the struct_i386.h to dist.
16472
16473 2005-12-07  Wim Taymans  <wim@fluendo.com>
16474
16475         * tests/check/Makefile.am:
16476         * tests/check/gst/.cvsignore:
16477         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16478         (main):
16479         * tests/check/gst/struct_i386.h:
16480         Added check for ABI compatibility.
16481
16482 2005-12-07  Wim Taymans  <wim@fluendo.com>
16483
16484         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16485         (gst_fake_src_get_times), (gst_fake_src_create):
16486         Fix broken sync option, fixes #323259
16487
16488 2005-12-07  Wim Taymans  <wim@fluendo.com>
16489
16490         * gst/gstbuffer.c:
16491         Small docs update.
16492
16493         * gst/gstcaps.c: (gst_caps_is_equal):
16494         Don't assert on NULL <--> X. Fixes #323260
16495
16496         * gst/gstminiobject.c: (gst_mini_object_replace):
16497         If we're doing atomic operations, we might just as well use
16498         the proper way to get an atomic pointer.
16499
16500         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16501         Clean up debugging.
16502
16503 2005-12-07  Michael Smith  <msmith@fluendo.com>
16504
16505         * gst/parse/grammar.y:
16506           Remove handling of { } for threads.
16507
16508 2005-12-06  David Schleef  <ds@schleef.org>
16509
16510         * libs/gst/base/gstbasetransform.c: speling fix.
16511
16512 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16513
16514         * docs/libs/tmpl/gstdataprotocol.sgml:
16515         * docs/random/omega/testing/gstobject.c:
16516         * gst/gst.c:
16517         * gst/gstclock.c:
16518         * gst/gstelement.c:
16519         * gst/gstelementfactory.c:
16520         * gst/gsterror.c:
16521         * gst/gstevent.c:
16522         * gst/gstghostpad.c:
16523         * gst/gstinfo.c:
16524         * gst/gstpadtemplate.c:
16525         * gst/gstregistryxml.c:
16526         * gst/gsttaglist.c:
16527         * gst/gsttagsetter.c:
16528         * gst/gsttypefind.c:
16529         * gst/gstvalue.c:
16530         * libs/gst/base/gstbasesrc.c:
16531         * libs/gst/net/gstnetclientclock.c:
16532         * libs/gst/net/gstnettimeprovider.c:
16533         * plugins/elements/gstfakesrc.c:
16534         * plugins/elements/gstfdsrc.c:
16535         * plugins/elements/gstfilesrc.c:
16536         * plugins/elements/gstidentity.c:
16537         * plugins/elements/gstqueue.c:
16538         * plugins/elements/gsttypefindelement.c:
16539         * plugins/indexers/gstfileindex.c:
16540         * plugins/indexers/gstmemindex.c:
16541         * tests/check/gst/gsttag.c:
16542         * tests/old/examples/cutter/cutter.c:
16543         * tests/old/examples/mixer/mixer.c:
16544         * tests/old/examples/xml/runxml.c: (main):
16545         * tests/old/testsuite/caps/normalisation.c:
16546         * tests/old/testsuite/debug/global.c:
16547         * tests/old/testsuite/parse/parse1.c:
16548         * tools/gst-xmlinspect.c:
16549         * win32/common/dirent.c:
16550           expand tabs
16551
16552 === release 0.10.0 ===
16553
16554 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16555
16556         * configure.ac:
16557           releasing 0.10.0, "Maroilles"
16558
16559 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16560
16561         submitted by: Funda Wang <fundawang@linux.net.cn>
16562
16563         * po/LINGUAS:
16564         * po/zh_CN.po:
16565           added Chinese (Traditional) translation
16566
16567 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16568
16569         * docs/gst/gstreamer-sections.txt:
16570         * docs/libs/tmpl/gstdataprotocol.sgml:
16571         * docs/random/thomasvs/TODO:
16572         * gst/gstutils.c:
16573         * gst/gstutils.h:
16574           fix docs
16575
16576 2005-12-05  Andy Wingo  <wingo@pobox.com>
16577
16578         patch by: Wim Taymans <wim@fluendo.com>
16579
16580         * libs/gst/base/gstbasetransform.c
16581         (gst_base_transform_prepare_output_buf)
16582         (gst_base_transform_buffer_alloc):
16583         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16584         alloc_buffer_and_set_caps.
16585
16586         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16587         set_caps on the source pad.
16588         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16589         alloc_buffer used to do. Fixes #322874.
16590
16591         * docs/gst/gstreamer-sections.txt: 
16592         * docs/design/part-negotiation.txt: 
16593         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16594         changes.
16595
16596 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16597
16598         patch by: Sebastien Moutte
16599
16600         * win32/MANIFEST:
16601         * win32/common/config.h.in:
16602         * win32/vs6/libgstcontroller.dsp:
16603           win32 build fixes
16604
16605 2005-12-05  Wim Taymans  <wim@fluendo.com>
16606
16607         * gst/gstcaps.c: (gst_caps_is_equal):
16608         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16609         (gst_fake_src_create):
16610         Back out previous code changes, leave doc updates, file bugs 
16611         instead. 
16612
16613 2005-12-05  Wim Taymans  <wim@fluendo.com>
16614
16615         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16616         (gst_fake_src_get_times), (gst_fake_src_create):
16617         * plugins/elements/gstfakesrc.h:
16618         Fix broken sync code.
16619
16620 2005-12-05  Wim Taymans  <wim@fluendo.com>
16621
16622         * gst/gstcaps.c: (gst_caps_is_equal):
16623         Comparing NULL against !NULL yields different caps, not a
16624         failure.
16625
16626 2005-12-05  Wim Taymans  <wim@fluendo.com>
16627
16628         * gst/gstpipeline.c:
16629         Fix small typo in docs.
16630
16631 2005-12-05  Andy Wingo  <wingo@pobox.com>
16632
16633         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16634
16635         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16636         registries/plugins with a MAJORMINOR one.
16637         (plugin_desc): Rename library from gstcoreleements to
16638         staticelements. Fixes #323222.
16639
16640 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16641
16642         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16643           Change debug category to 'collectpads' from 'collect_pads'
16644           (fixes #323250).
16645
16646 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16647
16648         patch by: Sebastien Moutte
16649
16650         * libs/gst/controller/gstinterpolation.c:
16651           use convert function for uint64/double
16652         * win32/vs6/libgstcontroller.dsp:
16653           link to GLib
16654
16655 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16656
16657         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16658         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16659         * gst/gstutils.h:
16660         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16661           add tests that seem to show that the guint64/gdouble conversions
16662           are correct.
16663
16664 2005-12-02  Wim Taymans  <wim@fluendo.com>
16665
16666         * gst/gstregistry.c: (gst_registry_add_path):
16667         * gst/gstregistry.h:
16668         * gst/gstregistryxml.c:
16669         Fix docs again.
16670
16671 2005-12-02  Wim Taymans  <wim@fluendo.com>
16672
16673         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16674         (gst_util_uint64_scale_int):
16675         Small cleanup.
16676
16677         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16678         Add debug log line.
16679
16680         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16681         Add FIXME.
16682
16683 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16684
16685         * win32/MANIFEST:
16686         * win32/common/config.h:
16687         * win32/vs6/gstreamer.dsw:
16688         * win32/vs6/libgstcoreelements.dsp:
16689         * win32/vs6/libgstelements.dsp:
16690           renamed core elements plugin
16691
16692 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16693
16694         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16695         (get_candidates):
16696           do piece-wise major/minor comparison so 0.9 < 0.10
16697           also allow .exe extensions for tools
16698
16699 2005-12-02  Michael Smith  <msmith@fluendo.com>
16700
16701         * gst/gst.c:
16702           Escape a % to make gtkdoc happier; bug 322958.
16703
16704 === release 0.9.7 ===
16705
16706 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16707
16708         * configure.ac:
16709           releasing 0.9.7, "My Dog Has No Nose"
16710
16711 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16712
16713         * common/gst-xmlinspect.py:
16714         * configure.ac:
16715         * docs/libs/tmpl/gstdataprotocol.sgml:
16716         * docs/random/release:
16717         * po/af.po:
16718         * po/az.po:
16719         * po/bg.po:
16720         * po/ca.po:
16721         * po/cs.po:
16722         * po/de.po:
16723         * po/en_GB.po:
16724         * po/fr.po:
16725         * po/it.po:
16726         * po/nb.po:
16727         * po/nl.po:
16728         * po/ru.po:
16729         * po/sq.po:
16730         * po/sr.po:
16731         * po/sv.po:
16732         * po/tr.po:
16733         * po/uk.po:
16734         * po/vi.po:
16735         * win32/common/config.h:
16736         * win32/common/config.h.in:
16737         * win32/vs6/gst_inspect.dsp:
16738         * win32/vs6/gst_launch.dsp:
16739         * win32/vs6/libgstbase.dsp:
16740         * win32/vs6/libgstelements.dsp:
16741         * win32/vs6/libgstreamer.dsp:
16742         * win32/vs7/GStreamer.vcproj:
16743         * win32/vs7/gst-inspect.vcproj:
16744         * win32/vs7/gst-launch.vcproj:
16745         * win32/vs7/libgstbase.vcproj:
16746           bump GST_MAJORMINOR to 0.10
16747           reset libtool version
16748
16749 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16750
16751         * po/LINGUAS:
16752         * po/bg.po:
16753           Added Bulgarian translation by (Alexander Shopov)
16754
16755 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16756
16757         * tests/check/gst/gstplugin.c:
16758           fix test
16759
16760 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16761
16762         * common/gst-xmlinspect.py:
16763         * common/gtk-doc-plugins.mak:
16764         * configure.ac:
16765         * docs/Makefile.am:
16766         * docs/gst/Makefile.am:
16767         * docs/gst/gstreamer-docs.sgml:
16768         * docs/gst/gstreamer-sections.txt:
16769         * docs/gst/gstreamer.types:
16770         * docs/gst/gstreamer.types.in:
16771         * docs/plugins/Makefile.am:
16772         * docs/plugins/gstreamer-plugins-docs.sgml:
16773         * docs/plugins/gstreamer-plugins-sections.txt:
16774         * docs/plugins/gstreamer-plugins.types:
16775         * docs/plugins/inspect.stamp:
16776         * docs/plugins/inspect/plugin-coreelements.xml:
16777         * docs/plugins/inspect/plugin-coreindexers.xml:
16778         * docs/plugins/scanobj-build.stamp:
16779         * gstreamer.spec.in:
16780         * plugins/elements/Makefile.am:
16781         * plugins/elements/gstelements.c:
16782         * plugins/elements/gstfakesink.c:
16783         * plugins/elements/gstfakesrc.c:
16784         * plugins/elements/gstfilesink.c:
16785         * plugins/elements/gstfilesrc.c:
16786         * plugins/elements/gstqueue.c:
16787         * plugins/indexers/Makefile.am:
16788         * plugins/indexers/gstindexers.c:
16789           document core plugins in a separate document just like all the
16790           others
16791           rename these plugins to something starting with core
16792
16793 2005-12-01  Andy Wingo  <wingo@pobox.com>
16794
16795         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16796         padding here before, but it missed the commit.
16797
16798 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16799
16800         * libs/gst/controller/gstinterpolation.c:
16801           whitespace prices have crashed, we should feel free to use some now
16802           use gst_guint64_to_gdouble
16803
16804 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16805
16806         * libs/gst/controller/gstcontroller.c:
16807         * libs/gst/controller/gsthelper.c:
16808         * libs/gst/controller/gstinterpolation.c:
16809         * libs/gst/controller/lib.c:
16810           wrap config.h include
16811
16812 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16813
16814         * docs/gst/gstreamer-sections.txt:
16815           update docs
16816
16817 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16818
16819         * plugins/elements/gstelements.c:
16820         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16821         (gst_fd_sink__class_init), (gst_fd_sink__init),
16822         (gst_fd_sink__chain), (gst_fd_sink__set_property),
16823         (gst_fd_sink__get_property):
16824         * plugins/elements/gstfdsink.h:
16825         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16826         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16827         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16828         (gst_fd_src_unlock), (gst_fd_src_set_property),
16829         (gst_fd_src_get_property), (gst_fd_src_create),
16830         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16831         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16832         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16833         (gst_fd_src_uri_handler_init):
16834         * plugins/elements/gstfdsrc.h:
16835         * plugins/elements/gstqueue.c: (gst_queue_get_type):
16836           more anal cleanup
16837
16838 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16839
16840         * docs/gst/Makefile.am:
16841         * docs/gst/gstreamer.types.in:
16842         * gst/Makefile.am:
16843           fix the docs build
16844
16845 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16846
16847         * configure.ac:
16848         * gst/Makefile.am:
16849         * gst/gst.c:
16850         * gst/gstplugin.h:
16851         * gst/gstregistry.h:
16852         * tests/benchmarks/complexity.c:
16853         * tests/benchmarks/mass-elements.c:
16854         * tests/check/Makefile.am:
16855         * tools/Makefile.am:
16856         * tools/gst-inspect.c:
16857         * tools/gst-xmlinspect.c:
16858           various fixes to make
16859           --disable-nls --disable-registry --disable-loadsave
16860           --disable-parse --disable-gst-debug
16861           work and get the core .so down to 360444 bytes after stripping
16862
16863 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16864
16865         * Makefile.am:
16866         * configure.ac:
16867           descend into tests
16868         * docs/random/thomasvs/TODO:
16869         * tests/Makefile.am:
16870         * tests/README:
16871           add a README
16872
16873 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16874
16875         * win32/GStreamer.vcproj:
16876         * win32/MANIFEST:
16877         * win32/Makefile:
16878         * win32/Makefile.inspect:
16879         * win32/Makefile.launch:
16880         * win32/Makefile.register:
16881         * win32/README.txt:
16882         * win32/gst-inspect.vcproj:
16883         * win32/gst-launch.vcproj:
16884         * win32/gst-register.vcproj:
16885         * win32/gstelements.vcproj:
16886         * win32/gstgetbits.def:
16887         * win32/gstgetbits.vcproj:
16888         * win32/gstreamer-dbg.def:
16889         * win32/gstreamer.def:
16890         * win32/libgstbase.def:
16891         * win32/libgstbase.vcproj:
16892         * win32/link_oldruntime.c:
16893         * win32/mman.c:
16894         * win32/mman.h:
16895         * win32/mman.inl:
16896         * win32/msvc71.sln:
16897           move even more stuff, win32/ is nice and clean now
16898
16899 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16900
16901         * libs/gst/control/.cvsignore:
16902         * win32/MANIFEST:
16903         * win32/config.h:
16904         * win32/dirent.c:
16905         * win32/dirent.h:
16906         * win32/gstbytestream.def:
16907         * win32/gstbytestream.vcproj:
16908         * win32/gstconfig.h:
16909         * win32/gstenumtypes.c:
16910         * win32/gstenumtypes.h:
16911         * win32/gstoptimalscheduler.vcproj:
16912         * win32/gstversion.h:
16913         * win32/gtchar.h:
16914         * win32/testsuite/bins.vcproj:
16915         * win32/testsuite/bytestream.vcproj:
16916         * win32/testsuite/caps.vcproj:
16917         * win32/testsuite/cleanup.vcproj:
16918         * win32/testsuite/clock.vcproj:
16919         * win32/testsuite/debug.vcproj:
16920         * win32/testsuite/dlopen.vcproj:
16921         * win32/testsuite/dynparams.vcproj:
16922         * win32/testsuite/elements.vcproj:
16923         * win32/testsuite/ghostpads.vcproj:
16924         * win32/testsuite/indexers.vcproj:
16925         * win32/testsuite/negotiation.vcproj:
16926         * win32/testsuite/parse.vcproj:
16927         * win32/testsuite/plugin.vcproj:
16928         * win32/testsuite/refcounting.vcproj:
16929         * win32/testsuite/schedulers.vcproj:
16930         * win32/testsuite/states.vcproj:
16931         * win32/testsuite/tags.vcproj:
16932         * win32/testsuite/threads.vcproj:
16933           remove old win32 stuff that isn't maintained and should be
16934           reorganized
16935
16936 2005-11-30  Andy Wingo  <wingo@pobox.com>
16937
16938         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16939         loading the gst.interfaces python module bork.
16940
16941         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16942         available since GLib 2.2. Fixes #318031.
16943
16944 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16945
16946         * Makefile.am:
16947         * check/.cvsignore:
16948         * check/Makefile.am:
16949         * check/elements/.cvsignore:
16950         * check/elements/fakesrc.c:
16951         * check/elements/fdsrc.c:
16952         * check/elements/identity.c:
16953         * check/generic/.cvsignore:
16954         * check/generic/states.c:
16955         * check/gst-libs/.cvsignore:
16956         * check/gst-libs/controller.c:
16957         * check/gst-libs/gdp.c:
16958         * check/gst/.cvsignore:
16959         * check/gst/capslist.h:
16960         * check/gst/gst.c:
16961         * check/gst/gstbin.c:
16962         * check/gst/gstbuffer.c:
16963         * check/gst/gstbus.c:
16964         * check/gst/gstcaps.c:
16965         * check/gst/gstelement.c:
16966         * check/gst/gstevent.c:
16967         * check/gst/gstghostpad.c:
16968         * check/gst/gstiterator.c:
16969         * check/gst/gstmessage.c:
16970         * check/gst/gstminiobject.c:
16971         * check/gst/gstobject.c:
16972         * check/gst/gstpad.c:
16973         * check/gst/gstpipeline.c:
16974         * check/gst/gstplugin.c:
16975         * check/gst/gstsegment.c:
16976         * check/gst/gststructure.c:
16977         * check/gst/gstsystemclock.c:
16978         * check/gst/gsttag.c:
16979         * check/gst/gstutils.c:
16980         * check/gst/gstvalue.c:
16981         * check/net/.cvsignore:
16982         * check/net/gstnetclientclock.c:
16983         * check/net/gstnettimeprovider.c:
16984         * check/pipelines/.cvsignore:
16985         * check/pipelines/cleanup.c:
16986         * check/pipelines/simple_launch_lines.c:
16987         * check/pipelines/stress.c:
16988         * check/states/.cvsignore:
16989         * check/states/sinks.c:
16990         * configure.ac:
16991         * examples/Makefile.am:
16992         * examples/appreader/.cvsignore:
16993         * examples/appreader/Makefile.am:
16994         * examples/appreader/appreader.c:
16995         * examples/controller/.cvsignore:
16996         * examples/controller/Makefile.am:
16997         * examples/controller/audio-example.c:
16998         * examples/cutter/.cvsignore:
16999         * examples/cutter/Makefile.am:
17000         * examples/cutter/cutter.c:
17001         * examples/cutter/cutter.h:
17002         * examples/events/Makefile.am:
17003         * examples/events/seek.c:
17004         * examples/helloworld/.cvsignore:
17005         * examples/helloworld/Makefile.am:
17006         * examples/helloworld/helloworld.c:
17007         * examples/helloworld2/.cvsignore:
17008         * examples/helloworld2/Makefile.am:
17009         * examples/helloworld2/helloworld2.c:
17010         * examples/launch/.cvsignore:
17011         * examples/launch/Makefile.am:
17012         * examples/launch/mp3parselaunch.c:
17013         * examples/launch/mp3play:
17014         * examples/manual/.cvsignore:
17015         * examples/manual/Makefile.am:
17016         * examples/manual/extract.pl:
17017         * examples/metadata/Makefile.am:
17018         * examples/metadata/read-metadata.c:
17019         * examples/mixer/.cvsignore:
17020         * examples/mixer/Makefile.am:
17021         * examples/mixer/mixer.c:
17022         * examples/mixer/mixer.h:
17023         * examples/pingpong/.cvsignore:
17024         * examples/pingpong/Makefile.am:
17025         * examples/pingpong/pingpong.c:
17026         * examples/plugins/.cvsignore:
17027         * examples/plugins/Makefile.am:
17028         * examples/plugins/example.c:
17029         * examples/plugins/example.h:
17030         * examples/pwg/.cvsignore:
17031         * examples/pwg/Makefile.am:
17032         * examples/pwg/extract.pl:
17033         * examples/queue/.cvsignore:
17034         * examples/queue/Makefile.am:
17035         * examples/queue/queue.c:
17036         * examples/queue2/.cvsignore:
17037         * examples/queue2/Makefile.am:
17038         * examples/queue2/queue2.c:
17039         * examples/queue3/.cvsignore:
17040         * examples/queue3/Makefile.am:
17041         * examples/queue3/queue3.c:
17042         * examples/queue4/.cvsignore:
17043         * examples/queue4/Makefile.am:
17044         * examples/queue4/queue4.c:
17045         * examples/retag/.cvsignore:
17046         * examples/retag/Makefile.am:
17047         * examples/retag/retag.c:
17048         * examples/retag/transcode.c:
17049         * examples/thread/.cvsignore:
17050         * examples/thread/Makefile.am:
17051         * examples/thread/thread.c:
17052         * examples/typefind/.cvsignore:
17053         * examples/typefind/Makefile.am:
17054         * examples/typefind/typefind.c:
17055         * examples/xml/.cvsignore:
17056         * examples/xml/Makefile.am:
17057         * examples/xml/createxml.c:
17058         * examples/xml/runxml.c:
17059         * tests/Makefile.am:
17060         * tests/check/Makefile.am:
17061         * testsuite/.cvsignore:
17062         * testsuite/Makefile.am:
17063         * testsuite/Rules:
17064         * testsuite/caps/.cvsignore:
17065         * testsuite/caps/Makefile.am:
17066         * testsuite/caps/app_fixate.c:
17067         * testsuite/caps/audioscale.c:
17068         * testsuite/caps/caps.c:
17069         * testsuite/caps/caps.h:
17070         * testsuite/caps/caps_strings:
17071         * testsuite/caps/compatibility.c:
17072         * testsuite/caps/deserialize.c:
17073         * testsuite/caps/enumcaps.c:
17074         * testsuite/caps/eratosthenes.c:
17075         * testsuite/caps/filtercaps.c:
17076         * testsuite/caps/fixed.c:
17077         * testsuite/caps/fraction-convert.c:
17078         * testsuite/caps/fraction-multiply-and-zero.c:
17079         * testsuite/caps/intersect2.c:
17080         * testsuite/caps/intersection.c:
17081         * testsuite/caps/normalisation.c:
17082         * testsuite/caps/random.c:
17083         * testsuite/caps/renegotiate.c:
17084         * testsuite/caps/sets.c:
17085         * testsuite/caps/simplify.c:
17086         * testsuite/caps/string-conversions.c:
17087         * testsuite/caps/structure.c:
17088         * testsuite/caps/subtract.c:
17089         * testsuite/caps/union.c:
17090         * testsuite/debug/.cvsignore:
17091         * testsuite/debug/Makefile.am:
17092         * testsuite/debug/category.c:
17093         * testsuite/debug/commandline.c:
17094         * testsuite/debug/global.c:
17095         * testsuite/debug/output.c:
17096         * testsuite/debug/printf_extension.c:
17097         * testsuite/dlopen/.cvsignore:
17098         * testsuite/dlopen/Makefile.am:
17099         * testsuite/dlopen/dlopen_gst.c:
17100         * testsuite/dlopen/loadgst.c:
17101         * testsuite/elements/.cvsignore:
17102         * testsuite/elements/Makefile.am:
17103         * testsuite/elements/gst-inspect-check.in:
17104         * testsuite/elements/struct_i386.h:
17105         * testsuite/elements/struct_size.c:
17106         * testsuite/indexers/.cvsignore:
17107         * testsuite/indexers/Makefile.am:
17108         * testsuite/indexers/cache1.c:
17109         * testsuite/indexers/indexdump.c:
17110         * testsuite/parse/.cvsignore:
17111         * testsuite/parse/Makefile.am:
17112         * testsuite/parse/parse1.c:
17113         * testsuite/parse/parse2.c:
17114         * testsuite/plugin/.cvsignore:
17115         * testsuite/plugin/Makefile.am:
17116         * testsuite/plugin/README:
17117         * testsuite/plugin/dynamic.c:
17118         * testsuite/plugin/linked.c:
17119         * testsuite/plugin/loading.c:
17120         * testsuite/plugin/registry.c:
17121         * testsuite/plugin/static.c:
17122         * testsuite/plugin/static2.c:
17123         * testsuite/plugin/testplugin.c:
17124         * testsuite/plugin/testplugin2.c:
17125         * testsuite/plugin/testplugin2_s.c:
17126         * testsuite/plugin/testplugin_s.c:
17127         * testsuite/refcounting/.cvsignore:
17128         * testsuite/refcounting/Makefile.am:
17129         * testsuite/refcounting/bin.c:
17130         * testsuite/refcounting/element.c:
17131         * testsuite/refcounting/element_pad.c:
17132         * testsuite/refcounting/mainloop.c:
17133         * testsuite/refcounting/mem.c:
17134         * testsuite/refcounting/mem.h:
17135         * testsuite/refcounting/object.c:
17136         * testsuite/refcounting/pad.c:
17137         * testsuite/refcounting/sched.c:
17138         * testsuite/refcounting/thread.c:
17139         * testsuite/states/.cvsignore:
17140         * testsuite/states/Makefile.am:
17141         * testsuite/states/bin.c:
17142         * testsuite/states/locked.c:
17143         * testsuite/states/parent.c:
17144         * testsuite/threads/.cvsignore:
17145         * testsuite/threads/159566.c:
17146         * testsuite/threads/159852.c:
17147         * testsuite/threads/Makefile.am:
17148         * testsuite/threads/queue.c:
17149         * testsuite/threads/signals.c:
17150         * testsuite/threads/staticrec.c:
17151         * testsuite/threads/thread.c:
17152         * testsuite/threads/threadb.c:
17153         * testsuite/threads/threadc.c:
17154         * testsuite/threads/threadd.c:
17155         * testsuite/threads/threade.c:
17156         * testsuite/threads/threadf.c:
17157         * testsuite/threads/threadg.c:
17158         * testsuite/threads/threadh.c:
17159         * testsuite/threads/threadi.c:
17160           move all of these under tests
17161
17162 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17163
17164         * configure.ac:
17165         * tests/Makefile.am:
17166           fix distcheck
17167
17168 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17169
17170         * docs/gst/gstreamer-sections.txt:
17171         * tests/sched/.cvsignore:
17172         * tests/sched/Makefile.am:
17173         * tests/sched/cases/(fs-fs).xml:
17174         * tests/sched/cases/(fs-i-fs).xml:
17175         * tests/sched/cases/(fs-i-i-fs).xml:
17176         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17177         * tests/sched/dynamic-pipeline.c:
17178         * tests/sched/interrupt1.c:
17179         * tests/sched/interrupt2.c:
17180         * tests/sched/interrupt3.c:
17181         * tests/sched/runtestcases:
17182         * tests/sched/runxml.c:
17183         * tests/sched/sched-stress.c:
17184         * tests/sched/sort.c:
17185         * tests/sched/testcases:
17186         * tests/sched/testcases1.tc:
17187         * tests/seeking/.cvsignore:
17188         * tests/seeking/Makefile.am:
17189         * tests/seeking/seeking1.c:
17190         * tests/threadstate/.cvsignore:
17191         * tests/threadstate/Makefile.am:
17192         * tests/threadstate/test1.c:
17193         * tests/threadstate/test2.c:
17194         * tests/threadstate/threadstate1.c:
17195         * tests/threadstate/threadstate2.c:
17196         * tests/threadstate/threadstate3.c:
17197         * tests/threadstate/threadstate4.c:
17198         * tests/threadstate/threadstate5.c:
17199           remove obsolete tests
17200         * configure.ac:
17201         * tests/bench-complexity.scm:
17202         * tests/bench-mass_elements.scm:
17203         * tests/complexity.c:
17204         * tests/complexity.gnuplot:
17205         * tests/instantiate/.cvsignore:
17206         * tests/instantiate/Makefile.am:
17207         * tests/instantiate/caps.c:
17208         * tests/mass_elements.c:
17209         * tests/network-clock-utils.scm:
17210         * tests/network-clock.scm:
17211         * tests/plot-data:
17212         First pass at cleaning up tests/ dir before moving the rest
17213         Combined with CVS surgery
17214
17215 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17216
17217         * po/POTFILES.in:
17218           queue has moved, update
17219
17220 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17221
17222         * docs/gst/gstreamer-sections.txt:
17223           remove double entries from the docs
17224         * gst/gst_private.h:
17225         * gst/gstinfo.c: (_gst_debug_init):
17226           remove the THREAD debug category
17227         * gst/Makefile.am:
17228         * gst/gstqueue.c:
17229         * gst/gstqueue.h:
17230         * docs/gst/gstreamer.types:
17231         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17232         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17233           completely move queue and fix up debugging categories
17234
17235 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17236
17237         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17238           make initialization portable, using LL is not
17239
17240 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17241
17242         * win32/common/gstconfig.h:
17243           add large padding
17244
17245 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17246
17247         * win32/common/libgstreamer.def:
17248           rename symbols; sort base section
17249
17250 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17251
17252         * gst/gstclock.c: (do_linear_regression):
17253           remove crack non-portable handrolled DEBUG macro
17254
17255 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17256
17257         * docs/random/release:
17258           update notes
17259         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17260         (gst_object_flags_get_type), (register_gst_bin_flags),
17261         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17262         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17263         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17264         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17265         (gst_caps_flags_get_type), (register_gst_clock_return),
17266         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17267         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17268         (gst_clock_flags_get_type), (register_gst_state),
17269         (gst_state_get_type), (register_gst_state_change_return),
17270         (gst_state_change_return_get_type), (register_gst_state_change),
17271         (gst_state_change_get_type), (register_gst_element_flags),
17272         (gst_element_flags_get_type), (register_gst_core_error),
17273         (gst_core_error_get_type), (register_gst_library_error),
17274         (gst_library_error_get_type), (register_gst_resource_error),
17275         (gst_resource_error_get_type), (register_gst_stream_error),
17276         (gst_stream_error_get_type), (register_gst_event_type_flags),
17277         (gst_event_type_flags_get_type), (register_gst_event_type),
17278         (gst_event_type_get_type), (register_gst_seek_type),
17279         (gst_seek_type_get_type), (register_gst_seek_flags),
17280         (gst_seek_flags_get_type), (register_gst_format),
17281         (gst_format_get_type), (register_gst_index_certainty),
17282         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17283         (gst_index_entry_type_get_type),
17284         (register_gst_index_lookup_method),
17285         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17286         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17287         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17288         (gst_index_flags_get_type), (register_gst_debug_level),
17289         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17290         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17291         (gst_iterator_result_get_type), (register_gst_iterator_item),
17292         (gst_iterator_item_get_type), (register_gst_message_type),
17293         (gst_message_type_get_type), (register_gst_mini_object_flags),
17294         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17295         (gst_pad_link_return_get_type), (register_gst_flow_return),
17296         (gst_flow_return_get_type), (register_gst_activate_mode),
17297         (gst_activate_mode_get_type), (register_gst_pad_direction),
17298         (gst_pad_direction_get_type), (register_gst_pad_flags),
17299         (gst_pad_flags_get_type), (register_gst_pad_presence),
17300         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17301         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17302         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17303         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17304         (gst_plugin_flags_get_type), (register_gst_rank),
17305         (gst_rank_get_type), (register_gst_query_type),
17306         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17307         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17308         (gst_tag_flag_get_type), (register_gst_task_state),
17309         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17310         (gst_alloc_trace_flags_get_type),
17311         (register_gst_type_find_probability),
17312         (gst_type_find_probability_get_type), (register_gst_uri_type),
17313         (gst_uri_type_get_type), (register_gst_parse_error),
17314         (gst_parse_error_get_type):
17315         * win32/common/gstenumtypes.h:
17316         * win32/common/gstversion.h:
17317           update visual studio generated files
17318
17319 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17320
17321         * win32/vs6/libgstbase.dsp:
17322         * win32/vs6/libgstelements.dsp:
17323           update project files for new locations
17324
17325 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17326
17327         * Makefile.am:
17328           remove some files
17329         * README:
17330           reinstate and update
17331         * DEVEL:
17332         * REQUIREMENTS:
17333           removed
17334         * LICENSE:
17335         * docs/random/LICENSE:
17336           moved to random
17337
17338 2005-11-30  Edward Hervey  <edward@fluendo.com>
17339
17340         * gst/gsttypefind.c: (gst_type_find_register):
17341         * gst/gsttypefind.h:
17342         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17343         (gst_type_find_factory_dispose):
17344         * gst/gsttypefindfactory.h:
17345         Fix memory leak in GstTypeFindFactory.
17346
17347 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17348
17349         * gst/gst.c:
17350         * plugins/elements/Makefile.am:
17351         * plugins/elements/gstelements.c:
17352         * plugins/elements/gstqueue.c:
17353           move queue from core to the elements plugin
17354
17355 2005-11-29  Andy Wingo  <wingo@pobox.com>
17356
17357         * libs/gst/base/gstbasetransform.h: 
17358         * libs/gst/base/gstbasesrc.h: 
17359         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17360
17361         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17362         of pointers by which to pad very extensible base classes (like the
17363         ones in libs/gst/base).
17364
17365 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17366
17367         * docs/gst/gstreamer-docs.sgml:
17368         * docs/gst/gstreamer-sections.txt:
17369         * docs/libs/gstreamer-libs-docs.sgml:
17370         * docs/libs/gstreamer-libs-sections.txt:
17371           moving documentation from core to lib
17372
17373 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17374
17375         * check/Makefile.am:
17376         * configure.ac:
17377         * docs/gst/Makefile.am:
17378         * gst/Makefile.am:
17379         * gst/base/.cvsignore:
17380         * gst/base/Makefile.am:
17381         * gst/base/README:
17382         * gst/base/gstadapter.c:
17383         * gst/base/gstadapter.h:
17384         * gst/base/gstbasesink.c:
17385         * gst/base/gstbasesink.h:
17386         * gst/base/gstbasesrc.c:
17387         * gst/base/gstbasesrc.h:
17388         * gst/base/gstbasetransform.c:
17389         * gst/base/gstbasetransform.h:
17390         * gst/base/gstcollectpads.c:
17391         * gst/base/gstcollectpads.h:
17392         * gst/base/gstpushsrc.c:
17393         * gst/base/gstpushsrc.h:
17394         * gst/base/gsttypefindhelper.c:
17395         * gst/base/gsttypefindhelper.h:
17396         * gst/check/Makefile.am:
17397         * gst/check/gstcheck.c:
17398         * gst/check/gstcheck.h:
17399         * gst/net/Makefile.am:
17400         * gst/net/gstnet.h:
17401         * gst/net/gstnetclientclock.c:
17402         * gst/net/gstnetclientclock.h:
17403         * gst/net/gstnettimepacket.c:
17404         * gst/net/gstnettimepacket.h:
17405         * gst/net/gstnettimeprovider.c:
17406         * gst/net/gstnettimeprovider.h:
17407         * libs/gst/Makefile.am:
17408         * libs/gst/base/Makefile.am:
17409         * libs/gst/base/gstbasetransform.c:
17410         * libs/gst/check/Makefile.am:
17411         * plugins/elements/Makefile.am:
17412         * po/POTFILES.in:
17413           CVS surgery + support to move base, check, and net out of gst
17414           and into libs/gst
17415
17416 2005-11-29  Andy Wingo  <wingo@pobox.com>
17417
17418         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17419
17420         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17421         padding.
17422
17423         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17424
17425         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17426
17427         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17428
17429         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17430         padding; reduces object size by about 30%. We don't expect
17431         anything else to go into gstobject.
17432
17433         * gst/gstminiobject.h (struct _GstMiniObject)
17434         (struct _GstMiniObjectClass): Only one pointer of padding; the
17435         payload is only a pointer and two ints anyway. For the class there
17436         are only two methods as well.
17437         
17438         * gst/gstelement.h (struct _GstElementClass): Removed
17439         the state_changed signal callback, it is not used.
17440
17441 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17442
17443         * docs/gst/gstreamer.types:
17444           fix includes, though they are a little dinky
17445
17446 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17447
17448         * check/Makefile.am:
17449           look in the right place for elements, a lot more chance of
17450           success
17451         * gst/Makefile.am:
17452           remove indexers and elements subdirs
17453         * plugins/Makefile.am:
17454           make indexers conditional
17455
17456 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17457
17458         * Makefile.am:
17459         * configure.ac:
17460         * plugins/elements/Makefile.am:
17461         * plugins/elements/gstcapsfilter.c:
17462         * plugins/elements/gstfilesink.c:
17463         * plugins/elements/gstfilesrc.c:
17464         * plugins/elements/gstidentity.c:
17465         * plugins/indexers/Makefile.am:
17466           do CVS surgery and related build fixery to move elements
17467           and indexers in a new gstreamer/plugins directory, out of the
17468           gst/ directory
17469
17470 2005-11-29  Andy Wingo  <wingo@pobox.com>
17471
17472         * check/Makefile.am:
17473         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17474         * pkgconfig/gstreamer-net.pc.in:
17475         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17476         #322257.
17477
17478 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17479
17480         * tools/Makefile.am:
17481         * tools/gst-complete.1.in:
17482         * tools/gst-complete.c:
17483         * tools/gst-compprep.1.in:
17484         * tools/gst-compprep.c:
17485           removing -compprep and -complete
17486
17487 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17488
17489         * gst/gstevent.c: (gst_event_new_new_segment),
17490         (gst_event_parse_new_segment):
17491         * gst/gstevent.h:
17492           fix #320529 - clean up new_segment API and structure.
17493           Let's hope everyone was using the methods, and not the structure.
17494
17495 2005-11-29  Edward Hervey  <edward@fluendo.com>
17496
17497         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17498         (gst_base_sink_event), (gst_base_sink_do_sync),
17499         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17500         Properly handle non GST_FORMAT_TIME segment
17501         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17502         Properly handle non GST_FORMAT_TIME segment
17503         * gst/gstsegment.c:
17504         This function is valid if the accumulator is 0 and the format
17505         is different from the requested format.
17506         
17507 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17508
17509         * docs/gst/gstreamer-sections.txt:
17510         Add gst_query_new_seeking and gst_query_parse_seeking to the
17511         docs.
17512
17513 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17514
17515         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17516           Treat a pad alloc with new caps the same as if we were not
17517           negotiated, in order to allow a changing upstream output
17518           to produce a new format of data.
17519
17520 2005-11-29  Edward Hervey  <edward@fluendo.com>
17521
17522         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17523         (gst_base_transform_event), (gst_base_transform_eventfunc):
17524         The event virtual method is now properly implemented, with a default
17525         handler
17526         Sub classes should call the parent_class event method. They should
17527         return FALSE if they had a problem handling the given event, or don't
17528         want GstBaseTransform to send that even downstream
17529         * gst/elements/gstidentity.c: (gst_identity_class_init),
17530         (gst_identity_init), (gst_identity_event),
17531         (gst_identity_transform_ip), (gst_identity_set_property),
17532         (gst_identity_get_property):
17533         * gst/elements/gstidentity.h:
17534         Added the single-segment boolean property.
17535         If set to TRUE, it will output a single segment of data, starting from
17536         0, will eat up all incoming newsegment, and modify the timestamp of the
17537         buffers accordingly
17538
17539 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17540
17541         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17542           Don't ref NULL target pad (#322751). Improve docs.
17543
17544 2005-11-29  Michael Smith  <msmith@fluendo.com>
17545
17546         * gst/gstregistryxml.c: (load_plugin):
17547           Don't crash if we failed to load a feature from a plugin. 
17548
17549 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17550
17551         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17552         (GST_START_TEST):
17553           use more check API and less GLib API
17554
17555 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17556
17557         * Makefile.am:
17558           don't run checks if we don't have check
17559         * common/check.mak:
17560           remove the registry when running make torture
17561         * docs/gst/gstreamer-sections.txt:
17562           remove second multiply
17563         * gst/gstqueue.c: (gst_queue_loop):
17564           fix a compile warning when disabling debug
17565
17566 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17567
17568         * gst/gstinfo.h:
17569         Hey! Let's print the pad name if the pointer != NULL instead
17570         of when it == NULL :-)
17571
17572 2005-11-28  Wim Taymans  <wim@fluendo.com>
17573
17574         * check/gst/gstutils.c: (GST_START_TEST):
17575         Updated check, add some scaling accuracy checking code.
17576
17577         * gst/gstutils.c: (gst_util_div128_64),
17578         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17579         (gst_util_uint64_scale_int):
17580         Fix 6 times faster division code. Optimize for common 
17581         1/1 and less common X/1 cases.
17582
17583 2005-11-28  Wim Taymans  <wim@fluendo.com>
17584
17585         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17586         More checks.
17587
17588         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17589         (do_linear_regression), (gst_clock_add_observation):
17590         Cleanups.
17591         Release lock when the clock cannot be slaved.
17592         Catch the case where the regression returned an invalid denominator.
17593
17594         * gst/gstutils.c: (gst_util_div128_64_iterate),
17595         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17596         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17597         Add protentially more performant non-iterative 128/64 divide function
17598         that unfortunatly does not work yet.
17599         Shortcut the trivial 0/X = 0 case.
17600         Remove the warnings on overflow.
17601
17602 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17603
17604         * gst/gstplugin.c: (gst_plugin_register_func):
17605           everything causing a plugin not to load should be at least a WARNING
17606
17607 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17608
17609         * docs/random/ensonic/dparams.txt:
17610           some TODOs for the next dev cycle
17611         * libs/gst/controller/gstcontroller.c:
17612         (gst_controlled_property_set_interpolation_mode),
17613         (gst_controlled_property_new):
17614         * libs/gst/controller/gstcontroller.h:
17615           use base type to assign acccessor functions
17616
17617 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17618
17619         * check/Makefile.am:
17620         Oops, that should have been top_srcdir
17621
17622 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17623
17624         * check/Makefile.am:
17625         * check/elements/fdsrc.c: (GST_START_TEST):
17626         Use a cmdline define to specify the location of a file to use for
17627         testing, to avoid breaking distcheck.
17628
17629 2005-11-28  Andy Wingo  <wingo@pobox.com>
17630
17631         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17632
17633 2005-11-28  Edward Hervey  <edward@fluendo.com>
17634
17635         * tools/gst-launch.c: (main):
17636         Clarify the output strings, makes it easier to translate.
17637         Fixes #322626
17638
17639 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17640
17641         * gst/Makefile.am:
17642           don't try and build net if we don't even have <sys/socket.h>
17643
17644 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17645
17646         * check/Makefile.am:
17647         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17648         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17649           Add tests for fdsrc seekability
17650
17651         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17652         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17653         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17654         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17655         * gst/elements/gstfdsrc.h:
17656           fdsrc should not be a 'live' source.
17657           Implement seeking on seekable fd's.
17658
17659         * gst/gstquery.c: (gst_query_new_seeking),
17660         (gst_query_parse_seeking):
17661         * gst/gstquery.h:
17662           Implement SEEKING query functions: 
17663             *_new_seeking and *_parse_seeking
17664
17665 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17666
17667         * gst/gstelement.c: (gst_element_dispose):
17668           don't loop forever
17669
17670         * gst/gstiterator.c:
17671         * gst/gststructure.c:
17672           doc fixes
17673
17674         * libs/gst/controller/gstcontroller.c:
17675         (gst_controlled_property_set_interpolation_mode):
17676         * libs/gst/controller/gstcontroller.h:
17677         * libs/gst/controller/gstinterpolation.c:
17678         (interpolate_none_get_enum_value_array):
17679           support controlling enums
17680
17681 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17682
17683         * gst/gstvalue.c:
17684           Improve documentation for gst_value_union().
17685
17686         * gst/gstvalue.h:
17687           Change return value for union, intersect and subtract functions
17688           from gint to gboolean.
17689
17690 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17691
17692         * gst/gstvalue.c: (gst_value_serialize_any_list),
17693         (gst_value_transform_any_list_string),
17694         (gst_value_deserialize_list), (gst_value_deserialize_array),
17695         (gst_value_set_int_range), (gst_value_deserialize_int_range),
17696         (gst_value_set_double_range), (gst_value_deserialize_double_range),
17697         (gst_value_set_fraction_range_full),
17698         (gst_value_deserialize_fraction_range),
17699         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17700         (gst_value_deserialize_boolean),
17701         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17702         (gst_value_serialize_float), (gst_value_deserialize_float),
17703         (gst_string_wrap), (gst_value_deserialize_string),
17704         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17705         (gst_value_union_int_range_int_range),
17706         (gst_value_intersect_int_range_int_range),
17707         (gst_value_intersect_double_range_double_range),
17708         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17709         (gst_value_subtract_int_range_int_range),
17710         (gst_value_subtract_double_double_range),
17711         (gst_value_subtract_double_range_double_range),
17712         (gst_value_deserialize_fraction):
17713         * gst/gstvalue.h:
17714           Use gint, gdouble and gchar in our API instead of int, double and
17715           char (and make usage in gstvalue.c more consistent).
17716
17717 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17718
17719         * check/Makefile.am:
17720         * libs/gst/controller/Makefile.am:
17721         * libs/gst/dataprotocol/Makefile.am:
17722           fix up Makefile.am and remove GST_ENABLE_NEW
17723
17724 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17725
17726         * configure.ac:
17727         * gst/Makefile.am:
17728         * gst/base/Makefile.am:
17729         * gst/check/Makefile.am:
17730         * gst/elements/Makefile.am:
17731         * gst/net/Makefile.am:
17732           update LDFLAGS use some more
17733
17734 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17735
17736         * common/m4/gst-doc.m4:
17737           Fixes #312589
17738
17739 2005-11-26  Edward Hervey  <edward@fluendo.com>
17740
17741         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17742         This shouldn't issue a g_warning since it returns NULL if it
17743         couldn't find the plugin, and all functions using this behave
17744         properly on a NULL return. Switching to a GST_WARNING.
17745
17746 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
17747
17748         * gst/gstbin.c: (gst_bin_handle_message_func):
17749         Don't leak clock messages.
17750
17751 2005-11-25  Wim Taymans  <wim@fluendo.com>
17752
17753         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17754         (gst_util_uint64_scale_int):
17755         Optimisations, remove unneeded vars.
17756
17757 2005-11-25  Wim Taymans  <wim@fluendo.com>
17758
17759         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17760         Added more checks for the high precision uint64 cases.
17761
17762         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17763         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17764         Implement high precision (guint64 * guint64) / guint64.
17765
17766 2005-11-24  Wim Taymans  <wim@fluendo.com>
17767
17768         * gst/base/gstbasesrc.c: (gst_base_src_query):
17769         Fix wrong percentage query.
17770
17771         * gst/gstutils.c: (gst_util_uint64_scale),
17772         (gst_util_uint64_scale_int):
17773         Add some more common cases that can be handled 
17774         efficiently to _scale.
17775
17776 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17777
17778         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17779         (gst_mini_object_suite):
17780           don't use check calls from threads; check probably isn't
17781           threadsafe and using a lock to make it threadsafe would
17782           defeat the purpose of this check
17783         * gst/check/gstcheck.c:
17784         * gst/check/gstcheck.h:
17785           use GST_DEBUG some more
17786
17787 2005-11-24  Wim Taymans  <wim@fluendo.com>
17788
17789         * gst/gstutils.c: (gst_util_uint64_scale),
17790         (gst_util_uint64_scale_int):
17791         Chain trivial case to _scale_int.
17792
17793 2005-11-24  Wim Taymans  <wim@fluendo.com>
17794
17795         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17796         Added test for scaling.
17797
17798         * gst/gstclock.h:
17799         Small doc fix.
17800
17801         * gst/gstutils.c: (gst_util_uint64_scale_int):
17802         Implemented high precision scaling code.
17803
17804 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
17805
17806         * gst/gstinfo.h:
17807           do not crash on pad==NULL
17808
17809 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17810
17811         Patch by: Stefan Kost
17812
17813         * common/gtk-doc.mak:
17814         * docs/gst/Makefile.am:
17815         * docs/libs/Makefile.am:
17816           Fix distcheck issues for the libraries docs build
17817           Closes #319599.
17818
17819 2005-11-24  Michael Smith <msmith@fluendo.com>
17820
17821         * docs/manual/basics-helloworld.xml:
17822           Fix bug #315027: memory leak in example code in docs.
17823
17824 2005-11-24  Michael Smith <msmith@fluendo.com>
17825
17826         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17827           Unlock the PREROLL_LOCK in a failure case.
17828
17829 2005-11-24  Wim Taymans  <wim@fluendo.com>
17830
17831         * docs/gst/gstreamer-sections.txt:
17832         * gst/base/gstadapter.h:
17833         * gst/base/gstbasesink.h:
17834         * gst/base/gstbasesrc.h:
17835         * gst/base/gstbasetransform.h:
17836         * gst/base/gstpushsrc.h:
17837         * gst/elements/gstfakesink.h:
17838         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17839         * gst/elements/gstfakesrc.h:
17840         * gst/elements/gstfilesink.h:
17841         * gst/elements/gstfilesrc.h:
17842         * gst/gst.c:
17843         * gst/gstbin.c:
17844         * gst/gstbuffer.c: (_gst_buffer_copy):
17845         * gst/gstbus.h:
17846         * gst/gstcaps.c:
17847         * gst/gstchildproxy.c:
17848         * gst/gstclock.c:
17849         * gst/gstelement.c:
17850         * gst/gstelementfactory.c:
17851         * gst/gstelementfactory.h:
17852         * gst/gstevent.c:
17853         * gst/gstghostpad.h:
17854         * gst/gstindex.h:
17855         * gst/gstinterface.h:
17856         * gst/gstminiobject.c:
17857         * gst/gstminiobject.h:
17858         * gst/gstpad.c:
17859         * gst/gstpad.h:
17860         * gst/gstpadtemplate.h:
17861         * gst/gstpipeline.h:
17862         * gst/gstpluginfeature.h:
17863         * gst/gstquery.h:
17864         * gst/gstqueue.h:
17865         * gst/gsttaglist.c:
17866         * gst/gsttaglist.h:
17867         * gst/gsttagsetter.c:
17868         * gst/gsttagsetter.h:
17869         * gst/gsttrace.c:
17870         * gst/gsttrace.h:
17871         * gst/gsttypefind.h:
17872         * gst/gsturi.h:
17873         * gst/gstvalue.c:
17874         * gst/net/gstnetclientclock.c:
17875         * gst/net/gstnetclientclock.h:
17876         * gst/net/gstnettimepacket.c:
17877         * gst/net/gstnettimeprovider.c:
17878         * gst/net/gstnettimeprovider.h:
17879         Doc fixes.
17880
17881 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17882
17883         * configure.ac: back to HEAD
17884
17885 === release 0.9.6 ===
17886
17887 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
17888
17889         * configure.ac:
17890           releasing 0.9.6, "Always On Time"
17891
17892 2005-11-23  Wim Taymans  <wim@fluendo.com>
17893
17894         * docs/gst/gstreamer-sections.txt:
17895         * gst/glib-compat.c:
17896         * gst/gsttagsetter.c:
17897         * gst/gstvalue.c:
17898         * gst/net/gstnetclientclock.c:
17899         * gst/net/gstnettimepacket.h:
17900         Doc updates.
17901
17902 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17903
17904         * docs/faq/using.xml:
17905         * docs/libs/tmpl/gstcontrol.sgml:
17906         * docs/manual/advanced-dparams.xml:
17907         * docs/manual/appendix-checklist.xml:
17908         * docs/manual/basics-elements.xml:
17909         * docs/pwg/other-source.xml:
17910         * docs/random/moving-plugins:
17911         * gst/gstpad.c:
17912         * tools/gst-launch.1.in:
17913           remove mentions of sinesrc
17914
17915 2005-11-23  Michael Smith <msmith@fluendo.com>
17916
17917         * docs/gst/gstreamer-sections.txt:
17918           Update for new API and API changes.
17919         * gst/gstobject.h:
17920           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17921         * gst/gstvalue.c:
17922           Documentation typo fix.
17923         * gst/net/gstnettimepacket.c:
17924           Documentation fixes for arguments.
17925
17926 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
17927
17928         * gst/gststructure.c: (gst_structure_get_fraction),
17929         (gst_structure_parse_value),
17930         (gst_structure_fixate_field_nearest_fraction):
17931         * gst/gststructure.h:
17932         * gst/gstutils.c: (gst_util_uint64_scale_int):
17933         * gst/gstutils.h:
17934         * scripts/update-funcnames:
17935         API Changes. 
17936         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17937         Make gst_structure_fixate_field_nearest_fraction take a numerator
17938         and denominator argument instead of a GValue
17939         add gst_structure_get_fraction helper function.
17940
17941 2005-11-23  Wim Taymans  <wim@fluendo.com>
17942
17943         * docs/design/part-TODO.txt:
17944         Update TODO.
17945
17946         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17947         * gst/net/gstnetclientclock.h:
17948         Use parent fields for timeout and window_size.
17949
17950 2005-11-23  Andy Wingo  <wingo@pobox.com>
17951
17952         * check/net/gstnetclientclock.c (test_functioning): Adjust to
17953         rate_num/rate_denom change.
17954
17955         * gst/net/gstnetclientclock.c
17956         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17957         OBJECT_LOCK. Don't call add_observation with the lock.
17958
17959         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17960         fraction.
17961         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17962         rate fraction.
17963         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17964         deal with rate as a fraction whose numerator and denominator are
17965         GstClockTime values.
17966         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
17967         master; the other fields are protected by the SLAVE_LOCK.
17968         (do_linear_regression): Note that this must be called with the
17969         SLAVE_LOCK.
17970         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
17971         OBJECT_LOCK. Call set_calibration instead of touching the
17972         variables directly.
17973         (gst_clock_set_property, gst_clock_get_property): Protect
17974         master/slave parameters with the SLAVE_LOCK.
17975
17976         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
17977         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
17978         note that all of the instance variables that add_observation and
17979         the set_master functions use are protected by that lock and not
17980         the OBJECT_LOCK.
17981         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
17982
17983         * gst/gstclock.c (gst_clock_add_observation): No longer requires
17984         the caller to take the object lock.
17985
17986 2005-11-23  Wim Taymans  <wim@fluendo.com>
17987
17988         * gst/gsterror.c: (_gst_core_errors_init):
17989         * gst/gsterror.h:
17990         Add error for clock stuff.
17991
17992         * gst/gstpipeline.c: (gst_pipeline_change_state),
17993         (gst_pipeline_set_clock):
17994         Post clock error when clock cannot be used in a pipeline.
17995
17996 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
17997
17998         * docs/gst/gstreamer-sections.txt:
17999           make two symbols from gstinfo private for the docs
18000         * gst/base/gstcollectpads.h:
18001         * gst/gstutils.c:
18002           fix doc typos, update docs
18003
18004 2005-11-22  Wim Taymans  <wim@fluendo.com>
18005
18006         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18007         (gst_base_sink_wait), (gst_base_sink_do_sync),
18008         (gst_base_sink_handle_event):
18009         * gst/base/gstbasesink.h:
18010         No need to store the clock, the parent element class already
18011         has it.
18012
18013         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18014         Updates for clock_set returning a gboolean
18015
18016         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18017         (gst_clock_id_wait_async), (gst_clock_class_init),
18018         (gst_clock_init), (gst_clock_finalize),
18019         (gst_clock_get_internal_time), (gst_clock_get_time),
18020         (gst_clock_slave_callback), (gst_clock_set_master),
18021         (gst_clock_get_master), (do_linear_regression),
18022         (gst_clock_add_observation), (gst_clock_set_property),
18023         (gst_clock_get_property):
18024         * gst/gstclock.h:
18025         Implement master/slave. When setting a clock as a slave, a
18026         periodic timeout is scheduled to sample master and slave times.
18027         Then the slave clock is recalibrated to match offset and rate
18028         of the master clock.
18029         Update logging a bit.
18030         Add flag so that a clock can state that is cannot be slaved to
18031         another clock.
18032
18033         * gst/gstelement.c: (gst_element_set_clock):
18034         * gst/gstelement.h:
18035         The set clock returns a gboolean for when an element cannot
18036         deal with the selected clock in the pipeline. 
18037
18038         * gst/gstpipeline.c: (gst_pipeline_change_state),
18039         (gst_pipeline_set_clock):
18040         * gst/gstpipeline.h:
18041         Handle the case where the selected clock cannot be set on
18042         the pipeline.
18043
18044         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18045         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18046         (gst_net_client_clock_set_property),
18047         (gst_net_client_clock_get_property),
18048         (gst_net_client_clock_observe_times):
18049         * gst/net/gstnetclientclock.h:
18050         Use regression code in GstClock parent, remove duplicated
18051         functionality.
18052
18053 2005-11-22  Michael Smith <msmith@fluendo.com>
18054
18055         * gst/gstutils.c: (gst_util_clock_time_scale):
18056         * gst/gstutils.h:
18057         * docs/gst/gstreamer-sections.txt:
18058           Rename method to have extra underscore.
18059
18060 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
18061
18062         * gst/elements/Makefile.am:
18063         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18064         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18065         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18066         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18067         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18068         * gst/elements/gstfakesrc.h:
18069         * gst/gstqueue.c: (queue_leaky_get_type):
18070           correctly fix GEnumValues so that nick is the short lowercase
18071           dashed tag
18072         * tools/gst-inspect.c: (print_element_properties_info):
18073           also show the nick, since it's useful to use from parse_launch
18074           syntax
18075           Fixes #322139
18076
18077 2005-11-22  Michael Smith <msmith@fluendo.com>
18078
18079         * gst/gstutils.c: (gst_util_clocktime_scale):
18080         * gst/gstutils.h:
18081         * docs/gst/gstreamer-sections.txt:
18082           Add util method for scaling a clocktime by a fraction. Useful 
18083           implementation is left as an exercise for the reader.
18084
18085 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18086
18087         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18088         If needed, allocate storage in the destination value during
18089         collection.
18090
18091 2005-11-22  Edward Hervey  <edward@fluendo.com>
18092
18093         * docs/gst/gstreamer-sections.txt:
18094         * gst/Makefile.am:
18095         * gst/gst.h:
18096         * gst/gsturitype.c:
18097         * gst/gsturitype.h:
18098         * gst/gstutils.c: (gst_util_set_object_arg):
18099         * tools/gst-compprep.c: (main):
18100         * tools/gst-inspect.c: (print_element_properties_info):
18101         Removed GstURI, closes bug #321061
18102
18103 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18104
18105         * check/gst/gststructure.c: (GST_START_TEST):
18106         * gst/gststructure.c: (gst_structure_parse_value):
18107           Oops, broke automatic string type parsing.
18108           Add a test to catch it in future.
18109
18110 2005-11-22  Andy Wingo  <wingo@pobox.com>
18111
18112         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18113         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18114         Actually rename the function implementations. Grr.
18115
18116 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18117
18118         * check/gst/capslist.h:
18119           Comment test cases
18120         * check/gst/gststructure.c: (GST_START_TEST),
18121         (gst_structure_suite):
18122           Test automatic value type detection in gst_structure_from_string.
18123         * gst/gststructure.c: (gst_structure_parse_value):
18124           Add fraction as a type we try and guess automatically in
18125           caps/structure strings.
18126
18127 2005-11-22  Andy Wingo  <wingo@pobox.com>
18128
18129         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18130
18131         * gst/gsttagsetter.h:
18132         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18133         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18134         (gst_tag_setter_add_tag_valist)
18135         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18136         _add_values, _add_valist, and _add_valist_values. Since this is an
18137         interface the function suffixes should be more explicit so
18138         language binding don't end up with element.add_valist ->
18139         gst_tag_setter_add_valist, for example. Fixes #322069.
18140
18141 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18142
18143         * check/gst/gstcaps.c: (GST_START_TEST):
18144           Extend caps string tests to check that a caps to string
18145           conversion is reversible and produces the same caps.
18146
18147         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18148           Output "fraction" as the generic type fraction range, so caps
18149           serialisation and deserialisation works.
18150         * check/gst/capslist.h:
18151         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18152           Support 'MIN' and 'MAX' for deserialising fractions.
18153
18154 2005-11-22  Andy Wingo  <wingo@pobox.com>
18155
18156         * gst/gstevent.h (gst_event_new_new_segment)
18157         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18158         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18159         Renamed from *_newsegment, *_buffersize, *_notarget.
18160
18161         * scripts/update-funcnames: New script, performs the changes
18162         listed above.
18163
18164 2005-11-22  Wim Taymans  <wim@fluendo.com>
18165
18166         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18167         Make sure the GstFlowReturn is returned.
18168
18169         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18170         (gst_bus_add_signal_watch):
18171         * gst/gstbus.h:
18172         add gst_bus_add_signal_watch_full.
18173
18174         * gst/gstplugin.c: (gst_plugin_load_file):
18175         Small style cleanup.
18176
18177 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18178
18179         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18180           Block the fakesrc srcpad when we send an event, to avoid
18181           contention on the stream_lock causing random test failures.
18182
18183 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18184
18185         * check/gst/gstvalue.c: (GST_START_TEST):
18186         * gst/gstvalue.c: (gst_value_fraction_subtract):
18187           Fix subtraction.
18188
18189 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18190
18191         * gst/gst.h:
18192           include "gstchildproxy.h"
18193         * gst/gstchildproxy.h:
18194         * libs/gst/controller/gstcontroller.h:
18195           use G_GNUC_NULL_TERMINATED
18196
18197 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18198
18199         * check/gst/capslist.h:
18200         * check/gst/gstcaps.c: (GST_START_TEST):
18201         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18202         * gst/gststructure.c: (gst_structure_parse_range),
18203         (gst_structure_fixate_field_nearest_fraction):
18204         * gst/gststructure.h:
18205         * gst/gstvalue.c: (gst_value_init_fraction_range),
18206         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18207         (gst_value_collect_fraction_range),
18208         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18209         (gst_value_set_fraction_range_full),
18210         (gst_value_get_fraction_range_min),
18211         (gst_value_get_fraction_range_max),
18212         (gst_value_serialize_fraction_range),
18213         (gst_value_transform_fraction_range_string),
18214         (gst_value_compare_fraction_range),
18215         (gst_value_deserialize_fraction_range),
18216         (gst_value_intersect_fraction_fraction_range),
18217         (gst_value_intersect_fraction_range_fraction_range),
18218         (gst_value_subtract_fraction_fraction_range),
18219         (gst_value_subtract_fraction_range_fraction),
18220         (gst_value_subtract_fraction_range_fraction_range),
18221         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18222         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18223         (gst_value_transform_string_fraction), (_gst_value_initialize):
18224         * gst/gstvalue.h:
18225           Implement fraction ranges and extend GstFraction to support
18226           arithmetic subtraction, as well as deserialization from integer
18227           strings such as "100"
18228           Add a testsuite as for int and double range set operations
18229
18230 2005-11-21  Andy Wingo  <wingo@pobox.com>
18231
18232         * gst/gsttaglist.h: 
18233         * gst/gstcaps.h: 
18234         * gst/gststructure.h: Add glib-compat.h.
18235
18236 2005-11-21  Wim Taymans  <wim@fluendo.com>
18237
18238         * gst/gstbin.c: (gst_bin_change_state_func):
18239         Fix for #321595
18240
18241 2005-11-21  Wim Taymans  <wim@fluendo.com>
18242
18243         * gst/gstsegment.h:
18244         And add a nice define too.
18245
18246 2005-11-21  Wim Taymans  <wim@fluendo.com>
18247
18248         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18249         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18250         (gst_segment_set_duration), (gst_segment_set_last_stop),
18251         (gst_segment_set_seek), (gst_segment_set_newsegment),
18252         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18253         (gst_segment_clip):
18254         * gst/gstsegment.h:
18255         Make binding friendly.
18256
18257 2005-11-21  Andy Wingo  <wingo@pobox.com>
18258
18259         * gst/gsttagsetter.h: 
18260         * gst/gsttaglist.h: 
18261         * gst/gststructure.h: 
18262         * gst/gstcaps.h: 
18263         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18264         #319940.
18265
18266         * gst/gsterror.c (_gst_core_errors_init):
18267         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18268         category.
18269
18270         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18271         (noinst_HEADERS): noinst the -private.
18272
18273 2005-11-21  Michael Smith <msmith@fluendo.com>
18274
18275         * gst/gstplugin.h:
18276         * gst/gstregistry.h:
18277           Remove unimplemented declarations for which we can see no sensible
18278           use.
18279
18280 2005-11-21  Andy Wingo  <wingo@pobox.com>
18281
18282         * gst/gst.h: Include glib-compat.h.
18283
18284         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18285
18286         * gst/glib-compat.c: Include the public and the private header.
18287
18288         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18289
18290         * gst/gstvalue.c: 
18291         * gst/gstpad.c: 
18292         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18293
18294         * check/gst/gstevent.c (create_custom_events): Check that
18295         FLUSH_STOP is serialized.
18296
18297         * check/elements/identity.c (event_func): 
18298         * check/elements/fakesrc.c (event_func): No stream lock, the core
18299         takes it.
18300
18301         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18302         stream lock taking, yay.
18303
18304         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18305         ensure that core takes the stream lock.
18306
18307         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18308         lock name change.
18309
18310         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18311         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18312         it already. For the flush start we do take it though so we get the
18313         right preroll state change messages.
18314
18315         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18316         the stream lock here, the core does it for us.
18317
18318         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18319         GST_STREAM_GET_LOCK.
18320         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18321         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18322         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18323         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18324         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18325         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18326
18327         * gst/gstpad.c: Update for stream lock name change.
18328
18329         * gst/base/gstbasesink.c: Update for preroll lock name change.
18330
18331 2005-11-21  Wim Taymans  <wim@fluendo.com>
18332
18333         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18334         (gst_clock_get_master):
18335         * gst/gstclock.h:
18336         * gst/gstsystemclock.c: (gst_system_clock_init):
18337         Convert Clock flags to object flags.
18338         Added methods to manage master/slave clocks.
18339
18340 2005-11-21  Wim Taymans  <wim@fluendo.com>
18341
18342         * check/gst/gstsegment.c: (GST_START_TEST):
18343         * docs/design/part-TODO.txt:
18344         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18345         (gst_base_sink_event), (gst_base_sink_do_sync),
18346         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18347         (gst_base_sink_query), (gst_base_sink_change_state):
18348         * gst/base/gstbasesink.h:
18349         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18350         (gst_base_src_default_newsegment),
18351         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18352         (gst_base_src_get_range), (gst_base_src_loop),
18353         (gst_base_src_change_state):
18354         * gst/base/gstbasesrc.h:
18355         * gst/base/gstbasetransform.c:
18356         (gst_base_transform_prepare_output_buf),
18357         (gst_base_transform_event), (gst_base_transform_change_state):
18358         * gst/base/gstbasetransform.h:
18359         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18360         (gst_collect_pads_event):
18361         * gst/base/gstcollectpads.h:
18362         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18363         (gst_fake_src_create):
18364         * gst/elements/gstfakesrc.h:
18365         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18366         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18367         (gst_segment_set_last_stop), (gst_segment_set_seek),
18368         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18369         (gst_segment_to_running_time), (gst_segment_clip):
18370         * gst/gstsegment.h:
18371         More segment updates, replace code in plugins with segment
18372         helper functions.
18373
18374 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18375
18376         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18377         Don't ignore sscanf results
18378
18379 2005-11-21  Andy Wingo  <wingo@pobox.com>
18380
18381         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18382
18383         * *.h:
18384         * *.c: Ran scripts/update-macros. Oh yes.
18385
18386         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18387         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18388         GST_GET_LOCK, etc.
18389
18390         * scripts/update-macros: New script. Run it on your files to
18391         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18392         well.
18393
18394 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18395
18396         * docs/gst/Makefile.am:
18397         * docs/gst/gstreamer-docs.sgml:
18398         * docs/gst/gstreamer-sections.txt:
18399         * docs/gst/gstreamer.types:
18400         * gst/gstinfo.h:
18401           more docs fixes, add new api to the docs
18402
18403 2005-11-21  Andy Wingo  <wingo@pobox.com>
18404
18405         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18406         state_broadcast call.
18407
18408         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18409
18410 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18411
18412         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18413         function calls for arrays.
18414
18415 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18416
18417         * docs/random/ensonic/media-device-daemon.txt:
18418           wild idea, can this be done?
18419         * docs/gst/gstreamer-sections.txt:
18420         * gst/gsterror.h:
18421         * gst/gstfilter.c:
18422         * gst/gstfilter.h:
18423         * gst/gstplugin.h:
18424         * gst/gstpluginfeature.c:
18425         * gst/gsttrace.c:
18426         * gst/gstvalue.c:
18427         * gst/gstvalue.h:
18428           doc fixes and additions
18429
18430 2005-11-21  Andy Wingo  <wingo@pobox.com>
18431
18432         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18433         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18434         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18435         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18436         private to the basesrc implementation.
18437
18438         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18439         behalf of event function if necessary. It should no longer be
18440         necessary to take the stream lock in pad's event functions. Fixes
18441         #320299.
18442
18443 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18444         * docs/gst/gstreamer-sections.txt:
18445         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18446         (gst_structure_fixate_field_nearest_double),
18447         (gst_structure_fixate_field_boolean):
18448         * gst/gststructure.h:
18449         * win32/common/libgstreamer.def:
18450         * win32/gstreamer.def:
18451
18452         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18453         (#322027)
18454
18455 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18456
18457         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18458         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18459         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18460         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18461         (gst_fdsrc_uri_handler_init):
18462         * gst/elements/gstfdsrc.h:
18463           Port fd:// URI handler from 0.8 to fdsrc
18464
18465 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18466
18467         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18468         (gst_value_serialize_fourcc):
18469         * gst/gstvalue.h:
18470           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18471           consistent with our other format defines (#320324).
18472
18473 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18474
18475         * gst/gstvalue.c: (gst_value_is_fixed):
18476           Revert previous commit. Value lists are by definition
18477           not fixed, as they are a list of possible values.
18478
18479 2005-11-21  Andy Wingo  <wingo@pobox.com>
18480
18481         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18482         during the stable series if we need it. Fixes #319178.
18483
18484         * gst/gstevent.c (gst_event_new_filler): Removed.
18485
18486         * check/gst/gstevent.c: Update comment about filler events.
18487
18488 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18489
18490         * gst/gstvalue.c: (gst_value_is_fixed):
18491           Should handle both value arrays and value lists.
18492
18493 2005-11-21  Andy Wingo  <wingo@pobox.com>
18494
18495         patch by: Alessandro Dessina <alessandro nnva org>
18496
18497         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18498         functions to access arrays. Fixes #321962.
18499
18500 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18501
18502         * docs/gst/gstreamer.types:
18503           gst_collectpads_get_type => gst_collect_pads_get_type.
18504           
18505         * gst/base/gstbasetransform.c:
18506           Remove unused SIGNAL_HANDOFF enum.
18507
18508 2005-11-21  Andy Wingo  <wingo@pobox.com>
18509
18510         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18511         the event type (upstream, downstream, serialized). Renamed
18512         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18513         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18514         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18515
18516         * gst/gstevent.c: Update for new CUSTOM event names.
18517
18518         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18519
18520         * gst/gstevent.h:
18521         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18522         bug #319392.
18523
18524 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18525
18526         * docs/gst/gstreamer-sections.txt:
18527         * win32/common/libgstbase.def:
18528         * win32/libgstbase.def:
18529         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18530         (gst_collect_pads_class_init), (gst_collect_pads_init),
18531         (gst_collect_pads_finalize), (gst_collect_pads_new),
18532         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18533         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18534         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18535         (gst_collect_pads_start), (gst_collect_pads_stop),
18536         (gst_collect_pads_peek), (gst_collect_pads_pop),
18537         (gst_collect_pads_available), (gst_collect_pads_read),
18538         (gst_collect_pads_flush), (gst_collect_pads_event),
18539         (gst_collect_pads_chain):
18540         * gst/base/gstcollectpads.h:
18541           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18542           unimplemented functions as unimplemented. Add padding to
18543           GstCollectData. (#320766, #320423)
18544
18545 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18546
18547         * gst/gstmessage.c:
18548           Improve docs for DURATION message (usage of duration parameter)
18549           (#320113)
18550
18551 2005-11-20  Wim Taymans  <wim@fluendo.com>
18552
18553         * check/Makefile.am:
18554         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18555         (main):
18556         * gst/Makefile.am:
18557         * gst/gst.h:
18558         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18559         (gst_segment_set_seek), (gst_segment_set_newsegment),
18560         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18561         (gst_segment_clip):
18562         * gst/gstsegment.h:
18563         Added segment helper structure and methods. Not fully implemented
18564         yet.
18565         Added segment check.
18566
18567 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18568
18569         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18570           Add a deserialisation test for fractions
18571         * examples/metadata/read-metadata.c: (message_loop),
18572         (make_pipeline), (main):
18573           Fix up metadata reading sample.
18574         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18575           Debug format fix
18576         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18577           Don't try and fixate empty caps
18578         * gst/gst_private.h:
18579           Wrap in G_BEGIN_DECLS/G_END_DECLS
18580         * gst/gstvalue.c: (gst_value_collect_fraction),
18581         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18582         (gst_value_transform_string_fraction),
18583         (gst_value_compare_fraction):
18584           Add some extra guards to ensure that we don't end up 
18585           with an invalid denominator of 0 in a gstfraction and
18586           that fractions always get reduced.
18587
18588 2005-11-20  Wim Taymans  <wim@fluendo.com>
18589
18590         * docs/gst/gstreamer-sections.txt:
18591         * gst/gstbuffer.h:
18592         * gst/gstelement.c:
18593         * gst/gstformat.c:
18594         * gst/gstformat.h:
18595         * gst/gstindex.h:
18596         * gst/gstquery.c:
18597         * gst/gstquery.h:
18598         * gst/gstvalue.c:
18599         Doc fixes.
18600
18601 2005-11-20  Wim Taymans  <wim@fluendo.com>
18602
18603         * docs/design/part-TODO.txt:
18604         * gst/gstcaps.h:
18605         Make a proper enum of the flag.
18606
18607 2005-11-19  Wim Taymans  <wim@fluendo.com>
18608
18609         * docs/design/part-TODO.txt:
18610         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18611         (gst_format_to_quark), (gst_format_register):
18612         * gst/gstformat.h:
18613         * gst/gstquery.c: (_gst_query_initialize),
18614         (gst_query_type_get_name), (gst_query_type_to_quark),
18615         (gst_query_type_register):
18616         * gst/gstquery.h:
18617         Add type to quark and type to string conversions.
18618
18619 2005-11-19  Andy Wingo  <wingo@pobox.com>
18620
18621         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18622         #320097.
18623
18624 2005-11-19  Wim Taymans  <wim@fluendo.com>
18625
18626         * docs/design/part-TODO.txt:
18627         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18628         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18629         (gst_bin_handle_message_func):
18630         * gst/gstbin.h:
18631         Make message handling overridable.
18632
18633 2005-11-19  Andy Wingo  <wingo@pobox.com>
18634
18635         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18636
18637         * gst/gstclock.h:
18638         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18639         be a GstClockTime.
18640         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18641         is a GstClockTime. Fixes #321710.
18642
18643         * gst/gstclock.h (GstClock): Remove offset property. Add
18644         internal_calibration and external_calibration. Fix padding. Pad
18645         also by GstClockTime so we don't run into problems.
18646
18647         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18648         (gst_clock_get_rate_offset): Remove.
18649         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18650
18651         * gst/gstutils.h:
18652         * gst/gstutils.c (g_static_rec_cond_wait)
18653         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18654
18655         * gst/gstbin.c: Remove terrible continue_state prototype.
18656
18657         * gst/gstelement.h (gst_element_continue_state): Make public.
18658
18659         * gst/gstelement.h:
18660         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18661         by continue_state. Fixes #319389.
18662
18663         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18664         Really fixes #168438. However I don't see anywhere where the
18665         filter function is called... stupid GStreamer...
18666         
18667         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18668         don't have a dispose function, so it won't get called when the
18669         object is unreffed, but oh well!
18670
18671         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18672         allows a destroy function to be set so user_data can be freed.
18673         Fixes #168438.
18674         (gst_index_set_filter): Call gst_index_set_filter_full.
18675
18676         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18677
18678         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18679         string should produce an error, given the lack of a way to
18680         represent NULL strings. Fixes #165650.
18681         
18682         * gst/gstvalue.h: 
18683         * gst/gstvalue.c (gst_value_array_append_value) 
18684         (gst_value_array_prepend_value, gst_value_array_get_size) 
18685         (gst_value_array_get_value): New API, copied from
18686         gst_value_list_*, only operates on arrays.
18687         (gst_value_list_append_value, gst_value_list_prepend_value) 
18688         (gst_value_list_concat, gst_value_list_get_size) 
18689         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18690
18691         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18692         init_list, because it works on both.
18693         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18694         (gst_value_copy_list_or_array): Renamed from copy_list.
18695         (gst_value_free_list_or_array): Renamed from free_list.
18696         (gst_value_collect_list_or_array): Renamed from collect_list.
18697         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18698         (gst_value_list_or_array_peek_pointer): Renamed from
18699         list_peek_pointer.
18700         (_gst_value_array_value_table, _gst_value_list_value_table):
18701         Update value table functions.
18702         (gst_value_compare_list_or_array): Renamed from compare_list.
18703
18704         * gsttaglist.h: Whoops, foreach function returns void. Also fix
18705         some constness.
18706
18707         * gst/gsttaglist.c:
18708         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18709         GstTagList*. Fixes #143472.
18710
18711         * gst/gststructure.h: Clarify what the foreach/map functions can
18712         or can't do to their arguments.
18713
18714 2005-11-18  Wim Taymans  <wim@fluendo.com>
18715
18716         * gst/gstclock.c: (gst_clock_set_calibration),
18717         (gst_clock_get_calibration):
18718         Doc and API fixes.
18719         Calibration can be set with internal time equal to current
18720         internal time too.
18721
18722 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18723
18724         * gst/gsterror.c:
18725         * gst/gsterror.h:
18726           document
18727
18728 2005-11-18  Andy Wingo  <wingo@pobox.com>
18729
18730         * configure.ac: 
18731         * pkgconfig/gstreamer-net.pc.in:
18732         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18733         * pkgconfig/Makefile.am: Add net pkgconfig files.
18734
18735 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
18736
18737         * gst/gstcaps.c:
18738         * gst/gstghostpad.c:
18739         * gst/gsttrace.c:
18740         * gst/gstvalue.c:
18741         * gst/gstvalue.h:
18742           docs fixes
18743
18744 2005-11-18  Andy Wingo  <wingo@pobox.com>
18745
18746         * gst/net/gstnetclientclock.c: Turn off debugging.
18747
18748         * check/net/gstnetclientclock.c (test_functioning): Assert that the
18749         times connverge somewhat. Can't make a real test.
18750
18751         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18752         integer arithmetic. Return the minimum of the domain, which can be
18753         set as "internal" for gst_clock_set_calibration.
18754         (gst_net_client_clock_observe_times): Call _set_calibration.
18755         (gst_net_client_clock_new): Call _set_calibration instead of
18756         rate_offset.
18757
18758         * check/net/gstnetclientclock.c (test_functioning): Use the right
18759         adjustment api.
18760
18761         * gst/gstclock.h:
18762         * gst/gstclock.c (gst_clock_get_calibration) 
18763         (gst_clock_set_calibration): New functions, obsolete the ones I
18764         added yesterday. Doh. Precision issues mean we have to extrapolate
18765         from a point in the more recent past than 1970.
18766         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18767         obsolete.
18768         (gst_clock_adjust_unlocked): Use the right calibration data.
18769
18770 2005-11-18  Edward Hervey  <edward@fluendo.com>
18771
18772         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
18773         Also reset the ->current_* values in READY->PAUSED
18774
18775 2005-11-18  Andy Wingo  <wingo@pobox.com>
18776
18777         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18778         Whoops, check the right fd. Also add some debugging.
18779         (gst_net_client_clock_observe_times): Adjust for int64 offset.
18780         (do_linear_regression): Add a crapload of debugging. Subtract off
18781         the minimum values from the input series to discard unneeded bits.
18782         Use only int arithmetic. There is still double arithmetic when
18783         calculating the intercept that needs fixing. Return boolean to
18784         indicate success; FALSE would mean the domain or range is too
18785         great. Still needs fixes.
18786
18787 2005-11-18  Wim Taymans  <wim@fluendo.com>
18788
18789         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18790         For the current position in stream time, we need to subtract
18791         accumulated time.
18792         
18793         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18794         Release lock before calling the callback function of async
18795         entries.
18796
18797 2005-11-18  Andy Wingo  <wingo@pobox.com>
18798
18799         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18800         Port goes all the way to MAXUINT16.
18801
18802         * gst/net/gstnettimeprovider.c: Make the port range the same as
18803         for the kernel: 0 assigns, otherwise ports are less than
18804         MAXUINT16.
18805
18806         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18807         port change.
18808
18809         * check/net/gstnetclientclock.c (test_functioning): Add the start
18810         of another test. 
18811
18812 2005-11-18  Wim Taymans  <wim@fluendo.com>
18813
18814         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18815         (gst_bin_remove_func), (bin_bus_handler):
18816         * gst/gstbin.h:
18817         Removing a clock provider from a bin, triggers a clock lost message
18818         so that a new clock will be selected.
18819         Adding a clock to a bin triggers a clock provider message.
18820         Make sure we reselect a clock when we received a clock lost message.
18821         Keep a reference to the element that provided the clock.
18822
18823 2005-11-18  Andy Wingo  <wingo@pobox.com>
18824
18825         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18826         the clock initially so it produces values around the base time.
18827         (gst_net_client_clock_class_init): Typo fix.
18828         (gst_net_client_clock_thread): Add note on when the socket gets
18829         closed.
18830
18831 2005-11-17  Wim Taymans  <wim@fluendo.com>
18832
18833         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18834         Free remote and local time arrays.
18835
18836 2005-11-17  Wim Taymans  <wim@fluendo.com>
18837
18838         * gst/net/gstnetclientclock.c: (do_linear_regression),
18839         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18840         Fix compilation, uninitialized vars and a forgotten continue.
18841
18842 2005-11-17  Andy Wingo  <wingo@pobox.com>
18843
18844         * check/Makefile.am (check_PROGRAMS): 
18845         * check/net/gstnetclientclock.c: Add a most minimal test for the
18846         net client clock. More to come later.
18847
18848         * gst/net/gstnet.h: 
18849         * gst/net/Makefile.am: Add netclientclock.
18850
18851         * gst/net/gstnetclientclock.h:
18852         * gst/net/gstnetclientclock.c: New files, implement an untested
18853         GstClock that takes its time from a network time provider.
18854         Implements the algorithm in network-clock.scm.
18855
18856         * tests/network-clock.scm (*window-size*): Rename from
18857         *queue-length*.
18858         * tests/network-clock.scm (network-time): 
18859         * tests/network-clock-utils.scm (q-push): Update callers.
18860
18861 2005-11-17  Wim Taymans  <wim@fluendo.com>
18862
18863         * gst/gstbin.c: (gst_bin_provide_clock_func),
18864         (gst_bin_sort_iterator_new):
18865         And unref the child too..
18866
18867 2005-11-17  Wim Taymans  <wim@fluendo.com>
18868
18869         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18870         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18871         Refactor the sort iterator so it can be used while holding the
18872         LOCK too.
18873         Make clock selection select a clock closest to the source.
18874
18875 2005-11-17  Michael Smith <msmith@fluendo.com>
18876
18877         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18878         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18879         * gst/gstclock.h:
18880           Anonymous structs are a gcc (and some other compilers) extension, so
18881           don't use them. Since this is only for ABI-compatibility, and our
18882           API/ABI freeze is over in a few days, this whole thing will only
18883           last a few days, so don't bother trying to think up a meaningful
18884           name for the struct.
18885
18886 2005-11-17  Andy Wingo  <wingo@pobox.com>
18887
18888         * gst/gstclock.h (GstClock): Add rate and offset properties,
18889         preserving ABI stability. Add rate/offset accessors. Will file bug
18890         for the freeze break.
18891
18892         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18893         and offset, trying to keep precision and avoiding
18894         underflow/overflow.
18895         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18896         functions. Make gst_clock_set_time_adjust obsolete.
18897         (gst_clock_set_time_adjust): Note that this function is obsolete.
18898         Will file bug soon.
18899
18900         * gst/base/gstbasetransform.h: Make the ABI-stability hack
18901         greppable by using GST_PADDING-1+1.
18902
18903 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
18904
18905         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18906
18907         * gst/gstmessage.c: (gst_message_parse_clock_lost):
18908           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18909
18910         * gst/gstpadtemplate.h:
18911         * gst/gstpluginfeature.h:
18912           Don't use c++ style comments in headers (#321638).
18913
18914 2005-11-16  Andy Wingo  <wingo@pobox.com>
18915
18916         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18917         buffer.
18918
18919         * check/net/gstnettimeprovider.c: Check to see that the time
18920         provider actually provides times. Works, yo!
18921
18922 2005-11-16  Wim Taymans  <wim@fluendo.com>
18923
18924         * check/Makefile.am:
18925         Enable more tests.
18926
18927         * check/elements/fakesrc.c: (GST_START_TEST):
18928         Set element to NULL before disposing it.
18929
18930 2005-11-16  Andy Wingo  <wingo@pobox.com>
18931
18932         * gst/net/Makefile.am:
18933         * gst/net/gstnet.h:
18934         * gst/net/gstnettimeprovider.c: 
18935         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18936         provider, include it from gstnet.h, and add it to the build.
18937
18938         * gst/net/gstnettimepacket.h: 
18939         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18940         sending and receiving.
18941
18942 2005-11-16  Wim Taymans  <wim@fluendo.com>
18943
18944         * check/Makefile.am:
18945         Enable valgrind check.
18946
18947         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18948         (gst_fake_src_alloc_buffer):
18949         Fix memleak.
18950
18951 2005-11-16  Wim Taymans  <wim@fluendo.com>
18952
18953         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18954         Call parent finalize too.
18955
18956 2005-11-16  Wim Taymans  <wim@fluendo.com>
18957
18958         * check/Makefile.am:
18959         Enable valgrind check that should work fine now.
18960
18961         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18962         * gst/gstqueue.c: (gst_queue_init):
18963         Fix memleaks in pad allocation.
18964
18965 2005-11-16  Andy Wingo  <wingo@pobox.com>
18966
18967         * gst/net/Makefile.am:
18968         * gst/net/gstnet.h: New part of core to hold network elements and
18969         objects. Put in core because it exposes API that applications want
18970         to use. The library is named libgstnet-tempname right now because
18971         of the existing libgstnet in gst-plugins-base. Solution is
18972         probably to rename the one in plugins-base; will file a bug for
18973         the freeze break.
18974
18975         * gst/net/gstnettimeprovider.c: 
18976         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
18977         get_time call over the network.
18978
18979         * configure.ac: 
18980         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
18981
18982         * check/Makefile.am:
18983         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
18984         get additions shortly.
18985
18986 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18987
18988         * gst/gstpad.c: (gst_pad_new_from_static_template):
18989         * gst/gstpad.h:
18990           add gst_pad_new_from_static_template functions
18991         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
18992         (gst_check_setup_sink_pad):
18993         * gst/elements/gsttee.c: (gst_tee_init):
18994           and use them
18995
18996 2005-11-16  Wim Taymans  <wim@fluendo.com>
18997
18998         * gst/gstpad.c: (gst_pad_pause_task):
18999         Removed warning, it's not really an error either.
19000
19001 2005-11-16  Wim Taymans  <wim@fluendo.com>
19002
19003         * gst/base/gstbasetransform.c:
19004         (gst_base_transform_prepare_output_buf),
19005         (gst_base_transform_event):
19006         Check if the caps are NULL, this can happen if the element
19007         is shutting down and the pad caps are set to NULL.
19008
19009 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19010
19011         * gst/elements/gsttee.c: (gst_tee_init):
19012           fix pad template leak in tee
19013
19014 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19015
19016         * gst/glib-compat.c: (g_value_dup_gst_object):
19017         * gst/glib-compat.h:
19018         * gst/gstpad.c: (gst_pad_set_property):
19019           use gst_object_ref when setting the pad template; this will
19020           trigger the pad template leaks on GLib 2.6 and the slaves
19021
19022 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19023
19024         * gst/glib-compat.c: (gst_flags_get_first_value):
19025         * gst/glib-compat.h:
19026         * gst/gstregistryxml.c:
19027           remove functions copied from GLib 2.6
19028
19029 2005-11-16  Michael Smith <msmith@fluendo.com>
19030
19031         * gst/Makefile.am:
19032           Don't link against VALGRIND_LIBS. That was always the wrong thing to
19033           do, but only breaks with newer valgrind versions. We're not a
19034           valgrind tool, we have no link-time dependencies on libcoregrind.
19035
19036 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19037
19038         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19039           some debug changes
19040         * gst/gstmessage.h:
19041           typo fixes
19042
19043 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
19044
19045         * gst/base/gstbasesrc.c: (gst_base_src_init):
19046         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19047         * gst/gstqueue.c: (gst_queue_init):
19048         * gst/gstregistryxml.c: (load_feature):
19049           Revert all these unrefs, they don't even pass make check !
19050
19051 2005-11-15  Johan Dahlin  <johan@gnome.org>
19052
19053         * gst/base/gstbasesrc.c: (gst_base_src_init):
19054         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19055         * gst/gstqueue.c: (gst_queue_init): 
19056         Free pad templates, fixes a couple of leaks.
19057
19058 2005-11-15  Daniel Fischer  <dan at f3c dot com>
19059
19060         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19061
19062         * gst/gstpad.c: (gst_pad_get_property):
19063           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19064           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19065           (#321452)
19066
19067 2005-11-15  Wim Taymans  <wim@fluendo.com>
19068
19069         * gst/gstevent.c:
19070         Small doc update.
19071
19072 2005-11-15  Andy Wingo  <wingo@pobox.com>
19073
19074         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19075
19076         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19077         using GST_CLOCK_TIME_NONE to disable base time management.
19078         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19079         time if it was NONE before.
19080         (gst_pipeline_change_state): Only munge the base time if
19081         stream_time != GST_CLOCK_TIME_NONE.
19082
19083         * check/gst/gstpipeline.c (test_base_time): Punt around the
19084         problem of the probe not being called, because that's not the
19085         issue I'm looking at. Add a check that setting stream_time to NONE
19086         disables base time management.
19087         
19088 2005-11-15  Wim Taymans  <wim@fluendo.com>
19089
19090         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19091         segment_stop == -1 at startup.
19092
19093         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19094         (gst_base_transform_change_state):
19095         Init segment values at start.
19096
19097 2005-11-15  Wim Taymans  <wim@fluendo.com>
19098
19099         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19100         0 segment values are 0 in any format.
19101
19102         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19103         * gst/base/gstbasetransform.h:
19104         Parse newsegment correctly in basetransform
19105
19106         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19107         Sync to clock using updated segment values.
19108
19109 2005-11-15  Andy Wingo  <wingo@pobox.com>
19110
19111         * check/gst/gstpipeline.c (test_base_time): Add check that the
19112         base time and stream time are reset correctly.
19113
19114 2005-11-15  Wim Taymans  <wim@fluendo.com>
19115
19116         * docs/design/part-TODO.txt:
19117         Some more TODO items.
19118
19119 2005-11-15  Andy Wingo  <wingo@pobox.com>
19120
19121         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19122         error if the user selected "no clock" as the clocking method.
19123
19124         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19125         timestamps with live capture.
19126
19127         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19128         is 0 but we are a live source, timestamp the buffers using the
19129         element's clock.
19130
19131 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19132
19133         * docs/gst/gstreamer-sections.txt:
19134         * gst/gsterror.c:
19135         * gst/gstghostpad.c:
19136         * gst/gstobject.h:
19137         * gst/gstxml.c:
19138           more section docs
19139
19140 2005-11-14  Wim Taymans  <wim@fluendo.com>
19141
19142         * common/gst.supp:
19143           add suppressions from Wim's Debian machine
19144
19145 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19146
19147         * common/gst.supp:
19148           add suppressions from Andy's AMD64 Ubuntu machine
19149
19150 2005-11-14  Andy Wingo  <wingo@pobox.com>
19151
19152         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19153         STATE_LOCK not necessary. Fixes #311489.
19154
19155         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19156         #305291.
19157
19158         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19159         this function is not implemented.
19160
19161 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19162
19163         * gst/base/gstbasetransform.c:
19164         (gst_base_transform_prepare_output_buf):
19165         Ref the source pad caps while we need them.
19166         Fixes (#321386)
19167
19168 2005-11-11  Wim Taymans  <wim@fluendo.com>
19169
19170         * docs/gst/gstreamer-sections.txt:
19171         Added some docs for GstCollectData.
19172
19173         * gst/base/gstadapter.c:
19174         Some small code example fix.
19175
19176         * gst/base/gstcollectpads.c:
19177         * gst/base/gstcollectpads.h:
19178         Document some more.
19179
19180 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19181
19182         * configure.ac: back to HEAD
19183
19184 === release 0.9.5 ===
19185
19186 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19187
19188         * configure.ac:
19189           releasing 0.9.5, "Bike Lunch Day"
19190
19191 2005-11-11  Wim Taymans  <wim@fluendo.com>
19192
19193         * gst/gstbuffer.c: (_gst_buffer_copy):
19194         Copy more flags.
19195
19196         * gst/gstcaps.c: (gst_caps_is_equal):
19197         Fix some docs.
19198         Make _is_equal fast in the trivial cases.
19199
19200         * gst/gstminiobject.c:
19201         * gst/gstminiobject.h:
19202         More docs. Spifify .h file.
19203
19204         * gst/gstutils.c:
19205         Small doc update.
19206
19207 2005-11-11  Wim Taymans  <wim@fluendo.com>
19208
19209         * gst/base/gstbasetransform.c:
19210         (gst_base_transform_prepare_output_buf),
19211         (gst_base_transform_handle_buffer):
19212         Small cleanups.
19213         If we're processing a buffer and need to allocate an output
19214         buffer, we cannot accept a format change. If we did get a 
19215         format change, we have to alloc a buffer ourselves of the 
19216         right size.
19217
19218 2005-11-11  Wim Taymans  <wim@fluendo.com>
19219
19220         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19221         While checking the flag for reentrancy in the gstcaps function
19222         is nice to detect recursive invocations, it also makes it 
19223         impossible to call getcaps from multiple threads, which must be
19224         possible. So, checking for recursive calls has to go.
19225
19226 2005-11-11  Michael Smith <msmith@fluendo.com>
19227
19228         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19229           Don't sync on buffers that fall partially outside our current
19230           segment. Prevents an assertion failure/abort playing some files.
19231
19232 2005-11-10  Andy Wingo  <wingo@pobox.com>
19233
19234         * check/gst/gstbin.c (test_message_state_changed_children): Style
19235         fix..
19236
19237         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19238         gst_bus_poll with the signal watch. Ensures that poll and a signal
19239         watch see the same messages.
19240
19241         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19242         a poll and a watch at the same time get the same messages.
19243
19244 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19245
19246         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19247         * gst/gstcaps.c: (gst_caps_intersect):
19248           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19249           and it's not needed.
19250
19251 2005-11-10  Wim Taymans  <wim@fluendo.com>
19252
19253         * docs/design/part-TODO.txt:
19254         Updated todo.
19255
19256 2005-11-10  Wim Taymans  <wim@fluendo.com>
19257
19258         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19259         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19260         (gst_base_src_do_sync), (gst_base_src_get_range):
19261         Implement clock sync in base class.
19262
19263 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19264
19265         patch by: Tim-Philipp Müller <tim at centricular dot net>
19266
19267         * gst/gststructure.c: (gst_structure_parse_field),
19268         (gst_structure_from_string):
19269           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19270           so that gst_parse_launch() can deal with spaces in filtered link
19271           caps (fixes #164479)
19272         * check/gst/capslist.h:
19273         * check/gst/gststructure.c: (GST_START_TEST):
19274           add unit tests for this change
19275
19276 2005-11-10  Wim Taymans  <wim@fluendo.com>
19277
19278         * docs/gst/gstreamer-sections.txt:
19279         * gst/gstelement.c:
19280         * gst/gstelement.h:
19281         Fix docs, move some STATE macros to private.
19282
19283 2005-11-10  Wim Taymans  <wim@fluendo.com>
19284
19285         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19286         Added check for bug #317341
19287
19288         * gst/gstbuffer.c:
19289         * gst/gstbuffer.h:
19290         Some more spiffifying.
19291
19292         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19293         Call peer linkfunction if we are a source pad. Totally fixes
19294         #317341
19295
19296         * gst/gstpad.c:
19297         Update docs, source pads should call the peer linkfunction
19298         so they can atomically perform the pad link.
19299
19300 2005-11-09  Wim Taymans  <wim@fluendo.com>
19301
19302         * gst/gstbuffer.c:
19303         * gst/gstbuffer.h:
19304         Uber-spiffy-spiffify some more.
19305
19306 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19307
19308         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19309         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19310         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19311         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19312         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19313         * gst/gstpad.c: (gst_pad_init):
19314           Use GST_DEBUG_FUNCPTR() more extensively.
19315
19316 2005-11-09  Wim Taymans  <wim@fluendo.com>
19317
19318         * gst/gstobject.c: (gst_object_class_init):
19319         * gst/gstobject.h:
19320         Documentation fixes.
19321
19322 2005-11-09  Edward Hervey  <edward@fluendo.com>
19323
19324         * gst/gsttypefindfactory.c:
19325         Fix docs.
19326         
19327 2005-11-09  Edward Hervey  <edward@fluendo.com>
19328
19329         * gst/base/gsttypefindhelper.c:
19330         * gst/gsttypefind.c:
19331         * gst/gsttypefind.h:
19332         Fix docs.
19333
19334 2005-11-09  Wim Taymans  <wim@fluendo.com>
19335
19336         * gst/gstiterator.c:
19337         Fix revision data.
19338
19339         * gst/gsttask.c:
19340         * gst/gsttask.h:
19341         Fix docs.
19342
19343 2005-11-09  Wim Taymans  <wim@fluendo.com>
19344
19345         * gst/gstevent.h:
19346         * gst/gsturi.h:
19347         Fix docs.
19348
19349 2005-11-09  Wim Taymans  <wim@fluendo.com>
19350
19351         * docs/gst/gstreamer-sections.txt:
19352         Moved the message async delivery private lock and cond
19353         to the private section.
19354
19355         * gst/gstmessage.c:
19356         * gst/gstmessage.h:
19357         Fixed docs.
19358
19359 2005-11-09  Edward Hervey  <edward@fluendo.com>
19360
19361         * docs/gst/gstreamer-sections.txt:
19362         * gst/gsturi.c:
19363         * gst/gsturi.h:
19364         Document GstURIHandler
19365
19366 2005-11-09  Wim Taymans  <wim@fluendo.com>
19367
19368         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19369         (gst_iterator_find_custom):
19370         * gst/gstiterator.h:
19371         Fix iterator docs.
19372
19373 2005-11-09  Wim Taymans  <wim@fluendo.com>
19374
19375         * gst/gstbin.h:
19376         Document another field.
19377
19378         * gst/gststructure.c:
19379         * gst/gststructure.h:
19380         Document.
19381
19382 2005-11-09  Wim Taymans  <wim@fluendo.com>
19383
19384         * gst/gstbin.h:
19385         Documented structs.
19386
19387 2005-11-09  Wim Taymans  <wim@fluendo.com>
19388
19389         * docs/gst/gstreamer-sections.txt:
19390         Added some new macros.
19391
19392         * gst/gstclock.c:
19393         * gst/gstclock.h:
19394         * gst/gstobject.h:
19395         Docs updates.
19396
19397 2005-11-09  Wim Taymans  <wim@fluendo.com>
19398
19399         * docs/design/part-TODO.txt:
19400         Some more items for the TODO
19401
19402         * gst/gstcaps.c:
19403         * gst/gstcaps.h:
19404         Document GstCaps.
19405
19406 2005-11-09  Andy Wingo  <wingo@pobox.com>
19407
19408         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19409         to work on something else now tho...
19410
19411         * gst/base/gstadapter.c: More adapter docs.
19412
19413         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19414         (gst_file_sink_stop): New functions, replace the state change
19415         handler.
19416         (gst_file_sink_class_init): Hook up the start and stop functions.
19417         (gst_file_sink_base_init): Don't set the state change handler any
19418         more. It was a bit ugly too, being set from here...
19419         (gst_file_sink_get_property, gst_file_sink_set_property):
19420         Cleanups...
19421         (gst_file_sink_set_location): More robust check that doesn't call
19422         GST_STATE. Ugggggg.
19423
19424 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19425
19426         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19427           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19428
19429 2005-11-08  Wim Taymans  <wim@fluendo.com>
19430
19431         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19432         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19433         (gst_base_sink_chain), (gst_base_sink_change_state):
19434         * gst/base/gstbasesink.h:
19435         * gst/base/gstbasesrc.h:
19436         * gst/gstelement.h:
19437         * gst/gstevent.h:
19438         Avoid excessive typechecking in macros.
19439
19440         * gst/gstminiobject.c: (gst_mini_object_get_type),
19441         (gst_mini_object_init), (gst_mini_object_new),
19442         (gst_mini_object_free):
19443         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19444         (gst_object_finalize):
19445         Remove cruft code, optimize alloc_trace.
19446
19447 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19448
19449         * docs/faq/gst-uninstalled:
19450           fix up PS1 for systems that try to reset it
19451
19452 2005-11-07  Wim Taymans  <wim@fluendo.com>
19453
19454         * gst/base/gstbasesrc.c: (gst_base_src_init),
19455         (gst_base_src_get_range):
19456         Set the segment_end to -1 initially. Fixed typefind.
19457
19458 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19459
19460         * gst/base/gstadapter.c:
19461           Debug category should be 'adapter', not 'GstAdapter'.
19462           
19463         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19464         (gst_collectpads_class_init), (gst_collectpads_init),
19465         (gst_collectpads_peek), (gst_collectpads_pop),
19466         (gst_collectpads_event), (gst_collectpads_chain):
19467           Add debug category and some debugging output. Use boilerplate
19468           macros. Remove some extraneous words from docs.
19469
19470 2005-11-05  Andy Wingo  <wingo@pobox.com>
19471
19472         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19473         macro.
19474
19475 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19476
19477         * docs/gst/gstreamer-sections.txt:
19478         * gst/gstcaps.h:
19479         * gst/gstinfo.c:
19480         * gst/gstminiobject.h:
19481         * gst/gstobject.h:
19482         * gst/gstutils.h:
19483           more docs added
19484
19485 2005-11-04  Wim Taymans  <wim@fluendo.com>
19486
19487         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19488         Small update to stop at the configured segment_end
19489         position.
19490
19491 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19492
19493         * gst/gstregistry.c:
19494         * gst/gstregistry.h:
19495           added missing docs
19496
19497 2005-11-04  Edward Hervey  <edward@fluendo.com>
19498
19499         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19500         Check if we are doing a segment seek and have arrived at the
19501         end of that segment.
19502
19503 2005-11-04  Wim Taymans  <wim@fluendo.com>
19504
19505         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19506         Don't leak a mutex unlock in case of an error.
19507
19508         * gst/gstbus.h:
19509         Doc fixes.
19510
19511 2005-11-04  Wim Taymans  <wim@fluendo.com>
19512
19513         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19514         (gst_bus_post):
19515         Get the context to wake up only once.
19516
19517 2005-11-03  Wim Taymans  <wim@fluendo.com>
19518
19519         * check/states/sinks.c: (GST_START_TEST):
19520         Uncomment fixed check.
19521
19522         * docs/design/part-TODO.txt:
19523         Updated TODO.
19524
19525         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19526         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19527         (gst_base_sink_get_position):
19528         If we are going to PLAYING, post the right pending state
19529         when we post the intermediate paused message.
19530
19531         * gst/gstelement.c: (gst_element_continue_state),
19532         (gst_element_set_state_func), (gst_element_change_state):
19533         Don't post state changes that were between the same state
19534         and were not ASYNC.
19535
19536 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19537
19538         * docs/gst/gstreamer-sections.txt:
19539         * gst/gstcaps.h:
19540         * gst/gstinfo.c:
19541         * gst/gstminiobject.h:
19542         * gst/gstobject.h:
19543         * gst/gstutils.h:
19544           more docs and doc style fixes
19545
19546 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19547
19548         * docs/gst/gstreamer-sections.txt:
19549         * gst/gstelement.c:
19550         * gst/gstminiobject.c:
19551         doc fixes
19552
19553 2005-11-03  Andy Wingo  <wingo@pobox.com>
19554
19555         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19556         state-changed messages actually have the right order and the right
19557         values.
19558
19559 2005-11-03  Wim Taymans  <wim@fluendo.com>
19560
19561         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19562         Added some more checks. Specifically the case where NO_PREROLL
19563         elements are in the pipeline.
19564
19565         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19566         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19567         (gst_base_sink_get_position):
19568         Post READY->PAUSED state change messages too.
19569         Fix bug where VOID was posted as pending state...
19570
19571         * gst/gstbin.c: (gst_bin_recalc_state):
19572         use _element_continue_state() to continue the state change.
19573
19574         * gst/gstelement.c: (gst_element_continue_state),
19575         (gst_element_commit_state), (gst_element_set_state_func),
19576         (gst_element_change_state), (gst_element_change_state_func):
19577         Lots of state change cleanups, assign the STATE_RETURN in
19578         a new continue_state() function that also propagates the
19579         last return value from a state change to the app.
19580         Update some debug statements with proper category.
19581
19582 2005-11-03  Wim Taymans  <wim@fluendo.com>
19583
19584         * docs/design/part-events.txt:
19585         * docs/design/part-gstpipeline.txt:
19586         * docs/design/part-messages.txt:
19587         * docs/design/part-overview.txt:
19588         * docs/design/part-seeking.txt:
19589         * docs/design/part-states.txt:
19590         * docs/design/part-trickmodes.txt:
19591         * docs/manual/advanced-position.xml:
19592         Small docs updates.
19593
19594         * gst/gstobject.h:
19595         People think !! is ugly, this looks better.
19596
19597         * gst/gstpad.c: (gst_pad_set_blocked_async):
19598         Remove !! since it's fixed elsewhere now.
19599
19600 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19601
19602         * gst/gstminiobject.h:
19603         * gst/gstobject.h:
19604           Add !! to _FLAG_IS_SET macros to make the result boolean.
19605
19606 2005-11-03  Edward Hervey  <edward@fluendo.com>
19607
19608         * gst/gstpad.c: (gst_pad_set_blocked_async):
19609         comparing a flag and a gboolean rarely returns coherent results...
19610         Added two characters (!!) to make that work correctly.
19611         
19612 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19613
19614         * gst/gstbus.c: (gst_bus_class_init):
19615           Fix some typos.
19616           
19617         * gst/gstqueue.c: (gst_queue_loop):
19618           Don't assume a miniobject that isn't a buffer is an
19619           event (it could be that there is a refcounting
19620           problem somewhere and the pointer is stale and
19621           refers to an already destroyed miniobject).
19622
19623 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19624
19625         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19626
19627 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19628
19629         * docs/manual/advanced-position.xml:
19630           Update seek example and explanations to current 0.9 API.
19631
19632         * gst/elements/gsttypefindelement.c:
19633         (gst_type_find_element_activate):
19634           Remove FIXME comment now that the found caps
19635           are unreffed.
19636
19637 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19638
19639         * gst/gstregistryxml.c: (load_feature):
19640           Add another GST_STR_NULL instance
19641
19642 2005-11-02  Edward Hervey  <edward@fluendo.com>
19643
19644         * gst/gstpad.c: (handle_pad_block):
19645         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19646         
19647 2005-11-02  Wim Taymans  <wim@fluendo.com>
19648
19649         * gst/gstbin.c:
19650         Fix typo in docs.
19651
19652         * gst/gstelement.c: (gst_element_commit_state):
19653         Remove unused value.
19654
19655         * gst/gstiterator.c:
19656         Mention that the returned element is reffed in the docs.
19657
19658 2005-11-02  Wim Taymans  <wim@fluendo.com>
19659
19660         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19661         (gst_pad_push), (gst_pad_push_event):
19662         Unlock blocked pads when they are flushed.
19663
19664 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19665
19666         * docs/README:
19667         * docs/gst/gstreamer-sections.txt:
19668         * gst/gstbin.c:
19669           doc updates
19670         * gst/gstregistry.c: (gst_registry_scan_path_level):
19671           fix for a nasty little missed situation where an installed plug-in
19672           which was in the cache did not get overridden by an uninstalled one
19673           which was earlier in the plugin path because the newly created plugin
19674           for the uninstalled one (not in the registry) didn't get its
19675           ->registered set to TRUE
19676
19677 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19678
19679         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19680         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19681         (gst_collectpads_is_active), (gst_collectpads_collect),
19682         (gst_collectpads_collect_range), (gst_collectpads_start),
19683         (gst_collectpads_stop), (gst_collectpads_peek),
19684         (gst_collectpads_pop), (gst_collectpads_available),
19685         (gst_collectpads_read), (gst_collectpads_flush):
19686           Guard public API with assertions.
19687         
19688         * gst/gstpad.c:
19689           Fix docs for gst_pad_set_link_function().
19690
19691 2005-11-02  Johan Dahlin  <johan@gnome.org>
19692
19693         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
19694         Unref found_caps after we used it.
19695
19696 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19697
19698         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19699           Don't try to ref NULL.
19700
19701 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19702
19703         * win32/common/config.h.in:
19704           provide a GST_FUNCTION that just gives a string for now
19705
19706 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19707
19708         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19709         (gst_object_flags_get_type), (register_gst_bin_flags),
19710         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19711         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19712         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19713         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19714         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19715         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19716         (gst_clock_flags_get_type), (register_gst_state),
19717         (gst_state_get_type), (register_gst_state_change_return),
19718         (gst_state_change_return_get_type), (register_gst_state_change),
19719         (gst_state_change_get_type), (register_gst_element_flags),
19720         (gst_element_flags_get_type), (register_gst_core_error),
19721         (gst_core_error_get_type), (register_gst_library_error),
19722         (gst_library_error_get_type), (register_gst_resource_error),
19723         (gst_resource_error_get_type), (register_gst_stream_error),
19724         (gst_stream_error_get_type), (register_gst_event_type),
19725         (gst_event_type_get_type), (register_gst_seek_type),
19726         (gst_seek_type_get_type), (register_gst_seek_flags),
19727         (gst_seek_flags_get_type), (register_gst_format),
19728         (gst_format_get_type), (register_gst_index_certainty),
19729         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19730         (gst_index_entry_type_get_type),
19731         (register_gst_index_lookup_method),
19732         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19733         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19734         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19735         (gst_index_flags_get_type), (register_gst_debug_level),
19736         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19737         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19738         (gst_iterator_result_get_type), (register_gst_iterator_item),
19739         (gst_iterator_item_get_type), (register_gst_message_type),
19740         (gst_message_type_get_type), (register_gst_mini_object_flags),
19741         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19742         (gst_pad_link_return_get_type), (register_gst_flow_return),
19743         (gst_flow_return_get_type), (register_gst_activate_mode),
19744         (gst_activate_mode_get_type), (register_gst_pad_direction),
19745         (gst_pad_direction_get_type), (register_gst_pad_flags),
19746         (gst_pad_flags_get_type), (register_gst_pad_presence),
19747         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19748         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19749         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19750         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19751         (gst_plugin_flags_get_type), (register_gst_rank),
19752         (gst_rank_get_type), (register_gst_query_type),
19753         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19754         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19755         (gst_tag_flag_get_type), (register_gst_task_state),
19756         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19757         (gst_alloc_trace_flags_get_type),
19758         (register_gst_type_find_probability),
19759         (gst_type_find_probability_get_type), (register_gst_uri_type),
19760         (gst_uri_type_get_type), (register_gst_parse_error),
19761         (gst_parse_error_get_type):
19762         * win32/common/gstversion.h:
19763           update win32 copies
19764
19765 2005-11-01  Luca Ognibene  <luogni@tin.it>
19766
19767         * gst/gst.c:
19768           fix docs. popt is dead, long live GOption.
19769
19770 2005-10-31  Wim Taymans  <wim@fluendo.com>
19771
19772         * gst/gstbuffer.h:
19773         Small doc fix.
19774
19775 2005-10-31  Andy Wingo  <wingo@pobox.com>
19776
19777         * Boo!
19778
19779         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19780
19781         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19782         need to serialize property notifications on GLib 2.8. GLib 2.6 has
19783         the possibility of deadlocks here if code calling notify() or
19784         set() has a lock that can be taken in another notify handler (ABBA
19785         with class lock and e.g. python GIL state lock).
19786
19787 2005-10-28  Julien MOUTTE  <julien@moutte.net>
19788
19789         * gst/gstbus.c: Doc updates.
19790
19791 2005-10-28  Wim Taymans  <wim@fluendo.com>
19792
19793         * docs/design/part-TODO.txt:
19794         * gst/gstiterator.c:
19795         * gst/gstsystemclock.c:
19796         * gst/gstsystemclock.h:
19797         Doc updates.
19798
19799 2005-10-28  Edward Hervey  <edward@fluendo.com>
19800
19801         * docs/gst/gstreamer-docs.sgml:
19802         * docs/gst/gstreamer-sections.txt:
19803         the GstURIType documentation page is private, it only defines GstURIType
19804         which should be defined in the GstURIHandler page
19805         
19806 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19807
19808         * gst/gstbin.c: (gst_bin_class_init):
19809         * gst/gstbin.h:
19810         * gst/gstutils.c:
19811         Documentation updates.
19812
19813 2005-10-28  Wim Taymans  <wim@fluendo.com>
19814
19815         * docs/gst/gstreamer-sections.txt:
19816         * gst/gstclock.c:
19817         * gst/gstclock.h:
19818         Documented the clocks.
19819
19820 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
19821
19822         * docs/gst/gstreamer-sections.txt:
19823           move some macros to private sections
19824         * gst/gstminiobject.c:
19825         * gst/gstminiobject.h:
19826           add descriptions provided by ds and some more
19827         * gst/gstpad.h:
19828           mark macro as to be removed
19829
19830 2005-10-28  Wim Taymans  <wim@fluendo.com>
19831
19832         * docs/design/part-TODO.txt:
19833         Add an item to TODO.
19834
19835         * gst/gstiterator.c: (gst_iterator_fold),
19836         (gst_iterator_find_custom):
19837         * gst/gstiterator.h:
19838         Add iterator docs.
19839
19840 2005-10-28  Wim Taymans  <wim@fluendo.com>
19841
19842         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19843         (gst_base_transform_init):
19844         Don't leak class.
19845
19846         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19847         An EOS event marks the queue as completely filled.
19848
19849 2005-10-27  Wim Taymans  <wim@fluendo.com>
19850
19851         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19852         (gst_base_sink_do_sync), (gst_base_sink_get_position):
19853         Some more debugging.
19854
19855         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19856         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19857         (gst_base_transform_event), (gst_base_transform_getrange),
19858         (gst_base_transform_chain):
19859         * gst/base/gstbasetransform.h:
19860         Fix debugging,
19861         Protect transform and concurrent buffer alloc with a new lock.
19862         Try not to break ABI/API.
19863
19864 2005-10-27  Wim Taymans  <wim@fluendo.com>
19865
19866         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19867         (gst_base_src_init), (gst_base_src_query),
19868         (gst_base_src_default_newsegment),
19869         (gst_base_src_configure_segment), (gst_base_src_do_seek),
19870         (gst_base_src_send_event), (gst_base_src_event_handler),
19871         (gst_base_src_pad_get_range), (gst_base_src_loop),
19872         (gst_base_src_unlock), (gst_base_src_default_negotiate),
19873         (gst_base_src_start), (gst_base_src_deactivate),
19874         (gst_base_src_activate_push), (gst_base_src_change_state):
19875         Move some stuff around and cleanup things.
19876
19877 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
19878
19879         * gst/base/gstbasesrc.c: (gst_base_src_query):
19880           Add missing break statements.
19881
19882 2005-10-27  Wim Taymans  <wim@fluendo.com>
19883
19884         * check/gst/gstbin.c: (GST_START_TEST):
19885         An extra refcount is taken in basesrc.
19886
19887         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19888         (gst_base_src_get_range), (gst_base_src_pad_get_range),
19889         (gst_base_src_loop):
19890         Small cleanups, check for flushing after being unlocked from the 
19891         LIVE_LOCK. take refcounts correctly (not yet everywhere).
19892         Don't send out EOS when going to READY.
19893
19894 2005-10-27  Wim Taymans  <wim@fluendo.com>
19895
19896         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19897         (gst_base_sink_get_position):
19898         Some more debug.
19899
19900         * gst/gstbin.c: (message_check), (bin_replace_message),
19901         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19902         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19903         (bin_query_duration_init), (bin_query_duration_fold),
19904         (bin_query_duration_done), (bin_query_generic_fold),
19905         (gst_bin_query):
19906         * tools/gst-launch.c: (main):
19907         Remove old option.
19908
19909 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
19910
19911         * examples/controller/audio-example.c: (main):
19912         * examples/queue/queue.c: (event_loop):
19913         * gst/base/gstbasetransform.h:
19914         * gst/gstelement.c: (gst_element_send_event):
19915         * gst/gstevent.h:
19916         * gst/gstpad.c: (gst_pad_send_event):
19917           fixing examples
19918           fixing docs typos
19919           changing log priority in error situations
19920
19921 2005-10-25  Wim Taymans  <wim@fluendo.com>
19922
19923         * gst/gstbin.c: (message_check), (bin_replace_message),
19924         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19925         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19926         (bin_query_duration_init), (bin_query_duration_fold),
19927         (bin_query_duration_done), (bin_query_generic_fold),
19928         (gst_bin_query):
19929         Some doc and debug updates.
19930         Cache previously requested query DURATION for speed. invalidate
19931         cached duration if element posts a DURATION message.
19932
19933 2005-10-25  Wim Taymans  <wim@fluendo.com>
19934
19935         * docs/design/part-TODO.txt:
19936         Update TODO.
19937
19938         * gst/gstbin.c: (message_check), (bin_replace_message),
19939         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19940         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19941         (bin_query_duration_init), (bin_query_duration_fold),
19942         (bin_query_duration_done), (bin_query_generic_fold),
19943         (gst_bin_query):
19944         Handle SEGMENT_START/DONE messages correctly.
19945         More evolved query algorithm that handles duration queries
19946         correctly.
19947
19948         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19949         (gst_element_get_state_func), (gst_element_abort_state),
19950         (gst_element_commit_state), (gst_element_lost_state):
19951         Some more debugging.
19952
19953         * gst/gstmessage.h:
19954         Added doc.
19955
19956 2005-10-25  Wim Taymans  <wim@fluendo.com>
19957
19958         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19959         Don't use invalid stream_time.
19960
19961         * gst/gstevent.c: (gst_event_new_newsegment):
19962         stream_time in newsegment cannot be undefined.
19963
19964 2005-10-24  Wim Taymans  <wim@fluendo.com>
19965
19966         * gst/gstbus.c:
19967         Doc fix.
19968
19969         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19970         (gst_queue_loop):
19971         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
19972
19973 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
19974
19975         * docs/libs/tmpl/gstdparam.sgml:
19976         * docs/libs/tmpl/gstdplinint.sgml:
19977         * docs/libs/tmpl/gstdpman.sgml:
19978         * docs/libs/tmpl/gstdpsmooth.sgml:
19979         * docs/libs/tmpl/gstunitconvert.sgml:
19980           these are obsolete
19981
19982 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19983
19984         * configure.ac:
19985           back to HEAD
19986
19987 === release 0.9.4 ===
19988
19989 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19990
19991         * configure.ac:
19992           releasing 0.9.4, "Tyrannosaurus Rex"
19993
19994 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
19995
19996         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19997         (gst_file_sink_get_current_offset):
19998           Use fseeko() and ftello() if available. When falling back on
19999           lseek() to get the current offset, fflush() first to make sure
20000           everything is up-to-date and we get the right offset.
20001
20002 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
20003
20004         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20005         * gst/base/gstbasesrc.c: (gst_base_src_loop):
20006         * gst/gsterror.c: (_gst_stream_errors_init):
20007         * gst/gsterror.h:
20008         * gst/gstqueue.c: (gst_queue_loop):
20009         * po/POTFILES.in:
20010           remove prematurely added error category and clean up the instances
20011
20012 2005-10-21  Wim Taymans  <wim@fluendo.com>
20013
20014         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20015         (gst_base_sink_get_position), (gst_base_sink_query),
20016         (gst_base_sink_change_state):
20017         Simply set the right flag when going to playing, that's all
20018         we need to do instead of calling a function inside the object
20019         lock (that could take the lock as well and deadlock)
20020
20021 2005-10-21  Wim Taymans  <wim@fluendo.com>
20022
20023         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20024         (gst_base_src_loop):
20025         Don't warn, the peer element knows what to do best when
20026         the seek failed, it might try something else.
20027
20028 2005-10-21  Wim Taymans  <wim@fluendo.com>
20029
20030         * gst/base/gstbasesrc.c: (gst_base_src_init),
20031         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20032         Fix seeking.
20033
20034 2005-10-21  Wim Taymans  <wim@fluendo.com>
20035
20036         * docs/design/part-segments.txt:
20037         More docs.
20038
20039         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20040         Correctly set caps, even on the subbufer.
20041
20042 2005-10-21  Wim Taymans  <wim@fluendo.com>
20043
20044         * docs/gst/gstreamer-docs.sgml:
20045         * docs/gst/gstreamer-sections.txt:
20046         * gst/gstelement.h:
20047         * gst/gstevent.c:
20048         * gst/gstevent.h:
20049         * gst/gstmessage.h:
20050         * gst/gstpad.h:
20051         * gst/gstparse.h:
20052         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20053         * gst/gsttask.h:
20054         * gst/gstutils.c:
20055         * gst/gstutils.h:
20056         And 2% more doc coverage.
20057
20058 2005-10-21  Andy Wingo  <wingo@pobox.com>
20059
20060         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20061         position reporting.
20062
20063 2005-10-20  Wim Taymans  <wim@fluendo.com>
20064
20065         * gst/gsterror.c: (gst_error_get_message):
20066         * gst/gstparse.h:
20067         * gst/gstquery.h:
20068         * gst/gststructure.c:
20069         * gst/gsttrace.c:
20070         * gst/gstutils.c:
20071         More docs.
20072
20073 2005-10-20  Wim Taymans  <wim@fluendo.com>
20074
20075         * gst/gstbuffer.h:
20076         * gst/gstpad.c:
20077         * gst/gstparse.c:
20078         Another 1% more coverage.
20079
20080 2005-10-20  Wim Taymans  <wim@fluendo.com>
20081
20082         * docs/gst/gstreamer-sections.txt:
20083         * gst/gstelement.c: (gst_element_get_state_func),
20084         (gst_element_abort_state), (gst_element_commit_state),
20085         (gst_element_lost_state):
20086         * gst/gstevent.h:
20087         * gst/gstquery.c: (gst_query_set_position),
20088         (gst_query_parse_position), (gst_query_set_duration),
20089         (gst_query_parse_duration), (gst_query_new_convert):
20090         * gst/gstutils.c:
20091         Yay! 1% more docs coverage.
20092
20093 2005-10-20  Wim Taymans  <wim@fluendo.com>
20094
20095         * gst/gstpad.h:
20096         * gst/gstquery.c: (gst_query_set_position),
20097         (gst_query_parse_position), (gst_query_set_duration),
20098         (gst_query_parse_duration), (gst_query_new_convert):
20099         * gst/gstquery.h:
20100         * gst/gstutils.c: (gst_element_query_convert):
20101         * gst/gstutils.h:
20102         Docs and consistency fixes.
20103
20104 2005-10-20  Wim Taymans  <wim@fluendo.com>
20105
20106         * gst/gsttask.c:
20107         * gst/gsttask.h:
20108         More docs.
20109
20110 2005-10-20  Wim Taymans  <wim@fluendo.com>
20111
20112         * gst/gstbin.c: (message_check), (bin_replace_message),
20113         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20114         (update_degree), (gst_bin_sort_iterator_next),
20115         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20116         Reworked the message handling a bit, cache the messages instead of
20117         only the senders. alows us to do more in the future.
20118
20119 2005-10-20  Wim Taymans  <wim@fluendo.com>
20120
20121         * docs/design/part-TODO.txt:
20122         Update TODO
20123
20124         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20125         (gst_base_sink_query):
20126         Don't use clock time to report position when in EOS.
20127
20128 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20129
20130         * tools/gst-inspect.c: (print_interfaces),
20131         (print_element_properties_info), (print_element_info):
20132           Fix interface output with gst-inspect -a; don't print
20133           newlines after double/float properties.
20134
20135 2005-10-20  Wim Taymans  <wim@fluendo.com>
20136
20137         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20138         (gst_base_sink_query):
20139         Speed up current position calculation.
20140
20141         * gst/base/gstbasesrc.c: (gst_base_src_query),
20142         (gst_base_src_default_newsegment):
20143         Correctly set stream position in newsegment.
20144
20145         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20146         (update_degree), (gst_bin_sort_iterator_next),
20147         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20148         * gst/gstmessage.c: (gst_message_new_custom):
20149         Clean up debugging info
20150
20151         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20152         (gst_queue_loop), (gst_queue_handle_src_query):
20153         Pause task faster.
20154
20155 2005-10-19  Wim Taymans  <wim@fluendo.com>
20156
20157         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20158         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20159         Fix query handling again.
20160
20161 2005-10-19  Wim Taymans  <wim@fluendo.com>
20162
20163         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20164         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20165         * gst/base/gstbasesrc.c: (gst_base_src_query):
20166         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20167         * gst/elements/gsttypefindelement.c:
20168         (gst_type_find_handle_src_query), (find_element_get_length),
20169         (gst_type_find_element_activate):
20170         API change fix.
20171
20172         * gst/gstquery.c: (gst_query_new_position),
20173         (gst_query_set_position), (gst_query_parse_position),
20174         (gst_query_new_duration), (gst_query_set_duration),
20175         (gst_query_parse_duration), (gst_query_set_segment),
20176         (gst_query_parse_segment):
20177         * gst/gstquery.h:
20178         Bundling query position/duration is not a good idea since duration
20179         does not change much and we don't want to recalculate it for every
20180         position query, so they are separated again..
20181         Base value in segment query is not needed.
20182
20183         * gst/gstqueue.c: (gst_queue_handle_src_query):
20184         * gst/gstutils.c: (gst_element_query_position),
20185         (gst_element_query_duration), (gst_pad_query_position),
20186         (gst_pad_query_duration):
20187         * gst/gstutils.h:
20188         Updates for query API change.
20189         Added some docs here and there.
20190
20191 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20192
20193         * check/gst/gstbin.c: (GST_START_TEST):
20194         * check/gst/gstghostpad.c: (GST_START_TEST):
20195         * check/pipelines/cleanup.c: (GST_START_TEST):
20196           wait on thread to die so we can check refcount correctly
20197
20198 2005-10-18  Wim Taymans  <wim@fluendo.com>
20199
20200         * check/pipelines/stress.c: (GST_START_TEST):
20201         Make check a little more time consuming.
20202
20203 2005-10-18  Wim Taymans  <wim@fluendo.com>
20204
20205         * check/Makefile.am:
20206         * check/pipelines/stress.c: (GST_START_TEST),
20207         (simple_launch_lines_suite), (main):
20208         Small state change torture test.
20209
20210         * docs/design/part-states.txt:
20211         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20212         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20213         (gst_base_sink_change_state):
20214         Never take state lock from streaming thread, clean up ugly
20215         hacks. Unfortunatly core does not yet support nice ways to
20216         async commit state.
20217         
20218         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20219         (bin_bus_handler):
20220         Start state recalc if a STATE_DIRTY message is posted, but only
20221         on the toplevel bin.
20222
20223         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20224         (gst_element_get_state_func), (gst_element_abort_state),
20225         (gst_element_commit_state), (gst_element_lost_state),
20226         (gst_element_set_state_func), (gst_element_change_state):
20227         * gst/gstelement.h:
20228         State variables are now protected with the LOCK, the state
20229         lock is only used to serialize _set_state().
20230
20231 2005-10-18  Wim Taymans  <wim@fluendo.com>
20232
20233         * check/gst/gstbin.c: (GST_START_TEST):
20234         * check/gst/gstmessage.c: (GST_START_TEST):
20235         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20236         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20237         (bin_bus_handler):
20238         * gst/gstelement.c: (gst_element_abort_state),
20239         (gst_element_commit_state), (gst_element_lost_state):
20240         * gst/gstmessage.c: (gst_message_new_state_changed),
20241         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20242         (gst_message_new_segment_done), (gst_message_new_duration),
20243         (gst_message_parse_state_changed),
20244         (gst_message_parse_segment_start),
20245         (gst_message_parse_segment_done), (gst_message_parse_duration):
20246         * gst/gstmessage.h:
20247         * tools/gst-launch.c: (event_loop):
20248         Seriously, this is better than a previous commit as we only need
20249         to notify the fact that an element changed state in a streaming
20250         thread, marking the state of the parents dirty, hence the 
20251         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20252         message.
20253
20254 2005-10-18  Wim Taymans  <wim@fluendo.com>
20255
20256         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20257         (gst_bin_recalc_func):
20258         * gst/gstelement.c: (gst_element_set_clock),
20259         (gst_element_abort_state), (gst_element_lost_state):
20260         Cleanups, prepare for state change fixes.
20261
20262 2005-10-18  Wim Taymans  <wim@fluendo.com>
20263
20264         * gst/gstbin.h:
20265         * gst/gstelement.c: (gst_element_class_init),
20266         (gst_element_set_state), (gst_element_set_state_func):
20267         * gst/gstelement.h:
20268         Pending ABI changes.
20269         GThreadPool in GstBinClass to monitor async state changes.
20270         state_cookie in GstElement to detect concurrent gst/set state.
20271         set_state is now virtual too in case a very complicated element
20272         has to be constructed.
20273
20274 2005-10-18  Wim Taymans  <wim@fluendo.com>
20275
20276         * check/gst/gstbin.c: (GST_START_TEST):
20277         * check/gst/gstmessage.c: (GST_START_TEST):
20278         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20279         * gst/gstbin.c: (bin_bus_handler):
20280         * gst/gstelement.c: (gst_element_commit_state),
20281         (gst_element_lost_state):
20282         * gst/gstmessage.c: (gst_message_new_state_changed),
20283         (gst_message_new_segment_start), (gst_message_new_segment_done),
20284         (gst_message_new_duration), (gst_message_parse_state_changed),
20285         (gst_message_parse_segment_start),
20286         (gst_message_parse_segment_done), (gst_message_parse_duration):
20287         * gst/gstmessage.h:
20288         * tools/gst-launch.c: (event_loop):
20289         Make messages future proof.
20290         state-change gets a flag if it was a message comming from the
20291         streaming thread.
20292         segment-start/stop can also be specified in other formats.
20293         A message to notify an app that a pipeline changed playback 
20294         duration.
20295         Also fix a GstMessage leak in -launch
20296
20297 2005-10-18  Andy Wingo  <wingo@pobox.com>
20298
20299         * gst/gstelement.c (gst_element_dispose): More helpful message.
20300
20301 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20302
20303         reviewed by: <delete if not using a buddy>
20304
20305         * common/gtk-doc.mak:
20306
20307 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20308
20309         * gst/gstregistry.c: (gst_registry_scan_path_level):
20310           unref a plug-in we get that was already initialized
20311
20312 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20313
20314         * docs/gst/gstreamer-sections.txt:
20315         * docs/libs/gstreamer-libs-sections.txt:
20316         * gst/gstelement.h:
20317           add new api entries
20318           hide internal macro
20319
20320 2005-10-17  Andy Wingo  <wingo@pobox.com>
20321
20322         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20323         cleanup.
20324
20325         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20326
20327         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20328
20329         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20330         (gst_element_get_state_func): Better debug message.
20331         (gst_element_commit_state): s/INFO/DEBUG/.
20332         (gst_element_lost_state, gst_element_change_state): 
20333
20334         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20335         (gst_message_new_custom): s/INFO/LOG/.
20336
20337 2005-10-17  Michael Smith <msmith@fluendo.com>
20338
20339         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20340           Check if end time is valid using end time, not start time.
20341
20342 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20343
20344         * check/gst-libs/controller.c: (GST_START_TEST),
20345         (gst_controller_suite):
20346         * libs/gst/controller/gstcontroller.c:
20347         (gst_controlled_property_set_interpolation_mode):
20348         * libs/gst/controller/gstcontroller.h:
20349         * libs/gst/controller/gstinterpolation.c:
20350         * testsuite/controller/.cvsignore:
20351         * testsuite/controller/Makefile.am:
20352         * testsuite/controller/interpolator.c:
20353           merge controller testsuites
20354           fix broken tests
20355           remove mem-chunk from docs
20356
20357 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20358
20359         * gst/gstmemchunk.c:
20360         * gst/gstmemchunk.h:
20361         * gst/gsttrashstack.c:
20362         * gst/gsttrashstack.h:
20363           out.  get out.  you're fired.  to the Attic !
20364
20365 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20366
20367         * gst/gstcaps.c: (gst_caps_intersect):
20368           fix signedness issues in a (hopefully) correct way
20369         * gst/gstelement.c: (gst_element_pads_activate):
20370           some debugging
20371         * gst/gstobject.c: (gst_object_set_parent):
20372           some debugging
20373
20374 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20375
20376         * gst/gstvalue.h: Fix prototypes.
20377
20378 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20379
20380         * docs/gst/gstreamer-sections.txt:
20381         * gst/gst.c: (gst_version_string):
20382         * gst/gst.h:
20383         * gst/gstversion.h.in:
20384         * win32/common/libgstreamer.def:
20385           add gst_version_string ()
20386
20387 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20388
20389         * configure.ac:
20390           clean up further
20391         * gst/gst.c: (init_post):
20392         * win32/common/config.h.in:
20393           it's PLUGINDIR now
20394         * gst/gstcaps.c: (gst_caps_intersect):
20395           use gint64, the range could be bigger than a guint
20396
20397 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20398
20399         * gst/gstclock.h:
20400           document potential problem in 2038
20401
20402 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20403
20404         * gst/gstcaps.c: (gst_caps_intersect):
20405           Fix guint j diving under 0
20406
20407 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20408
20409         * configure.ac:
20410         * win32/common/config.h:
20411         * win32/common/config.h.in:
20412           check for process.h, declares getpid() on Windows
20413         * gst/gstinfo.c:
20414           include process.h if we have it
20415         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20416         * gst/gstmemchunk.h:
20417           fix signedness issues
20418         * win32/common/libgstreamer.def:
20419           fix get_type's
20420
20421 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20422
20423         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20424         fix. Because of unsigned ints, caps intersection was going nuts and
20425         trying to access structures with G_MAXUINT index. That fixes
20426         videotestsrc ! ffmpegcolorspace ! fakesink
20427         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20428         consistency.
20429
20430 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20431
20432         * configure.ac:
20433           use the gettext macro
20434         * gst/elements/gstelements.c:
20435         * gst/gst.c:
20436         * gst/indexers/gstindexers.c:
20437           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20438         * win32/common/config.h:
20439           updated config.h
20440         * win32/common/config.h.in:
20441           add the template to generate config.h
20442         * win32/common/gstenumtypes.c:
20443         * win32/common/gstversion.h:
20444           updated copies
20445
20446 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20447
20448         * gst/gst.c: (gst_version):
20449         * gst/gstversion.h.in:
20450           add the nano
20451
20452 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20453
20454         * gst/gstevent.h:
20455           Oops, add missing closing bracket.
20456
20457 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20458
20459         * configure.ac:
20460           use common m4's for argument checking
20461
20462 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20463
20464         * docs/gst/gstreamer-sections.txt:
20465         * gst/gstevent.h:
20466           Add GST_EVENT_TYPE_NAME() macro.
20467
20468 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20469
20470         * gst/gstinfo.c:
20471         * gst/gstpluginfeature.c:
20472         * gst/gsttask.c:
20473           privatize more symbols
20474
20475 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20476
20477         * configure.ac:
20478           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20479           everything that uses GStreamer API should have the includes
20480
20481 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20482
20483         * docs/gst/gstreamer-sections.txt:
20484         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20485         * gst/gstvalue.h:
20486           give each value a _get_type, removes the DATA exports
20487
20488 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20489
20490         * gst/gst.c:
20491         * gst/gst.h:
20492           remove _gst_registry_auto_load, not used anymore
20493         * gst/gstbin.c: (gst_bin_get_type):
20494         * gst/gstbin.h:
20495         * gst/gstelement.c: (gst_element_get_type):
20496         * gst/gstelement.h:
20497         * gst/gstobject.c: (gst_object_get_type):
20498         * gst/gstobject.h:
20499         * gst/gstpad.c: (gst_pad_get_type):
20500         * gst/gstpad.h:
20501           make _get_type functions similar, fixes data export from library
20502
20503 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20504
20505         * configure.ac:
20506           correctly make conditionals
20507         * gst/elements/Makefile.am:
20508         * gst/elements/gstelements.c:
20509           fix typo causing fdsrc not to build
20510
20511 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20512
20513         * testsuite/Makefile.am:
20514         * testsuite/bytestream/.cvsignore:
20515         * testsuite/bytestream/Makefile.am:
20516         * testsuite/bytestream/filepadsink.c:
20517         * testsuite/bytestream/gstbstest.c:
20518         * testsuite/bytestream/test1.c:
20519         * testsuite/bytestream/testfile1:
20520         * testsuite/caps/normalisation.c:
20521         * testsuite/caps/random.c: (main):
20522         * testsuite/cleanup/.cvsignore:
20523         * testsuite/cleanup/Makefile.am:
20524         * testsuite/cleanup/cleanup1.c:
20525         * testsuite/cleanup/cleanup2.c:
20526         * testsuite/cleanup/cleanup3.c:
20527         * testsuite/cleanup/cleanup4.c:
20528         * testsuite/cleanup/cleanup5.c:
20529         * testsuite/controller/interpolator.c:
20530         * testsuite/debug/printf_extension.c: (main):
20531         * testsuite/elements/tee.c:
20532         * testsuite/negotiation/.cvsignore:
20533         * testsuite/negotiation/Makefile.am:
20534         * testsuite/negotiation/pad_link.c:
20535         * testsuite/pad/Makefile.am:
20536         * testsuite/pad/chainnopull.c:
20537         * testsuite/pad/getnopush.c:
20538         * testsuite/pad/link.c:
20539         * testsuite/refcounting/sched.c: (create_pipeline):
20540         * testsuite/registry/Makefile.am:
20541         * testsuite/registry/gst-print-formats.c:
20542         * testsuite/schedulers/.cvsignore:
20543         * testsuite/schedulers/142183-2.c:
20544         * testsuite/schedulers/142183.c:
20545         * testsuite/schedulers/143777-2.c:
20546         * testsuite/schedulers/143777.c:
20547         * testsuite/schedulers/147713.c:
20548         * testsuite/schedulers/147819.c:
20549         * testsuite/schedulers/147894-2.c:
20550         * testsuite/schedulers/147894.c:
20551         * testsuite/schedulers/Makefile.am:
20552         * testsuite/schedulers/group_link.c:
20553         * testsuite/schedulers/queue_link.c:
20554         * testsuite/schedulers/relink.c:
20555         * testsuite/schedulers/unlink.c:
20556         * testsuite/schedulers/unref.c:
20557         * testsuite/schedulers/useless_iteration.c:
20558         * testsuite/states/bin.c:
20559           clean out/remove some stuff from the testsuite directories
20560
20561 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20562
20563         * configure.ac:
20564           check for some headers
20565         * gst/elements/Makefile.am:
20566         * gst/elements/gstelements.c:
20567           don't compile fdsrc without sys/socket.h
20568         * gst/indexers/Makefile.am:
20569         * gst/indexers/gstindexers.c: (plugin_init):
20570           don't compile fileindex without mmap
20571
20572 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20573
20574         * configure.ac:
20575           reorganize
20576           clean up
20577           document more
20578           remove cruft
20579         * check/Makefile.am:
20580         * docs/gst/Makefile.am:
20581         * examples/helloworld/Makefile.am:
20582         * gst/Makefile.am:
20583         * gst/base/Makefile.am:
20584         * gst/check/Makefile.am:
20585         * gst/elements/Makefile.am:
20586         * gst/indexers/Makefile.am:
20587         * gst/parse/Makefile.am:
20588         * libs/gst/controller/Makefile.am:
20589         * libs/gst/dataprotocol/Makefile.am:
20590         * examples/helloworld/helloworld.c: (event_loop):
20591           compile fixes, though it's not being compiled currently
20592
20593 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20594
20595         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20596           Add some simple tests for the new taglist date API.
20597
20598 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20599
20600         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20601         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20602           Beautify 'last-message' output: print 'none' for buffer timestamps
20603           and durations if none is set; improve alignment with next messages.
20604
20605 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20606
20607         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20608         * gst/gstpluginfeature.h:
20609         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20610         * gst/gstregistry.h:
20611         * docs/gst/gstreamer-sections.txt:
20612           Add new API to check plugin feature version requirements.
20613
20614         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20615           Some basic tests for the above.         
20616
20617 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20618
20619         * gst/gststructure.c: (gst_structure_to_string):
20620           guard against NULL printf - happens when for example
20621           a message structure with GstClock gets serialized
20622
20623 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20624
20625         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20626           Fix presumable copy'n'pasto.
20627
20628 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20629
20630         * gst/elements/gstfakesrc.h:
20631         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20632         * gst/elements/gsttypefindelement.c:
20633           fix some signedness
20634         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20635           I wonder if this could actually write +2GB files before
20636
20637 2005-10-13  Andy Wingo  <wingo@pobox.com>
20638
20639         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20640         Fix Timmeke Waymans bug.
20641         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20642         string of the proper length to gst_caps_from_string. There's a
20643         potential for, before this fix, that this could cause someone
20644         connecting over the network to cause a segfault if the payload is
20645         not NUL-terminated.
20646
20647 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20648
20649         * docs/design/draft-push-pull.txt:
20650         * docs/design/part-overview.txt:
20651         * docs/random/TODO-pre-0.9:
20652         * docs/random/old/ChangeLog.gstreamer:
20653         * gst/base/gstpushsrc.c:
20654         * gst/gstclock.c:
20655           fixed typos
20656
20657 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20658
20659         * gst/glib-compat.c: (gst_flags_get_first_value):
20660         * gst/glib-compat.h:
20661         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20662         (gst_value_compare_double), (gst_value_serialize_flags):
20663           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20664           infinite loop
20665
20666 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20667
20668         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20669         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20670           fix up debugging
20671         * tools/gst-launch.c: (event_loop):
20672           print out clock nicely
20673
20674 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20675
20676         * docs/gst/gstreamer-sections.txt:
20677         * gst/gsttaglist.h:
20678         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20679         (gst_tag_list_get_date_index):
20680           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20681           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20682
20683 2005-10-13  Julien MOUTTE  <julien@moutte.net>
20684
20685         * gst/base/gstcollectpads.c: (gst_collectpads_event),
20686         (gst_collectpads_chain):
20687         * gst/base/gstcollectpads.h: Handle newsegment and store informations
20688         in CollectData.
20689
20690 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20691
20692         * docs/gst/gstreamer-sections.txt:
20693         * gst/gst.c:
20694         * gst/gsterror.h:
20695         * tools/gst-inspect.c: (main):
20696         * tools/gst-launch.c: (main):
20697         * tools/gst-run.c: (main):
20698         * tools/gst-xmlinspect.c: (main):
20699           fix GOption context leaks
20700           doc fixes
20701
20702 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20703
20704         * gst/gstbus.c:
20705           use HAVE_UNISTD_H
20706         * win32/common/config.h:
20707           update config
20708         * win32/vs6/grammar.dsp:
20709         * win32/vs6/libgstelements.dsp:
20710         * win32/vs6/libgstreamer.dsp:
20711           update vs6 files
20712
20713 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20714
20715         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20716         * gst/base/gstbasesrc.c: (gst_base_src_query):
20717           fix more guint64<->gdouble conversions
20718
20719 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20720
20721         * Makefile.am:
20722           add win32-update target
20723         * win32/common/gstconfig.h:
20724         * win32/common/gstenumtypes.c:
20725         * win32/common/gstenumtypes.h:
20726         * win32/common/gstversion.h:
20727           add files that visual studio can't generate
20728
20729 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20730
20731         * Makefile.am:
20732           add a win32-update target
20733         * configure.ac:
20734
20735 2005-10-12  Wim Taymans  <wim@fluendo.com>
20736
20737         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20738         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20739         * gst/gstelement.c: (gst_element_commit_state),
20740         (gst_element_set_state):
20741         Protect flags with proper lock.
20742         unref provided cached clock in dispose.
20743
20744 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20745
20746         * gst/gst.c:
20747         * gst/gstminiobject.h:
20748         * gst/gstpad.h:
20749         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20750           removed unused flags from miniobject
20751           doc fixes
20752
20753 2005-10-12  Wim Taymans  <wim@fluendo.com>
20754
20755         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20756         (gst_file_sink_event), (gst_file_sink_render):
20757         Flush before seeking.
20758
20759 2005-10-12  Andy Wingo  <wingo@pobox.com>
20760
20761         * gst/gst.c (gst_init_check): Ignore unknown options, as has
20762         always been the case.
20763
20764 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20765
20766         * check/gst/gstbin.c: (GST_START_TEST):
20767         * docs/gst/gstreamer-sections.txt:
20768         * gst/base/gstbasesink.c: (gst_base_sink_init):
20769         * gst/base/gstbasesrc.c: (gst_base_src_init),
20770         (gst_base_src_get_range), (gst_base_src_check_get_range),
20771         (gst_base_src_start), (gst_base_src_stop):
20772         * gst/base/gstbasesrc.h:
20773         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20774         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20775         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20776         (bin_bus_handler):
20777         * gst/gstbin.h:
20778         * gst/gstbuffer.h:
20779         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20780         * gst/gstbus.h:
20781         * gst/gstelement.c: (gst_element_is_locked_state),
20782         (gst_element_set_locked_state), (gst_element_commit_state),
20783         (gst_element_set_state):
20784         * gst/gstelement.h:
20785         * gst/gstindex.c: (gst_index_init):
20786         * gst/gstindex.h:
20787         * gst/gstminiobject.h:
20788         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20789         (gst_object_set_parent):
20790         * gst/gstobject.h:
20791         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20792         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20793         * gst/gstpad.h:
20794         * gst/gstpadtemplate.h:
20795         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20796         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20797         * gst/gstpipeline.h:
20798         * gst/indexers/gstfileindex.c: (gst_file_index_load),
20799         (gst_file_index_commit):
20800         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20801         * testsuite/pad/link.c: (gst_test_src_init),
20802         (gst_test_filter_init), (gst_test_sink_init):
20803         * testsuite/states/locked.c: (main):
20804           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20805           moved bitshift from macro to enum definition
20806
20807 2005-10-12  Wim Taymans  <wim@fluendo.com>
20808
20809         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20810         * gst/elements/gstfilesink.c: (gst_file_sink_event),
20811         (gst_file_sink_render):
20812         Some more debugging info.
20813
20814 2005-10-12  Wim Taymans  <wim@fluendo.com>
20815
20816         * docs/design/part-states.txt:
20817         * tools/gst-launch.c: (main):
20818         Some doc updates.
20819         Revert non-intentional change.
20820
20821 2005-10-12  Wim Taymans  <wim@fluendo.com>
20822
20823         * check/gst/gstbin.c: (GST_START_TEST):
20824         * check/gst/gstelement.c: (GST_START_TEST):
20825         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20826         * check/gst/gstghostpad.c: (GST_START_TEST):
20827         * check/gst/gstpipeline.c: (GST_START_TEST):
20828         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20829         * check/states/sinks.c: (GST_START_TEST):
20830         * gst/elements/gsttypefindelement.c: (stop_typefinding):
20831         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20832         (gst_bin_remove_func), (gst_bin_get_state_func),
20833         (gst_bin_recalc_state), (gst_bin_change_state_func),
20834         (bin_bus_handler):
20835         * gst/gstelement.c: (gst_element_get_state_func),
20836         (gst_element_get_state), (gst_element_abort_state),
20837         (gst_element_commit_state), (gst_element_set_state),
20838         (gst_element_change_state), (gst_element_change_state_func):
20839         * gst/gstelement.h:
20840         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20841         (gst_pipeline_provide_clock_func):
20842         * gst/gstutils.c: (gst_element_link_pads_filtered):
20843         * tools/gst-launch.c: (main):
20844         * tools/gst-typefind.c: (main):
20845         Use GstClockTime in _get_state() instead of GTimeVal.
20846         Remove old code in gstutils.c
20847
20848 2005-10-12  Andy Wingo  <wingo@pobox.com>
20849
20850         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20851         removed.
20852
20853         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20854         there is no task. Shouldn't affect any code, as nothing in our
20855         plugins checks this return value.
20856         (gst_pad_stop_task): Also take the stream lock if the pad has no
20857         task. Docs updated.
20858
20859 2005-10-12  Wim Taymans  <wim@fluendo.com>
20860
20861         * gst/gstpad.c: (pre_activate), (post_activate),
20862         (gst_pad_activate_pull), (gst_pad_activate_push):
20863         Cleanup activation code. Reset old state if
20864         activation failed.
20865
20866 2005-10-12  Wim Taymans  <wim@fluendo.com>
20867
20868         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20869         (gst_base_sink_change_state):
20870         No need to prerol after receiving EOS.
20871
20872         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20873         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20874         * gst/elements/gstidentity.c: (gst_identity_event):
20875         Print events more verbosely.
20876
20877 2005-10-12  Wim Taymans  <wim@fluendo.com>
20878
20879         * check/Makefile.am:
20880         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20881         * check/states/sinks2.c:
20882         Moved sinks2 testcode in sinks check.
20883
20884         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20885         (gst_bin_remove_func), (gst_bin_recalc_state),
20886         (gst_bin_change_state_func), (bin_bus_handler):
20887         Fix potential race condition when _get_state() iterated over an
20888         ASYNC element right before it posted a state completion.
20889
20890         * gst/gstclock.h:
20891         Do proper cast here.
20892
20893         * gst/gstevent.c: (gst_event_new_newsegment),
20894         (gst_event_parse_newsegment):
20895         A playback rate of 0.0 is not allowed.
20896
20897 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20898
20899         * win32/common/config.h:
20900         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20901         (_trewinddir), (_ttelldir), (_tseekdir):
20902         * win32/common/dirent.h:
20903         * win32/common/gtchar.h:
20904         * win32/common/libgstbase.def:
20905         * win32/common/libgstreamer.def:
20906         * win32/vs6/grammar.dsp:
20907         * win32/vs6/gst_inspect.dsp:
20908         * win32/vs6/gst_launch.dsp:
20909         * win32/vs6/gstreamer.dsw:
20910         * win32/vs6/libgstbase.dsp:
20911         * win32/vs6/libgstelements.dsp:
20912         * win32/vs6/libgstreamer.dsp:
20913           Visual Studio 6 project files, and a new common directory.
20914           Phear.
20915
20916 2005-10-11  Wim Taymans  <wim@fluendo.com>
20917
20918         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20919         (gst_base_sink_do_sync), (gst_base_sink_query),
20920         (gst_base_sink_change_state):
20921         * gst/base/gstbasesink.h:
20922         Correctly parse newsegment info.
20923
20924 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20925
20926         * gst/gst.c: (init_post):
20927           split plugin paths correctly
20928
20929 2005-10-11  Wim Taymans  <wim@fluendo.com>
20930
20931         * check/gst/gstevent.c: (GST_START_TEST):
20932         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20933         (gst_base_sink_change_state):
20934         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20935         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20936         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20937         * gst/gstevent.c: (gst_event_new_newsegment),
20938         (gst_event_parse_newsegment):
20939         * gst/gstevent.h:
20940         Added extra flag to newsegment for future API freeze.
20941         Updated check and base elements.
20942
20943 2005-10-11  Julien MOUTTE  <julien@moutte.net>
20944
20945         * gst/base/gstcollectpads.c: (gst_collectpads_init),
20946         (gst_collectpads_add_pad), (gst_collectpads_pop),
20947         (gst_collectpads_event), (gst_collectpads_chain):
20948         * gst/base/gstcollectpads.h: Handle EOS correctly.
20949
20950 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20951
20952         * tools/gst-launch.c: (main):
20953           more null protecting
20954
20955 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20956
20957         * gst/gst-i18n-lib.h:
20958           check for ENABLE_NLS, not GETTEXT_PACKAGE
20959         * gst/gstregistry.c: (gst_registry_add_plugin),
20960         (gst_registry_scan_path_level),
20961         (_gst_registry_remove_cache_plugins):
20962           protect possibly NULL strings
20963         * gst/parse/types.h:
20964           config.h already included before
20965         * tools/gst-inspect.c: (main):
20966           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
20967           check for ENABLE_NLS, not GETTEXT_PACKAGE
20968         * tools/gst-launch.c: (main):
20969           check for ENABLE_NLS, not GETTEXT_PACKAGE
20970
20971 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20972
20973         * configure.ac:
20974           if we don't have glib, fail before testing 2.8
20975         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
20976           fix a leak, should fix plugins-base testsuite
20977
20978 2005-10-11  Andy Wingo  <wingo@pobox.com>
20979
20980         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
20981         take the mode we're going to as an arg. Go head and set the mode
20982         and flushing flags now, so that if the activate function starts a
20983         thread all the flags will be in the right state.
20984         (post_activate): Renamed also. Just handle making sure streaming
20985         finishes for the deactivation case, and setting the deactivated
20986         mode.
20987         (gst_pad_set_active): Complain loudly if deactivation fails.
20988         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
20989         (gst_pad_activate_push): Adapt to pre/post_activate changes,
20990         remove the terrible hack.
20991
20992 2005-10-11  Wim Taymans  <wim@fluendo.com>
20993
20994         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20995         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
20996         (gst_bin_recalc_state), (gst_bin_change_state_func),
20997         (gst_bin_dispose), (bin_bus_handler):
20998         * gst/gstbin.h:
20999         Prepare to make current EOS message queue more generic.
21000         Fix some typos.
21001
21002         * gst/gstevent.c: (gst_event_new_newsegment),
21003         (gst_event_parse_newsegment):
21004         * gst/gstevent.h:
21005         Rename base to stream_time.
21006
21007         * gst/gstmessage.h:
21008         Fix typo in docs.
21009
21010 2005-10-11  Wim Taymans  <wim@fluendo.com>
21011
21012         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21013         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21014         (gst_bin_change_state_func), (bin_bus_handler):
21015         * gst/gstbin.h:
21016         Work on proper clock selection.
21017
21018 2005-10-11  Edward Hervey  <edward@fluendo.com>
21019
21020         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
21021         * libs/gst/controller/gstcontroller.h:
21022         Added GList* version of _remove_properties() in order to be able to wrap
21023         it in bindings.
21024
21025 2005-10-11  Wim Taymans  <wim@fluendo.com>
21026
21027         * docs/design/part-states.txt:
21028         Some more docs.
21029
21030         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21031         (gst_bin_change_state_func), (bin_bus_handler):
21032         Doc updates. Don't distribute the same clock over and over again.
21033
21034         * gst/gstclock.c:
21035         * gst/gstclock.h:
21036         Doc updates.
21037
21038         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21039         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21040         (gst_pad_send_event):
21041         * gst/gstpad.h:
21042         Make probe emission threadsafe again.
21043         Register quarks and move _get_name() from utils.
21044         Doc updates.
21045
21046         * gst/gstpipeline.c: (gst_pipeline_class_init),
21047         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21048         Only redistribute the clock of it changed.
21049
21050         * gst/gstsystemclock.h:
21051         Doc updates. 
21052
21053         * gst/gstutils.c:
21054         * gst/gstutils.h:
21055         Moved the _flow_get_name() to GstPad.
21056
21057 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21058
21059         * check/gst-libs/gdp.c: (GST_START_TEST):
21060         * check/gst/gstcaps.c: (GST_START_TEST):
21061         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21062         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21063         (gst_dp_packet_from_caps):
21064           fix more valgrind warnings before turning up the heat
21065
21066 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
21067
21068         * gst/parse/grammar.y:
21069           some cleanup before the hacking
21070
21071 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21072
21073         * gst/base/gstbasesrc.c: (gst_base_src_query):
21074           use conversions
21075         * gst/gstutils.c: (gst_guint64_to_gdouble),
21076         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21077         * gst/gstutils.h:
21078           externalize, basesrc uses it
21079           obviously the implementation needs testing
21080
21081 2005-10-10  Wim Taymans  <wim@fluendo.com>
21082
21083         * tests/sched/Makefile.am:
21084         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21085         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21086
21087 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21088
21089         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21090           apparently converting from guint64 to double is not implemented
21091           on MSVC
21092
21093 2005-10-10  Wim Taymans  <wim@fluendo.com>
21094
21095         * check/Makefile.am:
21096         * check/generic/states.c: (GST_START_TEST):
21097         * check/gst/gstbin.c: (GST_START_TEST):
21098         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21099         * check/states/sinks.c: (GST_START_TEST):
21100         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21101         (main):
21102         Check fixes, use API as stated in design docs, remove hacks.
21103
21104         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21105         (gst_base_sink_change_state):
21106         Catch stopping our task while we're shutting down.
21107
21108         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21109         (gst_bin_remove_func), (gst_bin_get_state_func),
21110         (gst_bin_recalc_state), (gst_bin_change_state_func),
21111         (bin_bus_handler):
21112         * gst/gstbin.h:
21113         * gst/gstelement.c: (gst_element_init),
21114         (gst_element_get_state_func), (gst_element_abort_state),
21115         (gst_element_commit_state), (gst_element_lost_state),
21116         (gst_element_set_state), (gst_element_change_state),
21117         (gst_element_change_state_func):
21118         * gst/gstelement.h:
21119         New state change algorithm (see #318116)
21120
21121         * gst/gstpipeline.c: (gst_pipeline_class_init),
21122         (gst_pipeline_init), (gst_pipeline_set_property),
21123         (gst_pipeline_get_property), (do_pipeline_seek),
21124         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21125         * gst/gstpipeline.h:
21126         Remove crude state change hacks.
21127
21128         * gst/gstutils.h:
21129         Remove crude hacks.
21130
21131         * tools/gst-launch.c: (main):
21132         Fixes for state change. Needs some more work to fully use the
21133         new stuff.
21134
21135 2005-10-10  Andy Wingo  <wingo@pobox.com>
21136
21137         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21138
21139         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21140         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21141         issue.
21142
21143 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21144
21145         * gst/gstiterator.c: (gst_iterator_new):
21146           Fix my previous commit: GTypes passed to gst_iterator_new()
21147           can be fundamental types.
21148
21149 2005-10-10  Wim Taymans  <wim@fluendo.com>
21150
21151         * gst/gstelement.c: (gst_element_iterate_pad_list),
21152         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21153         (gst_element_iterate_sink_pads):
21154         Use src/sink pads lists for the respective iterators instead
21155         of filtering.
21156
21157 2005-10-10  Andy Wingo  <wingo@pobox.com>
21158
21159         Merged in popt removal + GOption addition patch from Ronald, bug
21160         #169772.
21161
21162         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21163         GstElement macros around, remove popt-related symbols, add goption
21164         stuff.
21165
21166         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21167         
21168         * docs/gst/Makefile.am:
21169         * docs/libs/Makefile.am: No POPT_CFLAGS.
21170         
21171         * examples/manual/Makefile.am:
21172         * docs/manual/basics-init.xml: Doc updates with an example.
21173         
21174         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21175         (gst_init), (parse_one_option), (parse_goption_arg):
21176         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21177         bit of hand merging and debugging to get the GOption stuff working
21178         tho.
21179         
21180         * tests/Makefile.am:
21181         * tools/Makefile.am:
21182         * tools/gst-inspect.c: (main):
21183         * tools/gst-launch.c: (main):
21184         * tools/gst-run.c: (main):
21185         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21186
21187 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21188
21189         * gst/gstiterator.c: (gst_iterator_new):
21190           Add assertions to make sure passed GType is likely to really
21191           be a GType (as the compiler won't catch it if the size and
21192           GType arguments get mixed up, see #318447).
21193
21194 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21195
21196         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21197
21198         * gst/gstbin.c: (gst_bin_iterate_sorted):
21199           Pass GType and size arguments to gst_iterator_new() in the right
21200           order (maybe we should make _new() take the GType as first argument
21201           just like _new_list()?) (#318447).
21202           
21203
21204 2005-10-10  Wim Taymans  <wim@fluendo.com>
21205
21206         * gst/gstelement.c: (gst_element_finalize):
21207         And free the GStaticRecMutex too
21208
21209 2005-10-10  Andy Wingo  <wingo@pobox.com>
21210
21211         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21212         Allocate and free the mutex properly.
21213
21214         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21215         New macros.
21216         (GstElement): The state_lock is now recursive. Rebuild your
21217         plugins, suckers. Old macros adapted.
21218
21219         * docs/gst/gstreamer-sections.txt: Doc updates.
21220
21221         * gst/gstutils.h:
21222         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21223         (g_static_rec_cond_wait): Ported from state changes patch, while
21224         we wait on bug #317802 to be solved in a well-distributed GLib.
21225
21226         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21227         gst_element_change_state, variable name changes.
21228         (gst_element_change_state): Split out of gst_element_set_state in
21229         preparation for the state change merge. Doesn't pay attention to
21230         the 'transition' argument.
21231         (gst_element_set_state): Updates, hopefully purely cosmetic.
21232         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21233         state change patch.
21234         (gst_element_get_state_func): Renamed from get_state, cosmetic
21235         changes.
21236
21237 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21238
21239         * gst/elements/gstelements.c:
21240         * win32/GStreamer.vcproj:
21241         * win32/config.h:
21242         * win32/dirent.c: (_tseekdir):
21243         * win32/gst-inspect.vcproj:
21244         * win32/gst-launch.vcproj:
21245         * win32/gstconfig.h:
21246         * win32/gstelements.vcproj:
21247         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21248         * win32/gstreamer.def:
21249         * win32/msvc71.sln:
21250           updates for the win32 build (patch from Sebastien Moutte)
21251
21252 2005-10-10  Andy Wingo  <wingo@pobox.com>
21253
21254         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21255         gst_bin_get_state, cleaned up (but no logic changes).
21256         (bin_element_is_sink): Comment updates.
21257         (sink_iterator_filter): Remove needless cast.
21258         (gst_bin_iterate_sinks): Doc update.
21259         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21260         cleaned up (but no logic changes).
21261
21262         * check/states/sinks.c (test_src_sink): Cleanups from the state
21263         change patch.
21264         (test_livesrc_sink): Sync on the state.
21265
21266         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21267         the state change patch.
21268
21269         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21270         change patch.
21271
21272         * check/gst/gstbin.c: Merge in some style fixes and additional
21273         checks from Wim's state change patch.
21274
21275 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21276
21277         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21278         (gst_type_find_helper):
21279           Check whether we have the requested data already in our list of
21280           cached buffers before pulling a new buffer; also make the buffer
21281           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21282
21283 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21284
21285         * gst/gstcaps.c:
21286         * gst/gstevent.c:
21287           doc updates
21288         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21289           don't use long long, it's not portable.  Replacing with
21290           gint64 seems to work; let's hope no skeletons fall out of the closet.
21291
21292 2005-10-10  Andy Wingo  <wingo@pobox.com>
21293
21294         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21295
21296 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21297
21298         * docs/gst/gstreamer-sections.txt:
21299         * gst/gstevent.c:
21300         * gst/gstevent.h:
21301         * gst/gstinfo.c:
21302         * gst/gstinfo.h:
21303         * gst/gstmessage.c: (gst_message_parse_state_changed):
21304         * gst/gstpad.c:
21305         * gst/gstpad.h:
21306           more docs, fix compilation
21307
21308 2005-10-09  Philippe Khalaf <burger@speedy.org>
21309         * gst/gstmessage.c:
21310           Fixed a few forgotten variables on previous commit
21311
21312 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21313
21314         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21315           Fix evil typefind crasher: getrange() might return a short
21316           buffer at the end of a file, but gst_type_find_peek() must
21317           either return the full data as requested or NULL, but
21318           never a short buffer.
21319
21320 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21321
21322         * gst/gstmessage.c: (gst_message_new_state_changed),
21323         (gst_message_parse_state_changed):
21324         * gst/gstmessage.h:
21325           don't use "new", it's a C++ keyword
21326
21327 2005-10-08  Wim Taymans  <wim@fluendo.com>
21328
21329         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21330         * gst/gstelement.c: (gst_element_post_message):
21331         * gst/gstpipeline.c: (gst_pipeline_change_state):
21332         Small docs and debug updates.
21333
21334 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21335
21336         * docs/gst/gstreamer-sections.txt:
21337         * gst/gstelementfactory.c:
21338         * gst/gstevent.c:
21339         * gst/gsttaglist.c:
21340           more docs
21341
21342 2005-10-08  Wim Taymans  <wim@fluendo.com>
21343
21344         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21345         (gst_bin_dispose), (bin_bus_handler):
21346         Fix typos, add comments.
21347         Clear EOS list when going to PAUSED from any direction and do it
21348         in a threadsafe way.
21349         Get base time in a threadsafe way too.
21350         Fix confusing debug in the change_state function.
21351         Various other small cleanups.
21352         
21353         * gst/gstelement.c: (gst_element_post_message):
21354         Fix very verbose bus posting code.
21355
21356         * gst/gstpipeline.c: (gst_pipeline_class_init),
21357         (gst_pipeline_set_property), (gst_pipeline_get_property),
21358         (gst_pipeline_change_state):
21359         Small ARG_ -> PROP_ cleanup
21360
21361 2005-10-08  Wim Taymans  <wim@fluendo.com>
21362
21363         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21364         Do a less CPU demanding EOS check because we can.
21365
21366 2005-10-08  Wim Taymans  <wim@fluendo.com>
21367
21368         * libs/gst/dataprotocol/dataprotocol.c:
21369         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21370         (gst_dp_packet_from_event):
21371         * libs/gst/dataprotocol/dataprotocol.h:
21372         * libs/gst/dataprotocol/dp-private.h:
21373         It's about time we bump the version number.
21374         Since event types don't fit in the guint8 anymore describing
21375         the payload type, make payload type 16 bits wide.
21376
21377 2005-10-08  Wim Taymans  <wim@fluendo.com>
21378
21379         * docs/design/part-TODO.txt:
21380         * docs/design/part-clocks.txt:
21381         * docs/design/part-events.txt:
21382         * docs/design/part-gstbin.txt:
21383         * docs/design/part-gstelement.txt:
21384         * docs/design/part-gstpipeline.txt:
21385         * docs/design/part-live-source.txt:
21386         * docs/design/part-messages.txt:
21387         * docs/design/part-overview.txt:
21388         * docs/design/part-states.txt:
21389         Many doc updates.
21390
21391 2005-10-08  Wim Taymans  <wim@fluendo.com>
21392
21393         * gst/gstevent.c:
21394         * gst/gstevent.h:
21395         Fix event quark registration.
21396         Add some space between events so we can insert them in the
21397         right groups.
21398
21399 2005-10-08  Wim Taymans  <wim@fluendo.com>
21400
21401         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21402         (gst_base_sink_handle_buffer):
21403         Better log message.
21404
21405         * gst/gstbus.h:
21406         * gst/gstelement.h:
21407         More docs.
21408
21409         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21410         (gst_queue_set_property), (gst_queue_get_property):
21411         * gst/gstqueue.h:
21412         Remove old unused properties.
21413
21414 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21415         * docs/gst/gstreamer-sections.txt:
21416         * gst/gstmessage.c:
21417         * gst/gstmessage.h:
21418         * gst/gstminiobject.c:
21419         * gst/gstminiobject.h:
21420         * gst/gstobject.h:
21421         * gst/gstpad.h:
21422         * gst/gstutils.h:
21423           lots of new docs and doc fixes
21424
21425 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21426
21427         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21428         * gst/gstplugin.h:
21429         * gst/gstregistry.c: (gst_registry_lookup_locked),
21430         (gst_registry_scan_path_level):
21431         * gst/gstregistryxml.c: (load_plugin):
21432           Only ever load one plugin for a given plugin basename.
21433           This ensures correct overriding of GST_PLUGIN_PATH over
21434           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21435           system installed plugins.
21436
21437 2005-10-08  Wim Taymans  <wim@fluendo.com>
21438
21439         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21440         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21441         Prepare for doing QOS.
21442
21443 2005-10-08  Wim Taymans  <wim@fluendo.com>
21444
21445         * check/gst/gstbin.c: (GST_START_TEST):
21446         * check/pipelines/cleanup.c: (GST_START_TEST):
21447         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21448         Allow new clock message too.
21449
21450 2005-10-08  Wim Taymans  <wim@fluendo.com>
21451
21452         * gst/gstmessage.c: (gst_message_new_error),
21453         (gst_message_new_warning), (gst_message_new_tag),
21454         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21455         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21456         (gst_message_new_segment_start), (gst_message_new_segment_done),
21457         (gst_message_parse_state_changed),
21458         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21459         (gst_message_parse_new_clock):
21460         * gst/gstmessage.h:
21461         Also carry the clock in question.
21462
21463 2005-10-08  Wim Taymans  <wim@fluendo.com>
21464
21465         * gst/gstmessage.c: (gst_message_new_custom),
21466         (gst_message_new_eos), (gst_message_new_error),
21467         (gst_message_new_warning), (gst_message_new_tag),
21468         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21469         (gst_message_new_new_clock), (gst_message_new_segment_start),
21470         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21471         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21472         * gst/gstmessage.h:
21473         Clean up.
21474         Added clock related messages.
21475
21476         * gst/gstpipeline.c: (gst_pipeline_change_state):
21477         Post message when the clock changed.
21478
21479         * tools/gst-launch.c: (event_loop):
21480         Print new clock.
21481
21482 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21483
21484         * tools/gst-inspect.c: (print_element_properties_info):
21485           Can't pass NULL strings to g_print() on windows.
21486
21487 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21488
21489         * docs/Makefile.am:
21490         * docs/gst/Makefile.am:
21491         * docs/gst/gstreamer-docs.sgml:
21492         * docs/gst/running.xml:
21493         * docs/version.entities.in:
21494           add a chapter on running GStreamer.
21495           document GST_DEBUG and GST_PLUGIN* env vars
21496
21497 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21498
21499         * Makefile.am:
21500           remove include dir
21501         * configure.ac:
21502           remove PLUGINS_BUILDDIR stuff
21503         * gst/gst.c: (init_post):
21504           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21505         * idiottest.mak:
21506           remove, it was condescending and not needed
21507
21508 2005-10-08  Wim Taymans  <wim@fluendo.com>
21509
21510         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21511         (gst_base_sink_handle_object), (gst_base_sink_event),
21512         (gst_base_sink_wait), (gst_base_sink_handle_event),
21513         (gst_base_sink_change_state):
21514         * gst/base/gstbasesink.h:
21515         Repost EOS message while going to PLAYING if still EOS.
21516         Make sure that when receiving a FLUSH_START we don't attempt
21517         to sync on the clock anymore.
21518
21519 2005-10-08  Wim Taymans  <wim@fluendo.com>
21520
21521         * tools/gst-launch.c: (event_loop):
21522         Better message printout.
21523
21524 2005-10-08  Wim Taymans  <wim@fluendo.com>
21525
21526         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21527         (gst_bin_child_proxy_get_children_count):
21528         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21529         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21530         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21531         (gst_child_proxy_set_valist):
21532         * gst/parse/grammar.y:
21533         Make ChildProxy threadsafe and fix mem leaks.
21534
21535 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21536
21537         * gst/gst.c: (init_post):
21538           debug the GST_PLUGIN_ env vars
21539
21540 2005-10-08  Wim Taymans  <wim@fluendo.com>
21541
21542         * check/gst/gstbin.c: (GST_START_TEST):
21543         * check/gst/gstmessage.c: (GST_START_TEST):
21544         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21545         * gst/gstelement.c: (gst_element_commit_state),
21546         (gst_element_lost_state):
21547         * gst/gstmessage.c: (gst_message_new_state_changed),
21548         (gst_message_parse_state_changed):
21549         * gst/gstmessage.h:
21550         * tools/gst-launch.c: (event_loop):
21551         Added extra field to STATE_CHANGE message with the pending
21552         state, which will be different from the new state soon.
21553
21554 2005-10-08  Wim Taymans  <wim@fluendo.com>
21555
21556         * gst/gstbus.c: (gst_bus_pop):
21557         * gst/gstclock.c:
21558         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21559         Small cleanups and doc updates.
21560
21561 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21562
21563         * gst/gst.c: (init_pre):
21564         * gst/gstbin.c: (gst_bin_add_func):
21565           log distributing clocks and base time
21566         * gst/gstregistry.c: (gst_registry_add_plugin),
21567         (gst_registry_scan_path_level), (gst_registry_scan_path):
21568           clean up the debugging output a little
21569         * gst/gstutils.c: (gst_element_state_get_name):
21570           warn about a memleak (I've actually seen this be used, though
21571           it was probably a bug)
21572
21573 2005-10-07  Wim Taymans  <wim@fluendo.com>
21574
21575         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21576         (gst_base_src_init), (gst_base_src_default_newsegment),
21577         (gst_base_src_newsegment), (gst_base_src_do_seek),
21578         (gst_base_src_loop), (gst_base_src_start):
21579         * gst/base/gstbasesrc.h:
21580         Make the newsegment event customizable by subclasses.
21581
21582 2005-10-07  Wim Taymans  <wim@fluendo.com>
21583
21584         * gst/gstevent.c: (gst_event_new_buffersize),
21585         (gst_event_parse_buffersize):
21586         * gst/gstevent.h:
21587         New event for future idea.
21588
21589 2005-10-07  Andy Wingo  <wingo@pobox.com>
21590
21591         * gst/gstelement.c (gst_element_post_message): Doc update.
21592
21593         * docs/gst/gstreamer-sections.txt: Update.
21594
21595         * gst/gstmessage.c (gst_message_new_application): Made into a
21596         function like honest API calls.
21597         (gst_message_new_element): New message type.
21598
21599         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21600
21601         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21602         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21603         times.
21604
21605         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21606         NO_PREROLL from gst_element_change_state to fall through.
21607
21608 2005-10-07  Wim Taymans  <wim@fluendo.com>
21609
21610         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21611         (gst_ghost_pad_do_activate_push):
21612         Activating a ghostpad with no internal pad in push mode
21613         is ok.
21614
21615 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21616
21617         * gst/gstobject.h:
21618           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21619           Fixes compilation on Windows.
21620
21621 2005-10-07  Michael Smith <msmith@fluendo.com>
21622
21623         * tools/gst-inspect.c:
21624           Print out feature and plugin count at the end when printing out
21625           all features.
21626
21627 2005-10-04  Michael Smith <msmith@fluendo.com>
21628
21629         * gst/gsterror.c: (_gst_stream_errors_init):
21630           Add another error string used in a few existing plugins.
21631
21632         * gst/gstplugin.c:
21633         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21634         * tools/gst-inspect.c: (print_element_info):
21635           When a feature disappears from a plugin (and the feature exists in
21636           the cached registry file), things went horribly wrong. This isn't a
21637           complete fix, we should actually be removing the 'missing' features
21638           from the features list when we load the actual plugin. That's not
21639           yet implemented. 
21640
21641 2005-10-04  Johan Dahlin  <johan@gnome.org>
21642
21643         * check/gst/gstiterator.c: (GST_START_TEST):
21644         * gst/gstbin.c: (gst_bin_iterate_elements),
21645         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21646         * gst/gstelement.c: (gst_element_iterate_pads):
21647         * gst/gstformat.c: (gst_format_iterate_definitions):
21648         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21649         (gst_iterator_new_list), (gst_iterator_filter):
21650         * gst/gstiterator.h:
21651         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21652         Add a GType to GstIterator, update callsites and tests.
21653
21654 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21655
21656         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21657           give events a chance to be handled by event probes when the pad
21658           is not linked
21659
21660 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21661
21662         * gst/gstevent.c: (gst_event_type_get_name),
21663         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21664         * gst/gstevent.h:
21665           add string representations for event types
21666
21667 2005-10-06  Wim Taymans  <wim@fluendo.com>
21668
21669         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21670         Don't use NULL pointers.
21671
21672 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21673
21674         * gst/gst_private.h:
21675         * gst/gstbus.c:
21676         * gst/gstelement.c:
21677         * gst/gstinfo.c:
21678         * gst/gstpluginfeature.c:
21679           widen the debug category in output to fit the biggest one we have
21680           add a bus category and use it
21681           play with the colors
21682           fix up some categories
21683
21684 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21685
21686         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21687           add push activation of sink ghost pads.
21688           Andye, please verify
21689
21690 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21691
21692         * gst/gstutils.c: (gst_element_link_pads):
21693           fix a bug in the case where neither element has a pad
21694         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21695           add a test for that case
21696
21697 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21698
21699         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21700           emit have-data before checking for peers.  This allows
21701           for probe handlers to connect elements.  This helps autopluggers.
21702         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21703         (gst_pad_suite):
21704           add six checks, linked/unlinked with no/true/false probe
21705
21706 2005-10-04  Wim Taymans  <wim@fluendo.com>
21707
21708         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21709         (gst_fake_sink_event), (gst_fake_sink_preroll),
21710         (gst_fake_sink_render), (gst_fake_sink_change_state):
21711         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21712         (gst_fake_src_get_property), (gst_fake_src_create),
21713         (gst_fake_src_stop):
21714         * gst/elements/gstidentity.c: (gst_identity_stop):
21715         Protect last_message with lock.
21716
21717 2005-10-04  Edward Hervey  <edward@fluendo.com>
21718
21719         * gst/gstformat.h: 
21720         Added precision in the comments for GST_FORMAT_DEFAULT
21721
21722 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
21723
21724         * tools/gst-launch.c: (main):
21725           Don't try to run erroneous pipelines.
21726
21727 2005-10-04  Julien MOUTTE  <julien@moutte.net>
21728
21729         * gst/gstbus.c: We don't need this header.
21730
21731 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21732
21733         * configure.ac:
21734           back to development
21735
21736 === release 0.9.3 ===
21737
21738 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21739
21740         * README:
21741         * configure.ac:
21742           Releasing 0.9.3, "Unregistered"
21743
21744 2005-10-03  Andy Wingo  <wingo@pobox.com>
21745
21746         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21747         whereby calling a pad's activatepush() function can start a thread
21748         that starts to push or pull before the pad gets the FLUSHING flag
21749         unset. Hack around it by holding the stream lock until the flag is
21750         set. Need to replace this with a proper solution. Together with
21751         the ghost pad fixes, this fixes mp3 playing/tagreading.
21752
21753         * docs/design/part-gstghostpad.txt: Add a note about activation of
21754         proxy pads outside of ghost pads.
21755
21756         * gst/gstghostpad.c: Implement the ghost pad activation design.
21757
21758 2005-10-02  Andy Wingo  <wingo@pobox.com>
21759
21760         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21761         It is volatile, after all.
21762
21763         * docs/design/part-gstghostpad.txt: Flesh out activation with
21764         ghost pads.
21765
21766         * gst/base/gstbasesrc.c (gst_base_src_init): Use
21767         GST_DEBUG_FUNCPTR.
21768
21769 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
21770
21771         * configure.ac:
21772           Fix (unused) AM_CONDITIONAL tests.
21773
21774 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
21775
21776         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21777
21778         * gst/gstutils.c: (gst_pad_query_convert):
21779           Add assertion that makes sure src_val is >=0, just like
21780           gst_query_new_convert() has. (#315895)
21781
21782 2005-09-30  Edward Hervey  <edward@fluendo.com>
21783
21784         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21785         Let's not iterate pads we're not interested in, it avoids getting 
21786         sky-high refcounts on sinkpad.
21787
21788 2005-09-30  Wim Taymans  <wim@fluendo.com>
21789
21790         * gst/gstelement.c: (gst_element_set_state),
21791         (gst_element_change_state):
21792         Small tweak, element in ASYNC remains ASYNC.
21793
21794 2005-09-30  Wim Taymans  <wim@fluendo.com>
21795
21796         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21797         Only error is an error.
21798
21799         * gst/gstbin.c: (gst_bin_change_state):
21800         Better debugging.
21801
21802         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21803         Also call pad_block in pad alloc.
21804
21805         * gst/gstutils.c: (gst_flow_get_name):
21806         Better debugging.
21807
21808 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21809
21810         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21811         (gst_base_src_get_range):
21812           Fix documentation typos. Add some more debug info.
21813
21814 2005-09-29  David Schleef  <ds@schleef.org>
21815
21816         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21817           more end-user friendly.
21818         * tools/gst-inspect.c: (main): Check if command-line argument is
21819           a file and attempt to load that file as a plugin.
21820
21821 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21822
21823         * check/gst/gstbin.c:
21824         * check/states/sinks.c:
21825           fix tests for the new warning
21826         * check/gst/gstpipeline.c:
21827           add a test for pipeline and bus interaction
21828         * gst/gstelement.c:
21829           elements should be NULL if they get disposed; add a warning if not
21830
21831 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21832
21833         * gst/gstobject.c:
21834           for 2.6 refcounting, make debug log more correct by printing
21835           the actual refcounts at the time of swap (Wim)
21836
21837 2005-09-29  Andy Wingo  <wingo@pobox.com>
21838
21839         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21840         removes signal watches previously added via
21841         gst_bus_add_signal_watch.
21842         (gst_bus_add_signal_watch): Don't return the source id, just store
21843         it on the bus if there wasn't an id already.
21844
21845         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21846         add_signal_watch and remove_signal_watch.
21847
21848 2005-09-29  Edward Hervey  <edward@fluendo.com>
21849
21850         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
21851         Better if we actually iterate the list :)
21852
21853 2005-09-29  Wim Taymans  <wim@fluendo.com>
21854
21855         * check/gst/gstbin.c: (GST_START_TEST):
21856         Change for new bus API.
21857
21858         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21859         (send_messages), (GST_START_TEST), (gstbus_suite):
21860         Change for new bus signal API.
21861
21862         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21863         (gst_bus_source_prepare), (gst_bus_source_check),
21864         (gst_bus_create_watch), (gst_bus_add_watch_full),
21865         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21866         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21867         * gst/gstbus.h:
21868         Remove support for multiple GSources operating on different
21869         message types as it is too complex and unneeded when using
21870         signals.
21871         Added support for receiving signals from the bus.
21872
21873 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21874
21875         * docs/libs/tmpl/gstdataprotocol.sgml:
21876         * docs/manual/advanced-dataaccess.xml:
21877         * gst/elements/gstcapsfilter.c:
21878         * gst/gstutils.c:
21879           rename filter-caps to caps property
21880
21881 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21882
21883         * gst/gstvalue.c: (gst_value_deserialize_fraction):
21884           More robust fraction string parsing.
21885
21886         * docs/pwg/appendix-porting.xml:
21887           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21888
21889 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21890
21891         * gst/gstcaps.c: (gst_caps_do_simplify):
21892           Thou shalt not free a structure and then continue using it
21893           in the next loop iteration.
21894
21895         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21896         (gst_caps_suite):
21897           Add test case for caps simplification.
21898
21899 2005-09-29  Wim Taymans  <wim@fluendo.com>
21900
21901         * check/gst/gstbin.c: (GST_START_TEST):
21902         Oops.
21903
21904 2005-09-29  Wim Taymans  <wim@fluendo.com>
21905
21906         * check/gst/gstbin.c: (GST_START_TEST):
21907         Add bus to bin.
21908
21909         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21910         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21911         (find_element), (gst_bin_sort_iterator_next),
21912         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21913         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21914         (gst_bin_change_state), (gst_bin_dispose):
21915         A bin does not have a bus, it gets the bus from the parent.
21916
21917         * gst/gstelement.c: (gst_element_requires_clock),
21918         (gst_element_provides_clock), (gst_element_is_indexable),
21919         (gst_element_is_locked_state), (gst_element_change_state),
21920         (gst_element_set_bus_func):
21921         Small cleanups.
21922
21923         * gst/gstpipeline.c: (gst_pipeline_class_init),
21924         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21925         The pipeline provides a bus.
21926
21927 2005-09-28  Johan Dahlin  <johan@gnome.org>
21928
21929         * gst/gstmessage.c (gst_message_parse_state_changed): Use
21930         gst_structure_get_enum instead of gst_structure_get_int
21931
21932         * gst/gststructure.c (gst_structure_get_enum): Impl.
21933
21934         * gst/gststructure.h (gst_structure_get_enum): Add
21935
21936         * docs/gst/gstreamer-sections.txt: Ditto
21937
21938         * gst/gstmessage.c (gst_message_new_state_changed): Use
21939         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21940         which does introspection.
21941         Reviewed by Christian Schaller
21942
21943 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21944
21945         * gst/gstinfo.c: (gst_debug_log_default):
21946           don't do dummy g_strdup()s
21947         * libs/gst/controller/gstcontroller.c:
21948         (on_object_controlled_property_changed),
21949         (gst_controlled_property_new), (gst_controller_new_valist),
21950         (gst_controller_new_list),
21951         (gst_controller_remove_properties_valist), (gst_controller_set),
21952         (gst_controller_get), (gst_controller_sync_values),
21953         (gst_controller_get_value_array), (_gst_controller_class_init),
21954         (gst_controller_get_type):
21955         * libs/gst/controller/gstcontroller.h:
21956         * libs/gst/controller/gstinterpolation.c:
21957         (gst_controlled_property_find_timed_value_node):
21958           convert // to /**/ comments
21959
21960 2005-09-28  Wim Taymans  <wim@fluendo.com>
21961
21962         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21963         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21964         (gst_bus_sync_signal_handler):
21965         * gst/gstbus.h:
21966         Added async-message and sync-message signals to the bus.
21967         Added helper BusFunc to emit signals for all posted messages.
21968
21969         * gst/gstmessage.c: (gst_message_type_get_name),
21970         (gst_message_type_to_quark), (gst_message_get_type):
21971         * gst/gstmessage.h:
21972         Register quarks for message names.
21973
21974 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21975
21976         * docs/libs/gstreamer-libs-sections.txt:
21977         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
21978         (gst_controller_new_list):
21979         * libs/gst/controller/gstcontroller.h:
21980           added another constructor for language bindings
21981
21982 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21983
21984         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21985           add another check
21986         * gst/gstbus.c:
21987           add some doc
21988         * gst/gstinfo.c: (_gst_debug_init):
21989           slightly more readable color for refcount debugging
21990
21991 2005-09-28  Wim Taymans  <wim@fluendo.com>
21992
21993         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21994         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21995         (find_element), (gst_bin_sort_iterator_next),
21996         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21997         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21998         (gst_bin_change_state), (gst_bin_dispose):
21999         Small doc fixes. get_clock -> provide_clock.
22000
22001         * gst/gstelement.c: (gst_element_class_init),
22002         (gst_element_provides_clock), (gst_element_provide_clock),
22003         (gst_element_get_clock), (gst_element_commit_state),
22004         (gst_element_lost_state):
22005         * gst/gstelement.h:
22006         Make get/set_clock() symetric. Add provide_clock vmethod since
22007         that is actually what this function does.
22008
22009         * gst/gstpipeline.c: (gst_pipeline_class_init),
22010         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22011         (gst_pipeline_get_clock):
22012         get_clock -> provide_clock.
22013
22014 2005-09-28  Andy Wingo  <wingo@pobox.com>
22015
22016         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22017         lieu of real docs...
22018
22019         * gst/elements/gstfdsrc.c: Cleaned up a bit.
22020
22021 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
22022
22023         * gst/elements/gstcapsfilter.c:
22024         * gst/elements/gstfakesink.c:
22025         * gst/elements/gstfakesrc.c:
22026         * gst/elements/gstfdsink.c:
22027         * gst/elements/gstfdsrc.c:
22028         * gst/elements/gstfilesink.c:
22029         * gst/elements/gstfilesrc.c:
22030         * gst/elements/gstidentity.c:
22031         * gst/elements/gsttee.c:
22032         * gst/elements/gsttypefindelement.c:
22033           Make element details static.
22034
22035 2005-09-28  Wim Taymans  <wim@fluendo.com>
22036
22037         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22038         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22039         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22040         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22041         (gst_bin_change_state), (gst_bin_dispose):
22042         Some documentation updates.
22043         Clean up dispose handlers.
22044
22045         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22046         * gst/gstpad.c: (gst_pad_dispose):
22047         Clean up dispose handler.
22048
22049         * gst/gstpipeline.c: (gst_pipeline_change_state):
22050         Removed spurious UNLOCK.
22051
22052 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
22053
22054         * docs/gst/gstreamer-sections.txt:
22055         * gst/base/gstbasesrc.h:
22056         * gst/gstelement.h:
22057         * gst/gstevent.h:
22058         * gst/gstobject.h:
22059         * gst/gstpad.h:
22060         * gst/gstpipeline.c:
22061         * gst/gstpipeline.h:
22062         * gst/gstutils.h:
22063         * gst/gstxml.h:
22064           added two new functions to the docs
22065                 documents all undocumented GstXXXFlags
22066                 completed some incomplete docs 
22067
22068 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
22069
22070         * gst/gstbin.c: (gst_bin_dispose):
22071         * gst/gstelement.c: (gst_element_dispose):
22072           remove now useless and leaky resurrection code in dispose
22073         * gst/base/gstbasesrc.c: (gst_base_src_init):
22074         * gst/gstelementfactory.c: (gst_element_factory_create):
22075         * gst/gstobject.c: (gst_object_set_parent):
22076           add some debugging
22077
22078 2005-09-27  Wim Taymans  <wim@fluendo.com>
22079
22080         * docs/design/part-TODO.txt:
22081         Update TODO.
22082
22083         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22084         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22085         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22086         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22087         (gst_bin_change_state):
22088         * gst/gstelement.h:
22089         Remove element variable, we keep element info in the iterator now.
22090
22091 2005-09-27  Andy Wingo  <wingo@pobox.com>
22092
22093         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22094         values.
22095
22096 2005-09-27  Wim Taymans  <wim@fluendo.com>
22097
22098         * check/gst/gstbin.c: (GST_START_TEST):
22099         Enable check that works now.
22100
22101         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22102         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22103         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22104         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22105         (gst_bin_change_state):
22106         * gst/gstbin.h:
22107         Redid the state change algorithm using a topological sort algo.
22108         Handles all cases correctly.
22109         Exposed iterator for state change order.
22110
22111         * gst/gstelement.h:
22112         Temp storage for state changes. Need to get rid of this soon.
22113
22114 2005-09-27  Wim Taymans  <wim@fluendo.com>
22115
22116         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22117         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22118         (link_fold_func), (gst_pad_proxy_setcaps):
22119         Leak fixes, the fold functions need to unref the passed object and
22120         _get_parent_*() returns ref to parent.
22121
22122 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22123
22124         * check/gst/gstbuffer.c: (test_make_writable):
22125           Plug leak in test case and fix 'make check-valgrind'
22126
22127 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22128
22129         * gst/gstbuffer.c: (gst_subbuffer_init):
22130           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22131           works correctly in all circumstances (we could have just copied
22132           the parent buffer's readonly flag, but conceptually it seems
22133           cleaner to mark all subbuffers as read-only). (based on patch
22134           by Alessandro Decina, #314710).
22135         
22136         * check/gst/gstbuffer.c: (create_read_only_buffer),
22137         (test_make_writable), (test_subbuffer_make_writable),
22138         (gst_test_suite):
22139           Add some tests for gst_buffer_make_writable().
22140
22141 2005-09-27  Wim Taymans  <wim@fluendo.com>
22142
22143         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22144         use gst_object_has_ancestor().
22145
22146         * gst/gstobject.c: (gst_object_has_ancestor):
22147         * gst/gstobject.h:
22148         gst_object_has_ancestor() copied from gstbin.c as it is a
22149         useful function.
22150
22151         * tests/instantiate/create.c: (create_all_elements):
22152         * tests/lat.c: (handoff_src), (handoff_sink):
22153         * tests/sched/runxml.c: (main):
22154         * tests/seeking/seeking1.c: (main):
22155         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22156         (main):
22157         Fix compilation of some tests.
22158
22159 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22160
22161         * gst/gsterror.h:
22162           Remove comment. GST_TYPE_G_ERROR is here to stay,
22163           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22164           (#316961, #300610).
22165
22166 2005-09-26  Wim Taymans  <wim@fluendo.com>
22167
22168         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22169         Added check that shows error in state change order.
22170
22171 2005-09-26  Wim Taymans  <wim@fluendo.com>
22172
22173         * gst/gstbin.c: (gst_bin_change_state):
22174         Make state change function use 3 queues again, we were
22175         adding elements in the wrong order.
22176
22177         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22178         Some debug info,
22179
22180         * gst/gstpad.c: (gst_pad_dispose):
22181         Added some debug info first.
22182
22183 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22184
22185         * docs/design/draft-push-pull.txt:
22186         * docs/design/part-events.txt:
22187         * docs/design/part-overview.txt:
22188         * docs/design/part-scheduling.txt:
22189           Replace all _pull_region() with _pull_range()
22190           
22191 2005-09-26  Andy Wingo  <wingo@pobox.com>
22192
22193         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22194
22195         * check/gst-libs/controller.c: Update for controller api change.
22196
22197         * configure.ac: 
22198         * tests/Makefile.am:
22199         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22200         over by GLib bug 118439.
22201         
22202         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22203         routines to a function.
22204
22205         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22206
22207         * libs/gst/controller/gsthelper.c:
22208         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22209         (gst_object_sync_values): Renamed from sink_values. Ugh.
22210
22211         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22212
22213         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22214         Renamed from controller_key, as it is exported.
22215
22216         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22217
22218 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22219
22220         * gst/Makefile.am:
22221         * gst/gst.h:
22222         * gst/gstpad.h:
22223         * gst/gstpadtemplate.h:
22224         * gst/gstquery.c:
22225         * gst/gstquery.h:
22226         * gst/gstqueryutils.c:
22227         * gst/gstqueryutils.h:
22228           remove queryutils headers after moving the two used functions
22229           to gstquery.  also fixes build problem for gstsiddec
22230
22231 2005-09-26  Michael Smith <msmith@fluendo.com>
22232
22233         * tools/gst-launch.1.in:
22234         Correct documentation in manpage of debug syntax
22235
22236 2005-09-26  Wim Taymans  <wim@fluendo.com>
22237
22238         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22239         (gst_base_src_is_seekable), (gst_base_src_change_state):
22240         Some more debugging info.
22241
22242 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22243
22244         * docs/gst/gstreamer-sections.txt:
22245         * gst/base/gstbasetransform.h:
22246         * gst/gstindex.h:
22247           added more docs
22248
22249 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22250
22251         * docs/gst/.cvsignore:
22252         * docs/gst/tmpl/.cvsignore:
22253         * docs/gst/tmpl/gstpipeline.sgml:
22254         * docs/gst/tmpl/gstplugin.sgml:
22255         * gst/gstpipeline.c:
22256         * gst/gstplugin.c:
22257         * gst/gstplugin.h:
22258           inlined the last two docs files
22259           removed the tmpl directory from cvs (no more conflicts here!)
22260
22261 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22262
22263         * docs/gst/gstreamer-sections.txt:
22264         * docs/gst/tmpl/.cvsignore:
22265         * docs/gst/tmpl/gstpad.sgml:
22266         * docs/gst/tmpl/gstpadtemplate.sgml:
22267         * gst/Makefile.am:
22268         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22269         (gst_pad_finalize), (gst_pad_set_pad_template):
22270         * gst/gstpad.h:
22271         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22272         (gst_pad_template_class_init), (gst_pad_template_init),
22273         (gst_pad_template_dispose), (name_is_valid),
22274         (gst_static_pad_template_get), (gst_pad_template_new),
22275         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22276         (gst_pad_template_pad_created):
22277         * gst/gstpadtemplate.h:
22278           inlined two more docs
22279           factored gstpadtemplate out of gstpad
22280
22281 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22282
22283         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22284         (test_children_state_change_order_semi_sink):
22285           Fix test case: we can't rely on a fixed state change order when
22286           going from READY => PAUSED because the sink might commit its 
22287           new state first when the first buffer created by the source 
22288           reaches the sink before the source has finished its change state.
22289           (Test case still fails at times, see #316856, comment 5 onwards)
22290
22291 2005-09-24  Wim Taymans  <wim@fluendo.com>
22292
22293         * docs/design/part-events.txt:
22294         * docs/design/part-gstbus.txt:
22295         * docs/design/part-gstpipeline.txt:
22296         * docs/design/part-messages.txt:
22297         * docs/design/part-overview.txt:
22298         * docs/design/part-segments.txt:
22299         * gst/gstbin.c:
22300         * gst/gstbuffer.c:
22301         * gst/gstclock.c:
22302         * gst/gstelement.c:
22303         * gst/gstevent.c:
22304         * gst/gstfilter.c:
22305         * gst/gstiterator.c:
22306         Various documentation updates.
22307
22308 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22309
22310         * gst/gstclock.h:
22311           Well, that's embarassing.  Luckily we weren't using
22312           GST_CLOCK_DIFF anywhere.
22313
22314 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22315
22316         * common/gtk-doc.mak:
22317           don't fail on building XML, FC4 slave shows a bunch of doc
22318           missing bits that I don't get
22319         * gst/gstpad.c:
22320         * gst/gstpipeline.c:
22321         * gst/gststructure.c:
22322           some doc updates
22323
22324 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22325
22326         * docs/design/part-gstbin.txt:
22327         * docs/design/part-gstbus.txt:
22328         * gst/gstbus.c:
22329           Add blurb about how the bus goes into flushing mode and
22330           drops all messages when its bin goes from READY into NULL 
22331           state.
22332
22333 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22334
22335         * docs/gst/gstreamer-sections.txt:
22336         * gst/gststructure.c: (gst_structure_get_clock_time):
22337         * gst/gststructure.h:
22338           add a method to get a GstClockTime out of a structure
22339
22340 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22341
22342         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22343         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22344           Added test to check state change order in bins (can still be made
22345           to fail here under heavy disk load; bails out with 'Push on pad
22346           fakesink:sink0, but it was not activated in push mode').
22347
22348         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22349           Fix state change order when there is only a semi sink (#316856)
22350
22351         * gst/gstbus.c: (gst_bus_class_init):
22352           Use _class_peek_parent(), not _class_ref(); fix docs to say
22353           'default main context' instead of 'mainloop' where that is
22354           what's meant.
22355
22356         * gst/gstelement.c: (gst_element_commit_state),
22357         (gst_element_set_state):
22358           Fix typos in debug messages
22359
22360 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22361
22362         * docs/README:
22363         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22364         * gst/gstpluginfeature.c:
22365         * gst/gstutils.c:
22366           various doc updates
22367         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22368           change an assert into an error until it gets fixed properly
22369
22370 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22371
22372         * docs/gst/gstreamer-sections.txt:
22373         * docs/gst/tmpl/.cvsignore:
22374         * docs/gst/tmpl/gstelement.sgml:
22375         * docs/gst/tmpl/gstinfo.sgml:
22376         * docs/gst/tmpl/gstobject.sgml:
22377         * gst/gstelement.c:
22378         * gst/gstelement.h:
22379         * gst/gstinfo.c:
22380         * gst/gstinfo.h:
22381         * gst/gstobject.c: (gst_object_class_init):
22382         * gst/gstobject.h:
22383           inlined 3 more biiiig doc files and added some missing docs on the fly
22384
22385 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22386
22387         * check/gst/.cvsignore:
22388         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22389         * gst/gstregistryxml.c: (load_plugin),
22390         (gst_registry_xml_save_plugin):
22391           put back source in registry.  add checks for find_plugin.
22392         * testsuite/states/bin.c: (assert_state), (empty_bin),
22393         (test_adding_one_element), (main):
22394         * testsuite/states/locked.c: (main):
22395           some compile/run fixes
22396
22397 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22398
22399         * check/gst/gstvalue.c: (GST_START_TEST):
22400           fix leaks in the test itself
22401
22402 2005-09-22  Wim Taymans  <wim@fluendo.com>
22403
22404         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22405         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22406         (gst_base_sink_query):
22407         Prepare for more accurate position reporting and query
22408         handling.
22409
22410         * gst/gstelement.c: (gst_element_send_event),
22411         (gst_element_set_state):
22412         Add some comment.
22413
22414 2005-09-22  Wim Taymans  <wim@fluendo.com>
22415
22416         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22417         (gst_query_parse_segment):
22418         * gst/gstquery.h:
22419         More documentation.
22420         Add segment query for future use.
22421
22422 2005-09-22  Wim Taymans  <wim@fluendo.com>
22423
22424         * gst/gstbin.c: (gst_bin_add_func):
22425         Some more debug info.
22426
22427         * gst/gstelement.c: (gst_element_send_event):
22428         Simplify send_event
22429
22430         * gst/gstelement.h:
22431         Don't know how flags got broken.
22432
22433         * gst/gstquery.h:
22434         Added new query.
22435
22436 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22437
22438         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22439           Add simplistic test suite for GST_TYPE_DATE serialisation and
22440           deserialisation.
22441
22442 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22443
22444         * docs/gst/gstreamer-sections.txt:
22445         * gst/gststructure.c: (gst_structure_set_valist),
22446         (gst_structure_get_date):
22447         * gst/gststructure.h:
22448         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22449         (gst_date_copy), (gst_value_compare_date),
22450         (gst_value_serialize_date), (gst_value_deserialize_date),
22451         (gst_value_transform_date_string),
22452         (gst_value_transform_string_date), (_gst_value_initialize):
22453         * gst/gstvalue.h:
22454           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22455           bunch of utility functions along with a hack that checks that
22456           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22457           is required. Part of the grand scheme in #170777.
22458
22459 2005-09-22  Andy Wingo  <wingo@pobox.com>
22460
22461         * gst/gstconfig.h.in: Psych out gtk-doc.
22462
22463         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22464
22465         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22466
22467         * tools/gst-inspect.c (print_element_list): Plug some
22468         inconsequential leaks.
22469
22470         * gst/gstregistry.c (gst_registry_get_default): Doc.
22471
22472         * check/gst/gstplugin.c: 
22473         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22474         * gst/gstelementfactory.c (gst_element_factory_create): 
22475         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22476         refcount changes.
22477
22478         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22479         (gst_plugin_feature_load): Doc, don't eat refs.
22480
22481         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22482         (gst_plugin_list_free): Doc.
22483         (gst_plugin_load_file): Doc updates.
22484
22485         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22486         accessors returning refcounted objects, return a ref.
22487
22488         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22489         accessor for caps. IDEMPOTENCE. Oh yes.
22490
22491 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22492
22493         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22494
22495         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22496         (_gst_debug_register_funcptr):
22497           Add mutex to serialise access to the hash table with
22498           the function pointer => function name string mapping;
22499           make that hash table static scope (#316809).
22500
22501         * gst/registries/.cvsignore:
22502           Remove left-over file.
22503
22504 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22505
22506         * docs/pwg/appendix-porting.xml:
22507           And something about newsegment events and caps-on-buffers to
22508           the porting guide (feel free to improve).
22509
22510 2005-09-21  Andy Wingo  <wingo@pobox.com>
22511
22512         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22513         data and event probes on the same pad.
22514         (test_buffer_probe_once): Test that removing probes from within
22515         the probe functions works.
22516
22517 2005-09-21  Andy Wingo  <wingo@pobox.com>
22518
22519         * check/gst/gstutils.c: New file.
22520         (test_buffer_probe_n_times): A simple buffer probe test. More to
22521         come, foolios.
22522
22523         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22524         have-data::buffer, not have-data.
22525         (gst_pad_add_event_probe): Likewise for have-data::event.
22526         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22527         peer' isn't quite right yet though.
22528         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22529         (gst_pad_remove_data_probe): Change to take the guint handler_id
22530         as their arg, not the function+data, which is more glib-like.
22531
22532         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22533         the signal emission to indicate if the data is a buffer or an
22534         event.
22535         (gst_pad_get_type): Initialize buffer and event quarks.
22536         (gst_pad_class_init): have-data is now a detailed signal, yes it
22537         is.
22538
22539 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22540
22541         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22542         * gst/gstutils.c: (gst_util_set_value_from_string),
22543         (gst_util_set_object_arg):
22544           Don't put functional code in g_return_if_fail() or
22545           g_return_val_if_fail() statements, otherwise things will 
22546           break when G_DISABLE_CHECKS is defined during compilation.
22547
22548 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22549
22550         * docs/gst/tmpl/.cvsignore:
22551         * docs/gst/tmpl/gstvalue.sgml:
22552         * gst/gstvalue.c:
22553         * gst/gstvalue.h:
22554           inlied another one and added  some obvious docs
22555
22556 2005-09-21  Wim Taymans  <wim@fluendo.com>
22557
22558         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22559         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22560         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22561         (gst_fdsrc_get_property), (gst_fdsrc_create):
22562         * gst/elements/gstfdsrc.h:
22563         Properly implement fdsrc. Removed signal and timeout,
22564         better implemented somewhere else.
22565
22566 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22567
22568         * docs/gst/tmpl/.cvsignore:
22569         * docs/gst/tmpl/gstimplementsinterface.sgml:
22570         * gst/gstinterface.c:
22571           inlined more docs
22572
22573 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22574
22575         * docs/gst/gstreamer-sections.txt:
22576         * docs/gst/tmpl/.cvsignore:
22577         * docs/gst/tmpl/gstenumtypes.sgml:
22578           remove obsolete doc file
22579
22580 2005-09-21  David Schleef  <ds@schleef.org>
22581
22582         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22583         little beer, fix a little leak.
22584
22585 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22586
22587         * docs/gst/gstreamer-docs.sgml:
22588         * docs/gst/gstreamer-sections.txt:
22589         * docs/gst/tmpl/.cvsignore:
22590         * gst/Makefile.am:
22591         * gst/gst.h:
22592         * gst/gstbin.c:
22593         * gst/gstelement.h:
22594         * gst/gstindex.c: (gst_index_class_init):
22595         * gst/gstindex.h:
22596         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22597         (gst_index_factory_class_init), (gst_index_factory_init),
22598         (gst_index_factory_finalize), (gst_index_factory_new),
22599         (gst_index_factory_destroy), (gst_index_factory_find),
22600         (gst_index_factory_create), (gst_index_factory_make):
22601         * gst/gstindexfactory.h:
22602         * gst/gstpluginfeature.c:
22603         * gst/gstpluginfeature.h:
22604         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22605           more docs inlined, splitted gstindex.{c,h}
22606
22607 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22608
22609         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22610           fix a leak
22611
22612 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22613
22614         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22615           Set sync to FALSE by default.
22616
22617 2005-09-20  Wim Taymans  <wim@fluendo.com>
22618
22619         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22620         (gst_base_sink_init):
22621         Make sync property settable from subclass.
22622
22623         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22624         (gst_fake_sink_change_state):
22625         Set sync to FALSE by default.
22626
22627 2005-09-20  Wim Taymans  <wim@fluendo.com>
22628
22629         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22630         * tools/gst-launch.c: (main):
22631         The timeout handler should have lower priority than the source
22632         so we don't timeout before popping a message with 0 timeout.
22633         Dump error messages after failed state change.
22634
22635 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22636
22637         * tools/gst-inspect.c: (print_element_properties_info):
22638           Fix two typos.
22639
22640 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22641
22642         * check/gst/gstevent.c:
22643         * gst/elements/gstfakesink.c:
22644         * gst/elements/gstfakesink.h:
22645           remove the sync property from fakesink.
22646           has the side effect of setting sync TRUE
22647           for fakesink, which is a change.  Anyone who knows how
22648           to fix this nicely in a GObject-y way, feel free.
22649
22650 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22651
22652         * docs/gst/gstreamer-docs.sgml:
22653           remove probe refsection
22654
22655 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22656
22657         * check/Makefile.am:
22658           disable valgrinding the controller test again
22659         * docs/gst/gstreamer-sections.txt:
22660           update for api-changes
22661
22662 2005-09-20  Wim Taymans  <wim@fluendo.com>
22663
22664         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22665         (gst_base_sink_set_property), (gst_base_sink_get_property),
22666         (gst_base_sink_do_sync):
22667         * gst/base/gstbasesink.h:
22668         Added sync property to basesink to disable clock sync.
22669
22670 2005-09-20  Andy Wingo  <wingo@pobox.com>
22671
22672         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22673         eating the caller's refcount.
22674
22675         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
22676         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22677         refcount.
22678
22679         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22680         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22681         of GLib 2.8 public, so we can know which refcount to check in
22682         tests.
22683
22684         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22685         (gst_object_init): Only set the gst refcount if we're going ahead
22686         with the refcount hack.
22687
22688 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22689
22690         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22691         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22692           more leaks plumbed, added more debug-logging
22693         * gst/gstmacros.h:
22694           whitespace fix
22695
22696 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22697
22698         * gst/gstmessage.c:
22699           remove include of gstmemchunk.h
22700
22701 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22702
22703         * gst/gstclock.c: (_gst_clock_id_free):
22704           Commit from the Political Party For More Atomic CVS Commits,
22705           so that people don't waste too much of their day fishing
22706           out obvious leaks out of massive commits.
22707           Oh, and fix a pretty damn obvious leak in the memchunk
22708           removal code.
22709
22710 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22711
22712         * check/Makefile.am:
22713         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22714           plug mem-leak, re-add to valgrindable tests
22715
22716 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22717
22718         * gst/gstplugin.h:
22719           unbreak the build for those who have chronic arthritis
22720           and typing "make check" is just too taxing on the hands
22721
22722 2005-09-20  Andy Wingo  <wingo@pobox.com>
22723
22724         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22725         really want it out, you should fix plugins at the same time.
22726
22727 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
22728
22729         * configure.ac:
22730         * docs/gst/gstreamer-sections.txt:
22731         * gst/gstobject.c:
22732           added missing symbols to api docs
22733           disable ref-count hack if we have glib >= 2.8
22734
22735 2005-09-19  David Schleef  <ds@schleef.org>
22736
22737         * docs/gst/Makefile.am: Ignore a few more internal headers
22738         * docs/gst/gstreamer-docs.sgml: Remove old sections
22739         * docs/gst/gstreamer-sections.txt: Remove old sections
22740         * docs/gst/tmpl/gstobject.sgml: update
22741         * docs/gst/tmpl/gstplugin.sgml: update
22742         * docs/gst/tmpl/gstpluginfeature.sgml: update
22743         * docs/random/ds/0.9-suggested-changes: update.
22744         * gst/Makefile.am: remove memchunk and trashstack, since they're
22745           not used.
22746         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22747         * gst/gst.h: don't include some headers
22748         * gst/gstchildproxy.c: add gstmarshal.h
22749         * gst/gstclock.c: Don't use memchunks
22750         * gst/gstminiobject.c: Add some docs
22751         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22752         * gst/gstobject.h: same
22753         * gst/gstplugin.c: include gstmacros.h
22754         * gst/gstplugin.h: don't include gstmacros.h, since it's private
22755         * gst/gstquery.c: don't use memchunks
22756         * gst/gstregistry.c: rename gst_registry_deinit()
22757         * gst/gstregistry.h: same
22758
22759 2005-09-19  David Schleef  <ds@schleef.org>
22760
22761         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22762         * docs/libs/gstreamer-libs-sections.txt:
22763         * docs/libs/tmpl/gstgetbits.sgml:
22764         * docs/libs/tmpl/gstputbits.sgml:
22765
22766 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
22767
22768         * win32/gstenumtypes.c:
22769         * win32/gstenumtypes.h:
22770           Update.
22771
22772 2005-09-19  Wim Taymans  <wim@fluendo.com>
22773
22774         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22775         Automatically PAUSE and RESUME a pipeline when a flushing seek
22776         is performed.
22777
22778 2005-09-19  Andy Wingo  <wingo@pobox.com>
22779
22780         * gst/gstregistry.h: Spacing fixen.
22781
22782 2005-09-19  Wim Taymans  <wim@fluendo.com>
22783
22784         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22785         Handle state change failure more correctly.
22786
22787 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22788
22789         * check/Makefile.am:
22790         * check/pipelines/cleanup.c: (run_pipeline):
22791         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22792         (GST_START_TEST):
22793           enable cleanup again after fixing the leak
22794         * docs/README:
22795           some more info on docs
22796
22797 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22798
22799         * check/Makefile.am:
22800           re-enable tests now that leaks are plugged
22801         * check/gst/gst.c:
22802         * check/gst/gstbin.c:
22803         * check/gst/gstpipeline.c:
22804           add some more tests while fixing leaks
22805         * common/check.mak:
22806           make sure binaries are uptodate when valgrinding/gdbing
22807         * gst/gst.c:
22808         * gst/gstelementfactory.c:
22809           remove a ref too many, and add a FIXME for when we get
22810           round to disposing of classes
22811         * gst/gstplugin.c:
22812           fix the refcounting when loading a plugin from a file and
22813           the code pretends that the pointer is the same even though
22814           of course it can change
22815         * gst/gstpluginfeature.c:
22816           unref plugins marked cached (a bit confusing as a name)
22817           as the docs state should be done
22818           various doc additions to explain refcounting
22819         * gst/gstregistry.c:
22820         * gst/gstregistryxml.c:
22821           debugging
22822
22823 2005-09-19  Wim Taymans  <wim@fluendo.com>
22824
22825         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22826         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22827         (send_messages), (GST_START_TEST), (gstbus_suite):
22828         * check/gst/gstpipeline.c: (GST_START_TEST):
22829         * check/pipelines/cleanup.c: (run_pipeline):
22830         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22831         (GST_START_TEST):
22832         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22833         (gst_bus_source_check), (gst_bus_source_dispatch),
22834         (gst_bus_create_watch), (gst_bus_add_watch_full),
22835         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22836         * gst/gstbus.h:
22837         * tools/gst-launch.c: (event_loop):
22838         * tools/gst-md5sum.c: (event_loop):
22839         GstBusHandler -> GstBusFunc, return value has the same meaning as
22840         any other GSource (FALSE == remove source).
22841         _add_watch() and _add_watch_full() now take a MessageType mask to
22842         only handle specific types of messages.
22843         _poll() returns the GstMessage instead of the message type to avoid
22844         race conditions.
22845         _have_pending() takes a MessageType mask now too.
22846         Added testsuite for multiple bus watches.
22847         Fix testsuites and applications for new bus API.
22848
22849 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22850
22851         * check/Makefile.am:
22852           mark a bunch of the tests as to fix until we fix them
22853
22854 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22855
22856         * common/check.mak:
22857           use GST_PLUGIN settings for valgrind tests as well, so we're
22858           valgrinding the correct thing
22859         * gst/gst.c: (init_post):
22860           plug another leak
22861
22862 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22863
22864         * gst/gst.c: (init_post), (gst_deinit):
22865         * gst/gstelementfactory.c: (gst_element_factory_class_init),
22866         (gst_element_factory_finalize), (gst_element_factory_cleanup):
22867         * gst/gstindex.c: (gst_index_factory_class_init),
22868         (gst_index_factory_finalize):
22869         * gst/gstobject.c: (gst_object_dispose):
22870         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22871         (gst_plugin_load_file), (gst_plugin_desc_free):
22872         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22873         (gst_plugin_feature_finalize):
22874         * gst/gstregistry.c: (gst_registry_class_init),
22875         (gst_registry_init), (gst_registry_finalize),
22876         (gst_registry_get_default), (gst_registry_deinit):
22877         * gst/gstregistry.h:
22878         * gst/gstregistryxml.c: (load_feature), (load_plugin):
22879           various cleanups and memleak plugging.  make valgrind is happy now.
22880
22881 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22882
22883         * common/check.mak:
22884           add a check-valgrind target
22885
22886 2005-09-18  David Schleef  <ds@schleef.org>
22887
22888         * tools/gst-inspect.c: Revert the GOption code.
22889
22890 2005-09-17  David Schleef  <ds@schleef.org>
22891
22892         * check/Makefile.am: Fix environment variables.
22893         * check/gst/gstplugin.c: Fix for API changes.
22894         * tools/gst-inspect.c: Fix for API changes.
22895         * tools/gst-xmlinspect.c: Fix for API changes.
22896         * gst/gstelementfactory.c:
22897         * gst/gstplugin.c:
22898         * gst/gstplugin.h:
22899         * gst/gstpluginfeature.c:
22900         * gst/gstpluginfeature.h:
22901         * gst/gstregistry.c:
22902         * gst/gstregistry.h:
22903         * gst/gstregistryxml.c:
22904         * gst/gsttypefind.c:
22905         * gst/gsttypefindfactory.c:
22906         * gst/indexers/gstfileindex.c:
22907         * gst/indexers/gstmemindex.c:
22908         * gst/schedulers/Makefile.am:
22909           Change registry to keep track of both plugins and features,
22910           removing the feature tracking from plugins themselves.
22911
22912 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22913
22914         * check/Makefile.am:
22915         * tools/gst-register.1.in:
22916           remove gst-register
22917
22918 2005-09-15  David Schleef  <ds@schleef.org>
22919
22920         * check/gst/gstplugin.c:
22921         * gst/gstelementfactory.c:
22922         * gst/gstplugin.c:
22923         * gst/gstpluginfeature.c:
22924         * gst/gstregistry.c:
22925           Getting tired of debugging.  Disabled all the unreffing of
22926           plugins and features, which fixes the segfaults, but of
22927           course leaks like crazy.  At least playbin works.
22928
22929 2005-09-15  David Schleef  <ds@schleef.org>
22930
22931         * check/gst/gstplugin.c: (register_check_elements),
22932         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22933         More testing
22934         * gst/elements/gsttypefindelement.c: Fix refcounting.
22935         * gst/gsttypefind.c:
22936         * gst/gsttypefindfactory.c:
22937         * gst/gsttypefindfactory.h:
22938
22939 2005-09-15  David Schleef  <ds@schleef.org>
22940
22941         * gst/gstindex.c: get refcounting correct.
22942         * gst/gstregistry.c: Handle the case where a feature/plugin is
22943           not found.
22944
22945 2005-09-15  David Schleef  <ds@schleef.org>
22946
22947         * check/Makefile.am:
22948         * check/gst/gstplugin.c: Add test
22949         * gst/gstplugin.c: Fix problems noticed by testsuite
22950         * gst/gstplugin.h:
22951         * gst/gstregistry.c: 
22952         * gst/gstregistry.h:
22953
22954 2005-09-15  David Schleef  <ds@schleef.org>
22955
22956         * gst/gstplugin.c: Implement semi-decent recounting and locking
22957           in plugins and plugin features.
22958         * gst/gstplugin.h:
22959         * gst/gstpluginfeature.c:
22960         * gst/gstpluginfeature.h:
22961         * gst/gstregistry.c:
22962
22963 2005-09-15  Michael Smith <msmith@fluendo.com>
22964
22965         * gst/gstregistry.c: (gst_registry_get_feature_list):
22966           Implement this. Makes oggdemux work; decodebin still broken.
22967
22968 2005-09-14  David Schleef  <ds@schleef.org>
22969
22970         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
22971           #316076)
22972         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
22973         * gst/check/Makefile.am:
22974         * libs/gst/controller/Makefile.am:
22975         * libs/gst/dataprotocol/Makefile.am:
22976
22977 2005-09-14  David Schleef  <ds@schleef.org>
22978
22979         * configure.ac: Remove getbits library.  Nothing uses it, and
22980           it should be in something like liboil if someone did want
22981           to use it.
22982         * libs/gst/Makefile.am:
22983         * libs/gst/getbits/Makefile.am:
22984         * libs/gst/getbits/gbtest.c:
22985         * libs/gst/getbits/getbits.c:
22986         * libs/gst/getbits/getbits.h:
22987         * libs/gst/getbits/gstgetbits_generic.c:
22988         * libs/gst/getbits/gstgetbits_i386.s:
22989         * libs/gst/getbits/gstgetbits_inl.h:
22990
22991 2005-09-14  David Schleef  <ds@schleef.org>
22992
22993         * gst/Makefile.am: Dist glib-compat.h
22994
22995 2005-09-14  David Schleef  <ds@schleef.org>
22996
22997         * configure.ac: Remove gst/registries, since it's no longer used.
22998         * gst/registries/Makefile.am:
22999         * gst/registries/gstlibxmlregistry.c:
23000         * gst/registries/gstlibxmlregistry.h:
23001         * gst/registries/gstxmlregistry.c:
23002         * gst/registries/gstxmlregistry.h:
23003         * gst/registries/registrytest.c:
23004
23005 2005-09-14  David Schleef  <ds@schleef.org>
23006
23007         * gst/glib-compat.h:
23008         * gst/gstregistryxml.c:
23009           Convergence is near.  Seriously.
23010
23011 2005-09-14  David Schleef  <ds@schleef.org>
23012
23013         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23014         * gst/glib-compat.h:
23015           Attempt #4 to appease the buildbots.
23016
23017 2005-09-14  David Schleef  <ds@schleef.org>
23018
23019         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23020           Attempt #3.
23021
23022 2005-09-14  David Schleef  <ds@schleef.org>
23023
23024         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23025         Attempt #2.
23026
23027 2005-09-14  David Schleef  <ds@schleef.org>
23028
23029         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23030           the new functions.
23031
23032 2005-09-14  David Schleef  <ds@schleef.org>
23033
23034         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23035         * gst/glib-compat.h: Add some functions that are in newer versions
23036           of glib than we care to require.
23037         * gst/gstregistryxml.c: Use them.
23038
23039 2005-09-14  David Schleef  <ds@schleef.org>
23040
23041         * po/POTFILES.in: remove gst-register.c
23042
23043 2005-09-14  David Schleef  <ds@schleef.org>
23044
23045         * docs/gst/gstreamer-docs.sgml:
23046         * docs/gst/gstreamer-sections.txt:
23047         * docs/gst/gstreamer.types:
23048         * docs/gst/tmpl/gstelement.sgml:
23049         * docs/gst/tmpl/gstplugin.sgml:
23050         * docs/gst/tmpl/gstpluginfeature.sgml:
23051           Documentation updates for registry changes.
23052
23053 2005-09-14  David Schleef  <ds@schleef.org>
23054
23055         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23056           because we don't require glib-2.8.
23057
23058 2005-09-14  David Schleef  <ds@schleef.org>
23059
23060         * gst/gstregistryxml.c: Added.  Essentially moved out of the
23061           registries directory.
23062
23063 2005-09-14  David Schleef  <ds@schleef.org>
23064
23065         * check/Makefile.am:
23066         * check/generic/states.c:
23067         * gst/Makefile.am:
23068         * gst/gst.c:
23069         * gst/gst.h:
23070         * gst/gst_private.h:
23071         * gst/gstelementfactory.c:
23072         * gst/gstindex.c:
23073         * gst/gstinfo.c:
23074         * gst/gstplugin.c:
23075         * gst/gstplugin.h:
23076         * gst/gstpluginfeature.c:
23077         * gst/gstpluginfeature.h:
23078         * gst/gstregistry.c:
23079         * gst/gstregistry.h:
23080         * gst/gstregistrypool.c: remove
23081         * gst/gstregistrypool.h: remove
23082         * gst/gsttypefind.c:
23083         * gst/gsttypefindfactory.c:
23084         * gst/gsturi.c:
23085         * tools/Makefile.am:
23086         * tools/gst-compprep.c:
23087         * tools/gst-inspect.c:
23088         * tools/gst-register.c: remove
23089         * tools/gst-xmlinspect.c:
23090           Registry rewrite.  Changes registry from being a file created
23091           by a tool into a simple cache file created automatically by 
23092           libgstreamer.  Removed gst-register (because it's no longer
23093           needed).  Remove registry pools, because we only have one
23094           registry implementation (XML).  Fix up other subsystems as
23095           necessary.
23096
23097 2005-09-13  Michael Smith <msmith@fluendo.com>
23098
23099         * gst/gstconfig.h.in:
23100           Don't Use windows linking attributes for MinGW. Fixes #316157
23101
23102 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23103
23104         * gst/gstutils.c: (set_state_async_thread_func),
23105         (gst_element_set_state_async):
23106           Apparently people think it's better if this function doesn't
23107           try to set the state to whatever state was asked for on the first
23108           call to this function for any object.  Seriously.
23109
23110 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23111
23112         * check/gst/gstpipeline.c: (GST_START_TEST):
23113         * docs/gst/gstreamer-sections.txt:
23114         * gst/gstutils.c: (set_state_async_thread_func),
23115         (gst_element_set_state_async):
23116         * gst/gstutils.h:
23117           add a "gst_element_set_state_async" method that
23118           sets the state and starts a thread to make sure the state
23119           change completes as best as it can
23120
23121 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23122
23123         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23124           codify design+behaviour in testsuite after discussion
23125
23126 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23127
23128         * docs/gst/tmpl/gstelement.sgml:
23129         * docs/manual/appendix-quotes.xml:
23130           add a quote
23131         * gst/gstelement.c: (gst_element_set_state):
23132           add some debug
23133
23134 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23135
23136         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23137         (gst_base_transform_prepare_output_buf),
23138         (gst_base_transform_handle_buffer):
23139         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23140         (gst_capsfilter_prepare_buf):
23141           Remove the requirement for sub-classes to call the parent
23142           implementation of prepare_output_buffer with a wrapper function.
23143           
23144         * gst/gsttaglist.h:
23145         * gst/gsttagsetter.h:
23146           Fix #define wrapper
23147
23148 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23149
23150         * docs/gst/gstreamer-sections.txt:
23151           more doc cleanups
23152
23153 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23154
23155         * docs/gst/gstreamer-sections.txt:
23156         * docs/gst/tmpl/gstelement.sgml:
23157         * docs/gst/tmpl/gstplugin.sgml:
23158         * gst/gstminiobject.c:
23159         * gst/gstvalue.h:
23160           docs now stop throwing warnings
23161
23162 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23163
23164         * docs/gst/gstreamer-sections.txt:
23165         * docs/gst/gstreamer.types:
23166         * docs/gst/tmpl/gstpad.sgml:
23167         * docs/gst/tmpl/gsttypes.sgml:
23168         * gst/base/gstadapter.h:
23169         * gst/base/gstbasesink.h:
23170         * gst/base/gstbasesrc.h:
23171         * gst/gstbin.h:
23172         * gst/gstbuffer.h:
23173         * gst/gstbus.h:
23174         * gst/gstcaps.h:
23175         * gst/gstclock.h:
23176         * gst/gstelement.h:
23177         * gst/gstevent.h:
23178         * gst/gstmessage.h:
23179         * gst/gstpad.h:
23180         * gst/gststructure.c:
23181         * gst/registries/gstlibxmlregistry.h:
23182           various documentation fixes
23183
23184 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23185
23186         * docs/gst/gstreamer-sections.txt:
23187         * docs/gst/tmpl/gstvalue.sgml:
23188           rearrange gstvalue section
23189         * gst/gstutils.c: (gst_element_state_get_name):
23190           NONE -> VOID
23191         * gst/gstvalue.c: (_gst_value_initialize):
23192         * gst/gstvalue.h:
23193           doc updates
23194
23195 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23196
23197         * check/gst-libs/controller.c:
23198           Header include fix.
23199         * gst/base/gstbasetransform.c:
23200         (gst_base_transform_default_prepare_buf),
23201         (gst_base_transform_handle_buffer):
23202         * gst/base/gstbasetransform.h:
23203           Some more basetransform changes and fixes to enable sub-classes
23204           that modify buffer metadata only.
23205         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23206         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23207         (gst_capsfilter_prepare_buf):
23208           If the output pad has fixed allowed caps and input buffers 
23209           don't have any, set the fixed caps on outgoing buffers.
23210
23211 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23212         * check/elements/identity.c: (GST_START_TEST):
23213           Make the error a little clearer when the test fails because
23214           identity made a copy of the buffer.
23215         * docs/gst/gstreamer-sections.txt:
23216           New symbols in gstbasetransform.h
23217         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23218         (gst_base_transform_init), (gst_base_transform_transform_size),
23219         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23220         (gst_base_transform_default_prepare_buf),
23221         (gst_base_transform_get_unit_size),
23222         (gst_base_transform_buffer_alloc),
23223         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23224         (gst_base_transform_change_state),
23225         (gst_base_transform_set_passthrough),
23226         (gst_base_transform_set_in_place),
23227         (gst_base_transform_is_in_place):
23228         * gst/base/gstbasetransform.h:
23229           Change BaseTransform to separate in_place operate from same_caps
23230           output. in_place implies that the element can perform the transform
23231           on incoming buffers in-place, even if the caps on the output are
23232           different.
23233           Sub-class elements can now implement special buffer allocation
23234           methods for outgoing buffers if they wish to.
23235           Big documentation addition.
23236         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23237         * gst/elements/gstelements.c:
23238           Changes for basetransform modifications.
23239         * gst/elements/Makefile.am:
23240         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23241           Compile fix. Extra debug output.
23242
23243 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23244
23245         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23246         (gst_pad_suite):
23247           add tests for valid pad naming
23248         * gst/check/gstcheck.c: (gst_check_log_message_func),
23249         (gst_check_log_critical_func):
23250           add ASSERT_WARNING
23251           remove printing of code, it is fragile when the code contains
23252           % and the line number is enough info
23253         * gst/check/gstcheck.h:
23254         * gst/gstpad.c: (gst_pad_template_new):
23255           fix memleaks
23256
23257 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23258
23259         * configure.ac:
23260           say what CHECK flags we use
23261         * docs/libs/gstreamer-libs.types:
23262         * libs/gst/controller/Makefile.am:
23263         * libs/gst/controller/gst-controller.c:
23264         * libs/gst/controller/gst-controller.h:
23265         * libs/gst/controller/gst-helper.c:
23266         * libs/gst/controller/gst-interpolation.c:
23267         * libs/gst/controller/gstcontroller.c:
23268         * libs/gst/controller/gsthelper.c:
23269         * libs/gst/controller/gstinterpolation.c:
23270         * tools/gst-inspect.c: (print_plugin_info):
23271           we don't use dashes in header names
23272
23273 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23274
23275         * check/Makefile.am:
23276         * check/gst/.cvsignore:
23277         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23278         (gst_pipeline_suite), (main):
23279           adding a test for pipelines and state changes
23280         * gst/gstutils.c: (get_state_func):
23281           add some debugging
23282         * gstreamer.spec.in:
23283           fix up spec file
23284
23285 2005-09-08  Michael Smith <msmith@fluendo.com>
23286
23287         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23288         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23289         (gst_file_src_is_seekable), (gst_file_src_get_size),
23290         (gst_file_src_start):
23291         * gst/elements/gstfilesrc.h:
23292           Various fixes for unseekable, unmmapable, and non-normal files, so
23293           that fallback to read() rather than mmap() works.
23294         * gst/gstevent.c: (gst_event_new_newsegment):
23295           Allow newsegment events with segment_start == segment_end, as will
23296           correctly happen if you use filesrc on a zero-size file, for
23297           example.
23298
23299 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23300
23301         * gst/gstplugin.c: (gst_plugin_load_file):
23302           Call g_module_close when we don't load the module
23303
23304         * gst/registries/gstlibxmlregistry.c:
23305         (gst_xml_registry_get_property):
23306           Port leak fix from 0.8
23307
23308 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23309
23310         * docs/gst/gstreamer-docs.sgml:
23311         * docs/gst/tmpl/.cvsignore:
23312         * docs/gst/tmpl/gsttrace.sgml:
23313         * docs/gst/tmpl/gsttrashstack.sgml:
23314         * gst/Makefile.am:
23315         * gst/gst.h:
23316         * gst/gstelement.h:
23317         * gst/gstevent.h:
23318         * gst/gstmessage.c:
23319         * gst/gstmessage.h:
23320         * gst/gsttag.c:
23321         * gst/gsttag.h:
23322         * gst/gsttaginterface.c:
23323         * gst/gsttaginterface.h:
23324         * gst/gsttaglist.c:
23325         * gst/gsttaglist.h:
23326         * gst/gsttagsetter.c:
23327         * gst/gsttagsetter.h:
23328         * gst/gsttrace.c:
23329         * gst/gsttrace.h:
23330         * gst/gsttrashstack.c:
23331           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23332           inlined docs for gsttrace, gsttrashstack
23333
23334 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23335
23336         * gst/Makefile.am:
23337         * gst/elements/gstbufferstore.h:
23338         * gst/elements/gsttypefindelement.c:
23339         * gst/elements/gsttypefindelement.h:
23340         * gst/gst.h:
23341         * gst/gsttypefind.c:
23342         * gst/gsttypefind.h:
23343         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23344         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23345         (gst_type_find_factory_dispose),
23346         (gst_type_find_factory_unload_thyself),
23347         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23348         (gst_type_find_factory_get_caps),
23349         (gst_type_find_factory_get_extensions),
23350         (gst_type_find_factory_call_function):
23351         * gst/gsttypefindfactory.h:
23352         * gst/registries/gstlibxmlregistry.c:
23353         * gst/registries/gstxmlregistry.c:
23354           splitted gsttypefind into gsttypefind, gsttypefindfactory
23355
23356 2005-09-07  Andy Wingo  <wingo@pobox.com>
23357
23358         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23359         condition whereby the pad's task function is entered before the
23360         pad_mode variable was set.
23361
23362 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23363
23364         * gst/gstpad.c: (gst_pad_alloc_buffer):
23365           Catch misbehaving pad_alloc functions that don't
23366           set up caps and do it for them.
23367
23368 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23369
23370         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23371           test for pipe!=NULL
23372         * docs/gst/tmpl/.cvsignore:
23373         * docs/gst/tmpl/gstmemchunk.sgml:
23374         * docs/gst/tmpl/gstparse.sgml:
23375         * docs/gst/tmpl/gsttaglist.sgml:
23376         * docs/gst/tmpl/gsttagsetter.sgml:
23377         * docs/gst/tmpl/gsttypefind.sgml:
23378         * docs/gst/tmpl/gsttypefindfactory.sgml:
23379         * gst/gstmemchunk.c:
23380         * gst/gstparse.c:
23381         * gst/gsttag.c:
23382         * gst/gsttaginterface.c:
23383         * gst/gsttypefind.c:
23384         * gst/gsttypefind.h:
23385           inlined more docs
23386
23387 === release 0.9.2 ===
23388
23389 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23390
23391         * NEWS:
23392         * RELEASE:
23393         * configure.ac:
23394           releasing 0.9.2, "South"
23395
23396 2005-09-05  Andy Wingo  <wingo@pobox.com>
23397
23398         * gst/registries/gstxmlregistry.h:
23399         * gst/registries/gstxmlregistry.c: Um... resurrect...
23400         
23401         * gst/registries/gstxmlregistry.h:
23402         * gst/registries/gstxmlregistry.c: and update to newer API.
23403         Incidentally they should be a bit faster now that they don't have
23404         to parse the caps.
23405         
23406 2005-09-05  Andy Wingo  <wingo@pobox.com>
23407
23408         * gst/registries/gstxmlregistry.h:
23409         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23410         replaced by the libxml registry a while back
23411
23412 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23413
23414         * docs/gst/tmpl/gstplugin.sgml:
23415         * gst/elements/gstelements.c:
23416         * gst/gst.c:
23417         * gst/gstplugin.c: (gst_plugin_register_func),
23418         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23419         (gst_plugin_get_source):
23420         * gst/gstplugin.h:
23421         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23422         (gst_xml_registry_save_plugin):
23423         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23424         (gst_xml_registry_save_plugin):
23425         * tools/gst-inspect.c: (print_plugin_info):
23426           add a "source" plugin description field, to represent the source
23427           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23428           will set it to PACKAGE, which is automake's idea of the name of
23429           the source project.
23430
23431 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23432
23433         * Makefile.am:
23434         * autogen.sh:
23435         * configure.ac:
23436         * docs/Makefile.am:
23437         * docs/faq/Makefile.am:
23438         * docs/gst/tmpl/gstelement.sgml:
23439         * docs/gst/tmpl/gsttypes.sgml:
23440         * docs/htmlinstall.mak:
23441         * docs/manual/Makefile.am:
23442         * docs/pwg/Makefile.am:
23443           reorganize doc build a little
23444           split out docbook and gtk-doc stuff
23445           have two separate --enable's and enable them through autogen
23446           but disable by default in configure (to be similar to other
23447           projects)
23448         * gstreamer.spec.in:
23449           clean up docs install
23450         * po/af.po:
23451         * po/az.po:
23452         * po/ca.po:
23453         * po/cs.po:
23454         * po/de.po:
23455         * po/en_GB.po:
23456         * po/fr.po:
23457         * po/it.po:
23458         * po/nb.po:
23459         * po/nl.po:
23460         * po/ru.po:
23461         * po/sq.po:
23462         * po/sr.po:
23463         * po/sv.po:
23464         * po/tr.po:
23465         * po/uk.po:
23466         * po/vi.po:
23467           translation updates
23468
23469 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23470
23471         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23472           Add comment.
23473           
23474         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23475         (gst_fake_sink_change_state):
23476           Make state change function thread-safe.
23477           
23478         * gst/gstpad.c: (gst_pad_alloc_buffer):
23479           Set offset on generic buffer allocated by fallback.
23480
23481 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23482
23483         * docs/gst/gstreamer-sections.txt:
23484         * docs/gst/tmpl/gstelement.sgml:
23485         * gst/gstpad.c:
23486         * libs/gst/controller/gst-controller.c:
23487         (gst_controlled_property_set_interpolation_mode),
23488         (gst_controlled_property_new),
23489         (gst_controller_find_controlled_property):
23490          run the wingo-magic script against the docs
23491
23492 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23493
23494         * docs/gst/gstreamer-docs.sgml:
23495         * docs/gst/gstreamer-sections.txt:
23496         * docs/gst/tmpl/.cvsignore:
23497         * docs/gst/tmpl/gstelementdetails.sgml:
23498         * docs/gst/tmpl/gstelementfactory.sgml:
23499         * gst/gst.c:
23500         * gst/gstbus.c:
23501         * gst/gstelementfactory.c:
23502         * gst/gstelementfactory.h:
23503           merged elementdetails docs into elementfactory docs
23504           inlined both
23505
23506 2005-09-02  Andy Wingo  <wingo@pobox.com>
23507
23508         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23509         consider this enum an enum and not a flags.
23510
23511 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23512
23513         * docs/gst/gstreamer-docs.sgml:
23514         * docs/gst/tmpl/.cvsignore:
23515         * docs/gst/tmpl/gstghostpad.sgml:
23516         * docs/gst/tmpl/gstiterator.sgml:
23517         * docs/gst/tmpl/gstmacros.sgml:
23518         * docs/gst/tmpl/gstrealpad.sgml:
23519         * docs/gst/tmpl/gstregistry.sgml:
23520         * docs/gst/tmpl/gstregistrypool.sgml:
23521         * docs/gst/tmpl/gststructure.sgml:
23522         * docs/gst/tmpl/gstsystemclock.sgml:
23523         * docs/gst/tmpl/gsttrace.sgml:
23524         * gst/gstghostpad.c:
23525         * gst/gstmacros.h:
23526         * gst/gstmemchunk.c:
23527         * gst/gstmemchunk.h:
23528         * gst/gstqueue.c:
23529         * gst/gstregistry.c:
23530         * gst/gstregistrypool.c:
23531         * gst/gststructure.c:
23532         * gst/gstsystemclock.c:
23533           more docs inlined
23534
23535 2005-09-02  Andy Wingo  <wingo@pobox.com>
23536
23537         * gst/gstelement.h (GstState): Renamed from GstElementState,
23538         changed to be a normal enum instead of flags.
23539         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23540         munged to be GST_STATE_CHANGE_*.
23541         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23542         work with the new state representation.
23543         (GstStateChange): New enumeration of possible state transitions.
23544         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23545         (GstElementClass::change_state): Pass the GstStateChange along as
23546         an argument. Helps language bindings, so they don't have to use
23547         tricky lock-needing macros like GST_STATE_CHANGE ().
23548
23549         * scripts/update-states (file): New script. Run it on a file to
23550         update it for state naming and API changes. Updates files in
23551         place.
23552
23553         * All files updated for the new API.
23554
23555 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23556
23557         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23558         * gst/gstutils.c: (gst_util_set_value_from_string),
23559         (gst_util_set_object_arg):
23560           fix a bunch of unchecked return values
23561         * tools/gst-complete.c: (main):
23562         * gstreamer.spec.in:
23563           clean up a little
23564
23565 2005-09-01  Wim Taymans  <wim@fluendo.com>
23566
23567         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23568         (gst_base_sink_event), (gst_base_sink_do_sync),
23569         (gst_base_sink_handle_event):
23570         * gst/base/gstbasesink.h:
23571         Handle newsegments more correctly.
23572
23573         * gst/gstbus.c:
23574         Fix docs.
23575
23576         * gst/gstevent.c: (gst_event_new_newsegment):
23577         A newsegment cannot have a start_time of -1
23578
23579 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23580
23581         * win32/gstenumtypes.c:
23582         * win32/gstenumtypes.h:
23583           Update
23584
23585 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23586
23587         * libs/gst/controller/gst-controller.c:
23588         (gst_controlled_property_set_interpolation_mode),
23589         (gst_controlled_property_new):
23590          fixed boolean again
23591
23592 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23593
23594         * docs/faq/gst-uninstalled:
23595           add -good
23596         * gst/gstevent.c:
23597         * gst/gstevent.h:
23598           remove wrong docs
23599         * gst/gstutils.c: (gst_element_link_filtered):
23600         * gst/gstutils.h:
23601           add gst_element_link_filtered
23602
23603 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23604
23605         * docs/gst/gstreamer-docs.sgml:
23606         * docs/gst/gstreamer-sections.txt:
23607         * docs/gst/tmpl/.cvsignore:
23608         * docs/gst/tmpl/gsterror.sgml:
23609         * docs/gst/tmpl/gstfilter.sgml:
23610         * docs/gst/tmpl/gsturihandler.sgml:
23611         * docs/gst/tmpl/gsturitype.sgml:
23612         * docs/gst/tmpl/gstutils.sgml:
23613         * docs/gst/tmpl/gstxml.sgml:
23614         * gst/gsterror.c:
23615         * gst/gsterror.h:
23616         * gst/gstfilter.c:
23617         * gst/gsturi.c:
23618         * gst/gsturitype.c:
23619         * gst/gstutils.c:
23620         * gst/gstxml.c:
23621           inlined more docs, fixed double id-ref
23622
23623 2005-08-31  Wim Taymans  <wim@fluendo.com>
23624
23625         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23626         (gst_base_transform_handle_buffer):
23627         Passthrough elements don't need the caps as they don't care.
23628
23629 2005-08-31  Wim Taymans  <wim@fluendo.com>
23630
23631         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23632         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23633         Don't leak refcounts on buffers.
23634
23635 2005-08-31  Wim Taymans  <wim@fluendo.com>
23636
23637         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23638         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23639         (gst_base_transform_chain), (gst_base_transform_change_state):
23640         * gst/base/gstbasetransform.h:
23641         Handle the case where we are not negotiated more gracefully.
23642
23643 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23644
23645         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23646         (gst_file_src_map_region):
23647           Set READONLY flag on mmap'ed buffers, otherwise
23648           gst_buffer_make_writable() won't work properly (#314708).
23649
23650 2005-08-31  Wim Taymans  <wim@fluendo.com>
23651
23652         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23653         passthrough elements can even do inplace on non writable
23654         buffers (as they don't touch them).
23655
23656 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23657
23658         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23659         (gst_test_mono_source_set_property),
23660         (gst_test_mono_source_class_init), (GST_START_TEST),
23661         (gst_controller_suite):
23662           more tests (hehe I have the most)
23663         * gst/gstbus.c:
23664           describe popping messages whenusing mulltiple sources
23665         * libs/gst/controller/gst-controller.c:
23666         (gst_controlled_property_set_interpolation_mode),
23667         (gst_controlled_property_new):
23668         * libs/gst/controller/gst-controller.h:
23669         * libs/gst/controller/gst-interpolation.c:
23670           implement boolean properties
23671
23672 2005-08-31  Wim Taymans  <wim@fluendo.com>
23673
23674         * gst/gstminiobject.c: (gst_mini_object_ref):
23675         Cannot assert that the refcount has to be positive
23676         since a disposed object can be resurrected.
23677
23678 2005-08-31  Wim Taymans  <wim@fluendo.com>
23679
23680         * gst/gstpad.c: (gst_pad_init):
23681         Revert change, need to first fix badly behaving 
23682         apps.
23683
23684 2005-08-30  Wim Taymans  <wim@fluendo.com>
23685
23686         * check/elements/fakesrc.c: (setup_fakesrc):
23687         * check/elements/identity.c: (setup_identity):
23688         Activate pads before using them.
23689
23690 2005-08-30  Wim Taymans  <wim@fluendo.com>
23691
23692         * gst/base/gstadapter.c: (gst_adapter_flush):
23693         Flushing out 0 bytes is ok for this function.
23694
23695         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23696         no newsegment gives a warning and sets the start/stop to 
23697         invalid.
23698
23699         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23700         (gst_base_transform_set_passthrough):
23701         Some debug info.
23702
23703         * gst/gstminiobject.c: (gst_mini_object_ref):
23704         Check refcount here too.
23705
23706         * gst/gstpad.c: (gst_pad_init):
23707         Pads are initially flushing and refusing data.
23708
23709         * gst/gstutils.c: (gst_element_link_pads_filtered):
23710         When adding a capsfilter element make sure it has the
23711         same state as the parent bin.
23712
23713 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23714
23715         * docs/gst/tmpl/.cvsignore:
23716         * docs/gst/tmpl/gstformat.sgml:
23717         * docs/gst/tmpl/gstversion.sgml:
23718         * gst/gstbus.h:
23719         * gst/gstformat.c:
23720         * gst/gstformat.h:
23721         * gst/gstversion.h.in:
23722           more docs and two more inlined
23723
23724 2005-08-30  Wim Taymans  <wim@fluendo.com>
23725
23726         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23727         Don't sync to clock.
23728
23729 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23730
23731         * docs/gst/gstreamer-sections.txt:
23732           ultral33t func10ns deserve to appear in the docs actually
23733         * docs/gst/tmpl/.cvsignore:
23734         * docs/gst/tmpl/gstcompat.sgml:
23735         * docs/gst/tmpl/gstconfig.sgml:
23736         * gst/check/gstcheck.c:
23737         * gst/gstcompat.h:
23738         * gst/gstconfig.h.in:
23739           inlined more docs
23740
23741 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23742
23743         * docs/gst/tmpl/.cvsignore:
23744         * docs/gst/tmpl/gstquery.sgml:
23745         * docs/gst/tmpl/gstutils.sgml:
23746         * gst/gstquery.c:
23747         * gst/gstquery.h:
23748           inlined and extended docs
23749
23750 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23751
23752         * check/gst-libs/controller.c: (GST_START_TEST),
23753         (gst_controller_suite):
23754           more tests
23755         * docs/gst/tmpl/gstutils.sgml:
23756         * docs/libs/gstreamer-libs-sections.txt:
23757         * docs/libs/tmpl/gstdataprotocol.sgml:
23758           include path fixes
23759         * examples/controller/audio-example.c: (main):
23760           controller example works now
23761         * gst/gstclock.h:
23762           doc fixes
23763         * tools/gst-inspect.c: (print_element_properties_info):
23764           show param spec flags
23765
23766 2005-08-29  Andy Wingo  <wingo@pobox.com>
23767
23768         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23769
23770 2005-08-28  Andy Wingo  <wingo@pobox.com>
23771
23772         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23773         as having two arguments instead of just one. Allows superclasses
23774         to access information on subclasses -- see the terrible for() loop
23775         in gtype.c:g_type_create_instance for the reason why. All callers
23776         changed.
23777
23778 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23779
23780         * docs/design/part-messages.txt:
23781           update info
23782         * docs/gst/tmpl/.cvsignore:
23783         * docs/gst/tmpl/gstcaps.sgml:
23784         * docs/gst/tmpl/gstclock.sgml:
23785         * gst/gstbus.c:
23786         * gst/gstcaps.c:
23787         * gst/gstcaps.h:
23788         * gst/gstclock.c:
23789         * gst/gstclock.h:
23790         * gst/gstmessage.c:
23791           added descriptions for bus and message
23792           inline caps and clock docs
23793
23794 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23795
23796         * gst/gstmessage.c:
23797         * gst/gstmessage.h:
23798           doc fixes
23799
23800 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23801
23802         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23803           fix div-by-zero
23804
23805 2005-08-26  Andy Wingo  <wingo@pobox.com>
23806
23807         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23808         element_set_state's return val.
23809         (test_2_elements): Add test that's been disabled for months.
23810
23811         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23812         can-activate-pull properties.
23813
23814         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23815         can-activate-pull properties. Implement is_seekable so fakesrc can
23816         operate in pull mode.
23817
23818         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23819         properties.
23820         (gst_base_sink_activate, gst_base_sink_activate_pull)
23821         (gst_base_sink_activate_push): Make activation mode choosing work.
23822         Cleanups.
23823         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23824         is right. Make pull mode work. Post an eos before pausing in pull
23825         mode.
23826         (gst_base_sink_change_state): Pay attention to the core's
23827         change_state() return val.
23828         
23829         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23830         has-getrange properties. Cleanups.
23831         
23832         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23833         has_getrange and replace with can_activate_pull and
23834         can_activate_push.
23835
23836         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23837         locking comments. Remove has_loop, has_chain and replace with
23838         can_activate_pull and can_activate_push.
23839
23840 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
23841
23842         * configure.ac:
23843         * examples/Makefile.am:
23844         * examples/metadata/Makefile.am:
23845         * examples/metadata/read-metadata.c: (message_loop),
23846         (have_pad_handler), (make_pipeline), (print_tag), (main):
23847           Add metadata reading example that loops over a list of filenames,
23848           dumping any tags found.
23849
23850         * gst/gstbus.c: (gst_bus_dispose):
23851         * gst/gstelement.c: (gst_element_dispose):
23852           Release a few potentially-held references in dispose.
23853
23854 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23855
23856         * docs/gst/tmpl/gstminiobject.sgml:
23857           do *not* add tmpl/*.sgml files to CVS!
23858
23859 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23860
23861         * libs/gst/bytestream/.cvsignore:
23862         * libs/gst/bytestream/Makefile.am:
23863         * libs/gst/bytestream/adapter.c:
23864         * libs/gst/bytestream/adapter.h:
23865         * libs/gst/bytestream/bytestream.c:
23866         * libs/gst/bytestream/bytestream.h:
23867         * libs/gst/bytestream/filepad.c:
23868         * libs/gst/bytestream/filepad.h:
23869           removing obsolete files
23870
23871 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23872
23873         * docs/gst/gstreamer-docs.sgml:
23874         * docs/libs/gstreamer-libs-docs.sgml:
23875           disabed additional index entries again, as this makes docs-gen just
23876           slow and they aren't useful yet
23877         * docs/libs/gstreamer-libs-sections.txt:
23878           little -section.txt cleanup for libs
23879
23880 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
23881
23882         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23883         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23884           fix up some debugging
23885         (gst_base_transform_get_unit_size),
23886         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23887         (gst_base_transform_handle_buffer):
23888         * gst/base/gstbasetransform.h:
23889           handle and store timed NEWSEGMENT events so that subclasses that
23890           calculate time by counting samples have a segment_start time they
23891           need to add to their timestamps - see audioresample
23892
23893 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23894
23895         * gst/gstbin.h:
23896           removed ';' from the end of macro defs
23897         * docs/gst/gstreamer-docs.sgml:
23898         * docs/gst/gstreamer-sections.txt:
23899         * docs/gst/tmpl/.cvsignore:
23900         * gst/gstbus.h:
23901         * gst/gstelement.c: (gst_element_class_init),
23902         (gst_element_set_state), (activate_pads),
23903         (gst_element_save_thyself):
23904         * gst/gstevent.c: (gst_event_new_newsegment):
23905         * gst/gstevent.h:
23906         * gst/gstiterator.c:
23907         * gst/gstiterator.h:
23908         * gst/gstpad.c:
23909         * gst/gstprobe.h:
23910         * gst/gstutils.c: (gst_pad_query_convert):
23911         * gst/gstutils.h:
23912           fixed parameter name mismatches between source, header and docs
23913           added some more docs, resolved the last batch of unused elements in
23914           docs (now someone needs to doc them)
23915
23916 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23917
23918         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23919         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23920           don't walk through the plugins backwards.  Where is all this
23921           reversed logic coming from ?
23922
23923 2005-08-25  Wim Taymans  <wim@fluendo.com>
23924
23925         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23926         (gst_base_transform_transform_size),
23927         (gst_base_transform_configure_caps),
23928         (gst_base_transform_get_unit_size),
23929         (gst_base_transform_buffer_alloc),
23930         (gst_base_transform_change_state):
23931         * gst/base/gstbasetransform.h:
23932         Cache caps unit_size.
23933         Make sure we cannot negotiate up and downstream at the
23934         same time.
23935
23936 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23937
23938         * gst/gst.c: (init_pre), (init_post):
23939           register the installed plugin path after the env var
23940         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23941         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23942           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23943           directories, so the tests can prefer uninstalled over installed
23944
23945 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23946
23947         * gst/base/gstbasetransform.h:
23948           comment
23949         * gst/gstpad.c:
23950           add to docs
23951
23952 2005-08-25  Wim Taymans  <wim@fluendo.com>
23953
23954         * gst/gstbin.c: (bin_bus_handler):
23955         Be a bit more conservative about the posted message.
23956         
23957         * gst/gstbus.c: (gst_bus_post):
23958         Some cleanups, warn wrong return values.
23959
23960 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
23961
23962         * check/gst/gstbin.c: (GST_START_TEST):
23963         * gst/gstbin.c: (bin_bus_handler):
23964         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23965         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23966         (gst_message_new_warning), (gst_message_new_tag),
23967         (gst_message_new_state_changed), (gst_message_new_segment_start),
23968         (gst_message_new_segment_done), (gst_message_new_custom):
23969         * gst/gstmessage.h:
23970         * tools/gst-launch.c: (event_loop):
23971         * tools/gst-md5sum.c: (event_loop):
23972           Revert unpopular change for GST_MESSAGE_SRC to GObject.
23973
23974 2005-08-25  Wim Taymans  <wim@fluendo.com>
23975
23976         * check/generic/states.c: (GST_START_TEST):
23977         Cleanup can be done at the end.
23978
23979         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
23980         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23981         (gst_task_get_state), (gst_task_start), (gst_task_pause):
23982         Oh boy.. Thanks for finding this, Thomas. 
23983
23984 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23985
23986         * docs/gst/gstreamer.types:
23987           added missing types
23988
23989 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23990
23991         * docs/gst/gstreamer-docs.sgml:
23992         * docs/gst/gstreamer-sections.txt:
23993         * docs/gst/tmpl/.cvsignore:
23994         * gst/gstbin.c:
23995         * gst/gstiterator.c:
23996         * gst/gstutils.c:
23997         * gst/registries/gstxmlregistry.h:
23998           added missing classes and symbols (123 more to go)
23999           removed removed symbols from section file
24000           fixed many doc-comments
24001
24002 2005-08-24  Wim Taymans  <wim@fluendo.com>
24003
24004         * check/generic/states.c: (GST_START_TEST):
24005         Make sure all tasks are stopped.
24006
24007         * check/gst/gstbin.c: (GST_START_TEST):
24008         Unref after usage for proper valgrinding.
24009
24010         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24011         Really wait for the task to stop before destroying the
24012         mutex.
24013
24014         * gst/gstqueue.c: (gst_queue_sink_activate_push),
24015         (gst_queue_src_activate_push):
24016         Small cleanups. Don't stop the task when we did not start
24017         it.
24018
24019         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24020         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24021         (gst_task_get_state), (gst_task_start), (gst_task_pause),
24022         (gst_task_join):
24023         * gst/gsttask.h:
24024         Protect the stream lock with the object lock.
24025         Disallow setting the stream lock when running.
24026         Add cleanup_all to wait for the threadpool to finish.
24027         Remove code to autoallocate a mutex if none was provided.
24028         Add _join() to wait for a task to stop.
24029         Protect the thread pool with a global lock.
24030
24031 2005-08-24  Wim Taymans  <wim@fluendo.com>
24032
24033         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24034         (gst_base_sink_get_times), (gst_base_sink_do_sync),
24035         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24036         * gst/base/gstbasesink.h:
24037         Handle newsegment events correctly.
24038         Drop buffers out of the segment range.
24039
24040 2005-08-22  Andy Wingo  <wingo@pobox.com>
24041
24042         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24043         macro, implements an interface and gstimplementsinterface for a
24044         new type.
24045
24046 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24047
24048         * check/Makefile.am:
24049         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24050           add a test that does a bunch of state changes on elements
24051           needs some fixing for valgrind
24052         * check/states/sinks.c: (gst_object_suite):
24053           whitespace
24054         * gst/gstcaps.h:
24055           add prototype for gst_caps_is_equal_fixed
24056         * gst/gstplugin.c:
24057         * gst/gstregistrypool.c:
24058           doc fixes
24059
24060 2005-08-24  Andy Wingo  <wingo@pobox.com>
24061
24062         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24063         convert a negative value. Doesn't make much sense. Mostly this is
24064         here to force callers to ensure -1 maps to -1.
24065
24066 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24067
24068         * docs/pwg/advanced-types.xml:
24069           Well done to Michael for catching my deliberate introduction
24070           of this spelling mistake. 
24071         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24072         * gst/gstelement.h:
24073           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24074           unlink pads before removing the element from the bin.
24075
24076 2005-08-24  Andy Wingo  <wingo@pobox.com>
24077
24078         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24079         the same thing as GST_DEBUG=*:4.
24080         (parse_debug_level, parse_debug_category): New helper parsers.
24081
24082 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24083
24084         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24085         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24086         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24087         (gst_base_transform_buffer_alloc),
24088         (gst_base_transform_handle_buffer):
24089           use gboolean return values and pointers to size so we can use the
24090           full GST_BUFFER_SIZE range (guint) for buffer sizes
24091           use GstPadDirection for transform_caps
24092         * gst/base/gstbasetransform.h:
24093           rename get_size to get_unit_size since that's what it is
24094         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24095           use GstPadDirection for transform_caps
24096         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24097         * gst/gstutils.h:
24098           cleanup and debugging
24099
24100 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24101
24102         * gst/gstelement.c: (gst_element_class_init),
24103         (gst_element_set_state), (activate_pads),
24104         (gst_element_save_thyself):
24105         * tools/gst-compprep.c: (main):
24106         * tools/gst-inspect.c: (print_element_properties_info):
24107         * tools/gst-xmlinspect.c: (print_element_properties):
24108           Fixed long standing mem-leak
24109
24110 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24111
24112         * check/gst/gstbin.c: (GST_START_TEST):
24113         * gst/gstbin.c: (bin_bus_handler):
24114         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24115         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24116         (gst_message_new_warning), (gst_message_new_tag),
24117         (gst_message_new_state_changed), (gst_message_new_segment_start),
24118         (gst_message_new_segment_done), (gst_message_new_custom):
24119         * gst/gstmessage.h:
24120         * tools/gst-launch.c: (event_loop):
24121         * tools/gst-md5sum.c: (event_loop):
24122           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24123           that applications can sensibly post custom messages with references
24124           to their own objects.
24125
24126 2005-08-24  Andy Wingo  <wingo@pobox.com>
24127
24128         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24129         already.
24130
24131 2005-08-24  Wim Taymans  <wim@fluendo.com>
24132
24133         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24134         (gst_base_transform_transform_caps),
24135         (gst_base_transform_transform_size),
24136         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24137         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24138         (gst_base_transform_handle_buffer):
24139         * gst/base/gstbasetransform.h:
24140         Many fixes and new features added by Thomas. Can now also do
24141         transforms with variable sizes and a custom fixate_caps function.
24142
24143 2005-08-24  Wim Taymans  <wim@fluendo.com>
24144
24145         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24146         Some debugging.
24147
24148         * gst/gstclock.h:
24149         Cast to ClockTime before formatting to time.
24150
24151         * gst/gstutils.h:
24152         Cleanups.
24153
24154 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24155
24156         * check/gst-libs/controller.c: (GST_START_TEST),
24157         (gst_controller_suite):
24158         * docs/gst/tmpl/gstcaps.sgml:
24159         * docs/gst/tmpl/gstghostpad.sgml:
24160         * docs/gst/tmpl/gstquery.sgml:
24161         * docs/gst/tmpl/gstutils.sgml:
24162         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24163         (gst_object_sink_values), (gst_object_get_value_arrays),
24164         (gst_object_get_value_array):
24165           gracefully handle helper method calls to objects that are not beeing
24166           controlled, added test case for that          
24167
24168 2005-08-23  Wim Taymans  <wim@fluendo.com>
24169
24170         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24171         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24172         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24173         (gst_event_parse_qos), (gst_event_new_seek),
24174         (gst_event_parse_seek):
24175         * gst/gstevent.h:
24176         Some more debugging output and doc cleanups.
24177
24178         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24179         Fix possible deadlock.
24180
24181 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24182
24183         * docs/gst/gstreamer-docs.sgml:
24184         * docs/gst/gstreamer-sections.txt:
24185         * docs/gst/gstreamer.types:
24186         * docs/gst/tmpl/.cvsignore:
24187         * gst/gstbin.h:
24188         * gst/gstbus.c:
24189         * gst/gstelement.c:
24190         * gst/gstevent.h:
24191           added 100 symbols from gstreamer-unused.txt to the right sections
24192           fixed more broken comments
24193           added GstBus to docs
24194
24195 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24196
24197         * docs/gst/gstreamer-sections.txt:
24198         * docs/gst/tmpl/.cvsignore:
24199         * docs/gst/tmpl/gstbin.sgml:
24200         * docs/gst/tmpl/gstbuffer.sgml:
24201         * gst/base/gstbasesrc.c:
24202         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24203         * gst/gstbuffer.c:
24204         * gst/gstbuffer.h:
24205         * tools/gst-launch.1.in:
24206           inlined more doc comments, added missing comments and fixed comments
24207           fixed typos
24208
24209 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24210
24211         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24212           some debugging
24213         * gst/gstcaps.h:
24214           whitespace fixes
24215         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24216           more debugging
24217         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24218         * gst/gststructure.h:
24219           add a fixate function for booleans; add a FIXME that these func
24220           names should probably be gst_structure_fixate_*
24221
24222 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24223
24224         * docs/gst/gstreamer-docs.sgml:
24225         * docs/gst/gstreamer-sections.txt:
24226         * gst/Makefile.am:
24227         * gst/gstbin.c: (gst_bin_get_type),
24228         (gst_bin_child_proxy_get_child_by_index),
24229         (gst_bin_child_proxy_get_children_count),
24230         (gst_bin_child_proxy_init):
24231         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24232         (gst_child_proxy_get_child_by_index),
24233         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24234         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24235         (gst_child_proxy_get), (gst_child_proxy_set_property),
24236         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24237         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24238         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24239         * gst/gstchildproxy.h:
24240         * gst/parse/grammar.y:
24241         * tools/gst-inspect.c: (print_interfaces),
24242         (print_element_properties_info), (print_element_info):
24243           ported gstchildproxy over from 0.8
24244           ported gst-inspect fixes and enhancements over from 0.8
24245
24246 2005-08-22  Wim Taymans  <wim@fluendo.com>
24247
24248         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24249         (gst_base_transform_handle_buffer):
24250         Also call the transform function if we have ANY caps.
24251
24252         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24253         Fix debug info.
24254
24255 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24256
24257         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24258           Don't pretend to handle seek events if the source is not seekable
24259
24260 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24261
24262         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24263           Remove extra parameter to debug output
24264
24265         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24266         (gst_base_src_do_seek), (gst_base_src_activate_push):
24267           Fix seek event handling.
24268
24269         * gst/gstpipeline.c: (gst_pipeline_change_state):
24270         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24271         (gst_queue_src_activate_push):
24272           Don't start the src pad task on FLUSH_STOP if the pad
24273           isn't linked.
24274           Debug changes.
24275
24276 2005-08-22  Wim Taymans  <wim@fluendo.com>
24277
24278         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24279         Added check for gst_static_caps_get() refcounting.
24280
24281 2005-08-22  Wim Taymans  <wim@fluendo.com>
24282
24283         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24284         Make _static_caps_get() refcounting sane.
24285         
24286         * gst/gstelement.c: (gst_element_set_state):
24287         Add g_return_val_if_fail() to protect against segfaults.
24288
24289 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24290
24291         * docs/gst/tmpl/gstevent.sgml:
24292         * gst/gstevent.c:
24293         * gst/gstevent.h:
24294           inlined remaining docs, added missing doc comments
24295
24296 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24297
24298         * check/gst/gstbin.c: (GST_START_TEST):
24299           since we don't know when preroll is done, use refcount range
24300           check for the sink
24301         * gst/check/gstcheck.h:
24302           add macro for checking refcount range
24303
24304 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24305
24306         * check/Makefile.am:
24307           clean up environment for when registry gets built versus
24308           when actual tests are run; valgrind seems to not report
24309           leaks if GST_PLUGIN_PATH is set to some specific values
24310         * check/gst/gstbin.c: (GST_START_TEST):
24311           add more refcounting checks; maybe this exposes a
24312           preroll lock bug ?
24313         * common/check.mak:
24314         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24315         * gst/check/gstcheck.h:
24316         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24317         (gst_bin_change_state):
24318         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24319           add/fix debugging/whitespace
24320
24321 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24322
24323         * check/gst/gstevent.c: (event_probe), (test_event),
24324         (GST_START_TEST):
24325          Er, don't call gst_bin_watch_for_state_change you idiot.
24326
24327 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24328
24329         * check/Makefile.am:
24330           Use CHECK_CFLAGS and CHECK_LIBS
24331         * check/gst/gstevent.c: (event_probe), (test_event),
24332         (GST_START_TEST):
24333           Don't leak events.
24334         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24335         (gst_base_src_start), (gst_base_src_stop),
24336         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24337         (gst_base_src_change_state):
24338           Sprinkle gst_base_src_stop liberally around error paths to fix
24339           problems reusing a source after failed state changes.
24340         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24341         (helper_find_suggest), (gst_type_find_helper):
24342           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24343         * gst/gstevent.h:
24344         * docs/gst/tmpl/gstevent.sgml:
24345           Migrate part of the docs from the SGML file. Wait for ensonic to
24346           tell me how I did it wrong ;)
24347         * tools/gst-typefind.c: (main):
24348           Extra robustness to state changes between files.
24349
24350 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24351
24352         * check/Makefile.am:
24353           don't valgrind the controller test - it's leaking - Stefan, HELP
24354         * gst/check/gstcheck.c: (gst_check_message_error),
24355         (gst_check_chain_func), (gst_check_setup_element),
24356         (gst_check_teardown_element), (gst_check_setup_src_pad),
24357         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24358         (gst_check_teardown_sink_pad):
24359         * gst/check/gstcheck.h:
24360           add a bunch of methods to set up elements, and src and sink pads
24361         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24362         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24363         (GST_START_TEST):
24364           use them
24365         * gst/gstmessage.c:
24366         * gst/gsttag.h:
24367           whitespace/doc fixes
24368
24369 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24370
24371         * gst/gstelement.h:
24372           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24373           be handled by the application and not always printed as well
24374
24375 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24376
24377         * check/Makefile.am:
24378           set GST_TOOLS_DIR
24379         * gst/check/gstcheck.c: (gst_check_message_error):
24380         * gst/check/gstcheck.h:
24381           add a fail_unless_equals_int
24382           add fail_unless for error messages
24383
24384 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24385
24386         * check/Makefile.am:
24387         * check/gst.supp:
24388         * common/Makefile.am:
24389         * common/check.mak:
24390         * common/gst.supp:
24391           factor out some of the common stuff so we can use it
24392
24393 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24394
24395         * check/Makefile.am:
24396         * check/gst/gstiterator.c: (GST_START_TEST):
24397         * check/gst/gstsystemclock.c: (GST_START_TEST),
24398         (gst_systemclock_suite):
24399         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24400         * gst/gstclock.c:
24401           valgrind more tests
24402
24403 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24404
24405         * check/elements/.cvsignore:
24406         * check/elements/gstfakesrc.c:
24407           rename to name of element
24408         * check/elements/identity.c: (chain_func), (event_func),
24409         (setup_identity), (cleanup_identity), (GST_START_TEST),
24410         (identity_suite), (main):
24411           add a test for identity
24412         * check/Makefile.am:
24413         * pkgconfig/Makefile.am:
24414         * pkgconfig/gstreamer-check.pc.in:
24415         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24416         * gst/check:
24417         * gst/Makefile.am:
24418         * configure.ac:
24419           move the check stuff to a library that gets installed
24420         * check/gst-libs/controller.c: (GST_START_TEST):
24421         * check/gst-libs/gdp.c:
24422         * check/gst/gst.c: (GST_START_TEST):
24423         * check/gst/gstbin.c:
24424         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24425         * check/gst/gstbus.c:
24426         * check/gst/gstcaps.c: (GST_START_TEST):
24427         * check/gst/gstelement.c:
24428         * check/gst/gstghostpad.c:
24429         * check/gst/gstiterator.c:
24430         * check/gst/gstmessage.c:
24431         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24432         * check/gst/gstobject.c:
24433         * check/gst/gstpad.c: (GST_START_TEST):
24434         * check/gst/gststructure.c: (GST_START_TEST):
24435         * check/gst/gstsystemclock.c: (GST_START_TEST),
24436         (gst_systemclock_suite):
24437         * check/gst/gsttag.c: (gst_tag_suite):
24438         * check/gst/gstvalue.c:
24439         * check/pipelines/cleanup.c:
24440         * check/pipelines/simple_launch_lines.c:
24441         * check/states/sinks.c:
24442           change include statement
24443
24444         * docs/gst/gstreamer-sections.txt:
24445         * docs/gst/tmpl/gstpad.sgml:
24446           document more pad stuff
24447         * gst/gstminiobject.c: (gst_mini_object_ref),
24448         (gst_mini_object_unref):
24449           debug refcounting
24450
24451 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24452
24453         * docs/gst/tmpl/gst.sgml:
24454         * gst/gst.c:
24455           eliminate another tmpl file, fix spelling in the long-description
24456
24457 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24458
24459         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24460         (test_event), (timediff), (gstevents_suite):
24461           Should fix build on 64-bit arch's
24462
24463 2005-08-18  Andy Wingo  <wingo@pobox.com>
24464
24465         Make sure that when a pipeline goes to PLAYING, that data has
24466         actually hit the sink.
24467
24468         * check/states/sinks.c (test_sink): A sink that doesn't get any
24469         data shouldn't return SUCCESS for going to either PLAYING or
24470         PAUSED. Test also the return values on the way back down.
24471
24472         * gst/gstelement.c (gst_element_set_state): When changing the
24473         state of an element currently changing state asynchronously, go to
24474         lost-state after commiting the pending state. Makes future calls
24475         to get_state continue to return ASYNC.
24476
24477         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24478         ASYNC when going to PLAYING if we still don't have preroll, as can
24479         happen with live sources.
24480
24481 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24482
24483         * docs/pwg/advanced-types.xml:
24484           Hack long paragraph into 2 chunks as a workaround for buggy
24485           jadetex version in sid and breezy that loops infinitely and
24486           eats all RAM.
24487
24488 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24489
24490         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24491         (test_event), (timediff), (gstevents_suite):
24492           Provide more error margin in clock measurements to allow for 
24493           g_get_current_time inaccuracies.
24494
24495 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24496
24497         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24498         (test_event), (timediff), (gstevents_suite):
24499            Fix error message output so I might be able to tell why the
24500            test works here but fails on the build farm.
24501
24502 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24503
24504         * check/Makefile.am:
24505         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24506         (test_event), (timediff), (gstevents_suite), (main):
24507           I wrote a test!
24508
24509         * docs/design/part-seeking.txt:
24510           Spelling correction
24511
24512         * docs/gst/tmpl/gstevent.sgml:
24513         * docs/gst/tmpl/gstfakesrc.sgml:
24514           Docs updates.
24515
24516         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24517           Treat a buffer-without-newsegment the same as a receiving 
24518           a newsegment not in time format, and disable syncing to the clock
24519           with a warning.
24520
24521         * gst/gstbus.c: (gst_bus_set_sync_handler):
24522           Assert if anyone tries to replace the existing sync_handler for bus, 
24523           as only the owner should be setting it.
24524
24525         * gst/gstevent.h:
24526           Have a fixed set of custom event enums with events identified by
24527           their structure name (as in 0.8), rather than a free-for-all
24528           allowing collisions between enum values from different plugins.
24529
24530         * gst/gstpad.c: (gst_pad_class_init):
24531           Docs change.
24532           
24533         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24534           Handle out-of-band downstream events from the sending thread.
24535
24536 2005-08-17  Andy Wingo  <wingo@pobox.com>
24537
24538         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24539         play-timeout==0 to mean no timeout at all. In that case, don't
24540         bother with a get_state or a warning, just return directly, even
24541         if it's ASYNC.
24542
24543         * gst/base/gstbasetransform.c: Debug changes.
24544
24545         * gst/gstutils.h:
24546         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24547         ensure bins post state change messages. A bit of a hack but I can't
24548         think of a way to avoid it.
24549
24550         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24551
24552 2005-08-16  Andy Wingo  <wingo@pobox.com>
24553
24554         * gst/base/gstadapter.h:
24555         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24556         peek() but you own the data. Not terribly efficient atm.
24557
24558 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24559
24560         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24561         (gst_element_found_tags):
24562         * gst/gstutils.h:
24563           Add two utility functions for tag handling.
24564
24565 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24566
24567         * docs/manual/advanced-dataaccess.xml:
24568         * docs/manual/basics-helloworld.xml:
24569           Fix docs to use _bin_add() before _link(), which fixes the examples
24570           with recent core versions (reported by Madhan Raj M
24571           <raj_madan@rediffmail.com>, #313199).
24572
24573 2005-08-16  Wim Taymans  <wim@fluendo.com>
24574
24575         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24576         Added subtract checks.
24577
24578         * docs/design/part-events.txt:
24579         Some more docs about newsegment
24580
24581         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24582         Fix FIXME
24583
24584         * gst/gstcaps.c: (gst_caps_to_string):
24585         Add comments, cleanups.
24586         
24587         * gst/gstelement.c: (gst_element_save_thyself):
24588         cleanups
24589         
24590         * gst/gstvalue.c: (gst_value_collect_int_range),
24591         (gst_string_unwrap), (gst_value_union_int_int_range),
24592         (gst_value_union_int_range_int_range),
24593         (gst_value_intersect_int_int_range),
24594         (gst_value_intersect_int_range_int_range),
24595         (gst_value_intersect_double_double_range),
24596         (gst_value_intersect_double_range_double_range),
24597         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24598         (gst_value_subtract_int_range_int),
24599         (gst_value_subtract_double_range_double),
24600         (gst_value_subtract_double_range_double_range),
24601         (gst_value_subtract_from_list), (gst_value_subtract_list),
24602         (gst_value_can_compare), (gst_value_compare_fraction):
24603         Cleanups, add comments, remove unneeded asserts.
24604
24605 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24606
24607         * tools/gst-launch.c: (event_loop):
24608           don't convert NULL structures to strings
24609
24610 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24611
24612         * docs/gst/gstreamer-sections.txt:
24613           made some defines private
24614         * docs/gst/tmpl/gstconfig.sgml:
24615         * docs/gst/tmpl/gstqueue.sgml:
24616         * docs/gst/tmpl/gsttaglist.sgml:
24617         * docs/gst/tmpl/gsttypes.sgml:
24618         * docs/gst/tmpl/gstutils.sgml:
24619         * docs/pwg/appendix-porting.xml:
24620         * gst/base/gstbasesink.h:
24621         * gst/base/gstbasesrc.c:
24622         * gst/base/gstbasesrc.h:
24623         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24624         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24625         * gst/gstelement.c: (gst_element_class_init):
24626         * gst/gstpad.c: (gst_pad_class_init):
24627         * gst/gstqueue.c: (gst_queue_class_init):
24628         * gst/gstxml.c: (gst_xml_class_init):
24629           documented all undocumented signal inline
24630         * libs/gst/controller/gst-controller.h:
24631           added padding
24632
24633 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24634
24635         * docs/pwg/appendix-porting.xml:
24636           Document _set_link_function -> _set_setcaps_function.
24637
24638 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24639
24640         * check/Makefile.am:
24641           add a .check target for running the check
24642         * check/gst-libs/controller.c: (GST_START_TEST):
24643           cosmetic fixups
24644         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24645           complete checks for gstbuffer; would be nice if I could get the
24646           gcov stuff to work so I can see if I actually completed gstbuffer.c
24647         * check/gstcheck.h:
24648           add ASSERT_BUFFER_REFCOUNT
24649
24650 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24651
24652         * docs/gst/gstreamer-sections.txt:
24653         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24654         * gst/gsttag.h:
24655           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24656           spew out a warning if a tag that is already registered
24657           is re-registered, unless it is re-registered with a 
24658           different type (#308438).
24659
24660 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24661
24662         * docs/pwg/appendix-porting.xml:
24663         * docs/pwg/building-state.xml:
24664           Add some paragraphs about state changes in 0.9 to the PWG
24665           and the porting guide, in particular about the new meaning
24666           of GST_STATE_PAUSED and how to write state change functions
24667           with concurrent access by multiple threads in mind.
24668
24669 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24670
24671         * docs/gst/gstreamer-docs.sgml:
24672         * docs/libs/gstreamer-libs-docs.sgml:
24673           added deprecation and since indexes
24674         * libs/gst/controller/gst-controller.c:
24675         * libs/gst/controller/gst-helper.c:
24676           added since tags
24677
24678
24679 2005-08-11  Wim Taymans  <wim@fluendo.com>
24680
24681         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24682         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24683         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24684         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24685         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24686         (gst_ghost_pad_set_target):
24687         Actually implement (re)setting the target on a ghostpad
24688         as described in the docs.
24689
24690 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24691
24692         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24693           Check whether GST_DEBUG_NO_COLOR environment variable is
24694           set and disable coloured debug output if that is the case.
24695
24696 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24697
24698         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24699         (gst_type_find_helper):
24700           The memory returned by gst_type_find_peek() needs to
24701           stay valid until the end of a typefind function, and
24702           typefind functions may keep results from different 
24703           offsets around, so we can't just unref the buffer from
24704           the previous _peek(), but have to save all buffers 
24705           returned by _peek() until typefinding is done and only
24706           free them then.
24707
24708 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
24709
24710         * docs/gst/gstreamer-sections.txt:
24711         * gst/gstutils.h:
24712           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24713
24714 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24715
24716         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24717           Fix a pretty good memleak.
24718
24719 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24720
24721         * gst/gstiterator.h:
24722           Fix wrong include and 'make distcheck'.
24723
24724 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24725
24726         * gst/gstbin.c: (bin_bus_handler):
24727           Use gst_element_post_message() instead.
24728
24729 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24730
24731         * gst/base/gstadapter.h:
24732         * gst/base/gstbasesink.h:
24733         * gst/base/gstbasesrc.h:
24734         * gst/base/gstbasetransform.h:
24735         * gst/base/gstcollectpads.h:
24736         * gst/base/gstpushsrc.h:
24737         * gst/gstiterator.h:
24738           Add padding to our base elements' class and instance structs and
24739           to GstIterator (you will need to rebuild all plugins and apps!)
24740
24741 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24742
24743         * gst/gstbin.c: (bin_bus_handler):
24744           Make default message forwarding from child->bus to bin->bus
24745           threadsafe and make it not emit warnings if the parent has no bus.
24746
24747 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24748
24749         * gst/gstelement.c: (activate_pads):
24750           On paused->ready, set pad->caps to NULL, as is the documented
24751           behaviour in this state change. Fixes playback of series of
24752           media files when visualization is enabled in Totem.
24753
24754 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24755
24756         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24757           Allow NULL as filter-caps (which means "any").
24758
24759 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24760
24761         * docs/libs/gstreamer-libs-sections.txt:
24762         * libs/gst/controller/gst-controller.c:
24763         * libs/gst/controller/gst-controller.h:
24764         * libs/gst/controller/gst-helper.c:
24765           adding more entries to the docs and fix small doc-bugs
24766
24767 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24768
24769         * docs/gst/gstreamer-docs.sgml:
24770         * docs/gst/gstreamer-sections.txt:
24771         * docs/gst/gstreamer.types:
24772         * docs/gst/tmpl/gstbasesink.sgml:
24773         * docs/gst/tmpl/gstbasesrc.sgml:
24774         * docs/gst/tmpl/gstbasetransform.sgml:
24775         * docs/gst/tmpl/gstfakesrc.sgml:
24776         * gst/base/gstcollectpads.c:
24777         * gst/base/gstcollectpads.h:
24778         * libs/gst/controller/gst-controller.c:
24779         * libs/gst/controller/gst-controller.h:
24780         * libs/gst/controller/gst-helper.c:
24781         * libs/gst/controller/gst-interpolation.c:
24782         * libs/gst/controller/lib.c:
24783           added long/short desc for controller docs
24784           added collectpads base class docs
24785           added correct includes to base-class docs
24786
24787 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24788
24789         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24790         (gst_test_mono_source_set_property),
24791         (gst_test_mono_source_class_init), (GST_START_TEST),
24792         (gst_controller_suite):
24793         * docs/gst/gstreamer-docs.sgml:
24794         * docs/gst/gstreamer-sections.txt:
24795         * docs/gst/gstreamer.types:
24796         * docs/libs/gstreamer-libs-docs.sgml:
24797         * docs/libs/gstreamer-libs-sections.txt:
24798         * gst/base/gstadapter.c:
24799         * libs/gst/controller/gst-controller.c:
24800         (gst_controlled_property_new), (gst_controlled_property_free),
24801         (gst_controller_new_valist),
24802         (gst_controller_remove_properties_valist),
24803         (gst_controller_sink_values), (_gst_controller_finalize):
24804         * libs/gst/controller/gst-controller.h:
24805         * libs/gst/controller/gst-helper.c:
24806         (gst_object_control_properties), (gst_object_uncontrol_properties),
24807         (gst_object_get_controller), (gst_object_set_controller),
24808         (gst_object_sink_values), (gst_object_get_value_arrays),
24809         (gst_object_get_value_array):
24810           more tests (and fixes) for the controller
24811           more docs for the controller
24812           integrated companies docs for the adapter 
24813
24814 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24815
24816         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24817         (GST_START_TEST), (fakesrc_suite):
24818           add tests for sizetype
24819
24820 2005-08-04  Andy Wingo  <wingo@pobox.com>
24821
24822         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24823         fixes buffer_alloc proxying among other things.
24824
24825         * gst/base/gstbasetransform.c:
24826         * gst/base/gstbasetransform.h:
24827         Revert patch to gstbasetransform from 7-28 removing
24828         delay_configure.
24829
24830         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24831         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24832         Semantics changed, should return not the size of the output buffer
24833         but the byte size of a buffer with a given caps.
24834
24835         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24836         debug object.
24837         (gst_base_transform_configure_caps): Don't set out_size here: (in,
24838         out) are not the pad caps until setcaps finishes.
24839         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24840         not-in-place case as well. Deal with changing from in-place to
24841         not-in-place within calling pad_alloc_buffer. Still a bit
24842         concerned about the overhead here...
24843
24844 2005-08-03  Andy Wingo  <wingo@pobox.com>
24845
24846         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24847         fixating is an error.
24848
24849 2005-08-04  Edward Hervey  <edward@fluendo.com>
24850
24851         * gst/base/gstadapter.h: 
24852         Added gst_adapter_get_type() to the header
24853
24854 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24855
24856         * check/Makefile.am:
24857         * check/gst-libs/controller.c:
24858         * libs/gst/controller/gst-controller.c:
24859         (gst_controller_new_valist):
24860           added check test suite for the controller
24861         * gst/base/gstpushsrc.c:
24862           fixed a doc typo
24863
24864 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24865
24866         * docs/gst/Makefile.am:
24867         * docs/gst/gstreamer-docs.sgml:
24868         * docs/gst/gstreamer-sections.txt:
24869         * docs/gst/gstreamer.types:
24870         * docs/gst/tmpl/gstfakesrc.sgml:
24871         * gst/base/README:
24872         * gst/base/gstbasesink.c:
24873         * gst/base/gstbasesink.h:
24874         * gst/base/gstbasesrc.c:
24875         * gst/base/gstbasesrc.h:
24876         * gst/base/gstbasetransform.c:
24877         * gst/base/gstpushsrc.c:
24878         * gst/base/gstpushsrc.h:
24879           add short/long description docs to base classes
24880           add pushsrc to the docs
24881           remove consolidated doc fragments
24882
24883 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24884
24885         * configure.ac:
24886         * docs/libs/Makefile.am:
24887         * docs/libs/gstreamer-libs-docs.sgml:
24888         * docs/libs/gstreamer-libs-sections.txt:
24889         * docs/libs/gstreamer-libs.types:
24890         * examples/Makefile.am:
24891         * examples/controller/.cvsignore:
24892         * examples/controller/Makefile.am:
24893         * examples/controller/audio-example.c: (main):
24894         * libs/gst/Makefile.am:
24895         * libs/gst/controller/.cvsignore:
24896         * libs/gst/controller/Makefile.am:
24897         * libs/gst/controller/gst-controller.c:
24898         (on_object_controlled_property_changed), (gst_timed_value_compare),
24899         (gst_timed_value_find),
24900         (gst_controlled_property_set_interpolation_mode),
24901         (gst_controlled_property_new), (gst_controlled_property_free),
24902         (gst_controller_find_controlled_property),
24903         (gst_controller_new_valist), (gst_controller_new),
24904         (gst_controller_remove_properties_valist),
24905         (gst_controller_remove_properties), (gst_controller_set),
24906         (gst_controller_set_from_list), (gst_controller_unset),
24907         (gst_controller_get), (gst_controller_get_all),
24908         (gst_controller_sink_values), (gst_controller_get_value_arrays),
24909         (gst_controller_get_value_array),
24910         (gst_controller_set_interpolation_mode),
24911         (_gst_controller_finalize), (_gst_controller_init),
24912         (_gst_controller_class_init), (gst_controller_get_type):
24913         * libs/gst/controller/gst-controller.h:
24914         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24915         (g_object_uncontrol_properties), (g_object_get_controller),
24916         (g_object_set_controller), (g_object_sink_values),
24917         (g_object_get_value_arrays), (g_object_get_value_array):
24918         * libs/gst/controller/gst-interpolation.c:
24919         (gst_controlled_property_find_timed_value_node),
24920         (interpolate_none_get), (interpolate_trigger_get),
24921         (interpolate_trigger_get_value_array):
24922         * libs/gst/controller/lib.c: (gst_controller_init):
24923         * pkgconfig/Makefile.am:
24924         * pkgconfig/gstreamer-control-uninstalled.pc.in:
24925         * pkgconfig/gstreamer-control.pc.in:
24926         * testsuite/Makefile.am:
24927         * testsuite/controller/.cvsignore:
24928         * testsuite/controller/Makefile.am:
24929         * testsuite/controller/interpolator.c: (main):
24930           added controller code
24931           removed dparam pc files
24932
24933 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24934         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24935         (gst_collectpads_stop):
24936           Broadcast the condition when shutting down, to make sure we wake all
24937           threads up. Shut down pads on finalize, for safety.
24938
24939 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24940         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24941         (gst_base_transform_handle_buffer),
24942         (gst_base_transform_change_state):
24943           Handle PAUSED->READY->PAUSED transition after negotiation
24944           occurred already.
24945         * gst/gstmessage.c: (gst_message_init):
24946           Extra piece of debug for new messages.
24947
24948 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
24949
24950         * configure.ac:
24951         * docs/gst/tmpl/gstbasesrc.sgml:
24952         * docs/gst/tmpl/gstelement.sgml:
24953         * docs/gst/tmpl/gstevent.sgml:
24954         * docs/gst/tmpl/gstfakesrc.sgml:
24955         * docs/gst/tmpl/gstformat.sgml:
24956         * docs/gst/tmpl/gstghostpad.sgml:
24957         * docs/gst/tmpl/gstpad.sgml:
24958         * docs/gst/tmpl/gstquery.sgml:
24959         * docs/gst/tmpl/gststructure.sgml:
24960         * docs/gst/tmpl/gsttaglist.sgml:
24961         * docs/gst/tmpl/gstvalue.sgml:
24962         * docs/libs/gstreamer-libs-docs.sgml:
24963         * docs/libs/gstreamer-libs-sections.txt:
24964         * docs/libs/gstreamer-libs.types:
24965         * libs/gst/Makefile.am:
24966         * libs/gst/control/.cvsignore:
24967         * libs/gst/control/Makefile.am:
24968         * libs/gst/control/control.c:
24969         * libs/gst/control/control.h:
24970         * libs/gst/control/dparam.c:
24971         * libs/gst/control/dparam.h:
24972         * libs/gst/control/dparam_smooth.c:
24973         * libs/gst/control/dparam_smooth.h:
24974         * libs/gst/control/dparamcommon.h:
24975         * libs/gst/control/dparammanager.c:
24976         * libs/gst/control/dparammanager.h:
24977         * libs/gst/control/dplinearinterp.c:
24978         * libs/gst/control/dplinearinterp.h:
24979         * libs/gst/control/unitconvert.c:
24980         * libs/gst/control/unitconvert.h:
24981         * testsuite/Makefile.am:
24982         * testsuite/dynparams/.cvsignore:
24983         * testsuite/dynparams/Makefile.am:
24984         * testsuite/dynparams/dparamstest.c:
24985         * tools/Makefile.am:
24986         * tools/gst-inspect.c: (print_element_info), (main):
24987         * tools/gst-xmlinspect.c: (print_element_info), (main):
24988           deactivate and remove dparams (libgstcontrol)
24989
24990 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24991
24992         * gst/elements/gsttypefindelement.c:
24993         (gst_type_find_element_have_type), (gst_type_find_element_init),
24994         (stop_typefinding), (gst_type_find_element_handle_event),
24995         (gst_type_find_element_chain), (gst_type_find_element_getrange):
24996         * gst/elements/gsttypefindelement.h:
24997           Set caps on all outgoing buffers, not just the first one.
24998
24999 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25000
25001         * gst/elements/gsttypefindelement.c:
25002         (gst_type_find_element_have_type),
25003         (gst_type_find_element_check_set_buffer_caps),
25004         (gst_type_find_element_init), (stop_typefinding),
25005         (gst_type_find_element_handle_event),
25006         (gst_type_find_element_chain), (gst_type_find_element_getrange):
25007         * gst/elements/gsttypefindelement.h:
25008           Set caps on first outgoing buffer when we've found the type.
25009
25010 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
25011
25012         * docs/gst/gstreamer-docs.sgml:
25013         * docs/gst/gstreamer-sections.txt:
25014         * docs/gst/tmpl/gstscheduler.sgml:
25015         * docs/gst/tmpl/gstschedulerfactory.sgml:
25016           Remove some old cruft from docs.
25017
25018 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
25019
25020         * gst/gstpad.h:
25021           Fix inline docs for GstPadLinkReturn.
25022           
25023         * gst/gststructure.c: (gst_structure_has_name):
25024         * gst/gststructure.h:
25025         * docs/gst/gstreamer-sections.txt:
25026           New API: gst_structure_has_name().
25027
25028 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
25029
25030         * configure.ac:
25031           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25032           and _LARGEFILE_SOURCE in config.h as required. Do not 
25033           export those flags in our .pc files any longer (#142209).
25034
25035           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25036
25037         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25038         (gst_file_sink_do_seek), (gst_file_sink_event),
25039         (gst_file_sink_get_current_offset), (gst_file_sink_render):
25040           Redo seek/tell calls with large file support in mind; add some
25041           debugging messages; add log message that tells us when large
25042           file support is unavailable or not enabled for some reason.
25043
25044         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25045           Add log message that tells us when large file support 
25046           is unavailable or not enabled for some reason.
25047
25048 2005-07-29  Wim Taymans  <wim@fluendo.com>
25049
25050         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25051         Added test for removing an element with ghostpad from a bin.
25052         Fixed test as current implementation does the right thing.
25053
25054         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25055         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25056         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25057         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25058         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25059         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25060         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25061         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25062         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25063         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25064         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25065         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25066         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25067         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25068         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25069         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25070         * gst/gstghostpad.h:
25071         Clean up ghostpads, remove properties for internal stuff.
25072         Make threadsafe.
25073         Fix refcounting.
25074         Prepare for switching targets, not all use cases work yet.
25075
25076 2005-07-29  Wim Taymans  <wim@fluendo.com>
25077
25078         * docs/design/part-gstghostpad.txt:
25079         Small update.
25080
25081         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25082         (gst_bin_remove_func):
25083         Unlinking pads while holding the bin LOCK is not a good
25084         idea.
25085
25086         * gst/gstpad.c: (gst_pad_class_init),
25087         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25088         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25089         No prob setting template after creating the pad.
25090
25091 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25092
25093         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25094         (gst_bus_peek), (gst_bus_source_dispatch),
25095         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25096         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25097           gst_bus_poll may be called from other threads. Handle
25098           this nicely by not making poll_data disappear off the
25099           stack once gst_bus_poll returns.
25100           gst_bus_peek now increments the refcount on the returned
25101           message.
25102
25103 2005-07-29  Wim Taymans  <wim@fluendo.com>
25104
25105         * docs/design/part-gstghostpad.txt:
25106         Overview of current GhostPad datastructures and use
25107         cases for changing the target.
25108
25109 2005-07-28  Wim Taymans  <wim@fluendo.com>
25110
25111         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25112         Added checks for hierarchy consistency whan adding linked
25113         elements to bins.
25114
25115         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25116         Added check to test element scheduling without bin/pipeline.
25117
25118         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25119         First add elements to bin, then link.
25120         
25121         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25122         (gst_bin_remove_func):
25123         Unlink pads from elements added/removed from bin to maintain
25124         hierarchy consistency.
25125
25126 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25127
25128         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25129         (gst_base_transform_handle_buffer):
25130         * gst/base/gstbasetransform.h:
25131           Remove broken delay_configure (fixes renegotiation of software
25132           scaling pipelines); remove some leftover printf()s.
25133
25134 2005-07-28  Wim Taymans  <wim@fluendo.com>
25135
25136         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25137         Added some more tests for wrong hierarchy
25138
25139         * docs/design/part-overview.txt:
25140         Some updates.
25141
25142         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25143         Cleanups.
25144
25145         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25146         (gst_element_dispose):
25147         Some more cleanups.
25148
25149         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25150         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25151         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25152         (gst_pad_set_caps), (gst_pad_send_event):
25153         Check for correct hierarchy when linking pads. Moving to
25154         strict requirement for ghostpads when linking elements in
25155         different bins.
25156
25157         * gst/gstpad.h:
25158         Clean ups. Added WRONG_HIERARCHY return value.
25159
25160 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25161
25162         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25163           Better debug if no transform is possible.
25164
25165 2005-07-27  Wim Taymans  <wim@fluendo.com>
25166
25167         * docs/random/wtay/network-transp:
25168         Some old doc I had.
25169
25170 2005-07-27  Wim Taymans  <wim@fluendo.com>
25171
25172         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25173         (gst_dp_event_from_packet):
25174         Fix serialization of seek events.
25175
25176 2005-07-27  Wim Taymans  <wim@fluendo.com>
25177
25178         * check/gst-libs/gdp.c: (GST_START_TEST):
25179         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25180         Fix compilation and fix event serialization.
25181
25182 2005-07-27  Wim Taymans  <wim@fluendo.com>
25183
25184         * CHANGES-0.9:
25185         * docs/design/part-TODO.txt:
25186         * docs/design/part-events.txt:
25187         Some docs updates
25188
25189         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25190         (gst_base_sink_event), (gst_base_sink_do_sync),
25191         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25192         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25193         (gst_base_src_do_seek), (gst_base_src_event_handler),
25194         (gst_base_src_loop):
25195         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25196         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25197         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25198         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25199         (gst_base_transform_set_passthrough),
25200         (gst_base_transform_is_passthrough):
25201         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25202         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25203         Event updates.
25204
25205         * gst/gstbuffer.h:
25206         Use faster casts.
25207
25208         * gst/gstelement.c: (gst_element_seek):
25209         * gst/gstelement.h:
25210         Update gst_element_seek.
25211
25212         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25213         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25214         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25215         (gst_event_new_eos), (gst_event_new_newsegment),
25216         (gst_event_parse_newsegment), (gst_event_new_tag),
25217         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25218         (gst_event_parse_qos), (gst_event_new_seek),
25219         (gst_event_parse_seek), (gst_event_new_navigation):
25220         * gst/gstevent.h:
25221         Make GstEvent use GstStructure. Add parsing code, make sure the
25222         API is sufficiently generic.
25223         Mark possible directions of events and serialization.
25224
25225         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25226         (_gst_message_copy), (gst_message_new_segment_start),
25227         (gst_message_new_segment_done), (gst_message_new_custom),
25228         (gst_message_parse_segment_start),
25229         (gst_message_parse_segment_done):
25230         Small cleanups.
25231
25232         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25233         (gst_pad_set_caps), (gst_pad_send_event):
25234         Update for new events. 
25235         Catch events sent in wrong directions.
25236
25237         * gst/gstqueue.c: (gst_queue_link_src),
25238         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25239         (gst_queue_handle_src_query):
25240         Event updates.
25241
25242         * gst/gsttag.c:
25243         * gst/gsttag.h:
25244         Remove event code from this file.
25245
25246         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25247         (gst_dp_event_from_packet):
25248         Event updates.
25249
25250 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25251
25252         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25253         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25254         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25255           Make debugging actually useful.
25256
25257 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25258
25259         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25260         (gst_pad_fixate_caps):
25261           Implement default fixation once again, so that gst_pad_fixate()
25262           actually does anything at all. This probably needs to be some
25263           sort of a last resort, and use profile-based fixation first, but
25264           since that doesn't exist yet, this is the best we have. Fixes
25265           visualization in Totem.
25266
25267 2005-07-22  Wim Taymans  <wim@fluendo.com>
25268
25269         * docs/design/part-events.txt:
25270         Small update.
25271
25272         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25273         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25274         (gst_base_sink_activate_pull):
25275         Some more comments.
25276
25277         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25278         (gst_fake_src_create):
25279         Fix handoff marshall.
25280
25281         * gst/elements/gstidentity.c: (gst_identity_class_init),
25282         (gst_identity_transform_ip):
25283         We're a real inplace element.
25284
25285         * gst/gstbus.c: (gst_bus_post):
25286         Added some comments.
25287
25288         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25289         * tests/muxing/case1.c: (main):
25290         * tests/sched/dynamic-pipeline.c: (main):
25291         * tests/sched/interrupt1.c: (main):
25292         * tests/sched/interrupt2.c: (main):
25293         * tests/sched/interrupt3.c: (main):
25294         * tests/sched/runxml.c: (main):
25295         * tests/sched/sched-stress.c: (main):
25296         * tests/seeking/seeking1.c: (event_received), (main):
25297         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25298         (main):
25299         * tests/threadstate/threadstate3.c: (main):
25300         * tests/threadstate/threadstate4.c: (main):
25301         * tests/threadstate/threadstate5.c: (main):
25302         Fix the tests.
25303
25304 2005-07-21  Wim Taymans  <wim@fluendo.com>
25305
25306         * docs/design/part-seeking.txt:
25307         Some small additions.
25308
25309         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25310         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25311         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25312         * gst/base/gstbasesink.h:
25313         discont values are gint64, handle the math correctly.
25314
25315         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25316         Make the basesrc report error if the source pad is not linked.
25317
25318         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25319         (gst_queue_loop), (gst_queue_handle_src_query),
25320         (gst_queue_src_activate_push):
25321         Make queue collect data even if the srcpad is not linked.
25322         Start pushing out data as soon as it is linked.
25323
25324         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25325         * gst/gstutils.h:
25326         Added gst_flow_get_name() to ease error reporting.
25327
25328 2005-07-20  Wim Taymans  <wim@fluendo.com>
25329
25330         * gst/gstmessage.c: (gst_message_new_segment_start),
25331         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25332         (gst_message_parse_segment_done):
25333         * gst/gstmessage.h:
25334         Added a bunch of messages for advanced seeking.
25335
25336         * gst/parse/grammar.y:
25337         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25338         (gst_dpman_state_changed):
25339         Fix some new-pad -> pad-added signals
25340
25341 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25342
25343         * docs/manual/appendix-porting.xml:
25344         * docs/pwg/appendix-porting.xml:
25345           Document new-pad/state-change signal renames and the FixedList
25346           type rename.
25347
25348 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25349
25350         * docs/manual/advanced-autoplugging.xml:
25351         * docs/manual/basics-helloworld.xml:
25352         * docs/manual/basics-pads.xml:
25353         * docs/random/ds/0.9-suggested-changes:
25354         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25355         * gst/gstelement.h:
25356         * gst/gstevent.h:
25357         * gst/gstformat.h:
25358         * gst/gstquery.h:
25359         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25360         (gst_structure_parse_array), (gst_structure_parse_value):
25361         * gst/gstvalue.c: (gst_type_is_fixed),
25362         (gst_value_list_prepend_value), (gst_value_list_append_value),
25363         (gst_value_list_get_size), (gst_value_list_get_value),
25364         (gst_value_transform_array_string), (gst_value_serialize_array),
25365         (gst_value_deserialize_array), (gst_value_intersect_array),
25366         (gst_value_is_fixed), (_gst_value_initialize):
25367         * gst/gstvalue.h:
25368           GstElement::new-pad -> pad-added, GstElement::state-change ->
25369           state-changed, GstValueFixedList -> GstValueArray, add format and
25370           flags as their own arguments in gst_element_seek() (should improve
25371           "bindeability"), remove function generators since they don't work
25372           under a whole bunch of compilers (they were deprecated already
25373           anyway).
25374
25375 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25376
25377         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25378         (_gst_debug_register_funcptr):
25379         * gst/gstinfo.h:
25380           Fix illegal cast on some platforms (#309253).
25381
25382 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25383
25384         * gst/gstmessage.c: (gst_message_new_custom):
25385         * gst/gstmessage.h:
25386           Add _new_custom, make _new_application a macro to _new_custom.
25387
25388 2005-07-20  Wim Taymans  <wim@fluendo.com>
25389
25390         * gst/base/gstbasesrc.c: (gst_base_src_init),
25391         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25392         * gst/base/gstbasesrc.h:
25393         Add a gboolean to decide when to push out a discont.
25394
25395         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25396         (gst_queue_loop), (gst_queue_handle_src_query),
25397         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25398         (gst_queue_set_property), (gst_queue_get_property):
25399         Some cleanups.
25400
25401         * tests/threadstate/threadstate1.c: (main):
25402         Make a thread test compile and run... very silly..
25403
25404
25405 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25406
25407         * docs/manual/appendix-porting.xml:
25408           Mention removal of libgstgconf-0.9.la and existence of gconf
25409           elements.
25410
25411 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25412
25413         * docs/pwg/advanced-clock.xml:
25414         * docs/pwg/appendix-porting.xml:
25415         * docs/pwg/intro-preface.xml:
25416         * docs/pwg/other-base.xml:
25417         * docs/pwg/other-manager.xml:
25418         * docs/pwg/other-nton.xml:
25419         * docs/pwg/other-ntoone.xml:
25420         * docs/pwg/other-oneton.xml:
25421         * docs/pwg/pwg.xml:
25422           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25423           demuxer), remove n-to-n (was never written), fix some code examples
25424           and links and update the porting section to include all this.
25425
25426 2005-07-19  Wim Taymans  <wim@fluendo.com>
25427
25428         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25429         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25430         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25431         (gst_queue_src_activate_push), (gst_queue_change_state),
25432         (gst_queue_get_property):
25433         * gst/gstqueue.h:
25434         Propagate GstFlowReturn more intelligently upstream and output
25435         an ERROR/EOS when streaming stopped due to fatal error.
25436
25437 2005-07-19  Wim Taymans  <wim@fluendo.com>
25438
25439         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25440         Don't block forever for the state change to complete, the
25441         pipeline already did with a sensible timeout.
25442
25443 2005-07-19  Wim Taymans  <wim@fluendo.com>
25444
25445         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25446         Make sure we never call the create function is we
25447         got deactivated.
25448
25449 2005-07-19  Andy Wingo  <wingo@pobox.com>
25450
25451         * gst/parse/parse.l: Attempt to solve bug #172815.
25452
25453 2005-07-19  Wim Taymans  <wim@fluendo.com>
25454
25455         * docs/design/part-clocks.txt:
25456         * docs/design/part-events.txt:
25457         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25458         Small docs updates.
25459         Only update the seeking values when we are not
25460         busy streaming.
25461
25462 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25463
25464         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25465           Oops, ignore the result of gst_pad_push_event here.
25466
25467 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25468
25469         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25470         (gst_base_src_activate_push):
25471           Send discont event from the loop function, as pads
25472           aren't activated yet in the activate_push handler.
25473
25474         * gst/gstbin.c: (bin_bus_handler):
25475           Don't leak element name.
25476
25477 2005-07-18  Andy Wingo  <wingo@pobox.com>
25478
25479         * configure.ac: Use AS_LIBTOOL_TAGS.
25480
25481 2005-07-18  Wim Taymans  <wim@fluendo.com>
25482
25483         * docs/gst/gstreamer.types:
25484         Remove deleted types.
25485
25486 2005-07-18  Wim Taymans  <wim@fluendo.com>
25487
25488         * check/elements/gstfakesrc.c: (GST_START_TEST):
25489         * configure.ac:
25490         * gst/Makefile.am:
25491         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25492         (init_popt_callback):
25493         * gst/gst.h:
25494         * gst/gst_private.h:
25495         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25496         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25497         * gst/gstbin.h:
25498         * gst/gstbus.h:
25499         * gst/gstconfig.h.in:
25500         * gst/gstelement.c: (gst_element_class_init),
25501         (gst_element_set_base_time), (gst_element_get_base_time),
25502         (iterator_fold_with_resync), (gst_element_change_state),
25503         (gst_element_dispose), (gst_element_get_bus):
25504         * gst/gstelement.h:
25505         * gst/gstelementfactory.h:
25506         * gst/gsterror.c: (_gst_core_errors_init):
25507         * gst/gsterror.h:
25508         * gst/gstevent.h:
25509         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25510         * gst/gstindex.c:
25511         * gst/gstinfo.c: (_gst_debug_init):
25512         * gst/gstmessage.c: (_gst_message_copy):
25513         * gst/gstmessage.h:
25514         * gst/gstminiobject.h:
25515         * gst/gstobject.c:
25516         * gst/gstobject.h:
25517         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25518         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25519         * gst/gstpad.h:
25520         * gst/gstparse.h:
25521         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25522         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25523         (gst_pipeline_get_last_stream_time):
25524         * gst/gstpipeline.h:
25525         * gst/gstpluginfeature.h:
25526         * gst/gstquery.h:
25527         * gst/gstscheduler.c:
25528         * gst/gstscheduler.h:
25529         * gst/gststructure.h:
25530         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25531         (gst_task_finalize), (gst_task_func), (gst_task_create),
25532         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25533         (gst_task_stop), (gst_task_pause):
25534         * gst/gsttask.h:
25535         * gst/gsttypefind.h:
25536         * gst/gsttypes.h:
25537         * gst/registries/gstlibxmlregistry.c: (load_feature),
25538         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25539         * gst/registries/gstxmlregistry.c:
25540         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25541         * gst/schedulers/threadscheduler.c:
25542         * libs/gst/control/dparammanager.h:
25543         * tools/gst-inspect.c: (print_element_list),
25544         (print_plugin_features), (print_element_features):
25545         * tools/gst-xmlinspect.c: (print_element_list),
25546         (print_plugin_info), (main):
25547         Removed plugable schedulers.
25548         Removed Scheduler/Manager from elements.
25549         Removed gsttypes.h, rearranged includes.
25550         Removed dependency pad<->element, element<>pipeline, and
25551         various others,  fix includes.
25552         implement gst_pad_get_parent() with gst_object_get_parent()
25553         Make GstTask sefcontained.
25554         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25555         timeout.
25556         Fix endless loop in iterator_fold_with_resync.
25557
25558
25559 2005-07-18  Wim Taymans  <wim@fluendo.com>
25560
25561         * gst/Makefile.am:
25562         * gst/gstarch.h:
25563         Remove old file.
25564
25565 2005-07-18  Wim Taymans  <wim@fluendo.com>
25566
25567         * gst/Makefile.am:
25568         No more cothreads.h
25569
25570 2005-07-18  Wim Taymans  <wim@fluendo.com>
25571
25572         * gst/cothreads.c:
25573         * gst/cothreads.h:
25574         Let's remove these.
25575
25576 2005-07-18  Wim Taymans  <wim@fluendo.com>
25577
25578         * docs/design/part-dynamic.txt:
25579         * docs/design/part-events.txt:
25580         * docs/design/part-seeking.txt:
25581         Some more docs in the works.
25582
25583         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25584         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25585         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25586         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25587         (gst_base_transform_handle_buffer),
25588         (gst_base_transform_sink_activate_push),
25589         (gst_base_transform_src_activate_pull),
25590         (gst_base_transform_set_passthrough),
25591         (gst_base_transform_is_passthrough):
25592         Refcounting fixes.
25593
25594         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25595         Cleanups.
25596
25597         * gst/gstevent.c: (gst_event_finalize):
25598         Set SRC to NULL.
25599
25600         * gst/gstutils.c: (gst_element_unlink),
25601         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25602         (gst_pad_proxy_setcaps):
25603         * gst/gstutils.h:
25604         Add _get_parent_element() to get a pads parent as an element.
25605
25606 2005-07-18  Wim Taymans  <wim@fluendo.com>
25607
25608         * check/gst/gstbin.c: (GST_START_TEST):
25609         Remove bogus test.
25610
25611 2005-07-18  Wim Taymans  <wim@fluendo.com>
25612
25613         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25614         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25615         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25616         (gst_base_sink_event), (gst_base_sink_do_sync),
25617         (gst_base_sink_chain), (gst_base_sink_loop),
25618         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25619         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25620         Refcounting fixes.
25621         Fix logic for returning ASYNC when not prerolled.
25622
25623 2005-07-18  Wim Taymans  <wim@fluendo.com>
25624
25625         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25626         Fix nasty refcount bug.
25627
25628 2005-07-16 Philippe Khalaf <burger@speedy.org>
25629
25630         * gst/elements/gstfdsrc.c:
25631         * gst/elements/gstfdsrc.h:
25632         * gst/elements/gstelements.c:
25633         * gst/elements/Makefile.am:
25634         Ported fdsrc to 0.9.
25635
25636 2005-07-16  Wim Taymans  <wim@fluendo.com>
25637
25638         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25639         (gst_base_sink_do_sync):
25640         Fix compile error.
25641
25642 2005-07-16  Wim Taymans  <wim@fluendo.com>
25643
25644         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25645         (gst_base_sink_event), (gst_base_sink_get_times),
25646         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25647         * gst/base/gstbasesink.h:
25648         Store and use discont values when syncing buffers as described
25649         in design docs.
25650         
25651         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25652         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25653         (gst_base_src_activate_push):
25654         Push discont event when starting.
25655
25656         * gst/elements/gstidentity.c: (gst_identity_transform):
25657         Small cleanups.
25658
25659         * gst/gstbin.c: (gst_bin_change_state):
25660         Small cleanups in base_time  distribution.
25661
25662         * gst/gstelement.c: (gst_element_set_base_time),
25663         (gst_element_get_base_time), (gst_element_change_state):
25664         * gst/gstelement.h:
25665         Added methods for the base_time of the element.
25666         Some MT fixes.
25667
25668         * gst/gstpipeline.c: (gst_pipeline_send_event),
25669         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25670         (gst_pipeline_get_last_stream_time):
25671         * gst/gstpipeline.h:
25672         MT fixes.
25673         Handle seeking as described in design doc, remove stream_time
25674         hack.
25675         Cleanups clock and stream_time selection code. Added accessors
25676         for the stream_time.
25677         
25678
25679 2005-07-16  Andy Wingo  <wingo@pobox.com>
25680
25681         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25682         (#305291).
25683
25684 2005-07-16  Wim Taymans  <wim@fluendo.com>
25685
25686         * check/gst/gstbin.c: (GST_START_TEST):
25687         Make elements silent as the deep_notify refs the
25688         parent, which might make the test fail.
25689
25690         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25691         Don't hold the lock for too long.
25692
25693 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
25694
25695         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25696           Don't unref the caps we passed to gst_caps_make_writable() after
25697           passing them. gst_caps_make_writable() will do that for us.
25698
25699 2005-07-15  Andy Wingo  <wingo@pobox.com>
25700
25701         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25702         (#157311).
25703
25704         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25705         own marshalling function for the handoff signal. Properly type the
25706         buffer as a buffer. Fixes some warnings. Should do a more general
25707         solution.
25708         (gst_identity_class_init): Plug into the right marshaller.
25709
25710 2005-07-15  Wim Taymans  <wim@fluendo.com>
25711
25712         * docs/design/part-TODO.txt:
25713         * docs/design/part-clocks.txt:
25714         * docs/design/part-element-sink.txt:
25715         * docs/design/part-events.txt:
25716         * docs/design/part-gstpipeline.txt:
25717         Updated docs, mostly DISCONT related.
25718
25719 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
25720
25721         * docs/pwg/building-pads.xml:
25722           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25723
25724 2005-07-15  Andy Wingo  <wingo@pobox.com>
25725
25726         * tools/gst-typefind.c: Update, add copyright block.
25727
25728         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25729         Normalize and truncate caps before fixation.
25730
25731         * gst/gstcaps.h:
25732         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25733         discards all but the first structure from its argument.
25734
25735 2005-07-15  Wim Taymans  <wim@fluendo.com>
25736
25737         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25738         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25739         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25740         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25741         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25742         (gst_base_transform_chain), (gst_base_transform_change_state),
25743         (gst_base_transform_set_passthrough),
25744         (gst_base_transform_is_passthrough):
25745         * gst/base/gstbasetransform.h:
25746         Make passthrough work using the bufferpools.
25747         Changed API a bit, subclasses have to write into a buffer
25748         provided by the base class.
25749         More debug info in nego functions.
25750         
25751         * gst/elements/gstidentity.c: (gst_identity_init),
25752         (gst_identity_transform):
25753         Port to new base class.
25754
25755 2005-07-15  Wim Taymans  <wim@fluendo.com>
25756
25757         * gst/gstmessage.c: (gst_message_new_state_changed):
25758         * tools/gst-launch.c: (event_loop), (main):
25759         Totally dump messages in -launch with the -m option.
25760         Fix message name for State messages,
25761
25762 2005-07-14  Wim Taymans  <wim@fluendo.com>
25763
25764         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25765         Post error messages on errors.
25766
25767 2005-07-14  Wim Taymans  <wim@fluendo.com>
25768
25769         * gst/gstcaps.c: (gst_caps_do_simplify):
25770         Remove debug info.
25771
25772         * gst/gsterror.h:
25773         Define error for stream stopped.
25774
25775         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25776         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25777         Do proper return values.
25778
25779         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25780         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25781         (gst_pad_get_range):
25782         Better return values.
25783
25784         * gst/gstpad.h:
25785         Reorganise return values, add macro to check for fatal errors.
25786
25787         * gst/gstqueue.c: (gst_queue_chain):
25788         Return proper GstFlowReturn values,
25789
25790 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
25791
25792         * docs/gst/gstreamer-sections.txt:
25793         * docs/gst/gstreamer.types:
25794         * docs/gst/tmpl/gst.sgml:
25795         * docs/gst/tmpl/gstbasesink.sgml:
25796         * docs/gst/tmpl/gstbasesrc.sgml:
25797         * docs/gst/tmpl/gstbasetransform.sgml:
25798         * docs/gst/tmpl/gstbin.sgml:
25799         * docs/gst/tmpl/gstbuffer.sgml:
25800         * docs/gst/tmpl/gstcaps.sgml:
25801         * docs/gst/tmpl/gstclock.sgml:
25802         * docs/gst/tmpl/gstcompat.sgml:
25803         * docs/gst/tmpl/gstconfig.sgml:
25804         * docs/gst/tmpl/gstelement.sgml:
25805         * docs/gst/tmpl/gstelementdetails.sgml:
25806         * docs/gst/tmpl/gstelementfactory.sgml:
25807         * docs/gst/tmpl/gstenumtypes.sgml:
25808         * docs/gst/tmpl/gsterror.sgml:
25809         * docs/gst/tmpl/gstevent.sgml:
25810         * docs/gst/tmpl/gstfakesink.sgml:
25811         * docs/gst/tmpl/gstfakesrc.sgml:
25812         * docs/gst/tmpl/gstfilesink.sgml:
25813         * docs/gst/tmpl/gstfilesrc.sgml:
25814         * docs/gst/tmpl/gstfilter.sgml:
25815         * docs/gst/tmpl/gstformat.sgml:
25816         * docs/gst/tmpl/gstghostpad.sgml:
25817         * docs/gst/tmpl/gstimplementsinterface.sgml:
25818         * docs/gst/tmpl/gstindex.sgml:
25819         * docs/gst/tmpl/gstindexfactory.sgml:
25820         * docs/gst/tmpl/gstinfo.sgml:
25821         * docs/gst/tmpl/gstiterator.sgml:
25822         * docs/gst/tmpl/gstmacros.sgml:
25823         * docs/gst/tmpl/gstmemchunk.sgml:
25824         * docs/gst/tmpl/gstminiobject.sgml:
25825         * docs/gst/tmpl/gstobject.sgml:
25826         * docs/gst/tmpl/gstpad.sgml:
25827         * docs/gst/tmpl/gstpadtemplate.sgml:
25828         * docs/gst/tmpl/gstparse.sgml:
25829         * docs/gst/tmpl/gstpipeline.sgml:
25830         * docs/gst/tmpl/gstplugin.sgml:
25831         * docs/gst/tmpl/gstpluginfeature.sgml:
25832         * docs/gst/tmpl/gstquery.sgml:
25833         * docs/gst/tmpl/gstqueue.sgml:
25834         * docs/gst/tmpl/gstregistry.sgml:
25835         * docs/gst/tmpl/gstregistrypool.sgml:
25836         * docs/gst/tmpl/gstscheduler.sgml:
25837         * docs/gst/tmpl/gstschedulerfactory.sgml:
25838         * docs/gst/tmpl/gststructure.sgml:
25839         * docs/gst/tmpl/gstsystemclock.sgml:
25840         * docs/gst/tmpl/gsttaglist.sgml:
25841         * docs/gst/tmpl/gsttagsetter.sgml:
25842         * docs/gst/tmpl/gsttrace.sgml:
25843         * docs/gst/tmpl/gsttrashstack.sgml:
25844         * docs/gst/tmpl/gsttypefind.sgml:
25845         * docs/gst/tmpl/gsttypefindfactory.sgml:
25846         * docs/gst/tmpl/gsttypes.sgml:
25847         * docs/gst/tmpl/gsturihandler.sgml:
25848         * docs/gst/tmpl/gsturitype.sgml:
25849         * docs/gst/tmpl/gstutils.sgml:
25850         * docs/gst/tmpl/gstvalue.sgml:
25851         * docs/gst/tmpl/gstversion.sgml:
25852         * docs/gst/tmpl/gstxml.sgml:
25853         * docs/libs/tmpl/gstcontrol.sgml:
25854         * docs/libs/tmpl/gstdataprotocol.sgml:
25855         * docs/libs/tmpl/gstdparam.sgml:
25856         * docs/libs/tmpl/gstdplinint.sgml:
25857         * docs/libs/tmpl/gstdpman.sgml:
25858         * docs/libs/tmpl/gstdpsmooth.sgml:
25859         * docs/libs/tmpl/gstgetbits.sgml:
25860         * docs/libs/tmpl/gstunitconvert.sgml:
25861         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25862         (gst_push_src_base_init), (gst_push_src_class_init),
25863         (gst_push_src_init), (gst_push_src_create):
25864         * gst/base/gstpushsrc.h:
25865         * gst/elements/gstelements.c:
25866         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25867         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25868         (gst_fake_sink_init), (gst_fake_sink_set_property),
25869         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25870         (gst_fake_sink_event), (gst_fake_sink_preroll),
25871         (gst_fake_sink_render), (gst_fake_sink_change_state):
25872         * gst/elements/gstfakesink.h:
25873         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25874         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25875         (gst_fake_src_base_init), (gst_fake_src_class_init),
25876         (gst_fake_src_init), (gst_fake_src_event_handler),
25877         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25878         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25879         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25880         (gst_fake_src_create_buffer), (gst_fake_src_create),
25881         (gst_fake_src_start), (gst_fake_src_stop):
25882         * gst/elements/gstfakesrc.h:
25883         * gst/elements/gstfilesink.c: (_do_init),
25884         (gst_file_sink_base_init), (gst_file_sink_class_init),
25885         (gst_file_sink_init), (gst_file_sink_dispose),
25886         (gst_file_sink_set_location), (gst_file_sink_set_property),
25887         (gst_file_sink_get_property), (gst_file_sink_open_file),
25888         (gst_file_sink_close_file), (gst_file_sink_query),
25889         (gst_file_sink_event), (gst_file_sink_render),
25890         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25891         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25892         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25893         * gst/elements/gstfilesink.h:
25894         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25895         (gst_file_src_class_init), (gst_file_src_init),
25896         (gst_file_src_finalize), (gst_file_src_set_location),
25897         (gst_file_src_set_property), (gst_file_src_get_property),
25898         (gst_file_src_map_region), (gst_file_src_map_small_region),
25899         (gst_file_src_create_mmap), (gst_file_src_create_read),
25900         (gst_file_src_create), (gst_file_src_is_seekable),
25901         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25902         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25903         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25904         (gst_file_src_uri_handler_init):
25905         * gst/elements/gstfilesrc.h:
25906           more autistic cleanliness in functions/names/defines
25907
25908 2005-07-13  Andy Wingo  <wingo@pobox.com>
25909
25910         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25911         source couldn't negotiate.
25912
25913         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25914         connections again.
25915
25916         * gst/gstutils.h:
25917         * gst/gstutils.c (gst_element_link_pads_filtered): New old
25918         function. I am channeling Hades. Put your boots on suckers!!!
25919
25920 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25921
25922         * testsuite/caps/Makefile.am:
25923         * testsuite/caps/value_compare.c:
25924         * testsuite/caps/value_intersect.c:
25925         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25926           move two testsuite apps over to the check dir
25927
25928 2005-07-12  Wim Taymans  <wim@fluendo.com>
25929
25930         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25931         Added more debug info in the negotiate process.
25932
25933         * gst/gstmessage.h:
25934         Prepare for segment playback.
25935
25936         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25937         Better debugging.
25938
25939         * gst/gstutils.c:
25940         Some more docs.
25941
25942         * tools/gst-launch.c: (main):
25943         NULL pipeline on errors.
25944
25945 2005-07-12  Andy Wingo  <wingo@pobox.com>
25946
25947         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25948         not it comes from a malloc region. Make sure our copy gets freed.
25949
25950 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25951
25952         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25953         * check/gst/gstmessage.c: (GST_START_TEST):
25954         * check/gst/gststructure.c: (GST_START_TEST),
25955         (gst_structure_suite), (main):
25956           more testing
25957         * gst/gstelement.c: (gst_element_message_full):
25958           clean up GError and debug string now that they get copied
25959         * gst/gstmessage.c: (gst_message_new_error),
25960         (gst_message_new_warning), (gst_message_parse_error),
25961         (gst_message_parse_warning):
25962           use GST_TYPE_G_ERROR for structure_new, and take copies of
25963           arguments, so that we don't mess up refcounting
25964
25965 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25966
25967         * check/Makefile.am:
25968           add per-test valgrind targets
25969         * check/gst-libs/gdp.c: (GST_START_TEST),
25970         (gst_data_protocol_suite), (main):
25971           clean up
25972
25973 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25974
25975         * check/Makefile.am:
25976           instate more valgrindable tests
25977         * check/elements/gstfakesrc.c: (chain_func), (event_func),
25978         (GST_START_TEST), (fakesrc_suite):
25979         * check/gst/gstpad.c: (GST_START_TEST):
25980         * check/gst/gststructure.c: (GST_START_TEST):
25981           fix test leaks
25982         * docs/gst/tmpl/gstminiobject.sgml:
25983         * gst/gstpad.c: (gst_pad_finalize):
25984           fix the static mutex leak
25985
25986 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25987
25988         * check/Makefile.am:
25989           add two more tests for valgrinding
25990         * check/gst/gstvalue.c: (GST_START_TEST):
25991           test refcount of deserialized buffer, found a leak
25992         * docs/gst/gstreamer-docs.sgml:
25993         * docs/gst/gstreamer-sections.txt:
25994         * docs/gst/gstreamer.types:
25995         * docs/gst/tmpl/gstminiobject.sgml:
25996           add miniobject to docs
25997         * gst/gstminiobject.c:
25998           add some docs
25999         * gst/gstvalue.c: (gst_value_deserialize_buffer),
26000         (gst_string_unwrap):
26001           fix a hard-to-find invalid write for one of the tests
26002           fix a leak for deserialized buffers
26003
26004 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26005
26006         * docs/pwg/advanced-events.xml:
26007         * docs/pwg/advanced-request.xml:
26008         * docs/pwg/advanced-scheduling.xml:
26009         * docs/pwg/appendix-porting.xml:
26010         * docs/pwg/building-boiler.xml:
26011         * docs/pwg/intro-preface.xml:
26012         * docs/pwg/other-ntoone.xml:
26013           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26014           of example code and explanation for pad activation, loop() and
26015           getrange() functions and a bit more. Remove old comments pointing
26016           to loop-functions.
26017         * examples/pwg/Makefile.am:
26018           Add loop/getrange examples.
26019
26020 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26021
26022         * configure.ac:
26023           check for valgrind binary + some fixes
26024         * check/gst.supp:
26025           valgrind suppressions for the tests
26026         * check/Makefile.am:
26027           add a valgrind: target that valgrinds the unit tests
26028         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26029         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26030         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26031         * check/gst/gstghostpad.c:
26032           added some cleanup
26033         * check/gst/gstdata.c:
26034           removed
26035         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26036         (thread_unref), (gst_mini_object_suite), (main):
26037           added
26038         * gst/gst.c: (gst_deinit):
26039         * gst/gst.h:
26040           add a method to clean up.
26041         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26042         (gst_system_clock_obtain):
26043           allow for disposing the system clock.
26044         * tools/gst-launch.c: (main):
26045           deinit
26046
26047 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
26048
26049         * docs/gst/tmpl/gstbasesrc.sgml:
26050         * docs/gst/tmpl/gstfakesrc.sgml:
26051         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26052         (gst_base_src_init), (gst_base_src_set_property),
26053         (gst_base_src_get_property), (gst_base_src_get_range),
26054         (gst_base_src_start):
26055         * gst/base/gstbasesrc.h:
26056           add num-buffers property
26057         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26058         (gst_fakesrc_init), (gst_fakesrc_set_property),
26059         (gst_fakesrc_get_property), (gst_fakesrc_create),
26060         (gst_fakesrc_start):
26061           remove num-buffers property
26062
26063 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26064
26065         * docs/gst/gstreamer-sections.txt:
26066         * docs/gst/tmpl/gstbasesink.sgml:
26067         * docs/gst/tmpl/gstbasesrc.sgml:
26068         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26069         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26070         (gst_base_sink_finalize), (gst_base_sink_set_clock),
26071         (gst_base_sink_set_property), (gst_base_sink_get_property),
26072         (gst_base_sink_handle_object), (gst_base_sink_event),
26073         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26074         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26075         (gst_base_sink_loop), (gst_base_sink_deactivate),
26076         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26077         (gst_base_sink_change_state):
26078         * gst/base/gstbasesink.h:
26079         * gst/base/gstbasesrc.h:
26080         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26081         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26082         (gst_filesink_init):
26083           more macro splitting
26084
26085 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26086
26087         * gst/gstelement.c: (gst_element_get_bus):
26088           add debug
26089         * tools/gst-launch.c: (check_intr), (event_loop):
26090           fix bus leaks
26091
26092 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26093
26094         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26095           fix a caps leak
26096
26097 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26098
26099         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26100         (gst_base_src_finalize):
26101           add finalize method and clean up properly
26102         * gst/gstpipeline.c: (gst_pipeline_dispose):
26103           add debug
26104
26105 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26106
26107         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26108         (gst_bin_suite):
26109           add more things to check
26110         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26111         * gst/gstelement.c:
26112           more debug
26113
26114 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26115
26116         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26117         (GST_START_TEST), (fakesrc_suite):
26118         * check/gst-libs/gdp.c: (GST_START_TEST):
26119         * check/gst/gst.c: (GST_START_TEST):
26120         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26121         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26122         * check/gst/gstbus.c: (GST_START_TEST):
26123         * check/gst/gstcaps.c: (GST_START_TEST):
26124         * check/gst/gstdata.c: (GST_START_TEST):
26125         * check/gst/gstelement.c: (GST_START_TEST):
26126         * check/gst/gstghostpad.c: (GST_START_TEST):
26127         * check/gst/gstiterator.c: (GST_START_TEST):
26128         * check/gst/gstmessage.c: (GST_START_TEST):
26129         * check/gst/gstobject.c: (GST_START_TEST):
26130         * check/gst/gstpad.c: (GST_START_TEST):
26131         * check/gst/gststructure.c: (GST_START_TEST):
26132         * check/gst/gstsystemclock.c: (GST_START_TEST),
26133         (gst_systemclock_suite):
26134         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26135         * check/gst/gstvalue.c: (GST_START_TEST):
26136         * check/pipelines/cleanup.c: (GST_START_TEST):
26137         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26138         * check/states/sinks.c: (GST_START_TEST):
26139         * check/gstcheck.c: (gst_check_init):
26140         * check/gstcheck.h:
26141           add debugging category
26142           use GST_START_TEST now, so we add a debug line
26143
26144 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26145
26146         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26147           add test for state change message on a bin
26148         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26149           add another test
26150         * gst/gstbin.c: (gst_bin_init):
26151         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26152         * gst/gstelement.c: (gst_element_post_message),
26153         (gst_element_set_state):
26154         * gst/gstelementfactory.c: (gst_element_factory_create):
26155         * gst/gstmessage.c: (gst_message_new):
26156         * gst/gstscheduler.c:
26157           various debugging additions and cleanups
26158
26159 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26160
26161         * check/Makefile.am:
26162         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26163         (main):
26164           adding tests for elements
26165         * gst/gstelement.c: (gst_element_dispose):
26166
26167 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26168
26169         * gst/registries/gstlibxmlregistry.c: (load_feature):
26170           plug more leaks.  A simple gst_init() now is leakfree, yay.
26171
26172 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26173
26174         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26175         (gst_xml_registry_load):
26176           plug another memleak
26177
26178 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26179
26180         * configure.ac:
26181           use GST_SET_ERROR_CFLAGS
26182         * docs/faq/cvs.xml:
26183           change to ERROR_CFLAGS
26184
26185 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26186
26187         * configure.ac:
26188           make GST_ERROR_CFLAGS overridable and re-enable Werror
26189         * docs/faq/cvs.xml:
26190           add a note about error CFLAGS
26191         * docs/gst/tmpl/gstfakesrc.sgml:
26192         * gst/elements/gstfakesrc.c:
26193           comment out some unused code
26194         * gst/gst.c: (split_and_iterate):
26195         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26196         (load_feature):
26197           plug some memleaks
26198
26199 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26200
26201         * common/Makefile.am:
26202         * common/gtk-doc.mak:
26203         * docs/gst/Makefile.am:
26204           factor out gtk-doc.mak
26205
26206 2005-07-07  Wim Taymans  <wim@fluendo.com>
26207
26208         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26209         (gst_thread_scheduler_dispose):
26210         Unlock the STREAM_LOCK completely.
26211
26212 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26213
26214         * check/Makefile.am:
26215         * check/elements/.cvsignore:
26216         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26217         (START_TEST), (fakesrc_suite), (main):
26218         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26219         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26220         (gst_fakesrc_create), (gst_fakesrc_start):
26221         * gst/elements/gstfakesrc.h:
26222           adding a first element test
26223
26224 2005-07-07  Andy Wingo  <wingo@pobox.com>
26225
26226         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26227         debug message.
26228
26229 2005-07-07  Wim Taymans  <wim@fluendo.com>
26230
26231         * gst/gstquery.c:
26232         * gst/gstquery.h:
26233         Remove old types
26234
26235 2005-07-07  Wim Taymans  <wim@fluendo.com>
26236
26237         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26238         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26239         Allow subclasses to implement their own negotiation.
26240
26241 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26242
26243         * docs/design/part-gstbin.txt:
26244         * docs/design/part-gstpipeline.txt:
26245           Update design notes to reflect the movement of
26246           responsibility for bus handling from GstPipeline to
26247           GstBin
26248
26249 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26250
26251         * configure.ac:
26252           Remove unnecessary queue2/3/4 examples.
26253
26254 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26255
26256         * examples/Makefile.am:
26257         * examples/helloworld/helloworld.c: (event_loop), (main):
26258         * examples/queue/queue.c: (event_loop), (main):
26259         * examples/queue2/queue2.c: (main):
26260           Update a couple of the examples to work again.
26261
26262         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26263         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26264          Spelling corrections and extra debug.
26265         
26266         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26267         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26268         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26269         * gst/gstbin.h:
26270         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26271         (gst_pipeline_change_state):
26272         * gst/gstpipeline.h:
26273           Move the bus handler for children to the GstBin, and create a
26274           separate bus for receiving messages from children to the one the
26275           bus sends 'upwards' on.
26276
26277 2005-07-06  Wim Taymans  <wim@fluendo.com>
26278
26279         * gst/base/README:
26280         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26281         (gst_base_sink_handle_object), (gst_base_sink_loop),
26282         (gst_base_sink_change_state):
26283         * gst/base/gstbasesink.h:
26284         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26285         (gst_base_src_init), (gst_base_src_setcaps),
26286         (gst_base_src_getcaps), (gst_base_src_loop),
26287         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26288         (gst_base_src_start), (gst_base_src_change_state):
26289         * gst/base/gstbasesrc.h:
26290         Make basesrc negotiate.
26291         Handle the case where preroll fails in basesink.
26292         Update README.
26293
26294 2005-07-06  Wim Taymans  <wim@fluendo.com>
26295
26296         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26297         Implement the fixate function.
26298         Clean up acceptcaps.
26299
26300 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26301
26302         * docs/pwg/building-filterfactory.xml:
26303         * docs/pwg/pwg.xml:
26304           Remove never-written filter-factory chapter; I'll add the various
26305           base classes to part 4 ("other element types") later on.
26306
26307 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26308
26309         * docs/pwg/advanced-negotiation.xml:
26310         * docs/pwg/building-boiler.xml:
26311         * docs/pwg/building-pads.xml:
26312         * docs/pwg/pwg.xml:
26313         * examples/pwg/Makefile.am:
26314           Add a chapter on caps negotiation, simplify the original code
26315           samples a bit w.r.t. caps negotiation, add link to the advanced
26316           section. Add a bunch of examples showing different use cases of
26317           different types of caps negotiation. Upstream renegotiation isn't
26318           fully documented yet since nobody knows how that works.
26319
26320 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26321
26322         * check/gst/gstpad.c:
26323         * check/gstcheck.c:
26324         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26325           if pad has no parent, return NULL as list of internal links
26326
26327 2005-07-05  Andy Wingo  <wingo@pobox.com>
26328
26329         * gst/elements/gstfilesrc.c:
26330         * gst/elements/gstfakesrc.c: 
26331         * gst/base/gstpushsrc.c:
26332         * gst/base/gstbasesrc.h: 
26333         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26334         
26335 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26336
26337         * Makefile.am:
26338           better report generation target (lcov needs a patch)
26339
26340 2005-07-05  Andy Wingo  <wingo@pobox.com>
26341
26342         * gst/elements, testsuite: Null if we got it...
26343
26344 2005-07-05  Wim Taymans  <wim@fluendo.com>
26345
26346         * configure.ac:
26347         * libs/gst/dataprotocol/Makefile.am:
26348         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26349         * libs/gst/dataprotocol/dataprotocol.h:
26350         * pkgconfig/Makefile.am:
26351         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26352         * pkgconfig/gstreamer-dataprotocol.pc.in:
26353         Ported dataprotol to 0.9. 
26354         Added pkgconfig files.
26355
26356 2005-07-05  Andy Wingo  <wingo@pobox.com>
26357
26358         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26359         Default to returning TRUE for the case when tranform_caps returns
26360         a fixed caps, like for identity or volume.
26361
26362         * check/gst/gstbus.c (pound_bus_with_messages): 
26363         * check/gst/gstmessage.c (START_TEST): 
26364         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26365         message API change.
26366
26367         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26368         logic weaks here: always run transform_caps, trying passthrough
26369         operation only if the original caps intersects with the transform.
26370
26371         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26372         source and sink caps.
26373
26374         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26375         Intersect the peer caps with the pad template before going into
26376         transform_caps.
26377         (gst_base_transform_transform_caps): More debugging.
26378
26379         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26380         src argument.
26381
26382 2005-07-04  Edward Hervey  <edward@fluendo.com>
26383
26384         * gst/gstutils.c:
26385         * gst/gstutils.h:
26386         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26387         in bindings.
26388
26389 2005-07-04  Andy Wingo  <wingo@pobox.com>
26390
26391         * check/gst/gstpad.c: Only set explicit caps on pads.
26392
26393 2005-07-01  Andy Wingo  <wingo@pobox.com>
26394
26395         * tests/network-clock.scm: Commentary update.
26396
26397         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26398         Didn't really make sense, not implementable with basetransform,
26399         etc.
26400         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26401         attempt at implementing the sync property, needs an unlock method.
26402
26403         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26404         New func, by default returns the same caps (the identity
26405         transformation).
26406         (gst_base_transform_getcaps): Uses transform_caps to return
26407         something sensible.
26408         (gst_base_transform_setcaps): Complicated logic to get caps on
26409         both pads, even if they are different, and to call set_caps once
26410         for every time both pads get their caps set.
26411         (gst_base_transform_handle_buffer): Give the ref to the transform
26412         function. Allows in-place modification of the buffer.
26413
26414         * gst/base/gstbasetransform.h (transform_caps): New class method.
26415         Given caps on one side, what can I do on the other.
26416         (set_caps): Take two caps, one for each side of the element.
26417
26418         * gst/gstpad.h:
26419         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26420         caps in place. This is safe because we can check the mutability of
26421         the caps, and a good idea because fixate functions are just called
26422         as a matter of last resort. (Not actually implemented.)
26423         (gst_pad_set_caps): If the caps we're setting is actually the same
26424         as the existing pad caps, just update the pointer without calling
26425         setcaps. Assert that caps is either NULL or fixed, as per the
26426         docs.
26427
26428         * gst/gstghostpad.c: Update for fixate changes.
26429
26430 2005-07-02  Andy Wingo  <wingo@pobox.com>
26431
26432         * gst/gstcaps.c:
26433         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26434         two refcounts makes it immutable, which is enough. Doc more.
26435
26436 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26437
26438         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26439           Put the mini_object into GValue as a mini_object,
26440           not a gpointer, since that's how we declared
26441           the signal.
26442
26443 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26444
26445         * examples/pwg/Makefile.am:
26446           Fix buildbot again.
26447
26448 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26449
26450         * docs/pwg/building-testapp.xml:
26451           Add extra check.
26452         * examples/pwg/Makefile.am:
26453           Fix buildbot.
26454
26455 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26456
26457         * configure.ac:
26458         * examples/Makefile.am:
26459         * examples/pwg/Makefile.am:
26460         * examples/pwg/extract.pl:
26461           Enable building the PWG examples.
26462         * docs/pwg/advanced-interfaces.xml:
26463           Add URI interface stub.
26464         * docs/pwg/advanced-types.xml:
26465         * docs/pwg/other-autoplugger.xml:
26466         * docs/pwg/appendix-porting.xml:
26467         * docs/pwg/pwg.xml:
26468           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26469         * docs/pwg/building-boiler.xml:
26470         * docs/pwg/building-chainfn.xml:
26471         * docs/pwg/building-pads.xml:
26472         * docs/pwg/building-props.xml:
26473         * docs/pwg/building-state.xml:
26474         * docs/pwg/building-testapp.xml:
26475           Update the building-*.xml parts for 0.9 changes. All examples
26476           code blocks compile in examples/pwg/*.
26477
26478 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26479
26480         * docs/manual/advanced-autoplugging.xml:
26481         * docs/manual/appendix-checklist.xml:
26482         * docs/manual/appendix-integration.xml:
26483         * docs/manual/highlevel-components.xml:
26484           Fix playbin/decodebin examples, update docs a bit, mention bus
26485           instead of signals in various places, mention kmplayer and
26486           kaffeine since they have a working GStreamer backend in the KDE
26487           section.
26488
26489 2005-06-30  Wim Taymans  <wim@fluendo.com>
26490
26491         * CHANGES-0.9:
26492         * docs/design/draft-ghostpads.txt:
26493         * docs/design/draft-push-pull.txt:
26494         * docs/design/draft-query.txt:
26495         * docs/design/part-TODO.txt:
26496         * docs/design/part-query.txt:
26497         Added CHANGES-0.9 doc, updated status of other docs.
26498         
26499         * gst/gstquery.h:
26500         Remove "hmm" macro
26501
26502 2005-06-30  Wim Taymans  <wim@fluendo.com>
26503
26504         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26505         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26506         (gst_base_sink_change_state):
26507         * gst/base/gstbasesink.h:
26508         Some tweaks, only EOS and a buffer complete a preroll.
26509
26510 2005-06-30  Andy Wingo  <wingo@pobox.com>
26511
26512         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26513         activate_push down to the internal pad as well.
26514
26515 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26516
26517         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26518
26519         * gst/gsttaginterface.c:
26520           Some documentation fixes (#307394 and #307397).
26521
26522 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26523
26524         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26525
26526         * gst/gstvalue.c: (gst_value_intersect_list):
26527           Fix memleak (#309125).
26528
26529 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26530
26531         * docs/manual/advanced-dataaccess.xml:
26532           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26533         * docs/manual/basics-pads.xml:
26534           Add reference for filtered caps to above chapter.
26535
26536 2005-06-30  Wim Taymans  <wim@fluendo.com>
26537
26538         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26539         (gst_bin_change_state):
26540         Probes are gone.
26541         Lame attempt at making the state change function a bit
26542         more readable.
26543
26544 2005-06-30  Wim Taymans  <wim@fluendo.com>
26545
26546         * docs/design/part-clocks.txt:
26547         * docs/design/part-element-sink.txt:
26548         * docs/design/part-events.txt:
26549         * docs/design/part-preroll.txt:
26550         * docs/design/part-states.txt:
26551         Some more tweeks and additions to the docs.
26552
26553 2005-06-30  Wim Taymans  <wim@fluendo.com>
26554
26555         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26556         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26557         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26558         (gst_pad_check_pull_range), (gst_pad_get_range),
26559         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26560         * gst/gstpad.h:
26561         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26562         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26563         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26564         (gst_pad_remove_buffer_probe):
26565         Removed atomic operations, use existing LOCK.
26566         Move exception handling out of main code path.
26567
26568 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26569
26570         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26571         (silly_return_true_function), (gst_pad_class_init),
26572         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26573         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26574         (gst_pad_send_event):
26575           Fix accumulator, add default value by using _emitv() instead
26576           of _emit() for signal emission.
26577
26578 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26579
26580         * docs/manual/advanced-dataaccess.xml:
26581         * examples/manual/Makefile.am:
26582           Add probe example.
26583         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26584           Make work (??).
26585
26586 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26587
26588         * gst/elements/gstfilesink.c: (gst_filesink_render):
26589           Simplify code so that we don't have to handle short
26590           writes and return GST_FLOW_ERROR if an error occured.
26591
26592 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26593
26594         * docs/gst/gstreamer-docs.sgml:
26595           Remove probes more.
26596
26597 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26598
26599         * docs/gst/gstreamer-sections.txt:
26600         * docs/gst/tmpl/gstpad.sgml:
26601         * docs/gst/tmpl/gstprobe.sgml:
26602         * gst/Makefile.am:
26603         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26604         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26605         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26606         (gst_pad_push_event), (gst_pad_send_event):
26607         * gst/gstpad.h:
26608         * gst/gstutils.c: (gst_pad_add_data_probe),
26609         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26610         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26611         (gst_pad_remove_buffer_probe):
26612         * gst/gstutils.h:
26613           Remove old probes, add new g-signal-based probes and some utility
26614           functions.
26615
26616 2005-06-29  Edward Hervey  <edward@fluendo.com>
26617
26618         * gst/gstelementfactory.c:
26619         * gst/gstutils.h:
26620         * gst/gstutils.c:
26621         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26622         the definition to the header file.
26623
26624 2005-06-29  Andy Wingo  <wingo@pobox.com>
26625
26626         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26627         plugins from the source directory.
26628
26629 2005-06-29  Wim Taymans  <wim@fluendo.com>
26630
26631         * docs/gst/tmpl/gstbuffer.sgml:
26632         * docs/gst/tmpl/gstclock.sgml:
26633         Some fixings for blantently wrong text.
26634
26635 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26636
26637         * check/Makefile.am:
26638         * gst/gst.c: (add_path_func), (init_pre):
26639         * gst/gstregistry.c: (gst_registry_add_path):
26640           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26641           only scan the GST_PLUGIN_PATH locations, and not add
26642           system locations
26643
26644 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26645
26646         * docs/gst/gstreamer-sections.txt:
26647         * docs/gst/tmpl/gstbasesrc.sgml:
26648         * gst/gstelement.c:
26649         * gst/gstelement.h:
26650         * gst/gstevent.c:
26651         * gst/gstutils.c:
26652           doc fixes
26653
26654 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26655
26656         * docs/manual/advanced-autoplugging.xml:
26657           Fix autoplugging example.
26658
26659 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26660
26661         * docs/manual/advanced-autoplugging.xml:
26662         * docs/manual/mime-world.fig:
26663           Try to get autoplugging working, fix type detection. Fix text
26664           in hello-world image.
26665
26666 2005-06-29  Wim Taymans  <wim@fluendo.com>
26667
26668         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26669         (gst_base_sink_change_state):
26670         Small debug line.
26671
26672         * gst/gstclock.h:
26673         map SIGNAL and BROADCAST to the right function.
26674
26675         * gst/gstobject.h:
26676         Remove redundant braces.
26677
26678         * gst/gstpad.c: (gst_pad_set_caps):
26679         Don't call setcaps function when reseting caps to NULL.
26680
26681         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26682         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26683         (gst_system_clock_id_unschedule):
26684         Use BROADCAST as this is what we do.
26685
26686 2005-06-29  Wim Taymans  <wim@fluendo.com>
26687
26688         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26689         We are actually prerolling before commiting the state
26690         change. 
26691
26692 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26693
26694         * docs/manual/advanced-clocks.xml:
26695         * docs/manual/advanced-interfaces.xml:
26696         * docs/manual/advanced-metadata.xml:
26697         * docs/manual/advanced-position.xml:
26698         * docs/manual/advanced-schedulers.xml:
26699         * docs/manual/advanced-threads.xml:
26700         * docs/manual/appendix-porting.xml:
26701         * docs/manual/basics-bins.xml:
26702         * docs/manual/basics-bus.xml:
26703         * docs/manual/basics-elements.xml:
26704         * docs/manual/basics-helloworld.xml:
26705         * docs/manual/basics-pads.xml:
26706         * docs/manual/highlevel-components.xml:
26707         * docs/manual/manual.xml:
26708         * docs/manual/thread.fig:
26709           Update (until threads/scheduling) Application Development Manual;
26710           remove GstThread, add GstBus, add simple porting checklist, add
26711           documentation for tag writing, clocks, make all examples until this
26712           part compile and run.
26713         * examples/manual/Makefile.am:
26714           Update from changes to Application Development Manual; add bus
26715           example, remove thread example.
26716
26717 2005-06-28  Wim Taymans  <wim@fluendo.com>
26718
26719         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26720         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26721         (gst_bus_source_dispatch):
26722         Add debugging messages.
26723         Make internal methods static.
26724         Handle the case where the bus is flushed in the handler.
26725         
26726         * gst/gstelement.c: (gst_element_get_bus):
26727         Fix refcount in _get_bus();
26728
26729         * gst/gstpipeline.c: (gst_pipeline_change_state),
26730         (gst_pipeline_get_clock_func):
26731         Clock refcounting fixes.
26732         Handle the case where preroll timed out more gracefully.
26733         
26734         * gst/gstsystemclock.c: (gst_system_clock_dispose):
26735         Clean up the internal thread in dispose. This is needed
26736         for subclasses that actually get disposed.
26737         
26738         * gst/schedulers/threadscheduler.c:
26739         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26740         (gst_thread_scheduler_dispose):
26741         Free thread pool in dispose.
26742
26743 2005-06-28  Andy Wingo  <wingo@pobox.com>
26744
26745         * tests/network-clock-utils.scm (debug, print-event): New utils.
26746
26747         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26748         (*packet-loss*): Unified loss probability.
26749         (network-time): Report out-of-band events.
26750
26751         * tests/plot-data: Add support for out-of-band events. Hack it
26752         into this script instead of passing it down the pipe; should fix
26753         this later.
26754
26755 2005-06-28  Wim Taymans  <wim@fluendo.com>
26756
26757         * docs/gst/gstreamer.types:
26758         * docs/gst/tmpl/gstbasesrc.sgml:
26759         * docs/gst/tmpl/gstpad.sgml:
26760         Docs fixes.
26761
26762 2005-06-28  Wim Taymans  <wim@fluendo.com>
26763
26764         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26765         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26766         (gst_proxy_pad_do_fixatecaps):
26767         Correctly proxy the check_pull_range function.
26768
26769 2005-06-28  Andy Wingo  <wingo@pobox.com>
26770
26771         * tests/network-clock.scm: Removed need for slib.
26772         
26773 2005-06-28  Wim Taymans  <wim@fluendo.com>
26774
26775         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26776         (gst_basesink_preroll_queue_flush):
26777         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26778         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26779         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26780         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26781         (gst_proxy_pad_set_property):
26782         * gst/gstpad.c:
26783         * gst/gstpad.h:
26784         * gst/gstqueue.c: (gst_queue_init):
26785         The deprecated pad loop function is removed now.
26786
26787 2005-06-28  Andy Wingo  <wingo@pobox.com>
26788
26789         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26790         New parameters, simulate network packet loss.
26791
26792         * tests/network-clock-utils.scm: Initialize the RNG.
26793
26794 2005-06-28  Wim Taymans  <wim@fluendo.com>
26795
26796         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26797         (gst_basesink_event), (gst_basesink_deactivate):
26798         Flushing the preroll queue always needs to unlock the waiters.
26799
26800 2005-06-28  Edward Hervey  <edward@fluendo.com>
26801
26802         * gst/gstpipeline.c: (gst_pipeline_send_event): 
26803         Wheen a seek was successful on a pipeline, set the stream_time to the
26804         seek offset in order to have a synchronized stream_time.
26805
26806 2005-06-28  Wim Taymans  <wim@fluendo.com>
26807
26808         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26809         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26810         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26811         (gst_proxy_pad_do_fixatecaps):
26812         Call wrapper function instead of just calling the function
26813         pointers. This takes care of any locking and whatmore.
26814
26815 2005-06-28  Wim Taymans  <wim@fluendo.com>
26816
26817         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26818         (gst_pad_pull_range):
26819         * gst/gstpad.h:
26820         CONNECTED -> LINKED.
26821
26822 2005-06-28  Andy Wingo  <wingo@pobox.com>
26823
26824         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26825         source-munging commit!!!
26826
26827         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
26828         (gst_object_sink): Take gpointer arguments, not GstObject --
26829         avoids casts. Like GLib.
26830
26831         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26832         activate.
26833
26834 2005-06-27  Andy Wingo  <wingo@pobox.com>
26835
26836         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26837         remaining buffer.
26838
26839         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26840         returns a sorted copy of the trace list.
26841         (gst_alloc_trace_print_live): New API, only prints traces with
26842         live objects. Sort the list.
26843         (gst_alloc_trace_print_all): Sort the list.
26844         (gst_alloc_trace_print): Align columns.
26845
26846         * gst/elements/gstttypefindelement.c:
26847         * gst/elements/gsttee.c:
26848         * gst/base/gstbasesrc.c:
26849         * gst/base/gstbasesink.c:
26850         * gst/base/gstbasetransform.c:
26851         * gst/gstqueue.c: Adapt for pad activation changes.
26852
26853         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26854         sched.
26855         (gst_pipeline_dispose): Drop ref on sched.
26856
26857         * gst/gstpad.c (gst_pad_init): Set the default activate func.
26858         (gst_pad_activate_default): Push mode by default.
26859         (pre_activate_switch, post_activate_switch): New stubs, things to
26860         do before and after switching activation modes on pads.
26861         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26862         the pad's activate function to choose which mode to activate.
26863         Shortcut on deactivation and call the right function directly.
26864         (gst_pad_activate_pull): New API, (de)activates a pad in pull
26865         mode.
26866         (gst_pad_activate_push): New API, same for push mode.
26867         (gst_pad_set_activate_function) 
26868         (gst_pad_set_activatepull_function) 
26869         (gst_pad_set_activatepush_function): Setters for new API.
26870
26871         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26872         Trace all miniobjects.
26873         (gst_mini_object_make_writable): Unref the arg if we copy, like
26874         gst_caps_make_writable.
26875
26876         * gst/gstmessage.c (_gst_message_initialize): No trace init.
26877
26878         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
26879         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26880         Adapt for new pad API.
26881
26882         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26883
26884         * gst/gstelement.h:
26885         * gst/gstelement.c (gst_element_iterate_src_pads) 
26886         (gst_element_iterate_sink_pads): New API functions.
26887         
26888         * gst/gstelement.c (iterator_fold_with_resync): New utility,
26889         should fold into gstiterator.c in some form.
26890         (gst_element_pads_activate): Simplified via use of fold and
26891         delegation of decisions to gstpad->activate.
26892
26893         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26894         help in debugging.
26895
26896         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26897         class once in init, like gstmessage. Didn't run into this issue
26898         but it seems correct. Don't initialize a trace, gstminiobject does
26899         that.
26900
26901         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26902         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26903         to the bus.
26904         (assert_live_count): New util function, uses alloc traces to check
26905         cleanup.
26906
26907         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26908         To be modified when unlink drops the internal pad.
26909
26910 2005-06-27  Wim Taymans  <wim@fluendo.com>
26911
26912         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26913         (gst_bin_change_state):
26914         Cleanup the get_state() function a little, make sure it
26915         iterates the same set of elements.
26916         Added stub iterate_state_order().
26917
26918 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
26919
26920         * docs/gst/gstreamer-docs.sgml:
26921         * docs/gst/gstreamer-sections.txt:
26922         * docs/gst/gstreamer.types:
26923         * docs/gst/tmpl/gstbasesink.sgml:
26924         * docs/gst/tmpl/gstbasesrc.sgml:
26925         * docs/gst/tmpl/gstbasetransform.sgml:
26926         * docs/gst/tmpl/gstelement.sgml:
26927         * docs/gst/tmpl/gstiterator.sgml:
26928         * gst/base/gstbasesrc.c:
26929         * gst/base/gstbasesrc.h:
26930         * gst/base/gstbasetransform.h:
26931         * gst/gstelement.c:
26932         * gst/gstiterator.h:
26933           adding basetransform and iterator docs
26934
26935 2005-06-27  Andy Wingo  <wingo@pobox.com>
26936
26937         * docs/design/part-activation.txt: Notes on how activation should
26938         work -- not quite implemented yet.
26939
26940 2005-06-25  Wim Taymans  <wim@fluendo.com>
26941
26942         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26943         At least get the chain function correct, needs more
26944         fixing.
26945
26946 2005-06-25  Wim Taymans  <wim@fluendo.com>
26947
26948         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26949         (gst_basesink_handle_object), (gst_basesink_event),
26950         (gst_basesink_do_sync), (gst_basesink_handle_event),
26951         (gst_basesink_change_state):
26952         * gst/gsttask.h:
26953         Right, two problems here: ghostpads don't take locks and
26954         glib _rec_mutex_lock_full() with depth==0 still locks.
26955         Catch illegal locking and g_warn them.
26956
26957 2005-06-25  Wim Taymans  <wim@fluendo.com>
26958
26959         * check/states/sinks.c: (START_TEST), (gst_object_suite):
26960         Have to check for completion now...
26961
26962 2005-06-25  Wim Taymans  <wim@fluendo.com>
26963
26964         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26965         (gst_basesink_handle_object), (gst_basesink_event),
26966         (gst_basesink_do_sync), (gst_basesink_handle_event),
26967         (gst_basesink_change_state):
26968         * gst/gstpad.h:
26969         Unlock STREAM_LOCK whatever the recursion was.
26970
26971 2005-06-25  Wim Taymans  <wim@fluendo.com>
26972
26973         * gst/base/gstbasesink.c: (gst_basesink_set_property),
26974         (gst_basesink_preroll_queue_empty),
26975         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
26976         (gst_basesink_event), (gst_basesink_do_sync),
26977         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
26978         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
26979         (gst_basesink_change_state):
26980         Reworked the base sink, handle event and buffer serialisation
26981         correctly and removed possible deadlock.
26982         Handle EOS correctly.
26983
26984 2005-06-25  Wim Taymans  <wim@fluendo.com>
26985
26986         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
26987         (gst_pipeline_change_state):
26988         * tools/gst-launch.c: (check_intr), (event_loop), (main):
26989         Allow elements to post EOS in the state change function.
26990         Fix up -launch, make it exit the poll loop when the
26991         pipeline actually changed state.
26992         Fix up warning parsing in -launch.
26993
26994 2005-06-25  Wim Taymans  <wim@fluendo.com>
26995
26996         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
26997         (gst_tee_sink_activate):
26998         Core takes STREAM_LOCK for us now.
26999
27000 2005-06-25  Wim Taymans  <wim@fluendo.com>
27001
27002         * gst/gstelement.c: (gst_element_get_state_func),
27003         (gst_element_set_state):
27004         * gst/gstelement.h:
27005         * gst/gstmessage.c: (gst_message_parse_error),
27006         (gst_message_parse_warning):
27007         Keep track of current target state while performing a state
27008         change so that subclasses can do something interesting.
27009         Fix parsing of warning/error messages when GError is NULL.
27010
27011 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
27012
27013         * docs/gst/Makefile.am:
27014         * docs/gst/gstreamer-docs.sgml:
27015         * docs/gst/gstreamer-sections.txt:
27016         * docs/gst/gstreamer.types:
27017         * docs/gst/tmpl/gstbasesink.sgml:
27018         * docs/gst/tmpl/gstbasesrc.sgml:
27019         * docs/gst/tmpl/gstbin.sgml:
27020         * docs/gst/tmpl/gstcompat.sgml:
27021         * docs/gst/tmpl/gstfakesink.sgml:
27022         * docs/gst/tmpl/gstfakesrc.sgml:
27023         * docs/gst/tmpl/gstfilesink.sgml:
27024         * docs/gst/tmpl/gstfilesrc.sgml:
27025         * docs/gst/tmpl/gstindex.sgml:
27026         * docs/manual/appendix-quotes.xml:
27027         * gst/base/gstbasesrc.h:
27028         * gst/elements/gstfakesrc.h:
27029         * gst/gstmessage.h:
27030           start pulling in base classes and elements in our docs
27031
27032 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
27033
27034         * docs/gst/Makefile.am:
27035         * docs/libs/Makefile.am:
27036           fixed make distcheck with gtk-doc 1.3
27037
27038 2005-06-23  Wim Taymans  <wim@fluendo.com>
27039
27040         * gst/gstelement.c: (gst_element_get_state_func),
27041         (gst_element_set_state), (gst_element_change_state):
27042         When the state did not change, also report NO_PREROLL
27043         when it matters.
27044
27045 2005-06-23  Wim Taymans  <wim@fluendo.com>
27046
27047         * gst/gstpad.c: (gst_pad_event_default):
27048         * gst/gstqueue.c: (gst_queue_loop):
27049         No unsafe task pausing please.
27050
27051 2005-06-23  Wim Taymans  <wim@fluendo.com>
27052
27053         * gst/schedulers/threadscheduler.c:
27054         (gst_thread_scheduler_task_start),
27055         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27056         Ref the task before pushing it on the threadpool. This
27057         makes sure that we have a ref when the threadfunction is
27058         actually called.
27059
27060 2005-06-23  Andy Wingo  <wingo@pobox.com>
27061
27062         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27063         offset is greater than the file's size.
27064
27065         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
27066         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27067         * gst/gstobject.c (gst_object_class_init): Make the class lock
27068         recursive. Wim won't let me drop deep_notify. Decodebin works
27069         again, whoopdy doo.
27070
27071         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27072         internal pad, and hacks accordingly. Doesn't do it on the target
27073         pad because we change its caps. Probably catches all cases of
27074         interest tho.
27075         (gst_ghost_pad_set_property): Connect to notify::caps as
27076         appropritate.
27077
27078         * tests/network-clock.scm (plot-simulation): Pipe data to the
27079         elite python skript.
27080
27081         * tests/network-clock-utils.scm (define-parameter): New macro,
27082         defines a parameter that can be set via the command line.
27083         (set-parameter!, parse-parameter-arguments): Command line args
27084         parser.
27085
27086         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27087         stdin.
27088
27089 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27090
27091         * gst/elements/gsttypefindelement.c:
27092         (gst_type_find_element_handle_event):
27093           Don't restart typefinding on a discont.
27094         * gst/gstelement.c: (gst_element_set_state):
27095           Debug spelling fix.
27096         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27097           Allow changing mode of an active pad.
27098           Debug output fixes.
27099         * gst/registries/gstlibxmlregistry.c: (load_feature):
27100           Don't cast a static pad template to a normal pad template.
27101
27102 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27103
27104         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27105         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27106           remove gst_strtoll completely, since it didn't actually do
27107           anything more than what g_ascii_strtoull already does.
27108           check for range errors when deserializing
27109           do a cast for the unsigned cases; but further fixing needs
27110           a decision on what the interpretation of "(int)" and
27111           deserialization should be for values that fall outside the
27112           type's boundaries (ie, refuse, or interpret as casting)
27113
27114 2005-06-23  Wim Taymans  <wim@fluendo.com>
27115
27116         * check/Makefile.am:
27117         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27118         * docs/design/part-live-source.txt:
27119         * docs/design/part-states.txt:
27120         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27121         (gst_basesrc_set_live), (gst_basesrc_is_live),
27122         (gst_basesrc_get_range), (gst_basesrc_activate),
27123         (gst_basesrc_change_state):
27124         * gst/base/gstbasesrc.h:
27125         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27126         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27127         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27128         * gst/gstelement.c: (gst_element_get_state_func),
27129         (gst_element_set_state):
27130         * gst/gstelement.h:
27131         * gst/gsttypes.h:
27132         * tools/gst-launch.c: (event_loop), (main):
27133         Added support for live sources and other elements that
27134         cannot do preroll.
27135         Updated design docs, added live-source design doc.
27136         Implemented live source functionality in basesrc
27137         Fix error condition in _bin_get_state()
27138         Implement live source handling in -launch.
27139         Added check for live sources.
27140         Fixed case in GstBin where elements were changed state
27141         multiple times.
27142
27143
27144 2005-06-23  Andy Wingo  <wingo@pobox.com>
27145
27146         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27147         borken refcounting.
27148
27149         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27150         gst_caps_replace takes care of this for us.
27151
27152         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27153         gst_pad_set_caps on the target, not just its setcaps() function.
27154
27155         * tests/network-clock.scm: 
27156         * tests/network-clock-utils.scm: A network clock simulator.
27157         Something of an algorithmic testbed before doing something in C.
27158
27159 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27160
27161         * check/Makefile.am:
27162         * check/gst/capslist.h:
27163           copy over from 0.8, and add two with bitmasks specified with
27164           (int) 0xFF...
27165         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27166           add test to parse everything from capslist.h
27167         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27168         (main):
27169           add test for structure deserialization
27170         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27171           add tests for deserialization of strings to int types
27172         * gst/gststructure.c: (gst_structure_nth_field_name):
27173         * gst/gststructure.h:
27174           add a way to get the name of a field referenced by index
27175         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27176           instead of checking if the resulting long long lies between
27177           min and max, we check if the long long would fit into
27178           a number of bytes for the final type.
27179           This fixes cases where a string represents 2^32 - 1, which
27180           when cast to int would be the (valid) -1, but is bigger than
27181           G_MAXINT
27182
27183 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27184
27185         * gst/parse/grammar.y:
27186           add a log line for type deserialization
27187
27188 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27189
27190         * check/gst/gstvalue.c: (START_TEST):
27191         * gst/gstvalue.c: (gst_value_deserialize):
27192           return long long, not int, so gint64 deserialization actually
27193           works.  Is there any flag that makes the compiler check this ?
27194           Fixes #308559
27195
27196 2005-06-22  Wim Taymans  <wim@fluendo.com>
27197
27198         * gst/gstbuffer.h:
27199         Added convenience macros for setting buffers in GValue.
27200
27201 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27202
27203         * check/gst/.cvsignore:
27204         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27205           add a test deserializing int64, and comment part out because
27206           it fails, yay !
27207
27208 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27209
27210         * check/Makefile.am:
27211         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27212         * testsuite/Makefile.am:
27213         * testsuite/caps/Makefile.am:
27214         * testsuite/caps/value_serialize.c:
27215         * testsuite/test_gst_init.c:
27216           move a value_serialize test over
27217
27218 2005-06-20  Wim Taymans  <wim@fluendo.com>
27219
27220         * gst/gstpad.c:
27221         Small doc updates.
27222         
27223         * gst/gstvalue.c: (gst_value_compare_buffer),
27224         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27225         (gst_value_compare_flags), (gst_value_serialize_flags),
27226         (gst_value_deserialize_flags), (_gst_value_initialize):
27227         Fix serialisation of buffers, they are not boxed types anymore
27228
27229 2005-06-20  Wim Taymans  <wim@fluendo.com>
27230
27231         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27232         Testcase to show error in buffer-on-caps serialisation.
27233
27234 2005-06-20  Andy Wingo  <wingo@pobox.com>
27235
27236         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27237         will be adding to later.
27238
27239         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27240         if its socks fill with rocks.
27241         (gst_system_clock_obtain): Set the name on object construction.
27242         Avoid double-checked locking.
27243
27244 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27245
27246         * gst/gsturi.c: (gst_element_make_from_uri):
27247           Fix potential endless loop.
27248
27249 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27250
27251         * check/Makefile.am:
27252           add gsttag
27253         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27254         (main):
27255           move over from testsuite dir and clean up
27256         * configure.ac:
27257         * gst/gsttag.c:
27258         * testsuite/Makefile.am:
27259         * testsuite/tags/.cvsignore:
27260         * testsuite/tags/Makefile.am:
27261         * testsuite/tags/merge.c:
27262           remove testsuite/tags
27263
27264 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27265
27266         * docs/gst/gstreamer-sections.txt:
27267         * docs/gst/tmpl/gstenumtypes.sgml:
27268         * win32/gstenumtypes.c:
27269           clean up documentation build a little
27270
27271 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27272
27273         * check/gstcheck.h:
27274           add macros for checking refcounts on objects and caps
27275         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27276           add some more unit tests
27277         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27278         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27279           fix leaked refcounts (I hope :)) so unittest works
27280         * gst/gstpad.h:
27281           whitespace removal
27282
27283 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27284
27285         * configure.ac: back to HEAD
27286
27287 === release 0.9.1 ===
27288
27289 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27290
27291         * NEWS:
27292         * RELEASE:
27293           updated
27294
27295 2005-06-17  Andy Wingo  <wingo@pobox.com>
27296
27297         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27298         assert; it's always possible that the pad gets deactivated in
27299         between the checks in gstpad.c and the implementation. Rely on
27300         finish_preroll() to return a FLUSHING or similar instead of on the
27301         assert.
27302         
27303         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27304         clock and post an EOS message if we come out of finish_preroll in
27305         the playing state.
27306
27307 2005-06-16  David Schleef  <ds@schleef.org>
27308
27309         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27310         (gst_capsfilter_set_property): Allow NULL as possible value
27311         for filter_caps property, indicating GST_CAPS_ANY.
27312
27313 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27314
27315         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27316           fix debug output
27317         * gst/schedulers/Makefile.am:
27318           use libgst prefix
27319         * gstreamer.spec.in:
27320           fix spec for it
27321
27322 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27323
27324         * gstreamer.spec.in:
27325           clean up
27326
27327 2005-06-08  Andy Wingo  <wingo@pobox.com>
27328
27329         * gst/gstutils.c: RPAD fixes all around.
27330         (gst_element_link_pads): Refcounting fixes.
27331
27332         * tools/gst-inspect.c:
27333         * tools/gst-xmlinspect.c:
27334         * parse/grammar.y:
27335         * gst/base/gsttypefindhelper.c:
27336         * gst/base/gstbasesink.c:
27337         * gst/gstqueue.c: RPAD fixes.
27338
27339         * gst/gstghostpad.h:
27340         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27341         pads. The tricky thing is they provide both source and sink
27342         interfaces, since they proxy the internal pad for the external
27343         pad, and vice versa. Implement with lower-level ProxyPad objects,
27344         with the interior proxy pad as a child of the exterior ghost pad.
27345         Should write a doc on this.
27346         
27347         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27348         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27349         gst_object API.
27350         
27351         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27352         pads are real pads. No ghost pads in this file. Not documenting
27353         the myriad s/RPAD/PAD/ and REALIZE fixes.
27354         (gst_pad_class_init): Add properties for "direction" and
27355         "template". Both are construct-only, so they can't change during
27356         the life of the pad. Fixes properly deriving from GstPad.
27357         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27358         derived objects, just set properties when creating the objects via
27359         g_object_new.
27360         (gst_pad_get_parent): Implement as a function, return NULL if the
27361         parent is not an element.
27362         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27363         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27364         
27365         * gst/gstobject.c (gst_object_class_init): Make name a construct
27366         property. Don't set it in the object init.
27367
27368         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27369         with UNKNOWN direction.
27370         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27371         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27372         (gst_element_remove_pad): Remove ghost-pad special cases.
27373         (gst_element_pads_activate): Remove rpad cruft.
27374
27375         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27376         catch the pad's-parent-not-an-element case.
27377
27378         * gst/gst.h: Include gstghostpad.h.
27379
27380         * gst/gst.c (init_post): No more real, ghost pads.
27381
27382         * gst/Makefile.am: Add gstghostpad.[ch].
27383
27384         * check/Makefile.am:
27385         * check/gst/gstbin.c:
27386         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27387         into a bin creates ghost pads, and that the refcounts are right.
27388         Partly moved from gstbin.c.
27389
27390 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27391
27392         * check/gst-libs/.cvsignore:
27393         * check/gst/.cvsignore:
27394         * check/pipelines/.cvsignore:
27395           ignore more
27396         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27397         (START_TEST), (cleanup_suite), (main):
27398           add some tests related to cleanup after running pipelines
27399
27400 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27401
27402         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27403           add a testsuite for GstBuffer
27404
27405 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27406
27407         * gst/gstminiobject.h:
27408           add defines for accessing the refcount
27409
27410 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27411
27412         * Makefile.am: added support for html unit test coverage reports
27413
27414 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27415
27416         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27417           Free existing caps if the capsfilter changes. Add a FIXME about
27418           setting those caps on the pads.
27419
27420         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27421           Before adding a ghost pad to a parent bin, check that there isn't
27422           already one for the element on the bin. Prevents infinite recursion
27423           when using decodebin in parse pipelines. Andy says he'll rewrite the
27424           way this works anyway, so ignore the hack.
27425
27426 2005-06-02  Andy Wingo  <wingo@pobox.com>
27427
27428         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27429         file size, pass it on to the type find helper.
27430
27431         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27432         segment_start and segment_end properly according to the seek
27433         method. Segment_end is still a bit flaky because offset can be
27434         negative for CUR and END cases, but it takes -1 as an "unset"
27435         value.
27436
27437 2005-06-02  Wim Taymans  <wim@fluendo.com>
27438
27439         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27440         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27441         (gst_basesink_activate):
27442         * gst/base/gstbasesink.h:
27443         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27444         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27445         (gst_pad_query), (gst_pad_start_task):
27446         * gst/gstpad.h:
27447         * gst/gstqueue.c: (gst_queue_bufferalloc),
27448         (gst_queue_handle_sink_event), (gst_queue_chain):
27449         Bufferalloc: return GstFlowReturn to more accuratly report
27450         why allocation failed.
27451
27452 2005-06-02  Wim Taymans  <wim@fluendo.com>
27453
27454         * gst/gstpipeline.c: (gst_pipeline_send_event):
27455         Take snapshot of state without blocking.
27456
27457 2005-06-02  Wim Taymans  <wim@fluendo.com>
27458
27459         * docs/design/part-TODO.txt:
27460         * docs/design/part-caps.txt:
27461         * docs/design/part-clocks.txt:
27462         * docs/design/part-negotiation.txt:
27463         * docs/design/part-preroll.txt:
27464         Small doc updates 
27465
27466 2005-05-30  Wim Taymans  <wim@fluendo.com>
27467
27468         * gst/elements/gstidentity.c: (gst_identity_event),
27469         (gst_identity_transform), (gst_identity_get_property):
27470         Protect last_message property as it is accessed from
27471         multiple threads.
27472
27473 2005-05-30  Wim Taymans  <wim@fluendo.com>
27474
27475         * gst/gstelement.c: (gst_element_init),
27476         (gst_element_pads_activate), (gst_element_change_state):
27477         Slicker pad activation code.
27478
27479 2005-05-30  Wim Taymans  <wim@fluendo.com>
27480
27481         * gst/Makefile.am:
27482         * gst/gstelement.h:
27483         * gst/gstelementfactory.h:
27484         * gst/gsttypes.h:
27485         Move elementfactory methods to separate .h file.
27486
27487 2005-05-30  Wim Taymans  <wim@fluendo.com>
27488
27489         * docs/design/part-overview.txt:
27490         * gst/gstsystemclock.h:
27491         Small typo fixes, doc updates.
27492
27493 2005-05-30  Wim Taymans  <wim@fluendo.com>
27494
27495         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27496         (init_popt_callback):
27497         Remove cpu-opt flag.
27498
27499 2005-05-30  Wim Taymans  <wim@fluendo.com>
27500
27501         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27502         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27503         * gst/gstbuffer.h:
27504         Avoid typechecking in places where not needed.
27505         Added accessor for malloc_data.
27506
27507 2005-05-30  Wim Taymans  <wim@fluendo.com>
27508
27509         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27510         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27511         (gst_pad_configure_sink), (gst_pad_configure_src),
27512         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27513         (gst_pad_start_task):
27514         Propagate errors from _set_caps() in configure_src/sink
27515         functions instead of returning TRUE.
27516         FLUSH events can travel up and downstream
27517
27518
27519 2005-05-30  Wim Taymans  <wim@fluendo.com>
27520
27521         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27522         (gst_basesink_activate):
27523         Handle EOS in preroll.
27524
27525 2005-05-30  Wim Taymans  <wim@fluendo.com>
27526
27527         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27528         (gst_queue_loop), (gst_queue_handle_src_event):
27529         Remove old pieces of code
27530         Flushing the queue in an upstream event is a very bad idea.
27531
27532 2005-05-26  Andy Wingo  <wingo@pobox.com>
27533
27534         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27535         gst_value_set_mini_object so as to add a ref on the object (which
27536         will be removed when the value is unset).
27537
27538         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27539         arg type in ::handoff.
27540
27541         * gst/gstelement.c (gst_element_change_state): Also deactivate
27542         pads in READY->NULL, just in case the element didn't make it to
27543         PAUSED. Wingo tested, Wim approved.
27544
27545 2005-05-26  Wim Taymans  <wim@fluendo.com>
27546
27547         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27548         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27549         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27550         A flushing pad cannot be used to alloc_buffer from.
27551
27552 2005-05-26  Wim Taymans  <wim@fluendo.com>
27553
27554         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27555         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27556         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27557         (gst_bus_create_watch), (gst_bus_add_watch_full):
27558         * gst/gstbus.h:
27559         Implement a real GSource and use g_main_context_wakeup() to
27560         signal new messages instead of the socketpair.
27561
27562 2005-05-25  Wim Taymans  <wim@fluendo.com>
27563
27564         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27565         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27566         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27567         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27568         (gst_pad_send_event), (gst_pad_start_task):
27569         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27570         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27571         (gst_queue_sink_activate), (gst_queue_src_activate),
27572         (gst_queue_change_state):
27573         * gst/gstqueue.h:
27574         Fix state changes for non sinks. We now change sinks, then elements
27575         with unconnected srcpads, then the rest.
27576         More efficient queue unlocking in flush and state changes.
27577         Set the pad activate mode even if it does not have an activate
27578         function.
27579
27580 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27581
27582         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27583           Don't go in pull mode for non-seekable sources.
27584         * gst/elements/gsttypefindelement.h:
27585         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27586         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27587         (free_entry), (stop_typefinding),
27588         (gst_type_find_element_handle_event), (find_peek),
27589         (gst_type_find_element_chain), (do_pull_typefind),
27590         (gst_type_find_element_change_state):
27591           Allow typefinding (w/o seeking) in push-mode, simplified version
27592           of what was in 0.8.
27593         * gst/gstutils.c: (gst_buffer_join):
27594         * gst/gstutils.h:
27595           gst_buffer_join() from 0.8.
27596
27597 2005-05-25  Wim Taymans  <wim@fluendo.com>
27598
27599         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27600         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27601         (gst_pad_send_event), (gst_pad_start_task):
27602         Disable attempt at mode switching until it is figured out.
27603
27604 2005-05-25  Wim Taymans  <wim@fluendo.com>
27605
27606         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27607         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27608         (gst_basesink_finish_preroll), (gst_basesink_chain),
27609         (gst_basesink_loop), (gst_basesink_activate),
27610         (gst_basesink_change_state):
27611         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27612         (gst_basesrc_get_range), (gst_basesrc_loop),
27613         (gst_basesrc_activate):
27614         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27615         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27616         (gst_real_pad_init), (gst_real_pad_set_property),
27617         (gst_real_pad_get_property), (gst_pad_set_active),
27618         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27619         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27620         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27621         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27622         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27623         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27624         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27625         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27626         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27627         (gst_pad_stop_task):
27628         * gst/gstpad.h:
27629         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27630         (gst_queue_loop), (gst_queue_src_activate):
27631         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27632         (gst_task_get_state):
27633         * gst/gsttask.h:
27634         * gst/schedulers/threadscheduler.c:
27635         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27636         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27637         in task function.
27638         Remove ACTIVE pad flag, use FLUSHING everywhere
27639         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27640         functions.
27641         Add locks around IS_FLUSHING when reading.
27642         Take STREAM lock in chain(), get_range() functions so plugins
27643         don't need to take it anymore.
27644         
27645
27646
27647 2005-05-25  Wim Taymans  <wim@fluendo.com>
27648
27649         * tools/gst-launch.c: (event_loop):
27650         Unref message after using its contents instead of
27651         before.
27652
27653 2005-05-24  Wim Taymans  <wim@fluendo.com>
27654
27655         * docs/design/draft-ghostpads.txt:
27656         * docs/design/draft-push-pull.txt:
27657         * docs/design/draft-query.txt:
27658         * docs/design/part-overview.txt:
27659         Docs updates, added general overview doc.
27660
27661 2005-05-21  David Schleef  <ds@schleef.org>
27662
27663         * docs/gst/tmpl/old/GstBin.sgml:
27664         * docs/gst/tmpl/old/GstBuffer.sgml:
27665         * docs/gst/tmpl/old/GstCaps.sgml:
27666         * docs/gst/tmpl/old/GstClock.sgml:
27667         * docs/gst/tmpl/old/GstCompat.sgml:
27668         * docs/gst/tmpl/old/GstData.sgml:
27669         * docs/gst/tmpl/old/GstElement.sgml:
27670         * docs/gst/tmpl/old/GstEvent.sgml:
27671         * docs/gst/tmpl/old/GstIndex.sgml:
27672         * docs/gst/tmpl/old/GstStructure.sgml:
27673         * docs/gst/tmpl/old/GstTag.sgml:
27674         * docs/gst/tmpl/old/cothreads.sgml:
27675         * docs/gst/tmpl/old/cothreads_compat.sgml:
27676         * docs/gst/tmpl/old/gettext.sgml:
27677         * docs/gst/tmpl/old/gobject2gtk.sgml:
27678         * docs/gst/tmpl/old/grammar.tab.sgml:
27679         * docs/gst/tmpl/old/gst-i18n-app.sgml:
27680         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27681         * docs/gst/tmpl/old/gst_private.sgml:
27682         * docs/gst/tmpl/old/gstaggregator.sgml:
27683         * docs/gst/tmpl/old/gstarch.sgml:
27684         * docs/gst/tmpl/old/gstatomic_impl.sgml:
27685         * docs/gst/tmpl/old/gstbufferstore.sgml:
27686         * docs/gst/tmpl/old/gstdata_private.sgml:
27687         * docs/gst/tmpl/old/gstdisksink.sgml:
27688         * docs/gst/tmpl/old/gstdisksrc.sgml:
27689         * docs/gst/tmpl/old/gstelementfactory.sgml:
27690         * docs/gst/tmpl/old/gstextratypes.sgml:
27691         * docs/gst/tmpl/old/gstfakesink.sgml:
27692         * docs/gst/tmpl/old/gstfakesrc.sgml:
27693         * docs/gst/tmpl/old/gstfdsink.sgml:
27694         * docs/gst/tmpl/old/gstfdsrc.sgml:
27695         * docs/gst/tmpl/old/gstfilesink.sgml:
27696         * docs/gst/tmpl/old/gstfilesrc.sgml:
27697         * docs/gst/tmpl/old/gsthttpsrc.sgml:
27698         * docs/gst/tmpl/old/gstidentity.sgml:
27699         * docs/gst/tmpl/old/gstindexfactory.sgml:
27700         * docs/gst/tmpl/old/gstmarshal.sgml:
27701         * docs/gst/tmpl/old/gstmd5sink.sgml:
27702         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27703         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27704         * docs/gst/tmpl/old/gstpadtemplate.sgml:
27705         * docs/gst/tmpl/old/gstpipefilter.sgml:
27706         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27707         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27708         * docs/gst/tmpl/old/gstshaper.sgml:
27709         * docs/gst/tmpl/old/gstspider.sgml:
27710         * docs/gst/tmpl/old/gstspideridentity.sgml:
27711         * docs/gst/tmpl/old/gststatistics.sgml:
27712         * docs/gst/tmpl/old/gsttee.sgml:
27713         * docs/gst/tmpl/old/gsttimecache.sgml:
27714         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27715         * docs/gst/tmpl/old/gstxmlregistry.sgml:
27716         * docs/gst/tmpl/old/gthread-cothreads.sgml:
27717         * docs/gst/tmpl/old/types.sgml:
27718           I didn't intend to add these or check them in.
27719
27720 2005-05-19  David Schleef  <ds@schleef.org>
27721
27722         * configure.ac: Use -no-common everywhere.  In a sane world, it
27723           would be the default in libtool, because without it, you can't
27724           build DLLs on Windows.
27725         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27726         * docs/gst/gstreamer-sections.txt:
27727         * docs/gst/tmpl/gstcpu.sgml:
27728         * docs/gst/tmpl/gstdata.sgml:
27729         * docs/gst/tmpl/gstthread.sgml:
27730
27731 2005-05-19  David Schleef  <ds@schleef.org>
27732
27733         * gst/gstminiobject.c: (gst_value_set_mini_object),
27734         (gst_value_take_mini_object), (gst_value_get_mini_object):
27735         * gst/gstminiobject.h: Add GValue set/get functions.
27736
27737 2005-05-19  Wim Taymans  <wim@fluendo.com>
27738
27739         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27740         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27741         (gst_subbuffer_init), (gst_buffer_is_span_fast):
27742         * gst/gstbuffer.h:
27743         * gst/gstbus.c: (gst_bus_post):
27744         * gst/gstelement.c: (gst_element_get_random_pad):
27745         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27746         Make subbufer unref the parent in finalize.
27747         some more debugging info.
27748
27749
27750 2005-05-19  Wim Taymans  <wim@fluendo.com>
27751
27752         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27753         (gst_basesink_init), (gst_basesink_finalize),
27754         (gst_basesink_activate), (gst_basesink_change_state):
27755         Don't free preroll queue too early.
27756
27757 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27758
27759         * gst/Makefile.am:
27760         * gst/ROADMAP:
27761           Hi, I'm outdated. Please shoot me.
27762
27763 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27764
27765         * gst/gstpipeline.c: (gst_pipeline_send_event):
27766           Do not access variables after they have been deleted.
27767
27768 2005-05-19  Wim Taymans  <wim@fluendo.com>
27769
27770         * tools/gst-inspect.c: (print_plugin_features):
27771         A plugin feature does unfortunatly not use the
27772         object name yet...
27773
27774 2005-05-18  Wim Taymans  <wim@fluendo.com>
27775
27776         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27777         Port _span() functions to new subbuffers.
27778
27779 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27780
27781         * gst/gstbin.c: (gst_bin_add_func):
27782           Fix clock settery in bins when adding kids after the clock has
27783           been selected.
27784
27785 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27786
27787         * gst/elements/gstidentity.c: (gst_identity_class_init):
27788           Workaround until signals support GstMiniObject.
27789
27790 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
27791
27792         * gst/gstbuffer.c:
27793         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27794
27795 2005-05-18  Wim Taymans  <wim@fluendo.com>
27796
27797         * gst/base/Makefile.am:
27798         * gst/base/gstadapter.c: (gst_adapter_base_init),
27799         (gst_adapter_class_init), (gst_adapter_init),
27800         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27801         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27802         (gst_adapter_flush), (gst_adapter_available),
27803         (gst_adapter_available_fast):
27804         * gst/base/gstadapter.h:
27805         Ported and added adapter to the base classes.
27806
27807 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
27808
27809         * gst/gst.c:
27810         * gst/gstmessage.c:
27811           Make sure the class is reffed/unreffed once before threads can be
27812           used.  Fixes #304551.
27813
27814 2005-05-17  Wim Taymans  <wim@fluendo.com>
27815
27816         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27817         (gst_basesink_chain_unlocked), (gst_basesink_activate):
27818         * gst/gstminiobject.c: (gst_mini_object_get_type),
27819         (gst_mini_object_free):
27820         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27821         (gst_pad_push), (gst_pad_push_event):
27822         * gst/gstqueue.c: (gst_queue_change_state):
27823         Don't queue buffers in basesink when we are flushing.
27824         Unref buffer when flushing in basesink.
27825         Flush queue when going to READY
27826         Unref buffer when _push() returns an error.
27827         Don't free MiniObject instance when refcount is incremented
27828         in _finalize() so that we can recover objects.
27829
27830 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27831
27832         * docs/manual/advanced-schedulers.xml:
27833         * docs/manual/appendix-checklist.xml:
27834         * docs/pwg/advanced-clock.xml:
27835         * docs/pwg/advanced-interfaces.xml:
27836         * docs/pwg/advanced-request.xml:
27837         * docs/pwg/advanced-types.xml:
27838         * docs/pwg/intro-preface.xml:
27839         * examples/plugins/example.c: (gst_example_get_type),
27840         (gst_example_class_init), (gst_example_chain),
27841         (gst_example_set_property), (gst_example_get_property),
27842         (gst_example_change_state), (plugin_init):
27843         * examples/plugins/example.h:
27844           small doc fixes
27845
27846 2005-05-17  Wim Taymans  <wim@fluendo.com>
27847
27848         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27849         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27850         * gst/gstqueue.c: (gst_queue_change_state):
27851         Clear queue when going to READY.
27852         Remove IN_SETCAPS flag too.
27853
27854 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
27855
27856         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27857           Remove implicit cast from gboolean to GstElementStateReturn;
27858           make sure we still return failure in paused => ready case if
27859           the parent class fails to change state and our own stop 
27860           vfunc succeeds.
27861
27862 2005-05-17  Wim Taymans  <wim@fluendo.com>
27863
27864         * tools/gst-launch.c: (event_loop):
27865         Message was unreffed too soon.
27866
27867 2005-05-16  Andy Wingo  <wingo@pobox.com>
27868
27869         * gst/gstbin.c (sink_iterator_filter): Err... um...
27870
27871         * check/gst/gstbin.c (test_ghost_pads): New test for the
27872         ghosting-if-elements-not-in-same-bin behavior.
27873
27874 2005-05-16  David Schleef  <ds@schleef.org>
27875
27876         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27877         accessing refcount directly.
27878
27879 2005-05-15  David Schleef  <ds@schleef.org>
27880
27881         * check/Makefile.am: remove GstData checks
27882         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27883         * gst/Makefile.am: add miniobject, remove data
27884         * gst/gst.h: add miniobject, remove data
27885         * gst/gstdata.c: remove
27886         * gst/gstdata.h: remove
27887         * gst/gstdata_private.h: remove
27888         * gst/gsttypes.h: remove GstEvent and GstMessage
27889         * gst/gstelement.c: (gst_element_post_message): fix for API changes
27890         * gst/gstmarshal.list: change BOXED -> OBJECT
27891
27892         Implement GstMiniObject.
27893         * gst/gstminiobject.c:
27894         * gst/gstminiobject.h:
27895
27896         Modify to be subclasses of GstMiniObject.
27897         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27898         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27899         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27900         (gst_subbuffer_get_type), (gst_subbuffer_init),
27901         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27902         (gst_buffer_span):
27903         * gst/gstbuffer.h:
27904         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27905         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27906         (_gst_event_copy), (gst_event_new):
27907         * gst/gstevent.h:
27908         * gst/gstmessage.c: (_gst_message_initialize),
27909         (gst_message_get_type), (gst_message_class_init),
27910         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27911         (gst_message_new), (gst_message_new_error),
27912         (gst_message_new_warning), (gst_message_new_tag),
27913         (gst_message_new_state_changed), (gst_message_new_application):
27914         * gst/gstmessage.h:
27915         * gst/gstprobe.c: (gst_probe_perform),
27916         (gst_probe_dispatcher_dispatch):
27917         * gst/gstprobe.h:
27918         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27919         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27920         (_gst_query_copy), (gst_query_new):
27921
27922         Update elements for GstData -> GstMiniObject changes
27923         * gst/gstquery.h:
27924         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27925         (gst_queue_chain), (gst_queue_loop):
27926         * gst/elements/gstbufferstore.c:
27927         (gst_buffer_store_add_buffer_func),
27928         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27929         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27930         (gst_fakesink_render):
27931         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27932         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27933         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27934         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27935         (gst_filesrc_create_read):
27936         * gst/elements/gstidentity.c: (gst_identity_class_init):
27937         * gst/elements/gsttypefindelement.c:
27938         (gst_type_find_element_src_event), (free_entry_buffers),
27939         (gst_type_find_element_handle_event):
27940         * libs/gst/dataprotocol/dataprotocol.c:
27941         (gst_dp_header_from_buffer):
27942         * libs/gst/dataprotocol/dataprotocol.h:
27943         * libs/gst/dataprotocol/dp-private.h:
27944
27945 2005-05-15  David Schleef  <ds@schleef.org>
27946
27947         * gst/elements/gstelements.c: Don't include headers that were
27948         just removed.
27949
27950 2005-05-15  David Schleef  <ds@schleef.org>
27951
27952         * gst/elements/Makefile.am: Remove some elements that don't
27953         need to be in the core (or even exist at all).
27954         * gst/elements/gstaggregator.c:
27955         * gst/elements/gstaggregator.h:
27956         * gst/elements/gstmd5sink.c:
27957         * gst/elements/gstmd5sink.h:
27958         * gst/elements/gstmultifilesrc.c:
27959         * gst/elements/gstmultifilesrc.h:
27960         * gst/elements/gstpipefilter.c:
27961         * gst/elements/gstpipefilter.h:
27962         * gst/elements/gstshaper.c:
27963         * gst/elements/gstshaper.h:
27964         * gst/elements/gststatistics.c:
27965         * gst/elements/gststatistics.h:
27966         * po/POTFILES.in: Remove above files.
27967
27968 2005-05-14  Andy Wingo  <wingo@pobox.com>
27969
27970         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
27971         so as to get the refs right.
27972         (sink_iterator_filter): New function, wraps bin_element_is_sink,
27973         unreffing objects that don't pass the filter.
27974
27975         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
27976         gst_element_set_bus.
27977         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
27978         normal cases, this will destroy the bus.
27979
27980         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
27981         object.
27982
27983         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
27984         has no sinks.
27985
27986 2005-05-13  Andy Wingo  <wingo@pobox.com>
27987
27988         * gst/gstutils.c (gst_element_link_pads): Instead of calling
27989         gst_pad_link, call pad_link_maybe_ghosting,
27990         (pad_link_maybe_ghosting): Links pads, making sure that the
27991         elements being linked are in the same bin.
27992         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
27993         Helpers for pad_link_maybe_ghosting.
27994
27995 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
27996
27997         * configure.ac:
27998           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
27999
28000 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
28001
28002         * docs/design/part-element-source.txt:
28003           Mention GstPushSrc
28004
28005 2005-05-12  Wim Taymans  <wim@fluendo.com>
28006
28007         * gst/base/gstbasesink.c: (gst_basesink_init),
28008         (gst_basesink_activate):
28009         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28010         (gst_basesrc_is_seekable):
28011         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28012         (bin_element_is_sink), (gst_bin_change_state):
28013         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28014         * gst/gstelement.h:
28015         Identify sinks by their flag to avoid overly complicated
28016         checks (fow now).
28017         Do state changes even for elements not reachable from the
28018         sinks.
28019         BaseSink is a sink now :)
28020         Some more debugging info in the basesrc.
28021
28022
28023 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28024
28025         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28026           Implement _query on a bin, similar to _send_event.
28027
28028 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
28029
28030         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28031           Discont event offset format should be GST_FORMAT_BYTES,
28032           not GST_FORMAT_TIME.
28033
28034 2005-05-12  Wim Taymans  <wim@fluendo.com>
28035
28036         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28037         Same fix as Ronald's but without the signal. 
28038
28039 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28040
28041         * gst/gstutils.c: (gst_element_query_position):
28042           No, an element is not a pad.
28043
28044 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28045
28046         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28047         (gst_bin_get_state):
28048           If a child is removed from a bin while we remove the child from
28049           the bin and while we're retrieving its state, signal this to the
28050           get_state function so we abort the wait (instead of waiting for
28051           a timeout) and can immediately re-iterate over all other elements.
28052
28053 2005-05-12  Wim Taymans  <wim@fluendo.com>
28054
28055         * gst/base/Makefile.am:
28056         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28057         (gst_basesrc_start):
28058         * gst/base/gstbasesrc.h:
28059         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28060         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28061         (gst_pushsrc_init), (gst_pushsrc_create):
28062         * gst/base/gstpushsrc.h:
28063         Added is_seekable to BaseSrc
28064         Added simple PushSrc.
28065
28066 2005-05-11  Wim Taymans  <wim@fluendo.com>
28067
28068         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28069         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28070         (gst_element_link_pads), (gst_element_query_position),
28071         (gst_element_query_convert), (intersect_caps_func),
28072         (gst_pad_query_position), (gst_pad_query_convert):
28073         Fix refcounting in utils function.
28074         No point in trying to activate a pad when it's added, it could
28075         be added from the state change function and then we deadlock, the
28076         element has to decide what to do.
28077
28078 2005-05-10  Andy Wingo  <wingo@pobox.com>
28079
28080         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28081         *all* the arguments.
28082
28083         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28084         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28085         lock (according to the docs -- if this is wrong change the docs).
28086
28087         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28088         flush messages in the NULL state.
28089
28090         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28091         message immediately and return.
28092         (gst_bus_set_flushing): New function. If a bus is flushing, it
28093         flushes out any queued messages and immediately unrefs new
28094         messages. This is so when an element goes to NULL, all of the
28095         unhandled messages coming from it can be freed, and their
28096         references to the element dropped. In other words: message source
28097         ref considered harmful :P
28098
28099         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28100         we're finished with it.
28101
28102         * gst/gstmessage.c (gst_message_new_state_changed): 
28103
28104 2005-05-10  Wim Taymans  <wim@fluendo.com>
28105
28106         * gst/gstvalue.c: (gst_value_compare_flags),
28107         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28108         (_gst_value_initialize):
28109         Added flags serialize/deserialize/compare code.
28110
28111 2005-05-09  Andy Wingo  <wingo@pobox.com>
28112
28113         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28114         Intersect the peer's caps with our caps.
28115
28116 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28117
28118         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28119         * gst/elements/gsttypefindelement.c: (find_peek):
28120           Handle negative offsets better. Fixes decodebin.
28121
28122 2005-05-09  Wim Taymans  <wim@fluendo.com>
28123
28124         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28125         (gst_base_transform_event):
28126         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28127         Implement accept_caps.
28128         Fix silly lock/unlock mismatch in base class.
28129
28130 2005-05-09  Wim Taymans  <wim@fluendo.com>
28131
28132         * docs/design/draft-push-pull.txt:
28133         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28134         * gst/elements/gstfilesink.c: (gst_filesink_init),
28135         (gst_filesink_query):
28136         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28137         (gst_type_find_handle_src_query), (find_element_get_length):
28138         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28139         * gst/gstelement.h:
28140         * gst/gstmessage.c:
28141         * gst/gstmessage.h:
28142         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28143         (gst_real_pad_get_caps_unlocked),
28144         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28145         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28146         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28147         (gst_real_pad_dispose), (gst_real_pad_finalize),
28148         (gst_pad_load_and_link), (gst_pad_save_thyself),
28149         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28150         (gst_pad_check_pull_range), (gst_pad_pull_range),
28151         (gst_pad_template_get_type), (gst_pad_template_class_init),
28152         (gst_pad_template_init), (gst_pad_template_dispose),
28153         (name_is_valid), (gst_static_pad_template_get),
28154         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28155         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28156         (gst_pad_get_element_private), (gst_pad_start_task),
28157         (gst_pad_pause_task), (gst_pad_stop_task),
28158         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28159         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28160         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28161         (gst_ghost_pad_new):
28162         * gst/gstpad.h:
28163         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28164         (gst_query_new_position), (gst_query_set_position),
28165         (gst_query_parse_position), (gst_query_new_convert),
28166         (gst_query_set_convert), (gst_query_parse_convert):
28167         * gst/gstquery.h:
28168         * gst/gstqueryutils.c:
28169         * gst/gstqueryutils.h:
28170         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28171         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28172         (gst_queue_handle_src_query):
28173         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28174         (gst_element_query_position), (gst_element_query_convert),
28175         (intersect_caps_func), (gst_pad_query_position),
28176         (gst_pad_query_convert):
28177         * gst/gstutils.h:
28178         * tools/gst-inspect.c: (print_pad_info):
28179         * tools/gst-xmlinspect.c: (print_element_info):
28180         Remove old query functions. Ported old code.
28181         Added position/convert helper functions to gstutils.
28182         Reordered gstpad.c code, grouping relevant things.
28183         Remove gst_message_new(), always need to speficy a specific
28184         message.
28185
28186
28187 2005-05-09  Andy Wingo  <wingo@pobox.com>
28188
28189         * gst/gstiterator.h: Add some includes.
28190
28191         * gst/gstqueryutils.h: Include more headers.
28192
28193         * gst/gstpad.h:
28194         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28195         some uses of gst_pad_query.
28196
28197         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28198         NULL out parameters.
28199         (gst_query_new_position): New proc, allocates a new position
28200         query.
28201
28202         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28203         gstqueryutils.c to the build.
28204
28205         * gst/gststructure.c (gst_structure_set_valist): Implement with
28206         the generic G_VALUE_COLLECT.
28207         
28208 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28209
28210         * gst/Makefile.am: (gst_headers):
28211         Added gstqueryutils.h to the list of headers to install, that was
28212         a 'nachty' move wingo :)
28213
28214 2005-05-06  Andy Wingo  <wingo@pobox.com>
28215
28216         * gst/gstquery.h
28217         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28218         GstData, init a memchunk.
28219         (standard_definitions): Add a few query types, deprecate a few.
28220         (gst_query_get_type): New proc.
28221         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28222         implementation.
28223         (gst_query_new_application, gst_query_get_structure): New public
28224         procs.
28225
28226         * docs/design/draft-query.txt: Removed LINKS from the query types,
28227         because all the rest can be dispatched to other pads -- seemed
28228         ugly to have a query that couldn't be dispatched. internal_links
28229         is fine as a pad method.
28230
28231         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28232         in gstpad.c, but maintain binary compatibility for the moment.
28233         Will fix before 0.9 is out.
28234
28235         * gst/gstqueryutils.c: 
28236         * gst/gstqueryutils.h: New files, implement 3 methods for each
28237         query type: parse_query, parse_response, and set. Probably need an
28238         allocator as well.
28239
28240         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28241
28242         * gst/elements/gstfilesink.c (gst_filesink_query2):
28243         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28244         query_types, and formats methods.
28245
28246         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28247         (gst_pad_set_query2_function): New functions.
28248         (gst_real_pad_init): Set query2_default as the default query2
28249         function. Basically just dispatches to internally linked pads.
28250
28251         Needs review!
28252         
28253         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28254         without using the atomic operations. Only one thread can possibly
28255         be accessing the data at this point. Changed so as to avoid
28256         gst_atomic operations.
28257
28258 2005-05-06  Wim Taymans  <wim@fluendo.com>
28259
28260         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28261         Also set caps if we use the fallback buffer alloc.
28262
28263 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28264
28265         * docs/gst/Makefile.am:
28266         * docs/gst/gstreamer-docs.sgml:
28267         * docs/gst/gstreamer-sections.txt:
28268         * docs/gst/tmpl/gstatomic.sgml:
28269         * docs/gst/tmpl/gstmemchunk.sgml:
28270         * testsuite/elements/struct_i386.h:
28271         * win32/GStreamer.vcproj:
28272         * win32/Makefile:
28273           Purge GstAtomic stuff from docs and win32 makefiles as well
28274
28275 2005-05-06  Wim Taymans  <wim@fluendo.com>
28276
28277         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28278         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28279         * gst/gstpad.c: (gst_pad_peer_get_caps):
28280         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28281         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28282         (gst_queue_src_activate), (gst_queue_change_state):
28283         * gst/gstqueue.h:
28284         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28285         (intersect_caps_func):
28286         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28287         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28288         Some fixes for the peer_get_caps() change.
28289
28290 2005-05-06  Wim Taymans  <wim@fluendo.com>
28291
28292         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28293         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28294         (gst_basesink_activate):
28295         Actually do something with error codes returned from the push
28296         functions.
28297
28298 2005-05-06  Wim Taymans  <wim@fluendo.com>
28299
28300         * docs/design/part-element-sink.txt:
28301         * docs/design/part-element-source.txt:
28302         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28303         (gst_basesink_event), (gst_basesink_activate):
28304         * gst/base/gstbasesink.h:
28305         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28306         (gst_basesrc_activate):
28307         * gst/base/gstbasesrc.h:
28308         * gst/gstelement.c: (gst_element_pads_activate):
28309         Some more documentation.
28310         Fixed scheduling decision in _pads_activate().
28311
28312 2005-05-05  Andy Wingo  <wingo@pobox.com>
28313
28314         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28315         the test suite.
28316
28317 2005-05-05  Wim Taymans  <wim@fluendo.com>
28318
28319         * gst/base/Makefile.am:
28320         * gst/base/gstbasesink.h:
28321         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28322         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28323         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28324         (gst_collectpads_class_init), (gst_collectpads_init),
28325         (gst_collectpads_finalize), (gst_collectpads_new),
28326         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28327         (find_pad), (gst_collectpads_remove_pad),
28328         (gst_collectpads_is_active), (gst_collectpads_collect),
28329         (gst_collectpads_collect_range), (gst_collectpads_start),
28330         (gst_collectpads_stop), (gst_collectpads_peek),
28331         (gst_collectpads_pop), (gst_collectpads_available),
28332         (gst_collectpads_read), (gst_collectpads_flush),
28333         (gst_collectpads_chain):
28334         * gst/base/gstcollectpads.h:
28335         * gst/elements/Makefile.am:
28336         * gst/elements/gstelements.c:
28337         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28338         (gst_fakesink_get_times), (gst_fakesink_event),
28339         (gst_fakesink_preroll), (gst_fakesink_render):
28340         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28341         (gst_filesink_init), (gst_filesink_set_location),
28342         (gst_filesink_open_file), (gst_filesink_close_file),
28343         (gst_filesink_pad_query), (gst_filesink_event),
28344         (gst_filesink_render), (gst_filesink_change_state):
28345         * gst/elements/gstfilesink.h:
28346         Added object to help in making collect pad based elements.
28347         Ported filesink.
28348         Make event function in sink baseclass return gboolean.
28349
28350 2005-05-05  Wim Taymans  <wim@fluendo.com>
28351
28352         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28353         (gst_bin_get_by_name):
28354         * gst/gstbuffer.h:
28355         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28356         (gst_clock_finalize):
28357         * gst/gstdata.c: (gst_data_replace):
28358         * gst/gstdata.h:
28359         * gst/gstelement.c: (gst_element_request_pad),
28360         (gst_element_pads_activate):
28361         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28362         (gst_object_unref):
28363         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28364         (gst_pad_set_checkgetrange_function),
28365         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28366         (gst_pad_check_pull_range), (gst_pad_pull_range),
28367         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28368         (gst_pad_pause_task), (gst_pad_stop_task):
28369         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28370         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28371         Fix name lookup in GstBin.
28372         Added _data_replace() function and _buffer_replace()
28373         Use finalize method to clean up clock.
28374         Fix refcounting on request pads.
28375         Fix pad schedule mode error.
28376         Some more object refcounting debug info,
28377
28378
28379 2005-05-04  Andy Wingo <wingo@pobox.com>
28380
28381         * check/Makefile.am:
28382         * docs/gst/tmpl/gstatomic.sgml:
28383         * docs/gst/tmpl/gstplugin.sgml:
28384         * gst/base/gstbasesink.c: (gst_basesink_activate):
28385         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28386         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28387         (gst_basesrc_query), (gst_basesrc_set_property),
28388         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28389         (gst_basesrc_activate):
28390         * gst/base/gstbasesrc.h:
28391         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28392         (gst_base_transform_src_activate):
28393         * gst/elements/gstelements.c:
28394         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28395         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28396         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28397         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28398         (gst_type_find_element_checkgetrange),
28399         (gst_type_find_element_activate):
28400         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28401         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28402         (gst_caps_load_thyself):
28403         * gst/gstelement.c: (gst_element_pads_activate),
28404         (gst_element_save_thyself), (gst_element_restore_thyself):
28405         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28406         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28407         * gst/gstpad.h:
28408         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28409         (gst_xml_parse_file), (gst_xml_parse_memory),
28410         (gst_xml_get_element), (gst_xml_make_element):
28411         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28412         (_file_index_id_save_xml), (gst_file_index_commit):
28413         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28414         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28415         (load_paths):
28416         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28417         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28418         * tools/gst-complete.c: (main):
28419         * tools/gst-compprep.c: (main):
28420         * tools/gst-inspect.c: (print_element_properties_info):
28421         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28422         * tools/gst-xmlinspect.c: (print_element_properties):
28423         GCC 4 fixen.
28424         
28425 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28426
28427         * gst/gstplugin.c: (gst_plugin_check_module),
28428         (gst_plugin_check_file), (gst_plugin_load_file):
28429             apply patch from #172526 to make register work on MacOSX
28430
28431 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28432
28433         * docs/gst/tmpl/gstconfig.sgml:
28434         * gst/gstconfig.h.in:
28435           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28436         * testsuite/debug/printf_extension.c: (main):
28437           Do not use GST_PTR_FORMAT on pointers to types with
28438           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28439         * testsuite/elements/property.h:
28440           use correct printf format
28441
28442 2005-05-02  Wim Taymans  <wim@fluendo.com>
28443
28444         * docs/design/draft-push-pull.txt:
28445         * docs/design/draft-query.txt:
28446         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28447         (gst_basesrc_start):
28448         Added draft for new query API.
28449         Added draft for better selecting scheduling methods.
28450         Make basesrc ignore length if the subclass does not support
28451         it.
28452
28453 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28454
28455         * gst/Makefile.am:
28456           possible fixes for automake-1.5 - _LIBADD is reserved
28457
28458 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28459
28460         * docs/faq/Makefile.am:
28461         * docs/manual/Makefile.am:
28462         * docs/manuals.mak:
28463         * docs/pwg/Makefile.am:
28464         * gst/Makefile.am:
28465           possible fixes for automake-1.5
28466
28467 2005-04-28  Wim Taymans  <wim@fluendo.com>
28468
28469         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28470         (gst_basesink_pad_getcaps), (gst_basesink_init),
28471         (gst_basesink_do_sync):
28472         * gst/gstclock.c: (gst_clock_entry_new):
28473         * gst/gstevent.c: (gst_event_discont_get_value):
28474         * gst/gstpipeline.c: (pipeline_bus_handler),
28475         (gst_pipeline_change_state):
28476         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28477         Better debugging of clocking info.
28478         Allow NULL values when getting discont values.
28479
28480 2005-04-27  Wim Taymans  <wim@fluendo.com>
28481
28482         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28483         * check/gst/gstpad.c: (gst_pad_suite):
28484         Increase timeout for checks.
28485
28486 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28487
28488         * check/Makefile.am:
28489           fix the broken rule for cleanup.  Apparently this rule is
28490           only needed on FC2, so maybe this warrants further autotool
28491           inspection.
28492
28493 2005-04-26  Wim Taymans  <wim@fluendo.com>
28494
28495         * gst/gsttrashstack.h:
28496         Ooohh. a nasty one! After having a failed pop() from the stack,
28497         it's possible that the stack is empty. In that case, don't
28498         follow the NULL pointer.
28499
28500 2005-04-25  Wim Taymans  <wim@fluendo.com>
28501
28502         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28503         (gst_pad_set_checkgetrange_function),
28504         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28505         (gst_pad_check_pull_range), (gst_pad_pull_range),
28506         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28507         (gst_pad_pause_task), (gst_pad_stop_task):
28508         * gst/gstplugin.c: (gst_plugin_load):
28509         * gst/gstplugin.h:
28510         Remove gst_library_load as it does more harm than good with
28511         the new g_module flags.
28512         Revert bogus caps template check in pad linking, pad caps
28513         are important when linking not the template, which is more
28514         general than the current caps.
28515
28516 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28517
28518         * gst/autoplug/.cvsignore:
28519         * gst/autoplug/Makefile.am:
28520         * gst/autoplug/gstsearchfuncs.c:
28521         * gst/autoplug/gstsearchfuncs.h:
28522         * gst/autoplug/gstspider.c:
28523         * gst/autoplug/gstspider.h:
28524         * gst/autoplug/gstspideridentity.c:
28525         * gst/autoplug/gstspideridentity.h:
28526         * gst/autoplug/spidertest.c:
28527           Die, spider, die.
28528
28529 2005-04-25  Wim Taymans  <wim@fluendo.com>
28530
28531         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28532         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28533         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28534         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28535         * gst/gstpad.h:
28536         Added stubs for unimplemented functions. 
28537
28538 2005-04-24  David Schleef  <ds@schleef.org>
28539
28540         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28541         please fix.
28542
28543 2005-04-24  David Schleef  <ds@schleef.org>
28544
28545         Convert everything from GstAtomicInt to g_atomic_int_*, and
28546         remove gstatomic.
28547         * gst/Makefile.am:
28548         * gst/gstatomic.c:
28549         * gst/gstatomic.h:
28550         * gst/gstatomic_impl.h:
28551         * gst/gstbuffer.c:
28552         * gst/gstcaps.c:
28553         * gst/gstcaps.h:
28554         * gst/gstclock.c:
28555         * gst/gstclock.h:
28556         * gst/gstdata.c:
28557         * gst/gstdata.h:
28558         * gst/gstdata_private.h:
28559         * gst/gstevent.c:
28560         * gst/gstinfo.c:
28561         * gst/gstinfo.h:
28562         * gst/gstmessage.c:
28563         * gst/gstobject.c:
28564         * gst/gstobject.h:
28565         * gst/gststructure.c:
28566         * gst/gststructure.h:
28567         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28568         * gst/gstutils.h:
28569
28570 2005-04-24  David Schleef  <ds@schleef.org>
28571
28572         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28573         make the regressions tests work.  Remove some code that is no
28574         longer true.
28575         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28576         Disable warning for pads without templates.
28577
28578 2005-04-24  David Schleef  <ds@schleef.org>
28579
28580         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28581         functions that handle filtered links.
28582         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28583         removed functions.
28584         * gst/gstutils.c: Fix/remove utility functions that handle
28585         filtered caps.
28586         * gst/gstutils.h:
28587         * gst/gstvalue.c: Add serialization/deserialization of caps
28588         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28589         requires fixing so that the filter caps notation creates
28590         a capsfilter element and sets the filter_caps property.  I
28591         think everyone probably wants to keep the shorthand notation.
28592         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28593         * docs/gst/tmpl/gstpad.sgml:
28594
28595         * gst/elements/gstelements.c: Register capsfilter element.
28596         * gst/Makefile.am: fix spacing
28597         * docs/random/ds/0.9-suggested-changes: random
28598
28599 2005-04-23  David Schleef  <ds@schleef.org>
28600
28601         * gst/elements/Makefile.am:
28602         * gst/elements/gstcapsfilter.c: New element that acts like an
28603         identity, but filters caps.  Will eventually replace filtered
28604         caps in pad linking.
28605         * gst/gstutils.c: (gst_element_create_all_pads): New function
28606         to create all the ALWAYS pads that are registered with an
28607         element class.  This functionality should eventually be
28608         merged in with GstElement initialization.
28609         * gst/gstutils.h:
28610         * testsuite/trigger/README: part of trigger test code that should
28611         have been checked in a long time ago.
28612
28613 2005-04-23  David Schleef  <ds@schleef.org>
28614
28615         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28616         needed with new versions of libtool (nobody will confirm this),
28617         and hard to carry around.
28618         * gst/autoplug/Makefile.am:
28619         * gst/base/Makefile.am:
28620         * gst/elements/Makefile.am:
28621         * gst/indexers/Makefile.am:
28622         * gst/schedulers/Makefile.am:
28623         * libs/gst/bytestream/Makefile.am:
28624         * libs/gst/control/Makefile.am:
28625         * libs/gst/dataprotocol/Makefile.am:
28626         * libs/gst/getbits/Makefile.am:
28627
28628 2005-04-21  Wim Taymans  <wim@fluendo.com>
28629
28630         * docs/design/draft-push-pull.txt:
28631         * docs/design/part-MT-refcounting.txt:
28632         * docs/design/part-TODO.txt:
28633         * docs/design/part-caps.txt:
28634         * docs/design/part-events.txt:
28635         * docs/design/part-gstbus.txt:
28636         * docs/design/part-gstpipeline.txt:
28637         * docs/design/part-messages.txt:
28638         * docs/design/part-push-pull.txt:
28639         * docs/design/part-query.txt:
28640         Some more docs.
28641
28642 2005-04-21  Wim Taymans  <wim@fluendo.com>
28643
28644         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28645         (gst_message_new), (gst_message_new_error),
28646         (gst_message_new_warning), (gst_message_new_tag),
28647         (gst_message_new_state_changed), (gst_message_new_application),
28648         (gst_message_get_structure):
28649         * gst/gstmessage.h:
28650         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28651         (gst_structure_copy_conditional):
28652         Use parent refcount in GstMessage to ensure GstStructure
28653         consistency.
28654         Cleaned up headers a bit.
28655         
28656
28657 2005-04-20  Wim Taymans  <wim@fluendo.com>
28658
28659         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28660         (gst_basesink_pad_getcaps), (gst_basesink_init),
28661         (gst_basesink_chain_unlocked):
28662         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28663         (gst_type_find_helper):
28664         * gst/elements/gsttypefindelement.c:
28665         (gst_type_find_element_have_type), (gst_type_find_element_init),
28666         (stop_typefinding), (gst_type_find_element_handle_event),
28667         (find_suggest), (gst_type_find_element_chain),
28668         (gst_type_find_element_checkgetrange),
28669         (gst_type_find_element_getrange), (do_typefind),
28670         (gst_type_find_element_activate):
28671         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28672         (gst_buffer_default_free), (gst_buffer_default_copy),
28673         (gst_buffer_set_caps):
28674         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28675         (gst_caps_replace):
28676         * gst/gstmessage.c: (gst_message_new),
28677         (gst_message_new_state_changed):
28678         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28679         (gst_pad_set_checkgetrange_function),
28680         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28681         (gst_pad_set_caps), (gst_pad_check_pull_range),
28682         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28683         * gst/gstpad.h:
28684         * gst/gsttypefind.c: (gst_type_find_register):
28685         Make gst_caps_replace() work like other _replace() functions.
28686         Use _caps_replace() where possible.
28687         Make sure _message_new() initialises its field.
28688         Add gst_static_pad_template_get_caps()
28689
28690
28691 2005-04-18  Andy Wingo  <wingo@pobox.com>
28692
28693         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28694         on the peer, not the pad. I think that was a typo. Pass an extra
28695         arg to see if random access is possible. Activate the pads as
28696         PULL_RANGE if possible.
28697
28698         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28699
28700         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
28701         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28702         to PROP_....
28703
28704 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28705
28706         * docs/faq/using.xml:
28707           Add note on gstreamer-properties (#154996).
28708
28709 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28710
28711         * docs/random/bbb/optional-properties:
28712           Some analysis on optional properties.
28713
28714 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28715
28716         * docs/gst/tmpl/gstelementfactory.sgml:
28717         * gst/gstelement.h:
28718         * gst/gstelementfactory.c: (gst_element_factory_init),
28719         (gst_element_factory_cleanup), (gst_element_register),
28720         (__gst_element_factory_add_static_pad_template),
28721         (gst_element_factory_get_static_pad_templates),
28722         (gst_element_factory_can_src_caps),
28723         (gst_element_factory_can_sink_caps):
28724         * gst/registries/Makefile.am:
28725         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28726         (gst_xml_registry_class_init), (gst_xml_registry_init),
28727         (gst_xml_registry_new), (gst_xml_registry_set_property),
28728         (gst_xml_registry_get_property), (get_time), (make_dir),
28729         (gst_xml_registry_get_perms_func),
28730         (plugin_times_older_than_recurse), (plugin_times_older_than),
28731         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28732         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28733         (add_to_char_array), (read_string), (read_uint), (read_enum),
28734         (load_pad_template), (load_feature), (load_plugin), (load_paths),
28735         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28736         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28737         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28738         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28739         (gst_xml_registry_rebuild):
28740         * gst/registries/gstlibxmlregistry.h:
28741         * tools/gst-compprep.c: (main):
28742         * tools/gst-inspect.c: (print_pad_templates_info):
28743         * tools/gst-xmlinspect.c: (print_element_info):
28744           Use libxml2 for registry parsing, use staticpadtemplates in
28745           elementfactories. Makes gst_init() +/- 10x faster.
28746
28747 2005-04-12  Wim Taymans  <wim@fluendo.com>
28748
28749         * gst/base/Makefile.am:
28750         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28751         (gst_basesink_pad_getcaps), (gst_basesink_init),
28752         (gst_basesink_event), (gst_basesink_change_state):
28753         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28754         (gst_basesrc_init), (gst_basesrc_query),
28755         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28756         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28757         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28758         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28759         (gst_basesrc_stop), (gst_basesrc_activate),
28760         (gst_basesrc_change_state):
28761         * gst/base/gsttypefindhelper.c: (helper_find_peek),
28762         (helper_find_suggest), (gst_type_find_helper):
28763         * gst/base/gsttypefindhelper.h:
28764         * gst/elements/Makefile.am:
28765         * gst/elements/gstelements.c:
28766         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28767         (gst_fakesink_get_times), (gst_fakesink_event),
28768         (gst_fakesink_preroll), (gst_fakesink_render):
28769         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28770         (gst_fakesrc_init), (gst_fakesrc_event_handler),
28771         (gst_fakesrc_get_property), (gst_fakesrc_create),
28772         (gst_fakesrc_start), (gst_fakesrc_stop):
28773         * gst/elements/gstfakesrc.h:
28774         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28775         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28776         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28777         (gst_filesrc_create_read), (gst_filesrc_create),
28778         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28779         (gst_filesrc_start):
28780         * gst/elements/gsttypefindelement.c:
28781         (gst_type_find_element_have_type), (gst_type_find_element_init),
28782         (start_typefinding), (stop_typefinding), (push_buffer_store),
28783         (gst_type_find_element_handle_event),
28784         (gst_type_find_element_chain),
28785         (gst_type_find_element_checkgetrange),
28786         (gst_type_find_element_getrange), (do_typefind),
28787         (gst_type_find_element_activate),
28788         (gst_type_find_element_change_state):
28789         * gst/elements/gsttypefindelement.h:
28790         * gst/gstpipeline.c: (pipeline_bus_handler):
28791         Added typefind helper.
28792         Small preroll fix in the base sink.
28793         Disable typefind code in basesrc.
28794         Crude port of typefindelement.
28795         Fakesrc cleanups.
28796
28797
28798 2005-04-11  Wim Taymans  <wim@fluendo.com>
28799
28800         * check/gst/gstbus.c: (gstbus_suite):
28801         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28802         * check/gstcheck.h:
28803           Fix up the timeout so that the test does not fail.
28804
28805 2005-04-06  Wim Taymans  <wim@fluendo.com>
28806
28807         * gst/base/README:
28808         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28809         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28810         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28811         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28812         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28813         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28814         (gst_basesrc_stop), (gst_basesrc_activate),
28815         (gst_basesrc_change_state), (basesrc_find_peek),
28816         (basesrc_find_suggest), (gst_basesrc_type_find):
28817         * gst/base/gstbasesrc.h:
28818         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28819         (gst_filesrc_class_init), (gst_filesrc_init),
28820         (gst_filesrc_finalize), (gst_filesrc_set_location),
28821         (gst_filesrc_set_property), (gst_filesrc_get_property),
28822         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28823         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28824         (gst_filesrc_create_read), (gst_filesrc_create),
28825         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28826         * gst/elements/gstfilesrc.h:
28827         * gst/gstelement.c: (gst_element_get_state_func),
28828         (gst_element_lost_state), (gst_element_pads_activate):
28829         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28830         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28831         (gst_pad_pull_range):
28832         * gst/gstpad.h:
28833         More work on the generic source base class, implement seeking,
28834         query.
28835         Make filesrc extend the base source class.
28836         Added gst_pad_set_checkgetrange_function to GstPad.
28837
28838 2005-04-06  Andy Wingo  <wingo@pobox.com>
28839
28840         * pkgconfig/gstreamer-base.pc.in:
28841         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28842
28843         * pkgconfig/Makefile.am:
28844         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28845
28846 2005-04-04  Wim Taymans  <wim@fluendo.com>
28847
28848         * gst/base/Makefile.am:
28849         * gst/base/README:
28850         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28851         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28852         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28853         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28854         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28855         (gst_basesrc_base_init), (gst_basesrc_class_init),
28856         (gst_basesrc_init), (gst_basesrc_get_formats),
28857         (gst_basesrc_get_query_types), (gst_basesrc_query),
28858         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28859         (gst_basesrc_set_property), (gst_basesrc_get_property),
28860         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28861         (gst_basesrc_loop), (gst_basesrc_activate),
28862         (gst_basesrc_change_state):
28863         * gst/base/gstbasesrc.h:
28864         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28865         (gst_fakesrc_class_init), (gst_fakesrc_init),
28866         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28867         (gst_fakesrc_get_property), (gst_fakesrc_create):
28868         * gst/elements/gstfakesrc.h:
28869         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28870         (gst_filesrc_open_file), (gst_filesrc_loop),
28871         (gst_filesrc_activate), (filesrc_find_peek),
28872         (gst_filesrc_type_find):
28873         Made base source class, make fakesrc extend it.
28874         Add comments to basesink class.
28875         Some filesrc cleanup.
28876
28877 2005-03-31  David Schleef  <ds@schleef.org>
28878
28879         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28880         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28881         expected to link against libgstreamer.
28882         * gst/base/Makefile.am: link against libgstreamer
28883         * gst/elements/Makefile.am: same
28884
28885 2005-03-31  Andy Wingo  <wingo@pobox.com>
28886
28887         * tests/instantiate/Makefile.am:
28888         * tests/instantiate/caps.c: Add test to test speed of caps copy
28889         and free.
28890
28891         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28892         GMemChunk to be fair.
28893
28894         * gst/gsttrashstack.h: Remove warning about using the fallback
28895         trash stack implementation, it's still faster than malloc.
28896
28897 2005-03-30  Andy Wingo  <wingo@pobox.com>
28898
28899         * tests/complexity.c: Add a copyright.
28900
28901 2005-03-31  Wim Taymans  <wim@fluendo.com>
28902
28903         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28904         (gst_base_transform_class_init), (gst_base_transform_init),
28905         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28906         (gst_base_transform_get_property),
28907         (gst_base_transform_sink_activate),
28908         (gst_base_transform_src_activate),
28909         (gst_base_transform_change_state):
28910         * gst/base/gstbasetransform.h:
28911         * gst/elements/gstidentity.c: (gst_identity_class_init),
28912         (gst_identity_event), (gst_identity_check_perfect),
28913         (gst_identity_transform), (gst_identity_start),
28914         (gst_identity_stop):
28915         Added start/stop methods to transform base class so subclasses 
28916         don't need to deal with state changes even.
28917
28918 2005-03-31  Wim Taymans  <wim@fluendo.com>
28919
28920         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28921         (gst_event_new_discontinuous), (gst_event_discont_get_value):
28922         * gst/gstevent.h:
28923         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28924         (gst_pad_pull_range):
28925         Added rate to the discont event to prepare for variable speed
28926         and reverse playback.
28927
28928 2005-03-29  David Schleef  <ds@schleef.org>
28929
28930         * configure.ac:
28931         * testsuite/trigger/Makefile.am:
28932         * testsuite/trigger/trigger.c: A little example program to show
28933         how trigger-based elements can work.
28934
28935 2005-03-29  Wim Taymans  <wim@fluendo.com>
28936
28937         * gst/base/Makefile.am:
28938         * gst/base/README:
28939         * gst/base/gstbasesink.c: (gst_basesink_get_type),
28940         (gst_basesink_base_init), (gst_basesink_class_init),
28941         (gst_basesink_pad_getcaps), (gst_basesink_init),
28942         (gst_basesink_activate), (gst_basesink_change_state):
28943         * gst/base/gstbasesink.h:
28944         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28945         (gst_base_transform_base_init), (gst_base_transform_finalize),
28946         (gst_base_transform_class_init), (gst_base_transform_init),
28947         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28948         (gst_base_transform_event), (gst_base_transform_getrange),
28949         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28950         (gst_base_transform_set_property),
28951         (gst_base_transform_get_property),
28952         (gst_base_transform_sink_activate),
28953         (gst_base_transform_src_activate),
28954         (gst_base_transform_change_state):
28955         * gst/base/gstbasetransform.h:
28956         * gst/elements/gstidentity.c: (gst_identity_finalize),
28957         (gst_identity_class_init), (gst_identity_init),
28958         (gst_identity_event), (gst_identity_check_perfect),
28959         (gst_identity_transform), (gst_identity_set_property),
28960         (gst_identity_get_property), (gst_identity_change_state):
28961         * gst/elements/gstidentity.h:
28962         * gst/gstelement.c: (gst_element_get_state_func),
28963         (gst_element_lost_state), (gst_element_pads_activate):
28964         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28965         (gst_pad_check_pull_range), (gst_pad_pull_range):
28966         * gst/gstpad.h:
28967         Simplify pad activation.
28968         Added function to check if pull_range can be performed.
28969         Error out when pulling inactive or flushing pads.
28970         Removed const from refcounted types as it does not make sense.
28971         Simplify pad templates in basesink
28972         Added base class for simple 1-to-1 transforms.
28973         Make identity subclass the base transform.
28974
28975 2005-03-29  Andy Wingo  <wingo@pobox.com>
28976
28977         * docs/libs/gstreamer-libs-overrides.txt: 
28978         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
28979         really don't understand what's going on, but like whatever. I want
28980         green buildbot!
28981
28982         * docs/gst/Makefile.am:
28983         * docs/libs/Makefile.am: Dist the overrides files.
28984
28985         * check/Makefile.am (clean-local): Remove .libs directories.
28986
28987         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
28988         elements to EXTRA_DIST, so po/ files are happy.
28989
28990         * po/POTFILES.in: Er, remove it here.
28991
28992         * po/POTFILES: Remove gstspider.c.
28993
28994         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
28995
28996         * docs/libs/gstreamer-libs-docs.sgml: 
28997         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
28998         bytestream.
28999
29000         * tests/complexity.c (main): Set the length of the preroll queue
29001         on the sinks to prevent a lockup.
29002
29003         * libs/gst/dataprotocol/Makefile.am: 
29004         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29005         the same as the one in check/gst-libs/gdp.c.
29006
29007         * po/, docs/gst/: Commit automatic changes to docs and po files.
29008
29009         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29010         the versioned libgstbase.
29011
29012         * check/Makefile.am: Depend on an unversioned gst-register, seems
29013         to make autoconf happier.
29014
29015         * gst/base/Makefile.am: Make libgstbase a versioned lib.
29016
29017 2005-03-28  Wim Taymans  <wim@fluendo.com>
29018
29019         * configure.ac:
29020         * docs/design/part-gstelement.txt:
29021         * docs/design/part-negotiation.txt:
29022         * docs/design/part-preroll.txt:
29023         * docs/design/part-scheduling.txt:
29024         * docs/design/part-states.txt:
29025         * gst/Makefile.am:
29026         * gst/base/Makefile.am:
29027         * gst/base/README:
29028         * gst/base/gstbasesink.c: (gst_basesink_get_template),
29029         (gst_basesink_base_init), (gst_basesink_class_init),
29030         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29031         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29032         (gst_basesink_set_pad_functions),
29033         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29034         (gst_basesink_set_property), (gst_basesink_get_property),
29035         (gst_base_sink_get_template), (gst_base_sink_get_caps),
29036         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29037         (gst_basesink_preroll_queue_push),
29038         (gst_basesink_preroll_queue_empty),
29039         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29040         (gst_basesink_event), (gst_basesink_get_times),
29041         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29042         (gst_basesink_chain_unlocked), (gst_basesink_chain),
29043         (gst_basesink_loop), (gst_basesink_activate),
29044         (gst_basesink_change_state):
29045         * gst/base/gstbasesink.h:
29046         * gst/elements/Makefile.am:
29047         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29048         (gst_fakesink_class_init), (gst_fakesink_init),
29049         (gst_fakesink_set_property), (gst_fakesink_get_property),
29050         (gst_fakesink_get_times), (gst_fakesink_event),
29051         (gst_fakesink_preroll), (gst_fakesink_render),
29052         (gst_fakesink_change_state):
29053         * gst/elements/gstfakesink.h:
29054         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29055         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29056         * gst/gstelement.c: (gst_element_add_pad),
29057         (gst_element_get_state_func), (gst_element_abort_state),
29058         (gst_element_commit_state), (gst_element_lost_state),
29059         (gst_element_set_state), (gst_element_pads_activate):
29060         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29061         * gst/gstpipeline.c: (gst_pipeline_send_event),
29062         (gst_pipeline_change_state):
29063         Added state change code.
29064         Added/updated docs.
29065         Added sink base class, make fakesink extend the base class.
29066         Small cleanups in GstPipeline.
29067
29068 2005-03-26  David Schleef  <ds@schleef.org>
29069
29070         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
29071         is broken and should be implemented in a different library.
29072         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29073         * gst/gst.h: remove gstcpu.h
29074         * gst/gstcpu.c: remove
29075         * gst/gstcpu.h: remove
29076         * gst/Makefile.am.future: Remove this file.  It's ancient.
29077
29078 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29079
29080         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29081         (gst_bin_send_event):
29082           Add default event/set_manager handlers. The set_manager handler
29083           takes care that the manager is distributed over kids that were
29084           already in the bin before the manager was set. The event handler
29085           is a utility virtual function that sends the event over all sinks,
29086           so that gst_element_send_event (bin, event); has the expected
29087           behaviour.
29088         * gst/gstpad.c: (gst_pad_event_default):
29089           Re-install default event handling for discontinuities, so that
29090           seeking works without requiring hacks in applications or extra
29091           code in sinks.
29092         * gst/gstpipeline.c: (gst_pipeline_class_init),
29093         (gst_pipeline_send_event):
29094           Half hack, half utility: set a pipeline to PAUSED for seek events,
29095           since that is the only way we can guarantee a/v sync. Means that
29096           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29097           and it "just works".
29098
29099 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29100
29101         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29102           Lock/unlock mismatch.
29103
29104 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29105
29106         * docs/faq/gst-uninstalled:
29107           add gst-plugins-base
29108         * docs/gst/Makefile.am:
29109           don't error out until docs are fixed
29110         * docs/gst/gstreamer.types:
29111           remove thread
29112
29113 2005-03-22  Wim Taymans  <wim@fluendo.com>
29114
29115         * check/Makefile.am:
29116         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29117         * gst/gststructure.c: (gst_structure_set_valist),
29118         (gst_structure_copy_conditional):
29119         Activated more tests.
29120         Added message test.
29121         Added G_TYPE_POINTER to GstStructure.
29122         
29123
29124 2005-03-22  Wim Taymans  <wim@fluendo.com>
29125
29126         * docs/design/part-TODO.txt:
29127         * docs/design/part-events.txt:
29128         * docs/design/part-gstbin.txt:
29129         * docs/design/part-gstbus.txt:
29130         * docs/design/part-gstpipeline.txt:
29131         * docs/design/part-messages.txt:
29132         * gst/gstbus.c:
29133         * gst/gstmessage.c:
29134         Docs updates
29135
29136 2005-03-21  Wim Taymans  <wim@fluendo.com>
29137
29138         * gst/gstbus.c: (gst_bus_post):
29139         Fix copy-and-paste error.
29140
29141 2005-03-21  Wim Taymans  <wim@fluendo.com>
29142
29143         * check/Makefile.am:
29144         * gst/Makefile.am:
29145         * gst/elements/Makefile.am:
29146         * gst/elements/gstelements.c:
29147         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29148         (gst_fakesink_event), (gst_fakesink_chain):
29149         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29150         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29151         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29152         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29153         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29154         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29155         (gst_fakesrc_loop), (gst_fakesrc_activate),
29156         (gst_fakesrc_change_state):
29157         * gst/elements/gstfakesrc.h:
29158         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29159         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29160         (gst_filesrc_open_file), (gst_filesrc_loop),
29161         (gst_filesrc_activate), (gst_filesrc_change_state),
29162         (filesrc_find_peek), (filesrc_find_suggest),
29163         (gst_filesrc_type_find):
29164         * gst/elements/gstidentity.c: (gst_identity_finalize),
29165         (gst_identity_class_init), (gst_identity_init),
29166         (gst_identity_proxy_getcaps), (identity_queue_push),
29167         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29168         (gst_identity_getrange), (gst_identity_chain),
29169         (gst_identity_sink_loop), (gst_identity_src_loop),
29170         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29171         (gst_identity_set_property), (gst_identity_get_property),
29172         (gst_identity_change_state):
29173         * gst/elements/gstidentity.h:
29174         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29175         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29176         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29177         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29178         (gst_tee_sink_activate):
29179         * gst/elements/gsttee.h:
29180         * gst/gst.c: (gst_register_core_elements), (init_post):
29181         * gst/gst.h:
29182         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29183         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29184         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29185         (gst_bin_change_state):
29186         * gst/gstbin.h:
29187         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29188         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29189         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29190         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29191         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29192         (bus_watch_callback), (bus_watch_destroy),
29193         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29194         (poll_timeout), (gst_bus_poll):
29195         * gst/gstbus.h:
29196         * gst/gstcaps.h:
29197         * gst/gstdata.h:
29198         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29199         (gst_element_post_message), (gst_element_message_full),
29200         (gst_element_get_state_func), (gst_element_get_state),
29201         (gst_element_abort_state), (gst_element_commit_state),
29202         (gst_element_lost_state), (gst_element_set_state),
29203         (gst_element_pads_activate), (gst_element_change_state),
29204         (gst_element_dispose), (gst_element_set_manager_func),
29205         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29206         (gst_element_set_manager), (gst_element_get_manager),
29207         (gst_element_set_bus), (gst_element_get_bus),
29208         (gst_element_set_scheduler), (gst_element_get_scheduler):
29209         * gst/gstelement.h:
29210         * gst/gstevent.c: (gst_event_new_segment_seek),
29211         (gst_event_new_flush):
29212         * gst/gstevent.h:
29213         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29214         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29215         (gst_message_new_eos), (gst_message_new_error),
29216         (gst_message_new_warning), (gst_message_new_tag),
29217         (gst_message_new_state_changed), (gst_message_new_application),
29218         (gst_message_get_structure), (gst_message_parse_tag),
29219         (gst_message_parse_state_changed), (gst_message_parse_error),
29220         (gst_message_parse_warning):
29221         * gst/gstmessage.h:
29222         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29223         (gst_real_pad_set_property), (gst_pad_set_active),
29224         (gst_pad_is_active), (gst_pad_set_blocked_async),
29225         (gst_pad_set_blocked), (gst_pad_is_blocked),
29226         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29227         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29228         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29229         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29230         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29231         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29232         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29233         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29234         (gst_pad_set_caps), (gst_pad_configure_sink),
29235         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29236         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29237         (gst_real_pad_dispose), (gst_real_pad_finalize),
29238         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29239         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29240         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29241         * gst/gstpad.h:
29242         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29243         (pipeline_bus_handler), (gst_pipeline_change_state),
29244         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29245         * gst/gstpipeline.h:
29246         * gst/gstprobe.h:
29247         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29248         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29249         (gst_queue_link_src), (gst_queue_bufferalloc),
29250         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29251         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29252         (gst_queue_loop), (gst_queue_handle_src_event),
29253         (gst_queue_handle_src_query), (gst_queue_src_activate),
29254         (gst_queue_change_state):
29255         * gst/gstqueue.h:
29256         * gst/gstscheduler.c: (gst_scheduler_init),
29257         (gst_scheduler_dispose), (gst_scheduler_create_task),
29258         (gst_scheduler_factory_create):
29259         * gst/gstscheduler.h:
29260         * gst/gststructure.c: (gst_structure_get_type),
29261         (gst_structure_copy_conditional):
29262         * gst/gststructure.h:
29263         * gst/gsttaginterface.h:
29264         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29265         (gst_task_init), (gst_task_dispose), (gst_task_create),
29266         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29267         (gst_task_pause):
29268         * gst/gsttask.h:
29269         * gst/gstthread.c:
29270         * gst/gstthread.h:
29271         * gst/gsttypes.h:
29272         * gst/schedulers/Makefile.am:
29273         * gst/schedulers/cothreads_compat.h:
29274         * gst/schedulers/entryscheduler.c:
29275         * gst/schedulers/faircothreads.c:
29276         * gst/schedulers/faircothreads.h:
29277         * gst/schedulers/fairscheduler.c:
29278         * gst/schedulers/gstbasicscheduler.c:
29279         * gst/schedulers/gstoptimalscheduler.c:
29280         * gst/schedulers/gthread-cothreads.h:
29281         * gst/schedulers/threadscheduler.c:
29282         (gst_thread_scheduler_task_get_type),
29283         (gst_thread_scheduler_task_class_init),
29284         (gst_thread_scheduler_task_init),
29285         (gst_thread_scheduler_task_start),
29286         (gst_thread_scheduler_task_stop),
29287         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29288         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29289         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29290         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29291         (plugin_init):
29292         * libs/gst/Makefile.am:
29293         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29294         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29295         (gst_file_pad_parent_set):
29296         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29297         (gst_dp_event_from_packet):
29298         * tests/complexity.c: (main):
29299         * tests/mass_elements.c: (main):
29300         * testsuite/states/locked.c: (message_received), (main):
29301         * testsuite/states/parent.c: (main):
29302         * tools/gst-inspect.c: (print_element_flag_info),
29303         (print_implementation_info), (print_pad_info):
29304         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29305         (main):
29306         * tools/gst-md5sum.c: (event_loop), (main):
29307         * tools/gst-typefind.c: (main):
29308         * tools/gst-xmlinspect.c: (print_element_info):
29309         Next big merge.
29310         Added GstBus for mainloop integration.
29311         Added GstMessage for sending notifications on the bus.
29312         Added GstTask as an abstraction for pipeline entry points.
29313         Removed GstThread.
29314         Removed Schedulers.
29315         Simplified GstQueue for multithreaded core.
29316         Made _link threadsafe, removed old capsnego.
29317         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29318         Added pad blocking functions.
29319         Reworked scheduling functions in GstPad to prepare for
29320         scheduling updates soon.
29321         Moved events out of data stream.
29322         Simplified GstEvent types.
29323         Added return values to push/pull.
29324         Removed clocking from GstElement.
29325         Added prototypes for state change function for next merge.
29326         Removed iterate from bins and state change management.
29327         Fixed some elements, disabled others for now.
29328         Fixed -inspect and -launch.
29329         Added check for GstBus.
29330
29331 2005-03-10  Wim Taymans  <wim@fluendo.com>
29332
29333         * docs/design/part-MT-refcounting.txt:
29334         * docs/design/part-clocks.txt:
29335         * docs/design/part-gstelement.txt:
29336         * docs/design/part-gstobject.txt:
29337         * docs/design/part-standards.txt:
29338         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29339         (gst_bin_remove_func), (gst_bin_remove):
29340         * gst/gstbin.h:
29341         * gst/gstbuffer.c:
29342         * gst/gstcaps.h:
29343         * testsuite/clock/clock1.c: (main):
29344         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29345         (main):
29346         * testsuite/dlopen/loadgst.c: (do_test):
29347         * testsuite/refcounting/bin.c: (add_remove_test1),
29348         (add_remove_test2), (main):
29349         * testsuite/refcounting/element.c: (main):
29350         * testsuite/refcounting/element_pad.c: (main):
29351         * testsuite/refcounting/pad.c: (main):
29352         * tools/gst-launch.c: (sigint_handler_sighandler):
29353         * tools/gst-typefind.c: (main):
29354         Doc updates.
29355         Added doc about clock.
29356         removed gst_bin_iterate_recurse_up(), marked methods
29357         for removal.
29358         Fix more testsuites.
29359
29360 2005-03-09  Wim Taymans  <wim@fluendo.com>
29361
29362         * gst/gstpad.c: (gst_pad_get_direction),
29363         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29364         (gst_pad_collect_valist):
29365         * testsuite/bins/interface.c: (main):
29366         * testsuite/caps/audioscale.c: (test_caps):
29367         * testsuite/caps/caps.c: (test1), (test2), (test3):
29368         * testsuite/caps/deserialize.c: (main):
29369         * testsuite/caps/enumcaps.c: (main):
29370         * testsuite/caps/filtercaps.c: (main):
29371         * testsuite/caps/intersect2.c: (main):
29372         * testsuite/caps/random.c: (main):
29373         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29374         * testsuite/caps/sets.c: (check_caps):
29375         * testsuite/caps/simplify.c: (check_caps), (main):
29376         * testsuite/caps/subtract.c: (check_caps):
29377         Fix _pad_get_direction wrt ghostpads.
29378         Fix caps testsuite.
29379
29380 2005-03-09  Wim Taymans  <wim@fluendo.com>
29381
29382         * check/Makefile.am:
29383         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29384         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29385         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29386         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29387         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29388         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29389         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29390         (bin_element_is_sink), (gst_bin_iterate_sinks),
29391         (gst_bin_iterate_all_by_interface):
29392         * gst/gstbin.h:
29393         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29394         (gst_element_change_state), (gst_element_dispose),
29395         (gst_element_finalize), (gst_element_set_loop_function):
29396         * gst/gstelement.h:
29397         * gst/gstiterator.c: (find_custom_fold_func):
29398         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29399         (gst_pad_collectv), (gst_pad_collect_valist),
29400         (gst_pad_template_new):
29401         * gst/gstpipeline.c: (gst_pipeline_class_init),
29402         (gst_pipeline_dispose), (gst_pipeline_set_property),
29403         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29404         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29405         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29406         * gst/gstutils.h:
29407         * gst/schedulers/entryscheduler.c:
29408         * gst/schedulers/gstbasicscheduler.c:
29409         (gst_basic_scheduler_cothreaded_chain),
29410         (gst_basic_scheduler_chain_add_element):
29411         * testsuite/bins/interface.c: (main):
29412         Added GstBin test.
29413         Added GstSystemClock test.
29414         Implemented clock distribution code in GstBin.
29415         Implemented iterate sinks method for future use.
29416         Rearranged gstelement.h
29417         Fix GstIterator comparison bug.
29418         Moved some code to GstPipeline, mostly clocking related.
29419
29420 2005-03-09  Wim Taymans  <wim@fluendo.com>
29421
29422         * configure.ac:
29423         * gst/gst_private.h:
29424         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29425         (gst_bin_remove_func), (gst_bin_remove),
29426         (gst_bin_get_by_name_recurse_up):
29427         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29428         (gst_clock_id_compare_func), (gst_clock_id_wait),
29429         (gst_clock_id_wait_async), (gst_clock_init),
29430         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29431         * gst/gstelement.h:
29432         * gst/gstinfo.c: (_gst_debug_init):
29433         * gst/gstobject.h:
29434         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29435         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29436         * gst/gstpad.h:
29437         Bump version number, we're now 0.9.0
29438         Add future debugging category.
29439         Fix NULL _unref() in _get_by_name_recurse_up
29440         Rearrange gstpad.h.
29441         Update some docs.
29442
29443 2005-03-08  Wim Taymans  <wim@fluendo.com>
29444
29445         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29446         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29447         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29448         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29449         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29450         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29451         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29452         * gst/elements/gstidentity.c: (gst_identity_class_init):
29453         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29454         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29455         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29456         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29457         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29458         (gst_tee_link):
29459         * gst/gstelement.c: (gst_element_class_init),
29460         (gst_element_base_class_init), (gst_element_init),
29461         (gst_element_get_random_pad), (gst_element_wait_state_change),
29462         (gst_element_change_state), (gst_element_dispose),
29463         (gst_element_finalize), (gst_element_set_loop_function):
29464         * gst/gstelement.h:
29465         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29466         * gst/gstthread.c: (gst_thread_class_init),
29467         (gst_thread_release_children_locks), (gst_thread_change_state):
29468         * gst/schedulers/gstbasicscheduler.c:
29469         (gst_basic_scheduler_loopfunc_wrapper),
29470         (gst_basic_scheduler_chain_wrapper),
29471         (gst_basic_scheduler_src_wrapper),
29472         (gst_basic_scheduler_remove_element):
29473         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29474         Remove threadsafe properties. Fix elements because GObject
29475         complains when installing a property before declaring a
29476         set/get_property handler.
29477         Rearrange gstelement.h file, use STATE macros for state locks.
29478         Free mutexes in the finalize method instead of dispose.
29479
29480 2005-03-08  Wim Taymans  <wim@fluendo.com>
29481
29482         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29483         * gst/gstthread.c: (gst_thread_release_children_locks):
29484         Added parentage check.
29485         Fix build og GstThread again.
29486
29487 2005-03-08  Wim Taymans  <wim@fluendo.com>
29488
29489         * docs/design/part-MT-refcounting.txt:
29490         * docs/design/part-conventions.txt:
29491         * docs/design/part-gstobject.txt:
29492         * docs/design/part-relations.txt:
29493         * docs/design/part-standards.txt:
29494         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29495         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29496         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29497         (gst_bin_iterate_all_by_interface):
29498         * gst/gstbuffer.h:
29499         * gst/gstclock.h:
29500         * gst/gstelement.c: (gst_element_class_init),
29501         (gst_element_change_state), (gst_element_set_loop_function):
29502         * gst/gstelement.h:
29503         * gst/gstiterator.c:
29504         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29505         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29506         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29507         (gst_object_set_parent), (gst_object_unparent),
29508         (gst_object_check_uniqueness):
29509         * gst/gstobject.h:
29510         Docs updates, clean up some headers.
29511
29512 2005-03-07  Wim Taymans  <wim@fluendo.com>
29513
29514         * check/.cvsignore:
29515         * check/Makefile.am:
29516         * check/gst-libs/.cvsignore:
29517         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29518         * check/gst/.cvsignore:
29519         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29520         (START_TEST), (gstbus_suite), (main):
29521         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29522         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29523         (gst_data_suite), (main):
29524         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29525         (add_fold_func), (gstiterator_suite), (main):
29526         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29527         (thread_name_object), (thread_name_object_default),
29528         (gst_object_name_compare), (gst_object_suite), (main):
29529         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29530         (gst_pad_suite), (main):
29531         * check/gstcheck.c: (gst_check_log_message_func),
29532         (gst_check_log_critical_func), (gst_check_init):
29533         * check/gstcheck.h:
29534         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29535         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29536         Added checks.
29537
29538 2005-03-07  Wim Taymans  <wim@fluendo.com>
29539
29540         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29541         (gst_list_iterator_next), (gst_list_iterator_resync),
29542         (gst_list_iterator_free), (gst_iterator_new_list),
29543         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29544         (gst_iterator_free), (gst_iterator_push), (filter_next),
29545         (filter_resync), (filter_uninit), (filter_free),
29546         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29547         (gst_iterator_foreach), (find_custom_fold_func),
29548         (gst_iterator_find_custom):
29549         * gst/gstiterator.h:
29550         Added missing files.
29551
29552 2005-03-07  Wim Taymans  <wim@fluendo.com>
29553
29554         * Makefile.am:
29555         * configure.ac:
29556         * docs/design/part-MT-refcounting.txt:
29557         * docs/design/part-conventions.txt:
29558         * docs/design/part-gstobject.txt:
29559         * docs/design/part-relations.txt:
29560         * examples/mixer/mixer.c: (main):
29561         * examples/thread/thread.c: (eos), (main):
29562         * gst/Makefile.am:
29563         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29564         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29565         (gst_spider_plug_from_srcpad):
29566         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29567         (gst_spider_identity_change_state),
29568         (gst_spider_identity_sink_loop_type_finding):
29569         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29570         * gst/elements/gstidentity.c: (gst_identity_init):
29571         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29572         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29573         * gst/elements/gsttypefindelement.c: (free_entry):
29574         * gst/gst.c:
29575         * gst/gst.h:
29576         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29577         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29578         (gst_bin_set_index), (gst_bin_set_element_sched),
29579         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29580         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29581         (gst_bin_iterate_elements), (iterate_child_recurse),
29582         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29583         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29584         (compare_interface), (gst_bin_get_by_interface),
29585         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29586         * gst/gstbin.h:
29587         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29588         (gst_buffer_default_free), (gst_buffer_default_copy),
29589         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29590         (gst_buffer_create_sub):
29591         * gst/gstbuffer.h:
29592         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29593         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29594         (gst_caps_unref), (gst_static_caps_get),
29595         (gst_caps_remove_and_get_structure), (gst_caps_append),
29596         (gst_caps_append_structure), (gst_caps_remove_structure),
29597         (gst_caps_copy_nth), (gst_caps_set_simple),
29598         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29599         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29600         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29601         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29602         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29603         (gst_caps_structure_figure_out_union),
29604         (gst_caps_switch_structures), (gst_caps_do_simplify),
29605         (gst_caps_replace), (gst_caps_from_string),
29606         (gst_caps_copy_conditional):
29607         * gst/gstcaps.h:
29608         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29609         (_gst_clock_id_free), (gst_clock_id_unref),
29610         (gst_clock_id_compare_func), (gst_clock_id_wait),
29611         (gst_clock_id_wait_async), (gst_clock_class_init),
29612         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29613         (gst_clock_get_time), (gst_clock_set_time_adjust),
29614         (gst_clock_set_property), (gst_clock_get_property):
29615         * gst/gstclock.h:
29616         * gst/gstcompat.h:
29617         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29618         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29619         * gst/gstdata.h:
29620         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29621         (gst_element_requires_clock), (gst_element_provides_clock),
29622         (gst_element_set_clock), (gst_element_clock_wait),
29623         (gst_element_wait), (gst_element_set_time_delay),
29624         (gst_element_is_indexable), (gst_element_add_pad),
29625         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29626         (pad_compare_name), (gst_element_get_static_pad),
29627         (gst_element_request_pad), (gst_element_get_request_pad),
29628         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29629         (gst_element_class_get_pad_template_list),
29630         (gst_element_class_get_pad_template), (gst_element_error_func),
29631         (gst_element_get_random_pad), (gst_element_get_event_masks),
29632         (gst_element_send_event), (gst_element_seek),
29633         (gst_element_get_query_types), (gst_element_query),
29634         (gst_element_get_formats), (gst_element_convert),
29635         (gst_element_is_locked_state), (gst_element_set_locked_state),
29636         (gst_element_sync_state_with_parent), (gst_element_change_state),
29637         (gst_element_finalize), (gst_element_yield),
29638         (gst_element_interrupt), (gst_element_set_scheduler),
29639         (gst_element_get_scheduler), (gst_element_set_loop_function):
29640         * gst/gstelement.h:
29641         * gst/gstevent.h:
29642         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29643         (gst_format_get_by_nick), (gst_format_get_details),
29644         (gst_format_iterate_definitions):
29645         * gst/gstformat.h:
29646         * gst/gstindex.c: (gst_index_gtype_resolver):
29647         * gst/gstinfo.c:
29648         * gst/gstinfo.h:
29649         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29650         (gst_mem_chunk_free):
29651         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29652         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29653         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29654         (gst_object_dispatch_properties_changed),
29655         (gst_object_set_name_default), (gst_object_set_name),
29656         (gst_object_get_name), (gst_object_set_name_prefix),
29657         (gst_object_get_name_prefix), (gst_object_set_parent),
29658         (gst_object_get_parent), (gst_object_unparent),
29659         (gst_object_check_uniqueness), (gst_object_save_thyself),
29660         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29661         (gst_object_set_property), (gst_object_get_property),
29662         (gst_object_get_path_string):
29663         * gst/gstobject.h:
29664         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29665         (gst_real_pad_init), (gst_real_pad_get_property),
29666         (gst_pad_custom_new), (gst_pad_get_direction),
29667         (gst_pad_set_active), (gst_pad_is_active),
29668         (gst_pad_set_event_function), (gst_pad_is_linked),
29669         (gst_pad_link_free), (gst_pad_link_intersect),
29670         (gst_pad_link_fixate), (gst_pad_set_caps),
29671         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29672         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29673         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29674         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29675         (gst_pad_get_caps), (gst_pad_peer_get_caps),
29676         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29677         (gst_pad_realize), (gst_pad_get_allowed_caps),
29678         (gst_real_pad_dispose), (gst_real_pad_finalize),
29679         (gst_pad_collectv), (gst_pad_collect_valist),
29680         (gst_pad_template_dispose), (gst_pad_template_new),
29681         (gst_pad_get_internal_links):
29682         * gst/gstpad.h:
29683         * gst/gstpipeline.c: (gst_pipeline_dispose),
29684         (gst_pipeline_change_state):
29685         * gst/gstpipeline.h:
29686         * gst/gstplugin.c:
29687         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29688         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29689         * gst/gstpluginfeature.h:
29690         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29691         * gst/gstquery.c: (_gst_query_type_initialize),
29692         (gst_query_type_register), (gst_query_type_get_by_nick),
29693         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29694         * gst/gstquery.h:
29695         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29696         * gst/gstscheduler.c: (gst_scheduler_add_element),
29697         (gst_scheduler_factory_create):
29698         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29699         (gst_structure_free), (gst_structure_set_name),
29700         (gst_structure_id_set_value), (gst_structure_set_value),
29701         (gst_structure_set_valist), (gst_structure_remove_field),
29702         (gst_structure_remove_fields),
29703         (gst_structure_remove_fields_valist),
29704         (gst_structure_remove_all_fields), (gst_structure_foreach),
29705         (gst_structure_map_in_place),
29706         (gst_caps_structure_fixate_field_nearest_int),
29707         (gst_caps_structure_fixate_field_nearest_double):
29708         * gst/gststructure.h:
29709         * gst/gstsystemclock.c: (gst_system_clock_class_init),
29710         (gst_system_clock_init), (gst_system_clock_dispose),
29711         (gst_system_clock_async_thread),
29712         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29713         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29714         * gst/gstsystemclock.h:
29715         * gst/gsttag.c: (gst_tag_list_add_value_internal),
29716         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29717         * gst/gsttaginterface.c:
29718         * gst/gstthread.c: (gst_thread_dispose),
29719         (gst_thread_release_children_locks), (gst_thread_change_state),
29720         (gst_thread_main_loop):
29721         * gst/gsttrashstack.h:
29722         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29723         * gst/gsttypes.h:
29724         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29725         (gst_element_request_pad), (gst_element_get_pad_from_template),
29726         (gst_element_request_compatible_pad),
29727         (gst_element_get_compatible_pad_filtered),
29728         (gst_element_get_compatible_pad), (gst_element_state_get_name),
29729         (gst_element_link_pads_filtered), (gst_element_link_filtered),
29730         (gst_element_link_many), (gst_element_link),
29731         (gst_element_link_pads), (gst_element_unlink_pads),
29732         (gst_element_unlink_many), (gst_element_unlink),
29733         (gst_pad_can_link_filtered), (gst_pad_can_link),
29734         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29735         (gst_object_default_error), (gst_bin_add_many),
29736         (gst_bin_remove_many), (gst_element_populate_std_props),
29737         (gst_element_class_install_std_props), (gst_buffer_merge),
29738         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29739         (link_fold_func), (gst_pad_proxy_setcaps):
29740         * gst/gstutils.h:
29741         * gst/gstvalue.c: (gst_value_deserialize_string):
29742         * gst/parse/grammar.y:
29743         * gst/schedulers/gstbasicscheduler.c:
29744         (gst_basic_scheduler_cothreaded_chain),
29745         (gst_basic_scheduler_chain_recursive_add),
29746         (gst_basic_scheduler_pad_link):
29747         * gst/schedulers/gstoptimalscheduler.c:
29748         (get_group_schedule_function),
29749         (gst_opt_scheduler_state_transition),
29750         (gst_opt_scheduler_add_element), (element_get_reachables_func):
29751         * libs/gst/bytestream/bytestream.c:
29752         * libs/gst/dataprotocol/dataprotocol.c:
29753         (gst_dp_header_from_buffer):
29754         * po/nb.po:
29755         * po/ru.po:
29756         * tests/threadstate/threadstate2.c: (eos):
29757         * tools/gst-compprep.c: (main):
29758         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29759         (print_pad_info), (print_children_info):
29760         * tools/gst-launch.c: (idle_func), (main):
29761         * tools/gst-md5sum.c: (idle_func), (main):
29762         * tools/gst-xmlinspect.c: (print_element_info):
29763         First THREADED backport attempt, focusing on adding locks and
29764         making sure the API is threadsafe. Needs more work. More docs
29765         follow this week.
29766
29767 2005-02-24  Andy Wingo  <wingo@pobox.com>
29768
29769         * tests/bench-complexity.scm:
29770         * tests/complexity.gnuplot: New files, good for running complexity
29771         benchmarks.
29772
29773         * tests/Makefile.am:
29774         * tests/complexity.c: New test, sets up N elements, at each level
29775         teeing into M streams per element. Eeeenteresting.
29776
29777         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29778         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29779         running bench-mass_elements.scm.
29780
29781         * tests/bench-mass_elements.scm: New script, runs mass_elements
29782         for various numbers of identities, outputting the results to a
29783         file. Requires guile 1.6. Just for testing.
29784
29785 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29786
29787         * gst/schedulers/fairscheduler.c:
29788           compile with debug disabled
29789
29790 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29791
29792         * configure.ac:
29793           hunting season on 0.9 is now OPEN