libs/gst/base/gstbasesrc.c: Don't update the last_stop position in do_seek, that...
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2
3         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
4         (gst_base_src_loop):
5         Don't update the last_stop position in do_seek, that's the position we
6         did a seek to.
7         Read backwards when we have a negative rate.
8
9         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
10         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
11         (filesrc_suite):
12         Add check for reverse reading.
13
14 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
15
16         Patch by: Alexis Ballier <aballier at gentoo org>
17
18         * tests/check/gst/gstabi.c:
19         * tests/check/gst/struct_ppc64.h:
20         * tests/check/libs/libsabi.c:
21         * tests/check/libs/struct_ppc64.h:
22           Decide which header to include based on the userland ABI target
23           and not the kernel/cpu. Fix up structure sizes of ppc64 header
24           for 64-bit userland (#503590).  Might need something similar for
25           x86 too.
26
27 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
28
29         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
30           Log the reason why fopen fails in addition to the fact that it failed.
31           
32 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
33
34         * gst/parse/parse.l:
35         Use "%option never-interactive" to prevent useless calls to isatty()
36         on every input when parsing. Also use "%option noinput" to not define
37         the static input/yyinput functions which we don't use anyway. This
38         removes a compiler warning with gcc 4.3 and saves some bytes in the
39         library.
40         
41         * gst/parse/lex._gst_parse_yy.pre.c:
42         Regenerated for the above change.
43
44 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
45
46         * gst/gstpad.c: (fixate_value):
47         Don't crash when trying to fixate and empty list.
48         Fixes #506643.
49
50 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
51
52         * docs/faq/gst-uninstalled:
53         Clarify the comments to make the usage of this script and what it
54         does easier to understand.
55
56 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
57
58         * tools/gst-plot-timeline.py:
59         Add more options to gst-plot-timeline
60
61 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
62
63         * docs/design/part-synchronisation.txt:
64         Some more info on how the stream_time in GstBaseSink is done.
65
66 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
67
68         * tests/check/generic/sinks.c: (gst_sinks_suite):
69           Put back the tcase_set_timeout(), apparently it's needed after
70           all; fix it up in a way that makes things work with valgrind too.
71
72 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
73
74         * gst/gstdebugutils.c:
75           Add warning when failed to open file for writing.
76
77 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
78
79         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
80
81         * gst/gstvalue.c: (gst_value_is_fixed):
82           Optimisation: bail out of the loop as early as possible (#500143).
83
84 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
85
86         * gst/gstcaps.c: (gst_caps_to_string):
87         * gst/gstinfo.c: (gst_debug_construct_term_color):
88         * gst/gstparse.c: (gst_parse_launchv):
89         * gst/gstutils.c: (gst_util_dump_mem):
90         * gst/gstvalue.c: (gst_value_serialize_any_list),
91           (gst_value_transform_any_list_string):
92           Bunch of gratuitous nano-optimisations.
93
94 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
95
96         * tests/check/generic/sinks.c: (async_done_func),
97           (async_done_eos_func):
98           Fix leak in unit test (bus sync handler must unref the message
99           if it returns GST_BUS_DROP). Don't fiddle with the default test
100           timeout, this is smaller than the current preconfigured value
101           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
102           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
103
104 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
105
106         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
107
108         * configure.ac:
109         Check for stdio_ext.h for the filesink changes.
110
111         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
112         (gst_file_sink_class_init), (gst_file_sink_init),
113         (gst_file_sink_dispose), (gst_file_sink_set_property),
114         (gst_file_sink_get_property), (gst_file_sink_open_file),
115         (gst_file_sink_close_file):
116         * plugins/elements/gstfilesink.h:
117         Add two properties to control the buffering mode and size.
118         API: GstFileSink::buffer-mode
119         API: GstFileSink::buffer-size
120         Fixes #500150.
121
122 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
123
124         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
125         Add some more docs to explain why a FIXME was wrongly added. 
126
127 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
128
129         * gst/gstobject.c:
130           Fix typo in the gst_object_{ref,unref} documentation.
131
132 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
133
134         * tests/check/libs/controller.c:
135         * tests/check/libs/typefindhelper.c:
136         * tests/check/pipelines/parse-launch.c:
137           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
138           going to be deprecated (see #498924).
139
140 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
141
142         * gst/gsttypefind.c: (gst_type_find_register):
143           Make gst_type_find_register work for static typefind functions,
144           ie. allow passing plugin == NULL (prerequisite for #498924).
145
146         * gst/gstelementfactory.c: (gst_element_register):
147           Small docs addition.
148
149 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
150
151         * gst/gstpad.c: (gst_pad_dispose):
152         Really unlink the peer pad instead of setting the peer pointer to NULL
153         when we dispose the pad.
154         This correctly calls the unlink functions and makes sure that the peer
155         does not have a handle to invalid memory. See #504671.
156
157         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
158         Add testsuite for above case.
159
160 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
161
162         Patch by: Peter Kjellerstedt <pkj axis com>
163
164         * libs/gst/check/gstcheck.h:
165           Fix detection of the check version we're compiling against (would
166           otherwise break if check goes v0.10.0); correctly report the
167           name of the failed test again in case of failure, instead of
168           just 'tf' (fixes #504499).
169
170 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
171
172         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
173         (gst_base_src_get_range), (gst_base_src_pad_get_range),
174         (gst_base_src_loop), (gst_base_src_set_flushing),
175         (gst_base_src_change_state):
176         Allow sending EOS to the source to make it send out an EOS event from
177         the streaming thread.
178         Update docs and deprecate the old NULL/READY shutdown method.
179
180         * tests/check/libs/basesrc.c: (GST_START_TEST),
181         (gst_basesrc_suite):
182         Add unit test for controlled shutdown.
183
184 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
185
186         * docs/design/part-synchronisation.txt:
187         Small updates.
188
189         * gst/gstsegment.c: (gst_segment_set_seek),
190         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
191         (gst_segment_to_running_time):
192         The seek format can be different from the segment format when the start
193         and stop values are not to be updated, when we only do a rate change for
194         example.
195
196         * tests/check/gst/gstsegment.c: (GST_START_TEST),
197         (gst_segment_suite):
198         Add a testcase for the rate-only seeks, checking that the format is
199         correctly ignored when start and stop are not updated.
200
201 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
202
203         Patch by: Matthias Bolte <photon at mail dot upb dot de>
204
205         * win32/vs8/grammar.vcproj:
206         * win32/vs8/libgstcontroller.vcproj:
207         * win32/vs8/libgstreamer.vcproj:
208         Fix compilation with VS8 and include some missing files.
209
210 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
211
212         * gst/gsttaglist.c:
213           Small docs addition: mention that the strings returned by
214           gst_tag_list_get_string*() are in UTF-8 encoding.
215
216 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
217
218         * Makefile.am:
219           The check-exports stuff moved to common/win32.mak, so include that.
220
221 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
222
223         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
224         (gst_base_src_perform_seek), (gst_base_src_get_range),
225         (gst_base_src_set_playing), (gst_base_src_change_state):
226         Make _wait_playing() not check any variables so that we can call this
227         function from subclasses. Move the checks elsewhere similar to
228         _wait_preroll() in basesink.
229         Add some debugging.
230         Only signal the LIVE cond when we are going back to PLAYING.
231
232 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
233
234         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
235           Use g_remove() and g_rename(). Check result of g_rename(), and
236           don't leak the open file descriptor if we error out when writing.
237
238         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
239           Must check the return value of close() after writing out the new
240           registry file.  Sometimes write problems such as out-of-diskspace
241           are only reported when the file is closed and not already during
242           the write.  This may have caused partial/broken registry files in
243           some rare circumstances. Should fix #503675.
244
245 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
246
247         * docs/gst/.cvsignore:
248         * docs/libs/.cvsignore:
249         * docs/plugins/.cvsignore:
250         Ignore files generated by new common/* modifications
251
252 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
253
254         * win32/common/libgstbase.def:
255           Yes, you can also have a <TAB> if you want.
256
257 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
258
259         * win32/common/libgstbase.def:
260           Add new basetransform API to win export file.
261
262 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
263
264         * tests/check/gst/gstbin.c:
265           Adjust the test to the refcount change two days ago.
266
267 2007-12-14  David Schleef  <ds@schleef.org>
268
269         * docs/faq/getting.xml: Fix typo.
270
271 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
272
273         * docs/libs/gstreamer-libs-sections.txt:
274         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
275           (gst_base_transform_prepare_output_buffer),
276           (gst_base_transform_set_gap_aware):
277         * libs/gst/base/gstbasetransform.h:
278           API: Add gst_base_transform_set_gap_aware() to control whether
279           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
280           get buffers with this flag at all. Fixes #503231.
281
282 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
283
284         * libs/gst/base/gstbasesink.c:
285         * libs/gst/base/gstbasesrc.c:
286         * libs/gst/base/gstbasetransform.c:
287           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
288           thread. Correct log message in gstbasesrc.c.
289
290 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
291
292         * gst/gstutils.c: (element_find_unconnected_pad):
293           Fix possible compiler warning (#503417).
294
295 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
296
297         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
298           Don't use GST_CAT_EVENT here for logging, it makes no sense.
299
300 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
301
302         * tools/gst-inspect.c: (print_element_properties_info):
303           Add support for GstFraction properties.
304
305 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
306
307         * Makefile.am:
308           Add check-exports target and run it as part of 'make check'
309           (see #499140 and #493983).
310
311         * gst/gst_private.h:
312         * gst/gstelementfactory.h:
313         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
314         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
315           (_priv_gst_in_valgrind):
316         * gst/gstinfo.h: (GstLogFunction):
317         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
318           (gst_type_find_register):
319         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
320           (gst_type_find_factory_get_type):
321         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
322           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
323           (gst_controller_new_valist), (gst_controller_new_list),
324           (_gst_controller_dispose), (_gst_controller_class_init):
325         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
326         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
327           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
328           (gst_object_get_controller), (gst_object_set_controller),
329           (gst_object_suggest_next_sync), (gst_object_sync_values),
330           (gst_object_set_control_source), (gst_object_get_control_source),
331           (gst_object_get_value_arrays), (gst_object_get_value_array),
332           (gst_object_get_control_rate), (gst_object_set_control_rate):
333         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
334         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
335           Make some functions that should be static static; rename some
336           private symbols so that they don't get exported; add some FIXME
337           comments so we can move accidentally exported functions into
338           our private section in 0.11.
339
340         * win32/common/libgstreamer.def:
341           Add gst_utils_get_timestamp().
342
343 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
344
345         * gst/gstvalue.c:
346         * gst/gstvalue.h:
347           Add more missing "Since:" tags to docs.
348
349 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
350
351         * gst/gstutils.c:
352           Add mising "Since:" to docs.
353
354 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
355
356         * gst/gstplugin.c:
357           Include "glib-compat-private.h" to fix the build on system with
358           glib < 2.10. Fixes #503131.
359
360 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
361
362         * gst/gstutils.c:
363         * gst/gstutils.h:
364           Actually its not PURE as it gets the time from elsewhere.
365
366 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
367
368         * docs/gst/gstreamer-sections.txt:
369         * gst/gstclock.h:
370         * gst/gstdebugutils.c:
371         * gst/gstinfo.c:
372         * gst/gstutils.c:
373         * gst/gstutils.h:
374         * libs/gst/base/gstbasesink.c:
375         * tools/gst-launch.c:
376           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
377           uses as we don't have HAVE_POSIX_TIMERS in public headers.
378           Thanks Tim for spotting.
379
380 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
381
382         * configure.ac:
383           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
384
385 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
386
387         * gst/gststructure.c: (gst_structure_validate_name),
388           (gst_structure_new_valist), (gst_structure_parse_value),
389           (gst_structure_from_string):
390           Don't crash in _from_string() if the structure name is not valid
391           (fixes #501560).  Allow structure names to start with a number
392           again (this apparently broke the ubuntu codec installer).
393
394         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
395           (GST_START_TEST):
396           Add unit test for the crash; update unit tests for new behaviour.
397
398 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
399
400         * gst/gstutils.c:
401         Clarify gst_element_get_compatible_pad() documentation.
402         Fixes #500919.
403
404 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
405
406         * tests/check/Makefile.am:
407           Don't forget to dist {gst,libs}/struct_hppa.h.
408
409 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
410
411         * libs/gst/base/gstbasesink.c:
412           Use new API to get elapsed time.
413
414 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
415
416         * gst/gstdebugutils.c:
417         * gst/gstinfo.c:
418           Fix wrong order of args in GST_CLOCK_DIFF() usage.
419
420         * tools/gst-launch.c:
421           Use new API to get elapsed time.
422
423 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
424
425         * docs/gst/gstreamer-sections.txt:
426         * gst/gstclock.h:
427         * gst/gstdebugutils.c:
428         * gst/gstinfo.c:
429           Rename new API + ChangeLog surgery to remove old name from last entry..
430           API: GST_GET_TIMESTAMP
431
432 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
433
434         * docs/gst/gstreamer-sections.txt:
435         * gst/gstclock.h:
436         * gst/gstdebugutils.c:
437         * gst/gstinfo.c:
438           Now hide the different clock stuff behind a macro.
439
440 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
441
442         * configure.ac:
443         * gst/gstdebugutils.c:
444         * gst/gstinfo.c:
445           Apply the posix-timer check from #361155. Conditionally use the posix
446           timer for logging. This gives better timestamp precission, less
447           overhead and no ntp jitter.
448
449 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
450
451         * gst/gstminiobject.c: (gst_mini_object_get_type),
452         (gst_mini_object_class_init), (gst_mini_object_copy_default),
453         (gst_mini_object_finalize), (gst_mini_object_copy),
454         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
455         (gst_mini_object_replace), (param_mini_object_validate),
456         (gst_param_spec_mini_object_get_type):
457         Some cleanup and checking against invalid function parameters.
458
459 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
460
461         * docs/gst/gstreamer-sections.txt:
462         * gst/gstclock.h:
463         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
464         (gst_systemclock_suite):
465         Start merging in the easy bits of #361155, the monotonic clock patch.
466         This one adds a few handy macros with docs and a testsuite.
467
468 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
469
470         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
471         Be a bit smarter when seeking, like, don't try to do a seek when it's
472         not needed. This avoids errors when the file is not seekable.
473         Fixes #499771.
474
475 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
476
477         * docs/gst/gstreamer-docs.sgml:
478         * docs/gst/gstreamer-sections.txt:
479         * docs/gst/gstreamer.types.in:
480         * gst/Makefile.am:
481         * gst/gst.h:
482         * gst/gstpreset.c:
483         * gst/gstpreset.h:
484         * plugins/elements/gstqueue.c:
485           Due to popular request remove preset interface again. :-(.
486
487 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
488
489         * tools/gst-inspect.c:
490           Print 'default value' for enums and flags too.
491
492 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
493
494         * docs/random/ensonic/profiling.txt:
495           More ideas.
496
497         * gst/gstbin.c:
498           Fix typo and give better log output.
499
500         * gst/gstdebugutils.c:
501         * gst/gstdebugutils.h:
502           More ideas, make graphs a bit smaller and fix param name in macro.
503
504 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
505
506         * gst/gstpreset.c:
507           Try harder to use the return value from fgets().
508
509 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
510
511         * gst/gstpreset.c:
512           For theses two fgets we handle the error below.
513
514 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
515
516         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
517         Only send upstream events upstream. Fixes #498746.
518
519 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
520
521         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
522
523         * plugins/elements/gstidentity.c: (gst_identity_class_init),
524         (gst_identity_init), (gst_identity_transform_ip),
525         (gst_identity_set_property), (gst_identity_get_property):
526         * plugins/elements/gstidentity.h:
527         Add property to disable handoff signal emission. Fixes #498694.
528         API: GstIdentity::signal-handoffs
529
530 2007-11-21  Julien Moutte  <julien@fluendo.com>
531
532         * docs/faq/gst-uninstalled: Yet another missing library for the
533         uninstalled script (fft)
534
535 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
536
537         * docs/faq/developing.xml:
538         Add a question about how to submit new translations.
539
540         * docs/random/release:
541         Update the contact email address for the Translation Project
542
543         * plugins/elements/gstfdsrc.c:
544         The parent_class for fdsrc is pushsrc, not GstElement.
545
546 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
547
548         * gst/gstpreset.c:
549           Plug a leak and fix saving.
550
551 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
552
553         * docs/gst/gstreamer-sections.txt:
554         Add new gst_preset__get_property_names() function to the docs
555         to fix the build.
556
557 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
558
559         * gst/gstpreset.c:
560         * gst/gstpreset.h:
561           Change _get_preset_names API to return a strv with copies. Add
562           _get_property_names to allow implementations to filter and provide
563           good default implementation.
564
565 2007-11-20  Julien MOUTTE  <julien@moutte.net>
566
567         * docs/faq/gst-uninstalled: Add another library to the uninstalled
568         script (sdp).
569
570 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
571
572         * gst/gstpreset.c:
573           More cleanups, docs, and TODOs from comments that now slowly come in.
574
575 2007-11-19  Julien MOUTTE  <julien@moutte.net>
576
577         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
578         search path.
579
580 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
581
582         * gst/gstpreset.c:
583           Fix bogus warning and make the property type specific code more
584           similar.
585
586 2007-11-19  Julien MOUTTE  <julien@moutte.net>
587
588         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
589         it build on OS X.
590
591 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
592
593         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
594         (gst_bin_add_func), (gst_bin_remove_func),
595         (gst_bin_change_state_func), (gst_bin_continue_func):
596         Change email, cleanups add some more debug and comments.
597         Also set bus and clock on new elements when the pipeline was in error.
598
599 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
600
601         * gst/gstbin.c:
602         * gst/gstdebugutils.c:
603           Fix build with --disable-gst-debug. Fixes #497859.
604           Spotted by Sameer Naik.
605
606 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
607
608         * gst/gstevent.c:
609           Little documentation improvment.
610
611         * gst/gstpreset.c:
612           More TODO cleanups. Remove c++ comments.
613
614         * libs/gst/controller/gstcontroller.c:
615           Add TODO and use quark from static string.
616
617         * tests/check/gst/gstmessage.c:
618         * tests/check/gst/gststructure.c:
619           Use quark from static string.
620
621 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
622
623         * gst/gstpreset.c:
624           Add some comments and TODOs.
625
626         * gst/gstpreset.h:
627           Add padding for future changes.
628
629         * plugins/elements/gstqueue.c:
630           Implement the iface.    
631
632 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
633
634         * docs/gst/gstreamer-docs.sgml:
635         * docs/gst/gstreamer-sections.txt:
636         * docs/gst/gstreamer.types.in:
637         * gst/Makefile.am:
638         * gst/gst.h:
639         * gst/gstpreset.c:
640         * gst/gstpreset.h:
641           Add the preset interface (Fixes #396779). Do some doc cleanups along.
642
643 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
644
645         * configure.ac:
646
647         Back to CVS
648
649 === release 0.10.15 ===
650
651 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
652
653         * configure.ac:
654           releasing 0.10.15, "October"
655
656 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
657
658         * win32/vs6/libgstreamer.dsp:
659         Convert line endings back to DOS.
660
661 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
662
663         * docs/design/draft-tagreading.txt:
664         * docs/random/ensonic/profiling.txt:
665         Update fast tagreading draft and performance profiling ideas.
666
667 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
668
669         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
670         Don't hold the object lock when unreffing a buffer because it could
671         cause a deadlock when the finalize function wants to grab the object
672         lock too. Fixes #495133.
673
674 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
675
676         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
677         (gst_segment_to_stream_time), (gst_segment_to_running_time):
678         Also accumulate time correctly when doing reverse playback. Fixes
679         #488201,
680         When converting to running and stream time, use default values for
681         start/stop/time/accum when comparing different formats. Fixes #494245.
682
683         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
684         Do running/stream time in TIME format.
685
686         * tests/check/gst/gstsegment.c: (GST_START_TEST),
687         (gst_segment_suite):
688         2 new unit tests for segment accumulation.
689
690 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
691
692         * gst/gst.c: (init_pre):
693         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
694           (_gst_debug_bin_to_dot_file):
695           Move getenv() back into gst_init, so everyone can live happily
696           ever after. Make sure the symbol isn't exported though.
697
698 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
699
700         Patch by: Sebastien Moutte  <sebastien moutte net>
701
702         * win32/common/gstenumtypes.c:
703         * win32/common/gstenumtypes.h:
704           Update enum types.
705
706         * win32/vs6/libgstreamer.dsp:
707           Update vs6 project files (#494343).
708
709 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
710
711         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
712         (gst_base_src_perform_seek), (gst_base_src_default_event),
713         (gst_base_src_set_flushing), (gst_base_src_activate_push),
714         (gst_base_src_activate_pull):
715         Unify flushing code, remove some old unlock code that is no longer used.
716         Take the streaming lock when seeking to avoid races. Fixes #492729.
717         Added some more comments.
718
719 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
720
721         * gst/gst.c: (_gst_disable_segtrap):
722           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
723           we can use gst_segtrap_is_enabled() there now that we have that API.
724           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
725           to do the getenv here (and export the variable).
726
727         * gst/gstdebugutils.c: (debug_dump_element),
728           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
729           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
730
731         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
732           (gst_debug_log_default):
733           Rename _gst_info_start_time to priv_gst_info_start_time so it
734           doesn't get exported (was never in any header).
735
736         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
737           (gst_plugin_loading_mutex):
738           Make static mutex gst_plugin_loading_mutex really static (was never
739           in any header), and use gst_segtrap_is_enabled() instead of
740           _gst_disable_segtrap.
741
742         * gst/gsttrace.c: (_gst_trace_default):
743           Make local _gst_trace_default static (was never in any header).
744
745 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
746
747         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
748
749         * win32/common/libgstbase.def:
750         * win32/common/libgstcontroller.def:
751         * win32/common/libgstdataprotocol.def:
752         * win32/common/libgstnet.def:
753         * win32/common/libgstreamer.def:
754           Add more missing symbols, remove some duplicates, and sort
755           as the 'sort' command sorts it (partially fixes #493983).
756
757 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
758
759         * gst/gstelement.c: (gst_element_set_state_func):
760         Only change the state cookie if a different state was set on the
761         element. See #492729.
762
763 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
764
765         * gst/gstvalue.c:
766           Remove unused and uninitialised type variables that were still
767           exported for some reason (they were never in any header files
768           though).
769
770 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
771
772         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
773         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
774         (gst_base_sink_event), (gst_base_sink_get_position_last),
775         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
776         (gst_base_sink_change_state):
777         Don't try to report a 0 position when we don't know, return -1 and FALSE
778         instead. This mostly happens when we are prerolling.
779         Make sure we can report the right position before we post the ASYNC_DONE
780         message so that a message handler can query position without races.
781
782         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
783         (async_done_handoff), (async_done_func), (send_buffer),
784         (async_done_eos_func), (gst_sinks_suite):
785         Add two tests for the above.
786
787 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
788
789         * MAINTAINERS:
790         Update with new email address.
791
792         * docs/design/part-TODO.txt:
793         Add some more info about future pad-block and negotiation changes.
794
795         * docs/design/part-buffering.txt:
796         Add some ideas about buffering reporting.
797
798 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
799
800         * tests/check/gst/gstobject.c:
801         Disable silly racy test that always fails on this combination of CPU
802         and kernel.
803
804 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
805
806         Patch by: Murray Cumming  <murrayc@murrayc.com>
807
808         * gst/gstobject.c:
809           Corrected the registration of the parent-set and parent-unset
810           signals: The parameter is a GstObject, not a GObject (#493134).
811
812 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
813
814         * gst/gst_private.h:
815         * gst/gstbuffer.h:
816         * gst/gstevent.h:
817         * gst/gstformat.h:
818         * gst/gstmessage.h:
819         * gst/gstplugin.h:
820         * gst/gstquery.h:
821         * gst/gsttaglist.h:
822         * gst/gstvalue.h:
823           Move declaration of private _gst_foo_initialize() functions into
824           our private header file where they should have been all along.
825
826 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
827
828         * docs/plugins/gstreamer-plugins-sections.txt:
829         * gst/gstdebugutils.h:
830         * gst/gstxml.h:
831         * plugins/elements/gstqueue.c:
832           gtk-doc fixes; trailing-comma-in-enum fix.
833
834 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
835
836         * gst/gst.c: (gst_deinit):
837           Clean up on deinit (not the external ones though, doesn't seem to be
838           needed for some reason).
839
840 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
841
842         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
843           Remove __declspec(dllimport) for MSVC that was copied over into core
844           from a plugin, obviously without ever having been tested (note the
845           single underscore in _declspec in the initial commit), and that doesn't
846           really make sense.  See #492077.
847
848 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
849
850         * gst/gst.c: (init_post):
851         * gst/gstevent.c: (_gst_event_initialize):
852         * gst/gstquery.c: (_gst_query_initialize):
853         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
854           g_type_class_ref() other types as well, see #349410 and #64764.
855
856         * gst/gstbuffer.c: (_gst_buffer_initialize):
857         * gst/gstmessage.c: (_gst_message_initialize):
858           Simplify existing g_type_class_ref().
859
860 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
861
862         * gst/gstformat.c: (_gst_format_initialize):
863           g_type_class_ref() our GstFormat type to make sure we avoid the
864           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
865           bug #64764. Should fix intermittent tee unit test failures (#474823).
866
867 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
868
869         * tests/check/elements/tee.c: (test_num_buffers):
870           Simplify, simplify, simplify - or not.  Rewrite unit test
871           not to use gst_parse_launch(); allow N sub-streams. Increasing
872           the number of sub-streams seems to reproduce #474823 more easily.
873
874 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
875
876         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
877
878         * gst/gsttrace.c:
879         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
880         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
881         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
882           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
883           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
884           so use _pipe() directly (#492077).
885
886         * win32/common/dirent.c: (_treaddir):
887           Add a couple of casts to make it build without warnings with MSVC.
888
889         * win32/common/libgstreamer.def:
890           Add some more symbols that need to be exported.
891
892 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
893
894         * tests/examples/metadata/read-metadata.c: (message_loop):
895           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
896           arriving in a second or third tag message are added to
897           the tag list as well.
898
899 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
900
901         * libs/gst/base/gstbasesrc.c:
902           Its "Since:" and not "@Since:". And remove an superflous cast.
903
904 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
905
906         * docs/libs/gstreamer-libs-sections.txt:
907         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
908         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
909         (gst_base_sink_get_property), (gst_base_sink_render_object),
910         (gst_base_sink_preroll_object),
911         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
912         (gst_base_sink_change_state):
913         * libs/gst/base/gstbasesink.h:
914         Add a new last-buffer property that contains the last buffer used in
915         basesink for preroll or rendering. useful for making snapshots.
916         API: gst_base_sink_get_last_buffer()
917         API: GstBaseSink::last-buffer
918
919 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
920
921         * docs/gst/running.xml:
922         * gst/gst.c:
923         * gst/gstdebugutils.c:
924         * gst/gstdebugutils.h:
925         * tools/gst-launch.c:
926           Improve bin graph dumping, by using the envvar to specify a path.
927           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
928
929 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
930
931         * plugins/elements/gsttypefindelement.c:
932           (gst_type_find_element_handle_event),
933           (gst_type_find_element_activate):
934           Post special error message if we can't determine the type of a stream
935           because it's empty.
936
937 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
938
939         * docs/gst/running.xml:
940         * gst/gstdebugutils.c:
941           Document new env-var. Add one log-line after dumpng a graph.
942
943 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
944
945         * configure.ac:
946           Ugly hack to put the (recently removed and non-portable, apparently)
947           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
948           GNU ld, because without that 'make check' fails miserably on my debian
949           stable box.  Someone with more knowledge of linker intricacies and
950           portability issues than me fix this properly please.
951
952 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
953
954         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
955         Reset last seen position after flushing so that we don't report the old
956         position anymore.
957
958 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
959
960         * gst/gstelementfactory.c: (gst_element_register):
961         * gst/gsturi.h:
962         Patch from Alessandro Decina adding get_type_full and
963         get_protocols_full private vfuncs to the URIHandler interface
964         to allow bindings to support creating URI handlers. 
965         Partially fixes: #339279
966         API: GstURIHandlerInterface::get_type_full
967         API: GstURIHandlerInterface::get_protocols_full
968
969 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
970
971         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
972         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
973         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
974         Make it so that pads are considered linked until a buffer is pushed
975         and discovered otherwise. This avoids problems with decodebin2 hanging
976         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
977         case.
978
979         Make sure we lock the multiqueue when updating the max-size properties.
980         
981         Fix a crash on Solaris in a debug statement in get_request_pad that
982         passes a NULL string to GST_DEBUG. 
983
984         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
985         (run_output_order_test):
986         Fix the test to allow the first buffer on not-linked pads to come out
987         of sequence while multiqueue discovers that they are not-linked.
988
989 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
990
991         * configure.ac:
992         * libs/gst/check/Makefile.am:
993         Use a custom export symbol regex for libgstcheck, as it needs
994         to export symbols that don't match the standard GStreamer gst_*
995         pattern, and  --export-dynamic is not portable (only works on 
996         GNU ld)
997
998         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
999         (gst_check_setup_sink_pad):
1000         Make sure to pass a message parameter to the fail_* macros.
1001
1002         * tests/check/gst/gstinfo.c: (GST_START_TEST):
1003         Fix some compiler warnings.
1004
1005 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
1006
1007         * tests/check/gst/gststructure.c: (test_to_string):
1008           Disable test that checks that white spaces are not allowed
1009           in structure names or field names, since we need to
1010           support that for now for backwards compatibility reasons.
1011
1012 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
1013
1014         * docs/gst/gstreamer-sections.txt:
1015         * gst/gsttaglist.c:
1016         * gst/gsttaglist.h:
1017           API: add GST_TAG_ARTIST_SORTNAME
1018           API: add GST_TAG_ALBUM_SORTNAME
1019           API: add GST_TAG_TITLE_SORTNAME
1020           Add tag variants for sorting (#414539).
1021
1022 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
1023
1024         * gst/gststructure.c:
1025           Also allow white space for names so we don't break
1026           backwards compatibility.
1027
1028 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
1029
1030         * docs/design/part-TODO.txt:
1031         * docs/design/part-segments.txt:
1032         * docs/design/part-streams.txt:
1033         Small updates.
1034
1035 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
1036
1037         * docs/gst/gstreamer-sections.txt:
1038          Fixed documentation from my previous commit (added new API add
1039          gst_value_set_structure(), add gst_value_get_structure() and
1040          GST_VALUE_HOLDS_STRUCTURE).
1041
1042 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
1043
1044         * gst/gstdebugutils.c:
1045           Reflow code to fix uninitialized variable warning.
1046
1047 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
1048
1049         * gst/gstcaps.c: (gst_caps_to_string),
1050         (gst_caps_from_string_inplace):
1051         * gst/gststructure.c: (gst_structure_get_abbrs),
1052         (gst_structure_to_string), (gst_structure_from_string):
1053         * gst/gstvalue.c: (gst_value_set_structure),
1054         (gst_value_get_structure), (gst_value_serialize_structure),
1055         (gst_value_deserialize_structure), (_gst_value_initialize):
1056         * gst/gstvalue.h:
1057         * tests/check/gst/gststructure.c: (GST_START_TEST),
1058         (gst_structure_suite):
1059         * tests/check/gst/gstvalue.c: (GST_START_TEST):
1060          Added GstStructure to gst_value_table and its related functions.
1061          Changed gst_structure_to_string to print ';' in the end.
1062          Changed gst_caps_to_string to not print ';' beteween its
1063          fields (structures) anymore and remove the lastes ';' from latest
1064          structure. Now it is possible to have nested structures.
1065          In addition, backward compatibilty is assured by accepting '\0' as
1066          end delimiter. Fixes: #487969.
1067          API: add gst_value_set_structure()
1068          API: add gst_value_get_structure()
1069          API: add GST_VALUE_HOLDS_STRUCTURE
1070
1071 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
1072
1073         * gst/gstbus.c:
1074           When no GSource callback has been set up, tell developer
1075           to use a function that actually exists.
1076
1077 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
1078
1079         * docs/gst/gstreamer-sections.txt:
1080         * gst/Makefile.am:
1081         * gst/gst.c:
1082         * gst/gst.h:
1083         * gst/gstdebugutils.c:
1084         * gst/gstdebugutils.h:
1085         * gst/gstinfo.c:
1086         * gst/gstinfo.h:
1087         * tools/gst-launch.c:
1088           Allow dumping pipelines as dot graphs. Fixes #456573.
1089
1090 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1091
1092         * gst/gststructure.c:
1093           Allow '+' as well, it can be part of media or mime types
1094           such as image/svg+xml.
1095
1096 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1097
1098         * docs/gst/gstreamer-sections.txt:
1099         * gst/gstbus.c:
1100         * gst/gstbus.h:
1101           API: add gst_bus_pop_filtered
1102           API: add gst_bus_timed_pop_filtered
1103           Two new functions for waiting for specific message types on the
1104           bus for a specified amount of time without iterating any main
1105           loops or main contexts.
1106
1107         * tests/check/gst/gstbus.c:
1108           Some tests for the new functions.
1109
1110 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1111
1112         * docs/libs/gstreamer-libs-sections.txt:
1113           Make gtk-doc ignore stuff it should ignore.
1114
1115 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
1116
1117         * libs/gst/check/gstcheck.c:
1118         * libs/gst/check/gstcheck.h:
1119           Allow runtime selection of unit tests to run via the GST_CHECKS
1120           environment variable (test case function names, comma-separated).
1121
1122 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
1123
1124         * gst/gststructure.c:
1125         * tests/check/gst/gststructure.c:
1126           Revert serialisation change and constrain structure-names after
1127           consensus on irc. Update api documentation to reflect the change.
1128
1129 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
1130
1131         * gst/gststructure.c:
1132           Improve serialization and fix tests.
1133
1134         * tests/check/gst/gststructure.c:
1135           Add another test that covers why I actually did the previous structure
1136           change.
1137
1138 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
1139
1140         * tools/gst-inspect.c: (print_element_info):
1141         Don't crash when inspecting an element.
1142
1143 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
1144
1145         * tests/check/gst/gststructure.c:
1146           Add unit test for escaping of structure name when serialising
1147           and deserialising to/from strings.
1148
1149 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
1150
1151         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
1152         (gst_single_queue_new):
1153         * plugins/elements/gstqueue.c: (gst_queue_init),
1154         (gst_queue_push_one):
1155         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
1156         upstream is tricked into thinking it can suggest a format downstream
1157         while downstream does not support that format. The real problem is that
1158         core calls acceptcaps when pushing a buffer with new caps, for which we
1159         do a little workaround by setting the caps on the srcpad ourselves
1160         before pushing the buffer (until this is figured out). Fixes #486758.
1161
1162 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1163
1164         * gst/gststructure.c:
1165         * gst/gstvalue.c:
1166           Add some more comments and debug output. Quote structure name to fix
1167           deserialisation of some strings.
1168
1169 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1170
1171         * gst/gstbuffer.h:
1172           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
1173           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
1174
1175 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1176
1177         * tools/gst-inspect.c:
1178           Save approx. 400 1 byte allocs when printing. Use API to acces element
1179           details.
1180
1181         * tools/gst-run.c:
1182           Avoid a strdup.
1183
1184         * tools/gst-xmlinspect.c:
1185           Use API to acces element details.
1186
1187 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
1188
1189         * gst/gstinfo.c:
1190           Fix some spelling errors.
1191
1192 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
1193
1194         * gst/gstbin.c: (bin_handle_async_done):
1195         Correctly set the next state if all of our async children commited their
1196         state. This makes sure we can actually cancel the state change in
1197         progress. Fixes a regression in Rhythmbox when seeking.
1198
1199 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1200
1201         * gst/gstbin.c:
1202           Don't shadow local variable.
1203
1204         * gst/gstinfo.c:
1205           Don't shadow global function name.
1206
1207 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
1208
1209         * gst/gstelementfactory.c:
1210         * gst/gstpluginfeature.c:
1211         * gst/gstpluginfeature.h:
1212         * gst/gstregistrybinary.c:
1213         * gst/gstregistryxml.c:
1214         * gst/gsttypefind.c:
1215           Use already-interned string for the private GstPluginFeature
1216           plugin_name field.
1217
1218 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
1219
1220         * docs/libs/gstreamer-libs-sections.txt:
1221           Add new API to docs; fixes the build.
1222
1223 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
1224         
1225         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
1226
1227         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
1228         (gst_base_sink_event):
1229         * libs/gst/base/gstbasesink.h:
1230         Add function to wait for EOS, subclasses can use this to correctly wait
1231         for devices to drain before performing the EOS logic. Fixes #485343.
1232         API: gst_base_sink_wait_eos()
1233
1234 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
1235
1236         * gst/gstplugin.h:
1237           Cast description string constants in GST_PLUGIN_DEFINE macros
1238           to a (gchar*) to make C++ code using these macros compile
1239           without warning with g++-4.2 (see #462737).  Even if slightly
1240           ugly, this seems preferable to putting the description strings
1241           into the GLib quark table or making the structure member a
1242           const gchar * and doing casts in core code that allocs and
1243           frees these strings, or requiring a cast in the C++ code.
1244
1245 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1246
1247         * gst/gstinfo.h:
1248           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
1249           to print the entire class/function signature into the log
1250           file for C++ code.  This only affects C++ code, for C code
1251           everything remains the same.
1252
1253 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
1254
1255         * gst/gstbin.c: (remove_from_queue):
1256         Work around a problem with pipelines containing (semi)loops until a
1257         proper, more complicated solution is ready. See #475455.
1258
1259 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1260
1261         * gst/gstplugin.c:
1262         * gst/gstplugin.h:
1263         * gst/gstregistrybinary.c:
1264         * gst/gstregistryxml.c:
1265           Put more strings into the GLib quark table. No need to keep
1266           a hundred-something copies of identical version strings,
1267           license strings, package name strings and package origin
1268           strings around. 
1269
1270 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
1271
1272         * docs/manual/advanced-dataaccess.xml:
1273           Don't imply that it's okay to unconditionally change
1274           buffer data or buffer metadata in a pad probe callback,
1275           and a bunch of other comments. Fixes #430031.
1276
1277 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1278
1279         * win32/common/gstenumtypes.c:
1280         * win32/common/gstenumtypes.h:
1281         * win32/common/gstversion.h:
1282           Update generated files.
1283
1284 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1285
1286         * docs/manual/advanced-autoplugging.xml:
1287           Prefix section with broken code with a warning (see #342432).
1288
1289 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
1290
1291         * docs/manual/appendix-integration.xml:
1292         * docs/manual/basics-init.xml:
1293           Call g_thread_init() before g_option_context_new() to
1294           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
1295
1296 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1297
1298         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1299         (gst_base_sink_queue_object_unlocked),
1300         (gst_base_sink_queue_object), (gst_base_sink_event),
1301         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
1302         When we received EOS and are waiting for when to post the EOS message,
1303         our state is prerolled and we should not return ASYNC.
1304         Reorganize some code paths to implement this behavior.
1305
1306         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
1307         (gst_sinks_suite):
1308         Add unit test to verify above EOS fix.
1309
1310 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1311
1312         * plugins/elements/gsttypefindelement.c:
1313         (gst_type_find_element_have_type), (gst_type_find_element_init),
1314         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
1315         Move detecting the input caps of the sinkpad to the setcaps function.
1316         This allows us to update the output caps when we receive new input caps
1317         instead of always using the first detected caps.
1318
1319 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
1320
1321         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
1322         (gst_base_sink_get_position):
1323         Don't try to preroll non-async elements after a flush.
1324         Subtract latency form clock times when reporting position.
1325
1326 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1327
1328         * gst/gstpad.c: (gst_pad_pause_task):
1329         * gst/gstutils.c:
1330         Small comment and documentation update.
1331
1332 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1333
1334         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
1335         (gst_base_src_set_live), (gst_base_src_is_live),
1336         (gst_base_src_query_latency), (gst_base_src_perform_seek),
1337         (gst_base_src_default_event), (gst_base_src_wait),
1338         (gst_base_src_do_sync), (gst_base_src_get_range),
1339         (gst_base_src_pad_get_range), (gst_base_src_loop),
1340         (gst_base_src_unlock), (gst_base_src_unlock_stop),
1341         (gst_base_src_set_flushing), (gst_base_src_set_playing),
1342         (gst_base_src_activate_push), (gst_base_src_activate_pull),
1343         (gst_base_src_change_state):
1344         Rework the locking of basesrc in a similar fashion to basesink. We
1345         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
1346         us to handle live sources and semi live ones much better.
1347         Simplify flushing.
1348         Fix unlocking when seeking, shutting down and pausing in live sources.
1349
1350 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
1351
1352         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
1353         Fix compilation again.
1354
1355 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1356
1357         * gst/gstelement.c:
1358           Use meaningful categories for the logs to clean the default one.
1359
1360 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1361
1362         * tests/check/pipelines/cleanup.c:
1363           Print message name and not just number.
1364
1365 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1366
1367         * docs/design/draft-tagreading.txt:
1368           Add some more thoughts.
1369
1370 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1371
1372         * tests/check/pipelines/simple-launch-lines.c:
1373           Print message name and not just number.
1374
1375 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1376
1377         * libs/gst/base/gsttypefindhelper.c:
1378           Speedup typefinding. This is work in progress (see #459862).
1379
1380 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
1381
1382         * gst/gstplugin.c:
1383           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
1384           Spotted by Josep Torra Valles <josep@fluendo.com>.
1385
1386 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
1387
1388         * gst/gstclock.h:
1389           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
1390           field has moved to GstObject.
1391
1392 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
1393
1394         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
1395         (gst_base_src_get_range), (gst_base_src_change_state):
1396         Call unlock for live sources so that they can't get stuck in _create and
1397         produce a buffer before they are set back to PLAYING.
1398
1399 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
1400
1401         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1402         (gst_queue_locked_dequeue):
1403         Comment the segment-related code... in the PROPER function.
1404         See #482147 and my commit from yesterday.
1405
1406 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
1407
1408         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
1409         Also initialize the counter that calculates the first timestamp on a
1410         buffer correctly for non-live sources.
1411
1412 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
1413
1414         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
1415         Disable code that's breaking the current-time-level reporting.
1416         See #482147
1417
1418 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
1419
1420         * docs/gst/gstreamer-sections.txt:
1421         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
1422         as they shouldn't show up. Fixes the docs build.
1423
1424 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
1425         
1426         * gst/gstinfo.h:
1427         Add an explicit variable importation needed on VS6 (only for MSC_VER)
1428         Define M_PI which is used in files which are including gstinfo.h. 
1429         VS6 includes doesn't define it.
1430         * win32/common/libgstbase.def:
1431         * win32/common/libgstcontroller.def:
1432         * win32/common/libgstreamer.def:
1433         Add new exported functions and variables.
1434         * win32/vs6/libgstcontroller.dsp:
1435         * win32/vs6/libgstreamer.dsp:
1436         Update the list of files to build.
1437         
1438 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1439
1440         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1441
1442         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
1443         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
1444         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
1445         Improve debugging. Fixes #480858.
1446
1447 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
1448
1449         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
1450
1451         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
1452         First patch of code cleanups, use the macros and right arguments in the
1453         macros to signal and lock the queue. See #480858.
1454
1455 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
1456
1457         * gst/gstbus.c: (poll_func):
1458         Improve debugging when dealing with _poll().
1459
1460 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
1461
1462         * gst/gstregistryxml.c:
1463           Fix memory leak I introduced a few days ago.
1464
1465 2007-09-26  Michael Smith <msmith@fluendo.com>
1466
1467         * gst/gstbuffer.c: (gst_buffer_finalize):
1468           Make it once again possible to free GstBuffers in the default
1469           build.
1470           The poisoning scribbles on parts of the miniobject we need in
1471           order to free it.
1472           Fixes #480341
1473
1474 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
1475
1476         * docs/gst/gstreamer-sections.txt:
1477         * gst/gsttaglist.c:
1478         * gst/gsttaglist.h:
1479         API: add GST_TAG_COMPOSER, fixes #459809.
1480
1481 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
1482
1483         * gst/gstplugin.c:
1484         * gst/gstplugin.h:
1485         Add the 3-clause BSD license and the MIT/X11 license to the license
1486         list. Fixes #479784.
1487
1488 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
1489
1490         * docs/faq/getting.xml:
1491           Add Q+A about different GStreamer versions (#364056).
1492
1493 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1494
1495         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1496         (gst_base_sink_event), (gst_base_sink_change_state):
1497         Return correct gboolean from query function.
1498
1499 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1500
1501         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1502         (gst_base_sink_event), (gst_base_sink_query),
1503         (gst_base_sink_change_state):
1504         Simplify latency query.
1505         When not synchronizing, we can report latency without querying the peer
1506         element.
1507
1508 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1509
1510         * gst/gstobject.h:
1511         * gst/gstvalue.c:
1512         Fix small typos in the docs.
1513
1514 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
1515
1516         * docs/design/draft-latency.txt:
1517         * docs/design/draft-push-pull.txt:
1518         * docs/design/draft-tagreading.txt:
1519         * docs/design/part-MT-refcounting.txt:
1520         * docs/design/part-activation.txt:
1521         * docs/design/part-block.txt:
1522         * docs/design/part-element-source.txt:
1523         * docs/design/part-events.txt:
1524         * docs/design/part-gstbin.txt:
1525         * docs/design/part-gstelement.txt:
1526         * docs/design/part-gstobject.txt:
1527         * docs/design/part-gstpipeline.txt:
1528         * docs/design/part-messages.txt:
1529         * docs/design/part-preroll.txt:
1530         * docs/design/part-push-pull.txt:
1531         * docs/design/part-qos.txt:
1532         * docs/design/part-query.txt:
1533         * docs/design/part-scheduling.txt:
1534         * docs/design/part-seeking.txt:
1535         * docs/design/part-segments.txt:
1536         * docs/design/part-states.txt:
1537         Documentation updates and typo fixes.
1538
1539 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
1540
1541         * plugins/elements/gstfakesink.c:
1542           Add some debug text to error message to indicate that
1543           we errored out on request.
1544
1545         * tools/gst-launch.c:
1546           When the state change to PLAYING fails, check for an
1547           error message on the bus and print it.
1548
1549 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1550
1551         translated by: Jorge González González <aloriel@gmail.com>
1552
1553         * po/LINGUAS:
1554         * po/es.po:
1555           Added Spanish translation.
1556
1557 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
1558
1559         * plugins/elements/gstqueue.c: (gst_queue_push_one):
1560         Fix printf arguments.
1561
1562 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1563
1564         * tests/check/generic/states.c:
1565           Improved state change unit test.
1566
1567 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
1568
1569         * gst/gstbin.h:
1570           Move priv to the right place.
1571
1572         * gst/gstsystemclock.c:
1573           Add FIXME: and improve log.
1574
1575         * tests/check/Makefile.am:
1576         * tests/examples/manual/Makefile.am:
1577           Work with all types of registries.
1578
1579 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
1580
1581         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1582         Don't unref the event after pushing it. Fixes #478401.
1583
1584 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1585
1586         * .cvsignore:
1587         * tests/examples/manual/.cvsignore:
1588           Ignore registries in any format.
1589
1590 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
1591
1592         * gst/glib-compat-private.h:
1593           Add compatibility macro for g_intern_string() for
1594           GLib-2.8 (any reason we can't just bump the
1595           requirement to at least 2.10?)
1596
1597         * gst/gstpadtemplate.h:
1598         * gst/gstelementfactory.c:
1599         * gst/gstregistryxml.c:
1600         * gst/gstregistrybinary.c:
1601           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
1602           up the internal code accordingly.  This shouldn't be a problem, since
1603           there is no reason external code could ever assume the string in such
1604           a structure is dynamically allocated unless it did that itself;  the
1605           use of g_strdup() is private to element factories.  The new code also
1606           saves some memory by putting pad template name strings into the GLib
1607           quark table instead of allocating them dynamically.
1608           Declaring this field constant fixes warnings with g++-4.2 when using
1609           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
1610
1611 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
1612
1613         * gst/gstelementfactory.c:
1614           Release static caps. Fixes #475723.
1615
1616 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
1617
1618         * gst/gstinfo.c:
1619         * gst/gstinfo.h:
1620           Make some internal API take const gchar * instead of just
1621           gchar * to avoid compiler warnings with g++-4.2.2 when
1622           passing string constants (partially fixes #478092).
1623
1624 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1625
1626         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
1627         A latency query fails when one of the sinks fail.
1628
1629         * gst/gstelement.c: (gst_element_set_base_time):
1630         Improve debugging.
1631
1632 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
1633
1634         * gst/gstbin.c: (gst_bin_continue_func):
1635         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1636         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
1637         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
1638
1639         Fix minor compilation warnings shown with Forte.
1640
1641 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
1642
1643         * plugins/elements/gstqueue.c: (apply_buffer),
1644         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
1645         Measure queue level based on the diff between head and tail timestamps
1646         even when pushing the first buffer.
1647
1648 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1649
1650         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1651         (gst_base_sink_event), (gst_base_sink_change_state):
1652         Sinks that don't preroll can always be queried for the latency.
1653         Don't post ASYNC start when we are not async.
1654
1655 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1656
1657         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
1658         (gst_queue_handle_sink_event), (gst_queue_chain),
1659         (gst_queue_push_one), (gst_queue_handle_src_query),
1660         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
1661         * plugins/elements/gstqueue.h:
1662         When downstream returns UNEXPECTED from pushing a buffer, don't try to
1663         push more buffers but allow pushing of EOS and NEWSEGMENT.
1664         Add some more debug info here and there. Fixes #476514.
1665
1666 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
1667
1668         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1669         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
1670         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1671         (gst_base_sink_set_flushing), (gst_base_sink_query),
1672         (gst_base_sink_change_state):
1673         Latency query is allowed after we are prerolled. Introduce a new flag
1674         for this and stop abusing other variables.
1675
1676 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1677
1678         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
1679         Push OOB events downstream when we get them in send_event. This allows
1680         the application to insert events in the pipeline.
1681         Add some more comments.
1682
1683 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1684
1685         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
1686         (do_bin_latency), (gst_bin_change_state_func):
1687         * gst/gstpipeline.c: (gst_pipeline_change_state):
1688         Move latency query from GstPipeline to GstBin so that we can also
1689         use it when async-handling is enabled on bins.
1690
1691 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1692
1693         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1694         (gst_base_src_do_sync), (gst_base_src_change_state):
1695         Update docs.
1696         Clean up the timestamping and syncing code for pseudo live sources.
1697
1698 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
1699
1700         Patch by: Steve Fink  <sphink gmail com>
1701
1702         * docs/manual/appendix-checklist.xml:
1703           Mention less -R switch in the section about debug output (#474055).
1704
1705 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
1706
1707         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1708         Queue can latency to the pipeline up to the configured max size in time.
1709         Report this fact in the latency query.
1710
1711 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1712
1713         Patch by: Sebastien Moutte <sebastien at moutte dot net>
1714
1715         * libs/gst/controller/gstinterpolation.c:
1716         * libs/gst/controller/gstlfocontrolsource.c:
1717         Use gst_guint64_to_gdouble() when converting from a uint64 or
1718         GstClockTime to double to fix the build on win32. Fixes #474371.
1719
1720 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1721
1722         * gst/gstbuffer.c: (gst_buffer_finalize):
1723         Implement poisoning for GstBuffer if --enable-poisoning is specified.
1724         When finalizing a buffer the complete struct is filled with 0xff,
1725         thus making a use of the buffer after the final unref impossible.
1726
1727 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
1728
1729         * tests/check/libs/controller.c: (GST_START_TEST):
1730         Use fail_unless_equals_int(a, b) instead of
1731         fail_unless_equals (a == b) to get better output on failures.
1732
1733 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1734
1735         * tests/check/gst/gsturi.c:
1736           Also check for the other file URI variant on win32.
1737
1738 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
1739
1740         * gst/gsturi.c: (gst_uri_get_location):
1741           If there's no hostname, we want to return 'c:/foo/bar.txt'
1742           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
1743
1744         * tests/check/gst/gsturi.c:
1745           Unit test for the above and a few more things.
1746
1747 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1748
1749         * docs/design/part-live-source.txt:
1750         Add docs on how live sources should timestamp.
1751
1752         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
1753         Add some more debug info.
1754         For subclasses that are live and like to sync, add aditional startup
1755         latency to sync time and timestamps so that we timstamp according to the
1756         design doc.
1757
1758 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1759
1760         * gst/gstbuffer.c:
1761           Also do a g_type_class_ref() for the subbuffer type in
1762           the init function.
1763
1764 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
1765
1766         * docs/gst/gstreamer-sections.txt:
1767         * gst/gstpad.c: (gst_pad_peer_query):
1768         * gst/gstpad.h:
1769         Add function to perform a query on the peer of a pad.
1770         API: gst_pad_peer_query()
1771
1772 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
1773
1774         * tests/check/gst/gstsystemclock.c:
1775           Cleanup the test a little (use gst-logging and not g_message). Improve
1776           test to check if a wait reached the target.
1777
1778 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
1779
1780         * docs/libs/gstreamer-libs-sections.txt:
1781           Add new API to docs and fix the build.
1782
1783 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
1784
1785         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1786         (gst_base_src_init), (gst_base_src_set_do_timestamp),
1787         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
1788         (gst_base_src_get_property), (gst_base_src_do_sync):
1789         * libs/gst/base/gstbasesrc.h:
1790         Add property to make the basesrc timestamp buffers based on the current
1791         running time.
1792         API: GstBaseSrc::do-timestamp
1793         API: gst_base_src_set_do_timestamp()
1794         API: gst_base_src_get_do_timestamp()
1795
1796 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
1797
1798         * docs/random/release:
1799           Really make sure translations are up-to-date before
1800           a release (#465010).
1801
1802 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
1803
1804         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
1805         Always destroy the timer, also in error cases.
1806
1807 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1808
1809         * docs/manual/highlevel-xml.xml:
1810         Fix XML example code. Fixes #472714.
1811
1812 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
1813
1814         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
1815         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
1816         (gst_base_sink_query):
1817         Protect eos and have_preroll with the OBJECT lock so we don't need to
1818         take the PREROLL lock when querying the latency. Fixes #473846.
1819
1820 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
1821
1822         * gst/gstelement.c:
1823           Give some log-messages a category.
1824
1825 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
1826
1827         * gst/gststructure.c:
1828         (gst_structure_fixate_field_nearest_fraction):
1829         Fix fraction list fixation code. Take the fraction with the smallest
1830         difference with the target instead of the first one in the list.
1831
1832         * tests/check/gst/gststructure.c: (GST_START_TEST),
1833         (gst_structure_suite):
1834         Added test to verify correct fraction list fixation behaviour.
1835
1836 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
1837
1838         * win32/common/libgstreamer.def:
1839           Export gst_bus_add_signal_watch too.
1840
1841 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
1842
1843         * docs/libs/gstreamer-libs-sections.txt:
1844         Add new methods to docs.
1845
1846         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1847         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
1848         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
1849         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
1850         * libs/gst/base/gstbasesink.h:
1851         Add ts-offset property to fine-tune the synchronisation.
1852         API: GstBaseSink::ts-offset property
1853         API: gst_base_sink_set_ts_offset()
1854         API: gst_base_sink_get_ts_offset()
1855
1856 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
1857
1858         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1859         (gst_base_sink_init), (gst_base_sink_set_sync),
1860         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
1861         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
1862         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
1863         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
1864         (gst_base_sink_get_property), (gst_base_sink_change_state):
1865         * libs/gst/base/gstbasesink.h:
1866         Add async property to instruct the sink never to inform the parent about
1867         ASYNC state changes, update docs.
1868         Check argument with g_return_* for the public functions.
1869         API: GstBaseSink::async property
1870         API: gst_base_sink_set_async_enabled()
1871         API: gst_base_sink_is_async_enabled()
1872
1873 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
1874
1875         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
1876         Improve debugging.
1877
1878         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
1879         (gst_base_src_default_query), (gst_base_src_wait),
1880         (gst_base_src_do_sync), (gst_base_src_change_state):
1881         Rearrange some code so that we can add support for measuring the 
1882         startup latency.
1883
1884 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
1885
1886         * docs/random/ensonic/dynlink.txt:
1887           More thoughs on this.
1888
1889         * plugins/elements/gstcapsfilter.c:
1890           Add bugzilla ticket number to FIXME comment.
1891
1892 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
1893
1894         * docs/design/part-TODO.txt:
1895         * docs/design/part-block.txt:
1896         Update some docs.
1897
1898 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1899
1900         * gst/Makefile.am:
1901           Revert patch which uses $(gst_headers) instead of $^ because it
1902           breaks make dist.
1903
1904 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
1905
1906         * tests/check/gst/gstbin.c: (GST_START_TEST):
1907           Fix leaks in the new unit test.
1908
1909 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
1910
1911         * gst/gst.c:
1912           Don't use GST_INFO before the debug system is actually initialised
1913           (shouldn't do any harm, but won't print anything either, so we can
1914           just as well remove it).
1915
1916         * gst/gstinfo.h:
1917           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
1918           compilers that don't support variadic macros (such as MSVC), should
1919           check for debug_level <= __gst_debug_min as well, since that's the
1920           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
1921           inline helper functions. Should improve performance a bit, but also
1922           makes sure uses of GST_INFO et.al are ignored if the debugging
1923           system isn't initialised yet (instead of printing an assertion
1924           failure).
1925
1926 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
1927
1928         patch by: David Nečas <yeti@physics.muni.cz>
1929
1930         * gst/Makefile.am:
1931           Replace some non portable makefile constructs.
1932
1933 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
1934
1935         * common/gtk-doc-plugins.mak:
1936           Grrrrr. Don't remove the types file on make clean.
1937
1938 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
1939
1940         * tools/gst-launch.1.in:
1941         Add colorspace to example pipeline. Fixes #458274.
1942
1943 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
1944
1945         * docs/random/release:
1946           The release manager should run 'make download-po' before making a
1947           release to make sure translations are up-to-date.
1948
1949         * po/LINGUAS:
1950         * po/be.po:
1951         * po/pl.po:
1952         * po/rw.po:
1953           Add some new translations.
1954
1955 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
1956
1957         * tools/gst-launch.c: (event_loop), (main):
1958         Don´t try to do any state management when a live pipeline posts
1959         buffering messages.
1960         Also make the buffering string translatable.
1961
1962 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1963
1964         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
1965         (bin_handle_async_start), (gst_bin_handle_message_func):
1966         Improve debugging.
1967         When adding elements, insert messages into the bus of the newly added
1968         element and make sure the element is the source of the message. This
1969         allows the parent bin to intercept the message and do the
1970         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
1971         messages to the app (which is not allowed).
1972         Update some docs.
1973
1974         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1975         Fix testsuite so that is does not work around messages that should not
1976         have been posted in the first place.
1977
1978 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1979
1980         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
1981         (update_degree), (gst_bin_sort_iterator_next):
1982         Fix annoying bug in the sorted iterator where a sink that is not really
1983         a sink (when it has downstream links) screwed up the iterator.
1984
1985         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
1986         Unit test to verify the fix.
1987
1988 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
1989
1990         * gst/gstmessage.h:
1991         Add some more docs for the messages.
1992
1993         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
1994         (gst_base_sink_query):
1995         Add some more debugging.
1996
1997         * tools/gst-launch.c: (event_loop):
1998         When interrupting, don't try to set pipeline to PAUSED twice.
1999
2000 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
2001
2002         
2003         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
2004         (bin_handle_async_start), (gst_bin_handle_message_func):
2005         Move ASYNC_START message posting to where it belongs, similar to
2006         async_done. 
2007         Don't post ASYNC_START when we are in error. 
2008         Post ASYNC_START when we added an async element to a bin.
2009
2010 2007-08-14  Julien MOUTTE  <julien@moutte.net>
2011
2012         * gst/gstindex.c: (gst_index_add_association): Fix index entry
2013         generation from vargs. Fixes #466595.
2014
2015 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
2016
2017         * gst/gstbin.c: (gst_bin_element_set_state):
2018         Always change the state of a NO_PREROLL element even if it has ASYNC
2019         elements inside (in case of a bin).
2020
2021         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
2022         Unit test for this case.
2023
2024 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
2025
2026         * libs/gst/check/gstbufferstraw.c:
2027         * libs/gst/check/gstcheck.h:
2028         * libs/gst/controller/gstcontroller.c:
2029         * libs/gst/controller/gstcontrolsource.h:
2030         * libs/gst/controller/gstlfocontrolsource.h:
2031         * plugins/elements/gstcapsfilter.h:
2032         * plugins/elements/gstfdsink.h:
2033         * plugins/elements/gstfdsrc.h:
2034           Add more missing docs.
2035
2036 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2037
2038         * gst/gststructure.c:
2039         Add Since tag to docs.
2040
2041 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2042
2043         * docs/gst/gstreamer-sections.txt:
2044         * gst/gststructure.c: (gst_structure_get_uint):
2045         * gst/gststructure.h:
2046         Add function to get uint from a structure.
2047         API: gst_structure_get_uint()
2048
2049 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
2050
2051         * gst/gstcaps.c: (gst_caps_set_simple_valist),
2052         (gst_caps_intersect):
2053         Fix proper check for simple caps.
2054
2055 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
2056
2057         * docs/gst/Makefile.am:
2058         * docs/libs/Makefile.am:
2059           Remove cruft and do some cleanups.
2060
2061         * docs/gst/gstreamer-docs.sgml:
2062         * docs/libs/gstreamer-libs-docs.sgml:
2063           Prepare for comming gtkdoc features (rebase against online docs).
2064
2065 2007-08-10  Michael Smith <msmith@fluendo.com>
2066
2067         * docs/gst/gstreamer-sections.txt:
2068           Add gst_registry_add_path to docs.
2069
2070 2007-08-10  Michael Smith <msmith@fluendo.com>
2071
2072         * gst/gstregistry.h:
2073           Add gst_registry_add_path, which was missing from this header.
2074
2075 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
2076
2077         * libs/gst/controller/gstlfocontrolsource.c:
2078           Printf format fix.
2079
2080 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
2081
2082         * libs/gst/base/gstbasesink.c:
2083           Don't send an async_start message during downwards state change if 
2084           target state is less than READY
2085
2086 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2087
2088         translated by: Gabor Kelemen <kelemeng@gnome.hu>
2089
2090         * po/LINGUAS:
2091         * po/hu.po:
2092           Added Hungarian translation.
2093
2094 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
2095
2096         * po/fi.po:
2097         * po/it.po:
2098         * po/nl.po:
2099         * po/sv.po:
2100         * po/uk.po:
2101           Updated translations.
2102
2103 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
2104
2105         * libs/gst/controller/Makefile.am:
2106         Dist gstlfocontrolsourceprivate.h
2107
2108 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
2109
2110         * docs/libs/gstreamer-libs.types:
2111         Don't register the enum type gst_lfo_waveform_get_type() in the
2112         .types file - only GObject derived types belong.
2113
2114 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
2115
2116         Patch by: <arenevier at fdn dot fr>
2117
2118         * gst/gstbuffer.h:
2119         Remove comma from last element in enum to avoid compile errors when
2120         using -pendantic. Fixes #464366.
2121
2122 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
2123
2124         * docs/design/part-TODO.txt:
2125         Add some more TODO items
2126
2127         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
2128         Improve debugging.
2129
2130         * gst/gstcaps.c: (gst_caps_intersect):
2131         Optimize trivial intersection case between identical caps pointers.
2132
2133         * gst/gstelement.c: (gst_element_continue_state),
2134         (gst_element_set_state_func):
2135         * gst/gstpad.c:
2136         Fix spelling and grammar mistakes.
2137
2138 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
2139
2140         * po/POTFILES.in:
2141         * po/POTFILES.skip:
2142           Update POTFILES. Fixes #461599.
2143
2144 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
2145
2146         * gst/gst.c:
2147         Fix confusing typo in debug output.
2148
2149 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
2150
2151         reviewed by: Stefan Kost <ensonic@users.sf.net>
2152
2153         * libs/gst/controller/Makefile.am:
2154         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
2155         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
2156         (gst_lfo_control_source_new),
2157         (gst_lfo_control_source_set_waveform),
2158         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
2159         (gst_lfo_control_source_finalize),
2160         (gst_lfo_control_source_dispose),
2161         (gst_lfo_control_source_set_property),
2162         (gst_lfo_control_source_get_property),
2163         (gst_lfo_control_source_class_init):
2164         * libs/gst/controller/gstlfocontrolsource.h:
2165         * libs/gst/controller/gstlfocontrolsourceprivate.h:
2166         API: Add GstLFOControlSource, a control source that gives values
2167         for specific timestamps based on several periodic waveforms.
2168         Fixes #459717.
2169
2170         * tests/check/libs/controller.c: (GST_START_TEST),
2171         (gst_controller_suite):
2172         * docs/libs/gstreamer-libs-docs.sgml:
2173         * docs/libs/gstreamer-libs-sections.txt:
2174         * docs/libs/gstreamer-libs.types:
2175         Add documentation and unit tests for GstLFOControlSource.
2176
2177 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
2178
2179         * configure.ac:
2180         Back to CVS
2181
2182 === release 0.10.14 ===
2183
2184 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
2185
2186         * configure.ac:
2187           releasing 0.10.14, "Breathing Vacuum"
2188
2189 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
2190
2191         * gst/gstelement.c: (gst_element_class_set_details_simple):
2192         * gst/gstelement.h:
2193           Make strings passed to gst_element_class_set_details_simple()
2194           constant, as they should be (#462752).
2195
2196 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
2197
2198         * gst/gstbin.c: (gst_bin_change_state_func),
2199         (bin_handle_async_done), (gst_bin_handle_message_func):
2200         Don't forget about the fact that some element went ASYNC even after a
2201         resync. This makes us post the ASYNC_DONE message correctly.
2202         Fixes #462558.
2203
2204 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
2205
2206         * gst/gstregistry.c: (gst_registry_add_feature):
2207         When replacing an existing feature in the registry, make sure to
2208         continue holding a reference until we've replaced the name string
2209         within our feature hash table. Make sure to use g_hash_table_replace
2210         instead of g_hash_table_insert to ensure the new name string is used
2211         as a key instead of the old one that we're about to free.
2212         Fixes: #462085
2213
2214 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
2215
2216         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2217         (gst_plugin_feature_set_name):
2218         Revert patch from #459466 until after the release and we can work
2219         out exactly what the problem is (if any).
2220
2221 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
2222
2223         * docs/gst/gstreamer-sections.txt:
2224         * gst/gsttaglist.c:
2225         * gst/gsttaglist.h:
2226           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
2227
2228 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
2229
2230         * docs/libs/Makefile.am:
2231         Include our build-prefix libs and includes before the generic ones to
2232         avoid linking against the installed libs when we want the build-tree
2233         ones.
2234
2235 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
2236
2237         Patch by: Steve Fink  <sphink gmail com>
2238
2239         * docs/pwg/building-testapp.xml:
2240           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
2241           if people try to build or install the example from the plugin
2242           template against a GStreamer from package using the configure
2243           defaults.
2244
2245 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
2246
2247         Patch by: Steve Fink  <sphink gmail com>
2248
2249         * tools/gst-inspect.1.in:
2250           Document --print-all and --print-plugin-auto-install-info command
2251           line options in man page.
2252
2253 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
2254
2255         * docs/gst/gstreamer-sections.txt:
2256         Add docs for new api function.
2257
2258 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
2259
2260         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
2261         * gst/gstelementfactory.h:
2262         API: gst_element_factory_has_interface()
2263         Added method to check if an element factory implements a named
2264         interface.
2265
2266 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
2267
2268         * configure.ac:
2269         * docs/gst/gstreamer.types.in:
2270           Another conditional doc check.
2271
2272         * gst/gstmessage.c:
2273         * gst/gstparamspecs.h:
2274         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
2275         * gst/gstvalue.c:
2276         * gst/gstxml.h:
2277           API-doc fixes.
2278
2279 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2280
2281         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
2282         (gst_registry_binary_load_feature),
2283         (gst_registry_binary_load_plugin),
2284         (gst_registry_binary_read_cache):
2285           Print error just once and with additional info.
2286
2287 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2288
2289         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2290         (helper_find_suggest), (helper_find_get_length),
2291         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
2292         (gst_type_find_helper_for_buffer):
2293           Cleanup the typefindhelper code and add private doc comments.
2294
2295 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
2296
2297         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2298         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
2299         Fix capsfilter for cases where the caps set on capsfilter will provide
2300         additional information.
2301         Fixes #449197
2302
2303 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
2304
2305         * gst/gsttypefindfactory.c:
2306           Fix docs that recommened wrong function to use.
2307
2308 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2309
2310         * tools/gst-inspect.c: (print_plugin_features):
2311           Also give media-type for typefinders in element output.
2312
2313 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2314
2315         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
2316         (gst_registry_remove_features_for_plugin_unlocked),
2317         (gst_registry_add_feature), (gst_registry_remove_feature),
2318         (gst_registry_lookup_feature_locked):
2319         * gst/gstregistry.h:
2320           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
2321           Fixes #459501.
2322
2323 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
2324
2325         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
2326         (gst_plugin_feature_set_name):
2327           Avoid double memory usage for pluginfeature names. Fixes #459466.
2328
2329 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2330
2331         * gst/gstpad.h:
2332           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
2333           driving the pipeline may need to explicitly check for NOT_LINKED as
2334           well, since IS_FATAL doesn't cover that.
2335
2336 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
2337
2338         * docs/pwg/advanced-types.xml:
2339           Fix typo and duplicate entry in video formats list.
2340
2341 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
2342
2343         * libs/gst/controller/gstinterpolation.c:
2344         Also round to the nearest int when using cubic interpolation.
2345
2346 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
2347
2348         * libs/gst/controller/gstinterpolation.c:
2349         When linearly interpolating integer types, round to the nearest int
2350         by adding 0.5. Don't do it for float/double types.
2351         Fixes the failing controller test on my machine, which is somehow
2352         rounding differently than on the buildbots.
2353
2354 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2355
2356         * tools/gst-plot-timeline.py:
2357           Better log parsing (categories can have -). Adjust text vs. lines, so
2358           that they span the same y-range.        
2359
2360 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2361
2362         * docs/random/ensonic/audiobaseclasses.txt:
2363         * docs/random/ensonic/dynlink.txt:
2364         * docs/random/ensonic/profiling.txt:
2365           Save my thoughts.
2366
2367         * docs/random/moving-plugins:
2368           Add note to use g_assert type macros.
2369
2370 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
2371
2372         * configure.ac:
2373         * libs/gst/check/Makefile.am:
2374           Add libm check as we use in for plugins.
2375
2376 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
2377
2378         * gst/gstbin.c: (gst_bin_continue_func):
2379         Check that the state_cookie hasn't changed since the continue_func
2380         was scheduled. Avoids problems where the state changes back to
2381         something it shouldn't be because it was changed in the meantime.
2382
2383 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
2384
2385         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
2386         (gst_registry_binary_save_string),
2387         (gst_registry_binary_save_pad_template),
2388         (gst_registry_binary_save_feature),
2389         (gst_registry_binary_save_plugin),
2390         (gst_registry_binary_load_feature),
2391         (gst_registry_binary_load_plugin),
2392         (gst_registry_binary_read_cache):
2393           Fix memory leak. Be less verbose in the log.
2394
2395 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2396
2397         * tests/check/elements/.cvsignore:
2398         Add file to cvsignore as commanded.
2399
2400 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2401
2402         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
2403         (mq_dummypad_event), (run_output_order_test):
2404         Use a GStaticMutex to protect all cases where libcheck
2405         fail_if/fail_unless macros might be called from multiple threads
2406         simultaneously to avoid errors like:
2407           "check_pack.c:107: :-1081725400:Bad message type arg"
2408
2409 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2410
2411         * tests/check/pipelines/stress.c: (GST_START_TEST):
2412         Make sure we set the pipeline back to the NULL state before
2413         dropping our final reference.
2414
2415 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
2416
2417         * tests/check/elements/tee.c: (GST_START_TEST):
2418         Make the tee stress-test a little less stressful so it doesn't just
2419         time out on slow-machines, and remove a small race when it's starting 
2420         up by adding a get_state() call.
2421
2422 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
2423
2424         * gst/gst.c:
2425           Avoid reading registry twice on startup. Fixes #457322.
2426
2427 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2428
2429         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2430         * pkgconfig/gstreamer-check.pc.in:
2431         Substitute the CFLAGS for libcheck into our .pc file too so that
2432         dependent modules will pick it up properly if libcheck is installed
2433         into some other prefix.
2434
2435 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
2436
2437         * configure.ac:
2438         Revert the pkg-config check for libcheck, since it pulls in the
2439         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
2440         a proper solution, either from the check project, or something else.
2441
2442 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
2443
2444         * configure.ac:
2445           Use pkg-config to locate check.
2446
2447 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
2448
2449         * gst/gsttaglist.c:
2450           Fix doc syntax.
2451
2452         * gst/gstutils.c:
2453         * gst/gstutils.h:
2454           Add deprecation guards.
2455
2456         * libs/gst/base/gstcollectpads.h:
2457           Don't document object (this is implicitly private).
2458
2459 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
2460
2461         * gst/gststructure.c: (gst_structure_parse_value):
2462           When deserialising foo=bar without a type cast, check if it's a
2463           boolean before falling back to a string type, otherwise things like
2464           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
2465           because the filtercaps end up having a signed=(string)true field,
2466           which causes problems later when intersection caps.
2467
2468         * tests/check/gst/gststructure.c: (GST_START_TEST):
2469           Add a unit test for this.
2470
2471 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
2472
2473         Reviewed by: Stefan Kost <ensonic@users.sf.net>
2474
2475         * libs/gst/controller/Makefile.am:
2476         * libs/gst/controller/gstcontroller.c:
2477         (gst_controlled_property_add_interpolation_control_source),
2478         (gst_controlled_property_new), (gst_controlled_property_free),
2479         (gst_controller_find_controlled_property),
2480         (gst_controller_new_valist), (gst_controller_new_list),
2481         (gst_controller_new), (gst_controller_remove_properties_valist),
2482         (gst_controller_remove_properties_list),
2483         (gst_controller_remove_properties),
2484         (gst_controller_set_property_disabled),
2485         (gst_controller_set_disabled), (gst_controller_set_control_source),
2486         (gst_controller_get_control_source), (gst_controller_get),
2487         (gst_controller_sync_values), (gst_controller_get_value_array),
2488         (_gst_controller_dispose), (gst_controller_get_type),
2489         (gst_controlled_property_set_interpolation_mode),
2490         (gst_controller_set), (gst_controller_set_from_list),
2491         (gst_controller_unset), (gst_controller_unset_all),
2492         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
2493         * libs/gst/controller/gstcontroller.h:
2494         * libs/gst/controller/gstcontrollerprivate.h:
2495         * libs/gst/controller/gstcontrolsource.c:
2496         (gst_control_source_class_init), (gst_control_source_init),
2497         (gst_control_source_get_value),
2498         (gst_control_source_get_value_array), (gst_control_source_bind):
2499         * libs/gst/controller/gstcontrolsource.h:
2500         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
2501         (gst_object_get_control_source):
2502         * libs/gst/controller/gstinterpolation.c:
2503         (gst_interpolation_control_source_find_control_point_node),
2504         (gst_interpolation_control_source_get_first_value),
2505         (_interpolate_none_get), (interpolate_none_get),
2506         (interpolate_none_get_boolean_value_array),
2507         (interpolate_none_get_enum_value_array),
2508         (interpolate_none_get_string_value_array),
2509         (_interpolate_trigger_get), (interpolate_trigger_get),
2510         (interpolate_trigger_get_boolean_value_array),
2511         (interpolate_trigger_get_enum_value_array),
2512         (interpolate_trigger_get_string_value_array):
2513         * libs/gst/controller/gstinterpolationcontrolsource.c:
2514         (gst_control_point_free), (gst_interpolation_control_source_reset),
2515         (gst_interpolation_control_source_new),
2516         (gst_interpolation_control_source_set_interpolation_mode),
2517         (gst_interpolation_control_source_bind),
2518         (gst_control_point_compare), (gst_control_point_find),
2519         (gst_interpolation_control_source_set_internal),
2520         (gst_interpolation_control_source_set),
2521         (gst_interpolation_control_source_set_from_list),
2522         (gst_interpolation_control_source_unset),
2523         (gst_interpolation_control_source_unset_all),
2524         (gst_interpolation_control_source_get_all),
2525         (gst_interpolation_control_source_get_count),
2526         (gst_interpolation_control_source_init),
2527         (gst_interpolation_control_source_finalize),
2528         (gst_interpolation_control_source_dispose),
2529         (gst_interpolation_control_source_class_init):
2530         * libs/gst/controller/gstinterpolationcontrolsource.h:
2531         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
2532         API: Refactor GstController into the core controller which can take
2533         a GstControlSource for providing actual values for timestamps.
2534         Implement a interpolation control source and use this for backward
2535         compatibility, deprecate a bunch of functions that are now handled
2536         by GstControlSource or GstInterpolationControlSource.
2537         Make it possible to disable the controller completely or only for
2538         specific properties. Fixes #450711.
2539         * docs/libs/gstreamer-libs-docs.sgml:
2540         * docs/libs/gstreamer-libs-sections.txt:
2541         * docs/libs/gstreamer-libs.types:
2542         Add new functions and classes to the docs.
2543         * tests/check/libs/controller.c: (GST_START_TEST),
2544         (gst_controller_suite):
2545         * tests/examples/controller/audio-example.c: (main):
2546         Port unit test and example to the new API and add some new
2547         unit tests.
2548
2549 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
2550
2551         Patch by: Mark Nauwelaerts <manauw at skynet be>
2552
2553         * plugins/elements/gstmultiqueue.c:
2554         (gst_multi_queue_get_internal_links), (apply_buffer),
2555         (single_queue_overrun_cb), (gst_single_queue_new):
2556         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
2557         the pipeline layout can be tracked correctly. Fixes #453732.
2558
2559 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
2560
2561         * docs/gst/Makefile.am:
2562         * docs/libs/Makefile.am:
2563         * docs/plugins/Makefile.am:
2564           Simplify --extra-dir as gtkdoc scans recursively.
2565
2566 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2567
2568         * tools/gst-launch.c: (main):
2569         When we got an error, there is no point in waiting for preroll when
2570         shutting down.
2571
2572 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
2573
2574         * plugins/elements/gsttee.c: (gst_tee_base_init),
2575         (gst_tee_request_new_pad), (gst_tee_release_pad),
2576         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
2577         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
2578         (gst_tee_chain):
2579         Be a lot smarter when deciding what srcpad to use for proxying
2580         the buffer_alloc. Also handle pad added/removed when doing so.
2581         Fixes #357959.
2582         Keep track of what pads we already pushed on in case we have pads
2583         added/removed while pushing. Fixes #374639 
2584
2585         * tests/check/Makefile.am:
2586         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
2587         (tee_suite):
2588         Added unit test for pad resync.
2589
2590 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2591
2592         * po/nl.po:
2593         * po/sv.po:
2594           Updated translations.
2595
2596 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
2597
2598         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
2599
2600         * po/LINGUAS:
2601         * po/fi.po:
2602           Added new Finnish translation.
2603
2604 2007-06-28  Wim Taymans  <wim@fluendo.com>
2605
2606         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2607         (single_queue_overrun_cb):
2608         When figuring out when a queue is filled, use our internal time estimate
2609         based on segments, just like check_full does.
2610
2611 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2612
2613         * gst/gstminiobject.c: (gst_mini_object_get_type):
2614           Remove 3 do-nothing methods.
2615
2616 2007-06-27  Wim Taymans  <wim@fluendo.com>
2617
2618         Patch by: Tim Angus <tim at ngus dot net>
2619
2620         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
2621         (gst_capsfilter_set_property):
2622         Take a reference instead of a copy when setting "caps".
2623         Fix documentation to clarify this behaviour. Fixes #449414.
2624
2625 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
2626
2627         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2628         * gst/gstplugin.c: (gst_plugin_init):
2629         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
2630         * gst/gstquery.c: (gst_query_get_type):
2631         * gst/gstregistry.c: (gst_registry_init):
2632         * gst/gsturi.c: (gst_uri_handler_base_init):
2633           Remove empty instance_init() functions to save relocs and lessen the
2634           noise. Remove some of the function prototypes that are doubled by
2635           G_DEFINE_TYPE.
2636           
2637 2007-06-27  Wim Taymans  <wim@fluendo.com>
2638
2639         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
2640
2641         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
2642         Add peer and direction in the XML serialisation of ghostpads.
2643         Fixes #449226.
2644
2645 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2646
2647         * configure.ac:
2648           Preserve useful information, thanks Tim.
2649
2650 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
2651
2652         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2653         (gst_single_queue_flush), (apply_segment), (apply_buffer),
2654         (gst_single_queue_push_one), (gst_multi_queue_loop),
2655         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2656         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
2657         (compute_high_id), (gst_single_queue_new):
2658         * plugins/elements/gstmultiqueue.h:
2659         Take the multiqueue lock when updating the fill level so we don't get
2660         confused. 
2661
2662         After applying a buffer or event on the src pad segment, make sure to
2663         call gst_data_queue_limits_changed() to get the data queue to unblock
2664         and check the filled state again.
2665         
2666         Rework the not-linked pad handling so the logic is that not-linked 
2667         pads can push as fast as they like, but only so they never get 
2668         ahead of any linked pads.
2669
2670         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
2671         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
2672         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
2673
2674         Add a test to check that not-linked pads always stay behind
2675         linked pads.
2676
2677         Fixes: #430682
2678
2679 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
2680
2681         * docs/random/release:
2682           Some updates to the release procedure.
2683
2684 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
2685
2686         * gst/gstelementfactory.c: (__gst_element_details_clear):
2687           Microoptimization that saves stunning 80 bytes.
2688
2689 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
2690
2691         * docs/plugins/gstreamer-plugins.args:
2692         * docs/plugins/inspect/plugin-coreelements.xml:
2693         * docs/plugins/inspect/plugin-coreindexers.xml:
2694           Update docs with caps info.
2695
2696 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
2697
2698         * po/it.po:
2699           Updated Italian translation.
2700
2701 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
2702
2703         * ChangeLog:
2704         * po/vi.po:
2705           Update Vietnamese translations.
2706
2707 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2708
2709         * libs/gst/base/gstbasesink.c:
2710           Remove unused signal enum.
2711
2712 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2713
2714         * docs/gst/gstreamer-sections.txt:
2715         * gst/gstelement.c:
2716         * gst/gstutils.c: (gst_type_register_static_full):
2717         Beef up and include the docs for gst_type_register_static_full and
2718         gst_element_class_set_details_simple and add the API keyword
2719         in the ChangeLog.
2720
2721 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
2722
2723         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
2724         (update_time_level), (gst_single_queue_push_one),
2725         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
2726         (single_queue_overrun_cb), (single_queue_underrun_cb),
2727         (single_queue_check_full):
2728         Fix setting max-* properties after adding queues.
2729         Use IS_FILLED for checking visible items.
2730         Signal overrun if multiple queues overrun.
2731         Add extra debug output.
2732         Patch by: Wim Taymans <wim@fluendo.com>
2733
2734 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
2735
2736         * gst/gstelement.c: (gst_element_class_set_details_simple):
2737         * gst/gstelement.h:
2738         * gst/gstutils.c: (gst_type_register_static_full):
2739         * gst/gstutils.h:
2740         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
2741         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
2742         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
2743         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
2744         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
2745         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
2746         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
2747         * plugins/elements/gstidentity.c: (gst_identity_base_init):
2748         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
2749         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2750         (apply_buffer), (gst_queue_chain):
2751         * plugins/elements/gsttee.c: (gst_tee_base_init):
2752         * plugins/elements/gsttypefindelement.c:
2753         (gst_type_find_element_base_init),
2754         (gst_type_find_element_class_init):
2755           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
2756           API: add gst_type_register_static_full
2757           API: add gst_element_class_set_details_simple
2758
2759 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
2760
2761         * docs/pwg/advanced-types.xml:
2762           Fix typo in iana.org URI.
2763
2764 2007-06-19  Andy Wingo  <wingo@pobox.com>
2765
2766         * tests/check/pipelines/simple-launch-lines.c
2767         (test_state_change_returns): Enable pull-mode tests now that
2768         basesink has been fixed.
2769
2770         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
2771         Changed from gst_base_sink_is_prerolled, reversing the sense of
2772         the return value. Returns FALSE also if the sink is in pull mode,
2773         in which case it needs no preroll.
2774         (gst_base_sink_query, gst_base_sink_change_state): Update for
2775         needs_preroll change.
2776         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
2777         chaining up, in which we return SUCCESS directly if we activated
2778         in pull mode instead of ASYNC. Involves countering an async_start
2779         message sent before chaining up; not sure if this is correct, in
2780         an ideal world we only send async-start when activating in push
2781         mode.
2782
2783         * tests/check/pipelines/simple-launch-lines.c
2784         (test_state_change_returns): New test, partially disabled until
2785         basesink is fixed.
2786
2787 2007-06-19  Wim Taymans  <wim@fluendo.com>
2788
2789         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2790         (gst_multi_queue_sink_event):
2791         Fix event leak.
2792
2793 2007-06-19  Wim Taymans  <wim@fluendo.com>
2794
2795         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
2796         (gst_bin_change_state_func), (bin_push_state_continue),
2797         (bin_handle_async_start), (bin_handle_async_done),
2798         (gst_bin_handle_message_func):
2799         Move the common code for posting state-change messages into
2800         one function.
2801         Broadcast the state signal after we posted the messages.
2802         Mark the bin as busy when it's doing a state-change.
2803         Make sure async-start/done messages don't interfere with the bin's
2804         state when it's busy.
2805         After the state change, let the bin check which elements completed the
2806         state change while it was busy so that it can update its state.
2807
2808 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
2809
2810         * docs/random/release:
2811         Add a note about updating the doap file to the release checklist
2812
2813 2007-06-18  Wim Taymans  <wim@fluendo.com>
2814
2815         * plugins/elements/gstmultiqueue.c: (apply_buffer),
2816         (gst_single_queue_push_one), (gst_multi_queue_chain),
2817         (gst_multi_queue_sink_event):
2818         Make sure we don't reference the buffer/event after we have given away
2819         ownership in the queue.
2820
2821 2007-06-18  Wim Taymans  <wim@fluendo.com>
2822
2823         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2824         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
2825         Update queue state _after_ adding the item in the queue because else we
2826         could end up being full without the element added yet.
2827
2828 2007-06-18  Wim Taymans  <wim@fluendo.com>
2829
2830         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
2831         (gst_bin_remove_func), (gst_bin_get_state_func),
2832         (gst_bin_element_set_state), (gst_bin_continue_func),
2833         (bin_push_state_continue), (bin_handle_async_start),
2834         (bin_handle_async_done), (gst_bin_handle_message_func):
2835         * gst/gstbin.h:
2836         Immediatly commit the toplevel bin state when receiving an async-done
2837         message. This enables us to avoid spawning a thread to commit the state
2838         in some common cases and it also avoids some races.
2839         Avoid spawning a state thread when adding/removing async elements to a
2840         toplevel bin. Instead we immediatly update the bin state.
2841         Get rid of iterating all the children when getting the state in the bin
2842         because it is now always up-to-date.
2843         Fix bug where locked elements would always return _SUCCESS even it they
2844         returned NO_PREROLL before being locked.
2845         Fix the order of the state_change, async-start/done messages that was
2846         sometimes incorrect.
2847         Mark the state_dirty field as deprecated, we don't need it anymore as we
2848         are always up-to-date.
2849
2850         * gst/gstelement.c: (gst_element_get_state_func),
2851         (gst_element_continue_state):
2852         Small debug inprovements.
2853         Return the previous element state return when nothing is pending instead
2854         of blindly returning SUCCESS.
2855
2856         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
2857         (gst_sinks_suite):
2858         Add a whole bunch of new testcases.
2859
2860 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2861
2862         * po/uk.po:
2863         * po/vi.po:
2864           Update translations.
2865
2866 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
2867
2868         * gst/gstpad.c:
2869         Fix typo in the docs.
2870
2871 2007-06-15  Wim Taymans  <wim@fluendo.com>
2872
2873         * docs/libs/gstreamer-libs-sections.txt:
2874         Add docs for new methods.
2875
2876 2007-06-15  Wim Taymans  <wim@fluendo.com>
2877
2878         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
2879         (gst_multi_queue_item_new):
2880         Don't use GSlice because we don't depend on >= 2.10 yet.
2881
2882 2007-06-15  Wim Taymans  <wim@fluendo.com>
2883
2884         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
2885         (update_time_level), (apply_segment), (apply_buffer),
2886         (gst_single_queue_push_one), (gst_multi_queue_item_new),
2887         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
2888         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
2889         (single_queue_underrun_cb), (single_queue_check_full):
2890         Remove debug printf.
2891
2892 2007-06-15  Wim Taymans  <wim@fluendo.com>
2893
2894         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
2895         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
2896         (gst_data_queue_set_flushing), (gst_data_queue_push),
2897         (gst_data_queue_pop), (gst_data_queue_drop_head),
2898         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
2899         * libs/gst/base/gstdataqueue.h:
2900         Various cleanups.
2901         Added methods to get the current levels and to inform the queue that the
2902         'full' limits changed.
2903
2904         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
2905         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
2906         (gst_single_queue_flush), (update_time_level), (apply_segment),
2907         (apply_buffer), (gst_single_queue_push_one),
2908         (gst_multi_queue_item_steal_object),
2909         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
2910         (gst_multi_queue_loop), (gst_multi_queue_chain),
2911         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
2912         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
2913         (gst_multi_queue_src_query), (single_queue_overrun_cb),
2914         (single_queue_underrun_cb), (single_queue_check_full),
2915         (gst_single_queue_new):
2916         Keep track of time in the queue by measuring the difference between
2917         running_time on input and output. This gives more accurate results and
2918         can compensate for segments correctly.
2919         Make a queue by default only 5 buffers deep. We will now increase the
2920         buffer size depending on the filledness of the other queues.
2921         Factor out commong flush code.
2922         Make sure we don't add additional refcounts to buffers when we can avoid
2923         it.
2924         Propagate GstFlowReturn differently.
2925         Use GSlice for intermediate GstMultiQueueItems.
2926         Keep track of EOS.
2927         Resize queues on over and underruns based on filled level of other
2928         queues.
2929         When checking if the queue is filled, prefer to measure in time if we
2930         can and fall back to bytes when no time is known.
2931
2932         * plugins/elements/gstqueue.c:
2933         Fix return value.
2934
2935 2007-06-15  Wim Taymans  <wim@fluendo.com>
2936
2937         * libs/gst/base/gstbasetransform.c:
2938         (gst_base_transform_sink_event):
2939         Work around the brokenness of the event vmethod in basetransform. Prefer
2940         to return TRUE when the subclass returned FALSE (meaning don't forward
2941         the event). 
2942
2943         * libs/gst/base/gstbasetransform.h:
2944         Clarify the docs.
2945
2946 2007-06-15  Wim Taymans  <wim@fluendo.com>
2947
2948         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
2949         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
2950         (gst_base_src_default_query), (gst_base_src_get_range),
2951         (gst_base_src_start):
2952         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
2953         Improve debugging.
2954
2955 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2956
2957         * docs/pwg/advanced-types.xml:
2958           Added more formats to caps table.
2959
2960 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
2961
2962         * tools/gst-launch.c: (main):
2963           Remove crufy code. GOption does not need this workaround.
2964
2965 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2966
2967         * libs/gst/controller/gstcontroller.c:
2968         (gst_controlled_property_set_interpolation_mode):
2969           Fix wrong getter for enums in controller.
2970
2971 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2972
2973         * libs/gst/check/gstcheck.c: (gst_check_init):
2974           Intercept criticals and warnings in the Gst-Phonon log domain, so
2975           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
2976           well.
2977         
2978 2007-06-14  Edward Hervey  <edward@fluendo.com>
2979
2980         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
2981         Since this file doesn't include "gst.h" it will not go through the
2982         macros that disable GST_LOG if debugging was disabled.
2983
2984 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
2985
2986         * libs/gst/check/Makefile.am:
2987         * libs/gst/check/gstcheck.h:
2988         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2989         * pkgconfig/gstreamer-check.pc.in:
2990           Ugly 'fix' for the controller unit test on the p5 bot: in
2991           fail_unless_equals_float() check whether the values are 'almost
2992           equal' by allowing a small absolute error, which should be good
2993           enough for our use cases (normal numbers and values close to 0).
2994           Proper fixage left to floating point arithmetic aficionados.
2995
2996 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
2997
2998         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
2999         (gst_base_sink_render_object), (gst_base_sink_get_position):
3000           Add two breaks thats where missing.
3001
3002 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3003
3004         * docs/libs/gstreamer-libs-sections.txt:
3005         * libs/gst/check/gstcheck.h:
3006           API: add fail_unless_equals_float() and assert_equals_float().
3007           Add documentation for some of the macros.
3008
3009         * tests/check/libs/controller.c: (GST_START_TEST):
3010           Use newly-added asserts.
3011
3012 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
3013
3014         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
3015           Show the caps change in the log to help spotting the case of not
3016           exactly matching caps.
3017
3018 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
3019
3020         * docs/pwg/building-boiler.xml:
3021           Fix typos, spotted by Thijs Vermeir (#447190).
3022
3023 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
3024
3025         * docs/plugins/tmpl/.cvsignore:
3026         Ignore file to keep the buildbots happy
3027
3028 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
3029
3030         * docs/plugins/Makefile.am:
3031         * docs/plugins/gstreamer-plugins-docs.sgml:
3032         * docs/plugins/gstreamer-plugins-sections.txt:
3033         Pull fdsink into the docs too.
3034
3035 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
3036
3037         * libs/gst/controller/gstinterpolation.c:
3038         Actually use the new functions with min/max checks for the trigger and
3039         none interpolation modes for get() and get_value_array() instead of
3040         just the latter.
3041
3042 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
3043
3044         * libs/gst/controller/gstcontroller.c:
3045         (gst_controlled_property_free):
3046         Unset the minimum and maximum GValues when freeing the corresponding
3047         GstControllerProperty struct.
3048
3049 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
3050
3051         * libs/gst/controller/gstcontroller.c:
3052         (gst_controlled_property_new):
3053         * libs/gst/controller/gstcontrollerprivate.h:
3054         * libs/gst/controller/gstinterpolation.c:
3055         (gst_controlled_property_find_control_point_node),
3056         (interpolate_none_get), (interpolate_none_get_enum_value_array),
3057         (interpolate_none_get_string_value_array),
3058         (interpolate_trigger_get),
3059         (interpolate_trigger_get_enum_value_array),
3060         (interpolate_trigger_get_string_value_array):
3061         Protect against values larger or smaller than the minimum or maximum
3062         allowed value for the property when using values that can be compared.
3063
3064         Optimize trigger interpolator a bit by taking the last requested value
3065         into account instead of always looping through the complete list.
3066
3067         Fix coding style a bit, everywhere else we use "return foo" instead
3068         of "return (foo)".
3069         
3070         * tests/check/libs/controller.c: (GST_START_TEST),
3071         (gst_controller_suite):
3072         Add unit test for the protection against too large or too small
3073         values.
3074
3075 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
3076
3077         * docs/random/slomo/controller.txt:
3078         Add some thoughts about the future of the controller.
3079
3080 2007-06-08  Wim Taymans  <wim@fluendo.com>
3081
3082         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3083         Don't overflow in retimestamping code.
3084
3085 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
3086
3087         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
3088         Use gst_util_guint64_to_gdouble for conversions.
3089         * win32/common/libgstreamer.def:
3090         Add new exported functions.
3091
3092 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
3093
3094         * gst/gstutils.c:
3095           Small docs addition.
3096
3097 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3098
3099         * README:
3100           Remove that test line again.
3101
3102 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3103
3104         * README:
3105           Test commit mail sending.
3106
3107 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3108
3109         * configure.ac:
3110           Fix typo and test commit mail sending.
3111
3112 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
3113
3114         * tests/examples/controller/audio-example.c:
3115           Improve comment and test commit mail sending.
3116
3117 2007-06-07  Wim Taymans  <wim@fluendo.com>
3118
3119         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
3120         (gst_bin_remove_func), (gst_bin_element_set_state),
3121         (bin_handle_async_start), (bin_handle_async_done),
3122         (gst_bin_handle_message_func):
3123         Add helper function to find messages.
3124         Generate the async-done messages together with the state change
3125         messages.
3126         Small cleanups in handling toplevel bins.
3127
3128 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3129
3130         * libs/gst/base/gstdataqueue.c:
3131         * libs/gst/base/gstdataqueue.h:
3132         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3133         (gst_multi_queue_item_new), (gst_multi_queue_chain),
3134         (gst_multi_queue_sink_event):
3135         * tests/check/elements/multiqueue.c: (multiqueue_suite):
3136           Fix multiqueue leaking buffers and events when downstream or the
3137           queue are flushing. Make refcounting assumptions explicit and
3138           document them (shouldn't break existing code that uses it other than
3139           maybe leak miniobjects, but that already happens anyway). Add unit
3140           test for the most common flushing case. Fixes #423700.
3141           
3142 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
3143
3144         * libs/gst/controller/gstcontroller.c:
3145         Clarify docs: The get_all, get_value_array(s) functions
3146         don't modify the GObject properties.
3147
3148 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
3149
3150         * libs/gst/controller/gstcontroller.c:
3151         (gst_controlled_property_set_interpolation_mode),
3152         (gst_controlled_property_prepend_default),
3153         (gst_controlled_property_new), (gst_controller_set_unlocked),
3154         (gst_controller_set), (gst_controller_set_from_list),
3155         (gst_controller_unset), (gst_controller_unset_all):
3156         * libs/gst/controller/gstcontrollerprivate.h:
3157         * libs/gst/controller/gstinterpolation.c:
3158         Factor out the 'set' logic into gst_controller_set_unlocked for the
3159         gst_controller_set and gst_controller_set_from_list functions.
3160
3161         To make life of the interpolators easier always add a control point
3162         at timestamp zero with the default value.
3163
3164         In the linear interpolator make things more obvious by better variable
3165         naming (slope).
3166
3167         Implement cubic interpolation mode (by using a natural cubic spline)
3168         and map the quadratic interpolation mode to this too (as quadratic
3169         doesn't make much sense, see discussion on the list).
3170
3171         * tests/check/libs/controller.c: (GST_START_TEST),
3172         (gst_controller_suite):
3173         Add unit test for the cubic interpolation mode and check everywhere
3174         if the interpolation mode could be set as expected.
3175
3176 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3177
3178         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
3179           Don't use GLib-2.10 functions, we still depend on
3180           GLib-how-old-is-it-again-2.8.
3181
3182 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
3183
3184         * docs/gst/gstreamer-sections.txt:
3185         * gst/Makefile.am:
3186         * gst/gst.c:
3187         * gst/gst.h:
3188         * gst/gstparamspecs.c: (_gst_param_fraction_init),
3189         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
3190         (_gst_param_fraction_values_cmp),
3191         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
3192         * gst/gstparamspecs.h:
3193         * gst/gstvalue.c:
3194         * tests/check/Makefile.am:
3195         * tests/check/gst/.cvsignore:
3196         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
3197         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
3198         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
3199         (GST_START_TEST), (gst_param_spec_suite):
3200           API: add GstParamSpecFraction, so elements can have fraction
3201           properties without lots of painful string parsing (#444648).
3202
3203 2007-06-05  Wim Taymans  <wim@fluendo.com>
3204
3205         * gst/gstobject.c: (gst_object_class_init):
3206         Fix signal signature.
3207
3208         * gst/gstsegment.c:
3209         Add small clarification in the api docs.
3210
3211         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
3212         States are protected with object lock.
3213
3214 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
3215
3216         * AUTHORS:
3217         I should probably be listed as an author by now.
3218
3219         * docs/random/release:
3220         Update the release doc
3221
3222 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
3223
3224         * gst/gstvalue.c:
3225           Make docs for gst_value_compare() mention return enums that
3226           actually exist.
3227
3228 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
3229
3230         * configure.ac:
3231           Back to CVS
3232
3233 === release 0.10.13 ===
3234
3235 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
3236
3237         * configure.ac:
3238           releasing 0.10.13, "With or without you"
3239
3240 2007-05-25  Wim Taymans  <wim@fluendo.com>
3241
3242         * gst/gstbin.c: (bin_handle_async_done):
3243         Make sure that the child bin stops after completing the async state
3244         change so that the parent can continue the state change to PLAYING.
3245         Fixes #441159.
3246
3247 2007-05-25  Wim Taymans  <wim@fluendo.com>
3248
3249         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3250         (unref_data), (gst_collect_pads_remove_pad),
3251         (gst_collect_pads_check_pads):
3252         Use additional refcounting to avoid crashes when dynamically adding and
3253         removing pads. Fixes #420206.
3254
3255 2007-05-24  Wim Taymans  <wim@fluendo.com>
3256
3257         * tools/gst-launch.c: (event_loop):
3258         When buffering goes from a two digit to a single digit number, make sure
3259         to remove the old second digit by writing a blank over it.
3260
3261 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3262
3263         * libs/gst/base/gstdataqueue.c:
3264           Eliminate tabs and trailing comma in enum list; fix some typos.
3265
3266 2007-05-24  Wim Taymans  <wim@fluendo.com>
3267
3268         * tests/check/gst/gstbin.c: (GST_START_TEST):
3269         Allow refcount of 3 and 4 because some state thread might still be busy
3270         with it.
3271
3272 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
3273
3274         * plugins/elements/Makefile.am:
3275         * plugins/elements/gstmultiqueue.h:
3276         * plugins/elements/gstqueue.h:
3277           These are not installed headers, no need for padding.
3278
3279 2007-05-24  Wim Taymans  <wim@fluendo.com>
3280
3281         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
3282         (gst_bin_continue_func):
3283         Enable latency for next release.
3284         Restore STATE_LOCK around recalc_state that was left out during the
3285         rewrite and could result in racy behaviour when _get_state and
3286         recalc_state are run concurrently. See #440463.
3287
3288 2007-05-23  Wim Taymans  <wim@fluendo.com>
3289
3290         * tests/check/gst/gstsystemclock.c: (store_callback),
3291         (GST_START_TEST):
3292         Improve test_async_order to also work when both timers are already
3293         expired when we get scheduled to check it.
3294
3295 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3296
3297         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
3298         (gst_bin_set_property), (gst_bin_get_property),
3299         (gst_bin_remove_func), (gst_bin_handle_message_func):
3300         * gst/gstbin.h:
3301           'private' is a c++ keyword, let's not use that in header files,
3302           otherwise c++ compilers will throw a tantrum.
3303
3304 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3305
3306         * plugins/elements/gstelements.c:
3307         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
3308         (gst_file_sink_get_current_offset):
3309         * plugins/indexers/gstindexers.c: (plugin_init):
3310           Use #ifdef for HAVE_XYZ for consistency.
3311
3312         * tests/check/Makefile.am:
3313         * tests/check/elements/.cvsignore:
3314         * tests/check/elements/filesink.c: (setup_filesink),
3315         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
3316           Add some unit tests for filesink.
3317
3318 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
3319
3320         Patch by: Mark Nauwelaerts <manauw at skynet be>
3321
3322         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
3323         (gst_file_sink_query), (gst_file_sink_do_seek),
3324         (gst_file_sink_get_current_offset), (gst_file_sink_render):
3325         * plugins/elements/gstfilesink.h:
3326           Fix position reporting; rename data_written member to current_pos to
3327           reflect its real meaning (fixes #412648).
3328
3329 2007-05-22  Edward Hervey  <edward@fluendo.com>
3330
3331         * docs/gst/gstreamer-sections.txt:
3332         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3333         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
3334         (gst_bin_remove_func), (gst_bin_handle_message_func):
3335         * gst/gstbin.h:
3336         Add a property for bins that handle the state change of their childs.
3337         Fixes #435880
3338
3339 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
3340
3341         * libs/gst/controller/gstinterpolation.c:
3342         Use an array of the correct type when using _get_value_array with
3343         linear interpolation.
3344
3345 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
3346
3347         * gst/gstelement.c (gst_element_requires_clock,
3348           gst_element_provides_clock, gst_element_request_pad,
3349           gst_element_class_set_details, gst_element_class_set_details_simple,
3350           gst_element_default_send_event, gst_element_abort_state,
3351           gst_element_continue_state, gst_element_set_state,
3352           gst_element_set_state_func, iterator_activate_fold_with_resync):
3353         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
3354           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
3355           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
3356           gst_pad_get_range, gst_pad_pull_range):
3357         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
3358           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
3359           GstPadActivateModeFunction, GstPadChainFunction,
3360           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
3361           GstPadFixateCapsFunction, GstPadTemplate):
3362         * gst/gstpipeline.c (gst_pipeline_change_state,
3363           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
3364           gst_pipeline_set_clock, gst_pipeline_auto_clock,
3365           gst_pipeline_get_delay):
3366           Whitespace and docs fixes.
3367
3368 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3369
3370         * libs/gst/controller/gstinterpolation.c:
3371         (interpolate_trigger_get_enum_value_array),
3372         (interpolate_trigger_get_string_value_array):
3373         Add support for retrieving value arrays when using the trigger
3374         interpolation mode. 
3375
3376 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3377
3378         * libs/gst/controller/gstcontroller.c:
3379         (gst_controller_get_value_array):
3380         * libs/gst/controller/gstcontroller.h:
3381         Clarify the docs of gst_controller_get_value_array(): The array where
3382         the values should be written to must be allocated as there seems to be
3383         no way to get the size of a random GType. This doesn't change any
3384         behaviour. Also fix some typos all over the place and remove an unused,
3385         commented function that is not necessary as g_object_set() could be
3386         used instead.
3387         * tests/check/libs/controller.c: (GST_START_TEST),
3388         (gst_controller_suite):
3389         Add unit test for gst_controller_get_value_array().
3390
3391 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
3392
3393         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
3394
3395         Disable part of the gst_buffer_try_new_and_alloc test, because
3396         it can happily succeed on 64-bit systems where there's more address
3397         space available.
3398
3399 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
3400
3401         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3402         Add unit test for the improved caps checking from bug #421543.
3403
3404 2007-05-21  Wim Taymans  <wim@fluendo.com>
3405
3406         * docs/design/part-synchronisation.txt:
3407         Small addition.
3408
3409         * gst/gstbin.c: (gst_bin_query):
3410         * plugins/elements/gstqueue.c: (apply_segment):
3411         Improve debugging.
3412
3413         * gst/gstmessage.h:
3414         Improve docs.
3415
3416 2007-05-21  Wim Taymans  <wim@fluendo.com>
3417
3418         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
3419         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
3420         (gst_pad_configure_src):
3421         Added simple version of improved caps checking. It was previously
3422         assumed that a setcaps function would check the validity of the caps but
3423         people prefer us to check caps against the template automatically. 
3424         Fixes #421543.
3425
3426 2007-05-21  Wim Taymans  <wim@fluendo.com>
3427
3428         * libs/gst/base/gstbasetransform.h:
3429         Fix macro for locking/unlocking the transform lock.
3430
3431 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
3432
3433         * docs/plugins/tmpl/.cvsignore:
3434           Ignore more.
3435
3436 2007-05-18  Edward Hervey  <edward@fluendo.com>
3437
3438         * plugins/elements/gstqueue.c: (gst_queue_loop):
3439         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
3440         for the subtle art of warning a potentially blocking thread that it
3441         should check the source pad return value, and relay the information
3442         upstream.
3443
3444 2007-05-18  Edward Hervey  <edward@fluendo.com>
3445
3446         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
3447         Release the queue lock !
3448
3449 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3450
3451         * docs/libs/gstreamer-libs-sections.txt:
3452         Add the two new controller functions to the appropiate places.
3453
3454 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3455
3456         reviewed by: Stefan Kost <ensonic@users.sf.net>
3457
3458         * libs/gst/controller/gstcontroller.c:
3459         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
3460         (_gst_controller_get_property), (_gst_controller_set_property),
3461         (_gst_controller_init), (_gst_controller_class_init):
3462         * libs/gst/controller/gstcontroller.h:
3463         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
3464         (gst_object_get_control_rate), (gst_object_set_control_rate):
3465         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
3466         Add API that provides sync suggestion timestamps for elements that
3467         call gst_object_sync_values() from which those elements can subdivide
3468         their processing loop to get the best results for the controlled
3469         properties. For now it just suggests last_sync + control_rate as
3470         new timestamp but this will be improved in the future.
3471
3472         While doing that change the control-rate property to a GstClockTime
3473         from guint and change it's meaning from samples to nanoseconds as
3474         the GstController doesn't know anything about sampling rate. Strictly
3475         speaking this breaks ABI but as the control-rate property didn't do
3476         anything in the past and as such couldn't be used this should be no
3477         problem.        
3478
3479 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3480
3481         reviewed by: Stefan Kost <ensonic@users.sf.net>
3482
3483         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
3484         (gst_controller_unset_all):
3485         * libs/gst/controller/gstcontrollerprivate.h:
3486         * libs/gst/controller/gstinterpolation.c:
3487         (gst_controlled_property_find_control_point_node):
3488         Save last synced value from the list to continue searching from there
3489         in future syncs. This speeds everything up a bit.
3490         
3491 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
3492
3493         reviewed by: Stefan Kost <ensonic@users.sf.net>
3494
3495         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
3496         (gst_control_point_find), (gst_controlled_property_new),
3497         (gst_control_point_free), (gst_controlled_property_free),
3498         (gst_controller_set), (gst_controller_set_from_list),
3499         (gst_controller_unset), (gst_controller_unset_all),
3500         (gst_controller_sync_values):
3501         * libs/gst/controller/gstcontroller.h:
3502         * libs/gst/controller/gstcontrollerprivate.h:
3503         * libs/gst/controller/gstinterpolation.c:
3504         (gst_controlled_property_find_control_point_node),
3505         (interpolate_none_get), (interpolate_trigger_get):
3506         Add a new private GstControlPoint struct which "inherits" from
3507         GstTimedValue to allow different interpolators to store internal
3508         values next to each control point. From the outside everything is
3509         still a GstControlPoint so we don't loose binary compatibility.
3510         Also fixup all the GValue handling to not leak GValues or list nodes.
3511         * tests/check/libs/controller.c: (GST_START_TEST):
3512         Free the list nodes and GValues in the controller_misc test.
3513
3514 2007-05-17  Edward Hervey  <edward@fluendo.com>
3515
3516         * gst/gstsegment.c:
3517         Small doc fix.
3518
3519 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
3520
3521         * gst/gstplugin.c: (gst_plugin_load_file):
3522           If we fail to load a plugin because of unresolved symbols or missing
3523           libraries and spew a warning to stderr, we may just as well mention
3524           which plugin it was that failed to load.
3525
3526 2007-05-13  David Schleef  <ds@schleef.org>
3527
3528         * docs/Makefile.am: the gtk-doc makefile snippet correctly
3529           handles the case when ENABLE_GTK_DOC is false, and installs
3530           the prebuilt documentation.  So gtk-doc subdirs are 
3531           unconditionally enabled.  Fixes: #349099.
3532
3533 2007-05-13  David Schleef  <ds@schleef.org>
3534
3535         * gst/gstutils.h: Reword some documentation.
3536
3537 2007-05-12  David Schleef  <ds@schleef.org>
3538
3539         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
3540           do anything with the passed "module" parameter, so remove it.
3541           Allows removal of additional vestigal code.
3542
3543 2007-05-12  David Schleef  <ds@schleef.org>
3544
3545         * gst/gstplugin.c:
3546           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
3547           Switch to using g_stat() because it's more portable.
3548
3549 2007-05-12  David Schleef  <ds@schleef.org>
3550
3551         * gst/gst.c:
3552           Add GST_DISABLE_OPTION_PARSING, in order to disable option
3553           parsing for embedded systems.
3554         * gst/gstelementfactory.c:
3555           Allow gst_element_register() to be called with plugin==NULL.
3556           Did nobody notice that static elements were broken?
3557
3558 2007-05-12  Wim Taymans  <wim@fluendo.com>
3559
3560         * tools/gst-launch.c: (event_loop):
3561         Give more interesting info when buffering starts and stops.
3562         Fix case where buffering starts but we fail to update the buffering flag
3563         because the target state is not PLAYING.
3564
3565 2007-05-12  Wim Taymans  <wim@fluendo.com>
3566
3567         * plugins/elements/gstqueue.c: (gst_queue_init),
3568         (gst_queue_finalize), (update_time_level), (apply_segment),
3569         (apply_buffer), (gst_queue_locked_flush),
3570         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
3571         (gst_queue_handle_sink_event), (gst_queue_chain),
3572         (gst_queue_push_one), (gst_queue_loop):
3573         * plugins/elements/gstqueue.h:
3574         Refactor an cleanup queue a bit.
3575         Do better time level calculations that also work when the srcpad is not
3576         yet running.
3577         Remove some unneeded debug lines.
3578
3579         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
3580         Added testcase for time level measurement.
3581         Try to make some stuff more racefree.
3582
3583 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3584
3585         * gst/gsturi.c: (gst_element_make_from_uri):
3586           Don't leak plugin feature.
3587
3588         * tests/check/Makefile.am:
3589         * tests/check/gst/.cvsignore:
3590         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
3591           Add brain-dead unit test.
3592
3593 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
3594
3595         Patch by: Jeroen Wouters <woutersj at gmail com>
3596
3597         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
3598           Treat protocol strings in a case-insensitive way (#437563).
3599
3600 2007-05-11  Michael Smith <msmith@fluendo.com>
3601
3602         * gst/gstplugin.c: (gst_plugin_load_file):
3603         * gst/gstregistry.c: (gst_registry_scan_path_level):
3604           Don't print a g_warning for any failure to load a shared object.
3605           Instead, push this down into gstplugin.c, and warn _only_ if we
3606           failed to open the module (i.e. failure to link).
3607           Avoids warnings on normal, working, non-plugin .so files.
3608
3609 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
3610
3611         * gst/gstplugin.c (gst_plugin_load_file):
3612         * gst/gstregistry.c (GST_CAT_DEFAULT,
3613           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
3614           Print a g_warning if there was an error when loading a plugins during
3615           registry scan. The shuld help beginners starting with gst-plugin
3616           template.
3617
3618 2007-05-10  Wim Taymans  <wim@fluendo.com>
3619
3620         * plugins/elements/gstqueue.c: (gst_queue_class_init),
3621         (update_time_level), (gst_queue_locked_flush),
3622         (gst_queue_handle_sink_event), (gst_queue_chain),
3623         (gst_queue_push_one), (gst_queue_loop):
3624         * plugins/elements/gstqueue.h:
3625         Be smarter when calculating the current amount of data in the queue by
3626         measuring the difference between start and end timestamps (in running
3627         time) inside the queue. Fixes #432876.
3628         API: GstQueue::pushing to notify elements that we are pushing data again
3629         since the running signal is rather broken for this purpose.
3630
3631 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
3632
3633         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
3634           gst_queue_base_init, gst_queue_init):
3635           use GST_BOILERPLATE
3636
3637 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
3638
3639         * win32/common/libgstreamer.def:
3640         Add new exported functions.
3641         * win32/vs6/grammar.dsp:
3642         Use grammar pre-generated files.
3643
3644 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3645
3646         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
3647
3648         * gst/Makefile.am:
3649         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
3650         * gst/gstparse.h:
3651         * gst/gstutils.c: (gst_parse_bin_from_description):
3652         * gst/gstutils.h:
3653           Maintain API and ABI when --disable-parse is used. Now that
3654           we have an appropriate error code, we can just return NULL and the
3655           appropriate error when gst_parse_launch() is used despite it having
3656           been disabled (#342564).
3657
3658         * tests/check/Makefile.am:
3659         * tests/check/pipelines/.cvsignore:
3660         * tests/check/pipelines/parse-disabled.c:
3661           Make sure these functions exist and return NULL plus a GError when
3662           --disable-parse is used.
3663
3664 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
3665
3666         * tests/benchmarks/complexity.c: (main):
3667         * tests/benchmarks/mass-elements.c: (main):
3668           Set a good example and don't leak messages.
3669
3670 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
3671
3672         * docs/gst/Makefile.am:
3673         * docs/libs/Makefile.am:
3674           Correct fixxrefs options.
3675
3676         * docs/plugins/Makefile.am:
3677         * docs/plugins/gstreamer-plugins-docs.sgml:
3678         * docs/plugins/gstreamer-plugins-sections.txt:
3679         * plugins/elements/Makefile.am:
3680         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
3681         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
3682           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
3683           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
3684           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
3685           _GstCapsFilterClass, trans_class):
3686         * plugins/elements/gstelements.c (name, rank, type, _elements):
3687         * plugins/elements/gstidentity.c
3688           (gst_identity_check_imperfect_timestamp,
3689           gst_identity_check_imperfect_offset):
3690           Document capsfilter and add doc-blurb to identity.
3691
3692 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
3693
3694         * libs/gst/controller/gstcontroller.c:
3695         (gst_controlled_property_set_interpolation_mode):
3696         * libs/gst/controller/gstinterpolation.c:
3697           Don't crash if someone tries to set an interpolation mode that
3698           is invalid or that isn't supported yet. Fixes #422295.
3699
3700         * tests/check/libs/controller.c: (GST_START_TEST),
3701         (gst_controller_suite):
3702           Add a test case for the above.
3703
3704 2007-05-03  Edward Hervey  <edward@fluendo.com>
3705
3706         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
3707         Properly set the last_stop position on GstSegment. This will only happen
3708         if there is a buffer to push out.
3709
3710 2007-05-03  Wim Taymans  <wim@fluendo.com>
3711
3712         * libs/gst/base/gstbasetransform.c:
3713         (gst_base_transform_buffer_alloc):
3714         always_in_place does not mean that the sink and source caps are the
3715         same! Make sure we don't blindly proxy the buffer_alloc in this case.
3716
3717 2007-05-03  Wim Taymans  <wim@fluendo.com>
3718
3719         * docs/libs/gstreamer-libs-sections.txt:
3720         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
3721         (gst_base_src_default_query), (gst_base_src_get_range):
3722         * libs/gst/base/gstbasesrc.h:
3723         API: gst_base_src_query_latency(). Added method so that subclasses can
3724         easily get the latency values of the base source class.
3725
3726 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
3727
3728         * tools/gst-inspect.c (print_implementation_info):
3729         Remove 0.8 cruft.
3730
3731 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
3732
3733         * tools/Makefile.am:
3734         * tools/gst-launch.1.in:
3735           Don't create a customised man page based on the host architecture,
3736           describe the default registry path generically. That way the man
3737           page is the same for all architectures and packagers have one
3738           multilib issue less to deal with. Fixes #434926.
3739
3740 2007-05-02  Wim Taymans  <wim@fluendo.com>
3741
3742         * gst/gstpad.c:
3743         Fix documentation as spotted by rg on IRC. 
3744
3745 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
3746
3747         * gst/gstutils.c:
3748           Improve docs for gst_element_{link,unlink}.
3749
3750 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
3751
3752         * docs/design/part-events.txt:
3753         * docs/design/part-overview.txt:
3754         * gst/gstevent.c:
3755         * gst/gsturi.c:
3756         * gst/gsturi.h:
3757         * libs/gst/base/gstbasesink.c:
3758           Typo fixes; minor docs addition.
3759
3760 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3761
3762         * docs/gst/gstreamer-sections.txt:
3763         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
3764         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
3765         * gst/gsturi.h:
3766         API: Add gst_uri_protocol_is_supported(), which checks if a sink
3767         or src that supports a given URI protocol exists.
3768
3769 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3770
3771         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3772         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3773         Set the location to NULL if "file://" is set as URI. Otherwise
3774         some random previous URI would still be set if "file://" is
3775         set on an already used filesink/filesrc.
3776
3777 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
3778
3779         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
3780         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
3781         Special case the "file://" URI as as this is used by some
3782         applications to test with gst_element_make_from_uri if there's
3783         an element that supports the URI protocol.
3784         Also move the g_path_is_absolute() check for the location part
3785         of the URI to also check this for "file://localhost/bla" URIs.
3786
3787 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
3788
3789         * docs/gst/gstreamer-sections.txt:
3790         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
3791         * gst/gstbuffer.h:
3792         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
3793         (gst_buffer_suite):
3794           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
3795
3796 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
3797
3798         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3799         (gst_registry_binary_load_pad_template),
3800         (gst_registry_binary_load_plugin),
3801         (gst_registry_binary_read_cache):
3802         * gst/gstregistrybinary.h:
3803           Implement no-mmap alternative for registry reading. Do code cleanups.
3804           Add more comments about avoiding strdups for all text data. Comments
3805           welcome.
3806
3807 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3808
3809         * gst/gstregistrybinary.h (GstBinaryPluginElement,
3810           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
3811           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
3812           Comment structs and reformat to fix the build (that stuff should go
3813           into a priv. header).
3814
3815 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
3816
3817         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
3818         (gst_registry_binary_load_feature):
3819         * gst/gstregistrybinary.h:
3820           Refactor so that we can implement multiple features. Add support for
3821           TypeFindFactory features.
3822
3823 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
3824
3825         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
3826
3827         * configure.ac:
3828           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
3829
3830 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
3831
3832         * gst/gstbin.c: (gst_bin_element_set_state),
3833         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
3834         (bin_handle_async_done), (gst_bin_handle_message_func):
3835           Fix build with --gst-disable-gst-debug
3836
3837 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
3838
3839         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
3840           Make sure streaming has finished before calling the ::stop() vfunc,
3841           since that vfunc might clear state which is being used in the
3842           streaming thread. This fixes a race that caused crashes in
3843           audioresample when shutting down a pipeline (#420106).
3844
3845 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3846
3847         * docs/gst/gstreamer-sections.txt:
3848           That was one byte missing.
3849
3850 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3851
3852         * configure.ac:
3853         * docs/gst/gstreamer-sections.txt:
3854         * gst/Makefile.am:
3855         * gst/gstconfig.h.in:
3856         * gst/gstobject.c: (gst_object_class_init),
3857         (gst_signal_object_class_init):
3858         * gst/gstobject.h:
3859           2nd attempt to have a xml-less build as a joined effort of #413123
3860           and #421480.
3861
3862 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
3863
3864         * docs/design/draft-tagreading.txt:
3865           Added open issues/thoughts to draft.
3866
3867 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3868
3869         * gst/parse/grammar.tab.pre.c:
3870         * gst/parse/grammar.tab.pre.h:
3871         * gst/parse/lex._gst_parse_yy.pre.c:
3872         Update the prebuild parser sources.
3873
3874 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3875
3876         * gst/parse/Makefile.am:
3877         And now fix the building of the flex sources. Now everything should
3878         work as expected.
3879
3880 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3881
3882         * gst/parse/Makefile.am:
3883         Now hopefully fix the build failures by setting proper rule
3884         dependencies and moving instead of copying.
3885
3886 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3887
3888         * tests/benchmarks/complexity.gnuplot:
3889         * tests/benchmarks/complexity.scm:
3890         * tests/benchmarks/mass-elements.gnuplot:
3891         * tests/benchmarks/mass-elements.scm:
3892           Total licensification.
3893
3894 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3895
3896         * gst/parse/Makefile.am:
3897           Fix the build by correcting the rule that gave wrong files to flex.
3898
3899 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
3900
3901         * tests/benchmarks/complexity.c:
3902         * tests/benchmarks/mass-elements.c:
3903           Change licence to LGPL as granted by Benjamin and Andy.
3904
3905 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
3906
3907         * gst/parse/Makefile.am:
3908         Add correct grammar.tab.h dependency if compiling without new enough
3909         flex. Fixes #431150.
3910
3911 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3912
3913         * gst/parse/Makefile.am:
3914         Fix typo and use outdated sources if the flex/bison sources are newer
3915         than the pregenerated ones but flex is too old. Print a warning in
3916         that case. This should fix the build on the build bot.
3917
3918 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
3919
3920         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
3921         * gst/parse/Makefile.am:
3922         * gst/parse/grammar.y:
3923         * gst/parse/parse.l:
3924         Make the parser reentrant and recursively callable. This requires flex
3925         >= 2.5.31, for older versions pregenerated sources are used as we
3926         can't bump the build dependency. Finally fixes #349180.
3927
3928         * gst/gstparse.c: (gst_parse_launch):
3929         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
3930         now anyway.
3931
3932         * docs/gst/Makefile.am:
3933         * docs/gst/Makefile.am:
3934         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
3935         (__gst_parse_strfree), (__gst_parse_link_new),
3936         (__gst_parse_link_free), (__gst_parse_chain_new),
3937         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
3938         (gst_parse_element_set), (gst_parse_free_link),
3939         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
3940         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
3941         (_gst_parse_launch):
3942         * gst/parse/grammar.tab.pre.h:
3943         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
3944         (yy_get_previous_state), (yy_try_NUL_trans), (input),
3945         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
3946         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
3947         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
3948         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
3949         (_gst_parse_yypop_buffer_state),
3950         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
3951         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
3952         (yy_fatal_error), (_gst_parse_yyget_extra),
3953         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
3954         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
3955         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
3956         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
3957         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
3958         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
3959         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
3960         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
3961         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
3962         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
3963         (_gst_parse_yyfree):
3964         If the installed flex version is too old use pre-generated parser
3965         sources. These pre-generated parser sources are always updated when
3966         the actual flex/bison sources change but require everybody who wants
3967         to change something in the parser to have flex >= 2.5.31 installed.
3968
3969 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
3970
3971         * common/m4/gst-gettext.m4:
3972         * gst/gst-i18n-lib.h:
3973           Make --disable-nls to work
3974
3975 2007-04-17  Wim Taymans  <wim@fluendo.com>
3976
3977         * gst/gstconfig.h.in:
3978         Revert previous change that broke the build.
3979
3980 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
3981
3982         * configure.ac:
3983         * gst/Makefile.am:
3984         * gst/gstconfig.h.in:
3985           Drop libxml2 dependency when building with 
3986           --enable-binary-registry --disable-loadsave
3987
3988 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
3989
3990         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
3991         (gst_registry_binary_read_cache):
3992         * gst/gstregistrybinary.h:
3993           Remove unnecessary <sys/mman.h> include which broke the win32 build
3994           with MingW; move includes from header file to .c file, even if the
3995           header file isn't installed; use g_strerror() where UTF-8 strings
3996           are expected, such as in GST_DEBUG messages.
3997
3998 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
3999
4000         * docs/libs/gstreamer-libs-sections.txt:
4001         Remove bogus addition for API I didn't end up keeping.
4002
4003         * libs/gst/base/gstbasesrc.h:
4004         Mention Since: 0.10.13 in the documentation.
4005
4006         Add the API keyword to the previous ChangeLog entry.
4007
4008 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4009
4010         * docs/libs/gstreamer-libs-sections.txt:
4011         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4012         (gst_base_src_default_prepare_seek_segment),
4013         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
4014         * libs/gst/base/gstbasesrc.h:
4015         Allow basesrc derived classes to execute seeks in other formats
4016         by providing a prepare_seek_segment vmethod. Sub-classes can choose
4017         to prepare the GstSegment in any format that their perform_seek method
4018         will be able to understand. The default implementation provides the
4019         old behaviour of attempting to convert the seek offsets to the 
4020         configured native format.
4021
4022         API: basesrc::prepare_seek_segment vmethod.
4023
4024 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4025
4026         * gst/gstelement.c: (gst_element_get_state_func):
4027         Don't output the same debug statement twice.
4028
4029         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
4030         (gst_adapter_peek), (gst_adapter_take_buffer):
4031         Optimise the case where we have buffers at the head of the queue that
4032         can be joined quickly (because they're contiguous sub-buffers) by
4033         merging them together rather than copying data out into new memory.
4034
4035         * gst/parse/grammar.y:
4036         * tests/check/pipelines/parse-launch.c:
4037         Fix a leak in an error path for parse_launch, and add a check 
4038         for it to the testsuite.
4039
4040 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
4041
4042         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4043           Don't deadlock when releasing a pad - gst_pad_set_active may try
4044           and take the multiqueue lock too.
4045
4046 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
4047
4048         * gst/gsterror.c: (_gst_core_errors_init):
4049         * gst/gsterror.h:
4050           API: add GST_CORE_ERROR_DISABLED (#392804).
4051
4052 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4053
4054         * docs/faq/gst-uninstalled:
4055           don't get empty paths on the PATH variables
4056         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
4057           Don't format for the uncommon terminal width of 84 characters.
4058
4059 2007-04-06  Wim Taymans  <wim@fluendo.com>
4060
4061         * gst/gstpipeline.c: (reset_stream_time),
4062         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
4063         Only try to select a different pipeline clock when we went back to
4064         PAUSED and not when we merely got flushed.
4065
4066 2007-04-05  Michael Smith  <msmith@fluendo.com>
4067
4068         * tools/gst-launch.1.in:
4069           fractions are better supported in gstreamer than ractions, so
4070           suggest using those.
4071
4072 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4073
4074         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
4075
4076         * po/LINGUAS:
4077         * po/da.po:
4078           Added Danish translation.
4079
4080 2007-04-05  Wim Taymans  <wim@fluendo.com>
4081
4082         * libs/gst/base/gstbasesink.c:
4083         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
4084         Fix leak caused when refusing newsegment after EOS.
4085
4086         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
4087         (gst_fake_sink_init), (gst_fake_sink_set_property),
4088         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
4089         (gst_fake_sink_render), (gst_fake_sink_change_state):
4090         * plugins/elements/gstfakesink.h:
4091         Add num-buffers property to make the element generate EOS after a
4092         configurable amount of buffers.
4093         API: fakesink::num-buffers property.
4094
4095         * tests/check/elements/fakesink.c: (GST_START_TEST),
4096         (fakesink_suite):
4097         Fix GstBus leak in test.
4098         Test for fakesink num-buffers.
4099
4100 2007-04-05  Wim Taymans  <wim@fluendo.com>
4101
4102         * libs/gst/base/gstbasesink.c:
4103         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
4104         (gst_base_sink_change_state):
4105         Don't accept anything after an EOS, return UNEXPECTED instead.
4106
4107         * tests/check/elements/fakesink.c: (GST_START_TEST),
4108         (fakesink_suite):
4109         Unit test for new EOS behaviour.
4110
4111 2007-04-05  Wim Taymans  <wim@fluendo.com>
4112
4113         * gst/gstelement.c: (gst_element_get_request_pad):
4114         Make padtemplates also work when they don't contain %s or %d.
4115
4116 2007-04-05  Wim Taymans  <wim@fluendo.com>
4117
4118         * docs/gst/gstreamer-sections.txt:
4119         * gst/gstclock.c: (gst_clock_adjust_unlocked),
4120         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
4121         * gst/gstclock.h:
4122         Improve _adjust_unlocked() so that it overflows less.
4123         Add gst_clock_unadjust_unlocked to convert from external time to
4124         internal time based on calibration.
4125         Add some more debug.
4126         API: GstClock::gst_clock_unadjust_unlocked()
4127
4128 2007-04-03  Wim Taymans  <wim@fluendo.com>
4129
4130         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
4131
4132         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
4133         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
4134         when releasing sink pad. Fixes #425400.
4135
4136 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
4137
4138         * docs/random/ensonic/dynlink.txt:
4139           More work on proposal for new core api.
4140
4141         * docs/libs/gstreamer-libs-sections.txt:
4142         * libs/gst/base/gstbasetransform.h:
4143           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
4144           
4145         * libs/gst/controller/gstcontroller.c:
4146         (on_object_controlled_property_changed),
4147         (gst_controller_sync_values),
4148         (gst_controller_set_interpolation_mode):
4149         * libs/gst/controller/gstcontroller.h:
4150           Less verbose logging add docs for unimplemented parts and correctly
4151           return when using unavailable parts.
4152
4153 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
4154
4155         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
4156         Move all the debug to the CLOCK category, and associate it with
4157         the clock object.
4158
4159 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
4160
4161         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
4162         Make take_buffer a bit quicker by removing redundant checks
4163         caused by calling gst_adapter_take.
4164
4165 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
4166
4167         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
4168           Don't leak GCond.
4169
4170         * tests/check/Makefile.am:
4171         * tests/check/elements/.cvsignore:
4172         * tests/check/elements/multiqueue.c: (setup_multiqueue),
4173         (GST_START_TEST), (multiqueue_suite):
4174           Add some dead simple unit tests for the 'multiqueue' element
4175           (some bits don't work yet and are disabled for now).
4176
4177 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
4178
4179         * gst/gstelement.c: (gst_element_get_request_pad),
4180         (gst_element_class_get_request_pad_template):
4181           Make gst_element_get_request_pad() create request pads only for
4182           request pad templates and not for, say, sometimes pad templates.
4183
4184 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
4185
4186         * docs/design/draft-klass.txt:
4187           Add example that needs more thinking.
4188         
4189         * docs/design/draft-missing-plugins.txt:
4190           More thoughts about wrapper plugins.
4191         
4192         * docs/random/ensonic/embedded.txt:
4193         * docs/random/ensonic/profiling.txt:
4194           More design work.
4195
4196 2007-03-25  Wim Taymans  <wim@fluendo.com>
4197
4198         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
4199         (gst_base_src_loop):
4200         Only push the segment events in the PLAYING state for live sources.
4201
4202 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
4203
4204         * gst/gstpipeline.c: (gst_pipeline_change_state):
4205         Modify the clock distribution path in PAUSED->PLAYING so that we 
4206         never attempt to choose a new clock unless we're actually leaving
4207         the PAUSED state for the first time. This prevents choosing a
4208         different clock when the state_change gets called for a 2nd time due
4209         to some element doing an async state change.
4210
4211 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4212
4213         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
4214         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
4215         (gst_pad_chain_unchecked), (gst_pad_push):
4216         Revert last commit. This needs some more thoughts.
4217
4218 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
4219
4220         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
4221         (gst_pad_chain_unchecked), (gst_pad_push):
4222         Check in set_caps if the caps are compatible with the pad and remove
4223         two functions that are redundant now. Fixes #421543.
4224
4225 2007-03-22  Wim Taymans  <wim@fluendo.com>
4226
4227         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
4228         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
4229         Unref some more to make valgrind happy.
4230
4231 2007-03-22  Wim Taymans  <wim@fluendo.com>
4232
4233         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
4234         (gst_system_clock_id_wait_jitter),
4235         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
4236         Fix anoying regression that survived a few releases. When adding an
4237         async entry while blocking on a sync entry, the sync entry will unblock
4238         but still be busy, so it should continue to wait instead of returning
4239         _BUSY to the app.
4240         Add some comments here and there.
4241
4242         * tests/check/gst/gstsystemclock.c: (mixed_thread),
4243         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
4244         Add testcase for this.
4245
4246 2007-03-22  Wim Taymans  <wim@fluendo.com>
4247
4248         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
4249         Handle errors from the clock sync better, only UNSCHEDULED indicates a
4250         WRONG_STATE and can silently pause the task. All other cases should
4251         error out.
4252
4253 2007-03-22  Wim Taymans  <wim@fluendo.com>
4254
4255         Patch by: Ville Syrjala <syrjala at sci dot fi>
4256
4257         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
4258         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
4259         Improve debugging.
4260
4261 2007-03-21  Michael Smith  <msmith@fluendo.com>
4262
4263         * docs/pwg/advanced-types.xml:
4264           Fix some errors in the typefinding docs pointed out on irc.
4265
4266 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
4267
4268         * libs/gst/base/gstbasesrc.c:
4269         Clarify FIXME comment in the face of having added unlock_stop()
4270
4271 2007-03-21  Wim Taymans  <wim@fluendo.com>
4272
4273         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
4274         Prepare for release where we warn against possible app breakage in the
4275         case of live pipelines along with an env var to enable/disable live
4276         preroll mode (GST_COMPAT=[no-]live-preroll).
4277
4278 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4279
4280         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
4281         So we should use correct constants for checking for None offset.
4282
4283 2007-03-20  Wim Taymans  <wim@fluendo.com>
4284
4285         * docs/design/part-block.txt:
4286         Mention the fact that the newly switched element should be set to at
4287         least PAUSED.
4288
4289 2007-03-20  Wim Taymans  <wim@fluendo.com>
4290
4291         * gst/gst.c:
4292         Fix compilation with registry disabled as spotted by Saur.
4293
4294 2007-03-20  Wim Taymans  <wim@fluendo.com>
4295
4296         Patch by: Olivier Crete <tester at tester dot ca>
4297
4298         * gst/gstelement.c: (gst_element_sync_state_with_parent):
4299         Look at the pending state too when syncing the element state to the
4300         parent. Fixes #420133.
4301
4302 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
4303
4304         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
4305         (gst_base_sink_change_state):
4306         * libs/gst/base/gstbasesink.h:
4307         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
4308         (gst_base_src_default_event), (gst_base_src_unlock_stop),
4309         (gst_base_src_deactivate):
4310         * libs/gst/base/gstbasesrc.h:
4311         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
4312         for sub-classes to correctly clear any state they set trying to
4313         unlock, such as clearing out unlock commands from a command fd.
4314         API: basesrc::unlock_stop
4315         API: basesink::unlock_stop
4316
4317         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
4318         (gst_fd_sink_render), (gst_fd_sink_unlock),
4319         (gst_fd_sink_unlock_stop):
4320         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
4321         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
4322         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
4323
4324         Implement unlock_stop in fdsrc and fdsink.
4325         Implement seeking in fdsrc when a seekable fd is passed, as in
4326         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
4327
4328 2007-03-19  Wim Taymans  <wim@fluendo.com>
4329
4330         Patch by: Evan Nemerson <evan at coeus dash group dot com>
4331
4332         * gst/gstelement.c: (gst_element_class_init):
4333         Fix pad-added and pad-removed signal signatures so that the pad type is
4334         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
4335
4336 2007-03-19  Wim Taymans  <wim@fluendo.com>
4337
4338         * docs/gst/gstreamer-sections.txt:
4339         Add new element field and method.
4340
4341         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
4342         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
4343         (gst_bin_recalc_state), (gst_bin_get_state_func),
4344         (gst_bin_element_set_state), (gst_bin_change_state_func),
4345         (gst_bin_continue_func), (bin_bus_handler),
4346         (bin_push_state_continue), (bin_handle_async_start),
4347         (bin_handle_async_done), (gst_bin_handle_message_func):
4348         Make async state changes a bit smarter by using new ASYNC_START and
4349         ASYNC_DONE messages. This reduces the number of times we run the state
4350         recalculation thread.
4351         Don't change state of element with a pending ASYNC_START message.
4352         Deprecate STATE_DIRTY messages.
4353         
4354         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
4355         (gst_element_get_state_func), (gst_element_continue_state),
4356         (gst_element_lost_state), (gst_element_set_state_func),
4357         (gst_element_change_state):
4358         * gst/gstelement.h:
4359         Keep the state that was last set by the app in a new element field.
4360         Don't allow state changes when handling an element event.
4361         Post ASYNC_START and ASYNC_DONE messages.
4362         Change lost_state so that we go to PAUSED and wait for the parent to set
4363         us to PLAYING again (so latency calculation can be performed)
4364         Export gst_element_change_state() method so that subclasses can use it.
4365         API: gst_element_change_state()
4366         API: GST_STATE_TARGET
4367
4368         * gst/gstpipeline.c: (gst_pipeline_class_init),
4369         (reset_stream_time), (gst_pipeline_change_state),
4370         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
4371         Using the new ASYNC_START message we can reset the base_time when
4372         needed. This can then be used to implement base_time redistribution in
4373         flushing seeks so that we can remove the explicit seek handling.
4374         Perform latency query and configuration when going to PLAYING.
4375
4376         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4377         (gst_base_sink_query), (gst_base_sink_change_state):
4378         Post new ASYNC_START/ASYNC_DONE messages.
4379
4380         * tests/check/generic/sinks.c: (GST_START_TEST):
4381         Fix test because the bin will not set the async element to PLAYING right
4382         away.
4383
4384         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
4385         Make the message check a little stronger.
4386         Handle ASYNC messages.
4387
4388         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
4389         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
4390         Expect ASYNC_DONE messages.
4391
4392 2007-03-19  Wim Taymans  <wim@fluendo.com>
4393
4394         * docs/gst/gstreamer-sections.txt:
4395         * gst/gstmessage.c: (gst_message_new_async_start),
4396         (gst_message_new_async_done), (gst_message_parse_info),
4397         (gst_message_parse_async_start):
4398         * gst/gstmessage.h:
4399         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
4400         support.
4401
4402 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
4403
4404         * tools/gst-inspect.c:
4405         (print_plugin_automatic_install_info_codecs):
4406           Now that we don't check for the 'Codec' keyword any longer in the
4407           klass, we shouldn't spew a warning if the klass isn't a decoder or
4408           encoder (since it might be a Source/Network, for example).
4409
4410 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
4411
4412         * tools/gst-inspect.c:
4413         (print_plugin_automatic_install_info_codecs):
4414           Don't require decoder/demuxer/depayloader elements or
4415           encoder/muxer/paylader elements to have 'Codec' as part of their
4416           factory class string when introspecting a plugin's capabilities.
4417           draft-klass.txt mentions that it might be removed in future, and
4418           flump3dec doesn't have it as part of its class string, so chances
4419           are others might also not have it.
4420
4421 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
4422
4423         * po/af.po:
4424         * po/az.po:
4425         * po/bg.po:
4426         * po/ca.po:
4427         * po/cs.po:
4428         * po/de.po:
4429         * po/en_GB.po:
4430         * po/fr.po:
4431         * po/it.po:
4432         * po/nb.po:
4433         * po/nl.po:
4434         * po/ru.po:
4435         * po/sq.po:
4436         * po/sr.po:
4437         * po/sv.po:
4438         * po/tr.po:
4439         * po/uk.po:
4440         * po/vi.po:
4441         * po/zh_CN.po:
4442         * po/zh_TW.po:
4443           Update translations from translation project
4444
4445 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
4446
4447         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
4448         (gst_child_proxy_set_property):
4449           Invert precondition check to be alike the ones in the mimiced gobject
4450           api.
4451
4452 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
4453
4454         * docs/design/draft-tagreading.txt:
4455         * docs/random/ensonic/audiobaseclasses.txt:
4456           Do some Architect work.
4457
4458         * gst/gstobject.c: (gst_object_set_name):
4459           Add a WARNING.
4460
4461         * gst/gstpad.c:
4462           Add docs that point from gst_pad_get_range to gst_pad_pull_range
4463
4464 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
4465
4466         * gst/gstsystemclock.c: (gst_system_clock_init),
4467         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
4468         Defer starting the async system clock thread until the first async
4469         wait is scheduled. Fixes #414986.
4470
4471 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
4472
4473         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
4474         (gst_single_queue_free):
4475           Fix small leak (free GstSingleQueue structure too, not only contents).
4476
4477 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
4478
4479         * gst/gstbin.c:(gst_bin_add):
4480         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
4481         * win32/common/libgstbase.def:
4482         * win32/common/libgstreamer.def:
4483         Add new exported functions.
4484
4485 2007-03-09  Wim Taymans  <wim@fluendo.com>
4486
4487         * docs/plugins/gstreamer-plugins-sections.txt:
4488         Fix GstTee docs.
4489
4490 2007-03-09  Wim Taymans  <wim@fluendo.com>
4491
4492         * docs/gst/gstreamer-sections.txt:
4493         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
4494         * gst/gstbuffer.h:
4495         Add metadata copy functions. Fixes #393099.
4496         API: gst_buffer_copy_metadata()
4497
4498         * gst/gstutils.c: (gst_buffer_stamp):
4499         * libs/gst/base/gstbasetransform.c:
4500         (gst_base_transform_prepare_output_buffer):
4501         Use new metadata copy functions.
4502
4503 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4504
4505         * plugins/elements/gstidentity.c: (gst_identity_class_init),
4506         (gst_identity_init), (gst_identity_check_perfect),
4507         (gst_identity_check_imperfect_timestamp),
4508         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
4509         (gst_identity_set_property), (gst_identity_get_property):
4510         * plugins/elements/gstidentity.h:
4511         Separate out check-imperfect-timestamp and check-imperfect-offset.
4512         Put back check-perfect as it was to keep compatibility.
4513
4514 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
4515
4516         * gst/gstelement.c: (gst_element_dispose):
4517         There's no need to warn if VOID_PENDING is not NONE here, as
4518         long as the state is NULL it's ok, and that's checked immediately
4519         above.
4520
4521 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4522
4523         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4524         Fix check for perfect stream to ignore buffers with -1 
4525         offsets/offset ends when checking data contiguity.
4526
4527 2007-03-08  Wim Taymans  <wim@fluendo.com>
4528
4529         * tools/gst-launch.c: (event_loop):
4530         Print INFO messages.
4531
4532 2007-03-08  Wim Taymans  <wim@fluendo.com>
4533
4534         * libs/gst/base/gstbasetransform.c:
4535         (gst_base_transform_sink_eventfunc),
4536         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
4537         (gst_base_transform_activate):
4538         * libs/gst/base/gstbasetransform.h:
4539         Add support for dropping buffers with custom GstFlowReturn.
4540         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
4541         buffers or dropped buffers.
4542
4543         * docs/libs/gstreamer-libs-sections.txt:
4544         docs for new custom return code.
4545
4546         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
4547         Use drop support in base class to implement drop-probability.
4548
4549 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
4550
4551         * gst/gst.c: (load_plugin_func):
4552         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
4553         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4554         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
4555           Remove newlines at end of debug log strings.
4556
4557 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4558
4559         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4560         Only post bus message at max, once per buffer received.
4561
4562 2007-03-07  Wim Taymans  <wim@fluendo.com>
4563
4564         * docs/design/Makefile.am:
4565         * docs/design/part-synchronisation.txt:
4566         Add doc about synchronisation
4567
4568         * docs/design/draft-latency.txt:
4569         * docs/design/part-TODO.txt:
4570         * docs/design/part-clocks.txt:
4571         * docs/design/part-events.txt:
4572         * docs/design/part-gstbus.txt:
4573         * docs/design/part-gstpipeline.txt:
4574         * docs/design/part-live-source.txt:
4575         * docs/design/part-messages.txt:
4576         * docs/design/part-overview.txt:
4577         * docs/design/part-streams.txt:
4578         * docs/design/part-trickmodes.txt:
4579         Documentation updates.
4580
4581 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4582
4583         * gstreamer.doap:
4584         Update the doap file.
4585
4586 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4587
4588         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
4589         Rename non-perfect to imperfect for Mike and for the sanctity of the
4590         language.
4591         Also make sure bus message gets emitted for data-incontiguities.
4592
4593 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
4594
4595         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
4596         (gst_identity_start):
4597         * plugins/elements/gstidentity.h:
4598         Emit bus message if check-perfect is true and we encounter a
4599         non-perfect stream between 2 consecutive buffers.
4600         Fixes #415394.
4601
4602 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
4603
4604         * configure.ac:
4605         Back to CVS
4606
4607 === release 0.10.12 ===
4608
4609 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
4610
4611         * configure.ac:
4612           releasing 0.10.12, "Inevitable Demise"
4613
4614 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
4615
4616         * configure.ac:
4617          Version 0.10.11.2 (0.10.12 pre-release)
4618          Bump libtool versioning.
4619
4620 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
4621
4622         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
4623           Log flow-names and not numbers.
4624
4625 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4626
4627         * configure.ac:
4628           Convert to new AG_GST style.
4629
4630 2007-02-28  Wim Taymans  <wim@fluendo.com>
4631
4632         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
4633         Don't unref query twice.
4634
4635 2007-02-28  Wim Taymans  <wim@fluendo.com>
4636
4637         * gst/gstvalue.c: (gst_value_transform_object_string),
4638         (_gst_value_initialize):
4639         Implement GstObject -> string transform so we print object names
4640         when serializing GValues containing GstObjects.
4641
4642 2007-02-28  Wim Taymans  <wim@fluendo.com>
4643
4644         * docs/gst/gstreamer-sections.txt:
4645         Add new stuff to docs.
4646
4647 2007-02-28  Wim Taymans  <wim@fluendo.com>
4648
4649         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4650         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
4651         (gst_base_sink_change_state):
4652         Improve latency query code.
4653         Don't leak latency events.
4654
4655         * tests/check/gst/gstbin.c: (GST_START_TEST):
4656         Improve debugging.
4657
4658 2007-02-28  Wim Taymans  <wim@fluendo.com>
4659
4660         * gst/gstelement.c: (gst_element_message_full),
4661         (gst_element_get_state_func):
4662         * gst/gstelement.h:
4663         Improve docs a little. Added Since: for new macro.
4664
4665         * gst/gstobject.c: (gst_object_sink):
4666         * gst/gstpipeline.c: (gst_pipeline_change_state),
4667         (gst_pipeline_set_new_stream_time):
4668         * gst/gstpipeline.h:
4669         Improve debugging and docs.
4670
4671         * gst/gstutils.c: (gst_element_state_change_return_get_name):
4672         Improve debugging.
4673
4674 2007-02-28  Wim Taymans  <wim@fluendo.com>
4675
4676         * gst/gstelement.c: (gst_element_message_full),
4677         (gst_element_set_locked_state), (gst_element_get_state_func),
4678         (gst_element_change_state):
4679         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
4680         Documentation updates.
4681         Small code cleanups.
4682
4683         * gst/gstmessage.c: (gst_message_new_info),
4684         (gst_message_parse_info):
4685         * gst/gstmessage.h:
4686         API: gst_message_new_info()
4687         API: gst_message_parse_info()
4688         Add INFO message create and parse code.
4689
4690 2007-02-28  Wim Taymans  <wim@fluendo.com>
4691
4692         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
4693         (bin_query_latency_done):
4694         Also report the live parameter of a latency query.
4695
4696 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
4697
4698         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
4699           Copy the current generic/states example from -base and adapt so
4700           we can use the exact same code everywhere.
4701           Check a STATES_IGNORE_ELEMENTS env var which can be used
4702           to ignore certain element factories for this test, which is
4703           what is being done in -base
4704         * tests/check/Makefile.am:
4705           Mention this environment variable.
4706
4707 2007-02-27  Wim Taymans  <wim@fluendo.com>
4708
4709         * docs/gst/gstreamer-sections.txt:
4710         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
4711         (gst_bus_timed_pop), (gst_bus_pop):
4712         * gst/gstbus.h:
4713         API: gst_bus_timed_pop()
4714         Implement gst_bus_timed_pop() to do a blocking timed wait for a
4715         message to arrive on the bus.
4716
4717         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
4718         (gst_bus_suite):
4719         Two unit tests for new _timed_pop() function.
4720
4721 2007-02-23  Wim Taymans  <wim@fluendo.com>
4722
4723         * gst/gstpipeline.c: (gst_pipeline_change_state),
4724         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
4725         Don't ref a NULL clock in _provide_clock_func().
4726         Don't allow an INVALID delay.
4727         Don't try to calculate base_time with an invalid start_time.
4728         Also distribute and notify a NULL clock when it was selected.
4729
4730         * tools/gst-launch.c: (event_loop):
4731         Don't crash when a NULL clock was selected in the pipeline.
4732
4733 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
4734
4735         * docs/design/Makefile.am:
4736         * docs/design/draft-missing-plugins.txt:
4737         * docs/random/draft-missing-plugins.txt:
4738           Some small updates: update plugin system identifier prefix
4739           ('gstreamer.net' to 'gstreamer'), mention our new install
4740           API in libgstbaseutils rather than libgimme-codec, add
4741           reference to the online docs.
4742
4743 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4744
4745         * win32/common/config.h:
4746           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
4747           use moap cl ci to only check in what is mentioned in the ChangeLog.
4748
4749 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4750
4751         * docs/gst/gstreamer-sections.txt:
4752         * gst/gstelement.h:
4753           Fix up documentation to link to the correct GstGError section.
4754           Add GST_ELEMENT_INFO macro since someone else added a Info message.
4755
4756 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
4757
4758         * tools/gst-launch.c: (event_loop):
4759           Make sure that we actually show the important message part of a
4760           warning message.
4761           No need to check if the gerror is not NULL to free; first of all
4762           g_free accepts NULL; and second the default error handler would
4763           segfault if gerror was NULL.
4764
4765 2007-02-21  Wim Taymans  <wim@fluendo.com>
4766
4767         * docs/gst/gstreamer-sections.txt:
4768         Removed docs as well.
4769
4770 2007-02-21  Wim Taymans  <wim@fluendo.com>
4771
4772         * gst/gstmessage.c: (gst_message_parse_duration):
4773         * gst/gstmessage.h:
4774         Remove new messages for release.
4775
4776 2007-02-20  Wim Taymans  <wim@fluendo.com>
4777
4778         * docs/design/part-gstghostpad.txt:
4779         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
4780         (gst_ghost_pad_new_full):
4781         Make the ghostpad a parent of the internal pad again for better backward
4782         compatibility. Don't write code that relies on this however.
4783
4784         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
4785         (gst_pad_link_check_hierarchy):
4786         Require that parents should be GstElements in the hierarchy check.
4787
4788 2007-02-20  Wim Taymans  <wim@fluendo.com>
4789
4790         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
4791         (gst_bin_change_state_func), (bin_query_min_max_init),
4792         (bin_query_latency_fold), (bin_query_latency_done),
4793         (gst_bin_query):
4794         Improve debug info.
4795         Implement latency query.
4796
4797 2007-02-20  Wim Taymans  <wim@fluendo.com>
4798
4799         * docs/design/part-gstghostpad.txt:
4800         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
4801         (gst_ghost_pad_internal_do_activate_push),
4802         (gst_ghost_pad_internal_do_activate_pull),
4803         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
4804         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
4805         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
4806         Do not set the internal pad as a parent anymore so we can avoid
4807         hierarchy linking errors when the ghostpad has no parent yet. This also
4808         fixes failed activation because of unlinked internal pads, which in
4809         turn fixes the impossible case where you have to activate a pad before
4810         you can add it to a running element.
4811         Also fix the docs.
4812
4813         * gst/gstpad.c: (pre_activate), (post_activate),
4814         (gst_pad_set_active), (gst_pad_activate_pull),
4815         (gst_pad_activate_push), (gst_pad_check_pull_range):
4816         Add some more debug info.
4817         Mark activation mode in pre_activate so that we don't try to activate in
4818         endless loops. Fixes #385084.
4819
4820 2007-02-19  Wim Taymans  <wim@fluendo.com>
4821
4822         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
4823         (gst_base_transform_check_get_range):
4824         Implement a checkgetrange function instead of relying on the default
4825         core behaviour that assumes we can operate in pull mode if we have a
4826         getrange function. First step at fixing #385084.
4827
4828 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
4829
4830         * gst/gstchildproxy.h:
4831         * libs/gst/base/gstbasesink.h:
4832         * libs/gst/base/gstbasesrc.h:
4833         * libs/gst/base/gstbasetransform.h:
4834         More docs coverage and some ChangeLog surgery (add missing names)
4835
4836 2007-02-15  Wim Taymans  <wim@fluendo.com>
4837
4838         * docs/design/part-TODO.txt:
4839         * docs/design/part-activation.txt:
4840         * docs/design/part-block.txt:
4841         * docs/design/part-buffering.txt:
4842         * docs/design/part-clocks.txt:
4843         * docs/design/part-element-source.txt:
4844         * docs/design/part-events.txt:
4845         * docs/design/part-gstbin.txt:
4846         * docs/design/part-gstbus.txt:
4847         * docs/design/part-gstpipeline.txt:
4848         * docs/design/part-live-source.txt:
4849         * docs/design/part-messages.txt:
4850         * docs/design/part-overview.txt:
4851         * docs/design/part-qos.txt:
4852         * docs/design/part-query.txt:
4853         * docs/design/part-states.txt:
4854         * docs/design/part-trickmodes.txt:
4855         Some doc updates. Start renaming from stream_time to running_time where
4856         it was used wrongly.
4857
4858 2007-02-15  Wim Taymans  <wim@fluendo.com>
4859
4860         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
4861         Answer LATENCY query.
4862
4863 2007-02-15  Wim Taymans  <wim@fluendo.com>
4864
4865         * tests/check/gst/gstevent.c: (event_probe), (test_event),
4866         (GST_START_TEST):
4867         Improve debugging.
4868
4869 2007-02-15  Wim Taymans  <wim@fluendo.com>
4870
4871         * gst/gstpad.c: (gst_pad_get_internal_links_default),
4872         (gst_pad_dispatcher):
4873         Improve debugging of default pad dispatcher and query functions.
4874
4875 2007-02-15  Wim Taymans  <wim@fluendo.com>
4876
4877         * docs/gst/gstreamer-sections.txt:
4878         Remove old unused method.
4879
4880 2007-02-13  Wim Taymans  <wim@fluendo.com>
4881
4882         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4883         Fix check
4884
4885 2007-02-13  Wim Taymans  <wim@fluendo.com>
4886
4887         * docs/design/part-seeking.txt:
4888         Some small update.
4889
4890         * gst/gstsegment.c: (gst_segment_set_seek):
4891         Revert old bogus change that should make seeking work again.
4892
4893 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4894
4895         * docs/random/ensonic/dynlink.txt:
4896         * docs/random/ensonic/interfaces.txt:
4897         * docs/random/ensonic/receipies.txt:
4898           Possible dynamic reconnection api, plus some type fixes the other two
4899           docs.
4900
4901 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
4902
4903         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
4904         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
4905         Also check for an absolute path following file:// in the filesrc
4906         element. Remove redundant check and call g_path_is_absolute() on the
4907         unescaped location.
4908
4909 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
4910
4911         * docs/design/draft-klass.txt:
4912           Add existing category analysis.
4913           
4914         * gst/gstcaps.c:
4915           Fix doc example, framerate is a fraction.
4916
4917 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4918
4919         * configure.ac:
4920         * docs/gst/Makefile.am:
4921         * docs/gst/gstreamer-sections.txt:
4922         * docs/libs/Makefile.am:
4923           Erm, forgot a bunch of --extra-dir.
4924
4925 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
4926
4927         * configure.ac:
4928         * docs/gst/Makefile.am:
4929         * docs/libs/Makefile.am:
4930         * docs/plugins/Makefile.am:
4931           Add crossreferences to glib/gobject docs.
4932
4933 2007-02-12  Wim Taymans  <wim@fluendo.com>
4934
4935         * docs/design/draft-latency.txt:
4936         Small update.
4937
4938         * docs/libs/gstreamer-libs-sections.txt:
4939         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4940         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
4941         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
4942         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
4943         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
4944         (gst_base_sink_get_position), (gst_base_sink_query),
4945         (gst_base_sink_change_state):
4946         * libs/gst/base/gstbasesink.h:
4947         API: gst_base_sink_query_latency() to let subclasses query the upstream
4948         latency.
4949         API: gst_base_sink_get_latency() to let subclasses query the configured
4950         latency in the sink.
4951         Implement query and set latency.
4952         Update some docs.
4953         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
4954         don't continue preroll when we are flushing. Fixes #405284.
4955
4956         * tests/check/pipelines/stress.c: (change_state_timeout),
4957         (quit_timeout), (GST_START_TEST), (stress_suite):
4958         Test for #405284.
4959
4960 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
4961
4962         Patch by: René Stadler <mail at renestadler de>
4963
4964         * docs/gst/gstreamer-sections.txt:
4965         * gst/gsttaglist.c: (_gst_tag_initialize):
4966         * gst/gsttaglist.h:
4967           API: add GST_TAG_REFERENCE_LEVEL (#403597).
4968
4969 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
4970
4971         * docs/libs/Makefile.am:
4972           Fix path to core docs.
4973
4974         * gst/gstbin.c: (gst_bin_get_by_interface),
4975         (gst_bin_iterate_all_by_interface):
4976           Refix docs by also renaming 'interface' to 'iface' in implementation.
4977
4978         * docs/gst/gstreamer-sections.txt:
4979         * gst/gstcaps.c:
4980         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
4981         * gst/gstchildproxy.h:
4982         * gst/gstelementfactory.c:
4983         * gst/gstpadtemplate.h:
4984         * libs/gst/controller/gstcontroller.c:
4985         (gst_controlled_property_new):
4986           Document more.
4987
4988 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
4989
4990         * gst/gstbin.h:(gst_bin_get_by_interface),
4991         (gst_bin_iterate_all_by_interface):
4992         Replace interface parameter name by iface as interface is 
4993         a reserved keyword in Visual Studio for C++ projects so it removes
4994         a build error for application developpers using VS.
4995         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
4996         Fix a bug on Windows in uri format check. Now the prefix checked
4997         is file:// and next we check if the path after file:// is absolute.
4998         * win32/common/libgstbase.def:
4999         * win32/common/libgstdataprotocol.def:
5000         * win32/common/libgstgstreamer.def:
5001         Add new exported functions.
5002
5003 2007-02-09  Andy Wingo  <wingo@pobox.com>
5004
5005         * tests/check/pipelines/simple-launch-lines.c
5006         (simple_launch_lines_suite, test_tee): Disable tee test until I
5007         have time to fix it :-(
5008
5009         * tests/check/Makefile.am (noinst_HEADERS): 
5010         * tests/check/libs/libsabi.c: 
5011         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
5012         * tests/check/gst/gstabi.c: 
5013         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
5014
5015         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
5016         tests for push and pull tee behavior.
5017
5018         * plugins/elements/gsttee.h: 
5019         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
5020         mark as deprecated as well as unimplemented. It was a crack idea.
5021         Add support for tee operating in pull mode, off by default.
5022
5023         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
5024         normal-case logs down to LOG, raise errors to WARNING.
5025         (gst_registry_xml_read_cache): Don't log before calling a function
5026         that logs.
5027
5028         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
5029         exit (registry finalize).
5030         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
5031         DEBUG log when we emit signals that people don't even have the
5032         chance to connect to.
5033         (gst_registry_scan_path_level): Less logging in the normal case.
5034
5035 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
5036
5037         Patch by: Michal Benes <michal dot benes at itonis dot tv>
5038
5039         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
5040         Correctly generate EOS for non-seekable files. We don't have a total
5041         length for them and would get an unexpected end of file if we only
5042         special-cased for regular files. (Fixes: #404569)
5043
5044 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
5045
5046         * tests/check/elements/filesrc.c: (GST_START_TEST),
5047         (filesrc_suite):
5048         Add unit test for the GstURIHandler interface in filesrc. This also
5049         tests the newly added file://localhost/foo/bar support.
5050
5051 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
5052
5053         * gst/gstelementfactory.h:
5054           The klass string is not a hierarchy. Add reference to the design doc
5055           for more information and common types.
5056
5057 2007-02-02  Wim Taymans  <wim@fluendo.com>
5058
5059         * gst/gstquery.c: (gst_query_new_latency):
5060         Remove old structure field.
5061
5062 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
5063
5064         * tools/gst-launch.1.in:
5065           Give example for network streaming (#351998)
5066
5067 2007-02-02  Wim Taymans  <wim@fluendo.com>
5068
5069         * docs/gst/gstreamer-sections.txt:
5070         Add docs for new methods.
5071
5072         * gst/gstevent.c: (gst_event_new_latency),
5073         (gst_event_parse_latency):
5074         * gst/gstevent.h:
5075         Add new LATENCY event to configure latency in a pipeline.
5076         API: gst_event_new_latency
5077         API: gst_event_parse_latency
5078
5079         * gst/gstmessage.c: (gst_message_new_buffering),
5080         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
5081         (gst_message_new_latency), (gst_message_parse_buffering),
5082         (gst_message_parse_lost_preroll):
5083         * gst/gstmessage.h:
5084         Added messages used in draft-latency.
5085         API: gst_message_new_lost_preroll
5086         API: gst_message_parse_lost_preroll
5087         API: gst_message_new_prerolled
5088         API: gst_message_new_latency
5089
5090         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
5091         (gst_query_parse_latency):
5092         * gst/gstquery.h:
5093         Implemented new latency query as in design doc.
5094         API: gst_query_new_latency
5095         API: gst_query_set_latency
5096         API: gst_query_parse_latency
5097
5098 2007-02-02  Wim Taymans  <wim@fluendo.com>
5099
5100         * docs/design/draft-latency.txt:
5101         Slight redesign to allow for dynamic latency adjustments.
5102
5103         * docs/design/part-negotiation.txt:
5104         Fix some typos.
5105
5106 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
5107
5108         reviewed by: Wim Taymans <wim@fluendo.com>
5109
5110         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
5111         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
5112         Allow file://localhost/foo/bar URLs and correctly fail for every other
5113         hostname that one sets. This was gnomevfssrc is linked for those if
5114         installed as it can handle it (#403172)
5115
5116 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
5117
5118         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
5119
5120         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5121         (unref_data), (gst_collect_pads_add_pad_full):
5122         * libs/gst/base/gstcollectpads.h:
5123         Don't put the previously added destroy notify in the GstCollectData
5124         struct as all it's padding is already used and we don't want to break
5125         ABI. Instead put in the pad's GObject data for now. This should be
5126         cleaned up for 0.11 (#402393).
5127
5128 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
5129
5130         reviewed by: Wim Taymans <wim@fluendo.com>
5131
5132         * docs/libs/gstreamer-libs-sections.txt:
5133         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
5134         (unref_data), (gst_collect_pads_add_pad),
5135         (gst_collect_pads_add_pad_full):
5136         * libs/gst/base/gstcollectpads.h:
5137         API: Add function to specify a destroy notification for custom
5138         GstCollectData when adding new pads in GstCollectPads (#402393).
5139
5140 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
5141
5142         * po/sv.po:
5143           Update Swedish translation (#378255).
5144
5145 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
5146
5147         * docs/design/draft-klass.txt:
5148           Fix the previous change, this is a list of categories and not a hierarchy.
5149
5150 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
5151
5152         * docs/design/draft-klass.txt:
5153           Add info about how to get a list of used classes.
5154
5155 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
5156
5157         * plugins/elements/gsttypefindelement.c:
5158         (gst_type_find_element_chain_do_typefinding),
5159         (gst_type_find_element_change_state):
5160           Don't leak found caps in chain function (no idea why that never
5161           showed up as a leak anywhere).
5162
5163 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
5164
5165         * gst/gstplugin.h:
5166           Fix and expand GstPluginDesc API docs.
5167
5168 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
5169
5170         * gst/gstcaps.c:
5171         * gst/gstelementfactory.c:
5172         * gst/gstpadtemplate.h:
5173           api doc fixes
5174
5175         * libs/gst/controller/gstcontroller.c:
5176         (gst_controlled_property_new):
5177         * tests/examples/controller/audio-example.c:
5178           comment fixes
5179
5180 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
5181
5182         * configure.ac:
5183           comment about refining the xml deps
5184
5185         * docs/manuals.mak:
5186           comments about moving away from jade for docs
5187         
5188         * gst/gst.c:
5189           recommit the ifdefs to use the binary registry
5190         
5191         * gst/gstbin.c: (gst_bin_change_state_func):
5192           this break is obsolete
5193
5194         * gst/gstelementfactory.h:
5195           better GST_ELEMENT_DETAILS docs, add comment about translation
5196
5197         * gst/gstinfo.h:
5198           remove eol slash
5199
5200         * gst/gstobject.c: (gst_signal_object_get_type):
5201           add G_UNLIKELY as usual
5202
5203         * gst/gstpad.c: (gst_pad_event_default):
5204           add fall trhu comment
5205
5206         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5207         (gst_registry_binary_initialize_magic),
5208         (gst_registry_binary_save_string),
5209         (gst_registry_binary_save_pad_template),
5210         (gst_registry_binary_save_feature),
5211         (gst_registry_binary_save_plugin),
5212         (gst_registry_binary_write_cache),
5213         (gst_registry_binary_check_magic),
5214         (gst_registry_binary_load_pad_template),
5215         (gst_registry_binary_load_feature),
5216         (gst_registry_binary_load_plugin),
5217         (gst_registry_binary_read_cache):
5218           comment typo and formatting
5219
5220         * gst/gstutils.c: (gst_element_state_get_name),
5221         (gst_element_state_change_return_get_name):
5222           remove obsolete breaks
5223
5224         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
5225           add FIXME 0.11 and remove cpp comment
5226
5227 2007-01-29  Edward Hervey  <edward@fluendo.com>
5228
5229         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5230         Fix print statement in an even more portable way.
5231
5232 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
5233
5234         * docs/gst/gstreamer-sections.txt:
5235         * gst/gstutils.h:
5236           API: add GST_ROUND_DOWN_* macros (#401781).
5237
5238 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
5239
5240         * docs/gst/gstreamer.types.in:
5241         * gst/gstregistry.c: (gst_registry_class_init):
5242           Document registry signals and make gtk-doc pick them up (#401381).
5243
5244 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
5245
5246         * docs/pwg/building-testapp.xml:
5247           Add some audioconverts and audioresample to the pipeline, and some
5248           more comments and error handling.
5249
5250 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
5251
5252         * docs/manual/manual.xml:
5253         * docs/pwg/pwg.xml:
5254           Fix typo (#400987).
5255
5256 2007-01-26  Wim Taymans  <wim@fluendo.com>
5257
5258         * gst/gstcaps.c: (gst_static_caps_get):
5259         Init caps flags too.
5260
5261 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
5262
5263         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
5264
5265         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
5266         If not using mmap'ed files try to seek to the end instead of the
5267         start to determine whether we can seek at all. This fixes the case
5268         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
5269         seeks for everything afterwards fail. Fixes #400656
5270
5271 2007-01-25  Wim Taymans  <wim@fluendo.com>
5272
5273         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
5274         Add some refcount debugging.
5275         Make gst_static_caps_get threadsafe, which is needed when autoplugging
5276         in multiple streaming threads.
5277
5278 2007-01-25  Wim Taymans  <wim@fluendo.com>
5279
5280         Patch by: David Schleef <ds at schleef dot org>
5281
5282         * docs/libs/gstreamer-libs-sections.txt:
5283         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
5284         * libs/gst/base/gstadapter.h:
5285         API: gst_adapter_copy() that can reduce the amount of memcpy when
5286         getting data from the adapter. Fixes #388201.
5287
5288 2007-01-25  Edward Hervey  <edward@fluendo.com>
5289
5290         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5291         In print statements, "%x" is for guint. Fixes build on macosx.
5292
5293 2007-01-24  Edward Hervey  <edward@fluendo.com>
5294
5295         * plugins/elements/gstmultiqueue.c:
5296         (gst_multi_queue_loop):
5297         Small fix.
5298         (single_queue_overrun_cb), (single_queue_underrun_cb),
5299         (single_queue_check_full), (gst_single_queue_new):
5300         Implement single queue growth system.
5301         This uses the extra-size properties, and will grow single queues by
5302         that much if one goes full whereas there are others empty. This is
5303         called extra-mode in the code.
5304         When a single queue's levels go back below the initial max-size
5305         limits, it is no longer in extra-mode. This is to ensure we don't
5306         consume too much memory.
5307         Fixes #399875
5308
5309 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
5310
5311         * gst/gst.c: (gst_init_get_option_group):
5312           Make warning about late g_thread_init() calls a bit more explicit,
5313           so that it's more obvious to application developers what they need
5314           to do if a user files a bug against their application.
5315
5316 2007-01-22  Edward Hervey  <edward@fluendo.com>
5317
5318         * plugins/elements/gstmultiqueue.c:
5319         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
5320         Remove previous hack of unsetting the flushing flag for the source pad
5321         instead of activating it. Instead, fix the source pad activate function
5322         so that it no longer depends on having a parent set or not.
5323
5324 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
5325
5326         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
5327
5328         * docs/manual/basics-bus.xml:
5329           Fix example code, gst_element_unref() doesn't exist any longer.
5330
5331 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
5332
5333         Patch by: Mark Nauwelaerts <manauw at skynet be>
5334
5335         * gst/gstpad.c:
5336           Fix two docs typoes (#399094).
5337
5338 2007-01-19  Edward Hervey  <edward@fluendo.com>
5339
5340         * docs/faq/gst-uninstalled:
5341         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
5342         depending on libgstbaseutils can work in uninstalled environment.
5343
5344 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
5345
5346         * gst/gsttaglist.h:
5347         * gst/gsttagsetter.c:
5348         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
5349         statement for new tag.
5350
5351 2007-01-17  Edward Hervey  <edward@fluendo.com>
5352
5353         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
5354         When dynamically creating single queues, activate sinkpad before adding
5355         it.
5356         We should be doing the same thing for the source pad, but we can't
5357         since it would call a method which needs the parent to be set in order
5358         to work propertly. Instead of activating the source pad, we just unset
5359         the flushing flag, which is the minimal requirement for adding a pad
5360         to an element in a state greater than READY.
5361
5362 2007-01-17  Edward Hervey  <edward@fluendo.com>
5363
5364         * docs/faq/gst-uninstalled:
5365         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
5366         Mac OS X.
5367
5368 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
5369
5370         * tests/check/gst/gstabi.c:
5371         * tests/check/gst/struct_hppa.h:
5372         * tests/check/libs/libsabi.c:
5373         * tests/check/libs/struct_hppa.h:
5374           Add ABI structs for HPPA (see #393796).
5375
5376 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
5377
5378         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
5379           Actually write ABI structs to the file specified in the GST_ABI
5380           environment variable, as the message we print claims we would.
5381
5382 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5383
5384         * tests/check/gst/gsttask.c:
5385           Fix header comment.
5386
5387 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5388
5389         * gst/gsttaglist.c: (_gst_tag_initialize):
5390           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
5391           previous two entries.
5392
5393 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5394
5395         * docs/gst/gstreamer-sections.txt:
5396         * gst/gsttaglist.c: (_gst_tag_initialize):
5397         * gst/gsttaglist.h:
5398           Add tag support for beat-per-minute.
5399
5400 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
5401
5402         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5403         (gst_registry_binary_initialize_magic),
5404         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
5405         (gst_registry_binary_save_pad_template),
5406         (gst_registry_binary_save_feature),
5407         (gst_registry_binary_save_plugin),
5408         (gst_registry_binary_write_cache),
5409         (gst_registry_binary_check_magic),
5410         (gst_registry_binary_load_pad_template),
5411         (gst_registry_binary_load_feature),
5412         (gst_registry_binary_load_plugin),
5413         (gst_registry_binary_read_cache):
5414         * gst/gstregistrybinary.h:
5415           Use glib types, cleanup comments, impement interfaces and uri-types.
5416
5417 2007-01-13  Andy Wingo  <wingo@pobox.com>
5418
5419         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
5420         getrange() to return buffers with other caps, while we fix
5421         demuxers and typefind, or otherwise change part-negotiation.txt.
5422
5423 2007-01-12  Andy Wingo  <wingo@pobox.com>
5424
5425         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
5426         Factor start/stop into this private function instead of partially
5427         in activate functions and partially in the change_state function.
5428         Fixes setup before the element has changed from READY->PAUSED, as
5429         is the case in pull-mode pipelines.
5430         (gst_base_transform_sink_activate_push)
5431         (gst_base_transform_src_activate_pull): Refactor to use
5432         gst_base_transform_activate().
5433         (gst_base_transform_change_state): Removed, not needed any more.
5434
5435         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5436         Truncate before fixating.
5437         
5438         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
5439         Don't set_caps() if the result of fixating is ANY, as it's not
5440         supported, and not necessary in the case of a link with no
5441         template caps on either side. Fixes tests/check/libs/basesrc in
5442         some pull-mode tests.
5443
5444         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
5445         (gst_base_transform_init, gst_base_transform_sink_activate_push)
5446         (gst_base_transform_src_activate_pull): 
5447         Track the activation mode.
5448         (gst_base_transform_setcaps): In pull mode, when activating the
5449         src pad, after activating the sink pad, activate the sink pad's
5450         peer, as discussed in part-negotiation.txt.
5451
5452         * libs/gst/base/gstbasesrc.h: 
5453         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
5454         vmethod, as in basesink.
5455
5456         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
5457
5458         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
5459         mode, first proxy the setcaps to the peer pad.
5460         (gst_base_sink_pad_fixate): Add a fixate function that calls the
5461         new fixate vmethod.
5462         (gst_base_sink_default_activate_pull): Rename from
5463         gst_base_sink_activate_pull.
5464         (gst_base_sink_negotiate_pull): New function, performs negotiation
5465         in pull mode before calling ::activate_pull().
5466         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
5467         vmethod instead of the default implementation. I have no idea how
5468         this worked before. Negotiate before calling activate_pull.
5469
5470         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
5471         sink pads in pull mode. In addition to being correct, fixes
5472         filesrc ! decodebin ! identity ! fakesink.
5473         (gst_pad_get_range, gst_pad_pull_range): Don't call
5474         gst_pad_set_caps() if the caps changes; instead error out with
5475         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
5476
5477 2007-01-12  Andy Wingo  <wingo@pobox.com>
5478
5479         * docs/design/part-negotiation.txt: Update with more policy.
5480
5481 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5482
5483         * libs/gst/check/gstbufferstraw.h:
5484         * libs/gst/check/gstcheck.h:
5485           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
5486           belongs.
5487
5488 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5489
5490         * tests/check/Makefile.am:
5491         * tests/check/gst/.cvsignore:
5492         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
5493         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
5494         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
5495         (GST_START_TEST), (gst_tag_setter_suite):
5496           Add minimal unit test for beforementioned GstTagSetter bug.
5497
5498 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
5499
5500         Patch by: René Stadler <mail at renestadler dot de>
5501
5502         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
5503           gst_tag_list_merge() returns a new list, so it's not the best idea
5504           to ingore its return value. Effectively meant that tags could only
5505           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
5506           Also add function guard to require a non-NULL taglist as input (has
5507           always been so due to gst_tag_list_copy(), just making it explicit).
5508
5509 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5510
5511         * docs/random/draft-missing-plugins.txt:
5512           Some additions: mention new API that is supposed to be used at the
5513           various stages; short blob about new gst-inspect introspection
5514           option; mention potential future problem with plugins that have
5515           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
5516
5517 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5518
5519         * tools/gst-inspect.c:
5520         (print_plugin_automatic_install_info_codecs),
5521         (print_plugin_automatic_install_info_protocols),
5522         (print_plugin_automatic_install_info), (main):
5523         Add --print-plugin-auto-install-info option to gst-inspect, so we can
5524         introspect plugin files and get machine-parsable output that corresponds
5525         to the last bit of the missing-plugin installer string (small gotcha:
5526         doesn't take into account ranks).
5527
5528 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
5529
5530         * configure.ac:
5531         * docs/gst/gstreamer-sections.txt:
5532         * gst/Makefile.am:
5533         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
5534         (gst_registry_lookup_locked):
5535         * gst/gstregistry.h:
5536         * gst/gstregistrybinary.c: (gst_registry_binary_write),
5537         (gst_registry_binary_initialize_magic),
5538         (gst_registry_binary_save_string),
5539         (gst_registry_binary_save_pad_template),
5540         (gst_registry_binary_save_feature),
5541         (gst_registry_binary_save_plugin),
5542         (gst_registry_binary_write_cache),
5543         (gst_registry_binary_check_magic),
5544         (gst_registry_binary_load_pad_template),
5545         (gst_registry_binary_load_feature),
5546         (gst_registry_binary_load_plugin),
5547         (gst_registry_binary_read_cache):
5548         * gst/gstregistrybinary.h:
5549         * gst/gstregistryxml.c: (load_feature),
5550         (gst_registry_xml_read_cache):
5551           commit binary registry (disabled by default, see #359653)
5552
5553 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
5554
5555         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
5556           Fix 'make check' too.
5557
5558 2007-01-10  Andy Wingo  <wingo@pobox.com>
5559
5560         * docs/design/part-negotiation.txt: Fix a typo, add a couple
5561         notes.
5562         
5563         * docs/design/part-negotiation.txt: Update with, um, one way that
5564         pull-mode negotiation might work?
5565
5566         * gst/gstpad.h: 
5567         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
5568         that the pad must be a src pad; makes sense to call it the other
5569         way in pull mode, and the logic is symmetric anyway.
5570
5571 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
5572
5573         * plugins/elements/gstfilesink.c:
5574           Include <stdio.h> for fseeko().
5575
5576 2007-01-10  Wim Taymans  <wim@fluendo.com>
5577
5578         * gst/gstevent.c:
5579         * gst/gstevent.h:
5580         Reserve LATENCY event.
5581
5582 2007-01-09  Wim Taymans  <wim@fluendo.com>
5583
5584         * docs/design/draft-latency.txt:
5585         Updates.
5586
5587 2007-01-09  Wim Taymans  <wim@fluendo.com>
5588
5589         * docs/design/draft-latency.txt:
5590         Updates.
5591
5592         * gst/gstelement.h:
5593         * gst/gststructure.c:
5594         * gst/gsttrace.c:
5595         Small typo fixes.
5596
5597 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
5598
5599         * tests/check/.cvsignore:
5600           Ignore test-registry.xml as well.
5601
5602 2007-01-09  Wim Taymans  <wim@fluendo.com>
5603
5604         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
5605         unref data at the end when we are done with the pad.
5606
5607 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5608
5609         * docs/gst/gstreamer-sections.txt:
5610         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
5611         (init_post), (gst_deinit), (gst_update_registry):
5612         * gst/gst.h:
5613           API: add gst_update_registry() (#391296).
5614
5615         * tests/check/Makefile.am:
5616         * tests/check/gst/gstregistry.c:
5617         * tests/check/gst/.cvsignore:
5618           Simple unit test for the above.
5619
5620 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
5621
5622         * gst/gstregistry.c: (gst_registry_scan_path_level):
5623           Plugin extension on HP-UX is .sl, add that to the list of approved
5624           plugin extensions (see #393796).
5625
5626         * tests/check/gst/gstpad.c: (GST_START_TEST):
5627           ulong => gulong. Fixes compilation with HP-UX compiler.
5628
5629         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
5630           Fix compilation if valgrind headers are not available.
5631
5632 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
5633
5634         * win32/common/libgstreamer.def: 
5635           Add new exported function.
5636         * win32/vs6/libgstbase.dsp: 
5637           Add gstdataqueue.c to the build.
5638         * win32/vs6/libgstcoreelements.dsp:
5639           Add gstmultiqueue.c to the build.
5640         
5641 2007-01-06  Andy Wingo  <wingo@pobox.com>
5642
5643         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
5644         activate_pull(), providing for a way to specialize the process of
5645         spawning a thread to pull on the sink pad. There is a default
5646         implementation.
5647
5648         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
5649         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
5650         (gst_base_sink_init): Renamed pad activation functions (inserting
5651         "_pad" in their names). Refactor to use the new activate_pull
5652         vmethod, as appropriate.
5653         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
5654         default activate_pull function to start a task pulling from the
5655         sink pad, as before.
5656
5657         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
5658         on the pads if necessary, as in push()/chain(). Update docs.
5659         Shouldn't affect existing pull() usage as it is currently only
5660         being used on buffers without caps.
5661
5662 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5663
5664         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
5665         (init_pre):
5666           Call g_thread_init() first thing in gst_init() / gst_check_init().
5667           When initialisation is done via gst_init_get_option_group() and
5668           GOption parsing, issue a warning if the GLib thread system has not
5669           been initialised yet by the time gst_init_get_option_group() is
5670           called, as it's quite likely other GLib functions such as
5671           g_option_context_new() have been called already then, and
5672           g_thread_init() must be called before any other GLib function. The
5673           application in question must be fixed in that case, since memory
5674           corruption might happen otherwise.
5675           We issue the warning because even if the GLib folks decide to work
5676           around the problem on their end in future, this is still an issue
5677           with all GLib versions >= 2.10.0, so we should warn until we depend
5678           on a GLib version we know to be safe.
5679           Update documentation as well.
5680           Closes bug #391278.
5681
5682 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5683
5684         * tools/gst-inspect.c: (main):
5685         * tools/gst-launch.c: (main):
5686         * tools/gst-typefind.c: (main):
5687         * tools/gst-xmlinspect.c: (main):
5688           Call g_thread_init() really really early, before any other GLib
5689           function (see #342564 and recent discussion on gtk-devel-list).
5690
5691 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5692
5693         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
5694
5695         * gst/gst_private.h:
5696         * gst/gstconfig.h.in:
5697         * gst/gstinfo.h:
5698           On win32, all the __declspec stuff for symbol exporting is
5699           apparently only needed with MSVC, but doesn't work with MingW.
5700           Fixes compilation with MingW and #391909.
5701
5702 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
5703
5704         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
5705           Change some GST_ERROR_OBJECT that aren't really errors to
5706           GST_WARNING_OBJECT in order to reduce terminal spam.
5707
5708 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5709
5710         * tests/check/Makefile.am:
5711           disable test again, as there seem to be still race problems
5712
5713 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
5714
5715         * tests/check/Makefile.am:
5716         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5717         (GST_START_TEST), (queue_suite):
5718           enable queue test again, add tests for the leaky behaviour
5719
5720 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
5721
5722         * configure.ac:
5723         * tests/examples/Makefile.am:
5724           Compile adapter test/example only if the required headers are
5725           available (fixes #391915).
5726
5727 2007-01-01  David Schleef  <ds@schleef.org>
5728
5729         * gst/gstplugin.c:
5730           Restore the previous signal handler for SIGSEGV instead of
5731           setting to default, since we may have stolen it away from
5732           someone.  (i.e., Mono)
5733
5734 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5735
5736         * docs/random/draft-missing-plugins.txt:
5737           Some small additions and clarifications.
5738
5739 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
5740
5741         * gst/gstregistryxml.c: (gst_registry_save_escaped):
5742           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
5743           since that can lead to random memory corruptions and crashes
5744           (may or may not be related to #383244, #386711, and #386711).
5745
5746 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5747
5748         * tests/check/.cvsignore:
5749         * tests/check/Makefile.am:
5750           sync .cvsignome and CLEANFILES
5751
5752 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5753
5754         * tests/check/Makefile.am:
5755           fix distcheck
5756
5757 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5758
5759         * docs/design/part-states.txt:
5760           two tiny additional comments
5761         
5762         * gst/gststructure.c:
5763           doc fixing
5764
5765         * tests/check/Makefile.am:
5766         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5767         (GST_START_TEST):
5768           disable test for now, unless it gets fixed
5769
5770 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5771
5772         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5773         (GST_START_TEST):
5774           fix race in underrun test
5775
5776 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5777
5778         * tests/check/elements/.cvsignore:
5779           ignore more
5780
5781         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5782         (GST_START_TEST):
5783           try to narrow test failure
5784
5785 2006-12-21  David Schleef  <ds@schleef.org>
5786
5787         * plugins/elements/gstfakesrc.c:
5788           Use g_random_int_range(), since it produces better random
5789           numbers in a range than almost-correct floating point code.
5790
5791 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
5792
5793         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
5794         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
5795         (gst_check_teardown_sink_pad):
5796           do not automatically (de)activate pads
5797
5798         * tests/check/Makefile.am:
5799         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
5800         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
5801           add new, yet simple tests for queue
5802
5803         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
5804         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
5805         * tests/check/elements/filesrc.c: (cleanup_filesrc),
5806         (GST_START_TEST):
5807         * tests/check/elements/identity.c: (cleanup_identity):
5808           consistent pad (de)activation
5809
5810 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
5811
5812         Patch by: Sebastian Dröge  <slomo ubuntu com>
5813
5814         * libs/gst/base/gstcollectpads.c:
5815           Fix two doc typos (#387866).
5816
5817 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5818
5819         * docs/manual/advanced-dparams.xml:
5820           Fix typo (g_object_control_properties() doesn't exist).
5821
5822 2006-12-19  Edward Hervey  <edward@fluendo.com>
5823
5824         * gst/gstsegment.c: (gst_segment_set_seek):
5825         Fine tune the cases where the segment start/stop values are really
5826         updated.
5827         * tests/check/gst/gstsegment.c: (GST_START_TEST):
5828         Add tests for the return values of gst_segment_set_seek().
5829
5830 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
5831
5832         * gst/gst.c:
5833           Docs typo fix.
5834
5835         * plugins/elements/gstqueue.c: (gst_queue_class_init),
5836         (gst_queue_init):
5837           Fix incorrect documentation and flesh it out a bit more.
5838           Set default values for the max properties on the GParamSpec as well,
5839           so it shows up correctly in gst-inspect.
5840
5841 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
5842
5843         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
5844           Correct docs of queue, add more detail and crosslink it more.
5845
5846 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5847
5848         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
5849           Print additional debug info when the stream isn't perfectly
5850           timestamped; don't try to use invalid durations.
5851
5852 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
5853
5854         * docs/design/Makefile.am:
5855           Dist new design docs.
5856
5857 2006-12-16  Wim Taymans  <wim@fluendo.com>
5858
5859         Patch by: Sjoerd Simons <sjoerd at luon dot net>
5860
5861         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
5862         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
5863         (gst_collect_pads_stop), (gst_collect_pads_event),
5864         (gst_collect_pads_chain):
5865         * libs/gst/base/gstcollectpads.h:
5866         Add refcounting to the collectpads data so we can track when it's safe
5867         to free the data. Fixes #383382.
5868
5869 2006-12-15  Wim Taymans  <wim@fluendo.com>
5870
5871         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
5872         (gst_collect_pads_remove_pad):
5873         Automatically activate/deactivate pads when they are added to a
5874         started/stoped collectpads.
5875
5876 2006-12-15  Wim Taymans  <wim@fluendo.com>
5877
5878         * gst/gstelement.c: (gst_element_add_pad):
5879         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
5880         * gst/gstpad.c: (gst_pad_init):
5881         Set pads to FLUSHING when they are created. Check, warn and fix when a
5882         demuxer adds an inactive pad to itself when running. Fixes #339326.
5883
5884 2006-12-15  Wim Taymans  <wim@fluendo.com>
5885
5886         * gst/gstelement.c: (gst_element_class_init),
5887         (gst_element_default_send_event), (gst_element_send_event),
5888         (gst_element_default_query), (gst_element_query):
5889         Expose default element send_event and query handling as vmethods that
5890         subclasses can chain up to.
5891
5892 2006-12-15  Wim Taymans  <wim@fluendo.com>
5893
5894         * gst/gstelement.c: (gst_element_set_state_func):
5895         Small documentation fixes.
5896
5897 2006-12-15  Wim Taymans  <wim@fluendo.com>
5898
5899         * docs/design/draft-latency.txt:
5900         Checked in draft for handling latency in pipelines.
5901
5902 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
5903
5904         * Makefile.am:
5905         * gstreamer.doap:
5906         * gstreamer.spec.in:
5907           adding .doap file
5908
5909 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
5910
5911         * gst/gst.c: (init_pre), (init_post):
5912           init_pre() and init_post() might be called via our GOptionGroup or
5913           from gst_init(), and we should skip both of them if we've already
5914           been initialised, otherwise we will init some things twice or add
5915           two default log functions.
5916
5917 2006-12-13  Edward Hervey  <edward@fluendo.com>
5918
5919         * docs/manual/basics-bus.xml:
5920         No, gst_main_loop does not exist. Its g_main_loop.
5921         Discovered by somebody who abused the copy-paste technique of coding :)
5922
5923 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
5924
5925         * gst/gstghostpad.c:
5926           Log ghostpad debug stuff to the GST_PADS category as well rather
5927           than just to the default category.
5928
5929 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
5930
5931         * configure.ac:
5932         * gst/gst.c: (init_pre):
5933           Add some basic system details such as OS and architecture
5934           to the debug output if possible, courtesy of uname().
5935
5936 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
5937
5938         * docs/gst/running.xml:
5939           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
5940           environment variables.
5941
5942 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5943
5944         * tests/check/gst/gstbin.c: (GST_START_TEST):
5945         It is acceptable to have a refcount of 2 or 3 at this point in the
5946         test, because the pipeline might be just posting its state_change
5947         message. The next line then waits for that message to appear using
5948         bus_poll, so that should be fine too.
5949
5950 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
5951
5952         * gst/gst.c: (ensure_current_registry_forking):
5953         Ignore EINTR when reading from the child registry pipe.
5954         Explicitly ignore the return value from close, since it makes no
5955         difference.
5956
5957         * gst/gstminiobject.c: (gst_mini_object_ref),
5958         (gst_mini_object_unref):
5959         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
5960
5961         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
5962         When removing cached plugins, remove their features too, so they're
5963         not visible after they've disappeared.
5964
5965         * gst/gstutils.c: (prepare_link_maybe_ghosting):
5966         In the unlikely case that we are linking pads with no parents, don't
5967         crash trying to get the non-existent parent bin.
5968
5969         * gst/parse/grammar.y:
5970         Output debug in the PIPELINE category
5971
5972 2005-03-08  Wim Taymans  <wim@fluendo.com>
5973
5974         Patch by: René Stadler <mail at renestadler dot de>
5975
5976         * gst/gstclock.c: (gst_clock_new_periodic_id):
5977         Reject invalid clock times for interval of periodic ids.
5978         Fixes ##383506.
5979
5980 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
5981
5982         * gst/gstelementfactory.c: (gst_element_factory_create):
5983         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5984         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
5985         * tools/gst-inspect.c: (print_element_info):
5986         Fix refcounting of gst_plugin_feature_load to match the docs. 
5987         Fixes: #380129
5988
5989 2006-12-07  Wim Taymans  <wim@fluendo.com>
5990
5991         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
5992         (gst_base_sink_get_position):
5993         Improve debugging of events.
5994
5995 2006-12-07  Wim Taymans  <wim@fluendo.com>
5996
5997         Patch by: René Stadler <mail at renestadler dot de>
5998
5999         * gst/gstclock.c: (gst_clock_id_wait):
6000         Make period ids add the interval to the origial requested time instead
6001         of the possibly updated time which can be wrong when there are multiple
6002         waiters for the same id. Fixes #382592.
6003
6004         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
6005         (gst_system_clock_id_wait_jitter_unlocked),
6006         (gst_system_clock_id_wait_jitter):
6007         Fix restart in the async notify thread when an async entry is added to
6008         the front of the list. Fixes #381492. 
6009
6010         * tests/check/gst/gstsystemclock.c: (store_callback),
6011         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
6012         Added test for multiple async waits.
6013         Added test for async wait order.
6014
6015 2006-12-07  Wim Taymans  <wim@fluendo.com>
6016
6017         * gst/gstbin.c: (gst_bin_query):
6018         Add some more docs about the POSITION query.
6019
6020 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
6021
6022         * configure.ac:
6023         Bump version nano - back to CVS.
6024
6025 === release 0.10.11 ===
6026
6027 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
6028
6029         * configure.ac:
6030           releasing 0.10.11, "Love never runs on time"
6031
6032 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
6033
6034         * win32/common/libgstbase.def:
6035         * win32/common/libgstreamer.def:
6036         * win32/vs8/libgstbase.vcproj:
6037         * win32/vs8/libgstcoreelements.vcproj:
6038         * win32/vs8/libgstreamer.vcproj:
6039         Fix compilation on win32 under VS8
6040         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6041         Partially fixes #381175
6042
6043 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
6044
6045         * gst/gstvalue.c: (gst_value_compare_fraction):
6046         If someone is foolish enough to compare 2 fractions with denominator =
6047         0, return UNORDERED rather than aborting.
6048
6049 2006-11-28  Edward Hervey  <edward@fluendo.com>
6050
6051         * libs/gst/base/Makefile.am:
6052         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
6053         (gst_data_queue_base_init), (gst_data_queue_class_init),
6054         (gst_data_queue_init), (gst_data_queue_new),
6055         (gst_data_queue_cleanup), (gst_data_queue_finalize),
6056         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
6057         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
6058         (gst_data_queue_is_empty), (gst_data_queue_is_full),
6059         (gst_data_queue_set_flushing), (gst_data_queue_push),
6060         (gst_data_queue_pop), (gst_data_queue_drop_head),
6061         (gst_data_queue_set_property), (gst_data_queue_get_property):
6062         * libs/gst/base/gstdataqueue.h:
6063         New GstDataQueue object for threadsafe queueing. Most useful for
6064         elements that need some queueing functionnality.
6065         * docs/libs/gstreamer-libs-docs.sgml:
6066         * docs/libs/gstreamer-libs-sections.txt:
6067         Insert documentation for GstDataQueue
6068         * plugins/elements/Makefile.am:
6069         * plugins/elements/gstelements.c:
6070         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
6071         (gst_multi_queue_class_init), (gst_multi_queue_init),
6072         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
6073         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
6074         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
6075         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
6076         (gst_multi_queue_loop), (gst_multi_queue_chain),
6077         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
6078         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
6079         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
6080         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
6081         (wake_up_next_non_linked), (compute_next_non_linked),
6082         (single_queue_overrun_cb), (single_queue_underrun_cb),
6083         (single_queue_check_full), (gst_single_queue_new):
6084         * plugins/elements/gstmultiqueue.h:
6085         New multiqueue element, using GstDataQueue. Used for queuing multiple
6086         streams.
6087         Closes #344639 and #347785
6088
6089 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
6090
6091         * docs/pwg/advanced-types.xml:
6092           add more missing type details
6093
6094         * tools/gst-run.c: (main):
6095           remove unused variable
6096
6097 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
6098
6099         * docs/libs/Makefile.am:
6100         * docs/libs/gstreamer-libs.types:
6101           add types of base classes to enable gobject specific stuff in the docs
6102
6103         * docs/random/ensonic/embedded.txt:
6104           more ideas about isolating platform specific things
6105
6106 2006-11-20  Wim Taymans  <wim@fluendo.com>
6107
6108         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
6109
6110         * libs/gst/check/gstcheck.h:
6111         Fix compilation and running against 0.9.4. Fixes #377332.
6112
6113 2006-11-20  Wim Taymans  <wim@fluendo.com>
6114
6115         * gst/gstsegment.c: (gst_segment_set_seek),
6116         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
6117         (gst_segment_to_running_time):
6118         Fix boundary checking in to_running_time() and to_stream_time().
6119         Fixes #377183.
6120
6121         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6122         stream and running time can now be calculated for the complete
6123         clipped segment.
6124
6125 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
6126
6127         * gst/gstpad.c: (gst_pad_push_event):
6128           Can't access event structure after giving away ownership of
6129           the event.
6130
6131 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
6132
6133         * docs/random/ensonic/embedded.txt:
6134         * docs/random/ensonic/profiling.txt:
6135         * docs/random/ensonic/receipies.txt:
6136           more thinking
6137
6138 2006-11-13  Wim Taymans  <wim@fluendo.com>
6139
6140         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6141
6142         * gst/gstpad.c:
6143         Fix documentation for gst_pad_dispatcher. Fixes #374475.
6144
6145 2006-11-13  Wim Taymans  <wim@fluendo.com>
6146
6147         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
6148
6149         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
6150         Store new length in segment duration so we don't keep on calling the
6151         potentially expensize get_size() call. Fixes #370865.
6152
6153 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
6154
6155         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
6156
6157         * win32/common/libgstreamer.def:
6158           Add two missing symbols (#366492).
6159
6160 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
6161
6162         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
6163         (gst_adapter_take_buffer):
6164         Fix format string to use all its arguments.
6165         Remove useless >= check on a guint
6166
6167 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6168
6169         * tests/examples/adapter/.cvsignore:
6170         Ignore build file as commanded by the build-bot
6171
6172 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6173
6174         * tests/examples/adapter/Makefile.am:
6175         * tests/examples/adapter/adapter_test.c: (run_test_take),
6176         (run_test_take_buffer), (run_tests), (main):
6177
6178         Add new files from the previous commit
6179
6180 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
6181
6182         * Makefile.am:
6183         * configure.ac:
6184         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
6185         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
6186         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
6187         * libs/gst/base/gstadapter.h:
6188         * tests/check/libs/adapter.c: (create_and_fill_adapter),
6189         (GST_START_TEST), (gst_adapter_suite):
6190         * tests/examples/Makefile.am:
6191         Do some optimisation work in GstAdapter to avoid copies in more cases.
6192         It could still do slightly better by merging buffers when
6193         gst_buffer_is_span_fast is true, but is already faster. 
6194
6195         Also, avoid traversing a single-linked list to append each incoming 
6196         buffer inside the adapter.
6197
6198         Add simple test app that times the adapter behaviour in different
6199         situations, and extend the unit test to check that bytes enter and
6200         exit the adapter in their original order.
6201
6202 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
6203
6204         * docs/random/draft-missing-plugins.txt:
6205           Update: use element message instead of adding a new message
6206           type to the core; don't provide GStreamer API to initiate the
6207           plugin download, just provide API to compose the strings needed
6208           and let an external libgimmestuff handle the rest.
6209
6210 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
6211
6212         * tools/gst-inspect.c: (print_element_properties_info):
6213         Print a string instead of 'unknown type' for GValueArray properties
6214
6215 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
6216
6217         * docs/random/draft-missing-plugins.txt:
6218         More small fixes.
6219
6220 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6221
6222         * tests/examples/typefind/typefind.c: (type_found), (main):
6223           Make typefind element example work again (#371894); add a
6224           license header.
6225
6226 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
6227
6228         * docs/random/draft-missing-plugins.txt:
6229           Commit initial draft about how to deal with missing plugins,
6230           needs work (API too).
6231
6232 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
6233
6234         * docs/pwg/advanced-types.xml:
6235           documents the new caps elements (see #363118)
6236
6237 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6238
6239         * gst/gstplugin.c: (gst_plugin_load_file):
6240         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
6241         (gst_file_src_map_region), (gst_file_src_start):
6242         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
6243         (gst_file_index_commit):
6244           Use g_strerror() instead of strerror() - we want UTF-8.
6245
6246 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
6247
6248         Patch by: Peter Kjellerstedt <pkj at axis com>
6249
6250         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6251           Another printf fix (#371493).
6252
6253 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6254
6255         * tests/check/gst/gsttag.c:
6256           relicence (okay with author=company)
6257
6258 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6259
6260         * gst/gstpad.c: (gst_pad_event_default_dispatch),
6261         (gst_pad_push_event):
6262           Enhance debug and improve docs
6263         
6264         * gst/gsturi.c:
6265           Fix docs
6266
6267 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6268
6269         * docs/random/ensonic/distributed.txt:
6270         * docs/random/ensonic/profiling.txt:
6271           more ideas
6272
6273 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
6274
6275         * docs/gst/gstreamer-sections.txt:
6276           add new API and fix the build
6277           
6278         * gst/gstbin.c: (gst_bin_recalc_state):
6279         * gst/gstelement.c: (gst_element_message_full),
6280         (gst_element_get_state_func), (gst_element_set_state_func):
6281           use new API and improve logging
6282         
6283         * gst/gstutils.c: (gst_element_state_change_return_get_name):
6284         * gst/gstutils.h:
6285           API: add function to get StateChangereturn names to improve logs 
6286
6287 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
6288
6289         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
6290           I'm considering shooting the next person to put strerror stuff
6291           in the translateable part of the message.
6292
6293 2006-11-03  Wim Taymans  <wim@fluendo.com>
6294
6295         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6296         Get the type and printf conversion specifiers right.
6297
6298 2006-11-03  Wim Taymans  <wim@fluendo.com>
6299
6300         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
6301
6302         * gst/gstpad.c: (gst_pad_init), (pre_activate),
6303         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
6304         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
6305         Some small cleanups. Improve debugging.
6306         * gst/gstpad.h:
6307         Signal all waiting threads with a broadcast instead of just one.
6308         Fixes #369942.
6309
6310 2006-11-03  Wim Taymans  <wim@fluendo.com>
6311
6312         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
6313         (gst_fd_src_create):
6314         Add some debugging. 
6315         Only update fd when it's different from the old.
6316
6317 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6318
6319         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
6320           Printf fixes for PPC/OSX, take two (#369366).
6321
6322 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
6323
6324         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
6325
6326         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
6327         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
6328         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
6329           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
6330           don't cast to long long for portability reasons, but use
6331           GLib's types instead.
6332
6333 2006-10-30  Michael Smith  <msmith@fluendo.com>
6334
6335         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
6336           Get the arguments to lseek() the right way around.
6337           Fixes 367677.
6338
6339 2006-10-30  Wim Taymans  <wim@fluendo.com>
6340
6341         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
6342
6343         * gst/gstinfo.h:
6344         _declspec should be __declspec (two underscores, not one). Fixes 366572.
6345
6346 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6347
6348         Patch by: Kjartan Maraas  <kmaraas at gnome org>
6349
6350         * docs/design/part-MT-refcounting.txt:
6351         * docs/random/wtay/capsnego2-docs:
6352         * gst/gstclock.c:
6353         * gst/gstxml.c:
6354           Typo fixes (#366212).
6355
6356 2006-10-28  Wim Taymans  <wim@fluendo.com>
6357
6358         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6359
6360         * gst/gst.c:
6361         * win32/common/libgstbase.def:
6362         * win32/common/libgstreamer.def:
6363         * win32/vs8/libgstbase.vcproj:
6364         * win32/vs8/libgstcontroller.vcproj:
6365         Add needed entries in .def files.
6366         Use HAVE_UNISTD_H.
6367         Rearrange def files in vs8 solutions. Fixes #366286.
6368
6369 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
6370
6371         * win32/common/gstconfig.h:
6372           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
6373           hand-made win32 gstconfig.h. Fixes #366321.
6374
6375 2006-10-27  Wim Taymans  <wim@fluendo.com>
6376
6377         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
6378         (gst_ghost_pad_new_full):
6379         Make acceptcaps return TRUE when we don't have a target, just like
6380         setcaps does.
6381
6382 2006-10-27  Wim Taymans  <wim@fluendo.com>
6383
6384         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6385         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
6386
6387 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
6388
6389         * gst/gststructure.c: (gst_structure_id_set_value):
6390           If someone tries to set a non-UTF8 string field on a structure,
6391           don't just print a warning, but also ignore the request and do
6392           not change/add that field to the structure.
6393
6394         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6395           Test for the above.
6396
6397 2006-10-25  David Schleef  <ds@schleef.org>
6398
6399         * gst/gstinfo.c:
6400           g_hash_table_insert() needs a cast to a non-const pointer duh.
6401
6402 2006-10-25  David Schleef  <ds@schleef.org>
6403
6404         * gst/gstinfo.c:
6405         * gst/gstinfo.h:
6406           Change name parameter of _gst_debug_register_funcptr to const
6407           to reflect the constness of its use in the function as well
6408           as to quiet a gcc warning.
6409
6410 2006-10-25  Edward Hervey  <edward@fluendo.com>
6411
6412         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6413         Don't push the buffer if it's empty.
6414         Closes #363095
6415
6416 2006-10-24  Wim Taymans  <wim@fluendo.com>
6417
6418         * gst/gstevent.h:
6419         Add small comment.
6420
6421         * libs/gst/base/gstbasetransform.c:
6422         (gst_base_transform_sink_eventfunc):
6423         Debug segment values *after* updating them as this is more
6424         interesting.
6425
6426 2006-10-23  Wim Taymans  <wim@fluendo.com>
6427
6428         * docs/design/part-events.txt:
6429         Update some docs.
6430
6431         * docs/design/part-block.txt:
6432         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6433         (gst_pad_push_event):
6434         Revert BLOCKING patch, it tries to be smart without really having a
6435         clear idea what or how. So, now we discard all FLUSHING events again on
6436         a blocking pad. Should fix gnonlin again.
6437
6438 2006-10-23  Wim Taymans  <wim@fluendo.com>
6439
6440         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
6441
6442         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
6443         (gst_base_src_start), (gst_base_src_activate_push):
6444         Make sure size is always initialized. Fixes #364388.
6445
6446 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
6447
6448         * docs/random/ensonic/distributed.txt:
6449           add some ideas about doing distributed processing
6450
6451         * docs/random/ensonic/profiling.txt:
6452           get_rusage look promising
6453
6454 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6455
6456         * docs/manual/basics-helloworld.xml:
6457           Add a cast in example to fix compile warning
6458
6459 2006-10-18  Wim Taymans  <wim@fluendo.com>
6460
6461         * gst/gstsegment.c: (gst_segment_set_last_stop),
6462         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6463         Relax arg checking again, -1 is allowed.
6464
6465 2006-10-18  Wim Taymans  <wim@fluendo.com>
6466
6467         * gst/gstsegment.c: (gst_segment_set_last_stop),
6468         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
6469         _set_last_stop() must be with a value != -1
6470         A _TYPE_SET to -1 means seek to 0.
6471         Calc last_stop correctly for negative rates.
6472         Make sure we work with positive durations when updating a segment.
6473
6474 2006-10-18  Wim Taymans  <wim@fluendo.com>
6475
6476         * docs/design/part-live-source.txt:
6477         * gst/gstclock.h:
6478         Small docs fixes.
6479
6480 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
6481
6482         * gst/gstbuffer.h:
6483           Add an explicit cast to GstBuffer** to keep old code that added an
6484           explicit cast to GstMiniObject** for gst_mini_object_replace()
6485           compiling without warning.
6486
6487 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
6488
6489         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
6490           check for validity of dates
6491
6492 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6493
6494         * docs/gst/gstreamer-sections.txt:
6495           Forgot this one, makes gtk-doc shut up.
6496
6497 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6498
6499         Patch by: Peter Kjellerstedt <pkj at axis com>
6500
6501         * gst/gstobject.h:
6502           Don't define xmlNodePtr to gpointer if the core was built with
6503           --disable-loadsave and --disable-registry, this will break
6504           applications that want to use libxml2 but are buildling against a
6505           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
6506           instead so we don't have to mess with the libxml2 namespace
6507           (#361675).
6508
6509 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
6510
6511         * gst/gstbuffer.h:
6512           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
6513           type-punned pointer warnings.
6514
6515 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
6516
6517         * gst/gstelement.h:
6518           Add casts to the correct return type to state <=> state transition
6519           macros.
6520
6521 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
6522
6523         * docs/design/part-live-source.txt:
6524           describe howto handle latency
6525         
6526         * docs/random/ensonic/profiling.txt:
6527           more ideas
6528
6529         * tools/gst-plot-timeline.py:
6530           fix log parsing for solaris, remove unused function
6531
6532 2006-10-16  Wim Taymans  <wim@fluendo.com>
6533
6534         * docs/design/part-trickmodes.txt:
6535         * gst/gstevent.c:
6536         Update some docs regarding reverse playback.
6537
6538 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
6539
6540         Patch by: Marcus Granado  <mrc dot gran at gmail com>
6541
6542         * win32/vs8/grammar.vcproj:
6543           Error out with a warning if glib-genmarshal.exe is not in path,
6544           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
6545
6546 2006-10-13  Wim Taymans  <wim@fluendo.com>
6547
6548         * gst/gstsegment.c: (gst_segment_set_seek):
6549         When seeking to stop -1, set last_stop (current position) to the
6550         duration of the segment.
6551
6552 2006-10-13  Wim Taymans  <wim@fluendo.com>
6553
6554         * gst/gstelement.h:
6555         Clarify _NO_PREROLL a bit more.
6556
6557         * gst/gstevent.c:
6558         Fix docs.
6559
6560         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
6561         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
6562         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
6563         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
6564         due to wrong locking order. Fixes #361769.
6565         Remove some redundant/misplaced checks in pad_block.
6566
6567         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
6568         For negative rates, count backwards from the duration.
6569
6570 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
6571
6572         * gst/gsterror.c: (_gst_library_errors_init):
6573           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
6574           up with something better).
6575
6576 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6577
6578         * win32/vs6/libgstreamer.dsp:
6579         * win32/vs7/libgstreamer.vcproj:
6580         * win32/vs8/libgstreamer.vcproj:
6581           Don't reference glib-compat.c which is currently not used and not
6582           disted; add gstquark.c which was recently added. Fixes #361730.
6583
6584 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
6585
6586         * win32/common/libgstbase.def:
6587         * win32/common/libgstcontroller.def:
6588         * win32/common/libgstreamer.def:
6589           Add gst_caps_merge() and a bunch of other recently-added functions.
6590           Fixes #361732.
6591
6592 2006-10-11  Wim Taymans  <wim@fluendo.com>
6593
6594         * docs/plugins/gstreamer-plugins.args:
6595         * docs/plugins/inspect/plugin-coreelements.xml:
6596         * docs/plugins/inspect/plugin-coreindexers.xml:
6597         Update element args.
6598
6599         * gst/gstsystemclock.c:
6600         Small comment update.
6601
6602         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
6603         (gst_tee_request_new_pad), (gst_tee_release_pad),
6604         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
6605         (gst_tee_sink_activate_pull):
6606         * plugins/elements/gsttee.h:
6607         Some tee loving:
6608         Add default property defines.
6609         Implement release pad function.
6610         Give properties better blubs etc.
6611         Activate pads before adding them to a running tee.
6612         Do simple buffer_alloc on the first requested pad.
6613         Post error when activation fails.
6614
6615 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6616
6617         * gst/gst.c: (ensure_current_registry_forking):
6618           Check return value of write() to make compiler happy.
6619
6620 2006-10-11  Wim Taymans  <wim@fluendo.com>
6621
6622         Patch by: Sjoerd Simons <sjoerd at luon dot net>
6623
6624         * plugins/elements/gstqueue.c: (gst_queue_chain):
6625         Recheck queue filledness after signalling the overrun when we're about
6626         to leak downstream because we released the lock when emitting the signal
6627         and the queue could be empty again. Fixes #352345.
6628
6629 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
6630
6631         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
6632           Fix refcounting here too, just like we did for _new_valist() a few
6633           days ago (#357180) (thanks to René Stadler). Also remove all those
6634           'Since: 0.9' from the gtk-doc blobs.
6635
6636         * tests/check/libs/controller.c: (controller_refcount_new_list),
6637         (gst_controller_suite):
6638           Unit test for the above.
6639
6640 2006-10-10  Wim Taymans  <wim@fluendo.com>
6641
6642         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
6643
6644         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6645         (gst_pad_save_thyself):
6646         Update some docs.
6647         Write pad direction in XML output. Fixes #345496.
6648
6649 2006-10-10  Wim Taymans  <wim@fluendo.com>
6650
6651         Patch by: René Stadler <mail at renestadler dot de>
6652
6653         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6654         (gst_controller_new_list), (_gst_controller_dispose),
6655         (_gst_controller_finalize), (_gst_controller_class_init):
6656         Take ref to controlled object so that it cannot disappear. 
6657         Fixes #357432.
6658
6659 2006-10-10  Wim Taymans  <wim@fluendo.com>
6660
6661         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
6662         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
6663         (gst_check_teardown_sink_pad):
6664         Activate/deactivate pads in setup/teardown respectively.
6665
6666 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6667
6668         Patch by: Josep Torre Valles <josep@fluendo.com>
6669
6670         * gst/Makefile.am:
6671         Cast values when making gstenumtypes.h.  This pacifies Forte
6672         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
6673         in the enumeration.
6674
6675 2006-10-09  Wim Taymans  <wim@fluendo.com>
6676
6677         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
6678         Rename some more @cur to @start to fix docs. 
6679
6680         * gst/gstsegment.c: (gst_segment_set_seek):
6681         Fix typo.
6682         time and start must always stay in sync as defined in design doc.
6683
6684         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6685         Rename param to fix docs.
6686
6687         * tests/check/gst/gstsegment.c: (GST_START_TEST):
6688         Check that start and time are in sync.
6689
6690         * tests/check/pipelines/parse-launch.c:
6691         (gst_parse_test_element_change_state):
6692         Activate pad before adding to the element.
6693
6694 2006-10-09  Wim Taymans  <wim@fluendo.com>
6695
6696         * docs/design/part-qos.txt:
6697         Fix typo.
6698
6699         * gst/gstevent.c:
6700         * gst/gstevent.h:
6701         Update seek event docs regarding negative rates.
6702         Rename @cur to @start. 
6703
6704         * gst/gstsegment.c: (gst_segment_set_seek):
6705         * gst/gstsegment.h:
6706         Update set_seek docs regarding negative rates.
6707         Correctly update last_stop to @stop when dealing with negative
6708         rates.
6709         Rename @cur to @start. 
6710
6711         * tests/check/gst/gstpad.c: (GST_START_TEST):
6712         Activate pads before trying to use them.
6713
6714         * tests/check/gst/gstsegment.c: (GST_START_TEST),
6715         (gst_segment_suite):
6716         Add simple check for segments and negative rates.
6717
6718 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
6719
6720         * gst/gsttaglist.c: (gst_tag_list_is_empty):
6721         * gst/gsttaglist.h:
6722         * docs/gst/gstreamer-sections.txt:
6723           API: add gst_tag_list_is_empty() (#360467).
6724
6725         * tests/check/gst/gsttag.c: (GST_START_TEST):
6726           And a test case.
6727
6728 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6729
6730         * gst/gstmessage.h:
6731         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
6732         a value that doesn't fit on enumeration.
6733
6734 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6735
6736         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6737         Remove local debugging system and use Gstreamer's instead.
6738
6739 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6740
6741         Patch by: Josep Torre Valles <josep@fluendo.com>
6742
6743         * common/m4/gst-error.m4:
6744         Disable warning of statement not reached on Forte.
6745         * gst/gstmessage.h:
6746         Fix warning on Forte (value doesn't fit on enumeration).
6747         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
6748         Fix warning on Forte (value doesn't fit on enumeration).
6749         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6750         DEBUG macro says it takes minimum of 2 args and so Forte
6751         complains about the use with just 1 arg.
6752         * plugins/elements/gstfdsink.c:
6753         * plugins/elements/gstfdsrc.c:
6754         * plugins/elements/gstfilesink.c:
6755         * plugins/elements/gstfilesrc.c:
6756         Use correct return type for the uri handler implementations.
6757
6758         All these fix warnings in Forte.  Fixes bug #360860.
6759
6760 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
6761
6762         * gst/gstelement.h:
6763           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
6764           format string, so don't use G_GNUC_PRINTF for those versions.
6765
6766 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6767
6768         * gst/gsttaglist.c: (gst_is_tag_list):
6769         * gst/gsttaglist.h:
6770           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
6771
6772         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
6773           Small test for the above.
6774
6775 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
6776
6777         * gst/gsttaglist.h:
6778           Less tabs, more spaces.
6779
6780 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
6781
6782         * gst/gstinfo.h:
6783           Those two function declarations do actually belong there, revert
6784           commit from yesterday that turned them intro macros.
6785
6786 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6787
6788         Patch by: Josep Torre Valles <josep@fluendo.com>
6789
6790         * gst/gst.c: (gst_init_get_option_group):
6791         Fix empty declaration and type mismatch.
6792         * gst/gstbin.c: (gst_bin_change_state_func):
6793         Fix type mismatch.
6794         * gst/gstelement.c: (gst_element_continue_state),
6795         (gst_element_set_state_func), (gst_element_change_state),
6796         (gst_element_change_state_func):
6797         Fix type mismatches.
6798         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
6799         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
6800         Cast as appropriate.
6801         * gst/gstobject.c: (gst_class_signal_connect):
6802         Cast as appropriate.  The function pointer parameter really
6803         has the wrong type but would break API if we change it.
6804         * gst/gstquery.c:
6805         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
6806         order of including string.h.
6807         * gst/gstutils.c: (gst_element_state_get_name):
6808         Remove unreachable line.
6809         * gst/gstxml.c: (gst_xml_parse_doc):
6810         Fix type mismatch.
6811         All these caught by Forte.
6812
6813 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6814
6815         Patch by: Josep Torre Valles <josep@fluendo.com>
6816
6817         * common/m4/gst-error.m4:
6818         Fixed bug #360151.
6819         We need to disable warnings on Forte for empty declarations
6820         due to gst-indent adding ;s to lines that just use macros
6821         where the macro actually doesn't need a ; at end to end
6822         statement.
6823
6824 2006-10-06  Wim Taymans  <wim@fluendo.com>
6825
6826         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6827         (gst_file_sink_close_file), (gst_file_sink_event),
6828         (gst_file_sink_render):
6829         Add some FIXME for the NEWSEGMENT handling.
6830
6831 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6832
6833         * gst/parse/grammar.y:
6834         Remove static function gst_parse_element_lock as all it does
6835         is return.  Looks like cruft from 0.8.
6836
6837 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
6838
6839         Patch by: Josep Torre Valles <josep@fluendo.com>
6840
6841         * common/m4/gst-error.m4:
6842         * configure.ac:
6843         * libs/gst/net/Makefile.am:
6844         Fix a compilation issue with Forte on Solaris.  inet_aton is in
6845         libresolv.
6846
6847 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6848
6849         * gst/gstpad.c: (pre_activate):
6850         * gst/gstregistry.c: (gst_registry_scan_path_level):
6851         * gst/gstregistryxml.c: (load_plugin):
6852         * libs/gst/controller/gstcontroller.c:
6853         (gst_controlled_property_set_interpolation_mode):
6854         * libs/gst/dataprotocol/dataprotocol.c:
6855         (gst_dp_packet_from_event_1_0):
6856         * libs/gst/net/gstnetclientclock.c:
6857         (gst_net_client_clock_observe_times):
6858         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
6859           Printf fixes.
6860
6861 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
6862
6863         * configure.ac:
6864         * docs/gst/gstreamer-sections.txt:
6865         * gst/gstconfig.h.in:
6866         * gst/gstelement.h:
6867         * gst/gstinfo.h:
6868           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
6869           whether we can use G_GNUC_PRINTF in other header files and at
6870           least check the printf format/arguments of debug messages and
6871           GST_ELEMENT_ERROR messages when the printf extension is not
6872           being used.
6873           Replace more tabs with spaces in gstinfo.h and remove two spurious
6874           function declarations in GST_DISABLE_DEBUG part with macros.
6875
6876 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
6877
6878         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
6879           More docs for the sync-message signal (mention that it is not
6880           emitted by default); log message structures of messages posted on
6881           the bus as well.
6882
6883 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
6884
6885         * gst/gst.c: (ensure_current_registry_forking):
6886         Use a pipe pair to receive status results from the forked child, and
6887         ignore the result from waitpid. Fixes #355499
6888
6889 2006-10-02  Wim Taymans  <wim@fluendo.com>
6890
6891         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
6892         (gst_ghost_pad_suite):
6893         Fix leak in check.
6894
6895 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6896
6897         * gst/gstpad.c:
6898           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
6899
6900 2006-10-02  Edward Hervey  <edward@fluendo.com>
6901
6902         * docs/design/part-block.txt:
6903         Further explain the use of flushing on blocked pads.
6904         * docs/gst/gstreamer-sections.txt:
6905         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
6906         (gst_pad_push_event):
6907         * gst/gstpad.h:
6908         Added new GstPadFlag : GST_PAD_BLOCKING.
6909         Adds the notion of pads really blocking, which enables to properly
6910         handle FLUSH_START/FLUSH_STOP events on blocked pads.
6911         Fixes #358999
6912         API: gst_pad_is_blocking()
6913         API: GST_PAD_IS_BLOCKING() macro
6914         API: GST_PAD_BLOCKING GstPadFlag
6915         
6916 2006-10-02  Wim Taymans  <wim@fluendo.com>
6917
6918         Patch by: mrcgran <mrc.gran at gmail dot com>
6919
6920         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
6921         Filter the proxied caps against the padtemplate if we have one.
6922
6923         * gst/gstquery.c: (gst_query_new_segment):
6924         Add include for gstinfo.h so that compilation with
6925         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
6926
6927 2006-10-02  Wim Taymans  <wim@fluendo.com>
6928
6929         Patch by: Alessandro Decina  <alessandro at nnva org>
6930
6931         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
6932         (gst_file_sink_set_location), (gst_file_sink_open_file),
6933         (gst_file_sink_close_file), (gst_file_sink_event),
6934         (gst_file_sink_render):
6935         Set file to NULL when closing filesink so that we can set a new filename
6936         in READY. Fixes #358613.
6937
6938 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
6939
6940         Patch by: Alessandro Decina  <alessandro at nnva org>
6941
6942         * gst/gstevent.c: (_gst_event_copy):
6943           Fix gst_mini_object_make_writable() and gst_event_copy() for events
6944           with event structures by setting the parent refcount address of the
6945           copied structure to the address of the refcount member of the newly
6946           copied event rather than the address of the refcount member of the
6947           original event. Fixes #358737.
6948
6949         * tests/check/gst/gstevent.c: (GST_START_TEST):
6950           Unit test for the above.
6951
6952 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
6953
6954         * docs/design/Makefile.am:
6955           Dist some more files.
6956
6957 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6958
6959         * tests/check/libs/controller.c: (GST_START_TEST),
6960         (gst_controller_suite):
6961           Add test for the previous fix; add some more tests
6962           for correct refcounting behaviour; fix a few leaks
6963           in test cases; call gst_controller_init() at start
6964           of all tests.
6965
6966 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
6967
6968         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
6969         (gst_controller_set_from_list):
6970           Don't g_return_val_if_fail() on timed values with invalid timestamps
6971           inside a critical section without unlocking the mutex. Spotted by
6972           René Stadler. (#357617)
6973           Also, fix up refcounting properly: when returning an existing
6974           controller, we should increase the reference only once and not
6975           once per property and when trying to control a property again
6976           we should also increase the refcount.
6977
6978 2006-09-29  Wim Taymans  <wim@fluendo.com>
6979
6980         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
6981         * libs/gst/net/gstnettimeprovider.c:
6982         (gst_net_time_provider_thread):
6983         Stop reading commands when EOF as well.
6984
6985         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
6986         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
6987         * plugins/elements/gstidentity.c: (gst_identity_class_init):
6988         Unify description of the dump property.
6989
6990 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6991
6992         * tests/examples/manual/.cvsignore:
6993         OK, so it's actually cvsignore that needs changing. Stop laughing.
6994
6995 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
6996
6997         * tests/examples/manual/Makefile.am:
6998         Gah, declare vars *before* using them
6999
7000 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7001
7002         * gst/gst.c: (init_pre), (scan_and_update_registry),
7003         (ensure_current_registry_nonforking),
7004         (ensure_current_registry_forking), (ensure_current_registry),
7005         (init_post), (gst_debug_help), (gst_deinit):
7006         * gst/gst_private.h:
7007         * gst/gstregistry.c: (gst_registry_finalize),
7008         (gst_registry_remove_features_for_plugin_unlocked),
7009         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7010         (gst_registry_scan_path),
7011         (_priv_gst_registry_remove_cache_plugins),
7012         (_priv_gst_registry_cleanup):
7013         * gst/gstregistry.h:
7014         Re-commit the registry changes, along with an extra fix:
7015           When a cached plugin is encountered at a different file path,
7016           update the stored path in the registry cache so that the parent
7017           process knows where it actually is now when it re-reads the registry
7018           cache. Fixes the thing that broke distcheck with the previous commit.
7019
7020         * tests/check/Makefile.am:
7021         Clean up files named 'core' too when running make clean.
7022
7023         * tests/examples/manual/Makefile.am:
7024         Set up a registry path for running these tests, and clean it properly
7025         for distcheck.
7026
7027 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
7028
7029         * configure.ac:
7030         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
7031         want gmodule-no-export-2.0.pc instead so that we don't drag in
7032         --export-dynamic on every project that links to GStreamer.
7033
7034         Also, make our export regex only match the start of symbols, rather 
7035         than any symbol that contains '_gst' somewhere.
7036
7037         * libs/gst/check/Makefile.am:
7038         The libgstcheck we build does however need export-dynamic, as it
7039         produces some symbols that don't match our _gst... style regex.
7040         Fixes: #318031
7041
7042 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
7043
7044         * gst/gst.c: (init_pre), (scan_and_update_registry),
7045         (ensure_current_registry_nonforking),
7046         (ensure_current_registry_forking), (ensure_current_registry),
7047         (init_post), (gst_debug_help), (gst_deinit):
7048         * gst/gst_private.h:
7049         * gst/gstregistry.c: (gst_registry_finalize),
7050         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7051         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
7052         (_gst_registry_cleanup):
7053         * gst/gstregistry.h:
7054           Revert previous change until I figure out why it breaks distcheck.
7055
7056 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
7057
7058         * gst/gst.c: (init_pre), (scan_and_update_registry),
7059         (ensure_current_registry_nonforking),
7060         (ensure_current_registry_forking), (ensure_current_registry),
7061         (init_post), (gst_debug_help), (gst_deinit):
7062
7063           Make init_pre and init_post take the full complement of GOptionFunc
7064           args so they can return useful GErrors. Make the registry updating
7065           functions do so.
7066
7067           Call _priv_gst_registry_remove_cache_plugins after scanning files to
7068           ensure that the registry we're about to write out doesn't contain
7069           stale information about old-deleted plugin files.
7070
7071           Make _priv_gst_registry_remove_cache_plugins return a boolean so
7072           that deletion of plugin files is considered a registry change.
7073
7074         * gst/gst_private.h:
7075         * gst/gstregistry.c: (gst_registry_finalize),
7076         (gst_registry_remove_features_for_plugin_unlocked),
7077         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
7078         (gst_registry_scan_path),
7079         (_priv_gst_registry_remove_cache_plugins),
7080         (_priv_gst_registry_cleanup):
7081         * gst/gstregistry.h:
7082         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
7083         by adding _priv prefix, so that they won't appear in the global
7084         symbol table. They still do atm though because of #318031. Move the
7085         prototypes to gst_private.h
7086
7087         When removing a plugin, remove all features for that plugin too. 
7088         Fixes #340878.
7089
7090 2006-09-27  Wim Taymans  <wim@fluendo.com>
7091
7092         * docs/random/moving-plugins:
7093         Make it clear that the "compiled-in descriptions" really mean
7094         the element details.
7095
7096         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7097         (gst_base_sink_wait_preroll):
7098         Update docs.
7099
7100         * docs/libs/gstreamer-libs-sections.txt:
7101         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
7102         (gst_base_src_get_range), (gst_base_src_activate_push):
7103         * libs/gst/base/gstbasesrc.h:
7104         Added function to block while waiting for PLAYING, this function
7105         is used by live sources that block on the clock.
7106         API: gst_base_src_wait_playing()
7107
7108 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7109
7110         Patch by: Peter Kjellerstedt <pkj at axis com>
7111
7112         * Makefile.am:
7113           gst-element-check.m4 is generated and should therefore be
7114           copied from the build dir rather than the source dir (#357593).
7115           'make distcheck' hasn't noticed this because we were disting
7116           the file as well, so stop doing that.
7117
7118 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
7119
7120         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7121           Add some tests for gst_caps_intersect().
7122
7123         * tools/gst-launch.c: (event_loop):
7124           Print all buffering percentages we get, even the 100% one.
7125
7126 2006-09-26  Wim Taymans  <wim@fluendo.com>
7127
7128         * tools/gst-inspect.c: (print_element_properties_info),
7129         (print_signal_info):
7130         Fix printing of flags to match the look of enums.
7131
7132 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7133
7134         * gst/gstelementfactory.c:
7135           Fix typo in docs blurb.
7136
7137 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7138
7139         * gst/gsturi.c: (search_by_entry):
7140           Don't assert/crash here if a uri handler doesn't return any
7141           supported protocols. The list of protocols could be generated
7142           dynamically at runtime or at plugin registration, and an error
7143           in the underlying library shouldn't be fatal (#353301).
7144
7145 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
7146
7147         * gst/gstinfo.c:
7148           Fix warning if HAVE_PRINTF_EXTENSION is undefined
7149           (spotted by Peter Kjellerstedt).
7150
7151 2006-09-23  Wim Taymans  <wim@fluendo.com>
7152
7153         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
7154
7155         * libs/gst/base/gstbasesrc.c:
7156         (gst_base_src_default_check_get_range), (gst_base_src_start),
7157         (gst_base_src_activate_push), (gst_base_src_activate_pull),
7158         (gst_base_src_change_state):
7159         Match _start/_stop calls in the activate functions. Remove redundant
7160         _stop call from the state change function. Fixes #356910.
7161         Turn failure DEBUG into ERROR. 
7162
7163 2006-09-22  Wim Taymans  <wim@fluendo.com>
7164
7165         * docs/design/part-buffering.txt:
7166         * gst/gstmessage.c: (gst_message_new_buffering),
7167         (gst_message_parse_buffering):
7168         Update docs about buffering.
7169
7170         * docs/design/part-trickmodes.txt:
7171         Fix typo.
7172
7173 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
7174
7175         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
7176         (gst_controller_new_list):
7177           Ref instances when returning them again (fixes #357180)
7178
7179 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
7180
7181         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
7182           Don't forget to release proxy lock when there's an error.
7183
7184 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
7185
7186         * gst/gstcaps.h:
7187           Add extra initialisers for Caps things, to fix some plugin warnings
7188           when using -Wextra
7189
7190 2006-09-18  Wim Taymans  <wim@fluendo.com>
7191
7192         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
7193           Also set template on the internal pad so that a getcaps from the 
7194           target pad returns the template caps.
7195
7196 2006-09-18  Wim Taymans  <wim@fluendo.com>
7197
7198         * gst/gstelement.c: (gst_element_post_message),
7199         (gst_element_dispose):
7200         Use _DEBUG_OBJECT some more.
7201
7202         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7203         Avoid typechecks.
7204
7205         * tools/gst-launch.c: (main):
7206         If the toplevel element is not a GstPipeline, it must be put in a
7207         pipeline so that a bus and clock is selected.
7208
7209 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
7210
7211         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7212           JITTER, RATE, and LATENCY query should be handled by the
7213           default case and not by the CONVERT query code.
7214
7215 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
7216
7217         * gst/gstformat.c: (gst_format_register):
7218           Fix locking order (must take lock before using n_values).
7219
7220         * gst/gstvalue.c: (gst_value_serialize_enum),
7221         (gst_value_deserialize_enum_iter_cmp),
7222         (gst_value_deserialize_enum):
7223           Fix serialisation/deserialisation of custom registered GstFormats.
7224
7225         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
7226           Unit test for custom format serialisation/deserialisation.
7227
7228 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
7229
7230         * docs/pwg/building-boiler.xml:
7231         * plugins/elements/gstcapsfilter.c:
7232         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
7233         section.
7234
7235 2006-09-16  Edward Hervey  <edward@fluendo.com>
7236
7237         * libs/gst/base/gstbasetransform.c:
7238         (gst_base_transform_buffer_alloc):
7239         Check if requested caps are the same as the sinks caps IF
7240         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
7241         is FALSE.
7242         This fixes the renegotiation issues stated in #352827.
7243
7244 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7245
7246         * configure.ac:
7247         * docs/manual/advanced-autoplugging.xml:
7248         * tests/examples/Makefile.am:
7249         * tests/examples/manual/.cvsignore:
7250         * tests/examples/manual/Makefile.am:
7251         * tests/examples/manual/extract.pl:
7252           Extract the manual examples again like we used to do.
7253           Fix one of them.
7254
7255 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7256
7257         * win32/common/config.h:
7258           update for version
7259
7260 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
7261
7262         * gst/gsterror.c:
7263           Documents how to receive errors.
7264
7265 2006-09-15  Wim Taymans  <wim@fluendo.com>
7266
7267         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
7268         (event_loop), (main):
7269         Added some comments here and there.
7270         Post an application message when an interrupt is caught instead of doing
7271         an uncontrolled state change.
7272         Clean up the event loop.
7273         Handle buffering messages, pause/resume the pipeline.
7274         Make shutdown because of an interrupt more reliable.
7275
7276 2006-09-15  Wim Taymans  <wim@fluendo.com>
7277
7278         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7279         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
7280         (gst_base_sink_preroll_object):
7281         Make sure that our internal state is correct when we commit our state
7282         asynchronously. This solves a race where a state change to PLAYING
7283         could cause the sink to remain blocked in preroll in some situations.
7284
7285 2006-09-15  Wim Taymans  <wim@fluendo.com>
7286
7287         * tools/gst-inspect.c: (print_element_properties_info),
7288         (print_signal_info):
7289         List flags as hex so it's easier to deal with.
7290
7291 2006-09-15  Wim Taymans  <wim@fluendo.com>
7292
7293         * docs/libs/gstreamer-libs-sections.txt:
7294         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
7295         (gst_base_sink_do_sync):
7296         * libs/gst/base/gstbasesink.h:
7297         Expose logic to wait for preroll so that subclasses such as audiosink
7298         can also use this method.
7299         API: gst_base_sink_wait_preroll()
7300
7301 2006-09-15  Wim Taymans  <wim@fluendo.com>
7302
7303         * gst/gstobject.c: (gst_object_set_parent):
7304         * gst/gstpipeline.c: (do_pipeline_seek):
7305         Small cleanups in docs and code.
7306
7307         * gst/gstsegment.c: (gst_segment_clip):
7308         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7309         if stop == start and start is in the segment, no clipping should be
7310         done. Also add a test for this.
7311
7312 2006-09-15  Wim Taymans  <wim@fluendo.com>
7313
7314         * docs/design/part-buffering.txt:
7315         * docs/gst/gstreamer-sections.txt:
7316         * gst/gstmessage.c: (gst_message_new_buffering),
7317         (gst_message_parse_buffering):
7318         * gst/gstmessage.h:
7319         Added methods to create and parse BUFFERING messages.
7320         Added preliminary docs about buffering.
7321         API: gst_message_new_buffering
7322         API: gst_message_parse_buffering
7323
7324 2006-09-06  Wim Taymans  <wim@fluendo.com>
7325
7326         * gst/gstbin.c:
7327         Update documentation.
7328
7329         * gst/gstelement.c: (gst_element_class_init),
7330         (gst_element_release_request_pad), (gst_element_set_clock),
7331         (gst_element_get_index), (gst_element_add_pad),
7332         (gst_element_remove_pad), (gst_element_get_random_pad),
7333         (gst_element_send_event), (gst_element_get_query_types),
7334         (gst_element_query), (gst_element_post_message),
7335         (gst_element_message_full), (gst_element_continue_state),
7336         (gst_element_lost_state), (gst_element_save_thyself),
7337         (gst_element_restore_thyself):
7338         Documentation updates.
7339         Rename last bit of the new-pad -> pad-added signal rename.
7340         Fix the case where an element query would only work if the source
7341         pad was linked.
7342         Avoid some useless type checking in message handling.
7343
7344         * gst/gstevent.c:
7345         * gst/gstevent.h:
7346         * gst/gstutils.c:
7347         Documentation updates.
7348
7349 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7350
7351         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
7352           add an INFO line for when we actually update the fd
7353
7354 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7355
7356         * configure.ac:
7357           back to TRUNK
7358
7359 === release 0.10.10 ===
7360
7361 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
7362
7363         * configure.ac:
7364           releasing 0.10.10, "Pais"
7365
7366 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
7367
7368         * docs/manual/advanced-position.xml:
7369           Fix typo in sample code.
7370
7371 2006-09-05  Wim Taymans  <wim@fluendo.com>
7372
7373         * libs/gst/net/gstnetclientclock.c: (inet_aton),
7374         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
7375         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
7376         * libs/gst/net/gstnetclientclock.h:
7377         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
7378         * libs/gst/net/gstnettimepacket.h:
7379         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
7380         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
7381         (gst_net_time_provider_thread), (gst_net_time_provider_new):
7382         * libs/gst/net/gstnettimeprovider.h:
7383         Make stuff compile on windows. Fixes #345295.
7384
7385 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7386
7387         * gst/gst.c: (ensure_current_registry_forking):
7388           Print better details when child was terminated by signal.
7389
7390 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
7391
7392         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
7393           Print a warning rather than g_assert() if a plugin feature
7394           is a URI handler but returns no protocols (#353976).
7395
7396 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
7397
7398         * docs/random/moving-plugins:
7399         Fix two typos.         
7400
7401 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
7402
7403         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
7404           Fix locking order, handle NULL function values properly.
7405
7406         * gst/gstinfo.h:
7407           Fix docs.
7408
7409         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
7410           Initialise variable before using it and fix debug statement to
7411           print the address of the function rather than the address of the
7412           variable on the stack holding the address of the function.
7413
7414 2006-09-01  Wim Taymans  <wim@fluendo.com>
7415
7416         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
7417         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
7418         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
7419         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
7420         (gst_ghost_pad_parent_unset),
7421         (gst_ghost_pad_internal_do_activate_push),
7422         (gst_ghost_pad_internal_do_activate_pull),
7423         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7424         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7425         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
7426         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
7427         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
7428         (gst_ghost_pad_new_no_target_from_template),
7429         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
7430         More cleanups.
7431         Avoid needless typechecking in macros.
7432         Since the internal pad is always present and never changes, there is
7433         no need to locking or ref when retrieving it.
7434         Improve debugging a bit.
7435         Handle link errors when setting the target. Fixes #341029.
7436
7437 2006-09-01  Wim Taymans  <wim@fluendo.com>
7438
7439         * docs/libs/gstreamer-libs-sections.txt:
7440         * docs/plugins/gstreamer-plugins-sections.txt:
7441         Fix docs some more.
7442
7443         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
7444         (gst_collect_pads_event):
7445         * libs/gst/base/gstcollectpads.h:
7446         Documentation updates.
7447         Free queued buffer when removing a pad.
7448
7449 2006-08-31  Michael Smith  <msmith@fluendo.com>
7450
7451         * gst/gstutils.c: (gst_element_link_pads),
7452         (gst_element_link_pads_filtered):
7453           Ensure that we set a capsfilter to NULL if we failed to link it
7454           when doing filtered linking, to avoid criticals.
7455
7456           No need to check for unreffing srcpad, which is explicly NULLed
7457           above (a trivial code cleanup).
7458
7459 2006-08-31  Wim Taymans  <wim@fluendo.com>
7460
7461         * docs/design/part-gstghostpad.txt:
7462         Update ascii art in documentation.
7463
7464         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
7465         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
7466         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
7467         (gst_ghost_pad_internal_do_activate_push),
7468         (gst_ghost_pad_internal_do_activate_pull),
7469         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7470         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
7471         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
7472         (gst_ghost_pad_set_target):
7473         Small cleanups and leak fixes.
7474         Remove some checks now that the internal pad is never NULL.
7475         Fix the case where linking pads without a target would create nasty
7476         criticals. Fixes #341029.
7477         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
7478         value of _set_target().
7479
7480         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7481         (gst_ghost_pad_suite):
7482         Some more tests for creating and linking untargeted ghostpads.
7483
7484 2006-08-31  Edward Hervey  <edward@fluendo.com>
7485
7486         * docs/gst/gstreamer-sections.txt:
7487         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
7488         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
7489         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
7490         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
7491         (gst_ghost_pad_new_from_template),
7492         (gst_ghost_pad_new_no_target_from_template):
7493         * gst/gstghostpad.h:
7494         Refactored *_new() functions.
7495         Templates are now used as a g_object_new() parameter.
7496         Use template in _do_getcaps() if we don't have a target.
7497         Small documentation cleanups.
7498         Added two new constructors:
7499         gst_ghost_pad_new_from_template()
7500         gst_ghost_pad_new_no_target_from_template()
7501         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
7502         (gst_ghost_pad_suite):
7503         Added tests for new ghostpad instanciation functions.
7504
7505         API additions: gst_ghost_pad_new_from_template,
7506         gst_ghost_pad_new_no_target_from_template
7507
7508 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
7509
7510         * docs/random/ensonic/profiling.txt:
7511           Ideas about qos profiling.
7512
7513 2006-08-29  Wim Taymans  <wim@fluendo.com>
7514
7515         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
7516         Code cleanups.
7517         Fix memleak.
7518
7519 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
7520
7521         * gst/gstxml.c:
7522           Improve and detypofy docs.
7523
7524         * tests/check/Makefile.am:
7525         * tests/check/gst/.cvsignore:
7526         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
7527           Add a basic test suite for GstXML.
7528
7529 2006-08-29  Wim Taymans  <wim@fluendo.com>
7530
7531         * gst/gstelement.c: (activate_pads), (clear_caps),
7532         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
7533         Clear the pad caps when the element shut down all of the pads and
7534         is not streaming data that could modify the caps. 
7535         Fixes #352958.
7536
7537 2006-08-28  Michael Smith  <msmith@fluendo.com>
7538
7539         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7540           Revert previous change; I misunderstood single-segment mode.
7541
7542 2006-08-28  Michael Smith  <msmith@fluendo.com>
7543
7544         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7545           Unset DISCONT on buffers when using single-segment mode.
7546
7547 2006-08-28  Wim Taymans  <wim@fluendo.com>
7548
7549         * gst/gstcaps.c: (gst_caps_merge_structure):
7550         * gst/gstcaps.h:
7551         Fix docs and indentation again.
7552
7553         * tests/check/gst/gstquery.c: (GST_START_TEST):
7554         Fix leak in tests and add some more tests.
7555
7556 2006-08-28  Edward Hervey  <edward@fluendo.com>
7557
7558         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
7559         Inform GstSegment of the last stop position in order for the current
7560         segment to have a proper duration if it doesn't have a specific stop
7561         position from which a duration could be calculated.
7562         This bug was noticeable when a non-flushing, non-update new segment was
7563         followed by another segment (all buffers from the new segment were being
7564         dropped).
7565
7566 2006-08-28  Wim Taymans  <wim@fluendo.com>
7567
7568         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
7569         Small comment update.
7570
7571         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7572         (gst_identity_transform_ip):
7573         Drop-probability is broken, mention this in the code with a 
7574         FIXME and also in the property description.
7575         Make silent also be silent about the drop messages.
7576
7577 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
7578
7579         * docs/manual/appendix-win32.xml:
7580           Remove mention of popt, we don't depend on that any
7581           longer (#353136). Add some comments pointing out that
7582           this section is slightly outdated.
7583
7584 2006-08-28  Wim Taymans  <wim@fluendo.com>
7585
7586         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7587
7588         * gst/gstquery.c: (gst_query_new_segment):
7589         * tests/check/gst/gstquery.c: (GST_START_TEST):
7590         Initialize variables when creating a new segment query.
7591         Fixes #353121.
7592
7593 2006-08-28  Wim Taymans  <wim@fluendo.com>
7594
7595         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
7596
7597         * gst/gstelement.c: (gst_element_get_bus):
7598         * tests/check/gst/gstelement.c: (GST_START_TEST):
7599         Check for NULL before _reffing the bus. Fixes #353122.
7600
7601 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
7602
7603         * docs/manual/basics-bus.xml:
7604           Docs update: fix wrong callback return value explanation; add
7605           some lines about the implicit relationship between main loop
7606           and main context; remove duplicate main loop variable declaration.
7607
7608 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
7609
7610         * tests/check/gst/gstcaps.c: (GST_START_TEST):
7611           Don't leak caps in unit test; add a few more simple
7612           checks. 
7613
7614 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
7615
7616         * docs/gst/gstreamer-sections.txt:
7617         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
7618         (gst_caps_structure_is_subset), (gst_caps_merge),
7619         (gst_caps_merge_structure):
7620         * gst/gstcaps.h:
7621         * libs/gst/base/gstbasetransform.c:
7622         (gst_base_transform_transform_caps):
7623         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
7624           implement caps merging (fixes #352580)
7625
7626 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
7627
7628         * tools/Makefile.am:
7629         * tools/gst-plot-timeline.py:
7630           add debug-log plotting developer tool (#340674)
7631
7632 2006-08-23  Wim Taymans  <wim@fluendo.com>
7633
7634         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
7635         (gst_pad_stop_task):
7636         Improve debugging for task functions.
7637
7638         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
7639         (gst_task_start), (gst_task_pause), (gst_task_join):
7640         Make sure that the task function started and finished after a 
7641         join(). 
7642         Don't try to push the task function on the threadpool multiple
7643         times.
7644         Improve the g_warning message with some useful suggestions
7645         about how to fix the problem. 
7646
7647 2006-08-23  Wim Taymans  <wim@fluendo.com>
7648
7649         * gst/gstutils.c: (gst_pad_proxy_getcaps):
7650         Handle RESYNC correctly in _proxy_getcaps.
7651
7652 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
7653
7654         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
7655         (gst_xml_parse_memory), (gst_xml_get_element):
7656           Chain up to parent class in dispose function and also
7657           unref the elements in the toplevel_elements GList.
7658           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
7659           Always return a reference in gst_xml_get_element() rather
7660           than only sometimes.
7661
7662         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
7663           Don't leak GstXml object.
7664
7665 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
7666
7667         * docs/gst/gstreamer-sections.txt:
7668         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
7669         (gst_caps_merge):
7670         * gst/gstcaps.h:
7671         * libs/gst/base/gstbasetransform.c:
7672         (gst_base_transform_transform_caps):
7673           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
7674           in a better way
7675
7676 2006-08-21  Edward Hervey  <edward@fluendo.com>
7677
7678         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
7679         Implement GObject::dispose virtual method in GstXML so we can free the
7680         top_elements GList.
7681
7682 2006-08-21  Wim Taymans  <wim@fluendo.com>
7683
7684         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
7685         (gst_buffer_create_sub):
7686         Copy duration/offset_end/caps when creating a subbuffer of the
7687         complete parent.
7688         Make the subbuffer read-only when we make the metadata writable for
7689         now. Fixes #351768.
7690
7691         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
7692         Added check for metadata copy when creating subbuffers.
7693
7694 2006-08-21  Edward Hervey  <edward@fluendo.com>
7695
7696         * libs/gst/base/gstbasetransform.c:
7697         (gst_base_transform_buffer_alloc):
7698         Only call downstream buffer_alloc if transform element is passthrough
7699         or always_in_place. Closes #350449.
7700
7701 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7702
7703         * ChangeLog:
7704           ChangeLog surgery to add comments to previous changes
7705
7706 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7707
7708         * gst/gst.c:
7709           Add comments
7710
7711         * gst/gstpad.c: (gst_pad_set_active):
7712           Be more verbose in the log
7713
7714         * libs/gst/base/gstbasetransform.c:
7715         (gst_base_transform_transform_caps):
7716           Simplify caps to get rid of duplicates, fixes #345444
7717
7718 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7719
7720         * gst/gstvalue.c:
7721         * gst/gstvalue.h:
7722           Use these optimizations only internally.
7723
7724 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
7725
7726         * gst/gstvalue.c: (gst_value_compare_list),
7727         (gst_value_compare_fraction_range),
7728         (gst_value_intersect_fraction_fraction_range),
7729         (gst_value_intersect_fraction_range_fraction_range),
7730         (gst_value_subtract_fraction_fraction_range),
7731         (gst_value_subtract_fraction_range_fraction_range),
7732         (gst_value_get_compare_func), (gst_value_compare),
7733         (gst_value_compare_with_func):
7734         * gst/gstvalue.h:
7735           Saves the expensive lookup of the compare function in many cases
7736          (#345444)
7737
7738 2006-08-18  Edward Hervey  <edward@fluendo.com>
7739
7740         * tests/check/gst/gstinfo.c: (gst_info_suite):
7741         Disable test that require gstdebug if it wasn't built in core.
7742
7743 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7744
7745         * docs/random/ensonic/logging.txt:
7746           update ideas
7747           
7748         * gst/gstinfo.c: (gst_debug_log_default):
7749           reorder fields, save some columns, add optional color codes for log
7750           levels
7751
7752 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
7753
7754         * docs/random/ensonic/logging.txt:
7755           add ideas about making the logs a bit more useful
7756
7757 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7758
7759         * docs/pwg/advanced-events.xml:
7760         * docs/pwg/titlepage.xml:
7761           Update for 0.10 API (#340627). Add myself
7762           to authors list.
7763
7764 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
7765
7766         * docs/libs/gstreamer-libs-docs.sgml:
7767         * docs/libs/gstreamer-libs-sections.txt:
7768         * libs/gst/check/gstbufferstraw.c:
7769           Make gstcheck stuff show up in docs (still needs to
7770           be documented properly though).
7771
7772 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
7773
7774         * docs/gst/gstreamer-sections.txt:
7775         * gst/Makefile.am:
7776         * gst/gst.c: (init_post):
7777         * gst/gst_private.h:
7778         * gst/gstquark.c: (_priv_gst_quarks_initialize):
7779         * gst/gstquark.h:
7780         * gst/gstquery.c: (gst_query_new_position),
7781         (gst_query_set_position), (gst_query_parse_position),
7782         (gst_query_new_duration), (gst_query_set_duration),
7783         (gst_query_parse_duration), (gst_query_new_convert),
7784         (gst_query_set_convert), (gst_query_parse_convert),
7785         (gst_query_new_segment), (gst_query_set_segment),
7786         (gst_query_parse_segment), (gst_query_new_seeking),
7787         (gst_query_set_seeking), (gst_query_parse_seeking):
7788         Add internal helpers for pre-registering quarks from static strings
7789         and using the quark values directly instead of looking them up when
7790         creating and parsing queries. Can be used for event construction too.
7791         Closes #350432.
7792
7793 2006-08-16  Wim Taymans  <wim@fluendo.com>
7794
7795         * gst/gstbin.c:
7796         Fix bogus docs.
7797
7798 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7799
7800         * gst/gstutils.c: (gst_util_set_value_from_string):
7801           Fix memleak (#351502).
7802
7803         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
7804           Add unit test for most of gst_util_set_value_from_string()
7805           (not that one would want to encourage use of this function).
7806
7807 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7808
7809         * libs/gst/check/gstcheck.h:
7810           Use const gchar * variables in fail_unless_equals_string
7811           macro to avoid compiler warnings (and don't use tabs for
7812           indenting).
7813
7814 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7815
7816         * tools/gst-launch.c: (print_tag):
7817           More space on the left for the tag names, to cater
7818           for the 'extended comment' tag (not touching the
7819           string for the first line since it's translated).
7820
7821 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
7822
7823         * libs/gst/check/gstcheck.h:
7824           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
7825           print something when they fail.
7826
7827 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7828
7829         * docs/gst/gstreamer-sections.txt:
7830         * gst/gsttaglist.c: (_gst_tag_initialize):
7831         * gst/gsttaglist.h:
7832           API: add GST_TAG_EXTENDED_COMMENT (#350935).
7833           Also change merge function for GST_TAG_COMMENT to
7834           use_first.
7835
7836 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7837
7838         * gst/gstinfo.c: (gst_debug_print_object):
7839           Make GST_PTR_FORMAT print messages as well.
7840
7841         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
7842         (GST_START_TEST), (gst_info_suite):
7843           More tests.
7844
7845 2006-08-14  Edward Hervey  <edward@fluendo.com>
7846
7847         * gst/gstelementfactory.c: (gst_element_register):
7848         If the GstElementClass doesn't have a GstElementDetails with all fields
7849         filled up correctly (longname, description AND author), then error out
7850         nicely instead of crashing.
7851
7852 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
7853
7854         * gst/gststructure.c:
7855           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
7856
7857         * gst/gstvalue.h:
7858           Expand on the difference between arrays and lists as we use them.
7859           
7860 2006-08-14  Wim Taymans  <wim@fluendo.com>
7861
7862         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
7863         If the parent state change function failed, don't assume we can safely
7864         stop the source, this will be done when the pads are deactivated.
7865
7866 2006-08-14  Wim Taymans  <wim@fluendo.com>
7867
7868         * gst/gstbuffer.c:
7869         * gst/gsttask.c: (gst_task_join):
7870         Small doc updates.
7871
7872         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7873         (gst_pad_stop_task):
7874         When pad (de)activation failed for some reason, restore the old
7875         activation mode and set the pad to flushing instead of assuming the
7876         pad is deactivated.
7877         If the _task_join() failed, reinstall the task on the pad so that it can
7878         be stopped later and return an error.
7879
7880 2006-08-11  Andy Wingo  <wingo@pobox.com>
7881
7882         * configure.ac:
7883         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7884         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
7885         is only for users of API that don't want to see deprecated
7886         functions in the headers; people that want to compile out
7887         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
7888         CFLAGS. Fixes the build of multifdsink, or will soon..
7889
7890 2006-08-11  Wim Taymans  <wim@fluendo.com>
7891
7892         * docs/gst/gstreamer-sections.txt:
7893         Add GstClockClass vmethod docs.
7894
7895         * gst/gstcaps.h:
7896         Mark #endif with comment for associated #if
7897
7898         * gst/gstclock.c: (gst_clock_id_wait):
7899         * gst/gstclock.h:
7900         Add vmethod wait_jitter to avoid an unneeded _get_time() for
7901         most clock implementations.
7902         Document vmethods.
7903         Flesh out docs about resolution methods.
7904         API: GstClockClass::wait_jitter
7905
7906         * gst/gstsystemclock.c: (gst_system_clock_class_init),
7907         (gst_system_clock_async_thread),
7908         (gst_system_clock_id_wait_jitter_unlocked),
7909         (gst_system_clock_id_wait_jitter):
7910         Use base class wait_jitter variant for improved performance
7911         due to less clock polling.
7912
7913 2006-08-11  Edward Hervey  <edward@fluendo.com>
7914
7915         * gst/gst.c: (gst_init_check), (init_post):
7916         Set gst as being initialized before scanning/updating the registry,
7917         since there might be my python plugin loader that calls gst_init() and
7918         we don't want to loop back in.
7919         Closes #350879
7920
7921 2006-08-11  Wim Taymans  <wim@fluendo.com>
7922
7923         * docs/design/part-qos.txt:
7924         Bring docs in line with the code. Mostly the sign of the jitter was
7925         wrong in the docs. Fixes #349943.
7926
7927         * gst/gstclock.c:
7928         Fix the docs for the jitter.
7929
7930         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
7931         (gst_event_parse_tag), (gst_event_new_buffer_size),
7932         (gst_event_parse_buffer_size), (gst_event_parse_qos),
7933         (gst_event_new_seek), (gst_event_parse_seek),
7934         (gst_event_new_navigation):
7935         Make sure the GstStructure has no parent when creating custom
7936         events.
7937         Add some more argument checking so that we avoid 0.0 rates.
7938         Flesh out the docs for the QoS event some more.
7939
7940 2006-08-11  Wim Taymans  <wim@fluendo.com>
7941
7942         * docs/gst/gstreamer-sections.txt:
7943         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
7944         (ensure_current_registry_forking), (ensure_current_registry),
7945         (parse_one_option), (parse_goption_arg), (gst_deinit),
7946         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
7947         * gst/gst.h:
7948         Doc updates.
7949         Added API and command line option to disable registry forking in
7950         addition to the environment variable.
7951         Constify some static arrays.
7952         Added some more debug.
7953         Don't deinit twice.
7954         API: gst_registry_fork_is_enabled()
7955         API: gst_registry_fork_set_enabled()
7956         API: --gst-disable-registry-fork command line option
7957         Fixes #348918.
7958
7959 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
7960
7961         * gst/gst.c: (gst_init):
7962           Fix typo in error message.
7963
7964 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7965
7966         * libs/gst/controller/gstcontroller.h:
7967           fix ABI size-correction
7968
7969         * tests/check/libs/gdp.c: (gst_dp_suite):
7970           make tests that use deprecated API conditional
7971
7972 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
7973
7974         * docs/libs/gstreamer-libs-sections.txt:
7975         * libs/gst/controller/gstcontroller.c:
7976         (_gst_controller_get_property), (_gst_controller_set_property),
7977         (_gst_controller_init), (_gst_controller_class_init):
7978         * libs/gst/controller/gstcontroller.h:
7979         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
7980         (gst_object_set_control_rate):
7981           API: add gst_object_{s,g}et_control_rate(), add private data section,
7982           fix docs
7983
7984         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
7985         * libs/gst/dataprotocol/dataprotocol.h:
7986           add deprecation guards to make gtk-doc happy and allow disabling cruft
7987
7988 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
7989
7990         * tests/check/Makefile.am:
7991         * tests/check/gst/.cvsignore:
7992           Let's enable the new unit test as well.
7993
7994 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
7995
7996         * configure.ac:
7997         * docs/gst/gstreamer-sections.txt:
7998         * gst/gstconfig.h.in:
7999         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
8000         (_gst_info_printf_extension_ptr),
8001         (_gst_info_printf_extension_segment):
8002           API: add GST_SEGMENT_FORMAT, which is a printf extension we
8003           register that lets us easily dump GstSegments into debug
8004           logs (#350419).
8005
8006         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
8007         (info_segment_format_printf_extension), (gst_info_suite):
8008           Add simple unit test that logs a bunch of different segments (not
8009           valgrinded at the moment because of leaks in
8010           gst_debug_add_log_function).
8011
8012 2006-08-09  Edward Hervey  <edward@fluendo.com>
8013
8014         * libs/gst/base/gstbasetransform.c:
8015         (gst_base_transform_buffer_alloc):
8016         Even if we can't figure out the proper format to request downstream,
8017         call buffer_alloc() downstream with the input parameters without setting
8018         the caps on the srcpad. This will force negotiation in the chain
8019         function.
8020         Closes #350449
8021
8022 2006-08-08  Edward Hervey  <edward@fluendo.com>
8023
8024         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
8025         Unlinking from a pad without a target is now a perfectly valid case
8026         which should NOT raise an assertion.
8027         This case would happen if a linked ghostpad its target set to NULL after
8028         it was previously linked.
8029
8030 2006-08-08  Edward Hervey  <edward@fluendo.com>
8031
8032         * tests/check/libs/gdp.c:
8033         Also comment out the test (see below).
8034
8035 2006-08-08  Edward Hervey  <edward@fluendo.com>
8036
8037         * tests/check/libs/gdp.c: (gst_dp_suite):
8038         Use the architecture information from config.h and not gcc macros
8039         in order to properly disable a test that fails on PPC64.
8040
8041 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
8042
8043         * gst/gstelement.c: (gst_element_remove_pad):
8044           Don't crash printing the warning if the pad has no parent.
8045
8046 2006-08-02  Wim Taymans  <wim@fluendo.com>
8047
8048         * libs/gst/dataprotocol/dataprotocol.c:
8049         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
8050         (gst_dp_crc), (gst_dp_header_payload_length),
8051         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
8052         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
8053         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
8054         (gst_dp_event_from_packet), (gst_dp_validate_header),
8055         (gst_dp_validate_payload):
8056         Make debug category static
8057         Constify the crc table.
8058         Do some more arg checking in public functions.
8059         Fix some docs and do some small cleanups.
8060
8061         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
8062         Add some more checks to see if GDP deals with bogus input.
8063
8064 2006-07-31  Wim Taymans  <wim@fluendo.com>
8065
8066         * gst/gstvalue.c: (gst_value_compare_list):
8067         Fix GstValueList comparison code. Fixes #347293.
8068
8069         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8070         Check to test GstValueList comparison.
8071
8072 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
8073
8074         * gst/gstelementfactory.c: (gst_element_factory_create):
8075         Remove unnecessary ref/unref pair
8076
8077         * gst/parse/grammar.y:
8078         Make sure to free the parse buffer on all code paths.
8079         Move a g_free up to the error handler where it's easier to see.
8080
8081         * tests/check/gst/gstevent.c: (test_event):
8082         Extending timeout for downstream travelling events to 10 seconds to
8083         hopefully avoid intermittent failure on the buildbots.
8084
8085         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
8086         Don't manually set the state of the src element - it will happen as a
8087         natural consequence of the pipeline changing state, and that way it
8088         will do it in the right order too.
8089
8090 2006-07-31  Wim Taymans  <wim@fluendo.com>
8091
8092         * libs/gst/base/gstbasetransform.c:
8093         (gst_base_transform_buffer_alloc):
8094         Use OBJECT_LOCK and refcounting to get the pad caps in the
8095         buffer_alloc function because the caps could change while we are
8096         busy with them. Fixes #349105
8097
8098 2006-07-31  Wim Taymans  <wim@fluendo.com>
8099
8100         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
8101         Protect _PAD_CAPS with OBJECT_LOCK.
8102
8103 2006-07-31  Wim Taymans  <wim@fluendo.com>
8104
8105         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
8106         (gst_pad_get_property), (gst_pad_activate_pull),
8107         (gst_pad_activate_push), (gst_pad_set_blocked_async),
8108         (gst_pad_set_activate_function),
8109         (gst_pad_set_activatepull_function),
8110         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
8111         (gst_pad_set_getrange_function),
8112         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
8113         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
8114         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
8115         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
8116         (gst_pad_set_acceptcaps_function),
8117         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
8118         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
8119         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
8120         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
8121         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
8122         (gst_pad_configure_sink), (gst_pad_configure_src),
8123         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
8124         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
8125         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
8126         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
8127         (gst_pad_send_event):
8128         Use _DEBUG_OBJECT when it makes sense.
8129         Protect GST_PAD_CAPS with the OBJECT_LOCK.
8130         Small cleanups and code reflows.
8131         Avoid caps refcounting in _accept_caps.
8132         Refactor alloc_buffer so that the code performed on the peer is in a
8133         separate function. Also if the pad does not implement a buffer alloc
8134         function, we should still check if the pad is flushing before falling
8135         back to the default allocator.
8136
8137 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
8138
8139         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8140         Make all uses of identity and fakesink have silent=true to avoid
8141         serialising every passing data structure, which is breaking tests
8142         on FC4 for some unknown reason.
8143
8144 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
8145
8146         * gst/parse/Makefile.am:
8147         * gst/parse/grammar.y:
8148         * gst/parse/parse.l:
8149           Reverted previous patch as it required to bump the flex dependency to
8150           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
8151
8152 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
8153
8154         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
8155
8156         * gst/parse/Makefile.am:
8157         * gst/parse/grammar.y:
8158         * gst/parse/parse.l:
8159           push & pop the state of the lexer for reentrant use case
8160           Fixes #349180
8161
8162 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
8163
8164         * libs/gst/base/gstbasesrc.h:
8165           Note in the docs that the ::newsegment vfunc is not actually used by
8166           GstBaseSrc.
8167
8168 2006-07-28  Wim Taymans  <wim@fluendo.com>
8169
8170         * libs/gst/base/gstcollectpads.c:
8171         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
8172         (gst_collect_pads_clear), (gst_collect_pads_flush),
8173         (gst_collect_pads_event), (gst_collect_pads_chain):
8174         When flushing a pad, also clear the queued buffer so that we don't
8175         accidentally use it when we shouldn't.
8176         Fix leaks by inreffing incomming buffer.
8177         Flush out queued buffers in case of errors.
8178         Fixes #347452.
8179
8180 2006-07-28  Wim Taymans  <wim@fluendo.com>
8181
8182         * docs/random/phonon-gst:
8183         Random notes about a Phonon backend.
8184
8185 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
8186
8187         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
8188         Extra debug output
8189         * tests/check/libs/gdp.c: (gst_dp_suite):
8190         Take a whack at fixing the ppc compile using a different define to
8191         disable the broken test.
8192
8193         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8194         Remove excess g_print()
8195
8196 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
8197
8198         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
8199         Oops, meant to uncomment this line too to dampen the noise a bit.
8200
8201 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
8202
8203         * gst/parse/grammar.y:
8204         * gst/parse/parse.l:
8205         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8206         (GST_START_TEST), (parse_suite):
8207         Fix some of the leaks exposed by extending the parse-launch testsuite,
8208         and move the 3 I can't figure out into a separate test that won't run
8209         the pipelines unless the appropriate line is uncommented.
8210
8211 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
8212
8213         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8214           Requesting 0 bytes before the end of the file should result in
8215           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
8216           unit test.
8217
8218 2006-07-27  Wim Taymans  <wim@fluendo.com>
8219
8220         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
8221         Fix useless assert, a uint is always positive.
8222
8223         * gst/gststructure.c: (gst_structure_nth_field_name),
8224         (gst_structure_foreach), (gst_structure_map_in_place):
8225         Check input arguments for public functions to avoid obvious crashes.
8226
8227         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
8228         * plugins/elements/gstfakesink.h:
8229         Do less useless typechecking.
8230
8231 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
8232
8233         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
8234           Do not use mmap() by default since there are a number of error
8235           conditions that we would like to handle in a non-fatal way that
8236           will result in a SIGBUS if we use mmap(). Examples: external
8237           devices (USB harddrive, portable music player) being unplugged
8238           while in use; file on mounted CD/DVD that can't be read because
8239           the medium is partly damaged. Fixes #348455 and #348475.
8240
8241 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
8242
8243         * gst/gstquery.h:
8244         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
8245         rates are a gdouble
8246
8247 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
8248
8249         * gst/gstregistry.c:
8250           Move big documentation comment into class section header, so that it
8251           appears in the API docs.
8252
8253 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8254
8255         * docs/gst/gstreamer-sections.txt:
8256         Oops. Commit the docs additions too for new API.
8257         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
8258
8259 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8260
8261         * gst/gststructure.c: (gst_structure_id_set),
8262         (gst_structure_id_set_valist):
8263         * gst/gststructure.h:
8264         Add API for setting values into structures without performing
8265         a quark lookup, if the appropriate quark is already known.
8266
8267         API: gst_structure_id_set
8268         API: gst_structure_id_set_valist
8269
8270         * gst/parse/grammar.y:
8271         * gst/parse/parse.l:
8272         Remove some dead code shown by the coverage information.
8273         Don't throw a critical g_warning when encountering a syntax error,
8274         just warn and let the normal error path handle it.
8275
8276         * plugins/elements/gstelements.c:
8277         Bump the rank of filesink up to PRIMARY so that it is preferred over
8278         gnomevfssink for file:// sink uri's
8279
8280         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
8281         (GST_START_TEST), (run_delayed_test),
8282         (gst_parse_test_element_base_init),
8283         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
8284         (gst_parse_test_element_change_state),
8285         (gst_register_parse_element), (parse_suite):
8286         Beef up the tests for parse syntax to check that more error cases
8287         fail as they are supposed to. Increases the test coverage a bit.
8288
8289 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
8290
8291         * docs/manual/basics-elements.xml:
8292           Fix gst_element_link() example.
8293
8294         * gst/gstutils.c:
8295           Mention in API docs that one should usually gst_bin_add()
8296           elements to a bin or pipeline before doing the linking.
8297           
8298 2006-07-26  Wim Taymans  <wim@fluendo.com>
8299
8300         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
8301         (gst_subbuffer_get_type), (gst_buffer_create_sub):
8302         Avoid function call for known types by keeping the buffer and
8303         subbuffer GType global.
8304
8305         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8306         Random silly optimisations in read() path.
8307
8308 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
8309
8310         * tools/gst-launch.c: (main):
8311           If the top-level of the parse is a normal bin, it doesn't do the
8312           right logic to run as a top-level element, so place it inside a
8313           pipeline.
8314
8315 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
8316
8317         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
8318           Remove superfluous g_object_notify() calls, GObject does
8319           that for us automatically.
8320
8321 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
8322
8323         * gst/gstinfo.h:
8324           on Win32, use dllspec to export the debug category symbols
8325
8326 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
8327
8328         * gst/gsttaglist.c: (_gst_tag_initialize):
8329           Allow more than one GST_TAG_IMAGE per taglist.
8330
8331 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8332
8333         * gst/gstminiobject.c:
8334           update docs
8335         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
8336         (gst_fd_src_create):
8337           log recurring events at LOG level
8338           add more debug for when the fd gets set
8339
8340 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8341
8342         * gst/gstparse.c: (gst_parse_launch):
8343           Also remove reentrance checks if flex is MT safe (#348179)
8344          Fix my empty ChangeLog entry below
8345
8346 2006-07-21  Andy Wingo  <wingo@pobox.com>
8347
8348         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
8349
8350         * libs/gst/check/Makefile.am
8351         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
8352         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
8353         * libs/gst/check/gstbufferstraw.h:
8354         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
8355         functions, thus proving I am still a GStreamer haxor. OK I wrote
8356         them a long time ago, but anyways.
8357
8358 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
8359
8360         * configure.ac:
8361         * gst/gstparse.c: (gst_parse_launch):
8362           Check for flex version and omit mutex if we have a MT save flex
8363           (fixes #348179)
8364
8365 2006-07-21  Wim Taymans  <wim@fluendo.com>
8366
8367         * gst/gstparse.c: (gst_parse_launch):
8368         Protect recursive calls to _parse with a recursive mutex
8369         and busy flag.
8370
8371 2006-07-21  Wim Taymans  <wim@fluendo.com>
8372
8373         * tests/check/gst/gstpad.c: (GST_START_TEST):
8374         Fix leak in test.
8375
8376 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
8377
8378         * gst/gstparse.c: (gst_parse_launch):
8379           Do not hang on recursive usage of gst_parse_launch()
8380
8381 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8382
8383         * gst/gsttaglist.c:
8384           Add some more docs, comments and FIXME 0.11s here and there
8385           and also fix some typos.
8386
8387 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
8388
8389         * gst/gstsegment.h:
8390           Convert tabs to spaces for better readability. 
8391
8392 2006-07-20  Edward Hervey  <edward@fluendo.com>
8393
8394         * tests/check/libs/gdp.c: (gst_dp_suite):
8395         the test_buffer test fails at line 140 on ppc64 at the following
8396         check:
8397         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
8398                 GST_BUFFER_FLAG_IN_CAPS),
8399                 "GST_BUFFER_IN_CAPS flag should have been copied !");
8400         See bug #348114 for more details.
8401
8402 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
8403
8404         * docs/pwg/advanced-scheduling.xml:
8405         * gst/gstpad.c:
8406           Fix typos (#348000).
8407
8408 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
8409
8410         * docs/pwg/intro-basics.xml:
8411           Fix wrong links (#347927).
8412
8413 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
8414
8415         * gst/gstregistry.h:
8416         * gst/gstregistryxml.c: (load_feature),
8417         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
8418         * win32/common/config.h:
8419           make --disable-index work (#342564)
8420
8421 2006-07-18  Wim Taymans  <wim@fluendo.com>
8422
8423         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8424
8425         * gst/Makefile.am:
8426         * gst/gsttrace.h:
8427         The attached patch adds two missing defines to gsttrace.h when tracing
8428         is disabled.  It also corrects one existing define.
8429         Fixes #347756.
8430
8431 2006-07-17  Wim Taymans  <wim@fluendo.com>
8432
8433         * docs/gst/gstreamer-sections.txt:
8434         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
8435         * gst/gst.h:
8436         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
8437         Add two functions to check and change the SIGSEGV behaviour
8438         when loading plugins.
8439         Don't mess with the SIGSEGV handler when we were told not to.
8440         Fixes #347794.
8441         API: gst_segtrap_is_enabled
8442         API: gst_segtrap_set_enabled
8443
8444 2006-07-14  Wim Taymans  <wim@fluendo.com>
8445
8446         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8447         * tests/check/elements/filesrc.c: (GST_START_TEST):
8448         Revert fix for regression in #347408 after release.
8449
8450 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
8451
8452         Patch by: Antoine Tremblay <hexa00 at gmail com>
8453
8454         * gst/gstutils.c: (gst_element_unlink):
8455           Free iterator when done (#347311).
8456
8457         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
8458           And add a test case for this.
8459
8460 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
8461
8462         * configure.ac:
8463         Bump nano back to CVS
8464
8465 === release 0.10.9 ===
8466
8467 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
8468
8469         * configure.ac:
8470           releasing 0.10.9, "On the road again"
8471
8472 2006-07-13  Wim Taymans  <wim@fluendo.com>
8473
8474         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8475         * tests/check/elements/filesrc.c: (GST_START_TEST):
8476         Revert pull-0 fix for release. Disable check. Fixes #347408.
8477
8478 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8479
8480         * libs/gst/dataprotocol/dataprotocol.c:
8481         (gst_dp_event_from_packet_1_0):
8482           Fixes #347337: failure to deserialize event packets with
8483           empty payload (only event type)
8484
8485 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8486
8487         * gst/Makefile.am:
8488           do not install a .c file in the header directory
8489
8490 2006-07-13  Edward Hervey  <edward@fluendo.com>
8491
8492         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
8493         GhostPad no longer implicitely use the padtemplates of the targets.
8494         Fixes #347384
8495
8496 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
8497
8498         * gst/gstvalue.c: (gst_value_compare_list),
8499         (gst_value_compare_array), (_gst_value_initialize):
8500         * tests/check/gst/gstvalue.c: (GST_START_TEST):
8501         Make GstValueArray comparison be order dependent as designed.
8502         Add checks for value lists and value array comparisons.
8503         Fixes #347221
8504
8505 2006-07-11  Edward Hervey  <edward@fluendo.com>
8506
8507         * gst/gstbin.c: (activate_pads),
8508         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
8509         (gst_bin_change_state_func):
8510         (de)activate src pads before calling state_change on the childs.
8511         This is to avoid the case where a src ghostpad is blocked (holding the
8512         stream lock), which would block the deactivation of the ghostpad's
8513         target pad.
8514         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
8515         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
8516         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
8517         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
8518         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
8519         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
8520         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
8521         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
8522         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
8523         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
8524         (gst_ghost_pad_class_init),
8525         (gst_ghost_pad_internal_do_activate_push),
8526         (gst_ghost_pad_internal_do_activate_pull),
8527         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
8528         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
8529         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
8530         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
8531         GhostPads now create their internal GstProxyPad at creation (and not
8532         when they're linked, as it was being done previously).
8533         The internal and target pads are linked straight away.
8534         The data will also travel through the other pad in order to make
8535         pad blocking and probes non-hackish (the probe/block now really happens
8536         on the GhostPad and not on the target).
8537         * gst/gstpad.c: (gst_pad_set_blocked_async),
8538         (gst_pad_link_prepare), (gst_pad_push_event):
8539         Remove previous ghostpad cruft.
8540         * gst/gstutils.c: (gst_pad_add_data_probe),
8541         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
8542         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
8543         (gst_pad_remove_buffer_probe):
8544         Remove previous ghost pad cruft.
8545         Added more detailed debug statements.
8546         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
8547         Fix the testsuite for refcounting changes.
8548         The comments about who has references were correct, but the refcount
8549         being checked wasn't the same (!?!).
8550
8551         Fixes #341029
8552
8553 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8554
8555         * docs/gst/gstreamer-sections.txt:
8556         * gst/gstconfig.h.in:
8557         More docs for configuration options, add docs to gtk-doc.
8558
8559 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
8560
8561         * gst/Makefile.am:
8562         * gst/gstconfig.h.in:
8563         * win32/common/config.h:
8564         Fix build when disabling tracing (fixes #344016). Also start to document
8565         the defines that disable the sub-systems.
8566
8567 2006-07-10  Edward Hervey  <edward@fluendo.com>
8568
8569         * gst/gst.c: (ensure_current_registry_forking):
8570         let's make valgrind happy...
8571
8572 2006-07-09  Wim Taymans  <wim@fluendo.com>
8573
8574         * gst/gstelement.c: (activate_pads),
8575         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
8576         Better pad activation code: Reset the collect value too on resync.
8577         Add some comments.
8578
8579 2006-07-09  Wim Taymans  <wim@fluendo.com>
8580
8581         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
8582         (gst_pad_activate_push):
8583         Use some more macros where it makes sense.
8584         Allow pad mode switching instead of asserting. When a pad
8585         is activated in one mode and we activate it in another, 
8586         deactivate it first before activating it in a different mode.
8587         Fixes #329198.
8588
8589 2006-07-08  Andy Wingo  <wingo@pobox.com>
8590
8591         * tools/gst-launch.c (main): Handle err == NULL.
8592
8593         * gst/gst.c (init_post, ensure_current_registry)
8594         (ensure_current_registry_forking)
8595         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
8596         factoring out the registry scanning into separate functions. Don't
8597         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
8598         Better environment var name/interface suggestions accepted.
8599
8600 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8601
8602         * gst/gstobject.c: (gst_object_set_name_default),
8603         (gst_object_set_name):
8604           Random micro-optimisation: don't use a hash table
8605           with strings as keys and the usual strdup/strcmp
8606           involved, but rather just use the GQuark of the
8607           type name as key, since it needs to be looked up
8608           anyway to get the type name string.
8609
8610         * tests/check/gst/gstobject.c: (GST_START_TEST):
8611           Fix various leaks.
8612
8613 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8614
8615         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
8616         (gst_bin_iterate_all_by_interface):
8617           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
8618           GTypes are gulongs and thus the top 4 bytes might be cut
8619           off on some platforms when doing GPOINTER_TO_INT, leading
8620           to invalid GTypes and bad things happening (see RH bug #179654).
8621           Also add a check to make sure the type passed in is really
8622           an interface type.
8623
8624 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8625
8626         * .cvsignore:
8627           Ignore more.
8628
8629 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
8630
8631         * Makefile.am:
8632         * configure.ac:
8633         * gst-element-check.m4:
8634         * gst-element-check.m4.in:
8635           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
8636           instead of the unversioned gst-inspect (#324176, #168659).
8637
8638 2006-07-06  Wim Taymans  <wim@fluendo.com>
8639
8640         * gst/gstmessage.h:
8641         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
8642         warnings.
8643
8644 2006-07-06  Wim Taymans  <wim@fluendo.com>
8645
8646         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
8647         (gst_base_src_wait), (gst_base_src_update_length),
8648         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
8649         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
8650         (gst_base_src_loop), (gst_base_src_start),
8651         (gst_base_src_activate_pull):
8652         Update docs.
8653         blocksize == 0 now means the default blocksize when working in push
8654         based mode.
8655         Remove some pointless asserts in _wait function.
8656         Fix offset/length calculations and EOS handling. We can now pull 0
8657         bytes as well, which is allowed.
8658         use _check_get_range() to decide if we can operate in _pull based
8659         mode.
8660         Fix refcounting leak when check_get_range function was not 
8661         implemented.
8662         API GstBaseSrc::blocksize range can be 0 too now (default)
8663
8664         * tests/check/elements/filesrc.c: (GST_START_TEST),
8665         (filesrc_suite):
8666         Added check to test _get_range() behaviour.
8667
8668 2006-07-06  Wim Taymans  <wim@fluendo.com>
8669
8670         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
8671         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
8672         (gst_pad_pull_range):
8673         * gst/gstpad.h:
8674         Lots of comments and docs added to the pad functions.
8675         Flesh out the expected behaviour of the get_range() functions.
8676
8677 2006-07-06  Wim Taymans  <wim@fluendo.com>
8678
8679         * gst/gstbus.h:
8680         * gst/gstclock.h:
8681         * gst/gstevent.h:
8682         * gst/gstiterator.h:
8683         * gst/gstpad.h:
8684         * gst/gstplugin.h:
8685         * gst/gsttask.h:
8686         Remove comma at end of enumerator list. 
8687
8688 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
8689
8690         * win32/common/libgstbase.def:
8691         * win32/common/libgstdataprotocol.def:
8692         * win32/common/libsgtreamer.def:
8693         Add new exported functions.
8694
8695 2006-07-05  Wim Taymans  <wim@fluendo.com>
8696
8697         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
8698         Add some more docs here and there.
8699
8700 2006-07-05  Wim Taymans  <wim@fluendo.com>
8701
8702         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
8703         (gst_base_sink_loop), (gst_base_sink_get_position):
8704         When operating in pull mode update the offset so that we
8705         read sequentially.
8706
8707 2006-07-05  Wim Taymans  <wim@fluendo.com>
8708
8709         * gst/gstregistryxml.c: (read_string):
8710         Avoid strdup. (will happen in libxml, but hey!)
8711
8712         * gst/gsturi.c:
8713         Add some more docs.
8714
8715 2006-07-05  Wim Taymans  <wim@fluendo.com>
8716
8717         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
8718         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
8719         (gst_buffer_suite):
8720         No point in checking if the size of the subbuffer > 0, the
8721         code handles it correclty as demonstrated by unit test.
8722         Also add a unit test for the zero sized _new_and_alloc and
8723         _copy. Fixes #346663.
8724
8725 2006-07-05  Wim Taymans  <wim@fluendo.com>
8726
8727         * libs/gst/base/gstbasetransform.c:
8728         (gst_base_transform_prepare_output_buffer),
8729         (gst_base_transform_buffer_alloc),
8730         (gst_base_transform_handle_buffer):
8731         Make sure the buffer we pass to transform_ip has a refcount of
8732         1 and thus is writable. Fixes #343196
8733
8734 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
8735
8736         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
8737         (gst_file_src_init), (gst_file_src_set_property),
8738         (gst_file_src_get_property), (gst_file_src_map_region):
8739         * plugins/elements/gstfilesrc.h:
8740         Add "sequential" property, off by default, to use madvise and hint
8741         to the kernel that sequential access is desired.
8742         Touch all retrieved pages by default to ensure they are pulled
8743         into memory. (Closes #345720)
8744
8745 2006-07-03  Wim Taymans  <wim@fluendo.com>
8746
8747         * docs/design/part-block.txt:
8748         * docs/design/part-dynamic.txt:
8749         Small docs updates.
8750
8751 2006-07-03  Wim Taymans  <wim@fluendo.com>
8752
8753         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
8754         (gst_caps_unref), (gst_static_caps_get),
8755         (gst_caps_append_structure):
8756         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
8757         Use GSlice when the glib we build against is >= 2.10
8758
8759 2006-07-03  Wim Taymans  <wim@fluendo.com>
8760
8761         * gst/gstelement.c: (gst_element_pads_activate):
8762         Small cleanup in pad activation code.
8763
8764 2006-07-03  Wim Taymans  <wim@fluendo.com>
8765
8766         Patch by: Peter Kjellerstedt <pkj at axis dot com>
8767
8768         * gst/gst-i18n-app.h:
8769         * gst/gst-i18n-lib.h:
8770         * tools/gst-inspect.c: (print_signal_info):
8771         The attached patch will make the inclusion of gettext.h unconditional in
8772         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
8773         libintl.h in tools/gst-inspect.c.
8774         This allows use of --disable-nls again and fixes #344642.
8775
8776 2006-07-03  Edward Hervey  <edward@fluendo.com>
8777
8778         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
8779         Implement pad blocking on events according to part-block.txt.
8780         More comments on behaviour.
8781         * tests/check/gst/gstevent.c: (test_event):
8782         Send event to peer pad of blocked pad (else it will block).
8783
8784 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8785
8786         * libs/gst/check/gstcheck.c: (gst_check_message_error),
8787         (gst_check_run_suite):
8788           if we get the wrong message, give us the types as string
8789         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8790           Fix a translatable
8791         * tests/check/elements/filesrc.c: (GST_START_TEST):
8792           add a test for trying to open a non-existing file
8793
8794 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8795
8796         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
8797           add a test for adding self
8798
8799 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
8800
8801         * libs/gst/check/gstcheck.h:
8802           add some assert_ as alias for fail_unless_*
8803         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
8804           increase test coverage
8805
8806 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8807
8808         * Makefile.am:
8809           include lcov.mak for lcov coverage generation
8810         * tools/Makefile.am:
8811           add to CLEANFILES
8812
8813 2006-07-02  Edward Hervey  <edward@fluendo.com>
8814
8815         * tests/check/elements/.cvsignore:
8816         moaping
8817
8818 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8819
8820         * configure.ac:
8821           don't set CFLAGS and friends for gcov, done from GST_GCOV now
8822         * tests/check/Makefile.am:
8823           clean up gcov files
8824
8825 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8826
8827         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
8828           remove gst_caps_simplify; it was not declared and not used
8829           and deprecated in 0.8
8830
8831 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8832
8833         * docs/faq/gst-uninstalled:
8834           don't put empty paths on PYTHONPATH
8835         * docs/gst/gstreamer-sections.txt:
8836           remove some symbols that are not there
8837
8838 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8839
8840         * gst/gstcaps.c: (gst_caps_compare_structures):
8841           whitespace fixes
8842         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
8843         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
8844           add more tests
8845
8846 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8847
8848         * libs/gst/dataprotocol/Makefile.am:
8849           build dataprotocol test by linking to the lib, instead of
8850           compiling the source, so we get coverage
8851         * tests/check/Makefile.am:
8852         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
8853         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
8854           add a test for filesrc
8855
8856 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8857
8858         * tests/check/gst/gststructure.c: (GST_START_TEST),
8859         (gst_structure_suite):
8860           Push coverage from 59.04% to 70.00%
8861
8862 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8863
8864         * tests/check/Makefile.am:
8865           gst-inspect every element; this makes sure that we also get
8866           coverage on element's get/set functions
8867
8868 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
8869
8870         * configure.ac:
8871           set CFLAGS and friends to -O0 if gcov is being used
8872           add GCOV LIBS
8873         * gst/Makefile.am:
8874         * libs/gst/base/Makefile.am:
8875         * libs/gst/check/Makefile.am:
8876         * libs/gst/controller/Makefile.am:
8877         * libs/gst/dataprotocol/Makefile.am:
8878         * libs/gst/net/Makefile.am:
8879         * plugins/elements/Makefile.am:
8880         * plugins/indexers/Makefile.am:
8881           add makefile rules to generate gcov data and clean up
8882         * tests/check/Makefile.am:
8883           add a coverage target that generates an html overview
8884           of coverage data
8885
8886 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8887
8888         * tests/check/elements/fakesink.c:
8889         * tests/check/elements/fakesrc.c:
8890         * tests/check/elements/fdsrc.c:
8891         * tests/check/elements/identity.c:
8892         * tests/check/generic/sinks.c: (gst_sinks_suite):
8893         * tests/check/generic/states.c:
8894         * tests/check/gst/gst.c:
8895         * tests/check/gst/gstabi.c:
8896         * tests/check/gst/gstbin.c:
8897         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
8898         * tests/check/gst/gstbus.c: (gst_bus_suite):
8899         * tests/check/gst/gstcaps.c: (GST_START_TEST):
8900         * tests/check/gst/gstelement.c:
8901         * tests/check/gst/gstevent.c: (gst_event_suite):
8902         * tests/check/gst/gstghostpad.c:
8903         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
8904         * tests/check/gst/gstmessage.c: (gst_message_suite):
8905         * tests/check/gst/gstminiobject.c:
8906         * tests/check/gst/gstobject.c:
8907         * tests/check/gst/gstpad.c:
8908         * tests/check/gst/gstpipeline.c:
8909         * tests/check/gst/gstplugin.c:
8910         * tests/check/gst/gstquery.c: (gst_query_suite):
8911         * tests/check/gst/gstsegment.c: (gst_segment_suite):
8912         * tests/check/gst/gststructure.c:
8913         * tests/check/gst/gstsystemclock.c:
8914         * tests/check/gst/gsttag.c:
8915         * tests/check/gst/gsttask.c: (gst_task_suite):
8916         * tests/check/gst/gstutils.c:
8917         * tests/check/gst/gstvalue.c:
8918         * tests/check/libs/adapter.c:
8919         * tests/check/libs/basesrc.c:
8920         * tests/check/libs/collectpads.c:
8921         * tests/check/libs/controller.c:
8922         * tests/check/libs/gdp.c: (gst_dp_suite):
8923         * tests/check/libs/gstnetclientclock.c:
8924         * tests/check/libs/gstnettimeprovider.c:
8925         * tests/check/libs/libsabi.c: (libsabi_suite):
8926         * tests/check/libs/typefindhelper.c:
8927         * tests/check/pipelines/cleanup.c:
8928         * tests/check/pipelines/parse-launch.c:
8929         * tests/check/pipelines/simple-launch-lines.c:
8930         * tests/check/pipelines/stress.c: (stress_suite):
8931           use the new macro
8932
8933 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
8934
8935         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
8936         * libs/gst/check/gstcheck.h:
8937           create a macro and function so that the simple unit test
8938           case can be just one macro to create main()
8939
8940 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
8941
8942         * gst/gstbin.c: (gst_bin_restore_thyself):
8943         * gst/gstxml.c: (gst_xml_make_element):
8944           Fix deserialisation from XML. Set parent manually
8945           instead of using gst_bin_add(), since gst_bin_add()
8946           will unlink all pads of the element being added.
8947           Fixes #341667.
8948
8949 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
8950
8951         Patch by: Peter Kjellerstedt <pkj at axis com>
8952
8953         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
8954           Fix missing g_strdup() and double free when using the
8955           --gst-plugin-load command line option (#346097).
8956
8957 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8958
8959         * gst/gstinfo.c:
8960           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
8961
8962         * libs/gst/net/gstnetclientclock.c:
8963         * libs/gst/net/gstnettimeprovider.c:
8964           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
8965
8966 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
8967
8968         * docs/manual/advanced-dataaccess.xml:
8969           Fix buffer probe example compilation in
8970           ADM (#345708).
8971         
8972 2006-06-22  Edward Hervey  <edward@fluendo.com>
8973
8974         * gst/gstelement.c: (gst_element_pads_activate):
8975         We need to deactivate src pads first and then sink pads.
8976         The reason is the src pads might be blocking while holding the streaming
8977         lock, so we need to deactivate them first so that deactivating the sink
8978         pads doesn't block (since it will require the streaming lock).
8979
8980 2006-06-22  Wim Taymans  <wim@fluendo.com>
8981
8982         * libs/gst/base/gstbasetransform.c:
8983         (gst_base_transform_buffer_alloc):
8984         Forgot to remove two unneeded unrefs.
8985         Simplify a check _is_equal allready checks the obvious case.
8986
8987 2006-06-22  Wim Taymans  <wim@fluendo.com>
8988
8989         * docs/design/part-block.txt:
8990         Some docs about what pad_block should do.
8991
8992 2006-06-22  Wim Taymans  <wim@fluendo.com>
8993
8994         * gst/gstcaps.c: (gst_caps_replace):
8995         Fix crasher when passed NULL. Doc clarification.
8996         Optimize for the trivial case.
8997
8998         * gst/gstpipeline.c: (gst_pipeline_change_state):
8999         Small cleanups.
9000
9001         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
9002         Small documentation cleanup.
9003
9004         * libs/gst/base/gstbasetransform.c:
9005         (gst_base_transform_buffer_alloc):
9006         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
9007         is what we need and it avoids a whole lot of redundant 
9008         refcount operations.
9009
9010 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
9011
9012         Patch by: Philip Jägenstedt  <philip at lysator liu se>
9013
9014         * docs/manual/advanced-dataaccess.xml:
9015           Fix 'Embedding static elements' section to use
9016           GST_PLUGIN_DEFINE_STATIC (#345607).
9017
9018 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9019
9020         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
9021           Attempt to 'fix' spuriously failing test case: it seems like the
9022           timeout of half a second is simply too small when the system is under
9023           load otherwise, and the timeout doesn't really seem to serve any
9024           particular purpose here. Give the pipeline a few seconds to preroll
9025           first, and then give it another half a second to go from PAUSED to
9026           PLAYING and marshal the message into the main thread.
9027
9028 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9029
9030         * tools/gst-feedback-m.m:
9031           Don't only use unversioned tools, try versioned tools as well
9032           (#345086).
9033
9034 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
9035
9036         * gst/gstbus.c: (gst_bus_class_init):
9037           Fix some typos, make docs more explicit.
9038
9039 2006-06-20  Wim Taymans  <wim@fluendo.com>
9040
9041         * tests/check/gst/gstghostpad.c: (block_callback),
9042         (GST_START_TEST), (gst_ghost_pad_suite):
9043         Added some more ghostpad tests, mainly blocking
9044         and probes.
9045
9046 2006-06-16  Wim Taymans  <wim@fluendo.com>
9047
9048         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9049         (gst_file_sink_close_file), (gst_file_sink_do_seek),
9050         (gst_file_sink_event), (gst_file_sink_render):
9051         * plugins/elements/gstfilesink.h:
9052         Check if we can seek in the file instead of assuming
9053         we always can. Post an error when we are asked to seek in a
9054         non-seekable file (like a fifo). Fixes #343312.
9055         Some cleanups.
9056
9057 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
9058
9059         * tools/gst-launch.1.in:
9060           Un-garble (fourcc) bit in filtered caps section.
9061
9062 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
9063
9064         * docs/manual/advanced-autoplugging.xml:
9065         * docs/manual/basics-helloworld.xml:
9066         * docs/manual/highlevel-components.xml:
9067           Don't leak bus reference in sample code.
9068
9069 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
9070
9071         * autogen.sh:
9072           Add default for new --enable-plugin-docs switch.
9073
9074         * configure.ac:
9075           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
9076           Fixes #344039.
9077
9078         * docs/Makefile.am:
9079           Use new ENABLE_PLUGIN_DOCS conditional.
9080
9081 2006-06-14  Wim Taymans  <wim@fluendo.com>
9082
9083         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
9084         Make it clear with a FIXME and a real define what the #if 0
9085         previously disabled.
9086
9087 2006-06-14  Wim Taymans  <wim@fluendo.com>
9088
9089         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
9090         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9091         * libs/gst/base/gstbasetransform.c:
9092         (gst_base_transform_sink_eventfunc):
9093         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
9094         Don't randomly and silently reset a segment when the format 
9095         changes as this is a bug somewhere upstream. Fixes #330379.
9096
9097 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
9098
9099         Patch by: Wouter Paesen  <wouter at kangaroot net>
9100
9101         * libs/gst/controller/gstcontroller.c:
9102         (gst_controlled_property_new):
9103           Fix controlling of float properties (#344849).
9104
9105         * tests/check/libs/controller.c:
9106         (gst_test_mono_source_get_property),
9107         (gst_test_mono_source_set_property),
9108         (gst_test_mono_source_class_init), (GST_START_TEST):
9109           While we're at it, add some float stuff to unit test.
9110
9111 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9112
9113         * docs/README:
9114         * docs/images/gdp-header.svg:
9115           add a gdp image
9116         * docs/libs/Makefile.am:
9117         * docs/libs/gdp-header.png:
9118         * libs/gst/dataprotocol/dataprotocol.c:
9119           add it to the API docs
9120         * docs/manual/intro-motivation.xml:
9121           fix typo
9122
9123 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
9124
9125         * gst/gst.c: (scan_and_update_registry), (init_post):
9126           If the fork()'ed child process can't write the updated registry cache
9127           file to disk for some reason, make it exit with a failure exit code,
9128           so that the parent can then re-scan the plugins itself and update the
9129           registry structures in memory and work with that (rather than failing
9130           when creating elements because seemingly no plugins are available).
9131           Refactor registry scanning code into separate function for this and
9132           also separate fork() and non-fork() code paths. Fixes #344748.
9133
9134 2006-06-13  Wim Taymans  <wim@fluendo.com>
9135
9136         * docs/manual/advanced-dataaccess.xml:
9137         Fix wrong PluginDesc. Fixes #344755.
9138
9139 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
9140
9141         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9142           Fix silly bug that prevented us from creating
9143           ~/.gstreamer-0.10 and writing the registry in one
9144           go (the first call to g_mkstemp() would overwrite the
9145           placeholder in the template string, so the second call
9146           to g_mkstemp() after creating the missing directory
9147           would then error out with 'invalid argument').
9148
9149 2006-06-13  Edward Hervey  <edward@fluendo.com>
9150
9151         * gst/gst.c: (init_post):
9152         Free string.
9153
9154 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
9155
9156         * gst/glib-compat-private.h:
9157         * gst/glib-compat.c:
9158         * gst/glib-compat.h:
9159         * gst/gstvalue.c: (gst_value_serialize_flags):
9160           remove GLib 2.6 compatibility code
9161
9162 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
9163
9164         * gst/parse/Makefile.am:
9165           Fix build with 'make -j N' even more (#340016).
9166
9167 2006-06-12  Wim Taymans  <wim@fluendo.com>
9168
9169         * docs/gst/gstreamer-sections.txt:
9170         Fix docs.
9171
9172 2006-06-12  Wim Taymans  <wim@fluendo.com>
9173
9174         * gst/gstsegment.c: (gst_segment_set_duration),
9175         (gst_segment_set_last_stop), (gst_segment_set_seek),
9176         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9177         (gst_segment_to_running_time), (gst_segment_clip):
9178         Use G_UNLIKELY to help the compiler a bit.
9179
9180 2006-06-12  Wim Taymans  <wim@fluendo.com>
9181
9182         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
9183
9184         * gst/gstevent.c: (gst_event_get_type):
9185         * gst/gstmessage.c:
9186         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
9187         (gst_pad_push):
9188         constify quark registration strings. Fixes #344115
9189         Avoid unneeded type checking is _pad_push() by internally
9190         calling gst_pad_chain_unchecked().
9191
9192 2006-06-12  Wim Taymans  <wim@fluendo.com>
9193
9194         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
9195         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
9196         (gst_subbuffer_finalize), (gst_buffer_create_sub),
9197         (gst_buffer_is_span_fast), (gst_buffer_span):
9198         Init _type for consistency.
9199         Use _FLAGS macro to avoid type check.
9200         Avoid unneeded type checks in subbufer code.
9201
9202 2006-06-12  Wim Taymans  <wim@fluendo.com>
9203
9204         * gst/gst.c: (gst_debug_help):
9205         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
9206         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
9207         (gst_plugin_feature_list_free):
9208         * gst/gstregistry.c: (gst_registry_add_plugin),
9209         (gst_registry_add_feature), (gst_registry_plugin_filter),
9210         (gst_registry_feature_filter), (gst_registry_find_plugin),
9211         (gst_registry_find_feature), (gst_registry_get_plugin_list),
9212         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
9213         * gst/gstregistryxml.c: (load_feature),
9214         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
9215         * gst/gstminiobject.c: (gst_mini_object_unref),
9216         (gst_mini_object_replace), (gst_value_mini_object_free),
9217         (gst_value_mini_object_copy):
9218         Use _CAST macros to avoid unneeded type checking.
9219         Added some more G_UNLIKELY.
9220
9221 2006-06-12  Wim Taymans  <wim@fluendo.com>
9222
9223         * gst/gstbuffer.h:
9224         Avoid unneeded type checking.
9225         API: GST_BUFFER_IS_DISCONT
9226
9227         * gst/gstminiobject.h:
9228         Avoid type check in flag accessor.
9229
9230         * gst/gstelementfactory.h:
9231         * gst/gstplugin.h:
9232         * gst/gstpluginfeature.h:
9233         Add _CAST macros.
9234         API: GST_ELEMENT_FACTORY_CAST
9235         API: GST_PLUGIN_CAST
9236         API: GST_PLUGIN_FEATURE_CAST
9237
9238 2006-06-12  Wim Taymans  <wim@fluendo.com>
9239
9240         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
9241         (gst_object_unref):
9242         Add G_UNLIKELY in type registration.
9243         Avoid type check in _ref/_unref since that is also
9244         done in glib.
9245
9246 2006-06-12  Wim Taymans  <wim@fluendo.com>
9247
9248         * gst/gsterror.c: (gst_g_error_get_type):
9249         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
9250         (gst_static_pad_template_get_type):
9251         * gst/gsttaglist.c: (gst_tag_list_get_type):
9252         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
9253         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
9254         * gst/gsturi.c: (gst_uri_handler_get_type):
9255         * gst/gstvalue.c: (gst_date_get_type):
9256         * gst/gstxml.c: (gst_xml_get_type):
9257         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
9258         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
9259         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
9260         Add G_UNLIKELY in type registration.
9261
9262 2006-06-12  Wim Taymans  <wim@fluendo.com>
9263
9264         * tools/gst-inspect.c: (print_signal_info):
9265         Properly print enum values.
9266
9267 2006-06-12  Wim Taymans  <wim@fluendo.com>
9268
9269         * gst/gstinfo.c: (gst_debug_set_active),
9270         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
9271         * gst/gstinfo.h:
9272         Add some G_[UN]LIKELY.
9273         Maintain __gst_debug_min to avoid formatting the arguments of
9274         debug messages that will be dropped anyway to avoid a lot of 
9275         overhead from the debugging system.
9276
9277 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9278
9279         * po/POTFILES.in:
9280         * po/POTFILES.skip:
9281           add missing files containing translatable strings, tell intltool about
9282           one exception
9283
9284 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9285
9286         * tests/check/libs/.cvsignore:
9287         add test-binary to ignore list
9288
9289 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
9290
9291         * docs/libs/gstreamer-libs-docs.sgml:
9292         reorder (put dp into a chapter) and indent
9293
9294 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9295
9296         * configure.ac:
9297           back to HEAD
9298
9299 === release 0.10.8 ===
9300
9301 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
9302
9303         * configure.ac:
9304           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
9305
9306 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9307
9308         * gst/gst.c: (init_post):
9309           move pid declaration to declaration block
9310
9311 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9312
9313         * gst/gst.c: (init_post):
9314           use _exit() instead of exit() in our forked child; this ensures
9315           that none of the registered exit handlers from whatever is using
9316           GStreamer get executed.  This fixes gnome-mixer-applet failing
9317           to load, because ORBit would shut down.
9318           Spotted by: Edward Hervey  <edward@fluendo.com>
9319           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
9320           Fixes #344474
9321
9322 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9323
9324         * configure.ac:
9325           back to TRUNK
9326
9327 === release 0.10.7 ===
9328
9329 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
9330
9331         * configure.ac:
9332           releasing 0.10.7, "Soepeke, ik zie ou"
9333
9334 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9335
9336         * configure.ac:
9337         * po/af.po:
9338         * po/az.po:
9339         * po/bg.po:
9340         * po/ca.po:
9341         * po/cs.po:
9342         * po/de.po:
9343         * po/en_GB.po:
9344         * po/fr.po:
9345         * po/it.po:
9346         * po/nb.po:
9347         * po/nl.po:
9348         * po/ru.po:
9349         * po/sq.po:
9350         * po/sr.po:
9351         * po/sv.po:
9352         * po/tr.po:
9353         * po/uk.po:
9354         * po/vi.po:
9355         * po/zh_CN.po:
9356         * po/zh_TW.po:
9357         * win32/common/config.h:
9358           0.10.6.2 prerelease
9359
9360 2006-06-07  Wim Taymans  <wim@fluendo.com>
9361
9362         * gst/gstindex.c: (gst_index_gtype_resolver):
9363         * tools/gst-xmlinspect.c: (print_plugin_info):
9364         Fix leak spotted by coverity checker. Fixes #343827
9365         Fix another other leak found by paolo borelli.
9366
9367 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9368
9369         * libs/gst/dataprotocol/dataprotocol.c:
9370         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
9371         (gst_dp_version_get_type), (gst_dp_init),
9372         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
9373         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
9374         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
9375         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
9376         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
9377         (gst_dp_packetizer_free):
9378         * libs/gst/dataprotocol/dataprotocol.h:
9379           API: add a GstDPPacketizer object, and create/free functions
9380           API: add GstDPVersion enum
9381           Add 1.0 event function that uses the string serialization
9382           Serialize more useful buffer flags
9383           Fixes #343988
9384
9385 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9386
9387         * tests/check/Makefile.am:
9388         * tests/check/gst/gstabi.c:
9389         * tests/check/gst/struct_ppc64.h:
9390         * tests/check/libs/libsabi.c:
9391         * tests/check/libs/struct_ppc64.h:
9392           add ppc64 structure sizes
9393
9394 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9395
9396         * tests/check/Makefile.am:
9397         * tests/check/gst/gstabi.c:
9398         * tests/check/gst/struct_x86_64.h:
9399         * tests/check/libs/libsabi.c:
9400         * tests/check/libs/struct_x86_64.h:
9401           generate and add structure size lists for x86_64
9402
9403 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9404
9405         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
9406         * libs/gst/check/gstcheck.h:
9407           factor out the method from tests that checks size of structures,
9408           and add code to generate the header containing these sizes
9409         * tests/check/gst/gstabi.c: (GST_START_TEST):
9410         * tests/check/gst/struct_i386.h:
9411         * tests/check/libs/libsabi.c: (GST_START_TEST):
9412         * tests/check/libs/struct_i386.h:
9413           use it
9414
9415 2006-06-06  Michael Smith  <msmith@fluendo.com>
9416
9417         * gst/gstsegment.h:
9418           Don't use c++-style comments, fixes #343929
9419
9420 2006-06-05  Edward Hervey  <edward@fluendo.com>
9421
9422         * gst/gst.c:
9423         plugin_paths is not used if we build without registry support.
9424
9425         * gst/gstsegment.c: (gst_segment_copy): 
9426         _copy() was always returning NULL...
9427
9428 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9429
9430         * libs/gst/dataprotocol/dataprotocol.c:
9431         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9432         (gst_dp_packet_from_event):
9433           factor out CRC code
9434
9435 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9436
9437         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
9438           make sure we unset caps
9439
9440 2006-06-02  Michael Smith  <msmith@fluendo.com>
9441
9442         * libs/gst/check/gstcheck.c: (gst_check_init),
9443         (gst_check_chain_func):
9444         * libs/gst/check/gstcheck.h:
9445           Add a cond/mutex to the check support lib, signal this whenever we
9446           add to the buffers list. This will allow tests to not busy-wait on
9447           the buffer-list.
9448
9449 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9450
9451         * libs/gst/dataprotocol/dataprotocol.c:
9452         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9453         (gst_dp_packet_from_event):
9454           factor out some common header init code
9455
9456 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
9457
9458         * docs/libs/gstreamer-libs-sections.txt:
9459         * docs/libs/tmpl/gstdataprotocol.sgml:
9460         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
9461         * libs/gst/dataprotocol/dataprotocol.h:
9462           API: make gst_dp_crc() public
9463
9464 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9465
9466         * plugins/indexers/gstindexers.c: (plugin_init):
9467         conditionally register fileindexer (fixes #343598)
9468
9469 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
9470
9471         * gst/gsttagsetter.h:
9472         Can't cast ifaces to a class
9473
9474         * libs/gst/net/gstnetclientclock.h:
9475         * libs/gst/net/gstnettimeprovider.h:
9476         * plugins/elements/gstfakesink.h:
9477         * plugins/elements/gstfakesrc.h:
9478         * plugins/elements/gstfdsink.h:
9479         * plugins/elements/gstfdsrc.h:
9480         * plugins/elements/gstfilesink.h:
9481         * plugins/elements/gstfilesrc.h:
9482         * plugins/elements/gstidentity.h:
9483         * plugins/elements/gstqueue.h:
9484         * plugins/elements/gsttee.h:
9485         * plugins/indexers/gstfileindex.c:
9486         * plugins/indexers/gstmemindex.c:
9487         * tests/old/examples/plugins/example.h:
9488         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
9489
9490 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
9491
9492         * libs/gst/dataprotocol/dataprotocol.c:
9493         (gst_dp_header_from_buffer):
9494           make sure we zero the whole ABI-compatible area
9495
9496 2006-06-01  Wim Taymans  <wim@fluendo.com>
9497
9498         Patch by: Alessandro Decina <alessandro at nnva dot org>
9499
9500         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
9501         Make sure the EOS flag is cleared from pads after a flush
9502         or stop. Fixes #343538.
9503
9504         * tests/check/libs/collectpads.c: (GST_START_TEST),
9505         (gst_collect_pads_suite):
9506         Added test for collectpads reusage after EOS.
9507
9508 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
9509
9510         * gst/gst.c:
9511          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
9512         * win32/common/libgstbase.def:
9513          export gst_collect_pads_set_flushing
9514         * win32/common/libgstreamer.def:
9515          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
9516          gst_value_fraction_multiply
9517         * win32/vs6/gst_inspect.dsp:
9518          add a link to intl.lib
9519
9520 2006-05-30  Wim Taymans  <wim@fluendo.com>
9521
9522         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9523         (gst_collect_pads_chain):
9524         Handle the case where a pad is removed from the collection
9525         that could cause the other pads to become collectable.
9526
9527 2006-05-30  Wim Taymans  <wim@fluendo.com>
9528
9529         * gst/gstelement.c:
9530         Clarify the use of _release_request_pad() and
9531         _get_request_pad() a bit better.
9532
9533         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
9534         (gst_adapter_take_buffer):
9535         Fix some doc and comment typos.
9536
9537 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
9538
9539         * docs/gst/gstreamer-sections.txt:
9540         * docs/libs/gstreamer-libs-sections.txt:
9541           add declared symbols
9542
9543 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
9544
9545         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
9546         Add debug that can be enabled using a #define at the top of the file,
9547         for dumping stats about how late/early we were when waking up from
9548         waiting on the clock.
9549
9550 2006-05-30  Wim Taymans  <wim@fluendo.com>
9551
9552         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
9553         When rebuilding the pad list, don't leak the previous list.
9554
9555 2006-05-30  Wim Taymans  <wim@fluendo.com>
9556
9557         Patch by: Lutz Mueller <lutz at topfrose dot de>
9558
9559         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
9560         (gst_base_src_get_query_types), (gst_base_src_update_length):
9561         Publish supported query types.
9562         Update last_stop field in get_range mode so the position
9563         query works. Fixes #342321.
9564
9565 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
9566
9567         * docs/gst/gstreamer-sections.txt:
9568         * gst/gsttaglist.c: (_gst_tag_initialize):
9569         * gst/gsttaglist.h:
9570           API: add GST_TAG_PREVIEW_IMAGE (#343341).
9571
9572 2006-05-30  Wim Taymans  <wim@fluendo.com>
9573
9574         Patch by: Alessandro Decina <alessandro at nnva dot org>
9575
9576         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
9577         Unlock mutex when removing an unknown pad.
9578         Fixes #343334.
9579
9580         * tests/check/Makefile.am:
9581         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
9582         (push_event), (setup), (teardown), (GST_START_TEST),
9583         (gst_collect_pads_suite), (main):
9584         Added collecpads check, disabled for now as check crashes for
9585         some reason.
9586
9587 2006-05-29  Wim Taymans  <wim@fluendo.com>
9588
9589         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
9590         Don't leak pads lists.
9591
9592 2006-05-29  Wim Taymans  <wim@fluendo.com>
9593
9594         * docs/libs/gstreamer-libs-sections.txt:
9595         * libs/gst/base/gstcollectpads.c:
9596         (gst_collect_pads_set_flushing_unlocked),
9597         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9598         (gst_collect_pads_stop):
9599         * libs/gst/base/gstcollectpads.h:
9600         API: gst_collect_pads_set_flushing()
9601         Added api to set the pads to flushing, useful for seeking
9602         code in elements using collectpads.
9603         Clear segment when receiving a flush.
9604
9605 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
9606
9607         * gst/gst.c: (add_path_func), (init_post):
9608           Don't scan registry paths passed via --gst-plugin-path immediately
9609           (will crash, because absolutely nothing is set up and no types are
9610           registered etc.); do this later in init_post(). Fixes #343057.
9611
9612 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
9613
9614         * gst/gst.c: (init_post):
9615           if we have fork, fork while reading/rebuilding the registry
9616           so the parent doesn't take the hit of having all plugins loaded
9617           in memory.  Fixes #342777.
9618         * configure.ac:
9619           Check if we have fork()
9620         * win32/common/config.h.in:
9621           no fork() on win32
9622
9623 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9624
9625         * plugins/elements/gstelements.c:
9626         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9627         (gst_file_src_init), (gst_file_src_set_property),
9628         (gst_file_src_get_property), (gst_file_src_start):
9629         * plugins/elements/gstfilesrc.h:
9630           API: GstFileSrc::use-mmap
9631
9632         Add a use-mmap property to enable easier testing of all code paths.
9633         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
9634         in the absence of gnomevfssrc. (Closes #340501)
9635
9636 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9637
9638         * tools/gst-inspect.c:
9639         Add missing include, removes warning of ngettext not being defined on
9640         some arches.
9641
9642 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
9643
9644         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9645         Handle NULL input and output pointers silently as a failed conversion,
9646         rather than g_warnings.
9647
9648 2006-05-25  Wim Taymans  <wim@fluendo.com>
9649
9650         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
9651         Initialize variable before using. Fixes #342820.
9652
9653 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
9654
9655         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
9656           Fix off-by-one bug that would only allow peeks of N-1 bytes
9657           from the start even if the buffer to typefind on contains
9658           in fact N bytes of data (makes vorbis typefinding from a
9659           vorbis identification header buffer work).
9660
9661         * tests/check/Makefile.am:
9662         * tests/check/libs/.cvsignore:
9663         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
9664         (gst_typefindhelper_suite), (main), (foobar_typefind),
9665         (plugin_init):
9666           Add very basic unit test for gst_type_find_helper_for_buffer()
9667           that checks for the problem fixed above.
9668
9669 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
9670
9671         * tools/gst-inspect.c: (print_interfaces),
9672         (print_element_properties_info), (print_element_list), (main):
9673           add more translatable strings
9674
9675 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
9676
9677         Patch by: Julien Moutte  <julien at moutte net>
9678
9679         * docs/gst/gstreamer-sections.txt:
9680           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
9681           
9682         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
9683         (gst_fake_sink_preroll):
9684         * plugins/elements/gstfakesink.h:
9685           API: Add new GstFakeSink::preroll-handoff signal (#337100).
9686
9687 2006-05-23  Wim Taymans  <wim@fluendo.com>
9688
9689         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
9690         * gst/gstpad.h:
9691         Added _CUSTOM error and success GstFlowReturn that can be
9692         used be elements internally. 
9693         Added macro to check for SUCCESS flowreturns.
9694         API: GST_FLOW_CUSTOM_SUCCESS
9695         API: GST_FLOW_CUSTOM_ERROR
9696         API: GST_FLOW_IS_SUCCESS
9697
9698         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
9699         Added check for GstFlowReturn sanity.
9700
9701 2006-05-23  Wim Taymans  <wim@fluendo.com>
9702
9703         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9704
9705         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
9706         (gst_collect_pads_event):
9707         clear/reset segment info in FLUSH_STOP.
9708         Fixes #336929.
9709
9710 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
9711
9712         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
9713         (gst_collect_pads_check_collected):
9714         Flush queued buffer on _stop(), fixes playing again (#342454)
9715
9716 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
9717
9718         * tests/check/gst/gststructure.c: (GST_START_TEST),
9719         (gst_structure_suite):
9720           add a test for a complete structure
9721
9722 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9723
9724         * docs/faq/developing.xml:
9725         * docs/faq/faq.xml:
9726         * docs/faq/troubleshooting.xml:
9727         * docs/faq/using.xml:
9728           Some minor FAQ updates that won't change the fact that
9729           our FAQ is badly structured, full of information hardly
9730           anyone new to GStreamer needs to know and lacking lots
9731           of information people constantly ask for.
9732           
9733 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
9734
9735         * gst/gstpad.c: (gst_pad_set_caps):
9736           Short-circuit gst_pad_set_caps if setting the existing
9737           caps pointer again, and avoid printing debug and 
9738           reffing/unreffing the caps.
9739
9740         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9741           There's actually no need to set the caps before pushing -
9742           the acceptcaps method will handle it anyway.
9743
9744 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
9745
9746         * docs/gst/gstreamer-sections.txt:
9747         * win32/common/libgstreamer.def:
9748         * gst/gstutils.c: (gst_element_seek_simple):
9749         * gst/gstutils.h:
9750           API: add gst_element_seek_simple() (#342238).
9751
9752 2006-05-18  Edward Hervey  <edward@fluendo.com>
9753
9754         * gst/gsttypefind.c: (gst_type_find_get_type):
9755         * gst/gsttypefind.h:
9756         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
9757         registered for GstTypeFind pointers. This allows wrapping the structure
9758         in bindings (i.e. gst-python).
9759
9760 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9761
9762         * gst/gsttagsetter.c:
9763           Docs additions and fixes (see #339918).
9764
9765 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
9766
9767         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
9768         The caps intersection algorithm can produce multiple copies of the
9769         caps. Until that is fixed, we need to simplify the result to be
9770         sure whether the allowed caps are fixed or not.
9771
9772         * plugins/elements/gstqueue.c: (gst_queue_init),
9773         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
9774         (gst_queue_push_one):
9775         Proxied buffer alloc should not set the caps on the source pad.
9776         When pushing buffers, we always accept the caps change that triggers.
9777         This prevents negotiation errors caused by caps changing mid-stream 
9778         and then being refused on our source pad (because upstream is now
9779         refusing those caps).
9780
9781 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
9782
9783         * tests/examples/helloworld/helloworld.c: (main):
9784           Must plug audioconvert and audioresample between decoder
9785           and audio sink.
9786
9787 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
9788
9789         * gst/gstregistryxml.c: (read_string), (load_pad_template),
9790         (load_feature), (load_plugin):
9791         Allow empty strings for some of the plugin fields so we don't 
9792         drop valid plugin entries that were written out correctly
9793         (Fixes #341479)
9794
9795 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
9796         
9797         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
9798           Use g_remove and g_rename instead of remove and rename that don't 
9799           handle utf8 characters. rename was failing for users who had specific
9800           characters in their name then the registry was built at each 
9801           gstreamer init.
9802         * win32/vs6/gst_inspect.dsp:
9803         * win32/vs6/gst_launch.dsp:
9804         * win32/vs6/libgstbase.dsp:
9805         * win32/vs6/libgstcoreelements.dsp:
9806         * win32/vs6/libgstreamer.dsp:
9807           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
9808           build of libgstreamer and clean unused libraries in projects link 
9809           settings.
9810
9811 2006-05-17  Edward Hervey  <edward@fluendo.com>
9812
9813         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9814         The queue is not responsible for pushing an EOS when receiving a fatal
9815         flow error. It's up to the real element driving the pipeline to do that.
9816
9817 2006-05-16  Edward Hervey  <edward@fluendo.com>
9818
9819         * plugins/elements/gstqueue.c: (gst_queue_push_one):
9820         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
9821         buffer returned a fatal error. It should just send an EOS and stop
9822         its task.
9823         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
9824         when pushing buffers on the queue and will be able to handle the event.
9825
9826 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
9827
9828         * docs/manual/basics-bins.xml:
9829         * docs/manual/basics-init.xml:
9830           Fix typos and minor errors in sample code (#341856).
9831
9832 2006-05-16  Wim Taymans  <wim@fluendo.com>
9833
9834         * docs/design/part-qos.txt:
9835         Fix indexes in formulas to make more sense.
9836
9837 2006-05-15  Wim Taymans  <wim@fluendo.com>
9838
9839         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9840         Don't report POSITION based on clock time if sync is
9841         disabled in a sink.
9842
9843 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
9844
9845         * gst/gstobject.h:
9846           Add cast to make compiler happy - refcount variable was a gint
9847           in GstObject but is a guint in GObject and g_atomic_int_get()
9848           wants a gint *.
9849
9850 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
9851
9852         * gst/parse/Makefile.am:
9853           chain commands using &&, which also makes parallel make work
9854
9855 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
9856
9857         * docs/gst/gstreamer-sections.txt:
9858         * gst/gstevent.c:
9859         * gst/gstevent.h:
9860         * gst/gstmessage.h:
9861           Minor docs fixes.
9862
9863 === release 0.10.6 ===
9864
9865 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
9866
9867         * configure.ac:
9868           releasing 0.10.6, "Take the cannoli"
9869
9870 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
9871
9872         * tools/gst-launch.c: (print_tag):
9873           Fix use of uninitialized variable in the hypothetical
9874           case that some broken plugin creates a GST_TAG_IMAGE
9875           tag containing a NULL buffer (#341667).
9876
9877 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
9878
9879         * tools/gst-launch.c: (print_tag):
9880           Print something more intelligible for image tags when
9881           using the -t switch (#341556).
9882
9883 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
9884
9885         * Makefile.am:
9886           updates for win32
9887         * configure.ac:
9888           define GST_MAJORMINOR so we have it available in win32/common/config.h
9889           Possibly remove it from our Makefile.am files later
9890         * win32/common/config.h:
9891         * win32/common/config.h.in:
9892           added GST_MAJORMINOR
9893         * win32/common/gstenumtypes.c: (register_gst_resource_error):
9894         * win32/common/gstversion.h:
9895           updated
9896
9897 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
9898
9899         * win32/MANIFEST:
9900           Update win32 files listing.
9901         * win32/common/gstversion.h:
9902           Add GST_MAJORMINOR definition.
9903         * win32/common/libgstreamer.def:
9904           Add new exported functions.
9905           
9906 2006-05-12  Michael Smith  <msmith@fluendo.com>
9907
9908         * gst/gstplugin.c: (gst_plugin_load_file):
9909           If an so file has no plugin entry point, unload the module.
9910
9911 2006-05-11  Wim Taymans  <wim@fluendo.com>
9912
9913         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
9914         (gst_queue_set_property):
9915         Don't forget to signal the _chain or _loop function 
9916         when the queue size or thresholds change since that might
9917         cause them to make progres again.
9918
9919 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
9920
9921         * gst/gstclock.c: (gst_clock_class_init):
9922         * gst/gstindex.c: (gst_index_class_init):
9923         * gst/gstobject.c: (gst_object_class_init):
9924         * gst/gstpad.c: (gst_pad_class_init):
9925         * gst/gstpipeline.c: (gst_pipeline_class_init):
9926         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
9927         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
9928         * libs/gst/base/gstbasetransform.c:
9929         (gst_base_transform_class_init):
9930         * libs/gst/net/gstnetclientclock.c:
9931         (gst_net_client_clock_class_init):
9932         * libs/gst/net/gstnettimeprovider.c:
9933         (gst_net_time_provider_class_init):
9934         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
9935         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9936         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9937         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
9938         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
9939         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9940         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
9941         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9942         * plugins/elements/gsttee.c: (gst_tee_class_init):
9943         * tests/old/examples/plugins/example.c: (gst_example_class_init):
9944         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
9945           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
9946
9947 2006-05-11  Wim Taymans  <wim@fluendo.com>
9948
9949         * gst/gstbuffer.c: (_gst_buffer_initialize):
9950         Register subbufer along with the buffer type so that
9951         it does not accidentally gets registered from N
9952         different streaming threads in a non threadsafe way.
9953
9954 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9955
9956         * gst/gstbuffer.h:
9957         * gst/gstevent.h:
9958         * gst/gstmessage.h:
9959           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
9960           gst_event_ref() and gst_message_ref() functions again
9961           (ugly hack, please do fix if there's a better way besides
9962           overrides.txt, which doesn't seem to work).
9963
9964 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9965
9966         * libs/gst/check/gstcheck.h:
9967           add an assert for setting state to avoid lots of repetitive code
9968           in the future
9969
9970 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9971
9972         * gst/gstvalue.c: (gst_value_serialize_flags):
9973           fix a leak if no flags are set
9974         * tests/check/gst/gstvalue.c: (GST_START_TEST):
9975           fix leak in tests
9976
9977 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
9978
9979         * docs/manual/basics-pads.xml:
9980           Expand a bit on caps and filtered links and update
9981           examples that were still using the no longer existing
9982           gst_pad_link_filtered() (#338206).
9983
9984 2006-05-10  Wim Taymans  <wim@fluendo.com>
9985
9986         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
9987         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
9988         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
9989         (gst_collect_pads_stop):
9990         * libs/gst/base/gstcollectpads.h:
9991         No need to call _stop in _finalize.
9992         Iterate the main pad list in _finalize.
9993         Added some more debug.
9994         Free lists and data in the right order.
9995         Also free data whem doing _remove_pad when stopped for
9996         backward compatibility protect ::started with PAD_LOCK as
9997         well.
9998
9999 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10000
10001         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
10002         (gst_structure_parse_value):
10003           add some comments
10004           rename a method so that it actually says what it does better
10005
10006 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
10007
10008         * gst/gstevent.c: (_gst_event_initialize):
10009         * gst/gstformat.c: (_gst_format_initialize):
10010           make sure some essential types used by events are registered
10011           as part of gst_init()
10012         * gst/gstvalue.c: (gst_value_serialize_flags):
10013           if no flags are set, serialize them to a value that represents NONE
10014           so that deserializing them works
10015         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10016           add tests for serialization and deserialization of flags
10017
10018 2006-05-10  Wim Taymans  <wim@fluendo.com>
10019
10020         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
10021         (gst_collect_pads_collect_range), (gst_collect_pads_available),
10022         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
10023         (gst_collect_pads_event), (gst_collect_pads_chain):
10024         Update docs.
10025         Better debug info.
10026         Catch and return errors from the collect function
10027         Refuse data on eos pads.
10028
10029 2006-05-10  Edward Hervey  <edward@fluendo.com>
10030
10031         * gst/gstinterface.h:
10032         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
10033         GInterface type checking.
10034         They were previously using non-defined macros.
10035
10036 2006-05-09  Wim Taymans  <wim@fluendo.com>
10037
10038         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
10039         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
10040         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
10041         (gst_collect_pads_start), (gst_collect_pads_stop),
10042         (gst_collect_pads_peek), (gst_collect_pads_pop),
10043         (gst_collect_pads_available), (gst_collect_pads_read),
10044         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
10045         (gst_collect_pads_is_collected), (gst_collect_pads_event),
10046         (gst_collect_pads_chain):
10047         * libs/gst/base/gstcollectpads.h:
10048         Clean up the mess that is collectpads, add comments and
10049         FIXMEs where needed.
10050         Maintain a separate pad list so we can add pads while
10051         collecting the other ones. For this we need a new separate 
10052         lock (see comics).
10053         Fix memory leak in finalize.
10054         Refactor some weird code to set/unset pad flushing flags, mark
10055         with comments.
10056         Don't crash in _available, _read, _flush when we're EOS.
10057
10058         * tests/check/libs/.cvsignore:
10059         Ignore adapter check binary.
10060
10061 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10062
10063         * gst/gstindex.c: (gst_index_resolver_get_type):
10064         * plugins/elements/gstfakesink.c:
10065         (gst_fake_sink_state_error_get_type):
10066         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
10067         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
10068         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
10069           Const-ify GEnumValue arrays.
10070
10071 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10072
10073         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10074           Add test case for flags + gst_buffer_make_metadata_writable().
10075
10076 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10077
10078         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
10079           gst_buffer_make_metadata_writable() should maintain the
10080           buffer flags (those that make sense at least) (see #340859).
10081
10082 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10083
10084         * tools/gst-inspect.c:
10085         * tools/gst-launch.c:
10086         * tools/gst-typefind.c:
10087         * tools/gst-xmlinspect.c:
10088         * tools/tools.h:
10089           Fix up includes: need to include stdlib.h in tools.h for exit().
10090
10091 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
10092
10093         * gst/gsttaglist.c: (_gst_tag_initialize):
10094         * gst/gsttaglist.h:
10095           API: add GST_TAG_IMAGE tag (#340721).
10096
10097 2006-05-08  Wim Taymans  <wim@fluendo.com>
10098
10099         * gst/gstquery.c:
10100         Added some docs for the segment query.
10101
10102 2006-05-08  Wim Taymans  <wim@fluendo.com>
10103
10104         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10105         (gst_base_src_loop), (gst_base_src_change_state):
10106         Always push non-flushing serialized events in the streaming 
10107         thread.
10108
10109 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
10110
10111         * gst/gsterror.c: (_gst_stream_errors_init):
10112           Add a missing error string.
10113
10114 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
10115
10116         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
10117         Add applied_rate to the debug
10118
10119         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10120         Copy applied_rate into the outgoing NEWSEGMENT event
10121
10122 2006-05-08  Wim Taymans  <wim@fluendo.com>
10123
10124         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
10125
10126         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
10127         (gst_base_sink_change_state):
10128         call ::unlock before taking the PREROLL_LOCK so we can safely
10129         handle elements that lock in ::render.
10130         Fixes #340174.
10131
10132 2006-05-08  Edward Hervey  <edward@fluendo.com>
10133
10134         * autogen.sh: (CONFIGURE_DEF_OPT): 
10135         Darwin's libtoolize is in fact called glibtoolize.
10136         Adding glibtoolize to the list of accepted names for libtoolize.
10137
10138 2006-05-08  Wim Taymans  <wim@fluendo.com>
10139
10140         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10141         Unify error handling, don't post an error message
10142         when a push() returns EOS but perform our normal EOS
10143         handling code. Fixes #340772.
10144
10145 2006-05-08  Wim Taymans  <wim@fluendo.com>
10146
10147         * docs/design/part-overview.txt:
10148         Make upsteam/downstream concepts more clear.
10149         Give an example of serialized/non-serialized events.
10150
10151         * docs/design/part-events.txt:
10152         * docs/design/part-streams.txt:
10153         Mention applied_rate.
10154
10155         * docs/design/part-trickmodes.txt:
10156         Mention applied rate, flesh out some more use cases.
10157
10158         * gst/gstevent.c: (gst_event_new_new_segment),
10159         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
10160         (gst_event_parse_new_segment_full), (gst_event_new_tag),
10161         (gst_event_parse_tag), (gst_event_new_buffer_size),
10162         (gst_event_parse_buffer_size), (gst_event_new_qos),
10163         (gst_event_parse_qos), (gst_event_parse_seek),
10164         (gst_event_new_navigation):
10165         * gst/gstevent.h:
10166         Add applied_rate field to NEWSEGMENT event.
10167         API: gst_event_new_new_segment_full()
10168         API: gst_event_parse_new_segment_full()
10169
10170         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
10171         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
10172         (gst_segment_to_stream_time), (gst_segment_to_running_time):
10173         * gst/gstsegment.h:
10174         Add applied_rate to GstSegment structure.
10175         Make calculation of stream_time and running_time more correct
10176         wrt rate/applied_rate.
10177         Add some more docs.
10178         API: GstSegment::applied_rate field
10179         API: gst_segment_set_newsegment_full();
10180
10181         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
10182         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
10183         * libs/gst/base/gstbasetransform.c:
10184         (gst_base_transform_sink_eventfunc),
10185         (gst_base_transform_handle_buffer):
10186         Parse and use applied_rate in the GstSegment field.
10187
10188         * tests/check/gst/gstevent.c: (GST_START_TEST):
10189         Add check for applied_rate field.
10190
10191         * tests/check/gst/gstsegment.c: (GST_START_TEST),
10192         (gstsegments_suite):
10193         Add more checks for various GstSegment operations.
10194
10195 2006-05-08  Wim Taymans  <wim@fluendo.com>
10196
10197         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10198         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
10199         (gst_base_sink_get_position), (gst_base_sink_change_state):
10200         Store the sync time of the buffer end position separatly in a
10201         new variable eos_rtime so we can properly sync the EOS event.
10202         Fixes #340697.
10203         Fix the docs for gst_base_sink_set_qos_enabled().
10204         Don't set segment start to invalid value when we receive a 
10205         non TIME newsegment.
10206         get closer to handling position reporting for negative rates 
10207         correctly.
10208
10209 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
10210
10211         * gst/gstcaps.c:
10212         Docs about how to print caps for debug purposes.
10213
10214         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
10215         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
10216
10217 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
10218
10219         * gst/gstelement.c:
10220           use full enum names and preprend a '%' in docs strings to make recent 
10221           gtk-doc turn that into a link
10222
10223 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10224
10225         * docs/manual/basics-bins.xml:
10226         * docs/manual/basics-bus.xml:
10227         * docs/manual/basics-pads.xml:
10228           Some typo fixes, some additions, some clarifications. 
10229
10230 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10231
10232         * tools/gst-inspect.c: (main):
10233         * tools/gst-launch.c: (main):
10234         * tools/gst-run.c: (main):
10235         * tools/gst-typefind.c: (main):
10236         * tools/gst-xmlinspect.c: (main):
10237           Use the string passed to g_option_context_new() for
10238           what it's intended for - the program name is already
10239           printed elsewhere.
10240
10241 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10242
10243         * tools/Makefile.am:
10244         * tools/gst-inspect.c: (main):
10245         * tools/gst-launch.c: (main):
10246         * tools/gst-xmlinspect.c: (main):
10247         * tools/tools.h:
10248           Add back --version command line option (#340460).
10249
10250         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
10251           Add --version option and use GOption for argument parsing; refactor a
10252           bit; accept directories as arguments and recurse into them; lastly,
10253           print a decent error message when things go wrong.
10254
10255 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10256
10257         * docs/manual/basics-bins.xml:
10258         Don't mention GstThread (#340611)
10259         * docs/manual/basics-elements.xml:
10260         Update link to GObject tutorial (#340607)
10261         
10262 2006-05-05  Wim Taymans  <wim@fluendo.com>
10263
10264         * gst/gstbuffer.h:
10265         * gst/gstminiobject.c:
10266         Add note about refcounting and miniobject/buffer writeability
10267         to docs. Fixes #340604
10268
10269         * gst/gstelementfactory.h:
10270         Added some explanation about @klass.
10271
10272 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10273
10274         * docs/manual/intro-motivation.xml:
10275         * docs/manual/manual.xml:
10276         Avoid CORBA & Bonobo references (#340598)
10277
10278 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10279
10280         * docs/manual/basics-bus.xml:
10281         * docs/manual/basics-pads.xml:
10282         Fix up some inaccuracies and omissions (#340609)
10283         
10284 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
10285
10286         * gst/gstghostpad.c:
10287           Small typo in docs (#340625)
10288
10289 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10290
10291         * gst/parse/Makefile.am:
10292           Make 'make -j' proof (see #340698).
10293
10294 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
10295
10296         * configure.ac:
10297           Require GLib-2.8 here as well.
10298
10299 2006-05-05  Wim Taymans  <wim@fluendo.com>
10300
10301         * gst/glib-compat.c:
10302         * gst/gst.c: (init_pre):
10303         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
10304         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
10305         (gst_object_dispatch_properties_changed):
10306         * gst/gstobject.h:
10307         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
10308         * gst/gststructure.c: (gst_structure_set_valist):
10309         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
10310         Remove pre glib2.8 compatibility, fixes #340508
10311
10312 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10313
10314         * gst/gsttaglist.h:
10315           Mention type of tags in doc blurbs.
10316
10317 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
10318
10319         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10320         (gst_pad_configure_src), (gst_pad_push):
10321         Restore acceptcaps checking behaviour now that good plugins have
10322         been released.
10323
10324 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
10325
10326         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
10327
10328         * gst/gst.c:
10329         * gst/gstbus.c:
10330         * gst/gstclock.c:
10331         * gst/gstevent.c:
10332         * gst/gstformat.c:
10333         * gst/gstmessage.c:
10334         * gst/gstparse.c:
10335         * gst/gstquery.c:
10336         * gst/gstutils.c:
10337         * gst/parse/Makefile.am:
10338         * libs/gst/base/gstadapter.c:
10339         * libs/gst/base/gstbasesrc.c:
10340         * libs/gst/base/gstpushsrc.c:
10341         * libs/gst/base/gsttypefindhelper.c:
10342         * plugins/elements/gstfakesrc.c:
10343         * plugins/elements/gstidentity.c:
10344           Make sure gstprivate.h and/or config.h are
10345           always included first, otherwise some of our
10346           defines (like _FILE_OFFSET_BITS) might be
10347           redefined in the system headers. Fixes build
10348           on opensolaris (#340016).
10349
10350 2006-05-04  Wim Taymans  <wim@fluendo.com>
10351
10352         * docs/libs/gstreamer-libs-sections.txt:
10353         API: addition: gst_adapter_take_buffer()
10354         
10355         * libs/gst/base/gstadapter.c: (gst_adapter_push),
10356         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
10357         (gst_adapter_available_fast):
10358         * libs/gst/base/gstadapter.h:
10359         Prepare for optimizing the hell out of this hugely inefficient
10360         piece of code. 
10361         Added gst_adapter_take_buffer() so we can at least start thinking
10362         about subbuffering and merging.
10363         Added some comments.
10364
10365         * tests/check/Makefile.am:
10366         * tests/check/libs/adapter.c: (GST_START_TEST),
10367         (gst_adapter_suite), (main):
10368         Added GstAdapter check.
10369
10370 2006-05-04  Wim Taymans  <wim@fluendo.com>
10371
10372         * docs/design/part-overview.txt:
10373         Fix some typos, add blurb about buffer flags.
10374
10375 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
10376
10377         * docs/libs/gstreamer-libs-sections.txt:
10378           make sure GstBaseTransformClass shows up in the docs
10379         * libs/gst/base/gstbasetransform.c:
10380         * libs/gst/base/gstbasetransform.h:
10381           move docs so gtk-doc picks it up now
10382
10383 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10384
10385         * docs/libs/gstreamer-libs-sections.txt:
10386           add missing symbols to docs
10387
10388 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
10389
10390         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10391           back out the newsegment handling change, see #340060 for ongoing
10392           discussion
10393
10394 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
10395
10396         * tools/gst-run.c: (get_candidates), (main):
10397           Fix wrong g_file_test() usage (see glib docs for why it doesn't
10398           work); fix typo in error message. Fixes #340079.
10399
10400 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10401
10402         * common/Makefile.am:
10403         * docs/Makefile.am:
10404         * docs/faq/Makefile.am:
10405         * docs/gst/Makefile.am:
10406         * docs/libs/Makefile.am:
10407         * docs/manual/Makefile.am:
10408         * docs/plugins/Makefile.am:
10409         * docs/pwg/Makefile.am:
10410         * docs/slides/Makefile.am:
10411         * docs/upload.mak:
10412         * common/upload.mak:
10413           move upload.mak to common
10414
10415 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
10416
10417         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10418           add more asserts on refcounts
10419           do more cleanup at end of tests
10420           fix test leaks showing in FC5
10421
10422 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
10423
10424         * plugins/elements/gsttypefindelement.c:
10425         (gst_type_find_element_handle_event):
10426         reverted wrong change and reflowed code to avoid others falling into
10427         this trap
10428
10429 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10430
10431         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
10432           fix changelog entry about last collectpads change,
10433           add notes about proper fix
10434
10435 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10436
10437         * gst/gst.c:
10438         * gst/gstregistry.c: (gst_registry_scan_path_level),
10439         (gst_registry_scan_path):
10440         * gst/gstregistry.h:
10441           only write out registry if it has changed, fixes #338339
10442
10443 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10444
10445         * gst/gstbin.c:
10446         * gst/gstpipeline.c:
10447         * plugins/elements/gstcapsfilter.c:
10448         * plugins/elements/gstfakesink.c:
10449         * plugins/elements/gstfakesrc.c:
10450         * plugins/elements/gstfdsink.c:
10451         * plugins/elements/gstfdsrc.c:
10452         * plugins/elements/gstfilesink.c:
10453         * plugins/elements/gstfilesrc.c:
10454         * plugins/elements/gstidentity.c:
10455         * plugins/elements/gstqueue.c:
10456         * plugins/elements/gsttee.c:
10457         * plugins/elements/gsttypefindelement.c:
10458         (gst_type_find_element_handle_event):
10459           make GstElementDetails const
10460
10461 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10462
10463         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
10464         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
10465         (gst_collect_pads_is_collected), (gst_collect_pads_event):
10466           more detailed debug and formatting cleanup,
10467           forward newsegments to src-pad (so that e.g. adder not eats them)
10468
10469 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10470
10471         * gst/gstutils.c: (gst_element_link_pads):
10472           cleanup double code
10473
10474 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
10475
10476         * libs/gst/controller/gstcontroller.c:
10477         (gst_controller_sync_values):
10478           some little tuning
10479         * tests/check/libs/controller.c: (GST_START_TEST),
10480         (gst_controller_suite):
10481           a new test for live value handling
10482
10483 2006-04-28  Wim Taymans  <wim@fluendo.com>
10484
10485         * gst/gstutils.c: (push_and_ref):
10486         Added some more docs.
10487         Fix refcount issue whith gst_element_found_tags() helper 
10488         function. Fixes #338335
10489
10490         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10491         Added testsuite for gst_element_found_tags().
10492
10493 2006-04-28  Michael Smith  <msmith@fluendo.com>
10494
10495         * gst/gstvalue.c: (gst_value_serialize_flags):
10496           Avoid NULL dereference when trying to serialize flags containing
10497           invalid values.
10498
10499 2006-04-28  Michael Smith  <msmith@fluendo.com>
10500
10501         * plugins/elements/gsttypefindelement.c:
10502         (gst_type_find_element_handle_event):
10503           If we get EOS before any data is accumulated, don't use
10504           uninitialised local variables.
10505
10506 2006-04-28  Michael Smith  <msmith@fluendo.com>
10507
10508         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
10509         (gst_dp_event_from_packet):
10510           Fixes in reading/writing events over GDP (not currently used?) - 
10511           dereferencing NULL events for unknown/invalid event types, memory
10512           leak, and change g_warning to GST_WARNING.
10513
10514 2006-04-28  Wim Taymans  <wim@fluendo.com>
10515
10516         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
10517         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10518         (gst_base_sink_get_position), (gst_base_sink_change_state):
10519         When frame dropping is enabled, we should not ignore frames
10520         without a duration.
10521         Update some documentation.
10522
10523 2006-04-28  Wim Taymans  <wim@fluendo.com>
10524
10525         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
10526         (gst_base_src_send_event), (gst_base_src_change_state):
10527         Documentation updates.
10528
10529 2006-04-28  Wim Taymans  <wim@fluendo.com>
10530
10531         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
10532         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
10533         handle EAGAIN, EINTR and short writes correctly. Also clean
10534         up some error cases, avoid a deadlock on bad file descriptors and
10535         use GST_DEBUG_OBJECT.
10536         Fixes #339843
10537
10538 2006-04-28  Wim Taymans  <wim@fluendo.com>
10539
10540         * gst/gstvalue.c: (gst_value_serialize_buffer),
10541         (gst_value_deserialize_buffer):
10542         Don't try to serialize a GValue with a NULL buffer. 
10543         Fixes #339821.
10544
10545         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10546         Added check for serialisation of NULL buffers.
10547
10548 2006-04-28  Wim Taymans  <wim@fluendo.com>
10549
10550         * gst/gstminiobject.c: (gst_value_take_mini_object):
10551         Taking a NULL miniobject is valid, fix the case where
10552         we try to unref the NULL miniobject.
10553
10554 2006-04-28  Wim Taymans  <wim@fluendo.com>
10555
10556         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
10557
10558         * gst/gstbin.c: (gst_bin_handle_message_func):
10559         Update docs.
10560         Don't leak bin refcount when a state recalc is
10561         in progress and we delay another one #339808.
10562
10563 2006-04-28  Wim Taymans  <wim@fluendo.com>
10564
10565         * docs/design/part-TODO.txt:
10566         Mention QoS as an ongoing work item.
10567
10568         * docs/design/part-buffering.txt:
10569         New doc about buffering that needs to be fleshed out
10570         at some point.
10571
10572         * docs/design/part-qos.txt:
10573         More QoS policy for decoders/demuxers/transforms
10574
10575         * docs/design/part-trickmodes.txt:
10576         Small update.
10577
10578 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10579
10580         * configure.ac:
10581           back to HEAD
10582
10583 === release 0.10.5 ===
10584
10585 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
10586
10587         * configure.ac:
10588           releasing 0.10.5, "Fogo"
10589
10590 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10591
10592         patch by: Wim Taymans
10593
10594         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
10595         (gst_pad_configure_src), (gst_pad_push):
10596         * gst/gstpipeline.c: (gst_pipeline_init):
10597           Fix internal data flow errors.  Fixes #338711.
10598
10599 2006-04-12  Wim Taymans  <wim@fluendo.com>
10600
10601         * tests/check/gst/gstelement.c: (GST_START_TEST):
10602         Don't leak the factory.
10603
10604 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
10605
10606         * configure.ac:
10607         * win32/common/config.h:
10608           prerelease
10609
10610 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
10611
10612         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10613         (gst_controller_unset_all):
10614           Free allocated GstTimedValues when freeing list nodes.
10615           Should fix leaks 'make check-valgrind' complains about.
10616
10617         * win32/common/libgstcontroller.def:
10618           Add gst_controller_unset_all.
10619
10620 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
10621
10622         * docs/libs/gstreamer-libs-sections.txt:
10623         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
10624         (gst_controller_unset_all):
10625         * libs/gst/controller/gstcontroller.h:
10626         API: Added new method gst_controller_unset_all()
10627         fixed gst_controller_unset()
10628         * tests/check/libs/controller.c: (GST_START_TEST),
10629         (gst_controller_suite):
10630         Added two testcases for new and fixed method
10631
10632 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
10633
10634         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10635           MSG_DONTWAIT is not defined on Cygwin, so work
10636           around that (fixes #317048).
10637           
10638 2006-04-11  Wim Taymans  <wim@fluendo.com>
10639
10640         * gst/gstelementfactory.c: (gst_element_register),
10641         (gst_element_factory_create), (gst_element_factory_make):
10642         Some cleanups.
10643         Fixed a FIXME.
10644         Updated docs (Fixes #131079)
10645
10646         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
10647         Small cleanups.
10648
10649         * tests/check/gst/gstelement.c: (GST_START_TEST),
10650         (gst_element_suite):
10651         Added testcase for elementfactory class field.
10652
10653 2006-04-10  Wim Taymans  <wim@fluendo.com>
10654
10655         * gst/gstsegment.c:
10656         Added some more docs.
10657
10658         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
10659         (gst_base_sink_reset_qos):
10660         Calculate more accurate rate values.
10661
10662 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
10663
10664         * gst/gst_private.h:
10665           add a new #ifdef to use __declspec(dllimport) only for
10666           other modules and not for gstreamer core
10667         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
10668           use gst_guint64_to_gdouble for conversion
10669         * win32/common/libgstreamer.def:
10670           add new exported functions
10671         * win32/vs6/gst_inspect.dsp:
10672         * win32/vs6/gst_launch.dsp:
10673         * win32/vs6/libgstbase.dsp:
10674         * win32/vs6/libgstcontroller.dsp:
10675         * win32/vs6/libgstcoreelements.dsp:
10676         * win32/vs6/libgstdataprotocol.dsp:
10677         * win32/vs6/libgstnet.dsp:
10678           update project files
10679
10680 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10681
10682         * gst/gstbuffer.c: (gst_subbuffer_class_init):
10683         * gst/gstclock.c: (gst_clock_class_init):
10684         * gst/gstelement.c: (gst_element_class_init):
10685         * gst/gstindex.c: (gst_index_class_init):
10686         * gst/gstindexfactory.c: (gst_index_factory_class_init):
10687         * gst/gstobject.c: (gst_object_class_init),
10688         (gst_signal_object_class_init):
10689         * gst/gstpad.c: (gst_pad_class_init):
10690         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
10691         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
10692         * gst/gstregistry.c: (gst_registry_class_init):
10693         * gst/gstsystemclock.c: (gst_system_clock_class_init):
10694         * gst/gsttask.c: (gst_task_class_init):
10695         * gst/gstxml.c: (gst_xml_class_init):
10696         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
10697         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
10698         (gst_base_src_loop):
10699         * libs/gst/controller/gstcontroller.c:/
10700         (_gst_controller_class_init):
10701         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
10702         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
10703         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
10704         * tests/old/examples/plugins/example.c: (gst_example_class_init):
10705         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
10706         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
10707
10708 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
10709
10710         * gst/gstpad.c: (gst_pad_link):
10711           Must set peer pads before calling the link function, otherwise
10712           a task started from a link function might get a flow-not-linked
10713           result when trying to push because the other thread where the
10714           linking happens hasn't had a chance to set the peers yet. This
10715           might happen for example when a queue gets linked to a downstream
10716           element, as queue starts a streaming task when its source pad
10717           gets linked. Happens in real life when playing back flac/musepack
10718           files in playbin (#332390).
10719           
10720 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
10721
10722         * gst/gstindex.h:
10723         * gst/gstxml.h:
10724         * libs/gst/base/gstadapter.h:
10725         * libs/gst/base/gstbasesink.h:
10726         * libs/gst/base/gstbasesrc.h:
10727         * libs/gst/base/gstbasetransform.h:
10728         * libs/gst/base/gstcollectpads.h:
10729         * libs/gst/base/gstpushsrc.h:
10730         Fix broken GObject macros
10731
10732 2006-04-07  Wim Taymans  <wim@fluendo.com>
10733
10734         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10735         Initialize start and stop times, thanks valgrind.
10736
10737 2006-04-07  Wim Taymans  <wim@fluendo.com>
10738
10739         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10740         Be a bit nicer to badly behaving upstream elements that expect
10741         us to deal with non TIME segments and timestamps (such as fakesrc
10742         in the testsuite).
10743
10744 2006-04-07  Wim Taymans  <wim@fluendo.com>
10745
10746         * gst/gstbus.c:
10747         Small documentation clarification about the signal watch.
10748
10749         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
10750         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
10751         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10752         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
10753         (gst_base_sink_get_position_last),
10754         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
10755         Convert and store timestamps in stream time and running time, the
10756         raw timestamps are not useful, also document this better.
10757         Use different window sizes for good and bad QoS observations so
10758         we react to badness a little quicker.
10759         Keep track of the amount of rendered and dropped buffers.
10760         Send QoS timestamps in running time.
10761
10762         * libs/gst/base/gstbasetransform.c:
10763         (gst_base_transform_sink_eventfunc),
10764         (gst_base_transform_handle_buffer):
10765         Compare QoS timestamps against running time.
10766
10767 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10768
10769         * gst/gstpad.c:
10770           Typo fixes in docs.
10771
10772 2006-04-06  Michael Smith  <msmith@fluendo.com>
10773
10774         * gst/gstpad.c: (gst_pad_set_property):
10775           Use g_value_get_object() instead of g_value_dup_gst_object(),
10776           to avoid double-reffing the pad template (which we then sink,
10777           so this worked previously if (and only if) the pad template
10778           was floating.
10779
10780         * gst/gstpadtemplate.c: (gst_pad_template_init),
10781         (gst_pad_template_pad_created):
10782           Never return floating references to pad templates, create
10783           them as initially-sunken.
10784
10785           Document an extra function (and make this stop sinking our
10786           pad template, since that is now guaranteed to do nothing,
10787           since we created it sunken).
10788
10789         * gst/gstghostpad.c:
10790           Fix docs typo.
10791
10792 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
10793
10794         * gst/gstinfo.c: (__gst_in_valgrind):
10795           Add some newlines.
10796
10797         * plugins/elements/gsttypefindelement.c:
10798         (gst_type_find_element_chain):
10799           Don't leak buffer caps.
10800
10801 2006-04-06  Michael Smith  <msmith@fluendo.com>
10802
10803         * gst/parse/grammar.y:
10804           Fix a leak in parse-launch for any source-or-sink named element 
10805           references used.
10806
10807         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
10808           Unref the pipeline if it exists after we've failed parsing.
10809
10810 2006-04-05  Michael Smith  <msmith@fluendo.com>
10811
10812         * gst/gstpipeline.c: (gst_pipeline_init):
10813           When we create a pipeline bus, initially create it in flushing mode.
10814           Fixes leaks in at least one test, and makes a new pipeline work the
10815           same as one that has gone to READY and then back to NULL.
10816
10817         * gst/gstelement.c:
10818           Typo fix in docs.
10819
10820 2006-04-05  Michael Smith  <msmith@fluendo.com>
10821
10822         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
10823           Unref a pad we reffed.
10824         * tests/check/gst/gstutils.c: (GST_START_TEST):
10825           Unref bins
10826
10827 2006-04-05  Michael Smith  <msmith@fluendo.com>
10828
10829         * gst/gstquery.c: (gst_query_set_formats),
10830         (gst_query_set_formatsv):
10831           Fix leaking GValues in queries, as shown by valgrind/testsuite.
10832
10833 2006-04-05  Michael Smith  <msmith@fluendo.com>
10834
10835         * tests/check/generic/sinks.c: (GST_START_TEST):
10836           Fix a variety of memleaks in sinks check, which are only sometimes 
10837           shown by running the tests under valgrind (weird?).
10838
10839 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
10840
10841         * docs/version.entities.in:
10842           Fix the substituted entity name after thomas' changes on the
10843           weekend.
10844
10845 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
10846
10847         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
10848         VALGRIND_PRINTF
10849         
10850 2006-04-05  Andy Wingo  <wingo@pobox.com>
10851
10852         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
10853
10854         * libs/gst/base/gstbasetransform.c
10855         (gst_base_transform_sink_eventfunc): When resetting our segment on
10856         FLUSH_STOP, also update the flag saying we haven't seen a
10857         newsegment.
10858
10859 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10860
10861         Patch by: Paolo Borelli  <pborelli at katamail dot com>
10862
10863         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10864         (gst_plugin_check_license):
10865           minor clean-ups: G_DEFINE_TYPE already takes care of the
10866           parent_class stuff, no need to do it twice. Mark array of
10867           license strings as constant. (#337103)
10868           
10869 2006-04-04  Michael Smith  <msmith@fluendo.com>
10870
10871         * tools/gst-inspect.c: (print_element_list):
10872           Free the right plugin list; fixes a memory leak.
10873
10874 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10875
10876         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
10877
10878         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
10879           Don't error out on empty buffers (#336945).
10880           
10881 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
10882
10883         * docs/libs/gstreamer-libs-sections.txt:
10884         * gst/gsttaglist.c:
10885         * libs/gst/base/gstbasesink.c:
10886         * libs/gst/base/gstbasesink.h:
10887         * libs/gst/base/gstbasesrc.c:
10888         * libs/gst/base/gstbasesrc.h:
10889           Documentation updates. Make BaseSink and BaseSrc docs contain the
10890           class structure so that people can actually see the prototypes for
10891           virtual functions they're supposed to be overriding.
10892
10893 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
10894
10895         * plugins/elements/gsttypefindelement.c:
10896         (gst_type_find_element_chain):
10897           More debug info; when skipping typefinding, send cached
10898           events in all cases.
10899
10900 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
10901
10902         * configure.ac:
10903           use new AS_VERSION and AS_NANO macros
10904         * gst/gst-i18n-lib.h:
10905         * gst/gst.c:
10906         * gst/gsterror.c:
10907         * gst/gstversion.h.in:
10908         * win32/common/config.h:
10909         * win32/common/config.h.in:
10910           update accordingly
10911
10912 2006-03-31  Michael Smith  <msmith@fluendo.com>
10913
10914         * plugins/elements/gsttypefindelement.c:
10915         (gst_type_find_element_chain):
10916           Do not typefind content if the buffers already have caps.
10917           Neccesary for icydemux (#333657), and the right thing to do anyway.
10918
10919 2006-03-30  Wim Taymans  <wim@fluendo.com>
10920
10921         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
10922         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
10923         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
10924         (gst_base_sink_record_qos_observation),
10925         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
10926         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
10927         (gst_base_sink_change_state):
10928         More QoS measurements as described in the design doc.
10929         Get rid of ringbuffer with observations, running average is
10930         more simple and equally good.
10931         Calculates valid proportion now.
10932         Added beginning of flood measurement.
10933
10934 2006-03-29  Wim Taymans  <wim@fluendo.com>
10935
10936         * docs/design/part-qos.txt:
10937         * gst/gstclock.c:
10938         Small documentation updates and additions.
10939
10940 2006-03-29  Wim Taymans  <wim@fluendo.com>
10941
10942         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10943         (gst_base_src_send_event), (gst_base_src_loop),
10944         (gst_base_src_change_state):
10945         Perform the EOS logic when we reach the segment stop position.
10946         Fix compilation on gcc4.1
10947
10948 2006-03-29  Wim Taymans  <wim@fluendo.com>
10949
10950         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
10951
10952         * plugins/elements/gstqueue.c: (gst_queue_init),
10953         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
10954         (gst_queue_set_property):
10955         * plugins/elements/gstqueue.h:
10956         In queue, when EOS is received, if minimum threshold > max_size -
10957         current_level, there is chance that queue blocks forever in conditional
10958         item del wait. This is because the queue is not emptied completely due
10959         to minimum threshold.  Here is another approach. Instead of setting
10960         cur_levels to max in EOS, just zero all minimum threshold levels. This
10961         should make sure that queue gives out all data. When going to READY
10962         (stop) state, just reset the original minimum threshold levels.
10963         Fixes #336336.
10964
10965 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
10966
10967         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
10968         (gst_type_find_element_handle_event),
10969         (gst_type_find_element_send_cached_events),
10970         (gst_type_find_element_change_state):
10971         * plugins/elements/gsttypefindelement.h:
10972           When typefinding is done in push mode, we should cache
10973           events we receive during typefinding instead of just
10974           dropping them (e.g. newsegment, custom events from
10975           dvdreadsrc etc.) and then send them out once we've
10976           determined the type of the stream (and decodebin
10977           has had a chance to plug in a decoder/demuxer).
10978           
10979 2006-03-27  Wim Taymans  <wim@fluendo.com>
10980
10981         * docs/design/part-qos.txt:
10982         First QoS ideas.
10983
10984 2006-03-27  Wim Taymans  <wim@fluendo.com>
10985
10986         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
10987
10988         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
10989         (gst_base_src_send_event), (gst_base_src_change_state):
10990         Handle element seek correctly when we are streaming.
10991         Fixes #326998.
10992
10993 2006-03-24  Michael Smith  <msmith@fluendo.com>
10994
10995         * docs/faq/gst-uninstalled:
10996           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
10997           allow you to correctly run intalled applications built against old 
10998           core, using plugins that require updated core (e.g. running
10999           installed totem against a full uninstalled gstreamer stack)
11000
11001 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11002
11003         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
11004         more debug details
11005
11006 2006-03-24  Wim Taymans  <wim@fluendo.com>
11007
11008         * docs/gst/gstreamer-sections.txt:
11009         Rearrange the order of the methods so that related methods
11010         are grouped together in sections.
11011
11012 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11013
11014         * gst/gstelement.c:
11015           Little clarification in the docs
11016
11017 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
11018
11019         * docs/README:
11020         formatting fix
11021         * plugins/elements/gstidentity.c:
11022         * plugins/elements/gstqueue.c:
11023         * plugins/elements/gsttee.c:
11024         * plugins/elements/gsttypefindelement.c:
11025         GST_ELEMENT_DETAILS formatting
11026
11027 2006-03-24  Wim Taymans  <wim@fluendo.com>
11028
11029         * libs/gst/base/gstbasesink.h:
11030         Only add fields, not insert or we break ABI.
11031
11032 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11033
11034         * win32/common/libgstbase.def:
11035         * win32/common/libgstreamer.def:
11036           Update, add recently added functions.
11037
11038 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11039
11040         * docs/gst/gstreamer-sections.txt:
11041         * gst/gstutils.c: (gst_pad_query_peer_position),
11042         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
11043         * gst/gstutils.h:
11044           API: add some new utility functions:
11045            - gst_pad_query_peer_position()
11046            - gst_pad_query_peer_duration()
11047            - gst_pad_query_peer_convert()
11048           
11049 2006-03-23  Wim Taymans  <wim@fluendo.com>
11050
11051         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11052         (gst_base_sink_init), (gst_base_sink_finalize),
11053         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
11054         (gst_base_sink_set_property), (gst_base_sink_get_property),
11055         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
11056         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
11057         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
11058         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
11059         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
11060         (gst_base_sink_preroll_object), (gst_base_sink_event),
11061         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
11062         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
11063         (gst_base_sink_query), (gst_base_sink_change_state):
11064         Decouple max-lateness and the fact that QoS messages are generated
11065         with a new property (qos).
11066         added API: GstBaseSink::async_play()
11067         Add vmethod so subclasses can be notified of ASYNC playing
11068         state changes.
11069         Collect timestamp start and stop to report better current
11070         position in EOS/PLAYING/PAUSED/READY/NULL.
11071         Refactor QoS/frame dropping and other measurements.
11072         API: GstBaseSrc::qos
11073         Fixes #326311
11074
11075         * libs/gst/base/gstbasesink.h:
11076         Added Private struct.
11077         API: gst_base_sink_set_qos_enabled()
11078         API: gst_base_sink_is_qos_enabled()
11079
11080 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
11081
11082         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
11083           If compiling against GLib-2.8 or newer, try to read the
11084           registry file using GMappedFile first before falling back
11085           to fopen() + fread() (#332151).
11086
11087 2006-03-22  Wim Taymans  <wim@fluendo.com>
11088
11089         * gst/gstinfo.c: (gst_debug_set_active),
11090         (gst_debug_category_set_threshold):
11091         Disable debugging unless explicitly activated.
11092         Fixes #335480.
11093
11094 2006-03-22  Wim Taymans  <wim@fluendo.com>
11095
11096         * gst/gstelement.c: (gst_element_set_locked_state),
11097         (gst_element_dispose):
11098         Cleanup the error case.
11099
11100         * gst/gstobject.c: (gst_object_dispose):
11101         print a critical when some object was disposed with
11102         a parent, also revive the object since it might
11103         crash the parent.
11104
11105 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
11106
11107         * tools/gst-launch.1.in:
11108           Fix another typo.
11109
11110 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11111
11112         * configure.ac:
11113         * tests/check/Makefile.am:
11114           disable some tests when we don't have a registry
11115         * tests/check/gst/gstutils.c: (gst_utils_suite):
11116           don't build the part that needs parsing
11117
11118 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
11119
11120         * gst/Makefile.am
11121         * tests/examples/Makefile.am:
11122           fix --disable-parse build
11123
11124 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11125
11126         * tools/gst-feedback.1.in:
11127           Fix typo: s/feeback/feedback/ (#133494).
11128
11129 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11130
11131         * tools/Makefile.am:
11132         * tools/gst-launch.1.in:
11133           Add FILES section and correct entry about GST_REGISTRY_PATH
11134           environment variable (#133495; #133494).
11135
11136 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11137
11138         * tools/Makefile.am:
11139         * tools/gst-md5sum.1.in:
11140         * tools/gst-md5sum.c:
11141           Remove gst-md5sum and man page (the md5sink element
11142           required was removed ages ago)
11143
11144 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11145
11146         * gst/gststructure.c: (gst_structure_id_set_value):
11147           Make sure that string fields in structures/taglists
11148           contain valid UTF-8 - we don't want to pass rubbish to
11149           applications because of a buggy plugin (cp. #334167).
11150
11151 2006-03-21  Edward Hervey  <edward@fluendo.com>
11152
11153         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
11154         (gst_bin_handle_message_func):
11155         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
11156         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
11157         (gst_element_set_bus_func):
11158         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
11159         * gst/gstminiobject.c: (gst_value_set_mini_object),
11160         (gst_value_take_mini_object):
11161         * gst/gstpad.c: (gst_pad_set_pad_template):
11162         * gst/gstpipeline.c: (gst_pipeline_dispose),
11163         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
11164         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
11165         (gst_collect_pads_chain):
11166         * libs/gst/net/gstnettimeprovider.c:
11167         (gst_net_time_provider_set_property):
11168         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
11169         It's in fact all issues with gst_*object_replace().
11170
11171 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
11172
11173         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
11174         
11175         * pkgconfig/gstreamer-check-uninstalled.pc.in:
11176         * pkgconfig/gstreamer-check.pc.in:
11177           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
11178
11179 2006-03-21  Edward Hervey  <edward@fluendo.com>
11180
11181         * gst/gstbuffer.h:
11182         * gst/gstevent.h:
11183         * gst/gstmessage.h:
11184         gst_[buffer|event|message]_ref() macros are replaced by a static
11185         inline functions because gcc-4.1 will about if the return value
11186         isn't used.
11187         * tests/check/gst/gstevent.c: (event_probe):
11188         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
11189
11190 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
11191
11192         * gst/gstutils.h:
11193         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
11194         the type' case. (Closes: #335195 for now). In the future, when we
11195         depend on GLib 2.10, we could also intern the type name using
11196         g_intern_static_string()
11197
11198 2006-03-20  Wim Taymans  <wim@fluendo.com>
11199
11200         * gst/gstbin.c: (gst_bin_handle_message_func),
11201         (bin_query_max_init), (bin_query_position_fold),
11202         (bin_query_position_done), (gst_bin_query):
11203         Position query should also take max of all streams.
11204
11205 2006-03-20  Wim Taymans  <wim@fluendo.com>
11206
11207         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
11208         (gst_fake_src_finalize):
11209         Fix leaks in fakesrc.
11210
11211         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11212         Fix leaks in the testcase.
11213
11214 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
11215
11216         * gst/gst_private.h:
11217           add win32 specific import decoration(__declspec(dllimport)) 
11218           for all extern GstDebugCategory * variables
11219         * win32/common/libgstbase.def:
11220         * win32/common/libgstcontroller.def:
11221         * win32/common/libgstreamer.def:
11222           Add some exports, remove empty lines
11223         * win32/common/libgstdataprotocol.def:
11224         * win32/common/libgstdataprotocol.dsp:
11225         * win32/common/libgstnet.def:
11226         * win32/common/libgstnet.dsp:
11227           new project files and exportation files added
11228         
11229 2006-03-19  Wim Taymans  <wim@fluendo.com>
11230
11231         * tests/check/libs/basesrc.c: (eos_event_counter):
11232         Use proper return value for probe.
11233
11234 2006-03-17  Wim Taymans  <wim@fluendo.com>
11235
11236         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11237         (gst_pad_push):
11238         Don't leak buffers, caps and pads on negotiation errors.
11239
11240 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
11241
11242         * docs/faq/cvs.xml:
11243         * docs/faq/dependencies.xml:
11244         * docs/faq/developing.xml:
11245         * docs/faq/faq.xml:
11246         * docs/faq/general.xml:
11247         * docs/faq/getting.xml:
11248         * docs/faq/legal.xml:
11249         * docs/faq/troubleshooting.xml:
11250         * docs/faq/using.xml:
11251         Faq review and update.
11252
11253 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
11254
11255         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
11256         (gst_pad_push):
11257         Don't pound the cpu to pieces by checking get_caps when accept_caps
11258         is called with the same caps as the pad already has.
11259         Use GST_DEBUG_OBJECT when outputting caps change information.
11260
11261 2006-03-15  Wim Taymans  <wim@fluendo.com>
11262
11263         * gst/gstclock.c: (gst_clock_class_init):
11264         Fix docs.
11265
11266 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
11267
11268         * gst/gstbuffer.h:
11269         Documentation fix.
11270
11271         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
11272         (gst_pad_accept_caps), (gst_pad_configure_sink),
11273         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
11274         Make the default acceptcaps behaviour be to check the requested 
11275         caps against the gst_pad_get_caps output. 
11276
11277         Ensure that gst_pad_accept_caps is used to check caps when a pad
11278         doesn't have a setcaps function, so that pads automatically refuse 
11279         caps that they don't allow in their pad template. (Fixes #332986)
11280
11281         When a buffer with attached caps is pushed, ensure that the source 
11282         pad receives those caps even if the element didn't call
11283         gst_pad_set_caps first.
11284
11285 2006-03-15  Wim Taymans  <wim@fluendo.com>
11286
11287         * libs/gst/base/gstadapter.c:
11288         Add some docs.
11289
11290 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
11291
11292         * win32/common/libgstbase.def:
11293         * win32/common/libgstcontroller.def:
11294         * win32/common/libgstreamer.def:
11295           Add a whole bunch of missing functions (#334434).
11296
11297 2006-03-14  Wim Taymans  <wim@fluendo.com>
11298
11299         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11300         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
11301         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
11302         Better debug info when we receive a segment event.
11303         Reorganize a bit so we can pass the get_times() results around.
11304         Use the segment format when calculating the running time.
11305         Don't do QoS is sync is disabled or we have no clock or the
11306         element does not want us to sync to the clock.
11307         Don't drop buffers if QoS is disabled for now.
11308
11309 2006-03-14  Wim Taymans  <wim@fluendo.com>
11310
11311         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
11312         Marked the stats property as unimplemented so people don't get
11313         wild ideas.
11314         Add debug message when regression goes wrong.
11315         Added some more docs.
11316
11317 2006-03-14  Wim Taymans  <wim@fluendo.com>
11318
11319         * gst/gstsegment.c: (gst_segment_to_stream_time):
11320         Return correct return type in case of errors.
11321
11322 2006-03-14  Wim Taymans  <wim@fluendo.com>
11323
11324         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
11325           Don't segfault on invalid formats.
11326
11327 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11328
11329         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
11330           Can't use gst_segment_to_running_time() when the segment
11331           is not in GST_TIME_FORMAT (like with filesink, for example).
11332           Stops flac encoding pipelines from spewing critical warnings
11333           at EOS (#331248).
11334           
11335 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
11336
11337         * gst/gstpipeline.c: (gst_pipeline_class_init):
11338           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
11339
11340         * plugins/elements/gsttypefindelement.c:
11341         (gst_type_find_element_handle_event):
11342           Don't try to typefind empty streams.
11343
11344 2006-03-14  Wim Taymans  <wim@fluendo.com>
11345
11346         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
11347         (gst_base_sink_do_qos):
11348         Separate QoS calculation.
11349         Only drop buffers when lateness is bigger than the 
11350         duration of the buffer.
11351
11352 2006-03-13  Wim Taymans  <wim@fluendo.com>
11353
11354         * gst/gstpipeline.c: (gst_pipeline_set_property),
11355         (gst_pipeline_get_property), (do_pipeline_seek),
11356         (gst_pipeline_change_state), (gst_pipeline_set_delay),
11357         (gst_pipeline_get_delay):
11358         Don't deadlock when reading properties.
11359
11360 2006-03-13  Wim Taymans  <wim@fluendo.com>
11361
11362         * libs/gst/base/gstbasetransform.c:
11363         (gst_base_transform_class_init), (gst_base_transform_init),
11364         (gst_base_transform_sink_event),
11365         (gst_base_transform_sink_eventfunc),
11366         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
11367         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11368         (gst_base_transform_set_property),
11369         (gst_base_transform_get_property),
11370         (gst_base_transform_change_state), (gst_base_transform_update_qos),
11371         (gst_base_transform_set_qos_enabled),
11372         (gst_base_transform_is_qos_enabled):
11373         * libs/gst/base/gstbasetransform.h:
11374         Make basetransform virtual method for src events too.
11375         Handle QOS in basetransform.
11376         API: gst_base_transform_update_qos()
11377         API: gst_base_transform_set_qos_enabled()
11378         API: gst_base_transform_is_qos_enabled()
11379
11380 2006-03-13  Wim Taymans  <wim@fluendo.com>
11381
11382         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
11383         (gst_base_sink_do_sync):
11384         Small cleanups.
11385         Use QOS debug category.
11386
11387 2006-03-13  Wim Taymans  <wim@fluendo.com>
11388
11389         * plugins/elements/gstqueue.c:
11390         Very small doc update.
11391
11392 2006-03-13  Wim Taymans  <wim@fluendo.com>
11393
11394         * gst/gst_private.h:
11395         * gst/gstinfo.c: (_gst_debug_init):
11396         Added QOS debug category
11397
11398 2006-03-13  Wim Taymans  <wim@fluendo.com>
11399
11400         * docs/gst/gstreamer-sections.txt:
11401         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
11402         * gst/gstbin.h:
11403         * gst/gstbus.c: (gst_bus_class_init):
11404         * gst/gstbus.h:
11405         * gst/gstclock.c:
11406         * gst/gstelement.c: (gst_element_set_locked_state):
11407         * gst/gstsegment.c:
11408         Documentation updates.
11409
11410         * gst/gstpipeline.c: (gst_pipeline_get_type),
11411         (gst_pipeline_class_init), (gst_pipeline_init),
11412         (gst_pipeline_dispose), (gst_pipeline_set_property),
11413         (gst_pipeline_get_property), (do_pipeline_seek),
11414         (gst_pipeline_send_event), (gst_pipeline_change_state),
11415         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
11416         (gst_pipeline_get_delay):
11417         * gst/gstpipeline.h:
11418         Added methods for setting the delay.
11419         API: gst_pipeline_set_delay()
11420         API: gst_pipeline_get_delay()
11421         Add pipeline debug category
11422         Various cleanups.
11423         Updated docs.
11424         Don't reset stream time when seek failed.
11425
11426 2006-03-13  Wim Taymans  <wim@fluendo.com>
11427
11428         * docs/design/draft-klass.txt:
11429         * docs/design/part-clocks.txt:
11430         * docs/design/part-events.txt:
11431         * docs/design/part-gstbin.txt:
11432         * docs/design/part-gstpipeline.txt:
11433         * docs/design/part-messages.txt:
11434         * docs/design/part-negotiation.txt:
11435         * docs/design/part-overview.txt:
11436         * docs/design/part-preroll.txt:
11437         * docs/design/part-seeking.txt:
11438         * docs/design/part-states.txt:
11439         * docs/design/part-streams.txt:
11440         Documentation updates.
11441
11442 2006-03-12  Julien MOUTTE  <julien@moutte.net>
11443
11444         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
11445         us to leak strings...
11446
11447 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11448
11449         * libs/gst/net/gstnettimeprovider.c:
11450           fix docs
11451         * win32/common/config.h:
11452           update
11453
11454 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
11455
11456         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
11457
11458         * configure.ac:
11459           Don't check for libgnomeui (leftover from old examples
11460           that aren't built or disted any longer) (#334303).
11461           
11462 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
11463
11464         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
11465         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
11466           Emit RESOURCE_NO_SPACE_LEFT error here as well when
11467           there's no space left on the device.
11468
11469 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
11470
11471         * gst/gstclock.h:
11472           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
11473           to cast the input to GstClockTime before comparing with
11474           another GstClockTime value.
11475
11476 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
11477
11478         * configure.ac:
11479           back to trunk
11480
11481 === release 0.10.4 ===
11482
11483 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
11484
11485         * configure.ac:
11486           releasing 0.10.4, "Light"
11487
11488 2006-03-10  Michael Smith  <msmith@fluendo.com>
11489
11490         * libs/gst/dataprotocol/dataprotocol.c:
11491           Fix docs for dataprocotol to not get the return types completely
11492           wrong for a few functions.
11493
11494 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11495
11496         * docs/gst/gstreamer-sections.txt:
11497         * gst/gstpipeline.c: (gst_pipeline_class_init),
11498         (gst_pipeline_init), (gst_pipeline_set_property),
11499         (gst_pipeline_get_property), (gst_pipeline_change_state),
11500         (gst_pipeline_set_auto_flush_bus),
11501         (gst_pipeline_get_auto_flush_bus):
11502         * gst/gstpipeline.h:
11503           Add new API: gst_pipeline_set_auto_flush_bus() and
11504           gst_pipeline_get_auto_flush_bus() to disable automatic
11505           flushing of the pipeline's GstBus when going from READY
11506           to NULL state (#332045).
11507
11508 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11509
11510         * docs/gst/gstreamer-sections.txt:
11511         * gst/gsturi.c: (gst_uri_has_protocol):
11512         * gst/gsturi.h:
11513            Add new API: gst_uri_has_protocol() (#333779).
11514
11515 2006-03-09  Wim Taymans  <wim@fluendo.com>
11516
11517         * gst/gstclock.c: (gst_clock_entry_new),
11518         (gst_clock_id_compare_func), (gst_clock_id_wait),
11519         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
11520         (gst_clock_init), (gst_clock_get_internal_time),
11521         (gst_clock_set_master), (do_linear_regression),
11522         (gst_clock_add_observation), (gst_clock_set_property):
11523         * gst/gstclock.h:
11524         Review docs.
11525         Small cleanups.
11526         Fix a possible segfault when the window-size is made smaller.
11527         Calculate jitter before performing the clock wait. Ideally
11528         the clock implementation should calculate jitter but we need
11529         API breakage for that.
11530
11531         * gst/gstsystemclock.c: (gst_system_clock_init):
11532         Docs review.
11533         
11534         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11535         Remove leftover else
11536
11537         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
11538         (gst_systemclock_suite):
11539         Added check to test GST_CLOCK_DIFF.
11540
11541 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
11542
11543         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
11544         (gst_type_find_helper_get_range):
11545           If we are provided with the size, we should implement
11546           GstTypeFind::get_length, so that typefind functions who
11547           want to can actually peek at the middle of a file.
11548
11549 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
11550
11551         * docs/manual/advanced-dataaccess.xml:
11552           Add some very very basic error checking.
11553
11554         * docs/pwg/appendix-checklist.xml:
11555           Some updates to the list of things to check when writing an element.
11556
11557 2006-03-08  Wim Taymans  <wim@fluendo.com>
11558
11559         * docs/design/part-element-transform.txt:
11560         Added some docs about the design of tranform elements.
11561
11562         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
11563         (gst_base_src_loop), (gst_base_src_change_state):
11564         Mark buffers with the DISCONT flag.
11565
11566 2006-03-08  Michael Smith  <msmith@fluendo.com>
11567
11568         * gst/gstregistry.h:
11569         * gst/gstregistryxml.c: (gst_registry_save),
11570         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
11571         (gst_registry_xml_save_pad_template),
11572         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
11573         (gst_registry_xml_write_cache):
11574           Rewrite registry-saving to avoid race conditions and check for
11575           failed writes.
11576
11577 2006-03-08  Wim Taymans  <wim@fluendo.com>
11578
11579         * libs/gst/base/gstbasetransform.c:
11580         (gst_base_transform_transform_caps),
11581         (gst_base_transform_transform_size),
11582         (gst_base_transform_prepare_output_buffer),
11583         (gst_base_transform_get_unit_size),
11584         (gst_base_transform_buffer_alloc),
11585         (gst_base_transform_handle_buffer),
11586         (gst_base_transform_change_state):
11587         Cleanups, separate normal flow from errors, add sensible
11588         DEBUG lines.
11589         Don't try to renegotiate when allocating an output buffer.
11590         Also copy DISCONT buffer flag when copying a buffer.
11591         Reset the transform after we finish streaming, not during.
11592
11593 2006-03-08  Wim Taymans  <wim@fluendo.com>
11594
11595         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
11596         Use last buffer timestamp in qos message.
11597
11598 2006-03-07  Wim Taymans  <wim@fluendo.com>
11599
11600         Patch by: Christophe Fergeau
11601
11602         * docs/pwg/advanced-tagging.xml:
11603         * docs/pwg/building-pads.xml:
11604           fixes #333416
11605
11606 2006-03-07  Wim Taymans  <wim@fluendo.com>
11607
11608         * docs/libs/gstreamer-libs-sections.txt:
11609         Added basesink new methods.
11610
11611         * gst/gstevent.c:
11612         * gst/gstevent.h:
11613         Docs updates. Flesh out the QoS docs.
11614
11615         * libs/gst/base/gstadapter.c:
11616         Small doc clarification about ownership and flushing.
11617
11618         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
11619         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
11620         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
11621         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11622         * libs/gst/base/gstbasesink.h:
11623         API additions: 
11624         Added new methods to allow subclass to control max-lateness 
11625         and sync.
11626         Generate very basic QoS events based on last sync observation.
11627         Updated docs, fix typo, added some QoS blurb.
11628
11629         * libs/gst/base/gstbasesrc.c:
11630         Remove obsolete _get_state() calls from docs.
11631
11632 2006-03-07  Wim Taymans  <wim@fluendo.com>
11633
11634         * docs/libs/gstreamer-libs-sections.txt:
11635         * libs/gst/base/gstbasetransform.h:
11636         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
11637         Fix docs for GstBaseSrc.
11638
11639 2006-03-07  Wim Taymans  <wim@fluendo.com>
11640
11641         * docs/gst/gstreamer-sections.txt:
11642         * gst/gstbuffer.h:
11643         * gst/gstvalue.c:
11644         * libs/gst/base/gstbasetransform.h:
11645         Small documentation fixes.
11646
11647 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11648
11649         * gst/gstvalue.c:
11650           Document thread-unsafety of gst_value_register_foo_func()
11651           when used at the same time as gst_value_foo() (#322628).
11652
11653 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
11654
11655         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
11656         (gst_push_src_check_get_range):
11657           Push sources don't support pull mode by default.
11658
11659 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11660
11661         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11662         (gst_base_src_init), (gst_base_src_pad_check_get_range),
11663         (gst_base_src_default_check_get_range):
11664         * libs/gst/base/gstbasesrc.h:
11665           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
11666           provide default implementation, and rename
11667           gst_base_src_check_get_range() to
11668           gst_base_src_pad_check_get_range() for clarity.
11669
11670 2006-03-06  Wim Taymans  <wim@fluendo.com>
11671
11672         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
11673         Make property overridable.
11674
11675 2006-03-06  Wim Taymans  <wim@fluendo.com>
11676
11677         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
11678         (gst_base_sink_init), (gst_base_sink_set_property),
11679         (gst_base_sink_get_property), (gst_base_sink_do_sync):
11680         * libs/gst/base/gstbasesink.h:
11681         API addition: Make max-lateness a property.
11682
11683 2006-03-06  Wim Taymans  <wim@fluendo.com>
11684
11685         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
11686         (gst_base_sink_do_sync), (gst_base_sink_render_object):
11687         Don't ever draw a frame that is >10ms late.
11688
11689 2006-03-06  Michael Smith  <msmith@fluendo.com>
11690
11691         * gst/gstmessage.c: (_gst_message_copy):
11692           When copying a message, set the parent_refcount of the enclosed
11693           structure to point at the copy, not the original message.
11694
11695 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
11696
11697         Patch by: Christophe Fergeau
11698
11699         * gst/gstutils.h:
11700           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
11701           usable in c++ code (#333417)
11702
11703 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11704
11705         * gst/gstclock.h:
11706           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
11707
11708 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
11709
11710         * libs/gst/base/gstbasetransform.c:
11711         (gst_base_transform_transform_caps):
11712           Make sure caps are writable before passing them to
11713           gst_caps_append().
11714
11715 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11716
11717         * gst/gsterror.h:
11718           Fix some minor docs errors.
11719
11720 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
11721
11722           Patch by: Ross Burton <ross at burtonini dot com>
11723
11724         * gst/gsterror.c: (_gst_resource_errors_init):
11725         * gst/gsterror.h:
11726           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
11727
11728 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11729
11730         * gst/gst.c:
11731         Add a check and output a g_warning when GStreamer is built
11732         against GLib 2.6 but running against 2.8 or higher, and vice 
11733         versa. (Closes: #323542)
11734
11735 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
11736
11737         * gst/parse/parse.l:
11738           Commit patch for parse_launch syntax from #331255. Removes 
11739           support for quoted strings and mimetypes when writing filtered 
11740           caps. See the bug report for more details - I'm pretty sure this
11741           obscure feature is not in use by _anyone_ anywhere.
11742
11743           With this simple change, the size of the gstreamer.so here 
11744           drops from 2193KB to 1565KB.
11745
11746 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11747
11748         * plugins/elements/gsttypefindelement.h:
11749         * plugins/elements/gsttypefindelement.c:
11750         (gst_type_find_element_src_event), (start_typefinding),
11751         (stop_typefinding), (gst_type_find_element_handle_event),
11752         (gst_type_find_element_chain),
11753         (gst_type_find_element_chain_do_typefinding):
11754           Use gst_type_find_helper_for_buffer() for chain-based
11755           typefinding.
11756
11757 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11758
11759         * plugins/elements/gsttypefindelement.c:
11760         (gst_type_find_element_class_init),
11761         (gst_type_find_element_set_property),
11762         (gst_type_find_element_get_property):
11763           Deprecate "maximum" property (not only was it only taken into
11764           account for typefinding in push-mode anyway, it also was never
11765           actually possible to set it in the first place because the
11766           property was registered with the numeric property ID for the
11767           "minimum" property). Register "maximum" property correctly,
11768           for the sake of future copy'n'pasters. Remove some cruft
11769           from property get/set functions.
11770
11771 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
11772
11773         * plugins/elements/gsttypefindelement.c:
11774         (gst_type_find_element_activate):
11775           Use gst_type_find_helper_get_range() here, so we
11776           can honour the "minimum" property and also emit
11777           the signal with the correct probability of the found caps.
11778
11779 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
11780
11781         * docs/libs/gstreamer-libs-sections.txt:
11782         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
11783         (helper_find_suggest), (gst_type_find_helper_get_range),
11784         (gst_type_find_helper):
11785         * libs/gst/base/gsttypefindhelper.h:
11786           New API: gst_type_find_helper_get_range() (#333042).
11787
11788 2006-03-02  Michael Smith  <msmith@fluendo.com>
11789
11790         * gst/gstregistryxml.c: (load_feature):
11791           Asserting on a failure to read part of the registry is Not Cool.
11792           Just log a warning and return NULL (which is already handled)
11793
11794 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
11795
11796         * win32/common/libgstbase.def:
11797           added export of gst_type_find_helper_for_buffer
11798         * win32/common/libgstbase.def:
11799           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
11800           gst_ghost_pad_get_target
11801
11802 2006-02-28  Wim Taymans  <wim@fluendo.com>
11803
11804         * docs/design/draft-klass.txt:
11805         We use Filter now.
11806         Added Connector to mark elements that are only used to
11807         allow pipeline connections.
11808         Moved Debug to extra feature since most of them are 
11809         functionally something else.
11810
11811 2006-02-28  Wim Taymans  <wim@fluendo.com>
11812
11813         * docs/design/draft-klass.txt:
11814         Some updates and clarifications.
11815
11816 2006-02-28  Wim Taymans  <wim@fluendo.com>
11817
11818         * docs/design/draft-klass.txt:
11819         Proposal for klass field values.
11820
11821         * docs/design/part-streams.txt:
11822         Start of a doc describing stream anatomy.
11823
11824 2006-02-28  Wim Taymans  <wim@fluendo.com>
11825
11826         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
11827         Help the compiler a bit with type registration.
11828         Use existing forward cod path instead of duplicating it when 
11829         handling a message.
11830         
11831         * gst/gstbus.c: (gst_bus_get_type):
11832         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
11833         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
11834         * gst/gstclock.c: (gst_clock_get_type):
11835         * gst/gstelement.c: (gst_element_get_type),
11836         * gst/gstelementfactory.c: (gst_element_factory_get_type):
11837         * gst/gstindexfactory.c: (gst_index_factory_get_type):
11838         * gst/gstminiobject.c: (gst_mini_object_get_type):
11839         * gst/gstpad.c: (gst_pad_get_type):
11840         * gst/gstsegment.c: (gst_segment_get_type):
11841         * gst/gststructure.c: (gst_structure_get_type):
11842         * gst/gstsystemclock.c: (gst_system_clock_get_type):
11843         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
11844         * gst/gstvalue.c:
11845         Help compiler with type registration.
11846
11847         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
11848         Small doc update.
11849
11850 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11851
11852         * plugins/elements/gsttypefindelement.c:
11853         (gst_type_find_element_handle_event):
11854           When we get an EOS event and have not found a type yet
11855           (most likely because we had not yet accumulated
11856           TYPE_FIND_MIN_SIZE of data yet), try to determine the
11857           type given the data we have so far. Fixes typefinding
11858           for very short streams again, most notably quicktime
11859           redirections as used on Apple's trailer site (#331701).
11860
11861 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11862
11863         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
11864         (gst_type_find_helper):
11865           Try typefinding factories with the highest rank first.
11866
11867 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11868
11869         * docs/libs/gstreamer-libs-docs.sgml:
11870         * docs/libs/gstreamer-libs-sections.txt:
11871         * libs/gst/base/gsttypefindhelper.c:
11872           Add section for typefind helper and add documentation
11873           for the old and the new function.
11874
11875 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11876
11877         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
11878         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
11879         (gst_type_find_helper_for_buffer):
11880         * libs/gst/base/gsttypefindhelper.h:
11881           New API: gst_type_find_helper_for_buffer() (#332723).
11882           
11883 2006-02-27  Michael Smith  <msmith@fluendo.com>
11884
11885         Patch by: Loïc Minier
11886
11887         * configure.ac:
11888         * docs/Makefile.am:
11889         * docs/slides/Makefile.am:
11890           prevent CVS directories getting disted.
11891
11892 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
11893
11894         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
11895           Use the REFCOUNTING category for caps refcounting.
11896           
11897 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11898
11899         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
11900           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
11901
11902 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
11903
11904         * plugins/elements/gsttypefindelement.c:
11905         (gst_type_find_element_activate):
11906           Use gst_pad_check_pull_range() before _activate_pull()
11907           to avoid unnecessary open/close (see #331690).
11908
11909 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11910
11911         * gst/gstutils.c:
11912           Docs enhancement: make it crystal clear what the
11913           gst_pad_add_*_probe() callbacks should look like.
11914
11915 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
11916
11917         * libs/gst/base/gstbasesrc.c:
11918           Document how applications can stop recording from
11919           live sources (see #330996).
11920
11921 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11922
11923         * tests/check/Makefile.am:
11924         * tests/check/libs/basesrc.c: (eos_event_counter),
11925         (basesrc_eos_events_pull), (basesrc_eos_events_push),
11926         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
11927         (gst_basesrc_suite), (main):
11928           ... and add some tests for the base source EOS stuff.
11929
11930 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11931
11932         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
11933           Test case originally showed the problem fixed below,
11934           but was then amended. Add checks back at the place
11935           where they used to be.
11936
11937 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11938
11939         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11940         (gst_base_src_init), (gst_base_src_loop),
11941         (gst_base_src_activate_push), (gst_base_src_activate_pull),
11942         (gst_base_src_change_state):
11943         * libs/gst/base/gstbasesrc.h:
11944           Don't unconditionally send EOS when going from PAUSED to
11945           READY state, esp. make sure we don't send two EOS events
11946           in some cases (e.g. one when reaching EOS and one when
11947           going from PAUSED to READY). Also, we don't want to send
11948           EOS events when operating in pull mode. However, we do
11949           want to send an EOS event when shutting down a live
11950           source explicitly, for example (fixes #330996).
11951           
11952 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
11953
11954         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11955           Update src->read_position after a seek when not using mmap.
11956           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
11957
11958 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
11959
11960         * gst/Makefile.am:
11961         * gst/gstparse.h:
11962         * gst/gstutils.c:
11963         * gst/gstutils.h:
11964         Make things work with --disable-parse as they do with 
11965         --disable-load-save - the symbols involved disappear, but the
11966         header is still installed and GST_DISABLE_PARSE is included via
11967         gstconfig.h
11968
11969 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11970
11971         * libs/gst/base/gstbasetransform.c:
11972         (gst_base_transform_change_state): Fix a stupid bug. I was 
11973         sure I compiled that.
11974
11975 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11976
11977         * gst/gstpad.c: (gst_pad_set_blocked_async):
11978         * gst/gstutils.c: (gst_pad_add_data_probe),
11979         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11980         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11981         (gst_pad_remove_buffer_probe): Make those function act on the
11982         ghostpad target when it's a ghostpad. (Closes #331727)
11983
11984 2006-02-20  Julien MOUTTE  <julien@moutte.net>
11985
11986         * libs/gst/base/gstbasetransform.c:
11987         (gst_base_transform_change_state): Make basetransform reusable.
11988         (Closes #331898)
11989
11990 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
11991
11992         * docs/random/release:
11993         Move the current documentation of how to do a release to the top
11994         of the file.
11995
11996         * gst/gstbin.c: (gst_bin_class_init),
11997         (gst_bin_handle_message_func):
11998         Allow multiple state-recalculation threads. (Closes #328873)
11999
12000 2006-02-19  Julien MOUTTE  <julien@moutte.net>
12001
12002         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
12003         * gst/gstpad.c: (gst_pad_set_event_function),
12004         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12005         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
12006         2 strings. You can't use the STR_NULL macro on that.
12007
12008 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
12009
12010         * gst/gstpad.c: (gst_pad_set_event_function),
12011         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
12012         (gst_pad_set_getcaps_function)
12013         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
12014           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
12015           So now, we can use --gst-debug-level=5 on Windows
12016         * win32/common/libgstcontroller.def:
12017           Added export of gst_controller_init
12018         * win32/vs6/libgstcontroller.dsp:
12019           Fixed Release post build configuration
12020
12021 2006-02-17  Wim Taymans  <wim@fluendo.com>
12022
12023         * tests/check/gst/gstquery.c: (GST_START_TEST):
12024         Added another check.
12025
12026 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
12027
12028         * plugins/elements/gsttypefindelement.c: (find_peek):
12029           We can do peeks at non-zero offsets, as long as they
12030           fall within the buffer we have.
12031
12032 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
12033
12034         * tests/check/Makefile.am:
12035         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
12036         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
12037         (parse_suite), (main):
12038           Add testsuite for parse launch syntax
12039
12040 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
12041
12042         * plugins/elements/gsttypefindelement.c:
12043         (gst_type_find_element_chain):
12044           When typefinding is unsuccessful in the chain function, don't
12045           error out immediately. Only error out with NO_CAPS_FOUND if
12046           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
12047           otherwise simply wait for more data so we can try typefinding
12048           again with more data later. Also, don't attempt to typefind
12049           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
12050           this should improve typefinding from network sources where the
12051           size of the first buffer can be somewhat random.
12052
12053 2006-02-14  Wim Taymans  <wim@fluendo.com>
12054
12055         * docs/gst/gstreamer-sections.txt:
12056         * gst/gstpadtemplate.c:
12057         * gst/gstpadtemplate.h:
12058         Fix padtemplate docs, fixes #328805.
12059
12060 2006-02-14  Wim Taymans  <wim@fluendo.com>
12061
12062         * tools/gst-launch.c: (main):
12063         NO_PREROLL is not an ERROR so don't send confusing messages
12064         to the user.
12065
12066 2006-02-14  Wim Taymans  <wim@fluendo.com>
12067
12068         Patch by: Torsten Schoenfeld
12069
12070         * gst/gstregistry.c: (gst_registry_get_default),
12071         (_gst_registry_cleanup):
12072         Protect default registry with lock and ref/sink it.
12073         Fixes #324818
12074
12075 2006-02-14  Wim Taymans  <wim@fluendo.com>
12076
12077         * gst/gstbuffer.c:
12078         * gst/gstquery.c: (gst_query_list_add_format),
12079         (gst_query_set_formatsv), (gst_query_parse_formats_length),
12080         (gst_query_parse_formats_nth):
12081         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
12082         Docs fixes.
12083
12084 2006-02-14  Wim Taymans  <wim@fluendo.com>
12085
12086         * docs/gst/gstreamer-sections.txt:
12087         Reworked query docs.
12088
12089         * gst/gstquery.c: (gst_query_new_formats),
12090         (gst_query_list_add_format), (gst_query_set_formats),
12091         (gst_query_set_formatsv), (gst_query_parse_formats_length),
12092         (gst_query_parse_formats_nth):
12093         * gst/gstquery.h:
12094         Flesh out formats query, added some new methods.
12095         Fix part of #324398.
12096
12097         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
12098         Added query creation tests.
12099
12100 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
12101
12102         * gst/gstpad.c: (fixate_value):
12103         Add a default fixation for fraction lists.
12104
12105 2006-02-13  Wim Taymans  <wim@fluendo.com>
12106
12107         * gst/gsttask.c: (gst_task_init), (gst_task_func),
12108         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
12109         (gst_task_join):
12110         * gst/gsttask.h:
12111         Detect and warn for obvious deadlocks. fixes #320340
12112         Fix error case where lock was not released.
12113
12114         * tests/check/Makefile.am:
12115         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
12116         (task_func), (gst_element_suite), (main):
12117         Add task check.
12118
12119 2006-02-13  Wim Taymans  <wim@fluendo.com>
12120
12121         * docs/gst/gstreamer-sections.txt:
12122         * gst/gstbus.c:
12123         Add new functions to docs.
12124
12125 2006-02-13  Wim Taymans  <wim@fluendo.com>
12126
12127         * docs/design/part-TODO.txt:
12128         Updated TODO list, basesrc supports seeking to non-bytes
12129         formats.
12130
12131         * docs/design/part-element-sink.txt:
12132         Update docs.
12133
12134         * gst/gstbin.c: (bin_replace_message),
12135         (gst_bin_handle_message_func):
12136         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
12137         * gst/gstevent.c: (gst_event_finalize):
12138         * gst/gstpad.c: (gst_pad_event_default_dispatch),
12139         (gst_pad_send_event):
12140         Use shiny new _TYPE_NAME macros.
12141
12142         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12143         Move debug statement up.
12144
12145         * gst/gstelement.c: (gst_element_set_locked_state):
12146         Add some debugging.
12147
12148 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
12149
12150         * docs/gst/gstreamer-sections.txt:
12151         * gst/gstmessage.h:
12152         * gst/gstquery.h:
12153           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
12154           macros (#330906). Also, document the already existing
12155           GST_QUERY_TYPE macro.
12156
12157 2006-02-13  Wim Taymans  <wim@fluendo.com>
12158
12159         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
12160         (event_probe), (GST_START_TEST):
12161         Only events up to the pipeline EOS are counted, there are
12162         some more when going to NULL currently which we don't care
12163         about for now.
12164
12165 2006-02-13  Wim Taymans  <wim@fluendo.com>
12166
12167         * gst/gstpad.c: (gst_pad_send_event):
12168         Correctly check flushing and emit probes. fixes #330125
12169
12170 2006-02-10  Andy Wingo  <wingo@pobox.com>
12171
12172         * gst/gstbus.c (gst_bus_class_init): Declare our private data
12173         structure.
12174         (gst_bus_init): Cache the location of the private data in the
12175         instance structure.
12176         (gst_bus_enable_sync_message_emission) 
12177         (gst_bus_disable_sync_message_emission): Implement new public
12178         functions.
12179         (gst_bus_post): Emit the sync-message signal if the user asked for
12180         it. Fixes #330684.
12181
12182         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
12183         location of the bus-private structure.
12184         (gst_bus_enable_sync_message_emission)
12185         (gst_bus_disable_sync_message_emission): API addition
12186
12187 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
12188
12189         Patch by: Vincent Torri
12190
12191         * docs/pwg/building-boiler.xml:
12192         PWG patch from #326800
12193
12194 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
12195
12196         * configure.ac:
12197         * docs/Makefile.am:
12198         * docs/design/Makefile.am:
12199           Dist design docs.
12200
12201 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
12202
12203         * configure.ac:
12204           back to CVS
12205
12206 === release 0.10.3 ===
12207
12208 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
12209
12210         * configure.ac:
12211           releasing 0.10.3, "Like a virgin"
12212
12213 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
12214
12215         * configure.ac:
12216           2nd prerelease of 0.10.3
12217           Bump libtool versioning.
12218
12219 2006-02-07  Andy Wingo  <wingo@pobox.com>
12220
12221         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
12222         update last_stop if we're in TIME format and the timestamp is
12223         valid.
12224
12225         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
12226         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
12227         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
12228         If we get a new newsegment with a different format, adapt
12229         accordingly.
12230
12231         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
12232         of 0. Not a problem, really.
12233
12234         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
12235         warn if sync=true.
12236
12237 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
12238
12239         * configure.ac:
12240           Prelease of 0.10.3
12241
12242 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
12243
12244         * win32/vs7:
12245           project files updated to the default vs7 configuration
12246         * win32/common/libgstbase.def:
12247         * win32/common/libgstreamer.def:
12248           added new symbols,
12249           removed empty lines,
12250           sorted all exported symbols alphabetically
12251         * win32/common/dirent.c:
12252         * win32/common/dirent.h:
12253         * win32/common/gchar.h:
12254           use windows line end.
12255           
12256 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
12257
12258         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
12259           Send EOS event when stopping.
12260
12261 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
12262
12263         * docs/README:
12264           Tell folks what to do if the plugin-foobar.xml file
12265           hasn't been generated for a newly-added plugin.
12266
12267 2006-02-05  Julien MOUTTE  <julien@moutte.net>
12268
12269         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12270         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12271         (gst_collect_pads_start), (gst_collect_pads_stop),
12272         (gst_collect_pads_event): Collectpads now holds a reference
12273         to the GstPad that was added. Indeed we don't want to look
12274         at pads that might just go away with no warning...
12275
12276 2006-02-05  Julien MOUTTE  <julien@moutte.net>
12277
12278         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
12279         (gst_collect_pads_start), (gst_collect_pads_stop),
12280         (gst_collect_pads_event), (gst_collect_pads_chain):
12281         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
12282         Mark Nauwelaerts's patch on bug #328491.
12283
12284 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12285
12286         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
12287         (gst_utils_suite):
12288           Add some simple tests for gst_parse_bin_from_description() and
12289           gst_bin_find_unconnected_pad() (#329069).
12290
12291 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
12292
12293         * tools/gst-launch.c: (event_loop), (main):
12294           Catch errors during preroll (#320084).
12295
12296 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
12297
12298         * plugins/elements/gsttypefindelement.c:
12299         (gst_type_find_element_activate):
12300           Post TYPE_NOT_FOUND error message when typefinding
12301           is unsuccessful in the activate function as well.
12302
12303 2006-02-02  Wim Taymans  <wim@fluendo.com>
12304
12305         * docs/design/part-element-sink.txt:
12306         Updated doc.
12307
12308 2006-02-02  Wim Taymans  <wim@fluendo.com>
12309
12310         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
12311         (gst_base_sink_render_object),
12312         (gst_base_sink_queue_object_unlocked):
12313         Only keep track of prerollable items when we are 
12314         prerolling.
12315         Before rendering after preroll, always check if we
12316         have queued items.
12317         Added some more debugging.
12318
12319 2006-02-02  Wim Taymans  <wim@fluendo.com>
12320
12321         * gst/gstelement.c: (gst_element_continue_state),
12322         (gst_element_set_state_func), (gst_element_change_state):
12323         Fixed #326576, been running this for quite some time with
12324         no regressions at all.
12325
12326 2006-02-02  Wim Taymans  <wim@fluendo.com>
12327
12328         * common/gst.supp:
12329         Added more suppressions
12330
12331 2006-02-02  Wim Taymans  <wim@fluendo.com>
12332
12333         * docs/design/part-element-sink.txt:
12334         Updated document.
12335
12336         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12337         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
12338         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
12339         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
12340         (gst_base_sink_do_sync), (gst_base_sink_render_object),
12341         (gst_base_sink_preroll_object),
12342         (gst_base_sink_queue_object_unlocked),
12343         (gst_base_sink_queue_object), (gst_base_sink_event),
12344         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
12345         (gst_base_sink_loop), (gst_base_sink_activate_pull),
12346         (gst_base_sink_get_position), (gst_base_sink_change_state):
12347         * libs/gst/base/gstbasesink.h:
12348         Totally refactored matching the design doc.
12349         Use two segments, one to clip incomming buffers and another to
12350         perform sync.
12351         Handle queueing correctly, bypass the queue when playing.
12352         Make EOS cancelable.
12353         Handle errors correctly when operating in pull based mode.
12354
12355         * tests/check/elements/fakesink.c: (GST_START_TEST),
12356         (fakesink_suite):
12357         Added new check for sinks.
12358
12359 2006-02-02  Wim Taymans  <wim@fluendo.com>
12360
12361         * gst/gstsegment.c: (gst_segment_clip):
12362         No reason to refuse to clip when start == -1
12363
12364 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
12365
12366         * docs/README:
12367         * docs/manual/intro-basics.xml:
12368         * docs/manual/intro-preface.xml:
12369         * docs/manual/manual.xml:
12370         * docs/pwg/advanced-dparams.xml:
12371         * docs/pwg/intro-basics.xml:
12372         * docs/pwg/intro-preface.xml:
12373         * docs/pwg/pwg.xml:
12374           describe dparams (controller) for plugins
12375           unify docs a little more
12376
12377 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
12378
12379         * docs/gst/gstreamer-sections.txt:
12380         * gst/gstutils.c: (element_find_unconnected_pad),
12381         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
12382         * gst/gstutils.h:
12383           Add new API: gst_parse_bin_from_description() and
12384           gst_bin_find_unconnected_pad() (#329069).
12385
12386 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
12387
12388         * docs/manual/README:
12389           uncover a nasty detail of the docs build
12390
12391 2006-01-31  Wim Taymans  <wim@fluendo.com>
12392
12393         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
12394         Don't cache duration messages if we're not going to use or
12395         free them.
12396
12397 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
12398
12399         * docs/manual/advanced-dparams.xml:
12400         * docs/pwg/advanced-dparams.xml:
12401           more dparam docs
12402         * gst/gstindex.c:
12403           fix docs
12404         * libs/gst/controller/lib.c: (gst_controller_init):
12405           init just once
12406
12407 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
12408
12409         * gst/gstelement.c: (gst_element_message_full):
12410           also show file/line/func if no additional debug was given
12411
12412 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
12413         
12414         * win32/vs7/grammar.vcproj:
12415           activate copy of autogenerated files for Release mode
12416
12417 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12418         
12419         * win32/common/libgstreamer.def:
12420           export gst_value_compare
12421
12422 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
12423
12424         * plugins/elements/Makefile.am:
12425         * plugins/elements/gstelements.c:
12426         * plugins/elements/gstfdsink.c: (_do_init),
12427         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
12428         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
12429         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
12430         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
12431         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
12432         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
12433         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
12434         * plugins/elements/gstfdsink.h:
12435         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
12436
12437 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
12438
12439         * docs/manual/advanced-dparams.xml:
12440           describe controller
12441         * docs/manual/advanced-position.xml:
12442         * docs/manual/basics-init.xml:
12443         * docs/manual/manual.xml:
12444         * docs/manual/titlepage.xml:
12445         * docs/pwg/pwg.xml:
12446         * docs/pwg/titlepage.xml:
12447           cleanup xml (more to come)
12448         * libs/gst/controller/gstcontroller.c:
12449           fix typo
12450
12451 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
12452         
12453         * win32/vs6/grammar.dsp:
12454           add autogen of gstmarshal.c,h for Release mode
12455                 
12456 2006-01-30  Wim Taymans  <wim@fluendo.com>
12457
12458         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
12459         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
12460         (gst_base_sink_handle_object), (gst_base_sink_event),
12461         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
12462         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
12463         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
12464         (gst_base_sink_deactivate), (gst_base_sink_activate),
12465         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
12466         (gst_base_sink_query), (gst_base_sink_change_state):
12467         Basesink cleanups, remove some old code.
12468         Handle the case where a subclass can preroll in the render
12469         method (mostly audiosinks).
12470         Handle more events.
12471         Remove some locks around variables that are now protected
12472         with the PREROLL_LOCK (clock_id, flushing, ..).
12473         Optimize position query some more, do correct locking.
12474         Remove old code to push queue in state change, this is not
12475         needed anymore since preroll blocks on all prerollable items 
12476         now.
12477         Almost implemented as described in design doc.
12478
12479 2006-01-30  Wim Taymans  <wim@fluendo.com>
12480
12481         * tests/check/gst/gstbin.c: (GST_START_TEST):
12482         Wait for refcount to settle down before checking.
12483
12484 2006-01-30  Wim Taymans  <wim@fluendo.com>
12485
12486         * docs/design/part-element-sink.txt:
12487         Pseudo code overview of desired sink behaviour regarding
12488         preroll.
12489
12490 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12491         * win32/vs6/grammar.dsp:
12492           fix some bugs in Release mode for autogenerated files
12493                 
12494 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12495         * win32/common/libgstbase.def:
12496         * win32/common/libgstreamer.def:
12497           export some new symbols: gst_base_src_set_format,
12498           gst_iterator_next, gst_structure_set_valist
12499
12500 2006-01-29  Julien MOUTTE  <julien@moutte.net>
12501
12502         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
12503         Set pad functions unconditionally. Fixes #329105.
12504
12505 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
12506         * win32/vs8:
12507           add vs8 project files created by Sergey Scobich
12508
12509 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
12510
12511         * gst/gstutils.c: (gst_element_unlink_pads):
12512         Don't leak pad references.
12513
12514         * tests/check/elements/fakesink.c: (GST_START_TEST):
12515         * tests/check/generic/sinks.c: (GST_START_TEST):
12516         * tests/check/generic/states.c: (GST_START_TEST):
12517         * tests/check/gst/gstbin.c: (GST_START_TEST):
12518         * tests/check/gst/gstcaps.c: (GST_START_TEST):
12519         * tests/check/gst/gstelement.c: (GST_START_TEST):
12520         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
12521         * tests/check/gst/gstiterator.c: (GST_START_TEST):
12522         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12523         Fix a bunch of leaks. Make generic/sinks.c
12524         use a bit less cpu by slowing the buffer rate
12525         between fakesrc and fakesink.
12526         
12527 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
12528         * gst/gstcaps.c:
12529         * gst/gstelement.c: (gst_element_send_event):
12530         * gst/gstevent.c:
12531         * gst/gstinfo.c:
12532         * gst/gstiterator.c:
12533         * gst/gstiterator.h:
12534         * gst/gstpad.c: (gst_pad_send_event):
12535         * gst/gststructure.c:
12536         * gst/gsturi.c:
12537         * gst/gstutils.c:
12538         * gst/gstvalue.c:
12539         * libs/gst/base/gstadapter.c:
12540           doc fixes, to link to function, just write gst_cool_function(), don't
12541           prefix with '#'
12542
12543 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12544
12545         * plugins/elements/gsttee.c: (gst_tee_do_push),
12546         (gst_tee_handle_buffer):
12547         Always prefer an actual return value from a src
12548         pad in place of NOT_LINKED. This means we return
12549         WRONG_STATE when all src pads are WRONG_STATE
12550         instead of NOT_LINKED.
12551
12552         Lock when replacing the last message to prevent
12553         racing with the get_property method.
12554
12555         Add debug output
12556
12557 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12558
12559         * tests/check/Makefile.am:
12560         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
12561         (main):
12562         Add a very simple check that should have caught the memleak I fixed
12563         last night (if not for the slice allocator hiding it)
12564
12565 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
12566
12567         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
12568         (gst_bin_remove_func), (gst_bin_handle_message_func),
12569         (bin_query_duration_fold), (bin_query_generic_fold):
12570         Clean up references to the clock provider when disposed or when
12571         handling a clock-lost message from it.
12572
12573         Unref sinks when performing a query via gst_iterator_fold, as the
12574         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
12575
12576         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
12577         (gst_clock_set_master):
12578         Drop our reference to the master clock, if any, when we are disposed.
12579
12580         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
12581         Chain up in dispose. 
12582
12583 2006-01-26  Wim Taymans  <wim@fluendo.com>
12584
12585         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
12586         Add some debugging.
12587
12588 2006-01-26  Julien MOUTTE  <julien@moutte.net>
12589
12590         * plugins/elements/gsttee.c: (gst_tee_do_push),
12591         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
12592         handles pad being NOT_LINKED or in WRONG_STATE.
12593
12594 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12595
12596         * win32/MANIFEST:
12597           more updating
12598
12599 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12600
12601         * win32/MANIFEST:
12602           remove obsolete entry
12603
12604 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
12605
12606         * docs/gst/gstreamer-sections.txt:
12607         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
12608         (gst_bin_iterate_sources), (gst_bin_send_event):
12609         * gst/gstbin.h:
12610         * gst/gstelement.c: (gst_element_send_event):
12611         * gst/gstevent.c:
12612         * gst/gstpad.c: (gst_pad_send_event):
12613           added code for downstream events, reviewed docs in gstevent.c
12614
12615 2006-01-25  Julien MOUTTE  <julien@moutte.net>
12616
12617         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12618         We only query position using the clock in the playing state.
12619         Query peer in the other cases.
12620         * win32/common/config.h: Updates.
12621
12622 2006-01-24  Wim Taymans  <wim@fluendo.com>
12623
12624         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12625         A clock entry that is scheduled for the exact time of the
12626         clock is still in time.
12627
12628         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12629         (gst_base_sink_do_sync):
12630         Add some more debug info.
12631
12632 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12633
12634         * win32/vs7:
12635           Add new vs7 project files and solution.
12636
12637 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
12638
12639         * win32/vs7:
12640           all files removed as they were out-dated.
12641
12642 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12643
12644         * docs/random/release:
12645           update notes
12646         * gst/gstbin.c: (gst_bin_init):
12647         * gst/gstbus.c: (gst_bus_new):
12648         * gst/gstbus.h:
12649         * gst/gstpipeline.c: (gst_pipeline_init):
12650           use gst_bus_new(), improve logging, fix docs
12651         * win32/common/config.h:
12652           update for cvs build
12653
12654 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12655
12656         * autogen.sh:
12657           up required version of automake to 1.7
12658
12659 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
12660
12661         * win32/common/libgstreamer.def:
12662           export gst_buffer_is_metadata_writable
12663
12664 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
12665
12666         * docs/gst/gstreamer-sections.txt:
12667         * gst/gstevent.h:
12668           Add gst_event_replace() (#327001)
12669
12670 2006-01-20  Wim Taymans  <wim@fluendo.com>
12671
12672         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
12673         Make it actually compile too..
12674
12675 2006-01-20  Wim Taymans  <wim@fluendo.com>
12676
12677         * gst/gstcaps.c:
12678         Clarify behaviour of _is_equal() when passing NULL parameters.
12679
12680         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
12681         (gst_pad_set_caps):
12682         Cleanups. Don't unref NULL caps.
12683         When setting the same caps, protect caps of the pad with
12684         proper lock.
12685         Use full functionality of _is_equal() when comparing caps.
12686
12687 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12688
12689         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
12690         Don't loop infinitely if there are no buffers to present. Partially
12691         fixes #327197, but collectpads is just broken for reusing elements
12692         to do multiple encodes atm.
12693
12694 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
12695
12696         * tools/gst-inspect.c: (print_element_features):
12697         * tools/gst-xmlinspect.c: (main):
12698         URL_HANDLER is not a plugin feature we can search for in
12699         the registry.
12700
12701 2006-01-19  Edward Hervey  <edward@fluendo.com>
12702
12703         * gst/gstelement.c: (gst_element_pads_activate): 
12704         When activating, do src pads first, then sink pads.
12705         When de-activating, do sink pads first, then src pads.
12706
12707 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12708
12709         * docs/gst/gstreamer-sections.txt:
12710         Add gst_index_add_associationv to the docs
12711
12712 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12713
12714         * gst/gstevent.c:
12715           Fix docs typo
12716
12717         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
12718         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
12719           Do some refactoring. Doesn't actually change functionality,
12720           but makes landing the DRAIN event easier later.
12721
12722 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
12723
12724         * docs/pwg/advanced-scheduling.xml:
12725           Update from 0.9.x to 0.10 API and make example a bit
12726           clearer.
12727
12728 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12729
12730         * docs/gst/gstreamer-sections.txt:
12731         Add gst_buffer_(is|make)_metadata_writable methods.
12732
12733 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
12734
12735         * docs/design/part-sparsestreams.txt:
12736         Update sparse streams doc, hopefully for greater clarity
12737
12738 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
12739
12740         * docs/design/part-events.txt:
12741         Remove mention of FILLER events.
12742         Add DRAIN event.
12743
12744         * docs/design/part-sparsestreams.txt:
12745         Write some things about using NEWSEGMENT to keep sparse streams
12746         flowing.
12747
12748 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12749
12750         * gst/gstbin.c: (gst_bin_dispose):
12751           Guard gst_object_unref call against a NULL object (dispose
12752           can theoretically be called multiple times).
12753           
12754 2006-01-18  Wim Taymans  <wim@fluendo.com>
12755
12756         * gst/gstbin.c: (gst_bin_element_set_state):
12757         * gst/gstclock.c: (gst_clock_id_wait):
12758         Added some more debug info.
12759
12760         * libs/gst/base/gstadapter.c:
12761         Added more docs.
12762
12763         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12764         (gst_base_sink_do_sync), (gst_base_sink_chain):
12765         Added some comments.
12766
12767 2006-01-18  Wim Taymans  <wim@fluendo.com>
12768
12769         * tests/check/Makefile.am:
12770         * tests/check/elements/fakesink.c: (chain_async_buffer),
12771         (chain_async), (chain_async_return), (GST_START_TEST),
12772         (fakesink_suite), (main):
12773         Added fakesink test that checks prerolling and clipping
12774         behaviour.
12775
12776         * tests/check/gst/gstutils.c: (GST_START_TEST):
12777         Make check run faster so that buildbots don't timeout.
12778
12779 2006-01-18  Wim Taymans  <wim@fluendo.com>
12780
12781         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12782         (gst_base_sink_do_sync):
12783         Some cleanups.
12784         When the sink finishes blocking on the preroll buffer, it can
12785         immediatly render it instead of rendering when the next buffer
12786         arrives.
12787
12788 2006-01-18  Wim Taymans  <wim@fluendo.com>
12789
12790         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
12791         (gst_base_sink_get_property), (gst_base_sink_do_sync),
12792         (gst_base_sink_chain):
12793         Small cleanups.
12794         GST_ELEMENT_CLOCK and sync are protected with LOCK.
12795         Don't store _last_stop if the buffer is dropped.
12796
12797 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
12798
12799         * plugins/elements/gsttypefindelement.c:
12800         (gst_type_find_element_class_init):
12801           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
12802           object method handler that sets the caps on the pad and we want
12803           that to happen before we emit the signal (fixes e.g. feeding a
12804           plain text file to decodebin).
12805
12806 2006-01-18  Christian Schaller  <Christian@fluendo.com>
12807
12808         * gst/gstplugin.c: Add MPL and Proprietary as license options
12809
12810 2006-01-18  Andy Wingo  <wingo@pobox.com>
12811
12812         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
12813         symbol was exported before, it appears this was just an oversight.
12814         Fixes #168703.
12815         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
12816
12817         * gst/gstindex.c (gst_index_add_associationv): Changed int in
12818         prototype to gint. OK since this prototype was not in the header.
12819
12820 2006-01-17  Andy Wingo  <wingo@pobox.com>
12821
12822         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
12823         registry while we remove plugins.
12824
12825         * tools/gst-inspect.c (print_element_info): Don't unref the
12826         factory arg, that should be the responsibility of whatever code
12827         received the ref. Fixes a double-free when called from
12828         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
12829         (main): Unref the factory if we have one.
12830         (print_element_list): No change -- relies on the
12831         plugin_feature_list_free to free the list of features.
12832
12833 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
12834
12835         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12836         (gst_buffer_make_metadata_writable):
12837         * gst/gstbuffer.h:
12838         * libs/gst/base/gstbasetransform.c:
12839         (gst_base_transform_prepare_output_buf):
12840         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12841         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12842           Replace gst_buffer_(make|is)_metadata_writable patch now
12843           that the release is out.
12844
12845 2006-01-17  Andy Wingo  <wingo@pobox.com>
12846
12847         * gst/gstregistry.c: Reflow design comment. Update so as to speak
12848         in the present tense without reference to versions.
12849
12850         * gst/gstregistry.c (gst_registry_add_plugin)
12851         (gst_registry_remove_plugin, gst_registry_remove_feature)
12852         (gst_registry_find_feature, gst_registry_get_feature_list)
12853         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
12854         (gst_registry_lookup, gst_registry_scan_path)
12855         (_gst_registry_remove_cache_plugins)
12856         (gst_registry_get_feature_list_by_plugin): Add argument
12857         validation.
12858
12859 === release 0.10.2 ===
12860
12861 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
12862
12863         * configure.ac:
12864           releasing 0.10.2, "If man is five"
12865
12866 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12867
12868         * gst/gstbuffer.c:
12869         * gst/gstbuffer.h:
12870         * libs/gst/base/gstbasetransform.c:
12871         (gst_base_transform_prepare_output_buf):
12872         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12873         * tests/check/gst/gstbuffer.c: (gst_test_suite):
12874           Back out patch until after the release.
12875
12876 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12877
12878         * gst/gstminiobject.c:
12879           Spelling fix in docs.
12880         * ChangeLog - remove conflict indicator
12881
12882 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
12883
12884         Reviewed By: Andy Wingo
12885
12886         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
12887         (gst_buffer_make_metadata_writable):
12888         * gst/gstbuffer.h:
12889           Add gst_buffer_(is|make)_metadata_writable as analogues of
12890           gst_buffer_(is|make)_writable.
12891
12892         * libs/gst/base/gstbasetransform.c:
12893         (gst_base_transform_prepare_output_buf):
12894         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12895           Use name gst_buffer_(is|make)_metadata_writable functions.
12896
12897         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12898           Test gst_buffer_(is|make)_metadata_writable
12899         
12900           (Closes: #324162)
12901
12902 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
12903
12904         * docs/manual/Makefile.am:
12905           don't do parallel make
12906         * configure.ac:
12907           AC_SUBST HOST_CPU
12908         * win32/common/config.h.in:
12909           add generations for HOST_CPU and GST_MAJORMINOR
12910         * win32/common/config.h:
12911           commit generated result
12912
12913 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
12914
12915         * docs/manual/appendix-integration.xml:
12916           Update GNOME integration section to use gst_init_get_option_group()
12917           instead of the old popt stuff (#322911). Also, GNOME applications
12918           should  now use gconf*sink and gconf*src instead of the old gconf
12919           helper lib we had.
12920
12921 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
12922
12923
12924         * docs/gst/gstreamer-docs.sgml:
12925         * docs/gst/gstreamer-sections.txt:
12926         * docs/libs/gstreamer-libs-sections.txt:
12927           add new API entries to the docs
12928         * libs/gst/controller/Makefile.am:
12929         * libs/gst/controller/gstcontroller.c:
12930         * libs/gst/controller/gstcontroller.h:
12931         * libs/gst/controller/gstcontrollerprivate.h:
12932         * libs/gst/controller/gsthelper.c:
12933         * libs/gst/controller/gstinterpolation.c:
12934           move private structs to private header
12935         * po/README:
12936           gstreamer-0.7 -> gstreamer-0.10
12937         * tests/check/libs/struct_i386.h:
12938           remove private structs
12939
12940 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12941
12942         * plugins/indexers/Makefile.am:
12943           Fixes as part of #317048
12944
12945 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
12946
12947         * plugins/indexers/Makefile.am:
12948           fix #316086 - compilation when mmap is missing
12949
12950 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
12951
12952         * libs/gst/base/gstbasesink.c:
12953           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
12954           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
12955         * win32/common/config.h:
12956           added some defines GST_MAJORMINOR and HOST_CPU
12957         * win32/common/libgstbase.def:
12958         * win32/common/libgstreamer.def:
12959           added some exported functions.
12960
12961 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12962
12963         * libs/gst/controller/gstcontroller.c:
12964         (gst_controlled_property_set_interpolation_mode),
12965         (gst_controlled_property_new):
12966         * libs/gst/controller/gstcontroller.h:
12967         * libs/gst/controller/gstinterpolation.c:
12968         (interpolate_none_get_string_value_array):
12969           make G_TYPE_STRING controlable
12970
12971 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
12972
12973         * tools/README:
12974         * tools/gst-feedback.1.in:
12975         * tools/gst-inspect.1.in:
12976         * tools/gst-launch.1.in:
12977         * tools/gst-md5sum.1.in:
12978         * tools/gst-typefind.1.in:
12979         * tools/gst-xmlinspect.1.in:
12980         * tools/gst-xmllaunch.1.in:
12981           cleanup man-pages, remove reference to gst-register, document env-vars
12982
12983 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
12984
12985         * gst/gstbuffer.c: (gst_buffer_span):
12986           gst_buffer_span should copy the timestamp of the first buffer
12987           if they were both originally overlapping subbuffers of the 
12988           same parent, using the same logic as the 'slow copy' case.
12989
12990 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
12991
12992         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
12993           Need to awaken ALL the pads when we pop a buffer, otherwise
12994           collectpads only works when there is 2 input streams.
12995
12996 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
12997
12998         * docs/random/ensonic/media-device-daemon.txt:
12999           more ideas (dbus)
13000         * gst/gstbuffer.c:
13001           fix doc example, add clarification
13002         * tools/gst-launch.1.in:
13003           add initial info about GST_PLUGIN_PATH, needs more work
13004
13005 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
13006
13007         * docs/manual/basics-bins.xml:
13008         * docs/manual/basics-elements.xml:
13009         * docs/manual/intro-basics.xml:
13010           Some more minor docs additions and updates.
13011
13012 2006-01-11  Wim Taymans  <wim@fluendo.com>
13013
13014         * docs/manual/basics-bins.xml:
13015         * docs/manual/basics-elements.xml:
13016         Some small fixes as pointed out by Ser-ver on IRC.
13017
13018 2006-01-10  Edward Hervey  <edward@fluendo.com>
13019
13020         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
13021         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
13022         the single-segment mode.
13023
13024 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
13025
13026         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13027
13028         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
13029         (gst_base_src_perform_seek), (gst_base_src_send_event),
13030         (gst_base_src_set_property), (gst_base_src_get_property),
13031         (gst_base_src_loop), (gst_base_src_start),
13032         (gst_base_src_activate_push):
13033         * libs/gst/base/gstbasesrc.h:
13034           Name (private) union; makes Sun's Forte compiler happy (#324900).
13035
13036 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
13037
13038         * README:
13039           gst-register is gone.
13040
13041 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
13042
13043         * gst/gstvalue.c: (_gst_value_initialize):
13044           make the G_TYPE_DATE instantiation work if debug is disabled
13045
13046 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
13047
13048         * gst/gstmessage.c: (gst_message_parse_tag),
13049         (gst_message_parse_error), (gst_message_parse_warning):
13050           Don't crash when return location for error/warning debug
13051           string is NULL; add fact that return locations can be
13052           NULL to docs where appropriate.
13053
13054 2006-01-05  Wim Taymans  <wim@fluendo.com>
13055
13056         * gst/gstplugin.c: (gst_plugin_load_file):
13057         Replace strdup by g_strdup.
13058
13059 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13060
13061         * docs/pwg/advanced-types.xml:
13062           fix doc borkage
13063
13064 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13065
13066         submitted by: Abel Cheung
13067
13068         * po/LINGUAS:
13069         * po/zh_TW.po:
13070           Added Chinese (traditional) translation
13071
13072 2006-01-04  Wim Taymans  <wim@fluendo.com>
13073
13074         * docs/manual/basics-pads.xml:
13075         * docs/plugins/Makefile.am:
13076         * docs/plugins/gstreamer-plugins-docs.sgml:
13077         * docs/plugins/gstreamer-plugins-sections.txt:
13078         * docs/pwg/advanced-clock.xml:
13079         * docs/pwg/advanced-scheduling.xml:
13080         * docs/pwg/advanced-types.xml:
13081         * plugins/elements/gstfdsink.c:
13082         * plugins/elements/gstfdsrc.c:
13083         * plugins/elements/gstfdsrc.h:
13084         * plugins/elements/gstidentity.c: (gst_identity_class_init):
13085         * plugins/elements/gstidentity.h:
13086         * plugins/elements/gstqueue.h:
13087         * plugins/elements/gsttee.c:
13088         * plugins/elements/gsttee.h:
13089         * plugins/elements/gsttypefindelement.c:
13090         (gst_type_find_element_class_init):
13091         * plugins/elements/gsttypefindelement.h:
13092         Small updates to various docs.
13093         Added core plugins to docs.
13094
13095 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13096
13097         * common/gst.supp:
13098           add a suppression for liboil's uninitialized variable
13099
13100 2006-01-02  James Livingston  <jrl at ids dot org dot au>
13101
13102         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
13103
13104         * gst/gstutils.h:
13105           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
13106           macro, so that gcc doesn't complain if the -Wmissing-prototypes
13107           compiler switch is being used (#325429).
13108
13109 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
13110
13111         * gst/gstbin.c: (gst_bin_query):
13112           Disable duration query caching in bins until it gets
13113           fixed (see #324807).
13114
13115 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
13116
13117         * tools/gst-inspect.c: (print_element_properties_info):
13118           Handle properties of POINTER and BOXED type.
13119
13120 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
13121
13122         * gst/gst.c: (init_post):
13123           Init tags stuff and some other things before loading
13124           any static plugins (there may be other static plugins
13125           than just the GStreamer ones, and they may want to
13126           register their own tags or formats or whatever, and
13127           preferably without segfaulting).
13128
13129         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
13130           Print at least a warning in the debug logs if we drop a
13131           query just because we don't know how to adjust the value
13132           in the particular format.
13133
13134 2005-12-24  David Schleef  <ds@schleef.org>
13135
13136         * tools/gstreamer-completion:
13137           Replacement for gst-complete written in sh and sed.  Only
13138           completes names of features, but that's 90% of what I want
13139           it for.  Properties are not available in registry.xml.  (Maybe
13140           they should be...)
13141
13142 === release 0.10.1 ===
13143
13144 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
13145
13146         * configure.ac:
13147           releasing 0.10.1, "Nollaig chridheil"
13148
13149 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
13150
13151         * docs/faq/cvs.xml:
13152           Add missing quote, should be make ERROR_CFLAGS="".
13153
13154 2005-12-20  Wim Taymans  <wim@fluendo.com>
13155
13156         * docs/design/part-trickmodes.txt:
13157         More documentation on trickmodes.
13158
13159 2005-12-20  Edward Hervey  <edward@fluendo.com>
13160
13161         * gst/gstcaps.c: (gst_static_caps_get_type):
13162         * gst/gstcaps.h:
13163           API addition: GST_TYPE_STATIC_CAPS
13164         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
13165         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
13166         * gst/gstpadtemplate.h:
13167           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
13168         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
13169         bindings.
13170
13171 2005-12-18  Wim Taymans  <wim@fluendo.com>
13172
13173         * libs/gst/base/gstadapter.c:
13174         * libs/gst/base/gstadapter.h:
13175         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13176         (gst_base_sink_get_position):
13177         * libs/gst/base/gstbasesink.h:
13178         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13179         (gst_base_src_default_query), (gst_base_src_default_do_seek),
13180         (gst_base_src_do_seek), (gst_base_src_perform_seek),
13181         (gst_base_src_send_event), (gst_base_src_update_length),
13182         (gst_base_src_get_range), (gst_base_src_loop),
13183         (gst_base_src_start):
13184         * libs/gst/base/gstbasesrc.h:
13185         * libs/gst/base/gstbasetransform.h:
13186         * libs/gst/base/gstcollectpads.h:
13187         * libs/gst/base/gstpushsrc.c:
13188         * libs/gst/base/gstpushsrc.h:
13189         * libs/gst/dataprotocol/dataprotocol.c:
13190         * libs/gst/dataprotocol/dataprotocol.h:
13191         * libs/gst/net/gstnetclientclock.h:
13192         * libs/gst/net/gstnettimeprovider.h:
13193         Documentation updates.
13194
13195 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
13196
13197         * docs/manual/basics-helloworld.xml:
13198           Remove superfluous closing bracket in helloworld example.
13199
13200 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
13201
13202         * tools/gst-launch.1.in:
13203           Update gst-launch man page; add a section with useful
13204           environment variables. Fixes #323882.
13205
13206 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
13207
13208         * gst/gst.c:
13209         * gst/gst_private.h:
13210           change some char* into char[]
13211
13212 2005-12-16  Wim Taymans  <wim@fluendo.com>
13213
13214         * gst/gstregistryxml.c: (load_feature):
13215         Cleanups.
13216         Don't use g_object_unref on GstObjects so that we avoid
13217         leaks on unsafe glibs.
13218
13219 2005-12-16  Wim Taymans  <wim@fluendo.com>
13220
13221         * gst/gstbin.c: (gst_bin_recalc_state):
13222         Small doc updates.
13223
13224 2005-12-16  Wim Taymans  <wim@fluendo.com>
13225
13226         * common/check.mak:
13227         Added make forever target for check.
13228
13229 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
13230
13231         * gst/gst.c: (init_post):
13232           make the registry cache file HOST_CPU-dependent
13233
13234 2005-12-16  Andy Wingo  <wingo@pobox.com>
13235
13236         * plugins/elements/gstbufferstore.c
13237         (gst_buffer_store_cleared_func): Pay attention to g_list_append
13238         return value.
13239
13240         * tests/check/gst/gstobject.c
13241         (test_fake_object_name_threaded_unique): Pay attention to
13242         g_list_sort return value.
13243
13244 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
13245
13246         * tools/gst-feedback-m.m:
13247           Update for 0.9/0.10 (fixes #323870).
13248
13249 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
13250
13251         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
13252           Fix lcopy for mini objects, the mini object needs to be ref'ed.
13253           
13254         * tests/check/gst/gstminiobject.c: (my_foo_init),
13255         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
13256         (test_value_collection), (gst_mini_object_suite):
13257           Add test to ensure refcounts end up as expected when passing
13258           GstMiniObjects through g_object_get() and g_object_set().
13259
13260 2005-12-14  Julien MOUTTE  <julien@moutte.net>
13261
13262         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13263         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
13264         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
13265         of collectpads. This version removes a lot of races without
13266         touching API/ABI. Yay !
13267
13268 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
13269
13270         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
13271           Don't allow activation of a srcpad in pull_range if it has no
13272           getrange function.
13273           Change some debug statements to be a little clearer
13274
13275         * plugins/elements/gsttypefindelement.c:
13276         (gst_type_find_handle_src_query):
13277           Check that we have a peer before executing queries thereupon.
13278
13279         * tests/examples/metadata/read-metadata.c: (message_loop):
13280           Use gst_bus_pop instead of gst_bus_poll when we just want it to
13281           immediately return us any available message with 0 timeout.
13282
13283 2005-12-12  Michael Smith  <msmith@fluendo.com>
13284
13285         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
13286           Don't unref factories after calling them.
13287         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
13288         * plugins/elements/gsttypefindelement.c:
13289         (gst_type_find_element_chain):
13290           Free lists of factories after using them. Fixing typefinding memory
13291           leaks.
13292
13293 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13294
13295         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
13296         (gst_plugin_feature_load):
13297           more meaningful debug output
13298         * configure.ac:
13299         * tests/Makefile.am:
13300         * tests/old/examples/Makefile.am:
13301           make make distcheck happy again
13302
13303 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13304
13305         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
13306           Catch the special case where we are operating chain-based,
13307           but the downstream peer pad has no chain function. Emit a
13308           custom error message in this case instead of letting the
13309           core generate one implying that this is some sort of core
13310           bug. It's not, it just means that whatever got plugged
13311           into the pipeline downstream when we announced the type
13312           can only operate pull-based, while our source can only
13313           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
13314           Error string has not been marked for translation yet, as
13315           it probably needs some more work first.
13316
13317         (gst_type_find_element_get_best_possibility):
13318           Add helper function to find the best of all available
13319           found possibilities that qualify given the min. threshold.
13320
13321         (gst_type_find_element_handle_event):
13322           Fix the case where we get an EOS while still in TYPEFIND
13323           mode (we want to chose the best of all possible types,
13324           not just the first type that happens to be in our unsorted
13325           list of possible types).
13326
13327         (gst_type_find_element_chain):
13328           Make sure we return GST_FLOW_ERROR when we errored out
13329           in stop_typefinding(); also, don't just find the best of
13330           all found type entries and then use the last examined
13331           type entry, but actually use the best entry.
13332
13333 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
13334
13335         * tests/examples/typefind/typefind.c: (type_found):
13336         * tests/examples/xml/runxml.c: (xml_loaded):
13337           More gcc4 fixes and a mem leak fix.
13338
13339 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13340
13341         * tests/examples/xml/createxml.c: (object_saved):
13342           gcc 4 fixes
13343
13344 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13345
13346         * tests/Makefile.am:
13347           enable the examples even more
13348
13349 2005-12-12  Andy Wingo  <wingo@pobox.com>
13350
13351         * libs/gst/net/gstnettimeprovider.c
13352         (gst_net_time_provider_class_init, gst_net_time_provider_init)
13353         (gst_net_time_provider_set_property)
13354         (gst_net_time_provider_get_property):
13355         API addition: Export "active" as a GObject property.
13356         (gst_net_time_provider_thread): Only respond to time queries if
13357         the time provider is active.
13358
13359         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
13360         NetTimeProvider, preserving binary compat.
13361
13362 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13363
13364         * tests/examples/controller/audio-example.c: (main):
13365         * tests/examples/launch/Makefile.am:
13366           convert comments again
13367
13368 2005-12-12  Wim Taymans  <wim@fluendo.com>
13369
13370         * libs/gst/base/gstpushsrc.c:
13371         Fix typo.
13372
13373 2005-12-12  Wim Taymans  <wim@fluendo.com>
13374
13375         * docs/libs/gstreamer-libs-sections.txt:
13376         Added new symbol to docs.
13377
13378         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13379         (gst_base_src_init), (gst_base_src_set_format),
13380         (gst_base_src_default_query), (gst_base_src_query),
13381         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
13382         (gst_base_src_perform_seek), (gst_base_src_send_event),
13383         (gst_base_src_default_event), (gst_base_src_event_handler),
13384         (gst_base_src_set_property), (gst_base_src_get_property),
13385         (gst_base_src_wait), (gst_base_src_do_sync),
13386         (gst_base_src_update_length), (gst_base_src_get_range),
13387         (gst_base_src_check_get_range), (gst_base_src_loop),
13388         (gst_base_src_default_negotiate), (gst_base_src_start),
13389         (gst_base_src_activate_push), (gst_base_src_activate_pull),
13390         (gst_base_src_change_state):
13391         * libs/gst/base/gstbasesrc.h:
13392         Implement seeking to other formats than _BYTES.
13393         Implement more seeking methods correctly.
13394         Doc updates.
13395         Added query vmethod.
13396         Added do_seek vmethod to make life easier for subclasses
13397         when seeking.
13398         API addition: gst_base_src_set_format()
13399
13400 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13401
13402         * tests/examples/Makefile.am:
13403           added that too
13404
13405 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
13406
13407         * configure.ac:
13408         * docs/random/ensonic/media-device-daemon.txt:
13409         * tests/examples/controller/.cvsignore:
13410         * tests/examples/controller/Makefile.am:
13411         * tests/examples/controller/audio-example.c: (main):
13412         * tests/examples/helloworld/.cvsignore:
13413         * tests/examples/helloworld/Makefile.am:
13414         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
13415         * tests/examples/launch/.cvsignore:
13416         * tests/examples/launch/Makefile.am:
13417         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
13418         * tests/examples/metadata/.cvsignore:
13419         * tests/examples/metadata/Makefile.am:
13420         * tests/examples/metadata/read-metadata.c: (message_loop),
13421         (make_pipeline), (print_tag), (main):
13422         * tests/examples/queue/.cvsignore:
13423         * tests/examples/queue/Makefile.am:
13424         * tests/examples/queue/queue.c: (event_loop), (main):
13425         * tests/examples/typefind/.cvsignore:
13426         * tests/examples/typefind/Makefile.am:
13427         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
13428         (main):
13429         * tests/examples/xml/.cvsignore:
13430         * tests/examples/xml/Makefile.am:
13431         * tests/examples/xml/createxml.c: (object_saved), (main):
13432         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
13433         * tests/old/examples/Makefile.am:
13434         * tests/old/examples/TODO:
13435         * tests/old/examples/controller/.cvsignore:
13436         * tests/old/examples/controller/Makefile.am:
13437         * tests/old/examples/controller/audio-example.c:
13438         * tests/old/examples/helloworld/.cvsignore:
13439         * tests/old/examples/helloworld/Makefile.am:
13440         * tests/old/examples/helloworld/helloworld.c:
13441         * tests/old/examples/launch/.cvsignore:
13442         * tests/old/examples/launch/Makefile.am:
13443         * tests/old/examples/launch/mp3parselaunch.c:
13444         * tests/old/examples/launch/mp3play:
13445         * tests/old/examples/manual/Makefile.am:
13446         * tests/old/examples/metadata/Makefile.am:
13447         * tests/old/examples/metadata/read-metadata.c:
13448         * tests/old/examples/queue/.cvsignore:
13449         * tests/old/examples/queue/Makefile.am:
13450         * tests/old/examples/queue/queue.c:
13451         * tests/old/examples/typefind/.cvsignore:
13452         * tests/old/examples/typefind/Makefile.am:
13453         * tests/old/examples/typefind/typefind.c:
13454         * tests/old/examples/xml/.cvsignore:
13455         * tests/old/examples/xml/Makefile.am:
13456         * tests/old/examples/xml/createxml.c:
13457         * tests/old/examples/xml/runxml.c:
13458           applied some simple fixing to some examples
13459           re-enabled the working examples
13460
13461 2005-12-12  Wim Taymans  <wim@fluendo.com>
13462
13463         * gst/gstsegment.c: (gst_segment_init),
13464         (gst_segment_set_last_stop), (gst_segment_set_seek),
13465         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
13466         (gst_segment_to_running_time):
13467         Added more documentation.
13468         Make sure the last_pos value is updated properly.
13469         Make sure to_stream_time and to_running_time don't
13470         operate on wrong values.
13471
13472         * tests/check/gst/gstsegment.c: (GST_START_TEST):
13473         Update check.
13474
13475 2005-12-12  Michael Smith  <msmith@fluendo.com>
13476
13477         * plugins/elements/gsttypefindelement.c: (free_entry),
13478         (gst_type_find_element_chain):
13479           Now that we're not leaking factories, make sure we keep references
13480           to them while we need them.
13481
13482 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13483
13484         * tests/check/gst/struct_i386.h:
13485           ifdef out the XML structs
13486
13487 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13488
13489         * gst/gstvalue.c: (gst_value_transform_double_fraction):
13490           floor is not needed, F is always positive; this obviates the
13491           need for adding -lm when building without libxml
13492
13493 2005-12-12  Wim Taymans  <wim@fluendo.com>
13494
13495         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13496         Take current playback rate into account when reporting
13497         the position.
13498
13499 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13500
13501         * docs/manual/mime-world.fig:
13502           Let's try this again, this time with a file that is
13503           actually in XFig format.
13504
13505 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13506
13507         * docs/manual/mime-world.fig:
13508           Add audioconvert element to diagram so that it
13509           matches the text and the code (fixes #319526).
13510
13511 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13512
13513         * docs/pwg/building-chainfn.xml:
13514         * docs/pwg/building-pads.xml:
13515         * docs/pwg/building-state.xml:
13516         * docs/pwg/other-source.xml:
13517           Update state change stuff for 0.10 (fixes #322969).
13518
13519 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13520
13521         * docs/manual/advanced-dataaccess.xml:
13522         * docs/manual/appendix-checklist.xml:
13523         * docs/manual/appendix-programs.xml:
13524         * docs/manual/basics-pads.xml:
13525         * docs/manual/highlevel-components.xml:
13526         * docs/manual/manual.xml:
13527           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
13528           add converters in front of pipelines; remove curly
13529           brackets for threads stuff, they no longer exist; use
13530           GST_TYPE_FRACTION for framerates; update some pieces of
13531           code to 0.10, but there's plenty more to do.
13532
13533         * docs/manual/appendix-porting.xml:
13534           Expand on asynchroneous state changes; s/0.9/0.10/;
13535           mention disappearance of gst_init_get_popt_table()
13536           (fixes #322916).
13537
13538 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
13539
13540         * docs/faq/using.xml:
13541           Spider no longer exists, and neither does gst-launch-ext.
13542           Update examples to use decodebin and playbin and put
13543           converters in front of sinks (fixes #323726).
13544
13545 2005-12-09  Michael Smith  <msmith@fluendo.com>
13546
13547         * plugins/elements/gsttypefindelement.c: (find_peek),
13548         (gst_type_find_element_chain):
13549           Fix leaking element factories in typefinding.
13550           Fix problem where we forgot about a probable type on non-seekable
13551           files, and thus later mis-typefound it.
13552
13553 2005-12-09  Michael Smith  <msmith@fluendo.com>
13554
13555         * common/m4/gst-makecontext.m4:
13556         * common/m4/gst-mcsc.m4:
13557         * configure.ac:
13558         * win32/common/config.h:
13559         * win32/common/config.h.in:
13560           Remove makecontext stuff; not used in 0.10 and causes problems on
13561           HPUX according to bug #322441
13562
13563 2005-12-07  Wim Taymans  <wim@fluendo.com>
13564
13565         * tests/check/Makefile.am:
13566         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
13567         (main):
13568         * tests/check/libs/struct_i386.h:
13569         Added ABI check for libs
13570
13571 2005-12-07  Wim Taymans  <wim@fluendo.com>
13572
13573         * tests/check/Makefile.am:
13574         And add the struct_i386.h to dist.
13575
13576 2005-12-07  Wim Taymans  <wim@fluendo.com>
13577
13578         * tests/check/Makefile.am:
13579         * tests/check/gst/.cvsignore:
13580         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
13581         (main):
13582         * tests/check/gst/struct_i386.h:
13583         Added check for ABI compatibility.
13584
13585 2005-12-07  Wim Taymans  <wim@fluendo.com>
13586
13587         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13588         (gst_fake_src_get_times), (gst_fake_src_create):
13589         Fix broken sync option, fixes #323259
13590
13591 2005-12-07  Wim Taymans  <wim@fluendo.com>
13592
13593         * gst/gstbuffer.c:
13594         Small docs update.
13595
13596         * gst/gstcaps.c: (gst_caps_is_equal):
13597         Don't assert on NULL <--> X. Fixes #323260
13598
13599         * gst/gstminiobject.c: (gst_mini_object_replace):
13600         If we're doing atomic operations, we might just as well use
13601         the proper way to get an atomic pointer.
13602
13603         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
13604         Clean up debugging.
13605
13606 2005-12-07  Michael Smith  <msmith@fluendo.com>
13607
13608         * gst/parse/grammar.y:
13609           Remove handling of { } for threads.
13610
13611 2005-12-06  David Schleef  <ds@schleef.org>
13612
13613         * libs/gst/base/gstbasetransform.c: speling fix.
13614
13615 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
13616
13617         * docs/libs/tmpl/gstdataprotocol.sgml:
13618         * docs/random/omega/testing/gstobject.c:
13619         * gst/gst.c:
13620         * gst/gstclock.c:
13621         * gst/gstelement.c:
13622         * gst/gstelementfactory.c:
13623         * gst/gsterror.c:
13624         * gst/gstevent.c:
13625         * gst/gstghostpad.c:
13626         * gst/gstinfo.c:
13627         * gst/gstpadtemplate.c:
13628         * gst/gstregistryxml.c:
13629         * gst/gsttaglist.c:
13630         * gst/gsttagsetter.c:
13631         * gst/gsttypefind.c:
13632         * gst/gstvalue.c:
13633         * libs/gst/base/gstbasesrc.c:
13634         * libs/gst/net/gstnetclientclock.c:
13635         * libs/gst/net/gstnettimeprovider.c:
13636         * plugins/elements/gstfakesrc.c:
13637         * plugins/elements/gstfdsrc.c:
13638         * plugins/elements/gstfilesrc.c:
13639         * plugins/elements/gstidentity.c:
13640         * plugins/elements/gstqueue.c:
13641         * plugins/elements/gsttypefindelement.c:
13642         * plugins/indexers/gstfileindex.c:
13643         * plugins/indexers/gstmemindex.c:
13644         * tests/check/gst/gsttag.c:
13645         * tests/old/examples/cutter/cutter.c:
13646         * tests/old/examples/mixer/mixer.c:
13647         * tests/old/examples/xml/runxml.c: (main):
13648         * tests/old/testsuite/caps/normalisation.c:
13649         * tests/old/testsuite/debug/global.c:
13650         * tests/old/testsuite/parse/parse1.c:
13651         * tools/gst-xmlinspect.c:
13652         * win32/common/dirent.c:
13653           expand tabs
13654
13655 === release 0.10.0 ===
13656
13657 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13658
13659         * configure.ac:
13660           releasing 0.10.0, "Maroilles"
13661
13662 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13663
13664         submitted by: Funda Wang <fundawang@linux.net.cn>
13665
13666         * po/LINGUAS:
13667         * po/zh_CN.po:
13668           added Chinese (Traditional) translation
13669
13670 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13671
13672         * docs/gst/gstreamer-sections.txt:
13673         * docs/libs/tmpl/gstdataprotocol.sgml:
13674         * docs/random/thomasvs/TODO:
13675         * gst/gstutils.c:
13676         * gst/gstutils.h:
13677           fix docs
13678
13679 2005-12-05  Andy Wingo  <wingo@pobox.com>
13680
13681         patch by: Wim Taymans <wim@fluendo.com>
13682
13683         * libs/gst/base/gstbasetransform.c
13684         (gst_base_transform_prepare_output_buf)
13685         (gst_base_transform_buffer_alloc):
13686         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
13687         alloc_buffer_and_set_caps.
13688
13689         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
13690         set_caps on the source pad.
13691         (gst_pad_alloc_buffer_and_set_caps): New function, does what
13692         alloc_buffer used to do. Fixes #322874.
13693
13694         * docs/gst/gstreamer-sections.txt: 
13695         * docs/design/part-negotiation.txt: 
13696         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
13697         changes.
13698
13699 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
13700
13701         patch by: Sebastien Moutte
13702
13703         * win32/MANIFEST:
13704         * win32/common/config.h.in:
13705         * win32/vs6/libgstcontroller.dsp:
13706           win32 build fixes
13707
13708 2005-12-05  Wim Taymans  <wim@fluendo.com>
13709
13710         * gst/gstcaps.c: (gst_caps_is_equal):
13711         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13712         (gst_fake_src_create):
13713         Back out previous code changes, leave doc updates, file bugs 
13714         instead. 
13715
13716 2005-12-05  Wim Taymans  <wim@fluendo.com>
13717
13718         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
13719         (gst_fake_src_get_times), (gst_fake_src_create):
13720         * plugins/elements/gstfakesrc.h:
13721         Fix broken sync code.
13722
13723 2005-12-05  Wim Taymans  <wim@fluendo.com>
13724
13725         * gst/gstcaps.c: (gst_caps_is_equal):
13726         Comparing NULL against !NULL yields different caps, not a
13727         failure.
13728
13729 2005-12-05  Wim Taymans  <wim@fluendo.com>
13730
13731         * gst/gstpipeline.c:
13732         Fix small typo in docs.
13733
13734 2005-12-05  Andy Wingo  <wingo@pobox.com>
13735
13736         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
13737
13738         * gst/gst.c (init_post): remove hard-coded 0.9 location for
13739         registries/plugins with a MAJORMINOR one.
13740         (plugin_desc): Rename library from gstcoreleements to
13741         staticelements. Fixes #323222.
13742
13743 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
13744
13745         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
13746           Change debug category to 'collectpads' from 'collect_pads'
13747           (fixes #323250).
13748
13749 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13750
13751         patch by: Sebastien Moutte
13752
13753         * libs/gst/controller/gstinterpolation.c:
13754           use convert function for uint64/double
13755         * win32/vs6/libgstcontroller.dsp:
13756           link to GLib
13757
13758 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
13759
13760         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
13761         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
13762         * gst/gstutils.h:
13763         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13764           add tests that seem to show that the guint64/gdouble conversions
13765           are correct.
13766
13767 2005-12-02  Wim Taymans  <wim@fluendo.com>
13768
13769         * gst/gstregistry.c: (gst_registry_add_path):
13770         * gst/gstregistry.h:
13771         * gst/gstregistryxml.c:
13772         Fix docs again.
13773
13774 2005-12-02  Wim Taymans  <wim@fluendo.com>
13775
13776         * gst/gstutils.c: (gst_util_uint64_scale_int64),
13777         (gst_util_uint64_scale_int):
13778         Small cleanup.
13779
13780         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
13781         Add debug log line.
13782
13783         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
13784         Add FIXME.
13785
13786 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13787
13788         * win32/MANIFEST:
13789         * win32/common/config.h:
13790         * win32/vs6/gstreamer.dsw:
13791         * win32/vs6/libgstcoreelements.dsp:
13792         * win32/vs6/libgstelements.dsp:
13793           renamed core elements plugin
13794
13795 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
13796
13797         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
13798         (get_candidates):
13799           do piece-wise major/minor comparison so 0.9 < 0.10
13800           also allow .exe extensions for tools
13801
13802 2005-12-02  Michael Smith  <msmith@fluendo.com>
13803
13804         * gst/gst.c:
13805           Escape a % to make gtkdoc happier; bug 322958.
13806
13807 === release 0.9.7 ===
13808
13809 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
13810
13811         * configure.ac:
13812           releasing 0.9.7, "My Dog Has No Nose"
13813
13814 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13815
13816         * common/gst-xmlinspect.py:
13817         * configure.ac:
13818         * docs/libs/tmpl/gstdataprotocol.sgml:
13819         * docs/random/release:
13820         * po/af.po:
13821         * po/az.po:
13822         * po/bg.po:
13823         * po/ca.po:
13824         * po/cs.po:
13825         * po/de.po:
13826         * po/en_GB.po:
13827         * po/fr.po:
13828         * po/it.po:
13829         * po/nb.po:
13830         * po/nl.po:
13831         * po/ru.po:
13832         * po/sq.po:
13833         * po/sr.po:
13834         * po/sv.po:
13835         * po/tr.po:
13836         * po/uk.po:
13837         * po/vi.po:
13838         * win32/common/config.h:
13839         * win32/common/config.h.in:
13840         * win32/vs6/gst_inspect.dsp:
13841         * win32/vs6/gst_launch.dsp:
13842         * win32/vs6/libgstbase.dsp:
13843         * win32/vs6/libgstelements.dsp:
13844         * win32/vs6/libgstreamer.dsp:
13845         * win32/vs7/GStreamer.vcproj:
13846         * win32/vs7/gst-inspect.vcproj:
13847         * win32/vs7/gst-launch.vcproj:
13848         * win32/vs7/libgstbase.vcproj:
13849           bump GST_MAJORMINOR to 0.10
13850           reset libtool version
13851
13852 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13853
13854         * po/LINGUAS:
13855         * po/bg.po:
13856           Added Bulgarian translation by (Alexander Shopov)
13857
13858 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13859
13860         * tests/check/gst/gstplugin.c:
13861           fix test
13862
13863 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13864
13865         * common/gst-xmlinspect.py:
13866         * common/gtk-doc-plugins.mak:
13867         * configure.ac:
13868         * docs/Makefile.am:
13869         * docs/gst/Makefile.am:
13870         * docs/gst/gstreamer-docs.sgml:
13871         * docs/gst/gstreamer-sections.txt:
13872         * docs/gst/gstreamer.types:
13873         * docs/gst/gstreamer.types.in:
13874         * docs/plugins/Makefile.am:
13875         * docs/plugins/gstreamer-plugins-docs.sgml:
13876         * docs/plugins/gstreamer-plugins-sections.txt:
13877         * docs/plugins/gstreamer-plugins.types:
13878         * docs/plugins/inspect.stamp:
13879         * docs/plugins/inspect/plugin-coreelements.xml:
13880         * docs/plugins/inspect/plugin-coreindexers.xml:
13881         * docs/plugins/scanobj-build.stamp:
13882         * gstreamer.spec.in:
13883         * plugins/elements/Makefile.am:
13884         * plugins/elements/gstelements.c:
13885         * plugins/elements/gstfakesink.c:
13886         * plugins/elements/gstfakesrc.c:
13887         * plugins/elements/gstfilesink.c:
13888         * plugins/elements/gstfilesrc.c:
13889         * plugins/elements/gstqueue.c:
13890         * plugins/indexers/Makefile.am:
13891         * plugins/indexers/gstindexers.c:
13892           document core plugins in a separate document just like all the
13893           others
13894           rename these plugins to something starting with core
13895
13896 2005-12-01  Andy Wingo  <wingo@pobox.com>
13897
13898         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
13899         padding here before, but it missed the commit.
13900
13901 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13902
13903         * libs/gst/controller/gstinterpolation.c:
13904           whitespace prices have crashed, we should feel free to use some now
13905           use gst_guint64_to_gdouble
13906
13907 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13908
13909         * libs/gst/controller/gstcontroller.c:
13910         * libs/gst/controller/gsthelper.c:
13911         * libs/gst/controller/gstinterpolation.c:
13912         * libs/gst/controller/lib.c:
13913           wrap config.h include
13914
13915 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13916
13917         * docs/gst/gstreamer-sections.txt:
13918           update docs
13919
13920 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13921
13922         * plugins/elements/gstelements.c:
13923         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
13924         (gst_fd_sink__class_init), (gst_fd_sink__init),
13925         (gst_fd_sink__chain), (gst_fd_sink__set_property),
13926         (gst_fd_sink__get_property):
13927         * plugins/elements/gstfdsink.h:
13928         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
13929         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
13930         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
13931         (gst_fd_src_unlock), (gst_fd_src_set_property),
13932         (gst_fd_src_get_property), (gst_fd_src_create),
13933         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
13934         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
13935         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
13936         (gst_fd_src_uri_handler_init):
13937         * plugins/elements/gstfdsrc.h:
13938         * plugins/elements/gstqueue.c: (gst_queue_get_type):
13939           more anal cleanup
13940
13941 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
13942
13943         * docs/gst/Makefile.am:
13944         * docs/gst/gstreamer.types.in:
13945         * gst/Makefile.am:
13946           fix the docs build
13947
13948 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13949
13950         * configure.ac:
13951         * gst/Makefile.am:
13952         * gst/gst.c:
13953         * gst/gstplugin.h:
13954         * gst/gstregistry.h:
13955         * tests/benchmarks/complexity.c:
13956         * tests/benchmarks/mass-elements.c:
13957         * tests/check/Makefile.am:
13958         * tools/Makefile.am:
13959         * tools/gst-inspect.c:
13960         * tools/gst-xmlinspect.c:
13961           various fixes to make
13962           --disable-nls --disable-registry --disable-loadsave
13963           --disable-parse --disable-gst-debug
13964           work and get the core .so down to 360444 bytes after stripping
13965
13966 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13967
13968         * Makefile.am:
13969         * configure.ac:
13970           descend into tests
13971         * docs/random/thomasvs/TODO:
13972         * tests/Makefile.am:
13973         * tests/README:
13974           add a README
13975
13976 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
13977
13978         * win32/GStreamer.vcproj:
13979         * win32/MANIFEST:
13980         * win32/Makefile:
13981         * win32/Makefile.inspect:
13982         * win32/Makefile.launch:
13983         * win32/Makefile.register:
13984         * win32/README.txt:
13985         * win32/gst-inspect.vcproj:
13986         * win32/gst-launch.vcproj:
13987         * win32/gst-register.vcproj:
13988         * win32/gstelements.vcproj:
13989         * win32/gstgetbits.def:
13990         * win32/gstgetbits.vcproj:
13991         * win32/gstreamer-dbg.def:
13992         * win32/gstreamer.def:
13993         * win32/libgstbase.def:
13994         * win32/libgstbase.vcproj:
13995         * win32/link_oldruntime.c:
13996         * win32/mman.c:
13997         * win32/mman.h:
13998         * win32/mman.inl:
13999         * win32/msvc71.sln:
14000           move even more stuff, win32/ is nice and clean now
14001
14002 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14003
14004         * libs/gst/control/.cvsignore:
14005         * win32/MANIFEST:
14006         * win32/config.h:
14007         * win32/dirent.c:
14008         * win32/dirent.h:
14009         * win32/gstbytestream.def:
14010         * win32/gstbytestream.vcproj:
14011         * win32/gstconfig.h:
14012         * win32/gstenumtypes.c:
14013         * win32/gstenumtypes.h:
14014         * win32/gstoptimalscheduler.vcproj:
14015         * win32/gstversion.h:
14016         * win32/gtchar.h:
14017         * win32/testsuite/bins.vcproj:
14018         * win32/testsuite/bytestream.vcproj:
14019         * win32/testsuite/caps.vcproj:
14020         * win32/testsuite/cleanup.vcproj:
14021         * win32/testsuite/clock.vcproj:
14022         * win32/testsuite/debug.vcproj:
14023         * win32/testsuite/dlopen.vcproj:
14024         * win32/testsuite/dynparams.vcproj:
14025         * win32/testsuite/elements.vcproj:
14026         * win32/testsuite/ghostpads.vcproj:
14027         * win32/testsuite/indexers.vcproj:
14028         * win32/testsuite/negotiation.vcproj:
14029         * win32/testsuite/parse.vcproj:
14030         * win32/testsuite/plugin.vcproj:
14031         * win32/testsuite/refcounting.vcproj:
14032         * win32/testsuite/schedulers.vcproj:
14033         * win32/testsuite/states.vcproj:
14034         * win32/testsuite/tags.vcproj:
14035         * win32/testsuite/threads.vcproj:
14036           remove old win32 stuff that isn't maintained and should be
14037           reorganized
14038
14039 2005-11-30  Andy Wingo  <wingo@pobox.com>
14040
14041         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
14042         loading the gst.interfaces python module bork.
14043
14044         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
14045         available since GLib 2.2. Fixes #318031.
14046
14047 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14048
14049         * Makefile.am:
14050         * check/.cvsignore:
14051         * check/Makefile.am:
14052         * check/elements/.cvsignore:
14053         * check/elements/fakesrc.c:
14054         * check/elements/fdsrc.c:
14055         * check/elements/identity.c:
14056         * check/generic/.cvsignore:
14057         * check/generic/states.c:
14058         * check/gst-libs/.cvsignore:
14059         * check/gst-libs/controller.c:
14060         * check/gst-libs/gdp.c:
14061         * check/gst/.cvsignore:
14062         * check/gst/capslist.h:
14063         * check/gst/gst.c:
14064         * check/gst/gstbin.c:
14065         * check/gst/gstbuffer.c:
14066         * check/gst/gstbus.c:
14067         * check/gst/gstcaps.c:
14068         * check/gst/gstelement.c:
14069         * check/gst/gstevent.c:
14070         * check/gst/gstghostpad.c:
14071         * check/gst/gstiterator.c:
14072         * check/gst/gstmessage.c:
14073         * check/gst/gstminiobject.c:
14074         * check/gst/gstobject.c:
14075         * check/gst/gstpad.c:
14076         * check/gst/gstpipeline.c:
14077         * check/gst/gstplugin.c:
14078         * check/gst/gstsegment.c:
14079         * check/gst/gststructure.c:
14080         * check/gst/gstsystemclock.c:
14081         * check/gst/gsttag.c:
14082         * check/gst/gstutils.c:
14083         * check/gst/gstvalue.c:
14084         * check/net/.cvsignore:
14085         * check/net/gstnetclientclock.c:
14086         * check/net/gstnettimeprovider.c:
14087         * check/pipelines/.cvsignore:
14088         * check/pipelines/cleanup.c:
14089         * check/pipelines/simple_launch_lines.c:
14090         * check/pipelines/stress.c:
14091         * check/states/.cvsignore:
14092         * check/states/sinks.c:
14093         * configure.ac:
14094         * examples/Makefile.am:
14095         * examples/appreader/.cvsignore:
14096         * examples/appreader/Makefile.am:
14097         * examples/appreader/appreader.c:
14098         * examples/controller/.cvsignore:
14099         * examples/controller/Makefile.am:
14100         * examples/controller/audio-example.c:
14101         * examples/cutter/.cvsignore:
14102         * examples/cutter/Makefile.am:
14103         * examples/cutter/cutter.c:
14104         * examples/cutter/cutter.h:
14105         * examples/events/Makefile.am:
14106         * examples/events/seek.c:
14107         * examples/helloworld/.cvsignore:
14108         * examples/helloworld/Makefile.am:
14109         * examples/helloworld/helloworld.c:
14110         * examples/helloworld2/.cvsignore:
14111         * examples/helloworld2/Makefile.am:
14112         * examples/helloworld2/helloworld2.c:
14113         * examples/launch/.cvsignore:
14114         * examples/launch/Makefile.am:
14115         * examples/launch/mp3parselaunch.c:
14116         * examples/launch/mp3play:
14117         * examples/manual/.cvsignore:
14118         * examples/manual/Makefile.am:
14119         * examples/manual/extract.pl:
14120         * examples/metadata/Makefile.am:
14121         * examples/metadata/read-metadata.c:
14122         * examples/mixer/.cvsignore:
14123         * examples/mixer/Makefile.am:
14124         * examples/mixer/mixer.c:
14125         * examples/mixer/mixer.h:
14126         * examples/pingpong/.cvsignore:
14127         * examples/pingpong/Makefile.am:
14128         * examples/pingpong/pingpong.c:
14129         * examples/plugins/.cvsignore:
14130         * examples/plugins/Makefile.am:
14131         * examples/plugins/example.c:
14132         * examples/plugins/example.h:
14133         * examples/pwg/.cvsignore:
14134         * examples/pwg/Makefile.am:
14135         * examples/pwg/extract.pl:
14136         * examples/queue/.cvsignore:
14137         * examples/queue/Makefile.am:
14138         * examples/queue/queue.c:
14139         * examples/queue2/.cvsignore:
14140         * examples/queue2/Makefile.am:
14141         * examples/queue2/queue2.c:
14142         * examples/queue3/.cvsignore:
14143         * examples/queue3/Makefile.am:
14144         * examples/queue3/queue3.c:
14145         * examples/queue4/.cvsignore:
14146         * examples/queue4/Makefile.am:
14147         * examples/queue4/queue4.c:
14148         * examples/retag/.cvsignore:
14149         * examples/retag/Makefile.am:
14150         * examples/retag/retag.c:
14151         * examples/retag/transcode.c:
14152         * examples/thread/.cvsignore:
14153         * examples/thread/Makefile.am:
14154         * examples/thread/thread.c:
14155         * examples/typefind/.cvsignore:
14156         * examples/typefind/Makefile.am:
14157         * examples/typefind/typefind.c:
14158         * examples/xml/.cvsignore:
14159         * examples/xml/Makefile.am:
14160         * examples/xml/createxml.c:
14161         * examples/xml/runxml.c:
14162         * tests/Makefile.am:
14163         * tests/check/Makefile.am:
14164         * testsuite/.cvsignore:
14165         * testsuite/Makefile.am:
14166         * testsuite/Rules:
14167         * testsuite/caps/.cvsignore:
14168         * testsuite/caps/Makefile.am:
14169         * testsuite/caps/app_fixate.c:
14170         * testsuite/caps/audioscale.c:
14171         * testsuite/caps/caps.c:
14172         * testsuite/caps/caps.h:
14173         * testsuite/caps/caps_strings:
14174         * testsuite/caps/compatibility.c:
14175         * testsuite/caps/deserialize.c:
14176         * testsuite/caps/enumcaps.c:
14177         * testsuite/caps/eratosthenes.c:
14178         * testsuite/caps/filtercaps.c:
14179         * testsuite/caps/fixed.c:
14180         * testsuite/caps/fraction-convert.c:
14181         * testsuite/caps/fraction-multiply-and-zero.c:
14182         * testsuite/caps/intersect2.c:
14183         * testsuite/caps/intersection.c:
14184         * testsuite/caps/normalisation.c:
14185         * testsuite/caps/random.c:
14186         * testsuite/caps/renegotiate.c:
14187         * testsuite/caps/sets.c:
14188         * testsuite/caps/simplify.c:
14189         * testsuite/caps/string-conversions.c:
14190         * testsuite/caps/structure.c:
14191         * testsuite/caps/subtract.c:
14192         * testsuite/caps/union.c:
14193         * testsuite/debug/.cvsignore:
14194         * testsuite/debug/Makefile.am:
14195         * testsuite/debug/category.c:
14196         * testsuite/debug/commandline.c:
14197         * testsuite/debug/global.c:
14198         * testsuite/debug/output.c:
14199         * testsuite/debug/printf_extension.c:
14200         * testsuite/dlopen/.cvsignore:
14201         * testsuite/dlopen/Makefile.am:
14202         * testsuite/dlopen/dlopen_gst.c:
14203         * testsuite/dlopen/loadgst.c:
14204         * testsuite/elements/.cvsignore:
14205         * testsuite/elements/Makefile.am:
14206         * testsuite/elements/gst-inspect-check.in:
14207         * testsuite/elements/struct_i386.h:
14208         * testsuite/elements/struct_size.c:
14209         * testsuite/indexers/.cvsignore:
14210         * testsuite/indexers/Makefile.am:
14211         * testsuite/indexers/cache1.c:
14212         * testsuite/indexers/indexdump.c:
14213         * testsuite/parse/.cvsignore:
14214         * testsuite/parse/Makefile.am:
14215         * testsuite/parse/parse1.c:
14216         * testsuite/parse/parse2.c:
14217         * testsuite/plugin/.cvsignore:
14218         * testsuite/plugin/Makefile.am:
14219         * testsuite/plugin/README:
14220         * testsuite/plugin/dynamic.c:
14221         * testsuite/plugin/linked.c:
14222         * testsuite/plugin/loading.c:
14223         * testsuite/plugin/registry.c:
14224         * testsuite/plugin/static.c:
14225         * testsuite/plugin/static2.c:
14226         * testsuite/plugin/testplugin.c:
14227         * testsuite/plugin/testplugin2.c:
14228         * testsuite/plugin/testplugin2_s.c:
14229         * testsuite/plugin/testplugin_s.c:
14230         * testsuite/refcounting/.cvsignore:
14231         * testsuite/refcounting/Makefile.am:
14232         * testsuite/refcounting/bin.c:
14233         * testsuite/refcounting/element.c:
14234         * testsuite/refcounting/element_pad.c:
14235         * testsuite/refcounting/mainloop.c:
14236         * testsuite/refcounting/mem.c:
14237         * testsuite/refcounting/mem.h:
14238         * testsuite/refcounting/object.c:
14239         * testsuite/refcounting/pad.c:
14240         * testsuite/refcounting/sched.c:
14241         * testsuite/refcounting/thread.c:
14242         * testsuite/states/.cvsignore:
14243         * testsuite/states/Makefile.am:
14244         * testsuite/states/bin.c:
14245         * testsuite/states/locked.c:
14246         * testsuite/states/parent.c:
14247         * testsuite/threads/.cvsignore:
14248         * testsuite/threads/159566.c:
14249         * testsuite/threads/159852.c:
14250         * testsuite/threads/Makefile.am:
14251         * testsuite/threads/queue.c:
14252         * testsuite/threads/signals.c:
14253         * testsuite/threads/staticrec.c:
14254         * testsuite/threads/thread.c:
14255         * testsuite/threads/threadb.c:
14256         * testsuite/threads/threadc.c:
14257         * testsuite/threads/threadd.c:
14258         * testsuite/threads/threade.c:
14259         * testsuite/threads/threadf.c:
14260         * testsuite/threads/threadg.c:
14261         * testsuite/threads/threadh.c:
14262         * testsuite/threads/threadi.c:
14263           move all of these under tests
14264
14265 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14266
14267         * configure.ac:
14268         * tests/Makefile.am:
14269           fix distcheck
14270
14271 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14272
14273         * docs/gst/gstreamer-sections.txt:
14274         * tests/sched/.cvsignore:
14275         * tests/sched/Makefile.am:
14276         * tests/sched/cases/(fs-fs).xml:
14277         * tests/sched/cases/(fs-i-fs).xml:
14278         * tests/sched/cases/(fs-i-i-fs).xml:
14279         * tests/sched/cases/(fs-i-q[i-fs]).xml:
14280         * tests/sched/dynamic-pipeline.c:
14281         * tests/sched/interrupt1.c:
14282         * tests/sched/interrupt2.c:
14283         * tests/sched/interrupt3.c:
14284         * tests/sched/runtestcases:
14285         * tests/sched/runxml.c:
14286         * tests/sched/sched-stress.c:
14287         * tests/sched/sort.c:
14288         * tests/sched/testcases:
14289         * tests/sched/testcases1.tc:
14290         * tests/seeking/.cvsignore:
14291         * tests/seeking/Makefile.am:
14292         * tests/seeking/seeking1.c:
14293         * tests/threadstate/.cvsignore:
14294         * tests/threadstate/Makefile.am:
14295         * tests/threadstate/test1.c:
14296         * tests/threadstate/test2.c:
14297         * tests/threadstate/threadstate1.c:
14298         * tests/threadstate/threadstate2.c:
14299         * tests/threadstate/threadstate3.c:
14300         * tests/threadstate/threadstate4.c:
14301         * tests/threadstate/threadstate5.c:
14302           remove obsolete tests
14303         * configure.ac:
14304         * tests/bench-complexity.scm:
14305         * tests/bench-mass_elements.scm:
14306         * tests/complexity.c:
14307         * tests/complexity.gnuplot:
14308         * tests/instantiate/.cvsignore:
14309         * tests/instantiate/Makefile.am:
14310         * tests/instantiate/caps.c:
14311         * tests/mass_elements.c:
14312         * tests/network-clock-utils.scm:
14313         * tests/network-clock.scm:
14314         * tests/plot-data:
14315         First pass at cleaning up tests/ dir before moving the rest
14316         Combined with CVS surgery
14317
14318 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14319
14320         * po/POTFILES.in:
14321           queue has moved, update
14322
14323 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14324
14325         * docs/gst/gstreamer-sections.txt:
14326           remove double entries from the docs
14327         * gst/gst_private.h:
14328         * gst/gstinfo.c: (_gst_debug_init):
14329           remove the THREAD debug category
14330         * gst/Makefile.am:
14331         * gst/gstqueue.c:
14332         * gst/gstqueue.h:
14333         * docs/gst/gstreamer.types:
14334         * plugins/elements/gstqueue.c: (gst_queue_get_type),
14335         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
14336           completely move queue and fix up debugging categories
14337
14338 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14339
14340         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
14341           make initialization portable, using LL is not
14342
14343 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14344
14345         * win32/common/gstconfig.h:
14346           add large padding
14347
14348 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14349
14350         * win32/common/libgstreamer.def:
14351           rename symbols; sort base section
14352
14353 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14354
14355         * gst/gstclock.c: (do_linear_regression):
14356           remove crack non-portable handrolled DEBUG macro
14357
14358 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14359
14360         * docs/random/release:
14361           update notes
14362         * win32/common/gstenumtypes.c: (register_gst_object_flags),
14363         (gst_object_flags_get_type), (register_gst_bin_flags),
14364         (gst_bin_flags_get_type), (register_gst_buffer_flag),
14365         (gst_buffer_flag_get_type), (register_gst_bus_flags),
14366         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
14367         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
14368         (gst_caps_flags_get_type), (register_gst_clock_return),
14369         (gst_clock_return_get_type), (register_gst_clock_entry_type),
14370         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
14371         (gst_clock_flags_get_type), (register_gst_state),
14372         (gst_state_get_type), (register_gst_state_change_return),
14373         (gst_state_change_return_get_type), (register_gst_state_change),
14374         (gst_state_change_get_type), (register_gst_element_flags),
14375         (gst_element_flags_get_type), (register_gst_core_error),
14376         (gst_core_error_get_type), (register_gst_library_error),
14377         (gst_library_error_get_type), (register_gst_resource_error),
14378         (gst_resource_error_get_type), (register_gst_stream_error),
14379         (gst_stream_error_get_type), (register_gst_event_type_flags),
14380         (gst_event_type_flags_get_type), (register_gst_event_type),
14381         (gst_event_type_get_type), (register_gst_seek_type),
14382         (gst_seek_type_get_type), (register_gst_seek_flags),
14383         (gst_seek_flags_get_type), (register_gst_format),
14384         (gst_format_get_type), (register_gst_index_certainty),
14385         (gst_index_certainty_get_type), (register_gst_index_entry_type),
14386         (gst_index_entry_type_get_type),
14387         (register_gst_index_lookup_method),
14388         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
14389         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
14390         (gst_index_resolver_method_get_type), (register_gst_index_flags),
14391         (gst_index_flags_get_type), (register_gst_debug_level),
14392         (gst_debug_level_get_type), (register_gst_debug_color_flags),
14393         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
14394         (gst_iterator_result_get_type), (register_gst_iterator_item),
14395         (gst_iterator_item_get_type), (register_gst_message_type),
14396         (gst_message_type_get_type), (register_gst_mini_object_flags),
14397         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
14398         (gst_pad_link_return_get_type), (register_gst_flow_return),
14399         (gst_flow_return_get_type), (register_gst_activate_mode),
14400         (gst_activate_mode_get_type), (register_gst_pad_direction),
14401         (gst_pad_direction_get_type), (register_gst_pad_flags),
14402         (gst_pad_flags_get_type), (register_gst_pad_presence),
14403         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
14404         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
14405         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
14406         (gst_plugin_error_get_type), (register_gst_plugin_flags),
14407         (gst_plugin_flags_get_type), (register_gst_rank),
14408         (gst_rank_get_type), (register_gst_query_type),
14409         (gst_query_type_get_type), (register_gst_tag_merge_mode),
14410         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
14411         (gst_tag_flag_get_type), (register_gst_task_state),
14412         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
14413         (gst_alloc_trace_flags_get_type),
14414         (register_gst_type_find_probability),
14415         (gst_type_find_probability_get_type), (register_gst_uri_type),
14416         (gst_uri_type_get_type), (register_gst_parse_error),
14417         (gst_parse_error_get_type):
14418         * win32/common/gstenumtypes.h:
14419         * win32/common/gstversion.h:
14420           update visual studio generated files
14421
14422 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14423
14424         * win32/vs6/libgstbase.dsp:
14425         * win32/vs6/libgstelements.dsp:
14426           update project files for new locations
14427
14428 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
14429
14430         * Makefile.am:
14431           remove some files
14432         * README:
14433           reinstate and update
14434         * DEVEL:
14435         * REQUIREMENTS:
14436           removed
14437         * LICENSE:
14438         * docs/random/LICENSE:
14439           moved to random
14440
14441 2005-11-30  Edward Hervey  <edward@fluendo.com>
14442
14443         * gst/gsttypefind.c: (gst_type_find_register):
14444         * gst/gsttypefind.h:
14445         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
14446         (gst_type_find_factory_dispose):
14447         * gst/gsttypefindfactory.h:
14448         Fix memory leak in GstTypeFindFactory.
14449
14450 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14451
14452         * gst/gst.c:
14453         * plugins/elements/Makefile.am:
14454         * plugins/elements/gstelements.c:
14455         * plugins/elements/gstqueue.c:
14456           move queue from core to the elements plugin
14457
14458 2005-11-29  Andy Wingo  <wingo@pobox.com>
14459
14460         * libs/gst/base/gstbasetransform.h: 
14461         * libs/gst/base/gstbasesrc.h: 
14462         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
14463
14464         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
14465         of pointers by which to pad very extensible base classes (like the
14466         ones in libs/gst/base).
14467
14468 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14469
14470         * docs/gst/gstreamer-docs.sgml:
14471         * docs/gst/gstreamer-sections.txt:
14472         * docs/libs/gstreamer-libs-docs.sgml:
14473         * docs/libs/gstreamer-libs-sections.txt:
14474           moving documentation from core to lib
14475
14476 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14477
14478         * check/Makefile.am:
14479         * configure.ac:
14480         * docs/gst/Makefile.am:
14481         * gst/Makefile.am:
14482         * gst/base/.cvsignore:
14483         * gst/base/Makefile.am:
14484         * gst/base/README:
14485         * gst/base/gstadapter.c:
14486         * gst/base/gstadapter.h:
14487         * gst/base/gstbasesink.c:
14488         * gst/base/gstbasesink.h:
14489         * gst/base/gstbasesrc.c:
14490         * gst/base/gstbasesrc.h:
14491         * gst/base/gstbasetransform.c:
14492         * gst/base/gstbasetransform.h:
14493         * gst/base/gstcollectpads.c:
14494         * gst/base/gstcollectpads.h:
14495         * gst/base/gstpushsrc.c:
14496         * gst/base/gstpushsrc.h:
14497         * gst/base/gsttypefindhelper.c:
14498         * gst/base/gsttypefindhelper.h:
14499         * gst/check/Makefile.am:
14500         * gst/check/gstcheck.c:
14501         * gst/check/gstcheck.h:
14502         * gst/net/Makefile.am:
14503         * gst/net/gstnet.h:
14504         * gst/net/gstnetclientclock.c:
14505         * gst/net/gstnetclientclock.h:
14506         * gst/net/gstnettimepacket.c:
14507         * gst/net/gstnettimepacket.h:
14508         * gst/net/gstnettimeprovider.c:
14509         * gst/net/gstnettimeprovider.h:
14510         * libs/gst/Makefile.am:
14511         * libs/gst/base/Makefile.am:
14512         * libs/gst/base/gstbasetransform.c:
14513         * libs/gst/check/Makefile.am:
14514         * plugins/elements/Makefile.am:
14515         * po/POTFILES.in:
14516           CVS surgery + support to move base, check, and net out of gst
14517           and into libs/gst
14518
14519 2005-11-29  Andy Wingo  <wingo@pobox.com>
14520
14521         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
14522
14523         * gst/gststructure.h (struct _GstStructure): Only one pointer of
14524         padding.
14525
14526         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
14527
14528         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
14529
14530         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
14531
14532         * gst/gstobject.h: (struct _GstObject): Only one pointer of
14533         padding; reduces object size by about 30%. We don't expect
14534         anything else to go into gstobject.
14535
14536         * gst/gstminiobject.h (struct _GstMiniObject)
14537         (struct _GstMiniObjectClass): Only one pointer of padding; the
14538         payload is only a pointer and two ints anyway. For the class there
14539         are only two methods as well.
14540         
14541         * gst/gstelement.h (struct _GstElementClass): Removed
14542         the state_changed signal callback, it is not used.
14543
14544 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14545
14546         * docs/gst/gstreamer.types:
14547           fix includes, though they are a little dinky
14548
14549 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14550
14551         * check/Makefile.am:
14552           look in the right place for elements, a lot more chance of
14553           success
14554         * gst/Makefile.am:
14555           remove indexers and elements subdirs
14556         * plugins/Makefile.am:
14557           make indexers conditional
14558
14559 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
14560
14561         * Makefile.am:
14562         * configure.ac:
14563         * plugins/elements/Makefile.am:
14564         * plugins/elements/gstcapsfilter.c:
14565         * plugins/elements/gstfilesink.c:
14566         * plugins/elements/gstfilesrc.c:
14567         * plugins/elements/gstidentity.c:
14568         * plugins/indexers/Makefile.am:
14569           do CVS surgery and related build fixery to move elements
14570           and indexers in a new gstreamer/plugins directory, out of the
14571           gst/ directory
14572
14573 2005-11-29  Andy Wingo  <wingo@pobox.com>
14574
14575         * check/Makefile.am:
14576         * pkgconfig/gstreamer-net-uninstalled.pc.in:
14577         * pkgconfig/gstreamer-net.pc.in:
14578         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
14579         #322257.
14580
14581 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14582
14583         * tools/Makefile.am:
14584         * tools/gst-complete.1.in:
14585         * tools/gst-complete.c:
14586         * tools/gst-compprep.1.in:
14587         * tools/gst-compprep.c:
14588           removing -compprep and -complete
14589
14590 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14591
14592         * gst/gstevent.c: (gst_event_new_new_segment),
14593         (gst_event_parse_new_segment):
14594         * gst/gstevent.h:
14595           fix #320529 - clean up new_segment API and structure.
14596           Let's hope everyone was using the methods, and not the structure.
14597
14598 2005-11-29  Edward Hervey  <edward@fluendo.com>
14599
14600         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14601         (gst_base_sink_event), (gst_base_sink_do_sync),
14602         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
14603         Properly handle non GST_FORMAT_TIME segment
14604         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
14605         Properly handle non GST_FORMAT_TIME segment
14606         * gst/gstsegment.c:
14607         This function is valid if the accumulator is 0 and the format
14608         is different from the requested format.
14609         
14610 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14611
14612         * docs/gst/gstreamer-sections.txt:
14613         Add gst_query_new_seeking and gst_query_parse_seeking to the
14614         docs.
14615
14616 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
14617
14618         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
14619           Treat a pad alloc with new caps the same as if we were not
14620           negotiated, in order to allow a changing upstream output
14621           to produce a new format of data.
14622
14623 2005-11-29  Edward Hervey  <edward@fluendo.com>
14624
14625         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
14626         (gst_base_transform_event), (gst_base_transform_eventfunc):
14627         The event virtual method is now properly implemented, with a default
14628         handler
14629         Sub classes should call the parent_class event method. They should
14630         return FALSE if they had a problem handling the given event, or don't
14631         want GstBaseTransform to send that even downstream
14632         * gst/elements/gstidentity.c: (gst_identity_class_init),
14633         (gst_identity_init), (gst_identity_event),
14634         (gst_identity_transform_ip), (gst_identity_set_property),
14635         (gst_identity_get_property):
14636         * gst/elements/gstidentity.h:
14637         Added the single-segment boolean property.
14638         If set to TRUE, it will output a single segment of data, starting from
14639         0, will eat up all incoming newsegment, and modify the timestamp of the
14640         buffers accordingly
14641
14642 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
14643
14644         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
14645           Don't ref NULL target pad (#322751). Improve docs.
14646
14647 2005-11-29  Michael Smith  <msmith@fluendo.com>
14648
14649         * gst/gstregistryxml.c: (load_plugin):
14650           Don't crash if we failed to load a feature from a plugin. 
14651
14652 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14653
14654         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
14655         (GST_START_TEST):
14656           use more check API and less GLib API
14657
14658 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14659
14660         * Makefile.am:
14661           don't run checks if we don't have check
14662         * common/check.mak:
14663           remove the registry when running make torture
14664         * docs/gst/gstreamer-sections.txt:
14665           remove second multiply
14666         * gst/gstqueue.c: (gst_queue_loop):
14667           fix a compile warning when disabling debug
14668
14669 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14670
14671         * gst/gstinfo.h:
14672         Hey! Let's print the pad name if the pointer != NULL instead
14673         of when it == NULL :-)
14674
14675 2005-11-28  Wim Taymans  <wim@fluendo.com>
14676
14677         * check/gst/gstutils.c: (GST_START_TEST):
14678         Updated check, add some scaling accuracy checking code.
14679
14680         * gst/gstutils.c: (gst_util_div128_64),
14681         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
14682         (gst_util_uint64_scale_int):
14683         Fix 6 times faster division code. Optimize for common 
14684         1/1 and less common X/1 cases.
14685
14686 2005-11-28  Wim Taymans  <wim@fluendo.com>
14687
14688         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14689         More checks.
14690
14691         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
14692         (do_linear_regression), (gst_clock_add_observation):
14693         Cleanups.
14694         Release lock when the clock cannot be slaved.
14695         Catch the case where the regression returned an invalid denominator.
14696
14697         * gst/gstutils.c: (gst_util_div128_64_iterate),
14698         (gst_util_div128_64), (gst_util_uint64_scale_int64),
14699         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14700         Add protentially more performant non-iterative 128/64 divide function
14701         that unfortunatly does not work yet.
14702         Shortcut the trivial 0/X = 0 case.
14703         Remove the warnings on overflow.
14704
14705 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14706
14707         * gst/gstplugin.c: (gst_plugin_register_func):
14708           everything causing a plugin not to load should be at least a WARNING
14709
14710 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
14711
14712         * docs/random/ensonic/dparams.txt:
14713           some TODOs for the next dev cycle
14714         * libs/gst/controller/gstcontroller.c:
14715         (gst_controlled_property_set_interpolation_mode),
14716         (gst_controlled_property_new):
14717         * libs/gst/controller/gstcontroller.h:
14718           use base type to assign acccessor functions
14719
14720 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14721
14722         * check/Makefile.am:
14723         Oops, that should have been top_srcdir
14724
14725 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
14726
14727         * check/Makefile.am:
14728         * check/elements/fdsrc.c: (GST_START_TEST):
14729         Use a cmdline define to specify the location of a file to use for
14730         testing, to avoid breaking distcheck.
14731
14732 2005-11-28  Andy Wingo  <wingo@pobox.com>
14733
14734         * gst/gstpad.c (fixate_value): Use array functions for arrays.
14735
14736 2005-11-28  Edward Hervey  <edward@fluendo.com>
14737
14738         * tools/gst-launch.c: (main):
14739         Clarify the output strings, makes it easier to translate.
14740         Fixes #322626
14741
14742 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
14743
14744         * gst/Makefile.am:
14745           don't try and build net if we don't even have <sys/socket.h>
14746
14747 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
14748
14749         * check/Makefile.am:
14750         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
14751         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
14752           Add tests for fdsrc seekability
14753
14754         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
14755         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
14756         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
14757         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
14758         * gst/elements/gstfdsrc.h:
14759           fdsrc should not be a 'live' source.
14760           Implement seeking on seekable fd's.
14761
14762         * gst/gstquery.c: (gst_query_new_seeking),
14763         (gst_query_parse_seeking):
14764         * gst/gstquery.h:
14765           Implement SEEKING query functions: 
14766             *_new_seeking and *_parse_seeking
14767
14768 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
14769
14770         * gst/gstelement.c: (gst_element_dispose):
14771           don't loop forever
14772
14773         * gst/gstiterator.c:
14774         * gst/gststructure.c:
14775           doc fixes
14776
14777         * libs/gst/controller/gstcontroller.c:
14778         (gst_controlled_property_set_interpolation_mode):
14779         * libs/gst/controller/gstcontroller.h:
14780         * libs/gst/controller/gstinterpolation.c:
14781         (interpolate_none_get_enum_value_array):
14782           support controlling enums
14783
14784 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14785
14786         * gst/gstvalue.c:
14787           Improve documentation for gst_value_union().
14788
14789         * gst/gstvalue.h:
14790           Change return value for union, intersect and subtract functions
14791           from gint to gboolean.
14792
14793 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
14794
14795         * gst/gstvalue.c: (gst_value_serialize_any_list),
14796         (gst_value_transform_any_list_string),
14797         (gst_value_deserialize_list), (gst_value_deserialize_array),
14798         (gst_value_set_int_range), (gst_value_deserialize_int_range),
14799         (gst_value_set_double_range), (gst_value_deserialize_double_range),
14800         (gst_value_set_fraction_range_full),
14801         (gst_value_deserialize_fraction_range),
14802         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
14803         (gst_value_deserialize_boolean),
14804         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
14805         (gst_value_serialize_float), (gst_value_deserialize_float),
14806         (gst_string_wrap), (gst_value_deserialize_string),
14807         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
14808         (gst_value_union_int_range_int_range),
14809         (gst_value_intersect_int_range_int_range),
14810         (gst_value_intersect_double_range_double_range),
14811         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
14812         (gst_value_subtract_int_range_int_range),
14813         (gst_value_subtract_double_double_range),
14814         (gst_value_subtract_double_range_double_range),
14815         (gst_value_deserialize_fraction):
14816         * gst/gstvalue.h:
14817           Use gint, gdouble and gchar in our API instead of int, double and
14818           char (and make usage in gstvalue.c more consistent).
14819
14820 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14821
14822         * check/Makefile.am:
14823         * libs/gst/controller/Makefile.am:
14824         * libs/gst/dataprotocol/Makefile.am:
14825           fix up Makefile.am and remove GST_ENABLE_NEW
14826
14827 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14828
14829         * configure.ac:
14830         * gst/Makefile.am:
14831         * gst/base/Makefile.am:
14832         * gst/check/Makefile.am:
14833         * gst/elements/Makefile.am:
14834         * gst/net/Makefile.am:
14835           update LDFLAGS use some more
14836
14837 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14838
14839         * common/m4/gst-doc.m4:
14840           Fixes #312589
14841
14842 2005-11-26  Edward Hervey  <edward@fluendo.com>
14843
14844         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
14845         This shouldn't issue a g_warning since it returns NULL if it
14846         couldn't find the plugin, and all functions using this behave
14847         properly on a NULL return. Switching to a GST_WARNING.
14848
14849 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
14850
14851         * gst/gstbin.c: (gst_bin_handle_message_func):
14852         Don't leak clock messages.
14853
14854 2005-11-25  Wim Taymans  <wim@fluendo.com>
14855
14856         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14857         (gst_util_uint64_scale_int):
14858         Optimisations, remove unneeded vars.
14859
14860 2005-11-25  Wim Taymans  <wim@fluendo.com>
14861
14862         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14863         Added more checks for the high precision uint64 cases.
14864
14865         * gst/gstutils.c: (gst_util_uint64_scale_int64),
14866         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
14867         Implement high precision (guint64 * guint64) / guint64.
14868
14869 2005-11-24  Wim Taymans  <wim@fluendo.com>
14870
14871         * gst/base/gstbasesrc.c: (gst_base_src_query):
14872         Fix wrong percentage query.
14873
14874         * gst/gstutils.c: (gst_util_uint64_scale),
14875         (gst_util_uint64_scale_int):
14876         Add some more common cases that can be handled 
14877         efficiently to _scale.
14878
14879 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14880
14881         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
14882         (gst_mini_object_suite):
14883           don't use check calls from threads; check probably isn't
14884           threadsafe and using a lock to make it threadsafe would
14885           defeat the purpose of this check
14886         * gst/check/gstcheck.c:
14887         * gst/check/gstcheck.h:
14888           use GST_DEBUG some more
14889
14890 2005-11-24  Wim Taymans  <wim@fluendo.com>
14891
14892         * gst/gstutils.c: (gst_util_uint64_scale),
14893         (gst_util_uint64_scale_int):
14894         Chain trivial case to _scale_int.
14895
14896 2005-11-24  Wim Taymans  <wim@fluendo.com>
14897
14898         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
14899         Added test for scaling.
14900
14901         * gst/gstclock.h:
14902         Small doc fix.
14903
14904         * gst/gstutils.c: (gst_util_uint64_scale_int):
14905         Implemented high precision scaling code.
14906
14907 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
14908
14909         * gst/gstinfo.h:
14910           do not crash on pad==NULL
14911
14912 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
14913
14914         Patch by: Stefan Kost
14915
14916         * common/gtk-doc.mak:
14917         * docs/gst/Makefile.am:
14918         * docs/libs/Makefile.am:
14919           Fix distcheck issues for the libraries docs build
14920           Closes #319599.
14921
14922 2005-11-24  Michael Smith <msmith@fluendo.com>
14923
14924         * docs/manual/basics-helloworld.xml:
14925           Fix bug #315027: memory leak in example code in docs.
14926
14927 2005-11-24  Michael Smith <msmith@fluendo.com>
14928
14929         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14930           Unlock the PREROLL_LOCK in a failure case.
14931
14932 2005-11-24  Wim Taymans  <wim@fluendo.com>
14933
14934         * docs/gst/gstreamer-sections.txt:
14935         * gst/base/gstadapter.h:
14936         * gst/base/gstbasesink.h:
14937         * gst/base/gstbasesrc.h:
14938         * gst/base/gstbasetransform.h:
14939         * gst/base/gstpushsrc.h:
14940         * gst/elements/gstfakesink.h:
14941         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
14942         * gst/elements/gstfakesrc.h:
14943         * gst/elements/gstfilesink.h:
14944         * gst/elements/gstfilesrc.h:
14945         * gst/gst.c:
14946         * gst/gstbin.c:
14947         * gst/gstbuffer.c: (_gst_buffer_copy):
14948         * gst/gstbus.h:
14949         * gst/gstcaps.c:
14950         * gst/gstchildproxy.c:
14951         * gst/gstclock.c:
14952         * gst/gstelement.c:
14953         * gst/gstelementfactory.c:
14954         * gst/gstelementfactory.h:
14955         * gst/gstevent.c:
14956         * gst/gstghostpad.h:
14957         * gst/gstindex.h:
14958         * gst/gstinterface.h:
14959         * gst/gstminiobject.c:
14960         * gst/gstminiobject.h:
14961         * gst/gstpad.c:
14962         * gst/gstpad.h:
14963         * gst/gstpadtemplate.h:
14964         * gst/gstpipeline.h:
14965         * gst/gstpluginfeature.h:
14966         * gst/gstquery.h:
14967         * gst/gstqueue.h:
14968         * gst/gsttaglist.c:
14969         * gst/gsttaglist.h:
14970         * gst/gsttagsetter.c:
14971         * gst/gsttagsetter.h:
14972         * gst/gsttrace.c:
14973         * gst/gsttrace.h:
14974         * gst/gsttypefind.h:
14975         * gst/gsturi.h:
14976         * gst/gstvalue.c:
14977         * gst/net/gstnetclientclock.c:
14978         * gst/net/gstnetclientclock.h:
14979         * gst/net/gstnettimepacket.c:
14980         * gst/net/gstnettimeprovider.c:
14981         * gst/net/gstnettimeprovider.h:
14982         Doc fixes.
14983
14984 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
14985
14986         * configure.ac: back to HEAD
14987
14988 === release 0.9.6 ===
14989
14990 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
14991
14992         * configure.ac:
14993           releasing 0.9.6, "Always On Time"
14994
14995 2005-11-23  Wim Taymans  <wim@fluendo.com>
14996
14997         * docs/gst/gstreamer-sections.txt:
14998         * gst/glib-compat.c:
14999         * gst/gsttagsetter.c:
15000         * gst/gstvalue.c:
15001         * gst/net/gstnetclientclock.c:
15002         * gst/net/gstnettimepacket.h:
15003         Doc updates.
15004
15005 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15006
15007         * docs/faq/using.xml:
15008         * docs/libs/tmpl/gstcontrol.sgml:
15009         * docs/manual/advanced-dparams.xml:
15010         * docs/manual/appendix-checklist.xml:
15011         * docs/manual/basics-elements.xml:
15012         * docs/pwg/other-source.xml:
15013         * docs/random/moving-plugins:
15014         * gst/gstpad.c:
15015         * tools/gst-launch.1.in:
15016           remove mentions of sinesrc
15017
15018 2005-11-23  Michael Smith <msmith@fluendo.com>
15019
15020         * docs/gst/gstreamer-sections.txt:
15021           Update for new API and API changes.
15022         * gst/gstobject.h:
15023           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
15024         * gst/gstvalue.c:
15025           Documentation typo fix.
15026         * gst/net/gstnettimepacket.c:
15027           Documentation fixes for arguments.
15028
15029 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
15030
15031         * gst/gststructure.c: (gst_structure_get_fraction),
15032         (gst_structure_parse_value),
15033         (gst_structure_fixate_field_nearest_fraction):
15034         * gst/gststructure.h:
15035         * gst/gstutils.c: (gst_util_uint64_scale_int):
15036         * gst/gstutils.h:
15037         * scripts/update-funcnames:
15038         API Changes. 
15039         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
15040         Make gst_structure_fixate_field_nearest_fraction take a numerator
15041         and denominator argument instead of a GValue
15042         add gst_structure_get_fraction helper function.
15043
15044 2005-11-23  Wim Taymans  <wim@fluendo.com>
15045
15046         * docs/design/part-TODO.txt:
15047         Update TODO.
15048
15049         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
15050         * gst/net/gstnetclientclock.h:
15051         Use parent fields for timeout and window_size.
15052
15053 2005-11-23  Andy Wingo  <wingo@pobox.com>
15054
15055         * check/net/gstnetclientclock.c (test_functioning): Adjust to
15056         rate_num/rate_denom change.
15057
15058         * gst/net/gstnetclientclock.c
15059         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
15060         OBJECT_LOCK. Don't call add_observation with the lock.
15061
15062         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
15063         fraction.
15064         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
15065         rate fraction.
15066         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
15067         deal with rate as a fraction whose numerator and denominator are
15068         GstClockTime values.
15069         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
15070         master; the other fields are protected by the SLAVE_LOCK.
15071         (do_linear_regression): Note that this must be called with the
15072         SLAVE_LOCK.
15073         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
15074         OBJECT_LOCK. Call set_calibration instead of touching the
15075         variables directly.
15076         (gst_clock_set_property, gst_clock_get_property): Protect
15077         master/slave parameters with the SLAVE_LOCK.
15078
15079         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
15080         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
15081         note that all of the instance variables that add_observation and
15082         the set_master functions use are protected by that lock and not
15083         the OBJECT_LOCK.
15084         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
15085
15086         * gst/gstclock.c (gst_clock_add_observation): No longer requires
15087         the caller to take the object lock.
15088
15089 2005-11-23  Wim Taymans  <wim@fluendo.com>
15090
15091         * gst/gsterror.c: (_gst_core_errors_init):
15092         * gst/gsterror.h:
15093         Add error for clock stuff.
15094
15095         * gst/gstpipeline.c: (gst_pipeline_change_state),
15096         (gst_pipeline_set_clock):
15097         Post clock error when clock cannot be used in a pipeline.
15098
15099 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
15100
15101         * docs/gst/gstreamer-sections.txt:
15102           make two symbols from gstinfo private for the docs
15103         * gst/base/gstcollectpads.h:
15104         * gst/gstutils.c:
15105           fix doc typos, update docs
15106
15107 2005-11-22  Wim Taymans  <wim@fluendo.com>
15108
15109         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
15110         (gst_base_sink_wait), (gst_base_sink_do_sync),
15111         (gst_base_sink_handle_event):
15112         * gst/base/gstbasesink.h:
15113         No need to store the clock, the parent element class already
15114         has it.
15115
15116         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
15117         Updates for clock_set returning a gboolean
15118
15119         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
15120         (gst_clock_id_wait_async), (gst_clock_class_init),
15121         (gst_clock_init), (gst_clock_finalize),
15122         (gst_clock_get_internal_time), (gst_clock_get_time),
15123         (gst_clock_slave_callback), (gst_clock_set_master),
15124         (gst_clock_get_master), (do_linear_regression),
15125         (gst_clock_add_observation), (gst_clock_set_property),
15126         (gst_clock_get_property):
15127         * gst/gstclock.h:
15128         Implement master/slave. When setting a clock as a slave, a
15129         periodic timeout is scheduled to sample master and slave times.
15130         Then the slave clock is recalibrated to match offset and rate
15131         of the master clock.
15132         Update logging a bit.
15133         Add flag so that a clock can state that is cannot be slaved to
15134         another clock.
15135
15136         * gst/gstelement.c: (gst_element_set_clock):
15137         * gst/gstelement.h:
15138         The set clock returns a gboolean for when an element cannot
15139         deal with the selected clock in the pipeline. 
15140
15141         * gst/gstpipeline.c: (gst_pipeline_change_state),
15142         (gst_pipeline_set_clock):
15143         * gst/gstpipeline.h:
15144         Handle the case where the selected clock cannot be set on
15145         the pipeline.
15146
15147         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
15148         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
15149         (gst_net_client_clock_set_property),
15150         (gst_net_client_clock_get_property),
15151         (gst_net_client_clock_observe_times):
15152         * gst/net/gstnetclientclock.h:
15153         Use regression code in GstClock parent, remove duplicated
15154         functionality.
15155
15156 2005-11-22  Michael Smith <msmith@fluendo.com>
15157
15158         * gst/gstutils.c: (gst_util_clock_time_scale):
15159         * gst/gstutils.h:
15160         * docs/gst/gstreamer-sections.txt:
15161           Rename method to have extra underscore.
15162
15163 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15164
15165         * gst/elements/Makefile.am:
15166         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
15167         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
15168         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
15169         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
15170         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
15171         * gst/elements/gstfakesrc.h:
15172         * gst/gstqueue.c: (queue_leaky_get_type):
15173           correctly fix GEnumValues so that nick is the short lowercase
15174           dashed tag
15175         * tools/gst-inspect.c: (print_element_properties_info):
15176           also show the nick, since it's useful to use from parse_launch
15177           syntax
15178           Fixes #322139
15179
15180 2005-11-22  Michael Smith <msmith@fluendo.com>
15181
15182         * gst/gstutils.c: (gst_util_clocktime_scale):
15183         * gst/gstutils.h:
15184         * docs/gst/gstreamer-sections.txt:
15185           Add util method for scaling a clocktime by a fraction. Useful 
15186           implementation is left as an exercise for the reader.
15187
15188 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15189
15190         * gst/gstvalue.c: (gst_value_collect_fraction_range):
15191         If needed, allocate storage in the destination value during
15192         collection.
15193
15194 2005-11-22  Edward Hervey  <edward@fluendo.com>
15195
15196         * docs/gst/gstreamer-sections.txt:
15197         * gst/Makefile.am:
15198         * gst/gst.h:
15199         * gst/gsturitype.c:
15200         * gst/gsturitype.h:
15201         * gst/gstutils.c: (gst_util_set_object_arg):
15202         * tools/gst-compprep.c: (main):
15203         * tools/gst-inspect.c: (print_element_properties_info):
15204         Removed GstURI, closes bug #321061
15205
15206 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15207
15208         * check/gst/gststructure.c: (GST_START_TEST):
15209         * gst/gststructure.c: (gst_structure_parse_value):
15210           Oops, broke automatic string type parsing.
15211           Add a test to catch it in future.
15212
15213 2005-11-22  Andy Wingo  <wingo@pobox.com>
15214
15215         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
15216         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
15217         Actually rename the function implementations. Grr.
15218
15219 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15220
15221         * check/gst/capslist.h:
15222           Comment test cases
15223         * check/gst/gststructure.c: (GST_START_TEST),
15224         (gst_structure_suite):
15225           Test automatic value type detection in gst_structure_from_string.
15226         * gst/gststructure.c: (gst_structure_parse_value):
15227           Add fraction as a type we try and guess automatically in
15228           caps/structure strings.
15229
15230 2005-11-22  Andy Wingo  <wingo@pobox.com>
15231
15232         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
15233
15234         * gst/gsttagsetter.h:
15235         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
15236         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
15237         (gst_tag_setter_add_tag_valist)
15238         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
15239         _add_values, _add_valist, and _add_valist_values. Since this is an
15240         interface the function suffixes should be more explicit so
15241         language binding don't end up with element.add_valist ->
15242         gst_tag_setter_add_valist, for example. Fixes #322069.
15243
15244 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15245
15246         * check/gst/gstcaps.c: (GST_START_TEST):
15247           Extend caps string tests to check that a caps to string
15248           conversion is reversible and produces the same caps.
15249
15250         * gst/gststructure.c: (gst_structure_value_get_generic_type):
15251           Output "fraction" as the generic type fraction range, so caps
15252           serialisation and deserialisation works.
15253         * check/gst/capslist.h:
15254         * gst/gstvalue.c: (gst_value_deserialize_fraction):
15255           Support 'MIN' and 'MAX' for deserialising fractions.
15256
15257 2005-11-22  Andy Wingo  <wingo@pobox.com>
15258
15259         * gst/gstevent.h (gst_event_new_new_segment)
15260         (gst_event_parse_new_segment, gst_event_new_buffer_size)
15261         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
15262         Renamed from *_newsegment, *_buffersize, *_notarget.
15263
15264         * scripts/update-funcnames: New script, performs the changes
15265         listed above.
15266
15267 2005-11-22  Wim Taymans  <wim@fluendo.com>
15268
15269         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
15270         Make sure the GstFlowReturn is returned.
15271
15272         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
15273         (gst_bus_add_signal_watch):
15274         * gst/gstbus.h:
15275         add gst_bus_add_signal_watch_full.
15276
15277         * gst/gstplugin.c: (gst_plugin_load_file):
15278         Small style cleanup.
15279
15280 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15281
15282         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
15283           Block the fakesrc srcpad when we send an event, to avoid
15284           contention on the stream_lock causing random test failures.
15285
15286 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15287
15288         * check/gst/gstvalue.c: (GST_START_TEST):
15289         * gst/gstvalue.c: (gst_value_fraction_subtract):
15290           Fix subtraction.
15291
15292 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
15293
15294         * gst/gst.h:
15295           include "gstchildproxy.h"
15296         * gst/gstchildproxy.h:
15297         * libs/gst/controller/gstcontroller.h:
15298           use G_GNUC_NULL_TERMINATED
15299
15300 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
15301
15302         * check/gst/capslist.h:
15303         * check/gst/gstcaps.c: (GST_START_TEST):
15304         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15305         * gst/gststructure.c: (gst_structure_parse_range),
15306         (gst_structure_fixate_field_nearest_fraction):
15307         * gst/gststructure.h:
15308         * gst/gstvalue.c: (gst_value_init_fraction_range),
15309         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
15310         (gst_value_collect_fraction_range),
15311         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
15312         (gst_value_set_fraction_range_full),
15313         (gst_value_get_fraction_range_min),
15314         (gst_value_get_fraction_range_max),
15315         (gst_value_serialize_fraction_range),
15316         (gst_value_transform_fraction_range_string),
15317         (gst_value_compare_fraction_range),
15318         (gst_value_deserialize_fraction_range),
15319         (gst_value_intersect_fraction_fraction_range),
15320         (gst_value_intersect_fraction_range_fraction_range),
15321         (gst_value_subtract_fraction_fraction_range),
15322         (gst_value_subtract_fraction_range_fraction),
15323         (gst_value_subtract_fraction_range_fraction_range),
15324         (gst_value_collect_fraction), (gst_value_fraction_multiply),
15325         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
15326         (gst_value_transform_string_fraction), (_gst_value_initialize):
15327         * gst/gstvalue.h:
15328           Implement fraction ranges and extend GstFraction to support
15329           arithmetic subtraction, as well as deserialization from integer
15330           strings such as "100"
15331           Add a testsuite as for int and double range set operations
15332
15333 2005-11-21  Andy Wingo  <wingo@pobox.com>
15334
15335         * gst/gsttaglist.h: 
15336         * gst/gstcaps.h: 
15337         * gst/gststructure.h: Add glib-compat.h.
15338
15339 2005-11-21  Wim Taymans  <wim@fluendo.com>
15340
15341         * gst/gstbin.c: (gst_bin_change_state_func):
15342         Fix for #321595
15343
15344 2005-11-21  Wim Taymans  <wim@fluendo.com>
15345
15346         * gst/gstsegment.h:
15347         And add a nice define too.
15348
15349 2005-11-21  Wim Taymans  <wim@fluendo.com>
15350
15351         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
15352         (gst_segment_new), (gst_segment_free), (gst_segment_init),
15353         (gst_segment_set_duration), (gst_segment_set_last_stop),
15354         (gst_segment_set_seek), (gst_segment_set_newsegment),
15355         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15356         (gst_segment_clip):
15357         * gst/gstsegment.h:
15358         Make binding friendly.
15359
15360 2005-11-21  Andy Wingo  <wingo@pobox.com>
15361
15362         * gst/gsttagsetter.h: 
15363         * gst/gsttaglist.h: 
15364         * gst/gststructure.h: 
15365         * gst/gstcaps.h: 
15366         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
15367         #319940.
15368
15369         * gst/gsterror.c (_gst_core_errors_init):
15370         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
15371         category.
15372
15373         * gst/Makefile.am (gst_headers): Add glib-compat.h.
15374         (noinst_HEADERS): noinst the -private.
15375
15376 2005-11-21  Michael Smith <msmith@fluendo.com>
15377
15378         * gst/gstplugin.h:
15379         * gst/gstregistry.h:
15380           Remove unimplemented declarations for which we can see no sensible
15381           use.
15382
15383 2005-11-21  Andy Wingo  <wingo@pobox.com>
15384
15385         * gst/gst.h: Include glib-compat.h.
15386
15387         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
15388
15389         * gst/glib-compat.c: Include the public and the private header.
15390
15391         * gst/glib-compat-private.h: Copied here from glib-compat.h.
15392
15393         * gst/gstvalue.c: 
15394         * gst/gstpad.c: 
15395         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
15396
15397         * check/gst/gstevent.c (create_custom_events): Check that
15398         FLUSH_STOP is serialized.
15399
15400         * check/elements/identity.c (event_func): 
15401         * check/elements/fakesrc.c (event_func): No stream lock, the core
15402         takes it.
15403
15404         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
15405         stream lock taking, yay.
15406
15407         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
15408         ensure that core takes the stream lock.
15409
15410         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
15411         lock name change.
15412
15413         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
15414         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
15415         it already. For the flush start we do take it though so we get the
15416         right preroll state change messages.
15417
15418         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
15419         the stream lock here, the core does it for us.
15420
15421         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
15422         GST_STREAM_GET_LOCK.
15423         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
15424         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
15425         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
15426         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
15427         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
15428         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
15429
15430         * gst/gstpad.c: Update for stream lock name change.
15431
15432         * gst/base/gstbasesink.c: Update for preroll lock name change.
15433
15434 2005-11-21  Wim Taymans  <wim@fluendo.com>
15435
15436         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
15437         (gst_clock_get_master):
15438         * gst/gstclock.h:
15439         * gst/gstsystemclock.c: (gst_system_clock_init):
15440         Convert Clock flags to object flags.
15441         Added methods to manage master/slave clocks.
15442
15443 2005-11-21  Wim Taymans  <wim@fluendo.com>
15444
15445         * check/gst/gstsegment.c: (GST_START_TEST):
15446         * docs/design/part-TODO.txt:
15447         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15448         (gst_base_sink_event), (gst_base_sink_do_sync),
15449         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15450         (gst_base_sink_query), (gst_base_sink_change_state):
15451         * gst/base/gstbasesink.h:
15452         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
15453         (gst_base_src_default_newsegment),
15454         (gst_base_src_configure_segment), (gst_base_src_do_seek),
15455         (gst_base_src_get_range), (gst_base_src_loop),
15456         (gst_base_src_change_state):
15457         * gst/base/gstbasesrc.h:
15458         * gst/base/gstbasetransform.c:
15459         (gst_base_transform_prepare_output_buf),
15460         (gst_base_transform_event), (gst_base_transform_change_state):
15461         * gst/base/gstbasetransform.h:
15462         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15463         (gst_collect_pads_event):
15464         * gst/base/gstcollectpads.h:
15465         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
15466         (gst_fake_src_create):
15467         * gst/elements/gstfakesrc.h:
15468         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
15469         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15470         (gst_segment_set_last_stop), (gst_segment_set_seek),
15471         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
15472         (gst_segment_to_running_time), (gst_segment_clip):
15473         * gst/gstsegment.h:
15474         More segment updates, replace code in plugins with segment
15475         helper functions.
15476
15477 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15478
15479         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
15480         Don't ignore sscanf results
15481
15482 2005-11-21  Andy Wingo  <wingo@pobox.com>
15483
15484         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
15485
15486         * *.h:
15487         * *.c: Ran scripts/update-macros. Oh yes.
15488
15489         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
15490         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
15491         GST_GET_LOCK, etc.
15492
15493         * scripts/update-macros: New script. Run it on your files to
15494         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
15495         well.
15496
15497 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15498
15499         * docs/gst/Makefile.am:
15500         * docs/gst/gstreamer-docs.sgml:
15501         * docs/gst/gstreamer-sections.txt:
15502         * docs/gst/gstreamer.types:
15503         * gst/gstinfo.h:
15504           more docs fixes, add new api to the docs
15505
15506 2005-11-21  Andy Wingo  <wingo@pobox.com>
15507
15508         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
15509         state_broadcast call.
15510
15511         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
15512
15513 2005-11-21  Julien MOUTTE  <julien@moutte.net>
15514
15515         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
15516         function calls for arrays.
15517
15518 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
15519
15520         * docs/random/ensonic/media-device-daemon.txt:
15521           wild idea, can this be done?
15522         * docs/gst/gstreamer-sections.txt:
15523         * gst/gsterror.h:
15524         * gst/gstfilter.c:
15525         * gst/gstfilter.h:
15526         * gst/gstplugin.h:
15527         * gst/gstpluginfeature.c:
15528         * gst/gsttrace.c:
15529         * gst/gstvalue.c:
15530         * gst/gstvalue.h:
15531           doc fixes and additions
15532
15533 2005-11-21  Andy Wingo  <wingo@pobox.com>
15534
15535         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
15536         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
15537         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
15538         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
15539         private to the basesrc implementation.
15540
15541         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
15542         behalf of event function if necessary. It should no longer be
15543         necessary to take the stream lock in pad's event functions. Fixes
15544         #320299.
15545
15546 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15547         * docs/gst/gstreamer-sections.txt:
15548         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
15549         (gst_structure_fixate_field_nearest_double),
15550         (gst_structure_fixate_field_boolean):
15551         * gst/gststructure.h:
15552         * win32/common/libgstreamer.def:
15553         * win32/gstreamer.def:
15554
15555         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
15556         (#322027)
15557
15558 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
15559
15560         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
15561         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
15562         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
15563         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
15564         (gst_fdsrc_uri_handler_init):
15565         * gst/elements/gstfdsrc.h:
15566           Port fd:// URI handler from 0.8 to fdsrc
15567
15568 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15569
15570         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
15571         (gst_value_serialize_fourcc):
15572         * gst/gstvalue.h:
15573           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
15574           consistent with our other format defines (#320324).
15575
15576 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15577
15578         * gst/gstvalue.c: (gst_value_is_fixed):
15579           Revert previous commit. Value lists are by definition
15580           not fixed, as they are a list of possible values.
15581
15582 2005-11-21  Andy Wingo  <wingo@pobox.com>
15583
15584         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
15585         during the stable series if we need it. Fixes #319178.
15586
15587         * gst/gstevent.c (gst_event_new_filler): Removed.
15588
15589         * check/gst/gstevent.c: Update comment about filler events.
15590
15591 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15592
15593         * gst/gstvalue.c: (gst_value_is_fixed):
15594           Should handle both value arrays and value lists.
15595
15596 2005-11-21  Andy Wingo  <wingo@pobox.com>
15597
15598         patch by: Alessandro Dessina <alessandro nnva org>
15599
15600         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
15601         functions to access arrays. Fixes #321962.
15602
15603 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15604
15605         * docs/gst/gstreamer.types:
15606           gst_collectpads_get_type => gst_collect_pads_get_type.
15607           
15608         * gst/base/gstbasetransform.c:
15609           Remove unused SIGNAL_HANDOFF enum.
15610
15611 2005-11-21  Andy Wingo  <wingo@pobox.com>
15612
15613         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
15614         the event type (upstream, downstream, serialized). Renamed
15615         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
15616         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
15617         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
15618
15619         * gst/gstevent.c: Update for new CUSTOM event names.
15620
15621         * check/gst/gstevent.c: Update check for new CUSTOM event names.
15622
15623         * gst/gstevent.h:
15624         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
15625         bug #319392.
15626
15627 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15628
15629         * docs/gst/gstreamer-sections.txt:
15630         * win32/common/libgstbase.def:
15631         * win32/libgstbase.def:
15632         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
15633         (gst_collect_pads_class_init), (gst_collect_pads_init),
15634         (gst_collect_pads_finalize), (gst_collect_pads_new),
15635         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
15636         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
15637         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
15638         (gst_collect_pads_start), (gst_collect_pads_stop),
15639         (gst_collect_pads_peek), (gst_collect_pads_pop),
15640         (gst_collect_pads_available), (gst_collect_pads_read),
15641         (gst_collect_pads_flush), (gst_collect_pads_event),
15642         (gst_collect_pads_chain):
15643         * gst/base/gstcollectpads.h:
15644           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
15645           unimplemented functions as unimplemented. Add padding to
15646           GstCollectData. (#320766, #320423)
15647
15648 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
15649
15650         * gst/gstmessage.c:
15651           Improve docs for DURATION message (usage of duration parameter)
15652           (#320113)
15653
15654 2005-11-20  Wim Taymans  <wim@fluendo.com>
15655
15656         * check/Makefile.am:
15657         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
15658         (main):
15659         * gst/Makefile.am:
15660         * gst/gst.h:
15661         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
15662         (gst_segment_set_seek), (gst_segment_set_newsegment),
15663         (gst_segment_to_stream_time), (gst_segment_to_running_time),
15664         (gst_segment_clip):
15665         * gst/gstsegment.h:
15666         Added segment helper structure and methods. Not fully implemented
15667         yet.
15668         Added segment check.
15669
15670 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
15671
15672         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
15673           Add a deserialisation test for fractions
15674         * examples/metadata/read-metadata.c: (message_loop),
15675         (make_pipeline), (main):
15676           Fix up metadata reading sample.
15677         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
15678           Debug format fix
15679         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
15680           Don't try and fixate empty caps
15681         * gst/gst_private.h:
15682           Wrap in G_BEGIN_DECLS/G_END_DECLS
15683         * gst/gstvalue.c: (gst_value_collect_fraction),
15684         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
15685         (gst_value_transform_string_fraction),
15686         (gst_value_compare_fraction):
15687           Add some extra guards to ensure that we don't end up 
15688           with an invalid denominator of 0 in a gstfraction and
15689           that fractions always get reduced.
15690
15691 2005-11-20  Wim Taymans  <wim@fluendo.com>
15692
15693         * docs/gst/gstreamer-sections.txt:
15694         * gst/gstbuffer.h:
15695         * gst/gstelement.c:
15696         * gst/gstformat.c:
15697         * gst/gstformat.h:
15698         * gst/gstindex.h:
15699         * gst/gstquery.c:
15700         * gst/gstquery.h:
15701         * gst/gstvalue.c:
15702         Doc fixes.
15703
15704 2005-11-20  Wim Taymans  <wim@fluendo.com>
15705
15706         * docs/design/part-TODO.txt:
15707         * gst/gstcaps.h:
15708         Make a proper enum of the flag.
15709
15710 2005-11-19  Wim Taymans  <wim@fluendo.com>
15711
15712         * docs/design/part-TODO.txt:
15713         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
15714         (gst_format_to_quark), (gst_format_register):
15715         * gst/gstformat.h:
15716         * gst/gstquery.c: (_gst_query_initialize),
15717         (gst_query_type_get_name), (gst_query_type_to_quark),
15718         (gst_query_type_register):
15719         * gst/gstquery.h:
15720         Add type to quark and type to string conversions.
15721
15722 2005-11-19  Andy Wingo  <wingo@pobox.com>
15723
15724         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
15725         #320097.
15726
15727 2005-11-19  Wim Taymans  <wim@fluendo.com>
15728
15729         * docs/design/part-TODO.txt:
15730         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
15731         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
15732         (gst_bin_handle_message_func):
15733         * gst/gstbin.h:
15734         Make message handling overridable.
15735
15736 2005-11-19  Andy Wingo  <wingo@pobox.com>
15737
15738         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
15739
15740         * gst/gstclock.h:
15741         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
15742         be a GstClockTime.
15743         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
15744         is a GstClockTime. Fixes #321710.
15745
15746         * gst/gstclock.h (GstClock): Remove offset property. Add
15747         internal_calibration and external_calibration. Fix padding. Pad
15748         also by GstClockTime so we don't run into problems.
15749
15750         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
15751         (gst_clock_get_rate_offset): Remove.
15752         (gst_clock_set_time_adjust): Remove. Fixes #321712.
15753
15754         * gst/gstutils.h:
15755         * gst/gstutils.c (g_static_rec_cond_wait)
15756         (g_static_rec_cond_timed_wait): Removed, no longer needed.
15757
15758         * gst/gstbin.c: Remove terrible continue_state prototype.
15759
15760         * gst/gstelement.h (gst_element_continue_state): Make public.
15761
15762         * gst/gstelement.h:
15763         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
15764         by continue_state. Fixes #319389.
15765
15766         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
15767         Really fixes #168438. However I don't see anywhere where the
15768         filter function is called... stupid GStreamer...
15769         
15770         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
15771         don't have a dispose function, so it won't get called when the
15772         object is unreffed, but oh well!
15773
15774         * gst/gstindex.c (gst_index_set_filter_full): New API function,
15775         allows a destroy function to be set so user_data can be freed.
15776         Fixes #168438.
15777         (gst_index_set_filter): Call gst_index_set_filter_full.
15778
15779         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
15780
15781         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
15782         string should produce an error, given the lack of a way to
15783         represent NULL strings. Fixes #165650.
15784         
15785         * gst/gstvalue.h: 
15786         * gst/gstvalue.c (gst_value_array_append_value) 
15787         (gst_value_array_prepend_value, gst_value_array_get_size) 
15788         (gst_value_array_get_value): New API, copied from
15789         gst_value_list_*, only operates on arrays.
15790         (gst_value_list_append_value, gst_value_list_prepend_value) 
15791         (gst_value_list_concat, gst_value_list_get_size) 
15792         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
15793
15794         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
15795         init_list, because it works on both.
15796         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
15797         (gst_value_copy_list_or_array): Renamed from copy_list.
15798         (gst_value_free_list_or_array): Renamed from free_list.
15799         (gst_value_collect_list_or_array): Renamed from collect_list.
15800         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
15801         (gst_value_list_or_array_peek_pointer): Renamed from
15802         list_peek_pointer.
15803         (_gst_value_array_value_table, _gst_value_list_value_table):
15804         Update value table functions.
15805         (gst_value_compare_list_or_array): Renamed from compare_list.
15806
15807         * gsttaglist.h: Whoops, foreach function returns void. Also fix
15808         some constness.
15809
15810         * gst/gsttaglist.c:
15811         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
15812         GstTagList*. Fixes #143472.
15813
15814         * gst/gststructure.h: Clarify what the foreach/map functions can
15815         or can't do to their arguments.
15816
15817 2005-11-18  Wim Taymans  <wim@fluendo.com>
15818
15819         * gst/gstclock.c: (gst_clock_set_calibration),
15820         (gst_clock_get_calibration):
15821         Doc and API fixes.
15822         Calibration can be set with internal time equal to current
15823         internal time too.
15824
15825 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
15826
15827         * gst/gsterror.c:
15828         * gst/gsterror.h:
15829           document
15830
15831 2005-11-18  Andy Wingo  <wingo@pobox.com>
15832
15833         * configure.ac: 
15834         * pkgconfig/gstreamer-net.pc.in:
15835         * pkgconfig/gstreamer-net-uninstalled.pc.in:
15836         * pkgconfig/Makefile.am: Add net pkgconfig files.
15837
15838 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
15839
15840         * gst/gstcaps.c:
15841         * gst/gstghostpad.c:
15842         * gst/gsttrace.c:
15843         * gst/gstvalue.c:
15844         * gst/gstvalue.h:
15845           docs fixes
15846
15847 2005-11-18  Andy Wingo  <wingo@pobox.com>
15848
15849         * gst/net/gstnetclientclock.c: Turn off debugging.
15850
15851         * check/net/gstnetclientclock.c (test_functioning): Assert that the
15852         times connverge somewhat. Can't make a real test.
15853
15854         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
15855         integer arithmetic. Return the minimum of the domain, which can be
15856         set as "internal" for gst_clock_set_calibration.
15857         (gst_net_client_clock_observe_times): Call _set_calibration.
15858         (gst_net_client_clock_new): Call _set_calibration instead of
15859         rate_offset.
15860
15861         * check/net/gstnetclientclock.c (test_functioning): Use the right
15862         adjustment api.
15863
15864         * gst/gstclock.h:
15865         * gst/gstclock.c (gst_clock_get_calibration) 
15866         (gst_clock_set_calibration): New functions, obsolete the ones I
15867         added yesterday. Doh. Precision issues mean we have to extrapolate
15868         from a point in the more recent past than 1970.
15869         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
15870         obsolete.
15871         (gst_clock_adjust_unlocked): Use the right calibration data.
15872
15873 2005-11-18  Edward Hervey  <edward@fluendo.com>
15874
15875         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
15876         Also reset the ->current_* values in READY->PAUSED
15877
15878 2005-11-18  Andy Wingo  <wingo@pobox.com>
15879
15880         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
15881         Whoops, check the right fd. Also add some debugging.
15882         (gst_net_client_clock_observe_times): Adjust for int64 offset.
15883         (do_linear_regression): Add a crapload of debugging. Subtract off
15884         the minimum values from the input series to discard unneeded bits.
15885         Use only int arithmetic. There is still double arithmetic when
15886         calculating the intercept that needs fixing. Return boolean to
15887         indicate success; FALSE would mean the domain or range is too
15888         great. Still needs fixes.
15889
15890 2005-11-18  Wim Taymans  <wim@fluendo.com>
15891
15892         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
15893         For the current position in stream time, we need to subtract
15894         accumulated time.
15895         
15896         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
15897         Release lock before calling the callback function of async
15898         entries.
15899
15900 2005-11-18  Andy Wingo  <wingo@pobox.com>
15901
15902         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
15903         Port goes all the way to MAXUINT16.
15904
15905         * gst/net/gstnettimeprovider.c: Make the port range the same as
15906         for the kernel: 0 assigns, otherwise ports are less than
15907         MAXUINT16.
15908
15909         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
15910         port change.
15911
15912         * check/net/gstnetclientclock.c (test_functioning): Add the start
15913         of another test. 
15914
15915 2005-11-18  Wim Taymans  <wim@fluendo.com>
15916
15917         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
15918         (gst_bin_remove_func), (bin_bus_handler):
15919         * gst/gstbin.h:
15920         Removing a clock provider from a bin, triggers a clock lost message
15921         so that a new clock will be selected.
15922         Adding a clock to a bin triggers a clock provider message.
15923         Make sure we reselect a clock when we received a clock lost message.
15924         Keep a reference to the element that provided the clock.
15925
15926 2005-11-18  Andy Wingo  <wingo@pobox.com>
15927
15928         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
15929         the clock initially so it produces values around the base time.
15930         (gst_net_client_clock_class_init): Typo fix.
15931         (gst_net_client_clock_thread): Add note on when the socket gets
15932         closed.
15933
15934 2005-11-17  Wim Taymans  <wim@fluendo.com>
15935
15936         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
15937         Free remote and local time arrays.
15938
15939 2005-11-17  Wim Taymans  <wim@fluendo.com>
15940
15941         * gst/net/gstnetclientclock.c: (do_linear_regression),
15942         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
15943         Fix compilation, uninitialized vars and a forgotten continue.
15944
15945 2005-11-17  Andy Wingo  <wingo@pobox.com>
15946
15947         * check/Makefile.am (check_PROGRAMS): 
15948         * check/net/gstnetclientclock.c: Add a most minimal test for the
15949         net client clock. More to come later.
15950
15951         * gst/net/gstnet.h: 
15952         * gst/net/Makefile.am: Add netclientclock.
15953
15954         * gst/net/gstnetclientclock.h:
15955         * gst/net/gstnetclientclock.c: New files, implement an untested
15956         GstClock that takes its time from a network time provider.
15957         Implements the algorithm in network-clock.scm.
15958
15959         * tests/network-clock.scm (*window-size*): Rename from
15960         *queue-length*.
15961         * tests/network-clock.scm (network-time): 
15962         * tests/network-clock-utils.scm (q-push): Update callers.
15963
15964 2005-11-17  Wim Taymans  <wim@fluendo.com>
15965
15966         * gst/gstbin.c: (gst_bin_provide_clock_func),
15967         (gst_bin_sort_iterator_new):
15968         And unref the child too..
15969
15970 2005-11-17  Wim Taymans  <wim@fluendo.com>
15971
15972         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15973         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
15974         Refactor the sort iterator so it can be used while holding the
15975         LOCK too.
15976         Make clock selection select a clock closest to the source.
15977
15978 2005-11-17  Michael Smith <msmith@fluendo.com>
15979
15980         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
15981         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
15982         * gst/gstclock.h:
15983           Anonymous structs are a gcc (and some other compilers) extension, so
15984           don't use them. Since this is only for ABI-compatibility, and our
15985           API/ABI freeze is over in a few days, this whole thing will only
15986           last a few days, so don't bother trying to think up a meaningful
15987           name for the struct.
15988
15989 2005-11-17  Andy Wingo  <wingo@pobox.com>
15990
15991         * gst/gstclock.h (GstClock): Add rate and offset properties,
15992         preserving ABI stability. Add rate/offset accessors. Will file bug
15993         for the freeze break.
15994
15995         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
15996         and offset, trying to keep precision and avoiding
15997         underflow/overflow.
15998         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
15999         functions. Make gst_clock_set_time_adjust obsolete.
16000         (gst_clock_set_time_adjust): Note that this function is obsolete.
16001         Will file bug soon.
16002
16003         * gst/base/gstbasetransform.h: Make the ABI-stability hack
16004         greppable by using GST_PADDING-1+1.
16005
16006 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
16007
16008         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16009
16010         * gst/gstmessage.c: (gst_message_parse_clock_lost):
16011           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
16012
16013         * gst/gstpadtemplate.h:
16014         * gst/gstpluginfeature.h:
16015           Don't use c++ style comments in headers (#321638).
16016
16017 2005-11-16  Andy Wingo  <wingo@pobox.com>
16018
16019         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
16020         buffer.
16021
16022         * check/net/gstnettimeprovider.c: Check to see that the time
16023         provider actually provides times. Works, yo!
16024
16025 2005-11-16  Wim Taymans  <wim@fluendo.com>
16026
16027         * check/Makefile.am:
16028         Enable more tests.
16029
16030         * check/elements/fakesrc.c: (GST_START_TEST):
16031         Set element to NULL before disposing it.
16032
16033 2005-11-16  Andy Wingo  <wingo@pobox.com>
16034
16035         * gst/net/Makefile.am:
16036         * gst/net/gstnet.h:
16037         * gst/net/gstnettimeprovider.c: 
16038         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
16039         provider, include it from gstnet.h, and add it to the build.
16040
16041         * gst/net/gstnettimepacket.h: 
16042         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
16043         sending and receiving.
16044
16045 2005-11-16  Wim Taymans  <wim@fluendo.com>
16046
16047         * check/Makefile.am:
16048         Enable valgrind check.
16049
16050         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
16051         (gst_fake_src_alloc_buffer):
16052         Fix memleak.
16053
16054 2005-11-16  Wim Taymans  <wim@fluendo.com>
16055
16056         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
16057         Call parent finalize too.
16058
16059 2005-11-16  Wim Taymans  <wim@fluendo.com>
16060
16061         * check/Makefile.am:
16062         Enable valgrind check that should work fine now.
16063
16064         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16065         * gst/gstqueue.c: (gst_queue_init):
16066         Fix memleaks in pad allocation.
16067
16068 2005-11-16  Andy Wingo  <wingo@pobox.com>
16069
16070         * gst/net/Makefile.am:
16071         * gst/net/gstnet.h: New part of core to hold network elements and
16072         objects. Put in core because it exposes API that applications want
16073         to use. The library is named libgstnet-tempname right now because
16074         of the existing libgstnet in gst-plugins-base. Solution is
16075         probably to rename the one in plugins-base; will file a bug for
16076         the freeze break.
16077
16078         * gst/net/gstnettimeprovider.c: 
16079         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
16080         get_time call over the network.
16081
16082         * configure.ac: 
16083         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
16084
16085         * check/Makefile.am:
16086         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
16087         get additions shortly.
16088
16089 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16090
16091         * gst/gstpad.c: (gst_pad_new_from_static_template):
16092         * gst/gstpad.h:
16093           add gst_pad_new_from_static_template functions
16094         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
16095         (gst_check_setup_sink_pad):
16096         * gst/elements/gsttee.c: (gst_tee_init):
16097           and use them
16098
16099 2005-11-16  Wim Taymans  <wim@fluendo.com>
16100
16101         * gst/gstpad.c: (gst_pad_pause_task):
16102         Removed warning, it's not really an error either.
16103
16104 2005-11-16  Wim Taymans  <wim@fluendo.com>
16105
16106         * gst/base/gstbasetransform.c:
16107         (gst_base_transform_prepare_output_buf),
16108         (gst_base_transform_event):
16109         Check if the caps are NULL, this can happen if the element
16110         is shutting down and the pad caps are set to NULL.
16111
16112 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16113
16114         * gst/elements/gsttee.c: (gst_tee_init):
16115           fix pad template leak in tee
16116
16117 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16118
16119         * gst/glib-compat.c: (g_value_dup_gst_object):
16120         * gst/glib-compat.h:
16121         * gst/gstpad.c: (gst_pad_set_property):
16122           use gst_object_ref when setting the pad template; this will
16123           trigger the pad template leaks on GLib 2.6 and the slaves
16124
16125 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16126
16127         * gst/glib-compat.c: (gst_flags_get_first_value):
16128         * gst/glib-compat.h:
16129         * gst/gstregistryxml.c:
16130           remove functions copied from GLib 2.6
16131
16132 2005-11-16  Michael Smith <msmith@fluendo.com>
16133
16134         * gst/Makefile.am:
16135           Don't link against VALGRIND_LIBS. That was always the wrong thing to
16136           do, but only breaks with newer valgrind versions. We're not a
16137           valgrind tool, we have no link-time dependencies on libcoregrind.
16138
16139 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16140
16141         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
16142           some debug changes
16143         * gst/gstmessage.h:
16144           typo fixes
16145
16146 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16147
16148         * gst/base/gstbasesrc.c: (gst_base_src_init):
16149         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16150         * gst/gstqueue.c: (gst_queue_init):
16151         * gst/gstregistryxml.c: (load_feature):
16152           Revert all these unrefs, they don't even pass make check !
16153
16154 2005-11-15  Johan Dahlin  <johan@gnome.org>
16155
16156         * gst/base/gstbasesrc.c: (gst_base_src_init):
16157         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16158         * gst/gstqueue.c: (gst_queue_init): 
16159         Free pad templates, fixes a couple of leaks.
16160
16161 2005-11-15  Daniel Fischer  <dan at f3c dot com>
16162
16163         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
16164
16165         * gst/gstpad.c: (gst_pad_get_property):
16166           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
16167           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
16168           (#321452)
16169
16170 2005-11-15  Wim Taymans  <wim@fluendo.com>
16171
16172         * gst/gstevent.c:
16173         Small doc update.
16174
16175 2005-11-15  Andy Wingo  <wingo@pobox.com>
16176
16177         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
16178
16179         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
16180         using GST_CLOCK_TIME_NONE to disable base time management.
16181         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
16182         time if it was NONE before.
16183         (gst_pipeline_change_state): Only munge the base time if
16184         stream_time != GST_CLOCK_TIME_NONE.
16185
16186         * check/gst/gstpipeline.c (test_base_time): Punt around the
16187         problem of the probe not being called, because that's not the
16188         issue I'm looking at. Add a check that setting stream_time to NONE
16189         disables base time management.
16190         
16191 2005-11-15  Wim Taymans  <wim@fluendo.com>
16192
16193         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
16194         segment_stop == -1 at startup.
16195
16196         * gst/base/gstbasetransform.c: (gst_base_transform_event),
16197         (gst_base_transform_change_state):
16198         Init segment values at start.
16199
16200 2005-11-15  Wim Taymans  <wim@fluendo.com>
16201
16202         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16203         0 segment values are 0 in any format.
16204
16205         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16206         * gst/base/gstbasetransform.h:
16207         Parse newsegment correctly in basetransform
16208
16209         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
16210         Sync to clock using updated segment values.
16211
16212 2005-11-15  Andy Wingo  <wingo@pobox.com>
16213
16214         * check/gst/gstpipeline.c (test_base_time): Add check that the
16215         base time and stream time are reset correctly.
16216
16217 2005-11-15  Wim Taymans  <wim@fluendo.com>
16218
16219         * docs/design/part-TODO.txt:
16220         Some more TODO items.
16221
16222 2005-11-15  Andy Wingo  <wingo@pobox.com>
16223
16224         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
16225         error if the user selected "no clock" as the clocking method.
16226
16227         * check/gst/gstpipeline.c (test_base_time): New test for buffer
16228         timestamps with live capture.
16229
16230         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
16231         is 0 but we are a live source, timestamp the buffers using the
16232         element's clock.
16233
16234 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
16235
16236         * docs/gst/gstreamer-sections.txt:
16237         * gst/gsterror.c:
16238         * gst/gstghostpad.c:
16239         * gst/gstobject.h:
16240         * gst/gstxml.c:
16241           more section docs
16242
16243 2005-11-14  Wim Taymans  <wim@fluendo.com>
16244
16245         * common/gst.supp:
16246           add suppressions from Wim's Debian machine
16247
16248 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
16249
16250         * common/gst.supp:
16251           add suppressions from Andy's AMD64 Ubuntu machine
16252
16253 2005-11-14  Andy Wingo  <wingo@pobox.com>
16254
16255         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
16256         STATE_LOCK not necessary. Fixes #311489.
16257
16258         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
16259         #305291.
16260
16261         * gst/gstindex.c (gst_index_add_object): Note in the docs that
16262         this function is not implemented.
16263
16264 2005-11-14  Julien MOUTTE  <julien@moutte.net>
16265
16266         * gst/base/gstbasetransform.c:
16267         (gst_base_transform_prepare_output_buf):
16268         Ref the source pad caps while we need them.
16269         Fixes (#321386)
16270
16271 2005-11-11  Wim Taymans  <wim@fluendo.com>
16272
16273         * docs/gst/gstreamer-sections.txt:
16274         Added some docs for GstCollectData.
16275
16276         * gst/base/gstadapter.c:
16277         Some small code example fix.
16278
16279         * gst/base/gstcollectpads.c:
16280         * gst/base/gstcollectpads.h:
16281         Document some more.
16282
16283 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
16284
16285         * configure.ac: back to HEAD
16286
16287 === release 0.9.5 ===
16288
16289 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
16290
16291         * configure.ac:
16292           releasing 0.9.5, "Bike Lunch Day"
16293
16294 2005-11-11  Wim Taymans  <wim@fluendo.com>
16295
16296         * gst/gstbuffer.c: (_gst_buffer_copy):
16297         Copy more flags.
16298
16299         * gst/gstcaps.c: (gst_caps_is_equal):
16300         Fix some docs.
16301         Make _is_equal fast in the trivial cases.
16302
16303         * gst/gstminiobject.c:
16304         * gst/gstminiobject.h:
16305         More docs. Spifify .h file.
16306
16307         * gst/gstutils.c:
16308         Small doc update.
16309
16310 2005-11-11  Wim Taymans  <wim@fluendo.com>
16311
16312         * gst/base/gstbasetransform.c:
16313         (gst_base_transform_prepare_output_buf),
16314         (gst_base_transform_handle_buffer):
16315         Small cleanups.
16316         If we're processing a buffer and need to allocate an output
16317         buffer, we cannot accept a format change. If we did get a 
16318         format change, we have to alloc a buffer ourselves of the 
16319         right size.
16320
16321 2005-11-11  Wim Taymans  <wim@fluendo.com>
16322
16323         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
16324         While checking the flag for reentrancy in the gstcaps function
16325         is nice to detect recursive invocations, it also makes it 
16326         impossible to call getcaps from multiple threads, which must be
16327         possible. So, checking for recursive calls has to go.
16328
16329 2005-11-11  Michael Smith <msmith@fluendo.com>
16330
16331         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16332           Don't sync on buffers that fall partially outside our current
16333           segment. Prevents an assertion failure/abort playing some files.
16334
16335 2005-11-10  Andy Wingo  <wingo@pobox.com>
16336
16337         * check/gst/gstbin.c (test_message_state_changed_children): Style
16338         fix..
16339
16340         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
16341         gst_bus_poll with the signal watch. Ensures that poll and a signal
16342         watch see the same messages.
16343
16344         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
16345         a poll and a watch at the same time get the same messages.
16346
16347 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16348
16349         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
16350         * gst/gstcaps.c: (gst_caps_intersect):
16351           Don't call gst_caps_do_simplify - it doesn't respect order of caps
16352           and it's not needed.
16353
16354 2005-11-10  Wim Taymans  <wim@fluendo.com>
16355
16356         * docs/design/part-TODO.txt:
16357         Updated todo.
16358
16359 2005-11-10  Wim Taymans  <wim@fluendo.com>
16360
16361         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
16362         * gst/base/gstbasesrc.c: (gst_base_src_wait),
16363         (gst_base_src_do_sync), (gst_base_src_get_range):
16364         Implement clock sync in base class.
16365
16366 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
16367
16368         patch by: Tim-Philipp Müller <tim at centricular dot net>
16369
16370         * gst/gststructure.c: (gst_structure_parse_field),
16371         (gst_structure_from_string):
16372           Forward-port a 0.8 patch to handle escaped spaces in structure string,
16373           so that gst_parse_launch() can deal with spaces in filtered link
16374           caps (fixes #164479)
16375         * check/gst/capslist.h:
16376         * check/gst/gststructure.c: (GST_START_TEST):
16377           add unit tests for this change
16378
16379 2005-11-10  Wim Taymans  <wim@fluendo.com>
16380
16381         * docs/gst/gstreamer-sections.txt:
16382         * gst/gstelement.c:
16383         * gst/gstelement.h:
16384         Fix docs, move some STATE macros to private.
16385
16386 2005-11-10  Wim Taymans  <wim@fluendo.com>
16387
16388         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
16389         Added check for bug #317341
16390
16391         * gst/gstbuffer.c:
16392         * gst/gstbuffer.h:
16393         Some more spiffifying.
16394
16395         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
16396         Call peer linkfunction if we are a source pad. Totally fixes
16397         #317341
16398
16399         * gst/gstpad.c:
16400         Update docs, source pads should call the peer linkfunction
16401         so they can atomically perform the pad link.
16402
16403 2005-11-09  Wim Taymans  <wim@fluendo.com>
16404
16405         * gst/gstbuffer.c:
16406         * gst/gstbuffer.h:
16407         Uber-spiffy-spiffify some more.
16408
16409 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
16410
16411         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
16412         * gst/elements/gstfilesink.c: (gst_file_sink_init):
16413         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
16414         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
16415         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
16416         * gst/gstpad.c: (gst_pad_init):
16417           Use GST_DEBUG_FUNCPTR() more extensively.
16418
16419 2005-11-09  Wim Taymans  <wim@fluendo.com>
16420
16421         * gst/gstobject.c: (gst_object_class_init):
16422         * gst/gstobject.h:
16423         Documentation fixes.
16424
16425 2005-11-09  Edward Hervey  <edward@fluendo.com>
16426
16427         * gst/gsttypefindfactory.c:
16428         Fix docs.
16429         
16430 2005-11-09  Edward Hervey  <edward@fluendo.com>
16431
16432         * gst/base/gsttypefindhelper.c:
16433         * gst/gsttypefind.c:
16434         * gst/gsttypefind.h:
16435         Fix docs.
16436
16437 2005-11-09  Wim Taymans  <wim@fluendo.com>
16438
16439         * gst/gstiterator.c:
16440         Fix revision data.
16441
16442         * gst/gsttask.c:
16443         * gst/gsttask.h:
16444         Fix docs.
16445
16446 2005-11-09  Wim Taymans  <wim@fluendo.com>
16447
16448         * gst/gstevent.h:
16449         * gst/gsturi.h:
16450         Fix docs.
16451
16452 2005-11-09  Wim Taymans  <wim@fluendo.com>
16453
16454         * docs/gst/gstreamer-sections.txt:
16455         Moved the message async delivery private lock and cond
16456         to the private section.
16457
16458         * gst/gstmessage.c:
16459         * gst/gstmessage.h:
16460         Fixed docs.
16461
16462 2005-11-09  Edward Hervey  <edward@fluendo.com>
16463
16464         * docs/gst/gstreamer-sections.txt:
16465         * gst/gsturi.c:
16466         * gst/gsturi.h:
16467         Document GstURIHandler
16468
16469 2005-11-09  Wim Taymans  <wim@fluendo.com>
16470
16471         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
16472         (gst_iterator_find_custom):
16473         * gst/gstiterator.h:
16474         Fix iterator docs.
16475
16476 2005-11-09  Wim Taymans  <wim@fluendo.com>
16477
16478         * gst/gstbin.h:
16479         Document another field.
16480
16481         * gst/gststructure.c:
16482         * gst/gststructure.h:
16483         Document.
16484
16485 2005-11-09  Wim Taymans  <wim@fluendo.com>
16486
16487         * gst/gstbin.h:
16488         Documented structs.
16489
16490 2005-11-09  Wim Taymans  <wim@fluendo.com>
16491
16492         * docs/gst/gstreamer-sections.txt:
16493         Added some new macros.
16494
16495         * gst/gstclock.c:
16496         * gst/gstclock.h:
16497         * gst/gstobject.h:
16498         Docs updates.
16499
16500 2005-11-09  Wim Taymans  <wim@fluendo.com>
16501
16502         * docs/design/part-TODO.txt:
16503         Some more items for the TODO
16504
16505         * gst/gstcaps.c:
16506         * gst/gstcaps.h:
16507         Document GstCaps.
16508
16509 2005-11-09  Andy Wingo  <wingo@pobox.com>
16510
16511         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
16512         to work on something else now tho...
16513
16514         * gst/base/gstadapter.c: More adapter docs.
16515
16516         * gst/elements/gstfilesink.c (gst_file_sink_start) 
16517         (gst_file_sink_stop): New functions, replace the state change
16518         handler.
16519         (gst_file_sink_class_init): Hook up the start and stop functions.
16520         (gst_file_sink_base_init): Don't set the state change handler any
16521         more. It was a bit ugly too, being set from here...
16522         (gst_file_sink_get_property, gst_file_sink_set_property):
16523         Cleanups...
16524         (gst_file_sink_set_location): More robust check that doesn't call
16525         GST_STATE. Ugggggg.
16526
16527 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
16528
16529         * gst/base/gstbasetransform.c: (gst_base_transform_event):
16530           Hold STREAM_LOCK while pushing newsegment or tag events as well.
16531
16532 2005-11-08  Wim Taymans  <wim@fluendo.com>
16533
16534         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
16535         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
16536         (gst_base_sink_chain), (gst_base_sink_change_state):
16537         * gst/base/gstbasesink.h:
16538         * gst/base/gstbasesrc.h:
16539         * gst/gstelement.h:
16540         * gst/gstevent.h:
16541         Avoid excessive typechecking in macros.
16542
16543         * gst/gstminiobject.c: (gst_mini_object_get_type),
16544         (gst_mini_object_init), (gst_mini_object_new),
16545         (gst_mini_object_free):
16546         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
16547         (gst_object_finalize):
16548         Remove cruft code, optimize alloc_trace.
16549
16550 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
16551
16552         * docs/faq/gst-uninstalled:
16553           fix up PS1 for systems that try to reset it
16554
16555 2005-11-07  Wim Taymans  <wim@fluendo.com>
16556
16557         * gst/base/gstbasesrc.c: (gst_base_src_init),
16558         (gst_base_src_get_range):
16559         Set the segment_end to -1 initially. Fixed typefind.
16560
16561 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
16562
16563         * gst/base/gstadapter.c:
16564           Debug category should be 'adapter', not 'GstAdapter'.
16565           
16566         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
16567         (gst_collectpads_class_init), (gst_collectpads_init),
16568         (gst_collectpads_peek), (gst_collectpads_pop),
16569         (gst_collectpads_event), (gst_collectpads_chain):
16570           Add debug category and some debugging output. Use boilerplate
16571           macros. Remove some extraneous words from docs.
16572
16573 2005-11-05  Andy Wingo  <wingo@pobox.com>
16574
16575         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
16576         macro.
16577
16578 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16579
16580         * docs/gst/gstreamer-sections.txt:
16581         * gst/gstcaps.h:
16582         * gst/gstinfo.c:
16583         * gst/gstminiobject.h:
16584         * gst/gstobject.h:
16585         * gst/gstutils.h:
16586           more docs added
16587
16588 2005-11-04  Wim Taymans  <wim@fluendo.com>
16589
16590         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16591         Small update to stop at the configured segment_end
16592         position.
16593
16594 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
16595
16596         * gst/gstregistry.c:
16597         * gst/gstregistry.h:
16598           added missing docs
16599
16600 2005-11-04  Edward Hervey  <edward@fluendo.com>
16601
16602         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
16603         Check if we are doing a segment seek and have arrived at the
16604         end of that segment.
16605
16606 2005-11-04  Wim Taymans  <wim@fluendo.com>
16607
16608         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
16609         Don't leak a mutex unlock in case of an error.
16610
16611         * gst/gstbus.h:
16612         Doc fixes.
16613
16614 2005-11-04  Wim Taymans  <wim@fluendo.com>
16615
16616         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
16617         (gst_bus_post):
16618         Get the context to wake up only once.
16619
16620 2005-11-03  Wim Taymans  <wim@fluendo.com>
16621
16622         * check/states/sinks.c: (GST_START_TEST):
16623         Uncomment fixed check.
16624
16625         * docs/design/part-TODO.txt:
16626         Updated TODO.
16627
16628         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16629         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16630         (gst_base_sink_get_position):
16631         If we are going to PLAYING, post the right pending state
16632         when we post the intermediate paused message.
16633
16634         * gst/gstelement.c: (gst_element_continue_state),
16635         (gst_element_set_state_func), (gst_element_change_state):
16636         Don't post state changes that were between the same state
16637         and were not ASYNC.
16638
16639 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16640
16641         * docs/gst/gstreamer-sections.txt:
16642         * gst/gstcaps.h:
16643         * gst/gstinfo.c:
16644         * gst/gstminiobject.h:
16645         * gst/gstobject.h:
16646         * gst/gstutils.h:
16647           more docs and doc style fixes
16648
16649 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
16650
16651         * docs/gst/gstreamer-sections.txt:
16652         * gst/gstelement.c:
16653         * gst/gstminiobject.c:
16654         doc fixes
16655
16656 2005-11-03  Andy Wingo  <wingo@pobox.com>
16657
16658         * check/states/sinks.c (test_livesrc_sink): Add checks that the
16659         state-changed messages actually have the right order and the right
16660         values.
16661
16662 2005-11-03  Wim Taymans  <wim@fluendo.com>
16663
16664         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
16665         Added some more checks. Specifically the case where NO_PREROLL
16666         elements are in the pipeline.
16667
16668         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
16669         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
16670         (gst_base_sink_get_position):
16671         Post READY->PAUSED state change messages too.
16672         Fix bug where VOID was posted as pending state...
16673
16674         * gst/gstbin.c: (gst_bin_recalc_state):
16675         use _element_continue_state() to continue the state change.
16676
16677         * gst/gstelement.c: (gst_element_continue_state),
16678         (gst_element_commit_state), (gst_element_set_state_func),
16679         (gst_element_change_state), (gst_element_change_state_func):
16680         Lots of state change cleanups, assign the STATE_RETURN in
16681         a new continue_state() function that also propagates the
16682         last return value from a state change to the app.
16683         Update some debug statements with proper category.
16684
16685 2005-11-03  Wim Taymans  <wim@fluendo.com>
16686
16687         * docs/design/part-events.txt:
16688         * docs/design/part-gstpipeline.txt:
16689         * docs/design/part-messages.txt:
16690         * docs/design/part-overview.txt:
16691         * docs/design/part-seeking.txt:
16692         * docs/design/part-states.txt:
16693         * docs/design/part-trickmodes.txt:
16694         * docs/manual/advanced-position.xml:
16695         Small docs updates.
16696
16697         * gst/gstobject.h:
16698         People think !! is ugly, this looks better.
16699
16700         * gst/gstpad.c: (gst_pad_set_blocked_async):
16701         Remove !! since it's fixed elsewhere now.
16702
16703 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16704
16705         * gst/gstminiobject.h:
16706         * gst/gstobject.h:
16707           Add !! to _FLAG_IS_SET macros to make the result boolean.
16708
16709 2005-11-03  Edward Hervey  <edward@fluendo.com>
16710
16711         * gst/gstpad.c: (gst_pad_set_blocked_async):
16712         comparing a flag and a gboolean rarely returns coherent results...
16713         Added two characters (!!) to make that work correctly.
16714         
16715 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16716
16717         * gst/gstbus.c: (gst_bus_class_init):
16718           Fix some typos.
16719           
16720         * gst/gstqueue.c: (gst_queue_loop):
16721           Don't assume a miniobject that isn't a buffer is an
16722           event (it could be that there is a refcounting
16723           problem somewhere and the pointer is stale and
16724           refers to an already destroyed miniobject).
16725
16726 2005-11-03  Julien MOUTTE  <julien@moutte.net>
16727
16728         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
16729
16730 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
16731
16732         * docs/manual/advanced-position.xml:
16733           Update seek example and explanations to current 0.9 API.
16734
16735         * gst/elements/gsttypefindelement.c:
16736         (gst_type_find_element_activate):
16737           Remove FIXME comment now that the found caps
16738           are unreffed.
16739
16740 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16741
16742         * gst/gstregistryxml.c: (load_feature):
16743           Add another GST_STR_NULL instance
16744
16745 2005-11-02  Edward Hervey  <edward@fluendo.com>
16746
16747         * gst/gstpad.c: (handle_pad_block):
16748         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
16749         
16750 2005-11-02  Wim Taymans  <wim@fluendo.com>
16751
16752         * gst/gstbin.c:
16753         Fix typo in docs.
16754
16755         * gst/gstelement.c: (gst_element_commit_state):
16756         Remove unused value.
16757
16758         * gst/gstiterator.c:
16759         Mention that the returned element is reffed in the docs.
16760
16761 2005-11-02  Wim Taymans  <wim@fluendo.com>
16762
16763         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
16764         (gst_pad_push), (gst_pad_push_event):
16765         Unlock blocked pads when they are flushed.
16766
16767 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16768
16769         * docs/README:
16770         * docs/gst/gstreamer-sections.txt:
16771         * gst/gstbin.c:
16772           doc updates
16773         * gst/gstregistry.c: (gst_registry_scan_path_level):
16774           fix for a nasty little missed situation where an installed plug-in
16775           which was in the cache did not get overridden by an uninstalled one
16776           which was earlier in the plugin path because the newly created plugin
16777           for the uninstalled one (not in the registry) didn't get its
16778           ->registered set to TRUE
16779
16780 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16781
16782         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
16783         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
16784         (gst_collectpads_is_active), (gst_collectpads_collect),
16785         (gst_collectpads_collect_range), (gst_collectpads_start),
16786         (gst_collectpads_stop), (gst_collectpads_peek),
16787         (gst_collectpads_pop), (gst_collectpads_available),
16788         (gst_collectpads_read), (gst_collectpads_flush):
16789           Guard public API with assertions.
16790         
16791         * gst/gstpad.c:
16792           Fix docs for gst_pad_set_link_function().
16793
16794 2005-11-02  Johan Dahlin  <johan@gnome.org>
16795
16796         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
16797         Unref found_caps after we used it.
16798
16799 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
16800
16801         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
16802           Don't try to ref NULL.
16803
16804 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16805
16806         * win32/common/config.h.in:
16807           provide a GST_FUNCTION that just gives a string for now
16808
16809 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16810
16811         * win32/common/gstenumtypes.c: (register_gst_object_flags),
16812         (gst_object_flags_get_type), (register_gst_bin_flags),
16813         (gst_bin_flags_get_type), (register_gst_buffer_flag),
16814         (gst_buffer_flag_get_type), (register_gst_bus_flags),
16815         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
16816         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
16817         (gst_clock_return_get_type), (register_gst_clock_entry_type),
16818         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
16819         (gst_clock_flags_get_type), (register_gst_state),
16820         (gst_state_get_type), (register_gst_state_change_return),
16821         (gst_state_change_return_get_type), (register_gst_state_change),
16822         (gst_state_change_get_type), (register_gst_element_flags),
16823         (gst_element_flags_get_type), (register_gst_core_error),
16824         (gst_core_error_get_type), (register_gst_library_error),
16825         (gst_library_error_get_type), (register_gst_resource_error),
16826         (gst_resource_error_get_type), (register_gst_stream_error),
16827         (gst_stream_error_get_type), (register_gst_event_type),
16828         (gst_event_type_get_type), (register_gst_seek_type),
16829         (gst_seek_type_get_type), (register_gst_seek_flags),
16830         (gst_seek_flags_get_type), (register_gst_format),
16831         (gst_format_get_type), (register_gst_index_certainty),
16832         (gst_index_certainty_get_type), (register_gst_index_entry_type),
16833         (gst_index_entry_type_get_type),
16834         (register_gst_index_lookup_method),
16835         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
16836         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
16837         (gst_index_resolver_method_get_type), (register_gst_index_flags),
16838         (gst_index_flags_get_type), (register_gst_debug_level),
16839         (gst_debug_level_get_type), (register_gst_debug_color_flags),
16840         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
16841         (gst_iterator_result_get_type), (register_gst_iterator_item),
16842         (gst_iterator_item_get_type), (register_gst_message_type),
16843         (gst_message_type_get_type), (register_gst_mini_object_flags),
16844         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
16845         (gst_pad_link_return_get_type), (register_gst_flow_return),
16846         (gst_flow_return_get_type), (register_gst_activate_mode),
16847         (gst_activate_mode_get_type), (register_gst_pad_direction),
16848         (gst_pad_direction_get_type), (register_gst_pad_flags),
16849         (gst_pad_flags_get_type), (register_gst_pad_presence),
16850         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
16851         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
16852         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
16853         (gst_plugin_error_get_type), (register_gst_plugin_flags),
16854         (gst_plugin_flags_get_type), (register_gst_rank),
16855         (gst_rank_get_type), (register_gst_query_type),
16856         (gst_query_type_get_type), (register_gst_tag_merge_mode),
16857         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
16858         (gst_tag_flag_get_type), (register_gst_task_state),
16859         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
16860         (gst_alloc_trace_flags_get_type),
16861         (register_gst_type_find_probability),
16862         (gst_type_find_probability_get_type), (register_gst_uri_type),
16863         (gst_uri_type_get_type), (register_gst_parse_error),
16864         (gst_parse_error_get_type):
16865         * win32/common/gstversion.h:
16866           update win32 copies
16867
16868 2005-11-01  Luca Ognibene  <luogni@tin.it>
16869
16870         * gst/gst.c:
16871           fix docs. popt is dead, long live GOption.
16872
16873 2005-10-31  Wim Taymans  <wim@fluendo.com>
16874
16875         * gst/gstbuffer.h:
16876         Small doc fix.
16877
16878 2005-10-31  Andy Wingo  <wingo@pobox.com>
16879
16880         * Boo!
16881
16882         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
16883
16884         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
16885         need to serialize property notifications on GLib 2.8. GLib 2.6 has
16886         the possibility of deadlocks here if code calling notify() or
16887         set() has a lock that can be taken in another notify handler (ABBA
16888         with class lock and e.g. python GIL state lock).
16889
16890 2005-10-28  Julien MOUTTE  <julien@moutte.net>
16891
16892         * gst/gstbus.c: Doc updates.
16893
16894 2005-10-28  Wim Taymans  <wim@fluendo.com>
16895
16896         * docs/design/part-TODO.txt:
16897         * gst/gstiterator.c:
16898         * gst/gstsystemclock.c:
16899         * gst/gstsystemclock.h:
16900         Doc updates.
16901
16902 2005-10-28  Edward Hervey  <edward@fluendo.com>
16903
16904         * docs/gst/gstreamer-docs.sgml:
16905         * docs/gst/gstreamer-sections.txt:
16906         the GstURIType documentation page is private, it only defines GstURIType
16907         which should be defined in the GstURIHandler page
16908         
16909 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
16910
16911         * gst/gstbin.c: (gst_bin_class_init):
16912         * gst/gstbin.h:
16913         * gst/gstutils.c:
16914         Documentation updates.
16915
16916 2005-10-28  Wim Taymans  <wim@fluendo.com>
16917
16918         * docs/gst/gstreamer-sections.txt:
16919         * gst/gstclock.c:
16920         * gst/gstclock.h:
16921         Documented the clocks.
16922
16923 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
16924
16925         * docs/gst/gstreamer-sections.txt:
16926           move some macros to private sections
16927         * gst/gstminiobject.c:
16928         * gst/gstminiobject.h:
16929           add descriptions provided by ds and some more
16930         * gst/gstpad.h:
16931           mark macro as to be removed
16932
16933 2005-10-28  Wim Taymans  <wim@fluendo.com>
16934
16935         * docs/design/part-TODO.txt:
16936         Add an item to TODO.
16937
16938         * gst/gstiterator.c: (gst_iterator_fold),
16939         (gst_iterator_find_custom):
16940         * gst/gstiterator.h:
16941         Add iterator docs.
16942
16943 2005-10-28  Wim Taymans  <wim@fluendo.com>
16944
16945         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
16946         (gst_base_transform_init):
16947         Don't leak class.
16948
16949         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
16950         An EOS event marks the queue as completely filled.
16951
16952 2005-10-27  Wim Taymans  <wim@fluendo.com>
16953
16954         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
16955         (gst_base_sink_do_sync), (gst_base_sink_get_position):
16956         Some more debugging.
16957
16958         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
16959         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
16960         (gst_base_transform_event), (gst_base_transform_getrange),
16961         (gst_base_transform_chain):
16962         * gst/base/gstbasetransform.h:
16963         Fix debugging,
16964         Protect transform and concurrent buffer alloc with a new lock.
16965         Try not to break ABI/API.
16966
16967 2005-10-27  Wim Taymans  <wim@fluendo.com>
16968
16969         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
16970         (gst_base_src_init), (gst_base_src_query),
16971         (gst_base_src_default_newsegment),
16972         (gst_base_src_configure_segment), (gst_base_src_do_seek),
16973         (gst_base_src_send_event), (gst_base_src_event_handler),
16974         (gst_base_src_pad_get_range), (gst_base_src_loop),
16975         (gst_base_src_unlock), (gst_base_src_default_negotiate),
16976         (gst_base_src_start), (gst_base_src_deactivate),
16977         (gst_base_src_activate_push), (gst_base_src_change_state):
16978         Move some stuff around and cleanup things.
16979
16980 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
16981
16982         * gst/base/gstbasesrc.c: (gst_base_src_query):
16983           Add missing break statements.
16984
16985 2005-10-27  Wim Taymans  <wim@fluendo.com>
16986
16987         * check/gst/gstbin.c: (GST_START_TEST):
16988         An extra refcount is taken in basesrc.
16989
16990         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
16991         (gst_base_src_get_range), (gst_base_src_pad_get_range),
16992         (gst_base_src_loop):
16993         Small cleanups, check for flushing after being unlocked from the 
16994         LIVE_LOCK. take refcounts correctly (not yet everywhere).
16995         Don't send out EOS when going to READY.
16996
16997 2005-10-27  Wim Taymans  <wim@fluendo.com>
16998
16999         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17000         (gst_base_sink_get_position):
17001         Some more debug.
17002
17003         * gst/gstbin.c: (message_check), (bin_replace_message),
17004         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17005         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17006         (bin_query_duration_init), (bin_query_duration_fold),
17007         (bin_query_duration_done), (bin_query_generic_fold),
17008         (gst_bin_query):
17009         * tools/gst-launch.c: (main):
17010         Remove old option.
17011
17012 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
17013
17014         * examples/controller/audio-example.c: (main):
17015         * examples/queue/queue.c: (event_loop):
17016         * gst/base/gstbasetransform.h:
17017         * gst/gstelement.c: (gst_element_send_event):
17018         * gst/gstevent.h:
17019         * gst/gstpad.c: (gst_pad_send_event):
17020           fixing examples
17021           fixing docs typos
17022           changing log priority in error situations
17023
17024 2005-10-25  Wim Taymans  <wim@fluendo.com>
17025
17026         * gst/gstbin.c: (message_check), (bin_replace_message),
17027         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17028         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17029         (bin_query_duration_init), (bin_query_duration_fold),
17030         (bin_query_duration_done), (bin_query_generic_fold),
17031         (gst_bin_query):
17032         Some doc and debug updates.
17033         Cache previously requested query DURATION for speed. invalidate
17034         cached duration if element posts a DURATION message.
17035
17036 2005-10-25  Wim Taymans  <wim@fluendo.com>
17037
17038         * docs/design/part-TODO.txt:
17039         Update TODO.
17040
17041         * gst/gstbin.c: (message_check), (bin_replace_message),
17042         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17043         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
17044         (bin_query_duration_init), (bin_query_duration_fold),
17045         (bin_query_duration_done), (bin_query_generic_fold),
17046         (gst_bin_query):
17047         Handle SEGMENT_START/DONE messages correctly.
17048         More evolved query algorithm that handles duration queries
17049         correctly.
17050
17051         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
17052         (gst_element_get_state_func), (gst_element_abort_state),
17053         (gst_element_commit_state), (gst_element_lost_state):
17054         Some more debugging.
17055
17056         * gst/gstmessage.h:
17057         Added doc.
17058
17059 2005-10-25  Wim Taymans  <wim@fluendo.com>
17060
17061         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
17062         Don't use invalid stream_time.
17063
17064         * gst/gstevent.c: (gst_event_new_newsegment):
17065         stream_time in newsegment cannot be undefined.
17066
17067 2005-10-24  Wim Taymans  <wim@fluendo.com>
17068
17069         * gst/gstbus.c:
17070         Doc fix.
17071
17072         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
17073         (gst_queue_loop):
17074         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
17075
17076 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
17077
17078         * docs/libs/tmpl/gstdparam.sgml:
17079         * docs/libs/tmpl/gstdplinint.sgml:
17080         * docs/libs/tmpl/gstdpman.sgml:
17081         * docs/libs/tmpl/gstdpsmooth.sgml:
17082         * docs/libs/tmpl/gstunitconvert.sgml:
17083           these are obsolete
17084
17085 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17086
17087         * configure.ac:
17088           back to HEAD
17089
17090 === release 0.9.4 ===
17091
17092 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17093
17094         * configure.ac:
17095           releasing 0.9.4, "Tyrannosaurus Rex"
17096
17097 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
17098
17099         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17100         (gst_file_sink_get_current_offset):
17101           Use fseeko() and ftello() if available. When falling back on
17102           lseek() to get the current offset, fflush() first to make sure
17103           everything is up-to-date and we get the right offset.
17104
17105 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17106
17107         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17108         * gst/base/gstbasesrc.c: (gst_base_src_loop):
17109         * gst/gsterror.c: (_gst_stream_errors_init):
17110         * gst/gsterror.h:
17111         * gst/gstqueue.c: (gst_queue_loop):
17112         * po/POTFILES.in:
17113           remove prematurely added error category and clean up the instances
17114
17115 2005-10-21  Wim Taymans  <wim@fluendo.com>
17116
17117         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17118         (gst_base_sink_get_position), (gst_base_sink_query),
17119         (gst_base_sink_change_state):
17120         Simply set the right flag when going to playing, that's all
17121         we need to do instead of calling a function inside the object
17122         lock (that could take the lock as well and deadlock)
17123
17124 2005-10-21  Wim Taymans  <wim@fluendo.com>
17125
17126         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
17127         (gst_base_src_loop):
17128         Don't warn, the peer element knows what to do best when
17129         the seek failed, it might try something else.
17130
17131 2005-10-21  Wim Taymans  <wim@fluendo.com>
17132
17133         * gst/base/gstbasesrc.c: (gst_base_src_init),
17134         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
17135         Fix seeking.
17136
17137 2005-10-21  Wim Taymans  <wim@fluendo.com>
17138
17139         * docs/design/part-segments.txt:
17140         More docs.
17141
17142         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
17143         Correctly set caps, even on the subbufer.
17144
17145 2005-10-21  Wim Taymans  <wim@fluendo.com>
17146
17147         * docs/gst/gstreamer-docs.sgml:
17148         * docs/gst/gstreamer-sections.txt:
17149         * gst/gstelement.h:
17150         * gst/gstevent.c:
17151         * gst/gstevent.h:
17152         * gst/gstmessage.h:
17153         * gst/gstpad.h:
17154         * gst/gstparse.h:
17155         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
17156         * gst/gsttask.h:
17157         * gst/gstutils.c:
17158         * gst/gstutils.h:
17159         And 2% more doc coverage.
17160
17161 2005-10-21  Andy Wingo  <wingo@pobox.com>
17162
17163         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
17164         position reporting.
17165
17166 2005-10-20  Wim Taymans  <wim@fluendo.com>
17167
17168         * gst/gsterror.c: (gst_error_get_message):
17169         * gst/gstparse.h:
17170         * gst/gstquery.h:
17171         * gst/gststructure.c:
17172         * gst/gsttrace.c:
17173         * gst/gstutils.c:
17174         More docs.
17175
17176 2005-10-20  Wim Taymans  <wim@fluendo.com>
17177
17178         * gst/gstbuffer.h:
17179         * gst/gstpad.c:
17180         * gst/gstparse.c:
17181         Another 1% more coverage.
17182
17183 2005-10-20  Wim Taymans  <wim@fluendo.com>
17184
17185         * docs/gst/gstreamer-sections.txt:
17186         * gst/gstelement.c: (gst_element_get_state_func),
17187         (gst_element_abort_state), (gst_element_commit_state),
17188         (gst_element_lost_state):
17189         * gst/gstevent.h:
17190         * gst/gstquery.c: (gst_query_set_position),
17191         (gst_query_parse_position), (gst_query_set_duration),
17192         (gst_query_parse_duration), (gst_query_new_convert):
17193         * gst/gstutils.c:
17194         Yay! 1% more docs coverage.
17195
17196 2005-10-20  Wim Taymans  <wim@fluendo.com>
17197
17198         * gst/gstpad.h:
17199         * gst/gstquery.c: (gst_query_set_position),
17200         (gst_query_parse_position), (gst_query_set_duration),
17201         (gst_query_parse_duration), (gst_query_new_convert):
17202         * gst/gstquery.h:
17203         * gst/gstutils.c: (gst_element_query_convert):
17204         * gst/gstutils.h:
17205         Docs and consistency fixes.
17206
17207 2005-10-20  Wim Taymans  <wim@fluendo.com>
17208
17209         * gst/gsttask.c:
17210         * gst/gsttask.h:
17211         More docs.
17212
17213 2005-10-20  Wim Taymans  <wim@fluendo.com>
17214
17215         * gst/gstbin.c: (message_check), (bin_replace_message),
17216         (bin_remove_messages), (is_eos), (gst_bin_add_func),
17217         (update_degree), (gst_bin_sort_iterator_next),
17218         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
17219         Reworked the message handling a bit, cache the messages instead of
17220         only the senders. alows us to do more in the future.
17221
17222 2005-10-20  Wim Taymans  <wim@fluendo.com>
17223
17224         * docs/design/part-TODO.txt:
17225         Update TODO
17226
17227         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17228         (gst_base_sink_query):
17229         Don't use clock time to report position when in EOS.
17230
17231 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
17232
17233         * tools/gst-inspect.c: (print_interfaces),
17234         (print_element_properties_info), (print_element_info):
17235           Fix interface output with gst-inspect -a; don't print
17236           newlines after double/float properties.
17237
17238 2005-10-20  Wim Taymans  <wim@fluendo.com>
17239
17240         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
17241         (gst_base_sink_query):
17242         Speed up current position calculation.
17243
17244         * gst/base/gstbasesrc.c: (gst_base_src_query),
17245         (gst_base_src_default_newsegment):
17246         Correctly set stream position in newsegment.
17247
17248         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
17249         (update_degree), (gst_bin_sort_iterator_next),
17250         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
17251         * gst/gstmessage.c: (gst_message_new_custom):
17252         Clean up debugging info
17253
17254         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
17255         (gst_queue_loop), (gst_queue_handle_src_query):
17256         Pause task faster.
17257
17258 2005-10-19  Wim Taymans  <wim@fluendo.com>
17259
17260         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17261         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17262         Fix query handling again.
17263
17264 2005-10-19  Wim Taymans  <wim@fluendo.com>
17265
17266         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17267         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
17268         * gst/base/gstbasesrc.c: (gst_base_src_query):
17269         * gst/elements/gstfilesink.c: (gst_file_sink_query):
17270         * gst/elements/gsttypefindelement.c:
17271         (gst_type_find_handle_src_query), (find_element_get_length),
17272         (gst_type_find_element_activate):
17273         API change fix.
17274
17275         * gst/gstquery.c: (gst_query_new_position),
17276         (gst_query_set_position), (gst_query_parse_position),
17277         (gst_query_new_duration), (gst_query_set_duration),
17278         (gst_query_parse_duration), (gst_query_set_segment),
17279         (gst_query_parse_segment):
17280         * gst/gstquery.h:
17281         Bundling query position/duration is not a good idea since duration
17282         does not change much and we don't want to recalculate it for every
17283         position query, so they are separated again..
17284         Base value in segment query is not needed.
17285
17286         * gst/gstqueue.c: (gst_queue_handle_src_query):
17287         * gst/gstutils.c: (gst_element_query_position),
17288         (gst_element_query_duration), (gst_pad_query_position),
17289         (gst_pad_query_duration):
17290         * gst/gstutils.h:
17291         Updates for query API change.
17292         Added some docs here and there.
17293
17294 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
17295
17296         * check/gst/gstbin.c: (GST_START_TEST):
17297         * check/gst/gstghostpad.c: (GST_START_TEST):
17298         * check/pipelines/cleanup.c: (GST_START_TEST):
17299           wait on thread to die so we can check refcount correctly
17300
17301 2005-10-18  Wim Taymans  <wim@fluendo.com>
17302
17303         * check/pipelines/stress.c: (GST_START_TEST):
17304         Make check a little more time consuming.
17305
17306 2005-10-18  Wim Taymans  <wim@fluendo.com>
17307
17308         * check/Makefile.am:
17309         * check/pipelines/stress.c: (GST_START_TEST),
17310         (simple_launch_lines_suite), (main):
17311         Small state change torture test.
17312
17313         * docs/design/part-states.txt:
17314         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
17315         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
17316         (gst_base_sink_change_state):
17317         Never take state lock from streaming thread, clean up ugly
17318         hacks. Unfortunatly core does not yet support nice ways to
17319         async commit state.
17320         
17321         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
17322         (bin_bus_handler):
17323         Start state recalc if a STATE_DIRTY message is posted, but only
17324         on the toplevel bin.
17325
17326         * gst/gstelement.c: (gst_element_sync_state_with_parent),
17327         (gst_element_get_state_func), (gst_element_abort_state),
17328         (gst_element_commit_state), (gst_element_lost_state),
17329         (gst_element_set_state_func), (gst_element_change_state):
17330         * gst/gstelement.h:
17331         State variables are now protected with the LOCK, the state
17332         lock is only used to serialize _set_state().
17333
17334 2005-10-18  Wim Taymans  <wim@fluendo.com>
17335
17336         * check/gst/gstbin.c: (GST_START_TEST):
17337         * check/gst/gstmessage.c: (GST_START_TEST):
17338         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17339         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
17340         (bin_bus_handler):
17341         * gst/gstelement.c: (gst_element_abort_state),
17342         (gst_element_commit_state), (gst_element_lost_state):
17343         * gst/gstmessage.c: (gst_message_new_state_changed),
17344         (gst_message_new_state_dirty), (gst_message_new_segment_start),
17345         (gst_message_new_segment_done), (gst_message_new_duration),
17346         (gst_message_parse_state_changed),
17347         (gst_message_parse_segment_start),
17348         (gst_message_parse_segment_done), (gst_message_parse_duration):
17349         * gst/gstmessage.h:
17350         * tools/gst-launch.c: (event_loop):
17351         Seriously, this is better than a previous commit as we only need
17352         to notify the fact that an element changed state in a streaming
17353         thread, marking the state of the parents dirty, hence the 
17354         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
17355         message.
17356
17357 2005-10-18  Wim Taymans  <wim@fluendo.com>
17358
17359         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
17360         (gst_bin_recalc_func):
17361         * gst/gstelement.c: (gst_element_set_clock),
17362         (gst_element_abort_state), (gst_element_lost_state):
17363         Cleanups, prepare for state change fixes.
17364
17365 2005-10-18  Wim Taymans  <wim@fluendo.com>
17366
17367         * gst/gstbin.h:
17368         * gst/gstelement.c: (gst_element_class_init),
17369         (gst_element_set_state), (gst_element_set_state_func):
17370         * gst/gstelement.h:
17371         Pending ABI changes.
17372         GThreadPool in GstBinClass to monitor async state changes.
17373         state_cookie in GstElement to detect concurrent gst/set state.
17374         set_state is now virtual too in case a very complicated element
17375         has to be constructed.
17376
17377 2005-10-18  Wim Taymans  <wim@fluendo.com>
17378
17379         * check/gst/gstbin.c: (GST_START_TEST):
17380         * check/gst/gstmessage.c: (GST_START_TEST):
17381         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
17382         * gst/gstbin.c: (bin_bus_handler):
17383         * gst/gstelement.c: (gst_element_commit_state),
17384         (gst_element_lost_state):
17385         * gst/gstmessage.c: (gst_message_new_state_changed),
17386         (gst_message_new_segment_start), (gst_message_new_segment_done),
17387         (gst_message_new_duration), (gst_message_parse_state_changed),
17388         (gst_message_parse_segment_start),
17389         (gst_message_parse_segment_done), (gst_message_parse_duration):
17390         * gst/gstmessage.h:
17391         * tools/gst-launch.c: (event_loop):
17392         Make messages future proof.
17393         state-change gets a flag if it was a message comming from the
17394         streaming thread.
17395         segment-start/stop can also be specified in other formats.
17396         A message to notify an app that a pipeline changed playback 
17397         duration.
17398         Also fix a GstMessage leak in -launch
17399
17400 2005-10-18  Andy Wingo  <wingo@pobox.com>
17401
17402         * gst/gstelement.c (gst_element_dispose): More helpful message.
17403
17404 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17405
17406         reviewed by: <delete if not using a buddy>
17407
17408         * common/gtk-doc.mak:
17409
17410 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
17411
17412         * gst/gstregistry.c: (gst_registry_scan_path_level):
17413           unref a plug-in we get that was already initialized
17414
17415 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
17416
17417         * docs/gst/gstreamer-sections.txt:
17418         * docs/libs/gstreamer-libs-sections.txt:
17419         * gst/gstelement.h:
17420           add new api entries
17421           hide internal macro
17422
17423 2005-10-17  Andy Wingo  <wingo@pobox.com>
17424
17425         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
17426         cleanup.
17427
17428         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
17429
17430         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
17431
17432         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
17433         (gst_element_get_state_func): Better debug message.
17434         (gst_element_commit_state): s/INFO/DEBUG/.
17435         (gst_element_lost_state, gst_element_change_state): 
17436
17437         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
17438         (gst_message_new_custom): s/INFO/LOG/.
17439
17440 2005-10-17  Michael Smith <msmith@fluendo.com>
17441
17442         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
17443           Check if end time is valid using end time, not start time.
17444
17445 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
17446
17447         * check/gst-libs/controller.c: (GST_START_TEST),
17448         (gst_controller_suite):
17449         * libs/gst/controller/gstcontroller.c:
17450         (gst_controlled_property_set_interpolation_mode):
17451         * libs/gst/controller/gstcontroller.h:
17452         * libs/gst/controller/gstinterpolation.c:
17453         * testsuite/controller/.cvsignore:
17454         * testsuite/controller/Makefile.am:
17455         * testsuite/controller/interpolator.c:
17456           merge controller testsuites
17457           fix broken tests
17458           remove mem-chunk from docs
17459
17460 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17461
17462         * gst/gstmemchunk.c:
17463         * gst/gstmemchunk.h:
17464         * gst/gsttrashstack.c:
17465         * gst/gsttrashstack.h:
17466           out.  get out.  you're fired.  to the Attic !
17467
17468 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
17469
17470         * gst/gstcaps.c: (gst_caps_intersect):
17471           fix signedness issues in a (hopefully) correct way
17472         * gst/gstelement.c: (gst_element_pads_activate):
17473           some debugging
17474         * gst/gstobject.c: (gst_object_set_parent):
17475           some debugging
17476
17477 2005-10-17  Julien MOUTTE  <julien@moutte.net>
17478
17479         * gst/gstvalue.h: Fix prototypes.
17480
17481 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17482
17483         * docs/gst/gstreamer-sections.txt:
17484         * gst/gst.c: (gst_version_string):
17485         * gst/gst.h:
17486         * gst/gstversion.h.in:
17487         * win32/common/libgstreamer.def:
17488           add gst_version_string ()
17489
17490 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17491
17492         * configure.ac:
17493           clean up further
17494         * gst/gst.c: (init_post):
17495         * win32/common/config.h.in:
17496           it's PLUGINDIR now
17497         * gst/gstcaps.c: (gst_caps_intersect):
17498           use gint64, the range could be bigger than a guint
17499
17500 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17501
17502         * gst/gstclock.h:
17503           document potential problem in 2038
17504
17505 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17506
17507         * gst/gstcaps.c: (gst_caps_intersect):
17508           Fix guint j diving under 0
17509
17510 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17511
17512         * configure.ac:
17513         * win32/common/config.h:
17514         * win32/common/config.h.in:
17515           check for process.h, declares getpid() on Windows
17516         * gst/gstinfo.c:
17517           include process.h if we have it
17518         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
17519         * gst/gstmemchunk.h:
17520           fix signedness issues
17521         * win32/common/libgstreamer.def:
17522           fix get_type's
17523
17524 2005-10-16  Julien MOUTTE  <julien@moutte.net>
17525
17526         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
17527         fix. Because of unsigned ints, caps intersection was going nuts and
17528         trying to access structures with G_MAXUINT index. That fixes
17529         videotestsrc ! ffmpegcolorspace ! fakesink
17530         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
17531         consistency.
17532
17533 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17534
17535         * configure.ac:
17536           use the gettext macro
17537         * gst/elements/gstelements.c:
17538         * gst/gst.c:
17539         * gst/indexers/gstindexers.c:
17540           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
17541         * win32/common/config.h:
17542           updated config.h
17543         * win32/common/config.h.in:
17544           add the template to generate config.h
17545         * win32/common/gstenumtypes.c:
17546         * win32/common/gstversion.h:
17547           updated copies
17548
17549 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
17550
17551         * gst/gst.c: (gst_version):
17552         * gst/gstversion.h.in:
17553           add the nano
17554
17555 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17556
17557         * gst/gstevent.h:
17558           Oops, add missing closing bracket.
17559
17560 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17561
17562         * configure.ac:
17563           use common m4's for argument checking
17564
17565 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
17566
17567         * docs/gst/gstreamer-sections.txt:
17568         * gst/gstevent.h:
17569           Add GST_EVENT_TYPE_NAME() macro.
17570
17571 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17572
17573         * gst/gstinfo.c:
17574         * gst/gstpluginfeature.c:
17575         * gst/gsttask.c:
17576           privatize more symbols
17577
17578 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17579
17580         * configure.ac:
17581           add srcdir, builddir includes to GST_ALL_CFLAGS, since
17582           everything that uses GStreamer API should have the includes
17583
17584 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17585
17586         * docs/gst/gstreamer-sections.txt:
17587         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
17588         * gst/gstvalue.h:
17589           give each value a _get_type, removes the DATA exports
17590
17591 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17592
17593         * gst/gst.c:
17594         * gst/gst.h:
17595           remove _gst_registry_auto_load, not used anymore
17596         * gst/gstbin.c: (gst_bin_get_type):
17597         * gst/gstbin.h:
17598         * gst/gstelement.c: (gst_element_get_type):
17599         * gst/gstelement.h:
17600         * gst/gstobject.c: (gst_object_get_type):
17601         * gst/gstobject.h:
17602         * gst/gstpad.c: (gst_pad_get_type):
17603         * gst/gstpad.h:
17604           make _get_type functions similar, fixes data export from library
17605
17606 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17607
17608         * configure.ac:
17609           correctly make conditionals
17610         * gst/elements/Makefile.am:
17611         * gst/elements/gstelements.c:
17612           fix typo causing fdsrc not to build
17613
17614 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17615
17616         * testsuite/Makefile.am:
17617         * testsuite/bytestream/.cvsignore:
17618         * testsuite/bytestream/Makefile.am:
17619         * testsuite/bytestream/filepadsink.c:
17620         * testsuite/bytestream/gstbstest.c:
17621         * testsuite/bytestream/test1.c:
17622         * testsuite/bytestream/testfile1:
17623         * testsuite/caps/normalisation.c:
17624         * testsuite/caps/random.c: (main):
17625         * testsuite/cleanup/.cvsignore:
17626         * testsuite/cleanup/Makefile.am:
17627         * testsuite/cleanup/cleanup1.c:
17628         * testsuite/cleanup/cleanup2.c:
17629         * testsuite/cleanup/cleanup3.c:
17630         * testsuite/cleanup/cleanup4.c:
17631         * testsuite/cleanup/cleanup5.c:
17632         * testsuite/controller/interpolator.c:
17633         * testsuite/debug/printf_extension.c: (main):
17634         * testsuite/elements/tee.c:
17635         * testsuite/negotiation/.cvsignore:
17636         * testsuite/negotiation/Makefile.am:
17637         * testsuite/negotiation/pad_link.c:
17638         * testsuite/pad/Makefile.am:
17639         * testsuite/pad/chainnopull.c:
17640         * testsuite/pad/getnopush.c:
17641         * testsuite/pad/link.c:
17642         * testsuite/refcounting/sched.c: (create_pipeline):
17643         * testsuite/registry/Makefile.am:
17644         * testsuite/registry/gst-print-formats.c:
17645         * testsuite/schedulers/.cvsignore:
17646         * testsuite/schedulers/142183-2.c:
17647         * testsuite/schedulers/142183.c:
17648         * testsuite/schedulers/143777-2.c:
17649         * testsuite/schedulers/143777.c:
17650         * testsuite/schedulers/147713.c:
17651         * testsuite/schedulers/147819.c:
17652         * testsuite/schedulers/147894-2.c:
17653         * testsuite/schedulers/147894.c:
17654         * testsuite/schedulers/Makefile.am:
17655         * testsuite/schedulers/group_link.c:
17656         * testsuite/schedulers/queue_link.c:
17657         * testsuite/schedulers/relink.c:
17658         * testsuite/schedulers/unlink.c:
17659         * testsuite/schedulers/unref.c:
17660         * testsuite/schedulers/useless_iteration.c:
17661         * testsuite/states/bin.c:
17662           clean out/remove some stuff from the testsuite directories
17663
17664 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17665
17666         * configure.ac:
17667           check for some headers
17668         * gst/elements/Makefile.am:
17669         * gst/elements/gstelements.c:
17670           don't compile fdsrc without sys/socket.h
17671         * gst/indexers/Makefile.am:
17672         * gst/indexers/gstindexers.c: (plugin_init):
17673           don't compile fileindex without mmap
17674
17675 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
17676
17677         * configure.ac:
17678           reorganize
17679           clean up
17680           document more
17681           remove cruft
17682         * check/Makefile.am:
17683         * docs/gst/Makefile.am:
17684         * examples/helloworld/Makefile.am:
17685         * gst/Makefile.am:
17686         * gst/base/Makefile.am:
17687         * gst/check/Makefile.am:
17688         * gst/elements/Makefile.am:
17689         * gst/indexers/Makefile.am:
17690         * gst/parse/Makefile.am:
17691         * libs/gst/controller/Makefile.am:
17692         * libs/gst/dataprotocol/Makefile.am:
17693         * examples/helloworld/helloworld.c: (event_loop):
17694           compile fixes, though it's not being compiled currently
17695
17696 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17697
17698         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
17699           Add some simple tests for the new taglist date API.
17700
17701 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17702
17703         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
17704         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
17705           Beautify 'last-message' output: print 'none' for buffer timestamps
17706           and durations if none is set; improve alignment with next messages.
17707
17708 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
17709
17710         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
17711         * gst/gstpluginfeature.h:
17712         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
17713         * gst/gstregistry.h:
17714         * docs/gst/gstreamer-sections.txt:
17715           Add new API to check plugin feature version requirements.
17716
17717         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
17718           Some basic tests for the above.         
17719
17720 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17721
17722         * gst/gststructure.c: (gst_structure_to_string):
17723           guard against NULL printf - happens when for example
17724           a message structure with GstClock gets serialized
17725
17726 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17727
17728         * gst/base/gstcollectpads.c: (gst_collectpads_event):
17729           Fix presumable copy'n'pasto.
17730
17731 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17732
17733         * gst/elements/gstfakesrc.h:
17734         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
17735         * gst/elements/gsttypefindelement.c:
17736           fix some signedness
17737         * gst/elements/gstfilesink.c: (gst_file_sink_render):
17738           I wonder if this could actually write +2GB files before
17739
17740 2005-10-13  Andy Wingo  <wingo@pobox.com>
17741
17742         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
17743         Fix Timmeke Waymans bug.
17744         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
17745         string of the proper length to gst_caps_from_string. There's a
17746         potential for, before this fix, that this could cause someone
17747         connecting over the network to cause a segfault if the payload is
17748         not NUL-terminated.
17749
17750 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17751
17752         * docs/design/draft-push-pull.txt:
17753         * docs/design/part-overview.txt:
17754         * docs/random/TODO-pre-0.9:
17755         * docs/random/old/ChangeLog.gstreamer:
17756         * gst/base/gstpushsrc.c:
17757         * gst/gstclock.c:
17758           fixed typos
17759
17760 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17761
17762         * gst/glib-compat.c: (gst_flags_get_first_value):
17763         * gst/glib-compat.h:
17764         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
17765         (gst_value_compare_double), (gst_value_serialize_flags):
17766           GLib 2.6 g_flags_get_first_value has a bug that triggers an
17767           infinite loop
17768
17769 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17770
17771         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17772         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
17773           fix up debugging
17774         * tools/gst-launch.c: (event_loop):
17775           print out clock nicely
17776
17777 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
17778
17779         * docs/gst/gstreamer-sections.txt:
17780         * gst/gsttaglist.h:
17781         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
17782         (gst_tag_list_get_date_index):
17783           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
17784           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
17785
17786 2005-10-13  Julien MOUTTE  <julien@moutte.net>
17787
17788         * gst/base/gstcollectpads.c: (gst_collectpads_event),
17789         (gst_collectpads_chain):
17790         * gst/base/gstcollectpads.h: Handle newsegment and store informations
17791         in CollectData.
17792
17793 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
17794
17795         * docs/gst/gstreamer-sections.txt:
17796         * gst/gst.c:
17797         * gst/gsterror.h:
17798         * tools/gst-inspect.c: (main):
17799         * tools/gst-launch.c: (main):
17800         * tools/gst-run.c: (main):
17801         * tools/gst-xmlinspect.c: (main):
17802           fix GOption context leaks
17803           doc fixes
17804
17805 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
17806
17807         * gst/gstbus.c:
17808           use HAVE_UNISTD_H
17809         * win32/common/config.h:
17810           update config
17811         * win32/vs6/grammar.dsp:
17812         * win32/vs6/libgstelements.dsp:
17813         * win32/vs6/libgstreamer.dsp:
17814           update vs6 files
17815
17816 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17817
17818         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17819         * gst/base/gstbasesrc.c: (gst_base_src_query):
17820           fix more guint64<->gdouble conversions
17821
17822 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17823
17824         * Makefile.am:
17825           add win32-update target
17826         * win32/common/gstconfig.h:
17827         * win32/common/gstenumtypes.c:
17828         * win32/common/gstenumtypes.h:
17829         * win32/common/gstversion.h:
17830           add files that visual studio can't generate
17831
17832 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
17833
17834         * Makefile.am:
17835           add a win32-update target
17836         * configure.ac:
17837
17838 2005-10-12  Wim Taymans  <wim@fluendo.com>
17839
17840         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17841         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
17842         * gst/gstelement.c: (gst_element_commit_state),
17843         (gst_element_set_state):
17844         Protect flags with proper lock.
17845         unref provided cached clock in dispose.
17846
17847 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17848
17849         * gst/gst.c:
17850         * gst/gstminiobject.h:
17851         * gst/gstpad.h:
17852         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
17853           removed unused flags from miniobject
17854           doc fixes
17855
17856 2005-10-12  Wim Taymans  <wim@fluendo.com>
17857
17858         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
17859         (gst_file_sink_event), (gst_file_sink_render):
17860         Flush before seeking.
17861
17862 2005-10-12  Andy Wingo  <wingo@pobox.com>
17863
17864         * gst/gst.c (gst_init_check): Ignore unknown options, as has
17865         always been the case.
17866
17867 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
17868
17869         * check/gst/gstbin.c: (GST_START_TEST):
17870         * docs/gst/gstreamer-sections.txt:
17871         * gst/base/gstbasesink.c: (gst_base_sink_init):
17872         * gst/base/gstbasesrc.c: (gst_base_src_init),
17873         (gst_base_src_get_range), (gst_base_src_check_get_range),
17874         (gst_base_src_start), (gst_base_src_stop):
17875         * gst/base/gstbasesrc.h:
17876         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
17877         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
17878         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
17879         (bin_bus_handler):
17880         * gst/gstbin.h:
17881         * gst/gstbuffer.h:
17882         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
17883         * gst/gstbus.h:
17884         * gst/gstelement.c: (gst_element_is_locked_state),
17885         (gst_element_set_locked_state), (gst_element_commit_state),
17886         (gst_element_set_state):
17887         * gst/gstelement.h:
17888         * gst/gstindex.c: (gst_index_init):
17889         * gst/gstindex.h:
17890         * gst/gstminiobject.h:
17891         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
17892         (gst_object_set_parent):
17893         * gst/gstobject.h:
17894         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
17895         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
17896         * gst/gstpad.h:
17897         * gst/gstpadtemplate.h:
17898         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
17899         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
17900         * gst/gstpipeline.h:
17901         * gst/indexers/gstfileindex.c: (gst_file_index_load),
17902         (gst_file_index_commit):
17903         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
17904         * testsuite/pad/link.c: (gst_test_src_init),
17905         (gst_test_filter_init), (gst_test_sink_init):
17906         * testsuite/states/locked.c: (main):
17907           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
17908           moved bitshift from macro to enum definition
17909
17910 2005-10-12  Wim Taymans  <wim@fluendo.com>
17911
17912         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
17913         * gst/elements/gstfilesink.c: (gst_file_sink_event),
17914         (gst_file_sink_render):
17915         Some more debugging info.
17916
17917 2005-10-12  Wim Taymans  <wim@fluendo.com>
17918
17919         * docs/design/part-states.txt:
17920         * tools/gst-launch.c: (main):
17921         Some doc updates.
17922         Revert non-intentional change.
17923
17924 2005-10-12  Wim Taymans  <wim@fluendo.com>
17925
17926         * check/gst/gstbin.c: (GST_START_TEST):
17927         * check/gst/gstelement.c: (GST_START_TEST):
17928         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
17929         * check/gst/gstghostpad.c: (GST_START_TEST):
17930         * check/gst/gstpipeline.c: (GST_START_TEST):
17931         * check/pipelines/simple_launch_lines.c: (run_pipeline):
17932         * check/states/sinks.c: (GST_START_TEST):
17933         * gst/elements/gsttypefindelement.c: (stop_typefinding):
17934         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17935         (gst_bin_remove_func), (gst_bin_get_state_func),
17936         (gst_bin_recalc_state), (gst_bin_change_state_func),
17937         (bin_bus_handler):
17938         * gst/gstelement.c: (gst_element_get_state_func),
17939         (gst_element_get_state), (gst_element_abort_state),
17940         (gst_element_commit_state), (gst_element_set_state),
17941         (gst_element_change_state), (gst_element_change_state_func):
17942         * gst/gstelement.h:
17943         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
17944         (gst_pipeline_provide_clock_func):
17945         * gst/gstutils.c: (gst_element_link_pads_filtered):
17946         * tools/gst-launch.c: (main):
17947         * tools/gst-typefind.c: (main):
17948         Use GstClockTime in _get_state() instead of GTimeVal.
17949         Remove old code in gstutils.c
17950
17951 2005-10-12  Andy Wingo  <wingo@pobox.com>
17952
17953         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
17954         removed.
17955
17956         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
17957         there is no task. Shouldn't affect any code, as nothing in our
17958         plugins checks this return value.
17959         (gst_pad_stop_task): Also take the stream lock if the pad has no
17960         task. Docs updated.
17961
17962 2005-10-12  Wim Taymans  <wim@fluendo.com>
17963
17964         * gst/gstpad.c: (pre_activate), (post_activate),
17965         (gst_pad_activate_pull), (gst_pad_activate_push):
17966         Cleanup activation code. Reset old state if
17967         activation failed.
17968
17969 2005-10-12  Wim Taymans  <wim@fluendo.com>
17970
17971         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17972         (gst_base_sink_change_state):
17973         No need to prerol after receiving EOS.
17974
17975         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
17976         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
17977         * gst/elements/gstidentity.c: (gst_identity_event):
17978         Print events more verbosely.
17979
17980 2005-10-12  Wim Taymans  <wim@fluendo.com>
17981
17982         * check/Makefile.am:
17983         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
17984         * check/states/sinks2.c:
17985         Moved sinks2 testcode in sinks check.
17986
17987         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
17988         (gst_bin_remove_func), (gst_bin_recalc_state),
17989         (gst_bin_change_state_func), (bin_bus_handler):
17990         Fix potential race condition when _get_state() iterated over an
17991         ASYNC element right before it posted a state completion.
17992
17993         * gst/gstclock.h:
17994         Do proper cast here.
17995
17996         * gst/gstevent.c: (gst_event_new_newsegment),
17997         (gst_event_parse_newsegment):
17998         A playback rate of 0.0 is not allowed.
17999
18000 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18001
18002         * win32/common/config.h:
18003         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
18004         (_trewinddir), (_ttelldir), (_tseekdir):
18005         * win32/common/dirent.h:
18006         * win32/common/gtchar.h:
18007         * win32/common/libgstbase.def:
18008         * win32/common/libgstreamer.def:
18009         * win32/vs6/grammar.dsp:
18010         * win32/vs6/gst_inspect.dsp:
18011         * win32/vs6/gst_launch.dsp:
18012         * win32/vs6/gstreamer.dsw:
18013         * win32/vs6/libgstbase.dsp:
18014         * win32/vs6/libgstelements.dsp:
18015         * win32/vs6/libgstreamer.dsp:
18016           Visual Studio 6 project files, and a new common directory.
18017           Phear.
18018
18019 2005-10-11  Wim Taymans  <wim@fluendo.com>
18020
18021         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18022         (gst_base_sink_do_sync), (gst_base_sink_query),
18023         (gst_base_sink_change_state):
18024         * gst/base/gstbasesink.h:
18025         Correctly parse newsegment info.
18026
18027 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18028
18029         * gst/gst.c: (init_post):
18030           split plugin paths correctly
18031
18032 2005-10-11  Wim Taymans  <wim@fluendo.com>
18033
18034         * check/gst/gstevent.c: (GST_START_TEST):
18035         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18036         (gst_base_sink_change_state):
18037         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
18038         * gst/base/gstbasetransform.c: (gst_base_transform_event):
18039         * gst/elements/gstfilesink.c: (gst_file_sink_event):
18040         * gst/gstevent.c: (gst_event_new_newsegment),
18041         (gst_event_parse_newsegment):
18042         * gst/gstevent.h:
18043         Added extra flag to newsegment for future API freeze.
18044         Updated check and base elements.
18045
18046 2005-10-11  Julien MOUTTE  <julien@moutte.net>
18047
18048         * gst/base/gstcollectpads.c: (gst_collectpads_init),
18049         (gst_collectpads_add_pad), (gst_collectpads_pop),
18050         (gst_collectpads_event), (gst_collectpads_chain):
18051         * gst/base/gstcollectpads.h: Handle EOS correctly.
18052
18053 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18054
18055         * tools/gst-launch.c: (main):
18056           more null protecting
18057
18058 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18059
18060         * gst/gst-i18n-lib.h:
18061           check for ENABLE_NLS, not GETTEXT_PACKAGE
18062         * gst/gstregistry.c: (gst_registry_add_plugin),
18063         (gst_registry_scan_path_level),
18064         (_gst_registry_remove_cache_plugins):
18065           protect possibly NULL strings
18066         * gst/parse/types.h:
18067           config.h already included before
18068         * tools/gst-inspect.c: (main):
18069           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
18070           check for ENABLE_NLS, not GETTEXT_PACKAGE
18071         * tools/gst-launch.c: (main):
18072           check for ENABLE_NLS, not GETTEXT_PACKAGE
18073
18074 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18075
18076         * configure.ac:
18077           if we don't have glib, fail before testing 2.8
18078         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
18079           fix a leak, should fix plugins-base testsuite
18080
18081 2005-10-11  Andy Wingo  <wingo@pobox.com>
18082
18083         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
18084         take the mode we're going to as an arg. Go head and set the mode
18085         and flushing flags now, so that if the activate function starts a
18086         thread all the flags will be in the right state.
18087         (post_activate): Renamed also. Just handle making sure streaming
18088         finishes for the deactivation case, and setting the deactivated
18089         mode.
18090         (gst_pad_set_active): Complain loudly if deactivation fails.
18091         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
18092         (gst_pad_activate_push): Adapt to pre/post_activate changes,
18093         remove the terrible hack.
18094
18095 2005-10-11  Wim Taymans  <wim@fluendo.com>
18096
18097         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18098         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
18099         (gst_bin_recalc_state), (gst_bin_change_state_func),
18100         (gst_bin_dispose), (bin_bus_handler):
18101         * gst/gstbin.h:
18102         Prepare to make current EOS message queue more generic.
18103         Fix some typos.
18104
18105         * gst/gstevent.c: (gst_event_new_newsegment),
18106         (gst_event_parse_newsegment):
18107         * gst/gstevent.h:
18108         Rename base to stream_time.
18109
18110         * gst/gstmessage.h:
18111         Fix typo in docs.
18112
18113 2005-10-11  Wim Taymans  <wim@fluendo.com>
18114
18115         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
18116         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
18117         (gst_bin_change_state_func), (bin_bus_handler):
18118         * gst/gstbin.h:
18119         Work on proper clock selection.
18120
18121 2005-10-11  Edward Hervey  <edward@fluendo.com>
18122
18123         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
18124         * libs/gst/controller/gstcontroller.h:
18125         Added GList* version of _remove_properties() in order to be able to wrap
18126         it in bindings.
18127
18128 2005-10-11  Wim Taymans  <wim@fluendo.com>
18129
18130         * docs/design/part-states.txt:
18131         Some more docs.
18132
18133         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
18134         (gst_bin_change_state_func), (bin_bus_handler):
18135         Doc updates. Don't distribute the same clock over and over again.
18136
18137         * gst/gstclock.c:
18138         * gst/gstclock.h:
18139         Doc updates.
18140
18141         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
18142         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
18143         (gst_pad_send_event):
18144         * gst/gstpad.h:
18145         Make probe emission threadsafe again.
18146         Register quarks and move _get_name() from utils.
18147         Doc updates.
18148
18149         * gst/gstpipeline.c: (gst_pipeline_class_init),
18150         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18151         Only redistribute the clock of it changed.
18152
18153         * gst/gstsystemclock.h:
18154         Doc updates. 
18155
18156         * gst/gstutils.c:
18157         * gst/gstutils.h:
18158         Moved the _flow_get_name() to GstPad.
18159
18160 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18161
18162         * check/gst-libs/gdp.c: (GST_START_TEST):
18163         * check/gst/gstcaps.c: (GST_START_TEST):
18164         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
18165         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
18166         (gst_dp_packet_from_caps):
18167           fix more valgrind warnings before turning up the heat
18168
18169 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
18170
18171         * gst/parse/grammar.y:
18172           some cleanup before the hacking
18173
18174 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18175
18176         * gst/base/gstbasesrc.c: (gst_base_src_query):
18177           use conversions
18178         * gst/gstutils.c: (gst_guint64_to_gdouble),
18179         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
18180         * gst/gstutils.h:
18181           externalize, basesrc uses it
18182           obviously the implementation needs testing
18183
18184 2005-10-10  Wim Taymans  <wim@fluendo.com>
18185
18186         * tests/sched/Makefile.am:
18187         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
18188         (make_pipeline3), (make_pipeline4), (print_elem), (main):
18189
18190 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18191
18192         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
18193           apparently converting from guint64 to double is not implemented
18194           on MSVC
18195
18196 2005-10-10  Wim Taymans  <wim@fluendo.com>
18197
18198         * check/Makefile.am:
18199         * check/generic/states.c: (GST_START_TEST):
18200         * check/gst/gstbin.c: (GST_START_TEST):
18201         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
18202         * check/states/sinks.c: (GST_START_TEST):
18203         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
18204         (main):
18205         Check fixes, use API as stated in design docs, remove hacks.
18206
18207         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18208         (gst_base_sink_change_state):
18209         Catch stopping our task while we're shutting down.
18210
18211         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
18212         (gst_bin_remove_func), (gst_bin_get_state_func),
18213         (gst_bin_recalc_state), (gst_bin_change_state_func),
18214         (bin_bus_handler):
18215         * gst/gstbin.h:
18216         * gst/gstelement.c: (gst_element_init),
18217         (gst_element_get_state_func), (gst_element_abort_state),
18218         (gst_element_commit_state), (gst_element_lost_state),
18219         (gst_element_set_state), (gst_element_change_state),
18220         (gst_element_change_state_func):
18221         * gst/gstelement.h:
18222         New state change algorithm (see #318116)
18223
18224         * gst/gstpipeline.c: (gst_pipeline_class_init),
18225         (gst_pipeline_init), (gst_pipeline_set_property),
18226         (gst_pipeline_get_property), (do_pipeline_seek),
18227         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
18228         * gst/gstpipeline.h:
18229         Remove crude state change hacks.
18230
18231         * gst/gstutils.h:
18232         Remove crude hacks.
18233
18234         * tools/gst-launch.c: (main):
18235         Fixes for state change. Needs some more work to fully use the
18236         new stuff.
18237
18238 2005-10-10  Andy Wingo  <wingo@pobox.com>
18239
18240         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
18241
18242         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
18243         this flag, but it's not even in GLib 2.6. Odd. Hack around the
18244         issue.
18245
18246 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18247
18248         * gst/gstiterator.c: (gst_iterator_new):
18249           Fix my previous commit: GTypes passed to gst_iterator_new()
18250           can be fundamental types.
18251
18252 2005-10-10  Wim Taymans  <wim@fluendo.com>
18253
18254         * gst/gstelement.c: (gst_element_iterate_pad_list),
18255         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
18256         (gst_element_iterate_sink_pads):
18257         Use src/sink pads lists for the respective iterators instead
18258         of filtering.
18259
18260 2005-10-10  Andy Wingo  <wingo@pobox.com>
18261
18262         Merged in popt removal + GOption addition patch from Ronald, bug
18263         #169772.
18264
18265         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
18266         GstElement macros around, remove popt-related symbols, add goption
18267         stuff.
18268
18269         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
18270         
18271         * docs/gst/Makefile.am:
18272         * docs/libs/Makefile.am: No POPT_CFLAGS.
18273         
18274         * examples/manual/Makefile.am:
18275         * docs/manual/basics-init.xml: Doc updates with an example.
18276         
18277         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
18278         (gst_init), (parse_one_option), (parse_goption_arg):
18279         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
18280         bit of hand merging and debugging to get the GOption stuff working
18281         tho.
18282         
18283         * tests/Makefile.am:
18284         * tools/Makefile.am:
18285         * tools/gst-inspect.c: (main):
18286         * tools/gst-launch.c: (main):
18287         * tools/gst-run.c: (main):
18288         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
18289
18290 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18291
18292         * gst/gstiterator.c: (gst_iterator_new):
18293           Add assertions to make sure passed GType is likely to really
18294           be a GType (as the compiler won't catch it if the size and
18295           GType arguments get mixed up, see #318447).
18296
18297 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
18298
18299         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18300
18301         * gst/gstbin.c: (gst_bin_iterate_sorted):
18302           Pass GType and size arguments to gst_iterator_new() in the right
18303           order (maybe we should make _new() take the GType as first argument
18304           just like _new_list()?) (#318447).
18305           
18306
18307 2005-10-10  Wim Taymans  <wim@fluendo.com>
18308
18309         * gst/gstelement.c: (gst_element_finalize):
18310         And free the GStaticRecMutex too
18311
18312 2005-10-10  Andy Wingo  <wingo@pobox.com>
18313
18314         * gst/gstelement.c (gst_element_init, gst_element_finalize):
18315         Allocate and free the mutex properly.
18316
18317         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
18318         New macros.
18319         (GstElement): The state_lock is now recursive. Rebuild your
18320         plugins, suckers. Old macros adapted.
18321
18322         * docs/gst/gstreamer-sections.txt: Doc updates.
18323
18324         * gst/gstutils.h:
18325         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
18326         (g_static_rec_cond_wait): Ported from state changes patch, while
18327         we wait on bug #317802 to be solved in a well-distributed GLib.
18328
18329         * gst/gstelement.c (gst_element_change_state_func): Renamed from
18330         gst_element_change_state, variable name changes.
18331         (gst_element_change_state): Split out of gst_element_set_state in
18332         preparation for the state change merge. Doesn't pay attention to
18333         the 'transition' argument.
18334         (gst_element_set_state): Updates, hopefully purely cosmetic.
18335         (gst_element_sync_state_with_parent): MT-safety. Ported from the
18336         state change patch.
18337         (gst_element_get_state_func): Renamed from get_state, cosmetic
18338         changes.
18339
18340 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18341
18342         * gst/elements/gstelements.c:
18343         * win32/GStreamer.vcproj:
18344         * win32/config.h:
18345         * win32/dirent.c: (_tseekdir):
18346         * win32/gst-inspect.vcproj:
18347         * win32/gst-launch.vcproj:
18348         * win32/gstconfig.h:
18349         * win32/gstelements.vcproj:
18350         * win32/gstenumtypes.c: (gst_object_flags_get_type):
18351         * win32/gstreamer.def:
18352         * win32/msvc71.sln:
18353           updates for the win32 build (patch from Sebastien Moutte)
18354
18355 2005-10-10  Andy Wingo  <wingo@pobox.com>
18356
18357         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
18358         gst_bin_get_state, cleaned up (but no logic changes).
18359         (bin_element_is_sink): Comment updates.
18360         (sink_iterator_filter): Remove needless cast.
18361         (gst_bin_iterate_sinks): Doc update.
18362         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
18363         cleaned up (but no logic changes).
18364
18365         * check/states/sinks.c (test_src_sink): Cleanups from the state
18366         change patch.
18367         (test_livesrc_sink): Sync on the state.
18368
18369         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
18370         the state change patch.
18371
18372         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
18373         change patch.
18374
18375         * check/gst/gstbin.c: Merge in some style fixes and additional
18376         checks from Wim's state change patch.
18377
18378 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
18379
18380         * gst/base/gsttypefindhelper.c: (helper_find_peek),
18381         (gst_type_find_helper):
18382           Check whether we have the requested data already in our list of
18383           cached buffers before pulling a new buffer; also make the buffer
18384           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
18385
18386 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
18387
18388         * gst/gstcaps.c:
18389         * gst/gstevent.c:
18390           doc updates
18391         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
18392           don't use long long, it's not portable.  Replacing with
18393           gint64 seems to work; let's hope no skeletons fall out of the closet.
18394
18395 2005-10-10  Andy Wingo  <wingo@pobox.com>
18396
18397         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
18398
18399 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
18400
18401         * docs/gst/gstreamer-sections.txt:
18402         * gst/gstevent.c:
18403         * gst/gstevent.h:
18404         * gst/gstinfo.c:
18405         * gst/gstinfo.h:
18406         * gst/gstmessage.c: (gst_message_parse_state_changed):
18407         * gst/gstpad.c:
18408         * gst/gstpad.h:
18409           more docs, fix compilation
18410
18411 2005-10-09  Philippe Khalaf <burger@speedy.org>
18412         * gst/gstmessage.c:
18413           Fixed a few forgotten variables on previous commit
18414
18415 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
18416
18417         * gst/base/gsttypefindhelper.c: (helper_find_peek):
18418           Fix evil typefind crasher: getrange() might return a short
18419           buffer at the end of a file, but gst_type_find_peek() must
18420           either return the full data as requested or NULL, but
18421           never a short buffer.
18422
18423 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
18424
18425         * gst/gstmessage.c: (gst_message_new_state_changed),
18426         (gst_message_parse_state_changed):
18427         * gst/gstmessage.h:
18428           don't use "new", it's a C++ keyword
18429
18430 2005-10-08  Wim Taymans  <wim@fluendo.com>
18431
18432         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
18433         * gst/gstelement.c: (gst_element_post_message):
18434         * gst/gstpipeline.c: (gst_pipeline_change_state):
18435         Small docs and debug updates.
18436
18437 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18438
18439         * docs/gst/gstreamer-sections.txt:
18440         * gst/gstelementfactory.c:
18441         * gst/gstevent.c:
18442         * gst/gsttaglist.c:
18443           more docs
18444
18445 2005-10-08  Wim Taymans  <wim@fluendo.com>
18446
18447         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
18448         (gst_bin_dispose), (bin_bus_handler):
18449         Fix typos, add comments.
18450         Clear EOS list when going to PAUSED from any direction and do it
18451         in a threadsafe way.
18452         Get base time in a threadsafe way too.
18453         Fix confusing debug in the change_state function.
18454         Various other small cleanups.
18455         
18456         * gst/gstelement.c: (gst_element_post_message):
18457         Fix very verbose bus posting code.
18458
18459         * gst/gstpipeline.c: (gst_pipeline_class_init),
18460         (gst_pipeline_set_property), (gst_pipeline_get_property),
18461         (gst_pipeline_change_state):
18462         Small ARG_ -> PROP_ cleanup
18463
18464 2005-10-08  Wim Taymans  <wim@fluendo.com>
18465
18466         * gst/gstbin.c: (is_eos), (bin_bus_handler):
18467         Do a less CPU demanding EOS check because we can.
18468
18469 2005-10-08  Wim Taymans  <wim@fluendo.com>
18470
18471         * libs/gst/dataprotocol/dataprotocol.c:
18472         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
18473         (gst_dp_packet_from_event):
18474         * libs/gst/dataprotocol/dataprotocol.h:
18475         * libs/gst/dataprotocol/dp-private.h:
18476         It's about time we bump the version number.
18477         Since event types don't fit in the guint8 anymore describing
18478         the payload type, make payload type 16 bits wide.
18479
18480 2005-10-08  Wim Taymans  <wim@fluendo.com>
18481
18482         * docs/design/part-TODO.txt:
18483         * docs/design/part-clocks.txt:
18484         * docs/design/part-events.txt:
18485         * docs/design/part-gstbin.txt:
18486         * docs/design/part-gstelement.txt:
18487         * docs/design/part-gstpipeline.txt:
18488         * docs/design/part-live-source.txt:
18489         * docs/design/part-messages.txt:
18490         * docs/design/part-overview.txt:
18491         * docs/design/part-states.txt:
18492         Many doc updates.
18493
18494 2005-10-08  Wim Taymans  <wim@fluendo.com>
18495
18496         * gst/gstevent.c:
18497         * gst/gstevent.h:
18498         Fix event quark registration.
18499         Add some space between events so we can insert them in the
18500         right groups.
18501
18502 2005-10-08  Wim Taymans  <wim@fluendo.com>
18503
18504         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18505         (gst_base_sink_handle_buffer):
18506         Better log message.
18507
18508         * gst/gstbus.h:
18509         * gst/gstelement.h:
18510         More docs.
18511
18512         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
18513         (gst_queue_set_property), (gst_queue_get_property):
18514         * gst/gstqueue.h:
18515         Remove old unused properties.
18516
18517 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
18518         * docs/gst/gstreamer-sections.txt:
18519         * gst/gstmessage.c:
18520         * gst/gstmessage.h:
18521         * gst/gstminiobject.c:
18522         * gst/gstminiobject.h:
18523         * gst/gstobject.h:
18524         * gst/gstpad.h:
18525         * gst/gstutils.h:
18526           lots of new docs and doc fixes
18527
18528 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18529
18530         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
18531         * gst/gstplugin.h:
18532         * gst/gstregistry.c: (gst_registry_lookup_locked),
18533         (gst_registry_scan_path_level):
18534         * gst/gstregistryxml.c: (load_plugin):
18535           Only ever load one plugin for a given plugin basename.
18536           This ensures correct overriding of GST_PLUGIN_PATH over
18537           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
18538           system installed plugins.
18539
18540 2005-10-08  Wim Taymans  <wim@fluendo.com>
18541
18542         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18543         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
18544         Prepare for doing QOS.
18545
18546 2005-10-08  Wim Taymans  <wim@fluendo.com>
18547
18548         * check/gst/gstbin.c: (GST_START_TEST):
18549         * check/pipelines/cleanup.c: (GST_START_TEST):
18550         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
18551         Allow new clock message too.
18552
18553 2005-10-08  Wim Taymans  <wim@fluendo.com>
18554
18555         * gst/gstmessage.c: (gst_message_new_error),
18556         (gst_message_new_warning), (gst_message_new_tag),
18557         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18558         (gst_message_new_clock_lost), (gst_message_new_new_clock),
18559         (gst_message_new_segment_start), (gst_message_new_segment_done),
18560         (gst_message_parse_state_changed),
18561         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
18562         (gst_message_parse_new_clock):
18563         * gst/gstmessage.h:
18564         Also carry the clock in question.
18565
18566 2005-10-08  Wim Taymans  <wim@fluendo.com>
18567
18568         * gst/gstmessage.c: (gst_message_new_custom),
18569         (gst_message_new_eos), (gst_message_new_error),
18570         (gst_message_new_warning), (gst_message_new_tag),
18571         (gst_message_new_state_changed), (gst_message_new_clock_provide),
18572         (gst_message_new_new_clock), (gst_message_new_segment_start),
18573         (gst_message_new_segment_done), (gst_message_parse_state_changed),
18574         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
18575         * gst/gstmessage.h:
18576         Clean up.
18577         Added clock related messages.
18578
18579         * gst/gstpipeline.c: (gst_pipeline_change_state):
18580         Post message when the clock changed.
18581
18582         * tools/gst-launch.c: (event_loop):
18583         Print new clock.
18584
18585 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
18586
18587         * tools/gst-inspect.c: (print_element_properties_info):
18588           Can't pass NULL strings to g_print() on windows.
18589
18590 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18591
18592         * docs/Makefile.am:
18593         * docs/gst/Makefile.am:
18594         * docs/gst/gstreamer-docs.sgml:
18595         * docs/gst/running.xml:
18596         * docs/version.entities.in:
18597           add a chapter on running GStreamer.
18598           document GST_DEBUG and GST_PLUGIN* env vars
18599
18600 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18601
18602         * Makefile.am:
18603           remove include dir
18604         * configure.ac:
18605           remove PLUGINS_BUILDDIR stuff
18606         * gst/gst.c: (init_post):
18607           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
18608         * idiottest.mak:
18609           remove, it was condescending and not needed
18610
18611 2005-10-08  Wim Taymans  <wim@fluendo.com>
18612
18613         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
18614         (gst_base_sink_handle_object), (gst_base_sink_event),
18615         (gst_base_sink_wait), (gst_base_sink_handle_event),
18616         (gst_base_sink_change_state):
18617         * gst/base/gstbasesink.h:
18618         Repost EOS message while going to PLAYING if still EOS.
18619         Make sure that when receiving a FLUSH_START we don't attempt
18620         to sync on the clock anymore.
18621
18622 2005-10-08  Wim Taymans  <wim@fluendo.com>
18623
18624         * tools/gst-launch.c: (event_loop):
18625         Better message printout.
18626
18627 2005-10-08  Wim Taymans  <wim@fluendo.com>
18628
18629         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
18630         (gst_bin_child_proxy_get_children_count):
18631         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
18632         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
18633         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
18634         (gst_child_proxy_set_valist):
18635         * gst/parse/grammar.y:
18636         Make ChildProxy threadsafe and fix mem leaks.
18637
18638 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18639
18640         * gst/gst.c: (init_post):
18641           debug the GST_PLUGIN_ env vars
18642
18643 2005-10-08  Wim Taymans  <wim@fluendo.com>
18644
18645         * check/gst/gstbin.c: (GST_START_TEST):
18646         * check/gst/gstmessage.c: (GST_START_TEST):
18647         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
18648         * gst/gstelement.c: (gst_element_commit_state),
18649         (gst_element_lost_state):
18650         * gst/gstmessage.c: (gst_message_new_state_changed),
18651         (gst_message_parse_state_changed):
18652         * gst/gstmessage.h:
18653         * tools/gst-launch.c: (event_loop):
18654         Added extra field to STATE_CHANGE message with the pending
18655         state, which will be different from the new state soon.
18656
18657 2005-10-08  Wim Taymans  <wim@fluendo.com>
18658
18659         * gst/gstbus.c: (gst_bus_pop):
18660         * gst/gstclock.c:
18661         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18662         Small cleanups and doc updates.
18663
18664 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
18665
18666         * gst/gst.c: (init_pre):
18667         * gst/gstbin.c: (gst_bin_add_func):
18668           log distributing clocks and base time
18669         * gst/gstregistry.c: (gst_registry_add_plugin),
18670         (gst_registry_scan_path_level), (gst_registry_scan_path):
18671           clean up the debugging output a little
18672         * gst/gstutils.c: (gst_element_state_get_name):
18673           warn about a memleak (I've actually seen this be used, though
18674           it was probably a bug)
18675
18676 2005-10-07  Wim Taymans  <wim@fluendo.com>
18677
18678         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18679         (gst_base_src_init), (gst_base_src_default_newsegment),
18680         (gst_base_src_newsegment), (gst_base_src_do_seek),
18681         (gst_base_src_loop), (gst_base_src_start):
18682         * gst/base/gstbasesrc.h:
18683         Make the newsegment event customizable by subclasses.
18684
18685 2005-10-07  Wim Taymans  <wim@fluendo.com>
18686
18687         * gst/gstevent.c: (gst_event_new_buffersize),
18688         (gst_event_parse_buffersize):
18689         * gst/gstevent.h:
18690         New event for future idea.
18691
18692 2005-10-07  Andy Wingo  <wingo@pobox.com>
18693
18694         * gst/gstelement.c (gst_element_post_message): Doc update.
18695
18696         * docs/gst/gstreamer-sections.txt: Update.
18697
18698         * gst/gstmessage.c (gst_message_new_application): Made into a
18699         function like honest API calls.
18700         (gst_message_new_element): New message type.
18701
18702         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
18703
18704         * check/elements/fakesrc.c (test_no_preroll): New check, checks
18705         that setting a live fakesrc to PAUSED returns NO_PREROLL both
18706         times.
18707
18708         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
18709         NO_PREROLL from gst_element_change_state to fall through.
18710
18711 2005-10-07  Wim Taymans  <wim@fluendo.com>
18712
18713         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
18714         (gst_ghost_pad_do_activate_push):
18715         Activating a ghostpad with no internal pad in push mode
18716         is ok.
18717
18718 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
18719
18720         * gst/gstobject.h:
18721           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
18722           Fixes compilation on Windows.
18723
18724 2005-10-07  Michael Smith <msmith@fluendo.com>
18725
18726         * tools/gst-inspect.c:
18727           Print out feature and plugin count at the end when printing out
18728           all features.
18729
18730 2005-10-04  Michael Smith <msmith@fluendo.com>
18731
18732         * gst/gsterror.c: (_gst_stream_errors_init):
18733           Add another error string used in a few existing plugins.
18734
18735         * gst/gstplugin.c:
18736         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
18737         * tools/gst-inspect.c: (print_element_info):
18738           When a feature disappears from a plugin (and the feature exists in
18739           the cached registry file), things went horribly wrong. This isn't a
18740           complete fix, we should actually be removing the 'missing' features
18741           from the features list when we load the actual plugin. That's not
18742           yet implemented. 
18743
18744 2005-10-04  Johan Dahlin  <johan@gnome.org>
18745
18746         * check/gst/gstiterator.c: (GST_START_TEST):
18747         * gst/gstbin.c: (gst_bin_iterate_elements),
18748         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
18749         * gst/gstelement.c: (gst_element_iterate_pads):
18750         * gst/gstformat.c: (gst_format_iterate_definitions):
18751         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
18752         (gst_iterator_new_list), (gst_iterator_filter):
18753         * gst/gstiterator.h:
18754         * gst/gstquery.c: (gst_query_type_iterate_definitions):
18755         Add a GType to GstIterator, update callsites and tests.
18756
18757 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18758
18759         * gst/gstpad.c: (gst_pad_event_default_dispatch):
18760           give events a chance to be handled by event probes when the pad
18761           is not linked
18762
18763 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18764
18765         * gst/gstevent.c: (gst_event_type_get_name),
18766         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
18767         * gst/gstevent.h:
18768           add string representations for event types
18769
18770 2005-10-06  Wim Taymans  <wim@fluendo.com>
18771
18772         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
18773         Don't use NULL pointers.
18774
18775 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18776
18777         * gst/gst_private.h:
18778         * gst/gstbus.c:
18779         * gst/gstelement.c:
18780         * gst/gstinfo.c:
18781         * gst/gstpluginfeature.c:
18782           widen the debug category in output to fit the biggest one we have
18783           add a bus category and use it
18784           play with the colors
18785           fix up some categories
18786
18787 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
18788
18789         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
18790           add push activation of sink ghost pads.
18791           Andye, please verify
18792
18793 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18794
18795         * gst/gstutils.c: (gst_element_link_pads):
18796           fix a bug in the case where neither element has a pad
18797         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
18798           add a test for that case
18799
18800 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
18801
18802         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
18803           emit have-data before checking for peers.  This allows
18804           for probe handlers to connect elements.  This helps autopluggers.
18805         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
18806         (gst_pad_suite):
18807           add six checks, linked/unlinked with no/true/false probe
18808
18809 2005-10-04  Wim Taymans  <wim@fluendo.com>
18810
18811         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
18812         (gst_fake_sink_event), (gst_fake_sink_preroll),
18813         (gst_fake_sink_render), (gst_fake_sink_change_state):
18814         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
18815         (gst_fake_src_get_property), (gst_fake_src_create),
18816         (gst_fake_src_stop):
18817         * gst/elements/gstidentity.c: (gst_identity_stop):
18818         Protect last_message with lock.
18819
18820 2005-10-04  Edward Hervey  <edward@fluendo.com>
18821
18822         * gst/gstformat.h: 
18823         Added precision in the comments for GST_FORMAT_DEFAULT
18824
18825 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
18826
18827         * tools/gst-launch.c: (main):
18828           Don't try to run erroneous pipelines.
18829
18830 2005-10-04  Julien MOUTTE  <julien@moutte.net>
18831
18832         * gst/gstbus.c: We don't need this header.
18833
18834 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18835
18836         * configure.ac:
18837           back to development
18838
18839 === release 0.9.3 ===
18840
18841 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
18842
18843         * README:
18844         * configure.ac:
18845           Releasing 0.9.3, "Unregistered"
18846
18847 2005-10-03  Andy Wingo  <wingo@pobox.com>
18848
18849         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
18850         whereby calling a pad's activatepush() function can start a thread
18851         that starts to push or pull before the pad gets the FLUSHING flag
18852         unset. Hack around it by holding the stream lock until the flag is
18853         set. Need to replace this with a proper solution. Together with
18854         the ghost pad fixes, this fixes mp3 playing/tagreading.
18855
18856         * docs/design/part-gstghostpad.txt: Add a note about activation of
18857         proxy pads outside of ghost pads.
18858
18859         * gst/gstghostpad.c: Implement the ghost pad activation design.
18860
18861 2005-10-02  Andy Wingo  <wingo@pobox.com>
18862
18863         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
18864         It is volatile, after all.
18865
18866         * docs/design/part-gstghostpad.txt: Flesh out activation with
18867         ghost pads.
18868
18869         * gst/base/gstbasesrc.c (gst_base_src_init): Use
18870         GST_DEBUG_FUNCPTR.
18871
18872 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
18873
18874         * configure.ac:
18875           Fix (unused) AM_CONDITIONAL tests.
18876
18877 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
18878
18879         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18880
18881         * gst/gstutils.c: (gst_pad_query_convert):
18882           Add assertion that makes sure src_val is >=0, just like
18883           gst_query_new_convert() has. (#315895)
18884
18885 2005-09-30  Edward Hervey  <edward@fluendo.com>
18886
18887         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
18888         Let's not iterate pads we're not interested in, it avoids getting 
18889         sky-high refcounts on sinkpad.
18890
18891 2005-09-30  Wim Taymans  <wim@fluendo.com>
18892
18893         * gst/gstelement.c: (gst_element_set_state),
18894         (gst_element_change_state):
18895         Small tweak, element in ASYNC remains ASYNC.
18896
18897 2005-09-30  Wim Taymans  <wim@fluendo.com>
18898
18899         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18900         Only error is an error.
18901
18902         * gst/gstbin.c: (gst_bin_change_state):
18903         Better debugging.
18904
18905         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
18906         Also call pad_block in pad alloc.
18907
18908         * gst/gstutils.c: (gst_flow_get_name):
18909         Better debugging.
18910
18911 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18912
18913         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
18914         (gst_base_src_get_range):
18915           Fix documentation typos. Add some more debug info.
18916
18917 2005-09-29  David Schleef  <ds@schleef.org>
18918
18919         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
18920           more end-user friendly.
18921         * tools/gst-inspect.c: (main): Check if command-line argument is
18922           a file and attempt to load that file as a plugin.
18923
18924 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18925
18926         * check/gst/gstbin.c:
18927         * check/states/sinks.c:
18928           fix tests for the new warning
18929         * check/gst/gstpipeline.c:
18930           add a test for pipeline and bus interaction
18931         * gst/gstelement.c:
18932           elements should be NULL if they get disposed; add a warning if not
18933
18934 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18935
18936         * gst/gstobject.c:
18937           for 2.6 refcounting, make debug log more correct by printing
18938           the actual refcounts at the time of swap (Wim)
18939
18940 2005-09-29  Andy Wingo  <wingo@pobox.com>
18941
18942         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
18943         removes signal watches previously added via
18944         gst_bus_add_signal_watch.
18945         (gst_bus_add_signal_watch): Don't return the source id, just store
18946         it on the bus if there wasn't an id already.
18947
18948         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
18949         add_signal_watch and remove_signal_watch.
18950
18951 2005-09-29  Edward Hervey  <edward@fluendo.com>
18952
18953         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
18954         Better if we actually iterate the list :)
18955
18956 2005-09-29  Wim Taymans  <wim@fluendo.com>
18957
18958         * check/gst/gstbin.c: (GST_START_TEST):
18959         Change for new bus API.
18960
18961         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
18962         (send_messages), (GST_START_TEST), (gstbus_suite):
18963         Change for new bus signal API.
18964
18965         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
18966         (gst_bus_source_prepare), (gst_bus_source_check),
18967         (gst_bus_create_watch), (gst_bus_add_watch_full),
18968         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
18969         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
18970         * gst/gstbus.h:
18971         Remove support for multiple GSources operating on different
18972         message types as it is too complex and unneeded when using
18973         signals.
18974         Added support for receiving signals from the bus.
18975
18976 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
18977
18978         * docs/libs/tmpl/gstdataprotocol.sgml:
18979         * docs/manual/advanced-dataaccess.xml:
18980         * gst/elements/gstcapsfilter.c:
18981         * gst/gstutils.c:
18982           rename filter-caps to caps property
18983
18984 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18985
18986         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18987           More robust fraction string parsing.
18988
18989         * docs/pwg/appendix-porting.xml:
18990           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
18991
18992 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
18993
18994         * gst/gstcaps.c: (gst_caps_do_simplify):
18995           Thou shalt not free a structure and then continue using it
18996           in the next loop iteration.
18997
18998         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
18999         (gst_caps_suite):
19000           Add test case for caps simplification.
19001
19002 2005-09-29  Wim Taymans  <wim@fluendo.com>
19003
19004         * check/gst/gstbin.c: (GST_START_TEST):
19005         Oops.
19006
19007 2005-09-29  Wim Taymans  <wim@fluendo.com>
19008
19009         * check/gst/gstbin.c: (GST_START_TEST):
19010         Add bus to bin.
19011
19012         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
19013         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19014         (find_element), (gst_bin_sort_iterator_next),
19015         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19016         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19017         (gst_bin_change_state), (gst_bin_dispose):
19018         A bin does not have a bus, it gets the bus from the parent.
19019
19020         * gst/gstelement.c: (gst_element_requires_clock),
19021         (gst_element_provides_clock), (gst_element_is_indexable),
19022         (gst_element_is_locked_state), (gst_element_change_state),
19023         (gst_element_set_bus_func):
19024         Small cleanups.
19025
19026         * gst/gstpipeline.c: (gst_pipeline_class_init),
19027         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
19028         The pipeline provides a bus.
19029
19030 2005-09-28  Johan Dahlin  <johan@gnome.org>
19031
19032         * gst/gstmessage.c (gst_message_parse_state_changed): Use
19033         gst_structure_get_enum instead of gst_structure_get_int
19034
19035         * gst/gststructure.c (gst_structure_get_enum): Impl.
19036
19037         * gst/gststructure.h (gst_structure_get_enum): Add
19038
19039         * docs/gst/gstreamer-sections.txt: Ditto
19040
19041         * gst/gstmessage.c (gst_message_new_state_changed): Use
19042         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
19043         which does introspection.
19044         Reviewed by Christian Schaller
19045
19046 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
19047
19048         * gst/gstinfo.c: (gst_debug_log_default):
19049           don't do dummy g_strdup()s
19050         * libs/gst/controller/gstcontroller.c:
19051         (on_object_controlled_property_changed),
19052         (gst_controlled_property_new), (gst_controller_new_valist),
19053         (gst_controller_new_list),
19054         (gst_controller_remove_properties_valist), (gst_controller_set),
19055         (gst_controller_get), (gst_controller_sync_values),
19056         (gst_controller_get_value_array), (_gst_controller_class_init),
19057         (gst_controller_get_type):
19058         * libs/gst/controller/gstcontroller.h:
19059         * libs/gst/controller/gstinterpolation.c:
19060         (gst_controlled_property_find_timed_value_node):
19061           convert // to /**/ comments
19062
19063 2005-09-28  Wim Taymans  <wim@fluendo.com>
19064
19065         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
19066         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
19067         (gst_bus_sync_signal_handler):
19068         * gst/gstbus.h:
19069         Added async-message and sync-message signals to the bus.
19070         Added helper BusFunc to emit signals for all posted messages.
19071
19072         * gst/gstmessage.c: (gst_message_type_get_name),
19073         (gst_message_type_to_quark), (gst_message_get_type):
19074         * gst/gstmessage.h:
19075         Register quarks for message names.
19076
19077 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
19078
19079         * docs/libs/gstreamer-libs-sections.txt:
19080         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
19081         (gst_controller_new_list):
19082         * libs/gst/controller/gstcontroller.h:
19083           added another constructor for language bindings
19084
19085 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19086
19087         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
19088           add another check
19089         * gst/gstbus.c:
19090           add some doc
19091         * gst/gstinfo.c: (_gst_debug_init):
19092           slightly more readable color for refcount debugging
19093
19094 2005-09-28  Wim Taymans  <wim@fluendo.com>
19095
19096         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
19097         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
19098         (find_element), (gst_bin_sort_iterator_next),
19099         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19100         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19101         (gst_bin_change_state), (gst_bin_dispose):
19102         Small doc fixes. get_clock -> provide_clock.
19103
19104         * gst/gstelement.c: (gst_element_class_init),
19105         (gst_element_provides_clock), (gst_element_provide_clock),
19106         (gst_element_get_clock), (gst_element_commit_state),
19107         (gst_element_lost_state):
19108         * gst/gstelement.h:
19109         Make get/set_clock() symetric. Add provide_clock vmethod since
19110         that is actually what this function does.
19111
19112         * gst/gstpipeline.c: (gst_pipeline_class_init),
19113         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
19114         (gst_pipeline_get_clock):
19115         get_clock -> provide_clock.
19116
19117 2005-09-28  Andy Wingo  <wingo@pobox.com>
19118
19119         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
19120         lieu of real docs...
19121
19122         * gst/elements/gstfdsrc.c: Cleaned up a bit.
19123
19124 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
19125
19126         * gst/elements/gstcapsfilter.c:
19127         * gst/elements/gstfakesink.c:
19128         * gst/elements/gstfakesrc.c:
19129         * gst/elements/gstfdsink.c:
19130         * gst/elements/gstfdsrc.c:
19131         * gst/elements/gstfilesink.c:
19132         * gst/elements/gstfilesrc.c:
19133         * gst/elements/gstidentity.c:
19134         * gst/elements/gsttee.c:
19135         * gst/elements/gsttypefindelement.c:
19136           Make element details static.
19137
19138 2005-09-28  Wim Taymans  <wim@fluendo.com>
19139
19140         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19141         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19142         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19143         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19144         (gst_bin_change_state), (gst_bin_dispose):
19145         Some documentation updates.
19146         Clean up dispose handlers.
19147
19148         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
19149         * gst/gstpad.c: (gst_pad_dispose):
19150         Clean up dispose handler.
19151
19152         * gst/gstpipeline.c: (gst_pipeline_change_state):
19153         Removed spurious UNLOCK.
19154
19155 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
19156
19157         * docs/gst/gstreamer-sections.txt:
19158         * gst/base/gstbasesrc.h:
19159         * gst/gstelement.h:
19160         * gst/gstevent.h:
19161         * gst/gstobject.h:
19162         * gst/gstpad.h:
19163         * gst/gstpipeline.c:
19164         * gst/gstpipeline.h:
19165         * gst/gstutils.h:
19166         * gst/gstxml.h:
19167           added two new functions to the docs
19168                 documents all undocumented GstXXXFlags
19169                 completed some incomplete docs 
19170
19171 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
19172
19173         * gst/gstbin.c: (gst_bin_dispose):
19174         * gst/gstelement.c: (gst_element_dispose):
19175           remove now useless and leaky resurrection code in dispose
19176         * gst/base/gstbasesrc.c: (gst_base_src_init):
19177         * gst/gstelementfactory.c: (gst_element_factory_create):
19178         * gst/gstobject.c: (gst_object_set_parent):
19179           add some debugging
19180
19181 2005-09-27  Wim Taymans  <wim@fluendo.com>
19182
19183         * docs/design/part-TODO.txt:
19184         Update TODO.
19185
19186         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19187         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19188         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19189         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19190         (gst_bin_change_state):
19191         * gst/gstelement.h:
19192         Remove element variable, we keep element info in the iterator now.
19193
19194 2005-09-27  Andy Wingo  <wingo@pobox.com>
19195
19196         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
19197         values.
19198
19199 2005-09-27  Wim Taymans  <wim@fluendo.com>
19200
19201         * check/gst/gstbin.c: (GST_START_TEST):
19202         Enable check that works now.
19203
19204         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
19205         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
19206         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
19207         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
19208         (gst_bin_change_state):
19209         * gst/gstbin.h:
19210         Redid the state change algorithm using a topological sort algo.
19211         Handles all cases correctly.
19212         Exposed iterator for state change order.
19213
19214         * gst/gstelement.h:
19215         Temp storage for state changes. Need to get rid of this soon.
19216
19217 2005-09-27  Wim Taymans  <wim@fluendo.com>
19218
19219         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
19220         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
19221         (link_fold_func), (gst_pad_proxy_setcaps):
19222         Leak fixes, the fold functions need to unref the passed object and
19223         _get_parent_*() returns ref to parent.
19224
19225 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19226
19227         * check/gst/gstbuffer.c: (test_make_writable):
19228           Plug leak in test case and fix 'make check-valgrind'
19229
19230 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19231
19232         * gst/gstbuffer.c: (gst_subbuffer_init):
19233           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
19234           works correctly in all circumstances (we could have just copied
19235           the parent buffer's readonly flag, but conceptually it seems
19236           cleaner to mark all subbuffers as read-only). (based on patch
19237           by Alessandro Decina, #314710).
19238         
19239         * check/gst/gstbuffer.c: (create_read_only_buffer),
19240         (test_make_writable), (test_subbuffer_make_writable),
19241         (gst_test_suite):
19242           Add some tests for gst_buffer_make_writable().
19243
19244 2005-09-27  Wim Taymans  <wim@fluendo.com>
19245
19246         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
19247         use gst_object_has_ancestor().
19248
19249         * gst/gstobject.c: (gst_object_has_ancestor):
19250         * gst/gstobject.h:
19251         gst_object_has_ancestor() copied from gstbin.c as it is a
19252         useful function.
19253
19254         * tests/instantiate/create.c: (create_all_elements):
19255         * tests/lat.c: (handoff_src), (handoff_sink):
19256         * tests/sched/runxml.c: (main):
19257         * tests/seeking/seeking1.c: (main):
19258         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
19259         (main):
19260         Fix compilation of some tests.
19261
19262 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
19263
19264         * gst/gsterror.h:
19265           Remove comment. GST_TYPE_G_ERROR is here to stay,
19266           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
19267           (#316961, #300610).
19268
19269 2005-09-26  Wim Taymans  <wim@fluendo.com>
19270
19271         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
19272         Added check that shows error in state change order.
19273
19274 2005-09-26  Wim Taymans  <wim@fluendo.com>
19275
19276         * gst/gstbin.c: (gst_bin_change_state):
19277         Make state change function use 3 queues again, we were
19278         adding elements in the wrong order.
19279
19280         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
19281         Some debug info,
19282
19283         * gst/gstpad.c: (gst_pad_dispose):
19284         Added some debug info first.
19285
19286 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
19287
19288         * docs/design/draft-push-pull.txt:
19289         * docs/design/part-events.txt:
19290         * docs/design/part-overview.txt:
19291         * docs/design/part-scheduling.txt:
19292           Replace all _pull_region() with _pull_range()
19293           
19294 2005-09-26  Andy Wingo  <wingo@pobox.com>
19295
19296         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
19297
19298         * check/gst-libs/controller.c: Update for controller api change.
19299
19300         * configure.ac: 
19301         * tests/Makefile.am:
19302         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
19303         over by GLib bug 118439.
19304         
19305         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
19306         routines to a function.
19307
19308         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
19309
19310         * libs/gst/controller/gsthelper.c:
19311         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
19312         (gst_object_sync_values): Renamed from sink_values. Ugh.
19313
19314         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
19315
19316         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
19317         Renamed from controller_key, as it is exported.
19318
19319         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
19320
19321 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
19322
19323         * gst/Makefile.am:
19324         * gst/gst.h:
19325         * gst/gstpad.h:
19326         * gst/gstpadtemplate.h:
19327         * gst/gstquery.c:
19328         * gst/gstquery.h:
19329         * gst/gstqueryutils.c:
19330         * gst/gstqueryutils.h:
19331           remove queryutils headers after moving the two used functions
19332           to gstquery.  also fixes build problem for gstsiddec
19333
19334 2005-09-26  Michael Smith <msmith@fluendo.com>
19335
19336         * tools/gst-launch.1.in:
19337         Correct documentation in manpage of debug syntax
19338
19339 2005-09-26  Wim Taymans  <wim@fluendo.com>
19340
19341         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
19342         (gst_base_src_is_seekable), (gst_base_src_change_state):
19343         Some more debugging info.
19344
19345 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19346
19347         * docs/gst/gstreamer-sections.txt:
19348         * gst/base/gstbasetransform.h:
19349         * gst/gstindex.h:
19350           added more docs
19351
19352 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19353
19354         * docs/gst/.cvsignore:
19355         * docs/gst/tmpl/.cvsignore:
19356         * docs/gst/tmpl/gstpipeline.sgml:
19357         * docs/gst/tmpl/gstplugin.sgml:
19358         * gst/gstpipeline.c:
19359         * gst/gstplugin.c:
19360         * gst/gstplugin.h:
19361           inlined the last two docs files
19362           removed the tmpl directory from cvs (no more conflicts here!)
19363
19364 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
19365
19366         * docs/gst/gstreamer-sections.txt:
19367         * docs/gst/tmpl/.cvsignore:
19368         * docs/gst/tmpl/gstpad.sgml:
19369         * docs/gst/tmpl/gstpadtemplate.sgml:
19370         * gst/Makefile.am:
19371         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
19372         (gst_pad_finalize), (gst_pad_set_pad_template):
19373         * gst/gstpad.h:
19374         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
19375         (gst_pad_template_class_init), (gst_pad_template_init),
19376         (gst_pad_template_dispose), (name_is_valid),
19377         (gst_static_pad_template_get), (gst_pad_template_new),
19378         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
19379         (gst_pad_template_pad_created):
19380         * gst/gstpadtemplate.h:
19381           inlined two more docs
19382           factored gstpadtemplate out of gstpad
19383
19384 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
19385
19386         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19387         (test_children_state_change_order_semi_sink):
19388           Fix test case: we can't rely on a fixed state change order when
19389           going from READY => PAUSED because the sink might commit its 
19390           new state first when the first buffer created by the source 
19391           reaches the sink before the source has finished its change state.
19392           (Test case still fails at times, see #316856, comment 5 onwards)
19393
19394 2005-09-24  Wim Taymans  <wim@fluendo.com>
19395
19396         * docs/design/part-events.txt:
19397         * docs/design/part-gstbus.txt:
19398         * docs/design/part-gstpipeline.txt:
19399         * docs/design/part-messages.txt:
19400         * docs/design/part-overview.txt:
19401         * docs/design/part-segments.txt:
19402         * gst/gstbin.c:
19403         * gst/gstbuffer.c:
19404         * gst/gstclock.c:
19405         * gst/gstelement.c:
19406         * gst/gstevent.c:
19407         * gst/gstfilter.c:
19408         * gst/gstiterator.c:
19409         Various documentation updates.
19410
19411 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19412
19413         * gst/gstclock.h:
19414           Well, that's embarassing.  Luckily we weren't using
19415           GST_CLOCK_DIFF anywhere.
19416
19417 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19418
19419         * common/gtk-doc.mak:
19420           don't fail on building XML, FC4 slave shows a bunch of doc
19421           missing bits that I don't get
19422         * gst/gstpad.c:
19423         * gst/gstpipeline.c:
19424         * gst/gststructure.c:
19425           some doc updates
19426
19427 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19428
19429         * docs/design/part-gstbin.txt:
19430         * docs/design/part-gstbus.txt:
19431         * gst/gstbus.c:
19432           Add blurb about how the bus goes into flushing mode and
19433           drops all messages when its bin goes from READY into NULL 
19434           state.
19435
19436 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19437
19438         * docs/gst/gstreamer-sections.txt:
19439         * gst/gststructure.c: (gst_structure_get_clock_time):
19440         * gst/gststructure.h:
19441           add a method to get a GstClockTime out of a structure
19442
19443 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
19444
19445         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
19446         (test_children_state_change_order_semi_sink), (gst_bin_suite):
19447           Added test to check state change order in bins (can still be made
19448           to fail here under heavy disk load; bails out with 'Push on pad
19449           fakesink:sink0, but it was not activated in push mode').
19450
19451         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
19452           Fix state change order when there is only a semi sink (#316856)
19453
19454         * gst/gstbus.c: (gst_bus_class_init):
19455           Use _class_peek_parent(), not _class_ref(); fix docs to say
19456           'default main context' instead of 'mainloop' where that is
19457           what's meant.
19458
19459         * gst/gstelement.c: (gst_element_commit_state),
19460         (gst_element_set_state):
19461           Fix typos in debug messages
19462
19463 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19464
19465         * docs/README:
19466         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
19467         * gst/gstpluginfeature.c:
19468         * gst/gstutils.c:
19469           various doc updates
19470         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19471           change an assert into an error until it gets fixed properly
19472
19473 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
19474
19475         * docs/gst/gstreamer-sections.txt:
19476         * docs/gst/tmpl/.cvsignore:
19477         * docs/gst/tmpl/gstelement.sgml:
19478         * docs/gst/tmpl/gstinfo.sgml:
19479         * docs/gst/tmpl/gstobject.sgml:
19480         * gst/gstelement.c:
19481         * gst/gstelement.h:
19482         * gst/gstinfo.c:
19483         * gst/gstinfo.h:
19484         * gst/gstobject.c: (gst_object_class_init):
19485         * gst/gstobject.h:
19486           inlined 3 more biiiig doc files and added some missing docs on the fly
19487
19488 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19489
19490         * check/gst/.cvsignore:
19491         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
19492         * gst/gstregistryxml.c: (load_plugin),
19493         (gst_registry_xml_save_plugin):
19494           put back source in registry.  add checks for find_plugin.
19495         * testsuite/states/bin.c: (assert_state), (empty_bin),
19496         (test_adding_one_element), (main):
19497         * testsuite/states/locked.c: (main):
19498           some compile/run fixes
19499
19500 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
19501
19502         * check/gst/gstvalue.c: (GST_START_TEST):
19503           fix leaks in the test itself
19504
19505 2005-09-22  Wim Taymans  <wim@fluendo.com>
19506
19507         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19508         (gst_base_sink_send_event), (gst_base_sink_peer_query),
19509         (gst_base_sink_query):
19510         Prepare for more accurate position reporting and query
19511         handling.
19512
19513         * gst/gstelement.c: (gst_element_send_event),
19514         (gst_element_set_state):
19515         Add some comment.
19516
19517 2005-09-22  Wim Taymans  <wim@fluendo.com>
19518
19519         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
19520         (gst_query_parse_segment):
19521         * gst/gstquery.h:
19522         More documentation.
19523         Add segment query for future use.
19524
19525 2005-09-22  Wim Taymans  <wim@fluendo.com>
19526
19527         * gst/gstbin.c: (gst_bin_add_func):
19528         Some more debug info.
19529
19530         * gst/gstelement.c: (gst_element_send_event):
19531         Simplify send_event
19532
19533         * gst/gstelement.h:
19534         Don't know how flags got broken.
19535
19536         * gst/gstquery.h:
19537         Added new query.
19538
19539 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19540
19541         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
19542           Add simplistic test suite for GST_TYPE_DATE serialisation and
19543           deserialisation.
19544
19545 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
19546
19547         * docs/gst/gstreamer-sections.txt:
19548         * gst/gststructure.c: (gst_structure_set_valist),
19549         (gst_structure_get_date):
19550         * gst/gststructure.h:
19551         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
19552         (gst_date_copy), (gst_value_compare_date),
19553         (gst_value_serialize_date), (gst_value_deserialize_date),
19554         (gst_value_transform_date_string),
19555         (gst_value_transform_string_date), (_gst_value_initialize):
19556         * gst/gstvalue.h:
19557           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
19558           bunch of utility functions along with a hack that checks that
19559           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
19560           is required. Part of the grand scheme in #170777.
19561
19562 2005-09-22  Andy Wingo  <wingo@pobox.com>
19563
19564         * gst/gstconfig.h.in: Psych out gtk-doc.
19565
19566         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
19567
19568         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
19569
19570         * tools/gst-inspect.c (print_element_list): Plug some
19571         inconsequential leaks.
19572
19573         * gst/gstregistry.c (gst_registry_get_default): Doc.
19574
19575         * check/gst/gstplugin.c: 
19576         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
19577         * gst/gstelementfactory.c (gst_element_factory_create): 
19578         * gst/gstindexfactory.c (gst_index_factory_create): Update for
19579         refcount changes.
19580
19581         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
19582         (gst_plugin_feature_load): Doc, don't eat refs.
19583
19584         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
19585         (gst_plugin_list_free): Doc.
19586         (gst_plugin_load_file): Doc updates.
19587
19588         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
19589         accessors returning refcounted objects, return a ref.
19590
19591         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
19592         accessor for caps. IDEMPOTENCE. Oh yes.
19593
19594 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
19595
19596         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
19597
19598         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
19599         (_gst_debug_register_funcptr):
19600           Add mutex to serialise access to the hash table with
19601           the function pointer => function name string mapping;
19602           make that hash table static scope (#316809).
19603
19604         * gst/registries/.cvsignore:
19605           Remove left-over file.
19606
19607 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19608
19609         * docs/pwg/appendix-porting.xml:
19610           And something about newsegment events and caps-on-buffers to
19611           the porting guide (feel free to improve).
19612
19613 2005-09-21  Andy Wingo  <wingo@pobox.com>
19614
19615         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
19616         data and event probes on the same pad.
19617         (test_buffer_probe_once): Test that removing probes from within
19618         the probe functions works.
19619
19620 2005-09-21  Andy Wingo  <wingo@pobox.com>
19621
19622         * check/gst/gstutils.c: New file.
19623         (test_buffer_probe_n_times): A simple buffer probe test. More to
19624         come, foolios.
19625
19626         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
19627         have-data::buffer, not have-data.
19628         (gst_pad_add_event_probe): Likewise for have-data::event.
19629         (gst_pad_add_data_probe): More docs. The part about 'resolving the
19630         peer' isn't quite right yet though.
19631         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
19632         (gst_pad_remove_data_probe): Change to take the guint handler_id
19633         as their arg, not the function+data, which is more glib-like.
19634
19635         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
19636         the signal emission to indicate if the data is a buffer or an
19637         event.
19638         (gst_pad_get_type): Initialize buffer and event quarks.
19639         (gst_pad_class_init): have-data is now a detailed signal, yes it
19640         is.
19641
19642 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
19643
19644         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
19645         * gst/gstutils.c: (gst_util_set_value_from_string),
19646         (gst_util_set_object_arg):
19647           Don't put functional code in g_return_if_fail() or
19648           g_return_val_if_fail() statements, otherwise things will 
19649           break when G_DISABLE_CHECKS is defined during compilation.
19650
19651 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19652
19653         * docs/gst/tmpl/.cvsignore:
19654         * docs/gst/tmpl/gstvalue.sgml:
19655         * gst/gstvalue.c:
19656         * gst/gstvalue.h:
19657           inlied another one and added  some obvious docs
19658
19659 2005-09-21  Wim Taymans  <wim@fluendo.com>
19660
19661         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
19662         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
19663         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
19664         (gst_fdsrc_get_property), (gst_fdsrc_create):
19665         * gst/elements/gstfdsrc.h:
19666         Properly implement fdsrc. Removed signal and timeout,
19667         better implemented somewhere else.
19668
19669 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19670
19671         * docs/gst/tmpl/.cvsignore:
19672         * docs/gst/tmpl/gstimplementsinterface.sgml:
19673         * gst/gstinterface.c:
19674           inlined more docs
19675
19676 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19677
19678         * docs/gst/gstreamer-sections.txt:
19679         * docs/gst/tmpl/.cvsignore:
19680         * docs/gst/tmpl/gstenumtypes.sgml:
19681           remove obsolete doc file
19682
19683 2005-09-21  David Schleef  <ds@schleef.org>
19684
19685         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
19686         little beer, fix a little leak.
19687
19688 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
19689
19690         * docs/gst/gstreamer-docs.sgml:
19691         * docs/gst/gstreamer-sections.txt:
19692         * docs/gst/tmpl/.cvsignore:
19693         * gst/Makefile.am:
19694         * gst/gst.h:
19695         * gst/gstbin.c:
19696         * gst/gstelement.h:
19697         * gst/gstindex.c: (gst_index_class_init):
19698         * gst/gstindex.h:
19699         * gst/gstindexfactory.c: (gst_index_factory_get_type),
19700         (gst_index_factory_class_init), (gst_index_factory_init),
19701         (gst_index_factory_finalize), (gst_index_factory_new),
19702         (gst_index_factory_destroy), (gst_index_factory_find),
19703         (gst_index_factory_create), (gst_index_factory_make):
19704         * gst/gstindexfactory.h:
19705         * gst/gstpluginfeature.c:
19706         * gst/gstpluginfeature.h:
19707         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19708           more docs inlined, splitted gstindex.{c,h}
19709
19710 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19711
19712         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19713           fix a leak
19714
19715 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19716
19717         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19718           Set sync to FALSE by default.
19719
19720 2005-09-20  Wim Taymans  <wim@fluendo.com>
19721
19722         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19723         (gst_base_sink_init):
19724         Make sync property settable from subclass.
19725
19726         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
19727         (gst_fake_sink_change_state):
19728         Set sync to FALSE by default.
19729
19730 2005-09-20  Wim Taymans  <wim@fluendo.com>
19731
19732         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
19733         * tools/gst-launch.c: (main):
19734         The timeout handler should have lower priority than the source
19735         so we don't timeout before popping a message with 0 timeout.
19736         Dump error messages after failed state change.
19737
19738 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
19739
19740         * tools/gst-inspect.c: (print_element_properties_info):
19741           Fix two typos.
19742
19743 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19744
19745         * check/gst/gstevent.c:
19746         * gst/elements/gstfakesink.c:
19747         * gst/elements/gstfakesink.h:
19748           remove the sync property from fakesink.
19749           has the side effect of setting sync TRUE
19750           for fakesink, which is a change.  Anyone who knows how
19751           to fix this nicely in a GObject-y way, feel free.
19752
19753 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19754
19755         * docs/gst/gstreamer-docs.sgml:
19756           remove probe refsection
19757
19758 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19759
19760         * check/Makefile.am:
19761           disable valgrinding the controller test again
19762         * docs/gst/gstreamer-sections.txt:
19763           update for api-changes
19764
19765 2005-09-20  Wim Taymans  <wim@fluendo.com>
19766
19767         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
19768         (gst_base_sink_set_property), (gst_base_sink_get_property),
19769         (gst_base_sink_do_sync):
19770         * gst/base/gstbasesink.h:
19771         Added sync property to basesink to disable clock sync.
19772
19773 2005-09-20  Andy Wingo  <wingo@pobox.com>
19774
19775         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
19776         eating the caller's refcount.
19777
19778         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
19779         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
19780         refcount.
19781
19782         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
19783         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
19784         of GLib 2.8 public, so we can know which refcount to check in
19785         tests.
19786
19787         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
19788         (gst_object_init): Only set the gst refcount if we're going ahead
19789         with the refcount hack.
19790
19791 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19792
19793         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19794         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
19795           more leaks plumbed, added more debug-logging
19796         * gst/gstmacros.h:
19797           whitespace fix
19798
19799 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19800
19801         * gst/gstmessage.c:
19802           remove include of gstmemchunk.h
19803
19804 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19805
19806         * gst/gstclock.c: (_gst_clock_id_free):
19807           Commit from the Political Party For More Atomic CVS Commits,
19808           so that people don't waste too much of their day fishing
19809           out obvious leaks out of massive commits.
19810           Oh, and fix a pretty damn obvious leak in the memchunk
19811           removal code.
19812
19813 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
19814
19815         * check/Makefile.am:
19816         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
19817           plug mem-leak, re-add to valgrindable tests
19818
19819 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
19820
19821         * gst/gstplugin.h:
19822           unbreak the build for those who have chronic arthritis
19823           and typing "make check" is just too taxing on the hands
19824
19825 2005-09-20  Andy Wingo  <wingo@pobox.com>
19826
19827         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
19828         really want it out, you should fix plugins at the same time.
19829
19830 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
19831
19832         * configure.ac:
19833         * docs/gst/gstreamer-sections.txt:
19834         * gst/gstobject.c:
19835           added missing symbols to api docs
19836           disable ref-count hack if we have glib >= 2.8
19837
19838 2005-09-19  David Schleef  <ds@schleef.org>
19839
19840         * docs/gst/Makefile.am: Ignore a few more internal headers
19841         * docs/gst/gstreamer-docs.sgml: Remove old sections
19842         * docs/gst/gstreamer-sections.txt: Remove old sections
19843         * docs/gst/tmpl/gstobject.sgml: update
19844         * docs/gst/tmpl/gstplugin.sgml: update
19845         * docs/gst/tmpl/gstpluginfeature.sgml: update
19846         * docs/random/ds/0.9-suggested-changes: update.
19847         * gst/Makefile.am: remove memchunk and trashstack, since they're
19848           not used.
19849         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
19850         * gst/gst.h: don't include some headers
19851         * gst/gstchildproxy.c: add gstmarshal.h
19852         * gst/gstclock.c: Don't use memchunks
19853         * gst/gstminiobject.c: Add some docs
19854         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
19855         * gst/gstobject.h: same
19856         * gst/gstplugin.c: include gstmacros.h
19857         * gst/gstplugin.h: don't include gstmacros.h, since it's private
19858         * gst/gstquery.c: don't use memchunks
19859         * gst/gstregistry.c: rename gst_registry_deinit()
19860         * gst/gstregistry.h: same
19861
19862 2005-09-19  David Schleef  <ds@schleef.org>
19863
19864         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
19865         * docs/libs/gstreamer-libs-sections.txt:
19866         * docs/libs/tmpl/gstgetbits.sgml:
19867         * docs/libs/tmpl/gstputbits.sgml:
19868
19869 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
19870
19871         * win32/gstenumtypes.c:
19872         * win32/gstenumtypes.h:
19873           Update.
19874
19875 2005-09-19  Wim Taymans  <wim@fluendo.com>
19876
19877         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
19878         Automatically PAUSE and RESUME a pipeline when a flushing seek
19879         is performed.
19880
19881 2005-09-19  Andy Wingo  <wingo@pobox.com>
19882
19883         * gst/gstregistry.h: Spacing fixen.
19884
19885 2005-09-19  Wim Taymans  <wim@fluendo.com>
19886
19887         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
19888         Handle state change failure more correctly.
19889
19890 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19891
19892         * check/Makefile.am:
19893         * check/pipelines/cleanup.c: (run_pipeline):
19894         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19895         (GST_START_TEST):
19896           enable cleanup again after fixing the leak
19897         * docs/README:
19898           some more info on docs
19899
19900 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19901
19902         * check/Makefile.am:
19903           re-enable tests now that leaks are plugged
19904         * check/gst/gst.c:
19905         * check/gst/gstbin.c:
19906         * check/gst/gstpipeline.c:
19907           add some more tests while fixing leaks
19908         * common/check.mak:
19909           make sure binaries are uptodate when valgrinding/gdbing
19910         * gst/gst.c:
19911         * gst/gstelementfactory.c:
19912           remove a ref too many, and add a FIXME for when we get
19913           round to disposing of classes
19914         * gst/gstplugin.c:
19915           fix the refcounting when loading a plugin from a file and
19916           the code pretends that the pointer is the same even though
19917           of course it can change
19918         * gst/gstpluginfeature.c:
19919           unref plugins marked cached (a bit confusing as a name)
19920           as the docs state should be done
19921           various doc additions to explain refcounting
19922         * gst/gstregistry.c:
19923         * gst/gstregistryxml.c:
19924           debugging
19925
19926 2005-09-19  Wim Taymans  <wim@fluendo.com>
19927
19928         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
19929         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
19930         (send_messages), (GST_START_TEST), (gstbus_suite):
19931         * check/gst/gstpipeline.c: (GST_START_TEST):
19932         * check/pipelines/cleanup.c: (run_pipeline):
19933         * check/pipelines/simple_launch_lines.c: (run_pipeline),
19934         (GST_START_TEST):
19935         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
19936         (gst_bus_source_check), (gst_bus_source_dispatch),
19937         (gst_bus_create_watch), (gst_bus_add_watch_full),
19938         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
19939         * gst/gstbus.h:
19940         * tools/gst-launch.c: (event_loop):
19941         * tools/gst-md5sum.c: (event_loop):
19942         GstBusHandler -> GstBusFunc, return value has the same meaning as
19943         any other GSource (FALSE == remove source).
19944         _add_watch() and _add_watch_full() now take a MessageType mask to
19945         only handle specific types of messages.
19946         _poll() returns the GstMessage instead of the message type to avoid
19947         race conditions.
19948         _have_pending() takes a MessageType mask now too.
19949         Added testsuite for multiple bus watches.
19950         Fix testsuites and applications for new bus API.
19951
19952 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
19953
19954         * check/Makefile.am:
19955           mark a bunch of the tests as to fix until we fix them
19956
19957 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19958
19959         * common/check.mak:
19960           use GST_PLUGIN settings for valgrind tests as well, so we're
19961           valgrinding the correct thing
19962         * gst/gst.c: (init_post):
19963           plug another leak
19964
19965 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19966
19967         * gst/gst.c: (init_post), (gst_deinit):
19968         * gst/gstelementfactory.c: (gst_element_factory_class_init),
19969         (gst_element_factory_finalize), (gst_element_factory_cleanup):
19970         * gst/gstindex.c: (gst_index_factory_class_init),
19971         (gst_index_factory_finalize):
19972         * gst/gstobject.c: (gst_object_dispose):
19973         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
19974         (gst_plugin_load_file), (gst_plugin_desc_free):
19975         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
19976         (gst_plugin_feature_finalize):
19977         * gst/gstregistry.c: (gst_registry_class_init),
19978         (gst_registry_init), (gst_registry_finalize),
19979         (gst_registry_get_default), (gst_registry_deinit):
19980         * gst/gstregistry.h:
19981         * gst/gstregistryxml.c: (load_feature), (load_plugin):
19982           various cleanups and memleak plugging.  make valgrind is happy now.
19983
19984 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
19985
19986         * common/check.mak:
19987           add a check-valgrind target
19988
19989 2005-09-18  David Schleef  <ds@schleef.org>
19990
19991         * tools/gst-inspect.c: Revert the GOption code.
19992
19993 2005-09-17  David Schleef  <ds@schleef.org>
19994
19995         * check/Makefile.am: Fix environment variables.
19996         * check/gst/gstplugin.c: Fix for API changes.
19997         * tools/gst-inspect.c: Fix for API changes.
19998         * tools/gst-xmlinspect.c: Fix for API changes.
19999         * gst/gstelementfactory.c:
20000         * gst/gstplugin.c:
20001         * gst/gstplugin.h:
20002         * gst/gstpluginfeature.c:
20003         * gst/gstpluginfeature.h:
20004         * gst/gstregistry.c:
20005         * gst/gstregistry.h:
20006         * gst/gstregistryxml.c:
20007         * gst/gsttypefind.c:
20008         * gst/gsttypefindfactory.c:
20009         * gst/indexers/gstfileindex.c:
20010         * gst/indexers/gstmemindex.c:
20011         * gst/schedulers/Makefile.am:
20012           Change registry to keep track of both plugins and features,
20013           removing the feature tracking from plugins themselves.
20014
20015 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20016
20017         * check/Makefile.am:
20018         * tools/gst-register.1.in:
20019           remove gst-register
20020
20021 2005-09-15  David Schleef  <ds@schleef.org>
20022
20023         * check/gst/gstplugin.c:
20024         * gst/gstelementfactory.c:
20025         * gst/gstplugin.c:
20026         * gst/gstpluginfeature.c:
20027         * gst/gstregistry.c:
20028           Getting tired of debugging.  Disabled all the unreffing of
20029           plugins and features, which fixes the segfaults, but of
20030           course leaks like crazy.  At least playbin works.
20031
20032 2005-09-15  David Schleef  <ds@schleef.org>
20033
20034         * check/gst/gstplugin.c: (register_check_elements),
20035         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
20036         More testing
20037         * gst/elements/gsttypefindelement.c: Fix refcounting.
20038         * gst/gsttypefind.c:
20039         * gst/gsttypefindfactory.c:
20040         * gst/gsttypefindfactory.h:
20041
20042 2005-09-15  David Schleef  <ds@schleef.org>
20043
20044         * gst/gstindex.c: get refcounting correct.
20045         * gst/gstregistry.c: Handle the case where a feature/plugin is
20046           not found.
20047
20048 2005-09-15  David Schleef  <ds@schleef.org>
20049
20050         * check/Makefile.am:
20051         * check/gst/gstplugin.c: Add test
20052         * gst/gstplugin.c: Fix problems noticed by testsuite
20053         * gst/gstplugin.h:
20054         * gst/gstregistry.c: 
20055         * gst/gstregistry.h:
20056
20057 2005-09-15  David Schleef  <ds@schleef.org>
20058
20059         * gst/gstplugin.c: Implement semi-decent recounting and locking
20060           in plugins and plugin features.
20061         * gst/gstplugin.h:
20062         * gst/gstpluginfeature.c:
20063         * gst/gstpluginfeature.h:
20064         * gst/gstregistry.c:
20065
20066 2005-09-15  Michael Smith <msmith@fluendo.com>
20067
20068         * gst/gstregistry.c: (gst_registry_get_feature_list):
20069           Implement this. Makes oggdemux work; decodebin still broken.
20070
20071 2005-09-14  David Schleef  <ds@schleef.org>
20072
20073         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
20074           #316076)
20075         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
20076         * gst/check/Makefile.am:
20077         * libs/gst/controller/Makefile.am:
20078         * libs/gst/dataprotocol/Makefile.am:
20079
20080 2005-09-14  David Schleef  <ds@schleef.org>
20081
20082         * configure.ac: Remove getbits library.  Nothing uses it, and
20083           it should be in something like liboil if someone did want
20084           to use it.
20085         * libs/gst/Makefile.am:
20086         * libs/gst/getbits/Makefile.am:
20087         * libs/gst/getbits/gbtest.c:
20088         * libs/gst/getbits/getbits.c:
20089         * libs/gst/getbits/getbits.h:
20090         * libs/gst/getbits/gstgetbits_generic.c:
20091         * libs/gst/getbits/gstgetbits_i386.s:
20092         * libs/gst/getbits/gstgetbits_inl.h:
20093
20094 2005-09-14  David Schleef  <ds@schleef.org>
20095
20096         * gst/Makefile.am: Dist glib-compat.h
20097
20098 2005-09-14  David Schleef  <ds@schleef.org>
20099
20100         * configure.ac: Remove gst/registries, since it's no longer used.
20101         * gst/registries/Makefile.am:
20102         * gst/registries/gstlibxmlregistry.c:
20103         * gst/registries/gstlibxmlregistry.h:
20104         * gst/registries/gstxmlregistry.c:
20105         * gst/registries/gstxmlregistry.h:
20106         * gst/registries/registrytest.c:
20107
20108 2005-09-14  David Schleef  <ds@schleef.org>
20109
20110         * gst/glib-compat.h:
20111         * gst/gstregistryxml.c:
20112           Convergence is near.  Seriously.
20113
20114 2005-09-14  David Schleef  <ds@schleef.org>
20115
20116         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20117         * gst/glib-compat.h:
20118           Attempt #4 to appease the buildbots.
20119
20120 2005-09-14  David Schleef  <ds@schleef.org>
20121
20122         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20123           Attempt #3.
20124
20125 2005-09-14  David Schleef  <ds@schleef.org>
20126
20127         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20128         Attempt #2.
20129
20130 2005-09-14  David Schleef  <ds@schleef.org>
20131
20132         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
20133           the new functions.
20134
20135 2005-09-14  David Schleef  <ds@schleef.org>
20136
20137         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
20138         * gst/glib-compat.h: Add some functions that are in newer versions
20139           of glib than we care to require.
20140         * gst/gstregistryxml.c: Use them.
20141
20142 2005-09-14  David Schleef  <ds@schleef.org>
20143
20144         * po/POTFILES.in: remove gst-register.c
20145
20146 2005-09-14  David Schleef  <ds@schleef.org>
20147
20148         * docs/gst/gstreamer-docs.sgml:
20149         * docs/gst/gstreamer-sections.txt:
20150         * docs/gst/gstreamer.types:
20151         * docs/gst/tmpl/gstelement.sgml:
20152         * docs/gst/tmpl/gstplugin.sgml:
20153         * docs/gst/tmpl/gstpluginfeature.sgml:
20154           Documentation updates for registry changes.
20155
20156 2005-09-14  David Schleef  <ds@schleef.org>
20157
20158         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
20159           because we don't require glib-2.8.
20160
20161 2005-09-14  David Schleef  <ds@schleef.org>
20162
20163         * gst/gstregistryxml.c: Added.  Essentially moved out of the
20164           registries directory.
20165
20166 2005-09-14  David Schleef  <ds@schleef.org>
20167
20168         * check/Makefile.am:
20169         * check/generic/states.c:
20170         * gst/Makefile.am:
20171         * gst/gst.c:
20172         * gst/gst.h:
20173         * gst/gst_private.h:
20174         * gst/gstelementfactory.c:
20175         * gst/gstindex.c:
20176         * gst/gstinfo.c:
20177         * gst/gstplugin.c:
20178         * gst/gstplugin.h:
20179         * gst/gstpluginfeature.c:
20180         * gst/gstpluginfeature.h:
20181         * gst/gstregistry.c:
20182         * gst/gstregistry.h:
20183         * gst/gstregistrypool.c: remove
20184         * gst/gstregistrypool.h: remove
20185         * gst/gsttypefind.c:
20186         * gst/gsttypefindfactory.c:
20187         * gst/gsturi.c:
20188         * tools/Makefile.am:
20189         * tools/gst-compprep.c:
20190         * tools/gst-inspect.c:
20191         * tools/gst-register.c: remove
20192         * tools/gst-xmlinspect.c:
20193           Registry rewrite.  Changes registry from being a file created
20194           by a tool into a simple cache file created automatically by 
20195           libgstreamer.  Removed gst-register (because it's no longer
20196           needed).  Remove registry pools, because we only have one
20197           registry implementation (XML).  Fix up other subsystems as
20198           necessary.
20199
20200 2005-09-13  Michael Smith <msmith@fluendo.com>
20201
20202         * gst/gstconfig.h.in:
20203           Don't Use windows linking attributes for MinGW. Fixes #316157
20204
20205 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20206
20207         * gst/gstutils.c: (set_state_async_thread_func),
20208         (gst_element_set_state_async):
20209           Apparently people think it's better if this function doesn't
20210           try to set the state to whatever state was asked for on the first
20211           call to this function for any object.  Seriously.
20212
20213 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20214
20215         * check/gst/gstpipeline.c: (GST_START_TEST):
20216         * docs/gst/gstreamer-sections.txt:
20217         * gst/gstutils.c: (set_state_async_thread_func),
20218         (gst_element_set_state_async):
20219         * gst/gstutils.h:
20220           add a "gst_element_set_state_async" method that
20221           sets the state and starts a thread to make sure the state
20222           change completes as best as it can
20223
20224 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20225
20226         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
20227           codify design+behaviour in testsuite after discussion
20228
20229 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20230
20231         * docs/gst/tmpl/gstelement.sgml:
20232         * docs/manual/appendix-quotes.xml:
20233           add a quote
20234         * gst/gstelement.c: (gst_element_set_state):
20235           add some debug
20236
20237 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
20238
20239         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20240         (gst_base_transform_prepare_output_buf),
20241         (gst_base_transform_handle_buffer):
20242         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
20243         (gst_capsfilter_prepare_buf):
20244           Remove the requirement for sub-classes to call the parent
20245           implementation of prepare_output_buffer with a wrapper function.
20246           
20247         * gst/gsttaglist.h:
20248         * gst/gsttagsetter.h:
20249           Fix #define wrapper
20250
20251 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
20252
20253         * docs/gst/gstreamer-sections.txt:
20254           more doc cleanups
20255
20256 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20257
20258         * docs/gst/gstreamer-sections.txt:
20259         * docs/gst/tmpl/gstelement.sgml:
20260         * docs/gst/tmpl/gstplugin.sgml:
20261         * gst/gstminiobject.c:
20262         * gst/gstvalue.h:
20263           docs now stop throwing warnings
20264
20265 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20266
20267         * docs/gst/gstreamer-sections.txt:
20268         * docs/gst/gstreamer.types:
20269         * docs/gst/tmpl/gstpad.sgml:
20270         * docs/gst/tmpl/gsttypes.sgml:
20271         * gst/base/gstadapter.h:
20272         * gst/base/gstbasesink.h:
20273         * gst/base/gstbasesrc.h:
20274         * gst/gstbin.h:
20275         * gst/gstbuffer.h:
20276         * gst/gstbus.h:
20277         * gst/gstcaps.h:
20278         * gst/gstclock.h:
20279         * gst/gstelement.h:
20280         * gst/gstevent.h:
20281         * gst/gstmessage.h:
20282         * gst/gstpad.h:
20283         * gst/gststructure.c:
20284         * gst/registries/gstlibxmlregistry.h:
20285           various documentation fixes
20286
20287 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20288
20289         * docs/gst/gstreamer-sections.txt:
20290         * docs/gst/tmpl/gstvalue.sgml:
20291           rearrange gstvalue section
20292         * gst/gstutils.c: (gst_element_state_get_name):
20293           NONE -> VOID
20294         * gst/gstvalue.c: (_gst_value_initialize):
20295         * gst/gstvalue.h:
20296           doc updates
20297
20298 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
20299
20300         * check/gst-libs/controller.c:
20301           Header include fix.
20302         * gst/base/gstbasetransform.c:
20303         (gst_base_transform_default_prepare_buf),
20304         (gst_base_transform_handle_buffer):
20305         * gst/base/gstbasetransform.h:
20306           Some more basetransform changes and fixes to enable sub-classes
20307           that modify buffer metadata only.
20308         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
20309         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
20310         (gst_capsfilter_prepare_buf):
20311           If the output pad has fixed allowed caps and input buffers 
20312           don't have any, set the fixed caps on outgoing buffers.
20313
20314 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
20315         * check/elements/identity.c: (GST_START_TEST):
20316           Make the error a little clearer when the test fails because
20317           identity made a copy of the buffer.
20318         * docs/gst/gstreamer-sections.txt:
20319           New symbols in gstbasetransform.h
20320         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20321         (gst_base_transform_init), (gst_base_transform_transform_size),
20322         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
20323         (gst_base_transform_default_prepare_buf),
20324         (gst_base_transform_get_unit_size),
20325         (gst_base_transform_buffer_alloc),
20326         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
20327         (gst_base_transform_change_state),
20328         (gst_base_transform_set_passthrough),
20329         (gst_base_transform_set_in_place),
20330         (gst_base_transform_is_in_place):
20331         * gst/base/gstbasetransform.h:
20332           Change BaseTransform to separate in_place operate from same_caps
20333           output. in_place implies that the element can perform the transform
20334           on incoming buffers in-place, even if the caps on the output are
20335           different.
20336           Sub-class elements can now implement special buffer allocation
20337           methods for outgoing buffers if they wish to.
20338           Big documentation addition.
20339         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
20340         * gst/elements/gstelements.c:
20341           Changes for basetransform modifications.
20342         * gst/elements/Makefile.am:
20343         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
20344           Compile fix. Extra debug output.
20345
20346 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20347
20348         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
20349         (gst_pad_suite):
20350           add tests for valid pad naming
20351         * gst/check/gstcheck.c: (gst_check_log_message_func),
20352         (gst_check_log_critical_func):
20353           add ASSERT_WARNING
20354           remove printing of code, it is fragile when the code contains
20355           % and the line number is enough info
20356         * gst/check/gstcheck.h:
20357         * gst/gstpad.c: (gst_pad_template_new):
20358           fix memleaks
20359
20360 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20361
20362         * configure.ac:
20363           say what CHECK flags we use
20364         * docs/libs/gstreamer-libs.types:
20365         * libs/gst/controller/Makefile.am:
20366         * libs/gst/controller/gst-controller.c:
20367         * libs/gst/controller/gst-controller.h:
20368         * libs/gst/controller/gst-helper.c:
20369         * libs/gst/controller/gst-interpolation.c:
20370         * libs/gst/controller/gstcontroller.c:
20371         * libs/gst/controller/gsthelper.c:
20372         * libs/gst/controller/gstinterpolation.c:
20373         * tools/gst-inspect.c: (print_plugin_info):
20374           we don't use dashes in header names
20375
20376 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
20377
20378         * check/Makefile.am:
20379         * check/gst/.cvsignore:
20380         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
20381         (gst_pipeline_suite), (main):
20382           adding a test for pipelines and state changes
20383         * gst/gstutils.c: (get_state_func):
20384           add some debugging
20385         * gstreamer.spec.in:
20386           fix up spec file
20387
20388 2005-09-08  Michael Smith <msmith@fluendo.com>
20389
20390         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
20391         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
20392         (gst_file_src_is_seekable), (gst_file_src_get_size),
20393         (gst_file_src_start):
20394         * gst/elements/gstfilesrc.h:
20395           Various fixes for unseekable, unmmapable, and non-normal files, so
20396           that fallback to read() rather than mmap() works.
20397         * gst/gstevent.c: (gst_event_new_newsegment):
20398           Allow newsegment events with segment_start == segment_end, as will
20399           correctly happen if you use filesrc on a zero-size file, for
20400           example.
20401
20402 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20403
20404         * gst/gstplugin.c: (gst_plugin_load_file):
20405           Call g_module_close when we don't load the module
20406
20407         * gst/registries/gstlibxmlregistry.c:
20408         (gst_xml_registry_get_property):
20409           Port leak fix from 0.8
20410
20411 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20412
20413         * docs/gst/gstreamer-docs.sgml:
20414         * docs/gst/tmpl/.cvsignore:
20415         * docs/gst/tmpl/gsttrace.sgml:
20416         * docs/gst/tmpl/gsttrashstack.sgml:
20417         * gst/Makefile.am:
20418         * gst/gst.h:
20419         * gst/gstelement.h:
20420         * gst/gstevent.h:
20421         * gst/gstmessage.c:
20422         * gst/gstmessage.h:
20423         * gst/gsttag.c:
20424         * gst/gsttag.h:
20425         * gst/gsttaginterface.c:
20426         * gst/gsttaginterface.h:
20427         * gst/gsttaglist.c:
20428         * gst/gsttaglist.h:
20429         * gst/gsttagsetter.c:
20430         * gst/gsttagsetter.h:
20431         * gst/gsttrace.c:
20432         * gst/gsttrace.h:
20433         * gst/gsttrashstack.c:
20434           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
20435           inlined docs for gsttrace, gsttrashstack
20436
20437 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20438
20439         * gst/Makefile.am:
20440         * gst/elements/gstbufferstore.h:
20441         * gst/elements/gsttypefindelement.c:
20442         * gst/elements/gsttypefindelement.h:
20443         * gst/gst.h:
20444         * gst/gsttypefind.c:
20445         * gst/gsttypefind.h:
20446         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
20447         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
20448         (gst_type_find_factory_dispose),
20449         (gst_type_find_factory_unload_thyself),
20450         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
20451         (gst_type_find_factory_get_caps),
20452         (gst_type_find_factory_get_extensions),
20453         (gst_type_find_factory_call_function):
20454         * gst/gsttypefindfactory.h:
20455         * gst/registries/gstlibxmlregistry.c:
20456         * gst/registries/gstxmlregistry.c:
20457           splitted gsttypefind into gsttypefind, gsttypefindfactory
20458
20459 2005-09-07  Andy Wingo  <wingo@pobox.com>
20460
20461         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
20462         condition whereby the pad's task function is entered before the
20463         pad_mode variable was set.
20464
20465 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
20466
20467         * gst/gstpad.c: (gst_pad_alloc_buffer):
20468           Catch misbehaving pad_alloc functions that don't
20469           set up caps and do it for them.
20470
20471 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
20472
20473         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20474           test for pipe!=NULL
20475         * docs/gst/tmpl/.cvsignore:
20476         * docs/gst/tmpl/gstmemchunk.sgml:
20477         * docs/gst/tmpl/gstparse.sgml:
20478         * docs/gst/tmpl/gsttaglist.sgml:
20479         * docs/gst/tmpl/gsttagsetter.sgml:
20480         * docs/gst/tmpl/gsttypefind.sgml:
20481         * docs/gst/tmpl/gsttypefindfactory.sgml:
20482         * gst/gstmemchunk.c:
20483         * gst/gstparse.c:
20484         * gst/gsttag.c:
20485         * gst/gsttaginterface.c:
20486         * gst/gsttypefind.c:
20487         * gst/gsttypefind.h:
20488           inlined more docs
20489
20490 === release 0.9.2 ===
20491
20492 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
20493
20494         * NEWS:
20495         * RELEASE:
20496         * configure.ac:
20497           releasing 0.9.2, "South"
20498
20499 2005-09-05  Andy Wingo  <wingo@pobox.com>
20500
20501         * gst/registries/gstxmlregistry.h:
20502         * gst/registries/gstxmlregistry.c: Um... resurrect...
20503         
20504         * gst/registries/gstxmlregistry.h:
20505         * gst/registries/gstxmlregistry.c: and update to newer API.
20506         Incidentally they should be a bit faster now that they don't have
20507         to parse the caps.
20508         
20509 2005-09-05  Andy Wingo  <wingo@pobox.com>
20510
20511         * gst/registries/gstxmlregistry.h:
20512         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
20513         replaced by the libxml registry a while back
20514
20515 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20516
20517         * docs/gst/tmpl/gstplugin.sgml:
20518         * gst/elements/gstelements.c:
20519         * gst/gst.c:
20520         * gst/gstplugin.c: (gst_plugin_register_func),
20521         (gst_plugin_desc_copy), (gst_plugin_desc_free),
20522         (gst_plugin_get_source):
20523         * gst/gstplugin.h:
20524         * gst/registries/gstlibxmlregistry.c: (load_plugin),
20525         (gst_xml_registry_save_plugin):
20526         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
20527         (gst_xml_registry_save_plugin):
20528         * tools/gst-inspect.c: (print_plugin_info):
20529           add a "source" plugin description field, to represent the source
20530           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
20531           will set it to PACKAGE, which is automake's idea of the name of
20532           the source project.
20533
20534 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
20535
20536         * Makefile.am:
20537         * autogen.sh:
20538         * configure.ac:
20539         * docs/Makefile.am:
20540         * docs/faq/Makefile.am:
20541         * docs/gst/tmpl/gstelement.sgml:
20542         * docs/gst/tmpl/gsttypes.sgml:
20543         * docs/htmlinstall.mak:
20544         * docs/manual/Makefile.am:
20545         * docs/pwg/Makefile.am:
20546           reorganize doc build a little
20547           split out docbook and gtk-doc stuff
20548           have two separate --enable's and enable them through autogen
20549           but disable by default in configure (to be similar to other
20550           projects)
20551         * gstreamer.spec.in:
20552           clean up docs install
20553         * po/af.po:
20554         * po/az.po:
20555         * po/ca.po:
20556         * po/cs.po:
20557         * po/de.po:
20558         * po/en_GB.po:
20559         * po/fr.po:
20560         * po/it.po:
20561         * po/nb.po:
20562         * po/nl.po:
20563         * po/ru.po:
20564         * po/sq.po:
20565         * po/sr.po:
20566         * po/sv.po:
20567         * po/tr.po:
20568         * po/uk.po:
20569         * po/vi.po:
20570           translation updates
20571
20572 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
20573
20574         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
20575           Add comment.
20576           
20577         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
20578         (gst_fake_sink_change_state):
20579           Make state change function thread-safe.
20580           
20581         * gst/gstpad.c: (gst_pad_alloc_buffer):
20582           Set offset on generic buffer allocated by fallback.
20583
20584 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
20585
20586         * docs/gst/gstreamer-sections.txt:
20587         * docs/gst/tmpl/gstelement.sgml:
20588         * gst/gstpad.c:
20589         * libs/gst/controller/gst-controller.c:
20590         (gst_controlled_property_set_interpolation_mode),
20591         (gst_controlled_property_new),
20592         (gst_controller_find_controlled_property):
20593          run the wingo-magic script against the docs
20594
20595 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20596
20597         * docs/gst/gstreamer-docs.sgml:
20598         * docs/gst/gstreamer-sections.txt:
20599         * docs/gst/tmpl/.cvsignore:
20600         * docs/gst/tmpl/gstelementdetails.sgml:
20601         * docs/gst/tmpl/gstelementfactory.sgml:
20602         * gst/gst.c:
20603         * gst/gstbus.c:
20604         * gst/gstelementfactory.c:
20605         * gst/gstelementfactory.h:
20606           merged elementdetails docs into elementfactory docs
20607           inlined both
20608
20609 2005-09-02  Andy Wingo  <wingo@pobox.com>
20610
20611         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
20612         consider this enum an enum and not a flags.
20613
20614 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
20615
20616         * docs/gst/gstreamer-docs.sgml:
20617         * docs/gst/tmpl/.cvsignore:
20618         * docs/gst/tmpl/gstghostpad.sgml:
20619         * docs/gst/tmpl/gstiterator.sgml:
20620         * docs/gst/tmpl/gstmacros.sgml:
20621         * docs/gst/tmpl/gstrealpad.sgml:
20622         * docs/gst/tmpl/gstregistry.sgml:
20623         * docs/gst/tmpl/gstregistrypool.sgml:
20624         * docs/gst/tmpl/gststructure.sgml:
20625         * docs/gst/tmpl/gstsystemclock.sgml:
20626         * docs/gst/tmpl/gsttrace.sgml:
20627         * gst/gstghostpad.c:
20628         * gst/gstmacros.h:
20629         * gst/gstmemchunk.c:
20630         * gst/gstmemchunk.h:
20631         * gst/gstqueue.c:
20632         * gst/gstregistry.c:
20633         * gst/gstregistrypool.c:
20634         * gst/gststructure.c:
20635         * gst/gstsystemclock.c:
20636           more docs inlined
20637
20638 2005-09-02  Andy Wingo  <wingo@pobox.com>
20639
20640         * gst/gstelement.h (GstState): Renamed from GstElementState,
20641         changed to be a normal enum instead of flags.
20642         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
20643         munged to be GST_STATE_CHANGE_*.
20644         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
20645         work with the new state representation.
20646         (GstStateChange): New enumeration of possible state transitions.
20647         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
20648         (GstElementClass::change_state): Pass the GstStateChange along as
20649         an argument. Helps language bindings, so they don't have to use
20650         tricky lock-needing macros like GST_STATE_CHANGE ().
20651
20652         * scripts/update-states (file): New script. Run it on a file to
20653         update it for state naming and API changes. Updates files in
20654         place.
20655
20656         * All files updated for the new API.
20657
20658 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
20659
20660         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
20661         * gst/gstutils.c: (gst_util_set_value_from_string),
20662         (gst_util_set_object_arg):
20663           fix a bunch of unchecked return values
20664         * tools/gst-complete.c: (main):
20665         * gstreamer.spec.in:
20666           clean up a little
20667
20668 2005-09-01  Wim Taymans  <wim@fluendo.com>
20669
20670         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20671         (gst_base_sink_event), (gst_base_sink_do_sync),
20672         (gst_base_sink_handle_event):
20673         * gst/base/gstbasesink.h:
20674         Handle newsegments more correctly.
20675
20676         * gst/gstbus.c:
20677         Fix docs.
20678
20679         * gst/gstevent.c: (gst_event_new_newsegment):
20680         A newsegment cannot have a start_time of -1
20681
20682 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
20683
20684         * win32/gstenumtypes.c:
20685         * win32/gstenumtypes.h:
20686           Update
20687
20688 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20689
20690         * libs/gst/controller/gst-controller.c:
20691         (gst_controlled_property_set_interpolation_mode),
20692         (gst_controlled_property_new):
20693          fixed boolean again
20694
20695 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
20696
20697         * docs/faq/gst-uninstalled:
20698           add -good
20699         * gst/gstevent.c:
20700         * gst/gstevent.h:
20701           remove wrong docs
20702         * gst/gstutils.c: (gst_element_link_filtered):
20703         * gst/gstutils.h:
20704           add gst_element_link_filtered
20705
20706 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20707
20708         * docs/gst/gstreamer-docs.sgml:
20709         * docs/gst/gstreamer-sections.txt:
20710         * docs/gst/tmpl/.cvsignore:
20711         * docs/gst/tmpl/gsterror.sgml:
20712         * docs/gst/tmpl/gstfilter.sgml:
20713         * docs/gst/tmpl/gsturihandler.sgml:
20714         * docs/gst/tmpl/gsturitype.sgml:
20715         * docs/gst/tmpl/gstutils.sgml:
20716         * docs/gst/tmpl/gstxml.sgml:
20717         * gst/gsterror.c:
20718         * gst/gsterror.h:
20719         * gst/gstfilter.c:
20720         * gst/gsturi.c:
20721         * gst/gsturitype.c:
20722         * gst/gstutils.c:
20723         * gst/gstxml.c:
20724           inlined more docs, fixed double id-ref
20725
20726 2005-08-31  Wim Taymans  <wim@fluendo.com>
20727
20728         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20729         (gst_base_transform_handle_buffer):
20730         Passthrough elements don't need the caps as they don't care.
20731
20732 2005-08-31  Wim Taymans  <wim@fluendo.com>
20733
20734         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
20735         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
20736         Don't leak refcounts on buffers.
20737
20738 2005-08-31  Wim Taymans  <wim@fluendo.com>
20739
20740         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
20741         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
20742         (gst_base_transform_chain), (gst_base_transform_change_state):
20743         * gst/base/gstbasetransform.h:
20744         Handle the case where we are not negotiated more gracefully.
20745
20746 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
20747
20748         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
20749         (gst_file_src_map_region):
20750           Set READONLY flag on mmap'ed buffers, otherwise
20751           gst_buffer_make_writable() won't work properly (#314708).
20752
20753 2005-08-31  Wim Taymans  <wim@fluendo.com>
20754
20755         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
20756         passthrough elements can even do inplace on non writable
20757         buffers (as they don't touch them).
20758
20759 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
20760
20761         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
20762         (gst_test_mono_source_set_property),
20763         (gst_test_mono_source_class_init), (GST_START_TEST),
20764         (gst_controller_suite):
20765           more tests (hehe I have the most)
20766         * gst/gstbus.c:
20767           describe popping messages whenusing mulltiple sources
20768         * libs/gst/controller/gst-controller.c:
20769         (gst_controlled_property_set_interpolation_mode),
20770         (gst_controlled_property_new):
20771         * libs/gst/controller/gst-controller.h:
20772         * libs/gst/controller/gst-interpolation.c:
20773           implement boolean properties
20774
20775 2005-08-31  Wim Taymans  <wim@fluendo.com>
20776
20777         * gst/gstminiobject.c: (gst_mini_object_ref):
20778         Cannot assert that the refcount has to be positive
20779         since a disposed object can be resurrected.
20780
20781 2005-08-31  Wim Taymans  <wim@fluendo.com>
20782
20783         * gst/gstpad.c: (gst_pad_init):
20784         Revert change, need to first fix badly behaving 
20785         apps.
20786
20787 2005-08-30  Wim Taymans  <wim@fluendo.com>
20788
20789         * check/elements/fakesrc.c: (setup_fakesrc):
20790         * check/elements/identity.c: (setup_identity):
20791         Activate pads before using them.
20792
20793 2005-08-30  Wim Taymans  <wim@fluendo.com>
20794
20795         * gst/base/gstadapter.c: (gst_adapter_flush):
20796         Flushing out 0 bytes is ok for this function.
20797
20798         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20799         no newsegment gives a warning and sets the start/stop to 
20800         invalid.
20801
20802         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
20803         (gst_base_transform_set_passthrough):
20804         Some debug info.
20805
20806         * gst/gstminiobject.c: (gst_mini_object_ref):
20807         Check refcount here too.
20808
20809         * gst/gstpad.c: (gst_pad_init):
20810         Pads are initially flushing and refusing data.
20811
20812         * gst/gstutils.c: (gst_element_link_pads_filtered):
20813         When adding a capsfilter element make sure it has the
20814         same state as the parent bin.
20815
20816 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20817
20818         * docs/gst/tmpl/.cvsignore:
20819         * docs/gst/tmpl/gstformat.sgml:
20820         * docs/gst/tmpl/gstversion.sgml:
20821         * gst/gstbus.h:
20822         * gst/gstformat.c:
20823         * gst/gstformat.h:
20824         * gst/gstversion.h.in:
20825           more docs and two more inlined
20826
20827 2005-08-30  Wim Taymans  <wim@fluendo.com>
20828
20829         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
20830         Don't sync to clock.
20831
20832 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20833
20834         * docs/gst/gstreamer-sections.txt:
20835           ultral33t func10ns deserve to appear in the docs actually
20836         * docs/gst/tmpl/.cvsignore:
20837         * docs/gst/tmpl/gstcompat.sgml:
20838         * docs/gst/tmpl/gstconfig.sgml:
20839         * gst/check/gstcheck.c:
20840         * gst/gstcompat.h:
20841         * gst/gstconfig.h.in:
20842           inlined more docs
20843
20844 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20845
20846         * docs/gst/tmpl/.cvsignore:
20847         * docs/gst/tmpl/gstquery.sgml:
20848         * docs/gst/tmpl/gstutils.sgml:
20849         * gst/gstquery.c:
20850         * gst/gstquery.h:
20851           inlined and extended docs
20852
20853 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
20854
20855         * check/gst-libs/controller.c: (GST_START_TEST),
20856         (gst_controller_suite):
20857           more tests
20858         * docs/gst/tmpl/gstutils.sgml:
20859         * docs/libs/gstreamer-libs-sections.txt:
20860         * docs/libs/tmpl/gstdataprotocol.sgml:
20861           include path fixes
20862         * examples/controller/audio-example.c: (main):
20863           controller example works now
20864         * gst/gstclock.h:
20865           doc fixes
20866         * tools/gst-inspect.c: (print_element_properties_info):
20867           show param spec flags
20868
20869 2005-08-29  Andy Wingo  <wingo@pobox.com>
20870
20871         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
20872
20873 2005-08-28  Andy Wingo  <wingo@pobox.com>
20874
20875         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
20876         as having two arguments instead of just one. Allows superclasses
20877         to access information on subclasses -- see the terrible for() loop
20878         in gtype.c:g_type_create_instance for the reason why. All callers
20879         changed.
20880
20881 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20882
20883         * docs/design/part-messages.txt:
20884           update info
20885         * docs/gst/tmpl/.cvsignore:
20886         * docs/gst/tmpl/gstcaps.sgml:
20887         * docs/gst/tmpl/gstclock.sgml:
20888         * gst/gstbus.c:
20889         * gst/gstcaps.c:
20890         * gst/gstcaps.h:
20891         * gst/gstclock.c:
20892         * gst/gstclock.h:
20893         * gst/gstmessage.c:
20894           added descriptions for bus and message
20895           inline caps and clock docs
20896
20897 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20898
20899         * gst/gstmessage.c:
20900         * gst/gstmessage.h:
20901           doc fixes
20902
20903 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
20904
20905         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
20906           fix div-by-zero
20907
20908 2005-08-26  Andy Wingo  <wingo@pobox.com>
20909
20910         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
20911         element_set_state's return val.
20912         (test_2_elements): Add test that's been disabled for months.
20913
20914         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
20915         can-activate-pull properties.
20916
20917         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
20918         can-activate-pull properties. Implement is_seekable so fakesrc can
20919         operate in pull mode.
20920
20921         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
20922         properties.
20923         (gst_base_sink_activate, gst_base_sink_activate_pull)
20924         (gst_base_sink_activate_push): Make activation mode choosing work.
20925         Cleanups.
20926         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
20927         is right. Make pull mode work. Post an eos before pausing in pull
20928         mode.
20929         (gst_base_sink_change_state): Pay attention to the core's
20930         change_state() return val.
20931         
20932         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
20933         has-getrange properties. Cleanups.
20934         
20935         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
20936         has_getrange and replace with can_activate_pull and
20937         can_activate_push.
20938
20939         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
20940         locking comments. Remove has_loop, has_chain and replace with
20941         can_activate_pull and can_activate_push.
20942
20943 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
20944
20945         * configure.ac:
20946         * examples/Makefile.am:
20947         * examples/metadata/Makefile.am:
20948         * examples/metadata/read-metadata.c: (message_loop),
20949         (have_pad_handler), (make_pipeline), (print_tag), (main):
20950           Add metadata reading example that loops over a list of filenames,
20951           dumping any tags found.
20952
20953         * gst/gstbus.c: (gst_bus_dispose):
20954         * gst/gstelement.c: (gst_element_dispose):
20955           Release a few potentially-held references in dispose.
20956
20957 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20958
20959         * docs/gst/tmpl/gstminiobject.sgml:
20960           do *not* add tmpl/*.sgml files to CVS!
20961
20962 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20963
20964         * libs/gst/bytestream/.cvsignore:
20965         * libs/gst/bytestream/Makefile.am:
20966         * libs/gst/bytestream/adapter.c:
20967         * libs/gst/bytestream/adapter.h:
20968         * libs/gst/bytestream/bytestream.c:
20969         * libs/gst/bytestream/bytestream.h:
20970         * libs/gst/bytestream/filepad.c:
20971         * libs/gst/bytestream/filepad.h:
20972           removing obsolete files
20973
20974 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20975
20976         * docs/gst/gstreamer-docs.sgml:
20977         * docs/libs/gstreamer-libs-docs.sgml:
20978           disabed additional index entries again, as this makes docs-gen just
20979           slow and they aren't useful yet
20980         * docs/libs/gstreamer-libs-sections.txt:
20981           little -section.txt cleanup for libs
20982
20983 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
20984
20985         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20986         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
20987           fix up some debugging
20988         (gst_base_transform_get_unit_size),
20989         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
20990         (gst_base_transform_handle_buffer):
20991         * gst/base/gstbasetransform.h:
20992           handle and store timed NEWSEGMENT events so that subclasses that
20993           calculate time by counting samples have a segment_start time they
20994           need to add to their timestamps - see audioresample
20995
20996 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
20997
20998         * gst/gstbin.h:
20999           removed ';' from the end of macro defs
21000         * docs/gst/gstreamer-docs.sgml:
21001         * docs/gst/gstreamer-sections.txt:
21002         * docs/gst/tmpl/.cvsignore:
21003         * gst/gstbus.h:
21004         * gst/gstelement.c: (gst_element_class_init),
21005         (gst_element_set_state), (activate_pads),
21006         (gst_element_save_thyself):
21007         * gst/gstevent.c: (gst_event_new_newsegment):
21008         * gst/gstevent.h:
21009         * gst/gstiterator.c:
21010         * gst/gstiterator.h:
21011         * gst/gstpad.c:
21012         * gst/gstprobe.h:
21013         * gst/gstutils.c: (gst_pad_query_convert):
21014         * gst/gstutils.h:
21015           fixed parameter name mismatches between source, header and docs
21016           added some more docs, resolved the last batch of unused elements in
21017           docs (now someone needs to doc them)
21018
21019 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21020
21021         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
21022         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
21023           don't walk through the plugins backwards.  Where is all this
21024           reversed logic coming from ?
21025
21026 2005-08-25  Wim Taymans  <wim@fluendo.com>
21027
21028         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21029         (gst_base_transform_transform_size),
21030         (gst_base_transform_configure_caps),
21031         (gst_base_transform_get_unit_size),
21032         (gst_base_transform_buffer_alloc),
21033         (gst_base_transform_change_state):
21034         * gst/base/gstbasetransform.h:
21035         Cache caps unit_size.
21036         Make sure we cannot negotiate up and downstream at the
21037         same time.
21038
21039 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21040
21041         * gst/gst.c: (init_pre), (init_post):
21042           register the installed plugin path after the env var
21043         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
21044         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
21045           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
21046           directories, so the tests can prefer uninstalled over installed
21047
21048 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
21049
21050         * gst/base/gstbasetransform.h:
21051           comment
21052         * gst/gstpad.c:
21053           add to docs
21054
21055 2005-08-25  Wim Taymans  <wim@fluendo.com>
21056
21057         * gst/gstbin.c: (bin_bus_handler):
21058         Be a bit more conservative about the posted message.
21059         
21060         * gst/gstbus.c: (gst_bus_post):
21061         Some cleanups, warn wrong return values.
21062
21063 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
21064
21065         * check/gst/gstbin.c: (GST_START_TEST):
21066         * gst/gstbin.c: (bin_bus_handler):
21067         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21068         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21069         (gst_message_new_warning), (gst_message_new_tag),
21070         (gst_message_new_state_changed), (gst_message_new_segment_start),
21071         (gst_message_new_segment_done), (gst_message_new_custom):
21072         * gst/gstmessage.h:
21073         * tools/gst-launch.c: (event_loop):
21074         * tools/gst-md5sum.c: (event_loop):
21075           Revert unpopular change for GST_MESSAGE_SRC to GObject.
21076
21077 2005-08-25  Wim Taymans  <wim@fluendo.com>
21078
21079         * check/generic/states.c: (GST_START_TEST):
21080         Cleanup can be done at the end.
21081
21082         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
21083         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21084         (gst_task_get_state), (gst_task_start), (gst_task_pause):
21085         Oh boy.. Thanks for finding this, Thomas. 
21086
21087 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
21088
21089         * docs/gst/gstreamer.types:
21090           added missing types
21091
21092 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
21093
21094         * docs/gst/gstreamer-docs.sgml:
21095         * docs/gst/gstreamer-sections.txt:
21096         * docs/gst/tmpl/.cvsignore:
21097         * gst/gstbin.c:
21098         * gst/gstiterator.c:
21099         * gst/gstutils.c:
21100         * gst/registries/gstxmlregistry.h:
21101           added missing classes and symbols (123 more to go)
21102           removed removed symbols from section file
21103           fixed many doc-comments
21104
21105 2005-08-24  Wim Taymans  <wim@fluendo.com>
21106
21107         * check/generic/states.c: (GST_START_TEST):
21108         Make sure all tasks are stopped.
21109
21110         * check/gst/gstbin.c: (GST_START_TEST):
21111         Unref after usage for proper valgrinding.
21112
21113         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
21114         Really wait for the task to stop before destroying the
21115         mutex.
21116
21117         * gst/gstqueue.c: (gst_queue_sink_activate_push),
21118         (gst_queue_src_activate_push):
21119         Small cleanups. Don't stop the task when we did not start
21120         it.
21121
21122         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
21123         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
21124         (gst_task_get_state), (gst_task_start), (gst_task_pause),
21125         (gst_task_join):
21126         * gst/gsttask.h:
21127         Protect the stream lock with the object lock.
21128         Disallow setting the stream lock when running.
21129         Add cleanup_all to wait for the threadpool to finish.
21130         Remove code to autoallocate a mutex if none was provided.
21131         Add _join() to wait for a task to stop.
21132         Protect the thread pool with a global lock.
21133
21134 2005-08-24  Wim Taymans  <wim@fluendo.com>
21135
21136         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21137         (gst_base_sink_get_times), (gst_base_sink_do_sync),
21138         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
21139         * gst/base/gstbasesink.h:
21140         Handle newsegment events correctly.
21141         Drop buffers out of the segment range.
21142
21143 2005-08-22  Andy Wingo  <wingo@pobox.com>
21144
21145         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
21146         macro, implements an interface and gstimplementsinterface for a
21147         new type.
21148
21149 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21150
21151         * check/Makefile.am:
21152         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
21153           add a test that does a bunch of state changes on elements
21154           needs some fixing for valgrind
21155         * check/states/sinks.c: (gst_object_suite):
21156           whitespace
21157         * gst/gstcaps.h:
21158           add prototype for gst_caps_is_equal_fixed
21159         * gst/gstplugin.c:
21160         * gst/gstregistrypool.c:
21161           doc fixes
21162
21163 2005-08-24  Andy Wingo  <wingo@pobox.com>
21164
21165         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
21166         convert a negative value. Doesn't make much sense. Mostly this is
21167         here to force callers to ensure -1 maps to -1.
21168
21169 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
21170
21171         * docs/pwg/advanced-types.xml:
21172           Well done to Michael for catching my deliberate introduction
21173           of this spelling mistake. 
21174         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
21175         * gst/gstelement.h:
21176           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
21177           unlink pads before removing the element from the bin.
21178
21179 2005-08-24  Andy Wingo  <wingo@pobox.com>
21180
21181         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
21182         the same thing as GST_DEBUG=*:4.
21183         (parse_debug_level, parse_debug_category): New helper parsers.
21184
21185 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
21186
21187         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21188         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
21189         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
21190         (gst_base_transform_buffer_alloc),
21191         (gst_base_transform_handle_buffer):
21192           use gboolean return values and pointers to size so we can use the
21193           full GST_BUFFER_SIZE range (guint) for buffer sizes
21194           use GstPadDirection for transform_caps
21195         * gst/base/gstbasetransform.h:
21196           rename get_size to get_unit_size since that's what it is
21197         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
21198           use GstPadDirection for transform_caps
21199         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21200         * gst/gstutils.h:
21201           cleanup and debugging
21202
21203 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
21204
21205         * gst/gstelement.c: (gst_element_class_init),
21206         (gst_element_set_state), (activate_pads),
21207         (gst_element_save_thyself):
21208         * tools/gst-compprep.c: (main):
21209         * tools/gst-inspect.c: (print_element_properties_info):
21210         * tools/gst-xmlinspect.c: (print_element_properties):
21211           Fixed long standing mem-leak
21212
21213 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
21214
21215         * check/gst/gstbin.c: (GST_START_TEST):
21216         * gst/gstbin.c: (bin_bus_handler):
21217         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
21218         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
21219         (gst_message_new_warning), (gst_message_new_tag),
21220         (gst_message_new_state_changed), (gst_message_new_segment_start),
21221         (gst_message_new_segment_done), (gst_message_new_custom):
21222         * gst/gstmessage.h:
21223         * tools/gst-launch.c: (event_loop):
21224         * tools/gst-md5sum.c: (event_loop):
21225           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
21226           that applications can sensibly post custom messages with references
21227           to their own objects.
21228
21229 2005-08-24  Andy Wingo  <wingo@pobox.com>
21230
21231         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
21232         already.
21233
21234 2005-08-24  Wim Taymans  <wim@fluendo.com>
21235
21236         * gst/base/gstbasetransform.c: (gst_base_transform_init),
21237         (gst_base_transform_transform_caps),
21238         (gst_base_transform_transform_size),
21239         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
21240         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
21241         (gst_base_transform_handle_buffer):
21242         * gst/base/gstbasetransform.h:
21243         Many fixes and new features added by Thomas. Can now also do
21244         transforms with variable sizes and a custom fixate_caps function.
21245
21246 2005-08-24  Wim Taymans  <wim@fluendo.com>
21247
21248         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21249         Some debugging.
21250
21251         * gst/gstclock.h:
21252         Cast to ClockTime before formatting to time.
21253
21254         * gst/gstutils.h:
21255         Cleanups.
21256
21257 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
21258
21259         * check/gst-libs/controller.c: (GST_START_TEST),
21260         (gst_controller_suite):
21261         * docs/gst/tmpl/gstcaps.sgml:
21262         * docs/gst/tmpl/gstghostpad.sgml:
21263         * docs/gst/tmpl/gstquery.sgml:
21264         * docs/gst/tmpl/gstutils.sgml:
21265         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
21266         (gst_object_sink_values), (gst_object_get_value_arrays),
21267         (gst_object_get_value_array):
21268           gracefully handle helper method calls to objects that are not beeing
21269           controlled, added test case for that          
21270
21271 2005-08-23  Wim Taymans  <wim@fluendo.com>
21272
21273         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
21274         (gst_event_new_newsegment), (gst_event_parse_newsegment),
21275         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
21276         (gst_event_parse_qos), (gst_event_new_seek),
21277         (gst_event_parse_seek):
21278         * gst/gstevent.h:
21279         Some more debugging output and doc cleanups.
21280
21281         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21282         Fix possible deadlock.
21283
21284 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21285
21286         * docs/gst/gstreamer-docs.sgml:
21287         * docs/gst/gstreamer-sections.txt:
21288         * docs/gst/gstreamer.types:
21289         * docs/gst/tmpl/.cvsignore:
21290         * gst/gstbin.h:
21291         * gst/gstbus.c:
21292         * gst/gstelement.c:
21293         * gst/gstevent.h:
21294           added 100 symbols from gstreamer-unused.txt to the right sections
21295           fixed more broken comments
21296           added GstBus to docs
21297
21298 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21299
21300         * docs/gst/gstreamer-sections.txt:
21301         * docs/gst/tmpl/.cvsignore:
21302         * docs/gst/tmpl/gstbin.sgml:
21303         * docs/gst/tmpl/gstbuffer.sgml:
21304         * gst/base/gstbasesrc.c:
21305         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
21306         * gst/gstbuffer.c:
21307         * gst/gstbuffer.h:
21308         * tools/gst-launch.1.in:
21309           inlined more doc comments, added missing comments and fixed comments
21310           fixed typos
21311
21312 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
21313
21314         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
21315           some debugging
21316         * gst/gstcaps.h:
21317           whitespace fixes
21318         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
21319           more debugging
21320         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
21321         * gst/gststructure.h:
21322           add a fixate function for booleans; add a FIXME that these func
21323           names should probably be gst_structure_fixate_*
21324
21325 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
21326
21327         * docs/gst/gstreamer-docs.sgml:
21328         * docs/gst/gstreamer-sections.txt:
21329         * gst/Makefile.am:
21330         * gst/gstbin.c: (gst_bin_get_type),
21331         (gst_bin_child_proxy_get_child_by_index),
21332         (gst_bin_child_proxy_get_children_count),
21333         (gst_bin_child_proxy_init):
21334         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21335         (gst_child_proxy_get_child_by_index),
21336         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
21337         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
21338         (gst_child_proxy_get), (gst_child_proxy_set_property),
21339         (gst_child_proxy_set_valist), (gst_child_proxy_set),
21340         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
21341         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
21342         * gst/gstchildproxy.h:
21343         * gst/parse/grammar.y:
21344         * tools/gst-inspect.c: (print_interfaces),
21345         (print_element_properties_info), (print_element_info):
21346           ported gstchildproxy over from 0.8
21347           ported gst-inspect fixes and enhancements over from 0.8
21348
21349 2005-08-22  Wim Taymans  <wim@fluendo.com>
21350
21351         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
21352         (gst_base_transform_handle_buffer):
21353         Also call the transform function if we have ANY caps.
21354
21355         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
21356         Fix debug info.
21357
21358 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21359
21360         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
21361           Don't pretend to handle seek events if the source is not seekable
21362
21363 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
21364
21365         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21366           Remove extra parameter to debug output
21367
21368         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21369         (gst_base_src_do_seek), (gst_base_src_activate_push):
21370           Fix seek event handling.
21371
21372         * gst/gstpipeline.c: (gst_pipeline_change_state):
21373         * gst/gstqueue.c: (gst_queue_handle_sink_event),
21374         (gst_queue_src_activate_push):
21375           Don't start the src pad task on FLUSH_STOP if the pad
21376           isn't linked.
21377           Debug changes.
21378
21379 2005-08-22  Wim Taymans  <wim@fluendo.com>
21380
21381         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
21382         Added check for gst_static_caps_get() refcounting.
21383
21384 2005-08-22  Wim Taymans  <wim@fluendo.com>
21385
21386         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
21387         Make _static_caps_get() refcounting sane.
21388         
21389         * gst/gstelement.c: (gst_element_set_state):
21390         Add g_return_val_if_fail() to protect against segfaults.
21391
21392 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
21393
21394         * docs/gst/tmpl/gstevent.sgml:
21395         * gst/gstevent.c:
21396         * gst/gstevent.h:
21397           inlined remaining docs, added missing doc comments
21398
21399 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
21400
21401         * check/gst/gstbin.c: (GST_START_TEST):
21402           since we don't know when preroll is done, use refcount range
21403           check for the sink
21404         * gst/check/gstcheck.h:
21405           add macro for checking refcount range
21406
21407 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21408
21409         * check/Makefile.am:
21410           clean up environment for when registry gets built versus
21411           when actual tests are run; valgrind seems to not report
21412           leaks if GST_PLUGIN_PATH is set to some specific values
21413         * check/gst/gstbin.c: (GST_START_TEST):
21414           add more refcounting checks; maybe this exposes a
21415           preroll lock bug ?
21416         * common/check.mak:
21417         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21418         * gst/check/gstcheck.h:
21419         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
21420         (gst_bin_change_state):
21421         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
21422           add/fix debugging/whitespace
21423
21424 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21425
21426         * check/gst/gstevent.c: (event_probe), (test_event),
21427         (GST_START_TEST):
21428          Er, don't call gst_bin_watch_for_state_change you idiot.
21429
21430 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
21431
21432         * check/Makefile.am:
21433           Use CHECK_CFLAGS and CHECK_LIBS
21434         * check/gst/gstevent.c: (event_probe), (test_event),
21435         (GST_START_TEST):
21436           Don't leak events.
21437         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
21438         (gst_base_src_start), (gst_base_src_stop),
21439         (gst_base_src_activate_push), (gst_base_src_activate_pull),
21440         (gst_base_src_change_state):
21441           Sprinkle gst_base_src_stop liberally around error paths to fix
21442           problems reusing a source after failed state changes.
21443         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21444         (helper_find_suggest), (gst_type_find_helper):
21445           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
21446         * gst/gstevent.h:
21447         * docs/gst/tmpl/gstevent.sgml:
21448           Migrate part of the docs from the SGML file. Wait for ensonic to
21449           tell me how I did it wrong ;)
21450         * tools/gst-typefind.c: (main):
21451           Extra robustness to state changes between files.
21452
21453 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
21454
21455         * check/Makefile.am:
21456           don't valgrind the controller test - it's leaking - Stefan, HELP
21457         * gst/check/gstcheck.c: (gst_check_message_error),
21458         (gst_check_chain_func), (gst_check_setup_element),
21459         (gst_check_teardown_element), (gst_check_setup_src_pad),
21460         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
21461         (gst_check_teardown_sink_pad):
21462         * gst/check/gstcheck.h:
21463           add a bunch of methods to set up elements, and src and sink pads
21464         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
21465         * check/elements/identity.c: (setup_identity), (cleanup_identity),
21466         (GST_START_TEST):
21467           use them
21468         * gst/gstmessage.c:
21469         * gst/gsttag.h:
21470           whitespace/doc fixes
21471
21472 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21473
21474         * gst/gstelement.h:
21475           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
21476           be handled by the application and not always printed as well
21477
21478 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21479
21480         * check/Makefile.am:
21481           set GST_TOOLS_DIR
21482         * gst/check/gstcheck.c: (gst_check_message_error):
21483         * gst/check/gstcheck.h:
21484           add a fail_unless_equals_int
21485           add fail_unless for error messages
21486
21487 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21488
21489         * check/Makefile.am:
21490         * check/gst.supp:
21491         * common/Makefile.am:
21492         * common/check.mak:
21493         * common/gst.supp:
21494           factor out some of the common stuff so we can use it
21495
21496 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21497
21498         * check/Makefile.am:
21499         * check/gst/gstiterator.c: (GST_START_TEST):
21500         * check/gst/gstsystemclock.c: (GST_START_TEST),
21501         (gst_systemclock_suite):
21502         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
21503         * gst/gstclock.c:
21504           valgrind more tests
21505
21506 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
21507
21508         * check/elements/.cvsignore:
21509         * check/elements/gstfakesrc.c:
21510           rename to name of element
21511         * check/elements/identity.c: (chain_func), (event_func),
21512         (setup_identity), (cleanup_identity), (GST_START_TEST),
21513         (identity_suite), (main):
21514           add a test for identity
21515         * check/Makefile.am:
21516         * pkgconfig/Makefile.am:
21517         * pkgconfig/gstreamer-check.pc.in:
21518         * pkgconfig/gstreamer-check-uninstalled.pc.in:
21519         * gst/check:
21520         * gst/Makefile.am:
21521         * configure.ac:
21522           move the check stuff to a library that gets installed
21523         * check/gst-libs/controller.c: (GST_START_TEST):
21524         * check/gst-libs/gdp.c:
21525         * check/gst/gst.c: (GST_START_TEST):
21526         * check/gst/gstbin.c:
21527         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21528         * check/gst/gstbus.c:
21529         * check/gst/gstcaps.c: (GST_START_TEST):
21530         * check/gst/gstelement.c:
21531         * check/gst/gstghostpad.c:
21532         * check/gst/gstiterator.c:
21533         * check/gst/gstmessage.c:
21534         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
21535         * check/gst/gstobject.c:
21536         * check/gst/gstpad.c: (GST_START_TEST):
21537         * check/gst/gststructure.c: (GST_START_TEST):
21538         * check/gst/gstsystemclock.c: (GST_START_TEST),
21539         (gst_systemclock_suite):
21540         * check/gst/gsttag.c: (gst_tag_suite):
21541         * check/gst/gstvalue.c:
21542         * check/pipelines/cleanup.c:
21543         * check/pipelines/simple_launch_lines.c:
21544         * check/states/sinks.c:
21545           change include statement
21546
21547         * docs/gst/gstreamer-sections.txt:
21548         * docs/gst/tmpl/gstpad.sgml:
21549           document more pad stuff
21550         * gst/gstminiobject.c: (gst_mini_object_ref),
21551         (gst_mini_object_unref):
21552           debug refcounting
21553
21554 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
21555
21556         * docs/gst/tmpl/gst.sgml:
21557         * gst/gst.c:
21558           eliminate another tmpl file, fix spelling in the long-description
21559
21560 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21561
21562         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21563         (test_event), (timediff), (gstevents_suite):
21564           Should fix build on 64-bit arch's
21565
21566 2005-08-18  Andy Wingo  <wingo@pobox.com>
21567
21568         Make sure that when a pipeline goes to PLAYING, that data has
21569         actually hit the sink.
21570
21571         * check/states/sinks.c (test_sink): A sink that doesn't get any
21572         data shouldn't return SUCCESS for going to either PLAYING or
21573         PAUSED. Test also the return values on the way back down.
21574
21575         * gst/gstelement.c (gst_element_set_state): When changing the
21576         state of an element currently changing state asynchronously, go to
21577         lost-state after commiting the pending state. Makes future calls
21578         to get_state continue to return ASYNC.
21579
21580         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
21581         ASYNC when going to PLAYING if we still don't have preroll, as can
21582         happen with live sources.
21583
21584 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21585
21586         * docs/pwg/advanced-types.xml:
21587           Hack long paragraph into 2 chunks as a workaround for buggy
21588           jadetex version in sid and breezy that loops infinitely and
21589           eats all RAM.
21590
21591 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21592
21593         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21594         (test_event), (timediff), (gstevents_suite):
21595           Provide more error margin in clock measurements to allow for 
21596           g_get_current_time inaccuracies.
21597
21598 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21599
21600         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21601         (test_event), (timediff), (gstevents_suite):
21602            Fix error message output so I might be able to tell why the
21603            test works here but fails on the build farm.
21604
21605 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
21606
21607         * check/Makefile.am:
21608         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
21609         (test_event), (timediff), (gstevents_suite), (main):
21610           I wrote a test!
21611
21612         * docs/design/part-seeking.txt:
21613           Spelling correction
21614
21615         * docs/gst/tmpl/gstevent.sgml:
21616         * docs/gst/tmpl/gstfakesrc.sgml:
21617           Docs updates.
21618
21619         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
21620           Treat a buffer-without-newsegment the same as a receiving 
21621           a newsegment not in time format, and disable syncing to the clock
21622           with a warning.
21623
21624         * gst/gstbus.c: (gst_bus_set_sync_handler):
21625           Assert if anyone tries to replace the existing sync_handler for bus, 
21626           as only the owner should be setting it.
21627
21628         * gst/gstevent.h:
21629           Have a fixed set of custom event enums with events identified by
21630           their structure name (as in 0.8), rather than a free-for-all
21631           allowing collisions between enum values from different plugins.
21632
21633         * gst/gstpad.c: (gst_pad_class_init):
21634           Docs change.
21635           
21636         * gst/gstqueue.c: (gst_queue_handle_sink_event):
21637           Handle out-of-band downstream events from the sending thread.
21638
21639 2005-08-17  Andy Wingo  <wingo@pobox.com>
21640
21641         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
21642         play-timeout==0 to mean no timeout at all. In that case, don't
21643         bother with a get_state or a warning, just return directly, even
21644         if it's ASYNC.
21645
21646         * gst/base/gstbasetransform.c: Debug changes.
21647
21648         * gst/gstutils.h:
21649         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
21650         ensure bins post state change messages. A bit of a hack but I can't
21651         think of a way to avoid it.
21652
21653         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
21654
21655 2005-08-16  Andy Wingo  <wingo@pobox.com>
21656
21657         * gst/base/gstadapter.h:
21658         * gst/base/gstadapter.c (gst_adapter_take): New function, like
21659         peek() but you own the data. Not terribly efficient atm.
21660
21661 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21662
21663         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
21664         (gst_element_found_tags):
21665         * gst/gstutils.h:
21666           Add two utility functions for tag handling.
21667
21668 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21669
21670         * docs/manual/advanced-dataaccess.xml:
21671         * docs/manual/basics-helloworld.xml:
21672           Fix docs to use _bin_add() before _link(), which fixes the examples
21673           with recent core versions (reported by Madhan Raj M
21674           <raj_madan@rediffmail.com>, #313199).
21675
21676 2005-08-16  Wim Taymans  <wim@fluendo.com>
21677
21678         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
21679         Added subtract checks.
21680
21681         * docs/design/part-events.txt:
21682         Some more docs about newsegment
21683
21684         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
21685         Fix FIXME
21686
21687         * gst/gstcaps.c: (gst_caps_to_string):
21688         Add comments, cleanups.
21689         
21690         * gst/gstelement.c: (gst_element_save_thyself):
21691         cleanups
21692         
21693         * gst/gstvalue.c: (gst_value_collect_int_range),
21694         (gst_string_unwrap), (gst_value_union_int_int_range),
21695         (gst_value_union_int_range_int_range),
21696         (gst_value_intersect_int_int_range),
21697         (gst_value_intersect_int_range_int_range),
21698         (gst_value_intersect_double_double_range),
21699         (gst_value_intersect_double_range_double_range),
21700         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
21701         (gst_value_subtract_int_range_int),
21702         (gst_value_subtract_double_range_double),
21703         (gst_value_subtract_double_range_double_range),
21704         (gst_value_subtract_from_list), (gst_value_subtract_list),
21705         (gst_value_can_compare), (gst_value_compare_fraction):
21706         Cleanups, add comments, remove unneeded asserts.
21707
21708 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21709
21710         * tools/gst-launch.c: (event_loop):
21711           don't convert NULL structures to strings
21712
21713 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
21714
21715         * docs/gst/gstreamer-sections.txt:
21716           made some defines private
21717         * docs/gst/tmpl/gstconfig.sgml:
21718         * docs/gst/tmpl/gstqueue.sgml:
21719         * docs/gst/tmpl/gsttaglist.sgml:
21720         * docs/gst/tmpl/gsttypes.sgml:
21721         * docs/gst/tmpl/gstutils.sgml:
21722         * docs/pwg/appendix-porting.xml:
21723         * gst/base/gstbasesink.h:
21724         * gst/base/gstbasesrc.c:
21725         * gst/base/gstbasesrc.h:
21726         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
21727         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
21728         * gst/gstelement.c: (gst_element_class_init):
21729         * gst/gstpad.c: (gst_pad_class_init):
21730         * gst/gstqueue.c: (gst_queue_class_init):
21731         * gst/gstxml.c: (gst_xml_class_init):
21732           documented all undocumented signal inline
21733         * libs/gst/controller/gst-controller.h:
21734           added padding
21735
21736 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21737
21738         * docs/pwg/appendix-porting.xml:
21739           Document _set_link_function -> _set_setcaps_function.
21740
21741 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
21742
21743         * check/Makefile.am:
21744           add a .check target for running the check
21745         * check/gst-libs/controller.c: (GST_START_TEST):
21746           cosmetic fixups
21747         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
21748           complete checks for gstbuffer; would be nice if I could get the
21749           gcov stuff to work so I can see if I actually completed gstbuffer.c
21750         * check/gstcheck.h:
21751           add ASSERT_BUFFER_REFCOUNT
21752
21753 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
21754
21755         * docs/gst/gstreamer-sections.txt:
21756         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
21757         * gst/gsttag.h:
21758           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
21759           spew out a warning if a tag that is already registered
21760           is re-registered, unless it is re-registered with a 
21761           different type (#308438).
21762
21763 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
21764
21765         * docs/pwg/appendix-porting.xml:
21766         * docs/pwg/building-state.xml:
21767           Add some paragraphs about state changes in 0.9 to the PWG
21768           and the porting guide, in particular about the new meaning
21769           of GST_STATE_PAUSED and how to write state change functions
21770           with concurrent access by multiple threads in mind.
21771
21772 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
21773
21774         * docs/gst/gstreamer-docs.sgml:
21775         * docs/libs/gstreamer-libs-docs.sgml:
21776           added deprecation and since indexes
21777         * libs/gst/controller/gst-controller.c:
21778         * libs/gst/controller/gst-helper.c:
21779           added since tags
21780
21781
21782 2005-08-11  Wim Taymans  <wim@fluendo.com>
21783
21784         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
21785         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
21786         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
21787         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
21788         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
21789         (gst_ghost_pad_set_target):
21790         Actually implement (re)setting the target on a ghostpad
21791         as described in the docs.
21792
21793 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21794
21795         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
21796           Check whether GST_DEBUG_NO_COLOR environment variable is
21797           set and disable coloured debug output if that is the case.
21798
21799 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
21800
21801         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21802         (gst_type_find_helper):
21803           The memory returned by gst_type_find_peek() needs to
21804           stay valid until the end of a typefind function, and
21805           typefind functions may keep results from different 
21806           offsets around, so we can't just unref the buffer from
21807           the previous _peek(), but have to save all buffers 
21808           returned by _peek() until typefinding is done and only
21809           free them then.
21810
21811 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
21812
21813         * docs/gst/gstreamer-sections.txt:
21814         * gst/gstutils.h:
21815           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
21816
21817 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21818
21819         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
21820           Fix a pretty good memleak.
21821
21822 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21823
21824         * gst/gstiterator.h:
21825           Fix wrong include and 'make distcheck'.
21826
21827 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21828
21829         * gst/gstbin.c: (bin_bus_handler):
21830           Use gst_element_post_message() instead.
21831
21832 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
21833
21834         * gst/base/gstadapter.h:
21835         * gst/base/gstbasesink.h:
21836         * gst/base/gstbasesrc.h:
21837         * gst/base/gstbasetransform.h:
21838         * gst/base/gstcollectpads.h:
21839         * gst/base/gstpushsrc.h:
21840         * gst/gstiterator.h:
21841           Add padding to our base elements' class and instance structs and
21842           to GstIterator (you will need to rebuild all plugins and apps!)
21843
21844 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21845
21846         * gst/gstbin.c: (bin_bus_handler):
21847           Make default message forwarding from child->bus to bin->bus
21848           threadsafe and make it not emit warnings if the parent has no bus.
21849
21850 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21851
21852         * gst/gstelement.c: (activate_pads):
21853           On paused->ready, set pad->caps to NULL, as is the documented
21854           behaviour in this state change. Fixes playback of series of
21855           media files when visualization is enabled in Totem.
21856
21857 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
21858
21859         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
21860           Allow NULL as filter-caps (which means "any").
21861
21862 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21863
21864         * docs/libs/gstreamer-libs-sections.txt:
21865         * libs/gst/controller/gst-controller.c:
21866         * libs/gst/controller/gst-controller.h:
21867         * libs/gst/controller/gst-helper.c:
21868           adding more entries to the docs and fix small doc-bugs
21869
21870 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21871
21872         * docs/gst/gstreamer-docs.sgml:
21873         * docs/gst/gstreamer-sections.txt:
21874         * docs/gst/gstreamer.types:
21875         * docs/gst/tmpl/gstbasesink.sgml:
21876         * docs/gst/tmpl/gstbasesrc.sgml:
21877         * docs/gst/tmpl/gstbasetransform.sgml:
21878         * docs/gst/tmpl/gstfakesrc.sgml:
21879         * gst/base/gstcollectpads.c:
21880         * gst/base/gstcollectpads.h:
21881         * libs/gst/controller/gst-controller.c:
21882         * libs/gst/controller/gst-controller.h:
21883         * libs/gst/controller/gst-helper.c:
21884         * libs/gst/controller/gst-interpolation.c:
21885         * libs/gst/controller/lib.c:
21886           added long/short desc for controller docs
21887           added collectpads base class docs
21888           added correct includes to base-class docs
21889
21890 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
21891
21892         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
21893         (gst_test_mono_source_set_property),
21894         (gst_test_mono_source_class_init), (GST_START_TEST),
21895         (gst_controller_suite):
21896         * docs/gst/gstreamer-docs.sgml:
21897         * docs/gst/gstreamer-sections.txt:
21898         * docs/gst/gstreamer.types:
21899         * docs/libs/gstreamer-libs-docs.sgml:
21900         * docs/libs/gstreamer-libs-sections.txt:
21901         * gst/base/gstadapter.c:
21902         * libs/gst/controller/gst-controller.c:
21903         (gst_controlled_property_new), (gst_controlled_property_free),
21904         (gst_controller_new_valist),
21905         (gst_controller_remove_properties_valist),
21906         (gst_controller_sink_values), (_gst_controller_finalize):
21907         * libs/gst/controller/gst-controller.h:
21908         * libs/gst/controller/gst-helper.c:
21909         (gst_object_control_properties), (gst_object_uncontrol_properties),
21910         (gst_object_get_controller), (gst_object_set_controller),
21911         (gst_object_sink_values), (gst_object_get_value_arrays),
21912         (gst_object_get_value_array):
21913           more tests (and fixes) for the controller
21914           more docs for the controller
21915           integrated companies docs for the adapter 
21916
21917 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21918
21919         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
21920         (GST_START_TEST), (fakesrc_suite):
21921           add tests for sizetype
21922
21923 2005-08-04  Andy Wingo  <wingo@pobox.com>
21924
21925         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
21926         fixes buffer_alloc proxying among other things.
21927
21928         * gst/base/gstbasetransform.c:
21929         * gst/base/gstbasetransform.h:
21930         Revert patch to gstbasetransform from 7-28 removing
21931         delay_configure.
21932
21933         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
21934         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
21935         Semantics changed, should return not the size of the output buffer
21936         but the byte size of a buffer with a given caps.
21937
21938         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
21939         debug object.
21940         (gst_base_transform_configure_caps): Don't set out_size here: (in,
21941         out) are not the pad caps until setcaps finishes.
21942         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
21943         not-in-place case as well. Deal with changing from in-place to
21944         not-in-place within calling pad_alloc_buffer. Still a bit
21945         concerned about the overhead here...
21946
21947 2005-08-03  Andy Wingo  <wingo@pobox.com>
21948
21949         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
21950         fixating is an error.
21951
21952 2005-08-04  Edward Hervey  <edward@fluendo.com>
21953
21954         * gst/base/gstadapter.h: 
21955         Added gst_adapter_get_type() to the header
21956
21957 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21958
21959         * check/Makefile.am:
21960         * check/gst-libs/controller.c:
21961         * libs/gst/controller/gst-controller.c:
21962         (gst_controller_new_valist):
21963           added check test suite for the controller
21964         * gst/base/gstpushsrc.c:
21965           fixed a doc typo
21966
21967 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21968
21969         * docs/gst/Makefile.am:
21970         * docs/gst/gstreamer-docs.sgml:
21971         * docs/gst/gstreamer-sections.txt:
21972         * docs/gst/gstreamer.types:
21973         * docs/gst/tmpl/gstfakesrc.sgml:
21974         * gst/base/README:
21975         * gst/base/gstbasesink.c:
21976         * gst/base/gstbasesink.h:
21977         * gst/base/gstbasesrc.c:
21978         * gst/base/gstbasesrc.h:
21979         * gst/base/gstbasetransform.c:
21980         * gst/base/gstpushsrc.c:
21981         * gst/base/gstpushsrc.h:
21982           add short/long description docs to base classes
21983           add pushsrc to the docs
21984           remove consolidated doc fragments
21985
21986 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
21987
21988         * configure.ac:
21989         * docs/libs/Makefile.am:
21990         * docs/libs/gstreamer-libs-docs.sgml:
21991         * docs/libs/gstreamer-libs-sections.txt:
21992         * docs/libs/gstreamer-libs.types:
21993         * examples/Makefile.am:
21994         * examples/controller/.cvsignore:
21995         * examples/controller/Makefile.am:
21996         * examples/controller/audio-example.c: (main):
21997         * libs/gst/Makefile.am:
21998         * libs/gst/controller/.cvsignore:
21999         * libs/gst/controller/Makefile.am:
22000         * libs/gst/controller/gst-controller.c:
22001         (on_object_controlled_property_changed), (gst_timed_value_compare),
22002         (gst_timed_value_find),
22003         (gst_controlled_property_set_interpolation_mode),
22004         (gst_controlled_property_new), (gst_controlled_property_free),
22005         (gst_controller_find_controlled_property),
22006         (gst_controller_new_valist), (gst_controller_new),
22007         (gst_controller_remove_properties_valist),
22008         (gst_controller_remove_properties), (gst_controller_set),
22009         (gst_controller_set_from_list), (gst_controller_unset),
22010         (gst_controller_get), (gst_controller_get_all),
22011         (gst_controller_sink_values), (gst_controller_get_value_arrays),
22012         (gst_controller_get_value_array),
22013         (gst_controller_set_interpolation_mode),
22014         (_gst_controller_finalize), (_gst_controller_init),
22015         (_gst_controller_class_init), (gst_controller_get_type):
22016         * libs/gst/controller/gst-controller.h:
22017         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
22018         (g_object_uncontrol_properties), (g_object_get_controller),
22019         (g_object_set_controller), (g_object_sink_values),
22020         (g_object_get_value_arrays), (g_object_get_value_array):
22021         * libs/gst/controller/gst-interpolation.c:
22022         (gst_controlled_property_find_timed_value_node),
22023         (interpolate_none_get), (interpolate_trigger_get),
22024         (interpolate_trigger_get_value_array):
22025         * libs/gst/controller/lib.c: (gst_controller_init):
22026         * pkgconfig/Makefile.am:
22027         * pkgconfig/gstreamer-control-uninstalled.pc.in:
22028         * pkgconfig/gstreamer-control.pc.in:
22029         * testsuite/Makefile.am:
22030         * testsuite/controller/.cvsignore:
22031         * testsuite/controller/Makefile.am:
22032         * testsuite/controller/interpolator.c: (main):
22033           added controller code
22034           removed dparam pc files
22035
22036 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
22037         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
22038         (gst_collectpads_stop):
22039           Broadcast the condition when shutting down, to make sure we wake all
22040           threads up. Shut down pads on finalize, for safety.
22041
22042 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
22043         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22044         (gst_base_transform_handle_buffer),
22045         (gst_base_transform_change_state):
22046           Handle PAUSED->READY->PAUSED transition after negotiation
22047           occurred already.
22048         * gst/gstmessage.c: (gst_message_init):
22049           Extra piece of debug for new messages.
22050
22051 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
22052
22053         * configure.ac:
22054         * docs/gst/tmpl/gstbasesrc.sgml:
22055         * docs/gst/tmpl/gstelement.sgml:
22056         * docs/gst/tmpl/gstevent.sgml:
22057         * docs/gst/tmpl/gstfakesrc.sgml:
22058         * docs/gst/tmpl/gstformat.sgml:
22059         * docs/gst/tmpl/gstghostpad.sgml:
22060         * docs/gst/tmpl/gstpad.sgml:
22061         * docs/gst/tmpl/gstquery.sgml:
22062         * docs/gst/tmpl/gststructure.sgml:
22063         * docs/gst/tmpl/gsttaglist.sgml:
22064         * docs/gst/tmpl/gstvalue.sgml:
22065         * docs/libs/gstreamer-libs-docs.sgml:
22066         * docs/libs/gstreamer-libs-sections.txt:
22067         * docs/libs/gstreamer-libs.types:
22068         * libs/gst/Makefile.am:
22069         * libs/gst/control/.cvsignore:
22070         * libs/gst/control/Makefile.am:
22071         * libs/gst/control/control.c:
22072         * libs/gst/control/control.h:
22073         * libs/gst/control/dparam.c:
22074         * libs/gst/control/dparam.h:
22075         * libs/gst/control/dparam_smooth.c:
22076         * libs/gst/control/dparam_smooth.h:
22077         * libs/gst/control/dparamcommon.h:
22078         * libs/gst/control/dparammanager.c:
22079         * libs/gst/control/dparammanager.h:
22080         * libs/gst/control/dplinearinterp.c:
22081         * libs/gst/control/dplinearinterp.h:
22082         * libs/gst/control/unitconvert.c:
22083         * libs/gst/control/unitconvert.h:
22084         * testsuite/Makefile.am:
22085         * testsuite/dynparams/.cvsignore:
22086         * testsuite/dynparams/Makefile.am:
22087         * testsuite/dynparams/dparamstest.c:
22088         * tools/Makefile.am:
22089         * tools/gst-inspect.c: (print_element_info), (main):
22090         * tools/gst-xmlinspect.c: (print_element_info), (main):
22091           deactivate and remove dparams (libgstcontrol)
22092
22093 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22094
22095         * gst/elements/gsttypefindelement.c:
22096         (gst_type_find_element_have_type), (gst_type_find_element_init),
22097         (stop_typefinding), (gst_type_find_element_handle_event),
22098         (gst_type_find_element_chain), (gst_type_find_element_getrange):
22099         * gst/elements/gsttypefindelement.h:
22100           Set caps on all outgoing buffers, not just the first one.
22101
22102 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22103
22104         * gst/elements/gsttypefindelement.c:
22105         (gst_type_find_element_have_type),
22106         (gst_type_find_element_check_set_buffer_caps),
22107         (gst_type_find_element_init), (stop_typefinding),
22108         (gst_type_find_element_handle_event),
22109         (gst_type_find_element_chain), (gst_type_find_element_getrange):
22110         * gst/elements/gsttypefindelement.h:
22111           Set caps on first outgoing buffer when we've found the type.
22112
22113 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
22114
22115         * docs/gst/gstreamer-docs.sgml:
22116         * docs/gst/gstreamer-sections.txt:
22117         * docs/gst/tmpl/gstscheduler.sgml:
22118         * docs/gst/tmpl/gstschedulerfactory.sgml:
22119           Remove some old cruft from docs.
22120
22121 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
22122
22123         * gst/gstpad.h:
22124           Fix inline docs for GstPadLinkReturn.
22125           
22126         * gst/gststructure.c: (gst_structure_has_name):
22127         * gst/gststructure.h:
22128         * docs/gst/gstreamer-sections.txt:
22129           New API: gst_structure_has_name().
22130
22131 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
22132
22133         * configure.ac:
22134           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
22135           and _LARGEFILE_SOURCE in config.h as required. Do not 
22136           export those flags in our .pc files any longer (#142209).
22137
22138           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
22139
22140         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
22141         (gst_file_sink_do_seek), (gst_file_sink_event),
22142         (gst_file_sink_get_current_offset), (gst_file_sink_render):
22143           Redo seek/tell calls with large file support in mind; add some
22144           debugging messages; add log message that tells us when large
22145           file support is unavailable or not enabled for some reason.
22146
22147         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
22148           Add log message that tells us when large file support 
22149           is unavailable or not enabled for some reason.
22150
22151 2005-07-29  Wim Taymans  <wim@fluendo.com>
22152
22153         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22154         Added test for removing an element with ghostpad from a bin.
22155         Fixed test as current implementation does the right thing.
22156
22157         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
22158         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
22159         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
22160         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
22161         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
22162         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
22163         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
22164         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
22165         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
22166         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
22167         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
22168         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
22169         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
22170         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
22171         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
22172         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
22173         * gst/gstghostpad.h:
22174         Clean up ghostpads, remove properties for internal stuff.
22175         Make threadsafe.
22176         Fix refcounting.
22177         Prepare for switching targets, not all use cases work yet.
22178
22179 2005-07-29  Wim Taymans  <wim@fluendo.com>
22180
22181         * docs/design/part-gstghostpad.txt:
22182         Small update.
22183
22184         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22185         (gst_bin_remove_func):
22186         Unlinking pads while holding the bin LOCK is not a good
22187         idea.
22188
22189         * gst/gstpad.c: (gst_pad_class_init),
22190         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
22191         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
22192         No prob setting template after creating the pad.
22193
22194 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
22195
22196         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
22197         (gst_bus_peek), (gst_bus_source_dispatch),
22198         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
22199         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
22200           gst_bus_poll may be called from other threads. Handle
22201           this nicely by not making poll_data disappear off the
22202           stack once gst_bus_poll returns.
22203           gst_bus_peek now increments the refcount on the returned
22204           message.
22205
22206 2005-07-29  Wim Taymans  <wim@fluendo.com>
22207
22208         * docs/design/part-gstghostpad.txt:
22209         Overview of current GhostPad datastructures and use
22210         cases for changing the target.
22211
22212 2005-07-28  Wim Taymans  <wim@fluendo.com>
22213
22214         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22215         Added checks for hierarchy consistency whan adding linked
22216         elements to bins.
22217
22218         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
22219         Added check to test element scheduling without bin/pipeline.
22220
22221         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
22222         First add elements to bin, then link.
22223         
22224         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
22225         (gst_bin_remove_func):
22226         Unlink pads from elements added/removed from bin to maintain
22227         hierarchy consistency.
22228
22229 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22230
22231         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
22232         (gst_base_transform_handle_buffer):
22233         * gst/base/gstbasetransform.h:
22234           Remove broken delay_configure (fixes renegotiation of software
22235           scaling pipelines); remove some leftover printf()s.
22236
22237 2005-07-28  Wim Taymans  <wim@fluendo.com>
22238
22239         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
22240         Added some more tests for wrong hierarchy
22241
22242         * docs/design/part-overview.txt:
22243         Some updates.
22244
22245         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
22246         Cleanups.
22247
22248         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
22249         (gst_element_dispose):
22250         Some more cleanups.
22251
22252         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
22253         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
22254         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22255         (gst_pad_set_caps), (gst_pad_send_event):
22256         Check for correct hierarchy when linking pads. Moving to
22257         strict requirement for ghostpads when linking elements in
22258         different bins.
22259
22260         * gst/gstpad.h:
22261         Clean ups. Added WRONG_HIERARCHY return value.
22262
22263 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22264
22265         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
22266           Better debug if no transform is possible.
22267
22268 2005-07-27  Wim Taymans  <wim@fluendo.com>
22269
22270         * docs/random/wtay/network-transp:
22271         Some old doc I had.
22272
22273 2005-07-27  Wim Taymans  <wim@fluendo.com>
22274
22275         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22276         (gst_dp_event_from_packet):
22277         Fix serialization of seek events.
22278
22279 2005-07-27  Wim Taymans  <wim@fluendo.com>
22280
22281         * check/gst-libs/gdp.c: (GST_START_TEST):
22282         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22283         Fix compilation and fix event serialization.
22284
22285 2005-07-27  Wim Taymans  <wim@fluendo.com>
22286
22287         * CHANGES-0.9:
22288         * docs/design/part-TODO.txt:
22289         * docs/design/part-events.txt:
22290         Some docs updates
22291
22292         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22293         (gst_base_sink_event), (gst_base_sink_do_sync),
22294         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22295         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22296         (gst_base_src_do_seek), (gst_base_src_event_handler),
22297         (gst_base_src_loop):
22298         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22299         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22300         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22301         (gst_base_transform_event), (gst_base_transform_handle_buffer),
22302         (gst_base_transform_set_passthrough),
22303         (gst_base_transform_is_passthrough):
22304         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
22305         * gst/elements/gstfilesink.c: (gst_file_sink_event):
22306         Event updates.
22307
22308         * gst/gstbuffer.h:
22309         Use faster casts.
22310
22311         * gst/gstelement.c: (gst_element_seek):
22312         * gst/gstelement.h:
22313         Update gst_element_seek.
22314
22315         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
22316         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
22317         (gst_event_new_flush_start), (gst_event_new_flush_stop),
22318         (gst_event_new_eos), (gst_event_new_newsegment),
22319         (gst_event_parse_newsegment), (gst_event_new_tag),
22320         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
22321         (gst_event_parse_qos), (gst_event_new_seek),
22322         (gst_event_parse_seek), (gst_event_new_navigation):
22323         * gst/gstevent.h:
22324         Make GstEvent use GstStructure. Add parsing code, make sure the
22325         API is sufficiently generic.
22326         Mark possible directions of events and serialization.
22327
22328         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
22329         (_gst_message_copy), (gst_message_new_segment_start),
22330         (gst_message_new_segment_done), (gst_message_new_custom),
22331         (gst_message_parse_segment_start),
22332         (gst_message_parse_segment_done):
22333         Small cleanups.
22334
22335         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22336         (gst_pad_set_caps), (gst_pad_send_event):
22337         Update for new events. 
22338         Catch events sent in wrong directions.
22339
22340         * gst/gstqueue.c: (gst_queue_link_src),
22341         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
22342         (gst_queue_handle_src_query):
22343         Event updates.
22344
22345         * gst/gsttag.c:
22346         * gst/gsttag.h:
22347         Remove event code from this file.
22348
22349         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
22350         (gst_dp_event_from_packet):
22351         Event updates.
22352
22353 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22354
22355         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
22356         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22357         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
22358           Make debugging actually useful.
22359
22360 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22361
22362         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
22363         (gst_pad_fixate_caps):
22364           Implement default fixation once again, so that gst_pad_fixate()
22365           actually does anything at all. This probably needs to be some
22366           sort of a last resort, and use profile-based fixation first, but
22367           since that doesn't exist yet, this is the best we have. Fixes
22368           visualization in Totem.
22369
22370 2005-07-22  Wim Taymans  <wim@fluendo.com>
22371
22372         * docs/design/part-events.txt:
22373         Small update.
22374
22375         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22376         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
22377         (gst_base_sink_activate_pull):
22378         Some more comments.
22379
22380         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
22381         (gst_fake_src_create):
22382         Fix handoff marshall.
22383
22384         * gst/elements/gstidentity.c: (gst_identity_class_init),
22385         (gst_identity_transform_ip):
22386         We're a real inplace element.
22387
22388         * gst/gstbus.c: (gst_bus_post):
22389         Added some comments.
22390
22391         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
22392         * tests/muxing/case1.c: (main):
22393         * tests/sched/dynamic-pipeline.c: (main):
22394         * tests/sched/interrupt1.c: (main):
22395         * tests/sched/interrupt2.c: (main):
22396         * tests/sched/interrupt3.c: (main):
22397         * tests/sched/runxml.c: (main):
22398         * tests/sched/sched-stress.c: (main):
22399         * tests/seeking/seeking1.c: (event_received), (main):
22400         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22401         (main):
22402         * tests/threadstate/threadstate3.c: (main):
22403         * tests/threadstate/threadstate4.c: (main):
22404         * tests/threadstate/threadstate5.c: (main):
22405         Fix the tests.
22406
22407 2005-07-21  Wim Taymans  <wim@fluendo.com>
22408
22409         * docs/design/part-seeking.txt:
22410         Some small additions.
22411
22412         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22413         (gst_base_sink_get_times), (gst_base_sink_do_sync),
22414         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
22415         * gst/base/gstbasesink.h:
22416         discont values are gint64, handle the math correctly.
22417
22418         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22419         Make the basesrc report error if the source pad is not linked.
22420
22421         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
22422         (gst_queue_loop), (gst_queue_handle_src_query),
22423         (gst_queue_src_activate_push):
22424         Make queue collect data even if the srcpad is not linked.
22425         Start pushing out data as soon as it is linked.
22426
22427         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
22428         * gst/gstutils.h:
22429         Added gst_flow_get_name() to ease error reporting.
22430
22431 2005-07-20  Wim Taymans  <wim@fluendo.com>
22432
22433         * gst/gstmessage.c: (gst_message_new_segment_start),
22434         (gst_message_new_segment_done), (gst_message_parse_segment_start),
22435         (gst_message_parse_segment_done):
22436         * gst/gstmessage.h:
22437         Added a bunch of messages for advanced seeking.
22438
22439         * gst/parse/grammar.y:
22440         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
22441         (gst_dpman_state_changed):
22442         Fix some new-pad -> pad-added signals
22443
22444 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22445
22446         * docs/manual/appendix-porting.xml:
22447         * docs/pwg/appendix-porting.xml:
22448           Document new-pad/state-change signal renames and the FixedList
22449           type rename.
22450
22451 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22452
22453         * docs/manual/advanced-autoplugging.xml:
22454         * docs/manual/basics-helloworld.xml:
22455         * docs/manual/basics-pads.xml:
22456         * docs/random/ds/0.9-suggested-changes:
22457         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
22458         * gst/gstelement.h:
22459         * gst/gstevent.h:
22460         * gst/gstformat.h:
22461         * gst/gstquery.h:
22462         * gst/gststructure.c: (gst_structure_value_get_generic_type),
22463         (gst_structure_parse_array), (gst_structure_parse_value):
22464         * gst/gstvalue.c: (gst_type_is_fixed),
22465         (gst_value_list_prepend_value), (gst_value_list_append_value),
22466         (gst_value_list_get_size), (gst_value_list_get_value),
22467         (gst_value_transform_array_string), (gst_value_serialize_array),
22468         (gst_value_deserialize_array), (gst_value_intersect_array),
22469         (gst_value_is_fixed), (_gst_value_initialize):
22470         * gst/gstvalue.h:
22471           GstElement::new-pad -> pad-added, GstElement::state-change ->
22472           state-changed, GstValueFixedList -> GstValueArray, add format and
22473           flags as their own arguments in gst_element_seek() (should improve
22474           "bindeability"), remove function generators since they don't work
22475           under a whole bunch of compilers (they were deprecated already
22476           anyway).
22477
22478 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22479
22480         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22481         (_gst_debug_register_funcptr):
22482         * gst/gstinfo.h:
22483           Fix illegal cast on some platforms (#309253).
22484
22485 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22486
22487         * gst/gstmessage.c: (gst_message_new_custom):
22488         * gst/gstmessage.h:
22489           Add _new_custom, make _new_application a macro to _new_custom.
22490
22491 2005-07-20  Wim Taymans  <wim@fluendo.com>
22492
22493         * gst/base/gstbasesrc.c: (gst_base_src_init),
22494         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
22495         * gst/base/gstbasesrc.h:
22496         Add a gboolean to decide when to push out a discont.
22497
22498         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
22499         (gst_queue_loop), (gst_queue_handle_src_query),
22500         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
22501         (gst_queue_set_property), (gst_queue_get_property):
22502         Some cleanups.
22503
22504         * tests/threadstate/threadstate1.c: (main):
22505         Make a thread test compile and run... very silly..
22506
22507
22508 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22509
22510         * docs/manual/appendix-porting.xml:
22511           Mention removal of libgstgconf-0.9.la and existence of gconf
22512           elements.
22513
22514 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
22515
22516         * docs/pwg/advanced-clock.xml:
22517         * docs/pwg/appendix-porting.xml:
22518         * docs/pwg/intro-preface.xml:
22519         * docs/pwg/other-base.xml:
22520         * docs/pwg/other-manager.xml:
22521         * docs/pwg/other-nton.xml:
22522         * docs/pwg/other-ntoone.xml:
22523         * docs/pwg/other-oneton.xml:
22524         * docs/pwg/pwg.xml:
22525           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
22526           demuxer), remove n-to-n (was never written), fix some code examples
22527           and links and update the porting section to include all this.
22528
22529 2005-07-19  Wim Taymans  <wim@fluendo.com>
22530
22531         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
22532         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
22533         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
22534         (gst_queue_src_activate_push), (gst_queue_change_state),
22535         (gst_queue_get_property):
22536         * gst/gstqueue.h:
22537         Propagate GstFlowReturn more intelligently upstream and output
22538         an ERROR/EOS when streaming stopped due to fatal error.
22539
22540 2005-07-19  Wim Taymans  <wim@fluendo.com>
22541
22542         * tools/gst-launch.c: (check_intr), (event_loop), (main):
22543         Don't block forever for the state change to complete, the
22544         pipeline already did with a sensible timeout.
22545
22546 2005-07-19  Wim Taymans  <wim@fluendo.com>
22547
22548         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
22549         Make sure we never call the create function is we
22550         got deactivated.
22551
22552 2005-07-19  Andy Wingo  <wingo@pobox.com>
22553
22554         * gst/parse/parse.l: Attempt to solve bug #172815.
22555
22556 2005-07-19  Wim Taymans  <wim@fluendo.com>
22557
22558         * docs/design/part-clocks.txt:
22559         * docs/design/part-events.txt:
22560         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
22561         Small docs updates.
22562         Only update the seeking values when we are not
22563         busy streaming.
22564
22565 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22566
22567         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22568           Oops, ignore the result of gst_pad_push_event here.
22569
22570 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
22571
22572         * gst/base/gstbasesrc.c: (gst_base_src_loop),
22573         (gst_base_src_activate_push):
22574           Send discont event from the loop function, as pads
22575           aren't activated yet in the activate_push handler.
22576
22577         * gst/gstbin.c: (bin_bus_handler):
22578           Don't leak element name.
22579
22580 2005-07-18  Andy Wingo  <wingo@pobox.com>
22581
22582         * configure.ac: Use AS_LIBTOOL_TAGS.
22583
22584 2005-07-18  Wim Taymans  <wim@fluendo.com>
22585
22586         * docs/gst/gstreamer.types:
22587         Remove deleted types.
22588
22589 2005-07-18  Wim Taymans  <wim@fluendo.com>
22590
22591         * check/elements/gstfakesrc.c: (GST_START_TEST):
22592         * configure.ac:
22593         * gst/Makefile.am:
22594         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
22595         (init_popt_callback):
22596         * gst/gst.h:
22597         * gst/gst_private.h:
22598         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
22599         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
22600         * gst/gstbin.h:
22601         * gst/gstbus.h:
22602         * gst/gstconfig.h.in:
22603         * gst/gstelement.c: (gst_element_class_init),
22604         (gst_element_set_base_time), (gst_element_get_base_time),
22605         (iterator_fold_with_resync), (gst_element_change_state),
22606         (gst_element_dispose), (gst_element_get_bus):
22607         * gst/gstelement.h:
22608         * gst/gstelementfactory.h:
22609         * gst/gsterror.c: (_gst_core_errors_init):
22610         * gst/gsterror.h:
22611         * gst/gstevent.h:
22612         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22613         * gst/gstindex.c:
22614         * gst/gstinfo.c: (_gst_debug_init):
22615         * gst/gstmessage.c: (_gst_message_copy):
22616         * gst/gstmessage.h:
22617         * gst/gstminiobject.h:
22618         * gst/gstobject.c:
22619         * gst/gstobject.h:
22620         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22621         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
22622         * gst/gstpad.h:
22623         * gst/gstparse.h:
22624         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
22625         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22626         (gst_pipeline_get_last_stream_time):
22627         * gst/gstpipeline.h:
22628         * gst/gstpluginfeature.h:
22629         * gst/gstquery.h:
22630         * gst/gstscheduler.c:
22631         * gst/gstscheduler.h:
22632         * gst/gststructure.h:
22633         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
22634         (gst_task_finalize), (gst_task_func), (gst_task_create),
22635         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
22636         (gst_task_stop), (gst_task_pause):
22637         * gst/gsttask.h:
22638         * gst/gsttypefind.h:
22639         * gst/gsttypes.h:
22640         * gst/registries/gstlibxmlregistry.c: (load_feature),
22641         (gst_xml_registry_load), (gst_xml_registry_save_feature):
22642         * gst/registries/gstxmlregistry.c:
22643         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
22644         * gst/schedulers/threadscheduler.c:
22645         * libs/gst/control/dparammanager.h:
22646         * tools/gst-inspect.c: (print_element_list),
22647         (print_plugin_features), (print_element_features):
22648         * tools/gst-xmlinspect.c: (print_element_list),
22649         (print_plugin_info), (main):
22650         Removed plugable schedulers.
22651         Removed Scheduler/Manager from elements.
22652         Removed gsttypes.h, rearranged includes.
22653         Removed dependency pad<->element, element<>pipeline, and
22654         various others,  fix includes.
22655         implement gst_pad_get_parent() with gst_object_get_parent()
22656         Make GstTask sefcontained.
22657         Fix _get_state() on GstBin, it did not return ASYNC with a 0
22658         timeout.
22659         Fix endless loop in iterator_fold_with_resync.
22660
22661
22662 2005-07-18  Wim Taymans  <wim@fluendo.com>
22663
22664         * gst/Makefile.am:
22665         * gst/gstarch.h:
22666         Remove old file.
22667
22668 2005-07-18  Wim Taymans  <wim@fluendo.com>
22669
22670         * gst/Makefile.am:
22671         No more cothreads.h
22672
22673 2005-07-18  Wim Taymans  <wim@fluendo.com>
22674
22675         * gst/cothreads.c:
22676         * gst/cothreads.h:
22677         Let's remove these.
22678
22679 2005-07-18  Wim Taymans  <wim@fluendo.com>
22680
22681         * docs/design/part-dynamic.txt:
22682         * docs/design/part-events.txt:
22683         * docs/design/part-seeking.txt:
22684         Some more docs in the works.
22685
22686         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
22687         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
22688         (gst_base_transform_setcaps), (gst_base_transform_get_size),
22689         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
22690         (gst_base_transform_handle_buffer),
22691         (gst_base_transform_sink_activate_push),
22692         (gst_base_transform_src_activate_pull),
22693         (gst_base_transform_set_passthrough),
22694         (gst_base_transform_is_passthrough):
22695         Refcounting fixes.
22696
22697         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
22698         Cleanups.
22699
22700         * gst/gstevent.c: (gst_event_finalize):
22701         Set SRC to NULL.
22702
22703         * gst/gstutils.c: (gst_element_unlink),
22704         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
22705         (gst_pad_proxy_setcaps):
22706         * gst/gstutils.h:
22707         Add _get_parent_element() to get a pads parent as an element.
22708
22709 2005-07-18  Wim Taymans  <wim@fluendo.com>
22710
22711         * check/gst/gstbin.c: (GST_START_TEST):
22712         Remove bogus test.
22713
22714 2005-07-18  Wim Taymans  <wim@fluendo.com>
22715
22716         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
22717         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
22718         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
22719         (gst_base_sink_event), (gst_base_sink_do_sync),
22720         (gst_base_sink_chain), (gst_base_sink_loop),
22721         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
22722         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
22723         Refcounting fixes.
22724         Fix logic for returning ASYNC when not prerolled.
22725
22726 2005-07-18  Wim Taymans  <wim@fluendo.com>
22727
22728         * gst/gstqueue.c: (gst_queue_handle_sink_event):
22729         Fix nasty refcount bug.
22730
22731 2005-07-16 Philippe Khalaf <burger@speedy.org>
22732
22733         * gst/elements/gstfdsrc.c:
22734         * gst/elements/gstfdsrc.h:
22735         * gst/elements/gstelements.c:
22736         * gst/elements/Makefile.am:
22737         Ported fdsrc to 0.9.
22738
22739 2005-07-16  Wim Taymans  <wim@fluendo.com>
22740
22741         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22742         (gst_base_sink_do_sync):
22743         Fix compile error.
22744
22745 2005-07-16  Wim Taymans  <wim@fluendo.com>
22746
22747         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
22748         (gst_base_sink_event), (gst_base_sink_get_times),
22749         (gst_base_sink_do_sync), (gst_base_sink_change_state):
22750         * gst/base/gstbasesink.h:
22751         Store and use discont values when syncing buffers as described
22752         in design docs.
22753         
22754         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
22755         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
22756         (gst_base_src_activate_push):
22757         Push discont event when starting.
22758
22759         * gst/elements/gstidentity.c: (gst_identity_transform):
22760         Small cleanups.
22761
22762         * gst/gstbin.c: (gst_bin_change_state):
22763         Small cleanups in base_time  distribution.
22764
22765         * gst/gstelement.c: (gst_element_set_base_time),
22766         (gst_element_get_base_time), (gst_element_change_state):
22767         * gst/gstelement.h:
22768         Added methods for the base_time of the element.
22769         Some MT fixes.
22770
22771         * gst/gstpipeline.c: (gst_pipeline_send_event),
22772         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
22773         (gst_pipeline_get_last_stream_time):
22774         * gst/gstpipeline.h:
22775         MT fixes.
22776         Handle seeking as described in design doc, remove stream_time
22777         hack.
22778         Cleanups clock and stream_time selection code. Added accessors
22779         for the stream_time.
22780         
22781
22782 2005-07-16  Andy Wingo  <wingo@pobox.com>
22783
22784         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
22785         (#305291).
22786
22787 2005-07-16  Wim Taymans  <wim@fluendo.com>
22788
22789         * check/gst/gstbin.c: (GST_START_TEST):
22790         Make elements silent as the deep_notify refs the
22791         parent, which might make the test fail.
22792
22793         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
22794         Don't hold the lock for too long.
22795
22796 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
22797
22798         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
22799           Don't unref the caps we passed to gst_caps_make_writable() after
22800           passing them. gst_caps_make_writable() will do that for us.
22801
22802 2005-07-15  Andy Wingo  <wingo@pobox.com>
22803
22804         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
22805         (#157311).
22806
22807         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
22808         own marshalling function for the handoff signal. Properly type the
22809         buffer as a buffer. Fixes some warnings. Should do a more general
22810         solution.
22811         (gst_identity_class_init): Plug into the right marshaller.
22812
22813 2005-07-15  Wim Taymans  <wim@fluendo.com>
22814
22815         * docs/design/part-TODO.txt:
22816         * docs/design/part-clocks.txt:
22817         * docs/design/part-element-sink.txt:
22818         * docs/design/part-events.txt:
22819         * docs/design/part-gstpipeline.txt:
22820         Updated docs, mostly DISCONT related.
22821
22822 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
22823
22824         * docs/pwg/building-pads.xml:
22825           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
22826
22827 2005-07-15  Andy Wingo  <wingo@pobox.com>
22828
22829         * tools/gst-typefind.c: Update, add copyright block.
22830
22831         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
22832         Normalize and truncate caps before fixation.
22833
22834         * gst/gstcaps.h:
22835         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
22836         discards all but the first structure from its argument.
22837
22838 2005-07-15  Wim Taymans  <wim@fluendo.com>
22839
22840         * gst/base/gstbasetransform.c: (gst_base_transform_init),
22841         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
22842         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
22843         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
22844         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
22845         (gst_base_transform_chain), (gst_base_transform_change_state),
22846         (gst_base_transform_set_passthrough),
22847         (gst_base_transform_is_passthrough):
22848         * gst/base/gstbasetransform.h:
22849         Make passthrough work using the bufferpools.
22850         Changed API a bit, subclasses have to write into a buffer
22851         provided by the base class.
22852         More debug info in nego functions.
22853         
22854         * gst/elements/gstidentity.c: (gst_identity_init),
22855         (gst_identity_transform):
22856         Port to new base class.
22857
22858 2005-07-15  Wim Taymans  <wim@fluendo.com>
22859
22860         * gst/gstmessage.c: (gst_message_new_state_changed):
22861         * tools/gst-launch.c: (event_loop), (main):
22862         Totally dump messages in -launch with the -m option.
22863         Fix message name for State messages,
22864
22865 2005-07-14  Wim Taymans  <wim@fluendo.com>
22866
22867         * gst/base/gstbasesrc.c: (gst_base_src_loop):
22868         Post error messages on errors.
22869
22870 2005-07-14  Wim Taymans  <wim@fluendo.com>
22871
22872         * gst/gstcaps.c: (gst_caps_do_simplify):
22873         Remove debug info.
22874
22875         * gst/gsterror.h:
22876         Define error for stream stopped.
22877
22878         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
22879         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
22880         Do proper return values.
22881
22882         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
22883         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
22884         (gst_pad_get_range):
22885         Better return values.
22886
22887         * gst/gstpad.h:
22888         Reorganise return values, add macro to check for fatal errors.
22889
22890         * gst/gstqueue.c: (gst_queue_chain):
22891         Return proper GstFlowReturn values,
22892
22893 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
22894
22895         * docs/gst/gstreamer-sections.txt:
22896         * docs/gst/gstreamer.types:
22897         * docs/gst/tmpl/gst.sgml:
22898         * docs/gst/tmpl/gstbasesink.sgml:
22899         * docs/gst/tmpl/gstbasesrc.sgml:
22900         * docs/gst/tmpl/gstbasetransform.sgml:
22901         * docs/gst/tmpl/gstbin.sgml:
22902         * docs/gst/tmpl/gstbuffer.sgml:
22903         * docs/gst/tmpl/gstcaps.sgml:
22904         * docs/gst/tmpl/gstclock.sgml:
22905         * docs/gst/tmpl/gstcompat.sgml:
22906         * docs/gst/tmpl/gstconfig.sgml:
22907         * docs/gst/tmpl/gstelement.sgml:
22908         * docs/gst/tmpl/gstelementdetails.sgml:
22909         * docs/gst/tmpl/gstelementfactory.sgml:
22910         * docs/gst/tmpl/gstenumtypes.sgml:
22911         * docs/gst/tmpl/gsterror.sgml:
22912         * docs/gst/tmpl/gstevent.sgml:
22913         * docs/gst/tmpl/gstfakesink.sgml:
22914         * docs/gst/tmpl/gstfakesrc.sgml:
22915         * docs/gst/tmpl/gstfilesink.sgml:
22916         * docs/gst/tmpl/gstfilesrc.sgml:
22917         * docs/gst/tmpl/gstfilter.sgml:
22918         * docs/gst/tmpl/gstformat.sgml:
22919         * docs/gst/tmpl/gstghostpad.sgml:
22920         * docs/gst/tmpl/gstimplementsinterface.sgml:
22921         * docs/gst/tmpl/gstindex.sgml:
22922         * docs/gst/tmpl/gstindexfactory.sgml:
22923         * docs/gst/tmpl/gstinfo.sgml:
22924         * docs/gst/tmpl/gstiterator.sgml:
22925         * docs/gst/tmpl/gstmacros.sgml:
22926         * docs/gst/tmpl/gstmemchunk.sgml:
22927         * docs/gst/tmpl/gstminiobject.sgml:
22928         * docs/gst/tmpl/gstobject.sgml:
22929         * docs/gst/tmpl/gstpad.sgml:
22930         * docs/gst/tmpl/gstpadtemplate.sgml:
22931         * docs/gst/tmpl/gstparse.sgml:
22932         * docs/gst/tmpl/gstpipeline.sgml:
22933         * docs/gst/tmpl/gstplugin.sgml:
22934         * docs/gst/tmpl/gstpluginfeature.sgml:
22935         * docs/gst/tmpl/gstquery.sgml:
22936         * docs/gst/tmpl/gstqueue.sgml:
22937         * docs/gst/tmpl/gstregistry.sgml:
22938         * docs/gst/tmpl/gstregistrypool.sgml:
22939         * docs/gst/tmpl/gstscheduler.sgml:
22940         * docs/gst/tmpl/gstschedulerfactory.sgml:
22941         * docs/gst/tmpl/gststructure.sgml:
22942         * docs/gst/tmpl/gstsystemclock.sgml:
22943         * docs/gst/tmpl/gsttaglist.sgml:
22944         * docs/gst/tmpl/gsttagsetter.sgml:
22945         * docs/gst/tmpl/gsttrace.sgml:
22946         * docs/gst/tmpl/gsttrashstack.sgml:
22947         * docs/gst/tmpl/gsttypefind.sgml:
22948         * docs/gst/tmpl/gsttypefindfactory.sgml:
22949         * docs/gst/tmpl/gsttypes.sgml:
22950         * docs/gst/tmpl/gsturihandler.sgml:
22951         * docs/gst/tmpl/gsturitype.sgml:
22952         * docs/gst/tmpl/gstutils.sgml:
22953         * docs/gst/tmpl/gstvalue.sgml:
22954         * docs/gst/tmpl/gstversion.sgml:
22955         * docs/gst/tmpl/gstxml.sgml:
22956         * docs/libs/tmpl/gstcontrol.sgml:
22957         * docs/libs/tmpl/gstdataprotocol.sgml:
22958         * docs/libs/tmpl/gstdparam.sgml:
22959         * docs/libs/tmpl/gstdplinint.sgml:
22960         * docs/libs/tmpl/gstdpman.sgml:
22961         * docs/libs/tmpl/gstdpsmooth.sgml:
22962         * docs/libs/tmpl/gstgetbits.sgml:
22963         * docs/libs/tmpl/gstunitconvert.sgml:
22964         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
22965         (gst_push_src_base_init), (gst_push_src_class_init),
22966         (gst_push_src_init), (gst_push_src_create):
22967         * gst/base/gstpushsrc.h:
22968         * gst/elements/gstelements.c:
22969         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
22970         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
22971         (gst_fake_sink_init), (gst_fake_sink_set_property),
22972         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
22973         (gst_fake_sink_event), (gst_fake_sink_preroll),
22974         (gst_fake_sink_render), (gst_fake_sink_change_state):
22975         * gst/elements/gstfakesink.h:
22976         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
22977         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
22978         (gst_fake_src_base_init), (gst_fake_src_class_init),
22979         (gst_fake_src_init), (gst_fake_src_event_handler),
22980         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
22981         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
22982         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
22983         (gst_fake_src_create_buffer), (gst_fake_src_create),
22984         (gst_fake_src_start), (gst_fake_src_stop):
22985         * gst/elements/gstfakesrc.h:
22986         * gst/elements/gstfilesink.c: (_do_init),
22987         (gst_file_sink_base_init), (gst_file_sink_class_init),
22988         (gst_file_sink_init), (gst_file_sink_dispose),
22989         (gst_file_sink_set_location), (gst_file_sink_set_property),
22990         (gst_file_sink_get_property), (gst_file_sink_open_file),
22991         (gst_file_sink_close_file), (gst_file_sink_query),
22992         (gst_file_sink_event), (gst_file_sink_render),
22993         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
22994         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
22995         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
22996         * gst/elements/gstfilesink.h:
22997         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
22998         (gst_file_src_class_init), (gst_file_src_init),
22999         (gst_file_src_finalize), (gst_file_src_set_location),
23000         (gst_file_src_set_property), (gst_file_src_get_property),
23001         (gst_file_src_map_region), (gst_file_src_map_small_region),
23002         (gst_file_src_create_mmap), (gst_file_src_create_read),
23003         (gst_file_src_create), (gst_file_src_is_seekable),
23004         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
23005         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
23006         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
23007         (gst_file_src_uri_handler_init):
23008         * gst/elements/gstfilesrc.h:
23009           more autistic cleanliness in functions/names/defines
23010
23011 2005-07-13  Andy Wingo  <wingo@pobox.com>
23012
23013         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
23014         source couldn't negotiate.
23015
23016         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
23017         connections again.
23018
23019         * gst/gstutils.h:
23020         * gst/gstutils.c (gst_element_link_pads_filtered): New old
23021         function. I am channeling Hades. Put your boots on suckers!!!
23022
23023 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23024
23025         * testsuite/caps/Makefile.am:
23026         * testsuite/caps/value_compare.c:
23027         * testsuite/caps/value_intersect.c:
23028         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
23029           move two testsuite apps over to the check dir
23030
23031 2005-07-12  Wim Taymans  <wim@fluendo.com>
23032
23033         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
23034         Added more debug info in the negotiate process.
23035
23036         * gst/gstmessage.h:
23037         Prepare for segment playback.
23038
23039         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
23040         Better debugging.
23041
23042         * gst/gstutils.c:
23043         Some more docs.
23044
23045         * tools/gst-launch.c: (main):
23046         NULL pipeline on errors.
23047
23048 2005-07-12  Andy Wingo  <wingo@pobox.com>
23049
23050         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
23051         not it comes from a malloc region. Make sure our copy gets freed.
23052
23053 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23054
23055         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
23056         * check/gst/gstmessage.c: (GST_START_TEST):
23057         * check/gst/gststructure.c: (GST_START_TEST),
23058         (gst_structure_suite), (main):
23059           more testing
23060         * gst/gstelement.c: (gst_element_message_full):
23061           clean up GError and debug string now that they get copied
23062         * gst/gstmessage.c: (gst_message_new_error),
23063         (gst_message_new_warning), (gst_message_parse_error),
23064         (gst_message_parse_warning):
23065           use GST_TYPE_G_ERROR for structure_new, and take copies of
23066           arguments, so that we don't mess up refcounting
23067
23068 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23069
23070         * check/Makefile.am:
23071           add per-test valgrind targets
23072         * check/gst-libs/gdp.c: (GST_START_TEST),
23073         (gst_data_protocol_suite), (main):
23074           clean up
23075
23076 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23077
23078         * check/Makefile.am:
23079           instate more valgrindable tests
23080         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23081         (GST_START_TEST), (fakesrc_suite):
23082         * check/gst/gstpad.c: (GST_START_TEST):
23083         * check/gst/gststructure.c: (GST_START_TEST):
23084           fix test leaks
23085         * docs/gst/tmpl/gstminiobject.sgml:
23086         * gst/gstpad.c: (gst_pad_finalize):
23087           fix the static mutex leak
23088
23089 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23090
23091         * check/Makefile.am:
23092           add two more tests for valgrinding
23093         * check/gst/gstvalue.c: (GST_START_TEST):
23094           test refcount of deserialized buffer, found a leak
23095         * docs/gst/gstreamer-docs.sgml:
23096         * docs/gst/gstreamer-sections.txt:
23097         * docs/gst/gstreamer.types:
23098         * docs/gst/tmpl/gstminiobject.sgml:
23099           add miniobject to docs
23100         * gst/gstminiobject.c:
23101           add some docs
23102         * gst/gstvalue.c: (gst_value_deserialize_buffer),
23103         (gst_string_unwrap):
23104           fix a hard-to-find invalid write for one of the tests
23105           fix a leak for deserialized buffers
23106
23107 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23108
23109         * docs/pwg/advanced-events.xml:
23110         * docs/pwg/advanced-request.xml:
23111         * docs/pwg/advanced-scheduling.xml:
23112         * docs/pwg/appendix-porting.xml:
23113         * docs/pwg/building-boiler.xml:
23114         * docs/pwg/intro-preface.xml:
23115         * docs/pwg/other-ntoone.xml:
23116           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
23117           of example code and explanation for pad activation, loop() and
23118           getrange() functions and a bit more. Remove old comments pointing
23119           to loop-functions.
23120         * examples/pwg/Makefile.am:
23121           Add loop/getrange examples.
23122
23123 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23124
23125         * configure.ac:
23126           check for valgrind binary + some fixes
23127         * check/gst.supp:
23128           valgrind suppressions for the tests
23129         * check/Makefile.am:
23130           add a valgrind: target that valgrinds the unit tests
23131         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
23132         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
23133         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23134         * check/gst/gstghostpad.c:
23135           added some cleanup
23136         * check/gst/gstdata.c:
23137           removed
23138         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
23139         (thread_unref), (gst_mini_object_suite), (main):
23140           added
23141         * gst/gst.c: (gst_deinit):
23142         * gst/gst.h:
23143           add a method to clean up.
23144         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23145         (gst_system_clock_obtain):
23146           allow for disposing the system clock.
23147         * tools/gst-launch.c: (main):
23148           deinit
23149
23150 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23151
23152         * docs/gst/tmpl/gstbasesrc.sgml:
23153         * docs/gst/tmpl/gstfakesrc.sgml:
23154         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23155         (gst_base_src_init), (gst_base_src_set_property),
23156         (gst_base_src_get_property), (gst_base_src_get_range),
23157         (gst_base_src_start):
23158         * gst/base/gstbasesrc.h:
23159           add num-buffers property
23160         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23161         (gst_fakesrc_init), (gst_fakesrc_set_property),
23162         (gst_fakesrc_get_property), (gst_fakesrc_create),
23163         (gst_fakesrc_start):
23164           remove num-buffers property
23165
23166 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23167
23168         * docs/gst/gstreamer-sections.txt:
23169         * docs/gst/tmpl/gstbasesink.sgml:
23170         * docs/gst/tmpl/gstbasesrc.sgml:
23171         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
23172         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
23173         (gst_base_sink_finalize), (gst_base_sink_set_clock),
23174         (gst_base_sink_set_property), (gst_base_sink_get_property),
23175         (gst_base_sink_handle_object), (gst_base_sink_event),
23176         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
23177         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
23178         (gst_base_sink_loop), (gst_base_sink_deactivate),
23179         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
23180         (gst_base_sink_change_state):
23181         * gst/base/gstbasesink.h:
23182         * gst/base/gstbasesrc.h:
23183         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
23184         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
23185         (gst_filesink_init):
23186           more macro splitting
23187
23188 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23189
23190         * gst/gstelement.c: (gst_element_get_bus):
23191           add debug
23192         * tools/gst-launch.c: (check_intr), (event_loop):
23193           fix bus leaks
23194
23195 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23196
23197         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
23198           fix a caps leak
23199
23200 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
23201
23202         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23203         (gst_base_src_finalize):
23204           add finalize method and clean up properly
23205         * gst/gstpipeline.c: (gst_pipeline_dispose):
23206           add debug
23207
23208 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23209
23210         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
23211         (gst_bin_suite):
23212           add more things to check
23213         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
23214         * gst/gstelement.c:
23215           more debug
23216
23217 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23218
23219         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23220         (GST_START_TEST), (fakesrc_suite):
23221         * check/gst-libs/gdp.c: (GST_START_TEST):
23222         * check/gst/gst.c: (GST_START_TEST):
23223         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
23224         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
23225         * check/gst/gstbus.c: (GST_START_TEST):
23226         * check/gst/gstcaps.c: (GST_START_TEST):
23227         * check/gst/gstdata.c: (GST_START_TEST):
23228         * check/gst/gstelement.c: (GST_START_TEST):
23229         * check/gst/gstghostpad.c: (GST_START_TEST):
23230         * check/gst/gstiterator.c: (GST_START_TEST):
23231         * check/gst/gstmessage.c: (GST_START_TEST):
23232         * check/gst/gstobject.c: (GST_START_TEST):
23233         * check/gst/gstpad.c: (GST_START_TEST):
23234         * check/gst/gststructure.c: (GST_START_TEST):
23235         * check/gst/gstsystemclock.c: (GST_START_TEST),
23236         (gst_systemclock_suite):
23237         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
23238         * check/gst/gstvalue.c: (GST_START_TEST):
23239         * check/pipelines/cleanup.c: (GST_START_TEST):
23240         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
23241         * check/states/sinks.c: (GST_START_TEST):
23242         * check/gstcheck.c: (gst_check_init):
23243         * check/gstcheck.h:
23244           add debugging category
23245           use GST_START_TEST now, so we add a debug line
23246
23247 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23248
23249         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
23250           add test for state change message on a bin
23251         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
23252           add another test
23253         * gst/gstbin.c: (gst_bin_init):
23254         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
23255         * gst/gstelement.c: (gst_element_post_message),
23256         (gst_element_set_state):
23257         * gst/gstelementfactory.c: (gst_element_factory_create):
23258         * gst/gstmessage.c: (gst_message_new):
23259         * gst/gstscheduler.c:
23260           various debugging additions and cleanups
23261
23262 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23263
23264         * check/Makefile.am:
23265         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
23266         (main):
23267           adding tests for elements
23268         * gst/gstelement.c: (gst_element_dispose):
23269
23270 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23271
23272         * gst/registries/gstlibxmlregistry.c: (load_feature):
23273           plug more leaks.  A simple gst_init() now is leakfree, yay.
23274
23275 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23276
23277         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
23278         (gst_xml_registry_load):
23279           plug another memleak
23280
23281 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23282
23283         * configure.ac:
23284           use GST_SET_ERROR_CFLAGS
23285         * docs/faq/cvs.xml:
23286           change to ERROR_CFLAGS
23287
23288 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
23289
23290         * configure.ac:
23291           make GST_ERROR_CFLAGS overridable and re-enable Werror
23292         * docs/faq/cvs.xml:
23293           add a note about error CFLAGS
23294         * docs/gst/tmpl/gstfakesrc.sgml:
23295         * gst/elements/gstfakesrc.c:
23296           comment out some unused code
23297         * gst/gst.c: (split_and_iterate):
23298         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
23299         (load_feature):
23300           plug some memleaks
23301
23302 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23303
23304         * common/Makefile.am:
23305         * common/gtk-doc.mak:
23306         * docs/gst/Makefile.am:
23307           factor out gtk-doc.mak
23308
23309 2005-07-07  Wim Taymans  <wim@fluendo.com>
23310
23311         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
23312         (gst_thread_scheduler_dispose):
23313         Unlock the STREAM_LOCK completely.
23314
23315 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
23316
23317         * check/Makefile.am:
23318         * check/elements/.cvsignore:
23319         * check/elements/gstfakesrc.c: (chain_func), (event_func),
23320         (START_TEST), (fakesrc_suite), (main):
23321         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
23322         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
23323         (gst_fakesrc_create), (gst_fakesrc_start):
23324         * gst/elements/gstfakesrc.h:
23325           adding a first element test
23326
23327 2005-07-07  Andy Wingo  <wingo@pobox.com>
23328
23329         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
23330         debug message.
23331
23332 2005-07-07  Wim Taymans  <wim@fluendo.com>
23333
23334         * gst/gstquery.c:
23335         * gst/gstquery.h:
23336         Remove old types
23337
23338 2005-07-07  Wim Taymans  <wim@fluendo.com>
23339
23340         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
23341         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
23342         Allow subclasses to implement their own negotiation.
23343
23344 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23345
23346         * docs/design/part-gstbin.txt:
23347         * docs/design/part-gstpipeline.txt:
23348           Update design notes to reflect the movement of
23349           responsibility for bus handling from GstPipeline to
23350           GstBin
23351
23352 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23353
23354         * configure.ac:
23355           Remove unnecessary queue2/3/4 examples.
23356
23357 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
23358
23359         * examples/Makefile.am:
23360         * examples/helloworld/helloworld.c: (event_loop), (main):
23361         * examples/queue/queue.c: (event_loop), (main):
23362         * examples/queue2/queue2.c: (main):
23363           Update a couple of the examples to work again.
23364
23365         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23366         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
23367          Spelling corrections and extra debug.
23368         
23369         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
23370         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
23371         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
23372         * gst/gstbin.h:
23373         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
23374         (gst_pipeline_change_state):
23375         * gst/gstpipeline.h:
23376           Move the bus handler for children to the GstBin, and create a
23377           separate bus for receiving messages from children to the one the
23378           bus sends 'upwards' on.
23379
23380 2005-07-06  Wim Taymans  <wim@fluendo.com>
23381
23382         * gst/base/README:
23383         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23384         (gst_base_sink_handle_object), (gst_base_sink_loop),
23385         (gst_base_sink_change_state):
23386         * gst/base/gstbasesink.h:
23387         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
23388         (gst_base_src_init), (gst_base_src_setcaps),
23389         (gst_base_src_getcaps), (gst_base_src_loop),
23390         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
23391         (gst_base_src_start), (gst_base_src_change_state):
23392         * gst/base/gstbasesrc.h:
23393         Make basesrc negotiate.
23394         Handle the case where preroll fails in basesink.
23395         Update README.
23396
23397 2005-07-06  Wim Taymans  <wim@fluendo.com>
23398
23399         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
23400         Implement the fixate function.
23401         Clean up acceptcaps.
23402
23403 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23404
23405         * docs/pwg/building-filterfactory.xml:
23406         * docs/pwg/pwg.xml:
23407           Remove never-written filter-factory chapter; I'll add the various
23408           base classes to part 4 ("other element types") later on.
23409
23410 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23411
23412         * docs/pwg/advanced-negotiation.xml:
23413         * docs/pwg/building-boiler.xml:
23414         * docs/pwg/building-pads.xml:
23415         * docs/pwg/pwg.xml:
23416         * examples/pwg/Makefile.am:
23417           Add a chapter on caps negotiation, simplify the original code
23418           samples a bit w.r.t. caps negotiation, add link to the advanced
23419           section. Add a bunch of examples showing different use cases of
23420           different types of caps negotiation. Upstream renegotiation isn't
23421           fully documented yet since nobody knows how that works.
23422
23423 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23424
23425         * check/gst/gstpad.c:
23426         * check/gstcheck.c:
23427         * gst/gstpad.c: (gst_pad_get_internal_links_default):
23428           if pad has no parent, return NULL as list of internal links
23429
23430 2005-07-05  Andy Wingo  <wingo@pobox.com>
23431
23432         * gst/elements/gstfilesrc.c:
23433         * gst/elements/gstfakesrc.c: 
23434         * gst/base/gstpushsrc.c:
23435         * gst/base/gstbasesrc.h: 
23436         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
23437         
23438 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
23439
23440         * Makefile.am:
23441           better report generation target (lcov needs a patch)
23442
23443 2005-07-05  Andy Wingo  <wingo@pobox.com>
23444
23445         * gst/elements, testsuite: Null if we got it...
23446
23447 2005-07-05  Wim Taymans  <wim@fluendo.com>
23448
23449         * configure.ac:
23450         * libs/gst/dataprotocol/Makefile.am:
23451         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
23452         * libs/gst/dataprotocol/dataprotocol.h:
23453         * pkgconfig/Makefile.am:
23454         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
23455         * pkgconfig/gstreamer-dataprotocol.pc.in:
23456         Ported dataprotol to 0.9. 
23457         Added pkgconfig files.
23458
23459 2005-07-05  Andy Wingo  <wingo@pobox.com>
23460
23461         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
23462         Default to returning TRUE for the case when tranform_caps returns
23463         a fixed caps, like for identity or volume.
23464
23465         * check/gst/gstbus.c (pound_bus_with_messages): 
23466         * check/gst/gstmessage.c (START_TEST): 
23467         * check/pipelines/simple_launch_lines.c (got_handoff): Application
23468         message API change.
23469
23470         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
23471         logic weaks here: always run transform_caps, trying passthrough
23472         operation only if the original caps intersects with the transform.
23473
23474         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
23475         source and sink caps.
23476
23477         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
23478         Intersect the peer caps with the pad template before going into
23479         transform_caps.
23480         (gst_base_transform_transform_caps): More debugging.
23481
23482         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
23483         src argument.
23484
23485 2005-07-04  Edward Hervey  <edward@fluendo.com>
23486
23487         * gst/gstutils.c:
23488         * gst/gstutils.h:
23489         (gst_pad_add_*_probe): now returns the signal id for better wrapping
23490         in bindings.
23491
23492 2005-07-04  Andy Wingo  <wingo@pobox.com>
23493
23494         * check/gst/gstpad.c: Only set explicit caps on pads.
23495
23496 2005-07-01  Andy Wingo  <wingo@pobox.com>
23497
23498         * tests/network-clock.scm: Commentary update.
23499
23500         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
23501         Didn't really make sense, not implementable with basetransform,
23502         etc.
23503         (gst_identity_transform): Unref inbuf via make_writable. Feeble
23504         attempt at implementing the sync property, needs an unlock method.
23505
23506         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
23507         New func, by default returns the same caps (the identity
23508         transformation).
23509         (gst_base_transform_getcaps): Uses transform_caps to return
23510         something sensible.
23511         (gst_base_transform_setcaps): Complicated logic to get caps on
23512         both pads, even if they are different, and to call set_caps once
23513         for every time both pads get their caps set.
23514         (gst_base_transform_handle_buffer): Give the ref to the transform
23515         function. Allows in-place modification of the buffer.
23516
23517         * gst/base/gstbasetransform.h (transform_caps): New class method.
23518         Given caps on one side, what can I do on the other.
23519         (set_caps): Take two caps, one for each side of the element.
23520
23521         * gst/gstpad.h:
23522         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
23523         caps in place. This is safe because we can check the mutability of
23524         the caps, and a good idea because fixate functions are just called
23525         as a matter of last resort. (Not actually implemented.)
23526         (gst_pad_set_caps): If the caps we're setting is actually the same
23527         as the existing pad caps, just update the pointer without calling
23528         setcaps. Assert that caps is either NULL or fixed, as per the
23529         docs.
23530
23531         * gst/gstghostpad.c: Update for fixate changes.
23532
23533 2005-07-02  Andy Wingo  <wingo@pobox.com>
23534
23535         * gst/gstcaps.c:
23536         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
23537         two refcounts makes it immutable, which is enough. Doc more.
23538
23539 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
23540
23541         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
23542           Put the mini_object into GValue as a mini_object,
23543           not a gpointer, since that's how we declared
23544           the signal.
23545
23546 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23547
23548         * examples/pwg/Makefile.am:
23549           Fix buildbot again.
23550
23551 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23552
23553         * docs/pwg/building-testapp.xml:
23554           Add extra check.
23555         * examples/pwg/Makefile.am:
23556           Fix buildbot.
23557
23558 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23559
23560         * configure.ac:
23561         * examples/Makefile.am:
23562         * examples/pwg/Makefile.am:
23563         * examples/pwg/extract.pl:
23564           Enable building the PWG examples.
23565         * docs/pwg/advanced-interfaces.xml:
23566           Add URI interface stub.
23567         * docs/pwg/advanced-types.xml:
23568         * docs/pwg/other-autoplugger.xml:
23569         * docs/pwg/appendix-porting.xml:
23570         * docs/pwg/pwg.xml:
23571           Add porting guide (mostly stubs), remove autoplugging (see ADM).
23572         * docs/pwg/building-boiler.xml:
23573         * docs/pwg/building-chainfn.xml:
23574         * docs/pwg/building-pads.xml:
23575         * docs/pwg/building-props.xml:
23576         * docs/pwg/building-state.xml:
23577         * docs/pwg/building-testapp.xml:
23578           Update the building-*.xml parts for 0.9 changes. All examples
23579           code blocks compile in examples/pwg/*.
23580
23581 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23582
23583         * docs/manual/advanced-autoplugging.xml:
23584         * docs/manual/appendix-checklist.xml:
23585         * docs/manual/appendix-integration.xml:
23586         * docs/manual/highlevel-components.xml:
23587           Fix playbin/decodebin examples, update docs a bit, mention bus
23588           instead of signals in various places, mention kmplayer and
23589           kaffeine since they have a working GStreamer backend in the KDE
23590           section.
23591
23592 2005-06-30  Wim Taymans  <wim@fluendo.com>
23593
23594         * CHANGES-0.9:
23595         * docs/design/draft-ghostpads.txt:
23596         * docs/design/draft-push-pull.txt:
23597         * docs/design/draft-query.txt:
23598         * docs/design/part-TODO.txt:
23599         * docs/design/part-query.txt:
23600         Added CHANGES-0.9 doc, updated status of other docs.
23601         
23602         * gst/gstquery.h:
23603         Remove "hmm" macro
23604
23605 2005-06-30  Wim Taymans  <wim@fluendo.com>
23606
23607         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
23608         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
23609         (gst_base_sink_change_state):
23610         * gst/base/gstbasesink.h:
23611         Some tweaks, only EOS and a buffer complete a preroll.
23612
23613 2005-06-30  Andy Wingo  <wingo@pobox.com>
23614
23615         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
23616         activate_push down to the internal pad as well.
23617
23618 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
23619
23620         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23621
23622         * gst/gsttaginterface.c:
23623           Some documentation fixes (#307394 and #307397).
23624
23625 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
23626
23627         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23628
23629         * gst/gstvalue.c: (gst_value_intersect_list):
23630           Fix memleak (#309125).
23631
23632 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23633
23634         * docs/manual/advanced-dataaccess.xml:
23635           Fix fakesrc example to compile; doesn't work, bug somewhere...?
23636         * docs/manual/basics-pads.xml:
23637           Add reference for filtered caps to above chapter.
23638
23639 2005-06-30  Wim Taymans  <wim@fluendo.com>
23640
23641         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
23642         (gst_bin_change_state):
23643         Probes are gone.
23644         Lame attempt at making the state change function a bit
23645         more readable.
23646
23647 2005-06-30  Wim Taymans  <wim@fluendo.com>
23648
23649         * docs/design/part-clocks.txt:
23650         * docs/design/part-element-sink.txt:
23651         * docs/design/part-events.txt:
23652         * docs/design/part-preroll.txt:
23653         * docs/design/part-states.txt:
23654         Some more tweeks and additions to the docs.
23655
23656 2005-06-30  Wim Taymans  <wim@fluendo.com>
23657
23658         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23659         (default_have_data), (gst_pad_class_init), (gst_pad_init),
23660         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23661         (gst_pad_check_pull_range), (gst_pad_get_range),
23662         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
23663         * gst/gstpad.h:
23664         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
23665         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23666         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23667         (gst_pad_remove_buffer_probe):
23668         Removed atomic operations, use existing LOCK.
23669         Move exception handling out of main code path.
23670
23671 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23672
23673         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23674         (silly_return_true_function), (gst_pad_class_init),
23675         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
23676         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
23677         (gst_pad_send_event):
23678           Fix accumulator, add default value by using _emitv() instead
23679           of _emit() for signal emission.
23680
23681 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23682
23683         * docs/manual/advanced-dataaccess.xml:
23684         * examples/manual/Makefile.am:
23685           Add probe example.
23686         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
23687           Make work (??).
23688
23689 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
23690
23691         * gst/elements/gstfilesink.c: (gst_filesink_render):
23692           Simplify code so that we don't have to handle short
23693           writes and return GST_FLOW_ERROR if an error occured.
23694
23695 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23696
23697         * docs/gst/gstreamer-docs.sgml:
23698           Remove probes more.
23699
23700 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23701
23702         * docs/gst/gstreamer-sections.txt:
23703         * docs/gst/tmpl/gstpad.sgml:
23704         * docs/gst/tmpl/gstprobe.sgml:
23705         * gst/Makefile.am:
23706         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
23707         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
23708         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
23709         (gst_pad_push_event), (gst_pad_send_event):
23710         * gst/gstpad.h:
23711         * gst/gstutils.c: (gst_pad_add_data_probe),
23712         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
23713         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
23714         (gst_pad_remove_buffer_probe):
23715         * gst/gstutils.h:
23716           Remove old probes, add new g-signal-based probes and some utility
23717           functions.
23718
23719 2005-06-29  Edward Hervey  <edward@fluendo.com>
23720
23721         * gst/gstelementfactory.c:
23722         * gst/gstutils.h:
23723         * gst/gstutils.c:
23724         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
23725         the definition to the header file.
23726
23727 2005-06-29  Andy Wingo  <wingo@pobox.com>
23728
23729         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
23730         plugins from the source directory.
23731
23732 2005-06-29  Wim Taymans  <wim@fluendo.com>
23733
23734         * docs/gst/tmpl/gstbuffer.sgml:
23735         * docs/gst/tmpl/gstclock.sgml:
23736         Some fixings for blantently wrong text.
23737
23738 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23739
23740         * check/Makefile.am:
23741         * gst/gst.c: (add_path_func), (init_pre):
23742         * gst/gstregistry.c: (gst_registry_add_path):
23743           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
23744           only scan the GST_PLUGIN_PATH locations, and not add
23745           system locations
23746
23747 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
23748
23749         * docs/gst/gstreamer-sections.txt:
23750         * docs/gst/tmpl/gstbasesrc.sgml:
23751         * gst/gstelement.c:
23752         * gst/gstelement.h:
23753         * gst/gstevent.c:
23754         * gst/gstutils.c:
23755           doc fixes
23756
23757 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23758
23759         * docs/manual/advanced-autoplugging.xml:
23760           Fix autoplugging example.
23761
23762 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23763
23764         * docs/manual/advanced-autoplugging.xml:
23765         * docs/manual/mime-world.fig:
23766           Try to get autoplugging working, fix type detection. Fix text
23767           in hello-world image.
23768
23769 2005-06-29  Wim Taymans  <wim@fluendo.com>
23770
23771         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23772         (gst_base_sink_change_state):
23773         Small debug line.
23774
23775         * gst/gstclock.h:
23776         map SIGNAL and BROADCAST to the right function.
23777
23778         * gst/gstobject.h:
23779         Remove redundant braces.
23780
23781         * gst/gstpad.c: (gst_pad_set_caps):
23782         Don't call setcaps function when reseting caps to NULL.
23783
23784         * gst/gstsystemclock.c: (gst_system_clock_dispose),
23785         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
23786         (gst_system_clock_id_unschedule):
23787         Use BROADCAST as this is what we do.
23788
23789 2005-06-29  Wim Taymans  <wim@fluendo.com>
23790
23791         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23792         We are actually prerolling before commiting the state
23793         change. 
23794
23795 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
23796
23797         * docs/manual/advanced-clocks.xml:
23798         * docs/manual/advanced-interfaces.xml:
23799         * docs/manual/advanced-metadata.xml:
23800         * docs/manual/advanced-position.xml:
23801         * docs/manual/advanced-schedulers.xml:
23802         * docs/manual/advanced-threads.xml:
23803         * docs/manual/appendix-porting.xml:
23804         * docs/manual/basics-bins.xml:
23805         * docs/manual/basics-bus.xml:
23806         * docs/manual/basics-elements.xml:
23807         * docs/manual/basics-helloworld.xml:
23808         * docs/manual/basics-pads.xml:
23809         * docs/manual/highlevel-components.xml:
23810         * docs/manual/manual.xml:
23811         * docs/manual/thread.fig:
23812           Update (until threads/scheduling) Application Development Manual;
23813           remove GstThread, add GstBus, add simple porting checklist, add
23814           documentation for tag writing, clocks, make all examples until this
23815           part compile and run.
23816         * examples/manual/Makefile.am:
23817           Update from changes to Application Development Manual; add bus
23818           example, remove thread example.
23819
23820 2005-06-28  Wim Taymans  <wim@fluendo.com>
23821
23822         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
23823         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
23824         (gst_bus_source_dispatch):
23825         Add debugging messages.
23826         Make internal methods static.
23827         Handle the case where the bus is flushed in the handler.
23828         
23829         * gst/gstelement.c: (gst_element_get_bus):
23830         Fix refcount in _get_bus();
23831
23832         * gst/gstpipeline.c: (gst_pipeline_change_state),
23833         (gst_pipeline_get_clock_func):
23834         Clock refcounting fixes.
23835         Handle the case where preroll timed out more gracefully.
23836         
23837         * gst/gstsystemclock.c: (gst_system_clock_dispose):
23838         Clean up the internal thread in dispose. This is needed
23839         for subclasses that actually get disposed.
23840         
23841         * gst/schedulers/threadscheduler.c:
23842         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
23843         (gst_thread_scheduler_dispose):
23844         Free thread pool in dispose.
23845
23846 2005-06-28  Andy Wingo  <wingo@pobox.com>
23847
23848         * tests/network-clock-utils.scm (debug, print-event): New utils.
23849
23850         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
23851         (*packet-loss*): Unified loss probability.
23852         (network-time): Report out-of-band events.
23853
23854         * tests/plot-data: Add support for out-of-band events. Hack it
23855         into this script instead of passing it down the pipe; should fix
23856         this later.
23857
23858 2005-06-28  Wim Taymans  <wim@fluendo.com>
23859
23860         * docs/gst/gstreamer.types:
23861         * docs/gst/tmpl/gstbasesrc.sgml:
23862         * docs/gst/tmpl/gstpad.sgml:
23863         Docs fixes.
23864
23865 2005-06-28  Wim Taymans  <wim@fluendo.com>
23866
23867         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23868         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
23869         (gst_proxy_pad_do_fixatecaps):
23870         Correctly proxy the check_pull_range function.
23871
23872 2005-06-28  Andy Wingo  <wingo@pobox.com>
23873
23874         * tests/network-clock.scm: Removed need for slib.
23875         
23876 2005-06-28  Wim Taymans  <wim@fluendo.com>
23877
23878         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
23879         (gst_basesink_preroll_queue_flush):
23880         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
23881         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
23882         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23883         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
23884         (gst_proxy_pad_set_property):
23885         * gst/gstpad.c:
23886         * gst/gstpad.h:
23887         * gst/gstqueue.c: (gst_queue_init):
23888         The deprecated pad loop function is removed now.
23889
23890 2005-06-28  Andy Wingo  <wingo@pobox.com>
23891
23892         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
23893         New parameters, simulate network packet loss.
23894
23895         * tests/network-clock-utils.scm: Initialize the RNG.
23896
23897 2005-06-28  Wim Taymans  <wim@fluendo.com>
23898
23899         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
23900         (gst_basesink_event), (gst_basesink_deactivate):
23901         Flushing the preroll queue always needs to unlock the waiters.
23902
23903 2005-06-28  Edward Hervey  <edward@fluendo.com>
23904
23905         * gst/gstpipeline.c: (gst_pipeline_send_event): 
23906         Wheen a seek was successful on a pipeline, set the stream_time to the
23907         seek offset in order to have a synchronized stream_time.
23908
23909 2005-06-28  Wim Taymans  <wim@fluendo.com>
23910
23911         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
23912         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
23913         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
23914         (gst_proxy_pad_do_fixatecaps):
23915         Call wrapper function instead of just calling the function
23916         pointers. This takes care of any locking and whatmore.
23917
23918 2005-06-28  Wim Taymans  <wim@fluendo.com>
23919
23920         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
23921         (gst_pad_pull_range):
23922         * gst/gstpad.h:
23923         CONNECTED -> LINKED.
23924
23925 2005-06-28  Andy Wingo  <wingo@pobox.com>
23926
23927         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
23928         source-munging commit!!!
23929
23930         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
23931         (gst_object_sink): Take gpointer arguments, not GstObject --
23932         avoids casts. Like GLib.
23933
23934         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
23935         activate.
23936
23937 2005-06-27  Andy Wingo  <wingo@pobox.com>
23938
23939         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
23940         remaining buffer.
23941
23942         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
23943         returns a sorted copy of the trace list.
23944         (gst_alloc_trace_print_live): New API, only prints traces with
23945         live objects. Sort the list.
23946         (gst_alloc_trace_print_all): Sort the list.
23947         (gst_alloc_trace_print): Align columns.
23948
23949         * gst/elements/gstttypefindelement.c:
23950         * gst/elements/gsttee.c:
23951         * gst/base/gstbasesrc.c:
23952         * gst/base/gstbasesink.c:
23953         * gst/base/gstbasetransform.c:
23954         * gst/gstqueue.c: Adapt for pad activation changes.
23955
23956         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
23957         sched.
23958         (gst_pipeline_dispose): Drop ref on sched.
23959
23960         * gst/gstpad.c (gst_pad_init): Set the default activate func.
23961         (gst_pad_activate_default): Push mode by default.
23962         (pre_activate_switch, post_activate_switch): New stubs, things to
23963         do before and after switching activation modes on pads.
23964         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
23965         the pad's activate function to choose which mode to activate.
23966         Shortcut on deactivation and call the right function directly.
23967         (gst_pad_activate_pull): New API, (de)activates a pad in pull
23968         mode.
23969         (gst_pad_activate_push): New API, same for push mode.
23970         (gst_pad_set_activate_function) 
23971         (gst_pad_set_activatepull_function) 
23972         (gst_pad_set_activatepush_function): Setters for new API.
23973
23974         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
23975         Trace all miniobjects.
23976         (gst_mini_object_make_writable): Unref the arg if we copy, like
23977         gst_caps_make_writable.
23978
23979         * gst/gstmessage.c (_gst_message_initialize): No trace init.
23980
23981         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
23982         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
23983         Adapt for new pad API.
23984
23985         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
23986
23987         * gst/gstelement.h:
23988         * gst/gstelement.c (gst_element_iterate_src_pads) 
23989         (gst_element_iterate_sink_pads): New API functions.
23990         
23991         * gst/gstelement.c (iterator_fold_with_resync): New utility,
23992         should fold into gstiterator.c in some form.
23993         (gst_element_pads_activate): Simplified via use of fold and
23994         delegation of decisions to gstpad->activate.
23995
23996         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
23997         help in debugging.
23998
23999         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
24000         class once in init, like gstmessage. Didn't run into this issue
24001         but it seems correct. Don't initialize a trace, gstminiobject does
24002         that.
24003
24004         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
24005         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
24006         to the bus.
24007         (assert_live_count): New util function, uses alloc traces to check
24008         cleanup.
24009
24010         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
24011         To be modified when unlink drops the internal pad.
24012
24013 2005-06-27  Wim Taymans  <wim@fluendo.com>
24014
24015         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
24016         (gst_bin_change_state):
24017         Cleanup the get_state() function a little, make sure it
24018         iterates the same set of elements.
24019         Added stub iterate_state_order().
24020
24021 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
24022
24023         * docs/gst/gstreamer-docs.sgml:
24024         * docs/gst/gstreamer-sections.txt:
24025         * docs/gst/gstreamer.types:
24026         * docs/gst/tmpl/gstbasesink.sgml:
24027         * docs/gst/tmpl/gstbasesrc.sgml:
24028         * docs/gst/tmpl/gstbasetransform.sgml:
24029         * docs/gst/tmpl/gstelement.sgml:
24030         * docs/gst/tmpl/gstiterator.sgml:
24031         * gst/base/gstbasesrc.c:
24032         * gst/base/gstbasesrc.h:
24033         * gst/base/gstbasetransform.h:
24034         * gst/gstelement.c:
24035         * gst/gstiterator.h:
24036           adding basetransform and iterator docs
24037
24038 2005-06-27  Andy Wingo  <wingo@pobox.com>
24039
24040         * docs/design/part-activation.txt: Notes on how activation should
24041         work -- not quite implemented yet.
24042
24043 2005-06-25  Wim Taymans  <wim@fluendo.com>
24044
24045         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
24046         At least get the chain function correct, needs more
24047         fixing.
24048
24049 2005-06-25  Wim Taymans  <wim@fluendo.com>
24050
24051         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24052         (gst_basesink_handle_object), (gst_basesink_event),
24053         (gst_basesink_do_sync), (gst_basesink_handle_event),
24054         (gst_basesink_change_state):
24055         * gst/gsttask.h:
24056         Right, two problems here: ghostpads don't take locks and
24057         glib _rec_mutex_lock_full() with depth==0 still locks.
24058         Catch illegal locking and g_warn them.
24059
24060 2005-06-25  Wim Taymans  <wim@fluendo.com>
24061
24062         * check/states/sinks.c: (START_TEST), (gst_object_suite):
24063         Have to check for completion now...
24064
24065 2005-06-25  Wim Taymans  <wim@fluendo.com>
24066
24067         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
24068         (gst_basesink_handle_object), (gst_basesink_event),
24069         (gst_basesink_do_sync), (gst_basesink_handle_event),
24070         (gst_basesink_change_state):
24071         * gst/gstpad.h:
24072         Unlock STREAM_LOCK whatever the recursion was.
24073
24074 2005-06-25  Wim Taymans  <wim@fluendo.com>
24075
24076         * gst/base/gstbasesink.c: (gst_basesink_set_property),
24077         (gst_basesink_preroll_queue_empty),
24078         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
24079         (gst_basesink_event), (gst_basesink_do_sync),
24080         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
24081         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
24082         (gst_basesink_change_state):
24083         Reworked the base sink, handle event and buffer serialisation
24084         correctly and removed possible deadlock.
24085         Handle EOS correctly.
24086
24087 2005-06-25  Wim Taymans  <wim@fluendo.com>
24088
24089         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
24090         (gst_pipeline_change_state):
24091         * tools/gst-launch.c: (check_intr), (event_loop), (main):
24092         Allow elements to post EOS in the state change function.
24093         Fix up -launch, make it exit the poll loop when the
24094         pipeline actually changed state.
24095         Fix up warning parsing in -launch.
24096
24097 2005-06-25  Wim Taymans  <wim@fluendo.com>
24098
24099         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
24100         (gst_tee_sink_activate):
24101         Core takes STREAM_LOCK for us now.
24102
24103 2005-06-25  Wim Taymans  <wim@fluendo.com>
24104
24105         * gst/gstelement.c: (gst_element_get_state_func),
24106         (gst_element_set_state):
24107         * gst/gstelement.h:
24108         * gst/gstmessage.c: (gst_message_parse_error),
24109         (gst_message_parse_warning):
24110         Keep track of current target state while performing a state
24111         change so that subclasses can do something interesting.
24112         Fix parsing of warning/error messages when GError is NULL.
24113
24114 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24115
24116         * docs/gst/Makefile.am:
24117         * docs/gst/gstreamer-docs.sgml:
24118         * docs/gst/gstreamer-sections.txt:
24119         * docs/gst/gstreamer.types:
24120         * docs/gst/tmpl/gstbasesink.sgml:
24121         * docs/gst/tmpl/gstbasesrc.sgml:
24122         * docs/gst/tmpl/gstbin.sgml:
24123         * docs/gst/tmpl/gstcompat.sgml:
24124         * docs/gst/tmpl/gstfakesink.sgml:
24125         * docs/gst/tmpl/gstfakesrc.sgml:
24126         * docs/gst/tmpl/gstfilesink.sgml:
24127         * docs/gst/tmpl/gstfilesrc.sgml:
24128         * docs/gst/tmpl/gstindex.sgml:
24129         * docs/manual/appendix-quotes.xml:
24130         * gst/base/gstbasesrc.h:
24131         * gst/elements/gstfakesrc.h:
24132         * gst/gstmessage.h:
24133           start pulling in base classes and elements in our docs
24134
24135 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
24136
24137         * docs/gst/Makefile.am:
24138         * docs/libs/Makefile.am:
24139           fixed make distcheck with gtk-doc 1.3
24140
24141 2005-06-23  Wim Taymans  <wim@fluendo.com>
24142
24143         * gst/gstelement.c: (gst_element_get_state_func),
24144         (gst_element_set_state), (gst_element_change_state):
24145         When the state did not change, also report NO_PREROLL
24146         when it matters.
24147
24148 2005-06-23  Wim Taymans  <wim@fluendo.com>
24149
24150         * gst/gstpad.c: (gst_pad_event_default):
24151         * gst/gstqueue.c: (gst_queue_loop):
24152         No unsafe task pausing please.
24153
24154 2005-06-23  Wim Taymans  <wim@fluendo.com>
24155
24156         * gst/schedulers/threadscheduler.c:
24157         (gst_thread_scheduler_task_start),
24158         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
24159         Ref the task before pushing it on the threadpool. This
24160         makes sure that we have a ref when the threadfunction is
24161         actually called.
24162
24163 2005-06-23  Andy Wingo  <wingo@pobox.com>
24164
24165         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
24166         offset is greater than the file's size.
24167
24168         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
24169         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
24170         * gst/gstobject.c (gst_object_class_init): Make the class lock
24171         recursive. Wim won't let me drop deep_notify. Decodebin works
24172         again, whoopdy doo.
24173
24174         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
24175         internal pad, and hacks accordingly. Doesn't do it on the target
24176         pad because we change its caps. Probably catches all cases of
24177         interest tho.
24178         (gst_ghost_pad_set_property): Connect to notify::caps as
24179         appropritate.
24180
24181         * tests/network-clock.scm (plot-simulation): Pipe data to the
24182         elite python skript.
24183
24184         * tests/network-clock-utils.scm (define-parameter): New macro,
24185         defines a parameter that can be set via the command line.
24186         (set-parameter!, parse-parameter-arguments): Command line args
24187         parser.
24188
24189         * tests/plot-data: Simple matplotlib-based plotter, takes input on
24190         stdin.
24191
24192 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
24193
24194         * gst/elements/gsttypefindelement.c:
24195         (gst_type_find_element_handle_event):
24196           Don't restart typefinding on a discont.
24197         * gst/gstelement.c: (gst_element_set_state):
24198           Debug spelling fix.
24199         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
24200           Allow changing mode of an active pad.
24201           Debug output fixes.
24202         * gst/registries/gstlibxmlregistry.c: (load_feature):
24203           Don't cast a static pad template to a normal pad template.
24204
24205 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24206
24207         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24208         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24209           remove gst_strtoll completely, since it didn't actually do
24210           anything more than what g_ascii_strtoull already does.
24211           check for range errors when deserializing
24212           do a cast for the unsigned cases; but further fixing needs
24213           a decision on what the interpretation of "(int)" and
24214           deserialization should be for values that fall outside the
24215           type's boundaries (ie, refuse, or interpret as casting)
24216
24217 2005-06-23  Wim Taymans  <wim@fluendo.com>
24218
24219         * check/Makefile.am:
24220         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
24221         * docs/design/part-live-source.txt:
24222         * docs/design/part-states.txt:
24223         * gst/base/gstbasesrc.c: (gst_basesrc_init),
24224         (gst_basesrc_set_live), (gst_basesrc_is_live),
24225         (gst_basesrc_get_range), (gst_basesrc_activate),
24226         (gst_basesrc_change_state):
24227         * gst/base/gstbasesrc.h:
24228         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
24229         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
24230         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
24231         * gst/gstelement.c: (gst_element_get_state_func),
24232         (gst_element_set_state):
24233         * gst/gstelement.h:
24234         * gst/gsttypes.h:
24235         * tools/gst-launch.c: (event_loop), (main):
24236         Added support for live sources and other elements that
24237         cannot do preroll.
24238         Updated design docs, added live-source design doc.
24239         Implemented live source functionality in basesrc
24240         Fix error condition in _bin_get_state()
24241         Implement live source handling in -launch.
24242         Added check for live sources.
24243         Fixed case in GstBin where elements were changed state
24244         multiple times.
24245
24246
24247 2005-06-23  Andy Wingo  <wingo@pobox.com>
24248
24249         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
24250         borken refcounting.
24251
24252         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
24253         gst_caps_replace takes care of this for us.
24254
24255         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
24256         gst_pad_set_caps on the target, not just its setcaps() function.
24257
24258         * tests/network-clock.scm: 
24259         * tests/network-clock-utils.scm: A network clock simulator.
24260         Something of an algorithmic testbed before doing something in C.
24261
24262 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24263
24264         * check/Makefile.am:
24265         * check/gst/capslist.h:
24266           copy over from 0.8, and add two with bitmasks specified with
24267           (int) 0xFF...
24268         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24269           add test to parse everything from capslist.h
24270         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
24271         (main):
24272           add test for structure deserialization
24273         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24274           add tests for deserialization of strings to int types
24275         * gst/gststructure.c: (gst_structure_nth_field_name):
24276         * gst/gststructure.h:
24277           add a way to get the name of a field referenced by index
24278         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
24279           instead of checking if the resulting long long lies between
24280           min and max, we check if the long long would fit into
24281           a number of bytes for the final type.
24282           This fixes cases where a string represents 2^32 - 1, which
24283           when cast to int would be the (valid) -1, but is bigger than
24284           G_MAXINT
24285
24286 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24287
24288         * gst/parse/grammar.y:
24289           add a log line for type deserialization
24290
24291 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24292
24293         * check/gst/gstvalue.c: (START_TEST):
24294         * gst/gstvalue.c: (gst_value_deserialize):
24295           return long long, not int, so gint64 deserialization actually
24296           works.  Is there any flag that makes the compiler check this ?
24297           Fixes #308559
24298
24299 2005-06-22  Wim Taymans  <wim@fluendo.com>
24300
24301         * gst/gstbuffer.h:
24302         Added convenience macros for setting buffers in GValue.
24303
24304 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24305
24306         * check/gst/.cvsignore:
24307         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
24308           add a test deserializing int64, and comment part out because
24309           it fails, yay !
24310
24311 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24312
24313         * check/Makefile.am:
24314         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
24315         * testsuite/Makefile.am:
24316         * testsuite/caps/Makefile.am:
24317         * testsuite/caps/value_serialize.c:
24318         * testsuite/test_gst_init.c:
24319           move a value_serialize test over
24320
24321 2005-06-20  Wim Taymans  <wim@fluendo.com>
24322
24323         * gst/gstpad.c:
24324         Small doc updates.
24325         
24326         * gst/gstvalue.c: (gst_value_compare_buffer),
24327         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
24328         (gst_value_compare_flags), (gst_value_serialize_flags),
24329         (gst_value_deserialize_flags), (_gst_value_initialize):
24330         Fix serialisation of buffers, they are not boxed types anymore
24331
24332 2005-06-20  Wim Taymans  <wim@fluendo.com>
24333
24334         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
24335         Testcase to show error in buffer-on-caps serialisation.
24336
24337 2005-06-20  Andy Wingo  <wingo@pobox.com>
24338
24339         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
24340         will be adding to later.
24341
24342         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
24343         if its socks fill with rocks.
24344         (gst_system_clock_obtain): Set the name on object construction.
24345         Avoid double-checked locking.
24346
24347 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
24348
24349         * gst/gsturi.c: (gst_element_make_from_uri):
24350           Fix potential endless loop.
24351
24352 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24353
24354         * check/Makefile.am:
24355           add gsttag
24356         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
24357         (main):
24358           move over from testsuite dir and clean up
24359         * configure.ac:
24360         * gst/gsttag.c:
24361         * testsuite/Makefile.am:
24362         * testsuite/tags/.cvsignore:
24363         * testsuite/tags/Makefile.am:
24364         * testsuite/tags/merge.c:
24365           remove testsuite/tags
24366
24367 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24368
24369         * docs/gst/gstreamer-sections.txt:
24370         * docs/gst/tmpl/gstenumtypes.sgml:
24371         * win32/gstenumtypes.c:
24372           clean up documentation build a little
24373
24374 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24375
24376         * check/gstcheck.h:
24377           add macros for checking refcounts on objects and caps
24378         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
24379           add some more unit tests
24380         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
24381         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
24382           fix leaked refcounts (I hope :)) so unittest works
24383         * gst/gstpad.h:
24384           whitespace removal
24385
24386 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
24387
24388         * configure.ac: back to HEAD
24389
24390 === release 0.9.1 ===
24391
24392 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24393
24394         * NEWS:
24395         * RELEASE:
24396           updated
24397
24398 2005-06-17  Andy Wingo  <wingo@pobox.com>
24399
24400         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
24401         assert; it's always possible that the pad gets deactivated in
24402         between the checks in gstpad.c and the implementation. Rely on
24403         finish_preroll() to return a FLUSHING or similar instead of on the
24404         assert.
24405         
24406         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
24407         clock and post an EOS message if we come out of finish_preroll in
24408         the playing state.
24409
24410 2005-06-16  David Schleef  <ds@schleef.org>
24411
24412         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
24413         (gst_capsfilter_set_property): Allow NULL as possible value
24414         for filter_caps property, indicating GST_CAPS_ANY.
24415
24416 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24417
24418         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
24419           fix debug output
24420         * gst/schedulers/Makefile.am:
24421           use libgst prefix
24422         * gstreamer.spec.in:
24423           fix spec for it
24424
24425 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
24426
24427         * gstreamer.spec.in:
24428           clean up
24429
24430 2005-06-08  Andy Wingo  <wingo@pobox.com>
24431
24432         * gst/gstutils.c: RPAD fixes all around.
24433         (gst_element_link_pads): Refcounting fixes.
24434
24435         * tools/gst-inspect.c:
24436         * tools/gst-xmlinspect.c:
24437         * parse/grammar.y:
24438         * gst/base/gsttypefindhelper.c:
24439         * gst/base/gstbasesink.c:
24440         * gst/gstqueue.c: RPAD fixes.
24441
24442         * gst/gstghostpad.h:
24443         * gst/gstghostpad.c: New ghost pad implementation as full proxy
24444         pads. The tricky thing is they provide both source and sink
24445         interfaces, since they proxy the internal pad for the external
24446         pad, and vice versa. Implement with lower-level ProxyPad objects,
24447         with the interior proxy pad as a child of the exterior ghost pad.
24448         Should write a doc on this.
24449         
24450         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
24451         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
24452         gst_object API.
24453         
24454         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
24455         pads are real pads. No ghost pads in this file. Not documenting
24456         the myriad s/RPAD/PAD/ and REALIZE fixes.
24457         (gst_pad_class_init): Add properties for "direction" and
24458         "template". Both are construct-only, so they can't change during
24459         the life of the pad. Fixes properly deriving from GstPad.
24460         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
24461         derived objects, just set properties when creating the objects via
24462         g_object_new.
24463         (gst_pad_get_parent): Implement as a function, return NULL if the
24464         parent is not an element.
24465         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
24466         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
24467         
24468         * gst/gstobject.c (gst_object_class_init): Make name a construct
24469         property. Don't set it in the object init.
24470
24471         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
24472         with UNKNOWN direction.
24473         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
24474         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
24475         (gst_element_remove_pad): Remove ghost-pad special cases.
24476         (gst_element_pads_activate): Remove rpad cruft.
24477
24478         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
24479         catch the pad's-parent-not-an-element case.
24480
24481         * gst/gst.h: Include gstghostpad.h.
24482
24483         * gst/gst.c (init_post): No more real, ghost pads.
24484
24485         * gst/Makefile.am: Add gstghostpad.[ch].
24486
24487         * check/Makefile.am:
24488         * check/gst/gstbin.c:
24489         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
24490         into a bin creates ghost pads, and that the refcounts are right.
24491         Partly moved from gstbin.c.
24492
24493 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24494
24495         * check/gst-libs/.cvsignore:
24496         * check/gst/.cvsignore:
24497         * check/pipelines/.cvsignore:
24498           ignore more
24499         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
24500         (START_TEST), (cleanup_suite), (main):
24501           add some tests related to cleanup after running pipelines
24502
24503 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24504
24505         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
24506           add a testsuite for GstBuffer
24507
24508 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
24509
24510         * gst/gstminiobject.h:
24511           add defines for accessing the refcount
24512
24513 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
24514
24515         * Makefile.am: added support for html unit test coverage reports
24516
24517 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
24518
24519         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24520           Free existing caps if the capsfilter changes. Add a FIXME about
24521           setting those caps on the pads.
24522
24523         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
24524           Before adding a ghost pad to a parent bin, check that there isn't
24525           already one for the element on the bin. Prevents infinite recursion
24526           when using decodebin in parse pipelines. Andy says he'll rewrite the
24527           way this works anyway, so ignore the hack.
24528
24529 2005-06-02  Andy Wingo  <wingo@pobox.com>
24530
24531         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
24532         file size, pass it on to the type find helper.
24533
24534         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
24535         segment_start and segment_end properly according to the seek
24536         method. Segment_end is still a bit flaky because offset can be
24537         negative for CUR and END cases, but it takes -1 as an "unset"
24538         value.
24539
24540 2005-06-02  Wim Taymans  <wim@fluendo.com>
24541
24542         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
24543         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
24544         (gst_basesink_activate):
24545         * gst/base/gstbasesink.h:
24546         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24547         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24548         (gst_pad_query), (gst_pad_start_task):
24549         * gst/gstpad.h:
24550         * gst/gstqueue.c: (gst_queue_bufferalloc),
24551         (gst_queue_handle_sink_event), (gst_queue_chain):
24552         Bufferalloc: return GstFlowReturn to more accuratly report
24553         why allocation failed.
24554
24555 2005-06-02  Wim Taymans  <wim@fluendo.com>
24556
24557         * gst/gstpipeline.c: (gst_pipeline_send_event):
24558         Take snapshot of state without blocking.
24559
24560 2005-06-02  Wim Taymans  <wim@fluendo.com>
24561
24562         * docs/design/part-TODO.txt:
24563         * docs/design/part-caps.txt:
24564         * docs/design/part-clocks.txt:
24565         * docs/design/part-negotiation.txt:
24566         * docs/design/part-preroll.txt:
24567         Small doc updates 
24568
24569 2005-05-30  Wim Taymans  <wim@fluendo.com>
24570
24571         * gst/elements/gstidentity.c: (gst_identity_event),
24572         (gst_identity_transform), (gst_identity_get_property):
24573         Protect last_message property as it is accessed from
24574         multiple threads.
24575
24576 2005-05-30  Wim Taymans  <wim@fluendo.com>
24577
24578         * gst/gstelement.c: (gst_element_init),
24579         (gst_element_pads_activate), (gst_element_change_state):
24580         Slicker pad activation code.
24581
24582 2005-05-30  Wim Taymans  <wim@fluendo.com>
24583
24584         * gst/Makefile.am:
24585         * gst/gstelement.h:
24586         * gst/gstelementfactory.h:
24587         * gst/gsttypes.h:
24588         Move elementfactory methods to separate .h file.
24589
24590 2005-05-30  Wim Taymans  <wim@fluendo.com>
24591
24592         * docs/design/part-overview.txt:
24593         * gst/gstsystemclock.h:
24594         Small typo fixes, doc updates.
24595
24596 2005-05-30  Wim Taymans  <wim@fluendo.com>
24597
24598         * gst/gst.c: (gst_init_get_popt_table), (init_post),
24599         (init_popt_callback):
24600         Remove cpu-opt flag.
24601
24602 2005-05-30  Wim Taymans  <wim@fluendo.com>
24603
24604         * gst/gstbuffer.c: (gst_subbuffer_finalize),
24605         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
24606         * gst/gstbuffer.h:
24607         Avoid typechecking in places where not needed.
24608         Added accessor for malloc_data.
24609
24610 2005-05-30  Wim Taymans  <wim@fluendo.com>
24611
24612         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
24613         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
24614         (gst_pad_configure_sink), (gst_pad_configure_src),
24615         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
24616         (gst_pad_start_task):
24617         Propagate errors from _set_caps() in configure_src/sink
24618         functions instead of returning TRUE.
24619         FLUSH events can travel up and downstream
24620
24621
24622 2005-05-30  Wim Taymans  <wim@fluendo.com>
24623
24624         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24625         (gst_basesink_activate):
24626         Handle EOS in preroll.
24627
24628 2005-05-30  Wim Taymans  <wim@fluendo.com>
24629
24630         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24631         (gst_queue_loop), (gst_queue_handle_src_event):
24632         Remove old pieces of code
24633         Flushing the queue in an upstream event is a very bad idea.
24634
24635 2005-05-26  Andy Wingo  <wingo@pobox.com>
24636
24637         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
24638         gst_value_set_mini_object so as to add a ref on the object (which
24639         will be removed when the value is unset).
24640
24641         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
24642         arg type in ::handoff.
24643
24644         * gst/gstelement.c (gst_element_change_state): Also deactivate
24645         pads in READY->NULL, just in case the element didn't make it to
24646         PAUSED. Wingo tested, Wim approved.
24647
24648 2005-05-26  Wim Taymans  <wim@fluendo.com>
24649
24650         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24651         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
24652         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
24653         A flushing pad cannot be used to alloc_buffer from.
24654
24655 2005-05-26  Wim Taymans  <wim@fluendo.com>
24656
24657         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
24658         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
24659         (gst_bus_source_dispatch), (gst_bus_source_finalize),
24660         (gst_bus_create_watch), (gst_bus_add_watch_full):
24661         * gst/gstbus.h:
24662         Implement a real GSource and use g_main_context_wakeup() to
24663         signal new messages instead of the socketpair.
24664
24665 2005-05-25  Wim Taymans  <wim@fluendo.com>
24666
24667         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
24668         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
24669         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24670         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24671         (gst_pad_send_event), (gst_pad_start_task):
24672         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
24673         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
24674         (gst_queue_sink_activate), (gst_queue_src_activate),
24675         (gst_queue_change_state):
24676         * gst/gstqueue.h:
24677         Fix state changes for non sinks. We now change sinks, then elements
24678         with unconnected srcpads, then the rest.
24679         More efficient queue unlocking in flush and state changes.
24680         Set the pad activate mode even if it does not have an activate
24681         function.
24682
24683 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24684
24685         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
24686           Don't go in pull mode for non-seekable sources.
24687         * gst/elements/gsttypefindelement.h:
24688         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
24689         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
24690         (free_entry), (stop_typefinding),
24691         (gst_type_find_element_handle_event), (find_peek),
24692         (gst_type_find_element_chain), (do_pull_typefind),
24693         (gst_type_find_element_change_state):
24694           Allow typefinding (w/o seeking) in push-mode, simplified version
24695           of what was in 0.8.
24696         * gst/gstutils.c: (gst_buffer_join):
24697         * gst/gstutils.h:
24698           gst_buffer_join() from 0.8.
24699
24700 2005-05-25  Wim Taymans  <wim@fluendo.com>
24701
24702         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
24703         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
24704         (gst_pad_send_event), (gst_pad_start_task):
24705         Disable attempt at mode switching until it is figured out.
24706
24707 2005-05-25  Wim Taymans  <wim@fluendo.com>
24708
24709         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
24710         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
24711         (gst_basesink_finish_preroll), (gst_basesink_chain),
24712         (gst_basesink_loop), (gst_basesink_activate),
24713         (gst_basesink_change_state):
24714         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
24715         (gst_basesrc_get_range), (gst_basesrc_loop),
24716         (gst_basesrc_activate):
24717         * gst/elements/gsttee.c: (gst_tee_sink_activate):
24718         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
24719         (gst_real_pad_init), (gst_real_pad_set_property),
24720         (gst_real_pad_get_property), (gst_pad_set_active),
24721         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
24722         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
24723         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
24724         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
24725         (gst_pad_event_default_dispatch), (gst_pad_event_default),
24726         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
24727         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
24728         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
24729         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
24730         (gst_pad_stop_task):
24731         * gst/gstpad.h:
24732         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
24733         (gst_queue_loop), (gst_queue_src_activate):
24734         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
24735         (gst_task_get_state):
24736         * gst/gsttask.h:
24737         * gst/schedulers/threadscheduler.c:
24738         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
24739         Implement gst_pad_pause/start/stop_task(), take STREAM lock
24740         in task function.
24741         Remove ACTIVE pad flag, use FLUSHING everywhere
24742         Added _pad_chain(), _pad_get_range() to call chain/getrange 
24743         functions.
24744         Add locks around IS_FLUSHING when reading.
24745         Take STREAM lock in chain(), get_range() functions so plugins
24746         don't need to take it anymore.
24747         
24748
24749
24750 2005-05-25  Wim Taymans  <wim@fluendo.com>
24751
24752         * tools/gst-launch.c: (event_loop):
24753         Unref message after using its contents instead of
24754         before.
24755
24756 2005-05-24  Wim Taymans  <wim@fluendo.com>
24757
24758         * docs/design/draft-ghostpads.txt:
24759         * docs/design/draft-push-pull.txt:
24760         * docs/design/draft-query.txt:
24761         * docs/design/part-overview.txt:
24762         Docs updates, added general overview doc.
24763
24764 2005-05-21  David Schleef  <ds@schleef.org>
24765
24766         * docs/gst/tmpl/old/GstBin.sgml:
24767         * docs/gst/tmpl/old/GstBuffer.sgml:
24768         * docs/gst/tmpl/old/GstCaps.sgml:
24769         * docs/gst/tmpl/old/GstClock.sgml:
24770         * docs/gst/tmpl/old/GstCompat.sgml:
24771         * docs/gst/tmpl/old/GstData.sgml:
24772         * docs/gst/tmpl/old/GstElement.sgml:
24773         * docs/gst/tmpl/old/GstEvent.sgml:
24774         * docs/gst/tmpl/old/GstIndex.sgml:
24775         * docs/gst/tmpl/old/GstStructure.sgml:
24776         * docs/gst/tmpl/old/GstTag.sgml:
24777         * docs/gst/tmpl/old/cothreads.sgml:
24778         * docs/gst/tmpl/old/cothreads_compat.sgml:
24779         * docs/gst/tmpl/old/gettext.sgml:
24780         * docs/gst/tmpl/old/gobject2gtk.sgml:
24781         * docs/gst/tmpl/old/grammar.tab.sgml:
24782         * docs/gst/tmpl/old/gst-i18n-app.sgml:
24783         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
24784         * docs/gst/tmpl/old/gst_private.sgml:
24785         * docs/gst/tmpl/old/gstaggregator.sgml:
24786         * docs/gst/tmpl/old/gstarch.sgml:
24787         * docs/gst/tmpl/old/gstatomic_impl.sgml:
24788         * docs/gst/tmpl/old/gstbufferstore.sgml:
24789         * docs/gst/tmpl/old/gstdata_private.sgml:
24790         * docs/gst/tmpl/old/gstdisksink.sgml:
24791         * docs/gst/tmpl/old/gstdisksrc.sgml:
24792         * docs/gst/tmpl/old/gstelementfactory.sgml:
24793         * docs/gst/tmpl/old/gstextratypes.sgml:
24794         * docs/gst/tmpl/old/gstfakesink.sgml:
24795         * docs/gst/tmpl/old/gstfakesrc.sgml:
24796         * docs/gst/tmpl/old/gstfdsink.sgml:
24797         * docs/gst/tmpl/old/gstfdsrc.sgml:
24798         * docs/gst/tmpl/old/gstfilesink.sgml:
24799         * docs/gst/tmpl/old/gstfilesrc.sgml:
24800         * docs/gst/tmpl/old/gsthttpsrc.sgml:
24801         * docs/gst/tmpl/old/gstidentity.sgml:
24802         * docs/gst/tmpl/old/gstindexfactory.sgml:
24803         * docs/gst/tmpl/old/gstmarshal.sgml:
24804         * docs/gst/tmpl/old/gstmd5sink.sgml:
24805         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
24806         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
24807         * docs/gst/tmpl/old/gstpadtemplate.sgml:
24808         * docs/gst/tmpl/old/gstpipefilter.sgml:
24809         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
24810         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
24811         * docs/gst/tmpl/old/gstshaper.sgml:
24812         * docs/gst/tmpl/old/gstspider.sgml:
24813         * docs/gst/tmpl/old/gstspideridentity.sgml:
24814         * docs/gst/tmpl/old/gststatistics.sgml:
24815         * docs/gst/tmpl/old/gsttee.sgml:
24816         * docs/gst/tmpl/old/gsttimecache.sgml:
24817         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
24818         * docs/gst/tmpl/old/gstxmlregistry.sgml:
24819         * docs/gst/tmpl/old/gthread-cothreads.sgml:
24820         * docs/gst/tmpl/old/types.sgml:
24821           I didn't intend to add these or check them in.
24822
24823 2005-05-19  David Schleef  <ds@schleef.org>
24824
24825         * configure.ac: Use -no-common everywhere.  In a sane world, it
24826           would be the default in libtool, because without it, you can't
24827           build DLLs on Windows.
24828         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
24829         * docs/gst/gstreamer-sections.txt:
24830         * docs/gst/tmpl/gstcpu.sgml:
24831         * docs/gst/tmpl/gstdata.sgml:
24832         * docs/gst/tmpl/gstthread.sgml:
24833
24834 2005-05-19  David Schleef  <ds@schleef.org>
24835
24836         * gst/gstminiobject.c: (gst_value_set_mini_object),
24837         (gst_value_take_mini_object), (gst_value_get_mini_object):
24838         * gst/gstminiobject.h: Add GValue set/get functions.
24839
24840 2005-05-19  Wim Taymans  <wim@fluendo.com>
24841
24842         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
24843         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
24844         (gst_subbuffer_init), (gst_buffer_is_span_fast):
24845         * gst/gstbuffer.h:
24846         * gst/gstbus.c: (gst_bus_post):
24847         * gst/gstelement.c: (gst_element_get_random_pad):
24848         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
24849         Make subbufer unref the parent in finalize.
24850         some more debugging info.
24851
24852
24853 2005-05-19  Wim Taymans  <wim@fluendo.com>
24854
24855         * gst/base/gstbasesink.c: (gst_basesink_class_init),
24856         (gst_basesink_init), (gst_basesink_finalize),
24857         (gst_basesink_activate), (gst_basesink_change_state):
24858         Don't free preroll queue too early.
24859
24860 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24861
24862         * gst/Makefile.am:
24863         * gst/ROADMAP:
24864           Hi, I'm outdated. Please shoot me.
24865
24866 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24867
24868         * gst/gstpipeline.c: (gst_pipeline_send_event):
24869           Do not access variables after they have been deleted.
24870
24871 2005-05-19  Wim Taymans  <wim@fluendo.com>
24872
24873         * tools/gst-inspect.c: (print_plugin_features):
24874         A plugin feature does unfortunatly not use the
24875         object name yet...
24876
24877 2005-05-18  Wim Taymans  <wim@fluendo.com>
24878
24879         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
24880         Port _span() functions to new subbuffers.
24881
24882 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24883
24884         * gst/gstbin.c: (gst_bin_add_func):
24885           Fix clock settery in bins when adding kids after the clock has
24886           been selected.
24887
24888 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24889
24890         * gst/elements/gstidentity.c: (gst_identity_class_init):
24891           Workaround until signals support GstMiniObject.
24892
24893 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
24894
24895         * gst/gstbuffer.c:
24896         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
24897
24898 2005-05-18  Wim Taymans  <wim@fluendo.com>
24899
24900         * gst/base/Makefile.am:
24901         * gst/base/gstadapter.c: (gst_adapter_base_init),
24902         (gst_adapter_class_init), (gst_adapter_init),
24903         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
24904         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
24905         (gst_adapter_flush), (gst_adapter_available),
24906         (gst_adapter_available_fast):
24907         * gst/base/gstadapter.h:
24908         Ported and added adapter to the base classes.
24909
24910 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
24911
24912         * gst/gst.c:
24913         * gst/gstmessage.c:
24914           Make sure the class is reffed/unreffed once before threads can be
24915           used.  Fixes #304551.
24916
24917 2005-05-17  Wim Taymans  <wim@fluendo.com>
24918
24919         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
24920         (gst_basesink_chain_unlocked), (gst_basesink_activate):
24921         * gst/gstminiobject.c: (gst_mini_object_get_type),
24922         (gst_mini_object_free):
24923         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
24924         (gst_pad_push), (gst_pad_push_event):
24925         * gst/gstqueue.c: (gst_queue_change_state):
24926         Don't queue buffers in basesink when we are flushing.
24927         Unref buffer when flushing in basesink.
24928         Flush queue when going to READY
24929         Unref buffer when _push() returns an error.
24930         Don't free MiniObject instance when refcount is incremented
24931         in _finalize() so that we can recover objects.
24932
24933 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
24934
24935         * docs/manual/advanced-schedulers.xml:
24936         * docs/manual/appendix-checklist.xml:
24937         * docs/pwg/advanced-clock.xml:
24938         * docs/pwg/advanced-interfaces.xml:
24939         * docs/pwg/advanced-request.xml:
24940         * docs/pwg/advanced-types.xml:
24941         * docs/pwg/intro-preface.xml:
24942         * examples/plugins/example.c: (gst_example_get_type),
24943         (gst_example_class_init), (gst_example_chain),
24944         (gst_example_set_property), (gst_example_get_property),
24945         (gst_example_change_state), (plugin_init):
24946         * examples/plugins/example.h:
24947           small doc fixes
24948
24949 2005-05-17  Wim Taymans  <wim@fluendo.com>
24950
24951         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
24952         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
24953         * gst/gstqueue.c: (gst_queue_change_state):
24954         Clear queue when going to READY.
24955         Remove IN_SETCAPS flag too.
24956
24957 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
24958
24959         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
24960           Remove implicit cast from gboolean to GstElementStateReturn;
24961           make sure we still return failure in paused => ready case if
24962           the parent class fails to change state and our own stop 
24963           vfunc succeeds.
24964
24965 2005-05-17  Wim Taymans  <wim@fluendo.com>
24966
24967         * tools/gst-launch.c: (event_loop):
24968         Message was unreffed too soon.
24969
24970 2005-05-16  Andy Wingo  <wingo@pobox.com>
24971
24972         * gst/gstbin.c (sink_iterator_filter): Err... um...
24973
24974         * check/gst/gstbin.c (test_ghost_pads): New test for the
24975         ghosting-if-elements-not-in-same-bin behavior.
24976
24977 2005-05-16  David Schleef  <ds@schleef.org>
24978
24979         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
24980         accessing refcount directly.
24981
24982 2005-05-15  David Schleef  <ds@schleef.org>
24983
24984         * check/Makefile.am: remove GstData checks
24985         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
24986         * gst/Makefile.am: add miniobject, remove data
24987         * gst/gst.h: add miniobject, remove data
24988         * gst/gstdata.c: remove
24989         * gst/gstdata.h: remove
24990         * gst/gstdata_private.h: remove
24991         * gst/gsttypes.h: remove GstEvent and GstMessage
24992         * gst/gstelement.c: (gst_element_post_message): fix for API changes
24993         * gst/gstmarshal.list: change BOXED -> OBJECT
24994
24995         Implement GstMiniObject.
24996         * gst/gstminiobject.c:
24997         * gst/gstminiobject.h:
24998
24999         Modify to be subclasses of GstMiniObject.
25000         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
25001         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
25002         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
25003         (gst_subbuffer_get_type), (gst_subbuffer_init),
25004         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
25005         (gst_buffer_span):
25006         * gst/gstbuffer.h:
25007         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
25008         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
25009         (_gst_event_copy), (gst_event_new):
25010         * gst/gstevent.h:
25011         * gst/gstmessage.c: (_gst_message_initialize),
25012         (gst_message_get_type), (gst_message_class_init),
25013         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
25014         (gst_message_new), (gst_message_new_error),
25015         (gst_message_new_warning), (gst_message_new_tag),
25016         (gst_message_new_state_changed), (gst_message_new_application):
25017         * gst/gstmessage.h:
25018         * gst/gstprobe.c: (gst_probe_perform),
25019         (gst_probe_dispatcher_dispatch):
25020         * gst/gstprobe.h:
25021         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
25022         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
25023         (_gst_query_copy), (gst_query_new):
25024
25025         Update elements for GstData -> GstMiniObject changes
25026         * gst/gstquery.h:
25027         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
25028         (gst_queue_chain), (gst_queue_loop):
25029         * gst/elements/gstbufferstore.c:
25030         (gst_buffer_store_add_buffer_func),
25031         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
25032         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25033         (gst_fakesink_render):
25034         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
25035         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
25036         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
25037         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
25038         (gst_filesrc_create_read):
25039         * gst/elements/gstidentity.c: (gst_identity_class_init):
25040         * gst/elements/gsttypefindelement.c:
25041         (gst_type_find_element_src_event), (free_entry_buffers),
25042         (gst_type_find_element_handle_event):
25043         * libs/gst/dataprotocol/dataprotocol.c:
25044         (gst_dp_header_from_buffer):
25045         * libs/gst/dataprotocol/dataprotocol.h:
25046         * libs/gst/dataprotocol/dp-private.h:
25047
25048 2005-05-15  David Schleef  <ds@schleef.org>
25049
25050         * gst/elements/gstelements.c: Don't include headers that were
25051         just removed.
25052
25053 2005-05-15  David Schleef  <ds@schleef.org>
25054
25055         * gst/elements/Makefile.am: Remove some elements that don't
25056         need to be in the core (or even exist at all).
25057         * gst/elements/gstaggregator.c:
25058         * gst/elements/gstaggregator.h:
25059         * gst/elements/gstmd5sink.c:
25060         * gst/elements/gstmd5sink.h:
25061         * gst/elements/gstmultifilesrc.c:
25062         * gst/elements/gstmultifilesrc.h:
25063         * gst/elements/gstpipefilter.c:
25064         * gst/elements/gstpipefilter.h:
25065         * gst/elements/gstshaper.c:
25066         * gst/elements/gstshaper.h:
25067         * gst/elements/gststatistics.c:
25068         * gst/elements/gststatistics.h:
25069         * po/POTFILES.in: Remove above files.
25070
25071 2005-05-14  Andy Wingo  <wingo@pobox.com>
25072
25073         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
25074         so as to get the refs right.
25075         (sink_iterator_filter): New function, wraps bin_element_is_sink,
25076         unreffing objects that don't pass the filter.
25077
25078         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
25079         gst_element_set_bus.
25080         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
25081         normal cases, this will destroy the bus.
25082
25083         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
25084         object.
25085
25086         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
25087         has no sinks.
25088
25089 2005-05-13  Andy Wingo  <wingo@pobox.com>
25090
25091         * gst/gstutils.c (gst_element_link_pads): Instead of calling
25092         gst_pad_link, call pad_link_maybe_ghosting,
25093         (pad_link_maybe_ghosting): Links pads, making sure that the
25094         elements being linked are in the same bin.
25095         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
25096         Helpers for pad_link_maybe_ghosting.
25097
25098 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
25099
25100         * configure.ac:
25101           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
25102
25103 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
25104
25105         * docs/design/part-element-source.txt:
25106           Mention GstPushSrc
25107
25108 2005-05-12  Wim Taymans  <wim@fluendo.com>
25109
25110         * gst/base/gstbasesink.c: (gst_basesink_init),
25111         (gst_basesink_activate):
25112         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
25113         (gst_basesrc_is_seekable):
25114         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
25115         (bin_element_is_sink), (gst_bin_change_state):
25116         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25117         * gst/gstelement.h:
25118         Identify sinks by their flag to avoid overly complicated
25119         checks (fow now).
25120         Do state changes even for elements not reachable from the
25121         sinks.
25122         BaseSink is a sink now :)
25123         Some more debugging info in the basesrc.
25124
25125
25126 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25127
25128         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
25129           Implement _query on a bin, similar to _send_event.
25130
25131 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
25132
25133         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
25134           Discont event offset format should be GST_FORMAT_BYTES,
25135           not GST_FORMAT_TIME.
25136
25137 2005-05-12  Wim Taymans  <wim@fluendo.com>
25138
25139         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
25140         Same fix as Ronald's but without the signal. 
25141
25142 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25143
25144         * gst/gstutils.c: (gst_element_query_position):
25145           No, an element is not a pad.
25146
25147 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25148
25149         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
25150         (gst_bin_get_state):
25151           If a child is removed from a bin while we remove the child from
25152           the bin and while we're retrieving its state, signal this to the
25153           get_state function so we abort the wait (instead of waiting for
25154           a timeout) and can immediately re-iterate over all other elements.
25155
25156 2005-05-12  Wim Taymans  <wim@fluendo.com>
25157
25158         * gst/base/Makefile.am:
25159         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
25160         (gst_basesrc_start):
25161         * gst/base/gstbasesrc.h:
25162         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
25163         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
25164         (gst_pushsrc_init), (gst_pushsrc_create):
25165         * gst/base/gstpushsrc.h:
25166         Added is_seekable to BaseSrc
25167         Added simple PushSrc.
25168
25169 2005-05-11  Wim Taymans  <wim@fluendo.com>
25170
25171         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
25172         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25173         (gst_element_link_pads), (gst_element_query_position),
25174         (gst_element_query_convert), (intersect_caps_func),
25175         (gst_pad_query_position), (gst_pad_query_convert):
25176         Fix refcounting in utils function.
25177         No point in trying to activate a pad when it's added, it could
25178         be added from the state change function and then we deadlock, the
25179         element has to decide what to do.
25180
25181 2005-05-10  Andy Wingo  <wingo@pobox.com>
25182
25183         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
25184         *all* the arguments.
25185
25186         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
25187         stream lock if it's a FLUSH_DONE; normal flushes don't get the
25188         lock (according to the docs -- if this is wrong change the docs).
25189
25190         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
25191         flush messages in the NULL state.
25192
25193         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
25194         message immediately and return.
25195         (gst_bus_set_flushing): New function. If a bus is flushing, it
25196         flushes out any queued messages and immediately unrefs new
25197         messages. This is so when an element goes to NULL, all of the
25198         unhandled messages coming from it can be freed, and their
25199         references to the element dropped. In other words: message source
25200         ref considered harmful :P
25201
25202         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
25203         we're finished with it.
25204
25205         * gst/gstmessage.c (gst_message_new_state_changed): 
25206
25207 2005-05-10  Wim Taymans  <wim@fluendo.com>
25208
25209         * gst/gstvalue.c: (gst_value_compare_flags),
25210         (gst_value_serialize_flags), (gst_value_deserialize_flags),
25211         (_gst_value_initialize):
25212         Added flags serialize/deserialize/compare code.
25213
25214 2005-05-09  Andy Wingo  <wingo@pobox.com>
25215
25216         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
25217         Intersect the peer's caps with our caps.
25218
25219 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25220
25221         * gst/base/gsttypefindhelper.c: (helper_find_peek):
25222         * gst/elements/gsttypefindelement.c: (find_peek):
25223           Handle negative offsets better. Fixes decodebin.
25224
25225 2005-05-09  Wim Taymans  <wim@fluendo.com>
25226
25227         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
25228         (gst_base_transform_event):
25229         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
25230         Implement accept_caps.
25231         Fix silly lock/unlock mismatch in base class.
25232
25233 2005-05-09  Wim Taymans  <wim@fluendo.com>
25234
25235         * docs/design/draft-push-pull.txt:
25236         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
25237         * gst/elements/gstfilesink.c: (gst_filesink_init),
25238         (gst_filesink_query):
25239         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
25240         (gst_type_find_handle_src_query), (find_element_get_length):
25241         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
25242         * gst/gstelement.h:
25243         * gst/gstmessage.c:
25244         * gst/gstmessage.h:
25245         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
25246         (gst_real_pad_get_caps_unlocked),
25247         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
25248         (gst_pad_event_default_dispatch), (gst_pad_event_default),
25249         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
25250         (gst_real_pad_dispose), (gst_real_pad_finalize),
25251         (gst_pad_load_and_link), (gst_pad_save_thyself),
25252         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
25253         (gst_pad_check_pull_range), (gst_pad_pull_range),
25254         (gst_pad_template_get_type), (gst_pad_template_class_init),
25255         (gst_pad_template_init), (gst_pad_template_dispose),
25256         (name_is_valid), (gst_static_pad_template_get),
25257         (gst_pad_template_new), (gst_static_pad_template_get_caps),
25258         (gst_pad_template_get_caps), (gst_pad_set_element_private),
25259         (gst_pad_get_element_private), (gst_pad_start_task),
25260         (gst_pad_pause_task), (gst_pad_stop_task),
25261         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
25262         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
25263         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
25264         (gst_ghost_pad_new):
25265         * gst/gstpad.h:
25266         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
25267         (gst_query_new_position), (gst_query_set_position),
25268         (gst_query_parse_position), (gst_query_new_convert),
25269         (gst_query_set_convert), (gst_query_parse_convert):
25270         * gst/gstquery.h:
25271         * gst/gstqueryutils.c:
25272         * gst/gstqueryutils.h:
25273         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25274         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25275         (gst_queue_handle_src_query):
25276         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25277         (gst_element_query_position), (gst_element_query_convert),
25278         (intersect_caps_func), (gst_pad_query_position),
25279         (gst_pad_query_convert):
25280         * gst/gstutils.h:
25281         * tools/gst-inspect.c: (print_pad_info):
25282         * tools/gst-xmlinspect.c: (print_element_info):
25283         Remove old query functions. Ported old code.
25284         Added position/convert helper functions to gstutils.
25285         Reordered gstpad.c code, grouping relevant things.
25286         Remove gst_message_new(), always need to speficy a specific
25287         message.
25288
25289
25290 2005-05-09  Andy Wingo  <wingo@pobox.com>
25291
25292         * gst/gstiterator.h: Add some includes.
25293
25294         * gst/gstqueryutils.h: Include more headers.
25295
25296         * gst/gstpad.h:
25297         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
25298         some uses of gst_pad_query.
25299
25300         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
25301         NULL out parameters.
25302         (gst_query_new_position): New proc, allocates a new position
25303         query.
25304
25305         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
25306         gstqueryutils.c to the build.
25307
25308         * gst/gststructure.c (gst_structure_set_valist): Implement with
25309         the generic G_VALUE_COLLECT.
25310         
25311 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
25312
25313         * gst/Makefile.am: (gst_headers):
25314         Added gstqueryutils.h to the list of headers to install, that was
25315         a 'nachty' move wingo :)
25316
25317 2005-05-06  Andy Wingo  <wingo@pobox.com>
25318
25319         * gst/gstquery.h
25320         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
25321         GstData, init a memchunk.
25322         (standard_definitions): Add a few query types, deprecate a few.
25323         (gst_query_get_type): New proc.
25324         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
25325         implementation.
25326         (gst_query_new_application, gst_query_get_structure): New public
25327         procs.
25328
25329         * docs/design/draft-query.txt: Removed LINKS from the query types,
25330         because all the rest can be dispatched to other pads -- seemed
25331         ugly to have a query that couldn't be dispatched. internal_links
25332         is fine as a pad method.
25333
25334         * gst/gstpad.h: Add query2 as a pad method, add the new functions
25335         in gstpad.c, but maintain binary compatibility for the moment.
25336         Will fix before 0.9 is out.
25337
25338         * gst/gstqueryutils.c: 
25339         * gst/gstqueryutils.h: New files, implement 3 methods for each
25340         query type: parse_query, parse_response, and set. Probably need an
25341         allocator as well.
25342
25343         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
25344
25345         * gst/elements/gstfilesink.c (gst_filesink_query2):
25346         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
25347         query_types, and formats methods.
25348
25349         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
25350         (gst_pad_set_query2_function): New functions.
25351         (gst_real_pad_init): Set query2_default as the default query2
25352         function. Basically just dispatches to internally linked pads.
25353
25354         Needs review!
25355         
25356         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
25357         without using the atomic operations. Only one thread can possibly
25358         be accessing the data at this point. Changed so as to avoid
25359         gst_atomic operations.
25360
25361 2005-05-06  Wim Taymans  <wim@fluendo.com>
25362
25363         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
25364         Also set caps if we use the fallback buffer alloc.
25365
25366 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
25367
25368         * docs/gst/Makefile.am:
25369         * docs/gst/gstreamer-docs.sgml:
25370         * docs/gst/gstreamer-sections.txt:
25371         * docs/gst/tmpl/gstatomic.sgml:
25372         * docs/gst/tmpl/gstmemchunk.sgml:
25373         * testsuite/elements/struct_i386.h:
25374         * win32/GStreamer.vcproj:
25375         * win32/Makefile:
25376           Purge GstAtomic stuff from docs and win32 makefiles as well
25377
25378 2005-05-06  Wim Taymans  <wim@fluendo.com>
25379
25380         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
25381         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
25382         * gst/gstpad.c: (gst_pad_peer_get_caps):
25383         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
25384         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
25385         (gst_queue_src_activate), (gst_queue_change_state):
25386         * gst/gstqueue.h:
25387         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25388         (intersect_caps_func):
25389         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
25390         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
25391         Some fixes for the peer_get_caps() change.
25392
25393 2005-05-06  Wim Taymans  <wim@fluendo.com>
25394
25395         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
25396         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
25397         (gst_basesink_activate):
25398         Actually do something with error codes returned from the push
25399         functions.
25400
25401 2005-05-06  Wim Taymans  <wim@fluendo.com>
25402
25403         * docs/design/part-element-sink.txt:
25404         * docs/design/part-element-source.txt:
25405         * gst/base/gstbasesink.c: (gst_basesink_class_init),
25406         (gst_basesink_event), (gst_basesink_activate):
25407         * gst/base/gstbasesink.h:
25408         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
25409         (gst_basesrc_activate):
25410         * gst/base/gstbasesrc.h:
25411         * gst/gstelement.c: (gst_element_pads_activate):
25412         Some more documentation.
25413         Fixed scheduling decision in _pads_activate().
25414
25415 2005-05-05  Andy Wingo  <wingo@pobox.com>
25416
25417         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
25418         the test suite.
25419
25420 2005-05-05  Wim Taymans  <wim@fluendo.com>
25421
25422         * gst/base/Makefile.am:
25423         * gst/base/gstbasesink.h:
25424         * gst/base/gstbasesrc.c: (gst_basesrc_init),
25425         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
25426         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
25427         (gst_collectpads_class_init), (gst_collectpads_init),
25428         (gst_collectpads_finalize), (gst_collectpads_new),
25429         (gst_collectpads_set_function), (gst_collectpads_add_pad),
25430         (find_pad), (gst_collectpads_remove_pad),
25431         (gst_collectpads_is_active), (gst_collectpads_collect),
25432         (gst_collectpads_collect_range), (gst_collectpads_start),
25433         (gst_collectpads_stop), (gst_collectpads_peek),
25434         (gst_collectpads_pop), (gst_collectpads_available),
25435         (gst_collectpads_read), (gst_collectpads_flush),
25436         (gst_collectpads_chain):
25437         * gst/base/gstcollectpads.h:
25438         * gst/elements/Makefile.am:
25439         * gst/elements/gstelements.c:
25440         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25441         (gst_fakesink_get_times), (gst_fakesink_event),
25442         (gst_fakesink_preroll), (gst_fakesink_render):
25443         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
25444         (gst_filesink_init), (gst_filesink_set_location),
25445         (gst_filesink_open_file), (gst_filesink_close_file),
25446         (gst_filesink_pad_query), (gst_filesink_event),
25447         (gst_filesink_render), (gst_filesink_change_state):
25448         * gst/elements/gstfilesink.h:
25449         Added object to help in making collect pad based elements.
25450         Ported filesink.
25451         Make event function in sink baseclass return gboolean.
25452
25453 2005-05-05  Wim Taymans  <wim@fluendo.com>
25454
25455         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
25456         (gst_bin_get_by_name):
25457         * gst/gstbuffer.h:
25458         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
25459         (gst_clock_finalize):
25460         * gst/gstdata.c: (gst_data_replace):
25461         * gst/gstdata.h:
25462         * gst/gstelement.c: (gst_element_request_pad),
25463         (gst_element_pads_activate):
25464         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
25465         (gst_object_unref):
25466         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25467         (gst_pad_set_checkgetrange_function),
25468         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
25469         (gst_pad_check_pull_range), (gst_pad_pull_range),
25470         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25471         (gst_pad_pause_task), (gst_pad_stop_task):
25472         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
25473         (gst_element_request_pad), (gst_pad_proxy_getcaps):
25474         Fix name lookup in GstBin.
25475         Added _data_replace() function and _buffer_replace()
25476         Use finalize method to clean up clock.
25477         Fix refcounting on request pads.
25478         Fix pad schedule mode error.
25479         Some more object refcounting debug info,
25480
25481
25482 2005-05-04  Andy Wingo <wingo@pobox.com>
25483
25484         * check/Makefile.am:
25485         * docs/gst/tmpl/gstatomic.sgml:
25486         * docs/gst/tmpl/gstplugin.sgml:
25487         * gst/base/gstbasesink.c: (gst_basesink_activate):
25488         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
25489         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
25490         (gst_basesrc_query), (gst_basesrc_set_property),
25491         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
25492         (gst_basesrc_activate):
25493         * gst/base/gstbasesrc.h:
25494         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
25495         (gst_base_transform_src_activate):
25496         * gst/elements/gstelements.c:
25497         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25498         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
25499         * gst/elements/gsttee.c: (gst_tee_sink_activate):
25500         * gst/elements/gsttypefindelement.c: (find_element_get_length),
25501         (gst_type_find_element_checkgetrange),
25502         (gst_type_find_element_activate):
25503         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
25504         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
25505         (gst_caps_load_thyself):
25506         * gst/gstelement.c: (gst_element_pads_activate),
25507         (gst_element_save_thyself), (gst_element_restore_thyself):
25508         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
25509         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
25510         * gst/gstpad.h:
25511         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
25512         (gst_xml_parse_file), (gst_xml_parse_memory),
25513         (gst_xml_get_element), (gst_xml_make_element):
25514         * gst/indexers/gstfileindex.c: (gst_file_index_load),
25515         (_file_index_id_save_xml), (gst_file_index_commit):
25516         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
25517         (read_enum), (load_pad_template), (load_feature), (load_plugin),
25518         (load_paths):
25519         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
25520         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
25521         * tools/gst-complete.c: (main):
25522         * tools/gst-compprep.c: (main):
25523         * tools/gst-inspect.c: (print_element_properties_info):
25524         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
25525         * tools/gst-xmlinspect.c: (print_element_properties):
25526         GCC 4 fixen.
25527         
25528 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
25529
25530         * gst/gstplugin.c: (gst_plugin_check_module),
25531         (gst_plugin_check_file), (gst_plugin_load_file):
25532             apply patch from #172526 to make register work on MacOSX
25533
25534 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25535
25536         * docs/gst/tmpl/gstconfig.sgml:
25537         * gst/gstconfig.h.in:
25538           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
25539         * testsuite/debug/printf_extension.c: (main):
25540           Do not use GST_PTR_FORMAT on pointers to types with
25541           sizeof < sizeof(gpointer).  Fixes test on 64-bit
25542         * testsuite/elements/property.h:
25543           use correct printf format
25544
25545 2005-05-02  Wim Taymans  <wim@fluendo.com>
25546
25547         * docs/design/draft-push-pull.txt:
25548         * docs/design/draft-query.txt:
25549         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
25550         (gst_basesrc_start):
25551         Added draft for new query API.
25552         Added draft for better selecting scheduling methods.
25553         Make basesrc ignore length if the subclass does not support
25554         it.
25555
25556 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25557
25558         * gst/Makefile.am:
25559           possible fixes for automake-1.5 - _LIBADD is reserved
25560
25561 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
25562
25563         * docs/faq/Makefile.am:
25564         * docs/manual/Makefile.am:
25565         * docs/manuals.mak:
25566         * docs/pwg/Makefile.am:
25567         * gst/Makefile.am:
25568           possible fixes for automake-1.5
25569
25570 2005-04-28  Wim Taymans  <wim@fluendo.com>
25571
25572         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25573         (gst_basesink_pad_getcaps), (gst_basesink_init),
25574         (gst_basesink_do_sync):
25575         * gst/gstclock.c: (gst_clock_entry_new):
25576         * gst/gstevent.c: (gst_event_discont_get_value):
25577         * gst/gstpipeline.c: (pipeline_bus_handler),
25578         (gst_pipeline_change_state):
25579         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
25580         Better debugging of clocking info.
25581         Allow NULL values when getting discont values.
25582
25583 2005-04-27  Wim Taymans  <wim@fluendo.com>
25584
25585         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
25586         * check/gst/gstpad.c: (gst_pad_suite):
25587         Increase timeout for checks.
25588
25589 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
25590
25591         * check/Makefile.am:
25592           fix the broken rule for cleanup.  Apparently this rule is
25593           only needed on FC2, so maybe this warrants further autotool
25594           inspection.
25595
25596 2005-04-26  Wim Taymans  <wim@fluendo.com>
25597
25598         * gst/gsttrashstack.h:
25599         Ooohh. a nasty one! After having a failed pop() from the stack,
25600         it's possible that the stack is empty. In that case, don't
25601         follow the NULL pointer.
25602
25603 2005-04-25  Wim Taymans  <wim@fluendo.com>
25604
25605         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25606         (gst_pad_set_checkgetrange_function),
25607         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
25608         (gst_pad_check_pull_range), (gst_pad_pull_range),
25609         (gst_static_pad_template_get_caps), (gst_pad_start_task),
25610         (gst_pad_pause_task), (gst_pad_stop_task):
25611         * gst/gstplugin.c: (gst_plugin_load):
25612         * gst/gstplugin.h:
25613         Remove gst_library_load as it does more harm than good with
25614         the new g_module flags.
25615         Revert bogus caps template check in pad linking, pad caps
25616         are important when linking not the template, which is more
25617         general than the current caps.
25618
25619 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25620
25621         * gst/autoplug/.cvsignore:
25622         * gst/autoplug/Makefile.am:
25623         * gst/autoplug/gstsearchfuncs.c:
25624         * gst/autoplug/gstsearchfuncs.h:
25625         * gst/autoplug/gstspider.c:
25626         * gst/autoplug/gstspider.h:
25627         * gst/autoplug/gstspideridentity.c:
25628         * gst/autoplug/gstspideridentity.h:
25629         * gst/autoplug/spidertest.c:
25630           Die, spider, die.
25631
25632 2005-04-25  Wim Taymans  <wim@fluendo.com>
25633
25634         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25635         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25636         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
25637         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
25638         * gst/gstpad.h:
25639         Added stubs for unimplemented functions. 
25640
25641 2005-04-24  David Schleef  <ds@schleef.org>
25642
25643         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
25644         please fix.
25645
25646 2005-04-24  David Schleef  <ds@schleef.org>
25647
25648         Convert everything from GstAtomicInt to g_atomic_int_*, and
25649         remove gstatomic.
25650         * gst/Makefile.am:
25651         * gst/gstatomic.c:
25652         * gst/gstatomic.h:
25653         * gst/gstatomic_impl.h:
25654         * gst/gstbuffer.c:
25655         * gst/gstcaps.c:
25656         * gst/gstcaps.h:
25657         * gst/gstclock.c:
25658         * gst/gstclock.h:
25659         * gst/gstdata.c:
25660         * gst/gstdata.h:
25661         * gst/gstdata_private.h:
25662         * gst/gstevent.c:
25663         * gst/gstinfo.c:
25664         * gst/gstinfo.h:
25665         * gst/gstmessage.c:
25666         * gst/gstobject.c:
25667         * gst/gstobject.h:
25668         * gst/gststructure.c:
25669         * gst/gststructure.h:
25670         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
25671         * gst/gstutils.h:
25672
25673 2005-04-24  David Schleef  <ds@schleef.org>
25674
25675         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
25676         make the regressions tests work.  Remove some code that is no
25677         longer true.
25678         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
25679         Disable warning for pads without templates.
25680
25681 2005-04-24  David Schleef  <ds@schleef.org>
25682
25683         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
25684         functions that handle filtered links.
25685         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
25686         removed functions.
25687         * gst/gstutils.c: Fix/remove utility functions that handle
25688         filtered caps.
25689         * gst/gstutils.h:
25690         * gst/gstvalue.c: Add serialization/deserialization of caps
25691         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
25692         requires fixing so that the filter caps notation creates
25693         a capsfilter element and sets the filter_caps property.  I
25694         think everyone probably wants to keep the shorthand notation.
25695         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
25696         * docs/gst/tmpl/gstpad.sgml:
25697
25698         * gst/elements/gstelements.c: Register capsfilter element.
25699         * gst/Makefile.am: fix spacing
25700         * docs/random/ds/0.9-suggested-changes: random
25701
25702 2005-04-23  David Schleef  <ds@schleef.org>
25703
25704         * gst/elements/Makefile.am:
25705         * gst/elements/gstcapsfilter.c: New element that acts like an
25706         identity, but filters caps.  Will eventually replace filtered
25707         caps in pad linking.
25708         * gst/gstutils.c: (gst_element_create_all_pads): New function
25709         to create all the ALWAYS pads that are registered with an
25710         element class.  This functionality should eventually be
25711         merged in with GstElement initialization.
25712         * gst/gstutils.h:
25713         * testsuite/trigger/README: part of trigger test code that should
25714         have been checked in a long time ago.
25715
25716 2005-04-23  David Schleef  <ds@schleef.org>
25717
25718         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
25719         needed with new versions of libtool (nobody will confirm this),
25720         and hard to carry around.
25721         * gst/autoplug/Makefile.am:
25722         * gst/base/Makefile.am:
25723         * gst/elements/Makefile.am:
25724         * gst/indexers/Makefile.am:
25725         * gst/schedulers/Makefile.am:
25726         * libs/gst/bytestream/Makefile.am:
25727         * libs/gst/control/Makefile.am:
25728         * libs/gst/dataprotocol/Makefile.am:
25729         * libs/gst/getbits/Makefile.am:
25730
25731 2005-04-21  Wim Taymans  <wim@fluendo.com>
25732
25733         * docs/design/draft-push-pull.txt:
25734         * docs/design/part-MT-refcounting.txt:
25735         * docs/design/part-TODO.txt:
25736         * docs/design/part-caps.txt:
25737         * docs/design/part-events.txt:
25738         * docs/design/part-gstbus.txt:
25739         * docs/design/part-gstpipeline.txt:
25740         * docs/design/part-messages.txt:
25741         * docs/design/part-push-pull.txt:
25742         * docs/design/part-query.txt:
25743         Some more docs.
25744
25745 2005-04-21  Wim Taymans  <wim@fluendo.com>
25746
25747         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
25748         (gst_message_new), (gst_message_new_error),
25749         (gst_message_new_warning), (gst_message_new_tag),
25750         (gst_message_new_state_changed), (gst_message_new_application),
25751         (gst_message_get_structure):
25752         * gst/gstmessage.h:
25753         * gst/gststructure.c: (gst_structure_set_parent_refcount),
25754         (gst_structure_copy_conditional):
25755         Use parent refcount in GstMessage to ensure GstStructure
25756         consistency.
25757         Cleaned up headers a bit.
25758         
25759
25760 2005-04-20  Wim Taymans  <wim@fluendo.com>
25761
25762         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25763         (gst_basesink_pad_getcaps), (gst_basesink_init),
25764         (gst_basesink_chain_unlocked):
25765         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
25766         (gst_type_find_helper):
25767         * gst/elements/gsttypefindelement.c:
25768         (gst_type_find_element_have_type), (gst_type_find_element_init),
25769         (stop_typefinding), (gst_type_find_element_handle_event),
25770         (find_suggest), (gst_type_find_element_chain),
25771         (gst_type_find_element_checkgetrange),
25772         (gst_type_find_element_getrange), (do_typefind),
25773         (gst_type_find_element_activate):
25774         * gst/gstbuffer.c: (_gst_buffer_sub_free),
25775         (gst_buffer_default_free), (gst_buffer_default_copy),
25776         (gst_buffer_set_caps):
25777         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
25778         (gst_caps_replace):
25779         * gst/gstmessage.c: (gst_message_new),
25780         (gst_message_new_state_changed):
25781         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25782         (gst_pad_set_checkgetrange_function),
25783         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
25784         (gst_pad_set_caps), (gst_pad_check_pull_range),
25785         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
25786         * gst/gstpad.h:
25787         * gst/gsttypefind.c: (gst_type_find_register):
25788         Make gst_caps_replace() work like other _replace() functions.
25789         Use _caps_replace() where possible.
25790         Make sure _message_new() initialises its field.
25791         Add gst_static_pad_template_get_caps()
25792
25793
25794 2005-04-18  Andy Wingo  <wingo@pobox.com>
25795
25796         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
25797         on the peer, not the pad. I think that was a typo. Pass an extra
25798         arg to see if random access is possible. Activate the pads as
25799         PULL_RANGE if possible.
25800
25801         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
25802
25803         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
25804         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
25805         to PROP_....
25806
25807 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25808
25809         * docs/faq/using.xml:
25810           Add note on gstreamer-properties (#154996).
25811
25812 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25813
25814         * docs/random/bbb/optional-properties:
25815           Some analysis on optional properties.
25816
25817 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25818
25819         * docs/gst/tmpl/gstelementfactory.sgml:
25820         * gst/gstelement.h:
25821         * gst/gstelementfactory.c: (gst_element_factory_init),
25822         (gst_element_factory_cleanup), (gst_element_register),
25823         (__gst_element_factory_add_static_pad_template),
25824         (gst_element_factory_get_static_pad_templates),
25825         (gst_element_factory_can_src_caps),
25826         (gst_element_factory_can_sink_caps):
25827         * gst/registries/Makefile.am:
25828         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
25829         (gst_xml_registry_class_init), (gst_xml_registry_init),
25830         (gst_xml_registry_new), (gst_xml_registry_set_property),
25831         (gst_xml_registry_get_property), (get_time), (make_dir),
25832         (gst_xml_registry_get_perms_func),
25833         (plugin_times_older_than_recurse), (plugin_times_older_than),
25834         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
25835         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
25836         (add_to_char_array), (read_string), (read_uint), (read_enum),
25837         (load_pad_template), (load_feature), (load_plugin), (load_paths),
25838         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
25839         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
25840         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
25841         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
25842         (gst_xml_registry_rebuild):
25843         * gst/registries/gstlibxmlregistry.h:
25844         * tools/gst-compprep.c: (main):
25845         * tools/gst-inspect.c: (print_pad_templates_info):
25846         * tools/gst-xmlinspect.c: (print_element_info):
25847           Use libxml2 for registry parsing, use staticpadtemplates in
25848           elementfactories. Makes gst_init() +/- 10x faster.
25849
25850 2005-04-12  Wim Taymans  <wim@fluendo.com>
25851
25852         * gst/base/Makefile.am:
25853         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25854         (gst_basesink_pad_getcaps), (gst_basesink_init),
25855         (gst_basesink_event), (gst_basesink_change_state):
25856         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25857         (gst_basesrc_init), (gst_basesrc_query),
25858         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25859         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25860         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25861         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25862         (gst_basesrc_stop), (gst_basesrc_activate),
25863         (gst_basesrc_change_state):
25864         * gst/base/gsttypefindhelper.c: (helper_find_peek),
25865         (helper_find_suggest), (gst_type_find_helper):
25866         * gst/base/gsttypefindhelper.h:
25867         * gst/elements/Makefile.am:
25868         * gst/elements/gstelements.c:
25869         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
25870         (gst_fakesink_get_times), (gst_fakesink_event),
25871         (gst_fakesink_preroll), (gst_fakesink_render):
25872         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25873         (gst_fakesrc_init), (gst_fakesrc_event_handler),
25874         (gst_fakesrc_get_property), (gst_fakesrc_create),
25875         (gst_fakesrc_start), (gst_fakesrc_stop):
25876         * gst/elements/gstfakesrc.h:
25877         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
25878         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25879         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25880         (gst_filesrc_create_read), (gst_filesrc_create),
25881         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
25882         (gst_filesrc_start):
25883         * gst/elements/gsttypefindelement.c:
25884         (gst_type_find_element_have_type), (gst_type_find_element_init),
25885         (start_typefinding), (stop_typefinding), (push_buffer_store),
25886         (gst_type_find_element_handle_event),
25887         (gst_type_find_element_chain),
25888         (gst_type_find_element_checkgetrange),
25889         (gst_type_find_element_getrange), (do_typefind),
25890         (gst_type_find_element_activate),
25891         (gst_type_find_element_change_state):
25892         * gst/elements/gsttypefindelement.h:
25893         * gst/gstpipeline.c: (pipeline_bus_handler):
25894         Added typefind helper.
25895         Small preroll fix in the base sink.
25896         Disable typefind code in basesrc.
25897         Crude port of typefindelement.
25898         Fakesrc cleanups.
25899
25900
25901 2005-04-11  Wim Taymans  <wim@fluendo.com>
25902
25903         * check/gst/gstbus.c: (gstbus_suite):
25904         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
25905         * check/gstcheck.h:
25906           Fix up the timeout so that the test does not fail.
25907
25908 2005-04-06  Wim Taymans  <wim@fluendo.com>
25909
25910         * gst/base/README:
25911         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25912         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
25913         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
25914         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
25915         (gst_basesrc_check_get_range), (gst_basesrc_loop),
25916         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
25917         (gst_basesrc_stop), (gst_basesrc_activate),
25918         (gst_basesrc_change_state), (basesrc_find_peek),
25919         (basesrc_find_suggest), (gst_basesrc_type_find):
25920         * gst/base/gstbasesrc.h:
25921         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
25922         (gst_filesrc_class_init), (gst_filesrc_init),
25923         (gst_filesrc_finalize), (gst_filesrc_set_location),
25924         (gst_filesrc_set_property), (gst_filesrc_get_property),
25925         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
25926         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
25927         (gst_filesrc_create_read), (gst_filesrc_create),
25928         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
25929         * gst/elements/gstfilesrc.h:
25930         * gst/gstelement.c: (gst_element_get_state_func),
25931         (gst_element_lost_state), (gst_element_pads_activate):
25932         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
25933         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
25934         (gst_pad_pull_range):
25935         * gst/gstpad.h:
25936         More work on the generic source base class, implement seeking,
25937         query.
25938         Make filesrc extend the base source class.
25939         Added gst_pad_set_checkgetrange_function to GstPad.
25940
25941 2005-04-06  Andy Wingo  <wingo@pobox.com>
25942
25943         * pkgconfig/gstreamer-base.pc.in:
25944         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
25945
25946         * pkgconfig/Makefile.am:
25947         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
25948
25949 2005-04-04  Wim Taymans  <wim@fluendo.com>
25950
25951         * gst/base/Makefile.am:
25952         * gst/base/README:
25953         * gst/base/gstbasesink.c: (gst_basesink_base_init),
25954         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
25955         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
25956         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
25957         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
25958         (gst_basesrc_base_init), (gst_basesrc_class_init),
25959         (gst_basesrc_init), (gst_basesrc_get_formats),
25960         (gst_basesrc_get_query_types), (gst_basesrc_query),
25961         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
25962         (gst_basesrc_set_property), (gst_basesrc_get_property),
25963         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
25964         (gst_basesrc_loop), (gst_basesrc_activate),
25965         (gst_basesrc_change_state):
25966         * gst/base/gstbasesrc.h:
25967         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
25968         (gst_fakesrc_class_init), (gst_fakesrc_init),
25969         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
25970         (gst_fakesrc_get_property), (gst_fakesrc_create):
25971         * gst/elements/gstfakesrc.h:
25972         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
25973         (gst_filesrc_open_file), (gst_filesrc_loop),
25974         (gst_filesrc_activate), (filesrc_find_peek),
25975         (gst_filesrc_type_find):
25976         Made base source class, make fakesrc extend it.
25977         Add comments to basesink class.
25978         Some filesrc cleanup.
25979
25980 2005-03-31  David Schleef  <ds@schleef.org>
25981
25982         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
25983         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
25984         expected to link against libgstreamer.
25985         * gst/base/Makefile.am: link against libgstreamer
25986         * gst/elements/Makefile.am: same
25987
25988 2005-03-31  Andy Wingo  <wingo@pobox.com>
25989
25990         * tests/instantiate/Makefile.am:
25991         * tests/instantiate/caps.c: Add test to test speed of caps copy
25992         and free.
25993
25994         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
25995         GMemChunk to be fair.
25996
25997         * gst/gsttrashstack.h: Remove warning about using the fallback
25998         trash stack implementation, it's still faster than malloc.
25999
26000 2005-03-30  Andy Wingo  <wingo@pobox.com>
26001
26002         * tests/complexity.c: Add a copyright.
26003
26004 2005-03-31  Wim Taymans  <wim@fluendo.com>
26005
26006         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
26007         (gst_base_transform_class_init), (gst_base_transform_init),
26008         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
26009         (gst_base_transform_get_property),
26010         (gst_base_transform_sink_activate),
26011         (gst_base_transform_src_activate),
26012         (gst_base_transform_change_state):
26013         * gst/base/gstbasetransform.h:
26014         * gst/elements/gstidentity.c: (gst_identity_class_init),
26015         (gst_identity_event), (gst_identity_check_perfect),
26016         (gst_identity_transform), (gst_identity_start),
26017         (gst_identity_stop):
26018         Added start/stop methods to transform base class so subclasses 
26019         don't need to deal with state changes even.
26020
26021 2005-03-31  Wim Taymans  <wim@fluendo.com>
26022
26023         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
26024         (gst_event_new_discontinuous), (gst_event_discont_get_value):
26025         * gst/gstevent.h:
26026         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26027         (gst_pad_pull_range):
26028         Added rate to the discont event to prepare for variable speed
26029         and reverse playback.
26030
26031 2005-03-29  David Schleef  <ds@schleef.org>
26032
26033         * configure.ac:
26034         * testsuite/trigger/Makefile.am:
26035         * testsuite/trigger/trigger.c: A little example program to show
26036         how trigger-based elements can work.
26037
26038 2005-03-29  Wim Taymans  <wim@fluendo.com>
26039
26040         * gst/base/Makefile.am:
26041         * gst/base/README:
26042         * gst/base/gstbasesink.c: (gst_basesink_get_type),
26043         (gst_basesink_base_init), (gst_basesink_class_init),
26044         (gst_basesink_pad_getcaps), (gst_basesink_init),
26045         (gst_basesink_activate), (gst_basesink_change_state):
26046         * gst/base/gstbasesink.h:
26047         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
26048         (gst_base_transform_base_init), (gst_base_transform_finalize),
26049         (gst_base_transform_class_init), (gst_base_transform_init),
26050         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
26051         (gst_base_transform_event), (gst_base_transform_getrange),
26052         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
26053         (gst_base_transform_set_property),
26054         (gst_base_transform_get_property),
26055         (gst_base_transform_sink_activate),
26056         (gst_base_transform_src_activate),
26057         (gst_base_transform_change_state):
26058         * gst/base/gstbasetransform.h:
26059         * gst/elements/gstidentity.c: (gst_identity_finalize),
26060         (gst_identity_class_init), (gst_identity_init),
26061         (gst_identity_event), (gst_identity_check_perfect),
26062         (gst_identity_transform), (gst_identity_set_property),
26063         (gst_identity_get_property), (gst_identity_change_state):
26064         * gst/elements/gstidentity.h:
26065         * gst/gstelement.c: (gst_element_get_state_func),
26066         (gst_element_lost_state), (gst_element_pads_activate):
26067         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
26068         (gst_pad_check_pull_range), (gst_pad_pull_range):
26069         * gst/gstpad.h:
26070         Simplify pad activation.
26071         Added function to check if pull_range can be performed.
26072         Error out when pulling inactive or flushing pads.
26073         Removed const from refcounted types as it does not make sense.
26074         Simplify pad templates in basesink
26075         Added base class for simple 1-to-1 transforms.
26076         Make identity subclass the base transform.
26077
26078 2005-03-29  Andy Wingo  <wingo@pobox.com>
26079
26080         * docs/libs/gstreamer-libs-overrides.txt: 
26081         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
26082         really don't understand what's going on, but like whatever. I want
26083         green buildbot!
26084
26085         * docs/gst/Makefile.am:
26086         * docs/libs/Makefile.am: Dist the overrides files.
26087
26088         * check/Makefile.am (clean-local): Remove .libs directories.
26089
26090         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
26091         elements to EXTRA_DIST, so po/ files are happy.
26092
26093         * po/POTFILES.in: Er, remove it here.
26094
26095         * po/POTFILES: Remove gstspider.c.
26096
26097         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
26098
26099         * docs/libs/gstreamer-libs-docs.sgml: 
26100         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
26101         bytestream.
26102
26103         * tests/complexity.c (main): Set the length of the preroll queue
26104         on the sinks to prevent a lockup.
26105
26106         * libs/gst/dataprotocol/Makefile.am: 
26107         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
26108         the same as the one in check/gst-libs/gdp.c.
26109
26110         * po/, docs/gst/: Commit automatic changes to docs and po files.
26111
26112         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
26113         the versioned libgstbase.
26114
26115         * check/Makefile.am: Depend on an unversioned gst-register, seems
26116         to make autoconf happier.
26117
26118         * gst/base/Makefile.am: Make libgstbase a versioned lib.
26119
26120 2005-03-28  Wim Taymans  <wim@fluendo.com>
26121
26122         * configure.ac:
26123         * docs/design/part-gstelement.txt:
26124         * docs/design/part-negotiation.txt:
26125         * docs/design/part-preroll.txt:
26126         * docs/design/part-scheduling.txt:
26127         * docs/design/part-states.txt:
26128         * gst/Makefile.am:
26129         * gst/base/Makefile.am:
26130         * gst/base/README:
26131         * gst/base/gstbasesink.c: (gst_basesink_get_template),
26132         (gst_basesink_base_init), (gst_basesink_class_init),
26133         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
26134         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
26135         (gst_basesink_set_pad_functions),
26136         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
26137         (gst_basesink_set_property), (gst_basesink_get_property),
26138         (gst_base_sink_get_template), (gst_base_sink_get_caps),
26139         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
26140         (gst_basesink_preroll_queue_push),
26141         (gst_basesink_preroll_queue_empty),
26142         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
26143         (gst_basesink_event), (gst_basesink_get_times),
26144         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
26145         (gst_basesink_chain_unlocked), (gst_basesink_chain),
26146         (gst_basesink_loop), (gst_basesink_activate),
26147         (gst_basesink_change_state):
26148         * gst/base/gstbasesink.h:
26149         * gst/elements/Makefile.am:
26150         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
26151         (gst_fakesink_class_init), (gst_fakesink_init),
26152         (gst_fakesink_set_property), (gst_fakesink_get_property),
26153         (gst_fakesink_get_times), (gst_fakesink_event),
26154         (gst_fakesink_preroll), (gst_fakesink_render),
26155         (gst_fakesink_change_state):
26156         * gst/elements/gstfakesink.h:
26157         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26158         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
26159         * gst/gstelement.c: (gst_element_add_pad),
26160         (gst_element_get_state_func), (gst_element_abort_state),
26161         (gst_element_commit_state), (gst_element_lost_state),
26162         (gst_element_set_state), (gst_element_pads_activate):
26163         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
26164         * gst/gstpipeline.c: (gst_pipeline_send_event),
26165         (gst_pipeline_change_state):
26166         Added state change code.
26167         Added/updated docs.
26168         Added sink base class, make fakesink extend the base class.
26169         Small cleanups in GstPipeline.
26170
26171 2005-03-26  David Schleef  <ds@schleef.org>
26172
26173         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
26174         is broken and should be implemented in a different library.
26175         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
26176         * gst/gst.h: remove gstcpu.h
26177         * gst/gstcpu.c: remove
26178         * gst/gstcpu.h: remove
26179         * gst/Makefile.am.future: Remove this file.  It's ancient.
26180
26181 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26182
26183         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
26184         (gst_bin_send_event):
26185           Add default event/set_manager handlers. The set_manager handler
26186           takes care that the manager is distributed over kids that were
26187           already in the bin before the manager was set. The event handler
26188           is a utility virtual function that sends the event over all sinks,
26189           so that gst_element_send_event (bin, event); has the expected
26190           behaviour.
26191         * gst/gstpad.c: (gst_pad_event_default):
26192           Re-install default event handling for discontinuities, so that
26193           seeking works without requiring hacks in applications or extra
26194           code in sinks.
26195         * gst/gstpipeline.c: (gst_pipeline_class_init),
26196         (gst_pipeline_send_event):
26197           Half hack, half utility: set a pipeline to PAUSED for seek events,
26198           since that is the only way we can guarantee a/v sync. Means that
26199           you can do gst_element_seek (pipeline, method, pos); on a pipeline
26200           and it "just works".
26201
26202 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26203
26204         * gst/gstpipeline.c: (gst_pipeline_use_clock):
26205           Lock/unlock mismatch.
26206
26207 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
26208
26209         * docs/faq/gst-uninstalled:
26210           add gst-plugins-base
26211         * docs/gst/Makefile.am:
26212           don't error out until docs are fixed
26213         * docs/gst/gstreamer.types:
26214           remove thread
26215
26216 2005-03-22  Wim Taymans  <wim@fluendo.com>
26217
26218         * check/Makefile.am:
26219         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
26220         * gst/gststructure.c: (gst_structure_set_valist),
26221         (gst_structure_copy_conditional):
26222         Activated more tests.
26223         Added message test.
26224         Added G_TYPE_POINTER to GstStructure.
26225         
26226
26227 2005-03-22  Wim Taymans  <wim@fluendo.com>
26228
26229         * docs/design/part-TODO.txt:
26230         * docs/design/part-events.txt:
26231         * docs/design/part-gstbin.txt:
26232         * docs/design/part-gstbus.txt:
26233         * docs/design/part-gstpipeline.txt:
26234         * docs/design/part-messages.txt:
26235         * gst/gstbus.c:
26236         * gst/gstmessage.c:
26237         Docs updates
26238
26239 2005-03-21  Wim Taymans  <wim@fluendo.com>
26240
26241         * gst/gstbus.c: (gst_bus_post):
26242         Fix copy-and-paste error.
26243
26244 2005-03-21  Wim Taymans  <wim@fluendo.com>
26245
26246         * check/Makefile.am:
26247         * gst/Makefile.am:
26248         * gst/elements/Makefile.am:
26249         * gst/elements/gstelements.c:
26250         * gst/elements/gstfakesink.c: (gst_fakesink_init),
26251         (gst_fakesink_event), (gst_fakesink_chain):
26252         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26253         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
26254         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
26255         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
26256         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26257         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
26258         (gst_fakesrc_loop), (gst_fakesrc_activate),
26259         (gst_fakesrc_change_state):
26260         * gst/elements/gstfakesrc.h:
26261         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
26262         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
26263         (gst_filesrc_open_file), (gst_filesrc_loop),
26264         (gst_filesrc_activate), (gst_filesrc_change_state),
26265         (filesrc_find_peek), (filesrc_find_suggest),
26266         (gst_filesrc_type_find):
26267         * gst/elements/gstidentity.c: (gst_identity_finalize),
26268         (gst_identity_class_init), (gst_identity_init),
26269         (gst_identity_proxy_getcaps), (identity_queue_push),
26270         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
26271         (gst_identity_getrange), (gst_identity_chain),
26272         (gst_identity_sink_loop), (gst_identity_src_loop),
26273         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
26274         (gst_identity_set_property), (gst_identity_get_property),
26275         (gst_identity_change_state):
26276         * gst/elements/gstidentity.h:
26277         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
26278         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
26279         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
26280         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
26281         (gst_tee_sink_activate):
26282         * gst/elements/gsttee.h:
26283         * gst/gst.c: (gst_register_core_elements), (init_post):
26284         * gst/gst.h:
26285         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
26286         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
26287         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
26288         (gst_bin_change_state):
26289         * gst/gstbin.h:
26290         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
26291         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
26292         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
26293         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
26294         (gst_bus_set_sync_handler), (gst_bus_create_watch),
26295         (bus_watch_callback), (bus_watch_destroy),
26296         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
26297         (poll_timeout), (gst_bus_poll):
26298         * gst/gstbus.h:
26299         * gst/gstcaps.h:
26300         * gst/gstdata.h:
26301         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26302         (gst_element_post_message), (gst_element_message_full),
26303         (gst_element_get_state_func), (gst_element_get_state),
26304         (gst_element_abort_state), (gst_element_commit_state),
26305         (gst_element_lost_state), (gst_element_set_state),
26306         (gst_element_pads_activate), (gst_element_change_state),
26307         (gst_element_dispose), (gst_element_set_manager_func),
26308         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
26309         (gst_element_set_manager), (gst_element_get_manager),
26310         (gst_element_set_bus), (gst_element_get_bus),
26311         (gst_element_set_scheduler), (gst_element_get_scheduler):
26312         * gst/gstelement.h:
26313         * gst/gstevent.c: (gst_event_new_segment_seek),
26314         (gst_event_new_flush):
26315         * gst/gstevent.h:
26316         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
26317         (_gst_message_free), (gst_message_get_type), (gst_message_new),
26318         (gst_message_new_eos), (gst_message_new_error),
26319         (gst_message_new_warning), (gst_message_new_tag),
26320         (gst_message_new_state_changed), (gst_message_new_application),
26321         (gst_message_get_structure), (gst_message_parse_tag),
26322         (gst_message_parse_state_changed), (gst_message_parse_error),
26323         (gst_message_parse_warning):
26324         * gst/gstmessage.h:
26325         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
26326         (gst_real_pad_set_property), (gst_pad_set_active),
26327         (gst_pad_is_active), (gst_pad_set_blocked_async),
26328         (gst_pad_set_blocked), (gst_pad_is_blocked),
26329         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
26330         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
26331         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
26332         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
26333         (gst_pad_link_filtered), (gst_pad_relink_filtered),
26334         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
26335         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
26336         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
26337         (gst_pad_set_caps), (gst_pad_configure_sink),
26338         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
26339         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
26340         (gst_real_pad_dispose), (gst_real_pad_finalize),
26341         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
26342         (gst_pad_event_default_dispatch), (gst_pad_event_default),
26343         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
26344         * gst/gstpad.h:
26345         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
26346         (pipeline_bus_handler), (gst_pipeline_change_state),
26347         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
26348         * gst/gstpipeline.h:
26349         * gst/gstprobe.h:
26350         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
26351         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
26352         (gst_queue_link_src), (gst_queue_bufferalloc),
26353         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
26354         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
26355         (gst_queue_loop), (gst_queue_handle_src_event),
26356         (gst_queue_handle_src_query), (gst_queue_src_activate),
26357         (gst_queue_change_state):
26358         * gst/gstqueue.h:
26359         * gst/gstscheduler.c: (gst_scheduler_init),
26360         (gst_scheduler_dispose), (gst_scheduler_create_task),
26361         (gst_scheduler_factory_create):
26362         * gst/gstscheduler.h:
26363         * gst/gststructure.c: (gst_structure_get_type),
26364         (gst_structure_copy_conditional):
26365         * gst/gststructure.h:
26366         * gst/gsttaginterface.h:
26367         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
26368         (gst_task_init), (gst_task_dispose), (gst_task_create),
26369         (gst_task_get_state), (gst_task_start), (gst_task_stop),
26370         (gst_task_pause):
26371         * gst/gsttask.h:
26372         * gst/gstthread.c:
26373         * gst/gstthread.h:
26374         * gst/gsttypes.h:
26375         * gst/schedulers/Makefile.am:
26376         * gst/schedulers/cothreads_compat.h:
26377         * gst/schedulers/entryscheduler.c:
26378         * gst/schedulers/faircothreads.c:
26379         * gst/schedulers/faircothreads.h:
26380         * gst/schedulers/fairscheduler.c:
26381         * gst/schedulers/gstbasicscheduler.c:
26382         * gst/schedulers/gstoptimalscheduler.c:
26383         * gst/schedulers/gthread-cothreads.h:
26384         * gst/schedulers/threadscheduler.c:
26385         (gst_thread_scheduler_task_get_type),
26386         (gst_thread_scheduler_task_class_init),
26387         (gst_thread_scheduler_task_init),
26388         (gst_thread_scheduler_task_start),
26389         (gst_thread_scheduler_task_stop),
26390         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
26391         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26392         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
26393         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
26394         (plugin_init):
26395         * libs/gst/Makefile.am:
26396         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
26397         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
26398         (gst_file_pad_parent_set):
26399         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
26400         (gst_dp_event_from_packet):
26401         * tests/complexity.c: (main):
26402         * tests/mass_elements.c: (main):
26403         * testsuite/states/locked.c: (message_received), (main):
26404         * testsuite/states/parent.c: (main):
26405         * tools/gst-inspect.c: (print_element_flag_info),
26406         (print_implementation_info), (print_pad_info):
26407         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
26408         (main):
26409         * tools/gst-md5sum.c: (event_loop), (main):
26410         * tools/gst-typefind.c: (main):
26411         * tools/gst-xmlinspect.c: (print_element_info):
26412         Next big merge.
26413         Added GstBus for mainloop integration.
26414         Added GstMessage for sending notifications on the bus.
26415         Added GstTask as an abstraction for pipeline entry points.
26416         Removed GstThread.
26417         Removed Schedulers.
26418         Simplified GstQueue for multithreaded core.
26419         Made _link threadsafe, removed old capsnego.
26420         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
26421         Added pad blocking functions.
26422         Reworked scheduling functions in GstPad to prepare for
26423         scheduling updates soon.
26424         Moved events out of data stream.
26425         Simplified GstEvent types.
26426         Added return values to push/pull.
26427         Removed clocking from GstElement.
26428         Added prototypes for state change function for next merge.
26429         Removed iterate from bins and state change management.
26430         Fixed some elements, disabled others for now.
26431         Fixed -inspect and -launch.
26432         Added check for GstBus.
26433
26434 2005-03-10  Wim Taymans  <wim@fluendo.com>
26435
26436         * docs/design/part-MT-refcounting.txt:
26437         * docs/design/part-clocks.txt:
26438         * docs/design/part-gstelement.txt:
26439         * docs/design/part-gstobject.txt:
26440         * docs/design/part-standards.txt:
26441         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26442         (gst_bin_remove_func), (gst_bin_remove):
26443         * gst/gstbin.h:
26444         * gst/gstbuffer.c:
26445         * gst/gstcaps.h:
26446         * testsuite/clock/clock1.c: (main):
26447         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
26448         (main):
26449         * testsuite/dlopen/loadgst.c: (do_test):
26450         * testsuite/refcounting/bin.c: (add_remove_test1),
26451         (add_remove_test2), (main):
26452         * testsuite/refcounting/element.c: (main):
26453         * testsuite/refcounting/element_pad.c: (main):
26454         * testsuite/refcounting/pad.c: (main):
26455         * tools/gst-launch.c: (sigint_handler_sighandler):
26456         * tools/gst-typefind.c: (main):
26457         Doc updates.
26458         Added doc about clock.
26459         removed gst_bin_iterate_recurse_up(), marked methods
26460         for removal.
26461         Fix more testsuites.
26462
26463 2005-03-09  Wim Taymans  <wim@fluendo.com>
26464
26465         * gst/gstpad.c: (gst_pad_get_direction),
26466         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
26467         (gst_pad_collect_valist):
26468         * testsuite/bins/interface.c: (main):
26469         * testsuite/caps/audioscale.c: (test_caps):
26470         * testsuite/caps/caps.c: (test1), (test2), (test3):
26471         * testsuite/caps/deserialize.c: (main):
26472         * testsuite/caps/enumcaps.c: (main):
26473         * testsuite/caps/filtercaps.c: (main):
26474         * testsuite/caps/intersect2.c: (main):
26475         * testsuite/caps/random.c: (main):
26476         * testsuite/caps/renegotiate.c: (my_fixate), (main):
26477         * testsuite/caps/sets.c: (check_caps):
26478         * testsuite/caps/simplify.c: (check_caps), (main):
26479         * testsuite/caps/subtract.c: (check_caps):
26480         Fix _pad_get_direction wrt ghostpads.
26481         Fix caps testsuite.
26482
26483 2005-03-09  Wim Taymans  <wim@fluendo.com>
26484
26485         * check/Makefile.am:
26486         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
26487         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
26488         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
26489         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
26490         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
26491         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
26492         (gst_bin_remove), (gst_bin_iterate_recurse_up),
26493         (bin_element_is_sink), (gst_bin_iterate_sinks),
26494         (gst_bin_iterate_all_by_interface):
26495         * gst/gstbin.h:
26496         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
26497         (gst_element_change_state), (gst_element_dispose),
26498         (gst_element_finalize), (gst_element_set_loop_function):
26499         * gst/gstelement.h:
26500         * gst/gstiterator.c: (find_custom_fold_func):
26501         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26502         (gst_pad_collectv), (gst_pad_collect_valist),
26503         (gst_pad_template_new):
26504         * gst/gstpipeline.c: (gst_pipeline_class_init),
26505         (gst_pipeline_dispose), (gst_pipeline_set_property),
26506         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
26507         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
26508         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
26509         * gst/gstutils.h:
26510         * gst/schedulers/entryscheduler.c:
26511         * gst/schedulers/gstbasicscheduler.c:
26512         (gst_basic_scheduler_cothreaded_chain),
26513         (gst_basic_scheduler_chain_add_element):
26514         * testsuite/bins/interface.c: (main):
26515         Added GstBin test.
26516         Added GstSystemClock test.
26517         Implemented clock distribution code in GstBin.
26518         Implemented iterate sinks method for future use.
26519         Rearranged gstelement.h
26520         Fix GstIterator comparison bug.
26521         Moved some code to GstPipeline, mostly clocking related.
26522
26523 2005-03-09  Wim Taymans  <wim@fluendo.com>
26524
26525         * configure.ac:
26526         * gst/gst_private.h:
26527         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26528         (gst_bin_remove_func), (gst_bin_remove),
26529         (gst_bin_get_by_name_recurse_up):
26530         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
26531         (gst_clock_id_compare_func), (gst_clock_id_wait),
26532         (gst_clock_id_wait_async), (gst_clock_init),
26533         (gst_clock_adjust_unlocked), (gst_clock_get_time):
26534         * gst/gstelement.h:
26535         * gst/gstinfo.c: (_gst_debug_init):
26536         * gst/gstobject.h:
26537         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
26538         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
26539         * gst/gstpad.h:
26540         Bump version number, we're now 0.9.0
26541         Add future debugging category.
26542         Fix NULL _unref() in _get_by_name_recurse_up
26543         Rearrange gstpad.h.
26544         Update some docs.
26545
26546 2005-03-08  Wim Taymans  <wim@fluendo.com>
26547
26548         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
26549         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
26550         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
26551         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
26552         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
26553         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
26554         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
26555         * gst/elements/gstidentity.c: (gst_identity_class_init):
26556         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
26557         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
26558         * gst/elements/gstshaper.c: (gst_shaper_class_init):
26559         * gst/elements/gststatistics.c: (gst_statistics_class_init):
26560         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
26561         (gst_tee_link):
26562         * gst/gstelement.c: (gst_element_class_init),
26563         (gst_element_base_class_init), (gst_element_init),
26564         (gst_element_get_random_pad), (gst_element_wait_state_change),
26565         (gst_element_change_state), (gst_element_dispose),
26566         (gst_element_finalize), (gst_element_set_loop_function):
26567         * gst/gstelement.h:
26568         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
26569         * gst/gstthread.c: (gst_thread_class_init),
26570         (gst_thread_release_children_locks), (gst_thread_change_state):
26571         * gst/schedulers/gstbasicscheduler.c:
26572         (gst_basic_scheduler_loopfunc_wrapper),
26573         (gst_basic_scheduler_chain_wrapper),
26574         (gst_basic_scheduler_src_wrapper),
26575         (gst_basic_scheduler_remove_element):
26576         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
26577         Remove threadsafe properties. Fix elements because GObject
26578         complains when installing a property before declaring a
26579         set/get_property handler.
26580         Rearrange gstelement.h file, use STATE macros for state locks.
26581         Free mutexes in the finalize method instead of dispose.
26582
26583 2005-03-08  Wim Taymans  <wim@fluendo.com>
26584
26585         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
26586         * gst/gstthread.c: (gst_thread_release_children_locks):
26587         Added parentage check.
26588         Fix build og GstThread again.
26589
26590 2005-03-08  Wim Taymans  <wim@fluendo.com>
26591
26592         * docs/design/part-MT-refcounting.txt:
26593         * docs/design/part-conventions.txt:
26594         * docs/design/part-gstobject.txt:
26595         * docs/design/part-relations.txt:
26596         * docs/design/part-standards.txt:
26597         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
26598         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
26599         (gst_bin_get_by_name), (gst_bin_get_by_interface),
26600         (gst_bin_iterate_all_by_interface):
26601         * gst/gstbuffer.h:
26602         * gst/gstclock.h:
26603         * gst/gstelement.c: (gst_element_class_init),
26604         (gst_element_change_state), (gst_element_set_loop_function):
26605         * gst/gstelement.h:
26606         * gst/gstiterator.c:
26607         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
26608         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
26609         (gst_object_dispatch_properties_changed), (gst_object_set_name),
26610         (gst_object_set_parent), (gst_object_unparent),
26611         (gst_object_check_uniqueness):
26612         * gst/gstobject.h:
26613         Docs updates, clean up some headers.
26614
26615 2005-03-07  Wim Taymans  <wim@fluendo.com>
26616
26617         * check/.cvsignore:
26618         * check/Makefile.am:
26619         * check/gst-libs/.cvsignore:
26620         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
26621         * check/gst/.cvsignore:
26622         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
26623         (START_TEST), (gstbus_suite), (main):
26624         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
26625         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
26626         (gst_data_suite), (main):
26627         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
26628         (add_fold_func), (gstiterator_suite), (main):
26629         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
26630         (thread_name_object), (thread_name_object_default),
26631         (gst_object_name_compare), (gst_object_suite), (main):
26632         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
26633         (gst_pad_suite), (main):
26634         * check/gstcheck.c: (gst_check_log_message_func),
26635         (gst_check_log_critical_func), (gst_check_init):
26636         * check/gstcheck.h:
26637         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
26638         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
26639         Added checks.
26640
26641 2005-03-07  Wim Taymans  <wim@fluendo.com>
26642
26643         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
26644         (gst_list_iterator_next), (gst_list_iterator_resync),
26645         (gst_list_iterator_free), (gst_iterator_new_list),
26646         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
26647         (gst_iterator_free), (gst_iterator_push), (filter_next),
26648         (filter_resync), (filter_uninit), (filter_free),
26649         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
26650         (gst_iterator_foreach), (find_custom_fold_func),
26651         (gst_iterator_find_custom):
26652         * gst/gstiterator.h:
26653         Added missing files.
26654
26655 2005-03-07  Wim Taymans  <wim@fluendo.com>
26656
26657         * Makefile.am:
26658         * configure.ac:
26659         * docs/design/part-MT-refcounting.txt:
26660         * docs/design/part-conventions.txt:
26661         * docs/design/part-gstobject.txt:
26662         * docs/design/part-relations.txt:
26663         * examples/mixer/mixer.c: (main):
26664         * examples/thread/thread.c: (eos), (main):
26665         * gst/Makefile.am:
26666         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
26667         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
26668         (gst_spider_plug_from_srcpad):
26669         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
26670         (gst_spider_identity_change_state),
26671         (gst_spider_identity_sink_loop_type_finding):
26672         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
26673         * gst/elements/gstidentity.c: (gst_identity_init):
26674         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
26675         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
26676         * gst/elements/gsttypefindelement.c: (free_entry):
26677         * gst/gst.c:
26678         * gst/gst.h:
26679         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
26680         (gst_bin_set_clock_func), (gst_bin_auto_clock),
26681         (gst_bin_set_index), (gst_bin_set_element_sched),
26682         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
26683         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
26684         (gst_bin_iterate_elements), (iterate_child_recurse),
26685         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
26686         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
26687         (compare_interface), (gst_bin_get_by_interface),
26688         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
26689         * gst/gstbin.h:
26690         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
26691         (gst_buffer_default_free), (gst_buffer_default_copy),
26692         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
26693         (gst_buffer_create_sub):
26694         * gst/gstbuffer.h:
26695         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
26696         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
26697         (gst_caps_unref), (gst_static_caps_get),
26698         (gst_caps_remove_and_get_structure), (gst_caps_append),
26699         (gst_caps_append_structure), (gst_caps_remove_structure),
26700         (gst_caps_copy_nth), (gst_caps_set_simple),
26701         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
26702         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
26703         (gst_caps_structure_intersect_field), (gst_caps_intersect),
26704         (gst_caps_structure_subtract_field), (gst_caps_subtract),
26705         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
26706         (gst_caps_structure_figure_out_union),
26707         (gst_caps_switch_structures), (gst_caps_do_simplify),
26708         (gst_caps_replace), (gst_caps_from_string),
26709         (gst_caps_copy_conditional):
26710         * gst/gstcaps.h:
26711         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
26712         (_gst_clock_id_free), (gst_clock_id_unref),
26713         (gst_clock_id_compare_func), (gst_clock_id_wait),
26714         (gst_clock_id_wait_async), (gst_clock_class_init),
26715         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
26716         (gst_clock_get_time), (gst_clock_set_time_adjust),
26717         (gst_clock_set_property), (gst_clock_get_property):
26718         * gst/gstclock.h:
26719         * gst/gstcompat.h:
26720         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
26721         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
26722         * gst/gstdata.h:
26723         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
26724         (gst_element_requires_clock), (gst_element_provides_clock),
26725         (gst_element_set_clock), (gst_element_clock_wait),
26726         (gst_element_wait), (gst_element_set_time_delay),
26727         (gst_element_is_indexable), (gst_element_add_pad),
26728         (gst_element_add_ghost_pad), (gst_element_remove_pad),
26729         (pad_compare_name), (gst_element_get_static_pad),
26730         (gst_element_request_pad), (gst_element_get_request_pad),
26731         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
26732         (gst_element_class_get_pad_template_list),
26733         (gst_element_class_get_pad_template), (gst_element_error_func),
26734         (gst_element_get_random_pad), (gst_element_get_event_masks),
26735         (gst_element_send_event), (gst_element_seek),
26736         (gst_element_get_query_types), (gst_element_query),
26737         (gst_element_get_formats), (gst_element_convert),
26738         (gst_element_is_locked_state), (gst_element_set_locked_state),
26739         (gst_element_sync_state_with_parent), (gst_element_change_state),
26740         (gst_element_finalize), (gst_element_yield),
26741         (gst_element_interrupt), (gst_element_set_scheduler),
26742         (gst_element_get_scheduler), (gst_element_set_loop_function):
26743         * gst/gstelement.h:
26744         * gst/gstevent.h:
26745         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
26746         (gst_format_get_by_nick), (gst_format_get_details),
26747         (gst_format_iterate_definitions):
26748         * gst/gstformat.h:
26749         * gst/gstindex.c: (gst_index_gtype_resolver):
26750         * gst/gstinfo.c:
26751         * gst/gstinfo.h:
26752         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
26753         (gst_mem_chunk_free):
26754         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
26755         (gst_object_ref), (gst_object_unref), (gst_object_sink),
26756         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
26757         (gst_object_dispatch_properties_changed),
26758         (gst_object_set_name_default), (gst_object_set_name),
26759         (gst_object_get_name), (gst_object_set_name_prefix),
26760         (gst_object_get_name_prefix), (gst_object_set_parent),
26761         (gst_object_get_parent), (gst_object_unparent),
26762         (gst_object_check_uniqueness), (gst_object_save_thyself),
26763         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
26764         (gst_object_set_property), (gst_object_get_property),
26765         (gst_object_get_path_string):
26766         * gst/gstobject.h:
26767         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
26768         (gst_real_pad_init), (gst_real_pad_get_property),
26769         (gst_pad_custom_new), (gst_pad_get_direction),
26770         (gst_pad_set_active), (gst_pad_is_active),
26771         (gst_pad_set_event_function), (gst_pad_is_linked),
26772         (gst_pad_link_free), (gst_pad_link_intersect),
26773         (gst_pad_link_fixate), (gst_pad_set_caps),
26774         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
26775         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
26776         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
26777         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
26778         (gst_pad_get_caps), (gst_pad_peer_get_caps),
26779         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
26780         (gst_pad_realize), (gst_pad_get_allowed_caps),
26781         (gst_real_pad_dispose), (gst_real_pad_finalize),
26782         (gst_pad_collectv), (gst_pad_collect_valist),
26783         (gst_pad_template_dispose), (gst_pad_template_new),
26784         (gst_pad_get_internal_links):
26785         * gst/gstpad.h:
26786         * gst/gstpipeline.c: (gst_pipeline_dispose),
26787         (gst_pipeline_change_state):
26788         * gst/gstpipeline.h:
26789         * gst/gstplugin.c:
26790         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
26791         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
26792         * gst/gstpluginfeature.h:
26793         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
26794         * gst/gstquery.c: (_gst_query_type_initialize),
26795         (gst_query_type_register), (gst_query_type_get_by_nick),
26796         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
26797         * gst/gstquery.h:
26798         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
26799         * gst/gstscheduler.c: (gst_scheduler_add_element),
26800         (gst_scheduler_factory_create):
26801         * gst/gststructure.c: (gst_structure_set_parent_refcount),
26802         (gst_structure_free), (gst_structure_set_name),
26803         (gst_structure_id_set_value), (gst_structure_set_value),
26804         (gst_structure_set_valist), (gst_structure_remove_field),
26805         (gst_structure_remove_fields),
26806         (gst_structure_remove_fields_valist),
26807         (gst_structure_remove_all_fields), (gst_structure_foreach),
26808         (gst_structure_map_in_place),
26809         (gst_caps_structure_fixate_field_nearest_int),
26810         (gst_caps_structure_fixate_field_nearest_double):
26811         * gst/gststructure.h:
26812         * gst/gstsystemclock.c: (gst_system_clock_class_init),
26813         (gst_system_clock_init), (gst_system_clock_dispose),
26814         (gst_system_clock_async_thread),
26815         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
26816         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
26817         * gst/gstsystemclock.h:
26818         * gst/gsttag.c: (gst_tag_list_add_value_internal),
26819         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
26820         * gst/gsttaginterface.c:
26821         * gst/gstthread.c: (gst_thread_dispose),
26822         (gst_thread_release_children_locks), (gst_thread_change_state),
26823         (gst_thread_main_loop):
26824         * gst/gsttrashstack.h:
26825         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
26826         * gst/gsttypes.h:
26827         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
26828         (gst_element_request_pad), (gst_element_get_pad_from_template),
26829         (gst_element_request_compatible_pad),
26830         (gst_element_get_compatible_pad_filtered),
26831         (gst_element_get_compatible_pad), (gst_element_state_get_name),
26832         (gst_element_link_pads_filtered), (gst_element_link_filtered),
26833         (gst_element_link_many), (gst_element_link),
26834         (gst_element_link_pads), (gst_element_unlink_pads),
26835         (gst_element_unlink_many), (gst_element_unlink),
26836         (gst_pad_can_link_filtered), (gst_pad_can_link),
26837         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
26838         (gst_object_default_error), (gst_bin_add_many),
26839         (gst_bin_remove_many), (gst_element_populate_std_props),
26840         (gst_element_class_install_std_props), (gst_buffer_merge),
26841         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
26842         (link_fold_func), (gst_pad_proxy_setcaps):
26843         * gst/gstutils.h:
26844         * gst/gstvalue.c: (gst_value_deserialize_string):
26845         * gst/parse/grammar.y:
26846         * gst/schedulers/gstbasicscheduler.c:
26847         (gst_basic_scheduler_cothreaded_chain),
26848         (gst_basic_scheduler_chain_recursive_add),
26849         (gst_basic_scheduler_pad_link):
26850         * gst/schedulers/gstoptimalscheduler.c:
26851         (get_group_schedule_function),
26852         (gst_opt_scheduler_state_transition),
26853         (gst_opt_scheduler_add_element), (element_get_reachables_func):
26854         * libs/gst/bytestream/bytestream.c:
26855         * libs/gst/dataprotocol/dataprotocol.c:
26856         (gst_dp_header_from_buffer):
26857         * po/nb.po:
26858         * po/ru.po:
26859         * tests/threadstate/threadstate2.c: (eos):
26860         * tools/gst-compprep.c: (main):
26861         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
26862         (print_pad_info), (print_children_info):
26863         * tools/gst-launch.c: (idle_func), (main):
26864         * tools/gst-md5sum.c: (idle_func), (main):
26865         * tools/gst-xmlinspect.c: (print_element_info):
26866         First THREADED backport attempt, focusing on adding locks and
26867         making sure the API is threadsafe. Needs more work. More docs
26868         follow this week.
26869
26870 2005-02-24  Andy Wingo  <wingo@pobox.com>
26871
26872         * tests/bench-complexity.scm:
26873         * tests/complexity.gnuplot: New files, good for running complexity
26874         benchmarks.
26875
26876         * tests/Makefile.am:
26877         * tests/complexity.c: New test, sets up N elements, at each level
26878         teeing into M streams per element. Eeeenteresting.
26879
26880         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
26881         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
26882         running bench-mass_elements.scm.
26883
26884         * tests/bench-mass_elements.scm: New script, runs mass_elements
26885         for various numbers of identities, outputting the results to a
26886         file. Requires guile 1.6. Just for testing.
26887
26888 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
26889
26890         * gst/schedulers/fairscheduler.c:
26891           compile with debug disabled
26892
26893 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
26894
26895         * configure.ac:
26896           hunting season on 0.9 is now OPEN